/* ==========================================================================
   CHRISTA GROUP | DESIGN SYSTEM V6.0 — "DUAL REALITY"
   Aesthetic: 
     - Associates: Noir Luxe (Warm Amber, Deep Black, Refined)
     - Studio: Brutalist Editorial (Pure Red, Pure Black, Pure White, Harsh)
   ========================================================================== */

:root {
    /* --- Light Luxe Palette (Sign World) --- */
    --sign-bg: #F8F9FA;
    --sign-surface: #FFFFFF;
    --sign-amber: #B45309;
    --sign-amber-glow: rgba(180, 83, 9, 0.2);
    --sign-text: #1A1A1A;
    --sign-text-muted: rgba(26, 26, 26, 0.7);

    /* --- Organic / Natural Palette (Studio) --- */
    --studio-bg: #000000;
    --studio-chrome: linear-gradient(180deg, #FFFFFF 0%, #888888 100%);
    --studio-glass: rgba(255, 255, 255, 0.05);
    --studio-glass-border: rgba(255, 255, 255, 0.1);
    --studio-red-glow: rgba(255, 255, 255, 0.1);
    --studio-white: #FFFFFF;
    /* Primary Text */
    --studio-accent: #A0A0A0;
    /* Accent */

    /* --- Universal Colors --- */
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* --- Typography Scale --- */
    --font-brutal: 'Space Grotesk', sans-serif;
    --font-elegant: 'Syne', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-serif: 'Cormorant Garamond', serif;

    --text-hero: clamp(4rem, 4rem + 7vw, 10rem);
    --text-h1: clamp(3rem, 2.5rem + 5vw, 7rem);
    --text-h2: clamp(2rem, 1.5rem + 3vw, 4rem);
    --text-h3: clamp(1.5rem, 1rem + 2vw, 2.5rem);
    --text-h4: clamp(1.1rem, 0.9rem + 0.5vw, 1.4rem);
    --text-body: clamp(1rem, 0.9rem + 0.3vw, 1.15rem);
    --text-caption: clamp(0.75rem, 0.7rem + 0.2vw, 0.9rem);
    --text-micro: 0.7rem;

    /* --- Spacing --- */
    --space-sm: clamp(1rem, 0.8vw, 1.5rem);
    --space-md: clamp(2rem, 1.5vw, 3rem);
    --space-lg: clamp(4rem, 3vw, 6rem);
    --space-xl: clamp(6rem, 5vw, 10rem);
    --space-2xl: clamp(3rem, 5vw, 8rem);
    --space-3xl: clamp(4rem, 6vw, 10rem);
    --space-4xl: clamp(6rem, 8vw, 14rem);

    /* --- Mobile Premium / Contemporary Tokens --- */
    --mob-space-4: 4px;
    --mob-space-8: 8px;
    --mob-space-12: 12px;
    --mob-space-16: 16px;
    --mob-space-24: 24px;
    --mob-space-32: 32px;
    --mob-radius-lg: 24px;
    --mob-radius-md: 16px;

    --mob-text-12: 12px;
    --mob-text-14: 14px;
    --mob-text-16: 16px;
    --mob-text-18: 18px;
    --mob-text-24: 24px;
    --mob-text-30: 30px;
    --mob-text-36: 36px;

    /* --- Z Stack --- */
    --z-base: 0;
    --z-canvas: 1;
    --z-ui: 10;
    --z-nav: 100;
    --z-loader: 9999;
}

/* ==========================================================================
   RESET & CORE
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background: #FFFFFF;
    color: #000000;
}

html {
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    background: #000000;
    color: #FFFFFF;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

/* Accessibility & Machine-Readable Semantic Utilities (A11y, SEO & GEO) */
.visually-hidden,
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ==========================================================================
   LOADER & TRANSITIONS
   ========================================================================== */
#loader {
    position: fixed;
    inset: 0;
    background: #000000;
    z-index: var(--z-loader);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.loader-text {
    font-family: var(--font-serif);
    font-size: var(--text-h2);
    letter-spacing: 0.4em;
    font-weight: 400;
    color: #FFFFFF;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

/* Progress track */
.loader-progress {
    width: min(240px, 70vw);
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.2rem;
}

/* Subtle, minimal percentage display */
.loader-pct {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.25em;
    font-variant-numeric: tabular-nums;
    text-align: center;
    transition: none;
}

/* Animated fill bar */
.loader-progress-bar {
    height: 100%;
    width: 0%;
    background: #FFFFFF;
    transition: none;
    /* JS controls this directly */
    will-change: width;
}

.page-transition-overlay {
    position: fixed;
    inset: 0;
    background: #000000;
    z-index: 9999;
    opacity: 1;
    pointer-events: none;
}

.hidden-realm {
    display: none !important;
    opacity: 0;
    pointer-events: none;
}

.active-realm {
    display: block;
    animation: fadeInRealm 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInRealm {
    from {
        opacity: 0;
        transform: scale(0.98);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.realm-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--space-sm) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: var(--z-nav);
    color: white;
}

.nav-logo {
    font-family: var(--font-brutal);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

#realm-associates .nav-logo,
.associates-realm .nav-logo {
    color: var(--sign-amber);
    text-shadow: none;
}

.btn-return {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-family: var(--font-body);
    font-size: var(--text-micro);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.6rem 1.4rem;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-return:hover {
    background: rgba(255, 255, 255, 0.95);
    color: black;
    border-color: rgba(255, 255, 255, 0.95);
}

.associates-realm .realm-nav {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.associates-realm .btn-return {
    background: #FFFFFF;
    color: #0F172A;
    border: 1px solid rgba(15, 23, 42, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.associates-realm .btn-return:hover {
    background: #0F172A;
    color: #FFFFFF;
    border-color: #0F172A;
}

/* Universal Realm Nav Actions & Works Button */
.realm-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-btn-works {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 77, 90, 0.1);
    border: 1px solid rgba(255, 77, 90, 0.35);
    color: #ff4d5a;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    padding: 7px 16px;
    border-radius: 20px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.nav-btn-works:hover {
    background: #ff4d5a;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(255, 77, 90, 0.45);
    border-color: #ff4d5a;
}

.nav-works-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff4d5a;
    box-shadow: 0 0 8px #ff4d5a;
}


@media (max-width: 768px) {
    .realm-nav {
        padding: 14px 18px;
    }

    .realm-nav .nav-logo {
        font-size: 1rem;
        letter-spacing: 0.12em;
    }

    .realm-nav .btn-return {
        padding: 0.45rem 0.95rem;
        font-size: 10px;
        letter-spacing: 0.08em;
    }
}

/* ==========================================================================
   CINEMATIC PORTAL (INDEX)
   ========================================================================== */
#nexus-gateway {
    position: fixed;
    inset: 0;
    background: var(--brutal-bg);
}

#nexus-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

.cinematic-portal {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #000000;
}

/* --- Portal Center Logo Overlay */
.portal-center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    text-align: center;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.portal-center-logo h1 {
    font-family: var(--font-serif);
    font-size: var(--text-hero);
    font-weight: 400;
    line-height: 0.9;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0;
}

.portal-center-logo p {
    font-family: var(--font-body);
    font-size: var(--text-caption);
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
}

.cinematic-portal:has(.portal-panel:hover) .portal-center-logo {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
}

/* --- The Split Panels --- */
.portal-panel {
    position: absolute;
    inset: 0;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    transition: clip-path 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.portal-associates {
    clip-path: polygon(0 0, 52% 0, 48% 100%, 0 100%);
}

.portal-studio {
    clip-path: polygon(52% 0, 100% 0, 100% 100%, 48% 100%);
}

.cinematic-portal:has(.portal-associates:hover) .portal-associates {
    clip-path: polygon(0 0, 65% 0, 55% 100%, 0 100%);
    z-index: 2;
}

.cinematic-portal:has(.portal-associates:hover) .portal-studio {
    clip-path: polygon(65% 0, 100% 0, 100% 100%, 55% 100%);
}

.cinematic-portal:has(.portal-studio:hover) .portal-associates {
    clip-path: polygon(0 0, 45% 0, 35% 100%, 0 100%);
}

.cinematic-portal:has(.portal-studio:hover) .portal-studio {
    clip-path: polygon(45% 0, 100% 0, 100% 100%, 35% 100%);
    z-index: 2;
}

.cinematic-portal:has(.portal-panel:hover) .portal-center-logo {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
}

/* Background layers */
.portal-bg {
    position: absolute;
    inset: -5%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s ease;
    z-index: 0;
    filter: contrast(1.2) brightness(0.6);
}

.portal-panel:hover .portal-bg {
    transform: scale(1.05);
}

.portal-associates:hover .portal-bg {
    filter: contrast(1.2) brightness(0.8);
    /* Warm amber tint */
}

.portal-studio:hover .portal-bg {
    filter: contrast(1.5) brightness(0.5);
    /* Harsh contrast */
}

/* Overlays */
.portal-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    transition: all 0.8s ease;
}

.portal-associates .portal-overlay {
    background: linear-gradient(135deg, rgba(8, 8, 8, 0.9) 0%, rgba(8, 8, 8, 0.5) 100%);
}

.portal-studio .portal-overlay {
    background: linear-gradient(225deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.portal-panel:hover .portal-overlay {
    background: rgba(0, 0, 0, 0.2);
}

/* Content */
.portal-content {
    position: absolute;
    top: 50%;
    z-index: 2;
    text-align: center;
    color: white;
    opacity: 0.3;
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    width: 40%;
}

.portal-associates .portal-content {
    left: 25%;
    transform: translate(-50%, -30%);
}

.portal-studio .portal-content {
    left: 75%;
    transform: translate(-50%, -30%);
}

.portal-associates:hover .portal-content,
.portal-studio:hover .portal-content {
    transform: translate(-50%, -50%);
    opacity: 1;
}

/* Associates Styling */
.portal-associates .portal-content h2 {
    font-family: var(--font-elegant);
    font-size: var(--text-h1);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--sign-amber);
    text-shadow: 0 0 40px var(--sign-amber-glow);
}

/* Studio Styling */
.portal-studio .portal-content h2 {
    font-family: var(--font-brutal);
    font-size: var(--text-h1);
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #E63946;
    text-transform: uppercase;
}

.portal-content p {
    font-size: var(--text-body);
    color: var(--glass-border);
    margin-bottom: var(--space-md);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.portal-panel:hover .portal-content p {
    color: rgba(255, 255, 255, 0.7);
}

/* Buttons */
.portal-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: var(--text-micro);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.4s ease;
    background: transparent;
}

.portal-associates .portal-btn {
    border: 1px solid var(--sign-amber);
    color: var(--sign-amber);
}

.portal-associates:hover .portal-btn {
    background: var(--sign-amber);
    color: #FFFFFF;
    box-shadow: 0 0 30px var(--sign-amber-glow);
}

.portal-studio .portal-btn {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #FFFFFF;
    border-radius: 100px;
}

.portal-studio:hover .portal-btn {
    background: #FFFFFF;
    color: #111111;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}


/* ==========================================================================
   ASSOCIATES REALM (NOIR LUXE)
   ========================================================================== */
#associates-scroll-wrapper {
    min-height: 100vh;
    background: var(--sign-bg);
    color: var(--sign-text);
}

.associates-hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 var(--space-lg);
    position: relative;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.4) 100%), url('assets/images/associates/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.associates-hero h1 {
    font-family: var(--font-elegant);
    font-size: var(--text-hero);
    font-weight: 600;
    line-height: 0.92;
    color: var(--sign-text);
    margin-bottom: var(--space-md);
}

.associates-hero p {
    font-family: var(--font-body);
    font-size: var(--text-h3);
    font-weight: 300;
    color: var(--sign-amber);
    max-width: 600px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .associates-hero {
        background-position: 78% center;
        padding: 0 24px;
        min-height: 100svh;
        height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
        box-sizing: border-box;
    }
    .associates-hero .hero-content {
        max-width: 100%;
    }
    .associates-hero h1 {
        font-size: clamp(2rem, 8vw, 2.75rem);
        line-height: 1.08;
        letter-spacing: -0.01em;
        margin-bottom: 14px;
        word-break: normal;
        overflow-wrap: normal;
    }
    .associates-hero p {
        font-size: clamp(0.85rem, 3.6vw, 1.05rem);
        line-height: 1.5;
        max-width: 100%;
        color: var(--sign-amber);
    }
}

.associates-about {
    padding: var(--space-xl) var(--space-lg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

.about-img-placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    max-height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 14px;
    margin-bottom: var(--space-md);
    filter: grayscale(25%) contrast(1.05);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    transition: filter 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.about-col:hover .about-img-placeholder {
    filter: grayscale(0%) contrast(1);
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

.about-col h3 {
    font-family: var(--font-elegant);
    font-size: var(--text-h2);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--sign-amber);
}

.about-col p {
    font-size: var(--text-body);
    line-height: 1.8;
    color: var(--sign-text-muted);
    font-weight: 300;
}

.about-col p+p {
    margin-top: 1rem;
}

/* ==========================================================================
   SIGN WORLD FAQ & KNOWLEDGE ARCHIVE (AEO / GEO OPTIMIZED)
   ========================================================================== */
.signworld-faq-section {
    padding: var(--space-xl) var(--space-lg);
    background: #FFFFFF;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-container {
    max-width: 1100px;
    margin: 0 auto;
}

.faq-header {
    margin-bottom: var(--space-lg);
}

.faq-pill-tag {
    display: inline-block;
    font-family: var(--font-brutal);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--sign-amber);
    background: rgba(180, 83, 9, 0.08);
    border: 1px solid rgba(180, 83, 9, 0.25);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    font-weight: 700;
}

.faq-header h2 {
    font-family: var(--font-elegant);
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    color: var(--sign-text);
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.faq-header h2 i {
    font-style: italic;
    color: var(--sign-amber);
}

.faq-header p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--sign-text-muted);
    max-width: 600px;
    line-height: 1.6;
}

.faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #F8F9FA;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item[open] {
    border-color: rgba(180, 83, 9, 0.35);
    background: #FFFFFF;
    box-shadow: 0 10px 30px rgba(180, 83, 9, 0.06);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-family: var(--font-brutal);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--sign-text);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-chevron {
    font-family: var(--font-brutal);
    font-size: 1.4rem;
    color: var(--sign-amber);
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-item[open] .faq-chevron {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--sign-text-muted);
}

.faq-answer p {
    margin: 0;
}

@media (max-width: 768px) {
    .signworld-faq-section {
        padding: 60px 20px;
    }
    .faq-question {
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
    }
    .faq-answer {
        padding: 0 1.2rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   LIGHT-MODE HIGHWAY TRUCK JOURNEY & DUAL-PANE SHOWCASE (AWWWARDS-TIER)
   Seamlessly Blends with Christa Sign World Theme
   ========================================================================== */

.cinema-journey-stage.light-journey-stage {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #F8F9FA;
    overflow: hidden;
    color: #0F172A;
    font-family: 'Outfit', sans-serif;
    user-select: none;
}

/* Architectural Drafting Grid Canvas Backdrop */
.light-sky-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.light-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.85;
}

/* Overhead Section Header (Light-Luxe Our Services) */
.cinema-gantry-overhead.light-gantry {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 20px 12px;
    background: linear-gradient(to bottom, rgba(248, 249, 250, 0.98) 0%, rgba(248, 249, 250, 0.8) 75%, transparent 100%);
    backdrop-filter: blur(10px);
    pointer-events: none;
}

.gantry-signboard {
    text-align: center;
    max-width: 800px;
}

.light-gantry .gantry-heading {
    font-family: var(--font-elegant);
    font-size: var(--text-h2);
    font-weight: 600;
    color: var(--sign-amber);
    margin: 0;
    letter-spacing: normal;
}

/* Category Quick-Filter Nav (Enhancement #2) */
.service-category-nav {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap;
    pointer-events: auto;
}

.category-pill-btn {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #475569;
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    padding: 6px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    user-select: none;
}

.category-pill-btn:hover {
    color: #FF6B00;
    border-color: rgba(255, 107, 0, 0.4);
    background: #FFF9F5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.12);
}

.category-pill-btn.is-active {
    color: #FFFFFF;
    background: #0F172A;
    border-color: #0F172A;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
    transform: translateY(-1px);
}

@media (max-width: 960px) {
    .cinema-gantry-overhead.light-gantry {
        padding: 14px 12px 8px;
    }

    .service-category-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        max-width: min(760px, calc(100vw - 24px));
        margin: 10px auto 0;
        padding: 4px 6px 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .service-category-nav::-webkit-scrollbar {
        display: none;
    }

    .category-pill-btn {
        font-size: 11px;
        padding: 5px 13px;
        flex-shrink: 0;
    }
}

/* CAMERA VIEWPORT & RIG */
.highway-camera-viewport {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 10;
}

.highway-camera-rig {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1200px;
    transform: translateX(-50%);
    transform-origin: center top;
    will-change: transform;
}

@media (min-width: 1024px) {

    /* Offset highway to center-left on desktop to leave room for the docked showcase card */
    .highway-camera-rig {
        left: 36%;
    }
}

.curvy-highway-svg {
    display: block;
    width: 1200px;
    height: auto;
    overflow: visible;
}

/* Highway Road Markings & Central Hub Styles */
.dispatch-bay-building {
    fill: #F1F5F9;
    stroke: #94A3B8;
    stroke-width: 2;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.07));
}

.dispatch-bay-interior {
    fill: #1E293B;
    stroke: #475569;
    stroke-width: 1.5;
}

.station-pad-outer {
    fill: none;
    stroke: rgba(255, 107, 0, 0.4);
    stroke-width: 2;
    stroke-dasharray: 6 4;
    animation: stationRingSpin 18s linear infinite;
    transform-origin: center;
}

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

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

.station-pad-core {
    fill: #FFFFFF;
    stroke: #FF6B00;
    stroke-width: 2.5;
    filter: drop-shadow(0 4px 12px rgba(255, 107, 0, 0.25));
    transition: fill 0.3s, stroke 0.3s, filter 0.3s;
}

.highway-station-marker.is-active .station-pad-core {
    fill: #FEF3C7;
    stroke: #FF6B00;
    filter: drop-shadow(0 0 20px rgba(255, 107, 0, 0.6));
}

.station-pad-center {
    fill: #FF6B00;
}

/* Luminous Glowing Trail Behind Truck */
.truck-neon-trail-glow {
    transition: opacity 0.3s;
}

.truck-neon-trail {
    filter: drop-shadow(0 0 6px #FF6B00);
}

/* TOP-DOWN TRUCK RIG */
.top-truck-anchor {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 120px;
    pointer-events: none;
    z-index: 25;
    transform-origin: 100px 60px;
    /* Aligned with truck center */
    margin-left: -100px;
    margin-top: -60px;
    will-change: transform;
}

.top-view-truck {
    width: 300px;
    height: 120px;
    display: block;
    overflow: visible;
}

/* Headlight Beams on Asphalt */
.headlight-beams {
    transition: opacity 0.3s;
}

.cinema-journey-stage.is-driving .headlight-beams {
    opacity: 1;
}

/* Rear LED Brake / Tail Lights */
.brake-lamp {
    fill: #EF4444;
    filter: drop-shadow(-2px 0 3px rgba(239, 68, 68, 0.7));
    transition: fill 0.25s ease, filter 0.25s ease;
}

.cinema-journey-stage.is-braking .brake-lamp {
    fill: #FF1111;
    filter: drop-shadow(-4px 0 8px rgba(255, 0, 0, 0.95)) drop-shadow(-1px 0 2px #FFFFFF);
}

/* Rooftop Warning Beacon Strobe */
@keyframes beaconFlash {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
        filter: drop-shadow(0 0 8px #F59E0B);
    }
}

.truck-beacon {
    animation: beaconFlash 0.9s ease-in-out infinite alternate;
}

.beacon-right {
    animation-delay: 0.45s;
}

/* ==========================================================================
   DUAL-PANE SERVICE SHOWCASE CARD (LIGHT LUXE DESIGN)
   ========================================================================== */

.station-popup-modal.light-popup-modal {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 80;
    pointer-events: auto;
    opacity: 1;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Desktop: Side-docked showcase pane */
@media (min-width: 1024px) {
    .station-popup-modal.light-popup-modal {
        right: 3.5%;
        width: min(650px, 46vw);
        max-height: calc(100vh - 140px);
    }
}


/* Card Surface */
.popup-modal-glass.light-modal-card {
    position: relative;
    border-radius: 22px;
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow:
        0 20px 45px -10px rgba(15, 23, 42, 0.12),
        0 0 1px rgba(15, 23, 42, 0.15),
        0 0 35px rgba(255, 107, 0, 0.08);
    overflow: hidden;
}

.popup-cards-deck {
    position: relative;
    padding: 22px 24px;
    overflow-y: auto;
    max-height: calc(100vh - 180px);
}

/* Mobile & Tablet: Bottom-docked sheet to preserve visibility of truck & highway */
@media (max-width: 1023px) {
    .station-popup-modal.light-popup-modal {
        left: 50%;
        top: auto;
        bottom: 85px;
        transform: translateX(-50%);
        width: min(640px, calc(100vw - 24px));
        max-height: min(420px, 48vh);
    }

    .popup-cards-deck {
        padding: 16px 20px;
        max-height: min(400px, 46vh);
    }
}

@media (max-width: 768px) {
    .station-popup-modal.light-popup-modal {
        bottom: 74px;
        width: calc(100vw - 20px);
        max-height: 44vh;
        border-radius: 18px;
    }

    .popup-cards-deck {
        padding: 14px 16px;
        max-height: 44vh;
    }
}

/* Individual Station Cards */
.station-popup-card {
    display: none;
    opacity: 0;
    transform: translateY(10px);
}

.station-popup-card.is-active {
    display: block;
    animation: cardEntrance 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

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

.popup-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 10px;
}

.popup-badge-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.popup-milestone-tag {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #0F172A;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    padding: 4px 12px;
    border-radius: 100px;
}

.popup-card-header .card-tag {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #FF6B00;
    background: rgba(255, 107, 0, 0.08);
    border: 1px solid rgba(255, 107, 0, 0.25);
    padding: 4px 12px;
    border-radius: 100px;
}

.popup-status-pill {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #059669;
}

.station-popup-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 12px;
    letter-spacing: -0.4px;
    line-height: 1.25;
}

.hub-card-title {
    color: #FF6B00 !important;
}

.popup-specs-content {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 20px;
}

.popup-specs-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 6px 14px;
}

.popup-specs-content ul li {
    position: relative;
    padding-left: 18px;
    color: #334155;
    font-weight: 400;
}

.popup-specs-content ul li::before {
    content: "▸";
    position: absolute;
    left: 0;
    top: 0;
    color: #FF6B00;
    font-weight: 800;
}

.popup-specs-content p {
    margin: 0;
    color: #475569;
}

/* ==========================================================================
   SPLIT SHOWCASE LAYOUT (PROMINENT HERO MEDIA + SPECS)
   ========================================================================== */

.popup-card-split {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 22px;
    align-items: stretch;
}

@media (max-width: 1023px) {
    .popup-card-split {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.popup-image-frame {
    position: relative;
    width: 100%;
    min-height: 290px;
    border-radius: 16px;
    overflow: hidden;
    background: #0F172A;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

@media (max-width: 1023px) {
    .popup-image-frame {
        min-height: 180px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .popup-card-split {
        gap: 12px;
    }

    .popup-image-frame {
        min-height: 135px;
        height: 135px;
        border-radius: 12px;
    }
}

.frame-ambient-bg {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.6);
    opacity: 0.65;
    transform: scale(1.15);
    pointer-events: none;
}

.popup-image-frame img {
    position: relative;
    max-width: 94%;
    max-height: 94%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
    z-index: 2;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.popup-image-frame:hover img {
    transform: scale(1.04);
}

.popup-content-stage {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

.popup-content-top {
    flex: 1;
}

/* Subtle zoom hint badge on image hover */
.frame-zoom-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 6px;
    opacity: 0.9;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
    pointer-events: none;
    z-index: 5;
}

.popup-image-frame:hover .frame-zoom-badge {
    opacity: 1;
    background: rgba(255, 107, 0, 0.95);
    transform: scale(1.04);
}

.frame-glass-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, transparent 60%);
    pointer-events: none;
    z-index: 3;
}

/* Actions Column */
.popup-actions-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}

.popup-cta-note {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #94A3B8;
}

.btn-popup-inquire {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #FF6B00;
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(255, 107, 0, 0.35);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    cursor: pointer;
    border: none;
}

.btn-popup-inquire:hover {
    background: #EA580C;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(255, 107, 0, 0.45);
}

.btn-popup-inquire svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.btn-popup-inquire:hover svg {
    transform: translateX(4px);
}

.btn-continue-drive {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #F8FAFC;
    border: 1px solid #CBD5E1;
    color: #0F172A;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-continue-drive:hover {
    background: #F1F5F9;
    border-color: #94A3B8;
    color: #000000;
}

/* ==========================================================================
   TELEMETRY HUD & MILESTONE NAVIGATION DECK (LIGHT THEME)
   ========================================================================== */

.hud-telemetry-bar.light-telemetry {
    position: absolute;
    bottom: 82px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
    padding: 7px 18px;
    border-radius: 100px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    pointer-events: none;
}

.telemetry-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.telemetry-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
    animation: dotPulse 1.5s infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.light-telemetry .telemetry-label {
    color: #64748B;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.light-telemetry .telemetry-val {
    color: #0F172A;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* Bottom Control Deck */
.hud-control-deck.light-control-deck {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: min(940px, calc(100vw - 32px));
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(18px);
    padding: 10px 18px;
    border-radius: 100px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
}

.light-control-deck .hud-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    color: #0F172A;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 8px 14px;
    border-radius: 100px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.light-control-deck .hud-nav-btn:hover {
    background: #FF6B00;
    color: #FFFFFF;
    border-color: #FF6B00;
    transform: scale(1.05);
}

.hud-nav-btn svg {
    width: 14px;
    height: 14px;
}

.hud-milestone-strip {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    padding: 0 8px;
}

.milestone-track-line {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    height: 3px;
    background: #E2E8F0;
    border-radius: 10px;
    pointer-events: none;
    z-index: 1;
}

.milestone-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #FF6B00, #F59E0B);
    border-radius: 10px;
    transition: width 0.15s linear;
}

.milestone-node-btn {
    position: relative;
    z-index: 2;
    background: #FFFFFF;
    border: 1.5px solid #CBD5E1;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.milestone-node-btn .node-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #94A3B8;
    transition: background 0.2s, transform 0.2s;
}

.milestone-node-btn .node-num,
.milestone-node-btn .node-label {
    display: none;
}

.milestone-node-btn:hover {
    transform: scale(1.25);
    border-color: #FF6B00;
}

.milestone-node-btn.is-active {
    background: #FF6B00;
    border-color: #FF6B00;
    transform: scale(1.35);
    box-shadow: 0 0 14px rgba(255, 107, 0, 0.55);
}

.milestone-node-btn.is-active .node-dot {
    background: #FFFFFF;
}

/* ==========================================================================
   SERVICE IMAGE LIGHTBOX MODAL (ENHANCEMENT #3)
   ========================================================================== */

.service-lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    padding: 24px;
}

.service-lightbox-modal.is-open {
    opacity: 1;
    visibility: visible;
}

body.lightbox-active {
    overflow: hidden !important;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.lightbox-dialog {
    position: relative;
    z-index: 2;
    background: #FFFFFF;
    border-radius: 24px;
    max-width: 920px;
    width: 100%;
    max-height: min(92vh, 760px);
    box-shadow:
        0 25px 60px -15px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.94) translateY(12px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-lightbox-modal.is-open .lightbox-dialog {
    transform: scale(1) translateY(0);
}

.lightbox-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: #0F172A;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: all 0.22s ease;
}

.lightbox-close-btn:hover {
    background: #FF6B00;
    color: #FFFFFF;
    border-color: #FF6B00;
    transform: rotate(90deg) scale(1.05);
}

.lightbox-content-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    overflow-y: auto;
    max-height: min(92vh, 760px);
}

@media (max-width: 820px) {
    .lightbox-content-grid {
        grid-template-columns: 1fr;
    }
}

.lightbox-image-stage {
    position: relative;
    background: #0F172A;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    overflow: hidden;
}

.lightbox-image-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-height: 520px;
}

.lightbox-image-glare {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.lightbox-info-stage {
    padding: 32px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #FFFFFF;
}

.lightbox-tag-row {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.lightbox-milestone-pill {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #475569;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    padding: 4px 10px;
    border-radius: 100px;
}

.lightbox-category-pill {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #B45309;
    background: #FEF3C7;
    border: 1px solid #FDE68A;
    padding: 4px 12px;
    border-radius: 100px;
}

.lightbox-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 14px;
    line-height: 1.25;
}

.lightbox-body-text {
    font-size: 13.5px;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 24px;
}

.lightbox-body-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lightbox-body-text ul li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
    color: #334155;
}

.lightbox-body-text ul li::before {
    content: "▸";
    position: absolute;
    left: 0;
    top: 0;
    color: #FF6B00;
    font-weight: 800;
}

.lightbox-action-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid #F1F5F9;
}

.lightbox-wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #FF6B00;
    color: #FFFFFF;
    padding: 13px 20px;
    border-radius: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(255, 107, 0, 0.3);
}

.lightbox-wa-btn:hover {
    background: #E05D00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
    color: #FFFFFF;
}

.lightbox-dismiss-btn {
    background: transparent;
    border: none;
    color: #64748B;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    padding: 6px;
    transition: color 0.2s ease;
}

.lightbox-dismiss-btn:hover {
    color: #0F172A;
}

/* ==========================================================================
   ENHANCEMENT B: DYNAMIC FLATBED TRUCK CARGO
   ========================================================================== */
.truck-flatbed-cargo .cargo-item {
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform-origin: -44px 0px;
    transform: scale(0.85);
    pointer-events: none;
}

.truck-flatbed-cargo.cargo-cat-0 .cargo-item-hub,
.truck-flatbed-cargo.cargo-cat-1 .cargo-item-led,
.truck-flatbed-cargo.cargo-cat-2 .cargo-item-metal,
.truck-flatbed-cargo.cargo-cat-3 .cargo-item-retail,
.truck-flatbed-cargo.cargo-cat-4 .cargo-item-neon,
.truck-flatbed-cargo.cargo-cat-5 .cargo-item-print {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* ==========================================================================
   ENHANCEMENT C: ARCHITECTURAL MATERIALS & FINISHES EXPLORER
   ========================================================================== */
.materials-explorer-panel {
    max-width: 1400px;
    margin: 56px auto 0 auto;
    width: 100%;
    box-sizing: border-box;
    grid-column: 1 / -1;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 20px;
    padding: 42px 38px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.materials-explorer-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF6B00 0%, #B45309 50%, #FF6B00 100%);
}

.materials-header {
    margin-bottom: 28px;
}

.materials-eyebrow {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #B45309;
    background: #FEF3C7;
    border: 1px solid #FDE68A;
    padding: 4px 12px;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 10px;
}

.materials-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 1.95rem);
    font-weight: 700;
    color: #0F172A;
    margin: 4px 0 8px;
    line-height: 1.25;
}

