:root {
    --bg: #06070a;
    --surface: #0b0d12;
    --surface-2: #10131a;

    --text: #f4f4f6;
    --muted: #838692;
    --muted-2: #555864;

    --purple: #8b7cff;
    --blue: #54c8ff;
    --green: #63f59b;
    --red: #ff6470;

    --border: rgba(255,255,255,.08);
}

* {
    margin: 0;
    padding: 0;

    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);

    font-family: "Inter", sans-serif;

    overflow-x: hidden;
}

a {
    color: inherit;

    text-decoration: none;
}

::selection {
    background: var(--purple);

    color: white;
}

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: #282a34;

    border-radius: 100px;
}

.container {
    width: min(1200px, 90%);

    margin: auto;
}

.section {
    padding: 145px 0;
}

#scroll-progress {
    position: fixed;

    top: 0;
    left: 0;

    width: 0;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--purple),
            var(--blue)
        );

    z-index: 9999;
}

.grid-bg {
    position: fixed;
    inset: 0;

    z-index: -3;

    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );

    background-size:
        55px 55px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 92%
        );
}

.mouse-glow {
    position: fixed;

    width: 600px;
    height: 600px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(123,101,255,.12),
            transparent 65%
        );

    transform:
        translate(-50%, -50%);

    z-index: -1;

    pointer-events: none;
}


/* NAV */

.navbar {
    width: min(1280px, 94%);
    height: 85px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom:
        1px solid var(--border);
}

.brand {
    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 13px;
    font-weight: 600;
}

.brand span {
    color: var(--purple);
}

.nav-links {
    display: flex;

    gap: 35px;
}

.nav-links a {
    color: #777a86;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 9px;

    transition: .2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

.build-status {
    display: flex;
    align-items: center;

    gap: 8px;

    color: #777a86;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 8px;
}

.build-status span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 14px var(--green);
}


/* HERO */

.hero {
    min-height:
        calc(100vh - 85px);

    padding: 80px 0 120px;

    display: grid;

    grid-template-columns:
        1.08fr .92fr;

    align-items: center;

    gap: 80px;
}

.eyebrow {
    margin-bottom: 28px;

    display: flex;
    align-items: center;

    gap: 9px;

    color: #777a86;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 9px;

    letter-spacing: 1.5px;
}

.eyebrow span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 12px var(--green);
}

.hero h1 {
    max-width: 800px;

    font-size:
        clamp(60px, 7vw, 105px);

    line-height: .91;

    letter-spacing: -7px;

    background:
        linear-gradient(
            120deg,
            #fff 15%,
            #9b9da6 45%,
            #8b7cff 75%,
            #54c8ff
        );

    -webkit-background-clip:
        text;

    background-clip:
        text;

    color: transparent;
}

.hero-description {
    max-width: 650px;

    margin-top: 32px;

    color: var(--muted);

    line-height: 1.85;

    font-size: 15px;
}

.hero-actions {
    margin-top: 38px;

    display: flex;

    gap: 12px;
}

.primary-link,
.secondary-link {
    min-height: 52px;

    padding: 0 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 28px;

    border-radius: 9px;

    font-size: 11px;

    transition: .25s;
}

.primary-link {
    background: white;

    color: #08090c;

    font-weight: 700;
}

.secondary-link {
    border:
        1px solid var(--border);
}

.primary-link:hover,
.secondary-link:hover {
    transform:
        translateY(-3px);
}

.key-hints {
    margin-top: 32px;

    display: flex;
    align-items: center;

    gap: 9px;

    color: #51545f;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 8px;
}

.key-hints span {
    padding: 5px 6px;

    border:
        1px solid var(--border);

    border-radius: 5px;
}


/* HERO VISUAL */

.hero-visual {
    min-height: 560px;

    position: relative;

    display: grid;
    place-items: center;
}

.system-orbit {
    width: 390px;
    height: 390px;

    position: relative;

    display: grid;
    place-items: center;
}

.orbit {
    position: absolute;

    border:
        1px solid rgba(255,255,255,.07);

    border-radius: 50%;
}

.orbit-1 {
    width: 170px;
    height: 170px;
}

.orbit-2 {
    width: 280px;
    height: 280px;
}

.orbit-3 {
    width: 390px;
    height: 390px;
}

