/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    /* Backgrounds */
    --bg:          #06060a;
    --bg-tinted:   #0d0d15;
    --surface:     rgba(255, 255, 255, 0.04);
    --surface-hov: rgba(255, 255, 255, 0.07);

    /* Borders */
    --border:      rgba(255, 255, 255, 0.08);
    --border-hov:  rgba(124, 58, 237, 0.45);

    /* Text */
    --text-1:  #ededed;
    --text-2:  #a1a1aa;
    --text-3:  #71717a;

    /* Accent palette — AI purple + indigo + pink */
    --accent:        #7c3aed;
    --accent-light:  #a78bfa;
    --accent-glow:   rgba(124, 58, 237, 0.18);
    --accent-ind:    #6366f1;
    --accent-pink:   #ec4899;

    /* Radius */
    --r-sm:   8px;
    --r-md:   14px;
    --r-lg:   20px;
    --r-full: 9999px;

    /* Motion */
    --ease:  cubic-bezier(0.16, 1, 0.3, 1);
    --dur:   280ms;

    /* Layout */
    --nav-h:     64px;
    --max-w:     1200px;
    --gap:       24px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    color-scheme: dark;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text-1);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--accent-light);
    text-decoration: none;
    transition: color var(--dur) var(--ease);
}
a:hover { color: #c4b5fd; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--gap);
}

.section         { padding: 100px 0; }
.section-tinted  { background: var(--bg-tinted); }

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.025em;
    margin-bottom: 56px;
}
.section-title::after {
    content: '';
    display: block;
    width: 36px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-ind));
    border-radius: var(--r-full);
    margin: 10px auto 0;
}

.subsection-title {
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-2);
    margin-bottom: 28px;
}

.center-action { text-align: center; margin-top: 40px; }

/* ============================================================
   GLASS CARD
   ============================================================ */
.glass-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition:
        border-color var(--dur) var(--ease),
        background    var(--dur) var(--ease),
        box-shadow    var(--dur) var(--ease);
}
.glass-card:hover {
    border-color: var(--border-hov);
    background: var(--surface-hov);
    box-shadow: 0 0 28px var(--accent-glow);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 26px;
    border-radius: var(--r-full);
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--dur) var(--ease);
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-ind));
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.38);
    transform: translateY(-2px);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text-1);
    border-color: var(--border);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    background: var(--accent-glow);
    transform: translateY(-2px);
}

.btn-linkedin {
    background: #0a66c2;
    color: #fff;
}
.btn-linkedin:hover {
    background: #0958a8;
    color: #fff;
    transform: translateY(-2px);
}

.btn-github {
    background: var(--surface);
    color: var(--text-1);
    border-color: var(--border);
}
.btn-github:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    background: var(--accent-glow);
    transform: translateY(-2px);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 900;
    border-bottom: 1px solid transparent;
    transition:
        background    var(--dur) var(--ease),
        border-color  var(--dur) var(--ease),
        backdrop-filter var(--dur) var(--ease);
}
.navbar.scrolled {
    background: rgba(6, 6, 10, 0.82);
    border-bottom-color: var(--border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--gap);
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-1) 40%, var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-links .nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-2);
    position: relative;
    padding-bottom: 2px;
}
.nav-links .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: var(--r-full);
    transition: width var(--dur) var(--ease);
}
.nav-links .nav-link:hover,
.nav-links .nav-link.active {
    color: var(--text-1);
}
.nav-links .nav-link:hover::after,
.nav-links .nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-1);
    border-radius: var(--r-full);
    transition: all var(--dur) var(--ease);
    transform-origin: center;
}

/* Mobile drawer */
.nav-mobile {
    max-height: 0;
    overflow: hidden;
    background: rgba(6, 6, 10, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid transparent;
    transition: max-height 0.35s var(--ease), border-color var(--dur) var(--ease);
    display: flex;
    flex-direction: column;
}
.nav-mobile.open {
    max-height: 480px;
    border-top-color: var(--border);
}
.nav-mobile .nav-link {
    color: var(--text-2);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 13px 24px;
    border-bottom: 1px solid var(--border);
    transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-mobile .nav-link:last-child { border-bottom: none; }
.nav-mobile .nav-link:hover {
    color: var(--text-1);
    background: var(--surface);
}

/* Toggle animation */
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-h);
}

