/* ============================================================
   HENRY CAVILL — Official Website
   Louvre Scroll Animation Inspired Design
   Reference: Martin Maderic for GLIDE® — Dribbble
   ============================================================ */

/* ─── Google Fonts Import ──────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500;1,700&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ─── CSS Custom Properties (Design Tokens) ────────────────── */
:root {
    /* Colors — Louvre-inspired warm palette */
    --color-cream: #F3F1EC;
    --color-cream-dark: #E8E4DC;
    --color-charcoal: #1A1714;
    --color-charcoal-light: #2A2520;
    --color-charcoal-mid: #3A342E;

    --color-bg: var(--color-charcoal);
    --color-bg-light: var(--color-cream);

    --color-text-dark: #1A1714;
    --color-text-light: #F3F1EC;
    --color-text-muted: #8C8B88;
    --color-text-muted-light: #B5B3AE;

    --color-accent: #C5A880;
    --color-accent-light: #D4BC9A;
    --color-accent-dark: #A08560;

    --color-border-dark: rgba(243, 241, 236, 0.12);
    --color-border-light: rgba(26, 23, 20, 0.1);

    /* Typography */
    --font-display: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-ui: 'Outfit', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 10rem;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    /* Layout */
    --container-max: 1400px;
    --nav-height: 70px;
}

/* ─── Reset & Base ──────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent) var(--color-charcoal);
    overflow-x: hidden;
}

html::-webkit-scrollbar {
    width: 5px;
}
html::-webkit-scrollbar-track {
    background: var(--color-charcoal);
}
html::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 3px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-charcoal);
    color: var(--color-text-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-family: inherit;
}

/* ─── Scroll Progress Bar ──────────────────────────────────── */
.scroll-progress {
    display: none;
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION BAR — Louvre Style Horizontal Nav
   ═══════════════════════════════════════════════════════════════ */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--space-lg);
    transition: background 0.5s ease, backdrop-filter 0.5s ease;
}

/* Nav brand/logo */
.nav-brand {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text-light);
    letter-spacing: 0.05em;
    white-space: nowrap;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.nav-brand:hover {
    opacity: 1;
}

.site-nav.scrolled {
    background: rgba(26, 23, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
    width: 100%;
    max-width: var(--container-max);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3rem);
    list-style: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

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

.nav-links a {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-light);
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent-light);
    transition: width 0.4s var(--ease-out-expo);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-light);
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--color-border-dark);
    border-radius: 4px;
    transition: all 0.4s var(--ease-out-expo);
    opacity: 0.9;
}

.nav-cta:hover {
    background: var(--color-text-light);
    color: var(--color-charcoal);
    border-color: var(--color-text-light);
    opacity: 1;
}

/* ─── Mobile Burger Menu ───────────────────────────────────── */
.burger-menu {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(26, 23, 20, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-border-dark);
    transition: transform 0.3s var(--ease-out-expo), background 0.3s ease;
    z-index: 1001;
}

.burger-lines {
    width: 20px;
    height: 14px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.burger-lines span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--color-text-light);
    border-radius: 1px;
    transition: all 0.4s var(--ease-out-expo);
    transform-origin: center;
}

.burger-menu.active .burger-lines span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.burger-menu.active .burger-lines span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.burger-menu.active .burger-lines span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ─── Fullscreen Nav Overlay (Mobile) ─────────────────────── */
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--color-charcoal);
    clip-path: circle(0% at calc(100% - 40px) 40px);
    transition: clip-path 0.8s var(--ease-out-expo);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.nav-overlay.active {
    clip-path: circle(150% at calc(100% - 40px) 40px);
    pointer-events: all;
}

.nav-overlay-content {
    text-align: center;
}

.nav-overlay-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-overlay-links a {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    color: var(--color-text-light);
    display: inline-block;
    padding: 0.3rem 0;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 0.6s var(--ease-out-expo), opacity 0.6s ease, color 0.3s ease;
}

.nav-overlay.active .nav-overlay-links a {
    transform: translateY(0);
    opacity: 1;
}