.orbit-core {
    width: 110px;
    height: 110px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(139,124,255,.45);

    border-radius: 50%;

    background:
        rgba(139,124,255,.04);

    box-shadow:
        0 0 80px
        rgba(139,124,255,.12);
}

.orbit-core small,
.orbit-core span {
    color: #777a86;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 7px;
}

.orbit-core strong {
    margin: 4px 0;

    font-size: 18px;
}

.floating-chip {
    position: absolute;

    padding: 6px 9px;

    border:
        1px solid var(--border);

    border-radius: 100px;

    background:
        rgba(7,8,12,.9);

    color: #8d909b;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 7px;
}

.chip-1 {
    top: 10%;
    left: 45%;
}

.chip-2 {
    right: -2%;
    top: 45%;
}

.chip-3 {
    bottom: 3%;
    left: 38%;
}

.chip-4 {
    left: 0;
    top: 43%;
}

.mini-terminal {
    position: absolute;

    right: -25px;
    bottom: 15px;

    width: 290px;

    border:
        1px solid var(--border);

    border-radius: 13px;

    overflow: hidden;

    background:
        rgba(10,12,16,.9);

    backdrop-filter:
        blur(20px);

    box-shadow:
        0 30px 80px
        rgba(0,0,0,.5);
}

.mini-terminal-top {
    min-height: 40px;

    padding: 0 14px;

    display: flex;
    align-items: center;

    gap: 5px;

    border-bottom:
        1px solid var(--border);
}

.mini-terminal-top i {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #32343d;
}

.mini-terminal-top span {
    margin-left: auto;

    color: #535661;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 7px;
}

.mini-terminal-body {
    padding: 16px;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 8px;

    color: #676b77;
}

.mini-terminal-body p {
    padding: 5px 0;

    display: flex;
    justify-content: space-between;
}

.mini-terminal-body b {
    color: var(--purple);
}

.mini-terminal-body strong {
    color: var(--green);
}

.mini-terminal-body .red {
    color: var(--red);
}

.typing-line {
    margin-top: 10px;

    padding-top: 12px;

    border-top:
        1px solid var(--border);
}

.typing-line i {
    display: inline-block;

    width: 5px;
    height: 11px;

    background: white;

    animation:
        blink 1s infinite;
}


/* SECTION COMMON */

.section-label {
    margin-bottom: 55px;

    display: flex;
    align-items: center;

    gap: 12px;

    color: #535661;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 9px;

    letter-spacing: 1.5px;
}

.section-label span {
    color: var(--purple);
}

.section-heading {
    margin-bottom: 55px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 50px;
}

.section-heading small,
.stack-heading small,
.about-grid small {
    display: block;

    margin-bottom: 17px;

    color: var(--purple);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 8px;

    letter-spacing: 1.5px;
}

.section-heading h2,
.stack-heading h2,
.about-grid h2 {
    font-size:
        clamp(45px, 5vw, 70px);

    line-height: .98;

    letter-spacing: -4px;
}

.section-heading h2 span,
.stack-heading h2 span,
.about-grid h2 span {
    display: block;

    color: #626570;
}

.section-heading > p {
    max-width: 330px;

    color: var(--muted);

    line-height: 1.75;

    font-size: 12px;
}


/* ABOUT */

.about-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 90px;
}

.about-copy {
    color: var(--muted);

    line-height: 1.9;

    font-size: 14px;
}

.about-copy blockquote {
    margin-top: 30px;

    padding-left: 20px;

    border-left:
        1px solid var(--purple);

    color: #b0b2bb;
}

.metrics {
    margin-top: 90px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border:
        1px solid var(--border);

    border-radius: 15px;

    overflow: hidden;
}

.metrics article {
    min-height: 230px;

    padding: 28px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.metrics article:not(:last-child) {
    border-right:
        1px solid var(--border);
}

.metrics small {
    color: #5d606b;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 7px;

    letter-spacing: 1.5px;
}

.metrics strong {
    font-size: 52px;

    letter-spacing: -3px;
}

.metrics p {
    color: #5f626e;

    line-height: 1.6;

    font-size: 10px;
}


/* PROJECTS */

.projects-section {
    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(139,124,255,.02),
            transparent
        );
}

.public-loading,
.public-empty {
    min-height: 330px;

    padding: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    border:
        1px solid var(--border);

    border-radius: 18px;

    color: #646874;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 8px;
}

