:root {
    --bg: #09090c;
    --surface: #111116;
    --surface-2: #17171e;
    --line: rgba(255, 255, 255, .1);
    --muted: #8d8d99;
    --text: #f5f5f7;
    --purple: #9b6cff;
    --purple-2: #6f48cf;
    --max: 1380px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Manrope, system-ui, sans-serif;
    overflow-x: hidden
}

body.modal-open {
    overflow: hidden
}

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

button {
    font: inherit
}

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .045;
    z-index: 20;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E")
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    height: 76px;
    padding: 0 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(18px);
    background: rgba(9, 9, 12, .62);
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.brand {
    font-family: "DM Mono", monospace;
    font-size: 13px;
    letter-spacing: .12em;
    display: flex;
    align-items: center;
    gap: 10px
}

.brand-logo {
    width: 23px;
    height: 23px;
    object-fit: contain;
    filter: drop-shadow(0 0 7px rgba(155, 108, 255, .18))
}

.nav {
    display: flex;
    gap: 30px;
    font-size: 12px;
    color: #b9b9c2
}

.nav a {
    position: relative
}

.nav a:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--purple);
    transition: .35s
}

.nav a:hover:after,
.nav a:focus-visible:after {
    transform: scaleX(1)
}

.status-pill {
    border: 1px solid var(--line);
    padding: 10px 13px;
    border-radius: 99px;
    font-family: "DM Mono", monospace;
    font-size: 10px;
    color: #c9c9d0
}

.status-pill span {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9eff8c;
    box-shadow: 0 0 14px #9eff8c;
    margin-right: 8px
}

.section-pad {
    max-width: var(--max);
    margin: auto;
    padding: 120px 34px
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 150px;
    position: relative
}

.hero-meta {
    display: flex;
    justify-content: space-between;
    font: 11px "DM Mono", monospace;
    color: #666670;
    letter-spacing: .08em;
    margin-bottom: 35px
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center
}

.eyebrow,
.section-index,
.project-chip,
.modal-kicker {
    font: 11px "DM Mono", monospace;
    letter-spacing: .11em;
    color: #7b7b88;
    text-transform: uppercase
}

.hero h1 {
    font-size: clamp(55px, 7.2vw, 112px);
    line-height: .95;
    letter-spacing: -.065em;
    margin: 18px 0 28px;
    font-weight: 700
}

.hero h1 em,
.section-head em,
.contact h2 em {
    font-style: normal;
    color: var(--purple)
}

.hero-desc {
    max-width: 590px;
    color: #a5a5b0;
    font-size: 15px;
    line-height: 1.8
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 33px
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    border: 1px solid var(--line);
    padding: 13px 16px;
    border-radius: 7px;
    font: 11px "DM Mono", monospace;
    transition: transform .25s ease, background .25s ease, border-color .25s ease
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px)
}

.btn-primary {
    background: #f1f0f5;
    color: #0b0b0d;
    border-color: #f1f0f5
}

.btn-ghost {
    color: #babac4
}

.btn-primary span {
    color: var(--purple)
}

.hero-signature {
    margin-top: 42px;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #6f6f79
}

.hero-signature img {
    width: 31px;
    height: 31px;
    object-fit: contain
}

.hero-signature span,
.hero-signature small {
    display: block;
    font-family: "DM Mono", monospace
}

.hero-signature span {
    font-size: 9px;
    letter-spacing: .12em;
    color: #9b9ba4
}

.hero-signature small {
    font-size: 8px;
    color: #62626d;
    margin-top: 3px;
    letter-spacing: .07em
}

.hero-art {
    min-height: 520px;
    position: relative;
    display: grid;
    place-items: center
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    animation: float 8s ease-in-out infinite
}

