 body { 
            font-family: 'Inter', sans-serif; 
            background-color: #0f172a; 
            overflow-x: clip;
            color: #e2e8f0;
        }
        h1, h2, h3, h4, .serif { font-family: 'Playfair Display', serif; }
        
        .bg-grid-pattern {
            background-image: linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
                              linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
            background-size: 40px 40px;
        }

        .orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(100px);
            z-index: 1;
            animation: float 20s infinite ease-in-out alternate;
            pointer-events: none;
            will-change: auto;
            transform: translateZ(0);
            backface-visibility: hidden;
        }
        .orb-gold { background: rgba(197, 160, 89, 0.12); }
        .orb-sapphire { background: rgba(30, 64, 175, 0.12); }
        .orb-emerald { background: rgba(6, 78, 59, 0.12); }
        .orb-wine { background: rgba(114, 47, 55, 0.1); }
        
        @keyframes float {
            0% { transform: translate(0, 0) scale(1); }
            50% { transform: translate(50px, -50px) scale(1.2); }
            100% { transform: translate(-30px, 30px) scale(0.9); }
        }

        .glass-panel {
            background: rgba(255, 255, 255, 0.02);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 30px 60px -10px rgba(0,0,0,0.5);
            transition-property: transform, border-color, box-shadow, background-color;
        }
        
        .form-glass {
            background: rgba(15, 23, 42, 0.6);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        /* Scroll reveals — opacity/transform only (no filter blur; that tanks scroll FPS) */
        .forensic-page-scale .reveal-blur,
        .reveal-blur {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
            will-change: opacity, transform;
        }
        .forensic-page-scale .reveal-blur.active,
        .reveal-blur.active {
            opacity: 1;
            transform: none;
            will-change: auto;
        }

        .forensic-page-scale .reveal-slide-left,
        .reveal-slide-left {
            opacity: 0;
            transform: translateX(-28px);
            transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
            will-change: opacity, transform;
        }
        .forensic-page-scale .reveal-slide-left.active,
        .reveal-slide-left.active {
            opacity: 1;
            transform: none;
            will-change: auto;
        }

        .forensic-page-scale .reveal-slide-right,
        .reveal-slide-right {
            opacity: 0;
            transform: translateX(28px);
            transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
            will-change: opacity, transform;
        }
        .forensic-page-scale .reveal-slide-right.active,
        .reveal-slide-right.active {
            opacity: 1;
            transform: none;
            will-change: auto;
        }

        /* Sequential Cascades */
        .cascade-group .cascade-item {
            opacity: 0;
            transform: translateY(15px);
            transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .cascade-group.active .cascade-item {
            opacity: 1;
            transform: none;
        }
        .cascade-delay-1 { transition-delay: 0.1s; }
        .cascade-delay-2 { transition-delay: 0.2s; }
        .cascade-delay-3 { transition-delay: 0.3s; }

        .btn-premium {
            background: linear-gradient(135deg, #c5a059 0%, #aa8642 100%);
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            position: relative;
            overflow: hidden;
        }
        .btn-premium::after {
            content: '';
            position: absolute;
            top: 0; left: -100%; width: 50%; height: 100%;
            background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
            transform: skewX(-20deg);
            transition: all 0.7s ease;
        }
        .btn-premium:hover::after { left: 150%; }
        .btn-premium:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 30px -5px rgba(197, 160, 89, 0.4);
        }

        #navbar { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
        .nav-scrolled {
            background: rgba(2, 6, 23, 0.95) !important;
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255,255,255,0.05);
            box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
        }

        .ledger-row {
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .ledger-row:hover {
            background: rgba(255,255,255,0.03);
            border-left-color: #c5a059;
            transform: translateX(5px);
        }

/* Desktop / tablet font scale — same as page-defense-strategy.css */
.forensic-page-scale p,
.forensic-page-scale p.text-xs,
.forensic-page-scale p.text-sm,
.forensic-page-scale p.text-base,
.forensic-page-scale p.text-lg {
    font-size: 1.65rem !important;
    line-height: 1.75 !important;
}

.forensic-page-scale :not(p).text-xs {
    font-size: 1rem !important;
}

.forensic-page-scale :not(p).text-sm {
    font-size: 1.15rem !important;
}

.forensic-page-scale :not(p).text-base {
    font-size: 1.25rem !important;
}

.forensic-page-scale h4,
.forensic-page-scale h4.text-xs,
.forensic-page-scale h4.text-sm,
.forensic-page-scale h4.text-base {
    font-size: 1.25rem !important;
    line-height: 1.4 !important;
}

.forensic-page-scale a,
.forensic-page-scale button {
    font-size: 1.05rem !important;
}

@media (min-width: 768px) and (max-width: 1439px) {

    .forensic-page-scale p,
    .forensic-page-scale p.text-xs,
    .forensic-page-scale p.text-sm,
    .forensic-page-scale p.text-base,
    .forensic-page-scale p.text-lg {
        font-size: 1.7rem !important;
        line-height: 1.8 !important;
    }

    .forensic-page-scale h4,
    .forensic-page-scale h4.text-xs,
    .forensic-page-scale h4.text-sm,
    .forensic-page-scale h4.text-base {
        font-size: 1.35rem !important;
    }
}

@media (min-width: 1440px) {

    .forensic-page-scale p,
    .forensic-page-scale p.text-xs,
    .forensic-page-scale p.text-sm,
    .forensic-page-scale p.text-base,
    .forensic-page-scale p.text-lg {
        font-size: 1.9rem !important;
        line-height: 1.85 !important;
    }

    .forensic-page-scale h4,
    .forensic-page-scale h4.text-xs,
    .forensic-page-scale h4.text-sm,
    .forensic-page-scale h4.text-base {
        font-size: 1.5rem !important;
    }
}

/* ---------- Mobile typography + section padding (same as page-defense-strategy) ---------- */
@media (max-width: 767px) {

    .template-font-scale.forensic-page-scale p,
    .template-font-scale.forensic-page-scale p.text-xs,
    .template-font-scale.forensic-page-scale p.text-sm,
    .template-font-scale.forensic-page-scale p.text-base,
    .template-font-scale.forensic-page-scale p.text-lg,
    .template-font-scale.forensic-page-scale p.text-xl,
    .template-font-scale.forensic-page-scale p.text-2xl,
    .forensic-page-scale p,
    .forensic-page-scale p.text-xs,
    .forensic-page-scale p.text-sm,
    .forensic-page-scale p.text-base,
    .forensic-page-scale p.text-lg,
    .forensic-page-scale p.text-xl,
    .forensic-page-scale p.text-2xl {
        font-size: 1.05rem !important;
        line-height: 1.65 !important;
    }

    .template-font-scale.forensic-page-scale :not(p).text-xs,
    .forensic-page-scale :not(p).text-xs {
        font-size: 0.7rem !important;
        line-height: 1.4 !important;
    }

    .template-font-scale.forensic-page-scale :not(p).text-sm,
    .forensic-page-scale :not(p).text-sm {
        font-size: 0.85rem !important;
        line-height: 1.45 !important;
    }

    .template-font-scale.forensic-page-scale :not(p).text-base,
    .forensic-page-scale :not(p).text-base {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }

    .template-font-scale.forensic-page-scale :not(p).text-lg,
    .forensic-page-scale :not(p).text-lg {
        font-size: 1.05rem !important;
        line-height: 1.55 !important;
    }

    .template-font-scale.forensic-page-scale :not(p).text-xl,
    .forensic-page-scale :not(p).text-xl {
        font-size: 1.15rem !important;
    }

    .template-font-scale.forensic-page-scale :not(p).text-2xl,
    .forensic-page-scale :not(p).text-2xl {
        font-size: 1.25rem !important;
    }

    .template-font-scale.forensic-page-scale h1,
    .forensic-page-scale h1 {
        font-size: 2.15rem !important;
        line-height: 1.1 !important;
    }

    .template-font-scale.forensic-page-scale h2,
    .forensic-page-scale h2 {
        font-size: 1.75rem !important;
        line-height: 1.15 !important;
    }

    .template-font-scale.forensic-page-scale h3,
    .forensic-page-scale h3 {
        font-size: 1.25rem !important;
        line-height: 1.25 !important;
    }

    .template-font-scale.forensic-page-scale h4,
    .forensic-page-scale h4,
    .forensic-page-scale h4.text-xs,
    .forensic-page-scale h4.text-sm,
    .forensic-page-scale h4.text-base,
    .forensic-page-scale h4.text-2xl,
    .forensic-page-scale h4.text-3xl {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
    }

    .template-font-scale.forensic-page-scale a,
    .template-font-scale.forensic-page-scale button,
    .forensic-page-scale a,
    .forensic-page-scale button {
        font-size: 0.85rem !important;
        line-height: 1.35 !important;
    }

    .forensic-page-scale .text-\[16px\] {
        font-size: 0.7rem !important;
        letter-spacing: 0.12em;
    }

    .forensic-page-scale .text-\[20px\] {
        font-size: 0.8rem !important;
        line-height: 1.55 !important;
    }

    .forensic-page-scale .text-\[11px\] {
        font-size: 0.7rem !important;
        line-height: 1.5 !important;
    }

    /* Section breathing room on mobile */
    .forensic-page-scale > section {
        padding-top: 4.5rem !important;
        padding-bottom: 4.5rem !important;
    }

    .forensic-page-scale > section:first-child {
        padding-top: 6.5rem !important;
        padding-bottom: 3.5rem !important;
    }

    .forensic-page-scale section > [class*="max-w-"] {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    .forensic-page-scale .gap-16 {
        gap: 2.5rem !important;
    }

    .forensic-page-scale .glass-panel {
        padding: 1.25rem !important;
        border-radius: 1.5rem !important;
    }

    /* Lighter paint cost while scrolling on this page */
    .forensic-page-scale .orb {
        filter: blur(40px) !important;
        animation: none !important;
        opacity: 0.45 !important;
    }

    .forensic-page-scale .glass-panel,
    .forensic-page-scale .form-glass {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background-color: rgba(9, 17, 34, 0.92) !important;
    }

    .forensic-page-scale .md\:bg-fixed {
        background-attachment: scroll !important;
    }
}
