/* ================================================
   NYANTAKYI FRANCIS — PORTFOLIO
   Aesthetic: Refined Editorial Dark
   Fonts: DM Sans (body) + DM Mono (accents)
   ================================================ */

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

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

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

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

ul {
    list-style: none;
}

button {
    border: none;
    cursor: pointer;
    background: none;
}

/* ── Tokens ──────────────────────────────────────── */
:root {
    /* Base palette */
    --bg: #080c12;
    --bg-2: #0e1420;
    --bg-3: #131b2a;
    --surface: #161f30;
    --surface-2: #1c2840;
    --border: rgba(255, 255, 255, 0.07);
    --border-hi: rgba(110, 231, 247, 0.25);

    /* Accent — electric cyan */
    --accent: #6ee7f7;
    --accent-dim: rgba(110, 231, 247, 0.12);
    --accent-glow: rgba(110, 231, 247, 0.18);

    /* Text — all verified ≥4.5:1 on darkest bg (#080c12) */
    --text-1: #f0f4f8;
    /* 17.8:1 */
    --text-2: #a8b8d0;
    /* 7.2:1  — raised from #8a9ab5 */
    --text-3: #7a8fa8;
    /* 4.6:1  — raised from #536070 */

    /* Semantic */
    --wip: #fbbf4a;
    /* 5.1:1 on dark bg — raised from #f5a623 */
    --wip-bg: rgba(251, 191, 74, 0.10);
    --green: #34d399;

    /* Type */
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'DM Mono', monospace;

    /* Spacing scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

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

    /* Layout */
    --max-w: 1140px;
    --nav-h: 64px;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
}

/* ── Base ─────────────────────────────────────────── */
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-1);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ── Grain overlay ──────────────────────────────── */
.grain {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 256px 256px;
}

/* ── Ambient orbs ───────────────────────────────── */
.bg-orbs {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    animation: orb-fade 2s var(--ease) forwards;
}

@keyframes orb-fade {
    to {
        opacity: 1;
    }
}

.orb-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -100px;
    background: radial-gradient(circle, rgba(110, 231, 247, 0.07) 0%, transparent 70%);
    animation-delay: 0.2s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    top: 30%;
    right: -150px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
    animation-delay: 0.5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    bottom: 10%;
    left: 30%;
    background: radial-gradient(circle, rgba(110, 231, 247, 0.04) 0%, transparent 70%);
    animation-delay: 0.8s;
}

/* ── Layout ─────────────────────────────────────── */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    position: relative;
    z-index: 1;
}

/* ── Screen reader only ─────────────────────────── */
.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;
}

/* ── Selection ──────────────────────────────────── */
::selection {
    background: var(--accent);
    color: var(--bg);
}

/* ── Icons ──────────────────────────────────────── */
.icon-xs {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.icon-sm {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ======================================================
   NAVIGATION
====================================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 100;
    transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    background: rgba(8, 12, 18, 0.85);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom-color: var(--border);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.nav-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--accent);
}

.nav-name {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-2);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.nav-link:hover {
    color: var(--text-1);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--accent);
}

.nav-resume {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    border: 1px solid var(--border-hi);
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-sm);
    transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.nav-resume:hover {
    background: var(--accent-dim);
    box-shadow: 0 0 16px var(--accent-glow);
}

/* Burger */
.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 101;
}

.nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-1);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
    transform-origin: center;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ======================================================
   HERO
====================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + var(--space-2xl)) 0 var(--space-3xl);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-2xl);
    align-items: center;
    margin-bottom: var(--space-3xl);
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.hero-name {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1.0;
    letter-spacing: -0.02em;
    color: var(--text-1);
    margin-bottom: var(--space-lg);
}

.hero-name em {
    font-style: italic;
    color: var(--accent);
    font-weight: 300;
}

.hero-bio {
    font-size: 1.0625rem;
    color: var(--text-2);
    max-width: 46ch;
    line-height: 1.75;
    margin-bottom: var(--space-xl);
}

.hero-bio strong {
    color: var(--text-1);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Avatar */
.hero-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    position: relative;
}

