        :root {
            --bg: #050505;
            --accent: #ffffff;
            --secondary: #86868b;
            --glass: rgba(255, 255, 255, 0.03);
            --glass-hover: rgba(255, 255, 255, 0.08);
            --border: rgba(255, 255, 255, 0.1);
            --divider: rgba(255, 255, 255, 0.2);
            --font-head: 'Unbounded', sans-serif;
        }

        @media (prefers-color-scheme: light) {
            :root {
                --bg: #f5f5f7;
                --accent: #000000;
                --secondary: #6e6e73;
                --glass: rgba(0, 0, 0, 0.04);
                --glass-hover: rgba(0, 0, 0, 0.08);
                --border: rgba(0, 0, 0, 0.15);
                --divider: rgba(0, 0, 0, 0.25);
            }
        }

        * { 
            margin: 0; padding: 0; box-sizing: border-box; 
            -webkit-font-smoothing: antialiased;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }
        
        html { 
            scroll-behavior: smooth;
            scroll-snap-type: y mandatory;
            overflow-y: scroll;
            height: 100vh;
        }
        html, body { 
            scrollbar-width: none; 
            background: var(--bg); 
            color: var(--accent); 
            font-family: 'Inter', sans-serif; 
            overflow-x: hidden;
            transition: background 0.5s ease, color 0.5s ease;
            height: 100%;
        }
        *::-webkit-scrollbar { display: none; }

        canvas { position: fixed; top: 0; left: 0; z-index: 0; pointer-events: none; }
        .grain { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: url('https://grainy-gradients.vercel.app/noise.svg'); opacity: 0.04; pointer-events: none; z-index: 1; }

        header {
            position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
            z-index: 1000; background: var(--glass); backdrop-filter: blur(20px);
            padding: 10px 28px; border-radius: 60px; border: 1px solid var(--border);
            display: flex; gap: 28px; transition: all 0.3s ease;
            white-space: nowrap;
        }
        header a { 
            text-decoration: none; 
            color: var(--secondary); 
            font-size: 11px; 
            font-weight: 700; 
            text-transform: uppercase; 
            letter-spacing: 1.5px; 
            transition: color 0.3s; 
            position: relative; 
            cursor: pointer;
        }
        header a::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 0;
            height: 1.5px;
            background: var(--accent);
            transition: width 0.3s ease;
        }
        header a:hover::after { width: 100%; }
        header a:hover { color: var(--accent); }

        section { 
            position: relative; 
            z-index: 2; 
            min-height: 100vh;
            height: 100vh;
            padding: 100px 8% 60px; 
            display: flex; 
            flex-direction: column; 
            justify-content: center;
            scroll-snap-align: start;
            scroll-snap-stop: always;
        }
        .section-title { 
            font-family: var(--font-head); 
            font-size: 11px; 
            letter-spacing: 3px; 
            color: var(--secondary); 
            margin-bottom: 32px; 
            text-transform: uppercase; 
            position: relative; 
            display: inline-block; 
        }
        .section-title::before {
            content: '';
            position: absolute;
            left: -28px;
            top: 50%;
            width: 18px;
            height: 1px;
            background: var(--accent);
            transform: translateY(-50%);
        }
        
        .section-divider {
            position: absolute; bottom: 70px; left: 10%; width: 80%; height: 1px;
            background: linear-gradient(90deg, transparent, var(--divider), transparent);
        }

        .section-svg-down {
            position: absolute;
            bottom: 22px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 5;
            cursor: pointer;
            transition: opacity 0.3s, transform 0.3s;
            opacity: 0.5;
        }
        .section-svg-down:hover {
            opacity: 1;
            transform: translateX(-50%) translateY(4px);
        }
        .section-svg-down svg {
            width: 24px;
            height: 24px;
            stroke: var(--accent);
            fill: none;
            stroke-width: 1.5;
        }
        #about .section-svg-down { display: none; }

        .hero-wrap { 
            display: flex; 
            flex-direction: column; 
            align-items: center; 
            justify-content: center;
            text-align: center; 
            width: 100%;
            max-width: 600px;
            margin: 0 auto;
        }
        
        .typewriter-container {
            margin-bottom: 28px;
            min-height: 140px;
        }
        .hero-title {
            font-family: var(--font-head);
            font-size: clamp(2rem, 6vw, 4.8rem);
            line-height: 1.1;
            letter-spacing: -1.5px;
            display: inline-block;
            overflow: hidden;
            border-right: 2px solid var(--accent);
            animation: blink 0.75s step-end infinite;
            white-space: pre-line;
        }
        @keyframes blink {
            from, to { border-color: transparent; }
            50% { border-color: var(--accent); }
        }
        .hero-title.typing-done {
            border-right: none;
            animation: none;
        }
        
        .profile-container { 
            position: relative; 
            width: min(240px, 55vw); 
            height: min(310px, 70vw); 
            margin-bottom: 16px; 
        }
        .profile-img { 
            width: 100%; 
            height: 100%; 
            object-fit: cover; 
            border-radius: 32px; 
            border: 1px solid var(--border); 
            filter: grayscale(0.8); 
            transition: 0.4s; 
        }
        .profile-container:hover .profile-img { 
            filter: grayscale(0); 
            border-color: var(--accent); 
            transform: scale(1.01); 
        }
        
        .profile-name { 
            font-family: var(--font-head); 
            font-size: clamp(0.85rem, 3vw, 1rem); 
            letter-spacing: 3px; 
            text-transform: uppercase; 
            margin-bottom: 12px; 
            color: var(--secondary); 
        }
        
        .age-counter {
            font-family: var(--font-head);
            font-size: clamp(0.75rem, 2.5vw, 0.85rem);
            color: var(--accent);
            margin-bottom: 20px;
            background: var(--glass);
            padding: 6px 18px;
            border-radius: 60px;
            border: 1px solid var(--border);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            animation: glowPulse 2s infinite;
        }
        .age-counter:hover {
            border-color: var(--accent);
            transform: scale(1.02);
        }
        .age-counter i {
            font-size: clamp(0.75rem, 2.5vw, 0.85rem);
            color: var(--accent);
        }
        .age-value-wrapper {
            position: relative;
            display: inline-block;
            font-family: 'JetBrains Mono', 'Monaco', monospace;
            font-size: clamp(0.8rem, 2.8vw, 0.9rem);
            font-weight: 500;
            letter-spacing: 0.5px;
            min-width: 140px;
            text-align: left;
        }
        #age-value {
            background: linear-gradient(135deg, var(--accent) 0%, var(--accent) 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: var(--accent);
            display: inline-block;
        }
        .age-blur {
            display: inline-block;
            filter: blur(0.6px);
            opacity: 0.8;
            margin-left: 1px;
        }
        
        @keyframes glowPulse {
            0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.08); border-color: var(--border); }
            50% { box-shadow: 0 0 12px 1px rgba(255, 255, 255, 0.15); border-color: var(--accent); }
            100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.08); border-color: var(--border); }
        }
        
        .social-bar { 
            display: flex; 
            gap: 20px; 
            justify-content: center;
            align-items: center;
            margin-top: 5px;
        }
        .social-btn {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            border: 1px solid var(--border);
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
            background: var(--glass);
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(10px);
            cursor: pointer;
        }
        .social-btn img {
            width: 26px;
            height: 26px;
            object-fit: contain;
            transition: transform 0.3s ease;
        }
        .social-btn:hover {
            transform: translateY(-3px) scale(1.05);
            border-color: var(--accent);
            background: var(--glass);
        }
        .social-btn:hover img {
            transform: scale(1.05);
        }

        .bio-content { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; max-width: 1100px; margin: 0 auto; width: 100%; }
        .bio-text p { font-size: clamp(0.9rem, 2.5vw, 1.05rem); line-height: 1.55; color: var(--secondary); margin-bottom: 18px; opacity: 0; transform: translateX(-20px); animation: slideInLeft 0.5s forwards; }
        .bio-text p:nth-child(1) { animation-delay: 0.1s; }
        .bio-text p:nth-child(2) { animation-delay: 0.2s; }
        .bio-text strong { color: var(--accent); font-weight: 700; position: relative; display: inline-block; }
        .bio-text strong::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 1px;
            background: var(--accent);
            transform: scaleX(0);
            transition: transform 0.25s ease;
        }
        .bio-text strong:hover::after { transform: scaleX(1); }
        
        .bio-stats { display: flex; flex-direction: column; gap: 18px; background: var(--glass); padding: clamp(24px, 4vw, 32px); border-radius: 28px; border: 1px solid var(--border); backdrop-filter: blur(10px); opacity: 0; transform: translateX(20px); animation: slideInRight 0.5s forwards 0.2s; }
        .stat-item { border-bottom: 1px solid var(--border); padding-bottom: 14px; transition: all 0.25s ease; }
        .stat-item:hover { padding-left: 8px; border-bottom-color: var(--accent); }
        .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
        .stat-label { font-size: 9px; color: var(--secondary); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px; }
        .stat-value { font-family: var(--font-head); font-size: clamp(0.85rem, 2.5vw, 1rem); }
        .location-value {
            font-family: 'JetBrains Mono', monospace;
            letter-spacing: 0.5px;
        }

        @keyframes slideInLeft {
            to { opacity: 1; transform: translateX(0); }
        }
        @keyframes slideInRight {
            to { opacity: 1; transform: translateX(0); }
        }

        .bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; width: 100%; }
        .case-card { grid-column: span 6; background: var(--glass); border: 1px solid var(--border); border-radius: 32px; padding: clamp(28px, 4vw, 36px); transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1); backdrop-filter: blur(10px); will-change: transform, opacity; backface-visibility: hidden; position: relative; overflow: hidden; cursor: pointer; }
        .case-card:hover {
            transform: translateY(-6px) scale(1.01);
            border-color: var(--accent);
            background: var(--glass-hover);
            box-shadow: 0 15px 30px -10px rgba(0,0,0,0.3);
        }
        .case-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
            transition: left 0.5s ease;
        }
        .case-card:hover::before { left: 100%; }
        .case-card h3 { font-family: var(--font-head); font-size: clamp(1.2rem, 3vw, 1.4rem); margin-bottom: 12px; }
        .case-card p { color: var(--secondary); line-height: 1.45; font-size: clamp(0.8rem, 2vw, 0.9rem); }
        .case-card.full { grid-column: span 12; }
        .case-card.full h3 { font-size: clamp(1.3rem, 3.5vw, 1.6rem); }

        .philosophy-text { max-width: 900px; margin: 0 auto; text-align: center; will-change: transform, opacity; backface-visibility: hidden; }
        .philosophy-text h2 { font-family: var(--font-head); font-size: clamp(1.3rem, 4vw, 2.6rem); line-height: 1.2; margin-bottom: 32px; }
        .philosophy-text p { color: var(--secondary); font-size: clamp(0.85rem, 2.2vw, 1rem); line-height: 1.55; margin-bottom: 18px; opacity: 0; transform: translateY(20px); animation: fadeInUp 0.5s forwards; }
        .philosophy-text p:nth-child(2) { animation-delay: 0.1s; }
        .philosophy-text p:nth-child(3) { animation-delay: 0.2s; }
        .philosophy-text p:nth-child(4) { animation-delay: 0.3s; }
        .philosophy-text b { color: var(--accent); position: relative; cursor: pointer; }
        .philosophy-text b::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 1px;
            background: var(--accent);
            transition: width 0.25s ease;
        }
        .philosophy-text b:hover::after { width: 100%; }
        
        @keyframes fadeInUp {
            to { opacity: 1; transform: translateY(0); }
        }

        footer { background: var(--glass); padding: 60px 8% 40px; position: relative; z-index: 2; scroll-snap-align: start; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
        .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 50px; }
        .footer-logo { font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 16px; }
        .footer-col h4 { font-size: 9px; color: var(--secondary); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; }
        .footer-col a { 
            display: block; 
            color: var(--accent); 
            text-decoration: none; 
            margin-bottom: 8px; 
            font-size: 13px; 
            transition: all 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        }
        .footer-col a:hover { 
            opacity: 0.7; 
            transform: translateX(6px);
        }
        .copyright { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; font-size: 9px; color: var(--secondary); text-transform: uppercase; flex-wrap: wrap; gap: 10px; }

        .scroll-indicator {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 1000;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            opacity: 0.5;
            transition: opacity 0.3s;
            cursor: pointer;
        }
        .scroll-indicator:hover { opacity: 1; }
        .scroll-indicator i {
            font-size: 22px;
            color: var(--accent);
            animation: bounce 1.5s infinite;
        }
        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(6px); }
        }

        .timer-badge {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
            background: var(--glass);
            backdrop-filter: blur(10px);
            padding: 6px 14px;
            border-radius: 60px;
            border: 1px solid var(--border);
            font-size: 10px;
            font-family: monospace;
            color: var(--secondary);
            letter-spacing: 0.5px;
        }
        .timer-badge i {
            margin-right: 5px;
            color: var(--accent);
        }

        @media (max-width: 768px) {
            section { padding: 80px 5% 50px; }
            .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
            .footer-col a:hover { transform: translateX(0); }
            .case-card { grid-column: span 12; padding: 28px; }
            .case-card h3 { font-size: 1.2rem; }
            .case-card.full h3 { font-size: 1.3rem; }
            .bio-content { grid-template-columns: 1fr; gap: 32px; text-align: center; }
            .bio-stats { text-align: left; }
            header { width: 94%; justify-content: center; gap: 15px; padding: 8px 14px; top: 12px; }
            header a { font-size: 8px; letter-spacing: 1px; }
            .typewriter-container { min-height: 90px; margin-bottom: 20px; }
            .hero-title { font-size: clamp(1.3rem, 5vw, 2.2rem); }
            .timer-badge { bottom: 12px; right: 12px; font-size: 8px; padding: 4px 10px; }
            .scroll-indicator { bottom: 12px; }
            .scroll-indicator i { font-size: 18px; }
            .age-value-wrapper { min-width: 110px; font-size: 0.75rem; }
            .social-btn { width: 44px; height: 44px; }
            .social-btn img { width: 22px; height: 22px; }
            .section-svg-down svg { width: 20px; height: 20px; }
            .section-divider { bottom: 55px; }
            .profile-container { margin-bottom: 12px; }
        }

        @media (max-width: 480px) {
            .social-bar { gap: 15px; }
            .social-btn { width: 40px; height: 40px; }
            .social-btn img { width: 20px; height: 20px; }
            .age-counter { padding: 4px 12px; }
            .age-value-wrapper { min-width: 95px; font-size: 0.7rem; }
        }

        @media (min-width: 1400px) {
            section { padding: 120px 12% 80px; }
            .bio-content { max-width: 1200px; }
            .case-card { padding: 48px; }
            .case-card h3 { font-size: 1.8rem; }
            .social-btn { width: 56px; height: 56px; }
            .social-btn img { width: 28px; height: 28px; }
        }