/* ==========================================================================
   0. ADVANCED ENGINE VARIABLES & FLUID RESET
========================================================================== */
:root {
    /* Dynamic Theme Colors (Controlled by GSAP) */
    --bg-dark: #050505;
    --text-main: #F4F4F0;
    
    /* Core Identity Palette */
    --bg-light: #F4F4F0;
    --text-muted: #888888;
    --text-dark: #111111;
    --accent: #D4AF37; /* Architectural Gold */
    --cyan-glow: #00E5FF; /* Neopix Signature */
    --border-light: rgba(244, 244, 240, 0.15);
    --border-dark: rgba(5, 5, 5, 0.15);
    
    /* Typography Systems */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;
    --font-script: 'Kaushan Script', cursive;
    
    /* Mathematical Fluid Typography Scales (Viewport vw based) */
    --text-xs: clamp(0.7rem, 0.5vw, 0.85rem);
    --text-sm: clamp(0.85rem, 0.8vw, 1rem);
    --text-base: clamp(1rem, 1.2vw, 1.25rem);
    --text-lg: clamp(1.3rem, 1.8vw, 1.75rem);
    --text-xl: clamp(2rem, 3vw, 3rem);
    --text-xxl: clamp(3rem, 5vw, 5rem);
    --text-massive: clamp(3.5rem, 8vw, 10rem);
    
    /* Spatial Geometry */
    --pad-section: clamp(6rem, 12vh, 14rem) 5vw;
    --pad-container: 0 5vw;
    
    /* Easing Curves for "Expensive" Feel */
    --ease-luxury: cubic-bezier(0.77, 0, 0.175, 1);
    --ease-snappy: cubic-bezier(0.165, 0.84, 0.44, 1);
    
    /* Z-Index Stratigraphy */
    --z-back: -1;
    --z-normal: 1;
    --z-header: 100;
    --z-menu: 900;
    --z-loader: 1000;
    --z-cursor: 9999;
}

/* Hardware Acceleration & Sub-pixel Smoothing Reset */
* {
    margin: 0; padding: 0; box-sizing: border-box;
    cursor: none; /* Ruthlessly disable default cursor */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html { scroll-behavior: initial; } /* Disabled for Lenis hijack */
html.lenis { height: auto; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
    /* GSAP controlled transition for seamless theme flipping */
    transition: background-color 0.8s var(--ease-luxury), color 0.8s var(--ease-luxury);
}

/* Global Utilities */
a { color: inherit; text-decoration: none; outline: none; }
ul { list-style: none; }
img, svg { max-width: 100%; display: block; }
button { background: none; border: none; color: inherit; outline: none; }

.italic-serif { font-family: var(--font-heading); font-style: italic; font-weight: 400; }
.text-mask { overflow: hidden; display: inline-block; vertical-align: top; }
.magnetic-wrap { display: inline-block; padding: 15px; margin: -15px; } /* Hitbox expansion */
.desktop-only { display: flex; }

.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } 
.mt-3 { margin-top: 3rem; } .mt-4 { margin-top: 4rem; }

/* ==========================================================================
   1. GLOBAL UI (Custom Cursor & Cinematic Grain)
========================================================================== */
.custom-cursor {
    position: fixed; top: 0; left: 0;
    width: 14px; height: 14px;
    background-color: var(--text-main);
    border-radius: 50%;
    pointer-events: none;
    z-index: var(--z-cursor);
    transform: translate(-50%, -50%);
    display: flex; align-items: center; justify-content: center;
    transition: width 0.4s var(--ease-snappy), height 0.4s var(--ease-snappy), 
                background-color 0.4s var(--ease-snappy), border 0.4s var(--ease-snappy);
    will-change: transform, width, height;
}

.custom-cursor .cursor-text {
    font-size: 0.4rem; font-family: var(--font-body); font-weight: 600;
    letter-spacing: 2px; color: var(--bg-dark); text-transform: uppercase;
    opacity: 0; transition: opacity 0.3s ease;
}

/* 4K Noise Texture */
.noise-overlay {
    position: fixed; inset: -50%;
    width: 200%; height: 200%;
    background-image: 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.9" numOctaves="4" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.05; z-index: 8000; pointer-events: none;
    animation: noiseJitter 0.15s infinite;
}

@keyframes noiseJitter {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-2%, -2%); }
    20% { transform: translate(-4%, 2%); }
    30% { transform: translate(2%, -4%); }
    40% { transform: translate(-2%, 6%); }
    50% { transform: translate(-4%, 2%); }
    60% { transform: translate(6%, 0); }
    70% { transform: translate(0, 6%); }
    80% { transform: translate(2%, 8%); }
    90% { transform: translate(-4%, 4%); }
    100% { transform: translate(0, 0); }
}

/* ==========================================================================
   2. CINEMATIC PRELOADER
========================================================================== */
.loader-wrapper {
    position: fixed; inset: 0;
    background-color: #050505; color: #F4F4F0;
    z-index: var(--z-loader);
    display: flex; align-items: center; justify-content: center;
}

.loader-content {
    width: 85vw; max-width: 600px;
    display: flex; flex-direction: column; gap: 3rem;
    position: relative; z-index: 3;
}

.loader-brand-wrapper { overflow: hidden; }
.loader-brand { font-family: var(--font-heading); font-size: var(--text-xxl); line-height: 1; letter-spacing: -2px; }

.loader-data-grid {
    display: grid; grid-template-columns: auto 1fr; gap: 3rem; align-items: center;
    border-top: 1px solid rgba(244,244,240,0.1); border-bottom: 1px solid rgba(244,244,240,0.1);
    padding: 1.5rem 0;
}

.loader-status { display: flex; flex-direction: column; font-family: var(--font-body); font-size: 0.65rem; letter-spacing: 3px; }
.status-label { color: rgba(244,244,240,0.5); margin-bottom: 0.2rem; }
.status-value.blink { color: var(--cyan-glow); animation: blinker 1s linear infinite; font-weight: 600; }
@keyframes blinker { 50% { opacity: 0; } }

