:root {
    --bg-dark: #0a0a0a;
    --bg-card: #111111;
    --brand-bg: #9a7b4f;
    --brand-light: #ede4d8;
    --cream: #ede4d8;
    --white: #ffffff;
    --gold: #9a7b4f;
    --gold-dim: rgba(154, 123, 79, 0.3);
    --charcoal: #222222;
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(154, 123, 79, 0.15);
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-script: 'Great Vibes', cursive;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: #f5f0eb;
    overflow-x: hidden;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5vw;
}

.text-center {
    text-align: center;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.15;
}

p {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.9;
}

.script-accent {
    font-family: var(--font-script);
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--gold);
    line-height: 1;
}

.kicker {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 15px;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
}

/* === DARK SECTION BASE === */
.dark-section {
    background: var(--bg-dark);
    color: #f5f0eb;
}

.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4 {
    color: #f5f0eb;
}

.dark-section p {
    color: #999;
}

/* === LIGHT SECTION BASE === */
.light-section {
    background: var(--brand-light);
    color: var(--charcoal);
}

.light-section h1,
.light-section h2,
.light-section h3,
.light-section h4 {
    color: var(--charcoal);
}

.light-section p {
    color: #555;
}

/* Smooth blend gradient between sections */
.blend-to-light {
    position: relative;
}

.blend-to-light::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--cream));
    pointer-events: none;
    z-index: 2;
}

.blend-to-dark {
    position: relative;
}

.blend-to-dark::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--bg-dark));
    pointer-events: none;
    z-index: 2;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 45px;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-outline {
    border-color: var(--gold);
    color: var(--gold);
    background: transparent;
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--bg-dark);
}

.btn-outline-white {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
    background: transparent;
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--bg-dark);
}

.btn-outline-dark {
    border-color: var(--charcoal);
    color: var(--charcoal);
    background: transparent;
}

.btn-outline-dark:hover {
    background: var(--charcoal);
    color: var(--white);
}

.btn-solid {
    background: var(--gold);
    color: var(--bg-dark);
    font-weight: 500;
}

.btn-solid:hover {
    background: #b8955e;
}

.btn-nav {
    padding: 10px 28px;
    font-size: 0.65rem;
}

/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    overflow: hidden;
}

.loader-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    opacity: 0;
}

.loader-logo {
    height: 80px;
    width: auto;
    margin-bottom: 30px;
    filter: brightness(1.2);
    opacity: 0;
    transform: translateY(30px) scale(0.9);
}

.loader-title {
    font-size: clamp(1.8rem, 3.5vw, 3.5rem);
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 300;
    color: #fff;
    opacity: 0;
    transform: translateY(30px);
}

.loader-subtitle {
    color: var(--gold);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    opacity: 0;
    transform: translateY(30px);
}

.loader-line {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 20px auto 0;
    transform: scaleX(0);
}

/* Nav */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: all 0.5s ease;
}

nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5vw;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.nav-left {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
}

.nav-right {
    display: flex;
    justify-content: flex-end;
    gap: 40px;
}

.logo {
    display: flex;
    justify-content: center;
    padding: 0 40px;
}

.logo img {
    height: 45px;
    width: auto;
    filter: brightness(1.2);
    display: block;
    transition: var(--transition);
}

.nav-right-mobile {
    display: none;
}

.btn-mobile-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

.btn-mobile-contact svg {
    width: 22px;
    height: 22px;
}

.nav-links {
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.btn-nav {
    border: 1px solid var(--border);
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: var(--gold);
    color: #000 !important;
    border-color: var(--gold);
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 2000;
    position: relative;
    align-items: center;
    transition: var(--transition);
}

.hamburger svg {
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

.hamburger.active svg {
    transform: rotate(90deg);
    color: var(--white);
}

.hamburger span {
    display: none;
}

/* Hide the bars, use text instead */

/* Hamburger to X Animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-menu-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.4s ease;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-links {
    list-style: none;
    text-align: center;
}

.mobile-links li {
    margin: 25px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

.mobile-menu-overlay.active .mobile-links li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-links a {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 4px;
}

/* Contact Modal Mobile */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
    padding: 30px;
}

.contact-modal.active {
    transform: translateY(0);
}

.contact-modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2.5rem;
    color: var(--gold);
    cursor: pointer;
}

