        :root {
            --bg-canvas: #fbfbfa;
            --bg-surface: #ffffff;
            --text-primary: #111827;
            --text-secondary: #4b5563;
            --text-tertiary: #9ca3af;
            --border-subtle: #e5e7eb;
            --border-focus: #111827;
        }

        body {
            font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
            background-color: var(--bg-canvas);
            color: var(--text-primary);
            -webkit-font-smoothing: antialiased;
            -webkit-tap-highlight-color: transparent;
        }

        .serif-title {
            font-family: 'Cormorant Garamond', Georgia, Cambria, 'Times New Roman', Times, serif;
            letter-spacing: -0.015em;
        }

        /* Prevent overscroll bounce in Telegram / WhatsApp WebViews */
        html, body {
            overscroll-behavior-y: none;
        }

        .stage-container {
            width: 100%;
            height: 380px;
            background: radial-gradient(circle at 50% 45%, #ffffff 0%, #f4f4f2 100%);
            border-radius: 1rem;
            position: relative;
            overflow: hidden;
            border: 1px solid #e7e5e4;
        }
        @media (min-width: 640px) {
            .stage-container { height: 460px; border-radius: 1.25rem; }
        }
        @media (min-width: 1024px) {
            .stage-container { height: 530px; border-radius: 1.5rem; }
        }

        /* Clean Swatch Selector */
        .color-swatch {
            transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .color-swatch.active {
            box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #111827;
            transform: scale(1.08);
        }

        /* Magnifier Loupe Glass */
        #zoom-lens {
            position: absolute;
            border: 2px solid #ffffff;
            border-radius: 50%;
            cursor: none;
            width: 150px;
            height: 150px;
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18), inset 0 0 10px rgba(0, 0, 0, 0.08);
            pointer-events: none;
            display: none;
            z-index: 25;
            background-repeat: no-repeat;
        }

        /* Refined Scene Thumbnails */
        .scene-thumb {
            min-width: 84px;
            border: 1.5px solid #e7e5e4;
            transition: all 0.2s ease;
        }
        @media (min-width: 640px) {
            .scene-thumb { min-width: 100px; }
        }
        .scene-thumb.active {
            border-color: #111827;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        }

        /* Horizontal Scrollbar Suppression for App WebViews */
        .no-scrollbar::-webkit-scrollbar {
            display: none;
        }
        .no-scrollbar {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }

        /* Safe area support for WhatsApp/Telegram home indicator */
        .safe-bottom {
            padding-bottom: max(16px, env(safe-area-inset-bottom));
        }
    
        .atelier-footer-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2.5rem;
        }
        @media (min-width: 768px) {
            .atelier-footer-grid {
                grid-template-columns: 1.2fr 1fr 1.1fr 1fr;
            }
        }

        /* Luxury Pipeline Modal System */
        #pipelineModal {
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }
        #pipelineBox {
            width: 100%;
            max-width: 680px;
            max-height: 90vh;
            display: flex;
            flex-direction: column;
            background-color: #ffffff;
            border-radius: 1.5rem;
            border: 1px solid #e7e5e4;
            box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3);
            overflow: hidden;
        }

        /* Pet Crop & Focus Viewport System (Expansive Desktop Experience) */
        #cropModal {
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }
        #cropBox {
            width: 100%;
            max-width: 520px;
            max-height: 94vh;
            display: flex;
            flex-direction: column;
            background-color: #ffffff;
            border-radius: 1.5rem;
            border: 1px solid #e7e5e4;
            box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3);
            overflow: hidden;
        }
        @media (min-width: 768px) {
            #cropBox {
                max-width: 780px;
            }
        }
        @media (min-width: 1024px) {
            #cropBox {
                max-width: 920px;
            }
        }
        #cropViewport {
            width: 100%;
            height: 360px;
        }
        @media (min-width: 640px) {
            #cropViewport {
                height: 460px;
            }
        }
        @media (min-width: 1024px) {
            #cropViewport {
                height: 540px;
            }
        }
        .pipeline-step-grid {
            display: grid;
            grid-template-columns: repeat(5, minmax(0, 1fr));
            gap: 4px;
        }
        @media (min-width: 640px) {
            .pipeline-step-grid {
                gap: 8px;
            }
        }
        .pipeline-preview-stage {
            width: 100%;
            height: 260px;
            background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f4f4f2 100%);
            border-radius: 0.75rem;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #e7e5e4;
        }
        @media (min-width: 640px) {
            .pipeline-preview-stage {
                height: 380px;
            }
        }
        .pipeline-preview-stage img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
        }

        /* Before & After Interactive Showcase System */
        .ba-comparison-wrapper {
            position: relative;
            width: 100%;
            height: 360px;
            overflow: hidden;
            border-radius: 1.25rem;
            background: #141416;
            border: 1px solid #e7e5e4;
            box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.12);
            user-select: none;
            touch-action: none;
        }
        @media (min-width: 640px) {
            .ba-comparison-wrapper {
                height: 480px;
                border-radius: 1.5rem;
            }
        }
        @media (min-width: 1024px) {
            .ba-comparison-wrapper {
                height: 520px;
            }
        }
        .ba-image-layer {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .ba-image-layer img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            pointer-events: none;
        }
        .ba-before-wrapper {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 50%;
            overflow: hidden;
            border-right: 2px solid #ffffff;
            z-index: 10;
        }
        .ba-before-inner {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .ba-before-inner img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            pointer-events: none;
        }
        .ba-divider {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 50%;
            width: 2px;
            background: #ffffff;
            z-index: 20;
            transform: translateX(-50%);
            box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
        }
        .ba-divider-handle {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 38px;
            height: 38px;
            background: #ffffff;
            color: #18181b;
            border-radius: 50%;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: ew-resize;
            border: 2px solid rgba(24, 24, 27, 0.1);
            transition: transform 0.15s ease;
        }
        .ba-divider-handle:hover {
            transform: translate(-50%, -50%) scale(1.08);
        }
        .ba-tab-btn.active {
            background-color: #18181b;
            color: #ffffff;
            border-color: #18181b;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }
        .ba-badge-left {
            position: absolute;
            top: 1rem;
            left: 1rem;
            z-index: 25;
            pointer-events: none;
        }
        .ba-badge-right {
            position: absolute;
            top: 1rem;
            right: 1rem;
            z-index: 25;
            pointer-events: none;
        }

        /* Twin Carousel & From-To Grid Enhancements */
        .twin-slide-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 1.75rem 2rem;
            background: linear-gradient(to top, rgba(12, 10, 9, 0.9) 0%, rgba(12, 10, 9, 0.45) 50%, transparent 100%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            z-index: 10;
        }
        .from-to-grid {
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
            align-items: center;
            width: 100%;
        }
        @media (min-width: 960px) {
            .from-to-grid {
                display: grid;
                grid-template-columns: 1fr 50px 1fr;
                gap: 1.5rem;
                align-items: center;
            }
        }
        .ft-tag-container {
            position: absolute;
            top: 0.85rem;
            left: 0.85rem;
            display: flex;
            flex-direction: column;
            gap: 0.35rem;
            z-index: 15;
            pointer-events: none;
        }
    
        /* Fail-safe Editorial Brand Story CSS */
        .atelier-story-container {
            max-width: 1140px;
            margin-left: auto;
            margin-right: auto;
            padding-left: 1.5rem;
            padding-right: 1.5rem;
            padding-top: 4rem;
            padding-bottom: 4rem;
        }
        .atelier-heritage-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2.5rem;
            align-items: center;
        }
        @media (min-width: 1024px) {
            .atelier-heritage-grid {
                grid-template-columns: 1fr 1fr;
                gap: 4rem;
            }
        }
        .atelier-stat-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
        }
        .atelier-journey-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        @media (min-width: 640px) {
            .atelier-journey-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (min-width: 1024px) {
            .atelier-journey-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }
        .atelier-materials-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2.5rem;
            align-items: center;
        }
        @media (min-width: 1024px) {
            .atelier-materials-grid {
                grid-template-columns: 1.2fr 0.8fr;
                gap: 4rem;
            }
        }

    
        /* Verified Haute Atelier Editorial Layout Rules (Zero Tailwind Dependencies) */
        .atelier-editorial-wrap {
            max-width: 1140px;
            margin-left: auto;
            margin-right: auto;
            padding: 4.5rem 1.5rem;
        }
        .atelier-2col-layout {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2.5rem;
            align-items: center;
        }
        @media (min-width: 1024px) {
            .atelier-2col-layout {
                grid-template-columns: 1fr 1fr;
                gap: 4rem;
            }
        }
        .atelier-stats-2col {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
        }
        .atelier-4col-journey {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.25rem;
        }
        @media (min-width: 640px) {
            .atelier-4col-journey {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }
        }
        @media (min-width: 1024px) {
            .atelier-4col-journey {
                grid-template-columns: repeat(4, 1fr);
                gap: 1.5rem;
            }
        }
        .journey-step-card {
            background-color: #ffffff;
            border: 1px solid #e7e5e4;
            border-top: 2px solid #1c1917;
            border-radius: 1.25rem;
            padding: 1.75rem 1.5rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: all 0.25s ease;
        }
        .journey-step-card:hover {
            border-color: #a8a29e;
            transform: translateY(-2px);
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
        }