.loader-metrics { display: flex; align-items: center; gap: 1.5rem; }
.loading-bar-container { flex-grow: 1; height: 1px; background: rgba(244,244,240,0.15); position: relative; }
.loading-bar-progress { position: absolute; top: -1px; left: 0; height: 3px; width: 0%; background: #F4F4F0; }
.loading-counter { font-family: var(--font-body); font-size: var(--text-lg); font-weight: 400; width: 60px; text-align: right; }

.loader-tagline-wrapper { overflow: hidden; text-align: center; }
.loader-tagline { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 4px; color: var(--text-muted); }

.loader-curtain {
    position: absolute; inset: 0; background-color: #050505;
    z-index: 2; transform-origin: top; transform: scaleY(0);
}

/* ==========================================================================
   3. HEADER & MEGA MENU OVERLAY
========================================================================== */
.site-header {
    position: fixed; top: 0; width: 100%;
    padding: 2rem 5vw; z-index: var(--z-header);
    mix-blend-mode: difference; color: #FFF;
}

.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-size: var(--text-lg); letter-spacing: 1.5px; font-weight: 500; }
.header-right { display: flex; align-items: center; gap: 4rem; }

.availability-status { display: flex; align-items: center; gap: 1rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; }
.status-dot { width: 6px; height: 6px; background-color: #4CAF50; border-radius: 50%; }
.pulse { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); animation: pulseGreen 2s infinite cubic-bezier(0.66, 0, 0, 1); }
@keyframes pulseGreen { to { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); } }

.menu-toggle { display: flex; align-items: center; gap: 1rem; font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; }
.hamburger-box { width: 40px; height: 10px; position: relative; display: flex; flex-direction: column; justify-content: space-between; }
.hamburger-line { width: 100%; height: 1.5px; background-color: currentColor; transition: transform 0.4s var(--ease-snappy); transform-origin: right center; }

/* Mega Menu Layer */
.mega-menu {
    position: fixed; inset: 0; background-color: #050505; color: #F4F4F0;
    z-index: var(--z-menu);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); /* Heavy curtain drop reveal */
    transition: clip-path 1.2s var(--ease-luxury);
    display: flex; align-items: center;
}

.mega-menu.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }

.menu-bg-wrapper { position: absolute; inset: 0; z-index: 1; }
.menu-topo-bg { width: 100%; height: 100%; object-fit: cover; }
.menu-overlay-dark { position: absolute; inset: 0; background: linear-gradient(to right, rgba(5,5,5,0.98) 0%, rgba(5,5,5,0.8) 100%); }

.menu-inner-container { position: relative; z-index: 2; width: 100%; padding: 0 10vw; }
.menu-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 5rem; align-items: end; }

.menu-eyebrow { display: block; font-family: var(--font-body); font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 4px; margin-bottom: 3rem; }

.main-nav-list { display: flex; flex-direction: column; gap: 1.5rem; }
.menu-link {
    font-family: var(--font-heading); font-size: clamp(3rem, 6vw, 7rem); line-height: 0.9;
    display: inline-flex; align-items: flex-start; position: relative; transition: color 0.4s var(--ease-snappy);
}
.menu-link:hover { color: var(--accent); }

.nav-num { font-family: var(--font-body); font-size: var(--text-sm); color: var(--text-muted); margin-right: 3rem; margin-top: 1rem; }
.nav-hover-img {
    position: absolute; right: -250px; top: 50%; transform: translateY(-50%) scale(0.8) rotate(-5deg);
    width: 350px; height: 220px; background-size: cover; background-position: center;
    opacity: 0; pointer-events: none; transition: all 0.6s var(--ease-luxury); z-index: -1; filter: grayscale(100%);
}
.menu-link:hover .nav-hover-img { opacity: 1; transform: translateY(-50%) scale(1) rotate(0deg); filter: grayscale(0%); }

