:root {
  --bg: #ffffff;
  --surface: #f7f8fa;
  --text: #1f2933;
  --muted: #5f6b7a;
  --soft: #7d8794;
  --link: #1f5f99;
  --border: #d9dee7;
  --rule: #edf0f4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
}

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

.brand {
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
}

.page {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 20px;
}

.intro {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.profile-photo img {
  display: block;
  width: 220px;
  height: 276px;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.kicker {
  margin: 2px 0 4px;
  color: var(--muted);
  font-size: 0.98rem;
}

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

h1 {
  margin-bottom: 14px;
  font-size: 2.45rem;
  line-height: 1.15;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--rule);
  font-size: 1.28rem;
  line-height: 1.3;
}

h3 {
  margin-bottom: 2px;
  font-size: 1rem;
  line-height: 1.35;
}

.summary {
  max-width: 760px;
  margin-bottom: 12px;
  color: var(--text);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
}

.contact-links a {
  font-weight: 600;
}

.notice {
  margin: 22px 0 34px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--muted);
}

.notice strong {
  color: var(--text);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  align-items: start;
}

.section {
  margin-bottom: 36px;
}

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

.pub-group {
  margin-bottom: 18px;
}

.pub-group h3 {
  margin: 0 0 10px;
  padding-top: 2px;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 700;
}

.publication-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: publications;
}

.publication-list li {
  position: relative;
  counter-increment: publications;
  padding: 0 0 17px 34px;
  margin-bottom: 17px;
  border-bottom: 1px solid var(--rule);
}

.publication-list li::before {
  content: counter(publications) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--soft);
  font-weight: 600;
}

.pub-title,
.pub-authors,
.pub-venue {
  display: block;
  overflow-wrap: anywhere;
}

.pub-title {
  margin-bottom: 4px;
  font-weight: 700;
  line-height: 1.45;
}

.pub-authors {
  color: var(--muted);
  font-size: 0.95rem;
}

.pub-venue {
  margin-top: 3px;
  color: var(--link);
  font-size: 0.95rem;
  font-weight: 600;
}

.entry {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.entry:first-of-type {
  padding-top: 0;
}

.entry-date {
  color: var(--soft);
  font-size: 0.95rem;
}

.entry p {
  margin-bottom: 0;
}

.award-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.award-list li {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
}

.side-column {
  color: var(--muted);
}

.compact-section {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
}

.compact-section h2 {
  margin-bottom: 12px;
  padding-bottom: 0;
  border-bottom: 0;
  font-size: 1.08rem;
}

.compact-section p {
  margin-bottom: 10px;
}

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

.simple-list li {
  margin-bottom: 10px;
}

.simple-list li:last-child {
  margin-bottom: 0;
}

.simple-list span {
  color: var(--text);
  font-weight: 700;
}

.footer {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 10px 0 32px;
  border-top: 1px solid var(--border);
  color: var(--soft);
  font-size: 0.92rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
  }

  .nav {
    height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .page {
    padding-top: 28px;
  }

  .intro,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .intro {
    gap: 22px;
  }

  .profile-photo img {
    width: 180px;
    height: 226px;
  }

  h1 {
    font-size: 2.1rem;
  }

  .content-grid {
    gap: 14px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .nav,
  .page,
  .footer {
    width: min(100% - 28px, 1040px);
  }

  .profile-photo img {
    width: 150px;
    height: 188px;
  }

  .publication-list li {
    padding-left: 26px;
  }

  .entry {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .compact-section {
    padding: 15px;
  }
}
