:root {
    --bg-dark: #0a0a0a;
    --bg-light: #fcfcfc;
    --text-light: #fafafa;
    --text-dark: #111111;
    --accent-color: #e6192b;
    --font-heading: 'Barlow Condensed', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-elite: 'Montserrat Alternates', sans-serif;
    --font-julius: 'Julius Sans One', sans-serif;
    --grid-gap: 2px;
    --grid-border: #222222;
}

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

html, body {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background-color: var(--accent-color);
    color: var(--text-light);
}

/* Typography */
h1, h2, h3, .menu-link {
    font-family: var(--font-heading);
    text-transform: uppercase;
}

/* Header & Menu */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 100;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    pointer-events: none;
}

/* Audio Control */
.audio-control {
    margin-right: 1.5rem;
    pointer-events: auto;
}

.audio-toggle {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    transition: background-color 0.3s ease;
}

.audio-toggle:hover {
    background-color: var(--accent-color);
}

.audio-toggle .bar {
    width: 3px;
    height: 12px;
    background-color: var(--text-light);
    border-radius: 1px;
}

.audio-toggle.playing .bar {
    animation: soundWave 0.8s ease-in-out infinite alternate;
}

.audio-toggle.playing .bar:nth-child(2) { animation-delay: 0.2s; }
.audio-toggle.playing .bar:nth-child(3) { animation-delay: 0.4s; }

@keyframes soundWave {
    0% { height: 4px; }
    100% { height: 18px; }
}


.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 30px;
    position: relative;
    z-index: 101;
    pointer-events: auto;
    pointer-events: auto;
    /* mix-blend-mode: difference; Removed for performance (causes severe freezing on many browsers on hover) */
    background-color: rgba(0, 0, 0, 0.5); /* Added dark pills for visibility */
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}
.hamburger:hover {
    background-color: var(--accent-color);
}
.hamburger .line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-light);
    position: absolute;
    left: 12px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), top 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s;
}

.hamburger .line:nth-child(1) { top: 18px; }
.hamburger .line:nth-child(2) { top: 28px; }

.hamburger.open .line:nth-child(1) {
    top: 23px;
    transform: rotate(45deg);
}

.hamburger.open .line:nth-child(2) {
    top: 23px;
    transform: rotate(-45deg);
}

.side-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 480px;
    height: 100vh;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 4rem;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
    border-left: 1px solid rgba(255,255,255,0.05);
    pointer-events: none;
}

.side-menu.open {
    transform: translateX(0);
    pointer-events: auto;
}

.menu-inner {
    width: 100%;
}

.menu-links {
    list-style: none;
    text-align: left;
}

.menu-links li {
    margin: 1.5rem 0;
    overflow: hidden;
}

.menu-link {
    color: var(--text-light);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.33, 1, 0.68, 1), color 0.2s ease;
}

.menu-num {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: var(--accent-color);
    letter-spacing: 0.1em;
    transform: translateY(-5px);
}

.side-menu.open .menu-link {
    opacity: 1;
    transform: translateX(0);
}

.side-menu.open li:nth-child(1) .menu-link { transition-delay: 0.1s; }
.side-menu.open li:nth-child(2) .menu-link { transition-delay: 0.15s; }
.side-menu.open li:nth-child(3) .menu-link { transition-delay: 0.2s; }
.side-menu.open li:nth-child(4) .menu-link { transition-delay: 0.25s; }
.side-menu.open li:nth-child(5) .menu-link { transition-delay: 0.3s; }

.menu-link:hover {
    color: var(--accent-color);
}
.menu-link:hover .menu-text {
    transform: translateX(10px);
    transition: transform 0.3s ease;
}
.menu-text {
    transition: transform 0.3s ease;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

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

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    transform: scale(0.98);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 3rem;
    font-family: var(--font-body);
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
}

.lightbox-close:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 2.5rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 201;
    border-radius: 0; /* More premium sharp edges */
}

.lightbox-nav:hover {
    background: var(--text-light);
    color: var(--bg-dark);
    transform: translateY(-50%) scale(1.05);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: var(--bg-dark); /* fallback */
}

.hero-bg img, .hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    filter: brightness(0.4) contrast(1.1);
}

.vertical-guides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 2;
    pointer-events: none;
    padding: 0 10%;
}

.guide {
    width: 1px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.05);
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.hero-accent-line {
    height: 100px; /* Vertical height to span both lines roughly */
    width: 4px;
    background-color: var(--text-light);
    margin: 0;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 6vw;
    font-style: normal;
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 0.03em;
    color: var(--text-light);
    margin: 0;
    padding: 0;
    text-shadow: 0 10px 40px rgba(0,0,0,0.5);
    text-align: left;
}

.hero-footer {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 3;
}

.copyright {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
}

/* Gallery Section */
.gallery {
    width: 100%;
    background-color: var(--grid-border);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
    background-color: var(--grid-border);
    padding: 0;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4 / 5;
    background-color: var(--bg-dark);
    overflow: hidden;
    cursor: crosshair;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

/* Final Contact Section */
.contact-section {
    width: 100%;
    background-color: var(--bg-light);
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
}

.contact-grid {
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 0;
    padding: 0;
    align-items: stretch;
}

.contact-col.left-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 6rem;
}

.contact-col.right-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0; /* Keep flush so image touches edges */
}

.info-content-wrapper {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

/* Left Col */
.about-heading {
    font-size: 4rem;
    font-weight: 900;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1;
}

.measurements {
    list-style: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.measurements li {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.measurements li span {
    font-weight: 600;
    color: var(--text-dark);
}

.measurements li:last-child {
    border-bottom: none;
}

.color-value {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.color-swatch {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,0.15);
}

/* Right Col Image */
.portrait-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    border-radius: 0;
}

.portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    filter: blur(0.4px);
    image-rendering: high-quality;
    transform: translateZ(0);
}

.portrait-accent-text {
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 900;
    font-style: italic;
    color: var(--accent-color);
    line-height: 1;
    white-space: nowrap;
    mix-blend-mode: multiply;
    pointer-events: none;
}

/* Right Col */
.right-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.accent-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: block;
}

.collab-heading {
    font-size: 3rem;
    font-weight: 900;
    font-style: italic;
    line-height: 0.9;
    margin-bottom: 2rem;
}

.email-link {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    border-bottom: 2px solid var(--text-dark);
    padding-bottom: 5px;
    display: inline-block;
    align-self: flex-start;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.email-link:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.social-links {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-col.center-col {
        order: -1;
    }
    
    .portrait-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .portrait-accent-text {
        font-size: 6rem;
    }
    
    .hero-title {
        font-size: 9vw;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        padding: 0 2rem;
    }
    
    .contact-section {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 12vw;
    }
    
    .about-heading, .collab-heading {
        font-size: 2.8rem;
    }
    
    .side-menu {
        max-width: 100%;
        padding-left: 2rem;
    }

    .menu-link {
        font-size: 2.5rem;
    }
    
    .hero-bg img {
        object-position: center;
    }

    .lightbox-nav {
        font-size: 1.5rem;
        padding: 0.8rem;
        background: rgba(0, 0, 0, 0.4);
    }
    .lightbox-prev {
        left: 5px;
    }
    .lightbox-next {
        right: 5px;
    }
}
