        .ks-datawall-v9-wrapper *, .ks-datawall-v9-wrapper *::before, .ks-datawall-v9-wrapper *::after { margin: 0; padding: 0; box-sizing: border-box; }

        .ks-datawall-v9-wrapper {
            --ks-red: #C41E3A;
            --ks-red-light: #e63950;
            --ks-green: #22c55e;
            --ks-green-light: #4ade80;
            --ks-yellow: #f59e0b;
            --ks-dark: #0a0a0c;
            --ks-dark-elevated: #12121a;
            --ks-dark-card: #1a1a24;
            --ks-light: #f0f0f2;
            --ks-gray: #6b7280;
            --ks-gray-light: #9ca3af;
        }

        .ks-datawall-v9-wrapper {
            font-family: 'Inter', sans-serif;
            background: var(--ks-dark);
            color: var(--ks-light);
            overflow-x: hidden;
            line-height: 1.5;
        }

        .ks-datawall-v9-wrapper .progress-bar {
            position: absolute; top: 0; left: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--ks-red), var(--ks-green));
            width: 0%; z-index: 1000;
        }

        .ks-datawall-v9-wrapper .grain {
            position: absolute;
            top: -50%; left: -50%;
            width: 200%; height: 200%;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
            opacity: 0.03; pointer-events: none; z-index: 9998;
        }

        /* Loader */
        .ks-datawall-v9-wrapper .loader {
            position: absolute; top: 0; left: 0;
            width: 100%; height: 100%;
            background: var(--ks-dark); z-index: 10000;
            display: flex; align-items: center; justify-content: center;
            transition: opacity 0.6s, visibility 0.6s;
        }
        .ks-datawall-v9-wrapper .loader.hidden { opacity: 0; visibility: hidden; }
        .ks-datawall-v9-wrapper .loader-logo { margin-bottom: 2rem; }
        .ks-datawall-v9-wrapper .loader-bar { width: 200px; height: 2px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
        .ks-datawall-v9-wrapper .loader-bar-fill { width: 0%; height: 100%; background: var(--ks-red); }

        /* Hero */
        .ks-datawall-v9-wrapper .hero {
            min-height: 100vh;
            display: flex; flex-direction: column;
            align-items: center; justify-content: center;
            padding: 2rem; position: relative;
        }
        .ks-datawall-v9-wrapper .hero-bg-glow {
            position: absolute; width: 800px; height: 800px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(196,30,58,0.15) 0%, transparent 70%);
            top: 50%; left: 50%; transform: translate(-50%, -50%);
            filter: blur(80px);
        }
        .ks-datawall-v9-wrapper .hero-content { text-align: center; z-index: 10; max-width: 900px; }
        .ks-datawall-v9-wrapper .hero-label {
            font-size: 0.75rem; font-weight: 600;
            letter-spacing: 0.4em; text-transform: uppercase;
            color: var(--ks-red); margin-bottom: 2rem;
            opacity: 0; transform: translateY(30px);
        }
        .ks-datawall-v9-wrapper .hero-title {
            font-size: clamp(2.5rem, 7vw, 4.5rem);
            font-weight: 800; line-height: 1.1;
            letter-spacing: -0.03em; margin-bottom: 1.5rem;
            opacity: 0; transform: translateY(40px);
        }
        .ks-datawall-v9-wrapper .hero-title .highlight { color: var(--ks-red); }
        .ks-datawall-v9-wrapper .hero-subtitle {
            font-size: clamp(1rem, 2vw, 1.15rem);
            color: var(--ks-gray-light);
            max-width: 550px; margin: 0 auto;
            opacity: 0; transform: translateY(30px);
        }
        .ks-datawall-v9-wrapper .scroll-indicator {
            position: absolute; bottom: 3rem; left: 50%;
            transform: translateX(-50%);
            display: flex; flex-direction: column;
            align-items: center; gap: 0.75rem; opacity: 0;
        }
        .ks-datawall-v9-wrapper .scroll-indicator span {
            font-size: 0.65rem; font-weight: 500;
            letter-spacing: 0.3em; text-transform: uppercase;
            color: var(--ks-gray);
        }
        .ks-datawall-v9-wrapper .scroll-line {
            width: 1px; height: 50px;
            background: linear-gradient(to bottom, var(--ks-red), transparent);
            position: relative; overflow: hidden;
        }
        .ks-datawall-v9-wrapper .scroll-line::after {
            content: ''; position: absolute; top: 0; left: 0;
            width: 100%; height: 15px; background: var(--ks-light);
            animation: scrollPulse 1.5s ease-in-out infinite;
        }
        @keyframes scrollPulse {
            0% { transform: translateY(-100%); opacity: 0; }
            50% { opacity: 1; }
            100% { transform: translateY(350%); opacity: 0; }
        }

        /* Pinned Sections */
        .ks-datawall-v9-wrapper .pinned-section {
            height: 100vh; width: 100%;
            position: relative; overflow: hidden;
        }
        .ks-datawall-v9-wrapper .section-inner {
            height: 100%;
            display: flex; flex-direction: column;
            padding: 1.5rem 2rem;
        }
        .ks-datawall-v9-wrapper .section-header {
            text-align: center;
            padding: 0.5rem 0 1rem;
            flex-shrink: 0;
        }
        .ks-datawall-v9-wrapper .section-label {
            font-size: 0.75rem; font-weight: 600;
            letter-spacing: 0.3em; text-transform: uppercase;
            margin-bottom: 0.5rem;
            opacity: 0; transform: translateY(20px);
        }
        .ks-datawall-v9-wrapper .section-title {
            font-size: clamp(1.5rem, 3vw, 2.2rem);
            font-weight: 800; letter-spacing: -0.02em;
            opacity: 0; transform: translateY(30px);
        }

        /* Main visualization area */
        .ks-datawall-v9-wrapper .visualization-wrapper {
            flex: 1;
            position: relative;
            display: flex;
            min-height: 0;
        }

        .ks-datawall-v9-wrapper .visualization-canvas {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
        }

        /* Stakeholder labels on the left - MUCH LARGER */
        .ks-datawall-v9-wrapper .stakeholder-labels {
            position: absolute;
            left: 2rem;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
            z-index: 10;
        }
        .ks-datawall-v9-wrapper .stakeholder-label {
            background: var(--ks-dark-card);
            border: 1px solid rgba(255,255,255,0.12);
            padding: 0.9rem 1.2rem;
            border-radius: 12px;
            display: flex;
            align-items: center;
            gap: 0.9rem;
            opacity: 0;
            transform: translateX(-20px);
            transition: all 0.3s ease;
            font-size: 0.95rem;
            white-space: nowrap;
        }
        .ks-datawall-v9-wrapper .stakeholder-label.sending {
            border-color: currentColor;
            box-shadow: 0 0 25px currentColor;
        }
        .ks-datawall-v9-wrapper .stakeholder-label-icon {
            width: 40px; height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .ks-datawall-v9-wrapper .stakeholder-label-icon svg {
            width: 20px; height: 20px;
            fill: none; stroke-width: 2;
            stroke-linecap: round; stroke-linejoin: round;
        }
        .ks-datawall-v9-wrapper .stakeholder-label-name { font-weight: 600; }

        /* Outcome cards on the right - MUCH LARGER */
        .ks-datawall-v9-wrapper .outcome-panel {
            position: absolute;
            right: 2rem;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            gap: 0.9rem;
            z-index: 10;
            width: 300px;
        }
        .ks-datawall-v9-wrapper .outcome-card {
            padding: 1.2rem 1.4rem;
            border-radius: 14px;
            opacity: 0;
            transform: scale(1.5) translateX(30px);
            transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        .ks-datawall-v9-wrapper .outcome-card.visible {
            opacity: 1;
            transform: scale(1) translateX(0);
        }
        .ks-datawall-v9-wrapper .outcome-card.emphasis {
            transform: scale(1.12);
        }
        .ks-datawall-v9-wrapper .outcome-card-title {
            font-weight: 700;
            font-size: 1.1rem;
            margin-bottom: 0.25rem;
        }
        .ks-datawall-v9-wrapper .outcome-card-desc {
            font-size: 0.85rem;
            color: var(--ks-gray-light);
        }

        /* Data Wall element - positioned LEFT, not overlapping construction */
        .ks-datawall-v9-wrapper .datawall-barrier {
            position: absolute;
            top: 15%; bottom: 25%;
            left: 38%;
            transform: translateX(-50%);
            width: 80px;
            background: linear-gradient(180deg, rgba(34,197,94,0.08) 0%, rgba(34,197,94,0.02) 100%);
            border-left: 2px solid var(--ks-green);
            border-right: 2px solid var(--ks-green);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.6rem;
            opacity: 0;
            z-index: 5;
        }
        .ks-datawall-v9-wrapper .datawall-barrier::before {
            content: '';
            position: absolute; top: 0; left: 0;
            width: 100%; height: 3px;
            background: linear-gradient(90deg, transparent, var(--ks-green), transparent);
            animation: scanDown 2s ease-in-out infinite;
        }
        @keyframes scanDown {
            0%, 100% { top: 0; opacity: 0; }
            10% { opacity: 1; }
            90% { opacity: 1; }
            100% { top: calc(100% - 3px); opacity: 0; }
        }
        
        /* Krauck Systems Diamond Logo - EXACT from image */
        .ks-datawall-v9-wrapper .datawall-logo {
            width: 45px;
            height: 60px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .ks-datawall-v9-wrapper .datawall-text {
            font-size: 0.6rem; font-weight: 700;
            letter-spacing: 0.1em; text-transform: uppercase;
            color: var(--ks-green);
            text-align: center;
        }

        /* Construction label */
        .ks-datawall-v9-wrapper .construction-label {
            position: absolute;
            bottom: 12%;
            left: 58%;
            transform: translateX(-50%);
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            opacity: 0.7;
            z-index: 10;
        }

        /* Section-specific colors */
        .ks-datawall-v9-wrapper .chaos-section { background: var(--ks-dark); }
        .ks-datawall-v9-wrapper .chaos-section .section-label { color: var(--ks-red); }
        .ks-datawall-v9-wrapper .chaos-section .stakeholder-label-icon { background: rgba(196,30,58,0.15); }
        .ks-datawall-v9-wrapper .chaos-section .stakeholder-label-icon svg { stroke: var(--ks-red); }
        .ks-datawall-v9-wrapper .chaos-section .stakeholder-label.sending { color: var(--ks-red); }
        .ks-datawall-v9-wrapper .chaos-section .construction-label { color: var(--ks-red); }
        .ks-datawall-v9-wrapper .chaos-section .outcome-card {
            background: linear-gradient(135deg, rgba(196,30,58,0.15) 0%, rgba(196,30,58,0.05) 100%);
            border: 1px solid rgba(196,30,58,0.3);
        }
        .ks-datawall-v9-wrapper .chaos-section .outcome-card.emphasis { box-shadow: 0 0 35px rgba(196,30,58,0.5); }
        .ks-datawall-v9-wrapper .chaos-section .outcome-card-title { color: var(--ks-red-light); }

        .ks-datawall-v9-wrapper .solution-section {
            background: linear-gradient(180deg, var(--ks-dark) 0%, var(--ks-dark-elevated) 100%);
        }
        .ks-datawall-v9-wrapper .solution-section .section-label { color: var(--ks-green); }
        .ks-datawall-v9-wrapper .solution-section .stakeholder-label-icon { background: rgba(34,197,94,0.15); }
        .ks-datawall-v9-wrapper .solution-section .stakeholder-label-icon svg { stroke: var(--ks-green); }
        .ks-datawall-v9-wrapper .solution-section .stakeholder-label.sending { color: var(--ks-green); }
        .ks-datawall-v9-wrapper .solution-section .construction-label { color: var(--ks-green); }
        .ks-datawall-v9-wrapper .solution-section .outcome-card {
            background: linear-gradient(135deg, rgba(34,197,94,0.15) 0%, rgba(34,197,94,0.05) 100%);
            border: 1px solid rgba(34,197,94,0.3);
        }
        .ks-datawall-v9-wrapper .solution-section .outcome-card.emphasis { box-shadow: 0 0 35px rgba(34,197,94,0.5); }
        .ks-datawall-v9-wrapper .solution-section .outcome-card-title { color: var(--ks-green-light); }

        /* Transition */
        .ks-datawall-v9-wrapper .transition-section {
            min-height: 50vh;
            display: flex; align-items: center; justify-content: center;
            padding: 4rem 2rem;
        }
        .ks-datawall-v9-wrapper .transition-content { text-align: center; max-width: 700px; }
        .ks-datawall-v9-wrapper .transition-line {
            width: 80px; height: 3px;
            background: var(--ks-green);
            margin: 0 auto 2rem;
            transform: scaleX(0); border-radius: 2px;
        }
        .ks-datawall-v9-wrapper .transition-title {
            font-size: clamp(1.8rem, 4vw, 3rem);
            font-weight: 800; line-height: 1.15;
            margin-bottom: 1rem;
            opacity: 0; transform: translateY(30px);
        }
        .ks-datawall-v9-wrapper .transition-subtitle {
            font-size: 1rem;
            color: var(--ks-gray-light); line-height: 1.6;
            opacity: 0; transform: translateY(20px);
        }

        /* Stats */
        .ks-datawall-v9-wrapper .stats-section { padding: 5rem 2rem; }
        .ks-datawall-v9-wrapper .stats-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 3rem; max-width: 900px; margin: 0 auto;
        }
        @media (max-width: 768px) {
            .ks-datawall-v9-wrapper .stats-container { grid-template-columns: 1fr; gap: 2rem; }
        }
        .ks-datawall-v9-wrapper .stat { text-align: center; opacity: 0; transform: translateY(30px); }
        .ks-datawall-v9-wrapper .stat-number {
            font-size: clamp(2.5rem, 5vw, 3.5rem);
            font-weight: 900; color: var(--ks-green);
            line-height: 1; margin-bottom: 0.5rem;
        }
        .ks-datawall-v9-wrapper .stat-label { font-size: 0.85rem; color: var(--ks-gray-light); }

        /* CTA */
        .ks-datawall-v9-wrapper .cta-section {
            min-height: 50vh;
            display: flex; align-items: center; justify-content: center;
            padding: 4rem 2rem; position: relative;
        }
        .ks-datawall-v9-wrapper .cta-section::before {
            content: '';
            position: absolute; top: 0; left: 0; right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--ks-green), transparent);
        }
        .ks-datawall-v9-wrapper .cta-content { text-align: center; max-width: 550px; }
        .ks-datawall-v9-wrapper .cta-title {
            font-size: clamp(1.8rem, 4vw, 2.8rem);
            font-weight: 800; margin-bottom: 1rem;
            opacity: 0; transform: translateY(25px);
        }
        .ks-datawall-v9-wrapper .cta-subtitle {
            font-size: 1rem; color: var(--ks-gray-light);
            margin-bottom: 2rem;
            opacity: 0; transform: translateY(20px);
        }
        .ks-datawall-v9-wrapper .cta-buttons {
            display: flex; gap: 1rem;
            justify-content: center; flex-wrap: wrap;
            opacity: 0; transform: translateY(15px);
        }
        .ks-datawall-v9-wrapper .btn {
            padding: 1rem 2rem; border-radius: 100px;
            font-size: 0.9rem; font-weight: 600;
            font-family: inherit; cursor: pointer;
            transition: all 0.4s ease;
        }
        .ks-datawall-v9-wrapper .btn-primary {
            background: var(--ks-red); color: white; border: none;
        }
        .ks-datawall-v9-wrapper .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(196,30,58,0.3);
        }
        .ks-datawall-v9-wrapper .btn-secondary {
            background: transparent; color: var(--ks-light);
            border: 2px solid rgba(255,255,255,0.2);
        }
        .ks-datawall-v9-wrapper .btn-secondary:hover {
            border-color: var(--ks-light);
            transform: translateY(-3px);
        }

        @media (max-width: 1000px) {
            .ks-datawall-v9-wrapper .stakeholder-labels { left: 1rem; }
            .ks-datawall-v9-wrapper .stakeholder-label { padding: 0.7rem 0.9rem; font-size: 0.85rem; }
            .ks-datawall-v9-wrapper .stakeholder-label-icon { width: 32px; height: 32px; }
            .ks-datawall-v9-wrapper .stakeholder-label-icon svg { width: 16px; height: 16px; }
            .ks-datawall-v9-wrapper .outcome-panel { right: 1rem; width: 240px; }
            .ks-datawall-v9-wrapper .outcome-card { padding: 1rem 1.2rem; }
            .ks-datawall-v9-wrapper .outcome-card-title { font-size: 0.95rem; }
            .ks-datawall-v9-wrapper .outcome-card-desc { font-size: 0.75rem; }
        }

        @media (max-width: 750px) {
            .ks-datawall-v9-wrapper .stakeholder-label-name { display: none; }
        }
