/* --- ACCESSIBILITY: SKIP TO CONTENT --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: #0A0A0A;
    color: #F4F3F0;
    padding: 0.8rem 1.5rem;
    border-radius: 0 0 8px 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    z-index: 99999;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 0;
}

/* --- STATIC BROWSER RESET (REPLACES TAILWIND) --- */
*, ::before, ::after { box-sizing: border-box; }
html, body {
    box-shadow: 0 0 50px rgba(0,0,0,0.5); /* Optional: distinct edge on ultra-wide monitors */ margin: 0; padding: 0;
    background-color: #050505 !important; /* Eliminates overscroll gap */
    overscroll-behavior-y: none; /* Stops the browser from bouncing past the footer */
}
ul, ol { list-style: none; margin: 0; padding: 0; }
table { border-collapse: collapse; }
button, input, select, textarea { appearance: none; -webkit-appearance: none; font-family: inherit; margin: 0; padding: 0; border: none; background: transparent; }
img, video { display: block; max-width: 100%; height: auto; }
a { text-decoration: inherit; color: inherit; }


html {
}

/* Custom Premium Selection Color */
::selection {
  background-color: #111;
  color: #fff;
}

/* Hide scrollbar for horizontal scrolling sections but keep functionality */

:root {
    --bg-alabaster: #F7F6F2; /* Gallery White */
    --text-obsidian: #151515; /* Charcoal Ink */
    --surface-stone: #E5E4DF; /* Limestone */
    --accent-brass: #B89768; /* Burnished Brass */
    --text-muted: rgba(21, 21, 21, 0.5);
}

/* --- 1% CUSTOM SCROLLBAR ENGINE --- */
::-webkit-scrollbar {
    width: 6px; /* Razor thin */
}
::-webkit-scrollbar-track {
    background: #0A0A0A; /* Deep obsidian track */
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15); /* Subtle frosted thumb */
    border-radius: 10px;
    transition: background 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-brass, #B89768); /* Ignites to signature brass on hover */
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    /* Volumetric Gallery Lighting */
    background: radial-gradient(circle at 50% 0%, #FFFFFF 0%, var(--bg-alabaster) 100%);
    background-attachment: fixed;
    color: var(--text-obsidian);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
}
/* --- 1. THE INVISIBLE FRAME (UPDATED) --- */
.floating-header {
    position: fixed !important; top: 0 !important; left: 0 !important;
    width: 100% !important; z-index: 9900 !important;
    padding: 2.5rem 3.5rem !important; 
    
    display: flex !important; 
        justify-content: flex-end !important; 
    align-items: flex-start !important;
    
    pointer-events: none !important; 
    transition: padding 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Scrolled State Padding */
.floating-header.scrolled { padding: 1.2rem 3.5rem !important; }


/* --- 1. THE INDEPENDENT ANCHOR --- */
.chameleon-anchor {
    position: fixed !important;
    /* Matches the exact starting padding of your header */
    top: 2.2rem !important; 
    left: 3.5rem !important; 
    z-index: 9999 !important; /* Forces it to the absolute top layer */
    
    pointer-events: auto !important;
    text-decoration: none !important;
    display: flex !important;
    
    /* THE CRITICAL MATH: Applied to the container so it blends with the whole page */
    mix-blend-mode: difference !important;
    
    /* Ensuring absolutely zero forcefields/traps */
    background: transparent !important;
    backdrop-filter: none !important;
    transform: none !important;
    isolation: auto !important;
    transition: top 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* --- 2. THE CHAMELEON IMAGE (REFINED SCALE) --- */
.chameleon-logo {
    /* Slightly reduced to sit perfectly in the UI without distracting */
    height: 58px !important; 
    width: auto !important;
    
    /* CRITICAL: Retaining the exact finalized contrast cure */
    filter: invert(1) grayscale(1) contrast(500%) !important; 
    
    transform-origin: left center !important;
    transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* --- 3. SCROLLED STATE (FORCE LOGO SIZE) --- */
.chameleon-anchor.scrolled { 
    top: 1rem !important; 
}

.chameleon-anchor.scrolled .chameleon-logo { 
    height: 54px !important; /* Forces the logo to stay large when scrolling */
    width: auto !important;
}

.floating-header.scrolled { 
    padding: 1.2rem 3.5rem !important; 
}

/* --- 3. THE FUSED GLASS PILL --- */
.fused-glass-pill {
    pointer-events: auto !important; 
    display: flex !important; align-items: center !important;
    
    /* The core glassmorphism material */
    background: rgba(255, 255, 255, 0.45) !important; 
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,1) !important;
    
    border-radius: 100px !important;
    padding: 0.3rem !important; /* Wraps tightly around the internal buttons */
    transition: all 0.4s ease !important;
}

/* Pill lifts and glows slightly on hover */
.fused-glass-pill:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,1) !important;
}


/* --- PURIFIED BUTTON STATES --- */
.fused-btn {
    background: transparent !important;
    border: none !important;
    padding: 0.7rem 1.6rem !important; /* Slightly wider padding to balance the missing arrow */
    border-radius: 100px !important;
    color: #111 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important; font-weight: 700 !important;
    text-transform: uppercase !important; letter-spacing: 0.12em !important;
    cursor: pointer !important; text-decoration: none !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    
    will-change: transform, background, box-shadow !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.fused-btn .btn-text {
    transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Fluid Hover State */
.fused-btn:hover {
    background: #FFFFFF !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
    transform: translateY(-1px) scale(1.02) !important;
}

/* The Golden Breath text interaction specifically for the Expert button */
.expert-link:hover .btn-text {
    color: #D4AF37 !important; /* Smoothly transitions to premium gold */
}

/* Tactile Click Compression */
.fused-btn:active {
    transform: translateY(1px) scale(0.96) !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
    transition: all 0.1s ease !important; 
}


/* --- 5. MICRO-DETAILS --- */
.pill-divider { 
    width: 1px !important; height: 18px !important; 
    background: rgba(0,0,0,0.12) !important; margin: 0 0.2rem !important; 
}




/* --- THE BREATHING MENU DOT --- */

@keyframes goldPulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5); }
    70% { box-shadow: 0 0 0 6px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* Part 1: Hero Reveal */
.hero-master-wrapper {
    height: 250dvh; 
}





.hero-sticky-container {
    position: sticky; 
    top: 0;
    height: 100dvh; 
    width: 100vw;
    display: flex; 
    align-items: center; 
    justify-content: center;
    overflow: hidden;
    background-color: var(--bg-alabaster);
}

.monolithic-title {
    position: absolute;
    font-family: 'Cormorant Garamond', serif;
    font-size: 13vw; 
    line-height: 0.8; 
    font-weight: 400;
    letter-spacing: -0.02em;
    mix-blend-mode: difference; 
    color: #F4F3F0; 
    z-index: 10;
    text-align: center; 
    white-space: nowrap; 
    pointer-events: none;
}

.media-slit {
    width: 25vw; 
    height: 65dvh;
    border-radius: 4px; 
    overflow: hidden;
    position: relative; 
    z-index: 5;
    will-change: width, height, border-radius;
}

.slit-image {
    width: 100vw; 
    height: 100dvh;
    object-fit: cover; 
    position: absolute;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
}

/* Part 2: Museum Gallery */

/* Asymmetrical Image Frames */

/* Responsive */


/* Part 3: Obsidian Footer */
.obsidian-footer {
    background-color: var(--text-obsidian);
    color: var(--bg-alabaster);
    padding: 20dvh 10vw 5dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100dvh;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 800px;
}
.luxury-form {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.input-group input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(244, 243, 240, 0.3);
    color: var(--bg-alabaster);
    font-family: 'DM Sans', sans-serif;
    font-size: 1.2rem;
    padding-bottom: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}
.input-group input::placeholder {
    color: rgba(244, 243, 240, 0.3);
}
.input-group input:focus {
    border-bottom-color: var(--bg-alabaster);
}
.consult-btn {
    background: transparent;
    color: var(--bg-alabaster);
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: left;
    cursor: pointer;
    margin-top: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-alabaster);
    width: max-content;
    transition: opacity 0.3s ease;
}
.consult-btn:hover {
    opacity: 0.7;
}


/* --- PHASE 4: LIVING TYPOGRAPHIC DASHBOARD --- */
.no-image-matrix {
    position: relative;
    width: 100vw;
    min-height: 100dvh;
    background: #F4F3F0; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15dvh 8vw;
    overflow: hidden;
    z-index: 10;
}

/* The Interactive Blueprint Grid */
.interactive-blueprint-grid {
    position: absolute;
    inset: -10%; /* Larger than viewport for mouse parallax */
    background-image: 
        linear-gradient(rgba(17, 17, 17, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 17, 17, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: center;
    z-index: 0;
    will-change: transform;
}

.matrix-content-wrapper {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.gsc-kicker-line {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-brass, #B89768);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 3rem;
}

.brass-dash {
    width: 60px;
    height: 2px;
    background: var(--accent-brass, #B89768);
}

.legacy-monolithic-text {
    font-size: clamp(3.5rem, 6vw, 5.5rem) !important; 
    line-height: 1 !important;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    color: var(--text-obsidian);
    margin: 0 0 3rem 0;
}

.text-line { display: block; }
.editorial-italic {
    font-size: clamp(3.5rem, 6vw, 5.5rem) !important;
    line-height: 1 !important;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 300;
    color: var(--accent-brass, #B89768);
    margin-left: 10%; /* Indents the second line for dynamic structure */
}

.legacy-matrix-body {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1rem, 1.2vw, 1.15rem) !important;
    max-width: 700px !important; /* Forces the text to break to a new line gracefully */
    line-height: 1.6 !important;
    color: rgba(17, 17, 17, 0.65);
    margin-left: 10%;
    margin-top: 2rem !important; 
    margin-bottom: 3rem !important;
}

/* The Live Data Dashboard */
.legacy-data-dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 6rem;
    max-width: 1200px !important; 
    margin-left: 0 !important; /* Keeps it aligned with the left-justified text */
}

.data-node {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(17, 17, 17, 0.05);
    padding: 2.5rem;
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: transform 0.4s ease;
}

.data-node:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.9);
}

.node-pulse {
    width: 10px;
    height: 10px;
    margin-top: 10px;
    background: var(--accent-brass, #B89768);
    border-radius: 50%;
    animation: pulseBrass 2s infinite;
}
.node-pulse.delay-1 { animation-delay: 0.6s; }
.node-pulse.delay-2 { animation-delay: 1.2s; }

.node-value {
    font-family: 'DM Sans', sans-serif;
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--text-obsidian);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.node-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(17, 17, 17, 0.5);
    font-weight: 600;
}

/* Geometric Proportion Bar */

@media (max-width: 992px) {
    .legacy-monolithic-text,
    .editorial-italic { 
        font-size: 12vw !important; /* Reverts to fluid scaling for small phone screens */
    }
    .editorial-italic { margin-left: 0; }
    .legacy-matrix-body { margin-left: 0; }
    .legacy-data-dashboard { grid-template-columns: 1fr; }
}

/* Infinite Momentum Line */
.momentum-line-container {
    width: 100%;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    opacity: 0.8;
}

.momentum-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: rgba(17, 17, 17, 0.4);
    white-space: nowrap;
    font-weight: 600;
}

.momentum-track {
    flex-grow: 1;
    height: 1px;
    background: rgba(17, 17, 17, 0.05);
    position: relative;
    overflow: hidden;
}

.momentum-laser {
    position: absolute;
    top: 0;
    left: -100%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-brass, #B89768), transparent);
    will-change: left;
}

