/* Extracted from index.html main style block */

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            /* Base design tokens used across glass & content */
            --c-glass: #bbbbbc;
            --c-light: #fff;
            --c-dark: #000;
            --c-content: #224;
            --c-action: #0052f5;
            --c-bg: #e8e8e9;
            --c: #224;
            
            /* Glass reflection intensity knobs used in shadow layers */
            --glass-reflex-dark: 1;
            --glass-reflex-light: 1;
            --saturation: 150%;
            
            font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
            background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 50%, #000000 100%);
            min-height: 100vh;
            overflow-x: hidden;
            margin: 0;
            position: relative;
        }
        
        /* WebGL Background Canvas Styling */
        #background-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            object-fit: cover;
            pointer-events: none;
        }
        
        /* Hide scrollbar for webkit browsers */
        ::-webkit-scrollbar {
            display: none;
        }
        
        /* Hide scrollbar for Firefox */
        html {
            scrollbar-width: none;
        }
        
        /* iOS Safari only: ensure the root underlay is black without affecting app visuals */
        @supports (-webkit-touch-callout: none) {
            html { background-color: #000; }
            body { background: transparent; }
            /* Safari: hide rectangular glass texture behind switcher */
            #glass-bar { display: none !important; }
            /* Safari: keep switcher with simple blur+saturate only */
            .switcher { position: relative; -webkit-backdrop-filter: blur(8px) saturate(var(--saturation, 150%)) !important; backdrop-filter: blur(8px) saturate(var(--saturation, 150%)) !important; }
            .switcher::before { content: none !important; }
        }

        /* macOS Safari (and any detected Safari): hide rectangular glass texture */
        .is-safari #glass-bar { display: none !important; }
        
        /* Loading Screen */
        .loading-screen {
            width: 100%;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .loading-content {
            text-align: center;
        }
        
        .loading-content span {
            font-size: 4rem;
            animation: wave 2s ease-in-out infinite;
        }
        
        @keyframes wave {
            0%, 100% {
                transform: rotate(0deg);
            }
            25% {
                transform: rotate(20deg);
            }
            75% {
                transform: rotate(-20deg);
            }
        }
        
        /* Accessibility: Respect reduced motion preferences */
        @media (prefers-reduced-motion: reduce) {
            * {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }
        
        
        
        /* Hero Action Buttons Styling */
        .hero-actions {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-top: 8px;
        }
        
        .resume-button {
            display: flex;
            align-items: center;
            gap: 8px;
            background: rgba(168, 85, 247, 0.2);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(168, 85, 247, 0.4);
            border-radius: 12px;
            padding: 12px 20px;
            color: white;
            text-decoration: none;
            font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }
        
        .resume-button:hover {
            background: rgba(168, 85, 247, 0.3);
            border-color: rgba(168, 85, 247, 0.6);
            transform: translateY(-2px);
            box-shadow: 
                0 8px 25px rgba(168, 85, 247, 0.3),
                0 4px 12px rgba(0, 0, 0, 0.2);
        }
        
        .resume-button:active {
            transform: translateY(0);
            transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .resume-button svg {
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .resume-button:hover svg {
            transform: translateX(2px);
        }
        
        .social-links {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            color: rgba(255, 255, 255, 0.9);
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }
        
        .social-link:hover {
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.4);
            color: white;
            transform: translateY(-2px) scale(1.05);
            box-shadow: 
                0 8px 25px rgba(255, 255, 255, 0.2),
                0 4px 12px rgba(0, 0, 0, 0.2);
        }
        
        .social-link:active {
            transform: translateY(0) scale(1);
            transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .social-link svg {
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .social-link:hover svg {
            transform: scale(1.1);
        }
        
        
        
        /* Main Content Layout */
        .main-content {
            margin-top: 80px;
            display: flex;
            min-height: 100vh;
            justify-content: center;
        }
        
        /* Centered Content Panels */
        .content-panels {
            width: 100%;
            max-width: 800px;
            padding: 32px;
            display: flex;
            flex-direction: column;
            gap: 32px;
        }
        
        /* Glass Panel Container - Apple Liquid UI Style */
        .glass-panel {
            position: relative;
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(20px) saturate(140%);
            -webkit-backdrop-filter: blur(20px) saturate(140%);
            border-radius: 24px;
            border: 1px solid rgba(255, 255, 255, 0.22);
            padding: 32px;
            box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
            transition: box-shadow 200ms ease, background-color 200ms ease, transform 200ms ease;
            cursor: default;
        }
        .glass-panel::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: inherit;
            pointer-events: none;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
        }
        
        .glass-panel:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
            background: rgba(255, 255, 255, 0.14);
        }
        
        .glass-panel:active {
            transform: translateY(-8px) scale(0.98);
            transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        
        
        /* Typography */
        h1 {
            font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            font-size: clamp(2.5rem, 5vw, 3.5rem);
            font-weight: 700;
            background: linear-gradient(90deg, #a855f7 0%, #ffffff 50%, #a855f7 100%);
            background-size: 200% 100%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 16px;
            line-height: 1.1;
            letter-spacing: -0.02em;
            animation: gradientShift 3s ease-in-out infinite;
        }
        
        @keyframes gradientShift {
            0% {
                background-position: 200% 50%;
            }
            100% {
                background-position: 0% 50%;
            }
        }
        
        h2 {
            font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            font-size: clamp(1.8rem, 3vw, 2.5rem);
            font-weight: 600;
            color: white;
            margin-bottom: 24px;
            line-height: 1.2;
            letter-spacing: -0.01em;
        }
        
        h3 {
            font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            font-size: clamp(1.4rem, 2.5vw, 1.8rem);
            font-weight: 600;
            color: white;
            margin-bottom: 16px;
            line-height: 1.3;
            letter-spacing: 0;
        }
        
        p {
            font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            font-size: clamp(1rem, 1.5vw, 1.1rem);
            font-weight: 400;
            color: rgba(255, 255, 255, 0.9);
            line-height: 1.4;
            margin-bottom: 16px;
            letter-spacing: 0;
        }
        
        /* Skills List - Single Row Centered */
        .skills-list {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 24px;
            justify-content: center;
            align-items: center;
        }
        
        .skill-row {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 8px;
            backdrop-filter: blur(10px);
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            min-height: 36px;
            flex-shrink: 0;
        }
        
        .skill-row:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.15);
            transform: translateY(-2px);
        }
        
        .skill-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 20px;
            height: 20px;
            flex-shrink: 0;
        }
        
        .skill-icon img {
            width: 16px;
            height: 16px;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            filter: brightness(0) saturate(100%) invert(100%) contrast(200%);
            opacity: 0.9;
        }
        
        .skill-row:hover .skill-icon img {
            opacity: 1;
            filter: brightness(0) saturate(100%) invert(100%) contrast(250%);
        }
        
        .skill-name {
            font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.75rem;
            font-weight: 500;
            line-height: 1.2;
            letter-spacing: -0.01em;
        }
        
        /* Projects Grid */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 24px;
            margin-top: 24px;
        }
        
        .project-card {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: 0;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            overflow: hidden;
            text-decoration: none;
            color: inherit;
        }
        
        .project-card:visited {
            color: inherit;
            text-decoration: none;
        }
        
        .project-card:hover {
            transform: translateY(-8px) scale(1.02);
            background: rgba(255, 255, 255, 0.15);
            box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
        }
        
        /* Project Image Styling */
        .project-image {
            width: 100%;
            height: 200px;
            overflow: hidden;
            position: relative;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        /* Different background colors for each project */
        .project-card:nth-child(1) .project-image {
            --_gradient-blend-mode: normal;
            --_gradient-blur: 0px;
            background: radial-gradient(at 50.77690972222222% 0%, #fcfcfa 0px, transparent 50%), radial-gradient(at 92.99913194444444% 12.77777777777778%, #8e4f40 0px, transparent 50%), radial-gradient(at 47.99913194444445% 39.72222222222222%, #e6b597 0px, transparent 50%), radial-gradient(at 89% 86%, #38495d 0px, transparent 50%), radial-gradient(at 36% 84%, #546474 0px, transparent 50%), radial-gradient(at 2.9991319444444446% 11.666666666666668%, #7e7583 0px, transparent 50%), radial-gradient(at 56.33246527777778% 75%, #8292a2 0px, transparent 50%), radial-gradient(at 13.554687500000002% 88.33333333333334%, #3b5065 0px, transparent 50%) #000000;
            mix-blend-mode: var(--_gradient-blend-mode);
        }
        
        .project-card:nth-child(2) .project-image {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        }
        
        .project-card:nth-child(3) .project-image {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        }
        
        /* LiquidGlass Portfolio Template (5th project) custom gradient */
        .project-card:nth-child(5) .project-image {
            --_gradient-blend-mode: normal;
            --_gradient-blur: 0px;
            background: radial-gradient(at 44.623990055935366% 48.613221059941836%, #555555 0px, transparent 50%), radial-gradient(at 45.1726281048413% 27.501193628195665%, #e7e6e8 0px, transparent 50%), radial-gradient(at 39.13760956687598% 99.72655063153782%, #8ca2bb 0px, transparent 50%), radial-gradient(at 54.63663444846875% 100%, #d779c7 0px, transparent 50%) #000000;
            mix-blend-mode: var(--_gradient-blend-mode);
        }
        
        /* Neural Network Number Predictor (4th project) custom gradient */
        .project-card:nth-child(4) .project-image {
            --_gradient-blend-mode: normal;
            --_gradient-blur: 0px;
            background: radial-gradient(at 19.4490203638148% 18.61191892009202%, #f0f0f0 0px, transparent 50%), radial-gradient(at 94.14671760541165% 86.11484873475412%, #ffffff 0px, transparent 50%), radial-gradient(at 23.711051137359362% 41.66847519423586%, #000000 0px, transparent 50%), radial-gradient(at 84.5010690126529% 22.223186770259126%, #f0f0f0 0px, transparent 50%), radial-gradient(at 68.79885037327819% 37.501627674812276%, #008000 0px, transparent 50%), radial-gradient(at 19.224702954680875% 75.28104518425279%, #f0f0f0 0px, transparent 50%), radial-gradient(at 71.49065928288529% 78.8923130344199%, #ff3333 0px, transparent 50%) #000000;
            mix-blend-mode: var(--_gradient-blend-mode);
        }
        
        .project-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .project-card:hover .project-image img {
            transform: scale(1.05);
        }
        
        /* Project content padding */
        .project-card h4,
        .project-card p,
        .project-card .project-tech {
            padding: 0 24px;
        }
        
        .project-card h4 {
            margin-top: 16px;
            margin-bottom: 12px;
        }
        
        .project-card p {
            margin-bottom: 12px;
        }
        
        .project-card .project-tech {
            margin-bottom: 16px;
        }
        
        .project-card:active {
            transform: translateY(-8px) scale(0.98);
            transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .project-card h4 {
            font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            color: white;
            font-weight: 600;
            font-size: clamp(1.1rem, 1.3vw, 1.2rem);
            margin-bottom: 12px;
            line-height: 1.3;
            letter-spacing: 0;
        }
        
        .project-card p {
            font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            color: rgba(255, 255, 255, 0.8);
            font-size: clamp(0.9rem, 1.1vw, 1rem);
            font-weight: 400;
            margin-bottom: 12px;
            line-height: 1.4;
            letter-spacing: 0;
        }
        
        .project-tech {
            font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            color: rgba(255, 255, 255, 0.7);
            font-size: clamp(0.8rem, 1vw, 0.9rem);
            font-weight: 500;
            line-height: 1.4;
            letter-spacing: 0;
        }
        
        /* Contact Section - Clean & Minimal */
        .contact-section {
            background: transparent;
            border: none;
            padding: 32px;
            box-shadow: none;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
        }
        
        .contact-section h2 {
            margin-bottom: 24px;
        }
        
        /* Contact Info - Apple 8-Point Grid */
        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }
        
        .contact-item {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 0;
            min-height: 44px;
        }
        
        /* Contact Icon Container - Consistent sizing */
        .contact-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            flex-shrink: 0;
            color: rgba(255, 255, 255, 0.8);
        }
        
        .contact-icon svg {
            width: 24px;
            height: 24px;
            transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        /* Contact Links - Clean styling */
        .contact-item a {
            font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            color: rgba(255, 255, 255, 0.9);
            text-decoration: none;
            font-size: 1rem;
            font-weight: 400;
            line-height: 1.4;
            letter-spacing: 0;
            transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            padding: 8px 0;
            border-radius: 0;
            cursor: pointer;
        }
        
        .contact-item a:hover {
            color: white;
            background: transparent;
            transform: none;
        }
        
        .contact-item a:active {
            transform: none;
            transition: color 0.1s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        /* Contact Text (for phone number) */
        .contact-text {
            font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            color: rgba(255, 255, 255, 0.9);
            font-size: 1rem;
            font-weight: 400;
            line-height: 1.4;
            letter-spacing: 0;
            padding: 8px 0;
        }
        
        /* Hover effects for icons */
        .contact-item:hover .contact-icon {
            color: rgba(255, 255, 255, 1);
        }
        
        /* Professional Footer Styles */
        .footer {
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(16px) saturate(140%);
            -webkit-backdrop-filter: blur(16px) saturate(140%);
            border-top: 0.5px solid rgba(255, 255, 255, 0.14);
            padding: 24px 0;
            margin-top: 64px;
        }
        .footer-content {
            max-width: 1160px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }
        .footer-text {
            font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
            font-size: 12px;
            line-height: 1.3;
            letter-spacing: -0.01em;
            color: rgba(255, 255, 255, 0.85);
        }
        .footer-links {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .footer-link {
            font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
            font-size: 12px;
            line-height: 1.3;
            letter-spacing: -0.01em;
            color: rgba(255, 255, 255, 0.85);
            text-decoration: none;
            transition: color 160ms ease;
        }
        .footer-link:hover { color: #ffffff; }
        .footer-separator { color: rgba(255, 255, 255, 0.4); }
        
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 32px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 16px;
        }
        
        .footer-section {
            display: flex;
            align-items: center;
        }
        
        .footer-text {
            font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            color: rgba(255, 255, 255, 0.7);
            font-size: clamp(0.8rem, 1vw, 0.9rem);
            font-weight: 400;
            margin: 0;
            line-height: 1.4;
            letter-spacing: 0;
        }
        
        .footer-links {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .footer-link {
            font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            font-size: clamp(0.8rem, 1vw, 0.9rem);
            font-weight: 400;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            padding: 8px 12px;
            border-radius: 8px;
            cursor: pointer;
            line-height: 1.4;
            letter-spacing: 0;
        }
        
        .footer-link:hover {
            color: white;
            background: rgba(255, 255, 255, 0.1);
            transform: scale(1.05);
        }
        
        .footer-link:active {
            transform: scale(0.95);
            transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .footer-separator {
            color: rgba(255, 255, 255, 0.4);
            font-size: 0.8rem;
        }
        
        /* About Section Layout */
        .about-content {
            display: grid;
            grid-template-columns: 1fr auto;
            gap: 32px;
            align-items: start;
        }
        
        .about-text {
            flex: 1;
        }
        
        .about-text h2 {
            margin-bottom: 24px;
        }
        
        .about-text p {
            margin-bottom: 16px;
        }
        
        .about-text p:last-child {
            margin-bottom: 0;
        }
        
        .about-image {
            width: 200px;
            height: 356px; /* 9:16 aspect ratio (200 * 16/9) */
            flex-shrink: 0;
            border-radius: 24px;
            overflow: hidden;
            position: relative;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        }
        
        .about-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 24px;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .about-image:hover img {
            transform: scale(1.02);
        }
        
        .image-fallback {
            display: flex !important;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
            border-radius: 24px;
        }
        
        .frosted-backdrop {
            backdrop-filter: blur(var(--_gradient-blur)) contrast(100%) brightness(100%);
            -webkit-backdrop-filter: blur(var(--_gradient-blur)) contrast(100%) brightness(100%);
        }
        
        /* Education & Career Timeline */
        .timeline {
            position: relative;
            margin-top: 16px;
            padding: 16px 0;
        }
        /* Active glow for timeline item currently in view */
        #education-career .timeline-item.is-glowing .timeline-card {
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24), 0 0 36px rgba(255, 255, 255, 0.55), 0 0 64px rgba(255, 255, 255, 0.35);
            border-color: rgba(255, 255, 255, 0.6);
            transform: translateY(-3px);
        }
        #education-career .timeline-item.is-glowing .timeline-dot {
            background: rgba(255, 255, 255, 1);
            box-shadow: 0 0 12px rgba(255, 255, 255, 0.95), 0 0 28px rgba(255, 255, 255, 0.5);
            border: 2px solid rgba(168, 85, 247, 0.6);
        }
        
        .timeline::before {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            left: 50%;
            width: 2px;
            transform: translateX(-50%);
            background: linear-gradient(
                to bottom,
                rgba(255,255,255,0) 0%,
                rgba(255,255,255,0.3) 15%,
                rgba(255,255,255,0.5) 50%,
                rgba(255,255,255,0.3) 85%,
                rgba(255,255,255,0) 100%
            );
        }
        
        .timeline-item {
            position: relative;
            width: 50%;
            padding: 12px 24px;
        }
        
        .timeline-item.left {
            left: 0;
            text-align: right;
        }
        
        .timeline-item.right {
            left: 50%;
            text-align: left;
        }
        
        .timeline-dot {
            position: absolute;
            top: 24px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.9);
            box-shadow: 0 0 12px rgba(255, 248, 240, 0.8), 0 0 24px rgba(168, 85, 247, 0.4);
            border: 2px solid rgba(168, 85, 247, 0.6);
        }
        
        .timeline-item.left .timeline-dot {
            right: -6px;
        }
        
        .timeline-item.right .timeline-dot {
            left: -6px;
        }
        
        .timeline-card {
            display: inline-block;
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 16px;
            padding: 16px 20px;
            min-width: 260px;
            max-width: 320px;
            word-break: normal;
            overflow-wrap: anywhere;
            hyphens: auto;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
            transition: box-shadow 200ms ease, border-color 200ms ease, transform 200ms ease;
        }
        
        .timeline-title {
            color: white;
            font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            font-weight: 600;
            font-size: 1rem;
            margin-bottom: 4px;
            line-height: 1.3;
            white-space: normal;
        }
        
        .timeline-subtitle {
            color: rgba(255, 255, 255, 0.85);
            font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            font-size: 0.95rem;
            margin-bottom: 4px;
            line-height: 1.35;
            white-space: normal;
        }
        
        .timeline-meta {
            color: rgba(255, 255, 255, 0.7);
            font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            font-size: 0.85rem;
            line-height: 1.35;
            white-space: normal;
        }
        
        /* Apple-Style Responsive Design */
        @media (max-width: 768px) {
            /* Ensure minimum touch targets (44px) */
            .glass-panel {
                padding: 24px;
                min-height: 44px;
            }
            
            .skill-row {
                padding: 12px 16px;
                min-height: 44px;
            }
            
            .project-card {
                padding: 0;
                min-height: 44px;
            }
            
            .contact-item a {
                padding: 12px 16px;
                min-height: 44px;
                display: flex;
                align-items: center;
            }
            
            .footer-link {
                padding: 12px 16px;
                min-height: 44px;
                display: flex;
                align-items: center;
            }
            
            .content-panels {
                padding: 16px;
                gap: 24px;
                max-width: 100%;
            }
            
            .glass-panel {
                padding: 24px;
            }
            /* Maintain a bit of top spacing on mobile */
            .main-content {
                margin-top: 56px;
            }
            
            h1 {
                font-size: 2.5rem;
            }
            
            h2 {
                font-size: 2rem;
            }
            
            .skills-list {
                gap: 8px;
                justify-content: center;
            }
            
            .skill-row {
                padding: 6px 10px;
                min-height: 32px;
            }
            
            .skill-icon {
                width: 18px;
                height: 18px;
            }
            
            .skill-icon img {
                width: 14px;
                height: 14px;
            }
            
            .skill-name {
                font-size: 0.6875rem;
            }
            
            .projects-grid {
                grid-template-columns: 1fr;
            }
            
            /* Add extra bottom padding so the fixed switcher doesn't overlap */
            .footer { padding: 20px 0 120px; margin-top: 48px; }
            .footer-content { flex-direction: column; gap: 8px; text-align: center; }
            .footer-links { gap: 10px; }
            
            .footer-content {
                padding: 0 16px;
                flex-direction: column;
                text-align: center;
                gap: 12px;
            }
            
            .footer-links {
                gap: 8px;
            }
            
            /* Hero actions responsive adjustments */
            .hero-actions {
                flex-direction: row;
                align-items: center;
                gap: 12px;
            }
            
            .resume-button {
                padding: 10px 16px;
                font-size: 0.9rem;
            }
            
            .social-links {
                gap: 8px;
            }
            
            .social-link {
                width: 40px;
                height: 40px;
            }
            
            /* Contact section responsive adjustments */
            .contact-section {
                padding: 24px;
            }
            
            .contact-info {
                gap: 12px;
            }
            
            .contact-item {
                gap: 12px;
                min-height: 40px;
            }
            
            .contact-icon {
                width: 20px;
                height: 20px;
            }
            
            .contact-icon svg {
                width: 20px;
                height: 20px;
            }
            
            .contact-item a,
            .contact-text {
                font-size: 0.9rem;
                padding: 6px 0;
            }
            
            /* About section responsive adjustments */
            .about-content {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            
            .about-image {
                width: 160px;
                height: 284px; /* Maintain 9:16 ratio */
                margin: 0 auto;
            }
            
            /* Timeline responsive */
            .timeline::before {
                left: 20px;
                transform: none;
            }
            
            .timeline-item,
            .timeline-item.left,
            .timeline-item.right {
                width: 100%;
                left: 0;
                text-align: left;
                padding-left: 48px;
                padding-right: 12px;
                margin-bottom: 8px;
            }
            
            .timeline-item .timeline-dot,
            .timeline-item.left .timeline-dot,
            .timeline-item.right .timeline-dot {
                left: 14px;
                right: auto;
            }
            
            .timeline-card {
                max-width: 100%;
            }
            
            /* Mobile positioning for switcher - align with glass texture height */
            .switcher {
                bottom: 40px !important;
                left: 16px !important;
                translate: 0 !important;
                width: calc(100% - 32px) !important;
                max-width: 360px !important;
                height: 70px !important; /* match desktop height */
            }
            #glass-bar-wrap {
                left: 16px !important;
                /* Center the 800px glass texture under the left-aligned switcher (max 360px wide) */
                transform: translateX(calc((min(360px, 100vw - 32px) / 2) - 400px - 23px)) !important;
            }
        }
        
        /* Liquid Glass Switcher Navigation - Bottom Positioned */
        .switcher {
            position: fixed;
            z-index: 1001;
            bottom: 40px;
            left: 50%;
            translate: -50%;
            display: flex;
            align-items: center;
            gap: 8px;
            width: 372px;
            max-width: 372px;
            height: 70px;
            box-sizing: border-box;
            padding: 8px 12px 10px;
            margin: 0 auto;
            border: none;
            border-radius: 99em;
            font-size: var(--fz);
            background-color: color-mix(in srgb, var(--c-glass, #bbbbbc) 12%, transparent);
            /* Base (non-Safari) uses SVG displacement in backdrop-filter */
            backdrop-filter: blur(2px) url(#switcher) saturate(var(--saturation, 150%));
            -webkit-backdrop-filter: blur(2px) saturate(var(--saturation, 150%));
            overflow: hidden;
            box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-light, #fff) 10%, transparent), inset 1.8px 3px 0px -2px color-mix(in srgb, var(--c-light, #fff) 90%, transparent), inset -2px -2px 0px -2px color-mix(in srgb, var(--c-light, #fff) 80%, transparent), inset -3px -8px 1px -6px color-mix(in srgb, var(--c-light, #fff) 60%, transparent), inset -0.3px -1px 4px 0px color-mix(in srgb, var(--c-dark, #000) 12%, transparent), inset -1.5px 2.5px 0px -2px color-mix(in srgb, var(--c-dark, #000) 20%, transparent), inset 0px 3px 4px -2px color-mix(in srgb, var(--c-dark, #000) 20%, transparent), inset 2px -6.5px 1px -4px color-mix(in srgb, var(--c-dark, #000) 10%, transparent), 0px 1px 5px 0px color-mix(in srgb, var(--c-dark, #000) 10%, transparent), 0px 6px 16px 0px color-mix(in srgb, var(--c-dark, #000) 8%, transparent);
            transition: background-color 400ms cubic-bezier(1, 0, 0.4, 1), box-shadow 400ms cubic-bezier(1, 0, 0.4, 1);
        }
        .switcher__legend {
            position: absolute;
            width: 1px;
            height: 1px;
            margin: -1px;
            border: 0;
            padding: 0;
            white-space: nowrap;
            clip-path: inset(100%);
            clip: rect(0 0 0 0);
            overflow: hidden;
        }
        .switcher__input {
            clip: rect(0 0 0 0);
            clip-path: inset(100%);
            height: 1px;
            width: 1px;
            overflow: hidden;
            position: absolute;
            white-space: nowrap;
        }
        .switcher__icon {
            display: block;
            width: 24px;
            height: 24px;
            transition: transform 200ms cubic-bezier(0.5, 0, 0, 1);
        }
        /* Switcher text label (Apple-like caption below icon) */
        .switcher__label {
            display: block;
            margin-top: 6px;
            font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
            font-weight: 500;
            font-size: 12px;
            line-height: 1.2;
            letter-spacing: -0.01em;
            text-align: center;
            color: var(--c, #e1e1e1);
            user-select: none;
            pointer-events: none;
        }
        @media (max-width: 768px) {
            .switcher__label { font-size: 11px; }
        }
        /* Temporarily hide inline SVG icons in switcher */
        .switcher__option svg.switcher__icon { display: none; }
        .switcher__filter { position: absolute; width: 0; height: 0; z-index: -1; }
        .switcher__option {
            --c: var(--c-content, #e1e1e1);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 0 12px;
            width: 68px;
            height: 100%;
            box-sizing: border-box;
            border-radius: 99em;
            opacity: 1;
            transition: all 160ms;
        }
        .switcher__option:hover { cursor: pointer; }
        .switcher__option:hover .switcher__icon { transform: scale(1.06); }
        .switcher__option:hover .switcher__label { color: #ffffff; }
        .switcher__option:has(input:checked) { cursor: auto; }
        .switcher__option:has(input:checked) .switcher__icon { transform: scale(1); }
        .switcher__option:has(input:checked) .switcher__label { color: #ffffff; }
        
        /* Switcher icons and text always white */
        .switcher__icon { filter: none; }
        /* Force external SVGs (img) to render white */
        .switcher__option img.switcher__icon { filter: invert(1) brightness(1.2); }
        .switcher__label { color: #ffffff; }
        
        .switcher__option:hover { --c: #ffffff; }
        
        .switcher__option:hover .switcher__icon { transform: scale(1.06); }
        .switcher__option:hover img.switcher__icon { filter: invert(1) brightness(1.2); }
        
        .switcher__option:has(input:checked) { --c: #ffffff; }
        
        .switcher__option:has(input:checked) img.switcher__icon { filter: invert(1) brightness(1.2); }
        .switcher::after {
            content: "";
            position: absolute;
            left: 4px;
            top: 4px;
            display: block;
            width: 84px;
            height: calc(100% - 10px);
            border-radius: 99em;
            background-color: color-mix(in srgb, var(--c-glass, #bbbbbc) 36%, transparent);
            z-index: -1;
            box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-light, #fff) 10%, transparent), inset 2px 1px 0px -1px color-mix(in srgb, var(--c-light, #fff) 90%, transparent), inset -1.5px -1px 0px -1px color-mix(in srgb, var(--c-light, #fff) 80%, transparent), inset -2px -6px 1px -5px color-mix(in srgb, var(--c-light, #fff) 60%, transparent), inset -1px 2px 3px -1px color-mix(in srgb, var(--c-dark, #000) 20%, transparent), inset 0px -4px 1px -2px color-mix(in srgb, var(--c-dark, #000) 10%, transparent), 0px 3px 6px 0px color-mix(in srgb, var(--c-dark, #000) 8%, transparent);
        }
        .switcher:has(input[c-option="1"]:checked)::after {
          /* Position highlight under the first icon; scale pulse for liquid feel */
          translate: 0 0;
          transform-origin: right;
          transition: background-color 400ms cubic-bezier(1, 0, 0.4, 1),
            box-shadow 400ms cubic-bezier(1, 0, 0.4, 1),
            translate 400ms cubic-bezier(1, 0, 0.4, 1);
          animation: scaleToggle 440ms ease;
        }
        
        .switcher:has(input[c-option="2"]:checked)::after {
          translate: 76px 0;
          transition: background-color 400ms cubic-bezier(1, 0, 0.4, 1),
            box-shadow 400ms cubic-bezier(1, 0, 0.4, 1),
            translate 400ms cubic-bezier(1, 0, 0.4, 1);
          animation: scaleToggle2 440ms ease;
        }
        
        .switcher[c-previous="1"]:has(input[c-option="2"]:checked)::after {
          /* If coming from 1 to 2, grow from the left edge */
          transform-origin: left;
        }
        
        .switcher[c-previous="3"]:has(input[c-option="2"]:checked)::after {
          /* If coming from 3 to 2, grow from the right edge */
          transform-origin: right;
        }
        
        .switcher[c-previous="4"]:has(input[c-option="2"]:checked)::after {
          /* If coming from 4 to 2, grow from the right edge */
          transform-origin: right;
        }
        
        .switcher[c-previous="5"]:has(input[c-option="2"]:checked)::after {
          /* If coming from 5 to 2, grow from the right edge */
          transform-origin: right;
        }
        
        .switcher:has(input[c-option="3"]:checked)::after {
          translate: 152px 0;
          transition: background-color 400ms cubic-bezier(1, 0, 0.4, 1),
            box-shadow 400ms cubic-bezier(1, 0, 0.4, 1),
            translate 400ms cubic-bezier(1, 0, 0.4, 1);
          animation: scaleToggle3 440ms ease;
        }
        
        .switcher[c-previous="1"]:has(input[c-option="3"]:checked)::after {
          /* If coming from 1 to 3, grow from the left edge */
          transform-origin: left;
        }
        
        .switcher[c-previous="2"]:has(input[c-option="3"]:checked)::after {
          /* If coming from 2 to 3, grow from the left edge */
          transform-origin: left;
        }
        
        .switcher[c-previous="4"]:has(input[c-option="3"]:checked)::after {
          /* If coming from 4 to 3, grow from the right edge */
          transform-origin: right;
        }
        
        .switcher[c-previous="5"]:has(input[c-option="3"]:checked)::after {
          /* If coming from 5 to 3, grow from the right edge */
          transform-origin: right;
        }
        
        .switcher:has(input[c-option="4"]:checked)::after {
          translate: 228px 0;
          transition: background-color 400ms cubic-bezier(1, 0, 0.4, 1),
            box-shadow 400ms cubic-bezier(1, 0, 0.4, 1),
            translate 400ms cubic-bezier(1, 0, 0.4, 1);
          animation: scaleToggle4 440ms ease;
        }
        
        .switcher[c-previous="1"]:has(input[c-option="4"]:checked)::after {
          /* If coming from 1 to 4, grow from the left edge */
          transform-origin: left;
        }
        
        .switcher[c-previous="2"]:has(input[c-option="4"]:checked)::after {
          /* If coming from 2 to 4, grow from the left edge */
          transform-origin: left;
        }
        
        .switcher[c-previous="3"]:has(input[c-option="4"]:checked)::after {
          /* If coming from 3 to 4, grow from the left edge */
          transform-origin: left;
        }
        
        .switcher[c-previous="5"]:has(input[c-option="4"]:checked)::after {
          /* If coming from 5 to 4, grow from the right edge */
          transform-origin: right;
        }
        
        .switcher:has(input[c-option="5"]:checked)::after {
          translate: 304px 0;
          transform-origin: left;
          transition: background-color 400ms cubic-bezier(1, 0, 0.4, 1),
            box-shadow 400ms cubic-bezier(1, 0, 0.4, 1),
            translate 400ms cubic-bezier(1, 0, 0.4, 1);
          animation: scaleToggle5 440ms ease;
        }
        @keyframes scaleToggle {
          0% {
            scale: 1 1;
          }
          50% {
            scale: 1.1 1;
          }
          100% {
            scale: 1 1;
          }
        }
        
        @keyframes scaleToggle2 {
          0% {
            scale: 1 1;
          }
          50% {
            scale: 1.2 1;
          }
          100% {
            scale: 1 1;
          }
        }
        
        @keyframes scaleToggle3 {
          0% {
            scale: 1 1;
          }
          50% {
            scale: 1.1 1;
          }
          100% {
            scale: 1 1;
          }
        }
        
        @keyframes scaleToggle4 {
          0% {
            scale: 1 1;
          }
          50% {
            scale: 1.2 1;
          }
          100% {
            scale: 1 1;
          }
        }
        
        @keyframes scaleToggle5 {
          0% {
            scale: 1 1;
          }
          50% {
            scale: 1.1 1;
          }
          100% {
            scale: 1 1;
          }
        }
        
        /* Reveal-on-scroll states */
        .reveal {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 600ms ease, transform 600ms ease;
        }
        .reveal.is-visible {
            opacity: 1;
            transform: translateY(0);
        }
        @media (prefers-reduced-motion: reduce) {
            .reveal {
                opacity: 1;
                transform: none;
                transition: none;
            }
        }


