/* ============================================
   HØNE GLASSMORPHISM DESIGN SYSTEM
   Portfolio Implementation
   ============================================ */

/* Google Fonts Import - Removed (using link tag in HTML for better control and performance) */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ============================================
   1. BRAND FOUNDATIONS - COLOR SYSTEM
   ============================================ */

:root {
    /* Base Background */
    --color-bg-base: #0B0D10;
    
    /* Glass Surfaces */
    --surface-glass-light: rgba(255, 255, 255, 0.06);
    --surface-glass-medium: rgba(255, 255, 255, 0.08);
    --surface-glass-heavy: rgba(255, 255, 255, 0.12);
    
    /* Borders and Strokes */
    --border-stroke-base: rgba(255, 255, 255, 0.18);
    --inner-stroke-highlight: rgba(255, 255, 255, 0.28);
    
    /* Text Colors */
    --text-primary: #E9EDF2;
    --text-secondary: rgba(233, 237, 242, 0.82);
    --text-meta: rgba(233, 237, 242, 0.6);
    --text-muted: rgba(233, 237, 242, 0.52);
    
    /* Accent Colors - Gold (HØNE brand fit) */
    --accent-gold: #D6B98C;
    --accent-gold-soft: rgba(214, 185, 140, 0.65);
    --link-hover-tint: #F0D9AE;
    
    /* Status Colors */
    --color-positive: #49D39A;
    --color-caution: #F2C14E;
    --color-error: #FF6B6B;
    
    /* Focus Ring */
    --focus-ring: rgba(214, 185, 140, 0.55);
    
    /* ============================================
       2. GLASSMORPHISM LANGUAGE
       ============================================ */
    
    /* Backdrop Blur Values */
    --blur-light: 20px;
    --blur-medium: 30px;
    --blur-heavy: 40px;
    
    /* Border Radius Scale */
    --radius-12: 12px;
    --radius-16: 16px;
    --radius-24: 24px;
    --radius-28: 28px;
    --radius-32: 32px;
    
    /* Elevation Shadows */
    --shadow-0: none;
    --shadow-1: 0 8px 30px rgba(0, 0, 0, 0.35);
    --shadow-2: 0 16px 60px rgba(0, 0, 0, 0.45);
    --shadow-3: 0 24px 80px rgba(0, 0, 0, 0.55);
    
    /* ============================================
       3. LAYOUT AND SPACING
       ============================================ */
    
    /* Grid */
    --max-width: 1120px;
    --gutter-desktop: 24px;
    --gutter-tablet: 16px;
    --gutter-mobile: 12px;
    
    /* Spacing Scale */
    --space-4: 4px;
    --space-8: 8px;
    --space-12: 12px;
    --space-16: 16px;
    --space-20: 20px;
    --space-24: 24px;
    --space-32: 32px;
    --space-48: 48px;
    --space-64: 64px;
    --space-96: 96px;
    
    /* Section Rhythm */
    --section-gap-desktop: 96px;
    --section-gap-tablet: 72px;
    --section-gap-mobile: 56px;
    
    /* Card Padding */
    --card-padding-desktop: 24px;
    --card-padding-tablet: 20px;
    --card-padding-mobile: 16px;
    
    /* ============================================
       4. TYPOGRAPHY
       ============================================ */
    
    /* Typefaces - System font fallbacks for faster initial render */
    --font-heading: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'SF Mono', 'Monaco', 'Consolas', 'Courier New', monospace;
    
    /* Font Weights */
    --weight-normal: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    
    /* Desktop Sizes */
    --h1-desktop: 52px;
    --h2-desktop: 36px;
    --h3-desktop: 24px;
    --body-desktop: 18px;
    --caption: 14px;
    --overline: 12px;
    
    /* Tablet Sizes */
    --h1-tablet: 40px;
    --h2-tablet: 32px;
    --h3-tablet: 22px;
    --body-tablet: 17px;
    
    /* Mobile Sizes */
    --h1-mobile: 32px;
    --h2-mobile: 28px;
    --h3-mobile: 20px;
    --body-mobile: 16px;
    
    /* ============================================
       5. MOTION AND INTERACTION
       ============================================ */
    
    /* Timing */
    --transition-fast: 180ms;
    --transition-medium: 240ms;
    
    /* Easing */
    --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-decel: cubic-bezier(0.0, 0, 0.2, 1);
    
    /* Hover Scale */
    --hover-scale: 1.01;
    
    /* Parallax */
    --parallax-subtle: 1.03;
}

/* ============================================
   BASE HTML AND BODY
   ============================================ */

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background: #0B0D10;
}

/* Performance optimization for reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: var(--font-body);
    font-weight: var(--weight-normal);
    font-size: var(--body-desktop);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    
    /* Background Canvas - Diagonal gradient with grain */
    background: linear-gradient(35deg, #0B0D10 0%, #0F1216 100%);
    position: relative;
}

/* Grain Overlay for unifying layers - Performance optimized */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
    will-change: auto;
    transform: translateZ(0);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   TYPOGRAPHY SYSTEM
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin: 0;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(var(--h1-mobile), 5vw, var(--h1-desktop));
    font-weight: var(--weight-bold);
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

h2 {
    font-size: clamp(var(--h2-mobile), 4vw, var(--h2-desktop));
    font-weight: var(--weight-semibold);
    line-height: 1.2;
    letter-spacing: -0.005em;
}

h3 {
    font-size: clamp(var(--h3-mobile), 2.5vw, var(--h3-desktop));
    font-weight: var(--weight-semibold);
    line-height: 1.3;
    letter-spacing: 0;
}

p {
    margin: 0;
    font-family: var(--font-body);
    font-weight: var(--weight-normal);
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 90ch;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color var(--transition-fast) var(--ease-standard);
}

a:hover {
    color: var(--link-hover-tint);
}

/* Caption and Overline */
.caption {
    font-family: var(--font-body);
    font-size: var(--caption);
    font-weight: var(--weight-medium);
    line-height: 1.4;
    letter-spacing: 0.01em;
    color: var(--text-meta);
}

.overline {
    font-family: var(--font-heading);
    font-size: var(--overline);
    font-weight: var(--weight-semibold);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-meta);
}