.nav-overlay-links li:nth-child(1) a { transition-delay: 0.15s; }
.nav-overlay-links li:nth-child(2) a { transition-delay: 0.20s; }
.nav-overlay-links li:nth-child(3) a { transition-delay: 0.25s; }
.nav-overlay-links li:nth-child(4) a { transition-delay: 0.30s; }
.nav-overlay-links li:nth-child(5) a { transition-delay: 0.35s; }
.nav-overlay-links li:nth-child(6) a { transition-delay: 0.40s; }

.nav-overlay-links a:hover {
    color: var(--color-accent-light);
}

.nav-overlay-social {
    margin-top: var(--space-xl);
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.nav-overlay-social a {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.nav-overlay-social a:hover {
    color: var(--color-accent-light);
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION — Louvre-Style Portrait Frame + Title
   ═══════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: var(--color-charcoal);
    padding-top: calc(var(--nav-height) + var(--space-md));
}

/* The contained image frame */
.hero-frame {
    position: relative;
    width: clamp(260px, 32vw, 440px); /* Made smaller */
    aspect-ratio: 1 / 1.15;
    overflow: hidden;
    border-radius: 4px;
    z-index: 2;
    will-change: transform, width, height, border-radius;
}

.hero-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: filter 0.6s ease;
}

.hero-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        transparent 70%,
        rgba(26, 23, 20, 0.4) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Film grain overlay on hero */
.hero-grain {
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* Massive overlapping title — like "LOUVRE" */
.hero-title {
    position: relative;
    z-index: 4;
    font-family: var(--font-display);
    font-size: clamp(3rem, 9vw, 9rem);
    font-weight: 300;
    line-height: 0.85;
    letter-spacing: -0.02em;
    color: var(--color-text-light);
    text-align: center;
    margin-top: clamp(-5rem, -5vw, -3rem);
    will-change: transform;
}

.hero-title .line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.1em; /* Prevent descenders from clipping */
}

.hero-title .line-inner {
    display: block;
}

.hero-title-sub {
    font-family: var(--font-ui);
    font-size: clamp(0.7rem, 2vw, 1.2rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--color-accent-light);
    margin-top: 1rem;
}

/* Subtitle and meta below the title */
.hero-meta {
    position: relative;
    z-index: 4;
    text-align: center;
    margin-top: var(--space-md);
    max-width: 500px;
}

.hero-eyebrow {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
    opacity: 0;
    transform: translateY(15px);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--color-text-muted-light);
    line-height: 1.7;
    opacity: 0;
    transform: translateY(15px);
}

/* Bottom decorative line */
.hero-bottom-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-border-dark);
    z-index: 5;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
}

.scroll-indicator span {
    font-family: var(--font-ui);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-text-muted);
}

.scroll-arrow {
    width: 1px;
    height: 40px;
    background: var(--color-text-muted);
    position: relative;
    overflow: hidden;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-accent-light);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0% { transform: translateY(-100%); }
    50% { transform: translateY(0); }
    100% { transform: translateY(100%); }
}


/* ═══════════════════════════════════════════════════════════════
   SECTION: ABOUT — Editorial Two-Column
   ═══════════════════════════════════════════════════════════════ */
.section-about {
    position: relative;
    background: var(--color-charcoal);
    padding: var(--space-2xl) 0;
    overflow: hidden;
}

.section-about .section-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.section-about .section-counter {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
}

.section-about .section-heading {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

.section-about .section-heading em {
    font-style: italic;
    color: var(--color-accent-light);
}

.section-about .section-text {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--color-text-muted-light);
    line-height: 1.8;
    max-width: 480px;
    margin-bottom: var(--space-md);
}

.section-about .section-link {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent-light);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--color-accent);
    transition: color 0.3s ease, gap 0.3s ease;
}

.section-about .section-link:hover {
    color: var(--color-text-light);
    gap: 0.8rem;
}

.section-about .section-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s var(--ease-out-expo);
}

.section-about .section-link:hover svg {
    transform: translateX(3px);
}

.section-about .section-image {
    position: relative;
    width: 100%;
    max-width: 360px;
    justify-self: center;
    overflow: hidden;
    border-radius: 2px;
}

.section-about .section-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s var(--ease-out-expo);
}

.section-about .section-image:hover img {
    transform: scale(1.04);
}