@media (max-width: 992px) {
    .momentum-line-container { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
}

/* Monumental Marquee - Volumetric Upgrade */

/* Enhancing the fade masks to match the new depth */

/* Ensure the keyframes look exactly like this */
@keyframes marqueeScroll {
    0% { 
        transform: translate3d(0, 0, 0); 
    }
    100% { 
        transform: translate3d(-50%, 0, 0); /* Scrolls half the width (assuming duplicated content) */
    }
}





/* The Living Gallery */



/* --- INTERACTIVE LAYER CSS --- */

/* Header Upgrades */

.book-visit-btn {
    background: transparent;
    border: 1px solid #F4F3F0;
    color: #F4F3F0;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 0.6rem 1.5rem;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-visit-btn:hover {
    background: #F4F3F0;
    color: var(--text-obsidian);
}

.menu-trigger {
    background: transparent;
    border: none;
    color: #F4F3F0;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.menu-trigger:hover { opacity: 0.6; }

/* Old WhatsApp Float Removed */

/* Modals & Overlays - Base States */
.booking-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Active State applied via JS */
.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Booking Modal Specifics */
.booking-modal-overlay {
    background: rgba(244, 243, 240, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

.modal-card {
    background: var(--bg-alabaster);
    width: 90%;
    max-width: 600px;
    padding: 5rem 4rem;
    border-radius: 1rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    position: relative;
    transform: translateY(40px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.is-open .modal-card {
    transform: translateY(0);
}

.close-modal-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-obsidian);
    cursor: pointer;
    transition: transform 0.3s ease;
}
.close-modal-btn:hover { transform: rotate(90deg); }

.modal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    line-height: 1;
    color: var(--text-obsidian);
    margin-bottom: 1rem;
}

.modal-sub {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.modal-form .input-group input {
    color: var(--text-obsidian);
    border-bottom: 1px solid rgba(17, 17, 17, 0.2);
}
.modal-form .input-group input::placeholder { color: rgba(17, 17, 17, 0.4); }
.modal-form .input-group input:focus { border-bottom-color: var(--text-obsidian); }
.modal-submit { color: var(--text-obsidian); border-bottom-color: var(--text-obsidian); }

/* --- LUXURY INTERACTIVE PILLS --- */
.gsc-pill-group {
    margin-top: 1rem;
    border-bottom: none !important; /* Removes the standard input line */
}

.gsc-form-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    color: rgba(17, 17, 17, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    display: block;
}

.gsc-product-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.gsc-pill {
    background: transparent;
    border: 1px solid rgba(17, 17, 17, 0.2);
    color: var(--text-obsidian);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gsc-pill:hover {
    border-color: var(--text-obsidian);
}

.gsc-pill.is-active {
    background: var(--text-obsidian);
    color: var(--bg-alabaster);
    border-color: var(--text-obsidian);
    transform: scale(1.05); /* Slight tactile pop when selected */
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}


/* 1% Luxury Menu Foundation */
.gsc-premium-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background: #0A0A0A; /* Deep Obsidian */
    z-index: 9999;
    display: flex;
    align-items: center;
    padding: 0 10vw; /* Massive structural padding */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gsc-premium-menu-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* The Centered Grid System */

/* Primary Navigation Axis */

.gsc-menu-link {
    display: flex;
    align-items: baseline;
    text-decoration: none;
    color: #555555; /* Default muted state */
    transition: color 0.4s ease, transform 0.4s ease;
    position: relative;
}

/* The Illumination Hover Physics */

/* Corporate Metadata Axis */

/* Custom Magnetic Close Button */
.gsc-menu-close {
    position: absolute;
    top: 5dvh;
    right: 5vw;
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

@media (max-width: 768px) {
    .gsc-premium-menu-overlay { padding: 0 5vw; }
}

@media (max-width: 768px) {
    .modal-card { padding: 3rem 2rem; }
    .modal-title { font-size: 2.5rem; }
    .book-visit-btn { padding: 0.5rem 1rem; font-size: 0.6rem; }
}

.gsc-corp-subtext {
    display: block;
    font-size: 0.45em; /* Mathematically sizes it to 45% of the main text */
    letter-spacing: 0.25em; /* Premium luxury tracking */
    line-height: 1;
    font-weight: inherit; /* Inherits the exact same weight as GUPTA SALES */
    margin-top: -0.1em; /* Nests it tightly under the main text */
}

/* --- 1:1 VERCEL TRANSLATION --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;500;700;900&display=swap');

/* TOP ROW */

.gsc-footer-headline {
    font-size: 12vw;
    line-height: 0.85;
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: #000000;
    margin: 0 0 3dvh 0;
}

.gsc-footer-subtext {
    font-size: 1.5vw;
    font-weight: 300;
    color: rgba(0,0,0,0.6);
    max-width: 30vw;
    margin: 0;
}

/* SPHERE */

/* DIVIDER & META GRID */

/* WATERMARK & COPYRIGHT */

/* MOBILE */
@media (max-width: 768px) {
    .gsc-footer-headline { font-size: 18vw; }
    .gsc-footer-subtext { font-size: 4vw; max-width: 100%; }
}

/* --- 5CR+ EDITORIAL ARCHITECTURE --- */

/* LEFT: STICKY TEXT */

/* RIGHT: SCROLLING CINEMATIC CARDS */

/* MOBILE FALLBACK */

/* --- FOCUS 1: EDITORIAL HEADER (FOUNDATION DNA) --- */
/* 1. The Pristine Canvas */
.gsc-editorial-header {
    position: relative;
    width: 100vw;
    
    /* MASSIVELY INCREASED BOTTOM PADDING: Gives the text room to breathe */
    padding: 10dvh 8vw 15dvh 8vw; 
    
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 2;
    
    /* Pure, crisp white for elegant visual separation */
    background: #FFFFFF !important; 
    
    border: none !important;
    box-shadow: none !important;
}

/* 2. Kill the mismatched Grid entirely for this section */
.gsc-editorial-header::before {
    display: none !important; 
}

/* 3. The Controlled Blurry Transition */
.gsc-editorial-header::after {
    content: '';
    position: absolute;
    bottom: -2px; /* Pulled down further to completely swallow any subpixel white hairline */
    left: 0;
    width: 100%;
    height: calc(8dvh + 4px); /* Extended to ensure full coverage */
    
    /* Fades perfectly into the black accordion below */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 90%, #000000 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    
    /* DESTROY THE WEBKIT BLUR EDGE ARTIFACT */
    box-shadow: inset 0 -4px 0 0 #000000, 0 4px 0 0 #000000 !important;
    border-bottom: 2px solid #000000;
    
    pointer-events: none;
    
    /* FORCED TO THE BACKGROUND */
    z-index: 1; 
}

/* 4. Protect the Typography Layer */
.editorial-left, 
.editorial-right {
    position: relative;
    
    /* FORCED TO THE FOREGROUND: The blur can never cut the text again */
    z-index: 10 !important; 
}

.editorial-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.editorial-kicker {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: rgba(17, 17, 17, 0.4);
    text-transform: uppercase;
}

.editorial-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 8vw;
    line-height: 0.9;
    font-weight: 400;
    letter-spacing: -0.04em;
    color: var(--text-obsidian, #111111);
    margin: 0;
}

.title-italic {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 300;
    color: var(--accent-brass, #B89768);
}

.editorial-right {
    max-width: 300px;
    margin-bottom: 1vw; /* Aligns visually with the bottom of the title */
}

.editorial-divider {
    width: 40px;
    height: 1px;
    background: var(--text-obsidian, #111111);
    margin-bottom: 1.5rem;
}

.editorial-meta {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(17, 17, 17, 0.65);
    margin: 0;
}

@media (max-width: 992px) {
    .gsc-editorial-header { flex-direction: column; align-items: flex-start; gap: 4rem; }
    .editorial-title { font-size: 15vw; }
}

/* --- FIXING THE GALLERY SEAM & CURATED SPACES OVERLAP --- */
.museum-gallery-wrapper {
    position: relative;
    z-index: 20;
    background-color: #000000; 
    /* Padding removed to eliminate the massive black void below the accordion */
    padding: 0; 
    margin: 0;
}

.gsc-monolithic-grid {
    display: flex !important;
    gap: 0 !important;     width: 100vw;
    height: 90dvh; 
    background-color: #000000;
    overflow: hidden;
    margin: 0; 
}

/* Mobile Systems Compatibility */
@media (max-width: 768px) {
    .museum-gallery-wrapper { padding-bottom: 5rem; } /* Closed the gap on mobile */
}.gsc-monolithic-grid .gsc-grid-pillar{
    margin: 0 ; 
    border: none ;
    position: relative;
    flex: 1; /* All pillars start at equal width */
    height: 100%;
    overflow: hidden;
    transition: flex 0.8s cubic-bezier(0.25, 1, 0.5, 1); /* Buttery smooth expansion math */
    cursor: pointer;
}

.gsc-grid-pillar:last-child {
    border-right: none;
}

/* Background Image Engine */
.gsc-pillar-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.gsc-pillar-bg img {
    width: 100vw; 
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.3); 
    transition: filter 0.8s ease, transform 1.5s ease;
    transform: scale(1.05); }

/* The Expansion Ignition */
.gsc-grid-pillar:hover {
    flex: 4; 
}

.gsc-grid-pillar:hover .gsc-pillar-bg img {
    filter: grayscale(0%) brightness(0.8); 
    transform: scale(1); }

/* Vertical Title (Hidden on hover) */
.gsc-vertical-title {
    position: absolute;
    bottom: 5dvh;
    left: 50%;
    transform: translateX(-50%) rotate(-90deg);
    transform-origin: left bottom;
    font-family: 'Inter', sans-serif;
    color: #FFFFFF;
    font-size: 1.5vw;
    font-weight: 700;
    letter-spacing: 0.3em;
    opacity: 1;
    transition: opacity 0.4s ease;
    white-space: nowrap;
}

.gsc-grid-pillar:hover .gsc-vertical-title {
    opacity: 0;
}

/* Hidden Content (Revealed on hover) */
.gsc-pillar-content {
    position: absolute;
    bottom: 5dvh;
    left: 3vw;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 0s; /* Waits for expansion to start */
    width: 25vw;
}

.gsc-grid-pillar:hover .gsc-pillar-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s; /* Smooth delay so text arrives after expansion */
}

/* --- FOCUS 2: MASSIVE HOVER TYPOGRAPHY --- */

/* The Number (e.g., "02") */
.gsc-pillar-num { 
    font-family: 'DM Sans', sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: var(--accent-brass, #B89768) !important;
    letter-spacing: 0.1em !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
}

/* The Massive Title (e.g., "MODULAR KITCHENS") */
.gsc-pillar-content h2 { 
    font-family: 'DM Sans', sans-serif !important;
    font-size: 4.5vw !important; /* Scales massively */
    font-weight: 800 !important;
    line-height: 0.9 !important;
    letter-spacing: -0.02em !important;
    text-transform: uppercase !important;
    color: #FFFFFF !important;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6) !important; /* Forces readability over imagery */
    margin: 0 0 1rem 0 !important;
}

/* The Subtext */
.gsc-pillar-content p { 
    font-family: 'DM Sans', sans-serif !important;
    font-size: 1.15rem !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8) !important;
    line-height: 1.5 !important;
    max-width: 450px !important;
}

/* Mobile Fallback */
@media (max-width: 768px) {
    .gsc-monolithic-grid { flex-direction: column; height: 150dvh; }
    .gsc-grid-pillar { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .gsc-grid-pillar:hover { flex: 2; }
    .gsc-vertical-title { transform: none; bottom: auto; top: 2dvh; left: 5vw; font-size: 4vw; }
    .gsc-pillar-content { width: 80vw; left: 5vw; }
    .gsc-pillar-content h2 { font-size: 8vw; }
    .gsc-pillar-content p { font-size: 3vw; }
}

/* --- REFINED BATHTUB FOCUS (PILLAR 4) --- */
.gsc-grid-pillar:nth-child(4) .gsc-pillar-bg img {
    object-fit: cover; 
    
        object-position: 100% 70%; 
    
    width: 100%; 
    height: 100%;
    
    /* Increased the pre-zoom slightly to ensure the floor stays cropped out */
    transform: scale(1.15); 
}

.gsc-grid-pillar:nth-child(4):hover .gsc-pillar-bg img {
    /* Prevents the image from shrinking too much on hover, which would reveal the floor again */
    transform: scale(1.05); 
}

/* --- THE SANITARYWARE FOCUS (PILLAR 3) --- */
.gsc-grid-pillar:nth-child(3) .gsc-pillar-bg img {
    object-fit: cover;
    /* Locks the camera to the dead center to preserve the vertical backlit panels */
    object-position: center center; 
    width: 100%;
    height: 100%;
}



/* --- 5CR+ DYNAMIC HERO ARCHITECTURE --- */

/* --- 3D ARCHITECTURAL DEPTH LAYERING --- */

/* 1. The Typography (Pushed to the Background) */

/* 2. The Image Portal (Pulled to the Foreground) */

/* Scroll Indicator */

/* Mobile Overrides */


/* --- THE 5CR+ AIRY MASONRY LAYOUT --- */

/* --- THE TOP-RIGHT WHITE PILL TAG --- */

/* --- THE TRUE GLASSMORPHISM FLOATING CARD --- */



/* --- 1% CINEMATIC FOOTER REVEAL --- */
.gsc-curtain-bottom-edge {
    display: none; /* Removed the white block to kill the gap between sections */
}

/* --- 1% EDGE-TO-EDGE FOOTER WRAPPER --- */
.gsc-grand-footer {
    position: relative;
    width: 100%; 
    min-height: 80dvh;
    z-index: 1;
    background-color: #0A0A0A; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0; 
}

.gsc-footer-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto; 
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 10dvh 6vw 8dvh 6vw; 
    /* Increased from 16dvh to push the glass down just enough to clear the neon sign completely */
    padding-bottom: 20dvh !important; 
    box-sizing: border-box;
}

.gsc-footer-left {
    display: flex;
    flex-direction: column;
    gap: 3dvh;
}

/* --- 1% SATIN METALLIC TYPOGRAPHY --- */
.gsc-footer-headline {
    font-family: 'DM Sans', sans-serif;
    font-size: 14vw; 
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.05em;
    margin: 0;
    text-transform: uppercase;
    position: relative;
    z-index: 2;

    /* The Material Shift: Satin Champagne Gradient */
    background: linear-gradient(180deg, #FFFFFF 35%, #E2DFD2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Sub-pixel ambient depth shadow */
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.8));
}

.gsc-footer-subtext {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.5rem; 
    font-weight: 400;
    color: rgba(247, 246, 242, 0.85); 
    max-width: 450px;
    line-height: 1.4;
    margin: 0;
}

/* --- THE MAGNETIC FIELD --- */
.gsc-magnetic-wrapper {
    position: relative;
    /* Invisible field that is 150% the size of the button */
    width: 450px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    /* Allows us to trigger hover/mouse events well outside the button edges */
}

/* --- 1% ARCHITECTURAL GLASSMORPHIC DIAL --- */
.gsc-direction-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    font-family: 'DM Sans', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    position: relative;
    z-index: 2;
    will-change: transform;
    pointer-events: none; /* Let the wrapper handle the mouse events */

    /* Flawless Translucent Smoked Glass Composition */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    
    /* Precision Laser-Etched Edge */
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #F7F6F2; /* Clean off-white text inside */
    
    /* Complex layering of external volume shadows and internal edge light reflections */
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4), 
        inset 0 1px 1px rgba(255, 255, 255, 0.15);
        
    transition: 
        background-color 0.4s ease, 
        border-color 0.4s ease, 
        box-shadow 0.4s ease;
}

.gsc-direction-circle span {
    text-align: left;
    line-height: 1.2;
    display: inline-block;
    will-change: transform;
    letter-spacing: 0.05em;
}

.gsc-direction-circle svg {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dynamic Interactive Charging State */
.gsc-magnetic-wrapper:hover .gsc-direction-circle {
    background-color: rgba(255, 255, 255, 0.09);
    
    /* Rims the glass with your brand's luxury signature brass accent */
    border-color: var(--accent-brass, #F59E0B); 
    
    /* Generates a deep ambient glow directly within the photograph environment */
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.6), 
        0 0 40px rgba(245, 158, 11, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.gsc-magnetic-wrapper:hover .gsc-direction-circle svg {
    transform: translate(6px, -6px); /* Micro-animation: arrow shoots up and right */
}

/* Mobile Overrides */
@media (max-width: 768px) {
    .gsc-curtain-bottom-edge { border-radius: 0 0 30px 30px; height: 5dvh; }
    .gsc-footer-content { flex-direction: column; align-items: flex-start; gap: 6dvh; }
    .gsc-footer-headline { font-size: 20vw; }
    .gsc-footer-subtext { font-size: 1.2rem; }
    .gsc-direction-circle { width: 180px; height: 180px; align-self: flex-end; font-size: 1rem; }
}



/* --- CINEMATIC FOOTER BACKGROUND --- */
.gsc-footer-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* Precision blur mask to obscure Johnson sign below Gupta Sales Corp */
.gsc-bottom-blur {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 22%; /* Increased to 22% to safely cover all bottom logos */
    backdrop-filter: blur(24px) saturate(0.8) !important;
    -webkit-backdrop-filter: blur(24px) saturate(0.8) !important;
    background: rgba(5, 5, 5, 0.4); /* Slight tint so the blur registers well on top of neon lights */
    mask-image: linear-gradient(to top, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, black 60%, transparent 100%);
    z-index: 10 !important;
    pointer-events: none;
}

.gsc-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none; 
    transform: scale(1.1); 
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), filter 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gsc-bg-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* Lateral mask: Heavy shadow on the left for text, completely transparent on the right */
    background: linear-gradient(
        to right,
        rgba(5, 5, 5, 0.95) 0%,
        rgba(5, 5, 5, 0.6) 45%,
        rgba(5, 5, 5, 0) 80%
    );
    pointer-events: none;
}

.gsc-grand-footer:hover .gsc-bg-image {
    transform: scale(1.05); 
    filter: brightness(1.1); 
}

/* Ensure content stays on top */
.gsc-footer-content {
    position: relative;
    z-index: 2;
}

/* --- THE VERCEL-REPLICA BASEMENT TRAY --- */
.gsc-footer-utility {
    width: 100%; 
    /* Strips the solid black and replaces it with a 45% dark tint */
    background: rgba(10, 10, 10, 0.45) !important; 
    /* The Glassmorphism Engine */
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    /* A razor-thin, semi-transparent white top border gives it that "cut glass" edge */
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    position: relative;
    z-index: 10;
    padding: 6dvh 6vw 4dvh 6vw; 
    /* Forces the dark glass to extend far below the text, hiding the hard edge */
    padding-bottom: 10dvh !important; 
    /* Ensures the background image also stretches deep enough to be blurred */
    min-height: auto; 
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr; 
    gap: 4vw;
    box-sizing: border-box;
    z-index: 20;
}

.gsc-utility-col { display: flex; flex-direction: column; gap: 3dvh; align-items: flex-start; }
.gsc-utility-col-right { align-items: flex-end; justify-content: space-between; }

.gsc-utility-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(247, 246, 242, 0.4);
    margin: 0;
}

.gsc-utility-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(247, 246, 242, 0.8);
    line-height: 1.8;
    margin: 0;
}

.gsc-utility-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.5dvh; }

.gsc-utility-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(247, 246, 242, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Micro-Interaction: Brand Hover Effects */
.gsc-link-text { position: relative; display: inline-block; padding-bottom: 2px; }
.gsc-link-text::after { content: ''; position: absolute; width: 0; height: 1px; bottom: 0; left: 0; transition: width 0.3s ease, background-color 0.3s ease; }

.gsc-ig-link:hover { color: #F59E0B !important; }
.gsc-ig-link .gsc-link-text::after { background-color: #F59E0B !important; }
.gsc-ig-link:hover .gsc-link-text::after { width: 100%; }

.gsc-wa-link:hover { color: #25D366 !important; }
.gsc-wa-link .gsc-link-text::after { background-color: #25D366 !important; }
.gsc-wa-link:hover .gsc-link-text::after { width: 100%; }

.gsc-explore-link:hover { color: #FFFFFF !important; }
.gsc-explore-link .gsc-link-text::after { background-color: #FFFFFF !important; }
.gsc-explore-link:hover .gsc-link-text::after { width: 100%; }

/* --- POWERED-UP BACK TO TOP --- */
.gsc-back-to-top {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5dvh;
    color: rgba(247, 246, 242, 0.6);
    transition: color 0.3s ease;
    padding: 0;
}

/* The Powered-Up Back to Top Button Icon */
.gsc-btt-icon {
    width: 52px !important; 
    height: 52px !important;
    border: 2px solid rgba(255, 255, 255, 0.9) !important; 
    color: #FFFFFF !important; 
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; 
    transition: all 0.3s ease;
}

.gsc-btt-icon svg,
.gsc-btt-icon i {
    font-size: 1.4rem !important; 
    stroke-width: 2px !important; 
}

/* Aggressive hover state on the wrapper applies to the icon */
.gsc-back-to-top:hover { color: #FFFFFF; }
.gsc-back-to-top:hover .gsc-btt-icon {
    background: #FFFFFF !important;
    color: #111111 !important; 
    transform: translateY(-5px); 
}

.gsc-copyright { font-family: 'DM Sans', sans-serif; font-size: 0.7rem; color: rgba(247, 246, 242, 0.2); margin: 0; }

/* --- ADVANCED WHATSAPP TOOLTIP --- */
.whatsapp-float {
    position: fixed !important;
    bottom: 3.5dvh !important;
    right: 4vw !important;
    z-index: 100 !important;
    overflow: visible !important;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: white;
    background-color: #25D366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: wa-pulse 3s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float::before {
    content: 'Chat with us';
    position: absolute;
    right: 120%;
    background: #ffffff;
    color: #000000;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(10px);
}

.whatsapp-float:hover::before { opacity: 1; transform: translateX(0); }
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6); animation: none !important; }

@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .gsc-footer-utility { grid-template-columns: 1fr; gap: 6dvh; padding: 6dvh 6vw; }
    .gsc-utility-col-right { align-items: flex-start; gap: 4dvh; }
    .whatsapp-float { width: 50px; height: 50px; bottom: 1.5rem !important; right: 1.5rem !important; }
}

/* ==========================================================================
   TOP 1% MICRO-INTERACTIONS & KINETICS
   ========================================================================== */

/* 1. LIQUID SWEEP BUTTONS */
.book-visit-btn, 
.consult-btn { /* Targets your main hero buttons */
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    /* Ensure no cheap default borders */
    border: 1px solid rgba(255, 255, 255, 0.2); 
}

/* The Liquid Fill Element */
.book-visit-btn::after, 
.consult-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: -100%; /* Hides it completely below the button */
    left: 0;
    background: #FFFFFF; /* Pure white fill */
    z-index: -1;
    border-radius: 50% 50% 0 0; /* Creates a fluid, domed top edge */
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); /* Premium Expo Out Curve */
}

/* The Hover State */
.book-visit-btn:hover, 
.consult-btn:hover {
    color: #0A0A0A !important; /* Forces text to dark when background fills white */
}

.book-visit-btn:hover::after, 
.consult-btn:hover::after {
    bottom: 0;
    border-radius: 0; /* Snaps to a perfect square as it hits the top */
}

/* 2. INERTIA SWEEP UNDERLINES (For Nav and Footer Links) */
.gsc-utility-link span {
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
}

.gsc-utility-link span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: currentColor; /* Matches whatever color the text is */
    transform: scaleX(0);
    transform-origin: bottom right; /* Anchors the exit animation to the right */
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gsc-utility-link:hover span::after {
    transform: scaleX(1);
    transform-origin: bottom left; /* Anchors the entrance animation to the left */
}

/* 3. VOLUMETRIC GLARE (Curated Spaces Cards) */

/* The Invisible Glass Glare */

/* The Shine Animation */

/* Upgrade the Card Shadows */

/* --- 1. THE SMOKED GLASS WRAPPER --- */
.gsc-liquid-marquee {
    background: rgba(15, 15, 15, 0.65) !important; 
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important; 
    border-bottom: 1px solid rgba(0, 0, 0, 0.5) !important; 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
    
    padding: 3rem 0 !important; 
    margin-top: -70px !important;
    position: relative !important;
    z-index: 10 !important;
    
    overflow: hidden !important;
}

/* --- 2. THE FLAWLESS FLEXBOX TRACK (NO CSS TRANSITIONS) --- */
.marquee-glass-track {
    /* Flexbox guarantees perfect math and kills invisible HTML gaps */
    display: flex !important; 
    align-items: center !important;
    width: max-content !important; 
    
    /* Pure GPU rendering. JS handles all physics natively. */
    will-change: transform !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    backface-visibility: hidden !important;
}

/* --- 3. HIGH-CONTRAST BRANDS & GOLDEN DOTS --- */
.gsc-liquid-marquee span, 
.gsc-liquid-marquee h3, 
.gsc-liquid-marquee li, 
.marquee-glass-item {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 4rem !important; 
    position: relative !important;
    white-space: nowrap !important;
    
    color: #FFFFFF !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important; 
    font-weight: 700 !important; 
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    font-family: 'DM Sans', sans-serif;
    font-size: 2.5vw; 
}

.gsc-liquid-marquee span::after, 
.gsc-liquid-marquee h3::after, 
.gsc-liquid-marquee li::after, 
.marquee-glass-item::after {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    width: 6px !important;
    height: 6px !important;
    background: #D4AF37 !important; 
    border-radius: 50% !important;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.6) !important;
}

/* Hide the old CSS dots since margin handles the spacing natively now */
.marquee-glass-divider { display: none !important; }

/* Target your exact Get Directions circle class */
.get-directions-btn {
    position: relative !important;
    
    /* Adjust these exact numbers up or down until it perfectly covers the 'O' */
    top: 25px !important;  /* Pushes the circle Down */
    left: 35px !important; /* Pushes the circle Right */
    
    /* Ensure it floats visually above the text behind it */
    z-index: 20 !important; 
}

/* --- PHASE 7: COWBOY MASONRY WALL --- */
.experience-gallery-wrapper {
    width: 100vw;
    padding: 10dvh 0 0 0; /* Removed bottom padding to eliminate white space */
    background: #FFFFFF; /* Crisp white background */
    overflow: hidden;
}

/* --- PHASE 7.5: CENTERED GALLERY HEADER --- */
.curated-header-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 5vw;
    margin-bottom: 3rem; /* Tighter margin so it sits closer to the images */
    position: relative;
    z-index: 2;
}

.curated-kicker-centered {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: rgba(17, 17, 17, 0.4);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.curated-title-centered {
    font-family: 'DM Sans', sans-serif;
    font-size: 3.5vw; /* Drastically scaled down from 8vw */
    font-weight: 400;
    letter-spacing: -0.02em;
    color: #111111;
    margin: 0;
}

/* Mobile responsive scaling */
@media (max-width: 992px) {
    .curated-title-centered { font-size: 8vw; }
}

/* The Scrolling Track */
.experience-track {
    display: flex;
    gap: 16px; /* Tight, uniform architectural gap */
    /* Center the entire gallery on large screens to fix the right-side gap */
    justify-content: center; 
    padding: 0 2vw 5vw 2vw !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    
    /* Hide scrollbar for a clean app feel */
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}

.experience-track::-webkit-scrollbar {
    display: none;
}

/* 1. Scale down the columns to an elegant, manageable size */
.experience-col {
    display: flex;
    flex-direction: column;
    gap: 16px !important; /* Tighter gap to match the smaller cards */
    width: 260px !important; /* Reduced from the massive 340px */
    flex-shrink: 0;
}

/* 2. Soften the vertical stagger so it doesn't look broken */
.col-odd {
    margin-top: 50px !important; /* Reduced from 80px */
}

/* Card & Image Styling */
/* --- EXPERIENCE CENTER HOVER PHYSICS --- */
/* --- EXPERIENCE GALLERY HOVER PHYSICS --- */
.experience-card {
    position: relative !important;
    overflow: hidden !important; 
    border-radius: 8px !important; 
    will-change: transform, opacity !important;
}

.experience-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important; 
    will-change: transform !important;
}

/* The actual hover trigger */
.experience-card:hover .experience-img {
    transform: scale(1.06) !important; 
}

/* 3. Scale the card heights down so more fit vertically on the screen */
.experience-card.tall { height: 380px !important; }
.experience-card.short { height: 240px !important; }

/* 4. Frosted Glass Pill Tags */
.card-pill {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    
    /* The Glassmorphism Engine */
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    
    color: #111111;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.6rem 1.2rem;
    border-radius: 50px; 
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important; /* Softer, deeper shadow */
    z-index: 2;
    pointer-events: none; 
}

/* Mobile responsive scaling */
@media (max-width: 992px) {
    .experience-track { justify-content: flex-start; } /* Restores normal swipe behavior on phones */
    .experience-col { width: 220px !important; }
    .col-odd { margin-top: 40px !important; }
    .experience-card.tall { height: 300px !important; }
    .experience-card.short { height: 180px !important; }
}

/* --- PHASE 8: THE GRAND FINALE --- */
.finale-section {
    position: relative;
    overflow: hidden; /* Crucial: Stops the zoomed image from bleeding out */
    min-height: 110dvh !important; 
}

.finale-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center center;
    /* We handle the actual zoom in JS */
}

/* --- 1. ABSOLUTE SCROLL LOCK --- */
body.no-scroll {
    overflow: hidden !important;
    height: 100dvh !important;
    touch-action: none !important; 
}

/* --- 2. DEEP CINEMATIC OVERLAY --- */
.book-modal-overlay {
    position: fixed !important;
    top: 0 !important; left: 0 !important;
    width: 100vw !important; height: 100dvh !important;
    background: rgba(10, 10, 12, 0.70) !important; 
    backdrop-filter: blur(20px) saturate(120%) !important; 
    -webkit-backdrop-filter: blur(20px) saturate(120%) !important;
    z-index: 10000 !important;
    display: flex !important; justify-content: center !important; align-items: center !important;
    opacity: 0; visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s !important;
}
.book-modal-overlay.active { opacity: 1; visibility: visible; }

/* --- UI COMPRESSION FOR EXTRA FIELDS --- */
.book-modal-content {
    width: 90% !important;
    max-width: 460px !important; 
    
    /* Fallback added: strictly hides scrollbar visually but allows drag-scrolling on very tiny laptop screens */
    max-height: 95dvh !important; 
    overflow-y: auto !important; 
    -ms-overflow-style: none !important;  /* IE and Edge */
    scrollbar-width: none !important;  /* Firefox */
    
    background: #FFFFFF !important;
    border-radius: 20px !important; 
    padding: 1.5rem 2rem !important; /* Compressed top padding */
    position: relative !important;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5) !important;
    transform: translateY(30px) scale(0.96);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Hide webkit scrollbar */
.book-modal-content::-webkit-scrollbar {
    display: none !important;
}
.book-modal-overlay.active .book-modal-content { transform: translateY(0) scale(1); }

/* --- 4. MICRO-TYPOGRAPHY --- */
.modal-header { margin-bottom: 1.2rem !important; } /* Tighter rhythm */
.modal-header h2 {
    font-family: 'Inter', sans-serif !important;
    font-size: 24px !important; font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    margin: 0 0 0.4rem 0 !important; color: #111 !important;
}
.modal-header p {
    color: #666 !important; font-size: 13px !important; line-height: 1.5 !important;
    margin: 0 !important;
}

/* --- 5. ARCHITECTURAL INPUTS --- */
.gsc-form { display: flex !important; flex-direction: column !important; gap: 0.8rem !important; } /* Tighter gaps between fields */
.input-group { display: flex !important; flex-direction: column !important; gap: 0.2rem !important; }

.input-group label {
    font-size: 10.5px !important; font-weight: 700 !important;
    text-transform: uppercase !important; letter-spacing: 0.1em !important;
    color: #444 !important;
}

/* --- OPTIONAL TAG TYPOGRAPHY --- */
.sub-label {
    color: #999 !important;
    font-weight: 500 !important;
    letter-spacing: 0.05em !important;
    font-size: 9px !important;
    text-transform: none !important;
    margin-left: 4px !important;
}

/* Compact the inputs slightly */
.input-group input {
    width: 100% !important;
    padding: 0.8rem 1rem !important; 
    border: 1px solid #E4E4E7 !important;
    border-radius: 10px !important;
    font-family: 'Inter', sans-serif !important; 
    font-size: 13px !important;
    background: #FAFAFC !important; color: #111 !important;
    transition: all 0.3s ease !important;
}
.input-group input:focus {
    outline: none !important; background: #FFFFFF !important;
    border-color: #111 !important; box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
}

/* --- COMPACT GLASS PILLS --- */
.pill-container { display: flex !important; flex-wrap: wrap !important; gap: 0.4rem !important; margin-top: 0.1rem !important; }
.category-pill {
    background: rgba(0, 0, 0, 0.03) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #555 !important;
    
    /* SCALED DOWN PROPORTIONS */
    padding: 0.45rem 0.9rem !important; 
    border-radius: 100px !important;
    font-family: 'Inter', sans-serif !important; 
    font-size: 9.5px !important; /* Smaller text */
    font-weight: 700 !important; letter-spacing: 0.06em !important;
    text-transform: uppercase !important; cursor: pointer !important;
    will-change: transform, background, color !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.category-pill:hover { border-color: rgba(0,0,0,0.3) !important; color: #111 !important; }
.category-pill.active {
    background: #111 !important; color: #FFF !important; border-color: #111 !important;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15) !important;
    transform: scale(1.03) !important; 
}

/* --- 7. THE ACTION BUTTON --- */
.form-submit-btn {
    width: 100% !important; margin-top: 0.5rem !important;
    background: #0A0A0A !important; color: #FFF !important;
    border: none !important; padding: 1.1rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important; text-transform: uppercase !important;
    letter-spacing: 0.15em !important; font-size: 12px !important;
    cursor: pointer !important;
    display: flex !important; justify-content: center !important; align-items: center !important; gap: 0.8rem !important;
    transition: all 0.4s ease !important;
}
.form-submit-btn:hover {
    background: #000000 !important; box-shadow: 0 8px 20px rgba(0,0,0,0.2) !important; transform: translateY(-2px) !important;
}
.btn-arrow { font-size: 14px !important; transition: transform 0.3s ease !important; }
.form-submit-btn:hover .btn-arrow { transform: translateX(4px) !important; }

/* --- 8. MINIMALIST CLOSE BUTTON --- */
.close-modal-btn {
    position: absolute !important; top: 1.2rem !important; right: 1.2rem !important;
    background: #F4F4F5 !important; border: none !important;
    width: 30px !important; height: 30px !important; border-radius: 50% !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    color: #555 !important; cursor: pointer !important;
    transition: all 0.3s ease !important;
}
.close-modal-btn:hover { background: #E4E4E7 !important; color: #000 !important; transform: rotate(90deg) !important; }

/* --- 9. STAGGERED ENTRANCE --- */
.stagger-up {
    opacity: 0; transform: translateY(10px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.15s !important; }
.delay-3 { transition-delay: 0.2s !important; }
.delay-4 { transition-delay: 0.25s !important; }
.book-modal-overlay.active .stagger-up { opacity: 1; transform: translateY(0); }

/* --- 1. THE DARK SLATE OVERLAY --- */

/* Active State: The Reveal */

/* Prevents background scrolling when menu is open */
body.menu-locked { overflow: hidden !important; }

/* --- 2. MENU BOUNDS & HEADER --- */


/* --- 3. THE GRID & MASSIVE TYPOGRAPHY --- */

/* The Staggered Animation Trigger */
/* Staggering the entrance times */

/* Micro-Typography for Numbers */

/* Massive Hover Typography */


/* --- 4. CORPORATE IDENTITY (RIGHT SIDE) --- */

/* --- 1. FOCUS ROOM BASE (FROSTED ARCHITECTURAL GLASS) --- */
.gsc-focus-room {
    position: fixed !important; top: 0 !important; left: 0 !important;
    width: 100vw !important; height: 100vh !important;
    height: var(--vh, 100vh) !important;
    z-index: 9950 !important; 
    display: flex !important; flex-direction: column !important;
    
    /* THE FROSTED GLASS UPGRADE */
    background-color: rgba(5, 5, 5, 0.65) !important; /* Semi-transparent dark slate */
    backdrop-filter: blur(40px) !important; /* The massive blur effect */
    -webkit-backdrop-filter: blur(40px) !important; /* Safari support */
    
    /* Subtle gold spotlight and faint architectural grid */
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px) !important;
    background-size: 100% 100%, 60px 60px, 60px 60px !important;
    
    color: #FFF !important;
    transform: translateY(100%) !important; opacity: 0 !important;
    transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.4s ease !important;
}
.gsc-focus-room.is-active {
    transform: translateY(0) !important; opacity: 1 !important;
}

/* --- UPDATED HEADER (FIXES LOGO OVERLAP) --- */
.room-header {
    display: flex !important; justify-content: flex-end !important; /* Pushes close button to right */
    align-items: center !important; padding: 3rem 3.5rem !important; 
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    position: relative !important;
}
.room-kicker-center { 
    position: absolute !important; left: 50% !important; transform: translateX(-50%) !important;
    font-family: 'Inter', sans-serif !important; font-size: 11px !important; 
    letter-spacing: 0.2em !important; color: #D4AF37 !important; text-transform: uppercase !important;
}
.close-room-btn { 
    background: transparent !important; border: none !important; color: #FFF !important;
    font-family: 'Inter', sans-serif !important; font-size: 11px !important; letter-spacing: 0.1em !important; text-transform: uppercase !important;
    cursor: pointer !important; display: flex !important; gap: 0.5rem !important; transition: color 0.3s ease !important;
}
.close-room-btn:hover { color: #D4AF37 !important; }

/* --- 3. ENGINE LAYOUT --- */
.room-engine-layout {
    display: flex !important; flex-grow: 1 !important; padding: 3dvh 3.5rem !important; gap: 4dvh !important;
}
.engine-controls { width: 30% !important; display: flex !important; flex-direction: column !important; }
.engine-title { font-family: 'Cormorant Garamond', serif !important; font-size: 5vw !important; font-weight: 300 !important; line-height: 0.9 !important; margin-bottom: 3dvh !important; }

.engine-nav { display: flex !important; flex-direction: column !important; gap: 1rem !important; }
.engine-tab {
    background: transparent !important; border: none !important; color: #666 !important;
    text-align: left !important; font-family: 'Inter', sans-serif !important; font-size: 1.2rem !important;
    padding: 1rem 0 !important; cursor: pointer !important; border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    transition: all 0.4s ease !important; display: flex !important; justify-content: space-between !important;
}
.engine-tab::after { content: '→'; opacity: 0; transform: translateX(-10px); transition: all 0.4s ease; }
.engine-tab:hover { color: #FFF !important; }
.engine-tab.is-active { color: #D4AF37 !important; border-color: #D4AF37 !important; }
.engine-tab.is-active::after { opacity: 1; transform: translateX(0); }

/* --- 4. DATA MATRICES --- */
.engine-matrices { width: 70% !important; position: relative !important; }
.data-matrix {
    position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important;
    opacity: 0 !important; visibility: hidden !important; pointer-events: none !important;
    transform: translateY(40px) !important; transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.data-matrix.is-active {
    opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; transform: translateY(0) !important;
}

/* 4A. Scale Block Styling */
.matrix-grid-scale { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 3rem !important; }
.massive-block { grid-column: span 2 !important; border-top: 1px solid rgba(255,255,255,0.1) !important; padding-top: 3rem !important; }
.block-label { font-size: 11px !important; letter-spacing: 0.2em !important; color: #888 !important; text-transform: uppercase !important; display: block !important; margin-bottom: 1.5rem !important; }

/* --- PREMIUM SPECIFICATION CARDS (REPLACES BASIC LISTS) --- */
.spec-card-grid {
    display: flex !important; flex-wrap: wrap !important; gap: 0.8rem !important;
}
.column-grid { flex-direction: column !important; align-items: flex-start !important; }

.spec-card {
    border: 1px solid rgba(255,255,255,0.15) !important;
    padding: 0.64rem 1.2rem !important; border-radius: 6px !important;
    font-family: 'DM Sans', sans-serif !important; font-size: 1rem !important; color: #CCC !important;
    background: rgba(255,255,255,0.02) !important;
    transition: all 0.3s ease !important; cursor: default !important;
}
.spec-card:hover {
    border-color: #D4AF37 !important; color: #FFF !important; background: rgba(212, 175, 55, 0.05) !important;
    transform: translateY(-2px) !important;
}

/* Massive Cards for Slabs */
.massive-grid { gap: 1.5rem !important; }
.massive-card {
    font-size: 1.2rem !important; padding: 0.96rem 1.6rem !important; font-weight: 300 !important;
}
.bespoke-note { margin-top: 2rem !important; font-size: 12px !important; color: #666 !important; font-style: italic !important; }

/* 4B. Finish Block Styling */
.matrix-grid-finish { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 1rem !important; }
/* --- ENHANCED FINISH ITEMS --- */
.finish-item {
    border: 1px solid rgba(255,255,255,0.1) !important; padding: 2.5rem 1rem !important; 
    font-family: 'Cormorant Garamond', serif !important; font-size: 1.8rem !important;
    display: flex !important; justify-content: center !important; align-items: center !important; 
    transition: all 0.4s ease !important; background: rgba(255,255,255,0.01) !important;
    border-radius: 8px !important; color: #DDD !important;
}
.finish-item:hover { 
    border-color: #D4AF37 !important; color: #D4AF37 !important; 
    background: rgba(212, 175, 55, 0.05) !important; transform: scale(1.03) !important; 
}

/* 4C. Core Block Styling */
.matrix-grid-core { display: flex !important; gap: 4rem !important; }
.core-column { flex: 1 !important; }
.core-title { font-size: 11px !important; letter-spacing: 0.2em !important; color: #D4AF37 !important; text-transform: uppercase !important; margin-bottom: 2rem !important; }
.install-column p { line-height: 1.8 !important; color: #AAA !important; }

/* --- 5. ANIMATION ENGINE OVERRIDE --- */
/* Forces the element to ignore GSAP invisible overlays and accept clicks */
#surfacesTriggerCard {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 9000 !important; /* Forces it above the gallery track boundaries */
}

/* --- KITCHENS FOCUS ROOM SPECIFICS --- */
.room-pipeline-layout {
    display: flex !important; flex-direction: column !important; 
    flex-grow: 1 !important; padding: 3dvh 10vw !important;
}

/* The Horizontal Tracker */
.pipeline-tracker {
    position: relative !important; margin-bottom: 4dvh !important; margin-top: 1.5dvh !important;
}
.pipeline-line {
    position: absolute !important; top: 12px !important; left: 0 !important; 
    width: 100% !important; height: 1px !important; background: rgba(255,255,255,0.1) !important;
    z-index: 1 !important;
}
.pipeline-nodes {
    display: flex !important; justify-content: space-between !important; position: relative !important; z-index: 2 !important;
}
.pipeline-node {
    background: transparent !important; border: none !important; display: flex !important; flex-direction: column !important;
    align-items: center !important; gap: 1rem !important; cursor: pointer !important; width: 120px !important;
}
.node-dot {
    width: 25px !important; height: 25px !important; background: #111 !important; 
    border: 1px solid rgba(255,255,255,0.2) !important; border-radius: 50% !important;
    transition: all 0.4s ease !important;
}
.node-label {
    font-family: 'Inter', sans-serif !important; font-size: 11px !important; 
    letter-spacing: 0.15em !important; color: #666 !important; text-transform: uppercase !important;
    transition: all 0.4s ease !important;
}

/* Active & Hover States for Nodes */
.pipeline-node:hover .node-dot { border-color: #D4AF37 !important; }
.pipeline-node:hover .node-label { color: #FFF !important; }
.pipeline-node.is-active .node-dot { background: #D4AF37 !important; border-color: #D4AF37 !important; box-shadow: 0 0 20px rgba(212, 175, 55, 0.4) !important;}
.pipeline-node.is-active .node-label { color: #D4AF37 !important; font-weight: 700 !important; }

/* The Dynamic Content Window */
.pipeline-content-window {
    position: relative !important; flex-grow: 1 !important; display: flex !important; align-items: center !important;
}
.phase-panel {
    position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important;
    opacity: 0 !important; visibility: hidden !important; pointer-events: none !important;
    transform: translateY(20px) !important; transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.phase-panel.is-active {
    opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; transform: translateY(0) !important;
}

/* Phase Typography */
.phase-text { max-width: 800px !important; margin: 0 auto !important; text-align: center !important; }
.phase-title {
    font-family: 'Cormorant Garamond', serif !important; font-size: 5vw !important; 
    font-weight: 300 !important; line-height: 1 !important; margin-bottom: 1.5dvh !important; color: #FFF !important;
}
.phase-desc {
    font-family: 'DM Sans', sans-serif !important; font-size: 1.2rem !important; 
    line-height: 1.8 !important; color: #AAA !important; margin-bottom: 2dvh !important;
}
.phase-tags { display: flex !important; justify-content: center !important; gap: 1rem !important; }
.phase-tags span {
    border: 1px solid rgba(212, 175, 55, 0.3) !important; padding: 0.5rem 1.5rem !important; 
    border-radius: 4px !important; font-family: 'Inter', sans-serif !important; font-size: 11px !important; 
    letter-spacing: 0.1em !important; color: #D4AF37 !important; text-transform: uppercase !important;
}

/* --- BATHWARE: FLOATING TECH HUB LAYOUT --- */
.bath-hub-layout {
    display: flex !important; flex-direction: column !important; 
    flex-grow: 1 !important; padding: 2dvh 5vw 3dvh 5vw !important;
}

/* Centered Command Bar */
.bath-command-bar {
    display: flex !important; justify-content: center !important; margin-bottom: 3dvh !important;
}
.bath-nav-pills {
    display: flex !important; gap: 1.5rem !important; background: rgba(255,255,255,0.03) !important;
    padding: 0.5rem !important; border-radius: 50px !important; border: 1px solid rgba(255,255,255,0.05) !important;
}
.bath-pill-btn {
    background: transparent !important; border: none !important; color: #888 !important;
    padding: 1rem 2.5rem !important; border-radius: 40px !important; font-family: 'Inter', sans-serif !important;
    font-size: 13px !important; letter-spacing: 0.1em !important; text-transform: uppercase !important;
    cursor: pointer !important; transition: all 0.4s ease !important;
}
.bath-pill-btn:hover { color: #FFF !important; }
.bath-pill-btn.is-active { background: #FFF !important; color: #000 !important; font-weight: 700 !important; }

/* Content Area */
.bath-content-area { position: relative !important; flex-grow: 1 !important; display: flex !important; align-items: center !important; justify-content: center !important; }
.bath-data-pane {
    position: absolute !important; top: 0 !important; width: 100% !important; max-width: 1000px !important;
    opacity: 0 !important; visibility: hidden !important; pointer-events: none !important;
    transform: scale(0.95) !important; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.bath-data-pane.is-active {
    opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; transform: scale(1) !important; position: relative !important;
}

/* Luxury Cards */
.bath-split-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 3rem !important; }
.bath-luxury-card {
    background: rgba(255,255,255,0.02) !important; border: 1px solid rgba(255,255,255,0.08) !important;
    padding: 2.5dvh 3rem !important; border-radius: 16px !important;
}
.transparent-card { background: transparent !important; border: none !important; padding-left: 0 !important; }
.bath-card-title {
    font-family: 'Cormorant Garamond', serif !important; font-size: 2.5rem !important; 
    color: #FFF !important; font-weight: 300 !important; margin-bottom: 1.5dvh !important; border-bottom: 1px solid rgba(255,255,255,0.1) !important; padding-bottom: 1rem !important;
}

/* Line Items */
.bath-line-items { list-style: none !important; padding: 0 !important; margin: 0 !important; display: flex !important; flex-direction: column !important; gap: 1.2rem !important; }
.bath-line-items li { font-family: 'DM Sans', sans-serif !important; font-size: 1.1rem !important; color: #AAA !important; }
.highlight-item { color: #D4AF37 !important; font-weight: 700 !important; }

/* The Finish Pill Cloud */
.finish-pill-cloud { display: flex !important; flex-wrap: wrap !important; gap: 1rem !important; }
.finish-bubble {
    padding: 0.8rem 1.5rem !important; border-radius: 50px !important; font-family: 'Inter', sans-serif !important;
    font-size: 12px !important; letter-spacing: 0.05em !important; color: #FFF !important; border: 1px solid rgba(255,255,255,0.2) !important;
}
/* Subtle Metallic Accents for the bubbles */
.chrome { border-color: #E0E0E0 !important; background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent) !important; }
.matte-black { background: #111 !important; border-color: #333 !important; }
.brushed-gold { border-color: #D4AF37 !important; color: #D4AF37 !important; }
.rose-gold { border-color: #B76E79 !important; color: #B76E79 !important; }
.brushed-nickel { border-color: #A9A9A9 !important; }
.custom-pvd { border-style: dashed !important; color: #888 !important; }

/* Brand Hero Grid */
.brand-hero-grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 2rem !important; }
.brand-hero-item {
    padding: 4rem 2rem !important; border: 1px solid rgba(255,255,255,0.05) !important; border-radius: 12px !important;
    font-family: 'Inter', sans-serif !important; font-size: 1.5rem !important; font-weight: 300 !important; color: #FFF !important;
    text-align: center !important; letter-spacing: 0.1em !important; transition: all 0.4s ease !important;
}
.brand-hero-item:hover { background: #FFF !important; color: #000 !important; transform: translateY(-5px) !important; font-weight: 700 !important; }

/* --- WELLNESS: ZENITH TRIPLE PILLAR LAYOUT --- */
.wellness-pillar-layout {
    display: flex !important; flex-grow: 1 !important; padding: 3dvh 8vw 4dvh 8vw !important; gap: 2rem !important;
}

/* The Individual Pillars */
.zenith-pillar {
    flex: 1 !important; position: relative !important; background: rgba(255,255,255,0.01) !important;
    border: 1px solid rgba(255,255,255,0.05) !important; border-radius: 12px !important;
    padding: 3dvh 3rem !important; overflow: hidden !important; cursor: default !important;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important; flex-direction: column !important;
}
.center-pillar { transform: translateY(-20px) !important; background: rgba(255,255,255,0.02) !important; border-color: rgba(212, 175, 55, 0.2) !important; }

/* Pillar Hover Physics */
.zenith-pillar:hover { transform: translateY(-10px) !important; background: rgba(255,255,255,0.03) !important; border-color: rgba(212, 175, 55, 0.4) !important; }
.center-pillar:hover { transform: translateY(-30px) !important; }

.pillar-glow {
    position: absolute !important; bottom: 0 !important; left: 0 !important; width: 100% !important; height: 50% !important;
    background: linear-gradient(to top, rgba(212, 175, 55, 0.05), transparent) !important;
    opacity: 0 !important; transition: opacity 0.6s ease !important; pointer-events: none !important;
}
.zenith-pillar:hover .pillar-glow { opacity: 1 !important; }

/* Pillar Typography */
.pillar-content-wrapper { position: relative !important; z-index: 2 !important; }
.pillar-kicker { font-family: 'Inter', sans-serif !important; font-size: 11px !important; letter-spacing: 0.2em !important; color: #D4AF37 !important; text-transform: uppercase !important; display: block !important; margin-bottom: 1.5dvh !important; }
.pillar-title { font-family: 'Cormorant Garamond', serif !important; font-size: clamp(1.8rem, 3dvh, 3rem) !important; color: #FFF !important; font-weight: 300 !important; line-height: 1.1 !important; margin-bottom: 1.5dvh !important; }
.pillar-divider { width: 40px !important; height: 1px !important; background: rgba(255,255,255,0.2) !important; margin-bottom: 2dvh !important; transition: width 0.4s ease !important; }
.zenith-pillar:hover .pillar-divider { width: 80px !important; background: #D4AF37 !important; }

/* Pillar Lists & Brands */
.pillar-list { list-style: none !important; padding: 0 !important; margin: 0 !important; display: flex !important; flex-direction: column !important; gap: 1dvh !important; }
.pillar-list li { font-family: 'DM Sans', sans-serif !important; font-size: 1.1rem !important; color: #AAA !important; transition: color 0.3s ease !important; }
.zenith-pillar:hover .pillar-list li { color: #CCC !important; }

.pillar-brand-grid { display: flex !important; flex-wrap: wrap !important; gap: 1rem !important; }
.brand-badge { 
    padding: 1rem 1.5rem !important; border: 1px solid rgba(255,255,255,0.1) !important; border-radius: 4px !important;
    font-family: 'Inter', sans-serif !important; font-size: 12px !important; letter-spacing: 0.1em !important; color: #FFF !important; text-transform: uppercase !important;
}

/* --- PANELS: DIMENSIONAL CASCADE LAYOUT --- */
.panel-cascade-layout {
    display: flex !important; flex-grow: 1 !important; padding: 2rem 8vw !important; gap: 4rem !important; align-items: flex-start !important; overflow: hidden !important;
}

/* Left Intro */
.cascade-intro { width: 35% !important; }
.cascade-title {
    font-family: 'Cormorant Garamond', serif !important; font-size: 4rem !important; 
    line-height: 0.9 !important; color: #FFF !important; font-weight: 300 !important; margin-bottom: 1.6rem !important;
}
.cascade-sub { font-family: 'DM Sans', sans-serif !important; font-size: 0.96rem !important; line-height: 1.8 !important; color: #AAA !important; }

/* The Cascade Engine (Hover Trigger Area) */
.cascade-engine { 
    width: 65% !important; display: flex !important; flex-direction: column !important; 
    position: relative !important; cursor: crosshair !important; padding: 0.8rem 0 !important;
    overflow-y: auto !important; overflow-x: hidden !important;
    max-height: calc(100dvh - 120px) !important;
}

/* The Slabs (SLIMMED FOR LAPTOP SCREENS) */
.cascade-layer {
    position: relative !important;
    background: rgba(15, 15, 15, 0.98) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    padding: 1rem 2rem !important;
    border-radius: 8px !important;
    backdrop-filter: blur(20px) !important; -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.4) !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Initial Stack State (Tight Overlap) */
.layer-1 { z-index: 3 !important; margin-top: 0 !important; transform: translateY(0) scale(1) !important; }
.layer-2 { z-index: 2 !important; margin-top: -44px !important; transform: translateY(0) scale(0.96) !important; }
.layer-3 { z-index: 1 !important; margin-top: -44px !important; transform: translateY(0) scale(0.92) !important; }

/* The Hover Reveal Physics (Compact Expansion) */
.cascade-engine:hover .layer-1 { 
    transform: translateY(0) scale(1) !important; 
    border-color: rgba(212, 175, 55, 0.2) !important; 
}
.cascade-engine:hover .layer-2 { 
    margin-top: 12px !important; 
    transform: translateY(0px) scale(1) !important; 
    border-color: rgba(212, 175, 55, 0.2) !important; 
}
.cascade-engine:hover .layer-3 { 
    margin-top: 12px !important; 
    transform: translateY(0px) scale(1) !important; 
    border-color: rgba(212, 175, 55, 0.2) !important; 
}

/* Slab Typography & Content (Adjusted to Save Space) */
.layer-num { font-family: 'Inter', sans-serif !important; font-size: 9px !important; letter-spacing: 0.2em !important; color: #D4AF37 !important; text-transform: uppercase !important; display: block !important; margin-bottom: 0.64rem !important; }
.layer-headline { font-family: 'Cormorant Garamond', serif !important; font-size: 1.76rem !important; color: #FFF !important; font-weight: 300 !important; margin-bottom: 0.4rem !important; }
.layer-desc { font-family: 'DM Sans', sans-serif !important; font-size: 0.8rem !important; line-height: 1.5 !important; color: #AAA !important; }

/* Textures & Apps */
.texture-tag-grid { display: flex !important; flex-wrap: wrap !important; gap: 1rem !important; margin-top: 0.5rem !important; }
.texture-tag { padding: 1rem 1.5rem !important; border: 1px solid rgba(255,255,255,0.15) !important; border-radius: 4px !important; font-family: 'DM Sans', sans-serif !important; font-size: 1rem !important; color: #CCC !important; }

.app-split-list { display: flex !important; gap: 3.2rem !important; margin-top: 0.4rem !important; }
.app-column { list-style: none !important; padding: 0 !important; margin: 0 !important; display: flex !important; flex-direction: column !important; gap: 0.64rem !important; }
.app-column li { font-family: 'DM Sans', sans-serif !important; font-size: 0.88rem !important; color: #AAA !important; position: relative !important; padding-left: 1.2rem !important; }
.app-column li::before { content: '•'; position: absolute !important; left: 0 !important; color: #D4AF37 !important; }


/* --- 7. GLOBAL HEADER & OMNI-MENU --- */

/* Hamburger Trigger */
/* Hamburger Open State (Turns into an X) */

/* The Glass Menu Overlay */
.gsc-omni-menu {
    position: fixed !important; top: 0 !important; left: 0 !important; width: 100vw !important; height: 100vh !important;
    height: var(--vh, 100vh) !important;
    background: rgba(5, 5, 5, 0.85) !important; backdrop-filter: blur(40px) !important; -webkit-backdrop-filter: blur(40px) !important;
    z-index: 9999 !important; display: flex !important; align-items: center !important;
    opacity: 0 !important; visibility: hidden !important; pointer-events: none !important;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow-y: auto !important; 
    -webkit-overflow-scrolling: touch !important; 
}
.gsc-omni-menu.is-active { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; }

/* Menu Internal Layout */

/* Left Nav */

/* Right Corporate Box */
.omni-expert-btn {
    background: transparent !important; border: 1px solid #D4AF37 !important; color: #D4AF37 !important;
    padding: 1.2rem 2.5rem !important; font-family: 'Inter', sans-serif !important; font-size: 12px !important;
    letter-spacing: 0.1em !important; text-transform: uppercase !important; cursor: pointer !important;
    transition: all 0.4s ease !important;
}
.omni-expert-btn:hover { background: #D4AF37 !important; color: #000 !important; }

#masterNav { 
    z-index: 10000 !important; 
    transition: opacity 0.4s ease, visibility 0.4s ease !important;
}

/* --- 8. PILL HEADER DYNAMIC VISIBILITY --- */
.pill-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* --- THE VAULT SPECIFICS --- */
.gsc-omni-menu.vault-mode {
    background: rgba(10, 10, 10, 0.4) !important; /* Changed from solid black to transparent */
    backdrop-filter: blur(40px) !important; /* Added heavy frosted glass */
    -webkit-backdrop-filter: blur(40px) !important;
    justify-content: center !important; text-align: center !important; padding: 0 !important;
}

/* Background Image Engine */
.vault-bg-engine { position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; overflow: hidden !important; z-index: 1 !important; }
.vault-bg-plate {
    position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important;
    object-fit: cover !important; opacity: 0 !important; transform: scale(1.05) !important;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 4s ease !important;
}
.vault-bg-plate.is-active { opacity: 0.35 !important; transform: scale(1) !important; }
.vault-vignette {
    position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important;
    /* Softened the vignette so the glass blur shows through */
    background: radial-gradient(circle at center, rgba(0,0,0,0) 0%, rgba(5,5,5,0.85) 100%) !important; z-index: 2 !important;
}

/* Foreground Typography */
.vault-menu-layout { position: relative !important; z-index: 3 !important; display: flex !important; flex-direction: column !important; align-items: center !important; width: 100% !important; }
.vault-kicker { font-family: 'Inter', sans-serif !important; font-size: 11px !important; letter-spacing: 0.3em !important; color: #D4AF37 !important; text-transform: uppercase !important; margin-bottom: 3dvh !important; }
.vault-nav { display: flex !important; flex-direction: column !important; gap: 0.5rem !important; }
.vault-link {
    font-family: 'Cormorant Garamond', serif !important; font-size: 6vw !important;
    color: #FFF !important; text-decoration: none !important; font-weight: 300 !important;
    line-height: 1.1 !important; transition: all 0.4s ease !important; opacity: 0.3 !important;
}
.vault-link:hover { opacity: 1 !important; color: #D4AF37 !important; letter-spacing: 2px !important; }

/* Dim other links when hovering one */
.vault-nav:hover .vault-link:not(:hover) { opacity: 0.1 !important; filter: blur(2px) !important; }

/* --- THE MASTER INDEX HYBRID LAYOUT (REPAIRED) --- */

/* Elevate Logo above Omni-Menu */
#chameleonLogo { z-index: 10000 !important; }

/* 1. Reset the Parent to allow the child grid to take over */
.gsc-omni-menu.vault-mode { display: block !important; padding: 0 !important; }

/* 2. Force the Left/Right Split */
.gsc-master-index {
    position: relative !important; z-index: 10 !important;
    display: flex !important; flex-direction: row !important; 
    width: 100% !important; height: 100dvh !important;
    /* Changed top padding from 14dvh to 110px to snap right under the Pill */
    padding: 13dvh 8vw 3dvh 8vw !important; 
    justify-content: space-between !important; 
    align-items: flex-start !important; 
    overflow-y: auto !important; 
}

/* 3. Left Side: Navigation */
.vault-nav-col { flex: 1 !important; display: flex !important; flex-direction: column !important; align-items: flex-start !important; }
.vault-nav-col .vault-kicker { font-family: 'Inter', sans-serif !important; font-size: 11px !important; letter-spacing: 0.3em !important; color: #D4AF37 !important; text-transform: uppercase !important; margin-bottom: 2dvh !important; text-align: left !important; display: block !important; }
.vault-nav-col .vault-nav { display: flex !important; flex-direction: column !important; gap: 0.5dvh !important; align-items: flex-start !important; }
.vault-nav-col .vault-link { font-family: 'Cormorant Garamond', serif !important; font-size: 5vw !important; color: #FFF !important; text-decoration: none !important; font-weight: 300 !important; line-height: 1.1 !important; transition: all 0.4s ease !important; opacity: 0.3 !important; text-align: left !important; }
.vault-nav-col .vault-link:hover { opacity: 1 !important; color: #D4AF37 !important; letter-spacing: 2px !important; }

/* 4. Right Side: Tools Column (Clearance Added) */
.vault-tools-col { 
    display: flex !important; flex-direction: column !important; 
    gap: 1.5dvh !important; /* Viewport-relative */
    width: 420px !important; text-align: left !important; 
    margin-top: 0 !important; 
    padding-bottom: 0 !important; 
}

/* 5. The Glass Cards */
.gsc-tool-card {
    background: rgba(10, 10, 10, 0.4) !important; border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 2.2dvh 2rem !important; /* Viewport-relative */
    border-radius: 12px !important;
    backdrop-filter: blur(40px) !important; -webkit-backdrop-filter: blur(40px) !important;
}
.gsc-tool-card .tool-kicker { font-family: 'Inter', sans-serif !important; font-size: 10px !important; letter-spacing: 0.2em !important; color: #D4AF37 !important; display: block !important; margin-bottom: 1.2dvh !important; }
.gsc-tool-card .tool-title { font-family: 'Cormorant Garamond', serif !important; font-size: clamp(1.5rem, 2.8dvh, 2.2rem) !important; color: #FFF !important; margin-bottom: 0.8dvh !important; line-height: 1.2 !important; }
.gsc-tool-card .tool-desc { 
    font-family: 'DM Sans', sans-serif !important; font-size: clamp(0.8rem, 1.2dvh, 0.95rem) !important; color: #AAA !important; 
    margin-bottom: 1.2dvh !important; /* Viewport-relative */
    line-height: 1.5 !important; 
}

/* 6. Buttons & Estimator Controls */
.tool-wa-btn {
    background: #25D366 !important; color: #FFF !important; border: none !important;
    padding: 1.4dvh 1.5rem !important; font-family: 'Inter', sans-serif !important; font-size: 12px !important; font-weight: 700 !important;
    letter-spacing: 0.1em !important; text-transform: uppercase !important; cursor: pointer !important; width: 100% !important;
    display: flex !important; justify-content: center !important; align-items: center !important; gap: 10px !important;
    border-radius: 6px !important; transition: all 0.3s ease !important; margin-top: 1dvh !important;
}
.tool-wa-btn:hover { background: #1EBE5D !important; transform: translateY(-2px) !important; }
.tool-wa-btn.outline-btn { background: transparent !important; color: #D4AF37 !important; border: 1px solid #D4AF37 !important; }
.tool-wa-btn.outline-btn:hover { background: #D4AF37 !important; color: #000 !important; }

.estimator-controls { display: flex !important; flex-direction: column !important; gap: 1dvh !important; margin-bottom: 1.5dvh !important; }
.est-select { background: rgba(255,255,255,0.05) !important; border: 1px solid rgba(255,255,255,0.15) !important; color: #FFF !important; padding: 1dvh 1rem !important; font-family: 'DM Sans', sans-serif !important; font-size: clamp(0.85rem, 1.2dvh, 1rem) !important; border-radius: 4px !important; outline: none !important; cursor: pointer !important; }
.est-select option { background: #111 !important; color: #FFF !important; }

/* --- BUDGET SLIDER AESTHETICS --- */
.slider-wrapper { margin-top: 0.5dvh !important; }
.slider-labels { display: flex !important; justify-content: space-between !important; margin-bottom: 0.8dvh !important; font-family: 'Inter', sans-serif !important; font-size: 11px !important; color: #888 !important; text-transform: uppercase !important; letter-spacing: 0.1em !important; }
.budget-value { color: #D4AF37 !important; font-family: 'Cormorant Garamond', serif !important; font-size: clamp(1.1rem, 1.8dvh, 1.4rem) !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 600 !important; line-height: 1 !important;}

.gsc-range-slider {
    -webkit-appearance: none !important; width: 100% !important; height: 4px !important;
    background: rgba(255,255,255,0.1) !important; border-radius: 2px !important; outline: none !important;
}
.gsc-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none !important; appearance: none !important;
    width: 20px !important; height: 20px !important; border-radius: 50% !important;
    background: #D4AF37 !important; cursor: pointer !important; transition: transform 0.2s ease !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4) !important;
}
.gsc-range-slider::-webkit-slider-thumb:hover { transform: scale(1.2) !important; }
/* --- HARDWARE ACCELERATION (ANTI-LAG) --- */
.experience-col, .gsc-monolithic-grid .gsc-grid-pillar{
    -webkit-backface-visibility: hidden ;
    backface-visibility: hidden ;
    transform: translateZ(0) ; 
    -webkit-transform: translateZ(0) ;
    perspective: 1000px ;
    will-change: transform, opacity ;
}

/* --- GRAND FOOTER PHYSICS & AESTHETICS --- */
.gsc-grand-footer {
    overflow: hidden !important; /* Prevents parallax from breaking the page width */
    position: relative !important;
}

.gsc-bg-image, #footer-bg-image {
    will-change: transform !important;
    transform: scale(1.1) !important;
    object-fit: cover !important;
    object-position: center 55% !important; /* Slightly nudges the image up from the previous center position */
}

/* Make the text ready to animate */
.ready-to-build-title, .gsc-footer-subtext, .gsc-utility-col {
    will-change: transform, opacity !important;
}

/* --- REMOVE VISUAL SCROLLBARS (MAINTAIN SCROLL PHYSICS) --- */
/* For Chrome, Safari, and Opera */
::-webkit-scrollbar,
.gsc-master-index::-webkit-scrollbar,
body::-webkit-scrollbar,
html::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    background: transparent !important;
}

/* For Firefox, IE, and Edge */
* {
    -ms-overflow-style: none !important; /* IE and Edge */
    scrollbar-width: none !important; /* Firefox */
}

/* ==========================================================================
   SURGICAL MOBILE OVERRIDES (MAX-WIDTH: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* =======================================================
       1. GLOBAL LAYOUT & HEADER REPAIRS
       ======================================================= */
    .chameleon-anchor { left: 4vw !important; top: 4vw !important; }
    .chameleon-logo { height: 35px !important; }
    .floating-header { padding: 4vw !important; justify-content: flex-end !important; top: 0 !important; }
    .fused-glass-pill { padding: 0.2rem 0.5rem !important; }
    .fused-btn { padding: 0.5rem 0.6rem !important; font-size: 9px !important; }

    /* Category Pillar Accordion */
    .gsc-monolithic-grid { display: block !important; height: auto !important; background: transparent !important; }.gsc-monolithic-grid .gsc-grid-pillar{ display: block ; width: 100% ; height: 22dvh ; border: none ; margin: 0 ; padding: 0 ; transition: height 0.7s cubic-bezier(0.25, 1, 0.5, 1) ; }.gsc-monolithic-grid .gsc-grid-pillar:hover{ height: 48dvh ; }.gsc-monolithic-grid .gsc-grid-pillar .gsc-pillar-bg img{ transform: scale(1.05) ; object-position: center center ; }.gsc-monolithic-grid .gsc-grid-pillar:hover .gsc-pillar-bg img{ transform: scale(1) ; filter: grayscale(0%) brightness(0.60) ; }
    .gsc-vertical-title { transform: none !important; left: 5vw !important; top: 5vw !important; bottom: auto !important; font-size: 6vw !important; }.gsc-monolithic-grid .gsc-grid-pillar .gsc-pillar-content{ width: 85vw ; left: 6vw ; bottom: 5dvh ; }.gsc-monolithic-grid .gsc-grid-pillar .gsc-pillar-num{ font-size: 3.5vw ; margin-bottom: 0.5dvh ; }.gsc-monolithic-grid .gsc-grid-pillar .gsc-pillar-content h2{ font-size: 10vw ; line-height: 0.95 ; margin-bottom: 1.5dvh ; }.gsc-monolithic-grid .gsc-grid-pillar .gsc-pillar-content p{ font-size: 3.8vw ; line-height: 1.5 ; }

    .museum-gallery-wrapper { padding-bottom: 0 !important; margin-bottom: 0 !important; }
    .gsc-liquid-marquee span, .marquee-glass-item { font-size: 7vw !important; padding: 0 8vw !important; }

    /* =======================================================
       2. VAULT OMNI-MENU REPAIR (Fixes Image 2 Overlap)
       ======================================================= */
    .gsc-omni-menu.vault-mode { display: flex !important; align-items: flex-start !important; overflow: hidden !important; height: var(--vh, 100vh) !important; }
    .gsc-master-index { display: flex !important; flex-direction: column !important; justify-content: center !important; gap: 1.5vh !important; height: 100% !important; width: 100% !important; padding: 60px 5vw 8px 5vw !important; overflow: hidden !important; }
    
    .vault-nav-col { width: 100% !important; margin-bottom: 0 !important; flex: 1 !important; display: flex !important; flex-direction: column !important; justify-content: center !important; }
    .vault-nav-col .vault-kicker { font-size: 8px !important; display: block !important; width: 100% !important; text-align: center !important; margin-bottom: 1rem !important; }
    .vault-nav-col .vault-nav { display: flex !important; flex-direction: column !important; width: 100% !important; align-items: center !important; gap: 0.2rem !important; }
    .vault-nav-col .vault-link { display: block !important; width: 100% !important; text-align: center !important; font-size: 7vw !important; line-height: 1.1 !important; }

    .vault-tools-col { width: 100% !important; display: flex !important; flex-direction: column !important; gap: 0.4rem !important; padding-bottom: env(safe-area-inset-bottom, 20px) !important; }
    .gsc-tool-card { padding: 0.5rem 0.8rem !important; }
    .gsc-tool-card .tool-kicker { font-size: 8px !important; margin-bottom: 0.3rem !important; }
    .gsc-tool-card .tool-title { font-size: 1.15rem !important; margin-bottom: 0.2rem !important; }
    .gsc-tool-card .tool-desc { font-size: 0.7rem !important; margin-bottom: 0.25rem !important; line-height: 1.2 !important; }
    .tool-wa-btn { padding: 0.5rem !important; font-size: 9px !important; margin-top: 0.2rem !important; }
    
    .estimator-controls { gap: 0.5rem !important; margin-bottom: 0.5rem !important; }
    .est-select { padding: 0.4rem !important; font-size: 0.8rem !important; }
    .budget-value { font-size: 0.95rem !important; }
    
    /* Fixes header overlap */

    /* =======================================================
       3. HORIZONTAL APP DASHBOARD (Fixes Image 1 Breakage)
       ======================================================= */
    .gsc-focus-room { height: var(--vh, 100vh) !important; overflow: hidden !important; display: flex !important; flex-direction: column !important; }
    
    .room-header { display: flex !important; flex-direction: column-reverse !important; align-items: flex-start !important; padding: 6vw 6vw 0 6vw !important; gap: 4vw !important; border-bottom: none !important; }
    .room-kicker-center { position: relative !important; left: 0 !important; transform: none !important; width: 100% !important; text-align: left !important; margin-bottom: 2vw !important; }
    .close-room-btn { align-self: flex-end !important; }

    .room-engine-layout, .bath-hub-layout, .wellness-pillar-layout, .room-pipeline-layout { display: flex !important; flex-direction: column !important; flex: 1 !important; padding: 0 0 8vw 0 !important; overflow: hidden !important; }
    .room-pipeline-layout { overflow-y: auto !important; -webkit-overflow-scrolling: touch !important; }
    .engine-controls { padding: 0 6vw !important; width: 100% !important; margin-bottom: 2dvh !important; }
    .engine-title, .bath-card-title { font-size: 14vw !important; margin-bottom: 3dvh !important; line-height: 0.9 !important; letter-spacing: -0.03em !important; }
    
    /* Tab Navigation Layout Fixes */
    .engine-nav, .bath-nav-pills { display: flex !important; flex-direction: row !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; gap: 6vw !important; padding-bottom: 4vw !important; border-bottom: 1px solid rgba(255,255,255,0.1) !important; mask-image: linear-gradient(to right, black 85%, transparent 100%) !important; -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%) !important; padding-right: 15vw !important; }
    .engine-nav::-webkit-scrollbar, .bath-nav-pills::-webkit-scrollbar { display: none !important; }
    .engine-tab { border-bottom: none !important; white-space: nowrap !important; padding: 0 !important; font-size: 4.5vw !important; }
    .engine-tab::after { display: none !important; }

    /* Bathware Tabs */
    .bath-command-bar { width: 100% !important; padding: 0 6vw !important; margin-bottom: 2dvh !important; display: block !important; }
    .bath-pill-btn { padding: 0 0 2vw 0 !important; background: transparent !important; border-radius: 0 !important; font-size: 4.5vw !important; white-space: nowrap !important; color: #666 !important; font-weight: 400 !important; }
    .bath-pill-btn.is-active { background: transparent !important; color: #D4AF37 !important; }

    /* Content Area Frame */
    .engine-matrices, .bath-content-area { flex: 1 !important; display: flex !important; align-items: flex-start !important; width: 100vw !important; padding-top: 5dvh !important; }
    .data-matrix, .bath-data-pane { display: none !important; width: 100% !important; transform: none !important; }
    .data-matrix.is-active, .bath-data-pane.is-active { display: block !important; animation: none !important; opacity: 1 !important; transform: none !important; }

    /* The Horizontal Swipe Physics */
    .matrix-grid-scale, .matrix-grid-finish, .matrix-grid-core, .bath-split-grid { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; gap: 4vw !important; width: 100vw !important; overflow-x: auto !important; overflow-y: hidden !important; -webkit-overflow-scrolling: touch !important; scroll-snap-type: x mandatory !important; padding: 0 6vw !important; scroll-padding-left: 6vw !important; align-items: flex-start !important; }
    .matrix-grid-scale::-webkit-scrollbar, .matrix-grid-finish::-webkit-scrollbar, .matrix-grid-core::-webkit-scrollbar, .bath-split-grid::-webkit-scrollbar { display: none !important; }

    /* Card Bounds & Internal Scroll */
    .scale-block, .core-column, .bath-luxury-card { flex: 0 0 78vw !important; scroll-snap-align: start !important; background: rgba(255,255,255,0.02) !important; border: 1px solid rgba(255,255,255,0.05) !important; padding: 5vw !important; border-radius: 12px !important; max-height: 65dvh !important; overflow-y: auto !important; }
    .scale-block::-webkit-scrollbar, .core-column::-webkit-scrollbar, .bath-luxury-card::-webkit-scrollbar { display: none !important; }
    .spec-card-grid { display: flex !important; flex-direction: column !important; gap: 2vw !important; }
    .massive-card { font-size: 4.2vw !important; padding: 3vw 4vw !important; }
    
    /* Tag Cloud Override */
    .matrix-grid-finish { flex-wrap: wrap !important; overflow: visible !important; gap: 3vw !important; }
    .finish-item { flex: 0 0 auto !important; width: auto !important; height: auto !important; padding: 3vw 6vw !important; font-size: 4.5vw !important; border-radius: 100px !important; scroll-snap-align: none !important; }

    /* =======================================================
       4. THE GOLDEN SWIPE AFFORDANCE DOT
       ======================================================= */
    .engine-controls::after, .gsc-focus-room::before, .gsc-focus-room::after { display: none !important; }
    
    #matrixScale.is-active::before, #matrixCore.is-active::before, #hubWater.is-active::before, #hubSanitary.is-active::before {
        content: '' !important; position: fixed !important; bottom: 4dvh !important; left: 50% !important; margin-left: -20px !important; width: 40px !important; height: 14px !important; border: 1.5px solid rgba(255, 255, 255, 0.15) !important; border-radius: 10px !important; z-index: 10000 !important; pointer-events: none !important;
    }
    #matrixScale.is-active::after, #matrixCore.is-active::after, #hubWater.is-active::after, #hubSanitary.is-active::after {
        content: '' !important; position: fixed !important; bottom: calc(4dvh + 5px) !important; left: 50% !important; margin-left: -2px !important; width: 4px !important; height: 4px !important; background: #D4AF37 !important; border-radius: 50% !important; z-index: 10001 !important; pointer-events: none !important; animation: silentSwipeFixed 2.5s infinite ease-in-out !important;
    }
    @keyframes silentSwipeFixed { 0% { transform: translateX(12px); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(-12px); opacity: 0; } }

    
    /* KITCHEN MOBILE FIX — scrollable layout */
    #focusRoomKitchens .room-pipeline-layout {
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 0 !important;
    }
    #focusRoomKitchens .pipeline-content-window {
        position: relative !important;
        flex: none !important;
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
    }
    #focusRoomKitchens .phase-panel {
        position: relative !important;
        top: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
    }
    #focusRoomKitchens .phase-panel:not(.is-active) {
        display: none !important;
    }
    #focusRoomKitchens .phase-panel.is-active {
        display: block !important;
    }
    #focusRoomKitchens .phase-text {
        text-align: left !important;
        padding: 1vw 6vw 0 6vw !important;
    }
    #focusRoomKitchens .phase-title {
        font-size: 7.5vw !important;
        line-height: 1.05 !important;
        margin-bottom: 1.5dvh !important;
    }
    #focusRoomKitchens .phase-desc {
        font-size: 3.8vw !important;
        line-height: 1.5 !important;
        margin-bottom: 0.5dvh !important;
    }
    #focusRoomKitchens .phase-tags {
        margin-bottom: 0 !important;
    }
    #focusRoomKitchens .phase-tags span {
        font-size: 3vw !important;
        padding: 1.5vw 3vw !important;
    }
    #focusRoomKitchens .gsc-kitchen-lookbook {
        grid-template-columns: 2fr 1fr !important;
        grid-template-rows: 14dvh 14dvh !important;
        gap: 2vw !important;
        padding: 0 4vw 4vw 4vw !important;
        flex: none !important;
    }


    /* PANELS MOBILE FIX — cascade content scrollable */
    #focusRoomPanels .panel-cascade-layout {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        padding: 0 !important;
        gap: 0 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    #focusRoomPanels .cascade-intro {
        padding: 3dvh 6vw 2dvh 6vw !important;
        margin: 0 !important;
        width: 100% !important;
        flex: none !important;
    }
    #focusRoomPanels .cascade-title {
        font-size: 12vw !important;
        line-height: 0.95 !important;
    }
    #focusRoomPanels .cascade-engine {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: 100vw !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        padding: 0 6vw 15px 6vw !important;
        gap: 4vw !important;
        flex: none !important;
    }
    #focusRoomPanels .cascade-layer {
        position: relative !important;
        flex: 0 0 80vw !important;
        width: 80vw !important;
        max-height: none !important;
        height: auto !important;
        overflow-y: visible !important;
        scroll-snap-align: center !important;
        background: rgba(255,255,255,0.03) !important;
        border: 1px solid rgba(255,255,255,0.08) !important;
        border-radius: 12px !important;
        padding: 5vw !important;
        margin: 0 !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }


    /* MENU MOBILE FIX — everything fits in one screen */
    .gsc-omni-menu.vault-mode {
        display: flex !important;
        align-items: stretch !important;
        overflow: hidden !important;
        height: var(--vh, 100vh) !important;
    }
    .gsc-master-index {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 2vh !important;
        height: 100% !important;
        width: 100% !important;
        padding: 60px 5vw 8px 5vw !important;
        overflow: hidden !important;
    }
    .vault-nav-col {
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        min-height: 0 !important;
    }
    .vault-nav-col .vault-kicker {
        font-size: 7px !important;
        margin-bottom: 0.3rem !important;
    }
    .vault-nav-col .vault-nav {
        gap: 0.15rem !important;
    }
    .vault-nav-col .vault-link {
        font-size: 6.5vw !important;
        line-height: 1.2 !important;
    }
    .vault-tools-col {
        flex: 0 0 auto !important;
        gap: 0.35rem !important;
        padding-bottom: 0 !important;
    }
    .gsc-tool-card {
        padding: 0.4rem 0.7rem !important;
    }
    .gsc-tool-card .tool-kicker {
        font-size: 6px !important;
        margin-bottom: 0.1rem !important;
    }
    .gsc-tool-card .tool-title {
        font-size: 1rem !important;
        margin-bottom: 0.05rem !important;
    }
    .gsc-tool-card .tool-desc {
        font-size: 0.65rem !important;
        margin-bottom: 0.15rem !important;
        line-height: 1.15 !important;
    }
    .tool-wa-btn {
        padding: 0.4rem !important;
        font-size: 8px !important;
        margin-top: 0.15rem !important;
    }
    .estimator-controls {
        gap: 0.3rem !important;
        margin-bottom: 0.3rem !important;
    }
    .est-select {
        padding: 0.35rem !important;
        font-size: 0.75rem !important;
    }
    .budget-value {
        font-size: 0.85rem !important;
    }
    .slider-wrapper {
        margin-top: 0.2rem !important;
    }
    .outline-btn {
        padding: 0.4rem !important;
        font-size: 8px !important;
    }


    /* =======================================================
       5. GRAND FOOTER REPAIRS
       ======================================================= */
    .gsc-footer-content { flex-direction: column !important; justify-content: flex-start !important; gap: 0 !important; padding-bottom: 12dvh !important; }
    .gsc-magnetic-wrapper { align-self: flex-end !important; margin-top: -18rem !important; transform: scale(0.85) !important; -webkit-tap-highlight-color: transparent !important; }
    .gsc-direction-circle { width: 140px !important; height: 140px !important; font-size: 11px !important; transform: translate3d(0, 0, 0) !important; transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease !important; }
    .gsc-direction-circle span, .gsc-direction-circle svg { transform: translate3d(0, 0, 0) !important; }
    .gsc-magnetic-wrapper:active .gsc-direction-circle { transform: scale(0.92) translate3d(0, 0, 0) !important; background-color: rgba(255, 255, 255, 0.15) !important; border-color: rgba(255, 255, 255, 0.4) !important; }
    .gsc-magnetic-wrapper:hover .gsc-direction-circle { background-color: rgba(255, 255, 255, 0.05) !important; border-color: rgba(255, 255, 255, 0.2) !important; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.15) !important; }
    .gsc-magnetic-wrapper:hover .gsc-direction-circle svg { transform: translate3d(0, 0, 0) !important; }
    .gsc-bottom-blur { height: 12% !important; }
    .gsc-footer-bg { height: 67% !important; }
    .gsc-bg-image, #footer-bg-image { object-position: 70% 65% !important; transform: scale(1) !important; }
    .gsc-footer-utility { grid-template-columns: 1fr !important; gap: 6dvh !important; padding: 6dvh 8vw 4dvh 8vw !important; text-align: left !important; }
    .gsc-utility-col { align-items: flex-start !important; }
    .gsc-utility-col-right { align-items: flex-start !important; border-top: 1px solid rgba(255,255,255,0.05) !important; padding-top: 4dvh !important; }
    .gsc-back-to-top { flex-direction: row !important; gap: 1rem !important; }
}

/* =======================================================
   6. UX POLISH: TAB ALIGNMENT & BRAND GRID CURE (CAGED FOR DESKTOP SAFETY)
   ======================================================= */
@media (max-width: 768px) {
    /* Pushes the navigation bar down slightly for perfect breathing room */
    .engine-controls, .bath-command-bar {
        margin-top: 2dvh !important; 
    }

    /* Destroys the dark "ghost pill" background and perfectly centers text */
    .bath-nav-pills {
        background: transparent !important; 
        border: none !important;
        border-radius: 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        align-items: center !important; /* Locks text vertically */
    }

    .engine-tab, .bath-pill-btn {
        padding: 0 0 3vw 0 !important; /* Clean, balanced baseline padding */
        display: flex !important;
        align-items: center !important;
        height: auto !important;
    }

    /* Unlocks the Featured Brands so you can see all 6 */
    #hubBrands {
        max-height: 65dvh !important;
        overflow-y: auto !important; /* Enables vertical scrolling */
        -webkit-overflow-scrolling: touch !important;
        width: 100vw !important;
        padding: 0 6vw !important;
    }
    
    #hubBrands::-webkit-scrollbar { display: none !important; }

    /* Converts the brands into a clean, scrolling 2-column mobile grid */
    .brand-hero-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; 
        gap: 4vw !important;
        padding-bottom: 12dvh !important; /* Room to scroll past the bottom */
        align-content: flex-start !important;
    }

    .brand-hero-item {
        padding: 6vw 2vw !important;
        font-size: 3.8vw !important; /* Perfectly sized for 2 columns */
        border-color: rgba(255,255,255,0.1) !important;
    }
}

/* =======================================================
   MOBILE-ONLY APP DASHBOARD & FIXES (Caged for PC Safety)
   ======================================================= */
@media (max-width: 768px) {
    
/* =======================================================
   FOCUS ROOM MOBILE HEADER CLEARANCE 
   Prevents logo from colliding with room indicators
   ======================================================= */
    
    /* Adds safe padding to the top of all focus rooms on mobile */

    /* If the room indicator text has specific top positioning, force it down */

    /* 1. HORIZONTAL SCROLL TRACKS (Focus Rooms) */
    #focusRoomWellness .wellness-pillar-layout,
    #focusRoomPanels .cascade-engine {
        display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important;
        width: 100vw !important; overflow-x: auto !important; overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important; scroll-snap-type: x mandatory !important;
        padding: 0 6vw 15px 6vw !important; /* Removed vertical padding so flex-center handles positioning */
        gap: 4vw !important; align-items: center !important; /* Perfect vertical centering */
    }

    /* 2. THE LIQUID CARDS */
    #focusRoomWellness .zenith-pillar,
    #focusRoomPanels .cascade-layer {
        position: relative !important; flex: 0 0 85vw !important; width: 85vw !important;
        max-height: 50dvh !important; height: auto !important; overflow-y: auto !important;
        scroll-snap-align: center !important; background: rgba(255,255,255,0.03) !important;
        border: 1px solid rgba(255,255,255,0.08) !important; border-radius: 12px !important;
        padding: 6vw 6vw 10vw 6vw !important; margin: 0 !important; transform: none !important;
        opacity: 1 !important; visibility: visible !important; pointer-events: auto !important;
    }

    /* 3. PURGE INTERNAL SCROLLBARS */
    #focusRoomPanels .cascade-engine::-webkit-scrollbar,
    #focusRoomWellness .zenith-pillar::-webkit-scrollbar,
    #focusRoomPanels .cascade-layer::-webkit-scrollbar { display: none !important; }

    /* 4. ROOM MICRO-POLISH */
    #focusRoomWellness .center-pillar { transform: none !important; }
    #focusRoomKitchens .phase-text {
        text-align: left !important;
        padding: 0 6vw !important; 
    }
    #focusRoomPanels .panel-cascade-layout { display: flex !important; flex-direction: column !important; padding: 0 !important; gap: 0 !important; }
    #focusRoomPanels .cascade-intro { padding: 4dvh 6vw 2dvh 6vw !important; margin: 0 !important; width: 100% !important; }

    /* 5. TYPOGRAPHY SCALING */
    #focusRoomWellness .pillar-title { font-size: 10vw !important; margin-bottom: 2dvh !important; line-height: 1 !important; }
    #focusRoomWellness .pillar-list li { font-size: 4.5vw !important; padding: 1.5vw 0 !important; }
    #focusRoomKitchens .phase-title { font-size: 7vw !important; line-height: 1 !important; margin-bottom: 2dvh !important; }
    #focusRoomPanels .layer-headline { font-size: 8vw !important; line-height: 1 !important; margin-bottom: 2dvh !important; }

    /* 6. SWIPE INDICATORS */
    #wellnessOverview.is-active::before, #panelsOverview.is-active::before {
        content: '' !important; position: fixed !important; bottom: 1.5dvh !important; left: 50% !important; margin-left: -20px !important; width: 40px !important; height: 14px !important; border: 1.5px solid rgba(255, 255, 255, 0.15) !important; border-radius: 10px !important; z-index: 10000 !important; pointer-events: none !important; display: block !important;
    }
    #wellnessOverview.is-active::after, #panelsOverview.is-active::after {
        content: '' !important; position: fixed !important; bottom: calc(1.5dvh + 5px) !important; left: 50% !important; margin-left: -2px !important; width: 4px !important; height: 4px !important; background: #D4AF37 !important; border-radius: 50% !important; z-index: 10001 !important; pointer-events: none !important; animation: silentSwipeFixed 2.5s infinite ease-in-out !important; display: block !important;
    }

    /* 7. PANELS CARD 3 FIX */
    #focusRoomPanels .app-split-list { display: flex !important; flex-direction: row !important; gap: 4vw !important; margin-top: 4vw !important; }
    #focusRoomPanels .app-column { flex: 1 !important; gap: 0 !important; }
    #focusRoomPanels .app-column li { font-size: 3.6vw !important; line-height: 1.4 !important; padding-left: 4vw !important; margin-bottom: 3.5vw !important; }
    #focusRoomPanels .app-column li::before { left: 0 !important; font-size: 4vw !important; top: -0.2vw !important; }
    
    /* 8. STICKY HOVER "FREEZE" CURE */
    body .whatsapp-float:hover { transform: none !important; box-shadow: none !important; animation: wa-pulse 3s ease-in-out infinite !important; }
    body .whatsapp-float:hover::before { opacity: 0 !important; transform: translateX(10px) !important; }
    body .whatsapp-float:active { transform: scale(1.08) !important; box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6) !important; animation: none !important; }
    body .whatsapp-float:active::before { opacity: 1 !important; transform: translateX(0) !important; }
    body .fused-btn:hover { background: transparent !important; box-shadow: none !important; transform: none !important; }
    body .expert-link:hover .btn-text { color: #111 !important; }
    body .fused-btn:active { background: #FFFFFF !important; box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important; transform: translateY(1px) scale(0.96) !important; }
    body .expert-link:active .btn-text { color: #D4AF37 !important; }
}
/* =======================================================
   THE ULTIMATE HEADER & LOGO SCROLL FIX (GPU SCALING)
   ======================================================= */

/* --- 1. PC / DESKTOP (Default Landing State) --- */
body .chameleon-anchor { top: 2.5rem !important; left: 3.5rem !important; }
body .chameleon-logo { 
    height: 50px !important; 
    /* THE CURE: Removed contrast() entirely. Just pure inversion for the blend mode. */
    filter: invert(1) grayscale(1) !important; 
    transform: scale(1) translateZ(0) !important;
    transform-origin: left top !important; 
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease !important;
} 
body .floating-header { padding: 2.5rem 3.5rem !important; }

/* --- 2. PC / DESKTOP (Scrolled State - GPU Scaled) --- */
body .chameleon-anchor.scrolled { top: 1.2rem !important; left: 3.5rem !important; } 
body .chameleon-anchor.scrolled .chameleon-logo { 
    height: 50px !important; 
    transform: scale(0.72) translateZ(0) !important; 
    filter: invert(1) grayscale(1) !important; 
} 
body .floating-header.scrolled { padding: 1.2rem 3.5rem !important; } 
body .floating-header.scrolled .fused-glass-pill { padding: 0.3rem !important; }
body .floating-header.scrolled .fused-btn { padding: 0.6rem 1.4rem !important; font-size: 10px !important; }

/* --- 3. MOBILE OVERRIDES --- */
@media (max-width: 768px) {
    
    /* Mobile Default Landing State */
    body .chameleon-anchor { top: 6vw !important; left: 5vw !important; }
    body .chameleon-logo { 
        height: 38px !important; 
        transform: scale(1) translateZ(0) !important;
        filter: invert(1) grayscale(1) !important; 
    } 
    body .floating-header { padding: 5vw !important; justify-content: flex-end !important; }
    
    /* Mobile Scrolled State (GPU Scaled) */
    body .chameleon-anchor.scrolled { top: 3vw !important; left: 5vw !important; }
    body .chameleon-anchor.scrolled .chameleon-logo { 
        height: 38px !important; 
        transform: scale(0.73) translateZ(0) !important; 
        filter: invert(1) grayscale(1) !important; 
    } 
    body .floating-header.scrolled { padding: 3vw 5vw !important; }
    body .floating-header.scrolled .fused-glass-pill { padding: 0.15rem 0.4rem !important; }
    body .floating-header.scrolled .fused-btn { padding: 0.4rem 0.6rem !important; font-size: 8.5px !important; }
}

/* =======================================================
   PC HOVER RESTORATION (Desktop Only)
   Restores the fluid mouse interactions for PC users
   ======================================================= */
@media (min-width: 769px) {
    
    /* 1. RESTORE WHATSAPP HOVER */
    body .whatsapp-float:hover {
        transform: scale(1.08) !important; 
        box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6) !important; 
        animation: none !important;
    }
    body .whatsapp-float:hover::before {
        opacity: 1 !important; 
        transform: translateX(0) !important;
    }

    /* 2. RESTORE MENU & EXPERT BUTTON HOVER */
    body .fused-btn:hover {
        background: #FFFFFF !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
        transform: translateY(-1px) scale(1.02) !important;
    }
    body .expert-link:hover .btn-text {
        color: #D4AF37 !important; /* The golden text glow */
    }
}

/* =======================================================
   FOCUS ROOM HEADER ALIGNMENT (PRECISION CURE)
   Locks button to the top, pushes headings precisely below logo
   ======================================================= */
@media (max-width: 768px) {
    /* 1. Revert padding to snap the Return button back to the top right */
    body .gsc-focus-room .room-header {
        padding-top: 6vw !important;
        /* 2. Expand the internal space to push ONLY the gold text down */
        gap: 12vw !important;
    }

    /* 3. Keep the white main title tight against the gold kicker */
    body .gsc-focus-room .room-kicker-center {
        margin-bottom: 2vw !important;
    }
}

/* =======================================================
   THE PERFECT 3x3 LOOKBOOK RESTORATION (DESKTOP & MOBILE)
   Forces all lookbooks (Surfaces, Bathware, Wellness, Kitchen)
   to render flawlessly without breaking the landing page.
   ======================================================= */
.strict-3x3-grid .luxury-grid-wrap, .bath-strict-grid .luxury-grid-wrap {
    width: 100% ;
    height: 100% ;
    aspect-ratio: auto ;
    border-radius: 6px ;
    overflow: hidden ;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) ;
    transform: translateZ(0) ;
    display: block ;
}
.strict-3x3-grid .luxury-grid-wrap img, .bath-strict-grid .luxury-grid-wrap img {
    width: 100% ;
    height: 100% ;
    object-fit: cover ;
    filter: brightness(0.85) ;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) ;
    display: block ;
}
.strict-3x3-grid .luxury-grid-wrap:hover img, .bath-strict-grid .luxury-grid-wrap:hover img {
    filter: brightness(1.1) ;
    transform: scale(1.06) ;
}

/* 2. FLAWLESS MOBILE SQUARE GRID (Overrides mobile squashing/hiding) */
@media (max-width: 768px) {
    .strict-3x3-grid, .bath-strict-grid {
        gap: 2vw !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important; /* Perfect Instagram-style square */
        width: 100% !important;
        margin-top: 2dvh !important;
        padding: 0 !important;
    }
    /* 4. ROOM MICRO-POLISH */
    #focusRoomWellness .center-pillar { transform: none !important; }
    #focusRoomKitchens .phase-text { text-align: left !important; }
    #focusRoomPanels .panel-cascade-layout { display: flex !important; flex-direction: column !important; padding: 0 !important; gap: 0 !important; }
    #focusRoomPanels .cascade-intro { padding: 4dvh 6vw 2dvh 6vw !important; margin: 0 !important; width: 100% !important; }

    /* 5. TYPOGRAPHY SCALING */
    #focusRoomWellness .pillar-title { font-size: 10vw !important; margin-bottom: 2dvh !important; line-height: 1 !important; }
    #focusRoomWellness .pillar-list li { font-size: 4.5vw !important; padding: 1.5vw 0 !important; }
    #focusRoomKitchens .phase-title { font-size: 10vw !important; line-height: 1 !important; margin-bottom: 2dvh !important; }
    #focusRoomPanels .layer-headline { font-size: 8vw !important; line-height: 1 !important; margin-bottom: 2dvh !important; }

    /* 6. SWIPE INDICATORS */
    #wellnessOverview.is-active::before, #panelsOverview.is-active::before {
        content: '' !important; position: fixed !important; bottom: 1.5dvh !important; left: 50% !important; margin-left: -20px !important; width: 40px !important; height: 14px !important; border: 1.5px solid rgba(255, 255, 255, 0.15) !important; border-radius: 10px !important; z-index: 10000 !important; pointer-events: none !important; display: block !important;
    }
    #wellnessOverview.is-active::after, #panelsOverview.is-active::after {
        content: '' !important; position: fixed !important; bottom: calc(1.5dvh + 5px) !important; left: 50% !important; margin-left: -2px !important; width: 4px !important; height: 4px !important; background: #D4AF37 !important; border-radius: 50% !important; z-index: 10001 !important; pointer-events: none !important; animation: silentSwipeFixed 2.5s infinite ease-in-out !important; display: block !important;
    }

    /* 7. PANELS CARD 3 FIX */
    #focusRoomPanels .app-split-list { display: flex !important; flex-direction: row !important; gap: 4vw !important; margin-top: 4vw !important; }
    #focusRoomPanels .app-column { flex: 1 !important; gap: 0 !important; }
    #focusRoomPanels .app-column li { font-size: 3.6vw !important; line-height: 1.4 !important; padding-left: 4vw !important; margin-bottom: 3.5vw !important; }
    #focusRoomPanels .app-column li::before { left: 0 !important; font-size: 4vw !important; top: -0.2vw !important; }
    
    /* 8. STICKY HOVER "FREEZE" CURE */
    body .whatsapp-float:hover { transform: none !important; box-shadow: none !important; animation: wa-pulse 3s ease-in-out infinite !important; }
    body .whatsapp-float:hover::before { opacity: 0 !important; transform: translateX(10px) !important; }
    body .whatsapp-float:active { transform: scale(1.08) !important; box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6) !important; animation: none !important; }
    body .whatsapp-float:active::before { opacity: 1 !important; transform: translateX(0) !important; }
    body .fused-btn:hover { background: transparent !important; box-shadow: none !important; transform: none !important; }
    body .expert-link:hover .btn-text { color: #111 !important; }
    body .fused-btn:active { background: #FFFFFF !important; box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important; transform: translateY(1px) scale(0.96) !important; }
    body .expert-link:active .btn-text { color: #D4AF37 !important; }
}
/* =======================================================
   THE ULTIMATE HEADER & LOGO SCROLL FIX (GPU SCALING)
   ======================================================= */

/* --- 1. PC / DESKTOP (Default Landing State) --- */
body .chameleon-anchor { top: 2.5rem !important; left: 3.5rem !important; }
body .chameleon-logo { 
    height: 50px !important; 
    /* THE CURE: Removed contrast() entirely. Just pure inversion for the blend mode. */
    filter: invert(1) grayscale(1) !important; 
    transform: scale(1) translateZ(0) !important;
    transform-origin: left top !important; 
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease !important;
} 
body .floating-header { padding: 2.5rem 3.5rem !important; }

/* --- 2. PC / DESKTOP (Scrolled State - GPU Scaled) --- */
body .chameleon-anchor.scrolled { top: 1.2rem !important; left: 3.5rem !important; } 
body .chameleon-anchor.scrolled .chameleon-logo { 
    height: 50px !important; 
    transform: scale(0.72) translateZ(0) !important; 
    filter: invert(1) grayscale(1) !important; 
} 
body .floating-header.scrolled { padding: 1.2rem 3.5rem !important; } 
body .floating-header.scrolled .fused-glass-pill { padding: 0.3rem !important; }
body .floating-header.scrolled .fused-btn { padding: 0.6rem 1.4rem !important; font-size: 10px !important; }

/* --- 3. MOBILE OVERRIDES --- */
@media (max-width: 768px) {
    
    /* Mobile Default Landing State */
    body .chameleon-anchor { top: 6vw !important; left: 5vw !important; }
    body .chameleon-logo { 
        height: 38px !important; 
        transform: scale(1) translateZ(0) !important;
        filter: invert(1) grayscale(1) !important; 
    } 
    body .floating-header { padding: 5vw !important; justify-content: flex-end !important; }
    
    /* Mobile Scrolled State (GPU Scaled) */
    body .chameleon-anchor.scrolled { top: 3vw !important; left: 5vw !important; }
    body .chameleon-anchor.scrolled .chameleon-logo { 
        height: 38px !important; 
        transform: scale(0.73) translateZ(0) !important; 
        filter: invert(1) grayscale(1) !important; 
    } 
    body .floating-header.scrolled { padding: 3vw 5vw !important; }
    body .floating-header.scrolled .fused-glass-pill { padding: 0.15rem 0.4rem !important; }
    body .floating-header.scrolled .fused-btn { padding: 0.4rem 0.6rem !important; font-size: 8.5px !important; }
}

/* =======================================================
   PC HOVER RESTORATION (Desktop Only)
   Restores the fluid mouse interactions for PC users
   ======================================================= */
@media (min-width: 769px) {
    
    /* 1. RESTORE WHATSAPP HOVER */
    body .whatsapp-float:hover {
        transform: scale(1.08) !important; 
        box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6) !important; 
        animation: none !important;
    }
    body .whatsapp-float:hover::before {
        opacity: 1 !important; 
        transform: translateX(0) !important;
    }

    /* 2. RESTORE MENU & EXPERT BUTTON HOVER */
    body .fused-btn:hover {
        background: #FFFFFF !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
        transform: translateY(-1px) scale(1.02) !important;
    }
    body .expert-link:hover .btn-text {
        color: #D4AF37 !important; /* The golden text glow */
    }
}

/* =======================================================
   FOCUS ROOM HEADER ALIGNMENT (PRECISION CURE)
   Locks button to the top, pushes headings precisely below logo
   ======================================================= */
@media (max-width: 768px) {
    /* 1. Revert padding to snap the Return button back to the top right */
    body .gsc-focus-room .room-header {
        padding-top: 6vw !important; 
        /* 2. Expand the internal space to push ONLY the gold text down */
        gap: 12vw !important; 
    }
    
    /* 3. Keep the white main title tight against the gold kicker */
    body .gsc-focus-room .room-kicker-center {
        margin-bottom: 2vw !important;
    }
} 

/* =======================================================
   THE PERFECT 3x3 LOOKBOOK RESTORATION (DESKTOP & MOBILE)
   Forces all lookbooks (Surfaces, Bathware, Wellness, Kitchen) 
   to render flawlessly without breaking the landing page.
   ======================================================= */

/* 1. UNIFIED DESKTOP GRID (Forces visibility and perfect 3x3 proportions) */
.strict-3x3-grid, .bath-data-pane .bath-strict-grid{
    display: grid ;
    grid-template-columns: repeat(3, 1fr) ;
    grid-template-rows: repeat(3, 1fr) ;
    gap: 1vw ;
    width: 100% ;
    max-width: 1200px ;
    margin: 0 auto ;
    height: 55dvh ; 
    
    /* Anti-Disappear Failsafes */
    opacity: 1 ;
    visibility: visible ;
    pointer-events: auto ;
}.strict-3x3-grid .luxury-grid-wrap, .bath-strict-grid .luxury-grid-wrap{
    width: 100% ;
    height: 100% ;
    aspect-ratio: auto ;
    border-radius: 6px ;
    overflow: hidden ;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) ;
    transform: translateZ(0) ;
    display: block ; /* Guarantees they aren't hidden */
}.strict-3x3-grid .luxury-grid-wrap img, .bath-strict-grid .luxury-grid-wrap img{
    width: 100% ;
    height: 100% ;
    object-fit: cover ;
    filter: brightness(0.85) ;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) ;
    display: block ;
}.strict-3x3-grid .luxury-grid-wrap:hover img, .bath-strict-grid .luxury-grid-wrap:hover img{
    filter: brightness(1.1) ;
    transform: scale(1.06) ;
}

/* 2. FLAWLESS MOBILE SQUARE GRID (Overrides mobile squashing/hiding) */
/* 2. FLAWLESS MOBILE 3x3 GRID (Zero-Scroll) */
@media (max-width: 768px) {
    .strict-3x3-grid, .bath-strict-grid {
        display: grid !important; 
        grid-template-columns: repeat(3, 1fr) !important;
        grid-template-rows: repeat(3, 1fr) !important;
        gap: 1.5vw !important;
        width: 90vw !important;
        aspect-ratio: 1 / 1 !important; /* Forces perfect square */
        margin: 0 auto !important;
        padding: 0 !important;
        height: auto !important;
        max-height: 55dvh !important; /* Ensures it never pushes off the bottom */
    }.strict-3x3-grid .luxury-grid-wrap, .bath-strict-grid .luxury-grid-wrap{
        border-radius: 4px ; 
    }
}

/* =======================================================
   ARCHIVE VAULT HORIZONTAL SCROLL RESTORATION
   ======================================================= */
/* 2. THE HORIZONTAL SCROLL TRACK (ZERO VERTICAL SCROLL) */

/* 3. THE INFINITY ROW (THE CORE OF THE DESIGN) */

/* 4. IMAGE CARD SIZING */

/* =======================================================
   ABSOLUTE KILL-SWITCH FOR BROKEN BOTTOM BAR
   ======================================================= */
/* 1. Nukes the element completely unless it is actively opened */
#cinematic-glass:not(.glass-active) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* 2. The Full-Screen Overlay (Only exists when clicked) */
#cinematic-glass.glass-active {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    z-index: 999999 !important; /* Forces it above literally everything */
    align-items: center !important;
    justify-content: center !important;
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}

#cinematic-glass #cinematic-img {
    max-width: 90vw !important;
    max-height: 85dvh !important;
    border-radius: 8px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.9) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

/* =======================================================
   MASTER ARCHITECTURE: KITCHEN FOCUS ROOM
   ======================================================= */

/* 1. SPATIAL ENGINEERING (Protects Text from Overlap) */
#focusRoomKitchens .room-pipeline-layout {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    padding-bottom: 4dvh !important;
}

#focusRoomKitchens .pipeline-tracker {
    margin-bottom: 2dvh !important; /* Pulls the dots closer to the text */
}

/* The Titanium Text Vault */
#focusRoomKitchens .pipeline-content-window {
    position: relative !important;
    width: 100% !important;
    height: 25dvh !important; /* Reduced to ensure the lookbook grid perfectly fits below it */
    min-height: 180px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    display: block !important;
}

#focusRoomKitchens .phase-panel {
    position: absolute !important;
    top: 3dvh !important; /* Adds breathing room below the pipeline dots */
    left: 0 !important; /* Re-anchor to left edge to prevent right-ward shift on animation */
    transform: none !important; /* Prevents override of the Y-axis animation */
    width: 100% !important;
    text-align: center !important;
}

#focusRoomKitchens .phase-text {
    max-width: 900px !important;
    margin: 0 auto !important;
}

/* 2. THE MASTER BENTO GRID (KITCHENS) */
#focusRoomKitchens .gsc-kitchen-lookbook {
    display: grid !important;
    grid-template-columns: 2.4fr 1fr !important;
    grid-template-rows: 13.5dvh 13.5dvh !important; /* Restored original PC heights */
    gap: 1.2vw !important;
    width: 90vw !important;
    max-width: 1350px !important;
    margin: 4dvh auto 0 auto !important; /* Added back the missing top margin */
}

#focusRoomKitchens .lookbook-hero {
    grid-column: 1 / 2 !important;
    grid-row: 1 / 3 !important;
}

#focusRoomKitchens .lookbook-side {
    grid-column: 2 / 3 !important;
    grid-row: 1 / 2 !important;
}

#focusRoomKitchens .lookbook-explore-plate {
    grid-column: 2 / 3 !important;
    grid-row: 2 / 3 !important;
}

#focusRoomKitchens .lookbook-plate {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
    background: #111 !important;
    cursor: pointer !important;
}

#focusRoomKitchens .lookbook-plate img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#focusRoomKitchens .lookbook-plate:hover img {
    transform: scale(1.05) !important;
}

/* EXPLORE GALLERY OVERLAY */
#focusRoomKitchens .lookbook-explore-btn {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(10, 10, 10, 0.75) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    transition: background 0.4s ease !important;
    z-index: 5 !important;
}

#focusRoomKitchens .lookbook-explore-btn span:first-child {
    color: #D4AF37 !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
}

#focusRoomKitchens .explore-arrow {
    color: #D4AF37 !important;
    font-size: 1.6rem !important;
    transition: transform 0.4s ease !important;
}

#focusRoomKitchens .lookbook-plate:hover .lookbook-explore-btn {
    background: rgba(10, 10, 10, 0.9) !important;
}

#focusRoomKitchens .lookbook-plate:hover .explore-arrow {
    transform: translateX(8px) !important;
}

/* MOBILE KITCHEN GALLERY (Zero-Scroll) */
@media (max-width: 768px) {
    #focusRoomKitchens .phase-panel {
        position: relative !important; top: auto !important; /* Push text down away from pipeline dots on mobile */
    }
    #focusRoomKitchens .gsc-kitchen-lookbook {
        grid-template-columns: 2fr 1fr !important; /* Slightly boxier on mobile */
        /* overridden by comprehensive fix */ /* Mathematically sized to fit without scrolling */
        gap: 2vw !important;
    }
    
    #focusRoomKitchens .lookbook-plate {
        border-radius: 4px !important;
    }
    
    /* Make the explore text smaller on mobile so it doesn't wrap awkwardly */
    #focusRoomKitchens .lookbook-explore-btn span:first-child {
        font-size: 0.65rem !important;
        letter-spacing: 0.1em !important;
        white-space: nowrap !important; /* Forces it to stay on one sleek line */
    }
    #focusRoomKitchens .explore-arrow {
        font-size: 1rem !important;
        margin-top: 0 !important;
    }
}