/* Pull quotes */
blockquote {
    font-family: var(--font-body);
    color: var(--accent-gold-soft);
    font-weight: var(--weight-medium);
    border-left: 2px solid var(--accent-gold);
    padding-left: var(--space-24);
    margin: var(--space-32) 0;
}

/* ============================================
   GLASS SURFACE UTILITIES
   ============================================ */

.glass-light {
    background: var(--surface-glass-light);
    backdrop-filter: blur(var(--blur-light));
    -webkit-backdrop-filter: blur(var(--blur-light));
}

.glass-medium {
    background: var(--surface-glass-medium);
    backdrop-filter: blur(var(--blur-medium));
    -webkit-backdrop-filter: blur(var(--blur-medium));
}

.glass-heavy {
    background: var(--surface-glass-heavy);
    backdrop-filter: blur(var(--blur-heavy));
    -webkit-backdrop-filter: blur(var(--blur-heavy));
}

/* Glass borders with dual-stroke technique */
.glass-border {
    border: 1px solid var(--border-stroke-base);
    position: relative;
}

.glass-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(180deg, var(--inner-stroke-highlight) 0%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter-desktop);
    position: relative;
    z-index: 2;
}

.section {
    padding: var(--section-gap-desktop) 0;
    position: relative;
}

/* ============================================
   INTRO ANIMATION OVERLAY
   ============================================ */

.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-base);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(0);
    transition: transform 800ms var(--ease-decel);
    contain: layout style paint;
}

.intro-overlay.slide-up {
    transform: translateY(-100%);
}

.intro-text {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: var(--weight-bold);
    color: var(--text-primary);
    letter-spacing: -0.01em;
    opacity: 1;
    transition: opacity 300ms ease-out;
}

.intro-text.fade-out {
    opacity: 0;
}

/* ============================================
   HEADER - GLASS NAVIGATION
   ============================================ */

.header {
    position: fixed;
    top: var(--space-16);
    left: 50%;
    transform: translateX(-50%);
    z-index: 20002; /* Increased to be above menu overlay */
    width: calc(100% - var(--space-32));
    max-width: calc(var(--max-width) + var(--gutter-desktop) * 2);
    padding: var(--space-12) var(--space-24);
    
    /* Glass surface medium */
    background: var(--surface-glass-medium);
    backdrop-filter: blur(var(--blur-medium));
    -webkit-backdrop-filter: blur(var(--blur-medium));
    
    /* Border radius */
    border-radius: var(--radius-24);
    
    /* Dual stroke */
    border: 1px solid var(--border-stroke-base);
    box-shadow: var(--shadow-2);
    
    transition: all var(--transition-medium) var(--ease-standard);
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-24);
    padding: 1px;
    background: linear-gradient(180deg, var(--inner-stroke-highlight) 0%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-brand {
    opacity: 1;
    transition: opacity var(--transition-fast) var(--ease-standard);
}

.header-logo {
    height: 32px;
    width: auto;
    display: block;
}

.header-right {
    display: flex;
    align-items: center;
    gap: var(--space-16);
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: var(--space-16);
}

.header-separator {
    color: var(--text-meta);
    font-weight: var(--weight-normal);
    opacity: 0.5;
}

/* ============================================
   BUTTONS - GLASS SYSTEM
   ============================================ */

/* Primary Button - Glass with gold tint */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold-soft), var(--accent-gold));
    color: var(--text-primary);
    border: 1px solid var(--border-stroke-base);
    border-radius: var(--radius-24);
    padding: var(--space-12) var(--space-24);
    font-family: var(--font-heading);
    font-size: var(--caption);
    font-weight: var(--weight-semibold);
    cursor: pointer;
    transition: all var(--transition-fast) var(--ease-standard);
    backdrop-filter: blur(var(--blur-light));
    -webkit-backdrop-filter: blur(var(--blur-light));
    box-shadow: var(--shadow-1);
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    transform: scale(var(--hover-scale));
    box-shadow: var(--shadow-2);
    background: linear-gradient(135deg, var(--accent-gold), var(--link-hover-tint));
}

/* Focus state removed - no gold box */
.btn-primary:focus {
    outline: none;
}

/* Secondary Button - Outline glass */
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-stroke-base);
    border-radius: var(--radius-24);
    padding: var(--space-12) var(--space-24);
    font-family: var(--font-heading);
    font-size: var(--caption);
    font-weight: var(--weight-semibold);
    cursor: pointer;
    transition: all var(--transition-fast) var(--ease-standard);
    backdrop-filter: blur(var(--blur-light));
    -webkit-backdrop-filter: blur(var(--blur-light));
}

.btn-secondary:hover {
    background: var(--surface-glass-heavy);
    transform: scale(var(--hover-scale));
}

/* Focus state removed - no gold box */
.btn-secondary:focus {
    outline: none;
}

/* Tertiary/Menu Button - Hamburger Icon */
.btn-menu {
    background: transparent;
    border: none;
    padding: var(--space-12);
    cursor: pointer;
    transition: all var(--transition-fast) var(--ease-standard);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none; /* Remove any focus outline */
    z-index: 20003; /* Ensure hamburger appears above menu overlay */
}

.menu-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-gold);
    transition: all var(--transition-fast) var(--ease-standard);
}

.menu-icon line {
    transition: all var(--transition-fast) var(--ease-standard);
    transform-origin: center;
}

/* Hamburger to X animation when menu is active */
.btn-menu.menu-active .menu-icon line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.btn-menu.menu-active .menu-icon line:nth-child(2) {
    opacity: 0;
}

.btn-menu.menu-active .menu-icon line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hover: fade lighter */
.btn-menu:hover .menu-icon {
    color: var(--link-hover-tint);
    opacity: 0.85;
}

/* ============================================
   HERO SECTION - GLASS FRAME
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    /* Performance: GPU acceleration */
    transform: translateZ(0);
    will-change: opacity;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.hero-identity {
    position: relative;
    z-index: 2;
    text-align: left;
    margin-left: calc(var(--gutter-desktop) + 2vw);
    margin-bottom: 17vh;
    padding: var(--space-32) var(--space-48);
    
    /* No background or blur on container */
    background: transparent;
    border: none;
    box-shadow: none;
}

