/* @font-face declarations live in fonts.css (loaded by index.html + studio.html) */
       body {
            background-color: #050505;
            color: #e2e2e2;
            cursor: none;
            overflow-x: hidden;
            min-height: 100vh;
        }

        /* Prevent layout shifts */
        #main-container {
            min-height: 100vh;
        }

        .noise-canvas {
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
        }

        .hero-title {
            font-family: 'Bricolage Grotesque', 'Space Grotesk', sans-serif;
            letter-spacing: -0.06em;
        }

        /* =====================================================================
           Plasma Core cursor â€” three compositor layers, mix-blend-mode for
           theme-aware vibrance, NO box-shadow (paint-free). Each layer's
           background is a radial-gradient that paints once on layer creation;
           movement is composite-only, so 1000Hz mouse polling doesn't repaint.
           ===================================================================== */
        body { cursor: none; }
        .cursor-aura,
        .cursor-ring,
        .cursor-dot {
            position: fixed;
            top: 0; left: 0;
            border-radius: 50%;
            pointer-events: none;
            transform: translate3d(-200px, -200px, 0) translate(-50%, -50%);
            will-change: transform;
            opacity: 0;
            transition: opacity 0.3s ease,
                        width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                        height 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            mix-blend-mode: screen;
        }
        .cursor-aura {
            z-index: 10000;
            width: 120px; height: 120px;
            /* No mix-blend-mode here on purpose â€” for a 120-180px element,
               blending against the layer stack beneath every frame is the
               single most expensive cursor op. Compensated with a slightly
               punchier gradient so it still reads as a glow. */
            mix-blend-mode: normal;
            background: radial-gradient(
                circle at center,
                rgba(0, 255, 255, 0.32) 0%,
                rgba(255, 0, 255, 0.18) 40%,
                transparent 72%
            );
        }
        .cursor-ring {
            z-index: 10001;
            width: 36px; height: 36px;
            background: radial-gradient(
                circle at center,
                transparent 54%,
                rgba(0, 255, 255, 0.75) 60%,
                rgba(255, 0, 255, 0.60) 68%,
                transparent 76%
            );
        }
        .cursor-dot {
            z-index: 10002;
            width: 7px; height: 7px;
            background: radial-gradient(circle at center, #ffffff 0%, #00ffff 45%, #ff00ff 100%);
            mix-blend-mode: normal; /* keep the core crisp white */
        }
        .cursors-ready .cursor-aura,
        .cursors-ready .cursor-ring,
        .cursors-ready .cursor-dot { opacity: 1; }
        /* Hover interactive â€” everything blooms */
        .cursor-aura.is-hover { width: 180px; height: 180px; }
        .cursor-ring.is-hover { width: 56px; height: 56px; }
        .cursor-dot.is-hover  { width: 11px; height: 11px; }
        /* Over the floating nav: dim so it doesn't fight with the pill */
        .cursor-aura.is-nav,
        .cursor-ring.is-nav,
        .cursor-dot.is-nav { opacity: 0.3; }

        /* Refresh theme: multiply blend richens colors on bright bg */
        html[data-theme="refresh"] .cursor-aura {
            background: radial-gradient(
                circle at center,
                rgba(59, 130, 246, 0.38) 0%,
                rgba(236, 72, 153, 0.20) 40%,
                transparent 72%
            );
            mix-blend-mode: normal;
        }
        html[data-theme="refresh"] .cursor-ring {
            background: radial-gradient(
                circle at center,
                transparent 54%,
                rgba(59, 130, 246, 0.78) 60%,
                rgba(236, 72, 153, 0.65) 68%,
                transparent 76%
            );
            mix-blend-mode: multiply;
        }
        html[data-theme="refresh"] .cursor-dot {
            background: radial-gradient(circle at center, #0F172A 0%, #3B82F6 50%, #EC4899 100%);
        }

        /* Click shockwave â€” single transient element, animates from 16â†’200px then removed */
        .cursor-shockwave {
            position: fixed;
            top: 0; left: 0;
            width: 16px; height: 16px;
            border-radius: 50%;
            border: 2px solid rgba(0, 255, 255, 0.85);
            transform: translate3d(-200px, -200px, 0) translate(-50%, -50%);
            pointer-events: none;
            z-index: 10003;
            mix-blend-mode: screen;
            animation: cursor-shockwave 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
            will-change: transform, opacity, width, height;
        }
        html[data-theme="refresh"] .cursor-shockwave {
            border-color: rgba(59, 130, 246, 0.7);
            mix-blend-mode: multiply;
        }
        @keyframes cursor-shockwave {
            from { width: 16px;  height: 16px;  border-width: 2px;   opacity: 0.95; }
            to   { width: 220px; height: 220px; border-width: 0.5px; opacity: 0;    }
        }

        /* Hide on touch devices + respect reduced motion */
        @media (pointer: coarse) {
            body { cursor: auto; }
            .cursor-aura, .cursor-ring, .cursor-dot, .cursor-shockwave { display: none !important; }
        }
        @media (prefers-reduced-motion: reduce) {
            .cursor-aura, .cursor-ring, .cursor-dot { transition: opacity 0.25s ease !important; }
            .cursor-shockwave { animation: none; display: none; }
        }

        /* Liquid Blob Background Effect */
        .liquid-blob {
            position: absolute;
            border-radius: 50%;
            filter: blur(4vw);
            opacity: 0.15;
            animation: blob-float 20s ease-in-out infinite;
            will-change: transform;
            transform: translateZ(0);
        }

        .blob-1 {
            width: 35vw;
            height: 35vw;
            background: linear-gradient(45deg, #ff00ff, #8b00ff);
            top: 10%;
            left: 10%;
            animation-delay: 0s;
        }

        .blob-2 {
            width: 28vw;
            height: 28vw;
            background: linear-gradient(135deg, #00ffff, #0080ff);
            bottom: 20%;
            right: 10%;
            animation-delay: -7s;
        }

        .blob-3 {
            width: 42vw;
            height: 42vw;
            background: linear-gradient(90deg, #ff00ff, #00ffff);
            top: 50%;
            left: 50%;
            animation-delay: -14s;
        }

        /* Translate-only â€” scale was forcing the GPU to re-rasterize the
           blurred layer every frame (filter: blur(4vw) on a 35vw element is
           ~600px of blur). Pure translate composites in-place. */
        @keyframes blob-float {
            0%, 100% { transform: translate3d(0, 0, 0); }
            33%      { transform: translate3d(50px, -50px, 0); }
            66%      { transform: translate3d(-50px, 50px, 0); }
        }

        /* Text Glitch Effect */
        .glitch-text {
            position: relative;
            font-family: 'Bricolage Grotesque', 'Space Grotesk', sans-serif;
        }

        .glitch-text::before,
        .glitch-text::after {
            content: attr(data-text);
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        /* Glitch text â€” composite-only animation via clip-path + transform.
           The old version used `clip: rect(random()â€¦)` which (1) is invalid
           CSS so the animation did nothing visible, and (2) `clip` is the
           deprecated property which triggers layout on every frame. This
           version is a real glitch (different slices revealing each pseudo)
           and only touches transform/clip-path â†’ GPU-composited. */
        .glitch-text::before {
            left: 2px;
            text-shadow: -2px 0 #ff00ff;
            clip-path: inset(20% 0 50% 0);
            animation: glitch-slice-a 3.6s infinite steps(1, end);
        }

        .glitch-text::after {
            left: -2px;
            text-shadow: -2px 0 #00ffff;
            clip-path: inset(55% 0 15% 0);
            animation: glitch-slice-b 3.2s infinite steps(1, end);
        }

        @keyframes glitch-slice-a {
            0%, 80%, 100% { clip-path: inset(20% 0 50% 0); transform: translateX(0); }
            82%           { clip-path: inset(10% 0 65% 0); transform: translate3d(3px, 0, 0); }
            85%           { clip-path: inset(40% 0 30% 0); transform: translate3d(-2px, 0, 0); }
            88%           { clip-path: inset(70% 0 5% 0);  transform: translate3d(2px, 0, 0); }
            92%           { clip-path: inset(25% 0 60% 0); transform: translateX(0); }
        }
        @keyframes glitch-slice-b {
            0%, 75%, 100% { clip-path: inset(55% 0 15% 0); transform: translateX(0); }
            77%           { clip-path: inset(65% 0 10% 0); transform: translate3d(-3px, 0, 0); }
            81%           { clip-path: inset(35% 0 40% 0); transform: translate3d(2px, 0, 0); }
            84%           { clip-path: inset(5% 0 70% 0);  transform: translate3d(-2px, 0, 0); }
            88%           { clip-path: inset(60% 0 20% 0); transform: translateX(0); }
        }

        /* Parallax Grid */
        .grid-lines {
            position: absolute;
            width: 100%;
            height: 100%;
            background-image:
                linear-gradient(rgba(255, 0, 255, 0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px);
            background-size: 50px 50px;
            transform-style: preserve-3d;
        }

        /* Holographic Card */
        .holo-card {
            background: rgba(10, 10, 10, 0.6);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            overflow: hidden;
            transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
            will-change: transform, box-shadow;
            transform: translateZ(0);
        }

        .holo-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(
                45deg,
                transparent 30%,
                rgba(255, 0, 255, 0.1) 50%,
                rgba(0, 255, 255, 0.1) 60%,
                transparent 70%
            );
            animation: holo-shine 3s linear infinite;
        }

        @keyframes holo-shine {
            0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
            100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
        }

        .holo-card:hover {
            border-color: rgba(255, 0, 255, 0.3);
            box-shadow: 0 10px 40px rgba(255, 0, 255, 0.2);
            transform: translateY(-5px);
        }

        /* Marquee */
        @keyframes marquee {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        .animate-marquee {
            display: inline-flex;
            animation: marquee 40s linear infinite;
        }

        /* Audio Player & Equalizer */
        .audio-bar {
            width: 3px;
            background: #00ffff;
            animation: equalizer 1s ease-in-out infinite;
        }
        @keyframes equalizer {
            0%, 100% { height: 20%; }
            50% { height: 100%; }
        }
        .corporate-grid-item {
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .corporate-grid-item:hover {
            transform: scale(1.02);
            z-index: 10;
            box-shadow: 0 20px 50px rgba(0,0,0,0.5);
        }

        /* =====================================================================
           SEO / AI grounding section â€” dictionary entry that explicitly
           defines "Get Pro AF" + "Pro AF Solutionsâ„¢". Helps search engines
           and LLMs extract structured meaning, and reassures real visitors
           who landed unsure what this brand actually is.
           ===================================================================== */
        .seo-definition {
            position: relative;
            padding: 5rem 1.5rem 4rem;
            z-index: 20;
        }
        .seo-definition-inner {
            max-width: 780px;
            margin: 0 auto;
            text-align: center;
            position: relative;
        }
        .seo-definition-inner::before {
            /* subtle corner brackets like a dictionary entry */
            content: '';
            position: absolute;
            top: -16px; left: -16px;
            width: 36px; height: 36px;
            border-top: 1.5px solid rgba(0, 255, 255, 0.5);
            border-left: 1.5px solid rgba(0, 255, 255, 0.5);
        }
        .seo-definition-inner::after {
            content: '';
            position: absolute;
            bottom: -16px; right: -16px;
            width: 36px; height: 36px;
            border-bottom: 1.5px solid rgba(255, 0, 255, 0.5);
            border-right: 1.5px solid rgba(255, 0, 255, 0.5);
        }
        html[data-theme="refresh"] .seo-definition-inner::before {
            border-top-color: rgba(59, 130, 246, 0.5);
            border-left-color: rgba(59, 130, 246, 0.5);
        }
        html[data-theme="refresh"] .seo-definition-inner::after {
            border-bottom-color: rgba(236, 72, 153, 0.5);
            border-right-color: rgba(236, 72, 153, 0.5);
        }
        .seo-eyebrow {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.72rem;
            letter-spacing: 0.35em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.5);
            margin: 0 0 1.2rem;
        }
        html[data-theme="refresh"] .seo-eyebrow { color: rgba(15, 23, 42, 0.55); }
        .seo-definition-h {
            font-family: 'Instrument Serif', Georgia, serif;
            font-size: clamp(1.6rem, 3.8vw, 2.4rem);
            font-weight: 400;
            line-height: 1.25;
            color: #ffffff;
            margin: 0 0 1.6rem;
            letter-spacing: -0.01em;
        }
        html[data-theme="refresh"] .seo-definition-h { color: #0F172A; }
        .seo-definition-h strong {
            font-weight: 400;
            background: linear-gradient(135deg, #00ffff, #ff00ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-style: italic;
        }
        html[data-theme="refresh"] .seo-definition-h strong {
            background: linear-gradient(135deg, #3B82F6, #EC4899);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .seo-definition-body {
            font-family: 'Inter', system-ui, sans-serif;
            font-size: clamp(0.95rem, 1.4vw, 1.05rem);
            line-height: 1.65;
            color: rgba(255, 255, 255, 0.78);
            margin: 0 auto 2rem;
            max-width: 680px;
        }
        html[data-theme="refresh"] .seo-definition-body { color: rgba(15, 23, 42, 0.78); }
        .seo-definition-body strong {
            color: #ffffff;
            font-weight: 600;
        }
        html[data-theme="refresh"] .seo-definition-body strong { color: #0F172A; }
        .seo-definition-list {
            list-style: none;
            padding: 0;
            margin: 0 auto;
            max-width: 640px;
            display: grid;
            gap: 0.5rem;
            text-align: left;
        }
        .seo-definition-list li {
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 0.88rem;
            line-height: 1.5;
            color: rgba(255, 255, 255, 0.7);
            padding: 0.6rem 0.9rem;
            background: rgba(255, 255, 255, 0.03);
            border-left: 2px solid rgba(0, 255, 255, 0.4);
            border-radius: 0 6px 6px 0;
        }
        html[data-theme="refresh"] .seo-definition-list li {
            background: #ffffff;
            color: rgba(15, 23, 42, 0.78);
            border-left-color: rgba(59, 130, 246, 0.4);
            box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
        }
        .seo-list-key {
            display: inline-block;
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.66rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: rgba(0, 255, 255, 0.8);
            min-width: 92px;
            margin-right: 0.8rem;
        }
        html[data-theme="refresh"] .seo-list-key { color: #3B82F6; }
        @media (max-width: 720px) {
            .seo-definition { padding: 3.5rem 1rem 3rem; }
            .seo-list-key { display: block; min-width: 0; margin-right: 0; margin-bottom: 0.2rem; }
        }

        /* =====================================================================
           Genesis Loop â€” live website auto-build cycling through 4 industries.
           Per-industry palette/typography/copy is driven by JS setting CSS
           custom properties + data attributes on .genesis-stage. Phase
           transitions are handled by CSS based on data-phase value.
           ===================================================================== */
        .genesis-section {
            position: relative;
            padding: 6rem 1.5rem 5rem;
            z-index: 20;
        }
        .genesis-header { max-width: 920px; margin: 0 auto 3rem; text-align: center; }
        .genesis-eyebrow {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.72rem;
            letter-spacing: 0.4em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.55);
            margin: 0 0 1.25rem;
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
        }
        html[data-theme="refresh"] .genesis-eyebrow { color: rgba(15, 23, 42, 0.55); }
        .genesis-eyebrow::before {
            content: '';
            width: 8px; height: 8px;
            border-radius: 50%;
            background: #22c55e;
            box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
            animation: genesis-pulse 1.8s ease-in-out infinite;
        }
        @keyframes genesis-pulse {
            0%, 100% { opacity: 0.6; transform: scale(0.85); }
            50%      { opacity: 1;   transform: scale(1);    }
        }
        .genesis-headline {
            font-family: 'Bricolage Grotesque', 'Space Grotesk', sans-serif;
            font-size: clamp(1.8rem, 5vw, 3.2rem);
            font-weight: 700;
            line-height: 1.1;
            letter-spacing: -0.025em;
            color: #ffffff;
            margin: 0;
        }
        html[data-theme="refresh"] .genesis-headline { color: #0F172A; }
        .genesis-headline em {
            font-style: normal;
            background: linear-gradient(135deg, #00ffff, #ff00ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 900;
        }
        html[data-theme="refresh"] .genesis-headline em {
            background: linear-gradient(135deg, #3B82F6, #EC4899);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .genesis-subline {
            font-family: 'Inter', system-ui, sans-serif;
            font-size: clamp(0.9rem, 1.4vw, 1.05rem);
            color: rgba(255, 255, 255, 0.6);
            margin: 1.2rem 0 0;
            line-height: 1.5;
        }
        html[data-theme="refresh"] .genesis-subline { color: rgba(15, 23, 42, 0.6); }

        .genesis-stage {
            max-width: 1180px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 1.5rem;
            /* CSS custom properties set by JS per industry */
            --g-c1: #d4a574;
            --g-c2: #8a5a3b;
            --g-c3: #2d1b0e;
            --g-c4: #f5ede0;
            --g-font-head: 'Playfair Display', Georgia, serif;
            --g-font-body: 'Inter', system-ui, sans-serif;
        }

        /* === Side log === */
        .genesis-log {
            background: rgba(10, 10, 14, 0.55);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 14px;
            padding: 1.25rem 1.25rem;
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            backdrop-filter: blur(14px);
            align-self: start;
        }
        html[data-theme="refresh"] .genesis-log {
            background: #ffffff;
            border-color: rgba(15, 23, 42, 0.08);
            box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
            backdrop-filter: none;
        }
        .genesis-log-row {
            display: flex;
            justify-content: space-between;
            font-size: 0.7rem;
            color: rgba(255, 255, 255, 0.55);
            margin-bottom: 0.4rem;
        }
        html[data-theme="refresh"] .genesis-log-row { color: rgba(15, 23, 42, 0.55); }
        .genesis-log-key { letter-spacing: 0.15em; }
        .genesis-log-val {
            color: #ffffff;
            font-weight: 700;
            letter-spacing: 0.1em;
            transition: color 0.3s ease;
        }
        html[data-theme="refresh"] .genesis-log-val { color: #0F172A; }
        .genesis-log-divider {
            height: 1px;
            background: rgba(255, 255, 255, 0.08);
            margin: 1rem 0;
        }
        html[data-theme="refresh"] .genesis-log-divider { background: rgba(15, 23, 42, 0.08); }
        .genesis-log-steps {
            list-style: none;
            padding: 0; margin: 0;
            display: flex;
            flex-direction: column;
            gap: 0.55rem;
        }
        .genesis-step {
            font-size: 0.78rem;
            color: rgba(255, 255, 255, 0.35);
            padding-left: 18px;
            position: relative;
            transition: color 0.3s ease;
        }
        html[data-theme="refresh"] .genesis-step { color: rgba(15, 23, 42, 0.5); }
        .genesis-step::before {
            content: '';
            position: absolute;
            left: 0; top: 0.45em;
            width: 8px; height: 8px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.12);
            transition: background 0.3s ease, box-shadow 0.3s ease;
        }
        html[data-theme="refresh"] .genesis-step::before { background: rgba(15, 23, 42, 0.12); }
        .genesis-step.is-active {
            color: #ffffff;
        }
        html[data-theme="refresh"] .genesis-step.is-active { color: #0F172A; }
        .genesis-step.is-active::before {
            background: #00ffff;
            box-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
        }
        html[data-theme="refresh"] .genesis-step.is-active::before {
            background: #3B82F6;
            box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
        }
        .genesis-step.is-done {
            color: rgba(255, 255, 255, 0.55);
        }
        html[data-theme="refresh"] .genesis-step.is-done { color: rgba(15, 23, 42, 0.55); }
        .genesis-step.is-done::before {
            background: #22c55e;
            box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
        }
        .genesis-step-final.is-active { color: #22c55e; font-weight: 700; }
        .genesis-step-final.is-active::before { background: #22c55e; }

        /* === Browser frame === */
        .genesis-browser {
            background: #0a0a14;
            border-radius: 14px;
            overflow: hidden;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
            display: flex;
            flex-direction: column;
            min-height: 480px;
        }
        html[data-theme="refresh"] .genesis-browser {
            background: #ffffff;
            box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
        }
        .genesis-browser-bar {
            background: rgba(255, 255, 255, 0.04);
            padding: 10px 14px;
            display: flex;
            align-items: center;
            gap: 6px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }
        html[data-theme="refresh"] .genesis-browser-bar {
            background: #f1f5f9;
            border-bottom-color: rgba(15, 23, 42, 0.08);
        }
        .genesis-browser-bar .dot {
            width: 10px; height: 10px;
            border-radius: 50%;
            background: #ef4444;
        }
        .genesis-browser-bar .dot:nth-child(2) { background: #fbbf24; }
        .genesis-browser-bar .dot:nth-child(3) { background: #22c55e; }
        .genesis-url {
            background: rgba(255, 255, 255, 0.08);
            color: rgba(255, 255, 255, 0.7);
            border-radius: 6px;
            padding: 4px 12px;
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.7rem;
            margin-left: 10px;
            flex: 1;
            text-align: center;
        }
        html[data-theme="refresh"] .genesis-url {
            background: #ffffff;
            color: #475569;
            border: 1px solid rgba(15, 23, 42, 0.08);
        }

        /* Canvas where layers stack and reveal per phase */
        .genesis-canvas {
            position: relative;
            flex: 1;
            background: var(--g-c4);
            overflow: hidden;
            transition: background 0.5s ease;
        }
        .canvas-layer {
            position: absolute;
            inset: 0;
            padding: 1.5rem 1.75rem;
            opacity: 0;
            transition: opacity 0.45s ease;
            pointer-events: none;
        }

        /* Phase: blank â€” all layers hidden */
        /* Phase: brand â€” show brand layer only */
        .genesis-stage[data-phase="brand"] .canvas-brand { opacity: 1; }
        /* Phase: wireframe â€” show wireframe only */
        .genesis-stage[data-phase="wireframe"] .canvas-wireframe { opacity: 1; }
        /* Phase: content+ â€” show + enable interaction on active industry layer */
        .genesis-stage[data-phase="content"][data-industry="bakery"]   .canvas-bakery,
        .genesis-stage[data-phase="polish"][data-industry="bakery"]    .canvas-bakery,
        .genesis-stage[data-phase="final"][data-industry="bakery"]     .canvas-bakery,
        .genesis-stage[data-phase="content"][data-industry="electric"] .canvas-electric,
        .genesis-stage[data-phase="polish"][data-industry="electric"]  .canvas-electric,
        .genesis-stage[data-phase="final"][data-industry="electric"]   .canvas-electric,
        .genesis-stage[data-phase="content"][data-industry="landscape"] .canvas-landscape,
        .genesis-stage[data-phase="polish"][data-industry="landscape"]  .canvas-landscape,
        .genesis-stage[data-phase="final"][data-industry="landscape"]   .canvas-landscape,
        .genesis-stage[data-phase="content"][data-industry="photo"]    .canvas-photo,
        .genesis-stage[data-phase="polish"][data-industry="photo"]     .canvas-photo,
        .genesis-stage[data-phase="final"][data-industry="photo"]      .canvas-photo {
            opacity: 1;
            pointer-events: auto; /* override .canvas-layer default so nav clicks work */
        }
        /* Content phase: hide secondary elements (image, cta) for a phased reveal */
        .genesis-stage[data-phase="content"] .canvas-industry .industry-svg,
        .genesis-stage[data-phase="content"] .canvas-industry .bakery-cta,
        .genesis-stage[data-phase="content"] .canvas-industry .bakery-strip,
        .genesis-stage[data-phase="content"] .canvas-industry .electric-chips,
        .genesis-stage[data-phase="content"] .canvas-industry .landscape-areas,
        .genesis-stage[data-phase="content"] .canvas-industry .photo-grid,
        .genesis-stage[data-phase="content"] .canvas-industry .photo-cta { opacity: 0; transition: opacity 0.4s ease; }
        /* Polish phase: everything visible */
        .genesis-stage[data-phase="polish"] .canvas-industry .industry-svg,
        .genesis-stage[data-phase="polish"] .canvas-industry .bakery-cta,
        .genesis-stage[data-phase="polish"] .canvas-industry .bakery-strip,
        .genesis-stage[data-phase="polish"] .canvas-industry .electric-chips,
        .genesis-stage[data-phase="polish"] .canvas-industry .landscape-areas,
        .genesis-stage[data-phase="polish"] .canvas-industry .photo-grid,
        .genesis-stage[data-phase="polish"] .canvas-industry .photo-cta,
        .genesis-stage[data-phase="final"]  .canvas-industry .industry-svg,
        .genesis-stage[data-phase="final"]  .canvas-industry .bakery-cta,
        .genesis-stage[data-phase="final"]  .canvas-industry .bakery-strip,
        .genesis-stage[data-phase="final"]  .canvas-industry .electric-chips,
        .genesis-stage[data-phase="final"]  .canvas-industry .landscape-areas,
        .genesis-stage[data-phase="final"]  .canvas-industry .photo-grid,
        .genesis-stage[data-phase="final"]  .canvas-industry .photo-cta { opacity: 1; transition: opacity 0.6s ease 0.2s; }
        /* Placeholder overlay takes over when nav clicked */
        .genesis-stage[data-placeholder="true"] .canvas-placeholder { opacity: 1; pointer-events: auto; }

        /* === Brand identity layer === */
        .canvas-brand {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 1.2rem;
        }
        .brand-swatches {
            display: flex;
            gap: 0.7rem;
        }
        .brand-swatches .swatch {
            width: 38px; height: 38px;
            border-radius: 50%;
            box-shadow: 0 4px 10px rgba(0,0,0,0.15);
            transform: scale(0);
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        .brand-swatches .swatch:nth-child(1) { background: var(--g-c1); }
        .brand-swatches .swatch:nth-child(2) { background: var(--g-c2); }
        .brand-swatches .swatch:nth-child(3) { background: var(--g-c3); }
        .brand-swatches .swatch:nth-child(4) { background: var(--g-c4); border: 1px solid rgba(0,0,0,0.1); }
        .genesis-stage[data-phase="brand"] .swatch { transform: scale(1); transition-delay: 0.1s; }
        .genesis-stage[data-phase="brand"] .swatch:nth-child(2) { transition-delay: 0.18s; }
        .genesis-stage[data-phase="brand"] .swatch:nth-child(3) { transition-delay: 0.26s; }
        .genesis-stage[data-phase="brand"] .swatch:nth-child(4) { transition-delay: 0.34s; }
        /* Client intake brief â€” replaces the old font-spec rows so the
           brand-identity phase reads as "here's the kind of owner we built
           this site for" instead of designer technobabble. */
        .brand-brief {
            width: 100%;
            max-width: 360px;
            display: flex;
            flex-direction: column;
            gap: 0;
        }
        .brief-eyebrow {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.6rem;
            letter-spacing: 0.35em;
            text-transform: uppercase;
            color: var(--g-c3);
            opacity: 0.55;
            text-align: center;
            margin-bottom: 0.4rem;
        }
        .brief-row {
            display: grid;
            grid-template-columns: 88px 1fr;
            align-items: baseline;
            gap: 0.85rem;
            padding: 6px 0;
            border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        }
        .brief-row:last-child { border-bottom: none; }
        .brief-label {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.6rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: var(--g-c3);
            opacity: 0.55;
            white-space: nowrap;
        }
        .brief-val {
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 0.78rem;
            line-height: 1.35;
            color: var(--g-c3);
            opacity: 0.92;
        }
        .brief-val-brand {
            font-family: 'Bricolage Grotesque', 'Space Grotesk', system-ui, sans-serif;
            font-weight: 700;
            font-size: 0.85rem;
            background: linear-gradient(135deg, #00ffff, #ff00ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            opacity: 1;
        }
        html[data-theme="refresh"] .brief-val-brand {
            background: linear-gradient(135deg, #3B82F6, #EC4899);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .brand-logo {
            margin-top: 0.8rem;
            font-family: var(--g-font-head);
            font-size: clamp(1.4rem, 3vw, 2rem);
            font-weight: 700;
            color: var(--g-c3);
            letter-spacing: -0.01em;
        }

        /* === Wireframe layer === */
        .canvas-wireframe {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            padding-top: 2rem;
        }
        .wire-nav {
            display: flex;
            gap: 0.6rem;
            align-items: center;
            margin-bottom: 0.5rem;
        }
        .wire-nav .w-12 { flex: 1; max-width: 90px; }
        .wire-row { display: flex; gap: 0.8rem; }
        .wire-cta-row { display: flex; justify-content: center; margin-top: 0.5rem; }
        .wire-block {
            background: rgba(0, 0, 0, 0.1);
            border-radius: 4px;
        }
        .w-8  { width: 50px; }
        .w-half { flex: 1; }
        .w-24 { width: 140px; }
        .h-2 { height: 8px; }
        .h-4 { height: 14px; }
        .h-12 { height: 56px; }
        .wire-hero {
            background: rgba(0, 0, 0, 0.08);
            border-radius: 8px;
            height: 110px;
            width: 100%;
        }

        /* === Industry content layers (4 distinct layouts) === */
        .canvas-industry {
            display: flex;
            flex-direction: column;
        }
        .industry-svg { width: 100%; height: 100%; max-width: 140px; max-height: 140px; transition: opacity 0.4s ease; }
        .industry-link {
            cursor: pointer;
            text-decoration: none;
            transition: opacity 0.2s ease, color 0.2s ease;
        }
        .industry-link:hover { opacity: 0.7; }

        /* ----- Bakery: editorial / serif spread ----- */
        .canvas-bakery {
            background: linear-gradient(180deg, #f9f3e8 0%, #f1e6d3 100%);
            padding: 1rem 1.25rem 0.8rem;
        }
        .bakery-nav {
            display: flex;
            align-items: baseline;
            gap: 1.2rem;
            padding-bottom: 0.7rem;
            border-bottom: 1px solid rgba(107, 63, 30, 0.18);
            margin-bottom: 1.2rem;
        }
        .bakery-logo {
            font-family: 'Instrument Serif', Georgia, serif;
            font-weight: 400;
            font-style: italic;
            font-size: 1.25rem;
            color: #2d1b0e;
            margin-right: auto;
            letter-spacing: 0;
        }
        .bakery-nav .industry-link {
            font-family: 'Instrument Serif', Georgia, serif;
            font-size: 0.88rem;
            color: #6b3f1e;
            letter-spacing: 0;
        }
        .bakery-body { display: grid; grid-template-columns: 1fr 130px; gap: 1rem; align-items: center; }
        .bakery-eyebrow {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.6rem;
            letter-spacing: 0.3em;
            text-transform: uppercase;
            color: #8a5a3b;
            margin: 0 0 0.5rem;
        }
        .bakery-headline {
            font-family: 'Instrument Serif', Georgia, serif;
            font-size: clamp(2.2rem, 5.5vw, 3.2rem);
            font-weight: 400;
            color: #2d1b0e;
            line-height: 0.95;
            margin: 0 0 0.6rem;
            letter-spacing: -0.02em;
        }
        .bakery-sub {
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 0.78rem;
            color: #6b3f1e;
            margin: 0 0 0.9rem;
            line-height: 1.4;
            max-width: 220px;
        }
        .bakery-cta {
            background: #2d1b0e;
            color: #f9f3e8;
            border: none;
            padding: 9px 18px;
            border-radius: 50px;
            font-family: 'Inter', system-ui, sans-serif;
            font-weight: 600;
            font-size: 0.75rem;
            cursor: pointer;
        }
        .bakery-art { display: flex; justify-content: center; align-items: center; }
        .bakery-strip {
            margin-top: 0.9rem;
            padding-top: 0.7rem;
            border-top: 1px dashed rgba(107, 63, 30, 0.3);
            display: flex;
            gap: 1rem;
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.65rem;
            color: #6b3f1e;
            letter-spacing: 0.05em;
        }
        .bakery-strip > span:first-child { color: #2d1b0e; font-weight: 700; }

        /* ----- Electric: bold emergency-first ----- */
        .canvas-electric {
            background: #0a1929;
            padding: 1rem 1.25rem;
            color: #f0f4ff;
        }
        .electric-nav {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding-bottom: 0.7rem;
            border-bottom: 2px solid #facc15;
            margin-bottom: 1rem;
        }
        .electric-logo {
            font-family: 'Big Shoulders Display', 'Space Grotesk', sans-serif;
            font-weight: 900;
            font-size: 1.25rem;
            color: #facc15;
            letter-spacing: 0.02em;
            margin-right: auto;
        }
        .electric-nav .industry-link {
            font-family: 'Big Shoulders Display', 'Space Grotesk', sans-serif;
            font-size: 0.9rem;
            font-weight: 700;
            color: #f0f4ff;
            text-transform: uppercase;
            letter-spacing: 0.1em;
        }
        .electric-body { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; align-items: center; padding: 0.4rem 0; }
        .electric-art { display: flex; justify-content: center; }
        .electric-banner {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.6rem;
            font-weight: 700;
            letter-spacing: 0.3em;
            color: #facc15;
            background: rgba(250, 204, 21, 0.1);
            border-left: 3px solid #facc15;
            padding: 4px 10px;
            margin: 0 0 0.6rem;
            display: inline-block;
        }
        .electric-headline {
            font-family: 'Big Shoulders Display', 'Space Grotesk', sans-serif;
            font-size: clamp(1.6rem, 4.2vw, 2.4rem);
            font-weight: 900;
            color: #f0f4ff;
            line-height: 0.95;
            margin: 0 0 0.5rem;
            letter-spacing: 0;
            text-transform: uppercase;
        }
        .electric-headline span {
            color: #facc15;
            display: block;
            margin-top: 4px;
        }
        .electric-sub {
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 0.72rem;
            color: rgba(240, 244, 255, 0.7);
            margin: 0;
        }
        .electric-chips {
            margin-top: auto;
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem;
        }
        .electric-chip {
            background: transparent;
            border: 1.5px solid #facc15;
            color: #facc15;
            font-family: 'Big Shoulders Display', 'Space Grotesk', sans-serif;
            font-size: 0.85rem;
            font-weight: 700;
            padding: 6px 12px;
            border-radius: 3px;
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }
        .electric-chip-phone {
            background: #facc15;
            color: #0a1929;
            margin-left: auto;
        }

        /* ----- Landscape: wide outdoor / image-band ----- */
        .canvas-landscape {
            background: #f4f1ea;
            padding: 0.9rem 1.25rem 1rem;
        }
        .landscape-nav {
            display: flex;
            align-items: baseline;
            gap: 1rem;
            padding-bottom: 0.7rem;
            border-bottom: 1px solid rgba(44, 58, 44, 0.15);
            margin-bottom: 1rem;
        }
        .landscape-logo {
            font-family: 'Bricolage Grotesque', 'Outfit', system-ui, sans-serif;
            font-weight: 800;
            font-size: 1rem;
            color: #2c3a2c;
            margin-right: auto;
            letter-spacing: -0.025em;
            text-transform: lowercase;
        }
        .landscape-nav .industry-link {
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 0.75rem;
            color: #4a5d4a;
            font-weight: 500;
        }
        .landscape-hero {
            background: linear-gradient(135deg, #a8c4a2 0%, #6b8e6b 60%, #4a6d4a 100%);
            border-radius: 8px;
            padding: 1.2rem 1.4rem;
            display: grid;
            grid-template-columns: 110px 1fr;
            gap: 1rem;
            align-items: center;
            margin-bottom: 0.9rem;
            position: relative;
            overflow: hidden;
        }
        .landscape-hero::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 80% 100%, rgba(244, 241, 234, 0.15), transparent 60%);
            pointer-events: none;
        }
        .landscape-art { display: flex; justify-content: center; align-items: center; position: relative; z-index: 1; }
        .landscape-text { position: relative; z-index: 1; }
        .landscape-headline {
            font-family: 'Bricolage Grotesque', 'Outfit', system-ui, sans-serif;
            font-size: clamp(1.6rem, 4vw, 2.4rem);
            font-weight: 800;
            color: #f4f1ea;
            line-height: 0.95;
            margin: 0 0 0.5rem;
            letter-spacing: -0.035em;
        }
        .landscape-sub {
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 0.75rem;
            color: rgba(244, 241, 234, 0.9);
            margin: 0;
            line-height: 1.4;
        }
        .landscape-areas {
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem;
            align-items: center;
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 0.72rem;
        }
        .landscape-areas-label {
            color: #6b8e6b;
            font-weight: 700;
            letter-spacing: 0.05em;
        }
        .landscape-area-chip {
            background: rgba(168, 196, 162, 0.25);
            color: #2c3a2c;
            padding: 4px 10px;
            border-radius: 50px;
            border: 1px solid rgba(107, 142, 107, 0.3);
        }
        .landscape-cta {
            margin-left: auto;
            color: #2c3a2c;
            font-weight: 700;
        }

        /* ----- Photo: ultra-minimal monochrome ----- */
        .canvas-photo {
            background: #fafafa;
            padding: 1.1rem 1.5rem;
        }
        .photo-nav {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            padding-bottom: 0.7rem;
            margin-bottom: 1.5rem;
        }
        .photo-logo {
            font-family: 'Bricolage Grotesque', 'Space Grotesk', sans-serif;
            font-weight: 700;
            font-size: 0.85rem;
            color: #0a0a0a;
            letter-spacing: 0.35em;
            margin-right: auto;
        }
        .photo-nav .industry-link {
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 0.7rem;
            color: #555;
            letter-spacing: 0.15em;
            text-transform: uppercase;
        }
        .photo-body { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; }
        .photo-art { margin-bottom: 1rem; }
        .photo-headline {
            font-family: 'Bricolage Grotesque', 'Space Grotesk', sans-serif;
            font-size: clamp(1.4rem, 3.4vw, 1.9rem);
            font-weight: 300;
            color: #0a0a0a;
            margin: 0 0 0.3rem;
            letter-spacing: -0.02em;
        }
        .photo-sub {
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 0.7rem;
            color: #666;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            margin: 0 0 1rem;
        }
        .photo-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 6px;
            width: 100%;
            max-width: 300px;
            margin-bottom: 1rem;
        }
        .photo-grid span {
            aspect-ratio: 1;
            border-radius: 3px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }
        /* Photo 1: golden hour sunset â€” orangeâ†’pinkâ†’deep violet with bright sun */
        .photo-grid span:nth-child(1) {
            background:
                radial-gradient(circle at 72% 26%, #fef9c3 0%, #facc15 8%, transparent 30%),
                linear-gradient(180deg, #fb923c 0%, #f97316 25%, #db2777 55%, #831843 80%, #1f1147 100%);
        }
        .photo-grid span:nth-child(1)::after {
            /* Mountain silhouette */
            content: '';
            position: absolute;
            inset: auto 0 0 0;
            height: 35%;
            background:
                radial-gradient(ellipse 60% 100% at 20% 100%, #1a0a1f 50%, transparent 51%),
                radial-gradient(ellipse 80% 100% at 70% 100%, #1a0a1f 60%, transparent 61%),
                linear-gradient(180deg, transparent 0%, #1a0a1f 70%);
        }
        /* Photo 2: bold magenta + acid yellow blob composition (Matisse-y) */
        .photo-grid span:nth-child(2) {
            background:
                radial-gradient(circle at 28% 72%, #fde047 0%, transparent 35%),
                radial-gradient(circle at 78% 22%, #f0abfc 0%, transparent 38%),
                linear-gradient(135deg, #ec4899 0%, #9333ea 50%, #581c87 100%);
        }
        .photo-grid span:nth-child(2)::after {
            /* White circle accent (moon/spot) */
            content: '';
            position: absolute;
            top: 28%; left: 22%;
            width: 22%; height: 22%;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.85);
            box-shadow: 0 0 16px rgba(255, 255, 255, 0.4);
        }
        /* Photo 3: cool architectural â€” conic-gradient swirl */
        .photo-grid span:nth-child(3) {
            background:
                conic-gradient(from 220deg at 65% 55%,
                    #06b6d4 0%,
                    #3b82f6 25%,
                    #8b5cf6 50%,
                    #ec4899 75%,
                    #06b6d4 100%);
        }
        .photo-grid span:nth-child(3)::after {
            /* Diagonal slash for architectural edge feel */
            content: '';
            position: absolute;
            top: 10%; left: -10%;
            width: 50%; height: 120%;
            background: rgba(255, 255, 255, 0.12);
            transform: skewX(-22deg);
            mix-blend-mode: overlay;
        }
        .photo-cta {
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 0.78rem;
            color: #0a0a0a;
            font-weight: 600;
            letter-spacing: 0.05em;
            border-bottom: 1px solid #0a0a0a;
            padding-bottom: 2px;
        }

        /* =====================================================================
           Control panel â€” pause/play + industry switcher
           ===================================================================== */
        .genesis-controls {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }
        .genesis-play-btn {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #ffffff;
            padding: 9px 12px;
            border-radius: 8px;
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.2em;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            justify-content: center;
            transition: background 0.2s ease, border-color 0.2s ease;
        }
        .genesis-play-btn:hover {
            background: rgba(0, 255, 255, 0.08);
            border-color: rgba(0, 255, 255, 0.4);
        }
        html[data-theme="refresh"] .genesis-play-btn {
            background: #f8fafc;
            border-color: rgba(15, 23, 42, 0.1);
            color: #0F172A;
        }
        html[data-theme="refresh"] .genesis-play-btn:hover {
            background: rgba(59, 130, 246, 0.06);
            border-color: rgba(59, 130, 246, 0.4);
        }
        .genesis-play-btn svg { width: 14px; height: 14px; fill: currentColor; }
        /* Show pause-icon when playing, play-icon when paused */
        .genesis-stage[data-playing="true"] .genesis-play-btn .genesis-play-icon { display: none; }
        .genesis-stage[data-playing="false"] .genesis-play-btn .genesis-pause-icon { display: none; }

        .genesis-industries {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.35rem;
        }
        .genesis-ind-btn {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.07);
            color: rgba(255, 255, 255, 0.5);
            padding: 7px 8px;
            border-radius: 6px;
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.62rem;
            font-weight: 700;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            cursor: pointer;
            transition: all 0.18s ease;
        }
        html[data-theme="refresh"] .genesis-ind-btn {
            background: #ffffff;
            border-color: rgba(15, 23, 42, 0.06);
            color: rgba(15, 23, 42, 0.5);
        }
        .genesis-ind-btn:hover {
            border-color: rgba(0, 255, 255, 0.4);
            color: #ffffff;
        }
        html[data-theme="refresh"] .genesis-ind-btn:hover {
            border-color: rgba(59, 130, 246, 0.4);
            color: #0F172A;
        }
        .genesis-ind-btn.is-active {
            background: linear-gradient(135deg, rgba(0, 255, 255, 0.18), rgba(255, 0, 255, 0.14));
            border-color: rgba(0, 255, 255, 0.5);
            color: #ffffff;
        }
        html[data-theme="refresh"] .genesis-ind-btn.is-active {
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(236, 72, 153, 0.08));
            border-color: rgba(59, 130, 246, 0.4);
            color: #0F172A;
        }

        /* =====================================================================
           Pro AF Solutionsâ„¢ placeholder â€” shown when user clicks a nav link
           ===================================================================== */
        .canvas-placeholder {
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at center,
                rgba(10, 10, 20, 0.96) 0%,
                rgba(5, 5, 12, 0.99) 80%);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
            z-index: 10;
            overflow: hidden;
        }
        .canvas-placeholder::before {
            /* Subtle animated scan-grid */
            content: '';
            position: absolute;
            inset: 0;
            background:
                linear-gradient(rgba(0,255,255,0.04) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,0,255,0.04) 1px, transparent 1px);
            background-size: 30px 30px;
            pointer-events: none;
        }
        .placeholder-inner {
            position: relative;
            text-align: center;
            padding: 0 1.5rem;
            max-width: 480px;
        }
        .placeholder-wordmark {
            font-family: 'Bricolage Grotesque', 'Space Grotesk', sans-serif;
            font-size: clamp(1.6rem, 4.5vw, 2.8rem);
            font-weight: 900;
            letter-spacing: -0.02em;
            line-height: 1;
            margin-bottom: 1.2rem;
            min-height: 1.1em;
        }
        .placeholder-letter {
            display: inline-block;
            background: linear-gradient(135deg, #00ffff, #ff00ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            opacity: 0;
            transform: translateY(8px);
            animation: placeholder-letter-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        }
        @keyframes placeholder-letter-in {
            to { opacity: 1; transform: translateY(0); }
        }
        .placeholder-caption {
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.85);
            margin: 0 0 0.4rem;
            line-height: 1.5;
        }
        .placeholder-caption strong {
            color: #00ffff;
            font-weight: 700;
        }
        .placeholder-sub {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.7rem;
            letter-spacing: 0.2em;
            color: rgba(255, 255, 255, 0.45);
            text-transform: uppercase;
            margin: 0;
        }

        /* === Browser-bar status pill === */
        /* Lives in the URL bar row so it never covers the actual website
           content. Greys-out during build, lights up green on final state. */
        .genesis-status {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 3px 10px;
            border-radius: 50px;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.08);
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.6rem;
            letter-spacing: 0.18em;
            color: rgba(255, 255, 255, 0.4);
            transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
            flex-shrink: 0;
            margin-left: 8px;
        }
        html[data-theme="refresh"] .genesis-status {
            background: #ffffff;
            border-color: rgba(15, 23, 42, 0.08);
            color: rgba(15, 23, 42, 0.4);
        }
        .genesis-status-dot {
            width: 6px; height: 6px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            transition: background 0.4s ease, box-shadow 0.4s ease;
        }
        html[data-theme="refresh"] .genesis-status-dot { background: rgba(15, 23, 42, 0.25); }
        .genesis-status-text { line-height: 1; }
        /* When site is "live" (final phase), light up green */
        .genesis-stage[data-phase="final"] .genesis-status {
            background: rgba(34, 197, 94, 0.12);
            border-color: rgba(34, 197, 94, 0.35);
            color: #4ade80;
        }
        html[data-theme="refresh"] .genesis-stage[data-phase="final"] .genesis-status {
            background: rgba(34, 197, 94, 0.10);
            border-color: rgba(34, 197, 94, 0.35);
            color: #15803d;
        }
        .genesis-stage[data-phase="final"] .genesis-status-dot {
            background: #22c55e;
            box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
            animation: genesis-pulse 1.8s ease-in-out infinite;
        }

        .genesis-footnote {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.72rem;
            letter-spacing: 0.15em;
            color: rgba(255, 255, 255, 0.45);
            text-align: center;
            margin: 3rem auto 0;
            max-width: 720px;
        }
        html[data-theme="refresh"] .genesis-footnote { color: rgba(15, 23, 42, 0.5); }

        @media (max-width: 900px) {
            .genesis-section { padding: 4rem 1rem 3rem; }
            .genesis-stage { grid-template-columns: 1fr; gap: 1rem; }
            .genesis-log { padding: 1rem; }
            .genesis-log-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 1rem; }
            .genesis-step { font-size: 0.72rem; }
            .genesis-browser { min-height: 460px; }
            .genesis-industries { grid-template-columns: repeat(4, 1fr); }
            /* Tighter industry layouts on phone */
            .canvas-bakery { padding: 0.8rem 1rem 0.7rem; }
            .bakery-body { grid-template-columns: 1fr 110px; gap: 0.6rem; }
            .bakery-strip { gap: 0.6rem; font-size: 0.6rem; flex-wrap: wrap; }
            .canvas-electric { padding: 0.8rem 1rem; }
            .electric-body { grid-template-columns: 110px 1fr; gap: 0.6rem; }
            .electric-chips .electric-chip-phone { margin-left: 0; }
            .canvas-landscape { padding: 0.7rem 1rem 0.8rem; }
            .landscape-hero { grid-template-columns: 90px 1fr; padding: 0.9rem 1rem; }
            .canvas-photo { padding: 0.9rem 1rem; }
            .photo-grid { max-width: 200px; }
        }
        @media (prefers-reduced-motion: reduce) {
            .genesis-eyebrow::before { animation: none; }
            .canvas-layer { transition: opacity 0.2s ease !important; }
            .placeholder-letter { animation: none !important; opacity: 1 !important; transform: none !important; }
        }

        /* =====================================================================
           The Promise â€” three big statements: OWN / CONTROL / TAILORED.
           ===================================================================== */
        .promise-section {
            position: relative;
            padding: 4rem 1.5rem 8rem;
            z-index: 20;
        }
        .promise-eyebrow {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.78rem;
            letter-spacing: 0.45em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.45);
            text-align: center;
            margin: 0 0 4rem;
        }
        html[data-theme="refresh"] .promise-eyebrow { color: rgba(15, 23, 42, 0.5); }
        .promise-stack {
            max-width: 1080px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }
        .promise-item {
            position: relative;
            padding: 2.5rem 2rem;
            border-radius: 18px;
            background: rgba(10, 10, 14, 0.55);
            border: 1px solid rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(14px);
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
        }
        html[data-theme="refresh"] .promise-item {
            background: #ffffff;
            border-color: rgba(15, 23, 42, 0.06);
            box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
            backdrop-filter: none;
        }
        .promise-section.is-visible .promise-item { opacity: 1; transform: translateY(0); }
        .promise-section.is-visible .promise-item:nth-child(1) { transition-delay: 0.0s; }
        .promise-section.is-visible .promise-item:nth-child(2) { transition-delay: 0.18s; }
        .promise-section.is-visible .promise-item:nth-child(3) { transition-delay: 0.36s; }

        .promise-icon {
            width: 64px;
            height: 64px;
            margin-bottom: 1.5rem;
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(0, 255, 255, 0.18), rgba(255, 0, 255, 0.18));
            border: 1px solid rgba(0, 255, 255, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        html[data-theme="refresh"] .promise-icon {
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(236, 72, 153, 0.10));
            border-color: rgba(59, 130, 246, 0.35);
        }
        .promise-icon svg {
            width: 30px; height: 30px;
            stroke: #00ffff;
            stroke-width: 1.8;
            fill: none;
        }
        html[data-theme="refresh"] .promise-icon svg { stroke: #3B82F6; }

        .promise-headline {
            font-family: 'Bricolage Grotesque', 'Space Grotesk', sans-serif;
            font-size: 1.7rem;
            font-weight: 900;
            letter-spacing: -0.02em;
            line-height: 1.05;
            color: #ffffff;
            margin: 0 0 1rem;
        }
        html[data-theme="refresh"] .promise-headline { color: #0F172A; }
        .promise-body {
            font-size: 1rem;
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.72);
            margin: 0;
        }
        html[data-theme="refresh"] .promise-body { color: #475569; }

        @media (max-width: 720px) {
            .trap-section { padding: 5rem 1rem 3rem; }
            .trap-cards { grid-template-columns: 1fr; gap: 1rem; }
            .trap-card-stamp { font-size: 1.2rem; padding: 5px 14px; }
            .trap-question { margin-top: 3.5rem; }
            .promise-section { padding: 3rem 1rem 5rem; }
            .promise-stack { gap: 1.25rem; }
            .promise-item { padding: 2rem 1.5rem; }
        }
        @media (prefers-reduced-motion: reduce) {
            .trap-card, .trap-card-stamp, .trap-question,
            .promise-item { transition: opacity 0.3s ease !important; transform: none !important; animation: none !important; }
        }

        /* =====================================================================
           THE PIPELINE â€” process panels showing intake â†’ ... â†’ after.
           Shared framework: panel meta header, scroll-reveal, replay button.
           Then per-panel viz styles (Intake chat, Handover vault).
           ===================================================================== */
        .pipeline-section {
            position: relative;
            padding: 6rem 1.5rem 5rem;
            z-index: 20;
        }
        .pipeline-header {
            max-width: 900px;
            margin: 0 auto 4rem;
            text-align: center;
        }
        .pipeline-eyebrow {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.72rem;
            letter-spacing: 0.4em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.5);
            margin: 0 0 1.2rem;
        }
        html[data-theme="refresh"] .pipeline-eyebrow { color: rgba(15, 23, 42, 0.55); }
        .pipeline-h {
            font-family: 'Bricolage Grotesque', 'Space Grotesk', system-ui, sans-serif;
            font-size: clamp(1.8rem, 5vw, 3rem);
            font-weight: 700;
            line-height: 1.1;
            letter-spacing: -0.025em;
            color: #ffffff;
            margin: 0 0 1.2rem;
        }
        html[data-theme="refresh"] .pipeline-h { color: #0F172A; }
        .pipeline-h em {
            font-style: normal;
            background: linear-gradient(135deg, #00ffff, #ff00ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 900;
        }
        html[data-theme="refresh"] .pipeline-h em {
            background: linear-gradient(135deg, #3B82F6, #EC4899);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .pipeline-sub {
            font-family: 'Inter', system-ui, sans-serif;
            font-size: clamp(0.95rem, 1.4vw, 1.05rem);
            color: rgba(255, 255, 255, 0.6);
            margin: 0;
            line-height: 1.5;
            max-width: 680px;
            margin-left: auto;
            margin-right: auto;
        }
        html[data-theme="refresh"] .pipeline-sub { color: rgba(15, 23, 42, 0.65); }

        /* ===== Shared panel frame ===== */
        .pipeline-panel {
            max-width: 1080px;
            margin: 0 auto 5rem;
            border-radius: 20px;
            background: rgba(10, 10, 16, 0.55);
            border: 1px solid rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(14px);
            overflow: hidden;
        }
        html[data-theme="refresh"] .pipeline-panel {
            background: #ffffff;
            border-color: rgba(15, 23, 42, 0.08);
            box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
            backdrop-filter: none;
        }
        .panel-meta {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 0.85rem 1.5rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            font-family: 'JetBrains Mono', ui-monospace, monospace;
        }
        html[data-theme="refresh"] .panel-meta { border-bottom-color: rgba(15, 23, 42, 0.08); }
        .panel-num {
            font-size: 0.7rem;
            letter-spacing: 0.2em;
            color: rgba(255, 255, 255, 0.4);
        }
        html[data-theme="refresh"] .panel-num { color: rgba(15, 23, 42, 0.4); }
        .panel-label {
            font-family: 'Bricolage Grotesque', 'Space Grotesk', system-ui, sans-serif;
            font-size: 0.92rem;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: -0.01em;
            margin-right: auto;
        }
        html[data-theme="refresh"] .panel-label { color: #0F172A; }
        .panel-replay {
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: rgba(255, 255, 255, 0.55);
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.62rem;
            letter-spacing: 0.15em;
            padding: 5px 12px;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.18s ease;
        }
        .panel-replay:hover {
            border-color: rgba(0, 255, 255, 0.5);
            color: #00ffff;
        }
        html[data-theme="refresh"] .panel-replay {
            border-color: rgba(15, 23, 42, 0.15);
            color: rgba(15, 23, 42, 0.6);
        }
        html[data-theme="refresh"] .panel-replay:hover {
            border-color: #3B82F6;
            color: #3B82F6;
        }
        .panel-body {
            padding: 2.5rem 2rem;
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 2.5rem;
            align-items: center;
            min-height: 380px;
        }
        .panel-body-reverse {
            grid-template-columns: 1.2fr 1fr;
        }
        .panel-body-reverse .panel-copy { order: 2; }
        .panel-body-reverse .panel-viz  { order: 1; }
        .panel-copy { padding: 0 0.5rem; }
        .panel-h {
            font-family: 'Bricolage Grotesque', 'Space Grotesk', system-ui, sans-serif;
            font-size: clamp(1.5rem, 3.6vw, 2.4rem);
            font-weight: 800;
            line-height: 1.05;
            color: #ffffff;
            margin: 0 0 1rem;
            letter-spacing: -0.02em;
        }
        html[data-theme="refresh"] .panel-h { color: #0F172A; }
        .panel-p {
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 1rem;
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.72);
            margin: 0;
        }
        html[data-theme="refresh"] .panel-p { color: #475569; }

        /* ===== INTAKE panel â€” chat interface mockup ===== */
        .intake-app {
            background: #0a0a14;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
        }
        html[data-theme="refresh"] .intake-app {
            background: #1e293b;
            box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
        }
        .intake-bar {
            background: rgba(255, 255, 255, 0.04);
            padding: 9px 12px;
            display: flex;
            align-items: center;
            gap: 5px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }
        .intake-dot {
            width: 9px; height: 9px;
            border-radius: 50%;
            background: #ef4444;
        }
        .intake-dot:nth-child(2) { background: #fbbf24; }
        .intake-dot:nth-child(3) { background: #22c55e; }
        .intake-url {
            margin-left: 10px;
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.68rem;
            color: rgba(255, 255, 255, 0.5);
            background: rgba(255, 255, 255, 0.06);
            padding: 3px 10px;
            border-radius: 4px;
            flex: 1;
            text-align: center;
        }
        .intake-thread {
            padding: 1.4rem 1.2rem;
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
            min-height: 280px;
        }
        .intake-msg {
            display: flex;
            flex-direction: column;
            gap: 3px;
            max-width: 75%;
            opacity: 0;
            transform: translateY(8px);
            transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        .intake-msg-us   { align-self: flex-start; align-items: flex-start; }
        .intake-msg-them { align-self: flex-end;   align-items: flex-end;   }
        .intake-msg-who {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.56rem;
            letter-spacing: 0.2em;
            color: rgba(255, 255, 255, 0.4);
            padding: 0 4px;
        }
        .intake-msg-text {
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 0.88rem;
            line-height: 1.4;
            padding: 9px 14px;
            border-radius: 14px;
        }
        .intake-msg-us .intake-msg-text {
            background: linear-gradient(135deg, rgba(0, 255, 255, 0.18), rgba(255, 0, 255, 0.14));
            border: 1px solid rgba(0, 255, 255, 0.35);
            color: #ffffff;
            border-bottom-left-radius: 4px;
        }
        .intake-msg-them .intake-msg-text {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.08);
            color: rgba(255, 255, 255, 0.92);
            border-bottom-right-radius: 4px;
        }
        .intake-typing {
            align-self: flex-start;
            display: flex;
            gap: 4px;
            padding: 10px 14px;
            background: rgba(0, 255, 255, 0.06);
            border: 1px solid rgba(0, 255, 255, 0.18);
            border-radius: 14px;
            border-bottom-left-radius: 4px;
            opacity: 0;
            transform: translateY(8px);
            transition: opacity 0.45s ease, transform 0.45s ease;
        }
        .intake-typing span {
            width: 6px; height: 6px;
            border-radius: 50%;
            background: rgba(0, 255, 255, 0.6);
            animation: intake-dot-pulse 1.2s ease-in-out infinite;
        }
        .intake-typing span:nth-child(2) { animation-delay: 0.15s; }
        .intake-typing span:nth-child(3) { animation-delay: 0.3s; }
        @keyframes intake-dot-pulse {
            0%, 100% { opacity: 0.3; transform: translateY(0); }
            50%      { opacity: 1;   transform: translateY(-3px); }
        }
        /* Reveal messages in stagger when panel is visible */
        .pipeline-panel.is-visible .intake-msg,
        .pipeline-panel.is-visible .intake-typing { opacity: 1; transform: translateY(0); }
        .pipeline-panel.is-visible .intake-msg[data-delay="1"] { transition-delay: 0.2s; }
        .pipeline-panel.is-visible .intake-msg[data-delay="2"] { transition-delay: 0.9s; }
        .pipeline-panel.is-visible .intake-msg[data-delay="3"] { transition-delay: 1.7s; }
        .pipeline-panel.is-visible .intake-msg[data-delay="4"] { transition-delay: 2.5s; }
        .pipeline-panel.is-visible .intake-msg[data-delay="5"] { transition-delay: 3.3s; }
        .pipeline-panel.is-visible .intake-typing[data-delay="6"] { transition-delay: 4.0s; }

        /* Refresh-theme intake recoloring */
        html[data-theme="refresh"] .intake-bar { background: rgba(255,255,255,0.05); border-bottom-color: rgba(255,255,255,0.08); }
        html[data-theme="refresh"] .intake-url { color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.08); }
        html[data-theme="refresh"] .intake-msg-us .intake-msg-text {
            background: linear-gradient(135deg, rgba(59,130,246,0.32), rgba(236,72,153,0.22));
            border-color: rgba(59,130,246,0.45);
        }
        html[data-theme="refresh"] .intake-msg-them .intake-msg-text {
            background: rgba(255,255,255,0.08);
            border-color: rgba(255,255,255,0.12);
        }

        /* ===== RESEARCH panel â€” pinboard with sticky-note cards ===== */
        .panel-viz-research { min-height: 320px; }
        .research-board {
            position: relative;
            width: 100%;
            min-height: 320px;
            background:
                radial-gradient(circle at 25% 30%, rgba(120, 80, 50, 0.15), transparent 40%),
                radial-gradient(circle at 75% 70%, rgba(80, 60, 40, 0.15), transparent 45%),
                #2a1f15;
            border: 1px solid #443425;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.4);
        }
        html[data-theme="refresh"] .research-board {
            background:
                radial-gradient(circle at 25% 30%, rgba(180, 140, 100, 0.12), transparent 40%),
                radial-gradient(circle at 75% 70%, rgba(160, 130, 90, 0.12), transparent 45%),
                #b8956a;
            border-color: #8b6f4d;
        }
        .research-card {
            position: absolute;
            width: 180px;
            padding: 10px 12px 12px;
            background: #fef9c3;
            border: 1px solid rgba(0, 0, 0, 0.1);
            border-radius: 2px;
            box-shadow:
                0 6px 14px rgba(0, 0, 0, 0.45),
                0 1px 0 rgba(255, 255, 255, 0.4) inset;
            display: flex;
            flex-direction: column;
            gap: 4px;
            opacity: 0;
            transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        .research-card::before {
            /* Pushpin */
            content: '';
            position: absolute;
            top: -4px; left: 50%;
            width: 10px; height: 10px;
            border-radius: 50%;
            background: radial-gradient(circle at 30% 30%, #ef4444, #991b1b);
            box-shadow: 0 2px 3px rgba(0, 0, 0, 0.4);
            transform: translateX(-50%);
        }
        .research-card-tag {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.58rem;
            letter-spacing: 0.15em;
            color: #b45309;
            font-weight: 700;
        }
        .research-card-text {
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 0.78rem;
            line-height: 1.35;
            color: #1c1917;
        }
        /* Position + rotation per card (scattered pinboard feel) */
        .research-card-1 { top: 14px;  left: 6%;  transform: rotate(-4deg) translateY(-12px); }
        .research-card-2 { top: 24px;  right: 4%; transform: rotate(3deg)  translateY(-12px); }
        .research-card-3 { top: 110px; left: 28%; transform: rotate(-1.5deg) translateY(-12px); }
        .research-card-4 { top: 170px; left: 4%;  transform: rotate(2deg)  translateY(-12px); }
        .research-card-5 { top: 175px; right: 6%; transform: rotate(-2.5deg) translateY(-12px); }
        /* On reveal, drop into final rotation */
        .pipeline-panel.is-visible .research-card-1 { opacity: 1; transform: rotate(-4deg)   translateY(0); transition-delay: 0.3s; }
        .pipeline-panel.is-visible .research-card-2 { opacity: 1; transform: rotate(3deg)    translateY(0); transition-delay: 0.55s; }
        .pipeline-panel.is-visible .research-card-3 { opacity: 1; transform: rotate(-1.5deg) translateY(0); transition-delay: 0.85s; }
        .pipeline-panel.is-visible .research-card-4 { opacity: 1; transform: rotate(2deg)    translateY(0); transition-delay: 1.15s; }
        .pipeline-panel.is-visible .research-card-5 { opacity: 1; transform: rotate(-2.5deg) translateY(0); transition-delay: 1.45s; }

        /* ===== DESIGN panel â€” design system grid (palette/type/components/etc) ===== */
        .panel-viz-design { min-height: 320px; }
        .design-system {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            grid-template-rows: repeat(2, 1fr);
            gap: 10px;
            min-height: 320px;
        }
        .design-tile {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 10px;
            padding: 12px 14px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 100px;
            opacity: 0;
            transform: translateY(14px) scale(0.92);
            transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        /* Refresh: design tiles stay dark so the Watts Bros brand colors
           (yellow on navy) read authentically â€” yellow on white fails contrast. */
        html[data-theme="refresh"] .design-tile {
            background: #0a1929;
            border-color: rgba(15, 23, 42, 0.15);
            box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
        }
        .design-tile-label {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.58rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.45);
            margin-bottom: 8px;
        }
        html[data-theme="refresh"] .design-tile-label { color: rgba(255, 255, 255, 0.55); }
        .pipeline-panel.is-visible .design-tile { opacity: 1; transform: translateY(0) scale(1); }
        .pipeline-panel.is-visible .design-tile[data-d="1"] { transition-delay: 0.3s; }
        .pipeline-panel.is-visible .design-tile[data-d="2"] { transition-delay: 0.5s; }
        .pipeline-panel.is-visible .design-tile[data-d="3"] { transition-delay: 0.7s; }
        .pipeline-panel.is-visible .design-tile[data-d="4"] { transition-delay: 0.9s; }
        .pipeline-panel.is-visible .design-tile[data-d="5"] { transition-delay: 1.1s; }
        .pipeline-panel.is-visible .design-tile[data-d="6"] { transition-delay: 1.3s; }

        /* Palette swatches */
        .design-swatches { display: flex; gap: 6px; }
        .design-swatches span {
            width: 18px; height: 18px;
            border-radius: 50%;
            border: 1px solid rgba(0, 0, 0, 0.15);
        }
        /* Type preview */
        .design-type-preview { display: flex; align-items: baseline; gap: 8px; }
        .dtp-h {
            font-family: 'Big Shoulders Display', 'Space Grotesk', sans-serif;
            font-size: 2rem;
            font-weight: 900;
            line-height: 0.85;
            color: #facc15;
        }
        .dtp-meta {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.6rem;
            color: rgba(255, 255, 255, 0.4);
        }
        html[data-theme="refresh"] .dtp-meta { color: rgba(255, 255, 255, 0.55); }
        /* Component buttons */
        .design-buttons-preview { display: flex; gap: 5px; }
        .dbp-btn {
            font-family: 'Big Shoulders Display', sans-serif;
            font-size: 0.6rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            padding: 5px 9px;
            border-radius: 3px;
        }
        .dbp-primary { background: #facc15; color: #0a1929; }
        .dbp-ghost { background: transparent; color: #facc15; border: 1px solid #facc15; }
        /* Logo mark preview */
        .design-logo-preview {
            font-family: 'Big Shoulders Display', sans-serif;
            font-size: 1rem;
            font-weight: 900;
            color: #facc15;
            letter-spacing: 0.04em;
        }
        /* Spacing scale */
        .design-spacing-preview { display: flex; align-items: flex-end; gap: 3px; }
        .design-spacing-preview span {
            height: 22px;
            background: rgba(0, 255, 255, 0.4);
            border-radius: 1px;
        }
        html[data-theme="refresh"] .design-spacing-preview span { background: rgba(0, 255, 255, 0.55); }
        /* Icons set */
        .design-icons-preview { display: flex; gap: 4px; font-size: 1.05rem; }

        /* ===== HANDOVER panel â€” vault opens, deliverables fly to YOU ===== */
        .handover-stage {
            position: relative;
            min-height: 320px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem 0.5rem;
            overflow: hidden;
        }
        .handover-vault {
            position: relative;
            width: 140px;
            height: 180px;
            flex-shrink: 0;
            background: #1a1a24;
            border: 3px solid #facc15;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4), inset 0 0 30px rgba(0, 0, 0, 0.4);
        }
        html[data-theme="refresh"] .handover-vault {
            background: #0F172A;
            border-color: #facc15;
            box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18), inset 0 0 30px rgba(0, 0, 0, 0.5);
        }
        .vault-door {
            position: absolute;
            top: 0;
            width: 50%;
            height: 100%;
            background: linear-gradient(135deg, #2a2a36 0%, #1a1a24 100%);
            border-right: 1px solid rgba(250, 204, 21, 0.3);
            transition: transform 1s cubic-bezier(0.34, 1.36, 0.64, 1);
            z-index: 2;
        }
        .vault-door-left  { left: 0;  transform-origin: left center; }
        .vault-door-right { right: 0; transform-origin: right center; border-right: none; border-left: 1px solid rgba(250, 204, 21, 0.3); }
        .pipeline-panel.is-visible .vault-door-left  { transform: perspective(400px) rotateY(-110deg); transition-delay: 0.4s; }
        .pipeline-panel.is-visible .vault-door-right { transform: perspective(400px) rotateY(110deg);  transition-delay: 0.4s; }
        .vault-bolts { position: absolute; inset: 8px; pointer-events: none; z-index: 3; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
        .vault-bolts span {
            width: 6px; height: 6px;
            border-radius: 50%;
            background: #facc15;
            box-shadow: 0 0 6px rgba(250, 204, 21, 0.5);
        }
        .vault-bolts span:nth-child(2) { justify-self: end; }
        .vault-bolts span:nth-child(3) { align-self: end; }
        .vault-bolts span:nth-child(4) { justify-self: end; align-self: end; }
        .vault-glow {
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at center, rgba(0, 255, 255, 0.4) 0%, transparent 60%);
            opacity: 0;
            transition: opacity 0.6s ease;
            z-index: 1;
        }
        .pipeline-panel.is-visible .vault-glow { opacity: 0.85; transition-delay: 1.2s; }
        html[data-theme="refresh"] .vault-glow {
            background: radial-gradient(circle at center, rgba(59, 130, 246, 0.5) 0%, transparent 60%);
        }

        .handover-deliverables {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
            padding: 0 1.2rem;
            min-width: 0;
        }
        .deliverable {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.78rem;
            color: rgba(255, 255, 255, 0.85);
            background: rgba(0, 255, 255, 0.08);
            border: 1px solid rgba(0, 255, 255, 0.25);
            border-left: 3px solid #00ffff;
            padding: 8px 14px;
            border-radius: 0 8px 8px 0;
            opacity: 0;
            transform: translateX(-30px) scale(0.85);
            transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.36, 0.64, 1);
            white-space: nowrap;
        }
        html[data-theme="refresh"] .deliverable {
            color: #0F172A;
            background: rgba(59, 130, 246, 0.08);
            border-color: rgba(59, 130, 246, 0.25);
            border-left-color: #3B82F6;
        }
        .pipeline-panel.is-visible .deliverable {
            opacity: 1;
            transform: translateX(0) scale(1);
        }
        .pipeline-panel.is-visible .deliverable[data-d="1"] { transition-delay: 1.5s; }
        .pipeline-panel.is-visible .deliverable[data-d="2"] { transition-delay: 1.75s; }
        .pipeline-panel.is-visible .deliverable[data-d="3"] { transition-delay: 2.0s; }
        .pipeline-panel.is-visible .deliverable[data-d="4"] { transition-delay: 2.25s; }
        .pipeline-panel.is-visible .deliverable[data-d="5"] { transition-delay: 2.5s; }

        .handover-you {
            flex-shrink: 0;
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: linear-gradient(135deg, #00ffff, #ff00ff);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #050505;
            font-family: 'Bricolage Grotesque', 'Space Grotesk', system-ui, sans-serif;
            font-weight: 900;
            box-shadow: 0 10px 28px rgba(0, 255, 255, 0.3);
            opacity: 0;
            transform: scale(0.7);
            transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        html[data-theme="refresh"] .handover-you {
            background: linear-gradient(135deg, #3B82F6, #EC4899);
            color: #ffffff;
            box-shadow: 0 10px 28px rgba(59, 130, 246, 0.3);
        }
        .pipeline-panel.is-visible .handover-you {
            opacity: 1;
            transform: scale(1);
            transition-delay: 2.8s;
        }
        .handover-you-label {
            font-size: 1.2rem;
            line-height: 1;
            letter-spacing: 0.05em;
        }
        .handover-you-sub {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.55rem;
            letter-spacing: 0.25em;
            text-transform: uppercase;
            margin-top: 4px;
            opacity: 0.8;
        }

        /* ===== BUILD panel â€” file tree + commit log (IDE feel) ===== */
        .panel-viz-build { min-height: 320px; }
        .build-grid {
            display: grid;
            grid-template-columns: 1fr 1.1fr;
            gap: 10px;
            min-height: 320px;
            font-family: 'JetBrains Mono', ui-monospace, monospace;
        }
        .build-tree, .build-log {
            background: #0a0a14;
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 10px;
            padding: 12px 14px;
            overflow: hidden;
        }
        html[data-theme="refresh"] .build-tree,
        html[data-theme="refresh"] .build-log {
            background: #0F172A;
            border-color: rgba(15, 23, 42, 0.15);
        }
        .build-tree-head, .build-log-head {
            font-size: 0.62rem;
            letter-spacing: 0.15em;
            color: rgba(255, 255, 255, 0.4);
            padding-bottom: 8px;
            margin-bottom: 8px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }
        .build-file, .build-folder, .build-log-line {
            font-size: 0.72rem;
            line-height: 1.45;
            color: rgba(255, 255, 255, 0.78);
            padding: 2px 0;
            opacity: 0;
            transform: translateX(-8px);
            transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        .build-folder { color: #facc15; font-weight: 600; }
        .build-indent { padding-left: 18px; color: rgba(255, 255, 255, 0.7); }
        .build-log-line {
            color: #4ade80;
            font-size: 0.7rem;
            transform: translateX(8px);
        }
        .build-log-line.build-log-deploy {
            color: #00ffff;
            font-weight: 700;
            margin-top: 6px;
            padding-top: 6px;
            border-top: 1px dashed rgba(255, 255, 255, 0.1);
        }
        html[data-theme="refresh"] .build-log-line.build-log-deploy { color: #67e8f9; }
        /* Stagger reveal: file + matching commit line appear together, one
           pair every 0.25s. Final "ready to hand over" line gets extra delay. */
        .pipeline-panel.is-visible .build-file[data-b="1"],
        .pipeline-panel.is-visible .build-log-line[data-b="1"]   { opacity: 1; transform: translateX(0); transition-delay: 0.25s; }
        .pipeline-panel.is-visible .build-file[data-b="2"],
        .pipeline-panel.is-visible .build-log-line[data-b="2"]   { opacity: 1; transform: translateX(0); transition-delay: 0.50s; }
        .pipeline-panel.is-visible .build-file[data-b="3"],
        .pipeline-panel.is-visible .build-log-line[data-b="3"]   { opacity: 1; transform: translateX(0); transition-delay: 0.75s; }
        .pipeline-panel.is-visible .build-file[data-b="4"],
        .pipeline-panel.is-visible .build-log-line[data-b="4"]   { opacity: 1; transform: translateX(0); transition-delay: 1.00s; }
        .pipeline-panel.is-visible .build-file[data-b="5"],
        .pipeline-panel.is-visible .build-log-line[data-b="5"]   { opacity: 1; transform: translateX(0); transition-delay: 1.25s; }
        .pipeline-panel.is-visible .build-file[data-b="6"],
        .pipeline-panel.is-visible .build-log-line[data-b="6"]   { opacity: 1; transform: translateX(0); transition-delay: 1.50s; }
        .pipeline-panel.is-visible .build-file[data-b="7"],
        .pipeline-panel.is-visible .build-log-line[data-b="7"]   { opacity: 1; transform: translateX(0); transition-delay: 1.75s; }
        .pipeline-panel.is-visible .build-file[data-b="8"],
        .pipeline-panel.is-visible .build-log-line[data-b="8"]   { opacity: 1; transform: translateX(0); transition-delay: 2.00s; }
        .pipeline-panel.is-visible .build-file[data-b="9"],
        .pipeline-panel.is-visible .build-log-line[data-b="9"]   { opacity: 1; transform: translateX(0); transition-delay: 2.25s; }
        .pipeline-panel.is-visible .build-file[data-b="10"]      { opacity: 1; transform: translateX(0); transition-delay: 2.50s; }
        .pipeline-panel.is-visible .build-log-line[data-b="10"]  { opacity: 1; transform: translateX(0); transition-delay: 2.85s; }

        /* ===== AFTER panel â€” phone mockup with floating notifications ===== */
        .panel-viz-after { min-height: 360px; }
        .after-stage {
            position: relative;
            width: 100%;
            min-height: 360px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .after-phone {
            position: relative;
            width: 130px;
            height: 240px;
            background: linear-gradient(180deg, #1f2937 0%, #0f172a 100%);
            border-radius: 22px;
            border: 3px solid #0a0a14;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
            flex-shrink: 0;
            z-index: 2;
        }
        html[data-theme="refresh"] .after-phone {
            background: linear-gradient(180deg, #0F172A 0%, #1e293b 100%);
            border-color: #0a0a14;
            box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
        }
        .after-phone-notch {
            position: absolute;
            top: 8px; left: 50%;
            transform: translateX(-50%);
            width: 38px;
            height: 14px;
            background: #0a0a14;
            border-radius: 8px;
        }
        .after-phone-screen {
            position: absolute;
            inset: 30px 12px 30px 12px;
            border-radius: 14px;
            background: linear-gradient(180deg, rgba(0, 255, 255, 0.08) 0%, rgba(255, 0, 255, 0.06) 100%);
            border: 1px solid rgba(255, 255, 255, 0.06);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #fff;
        }
        html[data-theme="refresh"] .after-phone-screen {
            background: linear-gradient(180deg, rgba(59, 130, 246, 0.12) 0%, rgba(236, 72, 153, 0.1) 100%);
        }
        .after-phone-time {
            font-family: 'Bricolage Grotesque', 'Space Grotesk', sans-serif;
            font-size: 2.4rem;
            font-weight: 300;
            line-height: 1;
            letter-spacing: -0.02em;
        }
        .after-phone-date {
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 0.7rem;
            opacity: 0.75;
            margin-top: 4px;
            letter-spacing: 0.05em;
        }
        .after-phone-bar {
            position: absolute;
            bottom: 6px; left: 50%;
            transform: translateX(-50%);
            width: 70px; height: 4px;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 2px;
        }

        /* Floating notifications around the phone */
        .after-notif {
            position: absolute;
            background: rgba(20, 22, 32, 0.92);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            padding: 10px 12px;
            display: flex;
            align-items: center;
            gap: 10px;
            backdrop-filter: blur(12px);
            box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
            width: 230px;
            opacity: 0;
            transform: translateY(8px) scale(0.92);
            transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        html[data-theme="refresh"] .after-notif {
            background: #ffffff;
            border-color: rgba(15, 23, 42, 0.08);
            box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
        }
        .after-notif-icon {
            font-size: 1.2rem;
            flex-shrink: 0;
            width: 32px; height: 32px;
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(0,255,255,0.18), rgba(255,0,255,0.14));
            display: flex; align-items: center; justify-content: center;
        }
        html[data-theme="refresh"] .after-notif-icon {
            background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(236,72,153,0.14));
        }
        .after-notif-text {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 2px;
            min-width: 0;
        }
        .after-notif-title {
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 0.78rem;
            font-weight: 600;
            color: #ffffff;
            line-height: 1.2;
        }
        html[data-theme="refresh"] .after-notif-title { color: #0F172A; }
        .after-notif-sub {
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 0.66rem;
            color: rgba(255, 255, 255, 0.6);
            line-height: 1.3;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        html[data-theme="refresh"] .after-notif-sub { color: rgba(15, 23, 42, 0.6); }
        .after-notif-time {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.62rem;
            color: rgba(255, 255, 255, 0.4);
            flex-shrink: 0;
        }
        html[data-theme="refresh"] .after-notif-time { color: rgba(15, 23, 42, 0.45); }

        /* Floating positions around the phone */
        .after-notif-1 { top: 8%;  left: 0; }
        .after-notif-2 { top: 8%;  right: 0; }
        .after-notif-3 { top: 38%; left: -4%; }
        .after-notif-4 { top: 38%; right: -4%; }
        .after-notif-5 { bottom: 5%; left: 50%; transform: translateX(-50%) translateY(8px) scale(0.92); width: 260px; }
        /* Reveal stagger */
        .pipeline-panel.is-visible .after-notif { opacity: 1; transform: translateY(0) scale(1); }
        .pipeline-panel.is-visible .after-notif-5 { transform: translateX(-50%) translateY(0) scale(1); }
        .pipeline-panel.is-visible .after-notif-1 { transition-delay: 0.4s; }
        .pipeline-panel.is-visible .after-notif-2 { transition-delay: 0.7s; }
        .pipeline-panel.is-visible .after-notif-3 { transition-delay: 1.0s; }
        .pipeline-panel.is-visible .after-notif-4 { transition-delay: 1.3s; }
        .pipeline-panel.is-visible .after-notif-5 { transition-delay: 1.6s; }

        /* =====================================================================
           CUSTOM INDUSTRIES â€” 3D flip-card grid replacing old V8.
           Hover (desktop) or tap (mobile) to flip and reveal the spec.
           ===================================================================== */
        .custom-industries {
            position: relative;
            padding: 5rem 1.5rem 6rem;
            z-index: 20;
        }
        .custom-industries-header {
            max-width: 900px;
            margin: 0 auto 3rem;
            text-align: center;
        }
        .custom-industries-eyebrow {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.72rem;
            letter-spacing: 0.4em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.5);
            margin: 0 0 1rem;
        }
        html[data-theme="refresh"] .custom-industries-eyebrow { color: rgba(15, 23, 42, 0.55); }
        .custom-industries-h {
            font-family: 'Bricolage Grotesque', 'Space Grotesk', system-ui, sans-serif;
            font-size: clamp(1.8rem, 4.5vw, 2.6rem);
            font-weight: 700;
            line-height: 1.15;
            letter-spacing: -0.025em;
            color: #ffffff;
            margin: 0 0 1rem;
        }
        html[data-theme="refresh"] .custom-industries-h { color: #0F172A; }
        .custom-industries-h em {
            font-style: normal;
            background: linear-gradient(135deg, #00ffff, #ff00ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 900;
        }
        html[data-theme="refresh"] .custom-industries-h em {
            background: linear-gradient(135deg, #3B82F6, #EC4899);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .custom-industries-sub {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.7rem;
            letter-spacing: 0.15em;
            color: rgba(255, 255, 255, 0.4);
            text-transform: uppercase;
            margin: 0;
        }
        html[data-theme="refresh"] .custom-industries-sub { color: rgba(15, 23, 42, 0.5); }

        /* Grid: 4 cols desktop, 3 tablet, 2 mobile */
        .ci-grid {
            max-width: 1080px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 14px;
            perspective: 1000px;
        }

        /* Individual flip-card */
        .ci-card {
            position: relative;
            background: transparent;
            border: none;
            padding: 0;
            cursor: pointer;
            aspect-ratio: 1;
            font-family: inherit;
            /* 3D perspective for child */
            -webkit-tap-highlight-color: transparent;
        }
        .ci-card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            transform-style: preserve-3d;
            transition: transform 0.6s cubic-bezier(0.34, 1.36, 0.64, 1);
        }
        .ci-card:hover .ci-card-inner,
        .ci-card.is-flipped .ci-card-inner {
            transform: rotateY(180deg);
        }
        .ci-face {
            position: absolute;
            inset: 0;
            border-radius: 16px;
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 14px;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(15, 17, 28, 0.6);
            backdrop-filter: blur(14px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
            overflow: hidden;
        }
        html[data-theme="refresh"] .ci-face {
            background: #ffffff;
            border-color: rgba(15, 23, 42, 0.08);
            box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
            backdrop-filter: none;
        }
        .ci-back {
            transform: rotateY(180deg);
            gap: 8px;
        }
        .ci-icon {
            font-size: 2.2rem;
            line-height: 1;
            margin-bottom: 10px;
            filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
        }
        .ci-name {
            font-family: 'Bricolage Grotesque', 'Space Grotesk', system-ui, sans-serif;
            font-size: 0.88rem;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: -0.01em;
            line-height: 1.15;
        }
        html[data-theme="refresh"] .ci-name { color: #0F172A; }
        .ci-back-name {
            font-family: 'Bricolage Grotesque', 'Space Grotesk', system-ui, sans-serif;
            font-size: 0.78rem;
            font-weight: 800;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            color: #ffffff;
            border-bottom: 1px solid rgba(255, 255, 255, 0.18);
            padding-bottom: 6px;
            width: 100%;
        }
        html[data-theme="refresh"] .ci-back-name { color: #0F172A; border-bottom-color: rgba(15, 23, 42, 0.12); }
        .ci-spec {
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 0.72rem;
            line-height: 1.45;
            color: rgba(255, 255, 255, 0.85);
        }
        html[data-theme="refresh"] .ci-spec { color: rgba(15, 23, 42, 0.78); }

        /* Cycling accent colors per card (cyan / magenta / lime / amber) */
        .ci-card:nth-child(4n+1) .ci-face { border-color: rgba(0, 255, 255, 0.25); }
        .ci-card:nth-child(4n+1):hover .ci-face,
        .ci-card:nth-child(4n+1).is-flipped .ci-face { box-shadow: 0 14px 36px rgba(0, 255, 255, 0.2); }
        .ci-card:nth-child(4n+1) .ci-back { border-color: rgba(0, 255, 255, 0.35); }
        .ci-card:nth-child(4n+1) .ci-back-name { color: #67e8f9; border-bottom-color: rgba(0, 255, 255, 0.35); }
        html[data-theme="refresh"] .ci-card:nth-child(4n+1) .ci-back-name { color: #0891b2; border-bottom-color: rgba(8, 145, 178, 0.35); }

        .ci-card:nth-child(4n+2) .ci-face { border-color: rgba(255, 0, 255, 0.25); }
        .ci-card:nth-child(4n+2):hover .ci-face,
        .ci-card:nth-child(4n+2).is-flipped .ci-face { box-shadow: 0 14px 36px rgba(255, 0, 255, 0.2); }
        .ci-card:nth-child(4n+2) .ci-back-name { color: #f0abfc; border-bottom-color: rgba(255, 0, 255, 0.35); }
        html[data-theme="refresh"] .ci-card:nth-child(4n+2) .ci-back-name { color: #c026d3; border-bottom-color: rgba(192, 38, 211, 0.35); }

        .ci-card:nth-child(4n+3) .ci-face { border-color: rgba(163, 230, 53, 0.3); }
        .ci-card:nth-child(4n+3):hover .ci-face,
        .ci-card:nth-child(4n+3).is-flipped .ci-face { box-shadow: 0 14px 36px rgba(163, 230, 53, 0.22); }
        .ci-card:nth-child(4n+3) .ci-back-name { color: #bef264; border-bottom-color: rgba(163, 230, 53, 0.4); }
        html[data-theme="refresh"] .ci-card:nth-child(4n+3) .ci-back-name { color: #65a30d; border-bottom-color: rgba(101, 163, 13, 0.35); }

        .ci-card:nth-child(4n+4) .ci-face { border-color: rgba(250, 204, 21, 0.3); }
        .ci-card:nth-child(4n+4):hover .ci-face,
        .ci-card:nth-child(4n+4).is-flipped .ci-face { box-shadow: 0 14px 36px rgba(250, 204, 21, 0.2); }
        .ci-card:nth-child(4n+4) .ci-back-name { color: #fde68a; border-bottom-color: rgba(250, 204, 21, 0.4); }
        html[data-theme="refresh"] .ci-card:nth-child(4n+4) .ci-back-name { color: #b45309; border-bottom-color: rgba(180, 83, 9, 0.35); }

        .custom-industries-cta {
            max-width: 720px;
            margin: 3.5rem auto 0;
            text-align: center;
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.72);
            line-height: 1.5;
        }
        html[data-theme="refresh"] .custom-industries-cta { color: rgba(15, 23, 42, 0.72); }
        .custom-industries-cta strong {
            color: #ffffff;
            font-weight: 700;
        }
        html[data-theme="refresh"] .custom-industries-cta strong { color: #0F172A; }
        .custom-industries-cta em {
            font-style: italic;
            background: linear-gradient(135deg, #00ffff, #ff00ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 700;
        }
        html[data-theme="refresh"] .custom-industries-cta em {
            background: linear-gradient(135deg, #3B82F6, #EC4899);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Mobile: stack panel body, narrower vault */
        @media (max-width: 720px) {
            .pipeline-section { padding: 4rem 1rem 3rem; }
            .pipeline-panel { margin-bottom: 3rem; }
            .panel-body {
                grid-template-columns: 1fr;
                gap: 1.5rem;
                padding: 1.5rem 1.2rem;
                min-height: 0;
            }
            .panel-body-reverse .panel-copy { order: 0; }
            .panel-body-reverse .panel-viz  { order: 0; }
            .intake-thread { min-height: 220px; padding: 1rem; }
            .intake-msg-text { font-size: 0.82rem; }
            .handover-stage { flex-direction: column; gap: 1rem; min-height: 0; }
            .handover-vault { width: 110px; height: 140px; }
            .handover-deliverables { padding: 0; }
            .deliverable { font-size: 0.72rem; }
            .handover-you { width: 80px; height: 80px; }
            .handover-you-label { font-size: 1rem; }
            /* Research board: narrower cards (no overlap at 320-375px),
               centered middle card, taller board to fit. */
            .research-board { min-height: 420px; }
            .research-card { width: 132px; padding: 8px 10px 10px; }
            .research-card-tag { font-size: 0.55rem; }
            .research-card-text { font-size: 0.72rem; line-height: 1.3; }
            .research-card-1 { top: 8px;   left: 4%; }
            .research-card-2 { top: 22px;  right: 4%; }
            .research-card-3 { top: 140px; left: 50%; right: auto; margin-left: -66px; }
            .research-card-4 { top: 245px; left: 4%; }
            .research-card-5 { top: 260px; right: 4%; }
            /* Design grid: 2 cols x 3 rows on mobile */
            .design-system { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); }
            /* Build grid stacks */
            .build-grid { grid-template-columns: 1fr; gap: 8px; min-height: 0; }
            .build-tree, .build-log { min-height: 220px; }
            /* After: phone with notifications stack vertically */
            .after-stage { flex-direction: column; min-height: 0; gap: 1rem; padding: 1rem 0; }
            .after-phone { width: 110px; height: 200px; }
            .after-phone-time { font-size: 2rem; }
            .after-notif { position: relative !important; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important; transform: translateY(8px) scale(0.92); width: 100% !important; max-width: 320px; margin: 0 auto; }
            .after-notif-5 { transform: translateY(8px) scale(0.92); }
            .pipeline-panel.is-visible .after-notif,
            .pipeline-panel.is-visible .after-notif-5 { transform: translateY(0) scale(1); }
            /* Custom industries grid: 2 cols on phone */
            .custom-industries { padding: 3rem 1rem 4rem; }
            .ci-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
            .ci-icon { font-size: 1.8rem; }
            .ci-name { font-size: 0.78rem; }
        }
        /* Tablet: 3 cols */
        @media (min-width: 721px) and (max-width: 1024px) {
            .ci-grid { grid-template-columns: repeat(3, 1fr); }
        }
        @media (prefers-reduced-motion: reduce) {
            .intake-msg, .intake-typing,
            .vault-door, .vault-glow, .deliverable, .handover-you {
                transition: opacity 0.2s ease !important;
                transform: none !important;
            }
            .intake-typing span { animation: none; }
        }

        /* Replay reset: when this class is present, all child transitions/
           animations are killed so the elements can snap to hidden state
           instantly. JS adds/removes this in a 3-phase replay sequence. */
        .pipeline-panel.panel-resetting *,
        .pipeline-panel.panel-resetting *::before,
        .pipeline-panel.panel-resetting *::after {
            transition: none !important;
            animation: none !important;
        }

        /* =====================================================================
           INTAKE NOTIFY FORM â€” animated subscription form replacing the old
           "Current Status" section. Glass card with rotating conic-gradient
           border, floating labels, pill radio buttons, custom checkbox,
           shimmer submit button, success state with animated ring.
           ===================================================================== */
        .intake-section {
            position: relative;
            padding: 6rem 1.5rem 8rem;
            overflow: hidden;
            background: #050510;
        }
        html[data-theme="refresh"] .intake-section { background: #f8fafc; }

        /* Animated background layers */
        .intake-bg {
            position: absolute;
            inset: 0;
            pointer-events: none;
            overflow: hidden;
        }
        .intake-bg-glow {
            position: absolute;
            width: 50vw;
            height: 50vw;
            border-radius: 50%;
            filter: blur(120px);
            opacity: 0.35;
            animation: intake-glow-drift 18s ease-in-out infinite;
        }
        .intake-bg-glow-a {
            top: -20%; left: -10%;
            background: radial-gradient(circle, #00ffff 0%, transparent 70%);
        }
        .intake-bg-glow-b {
            bottom: -20%; right: -10%;
            background: radial-gradient(circle, #ff00ff 0%, transparent 70%);
            animation-delay: -9s;
        }
        html[data-theme="refresh"] .intake-bg-glow-a {
            background: radial-gradient(circle, #3B82F6 0%, transparent 70%);
            opacity: 0.2;
        }
        html[data-theme="refresh"] .intake-bg-glow-b {
            background: radial-gradient(circle, #EC4899 0%, transparent 70%);
            opacity: 0.2;
        }
        @keyframes intake-glow-drift {
            0%, 100% { transform: translate(0, 0); }
            33%      { transform: translate(40px, -30px); }
            66%      { transform: translate(-30px, 40px); }
        }
        .intake-bg-grid {
            position: absolute;
            inset: 0;
            background:
                linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
            background-size: 60px 60px;
        }
        html[data-theme="refresh"] .intake-bg-grid {
            background:
                linear-gradient(rgba(15,23,42,0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(15,23,42,0.05) 1px, transparent 1px);
            background-size: 60px 60px;
        }

        .intake-content {
            position: relative;
            max-width: 820px;
            margin: 0 auto;
            z-index: 1;
        }

        .intake-header { text-align: center; margin-bottom: 3rem; }
        .intake-h {
            font-family: 'Bricolage Grotesque', 'Space Grotesk', system-ui, sans-serif;
            font-size: clamp(2rem, 5vw, 3.4rem);
            font-weight: 700;
            line-height: 1.05;
            letter-spacing: -0.025em;
            color: #ffffff;
            margin: 0 0 1rem;
        }
        html[data-theme="refresh"] .intake-h { color: #0F172A; }
        .intake-h em {
            font-style: normal;
            background: linear-gradient(135deg, #00ffff, #ff00ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 900;
        }
        html[data-theme="refresh"] .intake-h em {
            background: linear-gradient(135deg, #3B82F6, #EC4899);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .intake-sub {
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.6);
            margin: 0;
        }
        html[data-theme="refresh"] .intake-sub { color: rgba(15, 23, 42, 0.65); }

        /* Sound toggle */
        .intake-sound-toggle {
            position: absolute;
            top: -1rem;
            right: 0;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.7);
            padding: 6px 12px;
            border-radius: 50px;
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.6rem;
            letter-spacing: 0.2em;
            cursor: pointer;
            transition: all 0.2s ease;
            z-index: 3;
        }
        .intake-sound-toggle:hover {
            border-color: rgba(0, 255, 255, 0.5);
            color: #00ffff;
        }
        html[data-theme="refresh"] .intake-sound-toggle {
            background: #ffffff;
            border-color: rgba(15, 23, 42, 0.1);
            color: rgba(15, 23, 42, 0.7);
        }
        html[data-theme="refresh"] .intake-sound-toggle:hover {
            border-color: #3B82F6;
            color: #3B82F6;
        }
        .intake-sound-toggle .sound-icon { width: 14px; height: 14px; }
        .intake-sound-toggle .sound-off { display: none; }
        .intake-sound-toggle.is-off .sound-on { display: none; }
        .intake-sound-toggle.is-off .sound-off { display: inline-block; }

        /* The form card */
        .intake-form {
            position: relative;
            background: rgba(10, 10, 18, 0.7);
            backdrop-filter: blur(20px);
            border-radius: 20px;
            padding: 3rem 2.5rem;
            display: flex;
            flex-direction: column;
            gap: 2rem;
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
        }
        html[data-theme="refresh"] .intake-form {
            background: #ffffff;
            box-shadow: 0 30px 80px rgba(15, 23, 42, 0.1);
            backdrop-filter: none;
        }
        /* Rotating conic-gradient border via ::before */
        .intake-form::before {
            content: '';
            position: absolute;
            inset: -1px;
            border-radius: 20px;
            background: conic-gradient(
                from 0deg,
                rgba(0, 255, 255, 0.4),
                rgba(255, 0, 255, 0.4),
                rgba(163, 230, 53, 0.3),
                rgba(0, 255, 255, 0.4)
            );
            z-index: -1;
            animation: intake-border-spin 8s linear infinite;
        }
        html[data-theme="refresh"] .intake-form::before {
            background: conic-gradient(
                from 0deg,
                rgba(59, 130, 246, 0.5),
                rgba(236, 72, 153, 0.5),
                rgba(163, 230, 53, 0.4),
                rgba(59, 130, 246, 0.5)
            );
        }
        @keyframes intake-border-spin {
            from { transform: rotate(0deg); }
            to   { transform: rotate(360deg); }
        }

        /* Row layout */
        .intake-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
        }
        @media (max-width: 720px) {
            .intake-row { grid-template-columns: 1fr; gap: 1.5rem; }
        }

        /* Field wrapper */
        .intake-field {
            position: relative;
            display: block;
            cursor: text;
        }
        .intake-field-full { width: 100%; }
        .intake-input {
            width: 100%;
            background: transparent;
            border: none;
            outline: none;
            padding: 1.4rem 0.25rem 0.5rem;
            color: #ffffff;
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 1rem;
            line-height: 1.4;
            border-bottom: 1px solid rgba(255, 255, 255, 0.12);
            transition: border-color 0.2s ease;
        }
        html[data-theme="refresh"] .intake-input {
            color: #0F172A;
            border-bottom-color: rgba(15, 23, 42, 0.12);
        }
        .intake-input::placeholder { color: transparent; }
        .intake-input:focus { border-bottom-color: transparent; }
        .intake-textarea {
            resize: vertical;
            min-height: 100px;
            padding-top: 1.6rem;
        }

        /* Animated underline */
        .intake-line {
            position: absolute;
            bottom: 0; left: 0;
            height: 2px;
            width: 100%;
            background: linear-gradient(90deg, #00ffff, #ff00ff);
            transform: scaleX(0);
            transform-origin: left center;
            transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
            pointer-events: none;
        }
        html[data-theme="refresh"] .intake-line {
            background: linear-gradient(90deg, #3B82F6, #EC4899);
        }
        .intake-input:focus ~ .intake-line { transform: scaleX(1); }

        /* Floating label */
        .intake-label {
            position: absolute;
            top: 1.4rem; left: 0.25rem;
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.45);
            pointer-events: none;
            transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
            transform-origin: left center;
        }
        html[data-theme="refresh"] .intake-label { color: rgba(15, 23, 42, 0.62); }
        .intake-input:focus ~ .intake-label,
        .intake-input:not(:placeholder-shown) ~ .intake-label {
            top: 0;
            font-size: 0.65rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: #00ffff;
            font-family: 'JetBrains Mono', ui-monospace, monospace;
        }
        html[data-theme="refresh"] .intake-input:focus ~ .intake-label,
        html[data-theme="refresh"] .intake-input:not(:placeholder-shown) ~ .intake-label {
            color: #3B82F6;
        }
        .intake-hint {
            position: absolute;
            top: calc(100% + 4px);
            left: 0;
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.6rem;
            letter-spacing: 0.1em;
            color: rgba(255, 255, 255, 0.35);
            pointer-events: none;
        }
        html[data-theme="refresh"] .intake-hint { color: rgba(15, 23, 42, 0.55); }

        /* Group label (for radio groups) */
        .intake-group-label {
            display: block;
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.65rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.55);
            margin-bottom: 0.8rem;
        }
        html[data-theme="refresh"] .intake-group-label { color: rgba(15, 23, 42, 0.55); }

        /* Radio group (pill buttons) */
        .intake-radio-group {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }
        .intake-radio {
            position: relative;
            cursor: pointer;
        }
        .intake-radio input {
            position: absolute;
            opacity: 0;
            pointer-events: none;
        }
        .intake-radio-fill {
            display: inline-block;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.7);
            padding: 0.55rem 1.1rem;
            border-radius: 50px;
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 0.88rem;
            font-weight: 500;
            transition: all 0.2s ease;
        }
        html[data-theme="refresh"] .intake-radio-fill {
            background: #f8fafc;
            border-color: rgba(15, 23, 42, 0.12);
            color: rgba(15, 23, 42, 0.75);
        }
        .intake-radio:hover .intake-radio-fill {
            border-color: rgba(0, 255, 255, 0.5);
            color: #ffffff;
        }
        html[data-theme="refresh"] .intake-radio:hover .intake-radio-fill {
            border-color: #3B82F6;
            color: #0F172A;
        }
        .intake-radio input:checked ~ .intake-radio-fill {
            background: linear-gradient(135deg, #00ffff, #ff00ff);
            border-color: transparent;
            color: #050505;
            font-weight: 700;
            box-shadow: 0 6px 16px rgba(0, 255, 255, 0.25);
        }
        html[data-theme="refresh"] .intake-radio input:checked ~ .intake-radio-fill {
            background: linear-gradient(135deg, #3B82F6, #EC4899);
            color: #ffffff;
            box-shadow: 0 6px 16px rgba(59, 130, 246, 0.25);
        }
        .intake-radio input:focus-visible ~ .intake-radio-fill {
            outline: 2px solid rgba(0, 255, 255, 0.6);
            outline-offset: 3px;
        }

        /* Conditional reveal */
        .intake-conditional {
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            transition: max-height 0.4s ease, opacity 0.3s ease;
        }
        .intake-conditional.is-shown {
            max-height: 220px;
            opacity: 1;
            margin-top: -1rem;
        }

        /* Checkbox */
        .intake-check {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            cursor: pointer;
            padding: 1.25rem;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            transition: all 0.2s ease;
        }
        html[data-theme="refresh"] .intake-check {
            background: #f8fafc;
            border-color: rgba(15, 23, 42, 0.08);
        }
        .intake-check:hover {
            border-color: rgba(0, 255, 255, 0.35);
        }
        html[data-theme="refresh"] .intake-check:hover { border-color: rgba(59, 130, 246, 0.35); }
        .intake-check input {
            position: absolute;
            opacity: 0;
            pointer-events: none;
        }
        .intake-check-box {
            flex-shrink: 0;
            width: 26px; height: 26px;
            border-radius: 6px;
            border: 2px solid rgba(255, 255, 255, 0.25);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            color: transparent;
        }
        html[data-theme="refresh"] .intake-check-box {
            border-color: rgba(15, 23, 42, 0.25);
        }
        .intake-check-box svg {
            width: 16px; height: 16px;
            transform: scale(0);
            transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        .intake-check input:checked ~ .intake-check-box {
            background: linear-gradient(135deg, #00ffff, #ff00ff);
            border-color: transparent;
            color: #050505;
            box-shadow: 0 6px 16px rgba(0, 255, 255, 0.3);
        }
        html[data-theme="refresh"] .intake-check input:checked ~ .intake-check-box {
            background: linear-gradient(135deg, #3B82F6, #EC4899);
            color: #ffffff;
        }
        .intake-check input:checked ~ .intake-check-box svg { transform: scale(1); }
        .intake-check input:focus-visible ~ .intake-check-box {
            outline: 2px solid rgba(0, 255, 255, 0.6);
            outline-offset: 3px;
        }
        .intake-check-text {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        .intake-check-text strong {
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 0.95rem;
            font-weight: 600;
            color: #ffffff;
        }
        html[data-theme="refresh"] .intake-check-text strong { color: #0F172A; }
        .intake-check-sub {
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 0.78rem;
            color: rgba(255, 255, 255, 0.55);
        }
        html[data-theme="refresh"] .intake-check-sub { color: rgba(15, 23, 42, 0.6); }

        /* Submit button */
        .intake-submit {
            position: relative;
            background: linear-gradient(135deg, #00ffff, #ff00ff);
            color: #050505;
            border: none;
            padding: 1.1rem 2rem;
            border-radius: 14px;
            font-family: 'Bricolage Grotesque', 'Space Grotesk', system-ui, sans-serif;
            font-size: 1.05rem;
            font-weight: 800;
            letter-spacing: -0.01em;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            overflow: hidden;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            box-shadow: 0 10px 30px rgba(0, 255, 255, 0.25);
            align-self: stretch;
        }
        html[data-theme="refresh"] .intake-submit {
            background: linear-gradient(135deg, #3B82F6, #EC4899);
            color: #ffffff;
            box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
        }
        .intake-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 16px 40px rgba(0, 255, 255, 0.4);
        }
        html[data-theme="refresh"] .intake-submit:hover {
            box-shadow: 0 16px 40px rgba(59, 130, 246, 0.4);
        }
        .intake-submit:active { transform: translateY(0); }
        .intake-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
        .intake-submit-shine {
            position: absolute;
            top: 0; left: -100%;
            width: 100%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
            transform: skewX(-22deg);
            transition: left 0.7s ease;
        }
        .intake-submit:hover .intake-submit-shine { left: 100%; }
        .intake-submit-arrow {
            display: inline-block;
            transition: transform 0.2s ease;
            font-size: 1.2em;
        }
        .intake-submit:hover .intake-submit-arrow { transform: translateX(4px); }

        /* Disclaimer */
        .intake-disclaimer {
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 0.82rem;
            line-height: 1.55;
            color: rgba(255, 255, 255, 0.5);
            text-align: center;
            margin: 0;
        }
        html[data-theme="refresh"] .intake-disclaimer { color: rgba(15, 23, 42, 0.55); }
        .intake-disclaimer strong {
            color: #ffffff;
            font-weight: 600;
        }
        html[data-theme="refresh"] .intake-disclaimer strong { color: #0F172A; }

        /* Success state */
        .intake-success {
            position: relative;
            padding: 4rem 2rem;
            text-align: center;
            background: rgba(10, 10, 18, 0.7);
            backdrop-filter: blur(20px);
            border-radius: 20px;
            border: 1px solid rgba(34, 197, 94, 0.35);
            animation: intake-success-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        }
        html[data-theme="refresh"] .intake-success {
            background: #ffffff;
            border-color: rgba(34, 197, 94, 0.35);
            box-shadow: 0 30px 80px rgba(15, 23, 42, 0.1);
            backdrop-filter: none;
        }
        @keyframes intake-success-in {
            from { opacity: 0; transform: scale(0.95) translateY(20px); }
            to   { opacity: 1; transform: scale(1) translateY(0); }
        }
        .intake-success-ring {
            position: absolute;
            top: 3rem; left: 50%;
            transform: translateX(-50%);
            width: 120px; height: 120px;
            border: 2px solid rgba(34, 197, 94, 0.4);
            border-radius: 50%;
            animation: intake-success-ring 1.5s ease-out infinite;
        }
        @keyframes intake-success-ring {
            0%   { transform: translateX(-50%) scale(0.8); opacity: 1; }
            100% { transform: translateX(-50%) scale(1.6); opacity: 0; }
        }
        .intake-success-icon {
            position: relative;
            width: 80px; height: 80px;
            margin: 0 auto 1.5rem;
            background: linear-gradient(135deg, #22c55e, #16a34a);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
        }
        .intake-success-icon svg { width: 40px; height: 40px; }
        .intake-success-h {
            font-family: 'Bricolage Grotesque', 'Space Grotesk', system-ui, sans-serif;
            font-size: clamp(1.6rem, 3.6vw, 2.4rem);
            font-weight: 800;
            color: #ffffff;
            margin: 0 0 0.8rem;
            letter-spacing: -0.02em;
        }
        html[data-theme="refresh"] .intake-success-h { color: #0F172A; }
        .intake-success-p {
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 1.05rem;
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.78);
            max-width: 480px;
            margin: 0 auto 1rem;
        }
        html[data-theme="refresh"] .intake-success-p { color: rgba(15, 23, 42, 0.78); }
        .intake-success-sub {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 0.7rem;
            letter-spacing: 0.15em;
            color: rgba(255, 255, 255, 0.4);
            margin: 0;
        }
        html[data-theme="refresh"] .intake-success-sub { color: rgba(15, 23, 42, 0.45); }

        /* Mobile tweaks */
        @media (max-width: 720px) {
            .intake-section { padding: 4rem 1rem 5rem; }
            .intake-section { padding: 4rem 1rem 5rem; }
            .intake-form { padding: 2rem 1.25rem; gap: 1.75rem; }
            /* Sound toggle: out of the absolute corner (overlapped headline),
               into normal flow centered below the sub. */
            .intake-sound-toggle {
                position: relative;
                top: auto; right: auto;
                margin: 1.25rem auto 0;
                display: inline-flex;
            }
            .intake-header { margin-bottom: 1.5rem; }
            .intake-h { font-size: clamp(1.6rem, 7vw, 2.2rem); line-height: 1.1; }
            .intake-sub { font-size: 0.9rem; }
            .intake-conditional.is-shown { max-height: 420px; }
            .intake-check { padding: 1rem; gap: 0.8rem; }
            .intake-check-text strong { font-size: 0.88rem; }
            .intake-check-sub { font-size: 0.72rem; }
            .intake-success { padding: 3rem 1.5rem; }
            .intake-disclaimer { font-size: 0.78rem; line-height: 1.5; }
            /* Submit button gets touch-friendly minimum height */
            .intake-submit { padding: 1.1rem 1.5rem; min-height: 52px; }
        }
        @media (prefers-reduced-motion: reduce) {
            .intake-bg-glow, .intake-form::before,
            .intake-success-ring { animation: none !important; }
        }

        
        /* Touch Device Optimization: Keep custom cursor visible, hide default */
        @media (pointer: coarse) {
            body {
                cursor: none;
            }
        }

        /* Buffer / Intro Section */
        .buffer-section {
            padding: 5vh 2rem;
            max-width: 600px;
            margin: 0 auto 10vh auto;
            position: relative;
        }
        .buffer-line {
            position: absolute;
            left: 20px;
            top: 0;
            bottom: 0;
            width: 1px;
            background: linear-gradient(to bottom, transparent, #333 20%, #333 80%, transparent);
        }
        .buffer-line-progress {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 0%;
            background: #00ffff;
            box-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
        }
        .buffer-item {
            margin-bottom: 30vh;
            position: relative;
            padding-left: 3rem;
            opacity: 0.4;
            transition: all 0.5s ease;
        }
        .buffer-item:hover, .buffer-item.active {
            opacity: 1;
            transform: translateX(10px);
        }
        .buffer-item::before {
            content: ''; position: absolute; left: 16px; top: 0.6em; width: 9px; height: 9px;
            background: #050505; border: 1px solid #555; border-radius: 50%; z-index: 10;
            transition: all 0.3s;
        }
        .buffer-item:hover::before, .buffer-item.active::before {
            background: #00ffff; border-color: #00ffff; box-shadow: 0 0 15px #00ffff;
        }