/* De-prototyped Utilities */
svg.icon-arrow-up-right { margin-left: 8px; margin-top: -15px; }
ul.address-list { list-style: none; padding: 0; margin: 0; line-height: 1.6; }
.tool-desc { margin-bottom: 1rem !important; }
#focusRoomKitchens .pipeline-content-window { flex: 1 1 0 !important; min-height: 0 !important; overflow-y: auto !important; -webkit-overflow-scrolling: touch !important; display: flex !important; align-items: flex-start !important; }
#focusRoomKitchens .phase-text { max-width: 900px !important; margin: 0 auto !important; }
#focusRoomKitchens .phase-title { margin-bottom: 1rem !important; }
#focusRoomKitchens .phase-desc { margin-bottom: 1.5rem !important; }

/* --- DE-PROTOTYPED UTILITIES --- */
svg.icon-arrow-up-right { margin-left: 8px; margin-top: -15px; }
ul.address-list { list-style: none; padding: 0; margin: 0; line-height: 1.6; }
.tool-desc { margin-bottom: 1rem !important; }

#focusRoomKitchens .pipeline-content-window { flex: 1 1 0 !important; min-height: 0 !important; overflow-y: auto !important; -webkit-overflow-scrolling: touch !important; display: flex !important; align-items: flex-start !important; }
#focusRoomKitchens .phase-text { max-width: 900px !important; margin: 0 auto !important; }
#focusRoomKitchens .phase-title { margin-bottom: 1rem !important; }
#focusRoomKitchens .phase-desc { margin-bottom: 1.5rem !important; }

