/* ============================================
   dhany.dev — Premium Portfolio v2
   Dark theme, glassmorphism, animations
   ============================================ */

:root {
    --bg: #050507;
    --bg-alt: #0a0a0f;
    --surface: rgba(24, 24, 30, 0.8);
    --surface-solid: #18181e;
    --surface-hover: rgba(30, 30, 38, 0.9);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --text: #f0f0f5;
    --text-secondary: #b0b0c0;
    --text-muted: #8e8e9f;
    --accent: #a78bfa;
    --accent-hover: #8b5cf6;
    --accent-dim: rgba(167, 139, 250, 0.1);
    --accent-glow: rgba(139, 92, 246, 0.2);
    --accent-glow-strong: rgba(139, 92, 246, 0.4);
    --blue: #60a5fa;
    --green: #34d399;
    --pink: #f472b6;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'JetBrains Mono', 'Fira Code', monospace;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --max-w: 1100px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
strong { color: var(--text); font-weight: 600; }

/* ---- Skip Link ---- */
.skip-link {
    position: absolute; top: -50px; left: 16px; z-index: 999;
    background: var(--accent); color: #fff; padding: 10px 20px;
    border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500;
    transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

/* ---- Focus ---- */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: var(--radius-xs);
}

/* ---- Scroll Progress Bar ---- */
.scroll-progress {
    position: fixed; top: 0; left: 0; z-index: 200;
    height: 3px; width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--pink), var(--blue));
    transition: width 0.1s linear;
}

/* ---- Cursor Glow ---- */
.cursor-glow {
    position: fixed; z-index: 0;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}
.cursor-glow.active { opacity: 1; }

/* ---- Particle Canvas ---- */
#particles {
    position: fixed; inset: 0; z-index: 0;
    pointer-events: none;
}

/* ---- Container ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(5, 5, 7, 0.6);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), background var(--transition);
}
.nav.scrolled {
    border-bottom-color: var(--border);
    background: rgba(5, 5, 7, 0.85);
}
.nav-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
}
.nav-logo {
    font-weight: 700; font-size: 1.15rem;
    font-family: var(--mono); letter-spacing: -0.5px;
}
.nav-logo-bracket { color: var(--text-muted); font-weight: 400; }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
    font-size: 0.9rem; color: var(--text-muted);
    transition: color var(--transition); position: relative;
    font-weight: 500; letter-spacing: 0.3px;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -6px; left: 0;
    width: 0; height: 2px; background: var(--accent);
    border-radius: 1px; transition: width var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 6px;
}
.nav-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
    transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
    display: none; flex-direction: column;
    padding: 12px 24px 24px; gap: 12px;
    border-top: 1px solid var(--border);
    background: rgba(5, 5, 7, 0.95);
    backdrop-filter: blur(24px);
}
.nav-mobile a {
    color: var(--text-secondary); font-size: 1.05rem;
    font-weight: 500; padding: 8px 0;
    transition: color var(--transition), padding-left var(--transition);
}
.nav-mobile a:hover { color: var(--accent); padding-left: 8px; }

.accent { color: var(--accent); }

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; padding: 120px 24px 80px;
    position: relative; z-index: 1;
}
.hero-content { max-width: 700px; }

/* Status badge */
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px; border-radius: 50px;
    background: var(--surface); border: 1px solid var(--border);
    font-size: 0.8rem; color: var(--text-secondary);
    font-weight: 500; letter-spacing: 0.5px;
    margin-bottom: 32px;
}
.status-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.5);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 5px rgba(52, 211, 153, 0.3); }
    50% { box-shadow: 0 0 15px rgba(52, 211, 153, 0.6); }
}

/* Avatar */
.hero-avatar-wrapper {
    position: relative; width: 140px; height: 140px;
    margin: 0 auto 32px;
}
.hero-avatar {
    width: 140px; height: 140px; border-radius: 50%;
    object-fit: cover; position: relative; z-index: 2;
    border: 3px solid var(--bg);
}
.hero-avatar-ring {
    position: absolute; inset: -4px; border-radius: 50%;
    background: conic-gradient(var(--accent), var(--blue), var(--pink), var(--accent));
    z-index: 1; animation: ring-spin 6s linear infinite;
}
.hero-avatar-ring-outer {
    position: absolute; inset: -12px; border-radius: 50%;
    border: 1px solid var(--accent-dim);
    z-index: 0; animation: ring-spin-rev 8s linear infinite;
}
@keyframes ring-spin { to { transform: rotate(360deg); } }
@keyframes ring-spin-rev { to { transform: rotate(-360deg); } }