.materials-subtitle {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

.materials-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 32px;
    align-items: stretch;
}

.materials-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.material-tab-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
    width: 100%;
}

.material-tab-card:hover {
    background: #F1F5F9;
    border-color: #CBD5E1;
    transform: translateY(-2px);
}

.material-tab-card.is-active {
    background: #FFFBEB;
    border-color: #FF6B00;
    box-shadow: 0 4px 16px rgba(255, 107, 0, 0.12);
}

.mat-chip-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.mat-icon-ss304 {
    background: linear-gradient(135deg, #E2E8F0 0%, #94A3B8 50%, #CBD5E1 100%);
}

.mat-icon-titanium {
    background: linear-gradient(135deg, #FDE68A 0%, #D97706 50%, #FEF3C7 100%);
}

.mat-icon-acrylic {
    background: linear-gradient(135deg, #E0F2FE 0%, #0284C7 60%, #BAE6FD 100%);
}

.mat-icon-aluminum {
    background: linear-gradient(135deg, #F1F5F9 0%, #64748B 50%, #E2E8F0 100%);
}

.mat-chip-meta {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
}

.mat-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.3;
}

.mat-grade {
    font-size: 11px;
    color: #64748B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.mat-badge {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 9.5px;
    font-weight: 800;
    min-width: 72px;
    text-align: center;
    padding: 5px 8px;
    border-radius: 6px;
    background: #E2E8F0;
    color: #475569;
    flex-shrink: 0;
    letter-spacing: 0.5px;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.material-tab-card.is-active .mat-badge {
    background: #FF6B00;
    color: #FFFFFF;
}

.material-active-display {
    border: 1.5px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.mat-display-surface {
    height: 220px;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
}

.mat-surface-ss304 {
    background: linear-gradient(135deg, #64748B 0%, #CBD5E1 25%, #475569 50%, #E2E8F0 75%, #334155 100%);
}

.mat-surface-titanium {
    background: linear-gradient(135deg, #B45309 0%, #FDE68A 30%, #92400E 60%, #FEF3C7 85%, #78350F 100%);
}

.mat-surface-acrylic {
    background: linear-gradient(135deg, #0369A1 0%, #BAE6FD 35%, #0284C7 65%, #38BDF8 100%);
}

.mat-surface-aluminum {
    background: linear-gradient(135deg, #334155 0%, #CBD5E1 30%, #475569 60%, #E2E8F0 85%, #1E293B 100%);
}

.mat-reflection-glare {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%);
    pointer-events: none;
}

.mat-spec-watermark {
    position: absolute;
    right: 20px;
    bottom: 12px;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 38px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.35);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

.mat-display-details {
    padding: 26px 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mat-display-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    gap: 12px;
}

#mat-display-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
}

.mat-display-pill {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    background: #FEF3C7;
    color: #B45309;
    border: 1px solid #FDE68A;
    padding: 4px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

#mat-display-desc {
    font-size: 13.5px;
    line-height: 1.65;
    color: #475569;
    margin: 0 0 22px;
}

.mat-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid #F1F5F9;
}

.mat-metric-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #F8FAFC;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
}

.mat-metric-lbl {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #64748B;
    font-weight: 700;
}

.mat-metric-val {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
}

@media (max-width: 960px) {
    .materials-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 680px) {
    .materials-explorer-panel {
        padding: 24px 18px;
        margin-top: 36px;
        border-radius: 16px;
    }

    .mat-metrics-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 580px) {
    .materials-explorer-panel {
        padding: 24px 18px;
    }
}

/* ==========================================================================
   RESPONSIVENESS & MOBILE ADAPTATIONS
   ========================================================================== */

@media (max-width: 768px) {
    .gantry-heading {
        font-size: 1.25rem;
    }

    .gantry-sub {
        font-size: 9.5px;
    }

    .hud-control-deck.light-control-deck {
        bottom: 12px;
        padding: 8px 12px;
    }

    .hud-telemetry-bar.light-telemetry {
        bottom: 68px;
        font-size: 9.5px;
        padding: 5px 12px;
    }

    .milestone-node-btn {
        width: 18px;
        height: 18px;
    }

    .milestone-node-btn .node-dot {
        width: 4px;
        height: 4px;
    }
}

/* ==========================================================================
   STUDIO REALM (CYBER-GLASS & LIQUID CHROME)
   ========================================================================== */
#realm-studio {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: var(--studio-bg);
    color: var(--studio-white);
}

#studio-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2 !important;
    pointer-events: none;
    opacity: 1 !important;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.studio-hero-organic {
    position: relative;
    z-index: var(--z-ui);
    min-height: 100vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10vh var(--space-xl);
    overflow: hidden;
    background: transparent;
}

.organic-hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.organic-sub {
    font-family: 'Outfit', sans-serif;
    font-size: var(--text-caption);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--studio-accent);
    margin-bottom: 2rem;
}

.organic-subtitle {
    font-family: var(--font-body);
    font-size: var(--text-micro);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.organic-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: var(--text-h1);
    font-weight: 300;
    font-style: italic;
    line-height: 1.1;
    color: var(--studio-white);
    margin-bottom: 2rem;
}

.organic-desc {
    font-family: 'Outfit', sans-serif;
    font-size: var(--text-h3);
    font-weight: 300;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin-bottom: 4rem;
}

.organic-services {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4rem;
}

.organic-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.organic-hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
}

.organic-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.organic-hero-scroll {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--studio-accent);
}

.organic-hero-scroll .scroll-line {
    width: 50px;
    height: 1px;
    background: var(--studio-accent);
}

/* ==========================================================================
   STUDIO MANIFESTO & IDENTITY SECTION (LUXURY EDITORIAL)
   ========================================================================== */
.studio-manifesto-section {
    position: relative;
    z-index: var(--z-ui);
    background: transparent;
    padding: clamp(60px, 8vw, 120px) 0 clamp(40px, 6vw, 80px);
    overflow: hidden;
}

.studio-manifesto-container {
    width: min(1200px, 92vw);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(36px, 5vw, 60px);
}

/* Lead Editorial Header */
.manifesto-header {
    max-width: 880px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.manifesto-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(230, 57, 70, 0.12);
    border: 1px solid rgba(230, 57, 70, 0.35);
    padding: 6px 14px;
    border-radius: 100px;
    width: fit-content;
}

.manifesto-tag-badge .tag-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FF4D5A;
    box-shadow: 0 0 10px #FF4D5A;
    animation: studioDotPulse 2s infinite ease-in-out;
}