.menu-col-secondary { display: flex; flex-direction: column; justify-content: space-between; gap: 4rem; padding-left: 5rem; border-left: 1px solid rgba(244,244,240,0.1); height: 100%; padding-top: 2rem;}
.contact-links a { display: block; font-size: var(--text-xl); font-family: var(--font-heading); margin-bottom: 1rem; transition: color 0.3s; }
.contact-links a:hover { color: var(--accent); }
.menu-address { font-style: normal; font-size: var(--text-base); line-height: 1.8; color: #CCC; }
.social-links-grid { display: flex; gap: 1.5rem; }
.social-links-grid a { border: 1px solid rgba(244,244,240,0.2); border-radius: 50%; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; transition: background 0.4s, color 0.4s, transform 0.4s; }
.social-links-grid a:hover { background: #F4F4F0; color: #050505; transform: translateY(-5px); }

/* ==========================================================================
   4. EDITORIAL HERO SECTION
========================================================================== */
.hero-editorial {
    position: relative; height: 100vh; width: 100vw;
    display: flex; align-items: center; padding: 0 5vw; overflow: hidden;
}

/* Left Sidebar Pagination */
.hero-side-pagination {
    position: relative; z-index: 2; width: 5vw; display: flex; flex-direction: column; align-items: center; gap: 2rem; margin-right: 2vw;
}

.side-numbers { display: flex; flex-direction: column; gap: 2rem; font-family: var(--font-body); font-size: 0.7rem; color: rgba(244,244,240,0.3); }
.side-numbers li { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; transition: color 0.4s ease; }
.side-numbers li.active { color: #F4F4F0; font-weight: 500; }
.side-numbers li .dot { width: 4px; height: 4px; background: currentColor; border-radius: 50%; opacity: 0; transition: opacity 0.4s ease; }
.side-numbers li.active .dot { opacity: 1; }

.side-line-container { width: 1px; height: 150px; background: rgba(244,244,240,0.15); position: relative; }
.side-line-progress { position: absolute; top: 0; left: 0; width: 100%; height: 25%; background: #F4F4F0; }

/* Center Typography */
.hero-content-center {
    position: relative; z-index: 2; flex-grow: 1; display: flex; flex-direction: column; justify-content: center; margin-top: 5vh;
}

.hero-title-wrapper { margin-bottom: 8vh; }
.indent-right { padding-left: 12vw; }

.hero-massive-text {
    font-family: var(--font-heading); font-size: var(--text-massive); line-height: 0.95; letter-spacing: -2px; font-weight: 400; color: #F4F4F0;
}

.hero-bottom-grid {
    display: grid; grid-template-columns: 1.5fr 1fr; gap: 5rem;
    align-items: end; border-top: 1px solid rgba(244,244,240,0.15); padding-top: 3rem;
}

.hero-description { font-size: var(--text-base); max-width: 500px; color: rgba(244,244,240,0.7); font-weight: 400; line-height: 1.8; }
.hero-scroll-col { display: flex; justify-content: flex-end; }
.scroll-down-indicator { display: flex; align-items: center; gap: 1.5rem; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 3px; color: #F4F4F0; }
.scroll-arrow-svg { animation: bobArrow 2.5s cubic-bezier(0.165, 0.84, 0.44, 1) infinite; }

@keyframes bobArrow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(12px); } }

/* Deep Background Parallax */
.hero-bg-wrapper { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hero-bg-img { width: 100%; height: 130%; object-fit: cover; filter: brightness(0.85); transform-origin: center; will-change: transform; }
.hero-vignette-overlay { position: absolute; inset: 0; z-index: 2; background: radial-gradient(circle at 60% 50%, transparent 20%, rgba(5,5,5,0.8) 100%); }
.hero-gradient-bottom { position: absolute; bottom: 0; left: 0; width: 100%; height: 50vh; z-index: 2; background: linear-gradient(to top, #050505 0%, transparent 100%); }

/* ==========================================================================
   5. THE STUDIO COMPOSITION (ABOUT)
========================================================================== */
.studio-editorial {
    position: relative;
    padding: var(--pad-section);
    overflow: hidden; /* Contains the massive watermarks */
}

/* Giant Background Watermark */
.watermark-wrapper {
    position: absolute;
    top: 5%; left: -5%;
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
    user-select: none;
}

.watermark-text {
    font-family: var(--font-heading);
    font-size: clamp(10rem, 25vw, 30rem);
    line-height: 0.8;
    color: rgba(5, 5, 5, 0.03); /* Barely visible, deeply embedded in the background */
    font-weight: 600;
}

.section-connector-line {
    width: 1px; height: 120px;
    background-color: var(--border-dark);
    margin: 0 auto 6rem;
    position: relative;
    z-index: 2;
}

.studio-grid {
    display: grid;
    grid-template-columns: 5fr 7fr; /* Asymmetrical 5:7 split */
    gap: 8vw;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left Column: Typography & Nav */
.studio-header { margin-bottom: 4rem; }
.section-title-small {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    letter-spacing: 2px;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.studio-internal-nav {
    display: flex; gap: 2rem;
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: 1rem;
}

.internal-nav-link {
    font-size: 0.75rem;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-muted);
    position: relative;
    padding-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.internal-nav-link.active, .internal-nav-link:hover { color: var(--text-dark); }

.nav-line {
    position: absolute; bottom: -1rem; left: 0;
    width: 100%; height: 2px;
    background-color: var(--text-dark);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-snappy);
}

.internal-nav-link.active .nav-line { transform: scaleX(1); transform-origin: left; }
.internal-nav-link:hover .nav-line { transform: scaleX(1); transform-origin: left; }

.lead-para {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--text-dark);
}

.secondary-para {
    font-size: var(--text-sm);
    line-height: 1.8;
    color: var(--text-muted);
}

/* The Dynamic Button (Fixes Dark/Light Mode Visibility) */
.btn-outline {
    display: inline-flex; align-items: center; gap: 1rem;
    padding: 1rem 2.5rem;
    border: 1px solid var(--text-main); /* Dynamically uses the current text color */
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-main);
    transition: all 0.4s var(--ease-snappy);
    overflow: hidden;
    position: relative;
    background: transparent;
}

.btn-outline::before {
    content: ''; position: absolute; inset: 0;
    background-color: var(--text-main);
    transform: scaleY(0); transform-origin: bottom;
    transition: transform 0.4s var(--ease-snappy);
    z-index: -1;
}

.btn-outline:hover { 
    color: var(--bg-dark); /* Inverts text to the background color */
    border-color: var(--text-main); 
}
.btn-outline:hover::before { transform: scaleY(1); }

/* Right Column: Complex Image Composition (FIXED) */
.composition-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 120%; /* Sets the canvas height */
}

/* CRITICAL FIX: position: absolute added to lock it behind the image */
.dark-accent-box {
    position: absolute;
    top: 10%; right: -5%;
    width: 80%; height: 90%;
    background-color: #111111;
    z-index: 1;
}

.box-inner-border {
    position: absolute; inset: 15px;
    border: 1px solid rgba(244, 244, 240, 0.1);
}

/* CRITICAL FIX: position: absolute added to float over the box */
.primary-img {
    position: absolute;
    top: 0; left: 0;
    width: 85%; height: 85%; /* Massive image size */
    z-index: 2;
    overflow: hidden;
}

.img-scale-wrapper {
    width: 100%; height: 100%;
    transition: transform 0.8s var(--ease-luxury);
}

.primary-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.8s var(--ease-luxury), transform 0.8s var(--ease-luxury);
}

.img-overlay-tint {
    position: absolute; inset: 0;
    background-color: rgba(212, 175, 55, 0.05);
    mix-blend-mode: multiply;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.primary-img:hover .img-scale-wrapper { transform: scale(1.05); }
.primary-img:hover img { filter: grayscale(0%); }
.primary-img:hover .img-overlay-tint { opacity: 0; }

/* Rotating SVG Badge */
.rotating-badge-wrapper {
    position: absolute; /* CRITICAL FIX */
    bottom: -5%; left: -10%;
    width: 200px; height: 200px;
    z-index: 3;
    animation: spinBadge 20s linear infinite;
    pointer-events: none;
}

@keyframes spinBadge {
    100% { transform: rotate(360deg); }
}

/* Mobile Fix for Studio Grid */
@media (max-width: 1024px) {
    .studio-grid { grid-template-columns: 1fr; gap: 5rem; }
    .dark-accent-box { width: 100%; right: 0; height: 100%; top: 5%; }
    .primary-img { width: 100%; height: 100%; position: relative; }
    .composition-wrapper { padding-bottom: 0; height: 60vh; }
    .rotating-badge-wrapper { bottom: -10%; left: -5%; width: 150px; height: 150px; }
}
/* ==========================================================================
   6. INFINITE TYPOGRAPHY MARQUEE
========================================================================== */
.marquee-section {
    padding: 3rem 0;
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
    overflow: hidden;
    background-color: var(--bg-light);
}

.marquee-container {
    width: 100vw;
    display: flex;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marqueeScroll 30s linear infinite;
    will-change: transform;
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--text-dark);
    padding: 0 4rem;
    display: flex;
    align-items: center;
}

.marquee-item .separator {
    color: var(--accent);
    font-size: 1.5rem;
    margin-left: 4rem;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Moves exactly half the track width */
}

/* ==========================================================================
   7. DOMAINS (THE 3-COLUMN VIDEO LAYOUT)
========================================================================== */
.domains-editorial {
    height: 100vh; width: 100vw;
    display: flex;
    border-top: 1px solid var(--border-light);
}

.domains-grid {
    display: flex;
    width: 100%; height: 100%;
}

.domain-col {
    flex: 1; /* All columns start equal */
    position: relative;
    overflow: hidden;
    border-right: 1px solid rgba(244, 244, 240, 0.1);
    display: flex;
    align-items: flex-end;
    padding: 4rem 3vw;
    /* This is the magic flex-grow transition */
    transition: flex 0.8s var(--ease-luxury), background 0.4s ease;
    text-decoration: none;
}

.domain-col:last-child { border-right: none; }

/* The hover expansion */
.domains-grid:hover .domain-col {
    flex: 0.8; /* Shrink non-hovered columns slightly */
}
.domains-grid .domain-col:hover {
    flex: 1.6; /* Expand hovered column */
}

.domain-img-wrapper {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.domain-bg {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.4);
    transform: scale(1.1); /* Start slightly zoomed in */
    transition: filter 0.8s var(--ease-luxury), transform 0.8s var(--ease-luxury);
}

.domain-col:hover .domain-bg {
    filter: grayscale(0%) brightness(0.8);
    transform: scale(1); /* Zoom out on hover to reveal more */
}

.domain-overlay-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(5,5,5,0.9) 0%, transparent 60%);
    z-index: 2;
    opacity: 0.8;
    transition: opacity 0.5s ease;
}

.domain-col:hover .domain-overlay-gradient { opacity: 1; }

.domain-content {
    position: relative; z-index: 3;
    width: 100%;
}

.domain-title {
    font-family: var(--font-heading);
    font-size: var(--text-xxl);
    font-weight: 400;
    color: #F4F4F0;
    transition: transform 0.6s var(--ease-luxury), color 0.4s ease;
    transform-origin: left bottom;
}

.domain-hidden-details {
    margin-top: 1.5rem;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.6s var(--ease-luxury);
}

.domain-hidden-details p {
    font-size: var(--text-sm);
    color: rgba(244, 244, 240, 0.7);
    margin-bottom: 1.5rem;
    max-width: 350px;
}

.explore-text {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px;
    color: var(--accent); font-weight: 600;
}

.domain-col:hover .domain-title {
    transform: translateY(-10px) scale(1);
    color: #FFF;
}

.domain-col:hover .domain-hidden-details {
    height: 100px;
    opacity: 1;
}

/* ==========================================================================
   8. WHY US (THE MANIFESTO WATERMARK SECTION)
========================================================================== */
.why-us-editorial {
    position: relative;
    padding: var(--pad-section);
    display: flex; align-items: center; justify-content: center;
    min-height: 80vh;
    overflow: hidden;
}

.watermark-wrapper-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    pointer-events: none;
    z-index: 0;
}

