.logo img {
    width: auto;
    height: 48px;
    display: block;
}

/* index.html */
body.page-home{
            --bg-dark: #010103;
            --brand-indigo: #3D44FF; 
            --brand-light-indigo: #626BFF; /* Matched from CTA screenshot */
            --brand-deep: #1A1B4B;
            --card-blue: #142866; 
            --text-muted: #84848F;
        }

body.page-home *{ margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body.page-home{ background-color: var(--bg-dark); color: #fff; overflow-x: hidden; }

        /* --- 1. NARRATIVE CANVAS BACKGROUND --- */
body.page-home #value-flow-canvas{
            position: fixed; inset: 0; z-index: -4; width: 100%; height: 100vh;
            background-color: var(--bg-dark);
        }
        
body.page-home .vignette{ 
            position: fixed; inset: 0; 
            background: radial-gradient(circle at 50% 50%, transparent 15%, var(--bg-dark) 95%); 
            z-index: -3; pointer-events: none; 
        }

        /* --- 1B. NAVIGATION --- */
body.page-home nav{ position: fixed; top: 0; left: 0; width: 100%; padding: 30px 5%; display: flex; justify-content: space-between; align-items: center; z-index: 50; background-color: rgba(1, 1, 3, 0.5); }
body.page-home .logo svg{ width: 32px; height: 32px; fill: #fff; }
body.page-home .nav-links{ display: flex; gap: 40px; }
body.page-home .nav-links a{ color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.3s; }
body.page-home .nav-links a.active, body.page-home .nav-links a:hover{ color: #fff; }
body.page-home .nav-toggle{ display: none; width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(1, 1, 3, 0.35); color: #fff; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
body.page-home .nav-toggle svg{ width: 22px; height: 22px; fill: #fff; transition: transform 0.3s ease; }
body.page-home .nav-toggle .hamburger-icon path{ transition: transform 0.3s ease, opacity 0.3s ease; transform-origin: 25px 25px; }
body.page-home .nav-toggle .close-icon{ opacity: 0; transform: scale(0.8); transform-origin: 25px 25px; transition: opacity 0.3s ease, transform 0.3s ease; }
body.page-home.nav-open .nav-toggle .hamburger-icon path{ opacity: 0; transform: scale(0.8); }
body.page-home.nav-open .nav-toggle .close-icon{ opacity: 1; transform: scale(1); }
body.page-home .nav-spacer{ width: 32px; }

        /* --- 2. HERO SECTION (LEGACY) --- */
body.page-home header#hero-header{ 
            height: 100vh; display: flex; flex-direction: column; justify-content: center; 
            align-items: center; text-align: center; padding: 0 5%; position: relative; z-index: 10; 
        }
        
body.page-home header#hero-header .hero-fade-bottom{
            position: absolute; bottom: 0; left: 0; width: 100%; height: 250px;
            /* background: linear-gradient(to bottom, transparent, var(--bg-dark)); z-index: -2; pointer-events: none; */
        }

body.page-home header#hero-header .hero-content{ 
            position: relative; z-index: 3; 
            margin-top: -10vh; 
        }
body.page-home header#hero-header h1{ font-size: clamp(48px, 8vw, 96px); font-weight: 100; letter-spacing: -0.06em; margin-bottom: 24px; line-height: 0.95; }
body.page-home header#hero-header h1 b{ font-weight: 600; }
body.page-home header#hero-header .hero-p{ font-size: 20px; color: var(--text-muted); line-height: 1.6; max-width: 800px; font-weight: 300; margin: 0 auto; }

        /* --- 3. 3D DECK SECTION --- */
body.page-home #deck-section{ position: relative; width: 100%; z-index: 10; } 
        
body.page-home .deck-sticky{
            height: 100vh; width: 100vw; display: flex; align-items: center; justify-content: center; overflow: hidden;
        }

body.page-home .split-layout{ display: flex; align-items: center; justify-content: space-between; width: 90%; max-width: 1400px; height: 100%; gap: 5%; }

body.page-home .left-text{ width: 45%; display: flex; flex-direction: column; justify-content: center; z-index: 10; }
body.page-home .left-text h2{ font-size: clamp(40px, 5.5vw, 72px); font-weight: 600; line-height: 1.05; letter-spacing: -0.04em; margin-bottom: 32px; }
body.page-home .left-text p{ font-size: clamp(18px, 2vw, 24px); line-height: 1.6; color: var(--text-muted); font-weight: 300; max-width: 550px; }

body.page-home .right-deck{ width: 50%; height: 600px; display: flex; align-items: center; justify-content: center; perspective: 2500px; }
body.page-home .deck-container{ position: relative; width: 100%; max-width: 500px; height: 550px; }

body.page-home .card{ position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform, opacity; }
body.page-home .card-inner{ position: relative; width: 100%; height: 100%; transform-style: preserve-3d; will-change: transform; }
        
body.page-home .face{
            position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; 
            border-radius: 16px; padding: 60px 40px; display: flex; flex-direction: column; justify-content: center;
            box-shadow: -20px 20px 40px rgba(0,0,0,0.9);
        }

body.page-home .front{ background: #0A0A0F; border: 1px solid rgba(140, 170, 255, 0.25); transform: rotateY(0deg); will-change: border-color; }
body.page-home .back{ transform: rotateY(180deg); background: linear-gradient(135deg, var(--brand-deep) 0%, #05050A 100%); border: 1px solid rgba(61, 68, 255, 0.5); }
body.page-home .face-content{ display: flex; flex-direction: column; will-change: opacity; }

body.page-home .icon-svg{ width: 44px; height: 44px; margin-bottom: 24px; }
body.page-home .icon-svg svg{ width: 100%; height: 100%; fill: none; stroke: var(--text-muted); stroke-width: 0.6px; }
body.page-home .back .icon-svg svg{ stroke: var(--brand-indigo); filter: drop-shadow(0 0 10px var(--brand-indigo)); }

body.page-home .badge{ font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 6px; margin-bottom: 16px; display: block; color: var(--text-muted); }
body.page-home .back .badge{ color: var(--brand-indigo); }

body.page-home .face h3{ font-size: clamp(28px, 3vw, 42px); font-weight: 100; letter-spacing: -0.04em; margin-bottom: 20px; line-height: 1.1; color: #fff; }
body.page-home .face h3 b{ font-weight: 600; }
body.page-home .back h3 b{ color: #fff; text-shadow: 0 0 20px rgba(61, 68, 255, 0.4); }
body.page-home .face p.desc{ font-size: 17px; line-height: 1.7; color: var(--text-muted); font-weight: 300; }
body.page-home .back p.desc{ color: #D0D0E0; }

body.page-home .progress-track{ position: fixed; bottom: 40px; left: 5%; width: 90%; height: 1px; background: rgba(255,255,255,0.05); z-index: 100; opacity: 1; transition: opacity 0.5s ease; }
body.page-home .progress-fill{ height: 100%; width: 0%; background: var(--brand-indigo); box-shadow: 0 0 10px var(--brand-indigo); }

        /* --- 4. ENGAGE GRID --- */
body.page-home #engage-section{ padding: 120px 5%; width: 100%; max-width: 1400px; margin: 0 auto; position: relative; z-index: 10; }
        
body.page-home .section-header{ margin-bottom: 80px; }
body.page-home .section-header h2{ font-size: clamp(36px, 4.5vw, 56px); font-weight: 100; letter-spacing: -0.03em; line-height: 1.1; color: #fff; }
body.page-home .section-header h2 b{ font-weight: 600; }

body.page-home .features-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px 40px; }
body.page-home .feature-item{ display: flex; flex-direction: column; align-items: flex-start; }

body.page-home .feature-orb{
            width: 56px; height: 56px; border-radius: 50%;
            background: radial-gradient(circle at 30% 30%, rgba(61, 68, 255, 0.8) 0%, #050510 80%);
            box-shadow: inset 0 0 12px rgba(255,255,255,0.2), 0 10px 20px rgba(0,0,0,0.5);
            display: flex; align-items: center; justify-content: center;
            margin-bottom: 24px; border: 1px solid rgba(255, 255, 255, 0.05);
        }

body.page-home .feature-orb svg{ width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.5px; opacity: 0.9; }
body.page-home .feature-item h3{ font-size: 20px; font-weight: 600; margin-bottom: 12px; color: #fff; letter-spacing: -0.01em; }
body.page-home .feature-item p{ font-size: 16px; line-height: 1.6; color: var(--text-muted); font-weight: 300; }

        /* --- 5. CTA FINAL SECTION --- */
body.page-home #cta-section{
            padding: 150px 5%;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            position: relative;
            z-index: 10;
        }

body.page-home .cta-container{
            max-width: 900px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

body.page-home .cta-badge{
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.25em;
            color: #84848F;
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 10px 24px;
            border-radius: 40px;
            margin-bottom: 40px;
        }

body.page-home .cta-headline{
            font-size: clamp(40px, 6vw, 68px);
            font-weight: 600;
            line-height: 1.1;
            letter-spacing: -0.03em;
            margin-bottom: 30px;
            color: #fff;
        }

body.page-home .cta-subtext{
            font-size: clamp(18px, 2vw, 24px);
            color: #84848F;
            font-weight: 300;
            line-height: 1.6;
            margin-bottom: 50px;
            max-width: 800px;
        }

body.page-home .cta-buttons{
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            justify-content: center;
        }

body.page-home .btn-primary{
            background-color: var(--brand-light-indigo);
            color: #fff;
            padding: 18px 36px;
            border-radius: 40px;
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 12px;
            transition: background 0.3s ease, transform 0.2s ease;
        }

body.page-home .btn-primary svg{
            width: 18px;
            height: 18px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            transition: transform 0.3s ease;
        }

body.page-home .btn-primary:hover{
            background-color: #5058e5;
            transform: translateY(-2px);
        }

body.page-home .btn-primary:hover svg{
            transform: translateX(4px);
        }

body.page-home .btn-secondary{
            background-color: #ffffff;
            color: #000000;
            padding: 18px 36px;
            border-radius: 40px;
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
            transition: background 0.3s ease, transform 0.2s ease;
        }

body.page-home .btn-secondary:hover{
            background-color: #e6e6e6;
            transform: translateY(-2px);
        }

        /* Media Queries */
        @media (max-width: 1024px) {
body.page-home .split-layout{ flex-direction: column; gap: 0; justify-content: center; }
body.page-home .left-text{ width: 100%; text-align: center; margin-bottom: 40px; align-items: center; }
body.page-home .right-deck{ width: 100%; height: 50vh; }
body.page-home .deck-container{ max-width: 400px; height: 450px; }
body.page-home .features-grid{ grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 768px) {
body.page-home .features-grid{ grid-template-columns: 1fr; gap: 40px; }
body.page-home nav{ padding: 18px 5%; }
body.page-home .nav-toggle{ display: inline-flex; }
body.page-home .nav-links{ display: none; position: fixed; top: 76px; left: 5%; right: 5%; flex-direction: column; gap: 16px; background: rgba(1, 1, 3, 0.9); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; padding: 18px; z-index: 60; opacity: 0; transform: translateY(-8px); transition: opacity 0.3s ease, transform 0.3s ease; }
body.page-home .nav-spacer{ display: none; }
body.page-home.nav-open .nav-links{ display: flex; opacity: 1; transform: translateY(0); }
body.page-home .cta-buttons{ flex-direction: column; width: 100%; }
body.page-home .btn-primary, body.page-home .btn-secondary{ width: 100%; justify-content: center; }
        }
    

/* tech-due-diligence.html */
body.page-tech{
            --bg-dark: #010103;
            --bg-bottom: #05050A;
            --brand-indigo: #3D44FF; 
            --brand-light-indigo: #5A6EFF;
            --brand-deep: #1A1B4B;
            --text-muted: #84848F;
        }

body.page-tech *{ margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
        
body.page-tech{ 
            background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-bottom) 100%);
            color: #fff; 
            overflow-x: hidden; 
            min-height: 100vh;
        }

        /* --- 0. NARRATIVE CANVAS BACKGROUND --- */
body.page-tech #value-flow-canvas{
            position: fixed; inset: 0; z-index: -4; width: 100%; height: 100vh;
            background-color: var(--bg-dark);
            opacity: 1;
            transition: opacity 0.6s ease;
        }
        
body.page-tech .vignette{ 
            position: fixed; inset: 0; 
            background: radial-gradient(circle at 50% 50%, transparent 15%, var(--bg-dark) 95%); 
            z-index: -3; pointer-events: none; 
            opacity: 1;
            transition: opacity 0.6s ease;
        }

body.page-tech.flow-canvas-hidden #value-flow-canvas,
body.page-tech.flow-canvas-hidden .vignette{
            opacity: 0;
        }

        /* =========================================
           1. HERO WRAPPER & BACKGROUND
           ========================================= */
body.page-tech .hero-wrapper{ position: relative; width: 100%; min-height: 100vh; overflow: hidden; background-color: var(--bg-dark); }
body.page-tech .bg-system{ position: absolute; inset: 0; pointer-events: none; z-index: 1; }
body.page-tech .ambient-gradient{ position: absolute; inset: 0; background: radial-gradient(circle at 60% 65%, rgba(90,110,255,0.18), transparent 40%), radial-gradient(circle at 40% 80%, rgba(60,80,220,0.12), transparent 50%), linear-gradient(180deg, #030814 0%, transparent 60%); }
body.page-tech .grid-pattern{ position: absolute; inset: 0; opacity: 0.12; background-image: linear-gradient(rgba(140,160,255,0.35) 1px, transparent 1px), linear-gradient(90deg, rgba(140,160,255,0.35) 1px, transparent 1px); background-size: 42px 42px; }

body.page-tech .analytical-field{ position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
body.page-tech .field-container{ position: relative; width: 760px; height: 760px; max-width: 90vw; max-height: 90vw; margin-top: 10vh; }
body.page-tech .ring{ position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid; animation: pulseRing infinite alternate ease-in-out; }
body.page-tech .ring-1{ width: 320px; height: 320px; border-color: rgba(120,140,255,0.4); animation-duration: 6s; }
body.page-tech .ring-2{ width: 520px; height: 520px; border-color: rgba(120,140,255,0.32); animation-duration: 8s; animation-delay: 0.5s; }
body.page-tech .ring-3{ width: 760px; height: 760px; border-color: rgba(120,140,255,0.24); animation-duration: 10s; animation-delay: 1s; }
        @keyframes pulseRing { 0% { opacity: 0.6; } 100% { opacity: 1; } }

body.page-tech .axis{ position: absolute; left: 50%; top: 50%; width: 300px; height: 1px; transform-origin: left; background: linear-gradient(90deg, rgba(140,160,255,0.55) 0%, rgba(140,160,255,0.25) 50%, transparent 100%); }
body.page-tech .ax-0{ transform: translateY(-50%) rotate(0deg); }
body.page-tech .ax-72{ transform: translateY(-50%) rotate(72deg); }
body.page-tech .ax-144{ transform: translateY(-50%) rotate(144deg); }
body.page-tech .ax-216{ transform: translateY(-50%) rotate(216deg); }
body.page-tech .ax-288{ transform: translateY(-50%) rotate(288deg); }
body.page-tech .core-glow{ position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 260px; height: 260px; border-radius: 50%; filter: blur(20px); background: radial-gradient(circle, rgba(120,140,255,0.45), rgba(80,100,220,0.28), transparent 70%); }

body.page-tech .hero-fade-bottom{ position: absolute; bottom: 0; left: 0; width: 100%; height: 200px; background: linear-gradient(to bottom, transparent 0%, var(--bg-dark) 100%); z-index: 2; pointer-events: none; }

        /* =========================================
           2. NAVIGATION & HERO CONTENT
           ========================================= */
body.page-tech nav{ position: fixed; top: 0; left: 0; width: 100%; padding: 30px 5%; display: flex; justify-content: space-between; align-items: center; z-index: 50; background-color: rgba(1, 1, 3, 0.5); }
body.page-tech .logo svg{ width: 32px; height: 32px; fill: #fff; }
body.page-tech .nav-links{ display: flex; gap: 40px; }
body.page-tech .nav-links a{ color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.3s; }
body.page-tech .nav-links a.active, body.page-tech .nav-links a:hover{ color: #fff; }
body.page-tech .nav-toggle{ display: none; width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(1, 1, 3, 0.35); color: #fff; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
body.page-tech .nav-toggle svg{ width: 22px; height: 22px; fill: #fff; transition: transform 0.3s ease; }
body.page-tech .nav-toggle .hamburger-icon path{ transition: transform 0.3s ease, opacity 0.3s ease; transform-origin: 25px 25px; }
body.page-tech .nav-toggle .close-icon{ opacity: 0; transform: scale(0.8); transform-origin: 25px 25px; transition: opacity 0.3s ease, transform 0.3s ease; }
body.page-tech.nav-open .nav-toggle .hamburger-icon path{ opacity: 0; transform: scale(0.8); }
body.page-tech.nav-open .nav-toggle .close-icon{ opacity: 1; transform: scale(1); }
body.page-tech .nav-spacer{ width: 32px; }

body.page-tech .hero-content{ position: relative; width: 100%; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 120px 5%; z-index: 10; }
body.page-tech .content-wrapper{ max-width: 900px; text-align: center; display: flex; flex-direction: column; align-items: center; }

body.page-tech .badge{ background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255,255,255,0.08); padding: 8px 20px; border-radius: 30px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: #A0A0B0; margin-bottom: 30px; backdrop-filter: blur(10px); }
body.page-tech h1{ font-size: clamp(40px, 6vw, 72px); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 24px; color: #fff; }
body.page-tech .hero-desc{ font-size: clamp(16px, 2vw, 20px); font-weight: 300; line-height: 1.6; color: var(--text-muted); max-width: 700px; margin-bottom: 40px; }

body.page-tech .btn-group{ display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
body.page-tech .btn{ padding: 16px 32px; border-radius: 40px; font-size: 15px; font-weight: 500; text-decoration: none; display: flex; align-items: center; gap: 8px; transition: all 0.3s ease; cursor: pointer; }
body.page-tech .btn-primary{ background: var(--brand-indigo); color: #fff; border: 1px solid transparent; box-shadow: 0 0 20px rgba(61, 68, 255, 0.3); }
body.page-tech .btn-primary:hover{ background: var(--brand-light-indigo); transform: translateY(-2px); }
body.page-tech .btn-secondary{ background: rgba(255, 255, 255, 0.05); color: #fff; border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px); }
body.page-tech .btn-secondary:hover{ background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }

        /* =========================================
           3. ENGAGEMENT SNAPSHOT & WAVE
           ========================================= */
body.page-tech .engagement-snapshot{ position: relative; width: 100%; padding: 80px 5% 100px 5%; display: flex; flex-direction: column; align-items: center; z-index: 10; }
body.page-tech #graph-canvas{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
body.page-tech .snapshot-content-wrapper{ position: relative; z-index: 10; width: 100%; max-width: 1200px; margin: 0 auto; }

body.page-tech .snapshot-header{ text-align: center; margin-bottom: 60px; }
body.page-tech .snapshot-header h2{ font-size: clamp(32px, 4vw, 42px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; color: #fff; }
body.page-tech .snapshot-header p{ font-size: clamp(16px, 2vw, 18px); color: var(--text-muted); font-weight: 400; max-width: 700px; line-height: 1.6; margin: 0 auto; }

body.page-tech .snapshot-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%; }
body.page-tech .snap-card{ background: transparent; border: none; padding: 20px 10px; display: flex; flex-direction: column; align-items: center; text-align: center; opacity: 0; transform: translateY(20px); }
body.page-tech .snap-label{ font-size: 13px; font-weight: 500; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
body.page-tech .snap-value{ font-size: 28px; font-weight: 600; color: #fff; letter-spacing: -0.02em; }

        /* =========================================
           4. ADVISORY SERVICES (STACKING CARDS)
           ========================================= */
body.page-tech .pin-spacer{ background: transparent; }
body.page-tech #advisory-section{ width: 100%; height: 100vh; display: flex; align-items: center; justify-content: center; background-color: transparent; overflow: hidden; position: relative; z-index: 20; }
body.page-tech .advisory-container{ display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1200px; padding: 0 5%; gap: 60px; }

body.page-tech .advisory-left{ flex: 1; max-width: 500px; }
body.page-tech .advisory-left h2{ font-size: clamp(36px, 4.5vw, 56px); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 24px; color: #fff; }
body.page-tech .advisory-left p{ font-size: 18px; color: var(--text-muted); line-height: 1.6; font-weight: 300; }

body.page-tech .advisory-right{ flex: 1; position: relative; height: 460px; perspective: 1200px; }

body.page-tech .stack-card{
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(135deg, var(--brand-deep) 0%, #05050A 100%);
            border: 1px solid rgba(61, 68, 255, 0.5); border-radius: 20px; padding: 40px;
            display: flex; flex-direction: column; justify-content: center;
            box-shadow: 0 20px 50px rgba(0,0,0,0.8);
            transform-origin: top center; will-change: transform, filter; 
        }

body.page-tech .card-icon{ width: 28px; height: 28px; margin-bottom: 20px; }
body.page-tech .card-icon svg{ width: 100%; height: 100%; fill: none; stroke: var(--brand-light-indigo); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
body.page-tech .card-pretitle{ font-size: 11px; font-weight: 700; color: var(--brand-indigo); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 8px; }
body.page-tech .stack-card h3{ font-size: 32px; font-weight: 600; color: #fff; margin-bottom: 16px; letter-spacing: -0.01em; }
body.page-tech .stack-card p{ font-size: 16px; color: #A0A0B0; line-height: 1.6; margin-bottom: 30px; }
body.page-tech .stack-card a{ font-size: 15px; font-weight: 500; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: gap 0.2s; }
body.page-tech .stack-card a:hover{ gap: 12px; }

body.page-tech .card-index-1{ transform: rotate(-1deg); z-index: 1; filter: brightness(1); }
body.page-tech .card-index-2{ transform: rotate(1.5deg) translateY(120vh); z-index: 2; filter: brightness(1); }
body.page-tech .card-index-3{ transform: rotate(-1deg) translateY(120vh); z-index: 3; filter: brightness(1); }
body.page-tech .card-index-4{ transform: rotate(0.5deg) translateY(120vh); z-index: 4; filter: brightness(1); }

        /* =========================================
           5. TECHNOLOGY ASSESSMENT SECTION
           ========================================= */
body.page-tech .assessment-section{ position: relative; width: 100%; padding: 120px 5%; z-index: 20; background: transparent; }
body.page-tech .assessment-container{ width: 100%; max-width: 1200px; margin: 0 auto; }
body.page-tech .assessment-header{ max-width: 800px; margin-bottom: 60px; }
body.page-tech .assessment-header h2{ font-size: clamp(32px, 4vw, 48px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 20px; color: #fff; line-height: 1.2; }
body.page-tech .assessment-header p{ font-size: 18px; color: var(--text-muted); line-height: 1.6; font-weight: 300; }
body.page-tech .assessment-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
        
body.page-tech .assess-card{ background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 24px; padding: 40px; display: flex; flex-direction: column; }
body.page-tech .assess-card h3{ font-size: 26px; font-weight: 600; color: #fff; margin-bottom: 12px; letter-spacing: -0.01em; }
body.page-tech .assess-card p{ font-size: 15px; color: #A0A0B0; line-height: 1.6; margin-bottom: 40px; flex-grow: 1; }

body.page-tech .card-visual{ width: 100%; height: 220px; border-radius: 16px; overflow: hidden; position: relative; }
body.page-tech .visual-chart{ background: #ffffff; padding: 24px; color: #000; }
body.page-tech .chart-header{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
body.page-tech .chart-title{ font-size: 14px; font-weight: 700; }
body.page-tech .chart-labels{ font-size: 11px; font-weight: 500; color: #888; word-spacing: 12px; }
body.page-tech .chart-svg{ width: 100%; height: 120px; overflow: visible; }
body.page-tech .chart-line{ fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; }
body.page-tech .line-green{ stroke: #22c55e; }
body.page-tech .line-red{ stroke: #ef4444; }

body.page-tech .visual-expert{ background: #1A1C24; }
body.page-tech .visual-expert img{ width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
body.page-tech .floating-btn{ position: absolute; top: 16px; right: 16px; background: #ffffff; color: #000; padding: 8px 16px; border-radius: 30px; font-size: 12px; font-weight: 600; box-shadow: 0 4px 10px rgba(0,0,0,0.2); cursor: pointer; transition: transform 0.2s; }
body.page-tech .floating-btn:hover{ transform: scale(1.05); }

        /* Media Queries */
        @media (max-width: 992px) {
body.page-tech .snapshot-grid{ grid-template-columns: repeat(2, 1fr); gap: 20px; }
body.page-tech .advisory-container{ flex-direction: column; text-align: center; gap: 40px; }
body.page-tech .advisory-left{ max-width: 100%; }
body.page-tech .advisory-right{ width: 100%; max-width: 500px; height: 400px; }
body.page-tech .stack-card{ align-items: center; text-align: center; }
body.page-tech .assessment-grid{ grid-template-columns: 1fr; }
        }
        @media (max-width: 768px) { 
body.page-tech .snapshot-grid{ grid-template-columns: 1fr; gap: 30px; } 
body.page-tech nav{ padding: 18px 5%; }
body.page-tech .nav-toggle{ display: inline-flex; }
body.page-tech .nav-links{ display: none; position: fixed; top: 76px; left: 5%; right: 5%; flex-direction: column; gap: 16px; background: rgba(1, 1, 3, 0.9); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; padding: 18px; z-index: 60; opacity: 0; transform: translateY(-8px); transition: opacity 0.3s ease, transform 0.3s ease; } 
body.page-tech .nav-spacer{ display: none; }
body.page-tech.nav-open .nav-links{ display: flex; opacity: 1; transform: translateY(0); }
body.page-tech .stack-card{ padding: 30px 20px; }
body.page-tech .stack-card h3{ font-size: 24px; }
body.page-tech .assess-card{ padding: 24px; }
        }


/* contact.html */
body.page-contact{
            --bg-dark: #010103;
            --bg-bottom: #05050A;
            --brand-indigo: #3D44FF; 
            --brand-light-indigo: #5A6EFF;
            --brand-deep: #1A1B4B;
            --text-muted: #84848F;
        }

body.page-contact *{ margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

body.page-contact{
            background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-bottom) 100%);
            color: #fff;
            overflow-x: hidden;
            min-height: 100vh;
        }

        /* --- 0. NARRATIVE CANVAS BACKGROUND --- */
body.page-contact #value-flow-canvas{
            position: fixed; inset: 0; z-index: -4; width: 100%; height: 100vh;
            background-color: var(--bg-dark);
        }

body.page-contact .vignette{ 
            position: fixed; inset: 0; 
            background: radial-gradient(circle at 50% 50%, transparent 15%, var(--bg-dark) 95%); 
            z-index: -3; pointer-events: none; 
        }

        /* --- 1. NAVIGATION --- */
body.page-contact nav{ position: fixed; top: 0; left: 0; width: 100%; padding: 30px 5%; display: flex; justify-content: space-between; align-items: center; z-index: 50; background-color: rgba(1, 1, 3, 0.5); }
body.page-contact .logo svg{ width: 32px; height: 32px; fill: #fff; }
body.page-contact .nav-links{ display: flex; gap: 40px; }
body.page-contact .nav-links a{ color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.3s; }
body.page-contact .nav-links a.active, body.page-contact .nav-links a:hover{ color: #fff; }
body.page-contact .nav-toggle{ display: none; width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(1, 1, 3, 0.35); color: #fff; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
body.page-contact .nav-toggle svg{ width: 22px; height: 22px; fill: #fff; transition: transform 0.3s ease; }
body.page-contact .nav-toggle .hamburger-icon path{ transition: transform 0.3s ease, opacity 0.3s ease; transform-origin: 25px 25px; }
body.page-contact .nav-toggle .close-icon{ opacity: 0; transform: scale(0.8); transform-origin: 25px 25px; transition: opacity 0.3s ease, transform 0.3s ease; }
body.page-contact.nav-open .nav-toggle .hamburger-icon path{ opacity: 0; transform: scale(0.8); }
body.page-contact.nav-open .nav-toggle .close-icon{ opacity: 1; transform: scale(1); }
body.page-contact .nav-spacer{ width: 32px; }

        /* --- 2. HERO --- */
body.page-contact .contact-hero{ display: none; }
body.page-contact .contact-hero-content{ max-width: 560px; }
body.page-contact .hero-kicker{ font-size: 14px; font-weight: 700; letter-spacing: 0.5em; text-transform: uppercase; color: var(--brand-indigo); margin-bottom: 24px; }
body.page-contact .contact-hero h1{ font-size: clamp(72px, 10vw, 140px); font-weight: 600; line-height: 1.02; letter-spacing: -0.04em; margin-bottom: 24px; }
body.page-contact .contact-hero p{ font-size: clamp(24px, 3.2vw, 36px); color: var(--text-muted); line-height: 1.6; font-weight: 300; }

        /* --- 3. CONTACT GRID --- */
body.page-contact .contact-grid{ width: 100%; max-width: 1200px; margin: 0 auto; padding: 140px 5% 120px; display: grid; grid-template-columns: 0.95fr 1.1fr; gap: 40px; position: relative; z-index: 10; align-items: start; }
body.page-contact .contact-hero-panel{ display: flex; justify-content: center; align-items: flex-start; }
body.page-contact .contact-hero-content{ text-align: left; }

body.page-contact .contact-form-panel{ background: rgba(9, 10, 22, 0.8); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 24px; padding: 40px; box-shadow: 0 30px 60px rgba(0,0,0,0.4); }
body.page-contact .lead-form{ display: flex; flex-direction: column; gap: 18px; }
body.page-contact .form-row{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
body.page-contact .field{ display: flex; flex-direction: column; gap: 8px; }
body.page-contact label{ font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255,255,255,0.6); }
body.page-contact input, body.page-contact select, body.page-contact textarea{ background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 12px 14px; color: #fff; font-size: 14px; outline: none; transition: border 0.2s ease, box-shadow 0.2s ease; }
body.page-contact input:focus, body.page-contact select:focus, body.page-contact textarea:focus{ border-color: rgba(90, 110, 255, 0.7); box-shadow: 0 0 0 3px rgba(90,110,255,0.2); }
body.page-contact textarea{ resize: vertical; min-height: 140px; }
body.page-contact select{ appearance: none; background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.6) 50%), linear-gradient(135deg, rgba(255,255,255,0.6) 50%, transparent 50%); background-position: calc(100% - 18px) calc(1em + 2px), calc(100% - 13px) calc(1em + 2px); background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
body.page-contact .consent{ display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.7); text-transform: none; letter-spacing: 0; }
body.page-contact .consent input{ width: 16px; height: 16px; accent-color: var(--brand-indigo); }
body.page-contact .btn-primary{ display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; background: var(--brand-indigo); border: 1px solid transparent; color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
body.page-contact .btn-primary svg{ width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
body.page-contact .btn-primary:hover{ transform: translateY(-2px); background: var(--brand-light-indigo); box-shadow: 0 12px 30px rgba(61, 68, 255, 0.35); }

        /* Media Queries */
        @media (max-width: 992px) {
body.page-contact .contact-grid{ grid-template-columns: 1fr; padding-top: 120px; }
body.page-contact .contact-hero-panel{ justify-content: flex-start; }
body.page-contact .contact-hero-content{ max-width: 100%; }
        }
        @media (max-width: 768px) {
body.page-contact nav{ padding: 18px 5%; }
body.page-contact .nav-toggle{ display: inline-flex; }
body.page-contact .nav-links{ display: none; position: fixed; top: 76px; left: 5%; right: 5%; flex-direction: column; gap: 16px; background: rgba(1, 1, 3, 0.9); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; padding: 18px; z-index: 60; opacity: 0; transform: translateY(-8px); transition: opacity 0.3s ease, transform 0.3s ease; }
body.page-contact .nav-spacer{ display: none; }
body.page-contact.nav-open .nav-links{ display: flex; opacity: 1; transform: translateY(0); }
body.page-contact .form-row{ grid-template-columns: 1fr; }
body.page-contact .contact-form-panel, body.page-contact .info-card{ padding: 28px; }
        }

.contact-heading {
        font-size: 3.5em !important;
}

.contact-subheading {
        font-size: 1.5em !important;
        line-height: 1.75em !important;
}