@keyframes studioDotPulse {

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

    50% {
        transform: scale(1.5);
        opacity: 0.6;
    }
}

.manifesto-tag-badge .tag-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #FF4D5A;
    text-transform: uppercase;
}

.manifesto-lead-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0;
}

.manifesto-lead-title .title-highlight {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-style: italic;
    color: #FF4D5A;
    background: linear-gradient(135deg, #FF4D5A 0%, #FFA8AC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.manifesto-lead-desc {
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.76);
    margin: 0;
    max-width: 740px;
}

.manifesto-lead-desc strong {
    color: #FFFFFF;
    font-weight: 600;
}

/* Borderless Dual Editorial Columns */
.manifesto-editorial-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(32px, 6vw, 72px);
    position: relative;
}

.manifesto-col {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    transition: border-color 0.3s ease;
}

.manifesto-col:hover {
    border-top-color: rgba(255, 77, 90, 0.6);
}

.manifesto-col-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.manifesto-col-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: #FF4D5A;
}

.manifesto-col-tag {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.manifesto-col-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.22;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
}

.manifesto-col-title i {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-style: italic;
    color: #FF4D5A;
}

.manifesto-col-body {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 300;
    margin: 0 0 24px;
    flex-grow: 1;
}

/* Minimalist Capability Pills */
.manifesto-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.m-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
}