.hero-identity::before {
    display: none;
}

.hero-identity h1 {
    font-family: var(--font-heading);
    font-weight: var(--weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-16);
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-role {
    font-family: var(--font-body);
    font-size: clamp(var(--body-mobile), 1.4vw, 20px);
    font-weight: var(--weight-medium);
    color: var(--text-primary);
    opacity: 0.8;
    letter-spacing: 0.02em;
    
    /* Subtle backdrop blur only on the small text */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: inline-block;
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-12);
}

.scroll-cue {
    position: absolute;
    bottom: var(--space-48);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
    font-family: var(--font-body);
    font-weight: var(--weight-medium);
    color: var(--text-meta);
    font-size: var(--caption);
    cursor: pointer;
    transition: all var(--transition-fast) var(--ease-standard);
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-cue:hover {
    color: var(--accent-gold);
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.6;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(4px);
    }
}

.scroll-arrow {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* ============================================
   MY PROCESS SECTION - CINEMATIC STAGGERED PANELS
   ============================================ */

.my-process {
    background: linear-gradient(180deg, rgba(11, 13, 16, 0.95) 0%, rgba(15, 18, 22, 1) 100%);
    padding: var(--space-96) 0;
    position: relative;
    overflow: hidden;
}

.process-intro {
    font-family: var(--font-body);
    font-weight: var(--weight-medium);
    font-size: clamp(18px, 2vw, 22px);
    color: var(--text-secondary);
    text-align: center;
    letter-spacing: 0.02em;
    margin: 0 auto var(--space-96);
    max-width: 700px;
    line-height: 1.6;
}

.process-panels {
    display: flex;
    flex-direction: column;
    gap: var(--space-64);
    max-width: 900px;
    margin: 0 auto;
}

.process-panel {
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 800ms var(--ease-decel), transform 800ms var(--ease-decel);
}

.process-panel.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.process-panel-left .panel-content {
    margin-left: 0;
    margin-right: auto;
}

.process-panel-right .panel-content {
    margin-left: auto;
    margin-right: 0;
}

.panel-content {
    max-width: 520px;
    background: var(--surface-glass-light);
    backdrop-filter: blur(var(--blur-medium));
    -webkit-backdrop-filter: blur(var(--blur-medium));
    border: 1px solid var(--border-stroke-base);
    border-radius: var(--radius-24);
    padding: var(--space-48) var(--space-32);
    box-shadow: var(--shadow-2);
    position: relative;
    transition: all var(--transition-medium) var(--ease-standard);
}

.panel-content::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-24);
    padding: 1px;
    background: linear-gradient(180deg, var(--inner-stroke-highlight) 0%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.panel-content::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-24);
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.06'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* Removed hover movement effect */

.panel-content h3 {
    font-family: var(--font-heading);
    font-weight: var(--weight-semibold);
    font-size: var(--h3-desktop);
    color: var(--text-primary);
    margin-bottom: var(--space-16);
    position: relative;
    z-index: 1;
    transition: all var(--transition-medium) var(--ease-standard);
}

/* Gold underline triggered by scroll */
.process-panel.is-visible .panel-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, transparent 100%);
    animation: goldLineFade 800ms var(--ease-standard);
}

@keyframes goldLineFade {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60px;
        opacity: 1;
    }
}

.panel-content p {
    font-family: var(--font-body);
    font-weight: var(--weight-normal);
    color: var(--text-secondary);
    font-size: var(--body-desktop);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ============================================
   CARDS - PROJECT TILES
   ============================================ */

.film-card,
.film-project {
    /* Glass light surface */
    background: var(--surface-glass-light);
    backdrop-filter: blur(var(--blur-medium));
    -webkit-backdrop-filter: blur(var(--blur-medium));
    border: 1px solid var(--border-stroke-base);
    border-radius: var(--radius-24);
    overflow: hidden;
    box-shadow: var(--shadow-1);
    transition: all var(--transition-medium) var(--ease-standard);
    position: relative;
    cursor: pointer;
}

.film-card::before,
.film-project::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-24);
    padding: 1px;
    background: linear-gradient(180deg, var(--inner-stroke-highlight) 0%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

.film-card:hover,
.film-project:hover {
    transform: scale(var(--hover-scale));
    box-shadow: var(--shadow-3);
}

.film-image img,
.film-poster img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-24) var(--radius-24) 0 0;
    transition: transform var(--transition-medium) var(--ease-standard);
}

.film-card:hover .film-image img,
.film-project:hover .film-poster img {
    transform: scale(1.05);
}

.film-info,
.film-details {
    padding: var(--card-padding-desktop);
}

.film-title {
    font-family: var(--font-heading);
    font-weight: var(--weight-semibold);
    color: var(--text-primary);
    font-size: var(--h3-desktop);
    margin-bottom: var(--space-8);
}

.film-meta {
    font-family: var(--font-heading);
    font-weight: var(--weight-medium);
    color: var(--text-meta);
    font-size: var(--caption);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-16);
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.film-description,
.film-tagline {
    font-family: var(--font-body);
    font-weight: var(--weight-normal);
    color: var(--text-secondary);
    font-size: var(--body-desktop);
    line-height: 1.6;
}

/* ============================================
   FILMS GRID
   ============================================ */

.short-films {
    background: rgba(255, 255, 255, 0.01);
}

.films-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-48);
    margin-top: var(--space-48);
}

.film-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.film-image,
.film-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--radius-24) var(--radius-24) 0 0;
    background: var(--surface-glass-light);
}

.view-project-button,
.view-project-btn {
    display: inline-block;
    margin-top: var(--space-16);
    padding: var(--space-12) var(--space-24);
    background: var(--surface-glass-medium);
    border: 1px solid var(--border-stroke-base);
    border-radius: var(--radius-24);
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: var(--caption);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all var(--transition-fast) var(--ease-standard);
    backdrop-filter: blur(var(--blur-light));
    -webkit-backdrop-filter: blur(var(--blur-light));
}

