        :root {
            --primary-color: #C5A070;
            --primary-dark: #A37F50;
            --accent-color: #E6C89C;
            --text-dark: #1A1A1A;
            --text-gray: #666666;
            --light-bg: #F9F7F2;
            --dark-bg: #111111;
            --line-color: #E0E0E0;
            --gap-size: 60px;
            --dot-offset: 30px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html.lenis {
            height: auto;
        }

        .lenis.lenis-smooth {
            scroll-behavior: auto;
        }

        .lenis.lenis-smooth [data-lenis-prevent] {
            overscroll-behavior: contain;
        }

        .lenis.lenis-stopped {
            overflow: hidden;
        }

        .lenis.lenis-scrolling iframe {
            pointer-events: none;
        }

        /* HIDE DEFAULT CURSOR */
        html,
        body,
        *,
        button,
        input,
        textarea,
        a {
            cursor: none !important;
        }

        body {
            background-color: #fff;
            width: 100%;
            overflow-x: hidden;
            font-family: 'Inter', sans-serif;
        }
        @media (prefers-reduced-motion: reduce) {
            html {
                scroll-behavior: auto !important;
            }

            html,
            body,
            *,
            button,
            input,
            textarea,
            a {
                cursor: auto !important;
            }

            .cursor-dot,
            .cursor-outline {
                display: none !important;
            }

            .reveal-text,
            .reveal-img {
                opacity: 1 !important;
                transform: none !important;
                transition: none !important;
            }

            .item,
            .item img,
            .item::after,
            .overlay-content,
            .timeline-content,
            .knowledge-card,
            .swiper-scrollbar-drag,
            .specialization-card,
            .btn-gold,
            .nav-btn svg,
            .soft-icon-img,
            .gallery-img {
                transition: none !important;
            }

            .loader-text,
            .loader-bar::after,
            .scroll-line::after,
            .thumb-reveal,
            .thumb-skeleton::after {
                animation: none !important;
            }

            .item:hover,
            .item:hover img,
            .item:hover .overlay-content,
            .timeline-content:hover,
            .knowledge-card:hover,
            .specialization-card:hover,
            .btn-gold:hover {
                transform: none !important;
            }
        }

        /* --- NOISE OVERLAY --- */
        .noise-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 9000;
            opacity: 0.04;
            background: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
        }

        /* --- SCROLL PROGRESS BAR --- */
        #scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            height: 3px;
            background: var(--primary-color);
            width: 0%;
            z-index: 9999;
            transition: width 0.1s;
            box-shadow: 0 0 10px var(--primary-color);
        }

        /* --- PRELOADER --- */
        #preloader {
            position: fixed;
            inset: 0;
            background: #050505;
            z-index: 10000;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            transition: opacity 0.8s ease, visibility 0.8s;
        }

        .loader-content {
            text-align: center;
        }

        .loader-text {
            font-family: 'Oswald', sans-serif;
            font-size: 3rem;
            color: var(--primary-color);
            letter-spacing: 5px;
            text-transform: uppercase;
            margin-bottom: 20px;
            animation: pulseText 2s infinite;
        }

        .loader-bar {
            width: 200px;
            height: 2px;
            background: rgba(255, 255, 255, 0.1);
            margin: 0 auto;
            position: relative;
            overflow: hidden;
        }

        .loader-bar::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--primary-color);
            transform: translateX(-100%);
            animation: loadLine 1.5s cubic-bezier(0.85, 0, 0.15, 1) infinite;
        }

        @keyframes pulseText {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.5;
            }
        }

        @keyframes loadLine {
            0% {
                transform: translateX(-100%);
            }

            50% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(100%);
            }
        }

        body.loaded #preloader {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        /* =========================================
           2. CUSTOM CURSOR STYLES
           ========================================= */
        .cursor-dot,
        .cursor-outline {
            position: fixed;
            top: 0;
            left: 0;
            transform: translate(-50%, -50%);
            border-radius: 50%;
            z-index: 9999;
            pointer-events: none;
            transition: opacity 0.3s ease, width 0.2s, height 0.2s, background-color 0.2s;
        }

        .cursor-dot {
            width: 8px;
            height: 8px;
            background-color: var(--primary-color);
        }

        .cursor-outline {
            width: 40px;
            height: 40px;
            border: 1px solid rgba(197, 160, 112, 0.5);
            transition: left 0.08s ease-out, top 0.08s ease-out, width 0.2s, height 0.2s;
        }

        body.hovering .cursor-outline {
            width: 70px;
            height: 70px;
            background-color: rgba(197, 160, 112, 0.1);
            border-color: transparent;
            backdrop-filter: blur(2px);
        }

        body.input-hovering .cursor-outline {
            width: 4px;
            height: 24px;
            border-radius: 2px;
            background-color: var(--primary-color);
            border: none;
        }

        body.input-hovering .cursor-dot {
            opacity: 0;
        }

        /* =========================================
           3. NAVIGATION
           ========================================= */
        header.nav-header {
            position: fixed;
            top: 25px;
            left: 0;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            pointer-events: none;
        }

        .desktop-nav {
            position: relative;
            pointer-events: auto;
            display: flex;
            gap: 40px;
            background: rgba(10, 10, 10, 0.85);
            padding: 12px 40px;
            border-radius: 50px;
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }

        .desktop-nav a {
            text-decoration: none;
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.85rem;
            font-family: 'Poppins', sans-serif;
            font-weight: 500;
            transition: color 0.3s ease;
            position: relative;
            z-index: 2;
            text-transform: uppercase;
            letter-spacing: 1px;
            display: inline-block;
        }

        .desktop-nav a:hover {
            color: #fff;
        }

        .desktop-nav a.active {
            color: #fff;
            font-weight: 600;
        }

        /* Magnetic Effect Class */
        .magnetic {
            display: inline-block;
            transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            will-change: transform;
        }

        .nav-indicator {
            position: absolute;
            bottom: 10px;
            left: 0;
            width: 5px;
            height: 5px;
            background: #C5A070;
            border-radius: 50%;
            box-shadow: 0 0 10px rgba(197, 160, 112, 0.8);
            transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            z-index: 1;
            opacity: 0;
        }

        .mobile-toggle {
            display: none;
            pointer-events: auto;
            background: rgba(10, 10, 10, 0.6);
            backdrop-filter: blur(10px);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.1);
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1500;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 6px;
            transition: all 0.3s ease;
        }

        .mobile-toggle span {
            width: 24px;
            height: 2px;
            background: white;
            border-radius: 2px;
            transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
            transform-origin: center;
        }

        .mobile-toggle.open {
            background: rgba(197, 160, 112, 0.2);
            border-color: var(--primary-color);
        }

        .mobile-toggle.open span:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }

        .mobile-toggle.open span:nth-child(2) {
            opacity: 0;
            transform: translateX(-10px);
        }

        .mobile-toggle.open span:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }

        .mobile-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            height: 100dvh;
            background: #050505;
            z-index: 1400;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: clamp(16px, 3.8vh, 30px);
            padding: 72px 20px 34px;
            overflow-y: auto;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.4s ease, visibility 0.4s;
        }

        .mobile-menu-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .mobile-menu-overlay a {
            color: #fff;
            font-family: 'Oswald', sans-serif;
            font-size: clamp(1.85rem, 9vw, 2.5rem);
            line-height: 1;
            text-transform: uppercase;
            text-decoration: none;
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.5s ease, transform 0.5s ease;
        }

        .mobile-menu-overlay.active a:nth-child(1) {
            transition-delay: 0.3s;
            opacity: 1;
            transform: translateY(0);
        }

        .mobile-menu-overlay.active a:nth-child(2) {
            transition-delay: 0.4s;
            opacity: 1;
            transform: translateY(0);
        }

        .mobile-menu-overlay.active a:nth-child(3) {
            transition-delay: 0.5s;
            opacity: 1;
            transform: translateY(0);
        }

        .mobile-menu-overlay.active a:nth-child(4) {
            transition-delay: 0.6s;
            opacity: 1;
            transform: translateY(0);
        }

        .mobile-menu-overlay.active a:nth-child(5) {
            transition-delay: 0.7s;
            opacity: 1;
            transform: translateY(0);
        }

        .mobile-socials {
            display: flex;
            gap: 25px;
            margin-top: clamp(12px, 3vh, 40px);
            opacity: 0;
            transform: translateY(20px);
            transition: 0.5s ease;
            transition-delay: 0.8s;
        }

        .mobile-menu-overlay.active .mobile-socials {
            opacity: 1;
            transform: translateY(0);
        }

        .mobile-social-icon {
            color: rgba(255, 255, 255, 0.5);
            font-size: 1.5rem;
            transition: 0.3s;
        }

        .mobile-social-icon:hover {
            color: var(--primary-color);
            transform: scale(1.2);
        }

        /* =========================================
           4. HERO SECTION
           ========================================= */
        .hero {
            position: relative;
            height: 100vh;
            height: 100dvh;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            background-color: #050505;
            color: white;
            padding: 0 4vw;
        }

        #vanta-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            opacity: 0.8;
        }

        .hero::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.8) 90%);
            z-index: 2;
            pointer-events: none;
        }

        .hero-content {
            z-index: 4;
            text-align: center;
            position: relative;
            width: 100%;
            max-width: 1400px;
            transform-origin: center center;
            margin-top: -50px;
        }

        .hero h1 {
            font-family: 'Oswald', sans-serif;
            font-size: clamp(4rem, 15vw, 14rem);
            font-weight: 700;
            letter-spacing: -4px;
            text-transform: uppercase;
            line-height: 0.85;
            color: #fff;
            margin: 0;
            position: relative;
            z-index: 2;
            text-shadow: 2px 2px 0px var(--primary-color), -2px -2px 0px rgba(0, 0, 0, 0.5);
        }

        .hero-outline-text {
            font-family: 'Oswald', sans-serif;
            font-size: clamp(4rem, 15vw, 14rem);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: -4px;
            line-height: 0.85;
            color: transparent;
            -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
            position: absolute;
            top: 15%;
            left: 50%;
            transform: translateX(-50%) scale(1.1);
            z-index: 1;
            white-space: nowrap;
            opacity: 0;
            animation: fadeInUp 1.2s cubic-bezier(0.2, 1, 0.3, 1) forwards 0.4s;
            pointer-events: none;
        }

        .hero-subtitle-box {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 600px;
            margin: 30px auto 0 auto;
            border-top: 1px solid rgba(255, 255, 255, 0.3);
            padding-top: 20px;
            opacity: 0;
            animation: fadeInUp 1s cubic-bezier(0.2, 1, 0.3, 1) forwards 0.6s;
        }

        .hero-subtitle-box p {
            font-family: 'Manrope', sans-serif;
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.8);
            text-align: left;
            max-width: 300px;
        }

        .hero-tags {
            font-family: 'Inter', sans-serif;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--primary-color);
            text-align: right;
            font-weight: 600;
        }

        .scroll-indicator-modern {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 5;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            opacity: 0;
            animation: fadeInUp 1s forwards 1.2s;
        }

        .scroll-text {
            font-family: 'Oswald', sans-serif;
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 3px;
            color: rgba(255, 255, 255, 0.7);
        }

        .scroll-line {
            width: 1px;
            height: 40px;
            background: rgba(255, 255, 255, 0.3);
            position: relative;
            overflow: hidden;
        }

        .scroll-line::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--primary-color);
            animation: scrollDown 2s cubic-bezier(0.65, 0.05, 0.36, 1) infinite;
        }

        .social-sidebar {
            position: absolute;
            left: 4vw;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            gap: 35px;
            z-index: 10;
        }

        .social-sidebar a {
            color: rgba(255, 255, 255, 0.4);
            font-size: 1.6rem;
            transition: 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            text-decoration: none;
        }

        .social-sidebar a:hover {
            color: var(--primary-color);
            transform: scale(1.2);
        }

        .social-line {
            width: 1px;
            height: 100px;
            background: rgba(255, 255, 255, 0.2);
            margin: 10px auto 0 auto;
        }

        .social-sidebar a::before {
            content: attr(data-tooltip);
            position: absolute;
            left: 120%;
            top: 50%;
            transform: translateY(-50%) translateX(-10px);
            background: #fff;
            color: #000;
            font-size: 0.75rem;
            font-weight: 700;
            font-family: 'Inter', sans-serif;
            padding: 6px 12px;
            border-radius: 4px;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            z-index: 100;
        }

        .social-sidebar a::after {
            content: '';
            position: absolute;
            left: 110%;
            top: 50%;
            transform: translateY(-50%) translateX(-10px);
            border: 6px solid transparent;
            border-right-color: #fff;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        .social-sidebar a:hover::before,
        .social-sidebar a:hover::after {
            opacity: 1;
            visibility: visible;
            transform: translateY(-50%) translateX(0);
        }

        /* =========================================
           5. WORKS SECTION
           ========================================= */
        .app-layout {
            background: #fff;
            color: #111;
            font-family: 'Inter', sans-serif;
            padding-top: clamp(88px, 9vw, 120px);
            padding-bottom: clamp(72px, 8vw, 100px);
            z-index: 10;
        }

        .works-container {
            display: flex;
            max-width: 1680px;
            margin: 0 auto;
            padding: 0 clamp(20px, 4vw, 60px);
            gap: clamp(30px, 5vw, 80px);
            align-items: flex-start;
        }

        .filter-sidebar {
            width: clamp(230px, 22vw, 280px);
            flex-shrink: 0;
            position: sticky;
            top: 120px;
            height: 85vh;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            text-align: left;
            padding-bottom: 20px;
            overflow-y: auto;
            scrollbar-width: none;
        }

        .filter-sidebar::-webkit-scrollbar {
            display: none;
        }

        .works-header {
            margin-bottom: 40px;
            text-align: left;
        }

        .works-header h2 {
            font-family: 'Playfair Display', serif;
            font-size: 3rem;
            font-weight: 800;
            letter-spacing: -1px;
            margin-bottom: 10px;
            color: var(--text-dark);
            line-height: 1;
        }

        .work-slogan {
            font-family: 'Playfair Display', serif;
            font-size: 1rem;
            font-style: italic;
            color: var(--text-gray);
            font-weight: 500;
        }

        .filter-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .filter-item {
            background: none;
            border: none;
            text-align: left;
            font-family: 'Inter', sans-serif;
            font-size: 0.9rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: #999;
            transition: all 0.3s ease;
            position: relative;
            padding-left: 0;
            transform-origin: left center;
        }

        .filter-item:hover {
            color: var(--text-dark);
        }

        .filter-item.active {
            color: var(--text-dark);
            font-weight: 800;
            transform: translateX(15px);
        }

        .filter-item.active::before {
            content: '';
            position: absolute;
            left: -15px;
            top: 50%;
            transform: translateY(-50%);
            width: 6px;
            height: 6px;
            background: var(--primary-color);
            border-radius: 50%;
        }

        .sidebar-cta {
            border-top: 1px solid #eee;
            padding-top: 30px;
            margin-top: 40px;
        }

        .sidebar-cta p {
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 10px;
            line-height: 1.4;
        }

        .cta-link {
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            font-weight: 800;
            color: var(--text-dark);
            text-decoration: none;
            border-bottom: 2px solid var(--text-dark);
            padding-bottom: 2px;
            transition: color 0.3s, border-color 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .cta-link:hover {
            color: var(--primary-color);
            border-color: var(--primary-color);
        }

        .cta-link i {
            font-size: 0.9em;
            transform: rotate(-45deg);
            transition: transform 0.3s;
        }

        .cta-link:hover i {
            transform: rotate(0deg);
        }

        .gallery-wrapper {
            flex-grow: 1;
            width: 100%;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            grid-auto-rows: clamp(260px, 28vw, 350px);
            grid-auto-flow: dense;
            gap: clamp(18px, 2.2vw, 30px);
            min-height: 100vh;
        }

        .item {
            position: relative;
            border-radius: 6px;
            overflow: hidden;
            background: #f0f0f0;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            opacity: 1;
            transform: scale(1);
            transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            transform-style: preserve-3d;
        }

        .item:hover {
            transform: scale(1.02);
            z-index: 2;
        }

        /* Mild hover lift */
        .item.hide {
            opacity: 0;
            transform: scale(0.9);
            pointer-events: none;
            position: absolute;
            width: 0;
            height: 0;
            margin: 0;
            padding: 0;
            visibility: hidden;
        }

        .item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .item.no-thumbnail {
            background: linear-gradient(135deg, #161616 0%, #2b2b2b 100%);
        }

        .item.no-thumbnail::after,
        .item.no-thumbnail .overlay-content {
            opacity: 1;
            transform: translateY(0);
        }

        .item:hover img {
            transform: scale(1.05);
        }

        .item:focus-within::after {
            opacity: 1;
        }

        .item::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
            opacity: 0;
            transition: opacity 0.4s;
            z-index: 1;
        }

        .item:hover::after {
            opacity: 1;
        }

        .item.has-gallery::before {
            content: '\f5fd';
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            top: 20px;
            right: 20px;
            color: #fff;
            z-index: 5;
            font-size: 1rem;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            opacity: 0.9;
            pointer-events: none;
            transition: transform 0.3s ease;
        }

        .item:hover.has-gallery::before {
            transform: scale(1.1) rotate(5deg);
            background: var(--primary-color);
            border-color: var(--primary-color);
        }

        .overlay-content {
            position: absolute;
            bottom: 25px;
            left: 25px;
            right: 25px;
            z-index: 2;
            opacity: 0;
            transform: translateY(20px);
            transition: 0.4s ease;
            text-align: left;
            pointer-events: none;
        }

        .item:hover .overlay-content {
            opacity: 1;
            transform: translateY(0);
        }

        .item:focus-within .overlay-content {
            opacity: 1;
            transform: translateY(0);
        }

        .overlay-meta {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 8px;
        }

        .overlay-cat {
            display: inline-block;
            font-size: 0.7rem;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.8);
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 0;
        }

        .overlay-date {
            display: inline-block;
            padding: 3px 10px;
            border: 1px solid rgba(255, 255, 255, 0.35);
            border-radius: 999px;
            font-size: 0.62rem;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.9);
            letter-spacing: 1px;
            text-transform: uppercase;
            background: rgba(0, 0, 0, 0.25);
        }

        .overlay-title {
            color: white;
            font-size: 1.35rem;
            font-weight: 700;
            line-height: 1.1;
            margin: 0;
            font-family: 'Inter', sans-serif;
        }

        .item.tall {
            grid-row: span 2;
        }

        .item.wide {
            grid-column: span 2;
        }

        /* Reveal Animations */
        .reveal-text,
        .reveal-img {
            will-change: opacity, transform;
            opacity: 0;
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }

        .reveal-text {
            transform: translateY(30px);
        }

        .reveal-img {
            transform: scale(0.95);
        }

        .reveal-text.active {
            opacity: 1;
            transform: translateY(0);
        }

        .reveal-img.active {
            opacity: 1;
            transform: scale(1);
        }

        .delay-100 {
            transition-delay: 0.1s;
        }

        .delay-200 {
            transition-delay: 0.2s;
        }

        .delay-300 {
            transition-delay: 0.3s;
        }

        .software-icons-flex {
            display: flex;
            gap: 12px;
            margin-top: 8px;
            flex-wrap: wrap;
            align-items: center;
        }

        .soft-icon-img {
            height: 22px;
            width: auto;
            filter: grayscale(100%);
            opacity: 0.7;
            transition: 0.3s;
        }

        .soft-icon-img:hover {
            filter: grayscale(0%);
            opacity: 1;
        }

        .tool-tag-mini {
            font-size: 0.7rem;
            background: #f0f0f0;
            padding: 2px 8px;
            border-radius: 4px;
            color: #666;
        }

        /* NEW: Styles for Credits and Link */
        .modal-ext-link {
            display: inline-block;
            margin-top: 15px;
            color: #C5A070;
            text-decoration: none;
            font-weight: 700;
            font-size: 0.85rem;
            border-bottom: 1px solid #C5A070;
            padding-bottom: 2px;
            transition: 0.2s;
            cursor: pointer !important; /* Force cursor */
            pointer-events: auto !important; /* Force events */
        }
        .modal-ext-link:hover {
            color: #A37F50; border-color: #A37F50;
        }
        
        .credits-grid {
            display: flex;
            flex-direction: column;
            gap: 8px;
            min-width: 140px;
        }
        .credit-item {
            display: flex;
            flex-direction: column;
            line-height: 1.2;
        }
        .credit-role {
            font-size: 0.65rem;
            color: #999;
            text-transform: uppercase;
            font-weight: 700;
        }
        .credit-name {
            font-size: 0.85rem;
            color: #111;
            font-weight: 600;
        }

        .text-side {
            order: 1;
            width: 100%;
            border-bottom: 1px solid #eee;
            padding-bottom: 16px;
            margin-bottom: 12px;
            display: flex;
            flex-direction: column;
            flex: 1 1 auto;
            min-height: 0;
        }

        /* =========================================
           6. ABOUT SECTION
           ========================================= */
        .about-section-wrapper {
            background:
                linear-gradient(180deg, #f7f5ef 0%, #fff 48%, #fff 100%);
            padding: clamp(78px, 9vw, 120px) 0 0;
            font-family: 'Manrope', sans-serif;
            color: var(--text-dark);
            position: relative;
            z-index: 10;
        }

        .gold-container {
            max-width: 1680px;
            width: 100%;
            padding: 0 clamp(20px, 4vw, 60px);
            margin: 0 auto;
        }

        .main-section {
            display: grid;
            grid-template-columns: minmax(320px, 0.92fr) minmax(440px, 1.08fr);
            align-items: center;
            gap: clamp(42px, 6vw, 88px);
            margin-bottom: clamp(58px, 8vw, 92px);
            min-height: auto;
            padding: 0;
            border-radius: 0;
            background: transparent;
            border: 0;
            box-shadow: none;
            position: relative;
            overflow: visible;
        }

        .main-section::before,
        .main-section::after {
            display: none;
        }

        .main-section .text-content::before {
            content: 'ABOUT';
            position: absolute;
            top: -52px;
            left: -6px;
            color: rgba(0, 0, 0, 0.045);
            font-family: 'Oswald', sans-serif;
            font-size: clamp(4.5rem, 13vw, 12rem);
            line-height: 0.8;
            pointer-events: none;
        }

        .text-content {
            max-width: min(100%, 620px);
            position: relative;
            z-index: 2;
            padding-top: clamp(20px, 5vw, 58px);
        }

        .gold-subtitle {
            color: var(--primary-color);
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 0.85rem;
            font-weight: 700;
            margin-bottom: 15px;
            display: block;
        }

        h1.gold-title {
            font-family: 'Playfair Display', serif;
            font-size: clamp(2.45rem, 5.4vw, 4.9rem);
            line-height: 1.02;
            margin-bottom: 24px;
            color: var(--text-dark);
            letter-spacing: -0.02em;
        }

        p.gold-desc {
            color: var(--text-gray);
            margin-bottom: 26px;
            font-size: clamp(0.98rem, 1.2vw, 1.08rem);
            line-height: 1.7;
            max-width: 520px;
        }

        .stats-row {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: clamp(18px, 3vw, 34px);
            margin-bottom: 34px;
            border-top: 1px solid rgba(0, 0, 0, 0.1);
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
            padding: 22px 0;
        }

        .stat-item {
            min-height: auto;
            padding: 0;
            border: 0;
            background: transparent;
            border-radius: 0;
        }

        .stat-item + .stat-item {
            border-left: 1px solid rgba(0, 0, 0, 0.1);
            padding-left: clamp(18px, 3vw, 34px);
        }

        .stat-item h3 {
            font-size: clamp(2rem, 4.3vw, 3.8rem);
            margin-bottom: 5px;
            font-family: 'Inter', sans-serif;
            color: var(--text-dark);
            line-height: 0.9;
            letter-spacing: -0.06em;
        }

        .stat-item span {
            font-size: 0.74rem;
            color: var(--text-gray);
            display: block;
            line-height: 1.35;
            font-weight: 800;
            letter-spacing: 1.1px;
            text-transform: uppercase;
        }

        .btn-gold {
            background-color: var(--primary-color);
            color: #050505;
            padding: 16px 40px;
            text-decoration: none;
            text-transform: uppercase;
            font-weight: 700;
            font-size: 0.8rem;
            letter-spacing: 1px;
            display: inline-block;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(197, 160, 112, 0.3);
            border: 2px solid var(--primary-color);
            border-radius: 999px;
        }

        .btn-gold:hover {
            background-color: var(--primary-dark);
            border-color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(197, 160, 112, 0.4);
        }

        .image-gallery {
            flex: 1;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: clamp(180px, 18vw, 220px) clamp(220px, 23vw, 280px);
            gap: 20px;
        }

        .gallery-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 0;
            filter: contrast(1.08) saturate(0.96);
            will-change: transform;
            border: 1px solid rgba(0, 0, 0, 0.08);
            box-shadow: 0 24px 55px rgba(0, 0, 0, 0.16);
        }
        
        .img-1 {
            grid-column: 1;
            grid-row: 1;
            transform: translateY(30px);
        }

        .img-2 {
            grid-column: 2;
            grid-row: 1;
        }

        .img-3 {
            grid-column: 1;
            grid-row: 2;
        }

        .img-4 {
            grid-column: 2;
            grid-row: 2;
            height: 115%;
            z-index: 2;
        }

        .software-section {
            border-top: 1px solid #eee;
            border-bottom: 1px solid #eee;
            padding: clamp(32px, 5vw, 52px) 0;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: clamp(16px, 2.5vw, 28px);
            margin-bottom: clamp(70px, 8vw, 100px);
            background: transparent;
            border-radius: 0;
        }

        .software-logo {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 1.2rem;
            font-weight: 600;
            color: #888;
            filter: grayscale(100%);
            opacity: 0.72;
            transition: all 0.3s ease;
        }

        .software-logo:hover {
            filter: grayscale(0%);
            opacity: 1;
            color: #333;
        }

        .software-logo img {
            height: 45px;
            width: auto;
        }

        .timeline-wrapper {
            max-width: 1000px;
            margin: 0 auto 100px auto;
        }

        .timeline-header {
            text-align: center;
            margin-bottom: 70px;
        }

        .timeline-header h2 {
            font-family: 'Playfair Display', serif;
            font-size: 2.8rem;
            margin-top: 10px;
        }

        .timeline {
            position: relative;
            padding: 20px 0;
        }

        .timeline-row {
            display: flex;
            align-items: flex-start;
            justify-content: center;
            margin-bottom: var(--gap-size);
            position: relative;
        }

        .timeline-row::after {
            content: '';
            position: absolute;
            top: calc(var(--dot-offset) + 10px);
            height: calc(100% + var(--gap-size));
            left: 50%;
            width: 2px;
            background: var(--line-color);
            transform: translateX(-50%);
            z-index: 1;
        }

        .timeline-row:last-child::after {
            display: none;
        }

        .timeline-dot {
            width: 20px;
            height: 20px;
            background-color: var(--primary-color);
            border: 4px solid #fff;
            border-radius: 50%;
            box-shadow: 0 0 0 2px var(--primary-color);
            z-index: 2;
            flex-shrink: 0;
            margin-top: var(--dot-offset);
        }

        .timeline-time,
        .timeline-content {
            width: 45%;
            padding: 0 40px;
        }

        .timeline-time {
            text-align: right;
            padding-top: 25px;
        }

        .date-pill {
            display: inline-block;
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            color: white;
            padding: 10px 28px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 0.85rem;
            letter-spacing: 0.5px;
            box-shadow: 0 4px 10px rgba(197, 160, 112, 0.3);
            font-family: 'Manrope', sans-serif;
        }

        .timeline-content {
            background: #fff;
            padding: 40px;
            border-radius: 6px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
            border: 1px solid rgba(0, 0, 0, 0.03);
        }

        .timeline-content:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(197, 160, 112, 0.15);
            border-color: rgba(197, 160, 112, 0.2);
        }

        .timeline-content h3 {
            font-family: 'Playfair Display', serif;
            font-size: 1.6rem;
            margin-bottom: 5px;
            color: var(--text-dark);
            font-weight: 700;
        }

        .timeline-content h4 {
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            margin-bottom: 20px;
            font-weight: 800;
            font-family: 'Manrope', sans-serif;
            display: inline-block;
        }

        .timeline-content p {
            font-size: 0.95rem;
            color: #666;
            line-height: 1.7;
        }

        .timeline-row.reverse .timeline-time {
            text-align: left;
            order: 3;
        }

        .timeline-row.reverse .timeline-dot {
            order: 2;
        }

        .timeline-row.reverse .timeline-content {
            text-align: right;
            order: 1;
        }

        .specializations-wrapper {
            max-width: 1200px;
            margin: 0 auto clamp(56px, 7vw, 80px) auto;
        }

        .specializations-header {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 36px auto;
        }

        .specializations-header h2 {
            font-family: 'Playfair Display', serif;
            font-size: clamp(2rem, 3.2vw, 2.6rem);
            margin: 10px 0 14px 0;
            color: var(--text-dark);
        }

        .specializations-header p {
            color: var(--text-gray);
            line-height: 1.7;
            font-size: 0.98rem;
        }

        .specializations-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: clamp(16px, 2vw, 22px);
        }

        .specialization-card {
            border-radius: 14px;
            background: #fff;
            border: 1px solid rgba(0, 0, 0, 0.08);
            padding: 30px 22px 24px 22px;
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        }

        .specialization-card:hover {
            transform: translateY(-7px);
            box-shadow: 0 18px 32px rgba(0, 0, 0, 0.08);
            border-color: rgba(197, 160, 112, 0.35);
        }

        .specialization-icon {
            width: 48px;
            height: 48px;
            border-radius: 10px;
            background: rgba(197, 160, 112, 0.14);
            color: var(--primary-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 18px;
            font-size: 1.1rem;
        }

        .specialization-card h3 {
            font-family: 'Playfair Display', serif;
            font-size: 1.2rem;
            margin-bottom: 10px;
            color: var(--text-dark);
        }

        .specialization-card p {
            color: var(--text-gray);
            font-size: 0.92rem;
            line-height: 1.65;
        }

        .knowledge-wrapper {
            background:
                linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.72) 48%, rgba(0, 0, 0, 0.96)),
                url('https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=2200&q=80') center / cover;
            width: 100vw;
            max-width: none;
            min-height: 260vh;
            margin: 0 calc(50% - 50vw);
            position: relative;
        }

        .knowledge-wrapper.reveal-text {
            opacity: 1;
            transform: none;
            transition: none;
        }

        .knowledge-sticky {
            min-height: 100vh;
            min-height: 100dvh;
            padding: clamp(54px, 7vh, 76px) 0 clamp(44px, 6vh, 64px);
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            gap: clamp(22px, 4vh, 36px);
            position: sticky;
            top: 0;
            overflow: hidden;
        }

        .knowledge-sticky::before {
            content: 'SERVICES';
            position: absolute;
            top: clamp(22px, 4vw, 46px);
            right: clamp(22px, 5vw, 70px);
            color: rgba(255, 255, 255, 0.06);
            font-family: 'Oswald', sans-serif;
            font-size: clamp(4rem, 13vw, 14rem);
            line-height: 0.8;
            pointer-events: none;
        }

        .knowledge-header {
            text-align: left;
            width: 100%;
            margin: 0;
            padding: 0 clamp(32px, 6vw, 92px);
            position: relative;
            z-index: 2;
            max-width: 980px;
        }

        .knowledge-header h2 {
            font-family: 'Playfair Display', serif;
            font-size: clamp(2rem, 3.2vw, 2.8rem);
            line-height: 1.08;
            margin: 10px 0 14px 0;
            color: #fff;
            font-weight: 800;
            letter-spacing: 0;
        }

        .knowledge-header p {
            color: rgba(255, 255, 255, 0.72);
            max-width: 560px;
            line-height: 1.7;
            font-size: 0.98rem;
        }

        .services-swiper {
            width: 100%;
            overflow: visible;
            height: min(620px, calc(100dvh - 248px));
            min-height: 360px;
            padding: 0 clamp(32px, 6vw, 92px) 58px;
            position: relative;
            z-index: 2;
            flex: 1 1 auto;
        }

        .services-swiper .swiper-wrapper {
            transition-timing-function: linear !important;
            will-change: transform;
        }

        .knowledge-grid {
            display: flex;
            align-items: stretch;
            height: 100%;
            padding: 0 0 28px;
        }

        .knowledge-card {
            width: 70vw;
            max-width: 1080px;
            height: 100%;
            min-height: 0;
            background: rgba(5, 5, 5, 0.9);
            color: #fff;
            padding: 0;
            border-radius: 14px;
            border: 1px solid rgba(255, 255, 255, 0.16);
            box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
            display: grid;
            grid-template-columns: minmax(280px, 0.88fr) minmax(420px, 1.12fr);
            gap: 0;
            align-items: stretch;
            position: relative;
            overflow: hidden;
        }

        .knowledge-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background:
                linear-gradient(90deg, rgba(0, 0, 0, 0.62), transparent 64%),
                linear-gradient(180deg, transparent 72%, rgba(0, 0, 0, 0.45));
            z-index: 1;
            pointer-events: none;
        }

        .knowledge-card::after {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            left: calc(44% - 1px);
            width: 34px;
            background: linear-gradient(90deg, #050505 0%, rgba(5, 5, 5, 0.92) 36%, rgba(5, 5, 5, 0) 100%);
            z-index: 2;
            pointer-events: none;
        }

        .knowledge-card.service-light {
            background: #090909;
            color: #fff;
            border-color: rgba(255, 255, 255, 0.16);
        }

        .knowledge-card.service-light::before {
            background:
                linear-gradient(90deg, rgba(0, 0, 0, 0.62), transparent 64%),
                linear-gradient(180deg, transparent 72%, rgba(0, 0, 0, 0.45));
        }

        .knowledge-card:hover {
            transform: none;
            box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
            border-color: rgba(255, 255, 255, 0.16);
        }

        .service-copy {
            position: relative;
            z-index: 3;
            min-height: 100%;
            padding: clamp(30px, 3.4vw, 52px);
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: flex-start;
        }

        .service-kicker {
            position: static;
            color: rgba(255, 255, 255, 0.72);
            font-family: 'Inter', sans-serif;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 1.8px;
            text-transform: uppercase;
            margin-bottom: clamp(22px, 3.5vh, 34px);
        }

        .service-light .service-kicker {
            color: rgba(255, 255, 255, 0.72);
        }

        .service-visual {
            position: relative;
            min-height: 100%;
            margin: 0;
            overflow: hidden;
            border-radius: 0 12px 12px 0;
            z-index: 2;
            background: #050505;
        }

        .service-visual::before {
            content: '';
            position: absolute;
            inset: 0 auto 0 -18px;
            width: 54%;
            background: linear-gradient(90deg, #050505 0%, #050505 14%, rgba(5, 5, 5, 0.9) 32%, rgba(5, 5, 5, 0.52) 58%, rgba(5, 5, 5, 0.16) 82%, transparent 100%);
            z-index: 1;
            pointer-events: none;
        }

	        .service-visual img {
	            width: calc(100% + 4px);
	            height: 100%;
	            margin-left: -2px;
	            display: block;
	            object-fit: cover;
	            object-position: center;
	            filter: grayscale(0.08) contrast(1.05);
	            transform: translate3d(var(--service-image-shift, 0px), 0, 0) scale(1.04);
	            transform-origin: center;
	            transition: transform 0.6s ease, filter 0.6s ease;
	        }
	
	        .service-visual:hover img {
	            transform: translate3d(var(--service-image-shift, 0px), 0, 0) scale(1.08);
	            filter: grayscale(0) contrast(1.12);
	        }

        .icon-box {
            width: 50px;
            height: 50px;
            background-color: rgba(255, 255, 255, 0.12);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 25px;
            color: #fff;
            font-size: 1.2rem;
        }

        .service-light .icon-box {
            background-color: rgba(255, 255, 255, 0.12);
            color: #fff;
        }

	        .knowledge-card h3 {
	            font-family: 'Inter', sans-serif;
	            font-size: clamp(1.7rem, 3.3vw, 3.05rem);
	            line-height: 1.02;
	            margin-bottom: 16px;
	            color: #fff;
	            max-width: 520px;
	            font-weight: 800;
	            letter-spacing: -0.035em;
	        }
	
	        .service-light h3 {
	            color: #fff;
	        }

	        .service-tags {
	            display: flex;
	            flex-wrap: wrap;
	            gap: 8px;
	            margin-bottom: 22px;
	            max-width: 480px;
	        }

	        .service-tags span {
	            display: inline-flex;
	            align-items: center;
	            min-height: 26px;
	            padding: 6px 10px;
	            border-radius: 999px;
	            border: 1px solid rgba(255, 255, 255, 0.16);
	            background: rgba(255, 255, 255, 0.07);
	            color: rgba(255, 255, 255, 0.78);
	            font-size: 0.68rem;
	            line-height: 1;
	            font-weight: 700;
	            letter-spacing: 0.7px;
	            text-transform: uppercase;
	        }

	        .knowledge-card p {
            max-width: 500px;
            font-size: clamp(0.88rem, 1.02vw, 1rem);
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.42;
            font-weight: 500;
        }

        .service-light p {
            color: rgba(255, 255, 255, 0.7);
        }

        .service-stats {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: clamp(18px, 3vh, 30px) clamp(18px, 3vw, 44px);
            margin-top: clamp(24px, 5vh, 54px);
            max-width: 480px;
        }

        .service-stats span {
            color: rgba(255, 255, 255, 0.68);
            font-size: clamp(0.82rem, 0.98vw, 0.98rem);
            line-height: 1.25;
            font-weight: 600;
        }

        .service-stats strong {
            display: block;
            color: #fff;
            font-size: clamp(1.4rem, 2vw, 2.1rem);
            line-height: 0.9;
            margin-bottom: 8px;
            letter-spacing: -0.04em;
        }

        .services-scrollbar {
            left: 50% !important;
            right: auto !important;
            transform: translateX(-50%);
            bottom: 10px !important;
            width: min(50vw, 680px) !important;
            height: 18px !important;
            background: transparent;
            border-radius: 999px;
            overflow: visible;
            pointer-events: none;
        }

        .services-scrollbar::before {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            height: 2px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.22);
            transform: translateY(-50%);
        }

        .services-scrollbar .swiper-scrollbar-drag {
            top: 50%;
            height: 4px;
            margin-top: -2px;
            width: var(--services-progress, 0%) !important;
            background: #fff;
            border-radius: 999px;
            cursor: default !important;
            box-shadow: 0 0 18px rgba(255, 255, 255, 0.28);
            transform: none !important;
            transition-timing-function: linear !important;
        }

        .services-scrollbar .swiper-scrollbar-drag::after {
            display: none;
        }

        .services-scrollbar .swiper-scrollbar-drag:active {
            cursor: default !important;
        }

        .contact-wrapper {
            background-color: var(--dark-bg);
            padding: 120px 0 50px 0;
            font-family: 'Manrope', sans-serif;
            position: relative;
            color: #fff;
            overflow: hidden;
        }

        .contact-wrapper::before {
            content: 'CONTACT';
            position: absolute;
            top: 50px;
            left: -20px;
            font-family: 'Oswald', sans-serif;
            font-size: 15rem;
            color: rgba(255, 255, 255, 0.03);
            font-weight: 700;
            z-index: 0;
            pointer-events: none;
        }

        .contact-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            gap: 80px;
            position: relative;
            z-index: 2;
            padding: 0 40px;
            margin-bottom: 80px;
        }

        .contact-left {
            flex: 1;
        }

        .contact-left h2 {
            font-family: 'Playfair Display', serif;
            font-size: 4rem;
            color: #fff;
            margin-bottom: 20px;
            line-height: 1.1;
        }

        .contact-subtitle {
            color: var(--primary-color);
            text-transform: uppercase;
            letter-spacing: 2px;
            font-weight: 600;
            margin-bottom: 40px;
            display: block;
        }

        .contact-desc {
            color: #999;
            font-size: 1.1rem;
            line-height: 1.6;
            margin-bottom: 50px;
            max-width: 400px;
        }

        .info-row {
            margin-bottom: 30px;
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .c-icon {
            width: 50px;
            height: 50px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            transition: 0.3s;
        }

        .info-row:hover .c-icon {
            background: var(--primary-color);
            color: #fff;
            border-color: var(--primary-color);
        }

        .c-text h5 {
            font-size: 0.8rem;
            color: #666;
            text-transform: uppercase;
            margin-bottom: 5px;
        }

        .c-text p {
            font-size: 1.1rem;
            color: #fff;
            font-weight: 500;
        }

        .contact-right {
            flex: 1.2;
            background: #1a1a1a;
            padding: 50px;
            border-radius: 4px;
            border: 1px solid #333;
        }

        .modern-form .form-group {
            margin-bottom: 30px;
        }

        .modern-form label {
            display: block;
            font-size: 0.8rem;
            color: #888;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 10px;
        }

        .modern-form input,
        .modern-form textarea {
            width: 100%;
            background: #111;
            border: none;
            border-bottom: 2px solid #333;
            color: #fff;
            padding: 15px 0;
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            transition: 0.3s;
        }

        .modern-form input:focus,
        .modern-form textarea:focus {
            outline: none;
            border-bottom-color: var(--primary-color);
            background: #151515;
            padding-left: 10px;
        }

        .submit-btn {
            background: #fff;
            color: #111;
            border: none;
            padding: 18px 50px;
            font-weight: 800;
            text-transform: uppercase;
            cursor: pointer;
            letter-spacing: 1px;
            margin-top: 10px;
            transition: 0.3s;
        }

        .submit-btn:hover {
            background: var(--primary-color);
            color: #fff;
            transform: translateX(10px);
        }

        .modern-form input.input-error,
        .modern-form textarea.input-error {
            border-bottom: 2px solid #ff3333 !important;
            background: rgba(255, 51, 51, 0.05);
        }

        .warning-msg {
            color: #ff3333;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-top: 8px;
            display: none;
        }

        .warning-msg.show {
            display: block;
            animation: fadeIn 0.3s ease;
        }

        .form-status {
            min-height: 1.25rem;
        }

        .footer-bottom {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
            position: relative;
            z-index: 2;
        }

        .social-icons-footer {
            display: flex;
            gap: 20px;
        }

        .social-link {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 1.1rem;
        }

        .social-link:hover {
            background: var(--primary-color);
            transform: translateY(-5px);
        }

        .copyright {
            color: #555;
            font-size: 0.85rem;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .fixed-back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: transparent;
            border: 2px solid var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-size: 1.2rem;
            text-decoration: none;
            box-shadow: none;
            transition: all 0.3s ease;
            opacity: 0;
            visibility: hidden;
            z-index: 100;
        }

        .fixed-back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .fixed-back-to-top:hover {
            background: var(--primary-color);
            color: #fff;
            transform: translateY(-5px);
            box-shadow: 0 5px 20px rgba(197, 160, 112, 0.4);
        }

        /* =========================================
           8. MODALS (PROJECT & ZOOM) & VIDEO UI
           ========================================= */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            z-index: 2000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: 0.4s ease;
            padding: clamp(14px, 2vw, 26px);
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .modal-container {
            width: min(96vw, 1260px);
            max-width: 1260px;
            height: min(86vh, 780px);
            max-height: calc(100dvh - 28px);
            background: white;
            border-radius: 4px;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
            border: 1px solid #eee;
            display: flex;
            overflow: hidden;
            transform: translateY(30px);
            transition: 0.5s ease;
            position: relative;
        }

        .modal-overlay.active .modal-container {
            transform: translateY(0);
        }

        .modal-visual {
            width: 56%;
            height: 100%;
            background: #f4f4f4;
            position: relative;
            overflow: hidden;
        }

        .slider-track {
            display: flex;
            height: 100%;
            transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
            width: 100%;
        }

        /* MIXED CONTENT SLIDER */
        .slider-img,
        video.slider-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            flex-shrink: 0;
        }

        .slider-img {
            cursor: zoom-in;
        }

        video.slider-img {
            cursor: default;
        }

        /* CENTER PLAY BUTTON OVERLAY */
        #centerPlayBtn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80px;
            height: 80px;
            background: rgba(0, 0, 0, 0.6);
            border: 2px solid rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            display: none;
            /* Hidden by default */
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 2rem;
            cursor: pointer;
            z-index: 20;
            transition: all 0.3s ease;
            backdrop-filter: blur(4px);
            padding-left: 5px;
            /* Center the triangle visually */
        }

        #centerPlayBtn:hover {
            background: var(--primary-color);
            border-color: var(--primary-color);
            transform: translate(-50%, -50%) scale(1.1);
        }

        .thumb-container {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            padding: 8px;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 12px;
            z-index: 20;
            max-width: 90%;
            overflow-x: auto;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .thumb-container::-webkit-scrollbar {
            display: none;
        }

        .thumb-img {
            width: 50px;
            height: 50px;
            object-fit: cover;
            border-radius: 6px;
            cursor: pointer;
            opacity: 0.7;
            transition: 0.2s;
            flex-shrink: 0;
            opacity: 0;
            transform: translateY(20px);
        }

        .thumb-reveal {
            animation: fadeInUpThumb 0.5s forwards;
        }

        @keyframes fadeInUpThumb {
            to {
                opacity: 0.7;
                transform: translateY(0);
            }
        }

        .thumb-img:hover,
        .thumb-img.active-thumb {
            opacity: 1 !important;
            transform: scale(1.1) translateY(0);
            border: 1px solid white;
        }

        .modal-details {
            width: 44%;
            padding: 44px 36px 24px;
            display: flex;
            flex-direction: column;
            position: relative;
            font-family: 'Inter', sans-serif;
            min-height: 0;
        }

        .details-body {
            display: flex;
            flex-direction: column;
            gap: 16px;
            flex-grow: 1;
            overflow: hidden;
            min-height: 0;
            max-height: 100%;
        }

        h2#m-title {
            font-size: 2.2rem;
            font-weight: 800;
            color: #111;
            line-height: 1.1;
            margin-top: 15px;
            margin-bottom: 12px;
            letter-spacing: -1px;
        }

        .subtitle-modal {
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 1px;
            color: var(--primary-color);
            text-transform: uppercase;
            display: block;
            margin-bottom: 14px;
        }

        .desc-text {
            font-size: 0.95rem;
            line-height: 1.6;
            color: #666;
            font-weight: 400;
            max-width: 100%;
            flex: 1 1 auto;
            min-height: 120px;
            overflow-y: auto;
            padding-right: 8px;
            margin-bottom: 0;
            scrollbar-width: thin;
            scrollbar-color: #d0d0d0 transparent;
        }
        .desc-text::-webkit-scrollbar {
            width: 6px;
        }
        .desc-text::-webkit-scrollbar-track {
            background: transparent;
        }
        .desc-text::-webkit-scrollbar-thumb {
            background-color: #d0d0d0;
            border-radius: 999px;
        }
        .desc-text::-webkit-scrollbar-thumb:hover {
            background-color: var(--primary-color);
        }
        .desc-text p {
            margin-bottom: 12px;
        }
        .desc-text ul,
        .desc-text ol {
            margin: 10px 0 14px;
            padding-left: 1.2rem;
            list-style-position: outside;
        }
        .desc-text li {
            margin-bottom: 8px;
        }
        .desc-text p:last-child,
        .desc-text li:last-child {
            margin-bottom: 0;
        }

        .meta-side {
            order: 2;
            display: flex;
            gap: 32px;
            margin-top: 8px;
            margin-bottom: 20px;
            flex-shrink: 0;
        }

        .meta-group {
            display: flex;
            flex-direction: column;
        }

        #credits-wrapper {
            flex: 1 1 100%;
        }
        .meta-label {
            font-size: 0.7rem;
            font-weight: 700;
            color: #999;
            text-transform: uppercase;
            margin-bottom: 6px;
            display: block;
            letter-spacing: 0.5px;
        }

        .meta-value {
            font-size: 0.9rem;
            color: #111;
            font-weight: 700;
        }

        .close-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            border: none;
            background: none;
            font-size: 1.5rem;
            color: #111;
            cursor: pointer;
            transition: 0.2s;
            z-index: 100;
        }

        .close-btn:hover {
            color: #2563eb;
            transform: scale(1.1);
        }

        .expand-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            border: none;
            background: rgba(255, 255, 255, 0.7);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 25;
            font-size: 1.2rem;
            color: #333;
            transition: 0.3s;
        }

        .expand-btn:hover {
            background: #fff;
            color: var(--primary-color);
        }

        .modal-footer {
            border-top: 1px solid #eee;
            padding-top: 25px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-shrink: 0;
        }

        .nav-btn {
    background: none;
    border: none;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    cursor: pointer;
    color: #111; /* Dark text for desktop */
    text-transform: uppercase;
    transition: color 0.3s ease;
    
    /* Flexbox to align SVG and Text */
    display: flex;
    align-items: center;
    gap: 12px; 
    padding: 10px 0;
}

        .nav-btn:hover {
            color: var(--primary-color);
        }
        /* Fix SVG Icon Size & Animation */