.hero-greeting {
    font-size: 0.95rem; color: var(--text-muted);
    letter-spacing: 3px; text-transform: uppercase;
    margin-bottom: 8px; font-weight: 500;
}

.hero-name {
    font-size: clamp(2.4rem, 7vw, 4rem);
    font-weight: 800; letter-spacing: -2px;
    line-height: 1.1; margin-bottom: 20px;
}
.hero-name-line { display: block; }
.hero-name-gradient {
    display: block;
    background: linear-gradient(135deg, var(--accent) 0%, var(--pink) 50%, var(--blue) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
}
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-tagline {
    font-family: var(--mono); font-size: 1rem;
    color: var(--accent); margin-bottom: 24px;
    min-height: 1.6em; display: flex;
    justify-content: center; align-items: center; gap: 0;
}
.tagline-prefix { color: var(--text-muted); }
.tagline-cursor {
    animation: blink 0.8s step-end infinite;
    color: var(--accent); font-size: 0.9em;
    margin-left: 1px;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-desc {
    font-size: 1.15rem; color: var(--text-secondary);
    margin-bottom: 36px; line-height: 1.8;
}

.hero-cta { display: flex; gap: 16px; justify-content: center; margin-bottom: 36px; flex-wrap: wrap; }

.hero-social { display: flex; gap: 12px; justify-content: center; }
.social-link {
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    border-radius: 12px; border: 1px solid var(--border); color: var(--text-muted);
    background: var(--surface);
    transition: all var(--transition);
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover {
    color: var(--accent); border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scroll-line-pulse 2s ease-in-out infinite;
}
@keyframes scroll-line-pulse {
    0%, 100% { opacity: 1; height: 40px; }
    50% { opacity: 0.3; height: 50px; }
}
.scroll-label {
    font-size: 0.7rem; color: #a0a0b0;
    letter-spacing: 3px; text-transform: uppercase;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 30px; border-radius: var(--radius-sm);
    font-size: 0.95rem; font-weight: 600;
    transition: all var(--transition);
    cursor: pointer; border: none; position: relative;
    overflow: hidden;
}
.btn-arrow {
    width: 18px; height: 18px;
    transition: transform var(--transition);
}
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-primary {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0; transition: opacity var(--transition);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow-strong);
}
.btn-primary:hover::before { opacity: 1; }
.btn-outline {
    background: var(--surface); color: var(--text-secondary);
    border: 1px solid var(--border);
}
.btn-outline:hover {
    color: var(--text); border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 120px 0; position: relative; z-index: 1; }
.section-alt {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-number {
    display: inline-block; font-family: var(--mono);
    font-size: 0.85rem; color: var(--accent);
    font-weight: 600; margin-bottom: 12px;
    padding: 4px 14px; border-radius: 20px;
    border: 1px solid var(--accent-dim);
    background: var(--accent-dim);
}
.section-title {
    font-size: clamp(2rem, 4.5vw, 2.8rem); font-weight: 800;
    letter-spacing: -1.5px; margin-bottom: 16px;
}
.section-line {
    width: 60px; height: 3px; margin: 0 auto 16px;
    background: linear-gradient(90deg, var(--accent), var(--blue));
    border-radius: 2px;
}
.section-subtitle {
    color: var(--text-secondary); font-size: 1.1rem;
    max-width: 500px; margin: 0 auto;
}

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 56px; align-items: start;
}
.about-text p {
    color: var(--text-secondary); margin-bottom: 20px;
    font-size: 1.05rem; line-height: 1.8;
}
.about-text p:last-child { margin-bottom: 0; }
.about-stats {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.stat-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px 20px; text-align: center;
    transition: all var(--transition);
    position: relative; overflow: hidden;
}
.stat-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--accent-glow), transparent);
    opacity: 0; transition: opacity var(--transition);
}
.stat-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.stat-card:hover::before { opacity: 1; }
.stat-icon { font-size: 1.4rem; margin-bottom: 8px; position: relative; z-index: 1; }
.stat-number {
    display: block; font-size: 2.2rem; font-weight: 800;
    color: var(--accent); font-family: var(--mono);
    position: relative; z-index: 1;
}
.stat-label {
    display: block; font-size: 0.8rem; color: var(--text-muted);
    margin-top: 4px; text-transform: uppercase; letter-spacing: 1.5px;
    font-weight: 600; position: relative; z-index: 1;
}