.view-project-button:hover,
.view-project-btn:hover {
    background: var(--accent-gold);
    color: var(--color-bg-base);
    transform: scale(var(--hover-scale));
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-24);
    margin-top: var(--space-48);
}

.service {
    /* Glass card */
    background: var(--surface-glass-light);
    backdrop-filter: blur(var(--blur-medium));
    -webkit-backdrop-filter: blur(var(--blur-medium));
    border: 1px solid var(--border-stroke-base);
    border-radius: var(--radius-24);
    padding: var(--card-padding-desktop);
    box-shadow: var(--shadow-1);
    transition: all var(--transition-medium) var(--ease-standard);
    position: relative;
}

.service::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-24);
    padding: 1px;
    background: linear-gradient(180deg, var(--inner-stroke-highlight) 0%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.service:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
}

.service h3 {
    font-family: var(--font-heading);
    font-weight: var(--weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-12);
}

.service p {
    font-family: var(--font-body);
    font-weight: var(--weight-normal);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   ABOUT PAGE - TWO-COLUMN LAYOUT
   ============================================ */

.about-page {
    background: linear-gradient(35deg, #0B0D10 0%, #0F1216 100%);
}

/* About section - add top padding for navbar clearance */
.about-page .about {
    padding-top: 180px;
    padding-bottom: var(--section-gap-desktop);
}

/* Two-column layout: Image left, Bio right */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-64);
    align-items: center;
    margin-bottom: var(--space-48);
}

/* Image column - perfect square with negative space */
.about-image-column {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-32);
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 1 / 1; /* Perfect square */
    overflow: hidden;
    border-radius: var(--radius-16);
}

/* Subtle vignette/fade under image */
.about-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(11, 13, 16, 0.4), transparent);
    pointer-events: none;
    z-index: 1;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Bio column - vertically centered */
.about-bio-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-20);
}

.about-bio-column h2 {
    margin-bottom: var(--space-8);
}

.about-intro {
    font-family: var(--font-body);
    font-weight: var(--weight-normal);
    font-size: calc(var(--body-desktop) * 0.92); /* 92% of original */
    color: var(--text-secondary);
    line-height: 1.75; /* Increased from 1.6 for breathability */
    margin-bottom: 0;
}

/* Key Expertise - Two-column grid, no box */
.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-24) var(--space-32);
    margin-top: var(--space-64);
    padding-top: var(--space-64);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.expertise-item {
    font-family: var(--font-body);
    font-weight: var(--weight-normal);
    font-size: calc(var(--body-desktop) * 0.92);
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0;
}

/* Footer spacing adjustments for about page */
.about-page .footer {
    margin-top: var(--space-96);
    padding: var(--space-48) 0 var(--space-32) 0;
}

.about-page .footer-content {
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: var(--space-24);
}

.about-page .footer-left,
.about-page .footer-right {
    align-items: center;
}

.about-page .footer-email,
.about-page .footer-tagline,
.about-page .footer-name,
.about-page .footer-copyright,
.about-page .footer-social {
    font-size: calc(var(--caption) * 0.95);
}

/* ============================================
   PROJECTS PAGE - FULL GALLERY
   ============================================ */

.projects-page {
    background-color: var(--color-bg-base);
}

.projects-gallery {
    padding-top: 80px;
    padding-bottom: 0;
    min-height: 100vh;
    background-color: var(--color-bg-base);
}

.projects-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 100vw;
    padding: 0;
}

/* Project Card - Full-width, edge-to-edge */
.project-card {
    position: relative;
    display: block;
    width: 100vw;
    height: clamp(55vh, 60vh, 70vh);
    overflow: hidden;
    cursor: pointer;
    background-color: var(--color-bg-base);
    aspect-ratio: auto;
}

.project-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    object-position: center 50%;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Hover/Focus Overlay - Initially hidden */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(11, 13, 16, 0.3) 0%,
        rgba(11, 13, 16, 0.25) 40%,
        rgba(11, 13, 16, 0.2) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 250ms cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.project-title {
    font-family: var(--font-heading);
    font-weight: var(--weight-semibold);
    color: var(--text-primary);
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 0.05em;
    text-align: center;
    text-shadow: 0 2px 20px rgba(11, 13, 16, 0.8);
    transform: translateY(10px);
    transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1);
    text-transform: uppercase;
}

/* Hover/Focus States */
.project-card:hover .project-overlay,
.project-card:focus .project-overlay {
    opacity: 1;
}

.project-card:hover .project-title,
.project-card:focus .project-title {
    transform: translateY(0);
}

.project-card:hover .project-image,
.project-card:focus .project-image {
    transform: scale(1.015);
}

/* Focus management for accessibility */
.project-card {
    outline: none;
}

/* Remove gold focus outline */
.project-card:focus {
    outline: none;
}

/* ============================================
   CONTACT PAGE - LAYOUT
   ============================================ */

.contact-page {
    background: linear-gradient(35deg, #0B0D10 0%, #0F1216 100%);
}

.contact-hero {
    padding-top: calc(80px + var(--section-gap-desktop));
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-centered-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 160px);
}

.contact-content {
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: var(--space-96);
}

.contact-hero.section.contact .contact-content h1 {
    margin-bottom: 20px !important;
}

.contact-intro p {
    font-family: var(--font-body);
    font-weight: var(--weight-normal);
    color: var(--text-secondary);
    font-size: var(--body-desktop);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-64);
    align-items: start;
}

.contact-form-section {
    max-width: 100%;
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-32);
}

.sidebar-section {
    background: var(--surface-glass-light);
    backdrop-filter: blur(var(--blur-medium));
    -webkit-backdrop-filter: blur(var(--blur-medium));
    border: 1px solid var(--border-stroke-base);
    border-radius: var(--radius-24);
    padding: var(--card-padding-desktop);
    box-shadow: var(--shadow-1);
    position: relative;
}

