/* ==============================================================================
 * STYLE:   public/style.css -- Liquid Glass Design System
 * VERSION: v2.2.0 (Dynamic & Modular Refactoring Release)
 * PROJECT: Niamh McGrath Official Website
 * OWNER:   brubat-org/niamh-website
 * ==============================================================================
 * DESIGN TOKENS
 *   - Colors: OLED Dark mode (#0a0a0a) with premium Gold accents (#d4af37)
 *   - Typography: Space Grotesk (body) and Archivo (headings)
 *   - Glassmorphism: Custom backdrop-blur and semi-transparent border variables
 *
 * LAYOUT SECTIONS
 *   - Global reset and spacing variables
 *   - .glass-card, .btn-gold UI elements
 *   - Sticky Nav header (dynamic hamburger reveal)
 *   - Hero theatrical Triptych (adaptive min-aspect-ratio: 1/1 split panels)
 *   - Dynamic CV grid column system
 *   - Interactive Media (videos iframe and audio containers)
 *   - Lightbox overlay layout and Spotlight radial background logic
 * ============================================================================== */

:root {
    /* Pro Max Design System - OLED Dark Edition */
    --background: #0a0a0a;
    --surface: #121212;
    --primary: #d4af37;
    /* Gold */
    --primary-hover: #fcd975;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #fcd975 50%, #d4af37 100%);
    --gold-glow: 0 0 20px rgba(212, 175, 55, 0.3);

    --text-main: #ffffff;
    --text-secondary: #a1a1aa;
    /* Slate 400 */
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --iridescent-gradient: linear-gradient(45deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(255, 255, 255, 0) 100%);

    --border-radius-lg: 20px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-standard: cubic-bezier(0.23, 1, 0.32, 1);
    --container-width: 1200px;

    /* Missing Logic Variables */
    --accent-gold: #d4af37;
    --text-primary: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-blur: blur(20px);

    /* Spacing & Layout Tokens */
    --spacing-xl: 80px;
    --spacing-lg: 40px;
    --spacing-md: 24px;
    --spacing-sm: 12px;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--background);
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.nav-brand {
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-standard);
}

/* UI Elements */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.section-title {
    font-size: 0.8rem;
    letter-spacing: 0.4rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.gold-text {
    color: var(--accent-gold);
}

/* Buttons */
.btn-primary,
.btn-gold,
.btn-outline {
    display: inline-block;
    padding: 12px 32px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary,
.btn-gold {
    background: var(--gold-gradient);
    background-size: 200% auto;
    color: #000;
    border: none;
    box-shadow: var(--gold-glow);
}

.btn-primary:hover,
.btn-gold:hover {
    background-position: right center;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: 'Archivo', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.2rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
    z-index: 1001; /* Above slide-out drawer */
}

.nav-brand:hover {
    color: var(--primary);
}

/* Premium Menu Toggle Button */
.menu-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    z-index: 1001; /* Above slide-out drawer */
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-width: 110px; /* Prevent button layout shifts */
    height: 38px;
    justify-content: center;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-gold);
}

.menu-label-wrapper {
    position: relative;
    width: 60px;
    height: 100%;
    display: flex;
    align-items: center;
}

.menu-text-label,
.menu-close-label {
    position: absolute;
    left: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    color: var(--text-main);
    transition: transform 0.4s var(--transition-standard), opacity 0.4s var(--transition-standard);
}

.menu-text-label {
    opacity: 1;
    transform: translateY(0);
}

.menu-close-label {
    opacity: 0;
    transform: translateY(15px);
    color: var(--accent-gold);
}

/* Active states for toggle text */
.menu-toggle.active .menu-text-label {
    opacity: 0;
    transform: translateY(-15px);
}

.menu-toggle.active .menu-close-label {
    opacity: 1;
    transform: translateY(0);
}

/* Swedish Double Lines */
.menu-lines {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 12px;
    position: relative;
}

.menu-lines span {
    display: block;
    height: 1.5px;
    background-color: var(--text-main);
    transition: transform 0.4s var(--transition-standard), width 0.4s var(--transition-standard), background-color 0.4s var(--transition-standard);
    transform-origin: center;
}