.orb-a {
    width: 290px;
    height: 290px;
    background: radial-gradient(circle at 35% 30%, #d8c8ff 0, #9b6cff 20%, #4a2a91 55%, transparent 72%);
    opacity: .56;
    top: 90px;
    left: 120px
}

.orb-b {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, #a87bff 0, #553194 45%, transparent 72%);
    right: 55px;
    bottom: 80px;
    opacity: .45;
    animation-delay: -3s
}

.orb-c {
    width: 95px;
    height: 95px;
    background: radial-gradient(circle, #a87bff 0, #553194 35%, transparent 72%);
    opacity: .20;
    left: 90px;
    bottom: 95px;
    animation-delay: -3s
}

.ring {
    position: absolute;
    border: 1px solid rgba(181, 152, 255, .26);
    border-radius: 50%;
    transform: rotate(22deg)
}

.ring-a {
    width: 480px;
    height: 220px
}

.ring-b {
    width: 600px;
    height: 300px;
    transform: rotate(-30deg);
    opacity: .5
}

.grid-mark {
    position: absolute;
    width: 320px;
    height: 320px;
    background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 16px 16px;
    mask-image: radial-gradient(circle, black 20%, transparent 72%);
    opacity: .35
}

.hero-logo-mark {
    position: absolute;
    right: 7%;
    top: 10%;
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    background: rgba(10, 10, 15, .45);
    backdrop-filter: blur(12px);
    z-index: 2
}

.hero-logo-mark img {
    width: 53px;
    height: 53px;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(155, 108, 255, .25))
}

.code-card {
    position: relative;
    width: 430px;
    border: 1px solid rgba(255, 255, 255, .11);
    background: rgba(13, 13, 17, .73);
    backdrop-filter: blur(20px);
    border-radius: 14px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, .5);
    transform: rotate(-5deg);
    z-index: 4
}

.code-head {
    height: 42px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 6px
}

.code-head span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #444
}

.code-head b {
    font: 10px "DM Mono", monospace;
    font-weight: 400;
    color: #81818d;
    margin-left: 7px
}

.code-card pre {
    padding: 24px;
    margin: 0;
    font: 12px/2 "DM Mono", monospace;
    color: #9ea0ab;
    white-space: pre-wrap;
    overflow-wrap: anywhere
}

.code-card i {
    color: #bda7ff;
    font-style: normal
}

.code-card strong {
    color: #fafaff;
    font-weight: 500
}

.floating-label {
    position: absolute;
    font: 10px "DM Mono", monospace;
    letter-spacing: .1em;
    color: #868692;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 10px;
    background: rgba(9, 9, 12, .55);
    backdrop-filter: blur(10px);
    z-index: 5
}

.label-one {
    left: 0;
    top: 17%
}

.label-two {
    left: 40px;
    bottom: 50px
}

.hero-coordinate {
    position: absolute;
    right: 0;
    top: 62%;
    font: 9px "DM Mono", monospace;
    color: #565661;
    writing-mode: vertical-rl;
    letter-spacing: .12em
}

.scroll-cue {
    position: absolute;
    bottom: 28px;
    left: 34px;
    color: #676772;
    font: 10px "DM Mono", monospace;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: .1em
}

.scroll-cue i {
    width: 45px;
    height: 1px;
    background: #4f4f59;
    display: block
}

.ticker {
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, .06);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    white-space: nowrap
}

.ticker-track {
    width: max-content;
    display: flex;
    gap: 30px;
    align-items: center;
    padding: 16px 0;
    animation: marquee 28s linear infinite;
    color: #70707a;
    font: 10px "DM Mono", monospace;
    letter-spacing: .12em
}

.ticker b {
    font-size: 8px;
    color: var(--purple)
}

.section-head {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 48px
}

.section-head h2 {
    font-size: clamp(52px, 6.2vw, 88px);
    line-height: .93;
    letter-spacing: -.07em;
    margin: 14px 0 0
}

.section-head>p {
    margin: 0;
    color: #85858f;
    font-size: 13px;
    line-height: 1.8;
    max-width: 520px
}

.filters {
    display: flex;
    gap: 8px;
    margin: 0 0 22px;
    flex-wrap: wrap
}

.filter {
    border: 1px solid var(--line);
    background: transparent;
    color: #85858f;
    font: 10px "DM Mono", monospace;
    padding: 9px 11px;
    border-radius: 7px;
    cursor: pointer;
    transition: .25s
}

.filter.active,
.filter:hover,
.filter:focus-visible {
    background: #f3f3f5;
    color: #0b0b0e
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px
}

.project {
    min-width: 0;
    cursor: pointer
}

.project.wide {
    grid-column: 1/-1
}

.project-visual {
    aspect-ratio: 16/10;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: #0d0d11
}

.project:hover .project-visual {
    border-color: rgba(155, 108, 255, .32)
}

.image-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
    filter: saturate(.92)
}

.project:hover .image-visual img {
    transform: scale(1.025)
}

.image-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 7, 10, .12), rgba(7, 7, 10, .08) 35%, rgba(7, 7, 10, .7));
    pointer-events: none
}

.wump-image img {
    object-position: center
}