.m-pill:hover {
    background: rgba(255, 77, 90, 0.12);
    border-color: rgba(255, 77, 90, 0.4);
    color: #FFFFFF;
}

/* Minimalist Metrics Strip */
.manifesto-metrics-strip {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 36px);
    padding-top: 12px;
    margin-top: auto;
}

.m-metric-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.m-metric-val {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
}

.m-metric-lbl {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
}

.m-metric-sep {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.12);
}

/* Minimalist Borderless Creed Quote */
.manifesto-creed-quote {
    position: relative;
    padding: 32px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.creed-mark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    line-height: 0.8;
    color: #FF4D5A;
    opacity: 0.7;
    pointer-events: none;
    user-select: none;
}

.creed-phrase {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin: 0;
    max-width: 820px;
}

.creed-sig {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.25em;
    color: rgba(255, 77, 90, 0.75);
    text-transform: uppercase;
}

/* Legacy & Shared Organic Wrappers for Services Header & Showcase */
.organic-section-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: var(--space-sm) var(--space-lg);
    margin-bottom: 0;
}

.organic-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
    padding: var(--space-xl);
    background: rgba(15, 15, 15, 0.75);
    border-radius: 40px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--studio-glass-border);
}

.organic-section-wrapper.right-aligned {
    justify-content: flex-end;
}