.sidebar-section::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-24);
    padding: 1px;
    background: linear-gradient(180deg, var(--inner-stroke-highlight) 0%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.sidebar-section h3 {
    font-family: var(--font-heading);
    font-weight: var(--weight-semibold);
    color: var(--text-primary);
    font-size: var(--h3-desktop);
    margin-bottom: var(--space-16);
}

.sidebar-section p {
    font-family: var(--font-body);
    font-weight: var(--weight-normal);
    color: var(--text-secondary);
    font-size: var(--body-desktop);
    line-height: 1.6;
}

.contact-email {
    color: var(--accent-gold);
    transition: color var(--transition-fast) var(--ease-standard);
}

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

.social-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
}

.social-link {
    font-family: var(--font-body);
    font-weight: var(--weight-medium);
    color: var(--text-secondary);
    transition: color var(--transition-fast) var(--ease-standard);
}

.social-link:hover {
    color: var(--accent-gold);
}

/* ============================================
   FILM DETAIL PAGES - CINEMATIC PRESENTATION
   ============================================ */

.film-page {
    background: linear-gradient(35deg, #0B0D10 0%, #0F1216 100%);
}

/* Header - Consistent across all pages */
.film-page .header {
    position: relative;
    z-index: 20002; /* Ensure consistent z-index */
}

.breadcrumb {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: var(--space-16) var(--gutter-desktop);
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.breadcrumb-link {
    font-family: var(--font-body);
    font-weight: var(--weight-medium);
    color: var(--text-meta);
    font-size: 14px;
    transition: color var(--transition-fast) var(--ease-standard);
    opacity: 0.8;
}

.breadcrumb-link:hover {
    color: var(--accent-gold);
}

/* Film Hero - Cinematic Video Presentation */
.film-hero {
    padding-top: 100px;
    padding-bottom: 80px;
}

.video-hero-container {
    max-width: 1200px;
    margin: 0 auto;
}

.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 2.39/1;
    border-radius: var(--radius-16);
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
    transition: all var(--transition-medium) var(--ease-standard);
}

.video-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-16);
    padding: 2px;
    background: transparent;
    transition: all var(--transition-medium) var(--ease-standard);
    pointer-events: none;
    z-index: 2;
}

/* Gold shimmer removed on video hover */

.film-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-32);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    z-index: 1;
    pointer-events: none;
}

.video-title-overlay h1 {
    font-family: var(--font-heading);
    font-weight: var(--weight-bold);
    font-size: clamp(24px, 3vw, 36px);
    color: var(--text-primary);
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    letter-spacing: -0.01em;
}

/* Film Details - Two Column Layout */
.film-details {
    padding: var(--space-64) 0;
}

.film-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-48);
    align-items: start;
    margin-bottom: var(--space-64);
}

.film-title-section h1 {
    font-family: var(--font-heading);
    font-weight: var(--weight-bold);
    font-size: clamp(36px, 4vw, 48px);
    color: var(--text-primary);
    margin-bottom: var(--space-12);
    letter-spacing: -0.01em;
}

.film-subheading {
    font-family: var(--font-body);
    font-weight: var(--weight-medium);
    font-size: 14px;
    color: var(--text-secondary);
    opacity: 0.7;
    letter-spacing: 0.02em;
}

.film-logline-card {
    background: var(--surface-glass-light);
    backdrop-filter: blur(var(--blur-medium));
    -webkit-backdrop-filter: blur(var(--blur-medium));
    border: 1px solid var(--border-stroke-base);
    border-radius: var(--radius-24);
    padding: var(--card-padding-desktop);
    box-shadow: var(--shadow-1);
    position: relative;
}

.film-logline-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-24);
    padding: 1px;
    background: linear-gradient(180deg, var(--inner-stroke-highlight) 0%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.film-logline-card h2 {
    font-family: var(--font-body);
    font-weight: var(--weight-semibold);
    font-size: 14px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-16);
}

.film-logline-card p {
    font-family: var(--font-body);
    font-weight: var(--weight-normal);
    font-size: 18px;
    color: var(--text-secondary);
    opacity: 0.82;
    line-height: 1.6;
    margin: 0;
}

/* Behind the Lens Section */
.film-behind-lens {
    margin-top: var(--space-64);
}

.behind-lens-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-48);
    align-items: start;
}

.behind-lens-text h2 {
    font-family: var(--font-heading);
    font-weight: var(--weight-semibold);
    font-size: var(--h2-desktop);
    color: var(--text-primary);
    margin-bottom: var(--space-24);
    letter-spacing: -0.005em;
}

.behind-lens-text p {
    font-family: var(--font-body);
    font-weight: var(--weight-normal);
    font-size: var(--body-desktop);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-24);
}

.behind-lens-text p:last-child {
    margin-bottom: 0;
}

.film-credits {
    background: var(--surface-glass-light);
    backdrop-filter: blur(var(--blur-medium));
    -webkit-backdrop-filter: blur(var(--blur-medium));
    border: 1px solid var(--border-stroke-base);
    border-radius: var(--radius-24);
    padding: var(--card-padding-desktop);
    box-shadow: var(--shadow-1);
    position: relative;
}

.film-credits::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-24);
    padding: 1px;
    background: linear-gradient(180deg, var(--inner-stroke-highlight) 0%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.film-credits p {
    font-family: var(--font-body);
    font-weight: var(--weight-normal);
    color: var(--text-secondary);
    font-size: var(--caption);
    margin-bottom: var(--space-8);
    line-height: 1.4;
}

.film-credits strong {
    font-family: var(--font-body);
    color: var(--text-primary);
    font-weight: var(--weight-medium);
}

/* Film CTA Section */
.film-cta {
    padding: var(--space-64) 0;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-weight: var(--weight-semibold);
    font-size: var(--h2-desktop);
    color: var(--text-primary);
    margin-bottom: var(--space-32);
    letter-spacing: -0.005em;
}

.cta-content .btn-primary {
    padding: var(--space-16) var(--space-32);
    font-size: 16px;
}

/* ============================================
   CONTACT SECTION - INTIMATE DESIGN
   ============================================ */

.contact {
    background: linear-gradient(180deg, rgba(11, 13, 16, 0.98) 0%, rgba(15, 18, 22, 1) 100%);
}

.contact h2 {
    text-align: center;
    font-family: var(--font-body);
    font-weight: var(--weight-medium);
    font-size: clamp(28px, 4vw, 38px);
    color: var(--text-primary);
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin-bottom: var(--space-16);
}

.contact .contact-intro {
    text-align: center;
    font-family: var(--font-body);
    font-weight: var(--weight-normal);
    font-size: var(--body-desktop);
    color: var(--text-secondary);
    margin: 0 auto var(--space-64);
    max-width: 600px;
}

/* ============================================
   CONTACT FORM - INTIMATE GLASS INPUTS
   ============================================ */

.contact-form {
    max-width: 640px;
    display: flex;
    flex-direction: column;
    gap: var(--space-24);
    margin: var(--space-48) auto 0;
}

.contact-form-intimate {
    max-width: 700px;
}

.form-group-primary {
    margin-bottom: var(--space-48);
}

.form-group-primary label {
    font-family: var(--font-body);
    font-weight: var(--weight-medium);
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: var(--space-12);
    display: block;
    letter-spacing: 0;
    text-transform: none;
}

.form-group-primary textarea {
    min-height: 180px;
    font-size: 17px;
    line-height: 1.7;
}

.form-group-expandable {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-24);
    margin-bottom: var(--space-32);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 500ms var(--ease-decel), max-height 500ms var(--ease-decel);
}