.image-note {
    position: absolute;
    right: 17px;
    bottom: 16px;
    padding: 7px 8px;
    border: 1px solid rgba(255, 255, 255, .13);
    background: rgba(10, 10, 13, .52);
    backdrop-filter: blur(8px);
    font: 9px "DM Mono", monospace;
    color: #d0ccd8
}

.project-info {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 2px 10px
}

.project-info h3 {
    font-size: 20px;
    letter-spacing: -.03em;
    margin: 0 0 6px
}

.project-info p {
    font-size: 12px;
    line-height: 1.6;
    color: #8f8f99;
    margin: 0;
    max-width: 540px
}

.year {
    font: 10px "DM Mono", monospace;
    color: #777782;
    white-space: nowrap
}

.tags {
    display: flex;
    gap: 7px;
    flex-wrap: wrap
}

.tags span {
    font: 9px "DM Mono", monospace;
    border: 1px solid var(--line);
    padding: 7px 8px;
    border-radius: 5px;
    color: #8c8c97
}

.project-chip {
    position: absolute;
    top: 17px;
    left: 18px;
    z-index: 4;
    color: #e2dfee
}

.onething {
    background: radial-gradient(circle at 80% 40%, rgba(151, 102, 255, .48), transparent 32%), linear-gradient(145deg, #0b0b0e, #17121f 70%)
}

.project-logo {
    position: absolute;
    left: 38px;
    bottom: 45px;
    font-size: 74px;
    letter-spacing: -.08em;
    font-weight: 800
}

.project-logo span {
    font-weight: 400;
    color: #bba4ff
}

.project-ui {
    position: absolute;
    right: 30px;
    bottom: 28px;
    width: 180px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(0, 0, 0, .18);
    backdrop-filter: blur(7px)
}

.ui-line {
    height: 5px;
    background: #777181;
    margin-bottom: 9px;
    border-radius: 5px
}

.ui-line.long {
    width: 85%
}

.ui-line.med {
    width: 56%
}

.ui-cells {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 13px
}

.ui-cells i {
    aspect-ratio: 1;
    background: rgba(187, 164, 255, .18);
    border: 1px solid rgba(187, 164, 255, .3)
}

.violet {
    background: radial-gradient(circle at 50% 35%, rgba(155, 108, 255, .5), transparent 35%), linear-gradient(120deg, #17131d, #0e0e12)
}

.portfolio-card {
    position: absolute;
    left: 17%;
    top: 21%;
    width: 66%;
    height: 57%;
    padding: 24px;
    background: #efedf4;
    color: #111116;
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: rotate(3deg);
    box-shadow: 30px 28px 50px rgba(0, 0, 0, .35);
    transition: transform .5s ease
}

.project:hover .portfolio-card {
    transform: rotate(1deg) translateY(-5px)
}

.portfolio-card span {
    font: 11px "DM Mono", monospace
}

.portfolio-card strong {
    font-size: 30px;
    line-height: 1;
    letter-spacing: -.06em
}

.portfolio-card small {
    font: 9px "DM Mono", monospace;
    color: #64616b
}

.console {
    background: linear-gradient(145deg, #0a0a0c, #121218)
}

.dash {
    position: absolute;
    left: 8%;
    right: 36%;
    top: 25%;
    bottom: 16%;
    border: 1px solid #25252d;
    background: #0f0f14;
    padding: 14px
}

.dash-bar {
    height: 8px;
    width: 40%;
    background: #5f5f68;
    margin-bottom: 18px
}

.dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px
}

.dash-grid i {
    aspect-ratio: 1.5;
    border: 1px solid #272730;
    background: linear-gradient(145deg, #17171d, #0e0e12)
}

.dash-number {
    position: absolute;
    right: 9%;
    top: 43%;
    font: 700 46px "DM Mono", monospace;
    letter-spacing: -.09em;
    color: #f1eef9
}

.dash-number small {
    display: block;
    font: 9px "DM Mono", monospace;
    color: #74747e;
    letter-spacing: .03em;
    text-align: right
}

.blackcode {
    background: #09090b
}

.big-code {
    position: absolute;
    right: 11%;
    top: 25%;
    font: 700 90px/.7 "DM Mono", monospace;
    letter-spacing: -.110em;
    color: #b9a5e8;
    opacity: .75
}

.code-caption {
    position: absolute;
    left: 18px;
    bottom: 18px;
    font: 12px "DM Mono", monospace;
    color: #676773
}

.lab-signal {
    position: absolute;
    right: 18px;
    bottom: 18px;
    font: 9px "DM Mono", monospace;
    color: #7d7d88
}

.lab-signal span {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--purple);
    box-shadow: 0 0 10px rgba(155, 108, 255, .75);
    margin-right: 6px
}

.live-strip {
    margin-top: 70px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 17px 0
}

.live-strip-head {
    display: flex;
    justify-content: space-between;
    font: 9px "DM Mono", monospace;
    color: #696973;
    letter-spacing: .1em;
    margin-bottom: 16px
}

.live-projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, .06)
}