.section-about .section-image .image-caption {
    position: absolute;
    bottom: var(--space-sm);
    left: var(--space-sm);
    right: var(--space-sm);
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--color-text-muted-light);
    line-height: 1.5;
    opacity: 0.8;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION: FILMOGRAPHY — Horizontal Scroll (Like Louvre Exhibitions)
   ═══════════════════════════════════════════════════════════════ */
.section-filmography {
    position: relative;
    background: var(--color-charcoal);
    border-top: 1px solid var(--color-border-dark);
    overflow: hidden;
}

.filmography-header {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg) var(--space-md);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.filmography-header .section-counter {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-text-light);
    margin-bottom: var(--space-xs);
}

.filmography-header .section-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-text-light);
}

.filmography-header .see-all {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.filmography-header .see-all:hover {
    color: var(--color-accent-light);
}

/* Horizontal scroll container */
.filmography-scroll-wrapper {
    position: relative;
    overflow: hidden;
}

.filmography-track {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg) var(--space-xl);
    will-change: transform;
}

/* Film card */
.film-card {
    flex-shrink: 0;
    width: clamp(250px, 22vw, 320px);
    position: relative;
    cursor: pointer;
}

.film-card-image {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 2px;
    position: relative;
}

.film-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.8s var(--ease-out-expo), filter 0.4s ease;
    filter: brightness(0.8) saturate(0.85);
}

.film-card:hover .film-card-image img {
    transform: scale(1.06);
    filter: brightness(0.9) saturate(1);
}

.film-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(26, 23, 20, 0.6) 100%);
    pointer-events: none;
}

.film-card-info {
    padding: var(--space-sm) 0;
}

.film-card-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-text-light);
    margin-bottom: 0.25rem;
}

.film-card-year {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
}

/* Image carousel nav dots (like Louvre gallery dots) */
.film-card .card-dots {
    display: flex;
    gap: 6px;
    position: absolute;
    bottom: var(--space-sm);
    right: var(--space-sm);
    z-index: 2;
}

.film-card .card-dots span {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(243, 241, 236, 0.5);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-ui);
    font-size: 0.55rem;
    color: var(--color-text-light);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.film-card .card-dots span.active {
    opacity: 1;
    border-color: var(--color-text-light);
}



/* ═══════════════════════════════════════════════════════════════
   SECTION: GALLERY — Dark Exhibition (Like "Louvre+" Section)
   ═══════════════════════════════════════════════════════════════ */
.section-gallery {
    position: relative;
    background: var(--color-charcoal-light);
    padding: var(--space-xl) 0;
    overflow: hidden;
}

.gallery-header {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg) var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gallery-header .gallery-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    font-style: italic;
    color: var(--color-text-light);
    opacity: 0.7;
}

.gallery-grid {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.8s var(--ease-out-expo), filter 0.4s ease;
    filter: brightness(0.75) saturate(0.8);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(0.9) saturate(1);
}



/* ═══════════════════════════════════════════════════════════════
   FOOTER — Dark Minimal
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--color-charcoal);
    border-top: 1px solid var(--color-border-dark);
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-lg);
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
}

.footer-brand-sub {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.footer-links-group h4 {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.footer-links-group a {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-text-muted-light);
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.footer-links-group a:hover {
    color: var(--color-accent-light);
}

.footer-bottom {
    max-width: var(--container-max);
    margin: var(--space-lg) auto 0;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    color: var(--color-text-muted);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--color-accent-light);
}



/* ═══════════════════════════════════════════════════════════════
   ANIMATION UTILITIES
   ═══════════════════════════════════════════════════════════════ */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
}

[data-reveal-left] {
    opacity: 0;
    transform: translateX(-40px);
}

[data-reveal-right] {
    opacity: 0;
    transform: translateX(40px);
}

