/* ==========================================================================
           1. DESIGN SYSTEM & BASE STYLES
           ========================================================================== */
        :root {
            /* Brand Color Palette */
            --color-forest: #1C3D2B;
            --color-forest-dark: #0A1C12;
            --color-forest-deep: #06110B;
            --color-gold: #C5A073;
            --color-gold-light: #E5C48F;
            --color-gold-bright: #F4DFB8;
            --color-gold-dark: #8C6A3F;
            --color-charcoal: #0E0E0E;
            --color-offwhite: #FAF7F2;

            /* Typography */
            --font-serif: 'Cormorant Garamond', Georgia, serif;
            --font-sans: 'Montserrat', -apple-system, sans-serif;

            /* Transitions */
            --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
            --transition-fast: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }

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

        html,
        body {
            width: 100%;
            height: 100%;
            overflow-x: hidden;
            background-color: var(--color-charcoal);
            color: var(--color-offwhite);
            font-family: var(--font-sans);
            -webkit-font-smoothing: antialiased;
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 6px;
        }

        ::-webkit-scrollbar-track {
            background: var(--color-charcoal);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--color-gold-dark);
            border-radius: 3px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--color-gold);
        }

        /* ==========================================================================
           2. ANIMATIONS & REVEAL EFFECTS
           ========================================================================== */
        /* Text Character Reveal */
        .word {
            display: inline-block;
            white-space: nowrap;
        }

        .char {
            display: inline-block;
            opacity: 0;
            transform: translateY(110%);
            clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
            transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), clip-path 0.8s cubic-bezier(0.16, 1, 0.3, 1);
            will-change: transform, opacity, clip-path;
        }

        .char.revealed {
            opacity: 1;
            transform: translateY(0);
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        }

        /* General Fade Observer */
        .animate-on-scroll {
            opacity: 0.01;
            filter: blur(12px);
            transform: translateY(30px);
            transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), filter 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
            will-change: opacity, filter, transform;
        }

        .animate-on-scroll.in-view {
            opacity: 1;
            filter: blur(0);
            transform: translateY(0);
        }

        /* Background Column Curtain Grid */
        .bg-column-grid {
            position: absolute;
            inset: 0;
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            z-index: 4;
            pointer-events: none;
        }

        @media (min-width: 768px) {
            .bg-column-grid {
                grid-template-columns: repeat(12, 1fr);
            }
        }

        .bg-column {
            height: 100%;
            width: 100%;
            background: linear-gradient(180deg, rgba(10, 28, 18, 0.95) 0%, rgba(14, 14, 14, 0.9) 100%);
            border-right: 1px solid rgba(197, 160, 115, 0.08);
            transition: clip-path 1.4s cubic-bezier(0.77, 0, 0.175, 1);
            clip-path: inset(0 0 0 0);
        }

        .bg-column.opened {
            clip-path: inset(0 0 100% 0);
        }

        /* Rotating Border Beam Button */
        .btn-beam-wrapper {
            position: relative;
            display: inline-flex;
            border-radius: 50px;
            padding: 1px;
            overflow: hidden;
            background: rgba(197, 160, 115, 0.2);
            transition: var(--transition-fast);
            cursor: pointer;
            text-decoration: none;
        }

        .btn-beam-border {
            position: absolute;
            inset: -100%;
            pointer-events: none;
            background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, var(--color-gold-bright) 45deg, transparent 90deg);
            animation: rotate-beam 3s linear infinite;
            opacity: 0.6;
            transition: opacity 0.3s;
        }

        .btn-beam-wrapper:hover .btn-beam-border {
            opacity: 1;
            animation-duration: 1.8s;
        }

        @keyframes rotate-beam {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }

        .btn-beam-content {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 14px 30px;
            border-radius: 50px;
            background: var(--color-forest-dark);
            color: var(--color-gold-light);
            font-size: 0.78rem;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            transition: var(--transition-fast);
        }

        .btn-beam-wrapper:hover .btn-beam-content {
            background: var(--color-gold);
            color: var(--color-forest-deep);
            box-shadow: 0 0 25px rgba(197, 160, 115, 0.4);
        }

        /* ==========================================================================
           3. HEADER & NAVIGATION
           ========================================================================== */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 90px;
            z-index: 100;
            background: linear-gradient(180deg, rgba(6, 17, 11, 0.85) 0%, rgba(6, 17, 11, 0) 100%);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            transition: background 0.4s ease, height 0.4s ease;
            display: flex;
            align-items: center;
        }

        header.scrolled {
            height: 75px;
            background: rgba(6, 17, 11, 0.92);
            border-bottom: 1px solid rgba(197, 160, 115, 0.15);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }

        header.scrolled .logo-img {
            height: 54px;
        }

        .header-container {
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 60px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 16px;
            text-decoration: none;
        }

        .logo-img {
            height: 70px;
            width: auto;
            filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
            transition: transform 0.3s ease, height 0.4s ease;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 36px;
            list-style: none;
        }

        .nav-link {
            position: relative;
            color: rgba(250, 247, 242, 0.8);
            text-decoration: none;
            font-size: 0.78rem;
            font-weight: 500;
            letter-spacing: 2px;
            text-transform: uppercase;
            padding: 8px 0;
            transition: color 0.3s ease;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0%;
            height: 1px;
            background: var(--color-gold);
            transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .nav-link:hover {
            color: var(--color-gold-light);
        }

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

        /* ==========================================================================
           4. HERO SECTION WITH VIDEO SLIDER
           ========================================================================== */
        .hero-section {
            position: relative;
            width: 100vw;
            height: 100vh;
            min-height: 700px;
            overflow: hidden;
            display: flex;
            align-items: center;
        }

        /* Video Background Carousel */
        .video-carousel {
            position: absolute;
            inset: 0;
            z-index: 1;
        }

        .video-slide {
            position: absolute;
            inset: 0;
            opacity: 0;
            visibility: hidden;
            transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s;
            transform: scale(1.05);
            transition-property: opacity, visibility, transform;
            transition-duration: 1.5s;
        }

        .video-slide.active {
            opacity: 1;
            visibility: visible;
            transform: scale(1);
            z-index: 2;
        }

        .video-element {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Ambient Lighting Overlay */
        .hero-overlay {
            position: absolute;
            inset: 0;
            z-index: 3;
            background: radial-gradient(circle at 70% 30%, rgba(28, 61, 43, 0.25) 0%, transparent 60%),
                linear-gradient(180deg,
                    rgba(6, 17, 11, 0.75) 0%,
                    rgba(14, 14, 14, 0.3) 40%,
                    rgba(14, 14, 14, 0.5) 70%,
                    rgba(6, 17, 11, 0.95) 100%);
            pointer-events: none;
        }

        /* Hero Content Layout */
        .hero-container {
            position: relative;
            z-index: 10;
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 60px;
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 40px;
            align-items: center;
            height: 100%;
            padding-top: 80px;
        }

        .hero-main-content {
            max-width: 780px;
        }

        /* Subtitle Pill */
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 8px 18px;
            border-radius: 30px;
            background: rgba(28, 61, 43, 0.4);
            border: 1px solid rgba(197, 160, 115, 0.3);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            font-size: 0.7rem;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: var(--color-gold-light);
            margin-bottom: 24px;
            font-weight: 500;
        }

        .badge-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--color-gold-bright);
            box-shadow: 0 0 10px var(--color-gold-bright);
            animation: pulse-dot 2s infinite;
        }

        @keyframes pulse-dot {

            0%,
            100% {
                transform: scale(1);
                opacity: 1;
            }

            50% {
                transform: scale(1.6);
                opacity: 0.5;
            }
        }

        /* Main Heading */
        .hero-title {
            font-family: var(--font-serif);
            font-size: clamp(3rem, 5.5vw, 5.2rem);
            font-weight: 300;
            line-height: 0.95;
            color: var(--color-offwhite);
            margin-bottom: 24px;
            letter-spacing: -0.5px;
        }

        .hero-title em {
            font-style: italic;
            color: var(--color-gold-light);
            font-weight: 400;
            position: relative;
            display: inline-block;
        }

        .hero-title em::after {
            content: '';
            position: absolute;
            bottom: 4px;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
            opacity: 0.6;
        }

        .hero-description {
            font-size: 1.05rem;
            line-height: 1.7;
            color: rgba(250, 247, 242, 0.85);
            font-weight: 300;
            max-width: 600px;
            margin-bottom: 36px;
        }

        /* Action Buttons */
        .hero-actions {
            display: flex;
            align-items: center;
            gap: 24px;
            flex-wrap: wrap;
        }

        .btn-secondary-link {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: var(--color-offwhite);
            font-size: 0.8rem;
            font-weight: 500;
            letter-spacing: 2px;
            text-transform: uppercase;
            text-decoration: none;
            padding: 14px 24px;
            border-radius: 50px;
            border: 1px solid rgba(250, 247, 242, 0.2);
            backdrop-filter: blur(10px);
            transition: var(--transition-fast);
        }

        .btn-secondary-link:hover {
            border-color: var(--color-gold);
            color: var(--color-gold-light);
            background: rgba(197, 160, 115, 0.1);
            transform: translateY(-2px);
        }

        /* ==========================================================================
           5. INTERACTIVE VIDEO SWITCHER SIDEBAR / DOCK
           ========================================================================== */
        .video-switcher-dock {
            display: flex;
            flex-direction: column;
            gap: 28px;
            justify-content: center;
            align-items: stretch;
            width: 100%;
            max-width: 380px;
            justify-self: end;
        }

        .video-text-selector {
            position: relative;
            cursor: pointer;
            width: 100%;
            transition: opacity var(--transition-fast);
            opacity: 0.4;
        }

        .video-text-selector.active {
            opacity: 1;
        }

        .video-text-selector:hover:not(.active) {
            opacity: 0.75;
        }

        .selector-row {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            padding-bottom: 12px;
        }

        .selector-label {
            font-family: var(--font-sans);
            font-size: 0.88rem;
            font-weight: 600;
            letter-spacing: 3px;
            color: var(--color-offwhite);
            text-transform: uppercase;
        }

        .selector-number {
            font-family: var(--font-serif);
            font-size: 1.25rem;
            font-style: italic;
            font-weight: 500;
            color: var(--color-gold-light);
        }

        .selector-line-wrap {
            position: relative;
            width: 100%;
            height: 2px;
        }

        .selector-line {
            position: absolute;
            inset: 0;
            height: 1px;
            background: rgba(250, 247, 242, 0.15);
        }

        .selector-progress {
            position: absolute;
            top: 0;
            left: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--color-gold), var(--color-gold-bright));
            width: 0%;
            transition: width 0.1s linear;
        }



        @media (max-width: 1024px) {
            .header-container {
                padding: 0 30px;
            }

            .nav-links {
                display: none;
            }

            .hero-container {
                grid-template-columns: 1fr;
                padding: 0 30px;
                text-align: center;
                justify-items: center;
            }

            .hero-main-content {
                max-width: 100%;
            }

            .hero-description {
                margin: 0 auto 36px auto;
            }

            .hero-actions {
                justify-content: center;
            }

            .video-switcher-dock {
                align-items: center;
                flex-direction: row;
                width: 100%;
                gap: 20px;
                overflow-x: auto;
                padding-bottom: 20px;
                max-width: 100%;
            }

            .video-text-selector {
                width: 220px;
                flex-shrink: 0;
            }
        }

        /* ==========================================================================
           5. SCROLLYTELLING SECTION (INFRASTRUCTURE)
           ========================================================================== */
        .scrolly-section {
            padding: 140px 0;
            background: radial-gradient(circle at 80% 20%, rgba(28, 61, 43, 0.22) 0%, transparent 50%),
                        radial-gradient(circle at 10% 80%, rgba(197, 160, 115, 0.05) 0%, transparent 40%),
                        var(--color-forest-deep);
            position: relative;
            z-index: 10;
            border-top: 1px solid rgba(197, 160, 115, 0.1);
        }

        .scrolly-container {
            width: 100%;
            max-width: 1300px;
            margin: 0 auto;
            padding: 0 40px;
            display: flex;
            gap: 80px;
            position: relative;
        }

        /* Left Side: Scroll text panel */
        .scrolly-text-panel {
            width: 50%;
            flex-shrink: 0;
        }

        .scrolly-intro {
            margin-bottom: 80px;
        }

        .section-tag {
            display: inline-block;
            font-size: 0.72rem;
            font-weight: 600;
            letter-spacing: 3px;
            color: var(--color-gold-light);
            text-transform: uppercase;
            margin-bottom: 16px;
            position: relative;
            padding-left: 20px;
        }

        .section-tag::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 10px;
            height: 1px;
            background-color: var(--color-gold-light);
        }

        .section-title {
            font-family: var(--font-serif);
            font-size: 3rem;
            font-weight: 300;
            line-height: 1.2;
            color: var(--color-offwhite);
            margin-bottom: 24px;
        }

        .section-title em {
            font-style: italic;
            font-weight: 400;
            color: var(--color-gold-light);
        }

        .section-desc {
            font-size: 0.95rem;
            font-weight: 300;
            line-height: 1.7;
            color: rgba(250, 247, 242, 0.7);
        }

        /* Scrollytelling blocks */
        .scrolly-block {
            padding: 60px 40px;
            margin-bottom: 120px;
            background: rgba(255, 255, 255, 0.01);
            border: 1px solid rgba(197, 160, 115, 0.08);
            border-radius: 16px;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            transition: var(--transition-smooth);
            position: relative;
        }

        .scrolly-block::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 3px;
            height: 0;
            background: linear-gradient(180deg, var(--color-gold-light), var(--color-gold));
            transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
            border-top-left-radius: 16px;
            border-bottom-left-radius: 16px;
        }

        .scrolly-block.in-view {
            background: rgba(255, 255, 255, 0.03);
            border-color: rgba(197, 160, 115, 0.25);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        .scrolly-block.in-view::before {
            height: 100%;
        }

        .block-number {
            font-family: var(--font-serif);
            font-size: 1.8rem;
            font-style: italic;
            color: var(--color-gold-light);
            display: block;
            margin-bottom: 16px;
            opacity: 0.6;
            transition: var(--transition-smooth);
        }

        .scrolly-block.in-view .block-number {
            opacity: 1;
            transform: scale(1.05);
        }

        .block-title {
            font-family: var(--font-serif);
            font-size: 1.8rem;
            font-weight: 300;
            color: var(--color-offwhite);
            margin-bottom: 20px;
        }

        .block-body {
            font-size: 0.92rem;
            font-weight: 300;
            line-height: 1.8;
            color: rgba(250, 247, 242, 0.75);
        }

        .block-body p {
            margin-bottom: 16px;
        }

        .block-body p:last-child {
            margin-bottom: 0;
        }

        .block-body strong {
            font-weight: 500;
            color: var(--color-gold-light);
        }

        .block-list {
            list-style: none;
            padding-left: 0;
            margin: 16px 0;
        }

        .block-list li {
            position: relative;
            padding-left: 20px;
            margin-bottom: 12px;
        }

        .block-list li::before {
            content: '♦';
            position: absolute;
            left: 0;
            top: 0;
            color: var(--color-gold);
            font-size: 8px;
            line-height: 20px;
        }

        .block-list li ul {
            list-style: none;
            padding-left: 20px;
            margin-top: 10px;
        }

        .block-list li ul li {
            margin-bottom: 8px;
        }

        .block-list li ul li::before {
            content: '•';
            color: var(--color-gold-light);
            font-size: 12px;
        }

        /* Mobile Image (Hidden on Desktop) */
        .block-mobile-image {
            display: none;
        }

        /* Right Side: Sticky image panel */
        .scrolly-image-panel {
            width: 45%;
            position: sticky;
            top: 140px;
            height: calc(100vh - 240px);
            min-height: 400px;
            max-height: 650px;
            flex-shrink: 0;
            z-index: 15;
        }

        .scrolly-image-wrapper {
            width: 100%;
            height: 100%;
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid rgba(197, 160, 115, 0.15);
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
        }

        .scrolly-image-wrapper::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, transparent 60%, rgba(6, 17, 11, 0.8) 100%);
            pointer-events: none;
            z-index: 5;
        }

        .scrolly-img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0;
            transform: scale(1.06);
            transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
            pointer-events: none;
            z-index: 1;
        }

        .scrolly-img.active {
            opacity: 1;
            transform: scale(1);
            pointer-events: auto;
            z-index: 3;
        }

        /* ==========================================================================
           RESPONSIVE STYLES
           ========================================================================== */
        @media (max-width: 991px) {
            .scrolly-container {
                flex-direction: column;
                gap: 40px;
                padding: 0 24px;
            }

            .scrolly-text-panel {
                width: 100%;
            }

            .scrolly-image-panel {
                display: none; /* Hide sticky panel on mobile/tablet */
            }

            .block-mobile-image {
                display: block;
                width: 100%;
                border-radius: 12px;
                overflow: hidden;
                margin-bottom: 24px;
                border: 1px solid rgba(197, 160, 115, 0.15);
                aspect-ratio: 16/9;
            }

            .block-mobile-image img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

            .scrolly-block {
                padding: 35px 25px;
                margin-bottom: 60px;
            }
            
            .scrolly-section {
                padding: 90px 0;
            }

            .section-title {
                font-size: 2.3rem;
            }
        }