.form-group-expandable.is-expanded {
    opacity: 1;
    max-height: 600px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.form-group label {
    font-family: var(--font-heading);
    font-size: var(--overline);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    background: var(--surface-glass-light);
    backdrop-filter: blur(var(--blur-light));
    -webkit-backdrop-filter: blur(var(--blur-light));
    border: 1px solid var(--border-stroke-base);
    border-radius: var(--radius-24);
    padding: var(--space-16) var(--space-24);
    font-family: var(--font-body);
    font-weight: var(--weight-normal);
    font-size: var(--body-desktop);
    color: var(--text-primary);
    line-height: 1.6;
    transition: all var(--transition-fast) var(--ease-standard);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    font-family: var(--font-body);
    color: var(--text-meta);
}

/* Subtle focus - no gold */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(var(--blur-medium));
    -webkit-backdrop-filter: blur(var(--blur-medium));
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-primary-contact {
    width: 100%;
    padding: var(--space-16) var(--space-32);
    font-size: 16px;
    margin-bottom: var(--space-24);
}

.contact-signature {
    font-family: var(--font-body);
    font-weight: var(--weight-normal);
    font-size: 15px;
    color: var(--text-meta);
    text-align: center;
    margin: 0;
    font-style: italic;
    letter-spacing: 0.01em;
}

/* ============================================
   FOOTER - REFINED CINEMATIC DESIGN
   ============================================ */

.footer {
    padding: var(--space-64) 0 var(--space-48) 0;
    margin-top: var(--section-gap-desktop);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 800ms var(--ease-decel), transform 800ms var(--ease-decel);
    background: var(--color-bg-base);
}

/* Fade-in on scroll reveal */
.footer.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Optional: Subtle radial gradient behind footer to lift from background */
.footer::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Top separator line - 20% width, 10% opacity */
.footer-separator {
    width: 20%;
    max-width: calc(var(--max-width) * 0.2);
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto var(--space-48) var(--gutter-desktop);
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter-desktop);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-48);
    flex-wrap: wrap;
}

/* Left cluster - Brand identity */
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex: 1;
}

.footer-tagline {
    font-family: var(--font-body);
    font-weight: var(--weight-normal);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    letter-spacing: 0.01em;
}

.footer-name {
    font-family: var(--font-heading);
    font-weight: var(--weight-semibold);
    font-size: 16px;
    color: var(--text-primary);
    letter-spacing: 0.06em;
    margin: 0;
    text-transform: none;
}

.footer-copyright {
    font-family: var(--font-body);
    font-weight: var(--weight-normal);
    font-size: var(--caption);
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.footer-divider {
    color: rgba(255, 255, 255, 0.35);
    margin: 0 var(--space-8);
}

/* Right cluster - Contact + Socials */
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.25rem;
    flex: 1;
}

.footer-email {
    font-family: var(--font-body);
    font-weight: var(--weight-normal);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition-fast) var(--ease-standard);
    text-decoration: none;
    position: relative;
}

.footer-email:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Muted gold underline on hover */
.footer-email::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent-gold);
    opacity: 0;
    transform: scaleX(0);
    transition: opacity var(--transition-fast) var(--ease-standard), transform var(--transition-fast) var(--ease-standard);
}

.footer-email:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: var(--space-12);
}

.footer-social {
    font-family: var(--font-body);
    font-weight: var(--weight-normal);
    font-size: var(--caption);
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition-fast) var(--ease-standard);
    text-decoration: none;
    position: relative;
}

.footer-social:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Muted gold underline on hover */
.footer-social::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent-gold);
    opacity: 0;
    transform: scaleX(0);
    transition: opacity var(--transition-fast) var(--ease-standard), transform var(--transition-fast) var(--ease-standard);
}

.footer-social:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.footer-dot {
    color: var(--accent-gold);
    font-size: 12px;
    opacity: 0.6;
}

/* ============================================
   MENU OVERLAY - GLASS MODAL
   ============================================ */

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 13, 16, 0.8);
    backdrop-filter: blur(var(--blur-heavy));
    -webkit-backdrop-filter: blur(var(--blur-heavy));
    z-index: 20000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-medium) var(--ease-standard),
                visibility var(--transition-medium) var(--ease-standard);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-48);
}

/* Close button styles removed - using hamburger transformation instead */

.menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-32);
}

.menu-link {
    font-family: var(--font-heading);
    font-weight: var(--weight-semibold);
    color: var(--text-primary);
    text-decoration: none;
    font-size: clamp(var(--h2-mobile), 5vw, var(--h1-desktop));
    letter-spacing: -0.005em;
    transition: all var(--transition-fast) var(--ease-standard);
    position: relative;
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gold);
    opacity: 0;
    transform: scaleX(0);
    transition: all var(--transition-fast) var(--ease-standard);
}

.menu-link:hover {
    color: var(--accent-gold);
}

.menu-link:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.menu-socials {
    margin-top: var(--space-48);
    display: flex;
    gap: var(--space-24);
}

