:root {
    --gold: #C5A059;
    /* Champagne Gold */
    --bg-color: #F9F9F9;
    /* Off-White/Smoke */
    --secondary: #E5E5E5;
    /* Light Platinum */
    --accent: #2D2D2D;
    /* Soft Black */
    --white: #FFFFFF;

    --font-primary: 'Jost', sans-serif;
    /* Cormorant removed/unused based on request to use same font as title */

    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html,
body {
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    color: var(--accent);
    font-family: var(--font-primary);
    overflow: hidden;
}

/* SCROLL SNAP CONTAINER */
.snap-container {
    width: 100%;
    height: 100dvh;
    /* Use dynamic viewport height for mobile browsers */
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    transition: filter 0.5s ease;
}

.snap-container.blurred {
    filter: blur(8px);
}

.snap-container::-webkit-scrollbar {
    display: none;
}

/* SECTION BASICS */
.snap-section {
    width: 100%;
    height: 100dvh;
    /* Use dynamic viewport height */
    scroll-snap-align: start;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* GLOBAL NAVIGATION */
#global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--bg-color);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Increased padding to move items away from edges */
    padding: 0 80px;
    transform: translateY(-100%);
    transition: transform 0.5s ease;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

#global-nav.visible {
    transform: translateY(0);
}

.nav-left,
.nav-right {
    display: flex;
    gap: 25px;
    /* Tighter item spacing to fit in narrower container */
    flex: 0 0 32%;
    /* 32% Width = Stops further away from center logo */
}

.nav-left {
    justify-content: flex-end;
}

.nav-right {
    justify-content: flex-start;
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    z-index: 1001;
    /* Ensure above links if overlap */
}

/* Nav Logo Link wrapper */
.nav-logo-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.nav-link {
    text-decoration: none;
    color: #000;
    /* Updated Typography */
    font-family: 'Jura', sans-serif;
    font-size: 0.85rem;
    /* Reducd from 0.95 */
    font-weight: 400;
    /* Regular (was Thin 300) - makes categories thicker/darker */
    letter-spacing: 0.15rem;
    /* Reduced from 0.2 */
    /* Reduced from 0.2 */
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
    cursor: pointer;
}

.nav-link.nav-link-small {
    font-size: 0.7rem;
    /* significantly smaller */
    letter-spacing: 0.1rem;
    /* significantly smaller */
    letter-spacing: 0.1rem;
    font-weight: 300;
    /* Keep these THIN/LIGHT */
    opacity: 0.85;
}

.nav-link.nav-spacer-left {
    margin-left: 50px;
    /* Pushes About/Contact away from categories */
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
    /* Gold hover effect */
}

/* Active Underline */
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #000;
    /* Black line as requested ("line appears... that refers where the user is") */
}

/* Header Bigger Sizing (~1.2x) */
.nav-name {
    font-family: 'Jura', sans-serif;
    /* Jura Font */
    font-weight: 700;
    color: #333;
    /* Darker Gray (was #000) */
    font-size: 1.8rem;
    /* Was 1.5 */
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-role {
    font-family: var(--font-primary);
    font-weight: 400;
    color: var(--accent);
    font-size: 0.8rem;
    /* Was 0.6 */
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-right: -0.3em;
    /* Compensate for letter-spacing to ensure true center */
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.5rem;
    cursor: pointer;
}

/* MOBILE NAV OVERLAY */
#mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

#mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    /* Hidden by default */
    transition: opacity 0.3s ease-in-out;
    background: rgba(0, 0, 0, 0.3);
    /* Optional: Slight dim for text readability */
}

.project-item:hover .project-overlay {
    opacity: 1;
    /* Show on hover */
}

/* Center Project Name */
/* Overlay Text Styles */
.project-title {
    font-family: 'Jura', sans-serif;
    font-weight: 300;
    /* Thin */
    font-size: 1.5rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    text-align: center;
    width: 90%;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: var(--white);
}