.organic-section-wrapper.left-aligned {
    justify-content: flex-start;
}

.organic-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 1rem + 2.5vw, 3rem);
    font-weight: 400;
    font-style: italic;
    color: var(--studio-white);
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.organic-content p {
    font-family: 'Outfit', sans-serif;
    font-size: var(--text-h4);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

#studio-gallery-trigger {
    position: relative;
    z-index: 10 !important;
    height: 100vh;
    width: 100%;
    border-top: 1px solid var(--studio-glass-border);
    border-bottom: 1px solid var(--studio-glass-border);
    background: transparent;
    overflow: hidden;
}

/* ==========================================================================
   STUDIO SPATIAL OVERLAY & BORDERLESS FLOATING EDITORIAL TYPOGRAPHY
   ========================================================================== */
#studio-3d-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 20 !important;
}

/* Cinematic Editorial Typography Stage (Floating over 3D Depth Tunnel) */
.studio-service-card {
    position: absolute;
    top: 50%;
    left: clamp(28px, 5vw, 76px);
    right: auto;
    width: min(540px, calc(46vw - 20px));
    max-width: calc(100vw - 48px);
    background: linear-gradient(135deg, rgba(16, 16, 18, 0.82) 0%, rgba(6, 6, 8, 0.68) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 77, 90, 0.08) !important;
    backdrop-filter: blur(16px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(140%) !important;
    padding: clamp(22px, 2.6vw, 34px) !important;
    pointer-events: none;
    opacity: 0;
    filter: blur(6px);
    transform: translateY(-50%) scale(0.96);
    will-change: transform, opacity, filter;
    z-index: 20;
    transition: none;
    /* Controlled continuously via scroll scrub */
}

/* Anchored Editorial Left Positioning */
.studio-service-card.pos-left,
.studio-service-card.pos-right {
    left: clamp(28px, 5vw, 76px);
    right: auto;
}

/* Fallback state classes when script initializes or resets */
.studio-service-card.visible {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(-50%) scale(1);
    pointer-events: auto;
}

.studio-service-card.is-past {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(calc(-50% - 40px)) scale(0.96);
    pointer-events: none;
}

/* Monumental Architectural Ghost Numeral floating in the spatial void */
.studio-ghost-num {
    position: absolute;
    top: -55px;
    left: 0;
    font-family: 'Syne', sans-serif;
    font-size: clamp(6rem, 10vw, 11rem);
    font-weight: 800;
    line-height: 0.8;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.07);
    color: transparent;
    pointer-events: none;
    user-select: none;
    z-index: 1;
}

.studio-service-card.pos-right .studio-ghost-num {
    left: auto;
    right: 0;
}

/* Pure Editorial Content Layer */
.studio-editorial-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

/* Refined Coordinate Eyebrow */
.studio-editorial-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.studio-eyebrow-index {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.25em;
    color: #FF4D5A;
}

.studio-eyebrow-line {
    width: 28px;
    height: 1px;
    background: rgba(255, 77, 90, 0.45);
}

.studio-eyebrow-cat {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

/* Monumental Display Title & Luxury Serif Subtitle */
.studio-editorial-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 18px;
}

.studio-editorial-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.65rem, 2.6vw, 2.5rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0;
    text-transform: uppercase;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.studio-editorial-serif {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
    font-style: italic;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.3;
    margin-top: 2px;
}

/* Poetic Narrative Description */
.studio-editorial-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 24px;
    max-width: 480px;
    font-weight: 300;
}

/* Mobile-only image fallback (hidden on desktop where Three.js 3D mesh is hero) */
.studio-mobile-media {
    display: none;
}

/* Hairline Capability Directory */
.studio-capabilities-dir {
    margin-bottom: 28px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.studio-dir-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.studio-dir-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.studio-dir-count {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #FF4D5A;
}

.studio-dir-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 20px;
}

.studio-dir-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.studio-dir-item:hover {
    border-bottom-color: rgba(230, 57, 70, 0.4);
    transform: translateX(4px);
}

.studio-dir-item:hover .dir-name {
    color: #FFFFFF;
}

.dir-index {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #FF4D5A;
    min-width: 16px;
}

.dir-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}