.watermark-text-massive {
    font-family: var(--font-heading);
    font-size: clamp(12rem, 30vw, 40rem);
    line-height: 1;
    color: rgba(5, 5, 5, 0.03);
    white-space: nowrap;
}

.spacer { display: inline-block; width: 10vw; }

.manifesto-content-box {
    position: relative; z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.manifesto-heading {
    font-family: var(--font-heading);
    font-size: var(--text-xxl);
    color: var(--text-dark);
}

.accent-italic {
    font-style: italic; color: var(--text-muted);
}

.manifesto-subtext {
    font-size: var(--text-lg);
    line-height: 1.6;
    color: var(--text-dark);
}

.hindi-text { font-family: sans-serif; font-size: 1.1em; color: var(--accent); }

.manifesto-values-list {
    display: flex; flex-direction: column; gap: 1.5rem;
    text-align: left;
    max-width: 450px; margin: 4rem auto 0;
    border-left: 1px solid var(--border-dark);
    padding-left: 3rem;
}

.value-item {
    display: flex; align-items: center; gap: 1rem;
    font-size: var(--text-base); font-weight: 500;
    color: var(--text-dark);
}

.value-dot {
    width: 6px; height: 6px; background-color: var(--accent); border-radius: 50%;
}

/* ==========================================================================
   9. GLIMPSES (TIGHT, OVERLAPPING EDITORIAL GRID)
========================================================================== */
.glimpses-editorial {
    padding: var(--pad-section);
    overflow: hidden;
    position: relative;
}

.glimpses-header { margin-bottom: 4rem; align-items: flex-end; }
.glimpses-subtext { text-align: right; max-width: 350px; font-size: var(--text-sm); color: var(--text-muted); }

/* Ultra-Tight 12-Column Grid */


/* Jaw-Dropping Grid Items */
.grid-item { 
    position: relative; 
    overflow: hidden; 
    will-change: transform;
}

/* Inner wrapper for the clip-path inset effect */
.image-reveal-mask {
    width: 100%; height: 100%;
    clip-path: inset(0% 0% 0% 0%);
    transition: clip-path 0.8s var(--ease-luxury);
}

.grid-item img { 
    width: 100%; height: 100%; 
    object-fit: cover; 
    filter: brightness(0.9);
    transition: transform 1.2s var(--ease-luxury), filter 0.8s ease; 
}

/* The Hover Physics */
.grid-item:hover .image-reveal-mask { 
    clip-path: inset(2% 2% 2% 2%); /* Creates a physical frame effect on hover */
}
.grid-item:hover img { 
    transform: scale(1.08); 
    filter: brightness(1.1);
}

/* Glassmorphism Slide-Up Bar */
.item-overlay-glass {
    position: absolute; 
    bottom: 0; left: 0; width: 100%; 
    padding: 1.5rem;
    background: rgba(5, 5, 5, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.1);
    transform: translateY(100%);
    transition: transform 0.6s var(--ease-luxury);
    display: flex; justify-content: space-between; align-items: center;
}

.grid-item:hover .item-overlay-glass { 
    transform: translateY(0); 
}

.view-text {
    color: #FFF; font-family: var(--font-body); text-transform: uppercase;
    letter-spacing: 3px; font-size: 0.7rem; font-weight: 600;
    display: flex; align-items: center; gap: 0.8rem;
}

.view-text svg {
    transition: transform 0.4s var(--ease-snappy);
}

.grid-item:hover .view-text svg {
    transform: translate(5px, -5px);
}

/* Extreme Asymmetry & Overlap Placements 
   Using negative margins to pull them together
*/
.grid-item.standard { grid-column: span 5; aspect-ratio: 4/5; z-index: 2; }
.grid-item.tall { grid-column: span 7; aspect-ratio: 3/4; z-index: 1; margin-left: -5%; }
.grid-item.wide { grid-column: span 8; aspect-ratio: 16/9; z-index: 2; margin-top: -10%; }
.grid-item.offset-up { grid-column: span 4; margin-top: -25%; margin-left: -10%; aspect-ratio: 1/1; z-index: 3; box-shadow: 0 30px 60px rgba(0,0,0,0.3); }

/* ==========================================================================
   10. TESTIMONIALS (WATERMARK SLIDER)
========================================================================== */
.testimonials-editorial {
    padding: var(--pad-section);
    display: flex; align-items: center; justify-content: center;
    min-height: 90vh;
    position: relative;
    overflow: hidden;
}

/* Massive Watermark Quote behind the text */
.watermark-quote {
    position: absolute;
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: clamp(15rem, 40vw, 50rem);
    color: rgba(244, 244, 240, 0.03);
    line-height: 0;
    pointer-events: none;
    z-index: 0;
}

.testimonial-header { margin-bottom: 5rem; position: relative; z-index: 2; }
.testimonial-card-wrapper { max-width: 900px; margin: 0 auto; position: relative; z-index: 2; }

.testimonial-body-text {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.4; text-align: center; font-weight: 400; color: var(--text-main);
}

.client-info-bottom { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 4rem;}
.client-avatar-circle { width: 70px; height: 70px; border-radius: 50%; overflow: hidden; border: 1px solid rgba(244,244,240,0.2); }
.client-avatar-circle img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); }
.client-details { text-align: left; }
.client-name-bold { font-family: var(--font-body); font-size: 1.1rem; font-weight: 600; letter-spacing: 1px; color: var(--text-main); }
.client-project-name { font-size: 0.75rem; color: var(--accent); text-transform: uppercase; letter-spacing: 2px; }