.menu-lines span:nth-child(1) {
    width: 100%;
}

.menu-lines span:nth-child(2) {
    width: 65%;
    align-self: flex-end;
}

.menu-toggle:hover .menu-lines span:nth-child(2) {
    width: 100%;
}

/* Animate double lines to X when active */
.menu-toggle.active .menu-lines span:nth-child(1) {
    transform: translateY(5.25px) rotate(45deg);
    background-color: var(--accent-gold);
    width: 100%;
}

.menu-toggle.active .menu-lines span:nth-child(2) {
    transform: translateY(-5.25px) rotate(-45deg);
    background-color: var(--accent-gold);
    width: 100%;
}

/* Side Drawer Navigation Menu */
.nav-links {
    display: flex;
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 1000;
    border-left: 1px solid var(--glass-border);
}

.nav-links.active {
    right: 0;
}

.nav-links a {
    margin: 20px 0;
    font-size: 1.1rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    transition: var(--transition);
    color: var(--text-secondary);
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Contact Button in sliding menu */
.nav-links a.btn-primary {
    margin-top: 30px;
    padding: 12px 30px;
    background: var(--primary);
    color: var(--background) !important;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    letter-spacing: 0.1rem;
}

.nav-links a.btn-primary:hover {
    background: var(--primary-hover);
}

/* Hero Section - Hybrid Adaptive Logic */
/* By default, layouts are single-column stacked to accommodate portrait aspects */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background-color: var(--background);
    display: flex;
    /* Default for mobile/portrait */
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-top: 80px;
}

.side-panel {
    display: none;
    /* Hidden by default (Portrait/Phone) to prevent viewport clipping */
}

/* ==============================================================================
 * LANDSCAPE MODE (Triptych Adaptive Style)
 * Triggered when screen width is equal to or greater than screen height.
 * Creates a 3-panel widescreen theatrical canvas.
 * ============================================================================== */
@media (min-aspect-ratio: 1/1) {
    .hero {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        background-color: var(--background);
        padding-top: 80px;
    }

    /* Supporting ambient columns flanking the central portrait.
     * Width formula: (50% of viewport) minus (half of the center pillar's max-width).
     * This keeps panels perfectly aligned to the edges of the central image. */
    .side-panel {
        display: block;
        /* Show in landscape */
        position: absolute;
        top: 0;
        width: calc(50% - 325px); /* 325px = 650px / 2 */
        height: 100vh;
        z-index: 1;
        overflow: hidden;
    }

    .side-left {
        left: 0;
    }

    .side-right {
        right: 0;
    }

    .side-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.6;
        filter: brightness(0.35) blur(3px) grayscale(0.2);
        /* Muted cinematic background tone */
        transition: var(--transition);
    }

    /* Reveal effect on side column hover */
    .side-panel:hover .side-image {
        filter: brightness(0.5) blur(1px) grayscale(0);
        opacity: 0.8;
    }

    /* The Vertical Master Pillar (Primary Actor Portrait Container)
     * Centered absolutely using left/transform translation.
     * Constrained to a max width of 650px to prevent viewport crop scaling on 4K. */
    .hero-image-container {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100vh;
        max-width: 650px;
        height: 100%;
        z-index: 5;
        /* Positioned above side panels, below hero content */
        overflow: hidden;
        box-shadow: 0 0 100px rgba(0, 0, 0, 1);
        /* Creates depth division from side panels */
    }

    .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 15%; /* Custom vertical lock (never crops actor face) */
        filter: brightness(0.9);
    }

    .hero-content {
        position: relative;
        z-index: 20;
        width: 500px !important;
        margin-bottom: 8vh;
        background: var(--glass);
    }

    /* Bottom Vignette within Pillar to blend the image seamlessly into the body black (#0a0a0a) */
    .hero-image-container::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, transparent 50%, var(--background) 98%);
        z-index: 2;
    }
}