/* Understated Luxury Commission Action */
.studio-editorial-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.studio-editorial-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 6px;
    transition: color 0.25s ease;
}

.studio-editorial-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: linear-gradient(90deg, #E63946, #FF4D5A);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.studio-editorial-cta:hover .cta-arrow {
    transform: translate(3px, -3px);
    color: #FF4D5A;
}

.studio-editorial-cta:hover::after {
    transform: scaleX(1.1);
    box-shadow: 0 0 10px rgba(255, 77, 90, 0.6);
}

.cta-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.studio-availability-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
}

.avail-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4ADE80;
    box-shadow: 0 0 8px #4ADE80;
    animation: availPulse 2.5s infinite ease-in-out;
}

@keyframes availPulse {

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

    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

/* Custom Cursor feedback when hovering 3D WebGL mesh */
body.studio-mesh-hover .custom-cursor {
    transform: scale(2.2);
    border-color: #FF4D5A;
    background: rgba(230, 57, 70, 0.2);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.4);
}

/* ==========================================================================
   STUDIO VERTICAL MICRO-COORDINATE TRACKER (Non-Intrusive Precision Index)
   ========================================================================== */
.studio-vertical-tracker {
    position: absolute;
    right: clamp(16px, 2.5vw, 36px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-end;
    pointer-events: auto;
}

.tracker-node {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    padding: 4px 0;
    cursor: pointer;
    opacity: 0.35;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: inherit;
    text-decoration: none;
}

.tracker-node:hover {
    opacity: 0.85;
    transform: translateX(-4px);
}

.tracker-node.active {
    opacity: 1;
    transform: translateX(-6px);
}

.tracker-label {
    font-family: 'Space Grotesk', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.tracker-node:hover .tracker-label,
.tracker-node.active .tracker-label {
    opacity: 0.95;
    transform: translateX(0);
}

.tracker-node.active .tracker-label {
    color: #FF4D5A;
}

.tracker-line {
    width: 14px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.tracker-node:hover .tracker-line {
    width: 20px;
    background: rgba(255, 255, 255, 0.7);
}

.tracker-node.active .tracker-line {
    width: 28px;
    height: 1.5px;
    background: #FF4D5A;
    box-shadow: 0 0 10px rgba(255, 77, 90, 0.8);
}

.tracker-num {
    font-family: 'Space Grotesk', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.25s ease;
}

.tracker-node.active .tracker-num {
    color: #FFFFFF;
    font-weight: 700;
}

@media (max-width: 900px) {
    .studio-vertical-tracker {
        display: none;
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 10px rgba(0, 0, 0, 0);
    }

    50% {
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    }

    100% {
        box-shadow: 0 0 10px rgba(0, 0, 0, 0);
    }
}

/* Studio Showcase Grid */
.studio-showcase {
    position: relative;
    z-index: var(--z-ui);
    background: transparent;
    width: 100%;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-auto-rows: 300px;
    gap: var(--space-md);
    width: 100%;
}

.showcase-item {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.showcase-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 77, 90, 0.15);
    border-color: rgba(255, 77, 90, 0.35);
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s;
    filter: brightness(0.65) grayscale(0.4);
}

.showcase-item:hover img {
    transform: scale(1.06);
    filter: brightness(1) grayscale(0);
}

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

    .showcase-item.tall {
        grid-row: span 2;
    }

    .showcase-item.wide {
        grid-column: span 2;
    }
}

/* Universal Premium Footer */
/* Universal Premium Footer */
.christa-footer {
    padding: var(--space-4xl) var(--space-2xl) var(--space-xl);
    margin-top: 15vh;
    background: #050505;
    color: var(--studio-white);
    position: relative;
    z-index: var(--z-ui);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.footer-main-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
    padding-bottom: var(--space-4xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 992px) {
    .footer-main-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer-left {
        flex: 1;
        max-width: 50%;
    }

    .footer-right {
        flex: 1;
        display: flex;
        justify-content: flex-end;
    }
}

.footer-left h2 {
    font-family: var(--font-elegant);
    font-style: normal;
    font-size: clamp(2.5rem, 5vw, 5.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: var(--space-xl);
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.footer-left h2 i {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: #FFA048;
    text-transform: capitalize;
    display: inline-block;
    letter-spacing: 0.02em;
}

.studio-realm .footer-left h2 i {
    color: #FF4757;
}

.associates-realm .footer-btn {
    background: linear-gradient(135deg, #FF6B00 0%, #FFA048 100%);
    color: #FFFFFF;
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.studio-realm .footer-btn {
    background: linear-gradient(135deg, #FF4757 0%, #FF6B81 100%);
    color: #FFFFFF;
    box-shadow: 0 10px 30px rgba(255, 71, 87, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 3rem;
    font-family: var(--font-body);
    font-size: var(--text-base);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--studio-bg);
    background: var(--studio-white);
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-weight: 600;
}

.footer-btn span {
    transition: transform 0.3s ease;
}

.footer-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.15);
}

.footer-btn:hover span {
    transform: translateX(5px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    width: 100%;
    max-width: 600px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1.35fr;
        max-width: 700px;
        gap: 3.5rem;
        align-items: start;
    }
}

.footer-col h3 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li,
.footer-col p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-col a.footer-address-link {
    display: inline;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    transition: color 0.25s ease, opacity 0.25s ease;
    cursor: pointer;
}

.footer-col a.footer-address-link:hover {
    color: #FF6B00;
    padding-left: 0;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.branch-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FF6B00;
    margin-bottom: 0.25rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.3);
    gap: var(--space-md);
    font-family: var(--font-body);
    letter-spacing: 0.05em;
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--studio-white);
}


/* ==========================================================================
   SHARED UI ELEMENTS
   ========================================================================== */
/* Custom Cursor (Only for Studio & Associates realms — Home page uses normal browser cursor) */
@media (pointer: fine) {

    .studio-realm *,
    .associates-realm * {
        cursor: none !important;
    }

    /* Modal / Lightbox Dialogs ALWAYS use visible native browser cursor */
    body.lightbox-active,
    body.lightbox-active *,
    .service-lightbox-modal,
    .service-lightbox-modal * {
        cursor: auto !important;
    }

    body.lightbox-active button,
    body.lightbox-active a,
    body.lightbox-active [role="button"],
    .service-lightbox-modal button,
    .service-lightbox-modal a,
    .service-lightbox-modal [role="button"],
    .service-lightbox-modal .lightbox-close-btn,
    .service-lightbox-modal .lightbox-wa-btn,
    .service-lightbox-modal .lightbox-dismiss-btn {
        cursor: pointer !important;
    }
}

body.lightbox-active .custom-cursor,
body.lightbox-active .cursor-trail {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1000002;
    width: 28px;
    height: 28px;
    color: var(--sign-amber);
    filter: drop-shadow(0 0 8px rgba(255, 126, 71, 0.8));
    opacity: 0;
    /* Hidden until first mousemove */
}

.custom-cursor svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.associates-realm .custom-cursor svg polygon {
    fill: #FF6B00;
    stroke: #FFFFFF;
    stroke-width: 1.5;
}

.cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1000001;
    width: 6px;
    height: 6px;
    background: var(--sign-amber);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--sign-amber);
    opacity: 0;
    /* Hidden until first mousemove */
}

.studio-realm .custom-cursor {
    color: var(--studio-white);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

.studio-realm .cursor-trail {
    background: var(--studio-white);
    box-shadow: 0 0 8px var(--studio-white);
}

/* WhatsApp CTA */
.whatsapp-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease;
    cursor: pointer !important;
}

.whatsapp-cta:hover {
    transform: scale(1.1);
}

.whatsapp-cta svg {
    width: 30px;
    height: 30px;
    fill: white;
}

/* Scroll Progress */
.gallery-progress {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--sign-amber);
    z-index: 9000;
    transition: width 0.1s linear;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    border-color: white;
    background: white;
    color: black;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .studio-service-card {
        width: min(560px, calc(50vw - 24px));
    }
}