/* Animated ambient blobs */
.hero-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.13;
    will-change: transform;
}
.blob-1 {
    width: 640px; height: 640px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: -200px; left: -180px;
    animation: floatA 9s ease-in-out infinite;
}
.blob-2 {
    width: 520px; height: 520px;
    background: radial-gradient(circle, var(--accent-ind) 0%, transparent 70%);
    bottom: -160px; right: -140px;
    animation: floatB 11s ease-in-out infinite;
    opacity: 0.1;
}
.blob-3 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, var(--accent-pink) 0%, transparent 70%);
    top: 55%; left: 55%;
    transform: translate(-50%, -50%);
    animation: floatC 13s ease-in-out infinite;
    opacity: 0.06;
}

@keyframes floatA {
    0%,100% { transform: translate(0, 0)   scale(1);    }
    40%      { transform: translate(40px, -30px) scale(1.06); }
    70%      { transform: translate(-20px, 40px) scale(0.96); }
}
@keyframes floatB {
    0%,100% { transform: translate(0, 0)    scale(1);    }
    35%      { transform: translate(-30px, 20px)  scale(1.05); }
    65%      { transform: translate(25px, -35px)  scale(0.97); }
}
@keyframes floatC {
    0%,100% { transform: translate(-50%,-50%) scale(1);    }
    30%      { transform: translate(calc(-50%+25px),calc(-50%-20px)) scale(1.07); }
    60%      { transform: translate(calc(-50%-20px),calc(-50%+30px)) scale(0.94); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 860px;
    padding: 40px 24px;
}

/* Pill badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--r-full);
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
    letter-spacing: 0.01em;
}
.hero-badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
    0%,100% { opacity: 1; transform: scale(1);   }
    50%      { opacity: 0.45; transform: scale(0.75); }
}

.hero-title {
    font-size: clamp(2.4rem, 7vw, 4.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 18px;
}

/* Animated gradient text */
.gradient-text {
    background: linear-gradient(135deg,
        var(--accent-light) 0%,
        var(--accent-pink)  45%,
        var(--accent-light) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradShift 4s linear infinite;
}
@keyframes gradShift {
    0%   { background-position: 0%   center; }
    100% { background-position: 200% center; }
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3125rem);
    color: var(--text-2);
    min-height: 2em;
    margin-bottom: 36px;
    font-weight: 400;
}
.typewriter-text {
    border-right: 2px solid var(--accent);
    padding-right: 3px;
    animation: caretBlink 0.75s step-end infinite;
}
@keyframes caretBlink {
    from, to { border-color: transparent; }
    50%       { border-color: var(--accent); }
}

.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
}
.scroll-mouse {
    width: 22px; height: 34px;
    border: 2px solid var(--border);
    border-radius: 11px;
    position: relative;
}
.scroll-wheel {
    width: 4px; height: 8px;
    background: var(--accent-light);
    border-radius: var(--r-full);
    position: absolute;
    top: 5px; left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease-in-out infinite;
    opacity: 0.7;
}
@keyframes scrollWheel {
    0%   { opacity: 0.7; transform: translateX(-50%) translateY(0);   }
    100% { opacity: 0;   transform: translateX(-50%) translateY(14px); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 56px;
    align-items: start;
}

.about-aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: sticky;
    top: calc(var(--nav-h) + 24px);
}

.avatar-ring {
    width: 220px; height: 220px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--accent), var(--accent-ind), var(--accent-pink));
    flex-shrink: 0;
}
.avatar-img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--bg);
}

.about-socials {
    display: flex;
    gap: 10px;
}
.social-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-2);
    font-size: 0.9rem;
    transition: all var(--dur) var(--ease);
    cursor: pointer;
}
.social-btn:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    background: var(--accent-glow);
    transform: translateY(-2px);
}

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

.info-chip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 14px 18px;
    font-size: 0.9rem;
    color: var(--text-1);
}
.chip-icon {
    width: 34px; height: 34px;
    border-radius: 8px;
    background: var(--accent-glow);
    border: 1px solid rgba(124,58,237,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    font-size: 0.8125rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.info-chip a { color: var(--accent-light); }
.info-chip strong { color: var(--text-1); font-weight: 600; }

.about-bio {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}
.about-bio p {
    font-size: 0.9375rem;
    color: var(--text-2);
    line-height: 1.78;
}

/* ============================================================
   EXPERIENCE / TIMELINE
   ============================================================ */
.exp-group { margin-bottom: 60px; }
.exp-group:last-child { margin-bottom: 0; }

.exp-group-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-3);
    text-align: center;
    margin-bottom: 28px;
}

