:root {
  --bg: #ffffff;
  --surface: #f7f8fa;
  --text: #1f2933;
  --muted: #667085;
  --line: #e5e7eb;
  --accent: #245b9e;
  --accent-soft: #edf4fb;
  --max: 920px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 40px));
  height: 62px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 22px;
}

nav a,
.profile-links a {
  color: var(--muted);
  font-size: 0.93rem;
  text-decoration: none;
}

nav a:hover,
.profile-links a:hover,
.publication-content h3 a:hover {
  color: var(--accent);
}

.page {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 136px 1fr;
  gap: 34px;
  align-items: center;
  padding: 82px 0 70px;
}

.profile-photo {
  width: 136px;
  height: 136px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 4px;
  font-size: clamp(2.15rem, 5vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.role {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 1rem;
}

.summary {
  max-width: 680px;
  margin-bottom: 16px;
  font-size: 1.03rem;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.profile-links a {
  font-weight: 650;
}

.section-block {
  padding: 54px 0;
  border-top: 1px solid var(--line);
}

.section-block h2 {
  margin-bottom: 22px;
  font-size: 1.38rem;
  letter-spacing: -0.025em;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: baseline;
  margin-bottom: 24px;
}

.section-heading h2 { margin-bottom: 0; }
.section-heading p {
  max-width: 480px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: right;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tags span {
  padding: 6px 11px;
  border: 1px solid #dce6f1;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #344f70;
  font-size: 0.9rem;
}

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

.publication-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.publication-thumb {
  height: 154px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}

.publication-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 8%;
}

.publication-content {
  align-self: center;
}

.publication-meta {
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.publication-content h3,
.simple-list h3,
.timeline h3 {
  margin-bottom: 7px;
  font-size: 1.02rem;
  line-height: 1.48;
  letter-spacing: -0.015em;
}

.publication-content h3 a {
  text-decoration: none;
}

.publication-content > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.simple-list {
  display: grid;
  gap: 0;
}

.simple-list article {
  padding: 18px 0;
}

.simple-list article + article {
  border-top: 1px solid var(--line);
}

.simple-list h3 { margin-bottom: 0; }

.timeline {
  display: grid;
}

.timeline article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 17px 0;
}

.timeline article + article {
  border-top: 1px solid var(--line);
}

.timeline h3 { margin-bottom: 2px; }
.timeline p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.timeline span {
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
}

.footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}
.footer p { margin-bottom: 0; }

@media (max-width: 720px) {
  .nav-wrap {
    width: min(100% - 28px, var(--max));
  }
  nav { gap: 13px; }
  nav a { font-size: 0.84rem; }
  .page,
  .footer {
    width: min(100% - 28px, var(--max));
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 52px 0 48px;
  }
  .profile-photo {
    width: 104px;
    height: 104px;
  }
  .section-block { padding: 42px 0; }
  .section-heading {
    display: block;
  }
  .section-heading h2 { margin-bottom: 8px; }
  .section-heading p { text-align: left; }
  .publication-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 14px;
  }
  .publication-thumb {
    height: 190px;
  }
  .publication-thumb img {
    object-position: center 11%;
  }
  .timeline article {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