@media (max-width: 768px) {

    /* ==============================================
       GATEWAY (HOME) - LUXURY EDITORIAL DUAL PORTAL
       ============================================== */
    #nexus-gateway.cinematic-portal {
        position: relative;
        inset: auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        padding: 14px 14px 74px 14px;
        gap: 12px;
        height: 100dvh;
        max-height: 100dvh;
        overflow: hidden;
        background: #060608;
        box-sizing: border-box;
    }

    /* Masthead Header at the top */
    .portal-center-logo {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
        padding: 6px 0 2px 0 !important;
        text-align: center;
        opacity: 1 !important;
        pointer-events: auto !important;
        z-index: 10;
    }

    .portal-center-logo h1 {
        font-family: var(--font-serif);
        font-size: 1.35rem;
        font-weight: 500;
        letter-spacing: 0.18em;
        line-height: 1;
        color: #FFFFFF;
        background: none;
        -webkit-text-fill-color: initial;
        text-transform: uppercase;
    }

    .portal-center-logo p {
        font-family: var(--font-body);
        font-size: 0.58rem;
        letter-spacing: 0.32em;
        margin-top: 5px;
        color: rgba(255, 255, 255, 0.45);
        text-transform: uppercase;
        text-shadow: none;
    }

    /* Dual Cards that evenly share the remaining vertical screen */
    .portal-panel {
        position: relative;
        flex: 1;
        width: 100%;
        min-height: 0;
        clip-path: none !important;
        border-radius: 20px;
        overflow: hidden;
        inset: auto;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        transition: transform 0.3s ease, border-color 0.3s ease;
    }

    /* Reset hover clip-paths */
    .cinematic-portal:has(.portal-associates:hover) .portal-associates,
    .cinematic-portal:has(.portal-associates:hover) .portal-studio,
    .cinematic-portal:has(.portal-studio:hover) .portal-associates,
    .cinematic-portal:has(.portal-studio:hover) .portal-studio {
        clip-path: none !important;
    }

    /* Ambient card borders and glows */
    .portal-associates {
        border: 1px solid rgba(255, 140, 0, 0.28);
        box-shadow: 0 10px 30px -10px rgba(255, 107, 0, 0.15), inset 0 0 40px rgba(255, 107, 0, 0.05);
    }

    .portal-studio {
        border: 1px solid rgba(230, 57, 70, 0.28);
        box-shadow: 0 10px 30px -10px rgba(230, 57, 70, 0.15), inset 0 0 40px rgba(230, 57, 70, 0.05);
    }

    /* Full-bleed background images */
    .portal-bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        filter: brightness(0.7) contrast(1.15) !important;
        transform: scale(1.02);
        z-index: 0;
    }

    /* Rich, seamless dark vignettes covering the ENTIRE card */
    .portal-overlay {
        position: absolute;
        inset: 0;
        z-index: 1;
        opacity: 1 !important;
    }

    .portal-associates .portal-overlay {
        background: linear-gradient(180deg, rgba(12, 10, 8, 0.45) 0%, rgba(12, 10, 8, 0.88) 100%) !important;
    }

    .portal-studio .portal-overlay {
        background: linear-gradient(180deg, rgba(16, 6, 9, 0.45) 0%, rgba(16, 6, 9, 0.90) 100%) !important;
    }

    /* Card Content: Perfectly centered and readable with zero awkward containers */
    .portal-content {
        position: relative;
        z-index: 2;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 16px 20px;
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        opacity: 1 !important;
        transform: none !important;
        box-sizing: border-box;
    }

    .portal-associates .portal-content,
    .portal-studio .portal-content {
        left: auto;
        top: auto;
        padding: 16px 20px;
        transform: none !important;
    }

    .portal-associates .portal-content h2 {
        font-family: var(--font-elegant);
        font-size: 1.75rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        margin-bottom: 6px;
        color: #FF9E3B;
        text-shadow: 0 0 25px rgba(255, 140, 0, 0.5);
    }

    .portal-studio .portal-content h2 {
        font-family: var(--font-brutal);
        font-size: 1.75rem;
        font-weight: 800;
        letter-spacing: 0.04em;
        margin-bottom: 6px;
        color: #FF4757;
        text-shadow: 0 0 25px rgba(230, 57, 70, 0.5);
    }

    .portal-content p {
        font-family: var(--font-body);
        font-size: 0.70rem;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        margin-bottom: 18px;
        color: rgba(255, 255, 255, 0.8) !important;
        max-width: 290px;
        line-height: 1.45;
    }

    .portal-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 9px 24px;
        border-radius: 100px;
        font-family: var(--font-body);
        font-size: 0.68rem;
        font-weight: 600;
        letter-spacing: 0.22em;
        text-transform: uppercase;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        transition: transform 0.2s ease, background 0.2s ease;
    }

    .portal-associates .portal-btn {
        background: rgba(255, 140, 0, 0.12);
        border: 1px solid rgba(255, 140, 0, 0.5);
        color: #FFF;
        box-shadow: 0 4px 20px rgba(255, 107, 0, 0.2);
    }

    .portal-studio .portal-btn {
        background: rgba(230, 57, 70, 0.12);
        border: 1px solid rgba(230, 57, 70, 0.5);
        color: #FFF;
        box-shadow: 0 4px 20px rgba(230, 57, 70, 0.2);
    }

    /* Cinema Journey Mobile styles are defined within cinema-journey-stage block */
    /* ==============================================
       DESIGN STUDIO - PREMIUM SPATIAL UI
       ============================================== */
    #studio-canvas {
        display: none !important;
    }

    .studio-hero-organic {
        padding: calc(var(--mob-space-32) + 60px) var(--mob-space-16);
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        /* Bottom anchor */
    }

    .organic-hero-content {
        background: rgba(0, 0, 0, 0.65);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: var(--mob-space-24);
        border-radius: var(--mob-radius-lg);
        border: 1px solid var(--studio-glass-border);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        margin-bottom: var(--mob-space-24);
    }

    .organic-title {
        font-size: var(--mob-text-36);
        margin-bottom: var(--mob-space-16);
    }

    .organic-desc {
        font-size: var(--mob-text-16);
        margin-bottom: var(--mob-space-24);
    }

    /* Studio Manifesto Mobile Polish — Borderless Editorial */
    .studio-manifesto-section {
        padding: 40px 0 30px !important;
    }

    .studio-manifesto-container {
        width: 100% !important;
        padding: 0 20px !important;
        gap: 32px !important;
    }

    .manifesto-header {
        gap: 12px;
    }

    .manifesto-lead-title {
        font-size: 1.95rem !important;
        line-height: 1.15 !important;
    }

    .manifesto-lead-desc {
        font-size: 14px !important;
        line-height: 1.65 !important;
    }

    .manifesto-editorial-columns {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .manifesto-col {
        padding-top: 18px !important;
    }

    .manifesto-col-title {
        font-size: 1.5rem !important;
        margin-bottom: 12px !important;
    }

    .manifesto-col-body {
        font-size: 13.5px !important;
        line-height: 1.65 !important;
        margin-bottom: 20px !important;
    }

    .manifesto-pill-row {
        gap: 6px !important;
    }

    .m-pill {
        padding: 5px 12px !important;
        font-size: 10.5px !important;
    }

    .manifesto-metrics-strip {
        gap: 20px !important;
        padding-top: 10px !important;
    }

    .m-metric-val {
        font-size: 1.3rem !important;
    }

    .m-metric-lbl {
        font-size: 8.5px !important;
    }

    .manifesto-creed-quote {
        padding: 24px 0 0 !important;
        gap: 10px !important;
    }

    .creed-mark {
        font-size: 2.2rem !important;
    }

    .creed-phrase {
        font-size: 1.15rem !important;
        line-height: 1.45 !important;
    }

    .creed-sig {
        font-size: 9px !important;
    }

    /* Studio Showcase Mobile Architecture — Pure Editorial Immersion */
    #studio-gallery-trigger {
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
        padding: 40px 18px 60px !important;
    }

    #studio-3d-overlay {
        position: relative !important;
        inset: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 32px !important;
        width: 100% !important;
        pointer-events: auto !important;
    }

    .studio-service-card {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        display: block !important;
        width: 100% !important;
        max-height: none !important;
        opacity: 1 !important;
        filter: none !important;
        pointer-events: auto !important;
        padding: 24px 20px !important;
        margin: 0 !important;
        background: rgba(18, 18, 22, 0.75) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 20px !important;
        box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
        box-sizing: border-box !important;
    }

    .studio-mobile-media {
        display: block !important;
        width: 100%;
        border-radius: 16px;
        overflow: hidden;
        margin: 18px 0 24px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        max-height: 240px;
    }

    .studio-mobile-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .studio-ghost-num {
        font-size: clamp(5rem, 18vw, 7rem) !important;
        top: -30px !important;
        left: -10px !important;
    }

    .studio-dir-list {
        grid-template-columns: 1fr !important;
        gap: 4px !important;
    }

    .studio-editorial-title {
        font-size: clamp(1.85rem, 6.5vw, 2.5rem) !important;
    }

    .studio-editorial-serif {
        font-size: 1.15rem !important;
    }

    .studio-editorial-desc {
        font-size: 13.5px !important;
        line-height: 1.7 !important;
        margin-bottom: 20px !important;
    }

    .organic-services-grid {
        grid-template-columns: 1fr;
        gap: var(--mob-space-16);
    }

    .organic-service-item {
        background: rgba(255, 255, 255, 0.03);
        padding: var(--mob-space-24);
        border-radius: var(--mob-radius-md);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .studio-hero-image::after {
        display: none;
    }

    /* Common */
    /* Common Luxury Mobile Footer */
    .christa-footer {
        margin-top: 0;
        padding: 44px 22px calc(44px + 80px) 22px;
        background: #070709;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-main-content {
        gap: 36px;
        padding-bottom: 36px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-left h2 {
        font-size: clamp(2rem, 7.8vw, 2.75rem);
        line-height: 1.08;
        letter-spacing: -0.01em;
        margin-bottom: 22px;
    }

    .footer-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
        font-size: 0.8rem;
        letter-spacing: 0.18em;
        box-sizing: border-box;
    }

    .footer-grid {
        gap: 28px;
    }

    .footer-col h3 {
        font-size: 0.72rem;
        letter-spacing: 0.22em;
        color: rgba(255, 255, 255, 0.45);
        margin-bottom: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 6px;
    }

    .footer-col ul:not(.social-links) {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 14px;
        padding: 14px 16px;
    }

    .footer-col ul:not(.social-links) li {
        font-size: 0.88rem;
        margin-bottom: 6px;
        line-height: 1.5;
    }

    .footer-col ul:not(.social-links) li:last-child {
        margin-bottom: 0;
    }

    .footer-col a {
        color: #FFFFFF;
    }

    .footer-branch-item {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 14px;
        padding: 14px 16px;
        margin-bottom: 12px;
    }

    .branch-tag {
        font-size: 0.72rem;
        letter-spacing: 0.1em;
        color: #FFA048;
        margin-bottom: 4px;
        display: block;
    }

    .footer-branch-item p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin: 0;
    }

    .social-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .social-links a {
        display: inline-flex;
        padding: 7px 18px;
        border-radius: 100px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.14);
        font-size: 0.8rem;
        letter-spacing: 0.08em;
        color: #FFFFFF;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--mob-space-16);
    }
}