/* Glowing Pagination Dots */
.slider-pagination { display: flex; justify-content: center; gap: 1.5rem; margin-top: 6rem; position: relative; z-index: 2; }
.slider-pagination .dot { 
    width: 8px; height: 8px; border-radius: 50%; 
    background: rgba(244,244,240,0.2); 
    transition: all 0.4s var(--ease-snappy); cursor: none;
}
.slider-pagination .dot.active { 
    background: var(--text-main); 
    transform: scale(1.5); 
    box-shadow: 0 0 15px rgba(244, 244, 240, 0.5);
}

/* ==========================================================================
   11. MASSIVE AGENCY FOOTER
========================================================================== */
.site-footer-editorial {
    padding: var(--pad-section);
    border-top: 1px solid var(--border-dark);
}

.footer-cta-block { text-align: center; margin-bottom: 12rem; }
.cta-eyebrow { font-size: var(--text-sm); color: var(--text-muted); margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 3px;}

.massive-cta-link {
    display: inline-flex; align-items: center; gap: 2vw;
    font-family: var(--font-heading); font-size: var(--text-massive);
    color: var(--text-main); border-bottom: 2px solid var(--border-dark); padding-bottom: 1rem;
    transition: color 0.4s var(--ease-snappy), border-color 0.4s ease;
}

.massive-cta-link:hover { color: var(--accent); border-color: var(--accent); }
.cta-arrow { transition: transform 0.6s var(--ease-luxury); }
.massive-cta-link:hover .cta-arrow { transform: translate(20px, -20px) rotate(10deg); }

.footer-main-grid {
    display: grid; grid-template-columns: 3fr 1fr 1fr 1.5fr; gap: 5vw; margin-bottom: 6rem;
}

.footer-logo { font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 600; color: var(--text-main); display: block; }
.footer-desc { font-size: var(--text-sm); color: var(--text-muted); max-width: 85%; margin-top: 1.5rem; line-height: 1.8; }
.footer-label { font-family: var(--font-body); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: rgba(244,244,240,0.4); margin-bottom: 2.5rem; display: block; }

/* Slick Input Interaction */
.email-input-group {
    display: flex; align-items: center; border-bottom: 1px solid rgba(244,244,240,0.2);
    padding-bottom: 0.8rem; transition: border-color 0.4s ease; width: 90%; position: relative;
}

.email-input-group::after {
    content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 1px;
    background-color: var(--text-main); transform: scaleX(0); transform-origin: right;
    transition: transform 0.5s var(--ease-luxury);
}

.email-input-group:focus-within::after { transform: scaleX(1); transform-origin: left; }

.email-input-group input { background: transparent; border: none; color: var(--text-main); font-family: var(--font-body); font-size: 1.1rem; width: 100%; outline: none; }
.email-input-group input::placeholder { color: rgba(244,244,240,0.3); transition: opacity 0.3s; }
.email-input-group input:focus::placeholder { opacity: 0; }

.submit-btn { color: var(--text-main); padding-left: 1rem; transition: color 0.3s, transform 0.4s var(--ease-snappy); cursor: none;}
.submit-btn:hover { color: var(--accent); transform: translateX(8px); }

.footer-links-list { display: flex; flex-direction: column; gap: 1.2rem; }
.footer-links-list a { font-size: 0.95rem; color: var(--text-muted); transition: color 0.3s, transform 0.3s; display: inline-block; }
.footer-links-list a:hover { color: var(--text-main); transform: translateX(5px); }

.footer-address { font-style: normal; font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; }
.footer-contact-details a { display: block; font-size: 1.2rem; color: var(--text-main); transition: color 0.3s; font-family: var(--font-heading); }
.footer-contact-details a:hover { color: var(--accent); }

.footer-bottom-bar {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 2.5rem; border-top: 1px solid var(--border-dark); font-size: 0.8rem; color: var(--text-muted);
}
.legal-links { display: flex; gap: 2.5rem; }
.legal-links a:hover { color: var(--text-main); }

/* JAW-DROPPING NEOPIX SIGNATURE */
.brand-credit {
    font-family: var(--font-script) !important;
    color: var(--cyan-glow) !important;
    font-size: 2rem !important;
    font-weight: 400 !important;
    text-transform: none !important;
    text-decoration: none !important;
    position: relative; display: inline-block;
    transform: translateY(8px); letter-spacing: normal !important;
    transition: text-shadow 0.4s ease, transform 0.4s var(--ease-snappy);
}
.brand-credit:hover { text-shadow: 0 0 20px rgba(0, 229, 255, 0.8); transform: translateY(8px) scale(1.05); }
.brand-credit::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 100%; height: 1px; background-color: var(--cyan-glow);
    transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease-snappy);
}
.brand-credit:hover::after { transform: scaleX(1); transform-origin: left; }

