    :root {
      color-scheme: light;
      --ink: #1A1A1A; --on-ink: #fff; --paper: #FFFFFF; --soft: #FAFAFA; --soft-2: #F7F7F8; --surface: #fff; --dark: #1A1A1A;
      --k: 0 0 0; --nav-bg: rgb(255 255 255 / .94); --glass: rgb(255 255 255 / .6);
      --muted: #5b6270; --muted-2: #4b5563; --faint: #6b7280; --code-s: #1f2937;
      --bar: #e5e7eb; --bar-2: #f3f4f6;
      --ok-bg: #d1fae5; --ok-fg: #047857; --run-bg: #dbeafe; --run-fg: #1d4ed8; --pitch-bg: #fef3c7; --pitch-fg: #b45309;
      --logo-mono: brightness(0) opacity(.5); --logo-hover: none;
      --orange: #FF6B35;
      --pink: #FF1F8F;
      --purple: #7B2CBF;
      --blue: #3A86FF;
      --stripe: linear-gradient(115deg, #FF6B35 0%, #FF1F8F 35%, #7B2CBF 68%, #3A86FF 100%);
      --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
      --max: 82.5rem;
    }
    [data-theme="dark"] {
      color-scheme: dark;
      --ink: #f3f4f6; --on-ink: #0b0c0e; --paper: #0b0c0e; --soft: #0f1013; --soft-2: #14161a; --surface: #15171b; --dark: #16171b;
      --k: 255 255 255; --nav-bg: rgb(11 12 14 / .94); --glass: rgb(21 23 27 / .7);
      --muted: #a3a9b5; --muted-2: #b9bfca; --faint: #7d8492; --code-s: #e5e7eb;
      --bar: #2a2d34; --bar-2: #1f2228;
      --ok-bg: rgb(16 185 129 / .16); --ok-fg: #6ee7b7; --run-bg: rgb(59 130 246 / .18); --run-fg: #93c5fd; --pitch-bg: rgb(245 158 11 / .16); --pitch-fg: #fcd34d;
      --logo-mono: brightness(0) invert(1) opacity(.55); --logo-hover: brightness(0) invert(1) opacity(.9);
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
    body {
      font-family: var(--sans); background: var(--paper); color: var(--ink);
      line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden;
    }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
    svg.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
    :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

    .wrap { max-width: var(--max); margin: 0 auto; width: 100%; }
    .mono { font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
    .text-gradient { background: var(--stripe); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

    /* Background grid */
    .bg-grid-overlay {
      position: fixed; inset: 0; z-index: -1; pointer-events: none;
      background-image: linear-gradient(to right, rgb(var(--k) / .035) 1px, transparent 1px), linear-gradient(to bottom, rgb(var(--k) / .035) 1px, transparent 1px);
      background-size: 80px 80px;
      -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
      mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
    }

    /* Reveal */
    .js .reveal-text { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
    .js .reveal-text.is-visible { opacity: 1; transform: none; }

    /* Nav */
    #navbar {
      position: fixed; top: 0; left: 0; width: 100%; z-index: 40; padding: 1.5rem 1.5rem;
      display: flex; justify-content: space-between; align-items: center;
      border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, padding .3s;
    }
    #navbar.scrolled { background: var(--nav-bg); border-color: rgb(var(--k) / .06); padding-top: 1rem; padding-bottom: 1rem; }
    
    .nav-links { display: none; gap: 1.75rem; font-size: .875rem; font-weight: 500; color: var(--muted); }
    .nav-links a:hover { color: var(--ink); }
    @media (min-width: 768px) { #navbar { padding-left: 3rem; padding-right: 3rem; } }
    @media (min-width: 1024px) { .nav-links { display: flex; } }

    /* Buttons */
    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 999px;
      font-size: .875rem; font-weight: 500; padding: .8rem 1.5rem; white-space: nowrap;
      transition: transform .25s cubic-bezier(.16,1,.3,1), background .25s, border-color .25s;
    }
    .btn.dark { background: var(--ink); color: var(--on-ink); }
    .btn.dark:hover { opacity: .88; }
    .btn.line { border: 1px solid rgb(var(--k) / .1); }
    .btn.line:hover { background: rgb(var(--k) / .05); }
    .btn.sm { font-size: .75rem; padding: .65rem 1.25rem; }
    .btn.lg { padding: 1rem 2rem; }

    section, .section { position: relative; }
    .pad { padding: 8rem 1.5rem; }
    @media (min-width: 768px) { .pad { padding-left: 3rem; padding-right: 3rem; } }
    .sec-head { margin-bottom: 4rem; }
    .sec-head h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; margin-top: 1rem; }

    /* Hero */
    .hero { min-height: 90vh; display: flex; flex-direction: column; justify-content: center; padding: 8rem 1.5rem 5rem; overflow: hidden; }
    @media (min-width: 768px) { .hero { padding-left: 3rem; padding-right: 3rem; } }
    .ribbon { position: absolute; top: -20%; right: -10%; width: 80vw; height: 80vh; pointer-events: none; z-index: -1; -webkit-mask-image: radial-gradient(ellipse closest-side, #000 18%, transparent 100%); mask-image: radial-gradient(ellipse closest-side, #000 18%, transparent 100%); background: radial-gradient(55% 60% at 62% 38%, rgb(255 31 143 / .5), rgb(123 44 191 / .32) 55%, transparent 76%), radial-gradient(40% 45% at 88% 72%, rgb(58 134 255 / .42), transparent 72%), radial-gradient(38% 40% at 38% 18%, rgb(255 107 53 / .42), transparent 72%); }
    .hero-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    h1.hero-title { font-size: clamp(3.2rem, 8.5vw, 8.5rem); line-height: .95; font-weight: 600; letter-spacing: -.05em; max-width: 15ch; }
    .hero-sub { font-size: 1.05rem; color: var(--muted-2); max-width: 42rem; line-height: 1.7; }
    @media (min-width: 768px) { .hero-sub { font-size: 1.125rem; } }
    .hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; padding-top: 1rem; }
    .strip { margin-top: 8rem; border-top: 1px solid rgb(var(--k) / .05); padding-top: 2rem; }
    .strip .mono { color: var(--faint); margin-bottom: 1.5rem; }
    .logos { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; opacity: .4; filter: grayscale(1); }
    .logos div { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
    @media (min-width: 768px) { .logos { column-gap: 4rem; } }

    /* Marquee */
    .marquee { background: var(--dark); color: rgba(255,255,255,.7); padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); position: relative; z-index: 2; overflow: hidden; }
    .marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
    .marquee-group { display: flex; flex: none; gap: 1.25rem; padding-right: 1.25rem; font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; white-space: nowrap; }
    @keyframes marquee { to { transform: translateX(-50%); } }

    /* Bento */
    #services { background: var(--soft); }
    .bento { display: grid; grid-template-columns: 1fr; gap: 1.5rem; grid-auto-rows: minmax(16rem, auto); }
    @media (min-width: 768px) { .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 20rem; } .c2 { grid-column: span 2; } .c4 { grid-column: span 4; } .r2 { grid-row: span 2; } }
    .bento-card {
      position: relative; background: var(--surface); border: 1px solid rgb(var(--k) / .06); border-radius: 1.5rem; overflow: hidden;
      transition: box-shadow .3s;
    }
    .bento-card:hover { box-shadow: 0 24px 48px -24px rgba(0,0,0,.18); }
        .card-pad { padding: 2rem; display: flex; flex-direction: column; }
    @media (min-width: 768px) { .card-lg { padding: 3rem; } }
    .bento-card h3 { font-weight: 600; letter-spacing: -.02em; }
    .bento-card p { font-size: .875rem; color: var(--muted); line-height: 1.6; }
    .tint { background: var(--soft-2); }
    .between { justify-content: space-between; }
    .rel { position: relative; z-index: 1; }
    .orbit { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: .8; pointer-events: none; transition: transform .7s; }
    .bento-card:hover .orbit { transform: scale(1.05); }
    .orbit i { position: absolute; border-radius: 50%; display: block; }
    .orbit .o1 { width: 22rem; height: 22rem; background: radial-gradient(circle, rgb(255 107 53 / .26), rgb(255 31 143 / .2) 38%, rgb(123 44 191 / .14) 62%, transparent 72%); }
    .orbit .o2 { width: 15rem; height: 15rem; border: 1px solid rgb(var(--k) / .05); }
    .orbit .o3 { width: 10rem; height: 10rem; border: 1px solid rgb(var(--k) / .1); }
    .arrow-btn { align-self: flex-end; width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid rgb(var(--k) / .1); display: flex; align-items: center; justify-content: center; transition: background .25s, color .25s; position: relative; z-index: 1; }
    .bento-card:hover .arrow-btn { background: var(--ink); color: var(--on-ink); }
    .code { background: var(--surface); border: 1px solid rgba(0,0,0,.1); border-radius: .5rem; padding: 1rem; box-shadow: 0 1px 2px rgba(0,0,0,.05); font-family: var(--mono); font-size: .7rem; color: var(--faint); line-height: 1.8; overflow: hidden; white-space: pre; }
    .code .k { color: #c9106a; } .code .a { color: #1d5fcf; } .code .f { color: var(--purple); } .code .s { color: var(--code-s); } .code .n { color: #b8460f; }
[data-theme="dark"] .code .k { color: #ff7ab8; } [data-theme="dark"] .code .a { color: #8db8ff; } [data-theme="dark"] .code .f { color: #c7a6ff; } [data-theme="dark"] .code .n { color: #ffa070; }
    .mock-win { position: absolute; right: -10%; top: 22%; width: 60%; height: 120%; background: var(--surface); border-top-left-radius: .75rem; border-top: 1px solid rgba(0,0,0,.1); border-left: 1px solid rgba(0,0,0,.1); box-shadow: 0 10px 30px rgba(0,0,0,.1); padding: 1rem; transition: transform .5s; }
    .bento-card:hover .mock-win { transform: translateX(-.5rem); }
    .mock-bar { display: flex; gap: .5rem; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 1px solid rgb(var(--k) / .05); }
    .mock-bar b { width: .75rem; height: .75rem; border-radius: 50%; background: rgb(var(--k) / .1); }
    .mock-bar s { width: 4rem; height: .75rem; border-radius: .25rem; background: rgb(var(--k) / .05); }
    .c4 .mock-win { width: 42%; right: 6%; }
    @media (max-width: 767px) { .mock-win { display: none; } }
    .ic { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgb(var(--k) / .05); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 1rem; }

    /* Horizontal scroll */
    #process { background: var(--paper); }
    .hs-wrap { height: 320vh; }
    .hs-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
    .hs-label { position: absolute; top: 5.5rem; left: 1.5rem; z-index: 3; }
    @media (min-width: 768px) { .hs-label { left: 3rem; } }
    .hs-title { position: absolute; top: 8rem; left: 1.5rem; z-index: 3; font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; max-width: 18ch; }
    @media (min-width: 768px) { .hs-title { left: 3rem; } }
    .hs-track { display: flex; gap: 1.5rem; width: max-content; padding: 6rem 10vw 0 5vw; }
    .process-card {
      position: relative; flex: none; width: 28rem; height: 28rem; background: var(--soft); border: 1px solid rgb(var(--k) / .05); border-radius: 1rem; padding: 2rem;
      display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
    }
    .process-card .num { position: absolute; top: 2rem; right: 2rem; font-family: var(--mono); font-size: 2.25rem; font-weight: 600; color: rgb(var(--k) / .1); transition: color .3s; }
    .process-card:nth-child(1):hover .num { color: var(--orange); } .process-card:nth-child(2):hover .num { color: var(--pink); }
    .process-card:nth-child(3):hover .num { color: var(--purple); } .process-card:nth-child(4):hover .num { color: var(--blue); }
    .process-card .bar { position: absolute; top: 2rem; left: 2rem; width: 3rem; border-top: 2px solid rgb(var(--k) / .2); }
    .process-card h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; margin-bottom: .75rem; }
    .process-card p { font-size: .875rem; color: var(--muted-2); line-height: 1.7; }
    @media (max-width: 767px) {
      .hs-wrap { height: auto; padding: 6rem 0; }
      .hs-sticky { position: static; height: auto; display: block; }
      .hs-label, .hs-title { position: static; padding: 0 1.5rem; }
      .hs-title { margin: 1rem 0 2rem; }
      .hs-track { width: auto; overflow-x: auto; padding: 0 1.5rem 1rem; scroll-snap-type: x mandatory; }
      .process-card { width: 22rem; max-width: 82vw; height: 24rem; scroll-snap-align: start; }
    }

    /* Work */
    #work { background: var(--soft); }
    @media (min-width: 768px) { }
    .thumb { width: 100%; aspect-ratio: 4/3; background: var(--bar-2); border-radius: .75rem; margin-bottom: 1.5rem; overflow: hidden; position: relative; }
    .thumb > div { position: absolute; inset: 0; background: linear-gradient(135deg, var(--bar), var(--soft)); display: flex; align-items: center; justify-content: center; transition: transform .7s; }
    .bento-card:hover .thumb > div { transform: scale(1.05); }
    .work-list { list-style: none; border-top: 1px solid rgb(var(--k) / .1); }
    .work-list > li > .row, .work-list > li > a.row { display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem 0; border-bottom: 1px solid rgb(var(--k) / .1); }
    @media (min-width: 768px) { .work-list > li > .row, .work-list > li > a.row { flex-direction: row; align-items: center; } }
    .row .l { display: flex; align-items: center; gap: 1rem; width: 100%; }
    .row .r { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: .5rem; gap: 1rem; }
    @media (min-width: 768px) { .row .l { width: 55%; gap: 3rem; } .row .r { width: 45%; margin-top: 0; } }
    .row .yr { font-family: var(--mono); font-size: .75rem; color: var(--faint); width: 5.5rem; flex: none; }
    .row h4 { font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; transition: padding .3s; }
    @media (min-width: 768px) { .row h4 { font-size: 1.5rem; } }
    a.row:hover h4 { padding-left: 1rem; }
    .row .r .mono { font-size: .72rem; color: var(--muted); }
    .row .go { opacity: 0; transition: all .3s; font-size: 1.1rem; }
    a.row:hover .go { opacity: 1; transform: translate(.5rem, -.5rem); }

    .logos img { width: auto; display: block; filter: var(--logo-mono); }
    .thumb > div > img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
    .thumb > div.navy { background: radial-gradient(circle at 50% 60%, #0a2c52, #031a30 70%); flex-direction: column; justify-content: flex-end; }
    .thumb .navy .brand { position: absolute; top: 1.5rem; left: 1.75rem; height: 2rem; width: auto; }
    .thumb .navy .illus { height: 78%; width: auto; object-fit: contain; margin-bottom: 1rem; }
    .fl { width: 1.25rem; height: 1.25rem; border-radius: .3rem; object-fit: contain; }
    @media (max-width: 767px) { .row .yr { width: 4.5rem; } .row .l { gap: .75rem; } }

    /* Illustrations */
    .hero-art { display: none; }
    @media (min-width: 1180px) { .hero-art { display: block; position: absolute; right: 3rem; top: 47%; width: 32rem; height: 19rem; pointer-events: none; z-index: 1; } }
    .fc { position: absolute; background: var(--surface); border: 1px solid rgba(0,0,0,.06); border-radius: 1.1rem; box-shadow: 0 24px 48px -20px rgba(0,0,0,.22); animation: floaty 7s ease-in-out infinite; }
    .fc-qr { top: 0; right: 11rem; width: 8.5rem; padding: .8rem; transform: rotate(-5deg); text-align: center; }
    .fc-qr .qr { width: 100%; aspect-ratio: 1; }
    .fc-qr .mono { display: block; margin-top: .5rem; font-size: .7rem; color: var(--muted); }
    .fc-doc { top: 3rem; right: 0; width: 12.5rem; padding: 1.1rem; transform: rotate(3deg); animation-delay: -2s; }
    .fc-doc .ln { height: .45rem; border-radius: 3px; background: var(--bar); margin-bottom: .55rem; } .fc-doc .w60 { width: 60%; } .fc-doc .w80 { width: 80%; }
    .fc-doc .sig { width: 70%; margin: .9rem 0 .7rem; display: block; }
    .badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .7rem; font-weight: 600; color: var(--ok-fg); background: var(--ok-bg); padding: .2rem .6rem; border-radius: 999px; }
    .badge .i { width: .8rem; height: .8rem; stroke-width: 2.5; }
    .fc-bars { bottom: 0; right: 14rem; width: 10.5rem; padding: .9rem; transform: rotate(-2deg); animation-delay: -4s; }
    .fc-ai { bottom: .5rem; right: 6.5rem; width: 3.4rem; height: 3.4rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--stripe); color: #fff; border: 0; animation-delay: -1s; }
    .fc-ai .i { width: 1.5rem; height: 1.5rem; stroke-width: 2; }
    @keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

    .roadmap { position: absolute; left: 3rem; right: 3rem; bottom: 5rem; width: calc(100% - 6rem); height: auto; max-height: 11rem; z-index: 1; }
    @media (max-width: 767px) { .roadmap { left: 1.5rem; right: 1.5rem; width: calc(100% - 3rem); bottom: 4.5rem; } }
    .mid { width: 100%; max-width: 13rem; height: auto; align-self: center; margin: auto 0; }
    .pipe { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; margin-top: 1.5rem; }
    .pipe span { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; background: var(--surface); border: 1px solid rgb(var(--k) / .08); border-radius: 999px; padding: .25rem .6rem; color: var(--muted-2); }
    .pipe span i { width: .4rem; height: .4rem; border-radius: 50%; display: block; }
    .pipe b { display: none; }

    .process-card .art { position: absolute; left: 50%; top: 5.5rem; width: 15rem; transform: translateX(-50%); color: rgb(var(--k) / .28); transition: color .4s, transform .5s; }
    .process-card .art svg { width: 100%; height: auto; display: block; }
    .process-card:hover .art { transform: translateX(-50%) translateY(-4px); }
    .process-card:nth-child(1):hover .art { color: var(--orange); } .process-card:nth-child(2):hover .art { color: var(--pink); }
    .process-card:nth-child(3):hover .art { color: var(--purple); } .process-card:nth-child(4):hover .art { color: var(--blue); }

    .eco { margin-top: 3rem; background: var(--soft); border: 1px solid rgb(var(--k) / .06); border-radius: 1.5rem; padding: 1rem; }
    .eco svg { width: 100%; height: auto; display: block; }

    .statement .orb { position: absolute; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgb(255 31 143 / .26), rgb(123 44 191 / .16) 50%, transparent 70%); }
    .statement .o-a { width: 28rem; height: 28rem; left: -8rem; top: -6rem; }
    .statement .o-b { width: 24rem; height: 24rem; right: -6rem; bottom: -8rem; }
    @media (prefers-reduced-motion: reduce) { .fc { animation: none; } }

    .tx { display: flex; align-items: center; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid rgb(var(--k) / .05); }
    .tx i { width: 1.9rem; height: 1.9rem; border-radius: .6rem; opacity: .85; flex: none; display: block; }
    .tx span { flex: 1; display: grid; gap: .35rem; }
    .tx u { display: block; height: .45rem; border-radius: 3px; background: var(--bar); width: 70%; } .tx u.s { width: 40%; background: var(--bar-2); }
    .tx em { font-style: normal; font-size: .7rem; font-weight: 600; color: var(--ok-fg); background: var(--ok-bg); border-radius: 999px; padding: .15rem .55rem; }

    .checks { list-style: none; display: grid; gap: .45rem; margin-top: 1.25rem; }
    .checks li { display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--muted-2); }
    .checks .i { width: 1.1rem; height: 1.1rem; padding: .2rem; border-radius: 50%; background: var(--ok-bg); color: var(--ok-fg); stroke-width: 3; }

    /* Domains + stats */
    .domains { background: var(--paper); border-top: 1px solid rgb(var(--k) / .05); }
    .domains-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; }
    @media (min-width: 1024px) { .domains-grid { grid-template-columns: 7fr 5fr; } }
    .domains h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; margin-top: 1rem; margin-bottom: 3rem; }
    .chips { display: flex; flex-wrap: wrap; gap: .75rem; }
    .chip { padding: .5rem 1rem; border: 1px solid rgb(var(--k) / .1); border-radius: 999px; display: flex; align-items: center; gap: .5rem; background: var(--soft); transition: background .25s, border-color .25s; }
    .chip:hover { background: var(--surface); border-color: rgb(var(--k) / .2); }
    .chip i { width: .5rem; height: .5rem; border-radius: 50%; display: block; }
    .chip span { font-family: var(--mono); font-size: .75rem; }
    .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    .stat { background: var(--soft-2); border-radius: 1.5rem; padding: 1.5rem; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 11rem; }
    .stat b { font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 600; letter-spacing: -.05em; transition: transform .3s; }
    .stat:hover b { transform: scale(1.1); }
    .stat .mono { font-size: .7rem; margin-top: .5rem; letter-spacing: .08em; }

    /* Statement */
    .statement { background: var(--dark); color: #fff; overflow: hidden; }
    .statement::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(255,255,255,.07), transparent 65%); pointer-events: none; }
    .statement-in { max-width: 56rem; margin: 0 auto; text-align: center; position: relative; }
    .qmark { font-size: 4rem; line-height: 1; color: rgba(255,255,255,.2); font-family: Georgia, serif; margin-bottom: 1.5rem; }
    .statement blockquote { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 500; line-height: 1.25; letter-spacing: -.02em; margin-bottom: 3rem; }
    .who { display: flex; flex-direction: column; align-items: center; gap: .75rem; }
    .avatar { width: 3rem; height: 3rem; border-radius: 50%; background: linear-gradient(to top right, var(--orange), var(--pink)); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: .875rem; font-weight: 700; }
    .who .n { font-size: .875rem; font-weight: 600; }
    .who .mono { color: rgba(255,255,255,.5); margin-top: .25rem; }
    .edu { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 3.5rem; }
    .edu div { border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: .5rem 1.1rem; font-size: .8rem; color: rgba(255,255,255,.75); }
    .edu b { color: #fff; font-weight: 500; }

    /* CTA */
    .cta { background: var(--paper); text-align: center; display: flex; flex-direction: column; align-items: center; overflow: hidden; padding-top: 10rem; padding-bottom: 10rem; }
    .cta .glow { position: absolute; inset: 0; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse closest-side, #000 50%, transparent 100%); mask-image: radial-gradient(ellipse closest-side, #000 50%, transparent 100%); background: radial-gradient(45% 55% at 25% 45%, rgb(255 107 53 / .22), transparent 70%), radial-gradient(45% 55% at 55% 60%, rgb(255 31 143 / .2), transparent 70%), radial-gradient(45% 55% at 82% 45%, rgb(58 134 255 / .2), transparent 70%); }
    .cta-in { position: relative; max-width: 42rem; }
    .cta h2 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; margin-bottom: 1.5rem; }
    .cta p { font-size: 1.1rem; color: var(--muted-2); margin-bottom: 2.5rem; }
    .cta-btns { display: flex; flex-direction: column; gap: 1rem; align-items: stretch; justify-content: center; }
    @media (min-width: 640px) { .cta-btns { flex-direction: row; align-items: center; } }
    .cta-mail { margin-top: 3rem; font-family: var(--mono); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--faint); }
    .cta-mail a:hover { color: var(--ink); }
    .cta .btn.glass { background: var(--glass); border: 1px solid rgb(var(--k) / .1); }
    .cta .btn.glass:hover { background: var(--surface); }

    /* Footer */
    footer { background: var(--soft); border-top: 1px solid rgb(var(--k) / .05); padding: 5rem 1.5rem 0; position: relative; overflow: hidden; }
    @media (min-width: 768px) { footer { padding-left: 3rem; padding-right: 3rem; } }
    .foot-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 5rem; position: relative; z-index: 1; }
    @media (min-width: 768px) { .foot-grid { grid-template-columns: repeat(4, 1fr); } }
    .foot-grid .brand { font-size: 1.5rem; font-weight: 600; letter-spacing: -.05em; margin-bottom: 1rem; }
    .foot-grid .blurb { font-size: .875rem; color: var(--muted); max-width: 16rem; }
    .col { display: flex; flex-direction: column; gap: .75rem; }
    .col .mono { color: var(--faint); margin-bottom: .5rem; letter-spacing: .15em; }
    .col a { font-size: .875rem; font-weight: 500; width: fit-content; display: inline-flex; align-items: center; gap: .5rem; transition: color .25s; }
    .col a:nth-child(2):hover { color: var(--orange); } .col a:nth-child(3):hover { color: var(--pink); }
    .col a:nth-child(4):hover { color: var(--purple); } .col a:nth-child(5):hover { color: var(--blue); }
    .foot-bottom { border-top: 1px solid rgb(var(--k) / .05); padding: 1.5rem 0; display: flex; flex-direction: column; gap: 1rem; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
    @media (min-width: 768px) { .foot-bottom { flex-direction: row; } }
    .foot-bottom .mono { font-size: .7rem; letter-spacing: .15em; color: var(--faint); }
    .big-text { display: flex; justify-content: center; overflow: hidden; opacity: .06; user-select: none; pointer-events: none; }
    .big-text div { font-size: 17vw; font-weight: 700; letter-spacing: -.05em; line-height: .9; white-space: nowrap; color: transparent; -webkit-text-stroke: 2px var(--ink); padding-bottom: 1rem; }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .marquee-track { animation: none; }
      .js .reveal-text { opacity: 1; transform: none; transition: none; }
      .bento-card, .bento-inner, .btn { transition: none; }
    }