@media (max-width: 480px) {
    .whatsapp-cta {
        width: 48px;
        height: 48px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .whatsapp-cta svg {
        width: 24px;
        height: 24px;
    }
}

@media (pointer: coarse) {

    .custom-cursor,
    .custom-cursor-follower {
        display: none !important;
    }

    * {
        cursor: auto !important;
    }
}

/* --- Accessibility & Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .marquee-track {
        animation: none !important;
    }

    .outline-text::before {
        transition: none !important;
    }
}

/* ==========================================================================
   ACCESSIBILITY — FOCUS STATES
   ========================================================================== */

/* Restore outline for keyboard users, hidden for mouse users */
:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--sign-amber);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Override for dark / studio pages */
.dark-mode :focus-visible,
#realm-studio :focus-visible {
    outline-color: #FFFFFF;
}

/* Ensure touch targets are large enough (WCAG 2.5.8) */
button,
a {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Exception: inline links in paragraphs don't need min-height */
p a,
li a,
.footer-legal a,
.social-links a {
    min-height: unset;
    min-width: unset;
    display: inline;
}

/* Skip-to-content link for keyboard users (hidden off-screen until Tab focus) */
.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    background: var(--sign-amber);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 100000;
    transform: translateY(-200%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.skip-link:focus-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION BAR
   ========================================================================== */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background: rgba(10, 10, 10, 0.88);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 10000;
        justify-content: space-around;
        align-items: center;
        padding-bottom: env(safe-area-inset-bottom);
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    }

    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 33.33%;
        height: 100%;
        color: rgba(255, 255, 255, 0.5);
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
    }

    .nav-item svg {
        width: 24px;
        height: 24px;
        margin-bottom: 4px;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .nav-item span {
        font-family: var(--font-body);
        font-size: 10px;
        font-weight: 500;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        transition: all 0.3s ease;
    }

    .nav-item.active {
        color: #ffffff;
    }

    .nav-item.active svg {
        transform: translateY(-2px) scale(1.1);
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
    }

    /* Subtle glow line for active tab */
    .nav-item.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #ffffff;
        box-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff;
    }

    /* Adjust main content padding to account for bottom nav on mobile - only scrollable pages */
    body.associates-realm,
    body.studio-realm {
        padding-bottom: 70px;
    }

    body.nexus-realm {
        padding-bottom: 0;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        min-height: 100dvh;
    }

    /* Move WhatsApp CTA above bottom nav */
    .whatsapp-cta {
        bottom: 90px;
    }

    body.nexus-realm .whatsapp-cta {
        bottom: calc(72px + 12px);
        right: 14px;
        width: 44px;
        height: 44px;
    }

    /* Adapt mobile nav on light-mode Sign World page */
    body.associates-realm .mobile-bottom-nav {
        background: rgba(255, 255, 255, 0.94);
        border-top: 1px solid rgba(15, 23, 42, 0.12);
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
    }

    body.associates-realm .mobile-bottom-nav .nav-item {
        color: #64748B;
    }

    body.associates-realm .mobile-bottom-nav .nav-item.active {
        color: #0F172A;
    }

    body.associates-realm .mobile-bottom-nav .nav-item.active svg {
        filter: drop-shadow(0 0 6px rgba(255, 107, 0, 0.35));
    }

    body.associates-realm .mobile-bottom-nav .nav-item.active::after {
        background: #FF6B00;
        box-shadow: 0 0 10px #FF6B00;
    }
}

/* ==========================================================================
   NEXUS SEO & LEGAL FOOTER (INDEX)
   ========================================================================== */
.nexus-seo-footer {
    position: absolute;
    bottom: 16px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: auto;
}

.nexus-footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.nexus-footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nexus-footer-links a:hover {
    color: #FFFFFF;
}

.nexus-footer-sep {
    opacity: 0.3;
}

@media (max-width: 768px) {
    .nexus-seo-footer {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        margin-top: 14px;
        margin-bottom: calc(72px + env(safe-area-inset-bottom, 8px));
        padding: 8px 16px;
        font-size: 0.68rem;
        box-sizing: border-box;
    }

    .nexus-footer-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem 0.85rem;
    }
}/* ==========================================================================
   MOBILE PREMIUM SERVICES OVERRIDE (Associates / Sign World)
   Bypasses the heavy SVG scrub-scroll on mobile and presents a native card stack.
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Reset the Stage */
    .cinema-journey-stage {
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
        background: var(--sign-bg) !important;
        padding-bottom: var(--space-xxl) !important;
    }
    
    /* 2. Hide SVG Highway & Sky & Interactive HUD */
    .cinema-sky-backdrop, 
    .cinema-track-svg-wrapper,
    .cinema-hud-overlay {
        display: none !important;
    }
    
    /* 3. Reset the Title Gantry */
    .cinema-gantry-overhead {
        position: relative !important;
        left: 0 !important; 
        transform: none !important;
        width: 100% !important;
        padding: var(--space-xl) var(--space-md) var(--space-md) !important;
        text-align: left;
    }
    .gantry-heading {
        text-align: left !important;
        font-size: var(--text-h2) !important;
        margin-bottom: var(--space-sm) !important;
    }
    .service-category-nav {
        display: none !important; /* Hide tabs on mobile vertical scroll */
    }
    
    /* 4. Ungroup the Modal into a normal container */
    .station-popup-modal.light-popup-modal {
        position: relative !important;
        left: 0 !important; 
        top: 0 !important; 
        bottom: 0 !important; 
        transform: none !important;
        width: 100% !important;
        max-height: none !important;
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
        padding: 0 var(--space-md) !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    .popup-modal-glass {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }
    
    /* 5. Transform Deck into Vertical Gap Layout */
    .popup-cards-deck {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--space-xl) !important;
        padding: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }
    
    /* 6. Force ALL 16 cards to be visible */
    .station-popup-card {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        
        background: #ffffff !important;
        border-radius: 16px !important;
        padding: 16px !important;
        box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.08), 0 0 1px rgba(15, 23, 42, 0.15) !important;
    }
    
    /* 7. Premium Single-Column Image+Text Layout */
    .popup-card-split {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }
    .popup-image-frame {
        width: 100% !important;
        height: 220px !important;
        border-radius: 12px !important;
        aspect-ratio: auto !important;
    }
    .popup-image-frame img {
        border-radius: 12px !important;
        object-fit: cover !important;
        width: 100% !important;
        height: 100% !important;
    }
    .popup-content-stage {
        padding: 0 !important;
    }
    .popup-card-header {
        margin-bottom: 8px !important;
    }
    .popup-content-stage h3 {
        font-size: 1.3rem !important;
    }
}

/* ==========================================================================
   CINEMATIC ABOUT OVERRIDES
   ========================================================================== */
.cinematic-about {
    padding: var(--space-xxl) 0 !important; /* Edge to edge on mobile */
}
.cinematic-about .about-grid {
    gap: var(--space-xxl);
}
.cinematic-about .about-col {
    display: flex;
    flex-direction: column;
}
.cinematic-about .about-img-placeholder {
    aspect-ratio: 16 / 9;
    border-radius: 0;
    max-height: 500px;
    margin-bottom: var(--space-lg);
    box-shadow: none;
}
.cinematic-about .about-col h3 {
    padding: 0 var(--space-lg);
}
.cinematic-about .about-col p {
    padding: 0 var(--space-lg);
    max-width: 680px;
}
@media (max-width: 768px) {
    .cinematic-about .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    .cinematic-about .about-img-placeholder {
        aspect-ratio: 4 / 5;
        border-radius: 0;
    }
    .cinematic-about .about-col h3,
    .cinematic-about .about-col p {
        padding: 0 var(--space-md);
    }
}