.live-projects>div {
    display: grid;
    grid-template-columns: 10px 1fr;
    gap: 8px;
    align-items: center;
    padding: 17px 15px;
    border-right: 1px solid rgba(255, 255, 255, .06)
}

.live-projects>div:last-child {
    border-right: 0
}

.live-projects strong {
    font-size: 12px;
    grid-column: 2
}

.live-projects small {
    font: 8px "DM Mono", monospace;
    color: #666670;
    grid-column: 2
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9eff8c;
    box-shadow: 0 0 10px rgba(158, 255, 140, .55);
    grid-row: 1 / span 2
}

.live-dot.dim {
    background: var(--purple);
    box-shadow: 0 0 10px rgba(155, 108, 255, .5)
}

.about-section {
    border-top: 1px solid var(--line)
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 80px;
    align-items: stretch
}

.about-copy {
    max-width: 680px
}

.big-copy {
    font-size: 30px;
    line-height: 1.25;
    letter-spacing: -.04em;
    margin: 0 0 30px
}

.about-copy>p:not(.big-copy) {
    font-size: 14px;
    line-height: 1.9;
    color: #92929d;
    max-width: 600px
}

.inline-link {
    display: inline-flex;
    margin-top: 24px;
    font-size: 13px;
    border-bottom: 1px solid #55555f;
    padding-bottom: 8px
}

.inline-link span {
    color: var(--purple);
    margin-left: 10px
}

.about-side {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden
}

.about-stats div {
    padding: 30px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 6px
}

.about-stats div:nth-child(even) {
    border-right: 0
}

.about-stats div:nth-child(n+3) {
    border-bottom: 0
}

.about-stats strong {
    font: 700 30px "DM Mono", monospace
}

.about-stats span {
    font: 10px "DM Mono", monospace;
    color: #777781
}

.about-note {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 23px;
    background: linear-gradient(145deg, #111116, #0c0c10)
}

.about-note span {
    font: 9px "DM Mono", monospace;
    color: #73737e;
    letter-spacing: .1em
}

.about-note strong {
    display: block;
    margin-top: 14px;
    font-size: 25px;
    letter-spacing: -.04em
}

.about-note p {
    margin: 9px 0 0;
    font-size: 11px;
    line-height: 1.7;
    color: #81818c
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line)
}

.stack-card {
    padding: 25px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    min-height: 255px
}

.stack-card>span {
    font: 10px "DM Mono", monospace;
    color: #777781
}

.stack-card h3 {
    font-size: 24px;
    margin: 40px 0 9px;
    letter-spacing: -.04em
}

.stack-card p {
    font-size: 12px;
    color: #8c8c96;
    line-height: 1.6;
    max-width: 240px
}

.stack-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 25px
}

.stack-list b {
    font: 9px "DM Mono", monospace;
    background: #15151a;
    border: 1px solid var(--line);
    padding: 7px 8px;
    border-radius: 4px
}

.process {
    border-top: 1px solid var(--line)
}

.process-top {
    display: flex;
    justify-content: space-between;
    font: 10px "DM Mono", monospace;
    color: #6f6f79;
    margin-bottom: 45px
}

.process-list {
    border-top: 1px solid var(--line)
}

.process-row {
    display: grid;
    grid-template-columns: 70px 1fr 1.4fr 30px;
    gap: 20px;
    align-items: center;
    padding: 27px 0;
    border-bottom: 1px solid var(--line)
}

.process-row span,
.process-row b {
    font: 10px "DM Mono", monospace;
    color: #696973
}

.process-row h3 {
    font-size: 27px;
    letter-spacing: -.05em;
    margin: 0
}

.process-row p {
    font-size: 12px;
    color: #85858f;
    margin: 0
}

.contact {
    position: relative;
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    border-top: 1px solid var(--line)
}

.contact-content {
    position: relative;
    z-index: 2
}

.contact h2 {
    font-size: clamp(70px, 11vw, 160px);
    line-height: .83;
    letter-spacing: -.085em;
    margin: 16px 0 28px
}

