* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-main: #0a0a0a;
    --bg-card: #141414;
    --border-card: rgba(255, 255, 255, 0.03);
    --accent-primary: #86efac;
    /* Sage Green */
    --accent-secondary: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: #737373;
    --section-gap: 12rem;
    --section-gap-mobile: 6rem;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Layout Structure */
.narrative-layout {
    display: flex;
    flex-direction: column;
    position: relative;
}

@media (min-width: 1024px) {
    .narrative-layout {
        flex-direction: row;
    }

    .sticky-side {
        width: 32%;
        height: 100vh;
        position: sticky;
        top: 0;
        border-right: 1px solid var(--border-card);
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 4rem;
        background: #0a0a0a;
        z-index: 40;
    }

    .scroll-content {
        width: 68%;
        padding: 0 6rem;
    }
}

@media (max-width: 1023px) {
    .sticky-side {
        padding: 5rem 1.5rem;
        border-bottom: 1px solid var(--border-card);
        background: var(--bg-main);
    }

    .scroll-content {
        padding: 0 1.5rem;
    }

    .section-hero {
        min-height: auto !important;
        padding: 8rem 0;
    }

    .section-full {
        padding: var(--section-gap-mobile) 0 !important;
    }

    .project-large {
        margin-bottom: 6rem !important;
    }
}

.section-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-full {
    padding: var(--section-gap) 0;
    border-bottom: 1px solid var(--border-card);
}

.section-full:last-child {
    border-bottom: none;
}

/* Typography */
.text-huge {
    font-size: clamp(2.5rem, 12vw, 6.5rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    font-weight: 900;
    text-transform: uppercase;
    word-break: break-word;
    overflow-wrap: break-word;
}

.text-meta {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    display: block;
}

.text-description {
    color: var(--text-secondary);
    font-size: clamp(1.1rem, 4vw, 1.25rem);
    font-weight: 500;
    max-width: 35rem;
    line-height: 1.6;
}

/* Project Styling */
.project-large {
    margin-bottom: 10rem;
}

.project-large h3 {
    font-size: clamp(1.8rem, 8vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    margin: 1.2rem 0;
    line-height: 1.1;
    word-break: break-word;
}

.project-large:hover h3 {
    color: var(--accent-primary);
    transition: color 0.3s ease;
}

/* Utility */
.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    padding: clamp(1.5rem, 8vw, 4rem);
    transition: all 0.4s ease;
}

.btn-monolith {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    background: white;
    color: black;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-monolith:hover {
    background: var(--accent-primary);
    transform: translateX(10px);
}

.nav-link {
    text-decoration: none;
    color: inherit;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    transition: all 0.3s ease;
    display: block;
}

.nav-link:hover {
    color: var(--accent-primary);
    letter-spacing: 0.4em;
}

/* Mobile Nav Bar - Bottom Snack Bar style */
.mobile-nav {
    display: none;
}

@media (max-width: 1023px) {
    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(20, 20, 20, 0.8);
        backdrop-filter: blur(20px);
        padding: 0.8rem 1.5rem;
        border-radius: 100px;
        border: 1px solid var(--border-card);
        z-index: 100;
        gap: 1.5rem;
    }

    .mobile-nav a {
        color: white;
        text-decoration: none;
        font-size: 9px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }
}

/* Animations */
@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    animation: reveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}