* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f4f2ee;
    color: #121212;
    min-height: 100vh;
    position: relative;
    padding: 32px 24px 72px;
}

.main-title {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    display: flex;
    margin: 0;
}

.title-light {
    color: #1a1a1a;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    padding: 0.2em 0.4em;
}

.title-dark {
    color: #fff;
    background: #111;
    padding: 0.2em 0.4em;
}

.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

/* Left Panel - Photoshop */
.left-panel {
    background: rgba(255, 255, 255, 0.9);
    color: #121212;
    padding: 28px;
    position: relative;
    border-radius: 28px;
    box-shadow: 0 12px 30px rgba(17, 17, 17, 0.08);
    border: 1px solid rgba(17, 17, 17, 0.06);
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.back-button:hover {
    gap: 0.75rem;
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.subtitle {
    font-style: italic;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.examples-section {
    margin-top: 3rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.examples-note {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.examples-grid a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.examples-grid a.span-2 {
    grid-column: span 2;
}

.examples-grid a:hover {
    transform: scale(1.05);
}

.examples-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.lazy-image {
    transition: opacity 0.3s ease;
}

.examples-grid a:hover img {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Right Panel - Academic Projects */
.right-panel {
    background: transparent;
    padding: 0;
}

.panel-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
    color: #121212;
}

.panel-title-sub {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
    color: #121212;
}

.panel-subtitle {
    font-size: 1rem;
    color: #888;
    margin-bottom: 3rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
    margin-top: 28px;
}

.content-left {
    background: rgba(255, 255, 255, 0.9);
    color: #121212;
    padding: 28px;
    position: relative;
    border-radius: 28px;
    box-shadow: 0 12px 30px rgba(17, 17, 17, 0.08);
    border: 1px solid rgba(17, 17, 17, 0.06);
}

.content-right {
    background: transparent;
    padding: 0;
}

.skills-grid {
    display: grid;
    gap: 2rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 17, 17, 0.06);
    border-radius: 28px;
    padding: 22px;
    box-shadow: 0 12px 26px rgba(17, 17, 17, 0.07);
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: rgba(17, 17, 17, 0.1);
    box-shadow: 0 14px 30px rgba(17, 17, 17, 0.1);
}

.skill-card a {
    display: block;
    margin-bottom: 1.5rem;
}

.skill-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.skill-card a:hover .skill-image {
    transform: scale(1.05);
}

.skill-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #121212;
}

.skill-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(17, 17, 17, 0.72);
}

.project-badge {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #8b5cf6;
    font-weight: 500;
}

.page {
    max-width: 1100px;
    margin: 0 auto;
}

.identity {
    margin-bottom: 18px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.06);
    color: rgba(17, 17, 17, 0.8);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.name {
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 10px;
}

.intro {
    color: rgba(17, 17, 17, 0.75);
    line-height: 1.7;
    font-size: 1.02rem;
}

.quick-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.pill-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(17, 17, 17, 0.08);
    color: rgba(17, 17, 17, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 10px 22px rgba(17, 17, 17, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pill-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(17, 17, 17, 0.1);
    background: #ffffff;
}

.profile-card {
    position: sticky;
    top: 24px;
    border-radius: 34px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(17, 17, 17, 0.06);
    box-shadow: 0 16px 38px rgba(17, 17, 17, 0.1);
}

.profile-card::before {
    content: "";
    position: absolute;
    inset: -18px;
    background: radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.18), transparent 55%),
        radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.12), transparent 60%);
    filter: blur(18px);
    z-index: 0;
}

.profile-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    display: block;
}

.content {
    margin-top: 28px;
}

.section {
    margin-top: 26px;
}

.areas-grid-right {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.area-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 17, 17, 0.06);
    border-radius: 28px;
    padding: 22px;
    box-shadow: 0 12px 26px rgba(17, 17, 17, 0.07);
}

.area-card p {
    color: rgba(17, 17, 17, 0.72);
    line-height: 1.75;
    margin-top: 12px;
}

.area-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.06);
    color: rgba(17, 17, 17, 0.85);
    font-weight: 800;
}

.bio-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 17, 17, 0.06);
    border-radius: 28px;
    padding: 22px;
    box-shadow: 0 12px 26px rgba(17, 17, 17, 0.07);
}

.bio-card p {
    color: rgba(17, 17, 17, 0.72);
    line-height: 1.8;
    margin-top: 12px;
}

.bio-card p:first-child {
    margin-top: 0;
}

.academic-projects-section {
    margin-top: 28px;
}

@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding: 22px 16px 64px;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .container {
        grid-template-columns: 1fr;
    }

    .areas-grid-right {
        grid-template-columns: 1fr;
    }

    .panel-title {
        font-size: 2rem;
    }

    .examples-grid {
        grid-template-columns: 1fr;
    }

    .examples-grid a.span-2 {
        grid-column: span 1;
    }
}