[data-reveal-scale] {
    opacity: 0;
    transform: scale(0.92);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .site-nav .nav-links,
    .site-nav .nav-cta {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .section-about .section-inner {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .hero-frame {
        width: clamp(260px, 60vw, 450px);
    }
}

@media (max-width: 768px) {
    :root {
        --space-lg: 2.5rem;
        --space-xl: 4rem;
        --space-2xl: 6rem;
    }

    /* About page responsive grids */
    .about-bio-grid,
    .about-interests-grid,
    .about-facts-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .hero-title {
        font-size: clamp(3rem, 14vw, 6rem);
        margin-top: -2rem;
    }

    .hero-frame {
        width: clamp(240px, 70vw, 380px);
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .film-card {
        width: clamp(200px, 60vw, 280px);
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-frame {
        width: 85vw;
    }

    .hero-title {
        font-size: clamp(2.5rem, 16vw, 4.5rem);
        margin-top: -1.5rem;
    }

    .filmography-track {
        padding: var(--space-sm) var(--space-sm) var(--space-lg);
    }

    .filmography-header {
        padding: var(--space-lg) var(--space-sm) var(--space-sm);
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        padding: 0 var(--space-sm);
    }

    .section-about .section-inner {
        padding: 0 var(--space-sm);
    }

    .section-discover .section-inner {
        padding: 0 var(--space-sm);
    }
}

/* ═══════════════════════════════════════════════════════════════
   SHARED SUB-PAGE STYLES (Preserved for existing pages)
   ═══════════════════════════════════════════════════════════════ */

/* About Page Grids */
.about-bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 6rem;
}
.about-interests-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.about-facts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.page-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg,
        rgba(7, 7, 9, 0.4) 0%,
        rgba(7, 7, 9, 0.95) 100%
    );
}

.hero-image-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.page-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-lg);
    padding-left: clamp(2rem, 25vw, 20rem);
}

.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.page-hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
}

.page-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
}

/* Back to Home Link */
.back-home {
    position: fixed;
    top: var(--space-md);
    left: var(--space-md);
    z-index: 1000;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    mix-blend-mode: difference;
}

.back-home:hover {
    color: var(--color-accent-light);
}

.back-home svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--ease-out-expo);
}

.back-home:hover svg {
    transform: translateX(-4px);
}

/* Card Grid (used in filmography, gallery, news sub-pages) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-md);
}

.card {
    background: var(--color-charcoal-light);
    border: 1px solid var(--color-border-dark);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.card:hover {
    border-color: rgba(243, 241, 236, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.card-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s var(--ease-out-expo);
}

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

.card-body {
    padding: var(--space-md);
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.card-meta {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.card-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Masonry Gallery */
.masonry-grid {
    columns: 4;
    column-gap: var(--space-sm);
}

.masonry-grid .gallery-item {
    break-inside: avoid;
    margin-bottom: var(--space-sm);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: auto;
}

.masonry-grid .gallery-item img {
    width: 100%;
    height: auto;
    object-fit: unset;
    object-position: center top;
    display: block;
    transition: transform 0.6s var(--ease-out-expo), filter 0.4s ease;
}

.masonry-grid .gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

@media (max-width: 1024px) {
    .masonry-grid { columns: 3; }
}
@media (max-width: 768px) {
    .masonry-grid { columns: 2; }
}
@media (max-width: 480px) {
    .masonry-grid { columns: 1; }
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.contact-email {
    font-size: 1.1rem;
    word-break: break-all;
}

.contact-form {
    max-width: 600px;
}

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

.form-group label {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--color-charcoal-light);
    border: 1px solid var(--color-border-dark);
    border-radius: 4px;
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.2);
}

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

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-charcoal);
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    padding: 1rem 3rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
}

.submit-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 40px rgba(197, 168, 128, 0.3);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

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

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
    font-size: 1.5rem;
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ─── Footer Styles ──────────────────────────────────────────── */
.site-footer {
    padding: var(--space-xl) var(--space-md) var(--space-md);
    background-color: var(--color-charcoal);
    color: var(--color-text-muted-light);
    border-top: 1px solid var(--color-border-dark);
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-lg);
}

@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}