.contact-modal-content {
    width: 100%;
    max-width: 400px;
}

.contact-modal-content h2 {
    color: #fff;
    margin-bottom: 30px;
}

@media(max-width: 1024px) {
    nav {
        top: auto;
        bottom: 0;
        padding: 0;
        background: #0a0a0a !important;
        border-top: 1px solid var(--border);
        height: 65px;
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        padding: 0 25px;
        align-items: center;
        height: 100%;
    }

    .nav-left, .nav-right {
        display: none;
    }

    .hamburger {
        display: flex;
        width: 60px;
        justify-content: flex-start;
    }

    .logo {
        flex: 1;
        display: flex;
        justify-content: center;
        padding: 0;
    }

    .logo img {
        height: 28px;
    }

    .nav-right-mobile {
        display: flex;
        width: 60px;
        justify-content: flex-end;
    }
}

/* Hero (DARK) */
.hero-classic {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-dark);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.vimeo-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.vimeo-background iframe {
    width: 177.77vh;
    /* 16:9 Aspect Ratio */
    height: 100vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg) scale(1.8);
    transform-origin: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(10, 10, 10, 1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 0 20px;
}

.hero-kicker {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 7rem);
    margin: 15px 0;
    font-weight: 300;
    color: #fff !important;
}

.hero-script {
    margin-top: -20px;
    margin-bottom: 45px;
    font-size: clamp(3.5rem, 10vw, 7rem);
    color: var(--white);
    opacity: 0.85;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero-scroll-indicator span {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.5);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* Why (LIGHT) */
.why-section {
    padding: 140px 0;
    background: var(--cream);
    position: relative;
}

.why-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--gold-dim));
}

.why-header {
    margin-bottom: 80px;
}

.why-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-top: 10px;
}

.why-header .section-subtitle {
    color: #777;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.why-card {
    text-align: center;
    padding: 50px 30px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.why-card:hover {
    border-color: var(--gold-dim);
    background: rgba(200, 169, 126, 0.04);
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    display: block;
    color: var(--gold);
}

.why-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.why-card p {
    font-size: 1rem;
    line-height: 1.9;
}

@media(max-width:768px) {
    .why-section {
        padding: 80px 0;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Film Showcase (DARK) */
.film-showcase {
    padding: 120px 0 60px;
    background: var(--bg-dark);
    overflow: hidden;
}

.film-showcase h2,
.film-showcase h3 {
    color: #f5f0eb;
}

.film-showcase p {
    color: #999;
}

.film-showcase .section-header {
    margin-bottom: 60px;
    padding: 0 5vw;
}

.film-showcase .section-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-top: 10px;
}

.films-track {
    display: flex;
    gap: 30px;
    padding: 0 5vw;
    will-change: transform;
}

.film-card {
    flex: 0 0 45vw;
    max-width: 700px;
    min-width: 320px;
    text-decoration: none;
    color: #f5f0eb;
}

.film-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    margin-bottom: 20px;
}

.film-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, filter 0.5s ease;
}

.film-card:hover .film-thumb img {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.film-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.film-play::after {
    content: '▶';
    color: var(--white);
    font-size: 1.2rem;
    margin-left: 4px;
}

.film-card:hover .film-play {
    opacity: 1;
}

.film-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.film-info .film-location {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
}

@media(max-width:768px) {
    .film-showcase {
        padding: 80px 0 40px;
    }

    .film-card {
        flex: 0 0 80vw;
    }
}

/* Marquee (LIGHT) */
.marquee-section {
    padding: 50px 0;
    background: var(--cream);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
}

.marquee-content {
    display: inline-flex;
    white-space: nowrap;
    width: max-content;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #aaa;
    font-style: italic;
    display: inline-block;
    padding-right: 20px;
}

/* Couple Story (LIGHT) */
.couple-story {
    padding: 140px 0;
    background: var(--cream);
}

.story-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-image {
    position: relative;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}

.story-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(237, 228, 216, 0.6), transparent);
}