/* ==============================================================================
 * PORTRAIT MODE (Phone / Vertical Monitors)
 * Triggered when screen height is greater than screen width.
 * Collapses the triptych columns to focus solely on the primary actor portrait.
 * ============================================================================== */
@media (max-aspect-ratio: 1/1) {
    .hero-image-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 20%;
        filter: brightness(0.8);
    }

    .hero-content {
        margin-bottom: 5vh;
        width: 90%;
        padding: 40px 20px;
    }

    /* Ambient linear dark vignette to fade image bottom to deep background colors */
    .hero::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, transparent 40%, var(--background) 95%);
        z-index: 2;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 540px;
    padding: 80px 60px;
    text-align: center;
    /* Liquid Glass Implementation */
    background: var(--glass);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    transition: var(--transition);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 0.8rem;
    letter-spacing: -1px;
    font-weight: 800;
    color: #fff;
}

.hero-subtitle {
    font-size: 1rem;
    letter-spacing: 0.5rem;
    color: var(--accent-gold);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

/* About / Bio */
.bio-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    line-height: 1.4;
    color: var(--text-primary);
    white-space: pre-line;
}

/* CV Grid */
.cv-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

@media (min-width: 901px) {
    /* Balance columns: Theatre on left, Screen on right with Creative under it */
    .cv-grid.filter-all {
        grid-template-rows: auto auto;
    }
    .cv-grid.filter-all .theatre {
        grid-column: 1;
        grid-row: 1 / span 2;
    }
    .cv-grid.filter-all .screen {
        grid-column: 2;
        grid-row: 1;
    }
    .cv-grid.filter-all .creative {
        grid-column: 2;
        grid-row: 2;
    }
}

@media (max-width: 900px) {
    .cv-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.cv-category {
    display: inline-block;
    width: 100%;
    margin-bottom: 50px;
    break-inside: avoid;
}

.cv-category h3 {
    font-size: 0.8rem;
    letter-spacing: 0.3rem;
    margin-bottom: 2rem;
    color: var(--primary);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

.cv-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    padding-left: 20px;
    border-left: 1px solid var(--accent-gold);
}

.cv-role {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.cv-prod {
    font-weight: 700;
    font-size: 1.1rem;
}

.cv-director {
    font-style: italic;
    font-size: 0.8rem;
    opacity: 0.7;
}

.skills-list {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

/* Credits Advanced UI */
.cv-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 20px;
}

.cv-download {
    font-size: 0.7rem;
    padding: 10px 20px !important;
}

.cv-footer-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 3rem;
}

.cv-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 3rem;
    overflow-x: auto;
    padding-bottom: 10px;
}

