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

body {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #fafafa;
    color: #333;
    line-height: 1.6;
    font-size: 14px;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Fixed Sidebar - Left 1/3 */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 33.333%;
    height: 100vh;
    background-color: #fafafa;
    padding: 80px 40px;
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.sidebar-content {
    max-width: 280px;
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin-bottom: 24px;
    object-fit: cover;
    border: 3px solid #f0f0f0;
}

.sidebar h1 {
    font-family: 'Crimson Text', Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 8px;
    color: #1a1a1a;
    line-height: 1.2;
    white-space: nowrap;
}

.sidebar .title {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 8px;
    font-weight: 400;
}

.sidebar .affiliation {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 4px;
}

.sidebar .degree {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.green-dot-container {
    position: relative;
    width: 5px;
    height: 5px;
}

.green-dot {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: #22c55e;
    border-radius: 50%;
}

.green-dot-ping {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: #22c55e;
    border-radius: 50%;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0.75;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.sidebar .email {
    color: #666;
    text-decoration: none;
    display: block;
    margin: 16px 0;
    font-size: 0.9rem;
}

.sidebar .email:hover {
    color: #1a1a1a;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    justify-content: center;
}

.social-links a {
    color: #666;
    transition: color 0.2s;
    font-size: 1.3rem;
}

.social-links a:hover {
    color: #1a1a1a;
}

/* Scrollable Content - Right 2/3 */
.content {
    margin-left: 33.333%;
    width: 66.666%;
    padding: 80px 60px;
    background-color: #fafafa;
}

.content section {
    margin-bottom: 2.5rem;
}

.content h2 {
    font-family: 'Crimson Text', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: #1a1a1a;
}

.content p {
    color: #444;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    line-height: 1.7;
}

/* News Section */
.news-item {
    margin-bottom: 0.85rem;
    color: #444;
    font-size: 0.85rem;
    line-height: 1.0;
}

.news-item .date {
    color: #666;
    font-weight: 600;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project {
    background-color: transparent;
}

.project-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    background-color: #f0f0f0;
    display: block;
    transition: opacity 0.2s;
}

.project-image:hover {
    opacity: 0.85;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.project-github-icon {
    color: #666;
    font-size: 0.85rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.project-github-icon:hover {
    color: #1a1a1a;
}

.project h3 {
    font-family: 'Crimson Text', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #1a1a1a;
    line-height: 1.3;
}

.project h3 a {
    color: #1a1a1a;
    text-decoration: none;
}

.project h3 a:hover {
    color: #666;
}

.project .description {
    color: #666;
    margin-bottom: 0;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Experience Section */
.experience {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
}

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

.experience h3 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.4rem;
}

.experience h3 a {
    color: #1a1a1a;
    text-decoration: none;
}

.experience h3 a:hover {
    color: #666;
    text-decoration: underline;
}

.experience .location {
    font-weight: 400;
    font-size: 0.85rem;
}

.experience .role-line {
    color: #666;
    font-size: 0.85rem;
    font-style: italic;
    margin-bottom: 0.6rem;
}

.experience .separator {
    margin: 0 0.5rem;
    color: #666;
    font-size: 0.6rem;
}

.experience .dates {
    color: #666;
    font-size: 0.85rem;
}

.experience .description {
    color: #444;
    font-size: 0.85rem;
    line-height: 1.7;
}

/* Company Link Styles */
.company-link {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 400;
    transition: color 0.2s;
}

.company-link.siemens:hover {
    color: #00b3a4;
}

.company-link.altair:hover {
    color: #f5a623;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        padding: 50px 30px;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }

    .content {
        margin-left: 0;
        width: 100%;
        padding: 50px 30px;
    }

    .container {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 13px;
    }

    .sidebar {
        padding: 40px 20px;
    }

    .sidebar h1 {
        font-size: 2rem;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .content {
        padding: 40px 20px;
    }

    .content h2 {
        font-size: 1.3rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}
