@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
    font-family: Manrope, "Segoe UI", Helvetica, Arial, sans-serif;
    color: #f0f0f0;
    background: #000;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    --discord-blue: #5765f2;
    --smooth-ease: cubic-bezier(.22, 1, .36, 1);
    --text-hi: #f5f5f5;
    --text-mid: #999;
    --text-lo: #555;
    --surface-1: #000;
    --surface-2: #1a1a1a;
    --border: rgba(255, 255, 255, .08);
}

* {
    box-sizing: border-box;
}

html,
body,
#root {
min-height: 100%;
}

body {
    margin: 0;
    background: #000;
    overflow-x: clip;
}

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

img {
    display: block;
    max-width: 100%;
}



.page-shell {
    position: relative;
    min-height: 100vh;
}

.page-frame {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 3rem));
    margin: 0 auto;
    padding: 1.25rem 0 7rem;
}



.intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;

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

    background: #000;
    cursor: pointer;

    transition: opacity .6s var(--smooth-ease);
}

.intro-overlay.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.intro-text {
    font-size: .95rem;
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--text-mid);

    animation: intro-pulse 2.4s ease-in-out infinite;
}

.intro-overlay:focus-visible {
    outline: none;
}

.intro-overlay:focus-visible .intro-text {
    color: var(--text-hi);
}

@keyframes intro-pulse {
    0%,
    100% {
        opacity: .4;
    }

    50% {
        opacity: 1;
    }
}



.floating-nav {
    position: sticky;
    top: 1.25rem;
    z-index: 20;

    display: flex;
    width: fit-content;
    padding: .35rem;

    border-radius: 999px;
    background: #000;

    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);

    box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
}

.nav-links {
    display: inline-flex;
    align-items: center;
    gap: .15rem;
}

.nav-link {
    padding: .6rem 1rem;

    border: 0;
    border-radius: 999px;

    background: transparent;
    color: var(--text-mid);

    cursor: pointer;

    font-family: Manrope, "Segoe UI", sans-serif;
    font-size: .88rem;
    font-weight: 500;

    transition:
    background .16s var(--smooth-ease),
    color .16s var(--smooth-ease);
}

.nav-link:hover,
.nav-link:focus-visible {
    background: rgba(255, 255, 255, .07);
    color: var(--text-hi);
}

.nav-link.is-active {
    background: rgba(255, 255, 255, .1);
    color: var(--text-hi);
}

.nav-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .2);
    outline-offset: 2px;
}



.hero {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;

    gap: 2.5rem;

    padding: 2.5rem 0 5rem;

    scroll-margin-top: 6rem;
}



.profile-col {
    position: sticky;
    top: 6rem;
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 1rem;

    padding: 1.5rem;

    border-radius: 1.5rem;
    background: var(--surface-1);
}

.avatar-skeleton {
    width: 80px;
    height: 80px;

    border-radius: 999px;
    flex: 0 0 auto;

    background: linear-gradient(
        90deg,
        var(--surface-1) 25%,
                                var(--surface-2) 50%,
                                var(--surface-1) 75%
    );

    background-size: 200% 100%;

    animation: shimmer 1.6s ease-in-out infinite;
}

