﻿:root {
    --logo-green: #00b038;
    --logo-purple: #a800c8;
    --logo-charcoal: #383838;
    --ink: #383238;
    --ink-soft: #4a3c4d;
    --muted: #776a78;
    --surface: #fbf7fc;
    --surface-warm: #fff9f5;
    --surface-cool: #f5fff8;
    --surface-strong: rgba(253, 248, 254, .9);
    --line: rgba(110, 48, 122, .16);
    --glass: rgba(251, 247, 252, .64);
    --glass-strong: rgba(253, 248, 254, .86);
    --white-veil: rgba(253, 248, 254, .72);
    --terminal-ink: #383238;
    --terminal-ink-soft: #4a3c4d;
    --cyan: var(--logo-green);
    --violet: #7b2192;
    --pink: var(--logo-purple);
    --amber: #00b038;
    --green: var(--logo-green);
    --shadow-color: rgba(168, 0, 200, .16);
    --shadow: 0 26px 80px var(--shadow-color);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    background:
        radial-gradient(circle at 12% 8%, rgba(0, 176, 56, .24), transparent 24rem),
        radial-gradient(circle at 86% 10%, rgba(168, 0, 200, .24), transparent 25rem),
        radial-gradient(circle at 54% 92%, rgba(56, 56, 56, .08), transparent 32rem),
        linear-gradient(135deg, var(--surface), var(--surface-warm) 45%, var(--surface-cool));
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .45;
    background:
        linear-gradient(90deg, rgba(168, 0, 200, .07) 1px, transparent 1px),
        linear-gradient(rgba(0, 176, 56, .07) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to bottom, rgba(56, 56, 56, .5), transparent 70%);
}

img { max-width: 100%; }
a { color: inherit; }
p { margin: 0; }

h1, h2, h3 {
    margin: 0;
    line-height: 1.12;
    letter-spacing: -.022em;
}

h1 {
    font-size: 50px;
    max-width: 860px;
    letter-spacing: -.038em;
}

h2 { font-size: 40px; }
h3 { font-size: 1.08rem; letter-spacing: -.01em; }

.page-work .page-hero h1,
.page-career .page-hero h1,
.page-work .page-hero .lead,
.page-career .page-hero .lead {
    max-width: none;
}

.shell {
    width: min(80rem, calc(100% - 32px));
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.glass-card, .glass-menu {
    border: 1px solid var(--line);
    background: var(--glass);
    box-shadow: var(--shadow);
    backdrop-filter: blur(24px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(248, 252, 255, .78);
    background: rgba(246, 251, 255, .74);
    backdrop-filter: blur(22px);
}

.nav {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand img {
    display: block;
    width: 184px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    margin: 0;
    list-style: none;
    border-radius: 999px;
}

.nav-links a {
    display: inline-flex;
    padding: 10px 15px;
    border-radius: 999px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 900;
    transition: 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a.active {
    color: var(--ink);
    background: var(--surface-strong);
    box-shadow: 0 0 24px rgba(0, 176, 56, .18), inset 0 0 0 1px rgba(168, 0, 200, .18);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-strong);
    cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    background: var(--ink);
}

.hero, .page-hero {
    padding: clamp(70px, 10vw, 140px) 0 clamp(58px, 8vw, 96px);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: clamp(34px, 6vw, 82px);
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 16px;
    color: #4c1d95;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    box-shadow: 0 0 0 7px rgba(32,217,255,.13);
}

.lead {
    max-width: 720px;
    margin-top: 24px;
    color: var(--muted);
    font-size: clamp(1.08rem, 2vw, 1.25rem);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 18px;
    border-radius: 999px;
    color: var(--surface);
    background: linear-gradient(135deg, var(--violet), var(--pink));
    box-shadow: 0 18px 42px rgba(168, 0, 200, .22);
    text-decoration: none;
    font-weight: 900;
}

.button.secondary {
    color: var(--ink);
    background: var(--glass-strong);
    box-shadow: inset 0 0 0 1px rgba(110, 48, 122, .14);
}

.terminal-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 38px;
    background:
        linear-gradient(135deg, rgba(22, 28, 51, .92), rgba(41, 48, 77, .8)),
        var(--glass);
    color: var(--surface);
}

.terminal-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 180deg, transparent, rgba(0, 176, 56, .3), transparent, rgba(168, 0, 200, .28), transparent);
    animation: spin 16s linear infinite;
}

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

.terminal-card > * {
    position: relative;
    z-index: 1;
}

.terminal-card code {
    display: block;
    margin: 18px 0;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: clamp(.95rem, 1.8vw, 1.1rem);
}

.terminal-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 28px;
    border: 1px solid rgba(246, 251, 255, .28);
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.terminal-dots span {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: var(--cyan);
}