/* Accessible button resets for articles acting as triggers */
.trigger-kitchen-vault {
    cursor: pointer !important;
    pointer-events: auto !important;
}
.trigger-kitchen-vault:focus-visible {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
}

/* --- EXTRACTED FROM HTML --- */


                .custom-vault-override {
                    position: fixed ;
                    top: 0 ;
                    left: 0 ;
                    width: 100vw ;
                    height: 100vh ;
                    background: #080808 ;
                    z-index: 99999 ;
                    display: flex ;
                    flex-direction: column ;
                    opacity: 0 ;
                    visibility: hidden ;
                    pointer-events: none ;
                    transition: all 0.4s ease ;
                }
                
                .custom-vault-override.is-open {
                    opacity: 1 ;
                    visibility: visible ;
                    pointer-events: auto ;
                }

                .custom-vault-override .vault-logo-area {
                    padding: 4vh 4vw 0 4vw ;
                }

                .custom-vault-override .vault-logo-area img {
                    height: 35px ;
                    width: auto ;
                }

                .custom-vault-override .archive-header-new {
                    display: flex ;
                    justify-content: space-between ;
                    align-items: center ;
                    padding: 4vh 8vw 5vh 8vw ;
                    width: 100% ;
                    box-sizing: border-box ;
                }
                
                .custom-vault-override .header-text-group {
                    display: flex ;
                    flex-direction: column ;
                }

                .custom-vault-override .kicker-new {
                    color: #D4AF37 ;
                    font-family: 'DM Sans', sans-serif ;
                    font-size: 0.7rem ;
                    font-weight: 700 ;
                    letter-spacing: 0.15em ;
                    text-transform: uppercase ;
                    display: block ;
                    margin-bottom: 0.5rem ;
                }

                .custom-vault-override .title-new {
                    color: #ffffff ;
                    font-family: 'Cormorant Garamond', serif;
                    font-size: 2.8rem ;
                    font-weight: 400 ;
                    margin: 0 ;
                    line-height: 1 ;
                }

                .custom-vault-override .btn-close-new {
                    background: transparent ;
                    border: 1px solid rgba(255, 255, 255, 0.25) ;
                    color: #ffffff ;
                    font-family: 'DM Sans', sans-serif ;
                    font-size: 0.65rem ;
                    font-weight: 600 ;
                    letter-spacing: 0.1em ;
                    text-transform: uppercase ;
                    padding: 0.6rem 1.2rem ;
                    border-radius: 50px ;
                    cursor: pointer ;
                    display: flex ;
                    align-items: center ;
                    gap: 0.6rem ;
                    transition: border-color 0.3s ease, background 0.3s ease ;
                }

                .custom-vault-override .btn-close-new:hover {
                    border-color: #ffffff ;
                    background: rgba(255, 255, 255, 0.1) ;
                }

                .custom-vault-override .vault-divider {
                    width: 100% ;
                    height: 1px ;
                    background: rgba(255, 255, 255, 0.05) ;
                    margin: 0 ;
                }

                .custom-vault-override .archive-grid-new {
                    display: grid ;
                    grid-template-columns: repeat(3, 1fr) ;
                    grid-template-rows: repeat(3, 1fr) ;
                    gap: 1.5vw ;
                    width: 100% ;
                    flex: 1 ;
                    min-height: 0 ;
                    padding: 2vh 8vw 6vh 8vw ;
                    box-sizing: border-box ;
                }

                .custom-vault-override .vault-plate-new {
                    position: relative ;
                    width: 100% ;
                    height: 100% ;
                    border-radius: 8px ;
                    overflow: hidden ;
                    background: #111 ;
                }

                .custom-vault-override .vault-plate-new img {
                    width: 100% ;
                    height: 100% ;
                    object-fit: cover ;
                }
            


                        .bath-strict-grid {
                            display: grid;
                            /* Forces exactly 3 columns and 3 rows */
                            grid-template-columns: repeat(3, 1fr);
                            grid-template-rows: repeat(3, 1fr);
                            gap: 1vw; /* Tight, premium architectural gaps */
                            width: 100%;
                            max-width: 1200px;
                            margin: 0 auto;
                            
                            /* THE SCROLL KILLER: Locks the entire grid to 55% of the screen height */
                            height: 55vh; 
                        }.bath-strict-grid .luxury-grid-wrap{
                            width: 100%;
                            height: 100%; /* Forces the box to stretch exactly to its grid cell */
                            aspect-ratio: auto ; /* Kills any previous ratio locks */
                            border-radius: 6px;
                            box-shadow: 0 4px 15px rgba(0,0,0,0.1) ;
                            transform: translateZ(0); /* Hardware acceleration */
                        }

                        .bath-strict-grid .luxury-grid-wrap img {
                            width: 100%;
                            height: 100%;
                            object-fit: cover; /* Perfectly crops images so they don't squash */
                            filter: brightness(0.85); /* Slightly moody baseline */
                        }

                        .bath-strict-grid .luxury-grid-wrap:hover img {
                            filter: brightness(1.1); /* Ignites on hover */
                            transform: scale(1.06);
                        }

                        /* Mobile adaptation: Keeps it 3x3 like an Instagram profile grid */
                        @media (max-width: 768px) {
                            .bath-strict-grid {
                                gap: 2vw;
                                height: 45vh; /* Safely clears the mobile UI */
                            }
                            .bath-strict-grid .luxury-grid-wrap {
                                border-radius: 4px; 
                            }
                        }
                    


                        #wellnessOverview {
                            max-width: none !important;
                            width: 100vw !important; /* Forces breakout */
                            left: 50% !important;
                            transform: translateX(-50%) scale(0.95) !important;
                        }
                        #wellnessOverview.is-active {
                            transform: translateX(-50%) scale(1) !important;
                        }
                        
                        /* Pull the pillars up to avoid bottom clipping */
                        #wellnessOverview .wellness-pillar-layout {
                            padding-top: 0dvh !important;
                            padding-bottom: 3dvh !important;
                            align-items: flex-start !important;
                        }
                        
                        /* Squeeze internal padding slightly so content fits */
                        #wellnessOverview .zenith-pillar {
                            padding: 2.5dvh 2.5rem !important;
                            max-height: 65dvh !important;
                            overflow-y: auto !important;
                        }
                        
                        /* Tighten margins on text */
                        #wellnessOverview .pillar-title {
                            margin-bottom: 1.5dvh !important;
                        }
                        #wellnessOverview .pillar-divider {
                            margin-bottom: 1.5dvh !important;
                        }
                    


                        #panelsOverview {
                            max-width: none !important;
                            width: 100vw !important; /* Forces breakout */
                            left: 50% !important;
                            transform: translateX(-50%) scale(0.95) !important;
                        }
                        #panelsOverview.is-active {
                            transform: translateX(-50%) scale(1) !important;
                        }
                        
                        /* Pull the cascade layout up so it's not pushed too far down by inherited paddings */
                        #panelsOverview .panel-cascade-layout {
                            padding-top: 0vh !important;
                            margin-top: -6vh !important; /* Increased upward pull */
                        }
                    


