:root {
            --b: #050505;
            --p: #0b0b0b;
            --l: #292929;
            --t: #f5f5f5;
            --m: #929292;
            color-scheme: dark
        }

        * {
            box-sizing: border-box
        }

        html {
            scroll-behavior: smooth
        }

        body {
            position: relative;
            margin: 0;
            background: var(--b);
            color: var(--t);
            font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            overflow-x: hidden
        }

        body:before {
            content: "";
            position: fixed;
            inset: 0;
            z-index: 0;
            background: url("circuit-background.png") center / cover no-repeat;
            opacity: .2;
            pointer-events: none
        }

        a {
            color: inherit
        }

        .site {
            position: relative;
            z-index: 1;
            overflow: hidden
        }

        .wrap,
        .navin {
            width: min(1120px, calc(100% - 32px));
            margin: auto
        }

        .nav {
            position: sticky;
            top: 0;
            z-index: 40;
            background: #050505ef;
            border-bottom: 1px solid var(--l);
            backdrop-filter: blur(14px)
        }

        .navin {
            min-height: 62px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px
        }

        .brand {
            font: 700 11px ui-monospace, monospace;
            letter-spacing: .15em;
            text-decoration: none
        }

        .links {
            display: flex;
            gap: 3px
        }

        .links a {
            padding: 8px;
            color: #999;
            text-decoration: none;
            font-size: 12px
        }

        .links a:hover,
        .links a:focus-visible {
            color: #fff;
            outline: 1px solid #555
        }

        .hero {
            width: 100vw;
            margin-left: calc(50% - 50vw);
            min-height: 680px;
            display: grid;
            grid-template-columns: 1.03fr .97fr;
            gap: 48px;
            align-items: center;
            padding: 58px max(16px, calc((100vw - 1120px) / 2));
            position: relative;
            z-index: 2;
            background-color: #020202;
        }

        .eyebrow,
        .idx,
        .meta,
        .date,
        .company {
            color: #777;
            font: 700 10px ui-monospace, monospace;
            letter-spacing: .13em;
            text-transform: uppercase
        }

        .hero h1 {
            font-size: clamp(62px, 9vw, 116px);
            line-height: .79;
            letter-spacing: -.085em;
            font-weight: 580;
            margin: 25px 0
        }

        .hero h2 {
            font-size: clamp(20px, 3vw, 30px);
            font-weight: 440;
            color: #ccc
        }

        .hero p,
        .head p {
            color: var(--m);
            line-height: 1.75
        }

        .btn {
            display: inline-flex;
            margin: 18px 8px 0 0;
            padding: 11px 15px;
            border: 1px solid #444;
            text-decoration: none;
            font-size: 12px;
            font-weight: 750
        }

        .btn.primary {
            background: #fff;
            color: #050505
        }

        .sketch {
            position: relative;
            min-height: 565px;
            background: #020202;
            display: grid;
            place-items: center
        }

        .sketch img {
            display: block;
            width: 100%;
            height: 565px;
            object-fit: contain;
            mix-blend-mode: screen;
        }

        .book-feature {
            display: grid;
            grid-template-columns: minmax(180px, .55fr) 1.45fr;
            align-items: center;
            gap: clamp(32px, 7vw, 88px);
            padding: clamp(56px, 8vw, 96px) 0;
            border-bottom: 1px solid var(--l)
        }

        .book-cover {
            display: block;
            width: min(100%, 300px);
            margin: auto;
            box-shadow: 0 20px 60px rgba(0, 0, 0, .45)
        }

        .book-cover img {
            display: block;
            width: 100%;
            height: auto
        }

        .book-copy h2 {
            max-width: 720px;
            margin: 14px 0 20px;
            font-size: clamp(34px, 5vw, 62px);
            line-height: .98;
            letter-spacing: -.055em;
            font-weight: 580
        }

        .book-copy p {
            max-width: 680px;
            margin: 0;
            color: var(--m);
            line-height: 1.8
        }

        .sec {
            position: relative;
            z-index: 2;
            padding: 88px 0;
            border-top: 1px solid var(--l);
            scroll-margin-top: 62px;
        }

        .head {
            display: grid;
            grid-template-columns: 1fr minmax(270px, 450px);
            gap: 38px;
            align-items: end;
            margin-bottom: 38px
        }

        .head h2 {
            font-size: clamp(40px, 6vw, 70px);
            line-height: .93;
            letter-spacing: -.06em;
            font-weight: 580;
            margin: 14px 0 0
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px
        }

        .card {
            display: flex;
            flex-direction: column;
            min-height: 225px;
            padding: 22px;
            border: 1px solid var(--l);
            background: var(--p);
            transition: .25s
        }

        .card:hover {
            border-color: #666;
            transform: translateY(-3px);
            background: #111
        }

        .card h3 {
            font-size: 18px;
            line-height: 1.35;
            margin: 18px 0 11px
        }

        .card h3 a {
            text-decoration: none
        }

        .card h3 a:hover,
        .card h3 a:focus-visible,
        .resource-links a:hover,
        .resource-links a:focus-visible {
            text-decoration: underline
        }

        .resource-links {
            display: flex;
            gap: 12px;
            margin: -2px 0 12px;
            font: 700 9px ui-monospace, monospace;
            text-transform: uppercase
        }

        .resource-links a {
            color: #888;
            text-decoration: none
        }

        .card p {
            color: #999;
            font-size: 13px;
            line-height: 1.7;
            margin: 0
        }

        .type {
            margin-top: auto;
            padding-top: 18px;
            color: #666;
            font: 700 9px ui-monospace, monospace;
            text-transform: uppercase
        }

        .website-list {
            display: grid;
            gap: 18px
        }

        .website-card {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            align-items: center;
            gap: 28px;
            padding: 22px;
            border: 1px solid var(--l);
            background: var(--p)
        }

        .website-card:nth-child(even) .website-media {
            order: 2
        }

        .keyboard-divider,
        .state-space-divider {
            width: 100vw;
            margin: 0 calc(50% - 50vw);
            padding: 32px 0
        }

        .keyboard-divider img,
        .state-space-divider canvas {
            display: block;
            width: 100%;
            object-fit: contain
        }

        .state-space-divider {
            height: 100vh;
            box-sizing: border-box;
            position: relative;
            display: grid;
            grid-template-rows: auto minmax(0, 1fr);
            align-content: center;
            justify-items: center;
            gap: clamp(8px, 2vh, 20px);
            padding: clamp(30px, 6vh, 64px) clamp(24px, 6vw, 88px);
            overflow: hidden;
            color: #fff;
            background-color: #000;
            background-image:
                linear-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, .13) 1px, transparent 1px),
                linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
            background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px
        }

        .state-space-divider::before {
            position: absolute;
            inset: 14px;
            border: 1px solid rgba(255, 255, 255, .42);
            content: "";
            pointer-events: none
        }

        .state-space-title {
            z-index: 1;
            width: min(100%, 1280px);
            margin: 0;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(255, 255, 255, .55);
            color: #fff;
            font: 600 clamp(17px, 2.2vw, 28px)/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
            letter-spacing: .04em
        }

        .state-space-divider canvas {
            width: min(100%, 258vh);
            height: auto;
            max-height: calc(100vh - 150px)
        }

        .pong-divider {
            width: 100vw;
            margin: 0 calc(50% - 50vw);
            height: 100vh;
            box-sizing: border-box;
            position: relative;
            display: grid;
            grid-template-rows: auto minmax(0, 1fr);
            align-content: center;
            justify-items: center;
            gap: clamp(8px, 2vh, 20px);
            padding: clamp(30px, 6vh, 64px) clamp(24px, 6vw, 88px);
            overflow: hidden;
            color: #fff;
            background: #000
        }

        .pong-divider::before {
            position: absolute;
            inset: 14px;
            border: 1px solid rgba(255, 255, 255, .42);
            content: "";
            pointer-events: none
        }

        .pong-title {
            z-index: 1;
            width: min(100%, 1280px);
            margin: 0;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(255, 255, 255, .55);
            color: #fff;
            font: 600 clamp(17px, 2.2vw, 28px)/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
            letter-spacing: .04em
        }

        .pong-divider canvas {
            display: block;
            width: min(100%, 160vh);
            max-height: calc(100vh - 150px);
            align-self: center;
            aspect-ratio: 16 / 9;
            object-fit: contain
        }

        .apps-list .website-gallery {
            grid-column: 2;
            grid-row: 1;
            grid-template-columns: 1fr
        }

        .apps-list .website-gallery img {
            max-height: 420px;
            aspect-ratio: auto
        }

        .apps-list .website-gallery figure {
            background: transparent
        }

        .apps-list .website-copy {
            grid-column: 1;
            grid-row: 1
        }

        .website-media,
        .website-gallery figure {
            margin: 0;
            overflow: hidden;
            background: transparent
        }

        .website-media img {
            display: block;
            width: 100%;
            aspect-ratio: 1.48;
            object-fit: cover;
            mix-blend-mode: screen
        }

        .robotics-list .website-media img {
            object-fit: contain
        }

        .website-copy h3 {
            margin: 0 0 14px;
            font-size: clamp(22px, 3vw, 32px);
            letter-spacing: -.035em
        }

        .website-copy p {
            margin: 0;
            color: #aaa;
            font-size: 13px;
            line-height: 1.8
        }

        .website-copy p + p {
            margin-top: 14px
        }

        .website-gallery {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
            grid-column: 1 / -1
        }

        .website-gallery img {
            display: block;
            width: 100%;
            max-height: 300px;
            aspect-ratio: 1.6;
            object-fit: contain;
            mix-blend-mode: screen
        }

        .robotics-list .website-card {
            align-items: start
        }

        .robotics-list .resource-links {
            margin-top: 12px
        }

        .bio-audio {
            width: 100%;
            margin-top: 18px
        }

        .robotics-list .website-copy {
            grid-column: 1;
            grid-row: 1
        }

        .robotics-list .robot-carousel {
            grid-column: 2;
            grid-row: 1;
            min-width: 0
        }

        .robot-slide {
            position: relative;
            aspect-ratio: 16 / 10;
            background: #020202;
            border: 1px solid var(--l)
        }

        .robot-slide[hidden] {
            display: none
        }

        .robot-carousel-controls[hidden] {
            display: none
        }

        .robot-slide > img,
        .robot-slide iframe {
            display: block;
            width: 100%;
            height: 100%;
            border: 0;
            object-fit: contain
        }

        .robot-slide iframe {
            position: absolute;
            inset: 0
        }

        .robot-play {
            position: absolute;
            inset: 0;
            display: grid;
            place-items: center;
            width: 100%;
            border: 0;
            background: #0003;
            color: #fff;
            cursor: pointer
        }

        .robot-play span {
            display: grid;
            place-items: center;
            width: 66px;
            height: 66px;
            padding-left: 5px;
            border: 1px solid #ffffffaa;
            border-radius: 50%;
            background: #050505cc;
            font-size: 26px
        }

        .robot-playback-note {
            position: absolute;
            inset: 0;
            display: grid;
            align-content: center;
            justify-items: center;
            gap: 12px;
            padding: 24px;
            background: #050505ed;
            color: #ddd;
            text-align: center;
            font-size: 13px;
            line-height: 1.6
        }

        .robot-playback-note a {
            color: #fff;
            text-underline-offset: 3px
        }

        .robot-carousel-controls {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-top: 12px
        }

        .robot-carousel-controls > button {
            min-width: 40px;
            min-height: 36px;
            border: 1px solid #444;
            background: #090909;
            color: #fff;
            cursor: pointer
        }

        .robot-carousel-dots {
            display: flex;
            justify-content: center;
            gap: 7px
        }

        .robot-carousel-dots button {
            width: 8px;
            height: 8px;
            padding: 0;
            border: 0;
            border-radius: 50%;
            background: #555;
            cursor: pointer
        }

        .robot-carousel-dots button[aria-current="true"] {
            background: #fff
        }

        .profile {
            display: grid;
            grid-template-columns: .72fr 1.28fr;
            gap: 12px
        }

        .box {
            padding: 24px;
            border: 1px solid var(--l);
            background: var(--p)
        }

        .box p {
            color: #aaa;
            line-height: 1.8
        }

        .bio-box {
            display: grid;
            grid-template-columns: minmax(140px, 30%) 1fr;
            gap: 20px;
            align-items: center
        }

        .bio-box img {
            display: block;
            width: 100%;
            aspect-ratio: 1;
            object-fit: cover;
            object-position: center 24%;
            border-radius: 50%
        }

        .stat {
            font-size: 38px
        }

        .toolbar {
            position: sticky;
            top: 62px;
            z-index: 12;
            display: flex;
            gap: 7px;
            flex-wrap: wrap;
            padding: 14px 0;
            background: #050505f5;
            border-block: 1px solid var(--l)
        }

        button {
            font: inherit
        }

        .filter {
            border: 1px solid #333;
            border-radius: 999px;
            background: #090909;
            color: #888;
            padding: 8px 12px;
            font-size: 11px;
            cursor: pointer
        }

        .filter.active {
            background: #fff;
            color: #050505
        }

        .count {
            margin-left: auto;
            color: #777;
            font: 700 10px ui-monospace;
            align-self: center
        }

        .years {
            padding-top: 38px
        }

        .year {
            display: grid;
            grid-template-columns: 78px 1fr;
            gap: 20px;
            margin-bottom: 44px
        }

        .year-label {
            color: #777;
            font: 700 12px ui-monospace
        }

        .roles {
            display: grid;
            gap: 12px;
            padding-left: 28px;
            border-left: 1px solid #333
        }

        .role {
            position: relative;
            display: grid;
            grid-template-columns: 190px 1fr;
            gap: 28px;
            padding: 24px;
            border: 1px solid var(--l);
            background: var(--p)
        }

        .role:before {
            content: "";
            position: absolute;
            left: -32px;
            top: 29px;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #fff;
            box-shadow: 0 0 0 5px var(--b)
        }

        .role h3 {
            margin: 8px 0 10px;
            font-size: 20px
        }

        .role p {
            margin: 0;
            color: #999;
            font-size: 13px;
            line-height: 1.7
        }

        .tags {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            margin-top: 14px
        }

        .tag,
        .pill {
            padding: 6px 8px;
            border: 1px solid #333;
            color: #777;
            font: 700 9px ui-monospace, monospace;
            text-transform: uppercase
        }

        .summary {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-bottom: 30px
        }

        .pill {
            border-radius: 999px
        }

        .skills {
            display: grid;
            grid-template-columns: 250px 1fr;
            border: 1px solid var(--l);
            background: var(--p)
        }

        .tabs {
            padding: 12px;
            border-right: 1px solid var(--l);
            display: grid;
            gap: 5px;
            align-content: start
        }

        .tab {
            padding: 12px;
            border: 1px solid transparent;
            background: transparent;
            color: #777;
            text-align: left;
            font: 700 10px ui-monospace, monospace;
            text-transform: uppercase;
            cursor: pointer
        }

        .tab.active {
            background: #fff;
            color: #050505
        }

        .panel {
            padding: 38px;
            min-height: 380px
        }

        .panel h3 {
            font-size: 38px;
            margin: 0 0 24px
        }

        .skill-list {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0 24px;
            list-style: none;
            padding: 0
        }

        .skill-list li {
            padding: 13px 0;
            border-top: 1px solid #292929;
            color: #bbb;
            font-size: 13px
        }

        .test {
            display: grid;
            grid-template-columns: 1fr 170px;
            min-height: 390px;
            border: 1px solid var(--l);
            background: var(--p)
        }

        .quote {
            padding: clamp(28px, 6vw, 60px);
            display: flex;
            flex-direction: column
        }

        .copy {
            font-size: clamp(18px, 2.4vw, 27px);
            line-height: 1.5;
            color: #d4d4d4
        }

        .person {
            margin-top: auto;
            padding-top: 22px;
            border-top: 1px solid #292929
        }

        .person span {
            display: block;
            margin-top: 6px;
            color: #777;
            font: 700 10px ui-monospace, monospace;
            text-transform: uppercase
        }

        .testside {
            padding: 22px;
            border-left: 1px solid var(--l);
            display: flex;
            flex-direction: column;
            justify-content: space-between
        }

        .dots {
            display: grid;
            gap: 7px
        }

        .dot {
            height: 2px;
            border: 0;
            background: #333;
            cursor: pointer
        }

        .dot.active {
            background: #fff
        }

        .controls {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px
        }

        .controls button {
            min-height: 48px;
            border: 1px solid #444;
            background: #090909;
            color: #fff;
            cursor: pointer
        }

        .contact {
            text-align: center;
            padding: 78px 24px;
            border: 1px solid #333;
            background-color: black;
        }

        .sec:is(#about, #projects, #websites, #robotics, #grants-awards, #skills, #contact)
        :is(.box, .card, .website-card, .role, .skills, .contact) {
            border-color: rgba(129, 140, 248, .38);
            box-shadow: 0 0 22px rgba(99, 102, 241, .14), inset 0 0 0 1px rgba(99, 102, 241, .06)
        }

        .contact h2 {
            font-size: clamp(44px, 8vw, 88px);
            line-height: .9;
            letter-spacing: -.07em;
            margin: 15px
        }

        .foot {
            display: flex;
            justify-content: space-between;
            padding: 30px 0 45px;
            color: #666;
            font: 700 10px ui-monospace
        }

        .atom {
            --s: 120px;
            --d: 15s;
            position: absolute;
            z-index: 7;
            width: var(--s);
            height: var(--s);
            pointer-events: none;
            opacity: .68
        }

        .nucleus {
            position: absolute;
            left: 50%;
            top: 50%;
            z-index: 4;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: #fff;
            box-shadow: 0 0 18px #fff;
            transform: translate(-50%, -50%)
        }

        .orbit {
            position: absolute;
            left: 10%;
            top: 34%;
            width: 80%;
            height: 32%;
            border: 2px solid #ffffffdd;
            border-radius: 50%;
            transform-origin: center
        }

        .o1 {
            animation: r1 var(--d) linear infinite
        }

        .o2 {
            animation: r2 calc(var(--d)*1.1) linear infinite reverse
        }

        .o3 {
            animation: r3 calc(var(--d)*.9) linear infinite
        }

        .electron {
            position: absolute;
            left: -5px;
            top: 50%;
            width: 9px;
            height: 9px;
            border-radius: 50%;
            background: #fff;
            box-shadow: 0 0 10px #fff
        }

        .a1 {
            top: 150px;
            right: 2%;
            --s: 132px
        }

        .a2 {
            top: 900px;
            left: 1%;
            --s: 105px
        }

        .a3 {
            top: 2200px;
            right: 1%;
            --s: 126px
        }

        .a4 {
            top: 4300px;
            left: 1%;
            --s: 112px
        }

        .a5 {
            top: 6500px;
            right: 1%;
            --s: 136px
        }

        .a6 {
            top: 8200px;
            left: 1%;
            --s: 108px
        }

        @keyframes r1 {
            to {
                transform: rotate(360deg)
            }
        }

        @keyframes r2 {
            from {
                transform: rotate(60deg)
            }

            to {
                transform: rotate(420deg)
            }
        }

        @keyframes r3 {
            from {
                transform: rotate(-60deg)
            }

            to {
                transform: rotate(300deg)
            }
        }

        @media(max-width:820px) {
            .links {
                display: none
            }

            .hero,
            .book-feature,
            .head,
            .profile,
            .skills,
            .test {
                grid-template-columns: 1fr
            }

            .book-cover {
                width: min(58%, 260px)
            }

            .bio-box {
                grid-template-columns: 1fr
            }

            .bio-box img {
                max-width: 220px;
                margin: auto
            }

            .grid,
            .skill-list,
            .website-card {
                grid-template-columns: 1fr
            }

            .website-card:nth-child(even) .website-media {
                order: 0
            }

            .apps-list .website-copy {
                grid-column: 1;
                grid-row: 1
            }

            .apps-list .website-gallery {
                grid-column: 1;
                grid-row: 2
            }

            .robotics-list .website-copy {
                grid-column: 1;
                grid-row: 1
            }

            .robotics-list .robot-carousel {
                grid-column: 1;
                grid-row: 2
            }

            .year,
            .role {
                grid-template-columns: 1fr
            }

            .tabs {
                grid-template-columns: 1fr 1fr;
                border-right: 0;
                border-bottom: 1px solid var(--l)
            }

            .testside {
                border-left: 0;
                border-top: 1px solid var(--l);
                gap: 20px
            }

            .foot {
                flex-direction: column;
                gap: 8px
            }

            .atom:nth-child(odd) {
                right: -45px
            }

            .atom:nth-child(even) {
                left: -45px
            }
        }

        @media(prefers-reduced-motion:reduce) {
            html {
                scroll-behavior: auto
            }

            .orbit {
                animation: none !important
            }

            .card:hover {
                transform: none
            }
        }