.ks-datawall-v9-wrapper { position: relative; z-index: 5; }

/* --- FIXED AND REFINED STYLES --- */

/* 1. Fix Double Scrollbars */
html, body {
    overflow-x: hidden !important;
}
.ks-datawall-v9-wrapper {
    overflow: hidden;
    width: 100%;
}

/* 2. Logo Adjustments for Vertical Barrier */
.ks-datawall-v9-wrapper .datawall-logo {
    width: 100% !important;
    height: 140px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: visible !important;
}

.ks-datawall-v9-wrapper .ks-logo-rotated {
    width: 140px; /* Adjust width to be the height of the vertical space */
    height: auto;
    transform: rotate(-90deg);
    transform-origin: center;
    display: block;
}

/* Ensure datawall barrier can accommodate the logo */
.ks-datawall-v9-wrapper .datawall-barrier {
    justify-content: center;
    gap: 1rem;
}

/* 4. Remove Top/Bottom - Layout Adjustments */
/* Since Hero is removed, Chaos section is first. */
/* Ensure it triggers correctly. */

/* =========================================
   MOBILE RESPONSIVENESS (Max-width: 768px)
   ========================================= */
@media (max-width: 768px) {
    /* 1. Layout Structure */
    .ks-datawall-v9-wrapper .section-inner {
        padding: 5rem 1.5rem 3rem; /* More top padding for headers */
        height: auto;
        min-height: 100vh;
        display: block; /* Remove flex column constraint to allow scrolling */
    }

    .ks-datawall-v9-wrapper .pinned-section {
        height: auto;
        min-height: 100vh;
        overflow-y: visible; /* Allow scrolling content */
    }

    .ks-datawall-v9-wrapper .visualization-wrapper {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto; /* Let content dictate height */
        position: relative;
        padding-top: 2rem;
    }

    /* Canvas is background */
    .ks-datawall-v9-wrapper .visualization-canvas {
        position: fixed; /* Keep canvas fixed in background while scrolling section? No, absolute to wrapper */
        /* Actually, for the particle effect to work with scrolling content, the canvas is usually best as absolute 
           covering the area. But if content stretches, canvas needs to stretch. */
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        z-index: 0;
    }

    /* 2. Stakeholders (Top) */
    .ks-datawall-v9-wrapper .stakeholder-labels {
        position: relative;
        top: auto; left: auto; right: auto; bottom: auto;
        transform: none;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        width: 100%;
        margin-bottom: 2rem;
        z-index: 5;
    }

    .ks-datawall-v9-wrapper .stakeholder-label {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 0.6rem 0.3rem;
        opacity: 1 !important; /* Force visible for safety if JS fails */
        transform: none !important;
    }

    .ks-datawall-v9-wrapper .stakeholder-label-icon {
        width: 30px; height: 30px;
        margin-bottom: 0.25rem;
    }
    .ks-datawall-v9-wrapper .stakeholder-label-icon svg {
        width: 16px; height: 16px;
    }
    
    .ks-datawall-v9-wrapper .stakeholder-label-name {
        display: block;
        font-size: 0.6rem;
        white-space: normal;
        line-height: 1.1;
    }

    /* 3. Datawall Barrier (Middle) */
    .ks-datawall-v9-wrapper .datawall-barrier {
        position: relative;
        top: auto; bottom: auto; left: auto;
        transform: none;
        width: 100%;
        height: 60px;
        margin: 1.5rem 0;
        flex-direction: row;
        border-left: none; border-right: none;
        border-top: 2px solid var(--ks-green);
        border-bottom: 2px solid var(--ks-green);
        background: linear-gradient(180deg, rgba(34,197,94,0.08) 0%, rgba(34,197,94,0.02) 100%);
    }

    .ks-datawall-v9-wrapper .datawall-barrier::before {
        width: 3px; height: 100%;
        top: 0; left: 0;
        animation: scanRight 2s ease-in-out infinite;
        background: linear-gradient(180deg, transparent, var(--ks-green), transparent);
    }
    
    .ks-datawall-v9-wrapper .ks-logo-rotated {
        transform: rotate(0deg);
        width: auto; height: 40px;
    }
    
    .ks-datawall-v9-wrapper .datawall-logo {
        height: 100% !important;
        width: auto !important;
    }

    .ks-datawall-v9-wrapper .datawall-text {
        font-size: 0.75rem;
    }

    /* 4. Construction Label */
    .ks-datawall-v9-wrapper .construction-label {
        position: relative;
        bottom: auto; left: auto;
        transform: none;
        margin: 1rem auto;
        text-align: center;
        width: 100%;
        order: 3; /* Ensure it's below barrier */
    }

    /* 5. Outcome Panel (Bottom) */
    .ks-datawall-v9-wrapper .outcome-panel {
        position: relative;
        top: auto; right: auto; bottom: auto;
        transform: none;
        width: 100%;
        margin-top: 1rem;
        order: 4;
    }

    .ks-datawall-v9-wrapper .outcome-card {
        transform: none !important; /* Reset initial transform */
        opacity: 1 !important;
        margin-bottom: 0.8rem;
        padding: 1rem;
    }
    
    /* Stats grid fix */
    .ks-datawall-v9-wrapper .stats-container {
        grid-template-columns: 1fr;
    }
}

@keyframes scanRight {
    0%, 100% { left: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: calc(100% - 3px); opacity: 0; }
}