/* --- SPRINT 2 INLINE PURGE --- */
.gsc-honeypot { display: none !important; position: absolute !important; left: -9999px !important; }
.hidden-element { display: none; }
/* --- SPRINT 2 BUTTON RESET (A to BUTTON MAPPING) --- */
button.chameleon-anchor,
button.fused-btn,
button.vault-link {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    outline: none;
    font-family: inherit;
}
button.vault-link {
    text-align: center;
    width: 100%;
}

/* --- SPRINT 2 EMERGENCY PATCH FOR SURFACES GRID --- */
/* Restoring the required !important tags that were stripped during the specificity refactor */
.strict-3x3-grid, .bath-data-pane .bath-strict-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(3, 1fr) !important;
    gap: 1vw !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    height: 55dvh !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.strict-3x3-grid .luxury-grid-wrap, .bath-strict-grid .luxury-grid-wrap {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    transform: translateZ(0) !important;
    display: block !important;
}

.strict-3x3-grid .luxury-grid-wrap img, .bath-strict-grid .luxury-grid-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: brightness(0.85) !important;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    display: block !important;
}

.strict-3x3-grid .luxury-grid-wrap:hover img, .bath-strict-grid .luxury-grid-wrap:hover img {
    filter: brightness(1.1) !important;
    transform: scale(1.06) !important;
}