.timeline {
    position: relative;
    padding-left: 40px;
    max-width: 860px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 15px;      /* center of 2px line = 16px */
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent) 0%, transparent 100%);
    border-radius: var(--r-full);
}

.tl-item {
    position: relative;
    margin-bottom: 20px;
}
.tl-item:last-child { margin-bottom: 0; }

.tl-dot {
    position: absolute;
    left: -31px;     /* 40 - 31 = 9px; center = 9 + 7 = 16px  ✓ */
    top: 22px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
    z-index: 1;
}

.tl-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.tl-meta h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-1);
}
.tl-org {
    font-size: 0.875rem;
    color: var(--accent-light);
    margin-top: 2px;
}
.tl-date {
    font-size: 0.75rem;
    color: var(--text-3);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    padding: 3px 12px;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: flex-start;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.badge {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--r-full);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.badge-green  { background: rgba(16,185,129,0.1); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.22); }
.badge-blue   { background: rgba(99,102,241,0.1); color: #a5b4fc; border: 1px solid rgba(99,102,241,0.22); }
.badge-amber  { background: rgba(245,158,11,0.1); color: #fcd34d; border: 1px solid rgba(245,158,11,0.22); }

.tl-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.tl-list li {
    position: relative;
    padding-left: 18px;
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.65;
}
.tl-list li::before {
    content: '';
    position: absolute;
    left: 4px; top: 9px;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.55;
}

/* ============================================================
   EDUCATION
   ============================================================ */
.edu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
    margin-bottom: 56px;
}
.edu-card { display: flex; flex-direction: column; gap: 18px; }

.edu-header {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.edu-icon {
    width: 46px; height: 46px;
    border-radius: 11px;
    background: var(--accent-glow);
    border: 1px solid rgba(124,58,237,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    font-size: 1.0625rem;
    flex-shrink: 0;
}
.edu-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 2px;
}
.edu-header p {
    font-size: 0.875rem;
    color: var(--accent-light);
}
.edu-date {
    font-size: 0.75rem;
    color: var(--text-3);
    display: block;
    margin-top: 4px;
}

.edu-details { display: flex; flex-direction: column; gap: 10px; }
.edu-row {
    display: flex;
    gap: 10px;
    align-items: baseline;
}
.edu-row dt {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-3);
    min-width: 82px;
    flex-shrink: 0;
}
.edu-row dd {
    font-size: 0.875rem;
    color: var(--text-2);
    flex: 1;
}
.accent-val {
    color: var(--accent-light);
    font-weight: 600;
}
.award-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.award-chip {
    font-size: 0.6875rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    padding: 3px 10px;
    color: var(--text-2);
}

/* Certifications */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}
.cert-cat {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 14px;
}
.cert-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cert-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.cert-list li i {
    color: var(--accent-light);
    font-size: 0.8125rem;
    margin-top: 3px;
    flex-shrink: 0;
}
.cert-list li div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cert-list li a {
    font-size: 0.875rem;
    color: var(--text-1);
    font-weight: 500;
}
.cert-list li a:hover { color: var(--accent-light); }
.cert-list li span {
    font-size: 0.75rem;
    color: var(--text-3);
}

/* ============================================================
   PUBLICATIONS
   ============================================================ */
.pub-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
}
.pub-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--r-md);
    padding: 26px 28px;
    transition: all var(--dur) var(--ease);
}
.pub-card:hover {
    border-left-color: var(--accent-light);
    background: var(--surface-hov);
    box-shadow: 0 0 22px var(--accent-glow);
}
.pub-venue {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-light);
    background: var(--accent-glow);
    border: 1px solid rgba(124,58,237,0.18);
    border-radius: var(--r-full);
    padding: 3px 10px;
    margin-bottom: 10px;
}
.pub-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 6px;
}
.pub-card h3 a { color: var(--text-1); }
.pub-card h3 a:hover { color: var(--accent-light); }
.pub-authors {
    font-size: 0.8125rem;
    color: var(--text-3);
    margin-bottom: 8px;
}
.pub-abstract {
    font-size: 0.875rem;
    color: var(--text-2);
    line-height: 1.72;
    margin-bottom: 14px;
}
.pub-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent-light);
}
.pub-link:hover { color: var(--text-1); }

