/* ═══════════════════════════════════════
   style.css — Yuan Gao Portfolio
   Fonts: Orbitron | Inter | JetBrains Mono
═══════════════════════════════════════ */

/* ─────────────────────────────
   DESIGN TOKENS
───────────────────────────── */
:root {
    /* colours */
    --bg0:   #04050d;
    --bg1:   #090b18;
    --bg2:   #0e1228;
    --card:  rgba(12,15,38,0.78);
    --bdr:   rgba(100,80,220,0.14);
    --bdr2:  rgba(100,80,220,0.26);

    --vio:   #8b5cf6;
    --vio2:  #c4b5fd;
    --blu:   #3b82f6;
    --blu2:  #93c5fd;
    --yel:   #f59e0b;
    --yel2:  #fcd34d;
    --pnk:   #ec4899;
    --cyn:   #06b6d4;
    --grn:   #10b981;

    --txt:   #e4eaf8;
    --sub:   #94a3b8;
    --dim:   #4b5778;

    /* fonts */
    --f-head: 'Orbitron', monospace;
    --f-body: 'Inter', sans-serif;
    --f-code: 'JetBrains Mono', monospace;

    /* glow */
    --gv: rgba(139,92,246,.28);
    --gy: rgba(245,158,11,.2);
}

/* ─────────────────────────────
   RESET & BASE
───────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg0);
    color: var(--txt);
    font-family: var(--f-body);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
}

/* ─────────────────────────────
   BACKGROUNDS
───────────────────────────── */
#rain-canvas {
    position: fixed; inset: 0;
    pointer-events: none; z-index: 0; opacity: .38;
}

/* grain overlay */
body::before {
    content: ''; position: fixed; inset: 0;
    pointer-events: none; z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    opacity: .55;
}