.avatar-ring {
    position: relative;
    width: 260px;
    height: 260px;
    flex-shrink: 0;
}

.avatar-ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--accent), transparent 40%, var(--accent) 70%, transparent);
    animation: spin 6s linear infinite;
    opacity: 0.7;
}

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

.avatar-ring::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    background: var(--bg);
}

.avatar-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-2);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 0.35rem 0.875rem;
    border-radius: 999px;
}

/* Stats row — uses dl/dt/dd for semantic key-value pairs */
.stats-row {
    display: flex;
    align-items: center;
    gap: 0;
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.stat {
    flex: 1;
    min-width: 130px;
    text-align: center;
    padding: var(--space-md);
}

.stat dt {
    order: 2;
}

.stat dd {
    order: 1;
}

.stat-num {
    display: block;
    font-size: 2.25rem;
    font-weight: 300;
    color: var(--accent);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-unit {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-3);
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: var(--space-xs);
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
    flex-shrink: 0;
}

/* ======================================================
   BUTTONS
====================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-sm);
    transition: all var(--dur) var(--ease);
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: #fff;
    border-color: #fff;
    box-shadow: 0 0 24px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-1);
    border-color: var(--border);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border-color: var(--border-hi);
}

.btn-outline:hover {
    background: var(--accent-dim);
    box-shadow: 0 0 16px var(--accent-glow);
    transform: translateY(-2px);
}

.mt-md {
    margin-top: var(--space-lg);
}

/* ======================================================
   SECTIONS
====================================================== */
.section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.section-dark {
    background: var(--bg-2);
}

.section-header {
    margin-bottom: var(--space-2xl);
}

.section-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 300;
    color: var(--text-1);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

/* ======================================================
   ABOUT
====================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.about-bio {
    color: var(--text-2);
    font-size: 1.0625rem;
    line-height: 1.8;
}

.about-bio p+p {
    margin-top: var(--space-md);
}

.about-bio strong {
    color: var(--text-1);
    font-weight: 500;
}

.edu-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.edu-card {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-lg);
    transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
    animation-delay: var(--delay, 0s);
}

.edu-card:hover {
    border-color: var(--border-hi);
    transform: translateX(4px);
}

.edu-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: var(--accent-dim);
    border: 1px solid var(--border-hi);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.edu-icon svg {
    width: 18px;
    height: 18px;
}

.edu-degree {
    font-size: 0.975rem;
    font-weight: 500;
    color: var(--text-1);
    margin-bottom: 4px;
}

.edu-school {
    font-size: 0.85rem;
    color: var(--accent);
    font-family: var(--font-mono);
    margin-bottom: 8px;
}

.edu-detail {
    font-size: 0.8rem;
    color: var(--text-3);
    line-height: 1.6;
}

/* ======================================================
   PROJECTS
====================================================== */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.project-item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
    border-bottom: 1px solid var(--border);
    transition: background var(--dur) var(--ease);
    position: relative;
}

.project-item::before {
    content: '';
    position: absolute;
    left: -24px;
    right: -24px;
    top: 0;
    bottom: 0;
    background: var(--accent-dim);
    border-radius: var(--radius);
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
    pointer-events: none;
}

.project-item:hover::before {
    opacity: 1;
}

.project-item:first-child {
    border-top: 1px solid var(--border);
}

.project-meta {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding-top: 4px;
}

.project-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-3);
    letter-spacing: 0.08em;
}

.project-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-3);
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 3px 8px;
    border-radius: 4px;
    width: fit-content;
    letter-spacing: 0.04em;
}

.tag-wip {
    color: var(--wip);
    background: var(--wip-bg);
    border-color: rgba(245, 166, 35, 0.2);
}

.project-name {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-1);
    letter-spacing: -0.01em;
    margin-bottom: var(--space-sm);
    transition: color var(--dur) var(--ease);
}

.project-item:hover .project-name {
    color: var(--accent);
}

.project-desc {
    font-size: 0.9375rem;
    color: var(--text-2);
    line-height: 1.75;
    max-width: 60ch;
    margin-bottom: var(--space-lg);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    transition: gap var(--dur) var(--ease);
}

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