.project-director {
    position: absolute;
    bottom: 2rem;
    left: 0;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    /* Muted white as requested */
    font-family: var(--font-primary);
    font-size: 0.8rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Landing Page Text (Separate from Gallery Overlays) */
/* Landing Page Text */
.director-name {
    font-family: 'Jura', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    /* Thin */
    letter-spacing: 0.8rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    margin-left: 0.8rem;
}

.director-role {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 400;
    /* Normal/Thin */
    letter-spacing: 0.5rem;
    color: var(--gold);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    margin-left: 0.5rem;
}

/* Ensure container is centered */
.director-names-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}



.close-mobile-nav {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-nav-links a {
    color: var(--gold);
    text-decoration: none;
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.landing-content {
    /* ... existing styles ... */
    z-index: 2;
    /* Ensure text is above image */
}

/* LANDING SECTION */
.landing-section {
    position: relative;
    color: var(--white);
    background: transparent;
    /* Ensure section itself is transparent */
}

.slideshow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Changed from -1 to 0 to sit ON TOP of body bg */
    background-color: #000;
    /* Fixed: Black background prevents white flash */
}

.slideshow-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Subtle gradient for text readability without washing out image */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

/* Direct Image/Video Style */
.slide-active-img,
.slide-active-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    /* Force visible */
}

/* Old .slide class kept just in case but likely unused now */
.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* HERO VIDEO LOGIC */
.hero-fullscreen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    /* transition removed for hard cut */
}

/* Loader video is naturally z-index 1 */
#hero-loader-video {
    z-index: 1;
    opacity: 1;
}

/* Main video starts hidden, z-index 2 so it covers loader when fully opaque */
#hero-main-video {
    z-index: 2;
    opacity: 0;
}

.hero-visible {
    opacity: 1 !important;
}

.hero-fade-out {
    opacity: 0 !important;
}

.landing-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    width: 80%;
    max-width: 1000px;
    /* Limit width to keep alignment controllable */
    text-align: center;
}

/*
   Request: Name smaller, starts with D, ends with Y of title.
   Strategy: Use a container for strict alignment or tune Letter Spacing.
*/

.director-names-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.director-name {
    font-family: 'Jura', sans-serif;
    /* New Font */
    font-weight: 400;
    /* Jura is naturally wide/techy, regular weight usually looks good. User said "thin weight" before, let's try 400 or 300. Jura 300 is quite thin. */
    font-size: 2rem;
    /* Keep size */
    /* Spacing: Jura is wider than Jost. We might need less spacing or same? 
       Let's keep spacing for now, but user said "match role width".
    */
    letter-spacing: 0.6rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-right: -0.6rem;
}

.director-role {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 0.9rem;
    /* Smaller size (was 1.2rem) */
    /* If text is smaller, we need MORE spacing to match the name width? 
       Or if Name width reduced (due to Jura?), we adjust. 
       Let's increase spacing to stretch this smaller text. 
    */
    letter-spacing: 0.5rem;
    color: var(--white);
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: block;
    margin-right: -0.5rem;
    /* Center alignment fix for Landing Page Role */
}

/* Landing Footer Bar */
.landing-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    /* Doubled height */
    background-color: #000;
    display: flex;
    z-index: 10;
    /* Ensure above video */
    justify-content: center;
    align-items: center;
    z-index: 10;
}




/* STANDARD VIDEO MODE (16:9 Landscape) */
.modal-content:not(.vertical-mode):not(.html-mode) {
    width: 80vw;
    max-width: 1000px;
    /* Standard Pop-up Size */
    aspect-ratio: 16 / 9;
    height: auto;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    margin: auto;
    /* Center in flex container */
    padding: 0;
    /* Ensure no padding */
}

/* Force container to fill the box */
#modal-video-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content:not(.vertical-mode):not(.html-mode) iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
}

/* HTML MODE (Instagram Embeds) - Flexible Height */
.modal-content.html-mode {
    height: auto !important;
    max-height: 90vh;
    width: auto !important;
    min-width: 320px;
    background: transparent;
    overflow-y: auto;
}