/* cyberpunk grid */
body::after {
    content: ''; position: fixed; inset: 0;
    pointer-events: none; z-index: 1;
    background-image:
            linear-gradient(rgba(139,92,246,.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(139,92,246,.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.bg-blobs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.blob {
    position: absolute; border-radius: 50%;
    filter: blur(120px); opacity: .09;
    animation: blobDrift 22s ease-in-out infinite alternate;
}
.blob-1 { width: 600px; height: 600px; background: #5b21b6; top: -160px; left: -140px; animation-delay: 0s; }
.blob-2 { width: 460px; height: 460px; background: #1e3a8a; top: 40%; right: -120px; animation-delay: -8s; }
.blob-3 { width: 400px; height: 400px; background: #78350f; bottom: -100px; left: 28%; animation-delay: -16s; }

@keyframes blobDrift {
    from { transform: translate(0,0) scale(1); }
    to   { transform: translate(50px,40px) scale(1.12); }
}

/* ─────────────────────────────
   LAYOUT
───────────────────────────── */
.wrapper {
    position: relative; z-index: 2;
    max-width: 960px; margin: 0 auto; padding: 0 28px;
}
section { padding: 108px 0 68px; }

/* ─────────────────────────────
   NAVBAR
───────────────────────────── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    height: 60px; padding: 0 36px;
    background: rgba(4,5,13,.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--bdr);
    display: flex; align-items: center; justify-content: space-between;
}
nav::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: repeating-linear-gradient(
            0deg,
            rgba(0,0,0,.06) 0px, rgba(0,0,0,.06) 1px,
            transparent 1px, transparent 3px
    );
}
.nav-logo {
    font-family: var(--f-head);
    font-size: 1rem; font-weight: 800; letter-spacing: .28em;
    background: linear-gradient(90deg, var(--yel), var(--pnk));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    filter: drop-shadow(0 0 12px rgba(245,158,11,.4));
    position: relative; z-index: 1;
}
.nav-links { display: flex; gap: 28px; list-style: none; position: relative; z-index: 1; }
.nav-links a {
    font-family: var(--f-code);
    font-size: .7rem; font-weight: 500;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--sub); text-decoration: none;
    transition: color .25s, text-shadow .25s;
    position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
    height: 1px; background: var(--vio);
    transform: scaleX(0); transform-origin: left;
    transition: transform .25s;
}
.nav-links a:hover { color: var(--vio2); text-shadow: 0 0 12px var(--gv); }
.nav-links a:hover::after { transform: scaleX(1); }

#music-btn {
    font-family: var(--f-code);
    background: rgba(139,92,246,.09);
    border: 1px solid rgba(139,92,246,.22);
    color: var(--yel);
    width: 34px; height: 34px; border-radius: 50%;
    cursor: pointer; font-size: .78rem;
    display: flex; align-items: center; justify-content: center;
    transition: all .3s; position: relative; z-index: 1;
}
#music-btn:hover { background: rgba(139,92,246,.22); box-shadow: 0 0 16px var(--gv); }
#music-btn.playing { animation: musePulse 2s ease-in-out infinite; }

@keyframes musePulse {
    0%,100% { box-shadow: 0 0 6px var(--gy); }
    50%     { box-shadow: 0 0 22px var(--gy); }
}

/* ─────────────────────────────
   SCROLL REVEAL
───────────────────────────── */
.fade-in {
    opacity: 0; transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────
   SECTION LABELS
───────────────────────────── */
.sec-eyebrow {
    font-family: var(--f-code); font-size: .62rem; font-weight: 400;
    color: var(--vio); letter-spacing: .3em; text-transform: uppercase;
    margin-bottom: 8px; display: flex; align-items: center; gap: 10px;
}
.sec-eyebrow::before {
    content: ''; width: 24px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--vio));
}
.sec-title {
    font-family: var(--f-head);
    font-size: clamp(1.7rem, 4.5vw, 2.8rem);
    font-weight: 700; letter-spacing: .05em; line-height: 1.05;
    color: var(--txt); margin-bottom: 40px;
}
.sec-title .hl {
    background: linear-gradient(110deg, var(--yel), var(--yel2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ─────────────────────────────
   HERO
───────────────────────────── */
#hero { min-height: 100vh; display: flex; align-items: center; }
.hero-inner {
    display: flex; align-items: center;
    gap: 64px; flex-wrap: wrap;
    padding-top: 90px;
}
.hero-text { flex: 1; min-width: 280px; }

.hero-tag {
    font-family: var(--f-code); font-size: .62rem; font-weight: 400;
    color: var(--cyn); letter-spacing: .26em; text-transform: uppercase;
    margin-bottom: 14px;
    opacity: 0; animation: fadeUp .55s .25s forwards;
}
.hero-name {
    font-family: var(--f-head);
    font-size: clamp(3rem, 11.5vw, 7.8rem);
    font-weight: 900; letter-spacing: .04em; line-height: .9;
    color: var(--txt);
    text-shadow: 0 0 60px rgba(139,92,246,.15);
    opacity: 0; animation: fadeUp .7s .45s forwards;
}
.hero-name .line1 { display: block; }
.hero-name .line2 {
    display: block;
    background: linear-gradient(115deg, var(--yel) 0%, var(--pnk) 50%, var(--vio) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    filter: drop-shadow(0 2px 20px rgba(245,158,11,.25));
}
.hero-sub {
    font-family: var(--f-body); font-size: 1rem; font-weight: 400;
    letter-spacing: .01em; color: var(--sub);
    margin-top: 20px; min-height: 1.75em;
    opacity: 0; animation: fadeUp .7s .7s forwards;
}
.cursor {
    display: inline-block; width: 2px; height: .85em;
    background: var(--vio); margin-left: 2px;
    vertical-align: text-bottom;
    animation: blink .85s step-end infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

.hero-cta {
    margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap;
    opacity: 0; animation: fadeUp .7s .95s forwards;
}
.btn {
    font-family: var(--f-code); font-size: .7rem; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase;
    padding: 12px 28px; border-radius: 6px;
    text-decoration: none; border: none; cursor: pointer;
    transition: all .3s; position: relative; overflow: hidden;
}
.btn::before {
    content: ''; position: absolute; inset: -1px; border-radius: inherit;
    background: inherit; filter: blur(8px); opacity: 0;
    transition: opacity .3s; z-index: -1;
}
.btn:hover::before { opacity: .6; }
.btn-primary {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    color: #fff; box-shadow: 0 4px 24px rgba(124,58,237,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(124,58,237,.55); }
.btn-ghost {
    background: transparent; color: var(--yel2);
    border: 1px solid rgba(252,211,77,.3);
    box-shadow: inset 0 0 0 0 rgba(252,211,77,.08);
}
.btn-ghost:hover {
    background: rgba(252,211,77,.07);
    border-color: rgba(252,211,77,.6);
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(252,211,77,.18);
}

/* avatar */
.hero-avatar { flex-shrink: 0; opacity: 0; animation: fadeUp .8s .55s forwards; }
.avatar-wrap { position: relative; width: 230px; height: 230px; }
.avatar-ring {
    position: absolute; inset: -4px; border-radius: 50%;
    background: conic-gradient(from 0deg, var(--vio), var(--cyn), var(--yel), var(--pnk), var(--vio));
    animation: spin 9s linear infinite;
    filter: blur(1px);
}
.avatar-ring-inner {
    position: absolute; inset: 3px; border-radius: 50%;
    background: var(--bg0);
}
.avatar-img {
    position: absolute; inset: 6px; border-radius: 50%;
    object-fit: cover; z-index: 2;
    filter: saturate(.75) brightness(.88) contrast(1.05);
    width: calc(100% - 12px); height: calc(100% - 12px);
}
.avatar-glow {
    position: absolute; inset: -20px; border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,.18) 0%, transparent 70%);
    animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
    0%,100% { opacity: .6; transform: scale(1); }
    50%     { opacity: 1; transform: scale(1.08); }
}
.avatar-badge {
    position: absolute; bottom: 14px; right: 4px;
    width: 40px; height: 40px;
    background: rgba(9,11,24,.9); border: 1px solid var(--bdr2);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem; z-index: 10;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 4px 16px rgba(0,0,0,.5);
}

@keyframes float   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes fadeUp  { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

/* ─────────────────────────────
   ABOUT
───────────────────────────── */
.glass {
    background: var(--card);
    border: 1px solid var(--bdr); border-radius: 18px;
    padding: 38px 42px;
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    position: relative; overflow: hidden;
}
.glass::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--vio) 30%, var(--cyn) 70%, transparent 100%);
}
.glass::after {
    content: ''; position: absolute; top: 0; right: 0;
    width: 60px; height: 60px;
    border-top: 1px solid rgba(139,92,246,.3);
    border-right: 1px solid rgba(139,92,246,.3);
    border-radius: 0 18px 0 0;
    pointer-events: none;
}
.about-text {
    font-family: var(--f-body); font-size: 1rem; font-weight: 400;
    color: var(--sub); line-height: 1.9;
}
.about-text strong { color: var(--yel2); font-weight: 600; }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.stat-chip {
    background: rgba(255,255,255,.025);
    border: 1px solid var(--bdr); border-radius: 12px;
    padding: 14px 18px; display: flex; align-items: center; gap: 12px;
    transition: border-color .3s, background .3s;
}
.stat-chip:hover { border-color: var(--bdr2); background: rgba(139,92,246,.06); }
.stat-icon { font-size: 1.1rem; flex-shrink: 0; }
.stat-label {
    font-family: var(--f-code); font-size: .58rem;
    color: var(--dim); letter-spacing: .1em; text-transform: uppercase;
}
.stat-val { font-family: var(--f-body); font-size: .88rem; font-weight: 600; color: var(--txt); margin-top: 3px; }

/* ─────────────────────────────
   SKILLS
───────────────────────────── */
.skills-shell {
    background: var(--card);
    border: 1px solid var(--bdr); border-radius: 20px;
    padding: 42px 46px;
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    position: relative; overflow: hidden;
}
.skills-shell::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyn) 50%, transparent);
}
.skill-group-hd {
    font-family: var(--f-code); font-size: .6rem; font-weight: 600;
    letter-spacing: .26em; text-transform: uppercase; color: var(--cyn);
    display: flex; align-items: center; gap: 12px;
    margin: 32px 0 20px;
}
.skill-group-hd:first-child { margin-top: 0; }
.skill-group-hd::after {
    content: ''; flex: 1; height: 1px;
    background: linear-gradient(90deg, var(--bdr), transparent);
}
.s-row {
    display: grid;
    grid-template-columns: 160px 1fr 44px;
    align-items: center; gap: 16px;
    margin-bottom: 18px;
}
.s-row:last-child { margin-bottom: 0; }
.s-label {
    font-family: var(--f-code); font-size: .76rem; font-weight: 500;
    color: var(--txt); letter-spacing: .03em;
    white-space: nowrap; cursor: default; position: relative;
}
.s-label[data-tip]:hover::after {
    content: attr(data-tip);
    position: absolute; left: 0; bottom: calc(100% + 9px);
    background: rgba(9,11,24,.97); border: 1px solid var(--bdr2);
    color: var(--sub); font-size: .62rem; font-family: var(--f-code);
    padding: 5px 12px; border-radius: 7px; white-space: nowrap;
    pointer-events: none; z-index: 40;
    box-shadow: 0 4px 16px rgba(0,0,0,.4);
}
.s-track {
    height: 5px; border-radius: 999px;
    background: rgba(255,255,255,.05);
    overflow: visible; position: relative;
}
.s-track::before {
    content: ''; position: absolute; inset: 0; border-radius: 999px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.04) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 2.5s ease-in-out infinite;
}
@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.s-fill {
    height: 100%; border-radius: 999px; width: 0%;
    transition: width 1.3s cubic-bezier(.34,1.2,.64,1);
    position: relative;
}
.s-fill::after {
    content: ''; position: absolute; right: -1px; top: -3px; bottom: -3px;
    width: 14px; border-radius: 50%;
    background: rgba(255,255,255,.7);
    filter: blur(4px);
}
/* bar gradients */
.c-ts  { background: linear-gradient(90deg, #4f46e5, #818cf8); }
.c-kt  { background: linear-gradient(90deg, #b45309, #fbbf24); }
.c-py  { background: linear-gradient(90deg, #065f46, #34d399); }
.c-c   { background: linear-gradient(90deg, #831843, #f472b6); }
.c-asm { background: linear-gradient(90deg, #1f2937, #6b7280); }
.c-lin { background: linear-gradient(90deg, #0c4a6e, #38bdf8); }
.c-web { background: linear-gradient(90deg, #1e40af, #60a5fa); }

.s-pct {
    font-family: var(--f-code); font-size: .7rem; font-weight: 500;
    color: var(--dim); text-align: right;
}

/* ─────────────────────────────
   SIDE JOBS
───────────────────────────── */
.jobs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px,1fr)); gap: 20px; }
.job-card {
    background: var(--card); border: 1px solid var(--bdr);
    border-radius: 18px; padding: 30px 28px;
    backdrop-filter: blur(18px);
    position: relative; overflow: hidden;
    transition: transform .3s, border-color .3s, box-shadow .3s;
    cursor: default;
}
.job-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at top left, var(--jc-glow, rgba(139,92,246,.06)) 0%, transparent 60%);
    pointer-events: none;
}
.job-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
    background: var(--jc, linear-gradient(90deg,#7c3aed,#a78bfa));
    transform: scaleX(0); transform-origin: left;
    transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.job-card:hover { transform: translateY(-6px); border-color: var(--bdr2); box-shadow: 0 20px 50px rgba(0,0,0,.36); }
.job-card:hover::after { transform: scaleX(1); }
.job-icon { font-size: 2rem; margin-bottom: 16px; display: inline-block; filter: drop-shadow(0 0 10px rgba(139,92,246,.3)); }
.job-title {
    font-family: var(--f-head); font-size: 1rem; font-weight: 700;
    letter-spacing: .08em; color: var(--txt); margin-bottom: 10px; line-height: 1.2;
}
.job-desc { font-family: var(--f-body); font-size: .9rem; font-weight: 400; color: var(--sub); line-height: 1.76; margin-bottom: 18px; }
.chips { display: flex; gap: 7px; flex-wrap: wrap; }
.chip {
    font-family: var(--f-code); font-size: .58rem; font-weight: 500;
    padding: 3px 10px; border-radius: 4px; border: 1px solid; letter-spacing: .06em;
}
.ch-b { background: rgba(59,130,246,.08); color: var(--blu2); border-color: rgba(59,130,246,.2); }
.ch-o { background: rgba(245,158,11,.08); color: #fbbf24; border-color: rgba(245,158,11,.2); }
.ch-p { background: rgba(236,72,153,.08); color: #f9a8d4; border-color: rgba(236,72,153,.2); }
.ch-g { background: rgba(16,185,129,.08); color: #6ee7b7; border-color: rgba(16,185,129,.2); }

/* ─────────────────────────────
   PROJECTS
───────────────────────────── */
.proj-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px,1fr)); gap: 22px; }
.proj-card {
    background: var(--card); border: 1px solid var(--bdr);
    border-radius: 18px; padding: 30px 28px;
    backdrop-filter: blur(18px);
    position: relative; overflow: hidden;
    transition: transform .32s, border-color .32s, box-shadow .32s;
    cursor: default;
}
.proj-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--pa, linear-gradient(90deg,#7c3aed,#60a5fa));
    opacity: 0; transition: opacity .32s;
}
.proj-card:hover { transform: translateY(-7px); border-color: var(--bdr2); box-shadow: 0 24px 56px rgba(0,0,0,.42); }
.proj-card:hover::before { opacity: 1; }
.proj-icon { font-size: 1.9rem; margin-bottom: 14px; display: inline-block; animation: float 3.8s ease-in-out infinite; }
.proj-title {
    font-family: var(--f-head); font-size: .96rem; font-weight: 700;
    letter-spacing: .07em; color: var(--txt); margin-bottom: 10px;
}
.proj-desc { font-family: var(--f-body); font-size: .88rem; font-weight: 400; color: var(--sub); line-height: 1.78; margin-bottom: 18px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
    font-family: var(--f-code); font-size: .6rem; font-weight: 500;
    padding: 3px 9px; border-radius: 4px; letter-spacing: .06em;
    background: rgba(139,92,246,.08); color: var(--vio2);
    border: 1px solid rgba(139,92,246,.18);
}
.proj-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 16px;
    font-family: var(--f-code); font-size: .66rem; font-weight: 500;
    color: var(--vio2); text-decoration: none; letter-spacing: .05em;
    border: 1px solid rgba(139,92,246,.22);
    padding: 6px 13px; border-radius: 6px;
    background: rgba(139,92,246,.06);
    transition: all .25s;
}
.proj-link:hover {
    background: rgba(139,92,246,.16);
    border-color: rgba(139,92,246,.5);
    box-shadow: 0 0 14px rgba(139,92,246,.2);
    transform: translateX(3px);
}

/* ─────────────────────────────
   CONTACT
───────────────────────────── */
#contact { text-align: center; padding-bottom: 80px; }
.contact-shell {
    background: var(--card); border: 1px solid var(--bdr);
    border-radius: 24px; padding: 58px 44px;
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    position: relative; overflow: hidden;
}
.contact-shell::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--pnk) 40%, var(--vio) 60%, transparent);
}
.contact-shell::after {
    content: ''; position: absolute; bottom: -80px; right: -80px;
    width: 240px; height: 240px; border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,.12), transparent 70%);
}
.contact-desc {
    font-family: var(--f-body); font-size: .98rem; font-weight: 400;
    color: var(--sub); margin-bottom: 36px;
    max-width: 460px; margin-left: auto; margin-right: auto;
    line-height: 1.8;
}
.socials { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 38px; }
.soc-link {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 20px;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--bdr); border-radius: 8px;
    color: var(--sub); text-decoration: none;
    font-family: var(--f-code); font-size: .7rem; font-weight: 500;
    letter-spacing: .06em;
    transition: all .28s;
}
.soc-link:hover {
    background: rgba(139,92,246,.1); color: var(--vio2);
    border-color: rgba(139,92,246,.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(139,92,246,.15);
}
.footer-note {
    font-family: var(--f-code); font-size: .62rem; font-weight: 300;
    color: rgba(75,87,120,.5); letter-spacing: .12em;
    margin-top: 32px;
}
.footer-note span { color: var(--vio); }

/* ─────────────────────────────
   SCROLLBAR
───────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg0); }
::-webkit-scrollbar-thumb { background: rgba(139,92,246,.3); border-radius: 2px; }

/* ─────────────────────────────
   RESPONSIVE
───────────────────────────── */
@media (max-width: 700px) {
    .hero-inner { flex-direction: column-reverse; text-align: center; gap: 30px; padding-top: 80px; }
    .hero-cta { justify-content: center; }
    .avatar-wrap { width: 170px; height: 170px; }
    .stat-grid { grid-template-columns: 1fr; }
    nav { padding: 0 14px; }
    .nav-links { gap: 12px; }
    .nav-links a { font-size: .62rem; }
    .glass, .contact-shell, .skills-shell { padding: 22px 16px; }
    .s-row { grid-template-columns: 110px 1fr 38px; gap: 10px; }
    .s-label { font-size: .68rem; }
}