@media (max-width: 768px) {
    .strict-3x3-grid, .bath-data-pane .bath-strict-grid {
        gap: 2vw !important;
        height: auto !important; /* Let aspect ratio control the height */
        aspect-ratio: 1 / 1 !important; /* Perfect Instagram-style square */
        width: 86vw !important; 
        margin: 0 auto 5dvh auto !important; /* Pulled up slightly to avoid bottom clipping */
    }
    
    /* Restore frosted glass if it was missing due to rendering bugs */
    .gsc-focus-room {
        background-color: rgba(5, 5, 5, 0.75) !important;
        backdrop-filter: blur(40px) saturate(150%) !important;
        -webkit-backdrop-filter: blur(40px) saturate(150%) !important;
    }
}

/* =====================================================
   PANELS OVERVIEW - FIT ALL 3 CARDS IN 100% SCREEN
   DESKTOP ONLY — mobile keeps its original horizontal-scroll behaviour
   ===================================================== */
@media (min-width: 769px) {

    /* 1. Make the hub layout fill the room vertically */
    #focusRoomPanels .bath-hub-layout {
        flex: 1 1 0 !important;
        min-height: 0 !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 1.5dvh 5vw 2dvh 5vw !important;
    }

    /* 2. Content area fills remaining space, no vertical centering */
    #focusRoomPanels .bath-content-area {
        flex: 1 1 0 !important;
        min-height: 0 !important;
        align-items: flex-start !important;
        overflow: hidden !important;
    }

    /* 3. Active pane fills the content area fully */
    #focusRoomPanels #panelsOverview.is-active {
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        min-height: 0 !important;
    }

    /* 4. Cascade layout: fills the pane height, no Y-clipping */
    #focusRoomPanels .panel-cascade-layout {
        flex: 1 1 0 !important;
        min-height: 0 !important;
        overflow: visible !important;
        padding: 1dvh 0 !important;
        gap: 3.5vw !important;
        align-items: center !important;
    }

    /* 5. Cascade engine: bounded to available height, scrolls if needed */
    #focusRoomPanels .cascade-engine {
        flex: 1 1 0 !important;
        min-height: 0 !important;
        max-height: 100% !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 0 !important;
        scrollbar-width: none !important;
    }
    #focusRoomPanels .cascade-engine::-webkit-scrollbar { display: none !important; }

}