.footer-brand-col .footer-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-text-light);
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.superman-icon {
    color: var(--color-accent);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.footer-brand-col .footer-logo:hover .superman-icon {
    transform: scale(1.1);
}

.footer-desc {
    max-width: 300px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.footer-col-title {
    font-family: var(--font-ui);
    color: var(--color-text-light);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-col a {
    color: var(--color-text-muted-light);
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links-col a:hover {
    color: var(--color-accent);
}

.newsletter-desc {
    font-size: 0.95rem;
    margin-bottom: var(--space-sm);
    line-height: 1.5;
}

.newsletter-form .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 0.25rem 0.25rem 0.25rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s ease;
}

.newsletter-form .input-wrapper:focus-within {
    border-color: var(--color-text-light);
}

.newsletter-form .at-symbol {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-right: 0.5rem;
}

.newsletter-form input {
    background: transparent;
    border: none;
    color: var(--color-text-light);
    flex: 1;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    min-width: 0;
}

.newsletter-form input::placeholder {
    color: var(--color-text-muted);
}

.newsletter-form button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-text-light);
    color: var(--color-bg);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.newsletter-form button:hover {
    background: var(--color-accent);
    transform: scale(1.05);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border-dark);
    padding-top: var(--space-md);
    font-size: 0.85rem;
}

@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}

.footer-credits {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-icons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.footer-icons svg {
    color: var(--color-text-muted-light);
    transition: color 0.3s ease;
    cursor: pointer;
}

.footer-icons svg:hover {
    color: var(--color-text-light);
}

/* ═══════════════════════════════════════════════════════════════
   FILMOGRAPHY FILTER & ACCORDION
   ═══════════════════════════════════════════════════════════════ */
.filter-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--color-border-dark);
    color: var(--color-text-muted);
    font-family: var(--font-ui);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--color-accent-light);
    color: var(--color-text-light);
}

.filter-btn.active {
    background: var(--color-text-light);
    color: var(--color-charcoal);
    border-color: var(--color-text-light);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════
   FILMOGRAPHY WORK CARDS
   ═══════════════════════════════════════════════════════════════ */
.film-work-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.film-work-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    transition: transform 0.4s ease;
}

.film-work-card.hidden {
    display: none;
}

.film-work-image {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.film-work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease;
}

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

.film-work-image.empty-placeholder {
    background: transparent;
    box-shadow: none;
}

.film-work-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    width: 100%;
}

.film-work-year {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
    font-weight: 600;
}

.film-work-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-text-light);
    line-height: 1.1;
    margin: 0.2rem 0;
}

.film-work-role {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    color: var(--color-text-muted-light);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

@media (max-width: 768px) {
    .film-work-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 2rem;
    }
    .film-work-title {
        font-size: 1.8rem;
    }
}


/* ---------------------------------------------------------------
   GALLERY HORIZONTAL TABS
   --------------------------------------------------------------- */
.gallery-tabs-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4rem);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.gallery-tab {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.gallery-tab:hover {
    color: var(--color-text-light);
}

.gallery-tab.active {
    color: var(--color-text-light);
}

.gallery-tab::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-text-light);
    transition: width 0.4s var(--ease-out-expo);
}

.gallery-tab.active::after {
    width: 100%;
}

.gallery-tabs-content {
    position: relative;
}

.gallery-content-section {
    display: none;
}

.gallery-content-section.active {
    display: block;
    animation: galleryFadeIn 0.6s var(--ease-out-expo) forwards;
}

@keyframes galleryFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   TIMELINE (About Page)
   ========================================================================== */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto 6rem;
    padding: 2rem 0;
}
.timeline-track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: var(--color-border);
    transform-origin: top;
}
.timeline-track-progress {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-gold);
    transform: scaleY(0);
    transform-origin: top;
}
.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-dot {
    position: absolute;
    left: 14px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-bg);
    border: 2px solid var(--color-gold);
    z-index: 2;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.timeline-item.active .timeline-dot {
    background: var(--color-gold);
    box-shadow: 0 0 15px rgba(196, 164, 107, 0.4);
}
.timeline-date {
    font-family: var(--font-display);
    color: var(--color-gold);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.timeline-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}
.timeline-content {
    color: var(--color-text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}
@media (min-width: 768px) {
    .timeline-track {
        left: 50%;
        transform: translateX(-50%);
    }
    .timeline-item {
        width: 50%;
        padding-left: 0;
        margin-bottom: 6rem;
    }
    .timeline-item:nth-child(odd) {
        padding-right: 40px;
        text-align: right;
    }
    .timeline-item:nth-child(even) {
        margin-left: 50%;
        padding-left: 40px;
    }
    .timeline-dot {
        left: auto;
        right: -8px;
    }
    .timeline-item:nth-child(even) .timeline-dot {
        left: -8px;
        right: auto;
    }
}

