:root {
    --bg: #f7f8f5;
    --surface: #ffffff;
    --surface-muted: #eef2ed;
    --ink: #17201b;
    --muted: #5f6b64;
    --line: #d9dfd7;
    --accent: #1e6f5c;
    --accent-dark: #11483c;
    --gold: #9a6b24;
    --shadow: 0 24px 70px rgba(23, 32, 27, 0.11);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        linear-gradient(180deg, rgba(238, 242, 237, 0.92), rgba(247, 248, 245, 0.98) 520px),
        var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

a {
    color: var(--accent-dark);
    text-decoration-color: rgba(30, 111, 92, 0.32);
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--accent);
    text-decoration-color: currentColor;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0;
    background: rgba(247, 248, 245, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(217, 223, 215, 0.8);
}

.brand {
    color: var(--ink);
    font-weight: 800;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.site-nav a {
    padding: 8px 10px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--ink);
}

main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(230px, 0.38fr) 1px minmax(0, 0.62fr);
    gap: clamp(22px, 4vw, 46px);
    align-items: center;
    min-height: min(720px, calc(100vh - 84px));
    padding: 56px 0 26px;
}

.hero,
.section-block,
.contact-band {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 5vw, 62px) clamp(22px, 4vw, 52px) clamp(28px, 5vw, 62px) 0;
}

.hero-divider {
    width: 1px;
    height: min(420px, 58vh);
    background: linear-gradient(180deg, transparent, var(--line) 16%, var(--line) 84%, transparent);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

h1 {
    max-width: 820px;
    margin-bottom: 22px;
    font-size: clamp(2.7rem, 7vw, 6.2rem);
    line-height: 0.94;
    letter-spacing: 0;
}

h2 {
    max-width: 790px;
    margin-bottom: 0;
    font-size: clamp(1.6rem, 3.5vw, 3rem);
    line-height: 1.05;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 8px;
    font-size: 1.02rem;
    line-height: 1.25;
}

.hero-summary {
    max-width: 760px;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 750;
    text-decoration: none;
}

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

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

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

.profile-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: clamp(28px, 5vw, 62px) 0 clamp(28px, 5vw, 62px) clamp(22px, 4vw, 52px);
    text-align: center;
}

.profile-photo {
    width: min(190px, 48vw);
    height: min(190px, 48vw);
    border: 5px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 18px 44px rgba(23, 32, 27, 0.18);
    object-fit: cover;
    object-position: center top;
    background: var(--surface-muted);
}

.profile-details {
    width: min(100%, 320px);
    margin-top: 22px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--accent-dark);
    background: rgba(255, 255, 255, 0.72);
}

.profile-details p {
    margin-bottom: 8px;
    color: var(--muted);
}

.profile-details .profile-name {
    color: var(--ink);
    font-size: 1.2rem;
    font-weight: 850;
    line-height: 1.2;
}

.profile-affiliation {
    color: var(--accent-dark);
    font-size: 0.92rem;
    font-weight: 750;
    line-height: 1.35;
}

.profile-affiliation span {
    display: block;
}

.profile-focus {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.35;
}

.profile-topics {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1.45;
}

.research-agenda,
.focus-card,
.publication-card,
.education-card,
.timeline-item,
.skill-card,
.compact-panel {
    border: 1px solid var(--line);
    background: var(--surface);
}

.research-agenda {
    margin: 0 0 28px;
    padding: clamp(24px, 4vw, 42px);
}

.research-agenda h2 {
    max-width: 980px;
    margin-bottom: 18px;
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    line-height: 1.16;
}

.research-agenda p:last-child {
    max-width: 900px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1rem;
}

.section-block {
    margin: 28px 0;
    padding: clamp(24px, 4vw, 42px);
}

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

.section-heading.split {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.section-note {
    max-width: 340px;
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.focus-card,
.skill-card,
.compact-panel {
    padding: 18px;
}

.focus-card p,
.skill-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

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

.publication-card {
    padding: 18px;
}

.publication-card h3 {
    margin-bottom: 8px;
    font-size: 1.08rem;
}

.education-grid {
    display: grid;
    gap: 12px;
}

.education-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
}

.education-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.education-card strong {
    padding: 7px 10px;
    border: 1px solid var(--line);
    background: var(--surface-muted);
    color: var(--accent-dark);
    font-size: 0.88rem;
    white-space: nowrap;
}

.status-label {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.authors,
.venue,
.organization {
    color: var(--muted);
}

.authors,
.venue {
    margin-bottom: 6px;
    font-size: 0.92rem;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(220px, 0.38fr) minmax(0, 0.62fr);
    gap: 32px;
}

.timeline {
    display: grid;
    gap: 12px;
}

.timeline-item {
    padding: 20px;
}

.timeline-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.timeline-header span {
    color: var(--gold);
    font-size: 0.88rem;
    font-weight: 800;
    white-space: nowrap;
}

.timeline-item ul,
.compact-panel ul {
    margin: 12px 0 0;
    padding-left: 18px;
}

.timeline-item li,
.compact-panel li {
    margin-bottom: 8px;
    color: var(--muted);
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-list span {
    display: inline-flex;
    padding: 6px 9px;
    border: 1px solid var(--line);
    background: var(--surface-muted);
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 650;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.compact-panel.wide {
    grid-column: 1 / -1;
}

.compact-panel li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.compact-panel strong {
    color: var(--ink);
    font-size: 0.88rem;
    white-space: nowrap;
}

.contact-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin: 28px 0;
    padding: clamp(24px, 4vw, 42px);
    background: var(--accent-dark);
    color: #ffffff;
}

.contact-band .eyebrow {
    color: #f0c26e;
}

.contact-band p {
    max-width: 740px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.76);
}

.contact-band .button {
    border-color: rgba(255, 255, 255, 0.36);
    background: transparent;
    color: #ffffff;
}

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

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 40px;
    color: var(--muted);
    font-size: 0.88rem;
}

.site-footer p {
    margin: 0;
}

@media (max-width: 980px) {
    .hero,
    .two-column,
    .contact-band {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-copy,
    .profile-panel {
        padding: 0 clamp(24px, 5vw, 42px);
    }

    .profile-panel {
        padding-top: clamp(26px, 5vw, 42px);
    }

    .hero-copy {
        padding-bottom: clamp(26px, 5vw, 42px);
    }

    .hero-divider {
        width: auto;
        height: 1px;
        margin: 0 clamp(24px, 5vw, 42px);
        background: linear-gradient(90deg, transparent, var(--line) 12%, var(--line) 88%, transparent);
    }

    .focus-grid,
    .skill-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-actions {
        margin-top: 0;
    }
}

@media (max-width: 720px) {
    .site-header {
        position: static;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .site-nav a {
        padding: 6px 0;
        margin-right: 12px;
    }

    .hero {
        padding-top: 24px;
    }

    .hero-copy,
    .section-block,
    .contact-band {
        padding: 22px;
    }

    .hero-copy,
    .profile-panel {
        padding-right: 22px;
        padding-left: 22px;
    }

    .hero-divider {
        margin: 0 22px;
    }

    .focus-grid,
    .skill-grid,
    .achievement-grid {
        grid-template-columns: 1fr;
    }

    .section-heading.split,
    .education-card,
    .timeline-header,
    .compact-panel li,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-heading.split {
        display: flex;
    }

    .compact-panel li {
        display: flex;
        gap: 4px;
    }
}