/* ==========================================================================
   12. NATIVE DIALOG MODAL SYSTEM
========================================================================== */
.custom-modal {
    position: fixed; inset: 0; width: 100vw; height: 100vh;
    background: transparent; border: none; z-index: 10000;
    opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease-luxury);
}
.custom-modal[open] { opacity: 1; pointer-events: auto; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5,5,5,0.9); backdrop-filter: blur(15px); }

.modal-content-wrapper {
    position: relative; width: 90vw; max-width: 700px; max-height: 85vh; margin: 7.5vh auto;
    background: var(--bg-light); color: var(--text-dark); border-radius: 2px;
    display: flex; flex-direction: column; box-shadow: 0 40px 80px rgba(0,0,0,0.5);
    transform: translateY(30px); transition: transform 0.5s var(--ease-luxury);
}
.custom-modal[open] .modal-content-wrapper { transform: translateY(0); }

.modal-close-btn {
    position: absolute; top: -3rem; right: 0; color: #F4F4F0;
    display: flex; align-items: center; gap: 0.8rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px;
    transition: color 0.3s, transform 0.3s;
}
.modal-close-btn:hover { color: var(--accent); transform: rotate(90deg); }

.modal-scroll-area { padding: 4rem; overflow-y: auto; overscroll-behavior: contain; }
.modal-heading { font-family: var(--font-heading); font-size: var(--text-xl); margin-bottom: 2rem; font-weight: 400; }

/* ==========================================================================
   13. MOBILE RESPONSIVENESS (FLAWLESS STACKING)
========================================================================== */
@media (max-width: 1024px) {
    .studio-grid { grid-template-columns: 1fr; gap: 5rem; }
    .dark-accent-box { width: 100%; right: 0; height: 100%; }
    .primary-img { width: 100%; }
    
    .domains-grid { flex-direction: column; }
    .domain-col { padding: 6rem 5vw; border-right: none; border-bottom: 1px solid rgba(244,244,240,0.1); flex: none; height: 33.33vh; }
    .domains-grid:hover .domain-col, .domains-grid .domain-col:hover { flex: none; }
    .domain-hidden-details { height: auto; opacity: 1; margin-top: 1rem; }
    .domain-title { transform: none !important; color: #FFF; }
    
    /* Glimpses become a tight masonry column */
    .editorial-masonry-grid { display: flex; flex-direction: column; gap: 2vw; }
    .grid-item.standard, .grid-item.tall, .grid-item.wide, .grid-item.offset-up { 
        grid-column: span 12; width: 100%; margin: 0; aspect-ratio: auto; 
    }
    .item-overlay-glass { transform: translateY(0); } /* Always show glass bar on tablets */
    
    .footer-main-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
    .email-input-group { width: 100%; }
}

@media (max-width: 768px) {
    :root { --pad-section: 6rem 5vw; }
    .desktop-only { display: none !important; }
    
    .hero-editorial { align-items: flex-end; padding-bottom: 15vh; }
    .hero-content-center { margin-top: 0; }
    .indent-right { padding-left: 0; }
    .hero-bottom-grid { grid-template-columns: 1fr; gap: 3rem; text-align: left; }
    .hero-scroll-col { justify-content: flex-start; }
    
    .watermark-text { font-size: 25vw; left: -2%; }
    .watermark-text-massive { font-size: 25vw; }
    .spacer { width: 5vw; }
    
    .menu-grid { grid-template-columns: 1fr; gap: 4rem; }
    .menu-col-secondary { padding-left: 0; border-left: none; padding-top: 0; gap: 2.5rem; }
    .menu-link { font-size: 15vw; }
    
    .flex-between { flex-direction: column; align-items: flex-start; gap: 2rem; }
    
    .watermark-quote { font-size: 20rem; top: 30%; }
    .testimonial-body-text { font-size: 1.5rem; }
    
    .massive-cta-link { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .footer-main-grid { grid-template-columns: 1fr; gap: 4rem; }
    .footer-bottom-bar { flex-direction: column; gap: 1.5rem; text-align: center; }
    .legal-links { justify-content: center; }
    
    .modal-scroll-area { padding: 2.5rem; }
    .modal-close-btn { top: -2.5rem; right: 5vw; }
}




/* ==========================================================================
   16. GALLERY ARCHIVES (DYNAMIC GRID & LIGHTBOX FIXES)
========================================================================== */

/* 1. CURSOR Z-INDEX FIX */
.custom-cursor {
    z-index: 99999 !important; /* Forces cursor above EVERYTHING including the lightbox */
}

/* 2. DYNAMIC GALLERY GRID (For JS Injected Items) */
#masonry-grid {
    display: grid;
    /* Auto-fits columns to look beautiful on any screen size */
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 3rem 2rem;
    width: 100%;
}

/* Assuming your JS injects standard wrapper divs. 
   Apply these styles to however your JS formats the items */
#masonry-grid > div {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    cursor: none; /* Let custom cursor take over */
}

.gallery-img-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9; /* Keeps all 69 images perfectly uniform */
    overflow: hidden;
    position: relative;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    transition: transform 0.8s var(--ease-luxury), filter 0.5s ease;
}

#masonry-grid > div:hover .gallery-img-wrapper img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.gallery-item-title {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 3. LIGHTBOX ARROWS & OVERLAY */
.gallery-lightbox {
    position: fixed; inset: 0; width: 100vw; height: 100vh;
    z-index: 12000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.5s var(--ease-luxury);
}

.gallery-lightbox.active {
    opacity: 1; pointer-events: all;
}

.lightbox-backdrop-blur {
    position: absolute; inset: 0;
    background: rgba(5, 5, 5, 0.98); 
}

/* New Arrow Styles */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    color: #F4F4F0;
    padding: 2rem;
    transition: color 0.3s ease, transform 0.3s var(--ease-snappy);
}

.lightbox-nav.prev { left: 2vw; }
.lightbox-nav.next { right: 2vw; }

.lightbox-nav:hover { color: var(--accent); }
.lightbox-nav.prev:hover { transform: translate(-5px, -50%); }
.lightbox-nav.next:hover { transform: translate(5px, -50%); }