/* Mobile menu */
.nav-right { display: flex; align-items: center; gap: .6rem; }
.burger { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid rgb(var(--k) / .14); background: var(--glass); }
.burger span { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .25s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.mmenu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--nav-bg); border-bottom: 1px solid rgb(var(--k) / .08); padding: .75rem 1.5rem 1.25rem; }
.mmenu.open { display: flex; }
.mmenu a { padding: .85rem 0; font-size: 1.05rem; font-weight: 500; border-bottom: 1px solid rgb(var(--k) / .05); }
.mmenu a:last-child { border-bottom: 0; }
@media (min-width: 1024px) { .burger, .mmenu { display: none !important; } }
.see-all { display: flex; justify-content: center; margin-top: 3rem; }

/* Theme toggle */
.themebtn { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid rgb(var(--k) / .14); background: var(--glass); color: var(--ink); }
.themebtn:hover { border-color: rgb(var(--k) / .4); }
.themebtn svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.themebtn .i-sun { display: none; } [data-theme="dark"] .themebtn .i-sun { display: block; } [data-theme="dark"] .themebtn .i-moon { display: none; }

/* SVG illustrations follow the theme */
.art svg [fill^="rgba(255"], .process-card .art svg [fill^="rgba(255"] { fill: var(--surface); }
[fill="#e5e7eb"], [fill="#d1d5db"] { fill: var(--bar); }
[fill="#f3f4f6"] { fill: var(--bar-2); }
[fill="#1A1A1A"] { fill: var(--ink); }
[stroke="#1A1A1A"] { stroke: var(--ink); }
[fill="#6b7280"] { fill: var(--muted); }
[stroke="rgba(0,0,0,.18)"], [stroke="rgba(0,0,0,.12)"], [stroke="rgba(0,0,0,.14)"] { stroke: rgb(var(--k) / .2); }
[fill="rgba(0,0,0,.03)"] { fill: rgb(var(--k) / .04); }
.fc-bars [fill="#e5e7eb"] { fill: var(--bar); }