.name-skeleton {
    width: 7rem;
    height: 1.1rem;

    border-radius: .4rem;

    background: linear-gradient(
        90deg,
        var(--surface-1) 25%,
                                var(--surface-2) 50%,
                                var(--surface-1) 75%
    );

    background-size: 200% 100%;

    animation: shimmer 1.6s ease-in-out infinite;
    animation-delay: 80ms;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.profile-avatar {
    width: 80px;
    height: 80px;

    border-radius: 999px;
    object-fit: cover;

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

    flex: 0 0 auto;

    opacity: 0;

    transition: opacity .32s var(--smooth-ease);
}

.profile-avatar.is-faded-in {
    opacity: 1;
}

.profile-name {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.2;

    color: var(--text-hi);
}

.profile-tagline {
    display: flex;
    align-items: center;

    gap: .35rem;

    margin: -.25rem 0 0;

    font-size: .88rem;
    line-height: 1.4;

    color: var(--text-mid);
}

.location-icon {
    width: .88rem;
    height: .88rem;

    flex: 0 0 auto;

    color: var(--text-lo);
}



.spotify-tagline {
    margin: -.65rem 0 0;
    padding: 0;

    border: 0;

    background: none;

    cursor: pointer;

    font-family: inherit;
    text-align: left;

    user-select: none;
    -webkit-user-select: none;

    transition:
    color .16s var(--smooth-ease),
    transform .16s var(--smooth-ease);
}

.spotify-tagline:hover,
.spotify-tagline:focus-visible {
    color: var(--text-mid);
}

.spotify-tagline:active {
    transform: scale(.97);
    transition-duration: 80ms;
}

.spotify-tagline:disabled {
    cursor: default;
}

.spotify-tagline .stat-spinner {
    color: var(--text-mid);
}

.spotify-icon {
    width: .88rem;
    height: .88rem;

    flex: 0 0 auto;

    color: var(--text-lo);

    transition: color .16s var(--smooth-ease);
}



.profile-about {
    margin: 0;

    font-size: .9rem;
    line-height: 1.68;

    color: var(--text-mid);
}



.skills-list {
    list-style: none;

    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;

    gap: .45rem;
}

.skills-item {
    display: flex;
    align-items: center;

    gap: .55rem;

    font-size: .88rem;
    font-weight: 500;

    color: var(--text-mid);
}

.skill-dot {
    width: .3rem;
    height: .3rem;

    flex: 0 0 auto;

    color: var(--text-lo);
}



.stat-group {
    display: flex;
    flex-direction: column;

    gap: .3rem;
}

.download-stat {
    display: inline-flex;
    align-items: center;

    gap: .4rem;

    padding: 0;

    border: 0;

    background: none;

    color: var(--text-lo);

    cursor: pointer;

    font-family: inherit;
    font-size: .82rem;
    font-weight: 500;

    user-select: none;
    -webkit-user-select: none;

    transition:
    color .16s var(--smooth-ease),
    transform .16s var(--smooth-ease);
}

.download-stat:hover,
.download-stat:focus-visible {
    color: var(--text-mid);
}

.download-stat:active {
    transform: scale(.97);
    transition-duration: 80ms;
}

.download-stat:disabled {
    cursor: default;
}

.stat-spinner {
    width: .72rem;
    height: .72rem;

    flex: 0 0 auto;

    border-radius: 999px;

    border: 1.5px solid currentColor;
    border-top-color: transparent;

    opacity: 0;

    margin-left: -.72rem;

    transform: scale(.7);

    transition:
    margin-left .2s var(--smooth-ease),
    opacity .16s var(--smooth-ease),
    transform .2s var(--smooth-ease);
}

.is-redirecting .stat-spinner {
    margin-left: 0;

    opacity: .7;

    transform: scale(1);

    animation: spin .7s linear infinite;
}

.github-stat-icon,
.server-stat-icon {
    width: .82rem;
    height: .82rem;

    flex: 0 0 auto;
}



.discord-button {
    position: relative;

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

    gap: .65rem;

    width: 100%;

    padding: .75rem 1.1rem;

    border: 0;
    border-radius: .9rem;

    overflow: hidden;

    background: var(--discord-blue);
    color: #fff;

    cursor: pointer;

    font-family: Manrope, "Segoe UI", sans-serif;
    font-size: .9rem;
    font-weight: 700;

    transition:
    transform .16s var(--smooth-ease),
    opacity .16s var(--smooth-ease);
}

.discord-button:hover {
    transform: translateY(-1px);
    opacity: .92;
}

.discord-button:active {
    transform: scale(.97);
    transition-duration: 80ms;
}

.discord-button:focus-visible {
    outline: 2px solid rgba(87, 101, 242, .4);
    outline-offset: 3px;
}

.discord-button:disabled {
    cursor: default;
}

.discord-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: .08rem;
}

.discord-label {
    line-height: 1.15;
}

.discord-meta {
    display: inline-flex;
    align-items: center;

    gap: .3rem;

    font-size: .74rem;
    font-weight: 600;
    line-height: 1.1;

    opacity: .75;
}

.discord-icon {
    width: 1rem;
    height: 1rem;

    flex: 0 0 auto;

    transition:
    opacity .16s var(--smooth-ease),
    transform .2s var(--smooth-ease);
}

.members-icon {
    width: .78rem;
    height: .78rem;

    flex: 0 0 auto;
}

.discord-spinner {
    width: .95rem;
    height: .95rem;

    flex: 0 0 auto;

    border-radius: 999px;

    border: 2px solid rgba(255, 255, 255, .3);
    border-top-color: #fff;

    opacity: 0;

    margin-left: -.95rem;

    transform: scale(.8);

    transition:
    margin-left .24s var(--smooth-ease),
    opacity .16s var(--smooth-ease),
    transform .24s var(--smooth-ease);
}

.discord-button.is-loading {
    gap: .5rem;
}

.discord-button.is-loading .discord-meta {
    opacity: .55;
}

.discord-button.is-loading .discord-icon {
    opacity: .9;
    transform: scale(.93);
}

.discord-button.is-loading .discord-spinner {
    margin-left: 0;

    opacity: 1;

    transform: scale(1);

    animation: spin .9s linear infinite;
}

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



.hero-projects {
    display: flex;
    flex-direction: column;

    gap: 1rem;
}

