:root {
  color-scheme: light;
  --bg: #eef2e2;
  --surface: #fbfcf7;
  --surface-strong: #ffffff;
  --ink: #171915;
  --muted: #62685e;
  --line: #d4dac8;
  --accent: #2457d6;
  --accent-strong: #173da8;
  --accent-soft: #dfe8ff;
  --coral: #c94b3d;
  --gold: #9f7420;
  --shadow: 0 18px 45px rgba(28, 35, 22, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-strong);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px 6vw;
  border-bottom: 1px solid rgba(212, 218, 200, 0.8);
  background: rgba(251, 252, 247, 0.92);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-size: 14px;
}

.brand-text {
  font-size: 16px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

main {
  width: 100%;
}

.intro {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  max-width: 1180px;
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 68px 28px 58px;
}

.intro-media {
  align-self: start;
}

.profile-photo {
  display: block;
  width: 260px;
  height: 320px;
  border: 1px solid rgba(23, 25, 21, 0.16);
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow);
}

.intro-copy {
  max-width: 900px;
}

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

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

h1 {
  margin-bottom: 12px;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 span {
  font-weight: 760;
}

h2 {
  margin-bottom: 22px;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 6px;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: 0;
}

.role {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 20px;
  font-weight: 620;
}

.contact-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.contact-strip a {
  font-weight: 680;
}

.icon-button {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--ink);
  cursor: pointer;
}

.icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

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

.icon-button.is-copied {
  border-color: #2f7c4f;
  color: #2f7c4f;
}

.interest-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.interest-list li {
  min-height: 34px;
  padding: 5px 13px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  font-size: 15px;
  font-weight: 650;
}

.bio {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: 19px;
}

.section-block,
.contact-section {
  padding: 70px 6vw;
}

.section-block > *,
.contact-section > * {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.section-alt {
  background: rgba(255, 255, 255, 0.44);
  border-top: 1px solid rgba(212, 218, 200, 0.72);
  border-bottom: 1px solid rgba(212, 218, 200, 0.72);
}

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

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

.timeline-item,
.publication-item,
.news-item,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(28, 35, 22, 0.06);
}

.timeline-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  padding: 20px;
}

.timeline-year {
  color: var(--accent-strong);
  font-weight: 820;
}

.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.publication-list {
  display: grid;
  gap: 16px;
  margin-top: 0;
  padding-left: 0;
  list-style: none;
}

.publication-item {
  padding: 22px;
}

.paper-authors,
.paper-meta {
  margin-bottom: 8px;
  color: var(--muted);
}

.publication-item h3 {
  margin-bottom: 10px;
}

.publication-item h3 a {
  color: var(--accent);
  text-decoration: none;
}

.publication-item h3 a:hover {
  text-decoration: underline;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
}

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

.news-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 17px 20px;
}

.news-item time {
  color: var(--accent-strong);
  font-size: 15px;
  font-weight: 780;
}

.news-item p {
  margin-bottom: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 760px);
  gap: 30px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.contact-section > * {
  margin-left: 0;
  margin-right: 0;
}

.contact-card {
  padding: 24px;
}

.contact-card p {
  margin-bottom: 10px;
  color: var(--muted);
}

.site-footer {
  padding: 28px 6vw 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    min-height: auto;
    padding: 16px 22px;
  }

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

  .intro {
    grid-template-columns: 1fr;
    gap: 26px;
    min-height: auto;
    padding: 38px 22px 48px;
  }

  .profile-photo {
    width: 210px;
    height: 258px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 29px;
  }

  .role,
  .bio {
    font-size: 17px;
  }

  .section-block,
  .contact-section {
    padding: 54px 22px;
  }

  .timeline-item,
  .news-item,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .timeline-item,
  .publication-item,
  .news-item,
  .contact-card {
    padding: 18px;
  }
}

@media (max-width: 480px) {
  .brand-text {
    display: none;
  }

  .site-nav a {
    padding: 7px 8px;
    font-size: 13px;
  }

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

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 18px;
  }

  .contact-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .interest-list li {
    font-size: 14px;
  }
}