.nav-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

/* Hover Animations for Arrows */
.nav-btn:hover svg {
    color: var(--primary-color);
}

/* Slide Left Arrow on Hover */
#footPrev:hover svg {
    transform: translateX(-5px);
}

/* Slide Right Arrow on Hover */
#footNext:hover svg {
    transform: translateX(5px);
}
        .nav-btn.disabled {
            opacity: 0.3;
            pointer-events: none;
            cursor: default;
        }

        .swipe-hint {
            display: none;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: rgba(255, 255, 255, 0.7);
            font-size: 2rem;
            z-index: 10;
            cursor: pointer;
            transition: opacity 0.3s ease;
            pointer-events: auto;
        }

        .swipe-left {
            left: 10px;
        }

        .swipe-right {
            right: 10px;
        }

        .mobile-img-counter {
            display: none;
            position: absolute;
            bottom: 20px;
            right: 20px;
            background: rgba(0, 0, 0, 0.6);
            color: #fff;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            z-index: 20;
            pointer-events: none;
        }

        /* Fullscreen Zoom (Updated for Video) */
        .fullscreen-zoom-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.95);
            z-index: 4000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: 0.3s ease;
        }

        .fullscreen-zoom-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .fullscreen-zoom-overlay img,
        .fullscreen-zoom-overlay video {
            max-width: 95%;
            max-height: 95vh;
            object-fit: contain;
            transform: scale(1);
            transition: transform 0.1s ease, filter 0.25s ease, opacity 0.25s ease;
            cursor: default !important;
        }

        #zoom-img.is-loading {
            filter: blur(14px);
            opacity: 0.45;
        }

        #zoom-img {
            touch-action: none;
        }

        #zoom-img.zoom-pan-ready {
            cursor: grab !important;
        }

        #zoom-img.zoom-panning {
            cursor: grabbing !important;
            user-select: none;
        }

        .zoom-loading {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            z-index: 4002;
            transition: opacity 0.2s ease;
        }

        .zoom-loading.active {
            opacity: 1;
        }

        .zoom-spinner {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            border: 3px solid rgba(255, 255, 255, 0.25);
            border-top-color: #fff;
            animation: zoomSpinnerSpin 0.8s linear infinite;
        }

        @keyframes zoomSpinnerSpin {
            to {
                transform: rotate(360deg);
            }
        }

        .zoom-mini-map {
            position: absolute;
            left: 30px;
            bottom: 30px;
            width: 170px;
            height: 110px;
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.35);
            background: rgba(0, 0, 0, 0.45);
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
            z-index: 4002;
            opacity: 0;
            transform: translateY(8px);
            transition: opacity 0.2s ease, transform 0.2s ease;
            pointer-events: none;
        }

        .zoom-mini-map.active {
            opacity: 1;
            transform: translateY(0);
        }

        .zoom-mini-image {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
            opacity: 0.85;
        }

        .zoom-mini-viewport {
            position: absolute;
            border: 2px solid #fff;
            border-radius: 6px;
            box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.2);
            background: rgba(255, 255, 255, 0.06);
            pointer-events: none;
        }

        .zoom-close-btn {
            position: absolute;
            top: 30px;
            right: 30px;
            color: #fff;
            font-size: 1.35rem;
            width: 42px;
            height: 42px;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.35);
            background: rgba(0, 0, 0, 0.45);
            cursor: pointer;
            z-index: 4001;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
            transition: background 0.2s ease, transform 0.18s ease;
        }

        .zoom-close-btn:hover {
            background: rgba(255, 255, 255, 0.14);
            transform: translateY(-1px);
        }

        .zoom-reset-btn {
            position: absolute;
            top: 30px;
            right: 80px;
            width: 42px;
            height: 42px;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.35);
            background: rgba(0, 0, 0, 0.45);
            color: #fff;
            cursor: pointer;
            z-index: 4001;
            opacity: 0;
            pointer-events: none;
            transform: translateY(-4px);
            transition: opacity 0.18s ease, transform 0.18s ease, background 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .zoom-reset-btn.active {
            opacity: 1;
            pointer-events: auto;
            transform: translateY(0);
        }

        .zoom-reset-btn:hover {
            background: rgba(255, 255, 255, 0.14);
        }

        .zoom-reset-icon {
            width: 20px;
            height: 20px;
            display: block;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .zoom-reset-btn::after {
            content: attr(data-tooltip);
            position: absolute;
            top: calc(100% + 8px);
            left: 50%;
            transform: translateX(-50%);
            white-space: nowrap;
            background: rgba(0, 0, 0, 0.82);
            color: #fff;
            font-size: 0.7rem;
            font-weight: 600;
            padding: 6px 8px;
            border-radius: 6px;
            border: 1px solid rgba(255, 255, 255, 0.16);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.15s ease, transform 0.15s ease;
        }

        .zoom-reset-btn:hover::after,
        .zoom-reset-btn:focus-visible::after {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        .zoom-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            cursor: pointer;
            z-index: 4001;
            transition: 0.3s;
            pointer-events: auto;
        }

        .zoom-arrow:hover {
            background: #fff;
            color: #000;
        }

        .zoom-left {
            left: 30px;
        }

        .zoom-right {
            right: 30px;
        }

        @media (max-width: 768px) {
            .zoom-mini-map {
                width: 132px;
                height: 86px;
                left: 16px;
                bottom: 16px;
            }

            .zoom-reset-btn {
                top: 32px;
                right: 74px;
                width: 38px;
                height: 38px;
            }

            .zoom-reset-icon {
                width: 18px;
                height: 18px;
            }

            .zoom-reset-btn::after {
                display: none;
            }
        }
        /* =========================================
            SKELETON LOADING & IMAGE REVEAL
        ========================================= */

        /* The shimmering animation */
        @keyframes skeleton-shimmer {
            100% { transform: translateX(100%); }
        }

        .skeleton {
            background: #dbdbdb;
        }

        .item.skeleton:hover {
            transform: scale(1);
        }

        .thumb-skeleton {
            position: absolute;
            inset: 0;
            z-index: 4;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            gap: 10px;
            padding: 18px 18px 22px 18px;
            background: linear-gradient(180deg, #e1e1e1 0%, #d7d7d7 100%);
            pointer-events: none;
            opacity: 1;
            transition: opacity 0.22s ease;
            overflow: hidden;
        }

        .thumb-skeleton::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 60%;
            height: 100%;
            transform: translateX(-120%);
            background: linear-gradient(
                100deg,
                rgba(255, 255, 255, 0) 20%,
                rgba(255, 255, 255, 0.45) 50%,
                rgba(255, 255, 255, 0) 80%
            );
            animation: skeleton-shimmer 1.2s ease-in-out infinite;
        }

        .thumb-skeleton-pill,
        .thumb-skeleton-title,
        .thumb-skeleton-meta {
            display: block;
            position: relative;
            z-index: 1;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.58);
        }

        .thumb-skeleton-pill {
            width: 92px;
            height: 12px;
        }

        .thumb-skeleton-title {
            width: min(78%, 300px);
            height: 16px;
            border-radius: 8px;
        }

        .thumb-skeleton-meta {
            width: min(46%, 180px);
            height: 12px;
        }

        .thumb-skeleton.is-hidden {
            opacity: 0;
        }

        .item.skeleton .overlay-content,
        .item.skeleton.has-gallery::before {
            opacity: 0 !important;
            pointer-events: none;
        }

        /* Image State: Loading (Hidden) */
        .img-loading {
            opacity: 0;
            filter: blur(16px);
            transform: scale(1.05);
            transition: opacity 0.6s ease-out, filter 0.85s ease-out, transform 0.85s ease-out;
            will-change: opacity, filter, transform;
        }

        /* Image State: Loaded (Visible + Sharp) */
        .img-loaded {
            opacity: 1;
            filter: blur(0);
            transform: scale(1);
        }
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            to {
                opacity: 1;
            }
        }

        @keyframes scrollDown {
            0% {
                transform: translateY(-100%);
            }

            100% {
                transform: translateY(100%);
            }
        }

        @media (max-width: 1024px) {

            .hero h1,
            .hero-outline-text {
                font-size: 8rem;
            }

            .hero {
                padding: 0 40px;
            }
        }

        @media (max-width: 1200px) and (min-width: 969px) {
            .works-container {
                flex-direction: column;
                gap: 24px;
                padding: 0 clamp(20px, 4vw, 32px);
            }

            .filter-sidebar {
                width: 100%;
                position: static;
                height: auto;
                padding-bottom: 16px;
                border-bottom: 1px solid rgba(0, 0, 0, 0.06);
            }

            .works-header {
                margin-bottom: 18px;
            }

            .filter-list {
                flex-direction: row;
                flex-wrap: wrap;
                gap: 10px;
            }

            .filter-item {
                background: #f4f4f4;
                border: 1px solid transparent;
                border-radius: 999px;
                padding: 8px 14px;
                letter-spacing: 1px;
                font-size: 0.78rem;
            }

            .filter-item.active {
                transform: none;
                color: #fff;
                background: var(--primary-color);
                border-color: var(--primary-color);
            }

            .filter-item.active::before {
                display: none;
            }

            .sidebar-cta {
                display: none;
            }

            .gallery-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                grid-auto-rows: clamp(240px, 30vw, 320px);
                min-height: auto;
            }

            .main-section {
                grid-template-columns: 1fr;
                align-items: stretch;
                gap: 46px;
                min-height: auto;
            }

            .text-content {
                max-width: 100%;
                position: relative;
                top: auto;
                padding-top: 24px;
            }

            .stats-row {
                gap: 18px;
            }

            .image-gallery {
                width: 100%;
                grid-template-rows: clamp(210px, 26vw, 260px) clamp(230px, 30vw, 300px);
            }

            
            .img-1,
            .img-4 {
                transform: none;
                height: 100%;
            }

            .software-section {
                margin-bottom: 78px;
            }

            .specializations-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .knowledge-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (min-width: 1280px) {
            .gallery-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        @media (min-width: 969px) {
            .details-body {
                flex-direction: column;
                /* Stack them vertically on the right side */
            }

            .text-side {
                order: 1;
                /* Forces description to top */
                border-bottom: 1px solid #eee;
            }

            .meta-side {
                order: 2;
                /* Forces meta to bottom */
            }
        }

       @media (max-width: 968px) {

    /* =========================================
       1. CORE SYSTEM RESETS
       ========================================= */
    .cursor-dot,
    .cursor-outline { display: none !important; }
    html, body, *, button, input, textarea, a { cursor: auto !important; }
    .desktop-nav, .social-sidebar, .sidebar-cta, .expand-btn, .thumb-container { display: none !important; }
    .mobile-toggle { display: flex; }

    /* =========================================
       2. HERO SECTION
       ========================================= */
    .hero { height: 100dvh; padding: 0 20px; flex-direction: column; justify-content: center; }
    .hero h1, .hero-outline-text { font-size: 4.5rem; }
    .hero-subtitle-box { flex-direction: column; gap: 15px; align-items: center; text-align: center; margin-top: 20px; border-top-color: rgba(255, 255, 255, 0.2); }
    .hero-subtitle-box p { text-align: center; margin: 0 auto; font-size: 0.85rem; }
    .hero-tags { text-align: center; margin: 0 auto; font-size: 0.7rem; }
    .scroll-indicator-modern { bottom: 10vh; left: 0; width: 100%; transform: none; display: flex; justify-content: center; }

    /* =========================================
       3. WORKS & FILTER BAR
       ========================================= */
    .works-container { flex-direction: column; gap: 16px; padding: 0 16px; }
    .filter-sidebar { width: 100%; position: sticky; top: 0; height: auto; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 900; padding: 10px 0; margin: 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
    .filter-list { display: flex; flex-direction: row; overflow-x: auto; white-space: nowrap; gap: 10px; padding: 5px 10px; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0; box-shadow: none; background: transparent; border: none; }
    .filter-list::-webkit-scrollbar { display: none; }
    .filter-item { margin: 0; background: #f0f0f0; padding: 8px 16px; border-radius: 50px; font-size: 0.75rem; color: #555; border: 1px solid transparent; flex-shrink: 0; transform: none !important; }
    .filter-item.active { color: #fff; background: var(--primary-color); box-shadow: 0 4px 10px rgba(197, 160, 112, 0.3); font-weight: 700; border-color: var(--primary-color); }
    .filter-item.active::before { display: none; }
    .works-header {
        display: block;
        margin: 0;
        padding: 4px 10px 8px;
    }
    .works-header h2 {
        font-size: 1.9rem;
        margin-bottom: 4px;
        line-height: 1;
    }
    .works-header .work-slogan {
        font-size: 0.8rem;
        line-height: 1.35;
    }
    .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: clamp(250px, 68vw, 340px); gap: 16px; }
    .item { overflow: hidden; min-height: clamp(250px, 68vw, 340px); border-radius: 16px; }
    .item.wide, .item.tall { grid-column: span 1; grid-row: span 1; }
    .item::after { opacity: 1 !important; background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%) !important; }
    .item img { object-position: center; }
    .thumb-skeleton { padding: 16px; gap: 8px; }
    .overlay-content { opacity: 1 !important; transform: translateY(0) !important; bottom: 16px; left: 16px; right: 16px; }
    .overlay-meta { gap: 8px; margin-bottom: 10px; }
    .overlay-cat { font-size: 0.64rem; letter-spacing: 1.2px; }
    .overlay-date { font-size: 0.58rem; padding: 3px 8px; }
    .overlay-title {
        font-size: clamp(1.08rem, 4.6vw, 1.42rem);
        line-height: 1.18;
        max-width: 100%;
        overflow: hidden;
        overflow-wrap: anywhere;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    /* =========================================
       4. ABOUT, TIMELINE, CONTACT
       ========================================= */
    .main-section {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 34px;
        min-height: auto;
        padding: 0;
        border-radius: 0;
    }
    .text-content {
        position: relative;
        top: auto;
        padding-top: 28px;
    }
    .main-section .text-content::before {
        top: -12px;
        color: rgba(0, 0, 0, 0.045);
        font-size: clamp(3.4rem, 18vw, 6rem);
    }
    h1.gold-title { font-size: clamp(2.45rem, 13vw, 3.7rem); }
    .stats-row { grid-template-columns: 1fr 1fr; border-top-color: rgba(0,0,0,0.1); border-bottom-color: rgba(0,0,0,0.1); gap: 0; margin-bottom: 28px; }
    .stat-item { min-height: 94px; padding: 14px 0; }
    .stat-item + .stat-item { border-left-color: rgba(0,0,0,0.1); padding-left: 14px; }
    .stat-item h3 { font-size: 2rem; }
    .stat-item span { font-size: 0.62rem; }
    .image-gallery { width: 100%; grid-template-rows: 200px 200px; }
    .img-1, .img-4 { transform: none; height: 100%; }
    .img-2 { grid-column: 2; grid-row: 1 / span 2; }
    .img-3 { grid-column: 1; grid-row: 2; }
    .img-4 { display: none; }
    .software-section { padding: 24px 0; gap: 18px; border-radius: 0; }
    .software-logo img { height: 34px; }
    .timeline-wrapper { padding: 0 10px; }
    .timeline-row, .timeline-row.reverse { flex-direction: column; align-items: flex-start; margin-bottom: 40px; padding-left: 30px; }
    .timeline-row::after { left: 9px; transform: none; top: 5px; height: calc(100% + 50px); }
    .timeline-dot { position: absolute; left: 0; top: 0; margin-top: 5px; width: 20px; height: 20px; }
    .timeline-time { width: 100%; text-align: left !important; padding: 0; margin-bottom: 15px; order: 0 !important; }
    .timeline-content { width: 100%; margin: 0; text-align: left !important; padding: 25px; order: 1 !important; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); border-left: 4px solid var(--primary-color); }
    .specializations-wrapper {
        border-radius: 14px;
        padding: 30px 18px;
        margin-bottom: 44px;
    }
    .specializations-header {
        text-align: left;
        margin-bottom: 26px;
    }
    .specializations-header h2 {
        font-size: 2rem;
    }
    .specializations-grid {
        grid-template-columns: 1fr;
    }
	    .specialization-card {
	        padding: 24px 18px 20px 18px;
	    }
			    .knowledge-wrapper {
			        height: auto;
			        min-height: auto !important;
			        margin-bottom: 0;
			        background:
			            linear-gradient(90deg, rgba(7, 7, 7, 0.95), rgba(7, 7, 7, 0.58) 54%, rgba(7, 7, 7, 0.9)),
			            url('https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1600&q=78') center / cover;
			    }
				    .knowledge-sticky {
				        min-height: auto;
			        padding: 36px 0 24px;
			        gap: 12px;
			        position: relative;
			        top: auto;
			    }
		    .knowledge-header {
		        padding: 0 18px;
		        max-width: none;
		    }
		    .knowledge-header h2 {
		        font-size: 2rem;
		        max-width: 100%;
		        margin: 10px 0 12px;
		        line-height: 1.12;
		    }
		    .knowledge-header p {
		        font-size: 0.9rem;
		        line-height: 1.55;
		        max-width: 92%;
		    }
				    .services-swiper {
			        overflow: visible;
			        height: min(430px, 72dvh);
			        min-height: 0;
			        padding: 0 16px 42px;
			    }
	    .knowledge-grid {
	        height: 100%;
	        padding-bottom: 26px;
	    }
				    .knowledge-card {
				        width: 84vw;
			        max-width: 430px;
			        height: 100%;
		        min-height: 0;
		        grid-template-columns: 1fr;
		        grid-template-rows: auto minmax(0, 1fr);
		        gap: 10px;
		        padding: 10px;
		        border-radius: 14px;
		    }
	    .knowledge-card::before,
	    .knowledge-card.service-light::before {
	        background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 42%);
	    }
	    .knowledge-card::after {
	        display: none;
	    }
	    .knowledge-card.service-light::before {
	        background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 42%);
	    }
				    .service-copy {
		        min-height: auto;
		        padding: 12px 10px 0;
		        grid-row: 1;
		        grid-column: 1;
		        justify-content: flex-start;
		    }
			    .service-kicker {
		        margin-bottom: 9px;
		        font-size: 0.64rem;
		    }
		    .service-tags {
		        gap: 6px;
		        margin-bottom: 10px;
		    }
		    .service-tags span {
		        min-height: 22px;
		        padding: 5px 8px;
		        font-size: 0.58rem;
		        letter-spacing: 0.5px;
		    }
			    .service-visual {
		        grid-row: 2;
		        grid-column: 1;
		        min-height: 0;
		        aspect-ratio: auto;
		        border-radius: 10px;
		    }
		    .service-visual::before {
		        inset: -2px 0 auto 0;
		        width: auto;
		        height: 42%;
		        background: linear-gradient(180deg, #050505 0%, rgba(5, 5, 5, 0.86) 22%, rgba(5, 5, 5, 0.45) 56%, transparent 100%);
		    }
		    .service-visual img {
		        width: 100%;
		        height: calc(100% + 4px);
		        margin-top: -2px;
		        margin-left: 0;
		    }
		    .knowledge-card h3 {
		        font-size: clamp(1.2rem, 6.2vw, 1.72rem);
		        margin-bottom: 9px;
		    }
		    .knowledge-card p {
		        font-size: 0.74rem;
		        line-height: 1.3;
		    }
		    .service-stats {
		        display: none;
		    }
	    .service-stats span {
	        font-size: 0.72rem;
	    }
	    .service-stats strong {
	        font-size: 1.3rem;
	        margin-bottom: 5px;
	    }
		    .services-scrollbar {
		        left: 50% !important;
		        right: auto !important;
		        bottom: 12px !important;
		        width: min(72vw, 330px) !important;
		        height: 22px !important;
		    }
		    .services-scrollbar::before {
		        height: 3px;
		        background: rgba(255, 255, 255, 0.38);
		    }
		    .services-scrollbar .swiper-scrollbar-drag {
		        height: 5px;
		        margin-top: -2.5px;
		        box-shadow: 0 0 16px rgba(255, 255, 255, 0.4);
		    }
	    .contact-container { flex-direction: column; gap: 40px; padding: 0 20px; }
    .contact-wrapper::before { font-size: 5rem; top: 30px; left: 10px; opacity: 0.1; }
    .contact-left h2 { font-size: 2.5rem; }
    .contact-right { padding: 30px; }

    /* =========================================
       5. MODAL (SPLIT VIEW & STICKY FOOTER)
       ========================================= */
    .modal-overlay { padding: 0; align-items: flex-end; }
    .modal-container { width: 100%; height: 100%; max-height: 100dvh; border-radius: 0; flex-direction: column; background: #fff; }

    /* TOP HALF: IMAGE */
    .modal-visual { width: 100%; height: 50%; flex-shrink: 0; background: #111; position: relative; }
    .close-btn { position: absolute; top: 20px; right: 20px; color: #fff; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(8px); border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; z-index: 2001; border: 1px solid rgba(255, 255, 255, 0.3); font-size: 1.1rem; }
    .mobile-img-counter { display: none; }

    /* BOTTOM HALF: DETAILS (Sticky Layout) */
    .modal-details { width: 100%; height: 50%; margin-top: -20px; z-index: 10; padding: 0; background: #fff; border-radius: 20px 20px 0 0; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2); }

    /* Drag Handle - FIX: Pushed down further (top: 14px) to avoid image edge glitch */
    .modal-details::before { content: ''; position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 40px; height: 4px; background: #E0E0E0; border-radius: 4px; z-index: 15; }

    /* SCROLLABLE TEXT AREA */
    .details-body { flex-grow: 1; overflow-y: auto; overflow-x: hidden; padding: 35px 18px 14px 18px; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; min-height: 0; gap: 14px; }
    .text-side { flex: 0 0 auto; min-height: auto; margin-bottom: 10px; padding-bottom: 12px; border-bottom: 1px solid #eee; }
    h2#m-title { font-size: clamp(1.45rem, 6.2vw, 1.85rem); margin-bottom: 5px; margin-top: 15px; padding-right: 56px; line-height: 1.08; }
    .subtitle-modal { font-size: 0.7rem; color: var(--primary-color); margin-bottom: 15px; }
    .desc-text { font-size: 0.95rem; color: #555; line-height: 1.72; margin-bottom: 8px; max-width: 100%; flex: 0 0 auto; min-height: auto; max-height: none; overflow: visible; overflow-wrap: anywhere; padding: 14px 0 10px; }
    .desc-text p { margin-bottom: 12px; }
    .desc-text ul,
    .desc-text ol { margin: 8px 0 14px; padding-left: 1.1rem; }
    .desc-text li { margin-bottom: 8px; }

    /* FIXED GRID LAYOUT FOR META */
    .meta-side { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 0; margin-bottom: 10px; padding: 0; overflow: visible; flex-shrink: 0; }
    .meta-group { background: #f7f7f7; border: 1px solid #eee; padding: 10px; border-radius: 8px; display: flex; flex-direction: column; justify-content: flex-start; min-height: 0; }
    #credits-wrapper { grid-column: 1 / -1; margin-top: 5px; }
    .meta-label { font-size: 0.65rem; margin-bottom: 6px; color: #999; }
    .meta-value { font-size: 0.85rem; color: #333; }
    #m-date { padding-bottom: 10px; }
    #m-software-icons { display: flex; flex-wrap: nowrap; gap: 8px; margin-top: 4px; min-height: 40px; overflow-x: auto; overflow-y: hidden; padding-bottom: 10px; margin-bottom: 10px; }
    #m-software-icons::-webkit-scrollbar { height: 3px; }
    #m-software-icons .soft-icon-img { height: 18px; opacity: 1; filter: none; }

    /* =========================================
       6. PROFESSIONAL UNIFORM NAVIGATION BUTTONS
       ========================================= */
    .modal-footer {
        flex-shrink: 0;
        background: #fff;
        padding: 15px 25px 25px 25px;
        border-top: 1px solid #eee;
        display: grid;
        grid-template-columns: 1fr 1fr; /* Ensures equal width */
        gap: 15px;
        z-index: 20;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.03);
    }

    .nav-btn {
        background: #111;
        color: #fff;
        border: 1px solid transparent;
        border-radius: 8px;
        padding: 12px 0; /* Slightly reduced padding for sleeker look */
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        transition: all 0.2s ease;
        /* Flex centering ensures uniform height alignment */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Styling for the injected SVG icons */
    .nav-btn svg {
        width: 18px;
        height: 18px;
        display: block;
    }
    
    /* Spacing between text and icon */
    .nav-btn span { margin: 0 8px; }

    .nav-btn:active { transform: scale(0.97); background: #000; }

    .nav-btn.disabled {
        opacity: 0.4;
        box-shadow: none;
        background: #e0e0e0;
        color: #999;
        pointer-events: none;
    }

    /* Removed old CSS pseudo-element arrows */
    #footPrev::before { content: none; }
    #footNext::after { content: none; }
}

@media (max-width: 560px) {
    .gallery-grid { grid-auto-rows: clamp(236px, 74vw, 300px); gap: 14px; }
    .item { min-height: clamp(236px, 74vw, 300px); }
    .overlay-content { bottom: 14px; left: 14px; right: 14px; }
    .overlay-title { font-size: 1.02rem; }
    .details-body { padding: 34px 16px 12px 16px; }
    .desc-text { font-size: 0.92rem; line-height: 1.68; }
    .meta-side { grid-template-columns: 1fr; }
    .modal-footer { padding: 14px 16px 18px 16px; gap: 10px; }
}