.projects-list {
    display: flex;
    flex-direction: column;

    gap: .75rem;
}

.project-card {
    display: flex;
    flex-direction: column;

    gap: .65rem;

    padding: 1.15rem 1.25rem;

    border-radius: 1.1rem;

    background: var(--surface-1);
}

.project-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 1rem;
}

.project-card-head h3 {
    margin: 0;

    font-size: .95rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.01em;

    color: var(--text-hi);
}

.project-type {
    flex: 0 0 auto;

    font-size: .76rem;
    font-weight: 600;

    color: var(--text-lo);
}

.project-card p {
    margin: 0;

    font-size: .9rem;
    line-height: 1.65;

    color: var(--text-mid);
}

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

    gap: .6rem .9rem;

    margin-top: .15rem;
}

.project-link {
    display: inline-flex;
    align-items: center;

    gap: .4rem;

    font-size: .88rem;
    font-weight: 700;

    color: var(--text-mid);

    transition:
    color .16s var(--smooth-ease),
    transform .16s var(--smooth-ease);
}

.project-link:hover,
.project-link:focus-visible {
    color: var(--text-hi);
    transform: translateY(-1px);
}

.project-link-icon {
    width: .9rem;
    height: .9rem;

    flex: 0 0 auto;
}



.load-in {
    opacity: 0;

    transform: translateY(14px);

    animation: enter .68s var(--smooth-ease) forwards;
    animation-play-state: paused;
}

.page-shell.is-entered .load-in {
    animation-play-state: running;
}

.load-in-1 {
    animation-delay: 60ms;
}

.load-in-2 {
    animation-delay: .13s;
}

.load-in-3 {
    animation-delay: .21s;
}

.load-in-4 {
    animation-delay: .3s;
}