.filter-btn {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.filter-btn.active {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
}

.filter-btn:hover:not(.active) {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.cv-item {
    transition: var(--transition);
    cursor: default;
    padding: 15px 20px;
    border-radius: var(--border-radius-sm);
}

.cv-item:hover {
    background: rgba(212, 175, 55, 0.03);
    border-left: 2px solid var(--primary);
    transform: translateX(10px);
}

.cv-category.creative {
    grid-column: span 2;
}

@media (max-width: 900px) {
    .cv-category.creative {
        grid-column: span 1;
    }
}

/* Production Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.gallery-overlay span {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid var(--primary);
    padding: 10px 20px;
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox-media-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 100%;
    max-height: 90vh;
    box-shadow: 0 0 100px rgba(0, 0, 0, 1);
    border: 1px solid var(--glass-border);
}

.lightbox-video-container {
    width: 80vw;
    max-width: 1000px;
    aspect-ratio: 16/9;
}

.lightbox-video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    box-shadow: 0 0 100px rgba(0, 0, 0, 1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 2001;
}

/* Showreel Section */
.showreel-video-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: #000;
}

.showreel-video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Professional Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-form-container {
    padding: 40px;
}

.contact-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 16px;
    color: white;
    font-family: inherit;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(212, 175, 55, 0.05);
    outline: none;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-icons .btn-outline {
    font-size: 0.7rem;
    padding: 10px 20px !important;
}

/* Responsive Grid Patch */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cv-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.footer-agent h4 {
    letter-spacing: 0.2rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.footer-links a {
    margin: 0 20px;
    font-size: 0.9rem;
    opacity: 0.6;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

.footer-content {
    padding: var(--spacing-lg) 0;
    margin-top: calc(var(--spacing-xl) * 1);
}

.copyright {
    opacity: 0.3;
    font-size: 0.7rem;
    text-align: right;
    width: 100%;
}

.form-status-box {
    margin-bottom: 15px;
    font-size: 0.9rem;
    display: none;
}

.border-top {
    border-top: 1px solid var(--glass-border);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 1s 0.5s forwards;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s var(--transition-standard);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reels-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px;
    margin-top: 3rem;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 991px) {
    .reels-grid {
        grid-template-columns: 1fr !important;
        /* Stacked large video view */
        gap: 30px;
    }

    .reel-label {
        font-size: 0.9rem !important;
        padding: 16px 20px !important;
    }
}

@media (max-width: 600px) {
    .reels-grid {
        gap: 12px;
        /* Very tight gap for mobile double-view */
    }

    .reel-label {
        font-size: 0.6rem !important;
        /* Smaller text for narrow mobile */
        padding: 10px 12px !important;
        letter-spacing: 0.1rem !important;
    }
}

.video-container {
    position: relative;
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #000;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--glass-border);
}

.video-container iframe,
.fade-in-iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
}

.video-preview-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    cursor: pointer;
    overflow: hidden;
    background: #000;
    display: block;
}

.video-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.video-preview-wrapper:hover .video-thumbnail-img {
    transform: scale(1.04);
    filter: brightness(1.08);
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease;
}

.video-preview-wrapper:hover .video-play-overlay {
    background-color: rgba(0, 0, 0, 0.35);
}

.video-play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.video-play-btn svg {
    width: 22px;
    height: 22px;
    margin-left: 3px;
    fill: currentColor;
}

.video-preview-wrapper:hover .video-play-btn {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    transform: scale(1.08);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

.reel-label {
    font-size: 0.8rem !important;
    letter-spacing: 0.2rem !important;
    color: var(--primary) !important;
    padding: 14px 20px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    margin: 0 !important;
    background: #111 !important;
    border-bottom: 1px solid var(--glass-border) !important;
    width: 100% !important;
    text-align: center;
}

.audio-container {
    grid-column: 1 / -1;
    /* Robust full-width span */
    padding: 32px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.audio-container .reel-label {
    background: transparent !important;
    border-bottom: none !important;
    margin-bottom: 20px !important;
    padding: 0 !important;
}

.custom-audio {
    width: 100%;
    max-width: 600px;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        height: auto;
        justify-content: flex-start;
    }

    .hero::after {
        display: none;
    }

    .hero-image-container {
        position: relative;
        width: 100%;
        height: 60vh;
    }

    .hero-content {
        width: 100%;
        margin-right: 0;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        padding: 40px 24px;
        margin-top: -40px;
        /* Slight overlap for style */
    }

    .hero-title {
        font-size: 3rem;
    }

    .bio-text {
        font-size: 1.5rem;
    }

    .nav-links {
        width: 100%;
        border-left: none;
    }

    .cv-grid {
        column-count: 1;
    }
}

/* Interactive Spotlight Effect */
.spotlight-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(650px circle at var(--x, 50%) var(--y, 50%),
            rgba(212, 175, 55, 0.015),
            /* Reduced massively to a ghostly glow */
            transparent 80%);
    z-index: 0;
    pointer-events: none;
}

/* ─── VIDEOS & GALLERY TOGGLE INTERFACE ──────────────────────────────────── */
.media-toggle-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 3.5rem;
    padding-bottom: 10px;
}

.media-toggle-btn {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 10px 24px;
    border-radius: 40px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.media-toggle-btn.active {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    box-shadow: var(--gold-glow);
}

.media-toggle-btn:hover:not(.active) {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.toggle-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.toggle-content.active {
    display: block;
    opacity: 1;
}

/* ─── THEATRE POSTERS GALLERY GRID ───────────────────────────────────────── */
.posters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 1.5rem;
    width: 100%;
}

.poster-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition);
}

