:root {
    --bg: #faf9f7;
    --text: #1a1a1a;
    --muted: #6b6b6b;
    --accent: #2a5ba8;
    --border: #e0ddd8;
    --tag-bg: #eef2fa;
    --award: #9d354a;
}

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

body {
    font-family: 'EB Garamond', Georgia, serif;
    background: var(--bg);
    color: var(--text);
    font-size: 18px;
    line-height: 1.7;
}

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

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 60px 28px 100px;
}

/* Header */
header {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 48px;
}

header img {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
    flex-shrink: 0;
}

header .info h1 {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

header .info .role {
    color: var(--muted);
    font-size: 0.95rem;
    font-family: 'DM Mono', monospace;
    margin-bottom: 10px;
}

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.85rem;
    font-family: 'DM Mono', monospace;
}
.links a { color: var(--muted); }
.links a:hover { color: var(--accent); text-decoration: none; }

/* Sections */
section {
    margin-bottom: 44px;
}

h2 {
    font-size: 0.78rem;
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
    margin-bottom: 20px;
}

/* About */
.about p {
    color: #333;
    font-size: 1rem;
}

/* News */
.news ul {
    list-style: none;
}

.news li {
    font-size: 1rem;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.5;
}

.news .date {
    font-size: 0.82rem;
    font-family: 'DM Mono', monospace;
    color: var(--text);
    margin-right: 6px;
}

/* Publications */
.pub-group {
    margin-bottom: 28px;
}

.pub-group h3 {
    font-size: 0.72rem;
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 12px;
}

.pub {
    margin-bottom: 16px;
    padding-left: 14px;
    border-left: 2px solid var(--border);
}
.pub:hover { border-left-color: var(--accent); }

.pub .title {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.45;
}

.pub .authors {
    font-size: 1rem;
    color: var(--muted);
}
.pub .authors strong {
    color: var(--text);
    font-weight: 500;
}

.pub .meta {
    font-size: 0.82rem;
    font-family: 'DM Mono', monospace;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.highlight {
    color: var(--award);
}

.venue {
    color: var(--accent);
    font-weight: 500;
}

.tag {
    background: var(--tag-bg);
    color: var(--accent);
    padding: 1px 7px;
    border-radius: 3px;
    font-size: 0.75rem;
}

.meta a {
    color: #999;
    font-size: 0.78rem;
}
.meta a:hover { color: var(--accent); }

/* Experience */
.exp {
    margin-bottom: 16px;
}

footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: #bbb;
    font-family: 'DM Mono', monospace;
    text-align: center;
}

@media (max-width: 540px) {
    header { flex-direction: column; gap: 18px; }
    header img { width: 80px; height: 80px; }
}

/* Education */
.education p {
    font-size: 1rem;
}


footer {
    margin-top: 72px;
    padding-top: 20px;
    border-top: 1px solid var(--border);

    font-size: 0.78rem;
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.08em;

    color: var(--muted);
    text-align: center;
}