.contact-content>p:not(.eyebrow) {
    max-width: 420px;
    color: #9797a2;
    font-size: 13px;
    line-height: 1.7
}

.contact-mail {
    display: inline-flex;
    gap: 26px;
    align-items: center;
    font: 500 clamp(22px, 3vw, 40px) "DM Mono", monospace;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
    padding-bottom: 10px;
    margin-top: 10px
}

.contact-mail span {
    color: var(--purple)
}

.contact-orb {
    position: absolute;
    width: 700px;
    height: 700px;
    right: -110px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(circle at 42% 42%, rgba(176, 138, 255, .34), rgba(101, 60, 190, .16) 31%, transparent 64%);
    filter: blur(5px);
    pointer-events: none
}

.contact-footer {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 32px;
    display: flex;
    justify-content: space-between;
    font: 9px "DM Mono", monospace;
    color: #6c6c76;
    letter-spacing: .07em
}

.contact-footer div {
    display: flex;
    gap: 20px
}

.contact-footer a:hover,
.contact-footer a:focus-visible {
    color: #d4c7f3
}

.project-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px
}

.project-modal.open {
    display: flex
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(10px)
}

.modal-panel {
    position: relative;
    z-index: 2;
    width: min(820px, 100%);
    max-height: min(92vh, 820px);
    overflow: auto;
    padding: 24px;
    border: 1px solid var(--line);
    background: #101015;
    border-radius: 14px;
    box-shadow: 0 40px 120px rgba(0, 0, 0, .6)
}

.modal-close {
    position: absolute;
    right: 14px;
    top: 11px;
    border: 0;
    background: rgba(255, 255, 255, .05);
    color: #aaaab4;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer
}

.modal-close:hover,
.modal-close:focus-visible {
    background: rgba(255, 255, 255, .1);
    color: #fff
}

.modal-media {
    aspect-ratio: 16/7;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 9px;
    overflow: hidden;
    margin-bottom: 23px;
    background: #0d0d11
}

.modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.modal-panel h2 {
    font-size: clamp(42px, 6vw, 68px);
    letter-spacing: -.06em;
    margin: 12px 0
}

.modal-panel p {
    color: #9999a4;
    line-height: 1.8;
    font-size: 14px;
    max-width: 650px
}

.modal-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px
}

.modal-link,
.modal-back {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    background: transparent;
    color: #babac4;
    font: 10px "DM Mono", monospace;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer
}

.modal-link {
    background: #f2f1f6;
    color: #0b0b0e;
    border-color: #f2f1f6
}

.modal-link span {
    color: var(--purple)
}

.modal-link[hidden] {
    display: none
}

.modal-meta {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-top: 28px;
    border-top: 1px solid var(--line);
    padding-top: 16px;
    font: 10px "DM Mono", monospace;
    color: #777781
}

.modal-meta #modal-tags {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    justify-content: flex-end
}

.modal-meta #modal-tags span {
    border: 1px solid var(--line);
    padding: 6px 8px;
    border-radius: 5px
}

.cursor-dot,
.cursor-ring {
    position: fixed;
    left: 0;
    top: 0;
    pointer-events: none;
    z-index: 100;
    transform: translate(-50%, -50%)
}

.cursor-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff
}

.cursor-ring {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(173, 142, 255, .6);
    border-radius: 50%;
    transition: width .2s, height .2s, border-color .2s, transform .2s
}

.cursor-ring.is-hover {
    width: 42px;
    height: 42px;
    border-color: rgba(173, 142, 255, .95)
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s ease
}

.js .reveal.visible {
    opacity: 1;
    transform: none
}

.project.hidden {
    display: none
}

.btn:focus-visible,
.filter:focus-visible,
.project:focus-visible,
.contact-mail:focus-visible,
.inline-link:focus-visible,
.nav a:focus-visible,
.brand:focus-visible,
.status-pill:focus-visible,
.modal-link:focus-visible,
.modal-back:focus-visible {
    outline: 1px solid var(--purple);
    outline-offset: 4px
}

@keyframes float {

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

    50% {
        transform: translate3d(0, -16px, 0)
    }
}

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

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

@keyframes marquee {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-30%)
    }
}

@media(max-width:1000px) {
    .nav {
        gap: 18px
    }

    .status-pill {
        display: none
    }

    .hero-grid {
        grid-template-columns: 1fr
    }

    .hero-art {
        min-height: 460px
    }

    .section-head {
        grid-template-columns: 1fr
    }

    .stack-grid {
        grid-template-columns: 1fr 1fr
    }

    .about-grid {
        grid-template-columns: 1fr
    }

    .project-grid {
        grid-template-columns: 1fr
    }

    .project.wide {
        grid-column: auto
    }

    .live-projects {
        grid-template-columns: 1fr
    }

    .live-projects>div {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .06)
    }

    .live-projects>div:last-child {
        border-bottom: 0
    }
}