/* VERTICAL MODE (Strict 9:16) */
.modal-content.vertical-mode {
    height: 85vh !important;
    aspect-ratio: 9 / 16;
    width: auto !important;
    max-width: calc(85vh * 9 / 16);
    background: transparent;
    overflow: hidden;
    /* Embed handles scrolling if needed, but usually fits */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Force Inner Content (Instagram/Video) to Fill Vertical Modal */
.modal-content.vertical-mode #modal-video-container,
.modal-content.vertical-mode iframe,
.modal-content.vertical-mode .instagram-media-rendered {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    border: none;
    margin: 0 !important;
}

/* Ensure images in grid cover container */
.video-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-container:hover img {
    transform: scale(1.05);
    /* Slight zoom on hover like video */
}

/* Close Button position for HTML/Vertical mode */
.modal-content.html-mode .close-modal,
.modal-content.vertical-mode .close-modal {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    top: 10px;
    right: 10px;
    position: absolute;
    z-index: 100;
}

.arrow-down-icon {
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--gold);
    /* Soft Black/Black */
    border-bottom: 2px solid var(--gold);
    transform: rotate(45deg);
    margin-bottom: 5px;
    /* Visual center adjustment */
}

/* SCROLL OFFSET FOR ABOUT SNAP */
#about {
    scroll-margin-top: 100px;
    /* Snap below the 100px Header */
}

/* PORTFOLIO GRID */
.portfolio-section {
    background-color: var(--bg-color);
    display: block;
    height: auto !important;
    /* Allow it to grow, preventing scroll trap */
    min-height: 100dvh;
    overflow: visible !important;
    /* Let the main page scroll handle it */
    padding-top: 100px;
    padding-left: 20px;
    padding-right: 20px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Columns */
    width: 100%;
    height: auto;
    /* Request: "0,5 cm" gap. Approx 20px. */
    gap: 20px;
    /* Huge bottom padding for separation: 50% of viewport */
    padding-bottom: 50vh;
}

/* DIGITAL CONTENT GRID (4 Columns) */
.project-grid.grid-digital {
    grid-template-columns: repeat(4, 1fr);
    /* 4 Columns for vertical content */
    gap: 15px;
    /* Slightly tight gap */
}

.project-item {
    aspect-ratio: 2.4 / 1;
    /* Cinematic Aspect Ratio 2.40:1 */
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background-color: var(--secondary);
    /* box-shadow: 0 5px 15px rgba(0,0,0,0.05); Optional clean shadow */
}

/* VERTICAL RATIO (9:16) for Digital Content */
.project-item.vertical {
    aspect-ratio: 9 / 16;
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.static-thumb,
.hover-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.static-thumb {
    z-index: 1;
    transition: opacity 0.4s ease;
}

.hover-video {
    z-index: 0;
    opacity: 1;
    /* Visible by default (acts as thumbnail) */
    transition: opacity 0.2s ease;
}

.project-item:hover .static-thumb {
    opacity: 0;
}

/* Removed redundant .hover-video:hover rule since it's already 1 */

/* ABOUT SECTION */
.about-section {
    background-color: #111;
    /* Darker background */
    padding: 0;
}

.about-container {
    width: 100%;
    max-width: 1400px;
    height: 100%;
    /* Add padding top to prevent overlap with fixed nav */
    padding: 120px 5% 0 5%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Align top safely */
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
    margin-top: 2rem;
}

.about-header h2 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--gold);
    /* Gold stays good */
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.about-header h3 {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    font-weight: 400;
    color: var(--secondary);
    /* Light color for dark bg */
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    height: 100%;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    /* Increased by ~30% */
    height: auto;
    object-fit: cover;
    filter: sepia(20%) brightness(1.1);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.2);
}

.about-bio {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 4rem;
    /* Moved down */
    padding-bottom: 4rem;
}

.about-bio p {
    font-family: 'Jura', sans-serif;
    /* Added Jura */
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    /* Allow mixed case */
    letter-spacing: 0.05em;
    color: var(--secondary);
    /* Light color for dark bg */
    font-weight: 300;
}

