:root {
    --ink: #172026;
    --muted: #5c6970;
    --line: #d8e0e5;
    --soft: #f4f8f8;
    --panel: #ffffff;
    --accent: #007b83;
    --accent-dark: #045b61;
    --signal: #b73742;
    --shadow: 0 18px 50px rgba(23, 32, 38, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #ffffff;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

.site-header {
    background: linear-gradient(180deg, #edf5f5 0%, #ffffff 100%);
    border-bottom: 1px solid var(--line);
}

.top-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px 20px;
    color: var(--muted);
    font-size: 14px;
}

.top-nav a {
    text-decoration: none;
}

.top-nav a:hover {
    color: var(--accent-dark);
}

.hero,
main section {
    max-width: 1120px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.hero {
    padding-top: 28px;
    padding-bottom: 56px;
    text-align: center;
}

.research-banner {
    display: block;
    width: min(100%, 980px);
    height: auto;
    margin: 0 auto 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 12px;
    font-size: 44px;
    line-height: 1.12;
}

h2 {
    margin-bottom: 14px;
    font-size: 28px;
    line-height: 1.2;
}

h3 {
    line-height: 1.3;
}

p {
    color: var(--muted);
}

.hero-copy {
    max-width: 720px;
    margin: 0 auto 24px;
    font-size: 18px;
}

.hero-actions,
.contact-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--ink);
    background: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.button.primary {
    border-color: var(--accent);
    background: var(--accent);
    color: #ffffff;
}

.button:hover {
    border-color: var(--accent-dark);
}

main section {
    padding-top: 46px;
    padding-bottom: 46px;
    border-bottom: 1px solid var(--line);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    gap: 32px;
    align-items: center;
}

.profile-panel,
.project,
.publication-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.profile-panel {
    padding: 22px;
}

.profile-photo {
    display: block;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    border: 2px solid var(--line);
    margin-bottom: 18px;
    object-fit: cover;
}

.focus-list {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
}

.focus-list li {
    margin-bottom: 8px;
}

.section-heading {
    margin-bottom: 22px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.project {
    overflow: hidden;
}

.project-cover {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-bottom: 1px solid var(--line);
    background: var(--soft);
}

.project-body {
    padding: 18px;
}

.tag {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--signal);
    font-size: 13px;
    font-weight: 700;
}

.publication-list {
    display: grid;
    gap: 16px;
}

.publication-card {
    padding: 20px;
    border-left: 4px solid var(--signal);
}

.publication-card a {
    color: var(--accent-dark);
    font-weight: 700;
    text-decoration: none;
}

.text-link {
    color: var(--accent-dark);
    font-weight: 700;
    text-decoration: none;
}

.publication-card a:hover,
.text-link:hover {
    text-decoration: underline;
}

.skill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-grid span {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--soft);
    color: var(--ink);
    font-weight: 700;
}

.contact-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.contact-section p {
    max-width: 620px;
}

footer {
    padding: 22px 20px;
    text-align: center;
    background: var(--ink);
}

footer p {
    margin: 0;
    color: #ffffff;
}

@media (max-width: 860px) {
    .top-nav {
        gap: 14px;
        overflow-x: auto;
        justify-content: flex-start;
    }

    h1 {
        font-size: 34px;
    }

    .split-section,
    .project-grid,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .contact-section {
        display: block;
    }

    .contact-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .hero,
    main section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero {
        padding-top: 18px;
        padding-bottom: 38px;
    }

    h1 {
        font-size: 30px;
    }

    .hero-copy {
        font-size: 16px;
    }

    .button {
        width: 100%;
    }
}
