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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
        Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 780px;
    margin: 0 auto;
    padding: 4.5rem 2rem 3rem;
}

/* Profile header */
.profile-header {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.profile-image {
    flex-shrink: 0;
    width: 170px;
    height: 170px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0% 90%;
    transform: scale(1.5) translateX(5%) translateY(-5%);
    transform-origin: center center;
    display: block;
}

.profile-info h1 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 0.5rem;
}

.profile-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.profile-links a {
    color: #666;
    transition: color 0.15s ease;
    display: flex;
    align-items: center;
}

.profile-links a:hover {
    color: #111;
}

/* Sections */
section {
    margin-bottom: 2rem;
}

section:last-child {
    margin-bottom: 0;
}

h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #444;
}

p:last-child {
    margin-bottom: 0;
}

/* Work items */
.work-item {
    margin-bottom: 1.75rem;
}

.work-item:last-child {
    margin-bottom: 0;
}

.work-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.work-item h3 a {
    color: #111;
    text-decoration: none;
}

.work-item h3 a:hover {
    text-decoration: underline;
}

.work-item .authors {
    font-size: 0.9rem;
    font-style: italic;
    color: #555;
    margin-bottom: 0.25rem;
}

.work-item .description {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.25rem;
}

.work-item .venue {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
    margin-bottom: 0.15rem;
}

.work-item .note {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0;
}

/* Links */
a {
    color: #333;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 500px) {
    .container {
        padding: 2rem 1.25rem;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .profile-links {
        justify-content: center;
    }

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