.about-bio h4 {
    font-family: 'Jura', sans-serif;
    /* Changed to Jura */
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* CONTACT SECTION */
.contact-section {
    background-color: var(--bg-color);
    background-image: url('assets/images/contact_photo_1.1.1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0;
    /* Remove padding */
}

.contact-container {
    text-align: center;
    width: 100%;
    max-width: 600px;
    font-family: 'Jura', sans-serif;
    /* Jura Font for Contact */
}

/* Scoped for Contact Section specifically */
#contact .section-title {
    font-weight: 300;
    /* Thin */
}

.section-title {
    font-family: 'Jura', sans-serif;
    /* Jura Font */
    font-weight: 700;
    /* Default Bold for other sections */
    font-size: 2.5rem;
    color: var(--white);
    letter-spacing: 0.2rem;
    margin-bottom: 2rem;
}

.contact-email {
    display: block;
    width: fit-content;
    /* Let text define width */
    text-align: center;
    font-size: 1.6rem;
    /* Reduced to 70% of 2.2rem */
    font-weight: 300;
    color: var(--white);
    margin: 0 auto 0.5rem auto;
    /* Centered, 0.5rem bottom margin */
    padding-bottom: 0;
    /* Remove padding */
    border-bottom: none;
    /* Remove golden line */
    text-transform: none;
    transition: opacity 0.3s;
}

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

.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 4rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(197, 160, 89, 0.4);
    padding: 15px 0;
    color: var(--accent);
    font-family: 'Jura', sans-serif;
    /* Jura Font */
    font-size: 1rem;
    letter-spacing: 0.1em;
    outline: none;
    resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(45, 45, 45, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom: 1px solid var(--gold);
}

.submit-btn {
    align-self: flex-start;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 12px 40px;
    font-family: 'Jura', sans-serif;
    /* Jura Font */
    font-size: 1rem;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    margin: 0 auto;
}

.submit-btn:hover {
    background: var(--gold);
    color: var(--white);
}

/* PERSONAL CONTACT INFO */
.personal-contact {
    margin-bottom: 1rem;
    /* Reduced margin */
}

.contact-subtitle {
    font-family: 'Jura', sans-serif;
    font-size: 1.2rem;
    color: var(--white);
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
    font-weight: 700;
    /* Bold */
}

/* CONTACT SOCIAL ICONS (Text Links) */
.contact-social-icons {
    display: flex;
    justify-content: space-between;
    width: auto;
    /* Will be set by JS */
    margin: 0 auto;
    padding: 0;
}

.contact-social-icons a {
    color: var(--white);
    font-family: 'Jura', sans-serif;
    font-weight: 300;
    /* Thin */
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-social-icons a:hover {
    color: var(--gold);
}




/* MODAL & BLUR */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    /* Darker overlay */
    backdrop-filter: blur(5px);
    /* Add blur to the overlay itself for modern browsers */
    align-items: center;
    justify-content: center;
}

.modal-content {
    width: 80%;
    /* Default width */
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    /* Maintain video aspect ratio */
    height: auto;
    /* Let aspect ratio drive height */
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    background: #000;
    display: flex;
    /* Ensure no collapsing */
    flex-direction: column;
}

.modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 50px;
    color: var(--gold);
    font-size: 40px;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.8;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .about-content {
        flex-direction: column;
        align-items: center;
    }
}

