* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --color-bg: #fafaf8;
            --color-text: #1a1a1a;
            --color-accent: #2d2d2d;
            --color-muted: #6b6b6b;
            --color-border: #e0e0dc;
            --font-display: 'Cormorant Garamond', serif;
            --font-body: 'Work Sans', sans-serif;
            --spacing-unit: 1.5rem;
        }

        [data-theme="dark"] {
            --color-bg: #1a1a1a;
            --color-text: #e8e8e8;
            --color-accent: #f0f0f0;
            --color-muted: #a0a0a0;
            --color-border: #2d2d2d;
        }

        body {
            font-family: var(--font-body);
            background-color: var(--color-bg);
            color: var(--color-text);
            line-height: 1.6;
            font-weight: 300;
            font-size: 15px;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        .theme-toggle {
            position: fixed;
            top: 2rem;
            right: 2rem;
            background: var(--color-bg);
            border: 1px solid var(--color-border);
            width: 44px;
            height: 44px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 100;
        }

        .theme-toggle svg {
            width: 20px;
            height: 20px;
        }

        .theme-toggle .sun-icon {
            stroke: var(--color-text);
            fill: none;
        }

        .theme-toggle .moon-icon {
            fill: var(--color-text);
        }

        .theme-toggle .sun-icon {
            display: none;
        }

        .theme-toggle .moon-icon {
            display: block;
        }

        [data-theme="dark"] .theme-toggle .sun-icon {
            display: block;
        }

        [data-theme="dark"] .theme-toggle .moon-icon {
            display: none;
        }

        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 4rem 2rem;
        }

        header {
            text-align: center;
            margin-bottom: 5rem;
            padding: 2rem 0;
            opacity: 0;
            animation: fadeInUp 0.8s ease forwards;
        }

        .profile-container {
            margin-bottom: 1.5rem;
            display: flex;
            justify-content: center;
        }

        .profile-image {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--color-border);
            padding: 4px;
            transition: transform 0.3s ease;
            opacity: 0;
            animation: fadeIn 1s ease 0.3s forwards;
        }

        .profile-image:hover {
            transform: scale(1.02);
        }

        h1 {
            font-family: var(--font-display);
            font-size: 3rem;
            font-weight: 300;
            margin-bottom: 0.25rem;
            letter-spacing: -0.01em;
            color: var(--color-text);
        }

        .job-title {
            color: var(--color-muted);
            font-size: 1rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            font-weight: 400;
            margin-bottom: 1.5rem;
        }

        .header-meta {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .address {
            color: var(--color-muted);
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }

        .header-socials {
            display: flex;
            gap: 1.25rem;
            align-items: center;
        }

        .header-socials a {
            color: var(--color-muted);
            transition: color 0.2s ease, transform 0.2s ease;
        }

        .header-socials a:hover {
            color: var(--color-text);
            transform: translateY(-2px);
        }

        .contact-methods {
            margin-bottom: 2rem;
        }

        .email-container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            background: var(--color-bg);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            border: 1px solid var(--color-border);
            width: fit-content;
            margin: 0 auto;
        }

        .email-link {
            color: var(--color-text);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 400;
        }

        .copy-email-btn {
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.2rem;
            display: flex;
            align-items: center;
            color: var(--color-muted);
            transition: color 0.2s ease;
        }

        .copy-email-btn:hover {
            color: var(--color-text);
        }

        .copy-email-btn .check-icon {
            display: none;
        }

        .copy-email-btn.copied .copy-icon {
            display: none;
        }

        .copy-email-btn.copied .check-icon {
            display: block;
            stroke: var(--color-accent);
        }

        .header-actions {
            margin-top: 2rem;
        }

        .resume-button {
            display: inline-block;
            background-color: transparent;
            color: var(--color-text);
            padding: 0.5rem 1.25rem;
            border-radius: 20px;
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 400;
            letter-spacing: 0.02em;
            transition: all 0.3s ease;
            border: 1px solid var(--color-border);
        }

        .resume-button:hover {
            border-color: var(--color-text);
            background-color: var(--color-text);
            color: var(--color-bg);
        }

        [data-theme="dark"] .resume-button {
            background-color: transparent;
            color: var(--color-text);
            border-color: var(--color-border);
        }

        [data-theme="dark"] .resume-button:hover {
            background-color: var(--color-text);
            color: var(--color-bg);
            border-color: var(--color-text);
        }

        .contact-links .separator {
            color: var(--color-muted);
        }

        section {
            margin-bottom: 4rem;
            opacity: 0;
            animation: fadeInUp 0.8s ease forwards;
        }

        section:nth-child(2) { animation-delay: 0.2s; }
        section:nth-child(3) { animation-delay: 0.3s; }
        section:nth-child(4) { animation-delay: 0.4s; }
        section:nth-child(5) { animation-delay: 0.5s; }
        section:nth-child(6) { animation-delay: 0.6s; }
        section:nth-child(7) { animation-delay: 0.7s; }

        .section-title {
            font-family: var(--font-display);
            font-size: 1.5rem;
            font-weight: 400;
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid var(--color-border);
        }

        .about-text {
            color: var(--color-text);
            line-height: 1.8;
            max-width: 650px;
        }

        .project-item {
            margin-bottom: 2.5rem;
            padding-bottom: 2.5rem;
            border-bottom: 1px solid var(--color-border);
        }

        .project-item:last-child {
            border-bottom: none;
        }

        .project-title {
            font-family: var(--font-display);
            font-size: 1.25rem;
            font-weight: 400;
            margin-bottom: 0.5rem;
        }

        .project-description {
            color: var(--color-muted);
            line-height: 1.7;
            margin-bottom: 0.75rem;
        }

        .project-tech {
            font-size: 0.85rem;
            color: var(--color-muted);
            font-style: italic;
        }

        .project-links {
            display: flex;
            gap: 1.5rem;
            margin-top: 1rem;
        }

        .project-links a {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--color-text);
            text-decoration: none;
            font-size: 0.9rem;
            padding: 0.5rem 0;
        }

        .skills-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
        }

        .skill-category-title {
            font-family: var(--font-display);
            font-size: 1.1rem;
            font-weight: 400;
            margin-bottom: 1rem;
            color: var(--color-text);
        }

        .skill-list {
            list-style: none;
        }

        .skill-list li {
            color: var(--color-muted);
            line-height: 2;
            font-size: 0.95rem;
            position: relative;
            padding-left: 1rem;
        }

        .skill-list li:before {
            content: '—';
            position: absolute;
            left: 0;
            color: var(--color-border);
        }

        [data-theme="dark"] .skill-list li:before {
            color: var(--color-muted);
        }

        .extra-item {
            display: none;
        }

        .view-more-btn {
            display: block;
            margin: 2rem auto 0;
            padding: 0;
            background: none;
            border: none;
            color: var(--color-muted);
            font-family: var(--font-body);
            font-size: 0.9rem;
            cursor: pointer;
            text-align: center;
            position: relative;
        }

        .view-more-btn::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 1px;
            background: var(--color-border);
        }

        .view-more-btn .view-less-text {
            display: none;
        }

        .view-more-btn.expanded .view-more-text {
            display: none;
        }

        .view-more-btn.expanded .view-less-text {
            display: block;
        }

        .items-container.expanded .extra-item {
            display: block;
        }

        .contribution-item {
            margin-bottom: 2.5rem;
            padding-bottom: 2.5rem;
            border-bottom: 1px solid var(--color-border);
        }

        .contribution-item:last-child {
            border-bottom: none;
        }

        .contribution-title {
            font-family: var(--font-display);
            font-size: 1.25rem;
            font-weight: 400;
            margin-bottom: 0.5rem;
        }

        .contribution-meta {
            font-size: 0.85rem;
            color: var(--color-muted);
            margin-bottom: 0.75rem;
        }

        .contribution-description {
            color: var(--color-text);
            line-height: 1.7;
            margin-bottom: 1rem;
        }

        .contribution-links {
            display: flex;
            gap: 1.5rem;
        }

        .contribution-links a {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--color-text);
            text-decoration: none;
            font-size: 0.9rem;
            padding: 0.5rem 0;
        }

        .experience-item {
            margin-bottom: 2.5rem;
            padding-bottom: 2.5rem;
            border-bottom: 1px solid var(--color-border);
        }

        .experience-item:last-child {
            border-bottom: none;
        }

        .experience-header {
            margin-bottom: 0.5rem;
        }

        .experience-title {
            font-family: var(--font-display);
            font-size: 1.25rem;
            font-weight: 400;
            margin-bottom: 0.25rem;
        }

        .experience-company {
            color: var(--color-muted);
            font-size: 1rem;
            font-weight: 400;
        }

        .experience-period {
            font-size: 0.85rem;
            color: var(--color-muted);
            margin-bottom: 0.75rem;
        }

        .experience-description {
            color: var(--color-text);
            line-height: 1.7;
        }

        .article-item {
            margin-bottom: 2rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid var(--color-border);
        }

        .article-item:last-child {
            border-bottom: none;
        }

        .article-header {
            cursor: pointer;
        }

        .article-title {
            font-family: var(--font-display);
            font-size: 1.15rem;
            font-weight: 400;
            margin-bottom: 0.25rem;
            position: relative;
            padding-right: 1.5rem;
        }

        .article-title::after {
            content: '→';
            position: absolute;
            right: 0;
        }

        .article-item.expanded .article-title::after {
            content: '↓';
        }

        .article-meta {
            font-size: 0.85rem;
            color: var(--color-muted);
            margin-bottom: 0.5rem;
        }

        .article-excerpt {
            color: var(--color-muted);
            line-height: 1.7;
            font-size: 0.95rem;
        }

        .read-more {
            color: var(--color-text);
            opacity: 0.5;
            transition: opacity 0.2s ease;
            cursor: pointer;
        }

        .read-more:hover {
            opacity: 1;
        }

        .article-item.expanded .read-more {
            display: none;
        }

        .read-less {
            color: var(--color-text);
            opacity: 0.5;
            transition: opacity 0.2s ease;
            cursor: pointer;
            display: none;
        }

        .read-less:hover {
            opacity: 1;
        }

        .article-item.expanded .read-less {
            display: inline;
        }

        .article-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease, margin-top 0.5s ease;
            color: var(--color-text);
            line-height: 1.8;
        }

        .article-content p {
            margin-bottom: 1.2rem;
        }

        .article-content p:last-child {
            margin-bottom: 0;
        }

        .article-item.expanded .article-content {
            max-height: 2000px;
            margin-top: 1.5rem;
        }

        .article-item.expanded .article-excerpt {
            display: none;
        }

        footer {
            text-align: center;
            margin-top: 5rem;
            padding: 4rem 0 2rem;
            border-top: 1px solid var(--color-border);
            color: var(--color-muted);
            font-size: 0.85rem;
        }

        .footer-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.5rem;
        }

        .copyright {
            letter-spacing: 0.02em;
        }

        .footer-content .social-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .footer-content .social-links a {
            color: var(--color-muted);
            text-decoration: none;
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: color 0.2s ease;
        }

        .footer-content .social-links a:hover {
            color: var(--color-text);
        }

        .footer-content .social-links a svg {
            stroke: currentColor;
            width: 14px;
            height: 14px;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @media (max-width: 600px) {
            h1 {
                font-size: 2rem;
            }

            .container {
                padding: 3rem 1.5rem;
            }

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

            .social-links {
                gap: 1rem;
            }
        }