:root {
            --base: 6 11 9;
            --fg: 234 241 236;
            --surface: 14 22 18;
            --tick: 83 189 235
        }

        .logo-dark {
            display: block;
        }

        .logo-light {
            display: none;
        }

        [data-theme="light"] {
            --base: 243 241 235;
            --fg: 9 17 13;
            --surface: 255 255 255
        }

        [data-theme="light"] .logo-dark {
            display: none !important;
        }

        [data-theme="light"] .logo-light {
            display: block !important;
        }

        html {
            scroll-behavior: smooth;
            background: rgb(var(--base))
        }

        body {
            background: rgb(var(--base));
            color: rgb(var(--fg));
            -webkit-font-smoothing: antialiased;
            transition: background .5s, color .5s
        }

        a {
            color: inherit;
            text-decoration: none
        }

        a:not([class]):hover {
            color: rgb(var(--accentx))
        }

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

        h1,
        h2,
        h3 {
            text-wrap: balance
        }

        p {
            text-wrap: pretty
        }

        .grid-bg {
            background-image: linear-gradient(rgb(var(--fg)/.05) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--fg)/.05) 1px, transparent 1px);
            background-size: 72px 72px;
            -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 25%, transparent 72%);
            mask-image: radial-gradient(ellipse at 50% 35%, #000 25%, transparent 72%)
        }

        .hero-spot {
            background: radial-gradient(640px circle at var(--hx, 72%) var(--hy, 38%), rgb(var(--accent)/.16), transparent 62%)
        }

        .glow-shadow {
            box-shadow: 0 50px 120px -50px rgb(var(--accent)/.45), 0 0 0 1px rgb(var(--fg)/.08)
        }

        .chat-bg {
            background-image: radial-gradient(rgb(var(--fg)/.07) 1px, transparent 1px);
            background-size: 16px 16px
        }

        #loader {
            display: none !important
        }

        .js .ln {
            display: block;
            overflow: hidden;
            padding-bottom: .07em
        }

        .js .ln>span {
            display: inline-block;
            transform: translateY(112%);
            transition: transform 1.15s cubic-bezier(.16, .84, .24, 1)
        }

        .js.ready .ln>span {
            transform: none
        }

        .h-tk {
            display: inline-block;
            width: .46em;
            height: .3em;
            margin-left: .1em;
            vertical-align: .14em;
            color: rgb(var(--fg)/.22);
            opacity: 0;
            transform: scale(.4);
            transition: opacity .35s, transform .5s cubic-bezier(.2, 1.5, .4, 1), color .6s
        }

        .h-tk.sent {
            opacity: 1;
            transform: none
        }

        .h-tk.read {
            color: rgb(var(--tick))
        }

        .h-tk svg {
            width: 100%;
            height: 100%;
            display: block
        }

        .tk2 {
            opacity: 0;
            transition: opacity .3s
        }

        .sent .tk2,
        .dlv .tk2 {
            opacity: 1
        }

        .js .rv {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1)
        }

        .js .rv.in {
            opacity: 1;
            transform: none
        }

        .bub {
            position: relative;
            max-width: 84%;
            padding: 8px 11px 7px;
            border-radius: 16px;
            font-size: 13.5px;
            line-height: 1.42;
            animation: bIn .45s cubic-bezier(.2, .8, .2, 1) both
        }

        .bub.in {
            align-self: flex-start;
            background: rgb(var(--fg)/.08);
            border-bottom-left-radius: 5px
        }

        .bub.out {
            align-self: flex-end;
            background: rgb(var(--accent)/.15);
            border: 1px solid rgb(var(--accent)/.3);
            border-bottom-right-radius: 5px
        }

        .bub .mt {
            display: inline-flex;
            align-items: center;
            gap: 3px;
            float: right;
            margin: 6px 0 -2px 10px;
            font-size: 10px;
            color: rgb(var(--fg)/.5)
        }

        .tks svg {
            width: 16px;
            height: 11px;
            color: rgb(var(--fg)/.38);
            transition: color .5s;
            display: block
        }

        .read .tks svg {
            color: rgb(var(--tick))
        }

        .bub.typing {
            display: flex;
            gap: 4px;
            padding: 12px 14px
        }

        .bub.typing i {
            width: 6px;
            height: 6px;
            border-radius: 9px;
            background: rgb(var(--fg)/.5);
            animation: ty 1.1s infinite
        }

        .bub.typing i:nth-child(2) {
            animation-delay: .15s
        }

        .bub.typing i:nth-child(3) {
            animation-delay: .3s
        }

        @keyframes ty {

            0%,
            60%,
            100% {
                transform: translateY(0);
                opacity: .4
            }

            30% {
                transform: translateY(-4px);
                opacity: 1
            }
        }

        @keyframes bIn {
            from {
                opacity: 0;
                transform: translateY(12px) scale(.96)
            }

            to {
                opacity: 1;
                transform: none
            }
        }

        .sys {
            align-self: center;
            font: 700 10px "JetBrains Mono";
            letter-spacing: .1em;
            text-transform: uppercase;
            padding: 6px 11px;
            border-radius: 99px;
            background: rgb(var(--accent)/.15);
            color: rgb(var(--accentx));
            animation: bIn .45s both
        }

        #chatBody>* {
            transition: opacity .5s
        }

        #chatBody.fade>* {
            opacity: 0
        }

        #toast {
            opacity: 0;
            transform: translateY(12px) scale(.94);
            transition: .55s cubic-bezier(.2, .8, .2, 1)
        }

        #toast.on {
            opacity: 1;
            transform: none
        }

        @keyframes fl {

            0%,
            100% {
                transform: translateY(0)
            }

            50% {
                transform: translateY(-12px)
            }
        }

        .fl1 {
            animation: fl 6s ease-in-out infinite
        }

        .fl2 {
            animation: fl 7s ease-in-out -2s infinite
        }

        .fl3 {
            animation: fl 8s ease-in-out -4s infinite
        }

        .mq {
            display: flex;
            width: max-content;
            animation: mq var(--d, 40s) linear infinite
        }

        .mq.rev {
            animation-direction: reverse
        }

        @keyframes mq {
            to {
                transform: translateX(-50%)
            }
        }

        .pulse {
            animation: pu 1.6s ease-in-out infinite
        }

        @keyframes pu {
            50% {
                opacity: .3
            }
        }

        .spot {
            position: relative;
            isolation: isolate
        }

        .spot::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: inherit;
            background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgb(var(--accent)/.13), transparent 45%);
            opacity: 0;
            transition: opacity .35s;
            z-index: -1;
            pointer-events: none
        }

        .spot:hover::before {
            opacity: 1
        }

        .cv-tile {
            position: absolute;
            left: 50%;
            top: 60%;
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 16px 8px 8px;
            border-radius: 16px;
            border: 1px solid rgb(var(--fg)/.12);
            background: rgb(var(--surface));
            white-space: nowrap;
            font-weight: 600;
            font-size: 14px;
            box-shadow: 0 24px 50px -26px rgb(0 0 0/.65);
            will-change: transform;
            transform: translate(-50%, -50%)
        }

        .ch {
            width: 34px;
            height: 34px;
            border-radius: 11px;
            display: grid;
            place-items: center;
            color: #fff;
            font: 700 10.5px "JetBrains Mono";
            flex-shrink: 0
        }

        #cvHub {
            position: absolute;
            left: 50%;
            top: 60%;
            transform: translate(-50%, -50%)
        }

        .cv-row {
            opacity: 0;
            transform: translateY(8px);
            transition: .5s cubic-bezier(.2, .8, .2, 1)
        }

        .cv-row.on {
            opacity: 1;
            transform: none
        }

        .eng-t {
            position: relative;
            text-align: left;
            padding: 16px 4px 18px;
            color: rgb(var(--fg)/.5);
            transition: color .3s
        }

        .eng-t.on,
        .eng-t:hover {
            color: rgb(var(--fg))
        }

        .eng-t .bar {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 2px;
            background: rgb(var(--fg)/.12);
            overflow: hidden
        }

        .eng-t .bar i {
            position: absolute;
            inset: 0;
            background: rgb(var(--accent));
            transform: scaleX(0);
            transform-origin: left
        }

        .eng-t.on .bar i {
            animation: fill 7s linear forwards
        }

        @keyframes fill {
            to {
                transform: scaleX(1)
            }
        }

        .eng-p {
            display: none
        }

        .eng-p.on {
            display: grid;
            animation: pIn .7s cubic-bezier(.2, .8, .2, 1) both
        }

        @keyframes pIn {
            from {
                opacity: 0;
                transform: translateY(18px)
            }

            to {
                opacity: 1;
                transform: none
            }
        }

        .cable {
            fill: none;
            stroke: rgb(var(--accent)/.6);
            stroke-width: 2.5;
            stroke-dasharray: 7 9;
            animation: dash 1s linear infinite
        }

        @keyframes dash {
            to {
                stroke-dashoffset: -16
            }
        }

        .pkt {
            fill: rgb(var(--accent));
            filter: drop-shadow(0 0 6px rgb(var(--accent)))
        }

        .fnode {
            transition: border-color .4s, box-shadow .4s, transform .4s
        }

        .fnode.hot {
            border-color: rgb(var(--accent));
            box-shadow: 0 0 0 4px rgb(var(--accent)/.15), 0 20px 50px -20px rgb(var(--accent)/.5);
            transform: translate(-50%, -50%) scale(1.03)
        }

        @media (max-width:1279px) {
            .fnode.hot {
                transform: scale(1.02)
            }
        }

        @media (min-width:1280px) {
            .fnode {
                position: absolute;
                width: 15%;
                transform: translate(-50%, -50%)
            }
        }

        #bcDots {
            display: grid;
            grid-template-columns: repeat(20, 1fr);
            gap: 5px
        }

        #bcDots i {
            aspect-ratio: 1;
            border-radius: 3px;
            background: rgb(var(--fg)/.1);
            transition: background .35s, transform .35s
        }

        #bcDots i.s {
            background: rgb(var(--fg)/.4)
        }

        #bcDots i.d {
            background: rgb(var(--accent)/.75)
        }

        #bcDots i.r {
            background: rgb(var(--tick));
            transform: scale(.86)
        }

        .seg {
            display: flex;
            padding: 4px;
            border-radius: 99px;
            background: rgb(var(--fg)/.07)
        }

        .seg button {
            flex: 1;
            padding: 9px 12px;
            border-radius: 99px;
            font-size: 12.5px;
            font-weight: 600;
            color: rgb(var(--fg)/.6);
            transition: .25s
        }

        .seg button.on {
            background: rgb(var(--accent));
            color: rgb(var(--onaccent))
        }

        input[type=range] {
            -webkit-appearance: none;
            appearance: none;
            width: 100%;
            height: 4px;
            border-radius: 9px;
            background: rgb(var(--fg)/.15);
            outline: none
        }

        input[type=range]::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 22px;
            height: 22px;
            border-radius: 99px;
            background: rgb(var(--accent));
            border: 4px solid rgb(var(--surface));
            box-shadow: 0 0 0 1px rgb(var(--accent));
            cursor: pointer
        }

        input[type=range]::-moz-range-thumb {
            width: 16px;
            height: 16px;
            border-radius: 99px;
            background: rgb(var(--accent));
            border: 4px solid rgb(var(--surface));
            cursor: pointer
        }

        .acc-b {
            display: grid;
            grid-template-rows: 0fr;
            transition: grid-template-rows .5s cubic-bezier(.2, .8, .2, 1)
        }

        .acc.open .acc-b {
            grid-template-rows: 1fr
        }

        .acc-b>div {
            overflow: hidden
        }

        .acc .pl {
            transition: transform .4s
        }

        .acc.open .pl {
            transform: rotate(45deg)
        }

        #cur {
            display: none
        }

        @media (pointer:fine){[data-cursor="on"] #cur {
            display:block;
            position:fixed;
            left:-18px;
            top:-18px;
            width:36px;
            height:36px;
            border-radius:99px;
            border:1.5px solid rgb(var(--accent));
            pointer-events:none;
            z-index:150;
            transition:transform .16s cubic-bezier(.2, .8, .2, 1),
            width .3s,
            height .3s,
            background .3s;
            mix-blend-mode:difference;
            transform:translate(var(--cx, 0), var(--cy, 0))
        }

        [data-cursor="on"] #cur.big {
            width: 70px;
            height: 70px;
            left: -35px;
            top: -35px;
            background: rgb(var(--accent)/.25)
        }
        }

        [data-motion="calm"] .mq,[data-motion="calm"] .fl1,[data-motion="calm"] .fl2,[data-motion="calm"] .fl3,[data-motion="calm"] .cable,[data-motion="calm"] .pulse {
            animation: none !important
        }

        [data-motion="calm"] .pkt {
            display: none
        }

        .article-m {
            font-size: 16px;
            line-height: 1.85;
            color: rgb(var(--fg)/.8)
        }

        .article-m h2 {
            font-family: "Bricolage Grotesque";
            font-weight: 800;
            font-size: clamp(26px, 3vw, 38px);
            letter-spacing: -.02em;
            line-height: 1.1;
            margin: 2em 0 .5em;
            color: rgb(var(--fg))
        }

        .article-m h3 {
            font-family: "Bricolage Grotesque";
            font-weight: 700;
            font-size: 22px;
            margin: 1.6em 0 .4em;
            color: rgb(var(--fg))
        }

        .article-m a {
            color: rgb(var(--accentx));
            text-decoration: underline;
            text-underline-offset: 3px
        }

        .article-m ul,
        .article-m ol {
            margin: 0 0 1.3em 1.3em;
            display: grid;
            gap: .5em
        }

        .article-m ul {
            list-style: disc
        }

        .article-m ol {
            list-style: decimal
        }

        .article-m img {
            border-radius: 16px;
            margin: 1.6em 0;
            max-width: 100%
        }

        .article-m blockquote {
            border-left: 3px solid rgb(var(--accent));
            padding: .2em 0 .2em 1.4em;
            margin: 1.5em 0;
            font-family: "Bricolage Grotesque";
            font-size: 22px;
            color: rgb(var(--fg))
        }

        .article-m pre {
            background: rgb(var(--fg)/.08);
            border-radius: 14px;
            padding: 18px;
            overflow: auto;
            font-family: "JetBrains Mono";
            font-size: 13.5px;
            margin: 1.5em 0
        }

        .article-m code {
            font-family: "JetBrains Mono";
            font-size: .88em
        }