.project-link--disabled {
    color: var(--text-3);
    cursor: not-allowed;
}

/* ======================================================
   SKILLS
====================================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.skill-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-xl);
    transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    animation-delay: var(--delay, 0s);
}

.skill-card:hover {
    border-color: var(--border-hi);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(110, 231, 247, 0.06);
}

.skill-card-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-dim);
    border: 1px solid var(--border-hi);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: var(--space-lg);
}

.skill-card-icon svg {
    width: 20px;
    height: 20px;
}

.skill-card-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-1);
    margin-bottom: var(--space-md);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    list-style: none;
    padding: 0;
    margin: 0;
}

.tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-2);
    background: var(--bg-3);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.03em;
    transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.tag:hover {
    color: var(--accent);
    border-color: var(--border-hi);
}

/* ======================================================
   CONTACT
====================================================== */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.contact-sub {
    font-size: 1rem;
    color: var(--text-2);
    margin-top: var(--space-md);
    line-height: 1.75;
    max-width: 42ch;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-md) var(--space-lg);
    transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
    color: var(--text-1);
}

.contact-btn svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--accent);
}

.contact-btn span {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-btn small {
    font-size: 0.7rem;
    color: var(--text-3);
    font-family: var(--font-mono);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.contact-btn:hover {
    border-color: var(--border-hi);
    background: var(--surface-2);
    transform: translateX(4px);
}

.contact-btn--wa svg {
    color: #25d366;
}

.contact-btn--wa:hover {
    border-color: rgba(37, 211, 102, 0.3);
}

.contact-btn--li svg {
    color: #0a66c2;
}

.contact-btn--li:hover {
    border-color: rgba(10, 102, 194, 0.3);
}

/* ======================================================
   FOOTER
====================================================== */
.footer {
    border-top: 1px solid var(--border);
    padding: var(--space-xl) 0;
    position: relative;
    z-index: 1;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-3);
    font-family: var(--font-mono);
}

.footer-links {
    display: flex;
    gap: var(--space-md);
}

.footer-links a {
    color: var(--text-3);
    transition: color var(--dur) var(--ease);
    display: flex;
    align-items: center;
}

.footer-links a svg {
    width: 18px;
    height: 18px;
}

.footer-links a:hover {
    color: var(--accent);
}

/* ======================================================
   BACK TO TOP
====================================================== */
.back-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: all var(--dur) var(--ease);
    z-index: 99;
    cursor: pointer;
}

.back-top svg {
    width: 18px;
    height: 18px;
}

.back-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-top:hover {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* ======================================================
   REVEAL ANIMATIONS (GSAP targets)
====================================================== */
.reveal-up,
.reveal-right {
    opacity: 0;
}

/* ======================================================
   RESPONSIVE
====================================================== */
@media (max-width: 960px) {
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-bio {
        margin: 0 auto var(--space-xl);
    }

    .hero-actions {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrap {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        inset: var(--nav-h) 0 0 0;
        flex-direction: column;
        align-items: stretch;
        background: rgba(8, 12, 18, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: var(--space-xl) var(--space-lg);
        gap: var(--space-sm);
        transform: translateX(100%);
        transition: transform 0.3s var(--ease);
        z-index: 100;
        overflow-y: auto;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-link,
    .nav-resume {
        display: block;
        padding: 1rem;
        font-size: 1rem;
        border-radius: var(--radius-sm);
        text-align: center;
    }

    .nav-burger {
        display: flex;
    }

    .project-item {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .project-meta {
        flex-direction: row;
        align-items: center;
    }

    .stats-row {
        gap: var(--space-sm);
    }

    .stat-divider {
        display: none;
    }

    .stat {
        min-width: 45%;
    }

    .avatar-ring {
        width: 200px;
        height: 200px;
    }

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

@media (max-width: 480px) {
    :root {
        --space-lg: 1.25rem;
        --space-xl: 2rem;
    }

    .hero-name {
        font-size: 2.5rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stat {
        min-width: 100%;
    }
}

/* ======================================================
   SCROLLBAR (webkit)
====================================================== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--surface-2);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-hi);
}