.menu-social {
    font-family: var(--font-body);
    font-weight: var(--weight-medium);
    color: var(--text-secondary);
    font-size: var(--body-desktop);
    transition: color var(--transition-fast) var(--ease-standard);
}

.menu-social:hover {
    color: var(--accent-gold);
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (max-width: 1024px) {
    .container {
        padding: 0 var(--gutter-tablet);
    }
    
    .section {
        padding: var(--section-gap-tablet) 0;
    }
    
    /* Add top padding for pages to prevent navbar overlap on tablets */
    .about-page .about {
        padding-top: 160px;
        padding-bottom: var(--section-gap-tablet);
    }
    
    /* About page - responsive layout for tablet */
    .about-layout {
        grid-template-columns: 1fr;
        gap: var(--space-48);
    }
    
    .about-image-wrapper {
        max-width: 290px;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: var(--space-20);
    }
    
    .projects-gallery {
        padding-top: 100px;
    }
    
    .film-hero {
        padding-top: 120px;
    }
    
    .header {
        padding: var(--space-12) var(--space-24);
    }
    
    .hero {
        padding: 0;
    }
    
    .hero-identity {
        margin-left: calc(var(--gutter-tablet) + 2vw);
        margin-bottom: 16vh;
        padding: var(--space-32) var(--space-32);
    }
    
    .my-process {
        padding: var(--space-64) 0;
    }
    
    .process-intro {
        margin-bottom: var(--space-64);
    }
    
    .process-panels {
        gap: var(--space-48);
    }
    
    .panel-content {
        padding: var(--space-32) var(--space-24);
    }
    
    .films-grid {
        grid-template-columns: 1fr;
        gap: var(--space-32);
    }
    
    
    /* Projects page tablet styles */
    .project-card {
        height: clamp(45vh, 55vh, 55vh);
    }
    
    .project-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: var(--space-48);
    }

    .contact-centered-wrapper {
        min-height: calc(100vh - 140px);
    }
    
    .footer-separator {
        margin-left: var(--gutter-tablet);
    }
    
    .footer-content {
        padding: 0 var(--gutter-tablet);
    }
    
    .film-details-grid {
        grid-template-columns: 1fr;
        gap: var(--space-32);
    }
    
    .behind-lens-content {
        grid-template-columns: 1fr;
        gap: var(--space-32);
    }
    
    .video-frame {
        border-radius: var(--radius-16);
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 768px) {
    :root {
        --body-desktop: var(--body-mobile);
        /* Reduce blur intensity on mobile for better performance */
        --blur-light: 12px;
        --blur-medium: 18px;
        --blur-heavy: 24px;
        /* Add smaller radius for mobile */
        --radius-8: 8px;
    }
    
    body::before {
        opacity: 0.3;
    }
    
    .container {
        padding: 0 var(--gutter-mobile);
    }
    
    .section {
        padding: var(--section-gap-mobile) 0;
    }
    
    /* Fix navbar - reduce height and padding, lighter blur */
    .header {
        top: var(--space-12);
        width: calc(100% - var(--space-24));
        padding: var(--space-8) var(--space-12);
        border-radius: var(--radius-12);
        backdrop-filter: blur(var(--blur-light));
        -webkit-backdrop-filter: blur(var(--blur-light));
        z-index: 20002; /* Match desktop z-index */
    }
    
    .header::before {
        border-radius: var(--radius-12);
    }
    
    .header-logo {
        height: 24px;
    }
    
    .header-buttons {
        gap: var(--space-8);
    }
    
    .header-separator {
        font-size: 11px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: var(--space-8) var(--space-12);
        font-size: 11px;
        border-radius: var(--radius-12);
    }
    
    .btn-menu {
        padding: var(--space-8);
    }
    
    .menu-icon {
        width: 20px;
        height: 20px;
    }

    /* Mobile hamburger to X animation */
    .btn-menu.menu-active .menu-icon line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .btn-menu.menu-active .menu-icon line:nth-child(2) {
        opacity: 0;
    }

    .btn-menu.menu-active .menu-icon line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        min-height: 92vh; /* Slightly increased for better spacing */
        padding: 0;
        align-items: center;
        justify-content: center;
    }
    
    .hero-identity {
        margin: 0 auto;
        margin-bottom: 10vh; /* Reduced from 13vh */
        padding: var(--space-24) var(--space-20);
        text-align: center;
    }
    
    .hero-role {
        font-size: clamp(14px, 2.8vw, 18px);
    }
    
    /* Hide scroll cue on mobile */
    .scroll-cue {
        display: none;
    }
    
    .my-process {
        padding: var(--space-48) 0;
    }
    
    .process-intro {
        font-size: 18px;
        margin-bottom: var(--space-48);
        padding: 0 var(--space-16);
    }
    
    .process-panels {
        gap: var(--space-32);
    }
    
    .process-panel-left .panel-content,
    .process-panel-right .panel-content {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }
    
    /* Reduce bulky padding on cards */
    .panel-content {
        padding: var(--space-20) var(--space-16);
        border-radius: var(--radius-12);
    }
    
    .panel-content::before,
    .panel-content::after {
        border-radius: var(--radius-12);
    }
    
    .form-group-primary textarea {
        min-height: 140px;
        font-size: 15px;
    }
    
    .btn-primary-contact {
        width: 100%;
        padding: var(--space-16) var(--space-24);
        font-size: 14px;
    }
    
    .contact-signature {
        font-size: 13px;
    }
    
    .films-grid {
        grid-template-columns: 1fr;
        gap: var(--space-24);
    }
    
    /* Smaller radius for cards */
    .film-card,
    .film-project {
        border-radius: var(--radius-12);
    }
    
    .film-card::before,
    .film-project::before {
        border-radius: var(--radius-12);
    }
    
    .film-image img,
    .film-poster img {
        border-radius: var(--radius-12) var(--radius-12) 0 0;
    }
    
    .film-info,
    .film-details {
        padding: var(--space-16);
    }
    
    /* Projects page mobile styles */
    .projects-gallery {
        padding-top: 100px; /* Increased to prevent navbar overlap */
    }
    
    .project-card {
        height: 56.25vh;
    }
    
    .project-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: var(--space-24);
    }

    .contact-centered-wrapper {
        min-height: calc(100vh - 120px);
        padding: var(--space-16) 0;
        padding-top: 100px; /* Increased to prevent navbar overlap */
    }

    .contact-content {
        padding: 0 var(--space-16);
    }
    
    /* About page mobile - prevent navbar overlap */
    .about-page .about {
        padding-top: 140px;
        padding-bottom: var(--section-gap-mobile);
    }
    
    /* About page - mobile layout */
    .about-layout {
        grid-template-columns: 1fr;
        gap: var(--space-32);
    }
    
    .about-image-column {
        padding: var(--space-16);
    }
    
    .about-image-wrapper {
        max-width: 250px;
        border-radius: var(--radius-12);
    }
    
    .about-image-wrapper::after {
        height: 35%;
    }
    
    .about-bio-column {
        gap: var(--space-16);
    }
    
    .about-intro {
        font-size: calc(var(--body-mobile) * 0.92);
        line-height: 1.7;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: var(--space-16);
        margin-top: var(--space-48);
        padding-top: var(--space-48);
    }
    
    .expertise-item {
        font-size: calc(var(--body-mobile) * 0.92);
        line-height: 1.7;
    }
    
    .about-page .footer {
        margin-top: var(--space-64);
    }
    
    /* Smaller radius and padding for form sections */
    .sidebar-section {
        padding: var(--space-16);
        border-radius: var(--radius-12);
    }
    
    .sidebar-section::before {
        border-radius: var(--radius-12);
    }
    
    
    .form-group input,
    .form-group textarea {
        border-radius: var(--radius-12);
        padding: var(--space-12) var(--space-16);
    }
    
    .btn-primary {
        border-radius: var(--radius-12);
    }
    
    .view-project-button,
    .view-project-btn {
        padding: var(--space-8) var(--space-16);
        font-size: 11px;
        border-radius: var(--radius-12);
    }
    
    .menu-link {
        font-size: var(--h2-mobile);
    }
    
    /* Mobile close button styles removed - using hamburger transformation instead */
    
    /* Menu overlay mobile spacing - add top padding for navbar clearance */
    .menu-content {
        padding-top: 120px;
        justify-content: flex-start;
    }
    
    .menu-nav {
        margin-top: var(--space-32);
        gap: var(--space-24);
    }
    
    /* Footer Mobile - Refined Structure */
    .footer {
        padding: var(--space-48) 0 var(--space-32) 0;
        margin-top: var(--space-48);
    }
    
    .footer-separator {
        width: 30%;
        margin-bottom: var(--space-32);
        margin-left: var(--gutter-mobile);
    }
    
    .footer-content {
        padding: 0 var(--gutter-mobile);
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-32);
    }
    
    .footer-left {
        gap: 1rem;
    }
    
    .footer-tagline {
        font-size: 14px;
    }
    
    .footer-name {
        font-size: 15px;
    }
    
    .footer-copyright {
        font-size: 12px;
    }
    
    .footer-right {
        align-items: flex-start;
        gap: 1rem;
    }
    
    .footer-email {
        font-size: 14px;
    }
    
    .footer-social {
        font-size: 12px;
    }
    
    /* Film Pages Mobile - Fix video and spacing issues */
    .breadcrumb {
        padding: var(--space-8) var(--gutter-mobile);
        margin-top: 64px; /* Increased to prevent navbar overlap */
    }
    
    .film-hero {
        padding-top: 100px; /* Increased to prevent navbar overlap with video */
        padding-bottom: 48px; /* Reduced from 60px */
    }
    
    /* Video container - smaller radius, more breathing room for controls */
    .video-frame {
        border-radius: var(--radius-8);
        margin: 0 var(--space-12); /* Add side margins */
    }
    
    .video-overlay {
        padding: var(--space-16) var(--space-16);
    }
    
    .video-title-overlay h1 {
        font-size: clamp(18px, 4.5vw, 26px);
    }
    
    /* Fix title + logline spacing rhythm */
    .film-details-grid {
        grid-template-columns: 1fr;
        gap: var(--space-20);
        margin-bottom: var(--space-24);
    }
    
    .film-title-section h1 {
        font-size: clamp(26px, 6vw, 34px);
        margin-bottom: var(--space-8);
    }
    
    .film-subheading {
        margin-bottom: var(--space-16);
    }
    
    /* Logline card - smaller radius, less padding */
    .film-logline-card {
        padding: var(--space-16);
        border-radius: var(--radius-12);
    }
    
    .film-logline-card::before {
        border-radius: var(--radius-12);
    }
    
    .film-logline-card h2 {
        font-size: 12px;
        margin-bottom: var(--space-12);
    }
    
    .film-logline-card p {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .behind-lens-content {
        grid-template-columns: 1fr;
        gap: var(--space-24);
    }
    
    .film-credits {
        padding: var(--space-16);
        border-radius: var(--radius-12);
    }
    
    .film-credits::before {
        border-radius: var(--radius-12);
    }
    
    .film-cta {
        padding: var(--space-48) 0;
    }
    
    /* Fix footer for Safari bottom bar - Already handled above */
}

/* ============================================
   ACCESSIBILITY - FOCUS STATES
   ============================================ */

/* Removed gold focus ring - using subtle glow instead */
*:focus-visible {
    outline: none;
}

/* Subtle focus for keyboard navigation only */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

/* ============================================
   SAFARI IOS SAFE AREA & BACKGROUND FIXES
   ============================================ */

/* Ensure black background extends to safe areas on iOS Safari */
@supports (padding: max(0px)) {
    html {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
        background: #0B0D10;
    }
    
    body {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
}

/* Force black background in overscroll areas */
body {
    background: #0B0D10;
}

/* Ensure footer extends to bottom of viewport */
.footer {
    padding-bottom: calc(var(--space-48) + env(safe-area-inset-bottom));
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .intro-overlay,
    .header,
    .hero-video-container,
    .btn-primary,
    .btn-secondary,
    .btn-menu,
    .menu-overlay {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    }