.public-loading span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--purple);

    box-shadow:
        0 0 14px var(--purple);
}

.public-empty {
    flex-direction: column;

    align-items: flex-start;
}

.public-empty span {
    color: var(--purple);
}

.featured-project {
    min-height: 650px;

    padding: 35px;

    position: relative;

    overflow: hidden;

    border:
        1px solid
        rgba(139,124,255,.18);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.02),
            transparent
        );
}

.project-ambient {
    position: absolute;

    width: 500px;
    height: 500px;

    right: -150px;
    top: -170px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(99,83,255,.16),
            transparent 65%
        );
}

.featured-top {
    position: relative;

    z-index: 2;

    display: flex;
    justify-content: space-between;

    color: #555965;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 7px;

    letter-spacing: 1.5px;
}

.featured-top strong {
    color: var(--green);

    font-weight: 400;
}

.featured-layout {
    min-height: 560px;

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    gap: 65px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 6px;

    margin-bottom: 22px;
}

.project-tags span {
    padding: 5px 8px;

    border:
        1px solid var(--border);

    border-radius: 100px;

    color: #737783;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 7px;
}

.featured-label {
    margin-bottom: 13px;

    color: var(--purple);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 8px;

    letter-spacing: 1.5px;
}

.featured-copy h3 {
    font-size:
        clamp(46px, 5vw, 70px);

    line-height: .94;

    letter-spacing: -4px;
}

.project-description {
    max-width: 550px;

    margin-top: 25px;

    color: var(--muted);

    line-height: 1.85;

    font-size: 13px;
}

.project-buttons {
    margin-top: 35px;

    display: flex;
    align-items: center;

    gap: 25px;
}

.project-primary {
    min-height: 48px;

    padding: 0 17px;

    display: inline-flex;
    align-items: center;

    border-radius: 8px;

    background: white;
    color: #08090c;

    font-size: 10px;

    font-weight: 700;
}

.project-primary.disabled {
    opacity: .35;
}

.project-secondary {
    color: #9b90ff;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 9px;
}

.project-terminal {
    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: 14px;

    background:
        rgba(8,10,14,.88);

    box-shadow:
        0 35px 90px
        rgba(0,0,0,.45);

    transform:
        rotate(1deg);
}

.terminal-header {
    min-height: 43px;

    padding: 0 17px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom:
        1px solid var(--border);

    color: #555965;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 7px;
}

.terminal-header i {
    font-style: normal;
}

.terminal-body {
    padding: 25px;

    color: #858895;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 9px;
}

.terminal-body b {
    color: var(--purple);
}

.terminal-data {
    margin: 25px 0;

    display: flex;
    flex-direction: column;

    gap: 14px;
}

.terminal-data div {
    display: grid;

    grid-template-columns:
        90px 1fr;

    gap: 10px;
}

.terminal-data span {
    color: #555965;
}

.terminal-data strong {
    color: #b0b2bc;

    font-weight: 400;

    overflow-wrap: anywhere;
}

.terminal-ready i {
    display: inline-block;

    width: 5px;
    height: 11px;

    margin-left: 5px;

    background: white;

    animation:
        blink 1s infinite;
}

.project-grid {
    margin-top: 15px;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;
}

.project-card {
    min-height: 390px;

    padding: 28px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    border:
        1px solid var(--border);

    border-radius: 15px;

    background:
        rgba(255,255,255,.012);

    transition: .25s;
}

.project-card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(139,124,255,.3);
}

.project-card-top {
    display: flex;
    justify-content: space-between;

    color: #565a65;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 7px;
}

.project-card-top strong {
    color: var(--green);

    font-weight: 400;
}

.project-card h3 {
    margin-bottom: 12px;

    font-size: 29px;

    letter-spacing: -1.5px;
}

.project-card p {
    color: var(--muted);

    line-height: 1.75;

    font-size: 12px;
}

.project-card-links {
    display: flex;

    gap: 18px;
}

.project-card-links a {
    color: var(--purple);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 8px;
}


/* MARQUEE */

.marquee {
    padding: 30px 0;

    overflow: hidden;

    border-top:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);
}

.marquee div {
    width: max-content;

    display: flex;

    gap: 30px;

    color: #272a32;

    font-size: 38px;
    font-weight: 800;

    animation:
        marquee 25s linear infinite;
}

.marquee span {
    color: var(--purple);
}