.poster-image-wrapper {
    position: relative;
    aspect-ratio: 2/3;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
}

.poster-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    backdrop-filter: blur(15px) brightness(0.5);
    -webkit-backdrop-filter: blur(15px) brightness(0.5);
    transition: transform 0.6s var(--transition-standard);
}

.poster-fallback-bg {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8) 0%, rgba(10, 10, 10, 0.95) 100%);
    color: var(--text-main);
}

.poster-fallback-title {
    font-family: 'Archivo', sans-serif;
    font-size: 1.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.poster-fallback-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}

.poster-card:hover .poster-image-wrapper {
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), var(--gold-glow);
    transform: translateY(-8px) scale(1.02);
}

.poster-card:hover .poster-img {
    transform: scale(1.08);
}

.poster-details {
    margin-top: 15px;
    padding: 0 5px;
}

.poster-title {
    font-family: 'Archivo', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
}

.poster-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ── Currently Streaming Section ── */
.streaming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 2rem;
}

.streaming-card {
    position: relative;
    overflow: hidden;
    padding: 0;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.streaming-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: var(--gold-glow);
}

.streaming-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    transition: transform 0.6s var(--transition-standard), filter 0.6s var(--transition-standard);
    z-index: 1;
}

.streaming-card:hover .streaming-bg-img {
    transform: scale(1.05);
}

.streaming-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 0.1) 40%, rgba(10, 10, 10, 0.6) 70%, rgba(10, 10, 10, 0.95) 100%);
    z-index: 2;
    pointer-events: none;
}

.streaming-card-content {
    position: relative;
    z-index: 3;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.streaming-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.streaming-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.streaming-role {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.streaming-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-streaming {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    text-decoration: none;
}

.btn-streaming:hover {
    background: var(--accent-gold);
    color: #000000;
}

.btn-streaming svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* ==========================================================================
   11. FEATURED PRODUCTION SECTION (Staging Only)
   ========================================================================== */
.featured-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.featured-poster-container {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-bg-blur {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.4);
    opacity: 0.6;
    z-index: 1;
}

.featured-poster-img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

.featured-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 2;
}

.featured-header-info {
    margin-bottom: 24px;
}

.featured-badge {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    color: #000000;
    background: var(--accent-gold);
    border-radius: 50px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.pulse-badge {
    box-shadow: 0 0 0 0 rgba(214, 175, 55, 0.7);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(214, 175, 55, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(214, 175, 55, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(214, 175, 55, 0);
    }
}

.featured-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
    letter-spacing: 0.05rem;
}

.featured-tagline {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-secondary);
}

.featured-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(214, 175, 55, 0.3), rgba(255, 255, 255, 0.05));
    margin: 20px 0;
}

.featured-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.featured-detail-item {
    font-size: 0.95rem;
    color: var(--text-main);
}

.featured-detail-item strong {
    color: var(--accent-gold);
    font-weight: 600;
}

.featured-synopsis p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    white-space: pre-line;
}

.featured-schedule h4,
.featured-reviews h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.1rem;
    color: var(--accent-gold);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.featured-dates-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.featured-date-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    padding-bottom: 6px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.featured-venue {
    color: var(--text-main);
    font-weight: 500;
}

.featured-date {
    color: var(--text-secondary);
}

.featured-review-item {
    margin-bottom: 16px;
}

.featured-review-item:last-child {
    margin-bottom: 0;
}

.featured-review-quote {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 4px;
}

.featured-review-author {
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 600;
}

.featured-actions {
    margin-top: 24px;
}

.featured-booking-btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
}

.featured-venue-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.featured-venue-link:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

.past-dates-title {
    margin-top: 28px !important;
}

.past-date-row {
    opacity: 0.55;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05) !important;
}

.past-date-row .featured-venue {
    font-weight: 400;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }

    .featured-poster-container {
        max-width: 280px;
        margin: 0 auto;
    }
}