.story-text .script-accent {
    margin-bottom: 10px;
    display: block;
}

.story-text h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 30px;
}

.story-text p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 2;
}

.story-text .story-quote {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--charcoal);
    border-left: 2px solid var(--gold);
    padding-left: 25px;
    margin: 30px 0;
    line-height: 1.7;
}

@media(max-width:900px) {
    .couple-story {
        padding: 80px 0;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-image img {
        height: 450px;
    }
}

/* Experience Scrub (DARK) */
.experience-scrub-section {
    height: 100vh;
    background: var(--bg-dark);
}

.experience-scrub-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.scrub-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.experience-overlay h2 {
    font-size: clamp(2.5rem, 8vw, 6rem);
    text-transform: uppercase;
    letter-spacing: 6px;
    font-weight: 300;
    color: #fff !important;
    margin-bottom: 20px;
}

.typing-container {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    color: var(--gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 500;
    min-height: 1.5em;
}

.cursor {
    animation: blink 1s step-end infinite;
    margin-left: 5px;
}

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

/* Cinematic Metadata & Viewfinder */
.cinematic-meta {
    position: absolute;
    z-index: 5;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 60px;
    pointer-events: none;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.meta-top-left { top: 0; left: 0; }
.meta-top-right { top: 0; right: 0; text-align: right; }
.meta-bottom-left { bottom: 0; left: 0; }
.meta-bottom-right { bottom: 0; right: 0; text-align: right; }

.meta-top-left span:first-child {
    color: #ff3b30;
    font-weight: 700;
    animation: pulseRed 1.5s infinite;
}

/* Viewfinder Corners */
.experience-scrub-container::before,
.experience-scrub-container::after {
    content: '';
    position: absolute;
    top: 40px;
    bottom: 40px;
    left: 40px;
    right: 40px;
    pointer-events: none;
    z-index: 4;
}

.experience-scrub-container::before {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.experience-scrub-container::after {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    mask: linear-gradient(to bottom, #fff 100px, transparent 100px, transparent calc(100% - 100px), #fff calc(100% - 100px));
}

/* Redefine before/after to create L-shaped corners */
.experience-scrub-container::before {
    border: 1px solid rgba(255, 255, 255, 0.2);
    mask: 
        linear-gradient(to right, #fff 40px, transparent 40px, transparent calc(100% - 40px), #fff calc(100% - 40px)),
        linear-gradient(to bottom, #fff 40px, transparent 40px, transparent calc(100% - 40px), #fff calc(100% - 40px));
    mask-composite: intersect;
}

@keyframes pulseRed {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.experience-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

/* Deck Gallery (DARK) — reduced spacing */
.deck-gallery {
    background: var(--bg-dark);
}

.deck-container {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 0 !important;
}

.deck-header {
    position: absolute;
    top: 8%;
    left: 0;
    width: 100%;
    z-index: 10;
}

.deck-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-top: -10px;
    color: #f5f0eb !important;
}

.deck-cards-wrapper {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 75vh;
    margin-top: 180px;
    perspective: 1000px;
}

/* Bento Gallery */
.bento-section {
    padding: 100px 0;
    background: var(--brand-light);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 15px;
    margin: 50px auto 0;
    max-width: 1100px;
}

.bento-item {
    position: relative;
    background: rgba(154, 123, 79, 0.05);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bento-item:hover img {
    transform: scale(1.1);
}

.bento-item img.active {
    opacity: 1;
    z-index: 2;
}

.bento-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

/* Bento Spans */
.bento-1x1 {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-1x2 {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-2x1 {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-2x2 {
    grid-column: span 2;
    grid-row: span 2;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
}

@media (max-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .bento-2x2,
    .bento-2x1,
    .bento-1x2 {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Bento Lightbox */
.bento-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 11000;
    display: none;
    align-items: center;
    justify-content: center;
}

.bento-lightbox.active {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.lightbox-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 2;
    animation: fadeIn 0.4s ease-out;
}

.lightbox-container img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    padding: 10px;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--gold);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.deck-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    transform-origin: top center;
    will-change: transform;
    background-color: var(--bg-card);
}

.deck-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media(max-width:768px) {
    .deck-container {
        height: 85vh;
    }

    .deck-cards-wrapper {
        height: 60vh;
        width: 92%;
        margin-top: 120px;
    }
}

/* Testimonial (DARK) */
.testimonial-immersive {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-dark);
}

.testimonial-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.testimonial-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3) blur(2px);
}

.testimonial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.5);
}

.testimonial-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    padding: 0 30px;
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 8rem;
    color: var(--gold);
    line-height: 0.5;
    margin-bottom: 20px;
    opacity: 0.5;
}

.quote-text {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-style: italic;
    line-height: 1.6;
    color: var(--white) !important;
    margin-bottom: 35px;
}

.quote-author {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold);
}

/* Stats (LIGHT) */
.stats-bar {
    padding: 80px 0;
    background: var(--cream);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--gold);
    display: block;
    line-height: 1.2;
}

.stat-item .stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #777;
    margin-top: 8px;
    display: block;
}

@media(max-width:768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
}

/* Video Block (DARK) */
.video-block {
    padding: 0;
    background: var(--bg-dark);
}

.video-wrapper {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.cinematography-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.video-text-overlay h2 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    letter-spacing: 6px;
    text-transform: uppercase;
    font-weight: 300;
    color: #fff !important;
}

.video-text-overlay .script-accent {
    margin-top: -5px;
    color: var(--white);
    opacity: 0.85;
}

/* Featured In (LIGHT) */
.featured-in {
    padding: 80px 0;
    background: var(--cream);
    border-top: 1px solid var(--border-light);
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: clamp(30px, 6vw, 80px);
    align-items: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.logo-item {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    letter-spacing: 5px;
    color: #aaa;
    transition: color 0.3s;
}

.logo-item:hover {
    color: var(--gold);
}

/* Enquiry (LIGHT) */
.enquiry-section {
    padding: 140px 0;
    background: var(--cream);
}

.enquiry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 700px;
}

.enquiry-image {
    position: relative;
    overflow: hidden;
}

.enquiry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.enquiry-form-wrap {
    background: var(--brand-light);
    padding: 70px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--border-light);
}

