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

:root {
    --obsidian: #0d0a06;
    --deep-brown: #1a1209;
    --chocolate: #3d2b1a;
    --warm-brown: #5c4033;
    --muted-brown: #8a6a4f;
    --rose-gold: #c48b6c;
    --champagne: #d4a574;
    --cream: #e8d5c4;
}

html, body {
    height: 100%;
    overflow: hidden;
    background: var(--obsidian);
    color: var(--cream);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

/* Veil Animation */
#veil {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--obsidian);
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s ease-out;
    pointer-events: none;
}

#veil.revealed {
    opacity: 0;
}

/* Split Container */
#split-container {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* Left Panel */
#left-panel {
    width: 55vw;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: var(--deep-brown);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.left-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.studio-name-container {
    position: relative;
    z-index: 10;
}

.studio-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(2.8rem, 7vw, 6rem);
    letter-spacing: -0.02em;
    line-height: 1.08;
    color: var(--cream);
    text-shadow: 0 0 40px rgba(196, 139, 108, 0.3);
}

.studio-name .dot {
    color: var(--rose-gold);
}

/* Visual Collage Elements */
.visual-collage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.collage-shape {
    position: absolute;
    opacity: 0.5;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation: float-slow 12s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 15%;
    right: 5%;
    animation: float-slow 16s ease-in-out infinite reverse;
}

.shape-3 {
    width: 100px;
    height: 300px;
    top: 30%;
    right: 25%;
    animation: float-slow 10s ease-in-out infinite 2s;
}

.metallic-stroke {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--rose-gold), transparent);
    opacity: 0.15;
}

.stroke-1 {
    width: 60%;
    height: 1px;
    top: 35%;
    left: 20%;
    transform: rotate(-5deg);
}

.stroke-2 {
    width: 40%;
    height: 1px;
    bottom: 30%;
    left: 30%;
    transform: rotate(3deg);
}

.stroke-3 {
    width: 30%;
    height: 1px;
    top: 60%;
    left: 10%;
    transform: rotate(-2deg);
}

.left-footer {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.tagline {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted-brown);
}

/* Right Panel */
#right-panel {
    width: 45vw;
    height: 100vh;
    margin-left: 55vw;
    background: var(--obsidian);
    position: relative;
    overflow-y: auto;
    border-left: 1px solid var(--chocolate);
}

.right-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

/* Navigation */
.nav-items {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--chocolate);
}

.nav-link {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-brown);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--champagne);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--rose-gold);
    transition: width 0.3s ease;
}

.nav-link.active::after {
    width: 100%;
}

/* Sections */
.sections-container {
    flex: 1;
}

.content-section {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.content-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--champagne);
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

/* Work Section */
.work-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.work-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 1.5rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(61, 43, 26, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.work-item:hover {
    background: rgba(61, 43, 26, 0.2);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.work-year {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    color: var(--muted-brown);
    letter-spacing: 0.05em;
    align-self: center;
}

.work-name {
    font-family: 'Lora', serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--cream);
    align-self: center;
}

.work-type {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    color: var(--muted-brown);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    align-self: center;
}

/* About Section */
.about-text p {
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--cream);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.italic-aside {
    font-style: italic;
    color: var(--champagne);
    opacity: 0.7;
}

/* Contact Section */
.contact-email {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-style: italic;
    color: var(--rose-gold);
    margin-bottom: 0.8rem;
}

.contact-location {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    color: var(--muted-brown);
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    gap: 1.5rem;
}

.contact-link {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    color: var(--champagne);
    text-decoration: none;
    letter-spacing: 0.08em;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--rose-gold);
}

/* Right Footer */
.right-footer {
    margin-top: auto;
    padding-top: 3rem;
}

.copyright {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    color: var(--warm-brown);
    letter-spacing: 0.1em;
}

/* Cursor Glow */
#cursor-glow {
    position: fixed;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 139, 108, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Animations */
@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

/* Responsive */
@media (max-width: 768px) {
    #split-container {
        flex-direction: column;
    }

    #left-panel {
        width: 100%;
        height: 40vh;
        position: relative;
    }

    #right-panel {
        width: 100%;
        height: 60vh;
        margin-left: 0;
        border-left: none;
        border-top: 1px solid var(--chocolate);
    }

    .studio-name {
        font-size: 2.4rem;
    }

    .right-content {
        padding: 2rem;
    }
}
