:root {
    /* CLEANROOM PALETTE */
    --color-bg: #FCFCFB;
    --color-text: #181818;
    --color-accent: #0047AB;
    /* Cobalt Blue */
    --color-border: #D1D1D1;

    /* TYPOGRAPHY */
    --font-heading: 'Manrope', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* SPACING */
    --spacing-unit: 1rem;
    --sidebar-width: 60px;
}

/* GLOBAL RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-mono);
    /* Default to data style */
    line-height: 1.5;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    padding-right: var(--sidebar-width);
    /* Prevent sidebar overlap */
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

p,
li,
a,
span,
input,
button {
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* UTILITIES */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.section {
    min-height: 100vh;
    padding: 6rem 2rem;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* STICKY SIDEBAR */
#global-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: var(--sidebar-width);
    height: 100vh;
    border-left: 1px solid var(--color-border);
    background: var(--color-bg);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.nav-indicator {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.75rem;
    color: var(--color-border);
    margin: 1rem 0;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-indicator.active {
    color: var(--color-accent);
    font-weight: 700;
}

/* BUTTONS */
.btn {
    display: inline-block;
    background: var(--color-text);
    color: var(--color-bg);
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.875rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 0;
}

.btn:hover {
    background: var(--color-accent);
    color: #fff;
}

/* FORMS */
input,
textarea,
select {
    display: block;
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background: transparent;
    border: 1px solid var(--color-border);
    font-family: var(--font-mono);
    color: var(--color-text);
    border-radius: 0;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* THREE.JS CONTAINER */
#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* RESPONSIVE: MOBILE */
@media (max-width: 768px) {
    #founder .container {
        flex-direction: column !important;
        gap: 2rem !important;
    }
}