/* Content wrapper */
.lightbox-content-wrapper {
    position: relative; z-index: 2;
    width: 85vw; height: 85vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}

.lightbox-img-container {
    width: 100%; height: 85%;
    display: flex; justify-content: center; align-items: center;
}

#lightbox-img {
    max-width: 100%; max-height: 100%;
    object-fit: contain;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

#lightbox-caption { text-align: center; }



/* ==========================================================================
   14. GALLERY ARCHIVES (HERO, GRID, & LIGHTBOX)
========================================================================== */

/* CRITICAL FIX: Forces cursor above the lightbox */
.custom-cursor { z-index: 99999 !important; }

/* 1. Gallery Hero & Typography */
.gallery-hero {
    padding: 25vh 5vw 10vh;
    min-height: 50vh;
    display: flex; flex-direction: column; justify-content: flex-end;
}

.huge-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 10vw, 10rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -2px;
    color: var(--text-main);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.gallery-meta .subtitle {
    font-size: var(--text-base);
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* 2. Gallery Filters */
.gallery-filters {
    display: flex; gap: 2rem; flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.3s ease;
    cursor: none;
}

.filter-btn.active, .filter-btn:hover { color: var(--accent); }

/* 3. The Auto-Fitting Image Grid */
.gallery-grid-section { padding: 0 5vw 15vh; }

#masonry-grid {
    display: grid;
    /* This automatically sizes the columns beautifully for any screen */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem 2rem;
}

#masonry-grid > div {
    display: flex; flex-direction: column; gap: 1rem;
    cursor: none;
}

/* Image Hover Physics */
#masonry-grid img {
    width: 100%; aspect-ratio: 16/9;
    object-fit: cover;
    filter: grayscale(20%) brightness(0.85);
    transition: transform 0.6s var(--ease-luxury), filter 0.6s ease;
}

#masonry-grid > div:hover img {
    transform: scale(1.03); 
    filter: grayscale(0%) brightness(1.1);
}

.gallery-item-title { /* Text under the image */
    font-family: var(--font-body); font-size: 0.85rem;
    color: var(--text-main); text-transform: uppercase; letter-spacing: 1px;
}

/* 4. Lightbox & Arrows Fix */
.lightbox {
    position: fixed; inset: 0; width: 100vw; height: 100vh;
    z-index: 12000; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.5s ease;
}

.lightbox.active { opacity: 1; pointer-events: all; }

.lightbox-backdrop {
    position: absolute; inset: 0; background: rgba(5,5,5,0.98);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

.lightbox-close {
    position: absolute; top: 2rem; right: 4rem; z-index: 12001;
    color: #FFF; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px;
    transition: color 0.3s;
}
.lightbox-close:hover { color: var(--accent); }

.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 12001; color: rgba(244,244,240,0.5); font-size: 2.5rem; padding: 2rem;
    transition: color 0.3s, transform 0.3s var(--ease-snappy);
}

.lightbox-nav.prev { left: 2vw; }
.lightbox-nav.next { right: 2vw; }
.lightbox-nav:hover { color: var(--accent); }
.lightbox-nav.prev:hover { transform: translate(-10px, -50%); }
.lightbox-nav.next:hover { transform: translate(10px, -50%); }

.lightbox-content {
    position: relative; z-index: 12001;
    width: 85vw; height: 85vh; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}

#lightbox-img { 
    max-width: 100%; max-height: 80%; object-fit: contain; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.8); 
}

#lightbox-caption { 
    margin-top: 1.5rem; font-family: var(--font-heading); 
    font-size: 1.2rem; color: var(--accent); letter-spacing: 1px;
}




/* ==========================================================================
   MEGA MENU CLOSE BUTTON
========================================================================== */
.menu-close-btn {
    position: absolute;
    top: 2rem;
    right: 5vw;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #F4F4F0;
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    transition: color 0.3s ease, opacity 0.4s ease 0.4s; /* Delays fade-in slightly */
}

/* Fades in only when the mega menu is active */
.mega-menu.active .menu-close-btn {
    opacity: 1;
    pointer-events: all;
}

.menu-close-btn:hover {
    color: var(--accent);
}

.menu-close-btn svg {
    transition: transform 0.4s var(--ease-snappy);
}

.menu-close-btn:hover svg {
    transform: rotate(90deg);
}

/* Optional: Hide the main header hamburger when menu is open to prevent double buttons */
.mega-menu.active ~ #smooth-wrapper .menu-toggle {
    opacity: 0;
    pointer-events: none;
}



/* ==========================================================================
   17. CONTACT PAGE & LUXURY FORM (ULTRA-PREMIUM)
========================================================================== */

/* Left Side: Contact Typography Formatting */
.contact-details-stack .detail-block h3 {
    font-family: var(--font-sync);
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.contact-details-stack .detail-block a,
.contact-details-stack .detail-block p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-main);
    transition: color 0.4s ease;
}

.contact-details-stack .detail-block a:hover {
    color: var(--accent);
}

/* ==========================================
   THE CHIP GROUP (Radio Buttons)
========================================== */
.chip-group { 
    display: flex; 
    gap: 1rem; 
    flex-wrap: wrap; 
    margin-top: 1.5rem;
}

.chip { 
    position: relative; 
    cursor: none; 
}

.chip input[type="radio"] { 
    position: absolute; 
    opacity: 0; 
    width: 0; 
    height: 0; 
}

.chip-text {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid rgba(244, 244, 240, 0.15);
    border-radius: 50px;
    font-size: 0.75rem;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-muted);
    background: transparent;
    transition: all 0.4s var(--ease-luxury);
}

/* Chip Hover Physics */
.chip:hover .chip-text { 
    border-color: rgba(244, 244, 240, 0.6); 
    color: var(--text-main); 
}

/* Chip Checked Physics (Glowing Gold/White) */
.chip input[type="radio"]:checked + .chip-text {
    background-color: var(--text-main);
    color: var(--bg-dark);
    border-color: var(--text-main);
    box-shadow: 0 0 20px rgba(244, 244, 240, 0.15);
}

/* ==========================================
   FLOATING LABEL INPUTS (Jaw-Dropping Smoothness)
========================================== */
.floating-group { 
    position: relative; 
    width: 100%; 
    margin-bottom: 3.5rem; 
}