/* Mobile refinements */
@media (max-width: 767px) {
  .bento-card.c2.r2 { min-height: 28rem; }
  .bento-card.c4 { min-height: 12rem; }
  .thumb .navy .illus { height: 64%; margin-bottom: .75rem; }
  .col a { padding: .6rem 0; }
  .cta-mail { line-height: 2.2; }
  .cta-mail a { display: inline-block; padding: .4rem 0; }
  .mmenu a { padding: 1rem 0; }
  .hero { padding-top: 7rem; }
  .ribbon { width: 150vw; height: 60vh; right: -60%; top: -5%; }
}

/* About */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3.5rem; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 5fr 6fr; gap: 5rem; } }
.about-photos { position: relative; padding-bottom: 3rem; max-width: 32rem; width: 100%; }
.ph { margin: 0; border-radius: 1.5rem; overflow: hidden; border: 1px solid rgb(var(--k) / .08); background: var(--bar-2); }
.ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ph-main { aspect-ratio: 4 / 5; }
.ph-main img { object-position: 50% 22%; }
.ph-alt { position: absolute; right: -1rem; bottom: 0; width: 44%; aspect-ratio: 4 / 5; box-shadow: 0 24px 48px -22px rgba(0,0,0,.45); outline: 5px solid var(--paper); }
.ph-alt img { object-position: 50% 30%; }
[data-theme="dark"] .ph img, [data-theme="dark"] img.avatar { filter: brightness(.92) contrast(1.03); }
.about-copy h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.08; margin: 1rem 0 1.5rem; }
.about-copy p { color: var(--muted-2); font-size: 1.05rem; line-height: 1.75; max-width: 40rem; }
.about-copy p + p { margin-top: 1rem; }
.facts { margin-top: 2rem; display: grid; gap: 0; border-top: 1px solid rgb(var(--k) / .08); max-width: 40rem; }
.facts div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgb(var(--k) / .08); }
.facts dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding-top: .2rem; }
.facts dd { font-size: .95rem; color: var(--ink); }
.about-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
img.avatar { object-fit: cover; background: none; display: block; width: 3.5rem; height: 3.5rem; }
@media (max-width: 480px) { .facts div { grid-template-columns: 1fr; gap: .15rem; } .ph-alt { right: -.25rem; } }