@media(max-width:700px) {
    .topbar {
        padding: 0 18px;
        height: 68px
    }

    .brand span {
        font-size: 11px
    }

    .brand-logo {
        width: 22px;
        height: 22px
    }

    .nav {
        display: none
    }

    .section-pad {
        padding: 90px 18px
    }

    .hero {
        padding-top: 110px;
        min-height: 920px
    }

    .hero h1 {
        font-size: clamp(48px, 14vw, 64px)
    }

    .hero-art {
        min-height: 420px;
    }

    .code-card {
        left: 0;
        right: 0;
        width: 100%;
        top: 18%
    }

    .code-card pre {
        font-size: 10px
    }

    .hero-logo-mark {
        width: 67px;
        height: 67px;
        right: 0;
        top: 5%
    }

    .hero-logo-mark img {
        width: 42px;
        height: 42px
    }

    .floating-label {
        font-size: 8px
    }

    .label-one {
        left: 0;
        top: 1%
    }

    .label-two {
        right: 0;
        bottom: 3%
    }

    .hero-coordinate {
        display: none
    }

    .hero-signature {
        margin-top: 32px
    }

    .hero-meta {
        margin-bottom: 24px
    }

    .hero-desc {
        font-size: 14px
    }

    .scroll-cue {
        left: 18px;
        bottom: 18px
    }

    .section-head {
        gap: 28px;
        margin-bottom: 34px
    }

    .section-head h2 {
        font-size: 56px
    }

    .project-info {
        gap: 12px
    }

    .project-info p {
        font-size: 11px
    }

    .stack-grid {
        grid-template-columns: 1fr
    }

    .stack-card {
        min-height: 220px
    }

    .process-row {
        grid-template-columns: 40px 1fr 20px
    }

    .process-row p {
        grid-column: 2
    }

    .contact {
        min-height: 780px
    }

    .contact h2 {
        font-size: clamp(66px, 18vw, 90px)
    }

    .contact-footer {
        left: 18px;
        right: 18px;
        gap: 20px;
        flex-direction: column
    }

    .contact-footer div {
        gap: 13px
    }

    .big-copy {
        font-size: 26px
    }

    .about-stats {
        margin-top: 0
    }

    .about-note strong {
        font-size: 22px
    }

    .modal-panel {
        padding: 16px
    }

    .modal-media {
        aspect-ratio: 16/8
    }

    .modal-actions {
        flex-wrap: wrap
    }

    .modal-meta {
        align-items: flex-start;
        flex-direction: column
    }

    .modal-meta #modal-tags {
        justify-content: flex-start
    }

    .cursor-dot,
    .cursor-ring {
        display: none
    }
}

@media(max-width:380px) {
    .hero h1 {
        font-size: 48px
    }

    .btn {
        width: 100%;
        justify-content: space-between
    }

    .hero {
        min-height: 980px
    }

    .contact-mail {
        font-size: 20px
    }
}