.floating-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(244, 244, 240, 0.15);
    padding: 1.5rem 0 0.5rem;
    color: var(--text-main);
    /* Using Serif font for inputs makes it feel incredibly expensive */
    font-family: var(--font-heading); 
    font-size: 2.2rem;
    outline: none;
    resize: none;
    transition: border-color 0.4s ease;
}

/* Hide native placeholder so our custom label handles it */
.floating-input::placeholder { color: transparent; } 

.floating-label {
    position: absolute;
    top: 1.5rem; 
    left: 0;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    pointer-events: none;
    transform-origin: left top;
    transition: all 0.6s var(--ease-luxury);
}

/* The Magic Floating Action */
.floating-input:focus ~ .floating-label,
.floating-input:not(:placeholder-shown) ~ .floating-label {
    top: -0.8rem;
    font-size: 0.65rem;
    color: var(--accent);
    transform: translateY(-5px);
}

/* Animated Bottom Border Line */
.floating-group .input-focus-line {
    position: absolute; 
    bottom: 0; left: 0;
    width: 100%; height: 2px;
    background-color: var(--accent);
    transform: scaleX(0); 
    transform-origin: right;
    transition: transform 0.7s var(--ease-luxury);
}

.floating-input:focus ~ .input-focus-line {
    transform: scaleX(1); 
    transform-origin: left;
}

/* ==========================================
   MASSIVE SUBMIT BUTTON
========================================== */
.massive-submit {
    display: flex; 
    justify-content: space-between; /* Pushes text left, arrow right */
    align-items: center; 
    width: 100%;
    border-bottom: 1px solid rgba(244, 244, 240, 0.2);
    padding: 2rem 0;
    color: var(--text-main);
    transition: all 0.5s var(--ease-luxury);
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

/* Hover Line Fill */
.massive-submit::before {
    content: '';
    position: absolute;
    bottom: -1px; left: 0;
    width: 100%; height: 2px;
    background-color: var(--text-main);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.7s var(--ease-luxury);
}

.massive-submit .submit-text { 
    font-size: 1.5rem; 
    letter-spacing: 4px;
    transition: transform 0.6s var(--ease-luxury);
}

.submit-arrow { 
    transition: transform 0.6s var(--ease-luxury); 
}

/* Submit Hover Physics */
.massive-submit:hover { color: #FFF; }

.massive-submit:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.massive-submit:hover .submit-text {
    transform: translateX(15px); /* Slides text right slightly */
}

.massive-submit:hover .submit-arrow { 
    transform: translate(15px, -15px) rotate(15deg); /* Shoots arrow up and out */
}

/* ==========================================
   MOBILE RESPONSIVENESS
========================================== */
@media(max-width: 1024px) {
    .floating-input { font-size: 1.8rem; }
}

@media(max-width: 768px) {
    .chip-group { flex-direction: column; gap: 0.5rem; }
    .chip-text { width: 100%; text-align: center; padding: 1rem; font-size: 0.7rem; }
    
    .floating-input { font-size: 1.5rem; }
    .massive-submit .submit-text { font-size: 1.1rem; }
    
    .contact-details-stack { display: flex; flex-direction: column; gap: 2.5rem; }
}


/* ==========================================================================
   18. CONTACT PAGE (50/50 SPLIT SLIDER)
========================================================================== */

/* The Layout Foundation */
.contact-split-layout {
    display: flex;
    min-height: 100vh;
    width: 100vw;
    background-color: #050505;
}

.contact-split-left {
    flex: 1; /* Takes 50% width */
    display: flex;
    flex-direction: column;
    padding: 15vh 6vw 5vh 6vw;
}

.contact-inner-scroll {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.contact-massive-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 8vw, 7rem);
    line-height: 0.9;
    color: #F4F4F0;
}

/* RIGHT SIDE: The Sticky Slider */
.contact-split-right {
    flex: 1; /* Takes 50% width */
    position: relative;
    height: 100vh;
    position: sticky;
    top: 0;
}

.contact-slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slider-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.1); /* Starts slightly zoomed in */
    transition: opacity 1.5s ease-in-out, transform 5s ease-out; /* Slow zoom out */
}

.slider-img.active {
    opacity: 1;
    transform: scale(1);
}

.slider-overlay-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(5,5,5,0.8) 0%, transparent 40%);
    z-index: 2;
}

.slider-status-badge {
    position: absolute;
    bottom: 3rem; right: 3rem;
    z-index: 3;
    display: flex; align-items: center; gap: 1rem;
    background: rgba(5,5,5,0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(244,244,240,0.1);
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #F4F4F0;
}

.pulse-dot {
    width: 8px; height: 8px;
    background-color: #00E5FF;
    border-radius: 50%;
    box-shadow: 0 0 10px #00E5FF;
    animation: neonPulse 2s infinite;
}

@keyframes neonPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 229, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

/* ==========================================
   NEOPIX GLOWING SIGNATURE
========================================== */
/* Update Submit Button to push the footer down so it doesn't overlap */
.massive-submit {
    display: flex; 
    justify-content: space-between;
    align-items: center; 
    width: 100%;
    border-bottom: 1px solid rgba(244, 244, 240, 0.2);
    padding: 2rem 0;
    color: var(--text-main);
    transition: all 0.5s var(--ease-luxury);
    margin-top: 2rem;
    margin-bottom: 3rem; /* ADDED: This fixes the overlap */
    position: relative;
    overflow: hidden;
}

/* ==========================================
   NEOPIX GLOWING SIGNATURE (RESIZED)
========================================== */
.neopix-ultra-glow {
    font-family: 'Kaushan Script', cursive !important;
    font-size: 1.6rem !important; /* REDUCED: Was 2.2rem, now it's much sleeker */
    color: #00E5FF;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.4), 0 0 20px rgba(0, 229, 255, 0.2);
    text-decoration: none;
    transform: rotate(-2deg);
    display: inline-block;
    transition: all 0.4s var(--ease-snappy);
}

.neopix-ultra-glow:hover {
    color: #FFF;
    text-shadow: 0 0 15px #00E5FF, 0 0 30px #00E5FF, 0 0 40px #00E5FF;
    transform: scale(1.08) rotate(0deg);
}

/* Mobile Breakpoints */
@media (max-width: 1024px) {
    .contact-split-layout { flex-direction: column; }
    .contact-split-right { display: none; } /* Hide slider on mobile, let form take 100% */
    .contact-split-left { padding: 20vh 5vw 10vh 5vw; }
}