@keyframes enter {
    0% {
        opacity: 0;
        transform: translateY(14px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



.tech-section {
    padding: 0 0 2rem;

    scroll-margin-top: 6rem;
}

.tech-heading {
    margin: 0 0 1rem;

    font-size: .8rem;
    font-weight: 500;
    letter-spacing: -.01em;

    color: var(--text-lo);
}

.tech-marquee {
    overflow: hidden;

    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 8%,
        black 92%,
        transparent
    );

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

.tech-track {
    list-style: none;

    margin: 0;
    padding: 0;

    display: flex;

    gap: .75rem;

    width: max-content;

    animation: none;
    will-change: auto;
}

.tech-carousel {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(82, 120, 63, .55) transparent;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}

.tech-carousel:focus-visible {
    outline: 2px solid #52783f;
    outline-offset: 4px;
}

.tech-track { width: max-content; }

@keyframes tech-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: .55rem;

    padding: 1rem 1.25rem;

    border-radius: 1.1rem;

    background: var(--surface-1);

    flex: 0 0 14rem;
}

.tech-icon {
    width: 1.5rem;
    height: 1.5rem;

    flex: 0 0 auto;
}

.tech-name {
    font-size: .76rem;
    font-weight: 500;
    letter-spacing: -.01em;

    color: var(--text-mid);

    white-space: nowrap;
}



@media (max-width: 820px) {
    .page-frame {
        width: min(calc(100% - 1.5rem), 1120px);
    }

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

        gap: 2rem;

        padding: 2rem 0 4rem;
    }

    .profile-col {
        position: static;
    }
}

@media (max-width: 640px) {
    .floating-nav {
        top: .75rem;
    }

    .nav-link {
        padding: .55rem .8rem;
        font-size: .85rem;
    }

    .hero {
        padding: 1.5rem 0 3rem;
    }
}



@media (prefers-reduced-motion: reduce) {
    .load-in,
    .discord-button,
    .nav-link,
    .project-link,
    .download-stat {
        transition: none;
        animation: none;
        opacity: 1;
        transform: none;
    }

    .discord-button.is-loading .discord-spinner,
    .tech-track {
        animation: none;
    }

    .intro-text {
        animation: none;
        opacity: 1;
    }

    .avatar-skeleton,
    .name-skeleton {
        animation: none;
    }

    .profile-avatar {
        opacity: 1;
        transition: none;
    }
}



@media (hover: none) or (pointer: coarse) {
    .project-link:hover,
    .discord-button:hover {
        transform: none;
    }
}


.discord-presence {
    gap: .5rem;
    margin: -.55rem 0 0;
    color: var(--text-mid);
}

.presence-dot {
    position: relative;
    width: .55rem;
    height: .55rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #858b7e;
}

.presence-dot.online { background: #42a86a; }
.presence-dot.idle { background: #e3a43d; }
.presence-dot.dnd {
    width: .78rem;
    height: .78rem;
    background: #ed4245;
}

.presence-dot.dnd::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: .44rem;
    height: .13rem;
    border-radius: 999px;
    background: #fff;
    transform: translate(-50%, -50%);
}


:root {
    color: #20251d;
    background: #e9e9df;
    --discord-blue: #52783f;
    --text-hi: #20251d;
    --text-mid: #586052;
    --text-lo: #6e7566;
    --surface-1: #f0f0e7;
    --surface-2: #ddddcf;
    --border: rgba(32, 37, 29, .22);
}

body {
    color: #20251d;
    background: #e9e9df;
}

.page-frame {
    width: min(1100px, calc(100% - 3rem));
    padding-top: 1.3rem;
}

.floating-nav {
    padding: 0;
    border-radius: 0;
    border-bottom: 1px solid #20251d;
    background: #e9e9df;
    box-shadow: none;
    backdrop-filter: none;
}

.nav-links { gap: 1.2rem; }

.nav-link {
    padding: .55rem 0;
    border-radius: 0;
    color: #586052;
    font-weight: 700;
}

.nav-link.is-active,
.nav-link:hover,
.nav-link:focus-visible {
    background: transparent;
    color: #315a36;
}

.nav-link.is-active { box-shadow: inset 0 -3px #52783f; }

.hero {
    grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
    gap: clamp(2.5rem, 7vw, 6rem);
    width: min(100%, 760px);
    margin-inline: auto;
    padding: clamp(3rem, 9vh, 6rem) 0 5rem;
}

.tech-section {
    width: min(100%, 760px);
    margin-inline: auto;
}

.profile-col { top: 5rem; }

.profile-card {
    gap: 1rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.profile-avatar {
    width: 88px;
    height: 88px;
    border: 2px solid #52783f;
}

.profile-name {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -.07em;
}

.profile-tagline { color: #586052; }
.location-icon { color: #52783f; }
.profile-about { color: #3d4439; }
.discord-presence { color: #3d4439; }

.skills-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: .4rem;
}

.skills-item {
    padding: .3rem .55rem;
    border: 1px solid rgba(32, 37, 29, .25);
    border-radius: 2px;
    color: #3d4439;
    font-size: .78rem;
}

.skill-dot { color: #52783f; }

.projects-list { gap: 0; }

.project-card {
    gap: .75rem;
    padding: 1.25rem .15rem 1.35rem;
    border: 0;
    border-bottom: 1px solid rgba(32, 37, 29, .28);
    border-radius: 0;
    background: transparent;
    transition: padding-left .18s ease, background-color .18s ease;
}

.project-card:first-child { border-top: 1px solid rgba(32, 37, 29, .28); }
.project-card:nth-child(even) { border-left-color: transparent; }
.project-card:hover {
    padding-left: .7rem;
    transform: none;
    background: rgba(255, 255, 255, .28);
}

.project-card-head h3 {
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -.04em;
}

.project-type {
    padding: .2rem .45rem;
    border: 1px solid #52783f;
    border-radius: 2px;
    color: #315a36;
    font-size: .7rem;
    font-weight: 700;
}

.project-card p { max-width: 60ch; color: #4f574a; }
.project-link { color: #315a36; }
.project-link:hover, .project-link:focus-visible { color: #1d3821; }

.tech-section {
    padding: 1.7rem 0 4rem;
    border-top: 1px solid rgba(32, 37, 29, .28);
}

.tech-heading {
    margin-bottom: .8rem;
    color: #52783f;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: none;
}

.tech-marquee {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
}

.tech-carousel {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}

.tech-track {
    width: max-content;
    flex-wrap: nowrap;
    gap: .4rem;
    animation: tech-scroll 24s linear infinite;
    will-change: transform;
    padding: .15rem 0;
}

.tech-carousel:hover .tech-track,
.tech-carousel:focus-within .tech-track {
    animation-play-state: paused;
}

.tech-item {
    flex: 0 0 9rem;
    flex-direction: row;
    justify-content: center;
    gap: .45rem;
    padding: .5rem .65rem;
    border: 1px solid rgba(32, 37, 29, .22);
    border-radius: 2px;
    background: transparent;
    scroll-snap-align: start;
}

.tech-icon { width: 1.1rem; height: 1.1rem; }
.tech-name { color: #3d4439; font-size: .8rem; }

.intro-overlay { background: #e9e9df; }
.intro-text {
    padding: .6rem 0;
    border: 0;
    border-bottom: 2px solid #52783f;
    border-radius: 0;
    color: #315a36;
    font-weight: 800;
}

@media (max-width: 820px) {
    .page-frame { width: min(calc(100% - 2rem), 680px); }
    .hero {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2.5rem 0 3.5rem;
    }
    .profile-col { position: static; }
}

@media (max-width: 640px) {
    .hero { padding-top: 2rem; }
    .nav-links { gap: 1rem; }
    .project-card { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