/* TECH */

.stack-heading {
    margin-bottom: 55px;
}

.tech-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;
}

.tech-card {
    min-height: 250px;

    padding: 23px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    border:
        1px solid var(--border);

    border-radius: 13px;

    transition: .25s;
}

.tech-card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(139,124,255,.3);

    background:
        rgba(255,255,255,.018);
}

.tech-number {
    align-self: flex-end;

    color: #50545f;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 7px;
}

.tech-icon {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    border:
        1px solid
        rgba(139,124,255,.2);

    border-radius: 10px;

    background:
        rgba(139,124,255,.04);

    color: #9b90ff;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 9px;
}

.tech-card small {
    color: #555965;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 7px;
}

.tech-card h3 {
    margin: 7px 0;

    font-size: 15px;
}

.tech-card p {
    color: #666a76;

    font-size: 9px;
}


/* CURRENT */

.current-section {
    padding: 0 0 140px;
}

.current-card {
    min-height: 200px;

    padding: 35px;

    display: grid;

    grid-template-columns:
        1fr 1.4fr;

    align-items: center;

    gap: 50px;

    border:
        1px solid var(--border);

    border-radius: 15px;
}

.current-title {
    display: flex;
    align-items: center;

    gap: 15px;
}

.current-title > span {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 16px var(--green);
}

.current-title small,
.current-data small {
    color: #555965;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 7px;
}

.current-title h2 {
    margin-top: 6px;

    font-size: 24px;
}

.current-data {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.current-data strong {
    display: block;

    margin-top: 6px;

    color: #aaaeba;

    font-size: 10px;
}


/* CONTACT */

.contact {
    min-height: 750px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    border-top:
        1px solid var(--border);
}

.contact-code {
    color: var(--purple);

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 9px;

    margin: 25px 0;
}

.contact h2 {
    max-width: 1000px;

    font-size:
        clamp(55px, 8vw, 105px);

    line-height: .9;

    letter-spacing: -7px;
}

.contact h2 span {
    display: block;

    color: #626570;
}

.contact-subtitle {
    margin-top: 30px;

    color: var(--muted);

    font-size: 13px;
}

.contact-links {
    margin-top: 35px;

    display: flex;

    gap: 10px;
}

.contact-links a {
    padding: 13px 16px;

    border:
        1px solid var(--border);

    border-radius: 8px;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 8px;
}


/* FOOTER */

footer {
    width: min(1200px, 90%);

    min-height: 90px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top:
        1px solid var(--border);

    color: #50545f;

    font-family:
        "JetBrains Mono",
        monospace;

    font-size: 7px;
}

footer strong {
    color: #858895;

    font-weight: 400;
}


/* REVEAL */

.reveal {
    opacity: 0;

    transform:
        translateY(30px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}

.reveal.visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* ANIMATION */

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

@keyframes marquee {

    from {
        transform:
            translateX(0);
    }

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


/* MOBILE */

@media (max-width: 1000px) {

    .nav-links {
        display: none;
    }

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

    .about-grid,
    .featured-layout {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .current-card {
        grid-template-columns: 1fr;
    }

    .project-terminal {
        transform: none;
    }
}

@media (max-width: 700px) {

    .navbar {
        height: 70px;
    }

    .section {
        padding: 100px 0;
    }

    .hero {
        min-height:
            calc(100vh - 70px);

        padding-top: 60px;
    }

    .hero h1 {
        font-size: 57px;

        letter-spacing: -4px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .primary-link,
    .secondary-link {
        width: 100%;
    }

    .hero-visual {
        transform:
            scale(.85);
    }

    .mini-terminal {
        right: 0;
    }

    .about-grid {
        gap: 40px;
    }

    .metrics {
        grid-template-columns: 1fr;
    }

    .metrics article:not(:last-child) {
        border-right: none;

        border-bottom:
            1px solid var(--border);
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .featured-project {
        padding: 22px;
    }

    .featured-layout {
        gap: 35px;
    }

    .project-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .current-data {
        grid-template-columns: 1fr;
    }

    .contact h2 {
        font-size: 58px;

        letter-spacing: -4px;
    }

    .contact-links {
        flex-direction: column;
    }

    footer {
        flex-direction: column;
        justify-content: center;

        gap: 8px;
    }

    .mouse-glow {
        display: none;
    }
}