/* MOBILE OVERRIDES — desktop rules above remain unchanged */
@media (max-width: 700px) {
    html {
        overflow-x: hidden;
    }

    body {
        overflow-x: clip;
    }

    .topbar {
        height: 64px;
        padding: 0 16px;
    }

    .brand {
        min-width: 0;
        gap: 8px;
    }

    .brand-logo {
        width: 21px;
        height: 21px;
        flex: 0 0 auto;
    }

    .brand span {
        font-size: 10px;
        letter-spacing: .1em;
    }

    .section-pad {
        width: 100%;
        max-width: none;
        padding: 78px 16px;
    }

    /* HERO */
    .hero {
        min-height: auto;
        padding-top: 96px;
        padding-bottom: 56px;
        justify-content: flex-start;
    }

    .hero-meta {
        margin-bottom: 22px;
        font-size: 9px;
    }

    .hero-grid {
        display: flex;
        flex-direction: column;
        gap: 38px;
        align-items: stretch;
    }

    .hero-copy {
        min-width: 0;
    }

    .hero h1 {
        max-width: 100%;
        margin: 14px 0 22px;
        font-size: clamp(43px, 13vw, 62px);
        line-height: .92;
        letter-spacing: -.065em;
        overflow-wrap: anywhere;
    }

    .hero-desc {
        max-width: 100%;
        font-size: 13px;
        line-height: 1.75;
    }

    .hero-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 26px;
    }

    .btn {
        width: 100%;
        justify-content: space-between;
        min-height: 46px;
        padding: 12px 14px;
    }

    .hero-signature {
        margin-top: 24px;
    }

    .hero-art {
        width: 100%;
        min-height: 330px;
        overflow: visible;
    }

    .orb-a {
        width: 190px;
        height: 190px;
        top: 78px;
        left: 50%;
        transform: translateX(-50%);
    }

    .orb-b {
        width: 115px;
        height: 115px;
        right: 3%;
        bottom: 26px;
    }

    .orb-c {
        width: 65px;
        height: 65px;
        left: 4%;
        bottom: 36px;
    }

    .ring-a {
        width: 300px;
        height: 145px;
    }

    .ring-b {
        width: 350px;
        height: 175px;
    }

    .grid-mark {
        width: 220px;
        height: 220px;
        background-size: 12px 12px;
    }

    .code-card {
        width: min(100%, 390px);
        left: 50%;
        top: 1%;
        transform: translateX(-50%) rotate(-3.5deg);
        border-radius: 12px;
    }

    .code-head {
        height: 36px;
        padding: 0 12px;
    }

    .code-head span {
        width: 6px;
        height: 6px;
    }

    .code-head b {
        font-size: 8px;
        margin-left: 5px;
    }

    .code-card pre {
        padding: 18px 16px;
        font-size: clamp(8px, 2.4vw, 10px);
        line-height: 1.85;
    }

    .hero-logo-mark {
        width: 58px;
        height: 58px;
        right: 2%;
        top: 2%;
    }

    .hero-logo-mark img {
        width: 36px;
        height: 36px;
    }

    .floating-label {
        padding: 6px 8px;
        border-radius: 6px;
        font-size: 7px;
        letter-spacing: .08em;
    }

    .label-one {
        left: 1%;
        top: 0;
    }

    .label-two {
        right: 0;
        left: auto;
        bottom: 1%;
    }

    .scroll-cue {
        position: static;
        margin-top: 18px;
        font-size: 8px;
    }

    .ticker-track {
        gap: 22px;
        padding: 13px 0;
        font-size: 8px;
    }

    /* SECTION HEADERS */
    .section-head {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 28px;
    }

    .section-head h2 {
        margin-top: 10px;
        font-size: clamp(46px, 14vw, 60px);
        line-height: .92;
    }

    .section-head > p {
        max-width: 100%;
        font-size: 12px;
        line-height: 1.75;
    }

    .filters {
        gap: 7px;
        margin-bottom: 18px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .filters::-webkit-scrollbar {
        display: none;
    }

    .filter {
        flex: 0 0 auto;
        padding: 8px 10px;
        font-size: 9px;
    }

    /* PROJECTS */
    .project-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-visual {
        aspect-ratio: 4 / 3;
        border-radius: 9px;
    }

    .project-chip {
        top: 12px;
        left: 12px;
        font-size: 8px;
        letter-spacing: .08em;
    }

    .image-note {
        right: 12px;
        bottom: 12px;
        padding: 6px 7px;
        font-size: 8px;
    }

    .project-info {
        align-items: flex-start;
        gap: 8px 12px;
        padding-top: 13px;
    }

    .project-info > div {
        min-width: 0;
        flex: 1 1 auto;
    }

    .project-info h3 {
        font-size: 18px;
    }

    .project-info p {
        max-width: 100%;
        font-size: 11px;
        line-height: 1.65;
    }

    .year {
        flex: 0 0 auto;
        padding-top: 3px;
    }

    .tags {
        gap: 6px;
    }

    .tags span {
        padding: 6px 7px;
        font-size: 8px;
    }

    .big-code {
        right: 8%;
        top: 28%;
        font-size: clamp(58px, 19vw, 78px);
    }

    .code-caption,
    .lab-signal {
        bottom: 12px;
        font-size: 8px;
    }

    .code-caption {
        left: 12px;
    }

    .lab-signal {
        right: 12px;
    }

    .portfolio-card {
        left: 12%;
        top: 18%;
        width: 76%;
        height: 61%;
        padding: 17px;
    }

    .portfolio-card strong {
        font-size: clamp(24px, 8vw, 32px);
    }

    /* LIVE STRIP */
    .live-strip {
        margin-top: 44px;
        padding: 14px 0;
    }

    .live-strip-head {
        font-size: 8px;
        margin-bottom: 13px;
    }

    .live-projects > div {
        padding: 14px 0;
    }

    .live-projects strong {
        font-size: 11px;
    }

    .live-projects small {
        font-size: 7px;
    }

    /* ABOUT */
    .about-grid {
        gap: 34px;
    }

    .big-copy {
        font-size: clamp(23px, 6.5vw, 28px);
        line-height: 1.25;
        margin-bottom: 22px;
    }

    .about-copy > p:not(.big-copy) {
        font-size: 12px;
        line-height: 1.8;
    }

    .about-stats {
        width: 100%;
    }

    .about-stats div {
        padding: 20px 17px;
    }

    .about-stats strong {
        font-size: 24px;
    }

    .about-stats span {
        font-size: 8px;
    }

    .about-note {
        padding: 17px !important;
    }

    .about-note strong {
        font-size: 20px;
    }

    /* STACK */
    .stack-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stack-card {
        min-height: 0;
        padding: 22px 18px;
    }

    .stack-card h3 {
        font-size: 24px;
    }

    .stack-card p {
        font-size: 11px;
        line-height: 1.7;
    }

    .stack-list {
        gap: 6px;
    }

    .stack-list b {
        font-size: 8px;
        padding: 6px 7px;
    }

    /* PROCESS */
    .process-row {
        grid-template-columns: 28px minmax(0, 1fr) 18px;
        gap: 10px;
        padding: 19px 0;
    }

    .process-row h3 {
        font-size: 19px;
    }

    .process-row p {
        grid-column: 2;
        margin-top: 3px;
        font-size: 10px;
        line-height: 1.65;
    }

    /* CONTACT */
    .contact {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 36px;
    }

    .contact h2 {
        font-size: clamp(54px, 17vw, 78px);
        line-height: .9;
    }

    .contact-content > p:not(.eyebrow) {
        font-size: 12px;
        line-height: 1.75;
    }

    .contact-mail {
        display: inline-flex;
        max-width: 100%;
        font-size: clamp(18px, 5.5vw, 24px);
        overflow-wrap: anywhere;
    }

    .contact-footer {
        position: static;
        margin-top: 64px;
        gap: 18px;
        align-items: flex-start;
    }

    .contact-footer > span {
        font-size: 8px;
    }

    .contact-footer div {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 10px 14px;
    }

    .contact-footer a {
        font-size: 9px;
    }

    /* MODAL */
    .project-modal {
        padding: 10px;
    }

    .modal-panel {
        width: 100%;
        max-height: calc(100dvh - 20px);
        border-radius: 12px;
        padding: 13px;
    }

    .modal-media {
        aspect-ratio: 16 / 9;
    }

    .modal-panel h2 {
        font-size: clamp(30px, 10vw, 44px);
        line-height: .95;
    }

    .modal-panel p {
        font-size: 11px;
        line-height: 1.7;
    }

    .modal-actions {
        width: 100%;
        gap: 8px;
    }

    .modal-actions > * {
        flex: 1 1 100%;
        justify-content: center;
        min-height: 42px;
    }

    .modal-meta {
        gap: 12px;
    }
}