/* ============================================================
   PROJECTS
   ============================================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
    margin-bottom: 8px;
}
.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--dur) var(--ease);
    cursor: default;
}
.project-card:hover {
    border-color: var(--border-hov);
    transform: translateY(-5px);
    box-shadow: 0 18px 52px rgba(0,0,0,0.35), 0 0 26px var(--accent-glow);
}
.project-bar {
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-ind));
    flex-shrink: 0;
}
.project-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    flex: 1;
}
.project-cat {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-light);
}
.project-body h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-1);
    line-height: 1.4;
}
.project-body p {
    font-size: 0.875rem;
    color: var(--text-2);
    line-height: 1.72;
    flex: 1;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 5px; }
.tag {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--accent-light);
    background: var(--accent-glow);
    border: 1px solid rgba(124,58,237,0.15);
    border-radius: var(--r-full);
    padding: 3px 10px;
}
.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-2);
    margin-top: 4px;
    transition: color var(--dur) var(--ease);
    cursor: pointer;
}
.project-link:hover { color: var(--accent-light); }

/* ============================================================
   SKILLS
   ============================================================ */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.skill-group {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 22px;
    transition: border-color var(--dur) var(--ease);
}
.skill-group:hover { border-color: rgba(124,58,237,0.28); }

.sg-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.sg-icon {
    width: 34px; height: 34px;
    border-radius: 8px;
    background: var(--accent-glow);
    border: 1px solid rgba(124,58,237,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    font-size: 0.8125rem;
    flex-shrink: 0;
}
.sg-header h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-1);
}

.skill-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-chip {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-2);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    padding: 4px 12px;
    transition: all var(--dur) var(--ease);
    cursor: default;
}
.skill-chip:hover {
    color: var(--accent-light);
    border-color: var(--accent);
    background: var(--accent-glow);
}

/* ============================================================
   MEMBERSHIPS
   ============================================================ */
.membership {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 22px 24px;
    max-width: 460px;
    margin: 0 auto;
    transition: border-color var(--dur) var(--ease);
}
.membership:hover { border-color: rgba(124,58,237,0.3); }
.membership-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--accent-glow);
    border: 1px solid rgba(124,58,237,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    font-size: 1rem;
    flex-shrink: 0;
}
.membership h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 4px;
}
.membership p {
    font-size: 0.875rem;
    color: var(--text-2);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 52px 40px;
    max-width: 580px;
    margin: 0 auto;
    text-align: center;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: all var(--dur) var(--ease);
}
.contact-card:hover {
    border-color: rgba(124,58,237,0.32);
    box-shadow: 0 0 48px var(--accent-glow);
}
.contact-card p {
    font-size: 1rem;
    color: var(--text-2);
    line-height: 1.75;
    margin-bottom: 32px;
}
.contact-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-tinted);
    border-top: 1px solid var(--border);
    padding: 28px 0;
}
.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.footer p {
    font-size: 0.875rem;
    color: var(--text-3);
}
.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
    color: var(--text-3);
    font-size: 1rem;
    transition: color var(--dur) var(--ease);
}
.footer-socials a:hover { color: var(--accent-light); }

/* ============================================================
   FOCUS STATES  (accessibility)
   ============================================================ */
:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration:       0.01ms !important;
        animation-iteration-count: 1     !important;
        transition-duration:      0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
    .blob   { animation: none; }
}

/* ============================================================
   RESPONSIVE — TABLET  (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .about-aside {
        flex-direction: row;
        position: static;
        align-items: center;
    }
    .projects-grid  { grid-template-columns: 1fr 1fr; }
    .skills-grid    { grid-template-columns: 1fr 1fr; }
    .certs-grid     { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE — MOBILE  (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
    :root { --gap: 16px; }

    .section { padding: 72px 0; }
    .section-title { margin-bottom: 40px; }

    .nav-links  { display: none; }
    .nav-toggle { display: flex; }

    .hero-cta { flex-direction: column; align-items: center; }

    .about-aside { flex-direction: column; }

    .edu-grid       { grid-template-columns: 1fr; }
    .projects-grid  { grid-template-columns: 1fr; }
    .skills-grid    { grid-template-columns: 1fr; }
    .certs-grid     { grid-template-columns: 1fr; }

    .tl-header { flex-direction: column; align-items: flex-start; }

    .edu-row { flex-direction: column; gap: 4px; }
    .edu-row dt { min-width: unset; }

    .contact-card { padding: 36px 22px; }

    .footer-row {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE  (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
    .hero-cta .btn,
    .contact-btns .btn {
        width: 100%;
        justify-content: center;
    }
    .contact-btns { flex-direction: column; }
}