/* cards, filters, log (shared by home and portfolio) */
    .pstat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgb(var(--k) / .06); border: 1px solid rgb(var(--k) / .06); border-radius: 1.25rem; overflow: hidden; margin-top: 3.5rem; max-width: 48rem; }
    .pstat-row div { background: var(--surface); padding: 1.4rem 1.5rem; }
    .pstat-row b { display: block; font-size: 2rem; font-weight: 600; letter-spacing: -.04em; }
    .pstat-row span { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
    @media (max-width: 640px) { .pstat-row { grid-template-columns: 1fr; } }

    .filters { position: sticky; top: 4.1rem; z-index: 30; background: var(--nav-bg); border-top: 1px solid rgb(var(--k) / .05); border-bottom: 1px solid rgb(var(--k) / .05); padding: .8rem 1.5rem; }
    @media (min-width: 768px) { .filters { padding-left: 3rem; padding-right: 3rem; } }
    .filters .wrap { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; }
    .filters .wrap::-webkit-scrollbar { display: none; }
    .chip-f { flex: none; font-size: .8rem; font-weight: 500; padding: .45rem 1rem; border-radius: 999px; border: 1px solid rgb(var(--k) / .1); background: var(--surface); color: var(--muted-2); transition: all .2s; }
    .chip-f:hover { border-color: rgb(var(--k) / .3); color: var(--ink); }
    .chip-f.is-on { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

    .psec:nth-of-type(odd) { background: var(--soft); }
    .pgrid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
    @media (min-width: 768px) { .pgrid { grid-template-columns: 1fr 1fr; } }
    @media (min-width: 1180px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
    .pcard { padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
    .pcard[hidden], .psec[hidden], tr[hidden] { display: none; }
    .phead { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
    .ptitle h3 { font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.2; }
    .ptitle .mono { display: block; font-size: .7rem; margin-top: .4rem; letter-spacing: .08em; line-height: 1.5; }
    .ptile { flex: none; width: 9rem; height: 4rem; border-radius: .9rem; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #fff; border: 1px solid rgb(var(--k) / .08); }
                            .prel { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; padding-top: .9rem; border-top: 1px dashed rgb(var(--k) / .1); }
    .prel .mono { font-size: .7rem; letter-spacing: .1em; }
    .prel img { height: 1.15rem; width: auto; filter: var(--logo-mono); transition: filter .35s; }
    
    .mg { width: 2.4rem; height: 2.4rem; border-radius: .7rem; background: var(--stripe); display: flex; align-items: center; justify-content: center; }
    .mgw { width: auto; min-width: 2.4rem; padding: 0 .7rem; }
    .mgw b { font-size: .8rem !important; letter-spacing: .04em !important; }
    .prole { margin-top: -.4rem; color: var(--pitch-fg); font-size: .7rem; letter-spacing: .1em; }
    .mg b { color: #fff; font-size: 1.15rem; font-weight: 700; letter-spacing: -.03em; font-style: normal; }
    .pill { flex: none; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; align-self: flex-start; }
    .pill.ok { background: var(--ok-bg); color: var(--ok-fg); } .pill.run { background: var(--run-bg); color: var(--run-fg); } .pill.pitch { background: var(--pitch-bg); color: var(--pitch-fg); } .pill.soft { background: var(--bar-2); color: var(--muted); }
    .pcard p { font-size: .9rem; color: var(--muted-2); line-height: 1.65; }
    .pstats { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem .5rem; }
    .pstats li { font-size: .78rem; font-weight: 600; background: var(--ink); color: var(--on-ink); border-radius: 999px; padding: .25rem .75rem; }
    .ptags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; }
    .tag { font-family: var(--mono); font-size: .7rem; padding: .2rem .6rem; border: 1px solid rgb(var(--k) / .1); border-radius: 999px; color: var(--muted); }
    .plink { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; width: fit-content; border-bottom: 1px solid rgb(var(--k) / .2); padding-bottom: 1px; transition: border-color .2s, color .2s; }
    .plink:hover { border-color: var(--ink); }

    .log-wrap { overflow-x: auto; border: 1px solid rgb(var(--k) / .07); border-radius: 1.25rem; background: var(--surface); }
    table.log { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 52rem; }
    table.log th { text-align: left; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-weight: 500; padding: 1rem 1.25rem; border-bottom: 1px solid rgb(var(--k) / .07); }
    table.log td { padding: .9rem 1.25rem; border-bottom: 1px solid rgb(var(--k) / .05); color: var(--muted-2); vertical-align: top; }
    table.log tr:last-child td { border-bottom: 0; }
    table.log td b { color: var(--ink); font-weight: 600; }
    table.log .mono-cell { font-family: var(--mono); font-size: .72rem; white-space: nowrap; }
    table.log tbody tr:hover { background: var(--soft); }
    @media (max-width: 767px) {
      table.log { min-width: 0; } table.log thead { display: none; }
      table.log tr { display: block; padding: 1rem 1.25rem; border-bottom: 1px solid rgb(var(--k) / .06); }
      table.log td { display: block; padding: .15rem 0; border: 0; }
      table.log td::before { content: attr(data-l) ": "; font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
    }
    .pnote { margin-top: 2rem; font-size: .85rem; color: var(--muted); max-width: 46rem; }
    .empty { display: none; text-align: center; color: var(--faint); padding: 3rem 0; }

@media (max-width: 767px) { .plink, .chip-f { min-height: 2.5rem; } .plink { display: inline-flex; align-items: center; } }

@media (max-width: 767px) { }

/* Logos: one monochrome system everywhere */
.ptile { width: 9rem; height: 4rem; }
.ptile-sm { width: 7rem; height: 3.2rem; border-radius: .7rem; }
.ptile img.lg { max-width: 86%; max-height: 72%; width: auto; height: auto; }
.ptile img.lg-ink { filter: brightness(0) opacity(.86); }
.ptile img.lg-gray { filter: grayscale(1) contrast(1.35) brightness(.78); }
.ptile img.lg-solid { width: 2.5rem; height: 2.5rem; max-height: none; border-radius: .55rem; }
.ptile img.lg-solidw { width: auto; height: 2.2rem; max-width: 88%; max-height: none; border-radius: .4rem; }
.prel img { filter: brightness(0) opacity(.55); }
[data-theme="dark"] .prel img { filter: brightness(0) invert(1) opacity(.6); }
.nav-links a.is-active { color: var(--ink); }
.career-label { margin: 5rem 0 1rem; }
.see-all { display: flex; justify-content: center; margin-top: 3rem; }

/* Compact hero for sub pages: same hero, less height */
.hero.compact { min-height: auto; padding-top: 9.5rem; padding-bottom: 4.5rem; }
.hero.compact .hero-title { font-size: clamp(3rem, 7vw, 6.5rem); }
.hero.compact .ribbon { top: -35%; right: -15%; }
.hero.compact .pstat-row { margin-top: 3.5rem; }

/* Soft page transitions between the home page and the portfolio (Chrome, Edge, Safari 18.2+) */
@view-transition { navigation: auto; }
#navbar { view-transition-name: site-nav; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

.process-card .num::after { content: attr(data-n); }

@media (max-width: 420px) {
  .row .l { flex-wrap: wrap; row-gap: .4rem; }
  .row .yr { width: 100%; }
  .row h4 { min-width: 0; overflow-wrap: anywhere; font-size: 1.15rem; }
}

.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--on-ink); padding: .7rem 1.1rem; border-radius: 999px; font-size: .9rem; font-weight: 600; transition: top .15s; }
.skip:focus { top: 1rem; }

.big-text div::before { content: attr(data-t); }

/* ABS logo */
.logo { display: inline-flex; align-items: center; color: var(--ink); padding: .35rem 0; }
.logo svg { height: 1.85rem; width: auto; display: block; }
.foot-grid .brand { margin-bottom: 1rem; color: var(--ink); }
.foot-grid .brand svg { height: 2.6rem; width: auto; display: block; }

@media (max-width: 400px) { .nav-right > .btn { display: none; } }
