        /* ---------- RESET & BASE ---------- */
        *,
        *::before,
        *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
        }

        body {
            font-family: var(--font-sans);
            background: var(--color-bg-deep);
            color: var(--color-text-primary);
            line-height: 1.7;
            transition: background 0.35s ease, color 0.35s ease;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* ---------- CUSTOM PROPERTIES (DARK) ---------- */
        :root {
            --color-bg-deep: #140433;
            --color-bg-mid: #290338;
            --color-bg-warm: #3D0D06;

            /* ---- Primary Accent: Ice Blue / Cyan ---- */
            --color-primary: #8ECAE6;
            --color-primary-hover: #A8D8F0;
            --color-primary-muted: #6AB0D0;
            --color-primary-dark: #3A809A;

            /* ---- Text ---- */
            --color-text-primary: #F5F0EB;
            --color-text-secondary: #C8C0D4;
            --color-text-muted: #8A7A9E;
            --color-text-inverse: #140433;

            /* ---- Borders & Surfaces ---- */
            --color-border: #3A2A50;
            --color-border-light: #5A3A7A;
            --color-glass: rgba(20, 4, 51, 0.88);

            /* ---- Shadows & Glows ---- */
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
            --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
            --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
            --glow-primary: 0 0 30px rgba(142, 202, 230, 0.15);

            /* ---- Gradients ---- */
            --gradient-primary: linear-gradient(135deg, #3D0D06 0%, #290338 40%, #140433 100%);
            --gradient-accent: linear-gradient(135deg, #8ECAE6 0%, #6AB0D0 50%, #3A809A 100%);
            --gradient-blood: linear-gradient(135deg, #3D0D06 0%, #290338 100%);

            /* ---- Typography ---- */
            --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            --font-mono: 'JetBrains Mono', 'Courier New', monospace;

            /* ---- Spacing ---- */
            --space-xs: 0.25rem;
            --space-sm: 0.5rem;
            --space-md: 1rem;
            --space-lg: 2rem;
            --space-xl: 4rem;
            --space-xxl: 6rem;

            /* ---- Radius ---- */
            --radius-sm: 4px;
            --radius-md: 8px;
            --radius-lg: 16px;
            --radius-xl: 24px;
            --radius-full: 9999px;

            /* ---- Transitions ---- */
            --transition-fast: 0.15s ease;
            --transition-base: 0.3s ease;
            --transition-slow: 0.5s ease;

            /* ---- Header Height ---- */
            --header-height: 80px;
            --header-height-scrolled: 64px;
        }

        /* ---------- LIGHT THEME ---------- */
        [data-theme="light"] {
            --color-bg-deep: #F8F4F0;
            --color-bg-mid: #EDE8E0;
            --color-bg-warm: #F5E8E0;

            --color-primary: #3A809A;
            --color-primary-hover: #6AB0D0;
            --color-primary-muted: #8ECAE6;
            --color-primary-dark: #2A5A6A;

            --color-text-primary: #140433;
            --color-text-secondary: #3A2A50;
            --color-text-muted: #7A6A8E;
            --color-text-inverse: #F5F0EB;

            --color-border: #D5C8E0;
            --color-border-light: #C8B8D8;
            --color-glass: rgba(248, 244, 240, 0.90);

            --shadow-sm: 0 2px 8px rgba(20, 4, 51, 0.08);
            --shadow-md: 0 8px 32px rgba(20, 4, 51, 0.10);
            --shadow-lg: 0 20px 60px rgba(20, 4, 51, 0.12);
            --glow-primary: 0 0 30px rgba(58, 128, 154, 0.10);

            --gradient-primary: linear-gradient(135deg, #F5E8E0 0%, #EDE8E0 40%, #F8F4F0 100%);
            --gradient-blood: linear-gradient(135deg, #EDE8E0 0%, #F5E8E0 100%);
        }

        /* ---------- UTILITY ---------- */
        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 var(--space-lg);
            width: 100%;
        }

        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            border: 0;
        }

        /* ---------- SKIP LINK ---------- */
        .skip-link {
            position: fixed;
            top: var(--space-md);
            left: 50%;
            transform: translateX(-50%) translateY(-200%);
            background: var(--color-primary);
            color: var(--color-text-inverse);
            padding: var(--space-sm) var(--space-lg);
            border-radius: var(--radius-md);
            font-weight: 600;
            z-index: 9999;
            transition: transform 0.3s ease;
            text-decoration: none;
            font-size: 0.9rem;
        }

        .skip-link:focus {
            transform: translateX(-50%) translateY(0);
        }

        /* ============================================================
               HEADER
               ============================================================ */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            height: var(--header-height);
            display: flex;
            align-items: center;
            background: transparent;
            transition: background 0.4s ease, height 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
            border-bottom: 1px solid transparent;
        }

        .site-header.scrolled {
            height: var(--header-height-scrolled);
            background: var(--color-glass);
            backdrop-filter: blur(16px) saturate(1.2);
            -webkit-backdrop-filter: blur(16px) saturate(1.2);
            border-bottom: 1px solid rgba(142, 202, 230, 0.12);
            box-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
        }

        [data-theme="light"] .site-header.scrolled {
            border-bottom: 1px solid rgba(58, 128, 154, 0.12);
            box-shadow: 0 4px 40px rgba(20, 4, 51, 0.06);
        }

        .site-header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: var(--space-lg);
        }
header.site-nav .brand-suffix {
    color: var(--color-text-muted);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    margin-left: 2px;
    align-self: flex-end;  
    margin-bottom: 3px;
}
        /* ---- Logo ---- */
        .site-logo {
            display: flex;
            flex-direction: column;
            text-decoration: none;
            flex-shrink: 0;
            line-height: 1.1;
        }

        .site-logo__name {
            font-family: var(--font-serif);
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--color-text-primary);
            letter-spacing: 0.04em;
            transition: color 0.3s ease;
        }

        .site-logo__name span {
            color: var(--color-primary);
        }

        .site-logo__tagline {
            font-family: var(--font-mono);
            font-size: 0.55rem;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            color: var(--color-primary);
            opacity: 0.8;
            margin-top: -2px;
            transition: color 0.3s ease;
        }

        .site-header.scrolled .site-logo__name {
            font-size: 1.3rem;
        }

        .site-header.scrolled .site-logo__tagline {
            font-size: 0.45rem;
        }

        /* ---- Navigation ---- */
        .site-nav {
            display: flex;
            align-items: center;
            gap: var(--space-lg);
        }

        .site-nav__list {
            display: flex;
            align-items: center;
            gap: var(--space-lg);
            list-style: none;
        }

        .site-nav__link {
            font-family: var(--font-sans);
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--color-text-secondary);
            text-decoration: none;
            letter-spacing: 0.02em;
            transition: color 0.25s ease, border-color 0.25s ease;
            border-bottom: 2px solid transparent;
            padding-bottom: 4px;
            position: relative;
        }

        .site-nav__link::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--color-primary);
            transition: width 0.3s ease;
        }

        .site-nav__link:hover {
            color: var(--color-text-primary);
        }

        .site-nav__link:hover::after {
            width: 100%;
        }

        .site-nav__link:focus-visible {
            outline: 2px solid var(--color-primary);
            outline-offset: 4px;
            border-radius: var(--radius-sm);
        }

        /* ---- Theme Toggle ---- */
        .theme-toggle {
            background: rgba(142, 202, 230, 0.03);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-full);
            width: 42px;
            height: 42px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 1.2rem;
            color: var(--color-text-secondary);
            transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
            flex-shrink: 0;
            position: relative;
        }

        .theme-toggle:hover {
            border-color: var(--color-primary);
            background: rgba(142, 202, 230, 0.08);
            transform: rotate(12deg);
        }

        .theme-toggle:focus-visible {
            outline: 2px solid var(--color-primary);
            outline-offset: 3px;
        }

        .theme-toggle__icon {
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.4s ease;
        }

        [data-theme="dark"] .theme-toggle__icon .sun {
            display: none;
        }
        [data-theme="dark"] .theme-toggle__icon .moon {
            display: inline-block;
        }
        [data-theme="light"] .theme-toggle__icon .sun {
            display: inline-block;
        }
        [data-theme="light"] .theme-toggle__icon .moon {
            display: none;
        }

        .theme-toggle__icon svg {
            width: 20px;
            height: 20px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        /* ---- CTA Button ---- */
        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: var(--space-sm);
            font-family: var(--font-sans);
            font-weight: 600;
            font-size: 0.85rem;
            padding: 0.6rem 1.5rem;
            border-radius: var(--radius-full);
            background: var(--color-primary);
            color: var(--color-text-inverse);
            text-decoration: none;
            border: none;
            cursor: pointer;
            transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
            box-shadow: 0 4px 20px rgba(142, 202, 230, 0.2);
            white-space: nowrap;
            letter-spacing: 0.01em;
        }

        .btn-primary:hover {
            background: var(--color-primary-hover);
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(142, 202, 230, 0.3);
        }

        .btn-primary:focus-visible {
            outline: 3px solid var(--color-primary);
            outline-offset: 3px;
        }

        [data-theme="light"] .btn-primary {
            box-shadow: 0 4px 20px rgba(58, 128, 154, 0.15);
        }
        [data-theme="light"] .btn-primary:hover {
            box-shadow: 0 8px 30px rgba(58, 128, 154, 0.25);
        }

        .btn-secondary {
            display: inline-flex;
            align-items: center;
            gap: var(--space-sm);
            font-family: var(--font-sans);
            font-weight: 500;
            font-size: 0.85rem;
            padding: 0.6rem 1.5rem;
            border-radius: var(--radius-full);
            background: transparent;
            color: var(--color-text-secondary);
            text-decoration: none;
            border: 1px solid var(--color-border);
            cursor: pointer;
            transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
            white-space: nowrap;
            letter-spacing: 0.01em;
        }

        .btn-secondary:hover {
            color: var(--color-text-primary);
            border-color: var(--color-primary);
            background: rgba(142, 202, 230, 0.05);
        }

        /* ---- Mobile Menu Toggle ---- */
        .mobile-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: var(--space-sm);
            border-radius: var(--radius-sm);
            transition: background 0.3s ease;
        }

        .mobile-toggle:hover {
            background: rgba(142, 202, 230, 0.06);
        }

        .mobile-toggle__bar {
            display: block;
            width: 24px;
            height: 2px;
            background: var(--color-text-primary);
            border-radius: 2px;
            transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
            transform-origin: center;
        }

        .mobile-toggle[aria-expanded="true"] .mobile-toggle__bar:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }
        .mobile-toggle[aria-expanded="true"] .mobile-toggle__bar:nth-child(2) {
            opacity: 0;
            transform: scaleX(0);
        }
        .mobile-toggle[aria-expanded="true"] .mobile-toggle__bar:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }

        /* ---- Header Actions (right side) ---- */
        .header-actions {
            display: flex;
            align-items: center;
            gap: var(--space-md);
            flex-shrink: 0;
        }

        /* ---- Mobile Navigation ---- */
        @media (max-width: 1024px) {
            .site-nav__list {
                position: fixed;
                top: 0;
                right: -320px;
                width: 300px;
                height: 100vh;
                background: var(--color-bg-mid);
                backdrop-filter: blur(20px);
                -webkit-backdrop-filter: blur(20px);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: var(--space-xl);
                padding: var(--space-xxl) var(--space-xl);
                transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
                border-left: 1px solid var(--color-border);
                box-shadow: var(--shadow-lg);
                list-style: none;
                overflow-y: auto;
            }

            [data-theme="light"] .site-nav__list {
                background: var(--color-bg-mid);
            }

            .site-nav__list.is-open {
                right: 0;
            }

            .site-nav__link {
                font-size: 1.2rem;
                font-weight: 500;
            }

            .mobile-toggle {
                display: flex;
            }

            .header-actions .btn-primary .btn-label {
                display: none;
            }

            .header-actions .btn-primary {
                padding: 0.5rem 1rem;
                font-size: 0.75rem;
            }
        }

        @media (max-width: 600px) {
            :root {
                --header-height: 68px;
                --header-height-scrolled: 56px;
            }

            .site-logo__name {
                font-size: 1.5rem;
            }
            .site-logo__tagline {
                font-size: 0.45rem;
            }
            .site-header.scrolled .site-logo__name {
                font-size: 1rem;
            }
            .site-header.scrolled .site-logo__tagline {
                font-size: 0.4rem;
            }
            .theme-toggle {
                width: 36px;
                height: 36px;
                font-size: 1rem;
            }
            .site-nav__list {
                width: 100%;
                right: -100%;
            }
        }

        .site-main {
            flex: 1 0 auto;
            padding-top: var(--header-height);
            min-height: 80vh;
        }

        .site-footer {
            flex-shrink: 0;
            background: var(--color-bg-deep);
            border-top: 1px solid var(--color-border);
            padding: var(--space-xl) 0 var(--space-lg);
            transition: background 0.35s ease, border-color 0.35s ease;
            margin-top: var(--space-xxl);
        }

        [data-theme="light"] .site-footer {
            background: var(--color-bg-deep);
        }

        .site-footer .container {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: var(--space-xl);
            align-items: start;
        }

        /* ---- Footer Brand ---- */
        .footer-brand {
            display: flex;
            flex-direction: column;
            gap: var(--space-md);
        }

        .footer-brand__name {
            font-family: var(--font-serif);
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--color-text-primary);
            letter-spacing: 0.04em;
        }

        .footer-brand__name span {
            color: var(--color-primary);
        }

        .footer-brand__tagline {
            font-family: var(--font-mono);
            font-size: 0.7rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--color-primary);
            opacity: 0.8;
        }

        .footer-brand__desc {
            color: var(--color-text-secondary);
            font-size: 0.95rem;
            max-width: 320px;
            line-height: 1.6;
        }

        .footer-brand__social {
            display: flex;
            gap: var(--space-md);
            margin-top: var(--space-sm);
        }

        .footer-brand__social a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: var(--radius-full);
            border: 1px solid var(--color-border);
            color: var(--color-text-muted);
            transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
            text-decoration: none;
        }

        .footer-brand__social a:hover {
            color: var(--color-primary);
            border-color: var(--color-primary);
            background: rgba(142, 202, 230, 0.06);
            transform: translateY(-3px);
        }

        .footer-brand__social a svg {
            width: 18px;
            height: 18px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .footer-col__toggle {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: var(--space-sm);
            width: 100%;
            background: none;
            border: none;
            padding: 0;
            font: inherit;
            font-family: var(--font-sans);
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: var(--color-text-muted);
            margin-bottom: var(--space-md);
            cursor: default;
        }

        .footer-col__toggle::after {
            content: '';
            display: none;
        }

        .footer-col ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: var(--space-sm);
        }

        .footer-col ul a {
            color: var(--color-text-secondary);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.25s ease, padding-left 0.25s ease;
            display: inline-block;
        }

        .footer-col ul a:hover {
            color: var(--color-primary);
            padding-left: var(--space-sm);
        }

        .footer-col ul a:focus-visible {
            outline: 2px solid var(--color-primary);
            outline-offset: 4px;
            border-radius: var(--radius-sm);
        }

        /* ---- Footer Bottom ---- */
        .footer-bottom {
            grid-column: 1 / -1;
            border-top: 1px solid var(--color-border);
            padding-top: var(--space-lg);
            margin-top: var(--space-lg);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: var(--space-md);
        }

        .footer-bottom p {
            font-size: 0.8rem;
            color: var(--color-text-muted);
        }

        .footer-bottom__links {
            display: flex;
            gap: var(--space-lg);
            flex-wrap: wrap;
        }

        .footer-bottom__links a {
            font-size: 0.8rem;
            color: var(--color-text-muted);
            text-decoration: none;
            transition: color 0.25s ease;
        }

        .footer-bottom__links a:hover {
            color: var(--color-text-primary);
        }

        .footer-bottom__tech {
            font-family: var(--font-mono);
            font-size: 0.65rem;
            color: var(--color-text-muted);
            opacity: 0.5;
            letter-spacing: 0.04em;
        }

        /* ---- Footer Responsive ---- */
        @media (max-width: 1024px) {
            .site-footer .container {
                grid-template-columns: 1fr 1fr;
                gap: var(--space-xl);
            }
            .footer-brand {
                grid-column: 1 / -1;
            }
            .footer-brand__desc {
                max-width: 100%;
            }
        }

        @media (max-width: 600px) {
            .site-footer {
                padding: var(--space-lg) 0 var(--space-md);
                margin-top: var(--space-xl);
            }
            .site-footer .container {
                grid-template-columns: 1fr;
                gap: var(--space-md);
            }
            .footer-brand__social {
                justify-content: center;
            }
            .footer-brand__desc {
                text-align: center;
            }

            .footer-col {
                border-top: 1px solid var(--color-border);
                padding: var(--space-sm) 0;
            }
            .footer-col__toggle {
                cursor: pointer;
                margin-bottom: 0;
            }
            .footer-col__toggle::after {
                display: inline-block;
                content: '+';
                font-family: var(--font-mono);
                font-size: 0.95rem;
                font-weight: 400;
                color: var(--color-text-muted);
                transition: transform 0.3s ease, color 0.25s ease;
            }
            .footer-col.is-open .footer-col__toggle {
                margin-bottom: var(--space-sm);
            }
            .footer-col.is-open .footer-col__toggle::after {
                transform: rotate(45deg);
            }
            .footer-col ul {
                display: none;
                align-items: flex-start;
                padding-left: 2px;
            }
            .footer-col.is-open ul {
                display: flex;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
                border-top: none;
                padding-top: var(--space-md);
                margin-top: 0;
                gap: var(--space-sm);
            }
            .footer-bottom__links {
                justify-content: center;
                gap: var(--space-md);
            }
        }
        
        @media (max-width: 480px) {
            .container {
                padding: 0 var(--space-md);
            }
            .header-actions .btn-primary {
                padding: 0.4rem 0.8rem;
                font-size: 0.7rem;
            }
            .theme-toggle {
                width: 32px;
                height: 32px;
            }
            .theme-toggle__icon svg {
                width: 16px;
                height: 16px;
            }
        }

        /* ---------- SCROLLBAR ---------- */
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }
        ::-webkit-scrollbar-track {
            background: var(--color-bg-deep);
        }
        ::-webkit-scrollbar-thumb {
            background: var(--color-border-light);
            border-radius: var(--radius-full);
        }
        ::-webkit-scrollbar-thumb:hover {
            background: var(--color-primary-muted);
        }

        /* ---------- SELECTION ---------- */
        ::selection {
            background: var(--color-primary);
            color: var(--color-text-inverse);
        }

        /* ---------- PRINT ---------- */
        @media print {
            .site-header,
            .site-footer {
                display: none !important;
            }
            .site-main {
                padding-top: 0 !important;
            }
            body {
                background: white !important;
                color: black !important;
            }
        }

        /* Shared index-style header */
        header.site-nav {
            position: sticky;
            top: 0;
            z-index: 50;
            display: block;
            background: var(--color-glass);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border-bottom: 1px solid var(--color-border);
        }

        header.site-nav .wrap {
            max-width: 1180px;
            margin: 0 auto;
            padding: 0 32px;
        }

        header.site-nav .nav-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 76px;
            gap: var(--space-lg);
        }

        header.site-nav .brand {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--color-text-primary);
            font-family: var(--font-serif);
            font-weight: 600;
            font-size: 1.1rem;
            letter-spacing: 0.01em;
            text-decoration: none;
            flex-shrink: 0;
        }

        header.site-nav .brand-mark {
            width: 70px;
            height: 70px;
            flex-shrink: 0;
        }

        header.site-nav .brand-mark svg {
            width: 100%;
            height: 100%;
        }

        header.site-nav .brand-suffix {
            color: var(--color-text-muted);
            font-family: var(--font-mono);
            font-size: 0.62rem;
            letter-spacing: 0.08em;
            margin-left: 2px;
            align-self: flex-end;
            margin-bottom: 3px;
        }

        header.site-nav .nav-links {
            display: flex;
            align-items: center;
            gap: 36px;
            font-size: 0.92rem;
        }

        header.site-nav .nav-links a {
            position: relative;
            padding-bottom: 4px;
            color: var(--color-text-secondary);
            text-decoration: none;
        }

        header.site-nav .nav-links a::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 0;
            height: 1px;
            background: var(--color-primary);
            transition: width 0.3s ease;
        }

        header.site-nav .nav-links a:hover,
        header.site-nav .nav-links a.is-active {
            color: var(--color-text-primary);
        }

        header.site-nav .nav-links a:hover::after,
        header.site-nav .nav-links a.is-active::after {
            width: 100%;
        }

        header.site-nav .nav-cta {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        header.site-nav .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 22px;
            border-radius: 9px;
            white-space: nowrap;
        }

        header.site-nav .btn-ghost {
            color: var(--color-text-primary);
            background: transparent;
            border: 1px solid var(--color-border);
        }

        header.site-nav .btn-primary {
            color: var(--color-text-inverse);
            background: var(--color-primary);
        }

        @media (max-width: 900px) {
            header.site-nav .nav-links {
                display: none;
            }
        }

        @media (max-width: 640px) {
            header.site-nav .wrap {
                padding: 0 20px;
            }

            header.site-nav .nav-row {
                height: 60px;
            }

            header.site-nav .brand {
                font-size: 0.95rem;
            }

            header.site-nav .brand-suffix {
                font-size: 0.55rem;
            }

            header.site-nav .nav-cta .btn-ghost {
                display: none;
            }

            header.site-nav .btn {
                padding: 10px 14px;
                font-size: 0.8rem;
            }
        }
        .nav-utility {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-left: 4px;
            padding-left: 18px;
            border-left: 1px solid var(--color-border);
        }

        .icon-btn {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 42px;
            height: 42px;
            flex-shrink: 0;
            border-radius: var(--radius-full);
            border: 1px solid var(--color-border);
            background: rgba(142, 202, 230, 0.03);
            color: var(--color-text-secondary);
            cursor: pointer;
            transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .icon-btn svg {
            width: 18px;
            height: 18px;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .icon-btn:hover,
        .icon-btn:focus-visible {
            color: var(--color-primary);
            border-color: var(--color-primary);
            background: rgba(142, 202, 230, 0.08);
            transform: translateY(-2px);
            outline: none;
        }

        /* ---- Search ---- */
        .nav-search {
            position: relative;
            display: flex;
            align-items: center;
        }

        .nav-search__input {
            width: 0;
            min-width: 0;
            padding: 0;
            margin-left: 0;
            border: 1px solid transparent;
            border-radius: var(--radius-full);
            background: rgba(142, 202, 230, 0.04);
            color: var(--color-text-primary);
            font-family: var(--font-sans);
            font-size: 0.85rem;
            opacity: 0;
            pointer-events: none;
            transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, padding 0.45s ease, margin 0.45s ease, border-color 0.3s ease;
        }

        .nav-search.is-active .nav-search__input {
            width: 200px;
            padding: 0 16px;
            margin-left: 10px;
            opacity: 1;
            pointer-events: auto;
            border-color: var(--color-border-light);
        }

        .nav-search.is-active .nav-search__input:focus {
            outline: none;
            border-color: var(--color-primary);
        }

        .nav-search.is-active .icon-btn {
            color: var(--color-primary);
            border-color: var(--color-primary);
        }

        /* ---- Search results panel ---- */
        .nav-search__results {
            position: absolute;
            top: calc(100% + 12px);
            right: 0;
            width: 360px;
            max-height: 70vh;
            overflow-y: auto;
            background: var(--color-glass);
            backdrop-filter: blur(16px) saturate(1.2);
            -webkit-backdrop-filter: blur(16px) saturate(1.2);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-lg);
            padding: 8px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-6px);
            transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
            z-index: 60;
        }

        .nav-search__results.is-open {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .nav-search__group {
            margin-bottom: 4px;
        }

        .nav-search__group-label {
            display: block;
            padding: 10px 12px 6px;
            font-family: var(--font-mono);
            font-size: 0.62rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--color-text-muted);
        }

        .nav-search__item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            width: 100%;
            padding: 10px 12px;
            border: none;
            border-radius: var(--radius-md);
            background: transparent;
            color: inherit;
            text-align: left;
            cursor: pointer;
            transition: background 0.15s ease;
        }

        .nav-search__item:hover,
        .nav-search__item.is-active {
            background: rgba(142, 202, 230, 0.1);
        }

        .nav-search__item-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            flex-shrink: 0;
            border-radius: var(--radius-sm);
            background: rgba(142, 202, 230, 0.08);
            color: var(--color-primary);
            margin-top: 1px;
        }

        .nav-search__item-icon svg {
            width: 15px;
            height: 15px;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .nav-search__item-body { min-width: 0; }

        .nav-search__item-title {
            font-family: var(--font-sans);
            font-weight: 600;
            font-size: 0.86rem;
            color: var(--color-text-primary);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .nav-search__item-title mark {
            background: transparent;
            color: var(--color-primary);
            font-weight: 700;
        }

        .nav-search__item-desc {
            font-size: 0.76rem;
            color: var(--color-text-muted);
            line-height: 1.4;
            margin-top: 2px;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .nav-search__empty {
            padding: 22px 14px;
            text-align: center;
            font-size: 0.82rem;
            color: var(--color-text-muted);
        }

        .nav-search__empty strong {
            display: block;
            color: var(--color-text-secondary);
            margin-bottom: 4px;
        }

        .nav-search__hint {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 14px;
            padding: 10px 8px 6px;
            margin-top: 4px;
            border-top: 1px solid var(--color-border);
            font-family: var(--font-mono);
            font-size: 0.6rem;
            letter-spacing: 0.03em;
            color: var(--color-text-muted);
        }

        .nav-search__hint kbd {
            display: inline-block;
            padding: 1px 5px;
            margin-right: 4px;
            border: 1px solid var(--color-border);
            border-radius: 4px;
            font-family: var(--font-mono);
            font-size: 0.58rem;
            color: var(--color-text-secondary);
        }

        @media (max-width: 520px) {
            .nav-search__results {
                width: min(360px, calc(100vw - 32px));
                right: -8px;
            }
        }

        /* ---- Security status pill ---- */
        .icon-status {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 0 14px 0 10px;
            height: 42px;
            border-radius: var(--radius-full);
            border: 1px solid var(--color-border);
            background: rgba(142, 202, 230, 0.03);
            color: var(--color-text-muted);
            cursor: default;
            transition: border-color 0.3s ease, color 0.3s ease;
        }

        .icon-status:hover,
        .icon-status:focus-visible {
            border-color: rgba(142, 202, 230, 0.35);
            color: var(--color-text-secondary);
            outline: none;
        }

        .icon-status__pulse {
            display: flex;
            width: 16px;
            height: 16px;
        }

        .icon-status__pulse svg {
            width: 100%;
            height: 100%;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round;
            color: var(--color-primary);
        }

        .icon-status__dot {
            position: relative;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #6EE7A8;
            box-shadow: 0 0 0 0 rgba(110, 231, 168, 0.6);
            animation: statusPulse 2.4s ease-out infinite;
        }

        @keyframes statusPulse {
            0% { box-shadow: 0 0 0 0 rgba(110, 231, 168, 0.55); }
            70% { box-shadow: 0 0 0 7px rgba(110, 231, 168, 0); }
            100% { box-shadow: 0 0 0 0 rgba(110, 231, 168, 0); }
        }

        .icon-status__label {
            font-family: var(--font-mono);
            font-size: 0.68rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        /* ---- Command / grid toggle ---- */
        .icon-btn--toggle[aria-expanded="true"] {
            color: var(--color-primary);
            border-color: var(--color-primary);
            background: rgba(142, 202, 230, 0.1);
        }

        .grid-morph {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 1fr 1fr;
            gap: 3px;
            width: 16px;
            height: 16px;
        }

        .grid-morph i {
            display: block;
            width: 100%;
            height: 100%;
            background: currentColor;
            border-radius: 2px;
            transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1), border-radius 0.4s ease;
        }

        .icon-btn--toggle[aria-expanded="true"] .grid-morph i {
            border-radius: 1px;
        }

        .icon-btn--toggle[aria-expanded="true"] .grid-morph i:nth-child(1) { transform: translate(5.5px, 5.5px) rotate(45deg) scale(1.9, 0.55); }
        .icon-btn--toggle[aria-expanded="true"] .grid-morph i:nth-child(2) { transform: translate(-5.5px, 5.5px) rotate(-45deg) scale(1.9, 0.55); }
        .icon-btn--toggle[aria-expanded="true"] .grid-morph i:nth-child(3) { transform: translate(5.5px, -5.5px) rotate(-45deg) scale(1.9, 0.55); }
        .icon-btn--toggle[aria-expanded="true"] .grid-morph i:nth-child(4) { transform: translate(-5.5px, -5.5px) rotate(45deg) scale(1.9, 0.55); }

        @media (max-width: 900px) {
            .icon-status__label { display: none; }
            .icon-status { padding: 0 11px; gap: 6px; }
        }

        @media (max-width: 640px) {
            .nav-utility { padding-left: 12px; gap: 6px; }
            .icon-btn { width: 38px; height: 38px; }
            .icon-status { display: none; }

            .nav-search__input {
                position: fixed;
                top: 72px;
                left: 16px;
                right: 16px;
                width: auto;
                height: 50px;
                margin: 0;
                padding: 0 18px;
                font-size: 0.95rem;
                background: var(--color-glass);
                backdrop-filter: blur(18px) saturate(1.2);
                -webkit-backdrop-filter: blur(18px) saturate(1.2);
                box-shadow: var(--shadow-lg);
                z-index: 65;
                opacity: 0;
                transform: translateY(-8px);
                pointer-events: none;
                transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
            }

            .nav-search.is-active .nav-search__input {
                opacity: 1;
                transform: translateY(0);
                pointer-events: auto;
            }

            .nav-search.is-active .nav-search__results {
                position: fixed;
                top: 130px;
                left: 16px;
                right: 16px;
                width: auto;
                max-width: none;
                max-height: calc(100vh - 150px);
            }
        }

        .command-scrim {
            position: fixed;
            inset: 76px 0 0 0;
            background: rgba(6, 2, 16, 0.55);
            backdrop-filter: blur(3px);
            -webkit-backdrop-filter: blur(3px);
            opacity: 0;
            z-index: 45;
            transition: opacity 0.5s ease;
        }

        .command-scrim.is-visible { opacity: 1; }

        .command-panel {
            position: fixed;
            top: 76px;
            left: 0;
            right: 0;
            height: clamp(280px, 30vh, 460px);
            max-height: 0;
            overflow: hidden;
            z-index: 46;
            background:
                radial-gradient(ellipse 70% 120% at 50% 0%, rgba(142, 202, 230, 0.07) 0%, transparent 60%),
                linear-gradient(180deg, #0f0327 0%, #140433 55%, #170428 100%);
            border-bottom: 1px solid rgba(142, 202, 230, 0.16);
            box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.65);
            transition: max-height 0.75s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .command-panel.is-open {
            max-height: clamp(280px, 30vh, 460px);
        }

        /* Fixed to the panel's full open height so the particle field never
           resizes while the panel's max-height reveal is animating. */
        .command-panel__wash {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: clamp(280px, 30vh, 460px);
            overflow: hidden;
            pointer-events: none;
            mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 82%, transparent 100%);
            -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 82%, transparent 100%);
        }

        .command-panel__canvas {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            display: block;
            opacity: 0;
            transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
            pointer-events: none;
        }

        .command-panel.is-open .command-panel__canvas { opacity: 1; }

        /* ---- Content layer ---- */
        .command-panel__inner {
            position: relative;
            height: 100%;
            max-width: 1180px;
            margin: 0 auto;
            padding: var(--space-lg) 32px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .command-grid {
            width: 100%;
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            grid-template-rows: repeat(2, minmax(0, 1fr));
            gap: 8px;
            max-width: 760px;
            margin: 0 auto;
        }

        .command-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 14px 8px;
            border-radius: var(--radius-lg);
            text-decoration: none;
            color: rgba(236, 244, 250, 0.92);
            opacity: 0;
            transform: translateY(26px) scale(0.82);
            filter: blur(6px);
            overflow: hidden;
            min-width: 0;
            transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
        }

        .command-panel.is-open .command-item {
            animation: liquidIn 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
            animation-delay: calc(var(--i) * 70ms + 0.2s);
        }

        @keyframes liquidIn {
            0% { opacity: 0; transform: translateY(30px) scale(0.75); filter: blur(8px); }
            60% { opacity: 1; filter: blur(0); }
            100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
        }

        .command-item:hover,
        .command-item:focus-visible {
            color: #ffffff;
            background: rgba(142, 202, 230, 0.08);
            outline: none;
        }

        .command-item:hover .command-item__icon,
        .command-item:focus-visible .command-item__icon {
            border-color: #8ECAE6;
            color: #A8D8F0;
            box-shadow: var(--glow-primary);
            transform: translateY(-4px) scale(1.05);
        }

        .command-item__icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 46px;
            height: 46px;
            flex-shrink: 0;
            border-radius: var(--radius-lg);
            border: 1px solid rgba(168, 216, 240, 0.32);
            background: rgba(142, 202, 230, 0.08);
            color: #D6ECF7;
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
        }

        .command-item__icon svg {
            width: 20px;
            height: 20px;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.7;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .command-item__label {
            font-family: var(--font-mono);
            font-size: 0.66rem;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            white-space: nowrap;
            font-weight: 500;
            text-shadow: 0 1px 8px rgba(8, 2, 24, 0.9);
        }

        @media (max-width: 900px) {
            .command-grid {
                grid-template-columns: repeat(4, minmax(0, 1fr));
                gap: 6px;
                max-width: 100%;
            }
            .command-item { padding: 12px 6px; gap: 8px; }
            .command-item__icon { width: 42px; height: 42px; }
            .command-item__icon svg { width: 18px; height: 18px; }
            .command-item__label { font-size: 0.6rem; }
        }

        @media (max-width: 640px) {
            .command-panel { top: 60px; }
            .command-scrim { inset: 60px 0 0 0; }
            .command-panel__inner { padding: var(--space-md) 20px; }
            .command-grid {
                grid-template-columns: repeat(4, minmax(0, 1fr));
                gap: 4px;
            }
            .command-item { padding: 10px 4px; gap: 6px; }
            .command-item__icon { width: 38px; height: 38px; }
            .command-item__icon svg { width: 16px; height: 16px; }
            .command-item__label { font-size: 0.55rem; }
        }

        .intro-loader {
            position: fixed;
            inset: 0;
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            background: var(--gradient-primary);
            transition: opacity 0.9s cubic-bezier(0.65, 0, 0.35, 1), filter 0.9s ease, transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
        }

        .intro-loader--exit {
            opacity: 0;
            filter: blur(14px);
            transform: scale(1.04);
            pointer-events: none;
        }


        .intro-loader__aurora {
            position: absolute;
            inset: 0;
            overflow: hidden;
        }

        .intro-loader__aurora-blob {
            position: absolute;
            width: 78vmax;
            height: 78vmax;
            border-radius: 50%;
            will-change: transform;
        }

        .intro-loader__aurora-blob--a {
            top: 14%;
            left: 10%;
            background: radial-gradient(circle, color-mix(in srgb, var(--color-primary) 38%, transparent) 0%, transparent 68%);
            animation: auroraDriftA 17s ease-in-out infinite;
        }

        .intro-loader__aurora-blob--b {
            top: 48%;
            left: 62%;
            background: radial-gradient(circle, color-mix(in srgb, var(--color-primary-dark) 46%, transparent) 0%, transparent 70%);
            animation: auroraDriftB 21s ease-in-out infinite;
        }

        .intro-loader__aurora-blob--c {
            top: 66%;
            left: 18%;
            background: radial-gradient(circle, color-mix(in srgb, var(--color-primary-hover) 32%, transparent) 0%, transparent 66%);
            animation: auroraDriftC 25s ease-in-out infinite;
        }

        @keyframes auroraDriftA {
            0%, 100% { transform: translate(-50%, -50%) translate(0%, 0%) scale(1); }
            33% { transform: translate(-50%, -50%) translate(7%, 5%) scale(1.14); }
            66% { transform: translate(-50%, -50%) translate(-6%, 8%) scale(0.92); }
        }

        @keyframes auroraDriftB {
            0%, 100% { transform: translate(-50%, -50%) translate(0%, 0%) scale(1.05); }
            40% { transform: translate(-50%, -50%) translate(-8%, -6%) scale(0.9); }
            75% { transform: translate(-50%, -50%) translate(5%, 9%) scale(1.18); }
        }

        @keyframes auroraDriftC {
            0%, 100% { transform: translate(-50%, -50%) translate(0%, 0%) scale(0.96); }
            50% { transform: translate(-50%, -50%) translate(-9%, -7%) scale(1.12); }
        }

        .intro-loader__grid {
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(color-mix(in srgb, var(--color-primary) 9%, transparent) 1px, transparent 1px),
                linear-gradient(90deg, color-mix(in srgb, var(--color-primary) 9%, transparent) 1px, transparent 1px);
            background-size: 42px 42px;
            mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 0%, transparent 75%);
            animation: introGridDrift 20s linear infinite;
        }

        @keyframes introGridDrift {
            from { background-position: 0 0, 0 0; }
            to { background-position: 420px 0, 0 420px; }
        }

        .intro-loader__mesh {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            opacity: 0.55;
        }

        .intro-loader__content {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        /* ---- Stage 1: capability cards (fade in, then collapse into the mark) ---- */

        .intro-loader__hero {
            position: relative;
            width: 100%;
            max-width: min(460px, 86vw);
            height: clamp(160px, 30vw, 260px);
            margin-bottom: var(--space-lg);
        }

        .intro-cards,
        .intro-loader__mark {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .intro-cards {
            flex-direction: column;
            gap: 12px;
            opacity: 0;
            transform: translateY(10px) scale(0.97);
            transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                        filter 0.42s ease;
        }

        .intro-loader--in .intro-cards {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        .intro-loader--collapse .intro-cards {
            opacity: 0;
            transform: translateY(-6px) scale(0.7);
            filter: blur(6px);
            transition-duration: 0.4s;
        }

        .intro-cards__row {
            display: flex;
            align-items: stretch;
            justify-content: center;
            gap: clamp(8px, 2.4vw, 14px);
        }

        .intro-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: clamp(66px, 18vw, 96px);
            padding: 12px 6px;
            border-radius: var(--radius-lg);
            border: 1px solid color-mix(in srgb, var(--color-primary) 16%, transparent);
            background: linear-gradient(160deg, color-mix(in srgb, var(--color-primary) 9%, transparent), color-mix(in srgb, var(--color-primary) 2%, transparent));
            backdrop-filter: blur(6px);
            opacity: 0;
            transform: translateY(14px) scale(0.9);
            transition: opacity 0.46s cubic-bezier(0.16, 1, 0.3, 1),
                        transform 0.46s cubic-bezier(0.16, 1, 0.3, 1);
            transition-delay: calc(var(--i) * 90ms);
        }

        .intro-loader--in .intro-card {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        .intro-loader--collapse .intro-card {
            transition-delay: calc(var(--i) * 30ms);
        }

        .intro-card__icon {
            display: flex;
            width: 26px;
            height: 26px;
        }

        .intro-card__icon svg {
            width: 100%;
            height: 100%;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.7;
            stroke-linecap: round;
            stroke-linejoin: round;
            color: var(--color-primary);
        }

        .intro-card__label {
            font-family: var(--font-mono);
            font-size: 0.58rem;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            color: var(--color-text-secondary);
            text-align: center;
            line-height: 1.2;
        }

        .intro-cards__caption {
            font-family: var(--font-mono);
            font-size: 0.64rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--color-text-muted);
            text-align: center;
            margin: 0;
        }

        /* ---- Stage 2: the mark, revealed as the cards are swallowed into it ---- */

        .intro-loader__mark {
            opacity: 0;
            transform: scale(0.5);
            filter: blur(16px);
            transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                        filter 0.6s ease;
        }

        .intro-loader--collapse .intro-loader__mark {
            opacity: 1;
            transform: scale(1);
            filter: blur(0);
            transition-delay: 0.1s;
        }

        .intro-loader__mark img {
            width: clamp(160px, 34vw, 240px);
            height: auto;
            filter: drop-shadow(0 0 0 transparent);
            transition: filter 0.7s ease;
            transition-delay: 0.25s;
        }

        .intro-loader--collapse .intro-loader__mark img {
            filter: drop-shadow(0 10px 32px color-mix(in srgb, var(--color-primary) 35%, transparent));
        }

        /* ---- Stage 3: progress ---- */

        .intro-loader__bar {
            position: relative;
            margin-top: 8px;
            width: 220px;
            height: 1px;
            background: var(--color-border-light);
            overflow: hidden;
        }

        .intro-loader__bar-fill {
            position: absolute;
            inset: 0;
            width: 0;
            background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary));
            box-shadow: 0 0 12px color-mix(in srgb, var(--color-primary) 60%, transparent);
        }

        .intro-loader--collapse .intro-loader__bar-fill {
            animation: introBarFill 0.62s cubic-bezier(0.65, 0, 0.35, 1) forwards 0.9s;
        }

        @keyframes introBarFill {
            to { width: 100%; }
        }

        body.intro-active { overflow: hidden; }

        html.intro-skip .intro-loader { display: none !important; }
        html.intro-skip body.intro-active { overflow: visible; }

        @media (max-width: 640px) {
            .intro-loader__bar { width: 160px; }
        }

        @media (prefers-reduced-motion: reduce) {
            .intro-loader__grid,
            .intro-loader__aurora-blob,
            .intro-loader__bar-fill,
            .command-item,
            .icon-status__dot {
                animation: none !important;
            }
            .intro-cards,
            .intro-card,
            .intro-loader__mark,
            .intro-loader__mark img {
                transition: none !important;
            }
            .intro-cards { display: none; }
            .intro-loader__mesh { display: none; }
            .intro-loader__mark {
                opacity: 1;
                transform: none;
                filter: none;
            }
            .intro-loader__mark img { filter: none; }
            .intro-loader__bar-fill { width: 100%; }
            .command-panel.is-open .command-item {
                opacity: 1;
                transform: none;
                filter: none;
            }
            .intro-loader { transition: opacity 0.3s ease; }
        }