.terminal-dots span:nth-child(2) { background: var(--amber); }
.terminal-dots span:nth-child(3) { background: var(--pink); }
.muted { color: #b9c0d8; }
.accent { color: #78f5d0; }

.metrics-band {
    padding: 24px 0;
    transform: skewY(-2deg);
    background: rgba(22, 28, 51, .94);
    color: var(--surface);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    transform: skewY(2deg);
}

.metrics-grid div {
    padding: 14px 0;
}

.metrics-grid strong {
    display: block;
    font-size: clamp(1.7rem, 4vw, 3rem);
    line-height: 1;
}

.metrics-grid span {
    color: #cbd5e1;
    font-size: .95rem;
}

.section {
    padding: clamp(64px, 9vw, 112px) 0;
}

.section-soft {
    background: rgba(246, 251, 255, .32);
}

.angled-section {
    position: relative;
    isolation: isolate;
}

.angled-section::before {
    content: "";
    position: absolute;
    inset: 8% 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(0, 176, 56, .14), rgba(168, 0, 200, .14));
    transform: skewY(-3deg);
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 32px;
}

.section-head p {
    max-width: 500px;
    color: var(--muted);
}

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

.project-grid-large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: 30px;
}

.project-card:nth-child(odd) {
    transform: translateY(22px);
}

.project-type {
    color: #4c1d95;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.project-card h2,
.project-card h3 {
    margin-top: 16px;
}

.project-card p:not(.project-type) {
    margin-top: 14px;
    color: var(--muted);
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 20px;
}

.tag-row span,
.specialty-chip {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--ink);
    background: var(--white-veil);
    font-size: .82rem;
    font-weight: 850;
}

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

.skill-group {
    padding: 24px;
    border-radius: 30px;
}

.skill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.skill-pill {
    display: inline-grid;
    grid-template-columns: 28px auto;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: var(--white-veil);
    font-weight: 850;
}

.skill-pill img {
    width: 28px;
    height: 28px;
}

.skill-initial {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--logo-purple), var(--logo-green));
    color: var(--surface);
    font-size: .8rem;
    font-weight: 900;
}

.split-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .82fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    padding: clamp(24px, 5vw, 46px);
    border-radius: 38px;
}

.split-panel p,
.prose-card p {
    margin-top: 16px;
    color: var(--muted);
}

.portrait,
.split-panel img {
    width: 100%;
    border-radius: 30px;
    object-fit: cover;
}

.signal-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.signal-list li {
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--white-veil);
    font-weight: 850;
}

.timeline {
    display: grid;
    gap: 18px;
}

.timeline-item {
    display: block;
    padding: 26px;
    border-radius: 30px;
}

.timeline-item p:not(.project-type),
.timeline-item li {
    color: var(--muted);
}

.timeline-item ul {
    margin: 16px 0 0;
    padding-left: 20px;
}

.career-card h2 {
    margin-top: 16px;
}

.career-card > p:not(.project-type) {
    margin-top: 14px;
}

.cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.school-card {
    max-width: 314px;
    margin-top: 18px;
    padding: 20px;
    border-radius: 24px;
    background: #1f1f1f;
}

.school-card img {
    max-height: 110px;
    display: block;
    margin: 0 auto;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
}

.badge-row img {
    width: 82px;
    border-radius: 12px;
}

.cert-pill {
    display: inline-flex;
    align-items: center;
    min-height: 82px;
    max-width: 220px;
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--white-veil);
    color: var(--ink);
    font-weight: 850;
    line-height: 1.2;
    box-shadow: 0 12px 28px var(--shadow-color);
}

.prose-card {
    max-width: 930px;
    padding: clamp(24px, 5vw, 46px);
    border-radius: 36px;
}

.hobby-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.hobby-card {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    margin: 0;
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.hobby-card img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
}

.hobby-card figcaption {
    position: absolute;
    inset: auto 12px 12px;
    padding: 10px 12px;
    border-radius: 16px;
    color: var(--surface);
    background: rgba(22, 28, 51, .76);
    backdrop-filter: blur(16px);
    font-size: .88rem;
    font-weight: 800;
}

.site-footer {
    padding: 52px 0;
    border-top: 1px solid rgba(248, 252, 255, .78);
    background: rgba(246, 251, 255, .4);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(280px, 1fr);
    gap: 32px;
    align-items: center;
}

.footer-mark {
    display: block;
    width: clamp(104px, 10vw, 132px);
    filter: drop-shadow(0 12px 24px rgba(168, 0, 200, .16));
}

.site-footer p {
    margin-top: 14px;
    color: var(--muted);
}

.footer-cta {
    padding: 26px;
    border-radius: 30px;
}

.footer-cta .button {
    margin-top: 20px;
}

.copyright {
    font-size: .92rem;
}

@media (max-width: 980px) {
    .hero-grid,
    .metrics-grid,
    .project-grid,
    .project-grid-large,
    .skill-groups,
    .split-panel,
    .timeline-item,
    .cert-grid,
    .hobby-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-grid,
    .split-panel,
    .timeline-item,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .project-card:nth-child(odd) {
        transform: none;
    }
}

@media (max-width: 760px) {
    .nav { flex-wrap: wrap; min-height: 74px; }
    .brand img { width: 154px; }
    .nav-toggle { display: block; }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        border-radius: 24px;
    }

    .nav-links.is-open { display: flex; }
    .nav-links a { justify-content: center; }

    .metrics-grid,
    .project-grid,
    .project-grid-large,
    .skill-groups,
    .cert-grid,
    .hobby-grid {
        grid-template-columns: 1fr;
    }

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

    h1 { letter-spacing: -.032em; }
}

@media (max-width: 520px) {
    .shell { width: min(100% - 24px, 80rem); }
    .button { width: 100%; }
    .terminal-card { padding: 18px; }
    .skill-pill { width: 100%; }
}







