 *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

        :root {
            --bg: #0a1628;
            --bg2: #0d1b2e;
            --bg3: #111f33;
            --gold: #3a8fd4;
            --gold2: #6bb3e8;
            --gold-dim: rgba(58,143,212,0.10);
            --gold-border: rgba(58,143,212,0.25);
            --accent-teal: #2ec4c4;
            --accent-teal-hover: #3dd8d8;
            --text: #e8eaf0;
            --text-muted: #6b7a8e;
            --text-sub: #9ca8b8;
            --white: #ffffff;
            --card-bg: rgba(255,255,255,0.03);
            --card-border: rgba(255,255,255,0.07);
            --radius: 16px;
            --radius-sm: 10px;
        }

        html { scroll-behavior: smooth; }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg);
            color: var(--text);
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        /* ── SCROLLBAR ── */
        ::-webkit-scrollbar { width: 4px; }
        ::-webkit-scrollbar-track { background: var(--bg); }
        ::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

        /* ── CANVAS BG ── */
        #particle-canvas {
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 100%;
            pointer-events: none;
            z-index: 0;
            opacity: 0.35;
        }

        /* ── NAV ── */
        nav {
            position: fixed;
            top: 0; left: 0; right: 0;
            z-index: 100;
            padding: 20px 0;
            transition: all 0.4s ease;
        }
        nav.scrolled {
            background: rgba(10,22,40,0.9);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            padding: 14px 0;
            border-bottom: 1px solid var(--card-border);
        }
        .nav-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 40px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .nav-logo {
            display: flex;
            align-items: center;
            text-decoration: none;
        }
        .nav-logo img {
            height: 84px;
            width: 84px;
            object-fit: contain;
            transition: all 0.3s ease;
            filter: drop-shadow(0 0 6px rgba(58,143,212,0.4));
        }
        .nav-logo img:hover {
            filter: drop-shadow(0 0 14px rgba(58,143,212,0.7));
            transform: scale(1.05);
        }
        nav.scrolled .nav-logo img { height: 84px; width: 84px; }
        .nav-links {
            display: flex;
            gap: 36px;
            list-style: none;
        }
        .nav-links a {
            color: var(--text-sub);
            text-decoration: none;
            font-size: 0.88rem;
            font-weight: 500;
            letter-spacing: 0.3px;
            transition: color 0.2s;
            text-transform: uppercase;
        }
        .nav-links a:hover { color: var(--gold); }

        /* ── HERO ── */
        .hero {
            position: relative;
            z-index: 1;
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding: 0 40px;
            background: linear-gradient(135deg, #0a1628 0%, #0f2040 40%, #0a1628 100%);
            overflow: hidden;
        }
        .hero::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background:
                radial-gradient(ellipse at 70% 50%, rgba(58,143,212,0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 30% 80%, rgba(46,196,196,0.05) 0%, transparent 50%);
            pointer-events: none;
        }
        .hero-inner {
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: center;
            gap: 40px;
        }
        .hero-text { position: relative; z-index: 2; }
        .hero-visual {
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            z-index: 2;
        }
        .hero-visual img {
            max-width: 420px;
            width: 100%;
            height: auto;
            filter: drop-shadow(0 0 40px rgba(58,143,212,0.25));
            animation: heroFloat 6s ease-in-out infinite;
        }
        @keyframes heroFloat {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-14px); }
        }

        /* ── FEATURE CARDS ── */
        .feature-cards {
            position: relative;
            z-index: 1;
            background: var(--bg2);
            border-top: 1px solid var(--card-border);
            padding: 80px 40px;
        }
        .feature-cards-inner {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }
        .feature-card {
            background: rgba(255,255,255,0.03);
            border: 1px solid var(--card-border);
            border-radius: var(--radius);
            padding: 36px 28px;
            text-align: center;
            transition: all 0.3s;
        }
        .feature-card:hover {
            border-color: var(--gold-border);
            transform: translateY(-6px);
            box-shadow: 0 20px 50px rgba(0,0,0,0.3);
        }
        .feature-card-icon {
            width: 64px; height: 64px;
            background: var(--gold-dim);
            border: 1px solid var(--gold-border);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: var(--gold);
            margin: 0 auto 20px;
        }
        .feature-card h3 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--white);
            margin-bottom: 10px;
        }
        .feature-card p {
            font-size: 0.85rem;
            color: var(--text-muted);
            line-height: 1.7;
        }
        .hero-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--gold-dim);
            border: 1px solid var(--gold-border);
            border-radius: 100px;
            padding: 7px 18px;
            font-size: 0.78rem;
            font-weight: 600;
            color: var(--gold2);
            letter-spacing: 1.2px;
            text-transform: uppercase;
            margin-bottom: 32px;
        }
        .hero-tag::before {
            content: '';
            width: 7px; height: 7px;
            background: var(--gold);
            border-radius: 50%;
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.4; transform: scale(0.8); }
        }
        .hero h1 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: clamp(3rem, 7vw, 6rem);
            font-weight: 700;
            line-height: 1.05;
            letter-spacing: -2px;
            color: var(--white);
            margin-bottom: 24px;
        }
        .hero h1 .gold { color: var(--gold); }
        .hero-desc {
            font-size: 1.15rem;
            color: var(--text-sub);
            max-width: 560px;
            line-height: 1.75;
            margin-bottom: 48px;
            font-weight: 400;
        }
        .hero-actions {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
        }
        .btn-primary {
            background: var(--accent-teal);
            color: #fff;
            padding: 14px 32px;
            border-radius: var(--radius-sm);
            font-weight: 700;
            font-size: 0.9rem;
            text-decoration: none;
            letter-spacing: 0.3px;
            transition: all 0.25s;
            display: inline-block;
        }
        .btn-primary:hover {
            background: var(--accent-teal-hover);
            transform: translateY(-2px);
            box-shadow: 0 12px 40px rgba(46,196,196,0.3);
        }
        .btn-ghost {
            background: transparent;
            color: var(--text-sub);
            padding: 14px 32px;
            border-radius: var(--radius-sm);
            font-weight: 600;
            font-size: 0.9rem;
            text-decoration: none;
            border: 1px solid var(--card-border);
            transition: all 0.25s;
            display: inline-block;
        }
        .btn-ghost:hover {
            border-color: var(--gold-border);
            color: var(--gold);
            transform: translateY(-2px);
        }
        .hero-scroll {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            color: var(--text-muted);
            font-size: 0.75rem;
            letter-spacing: 1px;
            text-transform: uppercase;
        }
        .hero-scroll .line {
            width: 1px;
            height: 48px;
            background: linear-gradient(to bottom, var(--gold), transparent);
            animation: scrollLine 2s ease-in-out infinite;
        }
        @keyframes scrollLine {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.3; }
        }

        /* ── STATS BAR ── */
        .stats-bar {
            position: relative; z-index: 1;
            background: var(--bg2);
            border-top: 1px solid var(--card-border);
            border-bottom: 1px solid var(--card-border);
            padding: 40px 40px;
        }
        .stats-inner {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 40px;
        }
        .stat-item { text-align: center; }
        .stat-num {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 2.4rem;
            font-weight: 700;
            color: var(--gold);
            line-height: 1;
            margin-bottom: 8px;
        }
        .stat-label {
            font-size: 0.82rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 500;
        }

        /* ── SECTION BASE ── */
        section {
            position: relative;
            z-index: 1;
            padding: 120px 40px;
        }
        .section-inner { max-width: 1200px; margin: 0 auto; }
        .section-label {
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2.5px;
            color: var(--gold);
            margin-bottom: 16px;
        }
        .section-title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 700;
            letter-spacing: -1px;
            color: var(--white);
            margin-bottom: 20px;
            line-height: 1.15;
        }
        .section-sub {
            font-size: 1.05rem;
            color: var(--text-sub);
            max-width: 540px;
            line-height: 1.7;
        }

        /* ── ABOUT ── */
        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
            margin-top: 72px;
        }
        .about-text p {
            color: var(--text-sub);
            line-height: 1.8;
            font-size: 1.05rem;
            margin-bottom: 20px;
        }
        .about-text strong { color: var(--gold2); font-weight: 600; }
        .about-side {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .about-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius);
            padding: 24px 28px;
            display: flex;
            align-items: center;
            gap: 18px;
            transition: all 0.3s;
        }
        .about-card:hover {
            border-color: var(--gold-border);
            background: var(--gold-dim);
            transform: translateX(4px);
        }
        .about-card-icon {
            width: 48px; height: 48px;
            background: var(--gold-dim);
            border: 1px solid var(--gold-border);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            color: var(--gold);
            flex-shrink: 0;
        }
        .about-card-text h4 {
            font-size: 0.95rem;
            font-weight: 700;
            color: var(--white);
            margin-bottom: 4px;
        }
        .about-card-text p {
            font-size: 0.82rem;
            color: var(--text-muted);
            margin: 0;
        }

        /* ── PROJECTS ── */
        .projects-section { background: var(--bg2); }
        .projects-grid {
            margin-top: 64px;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
        .proj-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius);
            padding: 32px;
            transition: all 0.35s;
            position: relative;
            overflow: hidden;
        }
        .proj-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--gold), transparent);
            opacity: 0;
            transition: opacity 0.3s;
        }
        .proj-card:hover {
            border-color: var(--gold-border);
            transform: translateY(-6px);
            box-shadow: 0 24px 60px rgba(0,0,0,0.4);
        }
        .proj-card:hover::before { opacity: 1; }
        .proj-card.featured {
            grid-column: span 1;
            border-color: var(--gold-border);
        }
        .proj-num {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 0.75rem;
            font-weight: 700;
            color: var(--gold);
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 16px;
        }
        .proj-title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--white);
            margin-bottom: 12px;
            letter-spacing: -0.3px;
        }
        .proj-desc {
            font-size: 0.88rem;
            color: var(--text-muted);
            line-height: 1.7;
            margin-bottom: 24px;
        }
        .proj-badge {
            display: inline-block;
            background: var(--gold-dim);
            border: 1px solid var(--gold-border);
            color: var(--gold2);
            font-size: 0.72rem;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 100px;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        /* ── TECH STACK ── */
        .tech-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            margin-bottom: 64px;
        }
        .tech-categories {
            display: flex;
            flex-direction: column;
            gap: 48px;
        }
        .tech-cat-title {
            font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--text-muted);
            margin-bottom: 20px;
        }
        .tech-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }
        .tech-pill {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-sm);
            padding: 10px 20px;
            font-size: 0.88rem;
            font-weight: 500;
            color: var(--text-sub);
            transition: all 0.25s;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .tech-pill:hover {
            border-color: var(--gold-border);
            color: var(--gold2);
            background: var(--gold-dim);
            transform: translateY(-2px);
        }
        .tech-pill i { font-size: 0.9rem; color: var(--gold); }

        /* ── PERSONAL NOTES ── */
        .notes-section { background: var(--bg2); }
        .notes-grid {
            margin-top: 64px;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
        .note-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius);
            padding: 36px 32px;
            transition: all 0.3s;
        }
        .note-card:hover {
            border-color: var(--gold-border);
            background: var(--gold-dim);
        }
        .note-icon {
            font-size: 2rem;
            margin-bottom: 20px;
        }
        .note-category {
            font-size: 0.72rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--gold);
            margin-bottom: 12px;
        }
        .note-title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--white);
            margin-bottom: 12px;
            letter-spacing: -0.2px;
        }
        .note-text {
            font-size: 0.88rem;
            color: var(--text-muted);
            line-height: 1.7;
        }

        /* ── CONTACT ── */
        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
            margin-top: 72px;
        }
        .contact-info { display: flex; flex-direction: column; gap: 20px; }
        .contact-item {
            display: flex;
            align-items: center;
            gap: 18px;
            padding: 20px 24px;
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-sm);
            text-decoration: none;
            transition: all 0.25s;
        }
        .contact-item:hover {
            border-color: var(--gold-border);
            background: var(--gold-dim);
            transform: translateX(4px);
        }
        .contact-item-icon {
            width: 44px; height: 44px;
            background: var(--gold-dim);
            border: 1px solid var(--gold-border);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--gold);
            font-size: 1rem;
            flex-shrink: 0;
        }
        .contact-item-text span {
            display: block;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-muted);
            font-weight: 600;
            margin-bottom: 3px;
        }
        .contact-item-text strong {
            display: block;
            font-size: 0.95rem;
            color: var(--text);
            font-weight: 500;
        }
        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }
        .form-group input,
        .form-group textarea {
            width: 100%;
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-sm);
            padding: 14px 18px;
            color: var(--text);
            font-family: 'Inter', sans-serif;
            font-size: 0.92rem;
            outline: none;
            transition: border-color 0.2s;
        }
        .form-group input::placeholder,
        .form-group textarea::placeholder { color: var(--text-muted); }
        .form-group input:focus,
        .form-group textarea:focus { border-color: var(--gold-border); }
        .form-group textarea { resize: vertical; min-height: 120px; }

        /* ── FOOTER ── */
        footer {
            position: relative; z-index: 1;
            background: var(--bg);
            border-top: 1px solid var(--card-border);
            padding: 40px 40px;
            text-align: center;
        }
        .footer-inner {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .footer-logo img {
            height: 36px;
            width: 36px;
            object-fit: contain;
            filter: drop-shadow(0 0 8px rgba(58,143,212,0.3));
            opacity: 0.85;
            transition: all 0.25s;
        }
        .footer-logo img:hover { opacity: 1; filter: drop-shadow(0 0 14px rgba(58,143,212,0.6)); }
        .footer-copy { font-size: 0.82rem; color: var(--text-muted); }
        .footer-social { display: flex; gap: 16px; }
        .footer-social a {
            width: 36px; height: 36px;
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            font-size: 0.9rem;
            text-decoration: none;
            transition: all 0.2s;
        }
        .footer-social a:hover {
            border-color: var(--gold-border);
            color: var(--gold);
            background: var(--gold-dim);
        }

        /* ── SECTION LIGHT (white bg alternating) ── */
        .section-light {
            background: #f5f7fb !important;
            border-top: none;
        }
        .section-light .section-label { color: var(--gold); }
        .section-light .section-title { color: #1a2332; }
        .section-light .section-sub { color: #5a6577; }
        .section-light .gold-divider {
            background: linear-gradient(90deg, var(--gold), transparent);
        }

        /* Feature cards in light */
        .section-light.feature-cards { border-top: none; }
        .section-light .feature-card {
            background: #ffffff;
            border-color: #e2e6ee;
            box-shadow: 0 4px 20px rgba(0,0,0,0.06);
        }
        .section-light .feature-card:hover {
            border-color: var(--gold);
            box-shadow: 0 20px 50px rgba(58,143,212,0.12);
        }
        .section-light .feature-card-icon {
            background: rgba(58,143,212,0.08);
            border-color: rgba(58,143,212,0.18);
        }
        .section-light .feature-card h3 { color: #1a2332; }
        .section-light .feature-card p { color: #5a6577; }

        /* Project cards in light */
        .section-light .proj-card {
            background: #ffffff;
            border-color: #e2e6ee;
            box-shadow: 0 4px 20px rgba(0,0,0,0.06);
        }
        .section-light .proj-card:hover {
            border-color: var(--gold);
            box-shadow: 0 24px 60px rgba(58,143,212,0.12);
        }
        .section-light .proj-title { color: #1a2332; }
        .section-light .proj-desc { color: #5a6577; }
        .section-light .proj-badge {
            background: rgba(58,143,212,0.08);
            border-color: rgba(58,143,212,0.2);
            color: #2a7bc0;
        }

        /* Note cards in light */
        .section-light .note-card {
            background: #ffffff;
            border-color: #e2e6ee;
            box-shadow: 0 4px 20px rgba(0,0,0,0.06);
        }
        .section-light .note-card:hover {
            border-color: var(--gold);
            background: rgba(58,143,212,0.04);
        }
        .section-light .note-title { color: #1a2332; }
        .section-light .note-text { color: #5a6577; }
        .section-light .note-category { color: var(--gold); }

        /* About cards in light (if needed) */
        .section-light .about-card {
            background: #ffffff;
            border-color: #e2e6ee;
            box-shadow: 0 4px 20px rgba(0,0,0,0.06);
        }
        .section-light .about-card:hover {
            border-color: var(--gold);
            background: rgba(58,143,212,0.04);
        }
        .section-light .about-card-text h4 { color: #1a2332; }
        .section-light .about-card-text p { color: #5a6577; }
        .section-light .about-text p { color: #5a6577; }
        .section-light .about-text strong { color: #2a7bc0; }

        /* Tech pills in light */
        .section-light .tech-pill {
            background: #ffffff;
            border-color: #e2e6ee;
            color: #4a5568;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        }
        .section-light .tech-pill:hover {
            border-color: var(--gold);
            color: #2a7bc0;
            background: rgba(58,143,212,0.04);
        }
        .section-light .tech-cat-title { color: #8895a7; }

        /* Contact in light */
        .section-light .contact-item {
            background: #ffffff;
            border-color: #e2e6ee;
        }
        .section-light .contact-item:hover {
            border-color: var(--gold);
            background: rgba(58,143,212,0.04);
        }
        .section-light .contact-item-text strong { color: #1a2332; }
        .section-light .contact-item-text span { color: #8895a7; }
        .section-light .form-group input,
        .section-light .form-group textarea {
            background: #ffffff;
            border-color: #e2e6ee;
            color: #1a2332;
        }
        .section-light .form-group input::placeholder,
        .section-light .form-group textarea::placeholder { color: #a0aab8; }
        .section-light .form-group input:focus,
        .section-light .form-group textarea:focus { border-color: var(--gold); }

        /* ── DIVIDER LINE ── */
        .gold-divider {
            width: 60px;
            height: 2px;
            background: linear-gradient(90deg, var(--gold), transparent);
            margin-bottom: 40px;
        }

        /* ── REVEAL ANIMATION ── */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }
        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* ── HAMBURGER ── */
        .nav-hamburger {
            display: none;
            flex-direction: column;
            justify-content: center;
            gap: 5px;
            width: 40px;
            height: 40px;
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 8px;
            cursor: pointer;
            padding: 8px;
            transition: border-color 0.2s;
        }
        .nav-hamburger:hover { border-color: var(--gold-border); }
        .nav-hamburger span {
            display: block;
            height: 1.5px;
            background: var(--text-sub);
            border-radius: 2px;
            transition: all 0.3s;
        }
        .nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
        .nav-hamburger.open span:nth-child(2) { opacity: 0; }
        .nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

        /* ── MOBILE MENU ── */
        .mobile-menu {
            display: none;
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            z-index: 99;
            background: rgba(10,22,40,0.97);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 36px;
        }
        .mobile-menu.open { display: flex; }
        .mobile-menu a {
            color: var(--text-sub);
            text-decoration: none;
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.8rem;
            font-weight: 600;
            letter-spacing: -0.5px;
            transition: color 0.2s;
        }
        .mobile-menu a:hover { color: var(--gold); }
        .mobile-menu-close {
            position: absolute;
            top: 24px; right: 24px;
            width: 40px; height: 40px;
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-sub);
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.2s;
        }
        .mobile-menu-close:hover { border-color: var(--gold-border); color: var(--gold); }

        /* ── MOBILE ── */
        @media (max-width: 900px) {
            .nav-links { display: none; }
            .nav-hamburger { display: flex; }
            .nav-logo img { height: 52px; width: 52px; }
            nav.scrolled .nav-logo img { height: 52px; width: 52px; }
            .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
            .hero-inner { grid-template-columns: 1fr; text-align: center; }
            .hero-visual img { max-width: 280px; }
            .hero-actions { justify-content: center; }
            .feature-cards-inner { grid-template-columns: 1fr; }
            .feature-cards { padding: 60px 24px; }
            .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
            .projects-grid, .notes-grid { grid-template-columns: 1fr; }
            .proj-card[style*="grid-column: span 2"] { grid-column: span 1 !important; }
            .tech-header { flex-direction: column; align-items: flex-start; gap: 20px; }
            .footer-inner { flex-direction: column; gap: 20px; }
            section { padding: 80px 24px; }
            .hero { padding: 0 24px; }
            .stats-bar { padding: 40px 24px; }
            footer { padding: 32px 24px; }
            .hero-desc br { display: none; }
        }

        @media (max-width: 480px) {
            .hero h1 { font-size: 2.6rem; letter-spacing: -1px; }
            .section-title { font-size: 1.8rem; }
            .stat-num { font-size: 1.9rem; }
            .btn-primary, .btn-ghost { padding: 12px 22px; font-size: 0.85rem; }
            .nav-inner { padding: 0 20px; }
            .proj-card { padding: 24px 20px; }
            .note-card { padding: 28px 20px; }
            .contact-item { padding: 16px 18px; }
        }