/* Widened breakpoint to catch all tablets/large phones */
@media (max-width: 1200px) {
    .director-name {
        font-size: 1.4rem;
        /* Much smaller (was 2rem) */
        letter-spacing: 0.2rem;
        margin-right: 0;
        /* Reset margin */
        text-align: center;
    }

    .director-role {
        font-size: 0.7rem;
        /* Smaller (was 0.8rem) */
        letter-spacing: 0.2rem;
        margin-right: 0;
        /* Reset margin */
        text-align: center;
    }

    #global-nav {
        padding: 0 20px;
        height: 70px;
        justify-content: space-between;
    }

    .nav-left,
    .nav-right {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block;
        margin-left: auto;
        position: relative;
        z-index: 2000;
        color: #000 !important;
        /* Black button */
        /* Ensure clickability over nav-center */
    }

    /* Force remove the old pseudo-element ghost */
    #global-nav::after {
        content: none !important;
        display: none !important;
    }

    /* REMOVED Pseudo-element. Using real nav-center content instead */
    .nav-center {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        width: 100%;
        position: absolute;
        left: 50%;
        top: 60%;
        /* Moved down to avoid notch/margin issues */
        transform: translate(-50%, -50%);
        line-height: 1.2;
        padding-top: 10px;
        /* Extra safety nudge */
    }

    .mobile-nav-links a {
        font-family: 'Jura', sans-serif !important;
        color: #000 !important;
        /* Black Categories */
        text-transform: uppercase;
        font-size: 1.2rem;
        /* Smaller font size */
        margin: 10px 0;
    }

    .nav-name {
        font-family: 'Jura', sans-serif;
        font-weight: 700;
        color: #000 !important;
        font-size: 1.1rem;
        letter-spacing: 0.1em;
    }

    .nav-role {
        font-family: 'Jura', sans-serif;
        font-weight: 500;
        color: #000 !important;
        font-size: 0.6rem;
        letter-spacing: 0.1em;
        display: block !important;
        margin-top: 2px;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* DIGITAL GRID MOBILE (2 COLUMNS) */
    .project-grid.grid-digital {
        grid-template-columns: repeat(2, 1fr) !important;
        /* Force 2 columns for vertical video on mobile */
    }

    /* MOBILE ABOUT FIX: Reduce spacing */
    .about-container {
        padding-top: 10px !important;
        /* Minimize header gap */
        justify-content: center;
    }

    .about-image img {
        margin-bottom: 0px;
        /* No margin to keep text close */
        max-width: 150px;
        /* Restored Size (was 100px) */
    }

    .about-bio h4 {
        margin-top: 0;
        margin-bottom: 5px;
        font-size: 1rem;
    }

    .modal-content {
        width: 100%;
        height: 56.25vw;
        margin-top: 30vh;
    }

    .about-bio {
        padding-top: 0.5rem;
        text-align: center;
    }

    .about-bio p {
        font-size: 0.8rem;
        /* Smaller body text */
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    .about-bio h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .about-container {
        padding-top: 60px;
        /* Less padding */
        justify-content: center;
    }

    /* GRID ITEM TEXT */
    .project-title {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }

    .project-director {
        font-size: 0.6rem;
        /* Small for phone */
        color: rgba(255, 255, 255, 0.7);
        /* Muted white (explicit for mobile) */
    }

    /* CONTACT MOBILE FIXES */
    #contact .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .contact-subtitle {
        font-size: 1rem;
    }

    .contact-email {
        font-size: 0.9rem;
        /* Fit screen */
    }

    .contact-social-icons {
        gap: 15px;
        width: 100%;
        max-width: 280px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact-social-icons a {
        font-size: 0.7rem;
        letter-spacing: 0.1em;
    }
}

/* COOKIE LEGISLATION BANNER */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0b0b0b;
    border: 1px solid #333;
    padding: 20px;
    z-index: 999999;
    /* Ensure on top of everything */
    display: none;
    /* JS toggles this */
    max-width: 320px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.cookie-banner p {
    color: #f4f4f4;
    font-family: 'Jura', sans-serif;
    font-size: 14px;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-banner button {
    background-color: #D4AF37;
    /* Gold */
    color: #000;
    border: none;
    padding: 8px 16px;
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    cursor: pointer;
    font-size: 11px;
    text-transform: uppercase;
    transition: all 0.3s;
    letter-spacing: 1px;
    flex: 1;
    /* Stretch buttons */
}

.cookie-banner button:hover {
    background-color: #fff;
    color: #000;
}

/* Deny Button Style */
.cookie-banner button.deny-btn {
    background-color: transparent;
    border: 1px solid #666;
    color: #ccc;
}

.cookie-banner button.deny-btn:hover {
    background-color: #333;
    color: #fff;
    border-color: #fff;
}