/* ============================================
   PROJECTS
   ============================================ */
.projects-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 20px;
}
.project-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 32px;
    transition: all var(--transition-slow);
    position: relative; overflow: hidden;
}
.project-card-glow {
    position: absolute; inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--accent-glow) 0%, transparent 60%);
    opacity: 0; transition: opacity var(--transition);
    pointer-events: none;
}
.project-card:hover .project-card-glow { opacity: 1; }
.project-card:hover {
    border-color: rgba(167, 139, 250, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px var(--accent-glow);
}
.project-card[data-featured] {
    border-color: rgba(167, 139, 250, 0.2);
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.03), transparent);
}
.project-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 18px;
}
.project-icon { width: 42px; height: 42px; color: var(--accent); }
.project-links { display: flex; gap: 10px; }
.project-links a {
    width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); border-radius: var(--radius-xs);
    transition: all var(--transition);
}
.project-links a svg { width: 18px; height: 18px; }
.project-links a:hover {
    color: var(--accent); background: var(--accent-dim);
    transform: translateY(-2px);
}
.project-title {
    font-size: 1.2rem; font-weight: 700;
    margin-bottom: 10px; font-family: var(--mono);
}
.project-title a { transition: color var(--transition); }
.project-title a:hover { color: var(--accent); }
.project-desc {
    color: var(--text-secondary); font-size: 0.9rem;
    margin-bottom: 18px; line-height: 1.7;
}
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.project-tags span {
    font-size: 0.72rem; color: #a0a0b0; font-family: var(--mono);
    padding: 5px 12px; background: rgba(167, 139, 250, 0.06);
    border-radius: 20px; border: 1px solid rgba(167, 139, 250, 0.1);
    font-weight: 500; transition: all var(--transition);
}
.project-card:hover .project-tags span {
    border-color: rgba(167, 139, 250, 0.2);
    background: rgba(167, 139, 250, 0.1);
}
.project-meta {
    display: flex; align-items: center; gap: 12px;
    margin-top: 14px;
}
.project-stars { font-size: 0.8rem; color: var(--text-muted); }
.featured-badge {
    font-size: 0.65rem; font-weight: 700;
    color: var(--accent); text-transform: uppercase;
    letter-spacing: 1.5px; padding: 3px 10px;
    border: 1px solid var(--accent-dim);
    border-radius: 20px; background: var(--accent-dim);
}
.projects-more { text-align: center; margin-top: 48px; }

/* ============================================
   SKILLS
   ============================================ */