.enquiry-form-wrap .script-accent {
    margin-bottom: 5px;
    display: block;
}

.enquiry-form-wrap h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 15px;
}

.enquiry-form-wrap>p {
    margin-bottom: 40px;
}

.elegant-form .form-row {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.elegant-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.elegant-form label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 10px;
}

.elegant-form input,
.elegant-form textarea {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-bottom: 1px solid var(--border-light);
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--charcoal);
    outline: none;
    transition: var(--transition);
}

.elegant-form input:focus,
.elegant-form textarea:focus {
    border-color: var(--gold);
}

.elegant-form input::placeholder,
.elegant-form textarea::placeholder {
    color: #bbb;
}

.elegant-form textarea {
    resize: none;
    min-height: 80px;
}

@media(max-width:900px) {
    .enquiry-section {
        padding: 60px 0;
    }

    .enquiry-grid {
        grid-template-columns: 1fr;
    }

    .enquiry-image {
        height: 350px;
    }

    .enquiry-form-wrap {
        padding: 50px 25px;
    }

    .elegant-form .form-row {
        flex-direction: column;
        gap: 25px;
    }
}

/* Footer (DARK) */
.footer-cinematic {
    padding: 80px 0 40px;
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    font-size: 1rem;
    letter-spacing: 6px;
    display: block;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: #999;
    max-width: 300px;
    line-height: 1.8;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 25px;
    font-weight: 400;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #999;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.footer-col address {
    font-style: normal;
    color: #999;
    font-size: 0.85rem;
    line-height: 1.9;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.7rem;
    color: #666;
    letter-spacing: 1px;
}

