* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #000000;
    color: #f0e4e8;
    font-family: 'DM Mono', monospace;
    font-size: 14px;
    line-height: 1.7;
    overflow-x: hidden;
}

#sparkle-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.wrapper {
    position: relative;
    z-index: 2;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 28px;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1.5px solid #2e1820;
    background: rgba(13, 6, 8, 0.92);
    backdrop-filter: blur(14px);
}

nav .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 58px;
}

.nav-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: #c0152a;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2px;
    list-style: none;
}

.nav-links a {
    color: #8a6470;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 7px 14px;
    border: 1.5px solid transparent;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-links a:hover {
    color: #f0e4e8;
    border-color: #5a2a38;
}

.box {
    position: relative;
    border: 1.5px solid #2e1820;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.12s ease-out, border-color 0.3s, box-shadow 0.3s;
    will-change: transform;
}

.box:hover {
    border-color: #5a2a38;
}

.box-red {
    background: radial-gradient(ellipse at 50% 30%, rgba(192, 21, 42, 0.28) 0%, #180c10 65%);
}

.box-pink {
    background: radial-gradient(ellipse at 50% 30%, rgba(232, 25, 122, 0.28) 0%, #180c10 65%);
}

.box-silver {
    background: radial-gradient(ellipse at 50% 30%, rgba(184, 184, 204, 0.22) 0%, #180c10 65%);
}

.box-clear {
    background: radial-gradient(ellipse at 50% 30%, rgba(210, 228, 240, 0.18) 0%, #180c10 65%);
}

.box-magenta {
    background: radial-gradient(ellipse at 50% 30%, rgba(196, 22, 110, 0.28) 0%, #180c10 65%);
}

.box-purple {
    background: radial-gradient(ellipse at 50% 30%, rgba(123, 47, 160, 0.28) 0%, #180c10 65%);
}

.box-splat {
    background: radial-gradient(ellipse at 50% 30%, rgba(232, 92, 138, 0.28) 0%, #180c10 65%);
}

.box-red:hover {
    box-shadow: 0 0 48px -8px rgba(192, 21, 42, 0.6), 0 8px 32px rgba(0, 0, 0, 0.6);
    background: radial-gradient(ellipse at var(--gx, 50%) var(--gy, 30%), rgba(192, 21, 42, 0.45) 0%, #180c10 60%);
}

.box-pink:hover {
    box-shadow: 0 0 48px -8px rgba(232, 25, 122, 0.6), 0 8px 32px rgba(0, 0, 0, 0.6);
    background: radial-gradient(ellipse at var(--gx, 50%) var(--gy, 30%), rgba(232, 25, 122, 0.45) 0%, #180c10 60%);
}

.box-silver:hover {
    box-shadow: 0 0 48px -8px rgba(184, 184, 204, 0.5), 0 8px 32px rgba(0, 0, 0, 0.6);
    background: radial-gradient(ellipse at var(--gx, 50%) var(--gy, 30%), rgba(184, 184, 204, 0.38) 0%, #180c10 60%);
}

.box-clear:hover {
    box-shadow: 0 0 48px -8px rgba(210, 228, 240, 0.45), 0 8px 32px rgba(0, 0, 0, 0.6);
    background: radial-gradient(ellipse at var(--gx, 50%) var(--gy, 30%), rgba(210, 228, 240, 0.32) 0%, #180c10 60%);
}

.box-magenta:hover {
    box-shadow: 0 0 48px -8px rgba(196, 22, 110, 0.6), 0 8px 32px rgba(0, 0, 0, 0.6);
    background: radial-gradient(ellipse at var(--gx, 50%) var(--gy, 30%), rgba(196, 22, 110, 0.45) 0%, #180c10 60%);
}

.box-purple:hover {
    box-shadow: 0 0 48px -8px rgba(123, 47, 160, 0.6), 0 8px 32px rgba(0, 0, 0, 0.6);
    background: radial-gradient(ellipse at var(--gx, 50%) var(--gy, 30%), rgba(123, 47, 160, 0.45) 0%, #180c10 60%);
}

.box-splat:hover {
    box-shadow: 0 0 48px -8px rgba(232, 92, 138, 0.6), 0 8px 32px rgba(0, 0, 0, 0.6);
    background: radial-gradient(ellipse at var(--gx, 50%) var(--gy, 30%), rgba(232, 92, 138, 0.45) 0%, #180c10 60%);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.25s;
    border: 1.5px solid transparent;
    cursor: pointer;
}

.btn-red {
    background: #c0152a;
    color: #fff;
    border-color: #c0152a;
    font-weight: 600;
}

.btn-red:hover {
    background: transparent;
    color: #c0152a;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(192, 21, 42, 0.4);
}

.btn-out {
    background: transparent;
    color: #f0e4e8;
    border-color: #5a2a38;
}

.btn-out:hover {
    border-color: #e8197a;
    color: #e8197a;
    transform: translateY(-2px);
}

#hero {
    padding: 140px 0 90px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    border-top: none;
}

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

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid #5a2a38;
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8a6470;
    margin-bottom: 28px;
    background: rgba(255, 255, 255, 0.01);
}

.dot-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c0152a;
    animation: pulse 2.5s infinite;
}

@keyframes pulse {

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

    50% {
        opacity: 0.4;
        transform: scale(0.75)
    }
}

.hero-name {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(50px, 6.5vw, 84px);
    line-height: 1.0;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.hero-name em {
    font-style: italic;
    color: #c0152a;
}

.hero-sub {
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #8a6470;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.hero-bio {
    font-size: 14px;
    color: #c8a8b4;
    max-width: 540px;
    line-height: 1.9;
    margin-bottom: 36px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-card {
    padding: 28px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 2.5px solid #e8197a;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 0 30px rgba(232, 25, 122, 0.5);
    background: linear-gradient(135deg, #c0152a, #e8197a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Instrument Serif', serif;
    font-size: 38px;
    color: #fff;
    font-style: italic;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.card-name {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 14px;
}

.card-role {
    font-size: 11px;
    color: #8a6470;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hr {
    height: 1px;
    background: #2e1820;
}

.stat {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.stat-l {
    color: #8a6470;
}

.stat-v {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: #b8b8cc;
}

.badge {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    color: #8a6470;
    padding: 6px 10px;
    border: 1px solid #2e1820;
    border-radius: 8px;
    background: rgba(192, 21, 42, 0.06);
}

.badge .dot-pulse {
    background: #c0152a;
    width: 5px;
    height: 5px;
}

section {
    padding: 100px 0;
    border-top: 1.5px solid #2e1820;
}

.sec-label {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #c0152a;
    font-family: 'DM Mono', monospace;
    margin-bottom: 10px;
}

.sec-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 48px;
}

.sec-title em {
    font-style: italic;
    color: #e8197a;
}

.marquee-bar {
    border-top: 1.5px solid #2e1820;
    border-bottom: 1.5px solid #2e1820;
    padding: 14px 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.01);
}

.marquee-track {
    display: flex;
    gap: 36px;
    animation: marquee 26s linear infinite;
    white-space: nowrap;
}

.m-item {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8a6470;
    display: flex;
    align-items: center;
    gap: 14px;
}

.m-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #c0152a;
    flex-shrink: 0;
}

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

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

.edu-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bar {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 26px;
}

.bar-ico {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1.5px solid #5a2a38;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.bar-body {
    flex: 1;
}

.bar-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 2px;
}

.bar-sub {
    font-size: 12px;
    color: #8a6470;
}

.bar-right {
    text-align: right;
    font-size: 12px;
    color: #8a6470;
    flex-shrink: 0;
}

.bar-right strong {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: #f0e4e8;
    display: block;
}

.exp-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.exp-box {
    padding: 28px 32px;
}

.exp-stripe {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 3px 0 0 3px;
    background: linear-gradient(to bottom, #e8197a, #7b2fa0);
    z-index: 2;
}

.exp-hd {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 16px;
    flex-wrap: wrap;
}

.exp-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 3px;
}

.exp-org {
    font-size: 13px;
    color: #e85c8a;
}

.exp-date {
    font-size: 11px;
    color: #8a6470;
    border: 1px solid #2e1820;
    border-radius: 6px;
    padding: 4px 10px;
    white-space: nowrap;
}

.exp-desc {
    font-size: 13px;
    color: #a07888;
    line-height: 1.8;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.skill-box {
    padding: 24px;
}

.skill-hd {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #8a6470;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.pill {
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 7px;
    border: 1.5px solid;
    transition: transform 0.15s;
    cursor: default;
}

.pill:hover {
    transform: translateY(-1px);
}

.p-red {
    border-color: rgba(192, 21, 42, 0.6);
    color: #c0152a;
    background: rgba(192, 21, 42, 0.1);
}

.p-pink {
    border-color: rgba(232, 25, 122, 0.6);
    color: #e8197a;
    background: rgba(232, 25, 122, 0.1);
}

.p-silver {
    border-color: rgba(184, 184, 204, 0.5);
    color: #b8b8cc;
    background: rgba(184, 184, 204, 0.08);
}

.p-clear {
    border-color: rgba(210, 228, 240, 0.4);
    color: #dde8f0;
    background: rgba(210, 228, 240, 0.06);
}

.p-magenta {
    border-color: rgba(196, 22, 110, 0.6);
    color: #c4166e;
    background: rgba(196, 22, 110, 0.1);
}

.p-purple {
    border-color: rgba(123, 47, 160, 0.6);
    color: #9b5fd0;
    background: rgba(123, 47, 160, 0.1);
}

.p-splat {
    border-color: rgba(232, 92, 138, 0.6);
    color: #e85c8a;
    background: rgba(232, 92, 138, 0.1);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 20px;
}

.proj-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-decoration: none;
    color: inherit;
}

.proj-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 14px 14px 0 0;
    background: linear-gradient(90deg, #c0152a, #e8197a, #7b2fa0);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.proj-card:hover .proj-topbar {
    opacity: 1;
}

.proj-num {
    font-family: 'Instrument Serif', serif;
    font-size: 44px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    position: absolute;
    top: 20px;
    right: 24px;
}

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

.proj-tag {
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 5px;
    border: 1px solid #5a2a38;
    color: #8a6470;
}

.proj-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
}

.proj-desc {
    font-size: 13px;
    color: #8a6470;
    line-height: 1.85;
    flex: 1;
}

.findings {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 4px;
}

.finding {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: #8a6470;
    line-height: 1.6;
}

.fdot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}

.proj-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #2e1820;
    font-size: 12px;
    margin-top: auto;
}

.proj-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #c0152a;
    font-weight: 500;
    text-decoration: none;
    transition: gap 0.2s;
}

.proj-link:hover {
    gap: 10px;
}

.badge-done {
    font-size: 11px;
    color: #c8f0b0;
    border: 1px solid rgba(180, 230, 150, 0.35);
    border-radius: 5px;
    padding: 3px 9px;
    background: rgba(180, 230, 150, 0.06);
}

.badge-wip {
    font-size: 11px;
    color: #e85c8a;
    border: 1px solid rgba(232, 92, 138, 0.35);
    border-radius: 5px;
    padding: 3px 9px;
    background: rgba(232, 92, 138, 0.06);
}

.placeholder {
    border-style: dashed;
    opacity: 0.5;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.c-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    text-decoration: none;
    color: #f0e4e8;
    transition: transform 0.25s;
}

.c-link:hover {
    transform: translateX(5px);
}

.c-ico {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    border: 1.5px solid #5a2a38;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.c-title {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 2px;
}

.c-val {
    font-size: 12px;
    color: #8a6470;
}

.c-right-title {
    font-family: 'Instrument Serif', serif;
    font-size: 28px;
    margin-bottom: 12px;
    font-style: italic;
}

.c-right-text {
    font-size: 13px;
    color: #8a6470;
    line-height: 1.85;
    margin-bottom: 24px;
}

footer {
    padding: 32px 0;
    border-top: 1.5px solid #2e1820;
}

footer .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #8a6470;
}

.f-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: #c0152a;
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media(max-width:768px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-card {
        display: none;
    }

    .contact-inner {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}