        :root {
            --bg: #0a0a0a;
            --bg-elev: rgba(255, 255, 255, 0.035);
            --border: rgba(255, 255, 255, 0.09);
            --border-strong: rgba(255, 255, 255, 0.18);
            --text: #fafafa;
            --text-muted: rgba(250, 250, 250, 0.66);
            --text-faint: rgba(250, 250, 250, 0.5);
            --accent: #c9b8ff;
            --accent-soft: rgba(201, 184, 255, 0.16);
            --serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;
            --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
            --max-w: 1120px;
            --gutter: clamp(1.1rem, 4vw, 2.5rem);
            --section-y: clamp(3.5rem, 9vw, 8rem);
            --radius: 14px;
            --ease: cubic-bezier(0.22, 1, 0.36, 1);
        }
        @media (max-width: 380px) {
            :root { --gutter: 1rem; }
        }

        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
            text-rendering: optimizeLegibility;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            font-family: var(--sans);
            background: var(--bg);
            color: var(--text);
            font-size: 16px;
            line-height: 1.65;
            font-weight: 400;
            min-height: 100dvh;
            overflow-x: hidden;
        }

        /* Skip link */
        .skip-link {
            position: absolute;
            top: -100px;
            left: 1rem;
            background: var(--text);
            color: var(--bg);
            padding: 0.6rem 1rem;
            border-radius: 6px;
            font-weight: 600;
            font-size: 0.9rem;
            z-index: 1000;
        }
        .skip-link:focus { top: 1rem; }

        /* Background canvas */
        #canvas {
            position: fixed;
            inset: 0;
            width: 100%;
            height: 100%;
            z-index: -2;
        }
        .bg-vignette {
            position: fixed;
            inset: 0;
            z-index: -1;
            background:
                radial-gradient(ellipse at 50% 0%, rgba(10,10,10,0) 0%, rgba(10,10,10,0.55) 70%, rgba(10,10,10,0.85) 100%),
                linear-gradient(180deg, rgba(10,10,10,0.25) 0%, rgba(10,10,10,0.55) 100%);
            pointer-events: none;
        }

        /* Custom cursor */
        .cursor-dot {
            width: 8px;
            height: 8px;
            background: var(--text);
            border-radius: 50%;
            position: fixed;
            top: 0; left: 0;
            pointer-events: none;
            z-index: 9999;
            mix-blend-mode: difference;
            transition: transform 0.18s var(--ease), opacity 0.18s var(--ease);
            opacity: 0.9;
            will-change: transform;
        }
        .cursor-dot.is-link { transform: translate(-50%, -50%) scale(2.4); opacity: 0.55; }
        .cursor-dot.is-clicking { transform: translate(-50%, -50%) scale(0.6); }

        @media (hover: none) and (pointer: coarse) {
            .cursor-dot { display: none; }
        }

        /* Layout */
        .wrap {
            max-width: var(--max-w);
            margin: 0 auto;
            padding-inline: var(--gutter);
        }

        /* Top nav */
        .site-nav {
            position: sticky;
            top: 0;
            z-index: 50;
            backdrop-filter: blur(14px) saturate(140%);
            -webkit-backdrop-filter: blur(14px) saturate(140%);
            background: rgba(10, 10, 10, 0.55);
            border-bottom: 1px solid transparent;
            transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
            padding-top: env(safe-area-inset-top);
        }
        .site-nav.is-scrolled {
            background: rgba(10, 10, 10, 0.78);
            border-bottom-color: var(--border);
        }
        .site-nav .wrap {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 64px;
        }
        .brand {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 34px;
            height: 34px;
            border-radius: 8px;
            border: 1px solid var(--border);
            font-family: var(--serif);
            font-size: 1.05rem;
            color: var(--text);
            text-decoration: none;
            letter-spacing: 0.02em;
            transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
        }
        .brand:hover, .brand:focus-visible {
            border-color: var(--border-strong);
            background: var(--bg-elev);
        }
        .nav-links {
            display: flex;
            gap: clamp(1.25rem, 3vw, 2rem);
            list-style: none;
        }
        .nav-links a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.92rem;
            font-weight: 500;
            letter-spacing: 0.01em;
            transition: color 0.2s var(--ease);
            padding: 0.4rem 0;
            position: relative;
        }
        .nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }
        .nav-links a::after {
            content: '';
            position: absolute;
            left: 0; right: 0; bottom: 0;
            height: 1px;
            background: var(--text);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s var(--ease);
        }
        .nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }

        @media (max-width: 540px) {
            .nav-links { gap: 1rem; }
            .nav-links a { font-size: 0.85rem; }
        }

        /* Hero */
        .hero {
            min-height: calc(100dvh - 64px);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
            padding-block: clamp(3rem, 8vw, 6rem);
            position: relative;
        }
        .hero > * { max-width: 100%; }
        .eyebrow {
            font-size: 0.78rem;
            font-weight: 500;
            letter-spacing: 0.22em;
            text-transform: uppercase;
            color: var(--text-faint);
            margin-bottom: clamp(1.25rem, 3vw, 2rem);
            display: flex;
            align-items: center;
            gap: 0.85rem;
        }
        .eyebrow::before {
            content: '';
            width: 28px;
            height: 1px;
            background: var(--text-faint);
        }

        /* Status pill */
        .status {
            display: inline-flex;
            align-items: center;
            gap: 0.55rem;
            padding: 0.4rem 0.85rem;
            border-radius: 999px;
            border: 1px solid var(--border);
            background: var(--bg-elev);
            font-size: 0.78rem;
            font-weight: 500;
            color: var(--text-muted);
            letter-spacing: 0.04em;
            margin-bottom: clamp(1.5rem, 3vw, 2rem);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }
        .status .dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #4ade80;
            box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
            animation: pulse 2.4s var(--ease) infinite;
        }
        @keyframes pulse {
            0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
            70%  { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
            100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
        }

        /* Hero stats */
        .hero-stats {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, max-content));
            gap: clamp(1.5rem, 5vw, 3.5rem);
            margin-top: clamp(2.5rem, 6vw, 4rem);
            padding-top: clamp(1.5rem, 4vw, 2.5rem);
            border-top: 1px solid var(--border);
        }
        .hero-stats .stat-num {
            font-family: var(--serif);
            font-size: clamp(1.6rem, 3.5vw, 2.4rem);
            line-height: 1;
            letter-spacing: -0.01em;
            margin-bottom: 0.3rem;
        }
        .hero-stats .stat-num em { color: var(--accent); font-style: normal; }
        .hero-stats .stat-label {
            font-size: 0.72rem;
            color: var(--text-faint);
            letter-spacing: 0.18em;
            text-transform: uppercase;
            line-height: 1.4;
        }

        @media (max-width: 480px) {
            .hero-stats { gap: 1.25rem; }
            .hero-stats .stat-num { font-size: 1.5rem; }
            .hero-stats .stat-label { font-size: 0.65rem; letter-spacing: 0.14em; }
        }

        /* Scroll cue */
        .scroll-cue {
            position: absolute;
            left: 50%;
            bottom: clamp(1rem, 3vw, 2rem);
            transform: translateX(-50%);
            font-size: 0.7rem;
            letter-spacing: 0.22em;
            text-transform: uppercase;
            color: var(--text-faint);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.6rem;
            opacity: 0.7;
            pointer-events: none;
        }
        .scroll-cue::after {
            content: '';
            width: 1px;
            height: 32px;
            background: linear-gradient(to bottom, var(--text-faint), transparent);
            animation: cueline 2.4s var(--ease) infinite;
            transform-origin: top;
        }
        @keyframes cueline {
            0%, 100% { transform: scaleY(0.4); opacity: 0.3; }
            50%      { transform: scaleY(1);   opacity: 1; }
        }
        @media (max-width: 720px) { .scroll-cue { display: none; } }
        h1.display {
            font-family: var(--serif);
            font-weight: 400;
            font-size: clamp(3.2rem, 12vw, 8.5rem);
            line-height: 0.95;
            letter-spacing: -0.02em;
            margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
            color: var(--text);
        }
        h1.display em {
            font-style: italic;
            color: var(--text-muted);
        }
        .lede {
            font-size: clamp(1.05rem, 2.2vw, 1.4rem);
            line-height: 1.5;
            max-width: 38ch;
            color: var(--text-muted);
            margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
            font-weight: 400;
        }
        .typewriter {
            font-family: var(--sans);
            font-size: 0.95rem;
            font-weight: 500;
            letter-spacing: 0.04em;
            color: var(--accent);
            margin-bottom: clamp(2rem, 4vw, 3rem);
            min-height: 1.5em;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            max-width: 100%;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: clip;
        }
        .typewriter::before {
            content: '→';
            color: var(--text-faint);
        }
        .tw-cursor {
            display: inline-block;
            width: 2px;
            height: 1em;
            background: var(--accent);
            animation: blink 1.05s steps(2, start) infinite;
            margin-left: 1px;
            vertical-align: -2px;
        }
        @keyframes blink { to { visibility: hidden; } }

        .cta-row {
            display: flex;
            gap: 0.85rem;
            flex-wrap: wrap;
        }
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.85rem 1.4rem;
            border-radius: 999px;
            font-size: 0.92rem;
            font-weight: 500;
            text-decoration: none;
            transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
            border: 1px solid var(--border-strong);
            color: var(--text);
            background: transparent;
            white-space: nowrap;
        }
        .btn:hover, .btn:focus-visible {
            background: var(--text);
            color: var(--bg);
            border-color: var(--text);
            transform: translateY(-1px);
        }
        .btn--primary {
            background: var(--text);
            color: var(--bg);
            border-color: var(--text);
        }
        .btn--primary:hover, .btn--primary:focus-visible {
            background: transparent;
            color: var(--text);
            border-color: var(--border-strong);
        }
        .btn .arrow {
            transition: transform 0.25s var(--ease);
        }
        .btn:hover .arrow { transform: translateX(3px); }

        /* Sections */
        .section {
            padding-block: var(--section-y);
            position: relative;
        }
        .section + .section { border-top: 1px solid var(--border); }
        .section-header {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 1.5rem;
            margin-bottom: clamp(2rem, 5vw, 3.5rem);
            flex-wrap: wrap;
        }
        .section-header h2 {
            font-family: var(--serif);
            font-weight: 400;
            font-size: clamp(2rem, 5vw, 3.25rem);
            letter-spacing: -0.015em;
            line-height: 1;
        }
        .section-header h2 em { font-style: italic; color: var(--text-muted); }
        .section-num {
            font-size: 0.75rem;
            letter-spacing: 0.22em;
            text-transform: uppercase;
            color: var(--text-faint);
            font-variant-numeric: tabular-nums;
        }

        /* About */
        .about-grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
            gap: clamp(2rem, 5vw, 4rem);
            align-items: start;
        }
        .about-aside {
            font-size: 0.85rem;
            color: var(--text-faint);
            line-height: 1.8;
            display: grid;
            gap: 1rem;
        }
        .about-aside dt {
            font-size: 0.7rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--text-faint);
            margin-bottom: 0.25rem;
        }
        .about-aside dd { color: var(--text-muted); font-size: 0.95rem; }
        .about-prose p {
            font-size: clamp(1.05rem, 1.7vw, 1.2rem);
            color: var(--text-muted);
            margin-bottom: 1.25em;
            max-width: 60ch;
        }
        .about-prose p:last-child { margin-bottom: 0; }
        .about-prose strong { color: var(--text); font-weight: 500; }

        @media (max-width: 720px) {
            .about-grid { grid-template-columns: 1fr; gap: 2rem; }
        }

        /* Ventures */
        .ventures-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: clamp(1rem, 2vw, 1.25rem);
        }
        @media (min-width: 640px) { .ventures-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (min-width: 1080px) { .ventures-grid { grid-template-columns: repeat(4, 1fr); } }
        .venture {
            position: relative;
            padding: clamp(1.5rem, 3vw, 2rem);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            background: var(--bg-elev);
            transition: border-color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease);
            display: flex;
            flex-direction: column;
            gap: 0.85rem;
            min-height: 220px;
            overflow: hidden;
        }
        .venture::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 40%);
            opacity: 0;
            transition: opacity 0.4s var(--ease);
            pointer-events: none;
        }
        .venture:hover, .venture:focus-within {
            border-color: var(--border-strong);
            transform: translateY(-2px);
        }
        .venture:hover::before, .venture:focus-within::before { opacity: 1; }
        .venture h3 {
            font-family: var(--serif);
            font-weight: 400;
            font-size: 1.65rem;
            letter-spacing: -0.01em;
            line-height: 1.1;
        }
        .venture .meta {
            font-size: 0.75rem;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            color: var(--text-faint);
            font-weight: 500;
        }
        .venture p.body {
            color: var(--text-muted);
            font-size: 0.96rem;
            line-height: 1.55;
            flex-grow: 1;
        }
        .venture .v-link {
            font-size: 0.9rem;
            color: var(--text);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            font-weight: 500;
            transition: gap 0.25s var(--ease), color 0.2s var(--ease);
            align-self: flex-start;
            border-bottom: 1px solid var(--border-strong);
            padding-bottom: 2px;
        }
        .venture .v-link:hover, .venture .v-link:focus-visible {
            gap: 0.65rem;
            color: var(--accent);
            border-color: var(--accent);
        }
        .venture .v-tag {
            font-size: 0.72rem;
            color: var(--accent);
            letter-spacing: 0.14em;
            text-transform: uppercase;
            border: 1px solid var(--accent-soft);
            background: var(--accent-soft);
            padding: 0.18rem 0.5rem;
            border-radius: 999px;
            align-self: flex-start;
        }

        /* Connect */
        .connect-grid {
            display: grid;
            grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
            gap: clamp(2rem, 5vw, 4rem);
            align-items: start;
        }
        .connect-prose {
            font-size: clamp(1.05rem, 1.8vw, 1.25rem);
            color: var(--text-muted);
            max-width: 42ch;
        }
        .connect-prose .email-big {
            display: inline-block;
            margin-top: 1.5rem;
            font-family: var(--serif);
            font-size: clamp(1.5rem, 4vw, 2.3rem);
            color: var(--text);
            text-decoration: none;
            line-height: 1.2;
            border-bottom: 1px solid var(--border);
            padding-bottom: 4px;
            transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
        }
        .connect-prose .email-big:hover, .connect-prose .email-big:focus-visible {
            color: var(--accent);
            border-color: var(--accent);
        }
        .connect-list {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 0.5rem;
        }
        .connect-list a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.5rem;
            padding: 0.95rem 1.1rem;
            border: 1px solid var(--border);
            border-radius: 10px;
            text-decoration: none;
            color: var(--text);
            font-size: 0.95rem;
            font-weight: 500;
            transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
        }
        .connect-list a:hover, .connect-list a:focus-visible {
            background: var(--bg-elev);
            border-color: var(--border-strong);
            transform: translateY(-1px);
        }
        .connect-list a span.arrow { color: var(--text-faint); transition: transform 0.25s var(--ease), color 0.2s var(--ease); }
        .connect-list a:hover span.arrow { color: var(--accent); transform: translate(2px, -2px); }

        @media (max-width: 720px) {
            .connect-grid { grid-template-columns: 1fr; gap: 2rem; }
        }

        /* Footer */
        footer {
            border-top: 1px solid var(--border);
            padding-block: 2rem;
            color: var(--text-faint);
            font-size: 0.85rem;
            padding-bottom: max(2rem, env(safe-area-inset-bottom));
        }
        footer .wrap {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            flex-wrap: wrap;
        }
        footer a { color: var(--text-muted); text-decoration: none; }
        footer a:hover { color: var(--text); }

        /* Reveal animations */
        .reveal {
            opacity: 0;
            transform: translateY(18px);
            transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
        }
        .reveal.in {
            opacity: 1;
            transform: none;
        }

        /* Focus ring */
        :focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 3px;
            border-radius: 4px;
        }

        ::selection { background: var(--accent); color: var(--bg); }

        /* Reduced motion */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                transition-duration: 0.01ms !important;
                scroll-behavior: auto !important;
            }
            #canvas { display: none; }
            .bg-vignette { background: var(--bg); }
            .reveal { opacity: 1; transform: none; }
        }

        /* Reduced data / save bandwidth */
        @media (prefers-reduced-data: reduce) {
            #canvas { display: none; }
            .bg-vignette { background: var(--bg); }
        }

        /* Touch-only refinements */
        @media (hover: none) and (pointer: coarse) {
            html, body { cursor: auto; }
            .nav-links a::after { display: none; }
            .btn:hover { transform: none; }
            .venture:hover { transform: none; }
            .connect-list a:hover { transform: none; }
        }

        /* Small phones: fine-tune typography and spacing */
        @media (max-width: 480px) {
            h1.display { font-size: clamp(2.6rem, 14vw, 4rem); line-height: 0.98; }
            .lede { font-size: 1.05rem; }
            .section-header h2 { font-size: 2rem; }
            .venture { padding: 1.35rem; min-height: auto; }
            .venture h3 { font-size: 1.45rem; }
            .cta-row .btn { flex: 1 1 auto; justify-content: center; }
            .typewriter { font-size: 0.86rem; }
            .status { font-size: 0.72rem; padding: 0.35rem 0.75rem; }
            .eyebrow { font-size: 0.7rem; letter-spacing: 0.18em; }
        }

        /* Tablet refinement */
        @media (min-width: 720px) and (max-width: 1080px) {
            .venture { padding: 1.5rem; }
        }

/* Inline-style replacements (CSP hardening) */
.brand-mark { color: var(--text); font-weight: 500; }
.stat-unit { font-size: 0.7em; color: var(--text-muted); }