.footer-socials {
    display: flex;
    gap: 25px;
}

.footer-socials a {
    color: #666;
    text-decoration: none;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.footer-socials a:hover {
    color: var(--gold);
}

.footer-brand-socials {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.footer-brand-socials a {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(154, 123, 79, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.footer-brand-socials a svg {
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease, color 0.4s ease;
}

.footer-brand-socials a::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.footer-brand-socials a:hover {
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(154, 123, 79, 0.3);
}

.footer-brand-socials a:hover svg {
    color: #000;
    transform: scale(1.1);
}

.footer-brand-socials a:hover::before {
    top: 0;
}

.footer-credit {
    font-size: 0.7rem;
    color: #666;
    letter-spacing: 1px;
}

.footer-credit a {
    color: #888;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-credit a:hover {
    color: var(--gold);
}

@media(max-width:768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.03;
    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");
}

/* Ensure text visibility on brand background */
.light-section {
    background-color: var(--brand-light);
    /* Warm brand light background */
    color: var(--charcoal);
    /* Dark text for readability */
}

.light-section h1,
.light-section h2,
.light-section h3,
.light-section h4 {
    color: #111;
    /* Darker headings for better visibility */
}

.light-section p {
    color: #333;
    /* Darker paragraph text */
}

/* Fix black screen glitch in parallax section */
.parallax-section {
    background: var(--bg-dark);
    overflow: hidden;
}

/* === PORTFOLIO PAGE STYLES === */
.portfolio-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
}

.portfolio-hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    transform: scale(1.1);
}

.portfolio-hero-content {
    position: relative;
    z-index: 2;
}

.portfolio-hero-content h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    color: #fff;
    margin-bottom: 10px;
}

/* Filter System */
.filter-bar {
    padding: 30px 0;
    background: var(--bg-dark);
    position: sticky;
    top: 80px;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.filter-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    padding: 10px 0;
    position: relative;
    transition: var(--transition);
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.filter-btn.active {
    color: var(--gold);
}

.filter-btn.active::after,
.filter-btn:hover::after {
    width: 100%;
}

/* Dynamic Grid */
.portfolio-grid {
    padding: 80px 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    grid-auto-rows: 400px;
    gap: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item.wide {
    grid-column: span 2;
}

.portfolio-item.tall {
    grid-row: span 2;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.portfolio-overlay span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
}

/* Featured Story Sections */
.featured-story-block {
    padding: 140px 0;
}

.story-header {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.story-masonry {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.story-img-1 { grid-column: span 8; height: 600px; }
.story-img-2 { grid-column: span 4; height: 600px; }
.story-img-3 { grid-column: span 4; height: 400px; }
.story-img-4 { grid-column: span 8; height: 400px; }

.story-masonry img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media(max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    .portfolio-item.wide {
        grid-column: span 1;
    }
    .story-masonry {
        display: flex;
        flex-direction: column;
    }
    .story-masonry div {
        height: 400px !important;
    }
}

/* Collection Modal */
.collection-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    z-index: 5000;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    overflow-y: auto;
}

.collection-modal.active {
    display: block;
    opacity: 1;
}

.modal-header {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 30px 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 1), transparent);
    z-index: 10;
}

.modal-title-wrap h2 {
    font-size: 2rem;
    color: #fff;
}

.modal-title-wrap span {
    color: var(--gold);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.close-modal {
    background: transparent;
    border: none;
    color: var(--gold);
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-modal:hover {
    transform: rotate(90deg);
}

.modal-content {
    padding: 60px 5vw;
}

.modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.modal-grid-item {
    aspect-ratio: 4/5;
    overflow: hidden;
    cursor: pointer;
}

.modal-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modal-grid-item:hover img {
    transform: scale(1.05);
}

.btn-watch-all {
    margin-top: 20px;
    padding: 12px 30px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-watch-all:hover {
    background: var(--gold);
    color: #000;
}