@media (max-width: 380px) {
    .section-pad {
        padding-left: 14px;
        padding-right: 14px;
    }

    .topbar {
        padding: 0 14px;
    }

    .hero {
        padding-top: 92px;
        padding-bottom: 48px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-art {
        min-height: 300px;
    }

    .code-card {
        top: 18%;
    }

    .code-card pre {
        padding: 16px 12px;
        font-size: 8px;
    }

    .hero-logo-mark {
        width: 52px;
        height: 52px;
    }

    .hero-logo-mark img {
        width: 32px;
        height: 32px;
    }

    .ring-a {
        width: 260px;
        height: 125px;
    }

    .ring-b {
        width: 300px;
        height: 150px;
    }

    .section-head h2 {
        font-size: 45px;
    }

    .project-info {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .tags {
        grid-column: 1 / -1;
    }

    .about-stats div {
        padding: 17px 14px;
    }

    .contact h2 {
        font-size: 53px;
    }

    .contact-mail {
        font-size: 18px;
    }
}

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

    .reveal {
        transition: none
    }

    .ticker-track {
        animation: none
    }

    .orb,
    .ring {
        animation: none
    }

    .cursor-dot,
    .cursor-ring {
        display: none
    }

    .project:hover .portfolio-card {
        transform: rotate(3deg)
    }

    .project:hover .image-visual img {
        transform: none
    }
}