.skills-grid {
    display: flex; flex-wrap: wrap; gap: 20px;
    justify-content: center;
}
.skill-category {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px;
    width: 240px; flex-shrink: 0;
    transition: all var(--transition);
    position: relative; overflow: hidden;
}
.skill-category::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 2px; background: linear-gradient(90deg, var(--accent), var(--blue));
    opacity: 0; transition: opacity var(--transition);
}
.skill-category:hover { border-color: var(--accent); }
.skill-category:hover::before { opacity: 1; }
.skill-cat-icon { font-size: 1.6rem; margin-bottom: 12px; }
.skill-cat-title {
    font-size: 0.8rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 18px; font-weight: 700;
}
.skill-items { display: flex; flex-direction: column; gap: 14px; }
.skill-item {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.9rem; color: var(--text-secondary);
    font-weight: 500;
}
.skill-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--dot-color); flex-shrink: 0;
    box-shadow: 0 0 8px var(--dot-color);
}
.skill-bar {
    flex: 1; height: 4px; background: var(--border);
    border-radius: 2px; margin-left: auto; overflow: hidden;
    min-width: 40px;
}
.skill-fill {
    display: block; height: 100%; width: 0;
    background: linear-gradient(90deg, var(--accent), var(--blue));
    border-radius: 2px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.skill-fill.animated { width: var(--fill-width); }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: flex; flex-wrap: wrap; gap: 20px;
    justify-content: center;
    max-width: 900px; margin: 0 auto;
}
.contact-card {
    display: flex; flex-direction: column; align-items: center;
    gap: 10px; padding: 36px 24px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition-slow);
    position: relative; overflow: hidden;
    text-align: center;
    width: calc(33.333% - 14px); min-width: 250px;
}
.contact-card-glow {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 100%, var(--accent-glow) 0%, transparent 60%);
    opacity: 0; transition: opacity var(--transition);
    pointer-events: none;
}
.contact-card:hover .contact-card-glow { opacity: 1; }
.contact-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px var(--accent-glow);
}
.contact-card svg { width: 36px; height: 36px; color: var(--accent); position: relative; z-index: 1; }
.contact-name { font-weight: 700; font-size: 1.1rem; position: relative; z-index: 1; }
.contact-handle {
    color: var(--text-muted); font-size: 0.82rem; font-family: var(--mono);
    position: relative; z-index: 1;
    word-break: break-all;
}
.contact-action {
    color: var(--accent); font-size: 0.8rem; font-weight: 600;
    margin-top: 4px; position: relative; z-index: 1;
    opacity: 0.7; transform: none;
    transition: all var(--transition);
}
.contact-card:hover .contact-action { opacity: 1; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 36px 0;
    border-top: 1px solid var(--border);
    position: relative; z-index: 1;
}
.footer-inner {
    display: flex; align-items: center; justify-content: space-between;
}
.footer-logo {
    font-family: var(--mono); font-weight: 600; font-size: 0.9rem;
    color: var(--text-muted);
}
.footer-copy { color: var(--text-muted); font-size: 0.85rem; }
.footer-social { display: flex; gap: 16px; align-items: center; }
.footer-social-link {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; color: var(--text-muted);
    transition: color var(--transition), transform var(--transition);
}
.footer-social-link svg { width: 18px; height: 18px; }
.footer-social-link:hover { color: var(--accent); transform: translateY(-2px); }
.footer-right { color: var(--text-muted); font-size: 0.85rem; }

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal { opacity: 1; transform: none; }
.js .reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.visible { opacity: 1; transform: translateY(0); }
.js .reveal-d1 { transition-delay: 0.1s; }
.js .reveal-d2 { transition-delay: 0.15s; }
.js .reveal-d3 { transition-delay: 0.25s; }
.js .reveal-d4 { transition-delay: 0.35s; }
.js .reveal-d5 { transition-delay: 0.45s; }

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .js .reveal { opacity: 1; transform: none; }
    .cursor-glow { display: none; }
    #particles { display: none; }
    .skill-fill { width: var(--fill-width) !important; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-mobile.open { display: flex; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .projects-grid { grid-template-columns: 1fr; }
    .skill-category { width: calc(50% - 10px); flex-shrink: 1; }
    .contact-card { width: 100%; min-width: unset; }
    .hero { padding: 100px 24px 60px; }
    .hero-avatar-wrapper { width: 120px; height: 120px; }
    .hero-avatar { width: 120px; height: 120px; }
    .section { padding: 80px 0; }
    .section-header { margin-bottom: 36px; }
    .cursor-glow { display: none; }
    .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
    .project-card { padding: 24px; }
    .contact-card { padding: 28px 20px; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .skill-category { width: 100%; flex-shrink: 1; padding: 20px; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .hero-name { font-size: 2.2rem; }
    .hero-desc { font-size: 1rem; margin-bottom: 28px; }
    .hero-badge { margin-bottom: 24px; }
    .hero-avatar-wrapper { width: 110px; height: 110px; }
    .hero-avatar { width: 110px; height: 110px; }
    /* Hero CTA & social — stay horizontal, never wrap */
    .hero-cta { flex-wrap: nowrap; gap: 10px; }
    .hero-social { gap: 8px; }
    .social-link { width: 38px; height: 38px; border-radius: 10px; }
    .social-link svg { width: 16px; height: 16px; }
    .section { padding: 56px 0; }
    .section-header { margin-bottom: 28px; }
    .section-subtitle { font-size: 0.95rem; }
    .skills-grid { gap: 12px; }
    /* Contact cards — 2 columns on mobile */
    .contact-grid { gap: 12px; }
    .contact-card { width: calc(50% - 6px); min-width: 0; padding: 20px 12px; }
    .contact-card svg { width: 28px; height: 28px; }
    .contact-name { font-size: 0.95rem; }
    .contact-handle { font-size: 0.72rem; }
    .contact-action { font-size: 0.72rem; }
    .stat-card { padding: 20px 14px; }
    .stat-number { font-size: 1.8rem; }
    .project-card { padding: 20px; }
    .projects-more { margin-top: 32px; }
    .btn { padding: 12px 20px; font-size: 0.85rem; }
    .scroll-indicator { bottom: 20px; }
    .footer { padding: 28px 0; }
}
