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

:root {
    --brand-color: #d4af37; /* Default Studio Gold (overridden per division) */
}

html {
    background-color: #000;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

/* --- Master Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

.nav-brand {
    pointer-events: auto;
    z-index: 1002;
}

.nav-brand a {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 40px;
    pointer-events: auto;
}

.nav-links a {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brand-color);
}

/* --- Master Footer --- */
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid #111;
    font-size: 0.75rem;
    color: #555;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.social-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
}

.social-footer a {
    color: #555;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-footer a:hover {
    color: var(--brand-color);
    transform: translateY(-3px);
}

.social-footer svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* --- Apple-Signature Cinematic Scroll Animation (Desktop & Mobile) --- */
.fade-in-section {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 2.2s cubic-bezier(0.25, 1, 0.5, 1), transform 2.2s cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: calc(var(--stagger, 0) * 0.15s);
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Mobile Nav & Layout --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1002;
    pointer-events: auto;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    nav {
        padding: 20px 25px;
    }

    .menu-toggle {
        display: flex !important;
        pointer-events: auto !important;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
        z-index: 1001;
        pointer-events: auto !important;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        margin: 10px 0;
        font-size: 1.4rem;
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}