@import url("https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,400;0,500;0,600;0,700;1,500;1,600&display=swap");

:root {
  color-scheme: light;
  --serif: "Crimson Pro", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bg: #f7f7f4;
  --surface: #ffffff;
  --ink: #1f2933;
  --muted: #667085;
  --soft: #d9dee8;
  --line: #e4e7ec;
  --accent: #1f6f78;
  --accent-quiet: #e5f3f2;
  --warm: #9b5b2e;
  --shadow: 0 18px 55px rgba(31, 41, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(247, 247, 244, 0.94) 320px),
    var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
}

.skip-link:focus {
  left: 24px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

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

.site-header {
  padding: 48px 0 28px;
}

.header-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.profile-panel {
  position: sticky;
  top: 28px;
  display: grid;
  gap: 18px;
}

.avatar {
  width: 152px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

h1,
h2,
h3 {
  font-family: var(--sans);
}

h1 {
  color: #101828;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0;
}

h2 {
  color: #101828;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0;
}

h3 {
  color: #17202a;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 650;
  letter-spacing: 0;
}

.role {
  margin-top: 7px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 650;
}

.affiliation {
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--sans);
}

.contact-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-family: var(--sans);
  list-style: none;
  font-size: 0.94rem;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-bottom: 54px;
  font-family: var(--sans);
  font-size: 0.92rem;
}

.top-nav a {
  color: #344054;
}

.lead {
  max-width: 700px;
  color: #17202a;
  font-size: clamp(1.12rem, 1.9vw, 1.34rem);
  line-height: 1.5;
  font-weight: 500;
}

.intro-note {
  max-width: 690px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 1rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 56px;
  padding: 26px 0 64px;
}

.section {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 56px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.section-heading p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.88rem;
}

.section-body {
  min-width: 0;
}

.prose {
  display: grid;
  gap: 14px;
  max-width: 760px;
  color: #364152;
  font-size: 1.04rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
  font-family: var(--sans);
}

.tag-list span {
  padding: 4px 9px;
  border: 1px solid #cfe2e0;
  border-radius: 999px;
  background: var(--accent-quiet);
  color: #235f65;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
}

.timeline {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
}

time {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.88rem;
}

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

.publication {
  display: grid;
  grid-template-columns: minmax(170px, 0.38fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
}

.publication--featured {
  border-color: #a7d8d3;
  background:
    linear-gradient(90deg, rgba(229, 243, 242, 0.92), rgba(255, 255, 255, 0.86) 48%),
    var(--surface);
  box-shadow: 0 14px 36px rgba(31, 111, 120, 0.1);
}

.publication-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.publication-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.publication-content {
  min-width: 0;
}

.publication-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 7px;
}

.type-label {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 2px 7px;
  border: 1px solid #d5d9e2;
  border-radius: 999px;
  background: #f7f8fa;
  color: #667085;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
}

.type-label--venue {
  border-color: #e6c8ad;
  background: #fff1e7;
  color: #8a4b24;
}

.publication .authors {
  margin-top: 7px;
  color: #475467;
  font-size: 1rem;
  line-height: 1.48;
}

.publication .venue {
  margin-top: 7px;
  color: var(--warm);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
}

.publication .links {
  display: flex;
  gap: 12px;
  margin-top: 5px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 650;
}

.entry {
  display: grid;
  gap: 4px;
}

.entry p {
  color: #475467;
}

.entry time,
.compact-list,
.site-footer {
  font-family: var(--sans);
}

.compact-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: #475467;
  list-style: none;
}

.compact-list strong {
  color: #17202a;
  font-weight: 700;
}

.compact-list li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.compact-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 34px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.9rem;
}

@media (max-width: 840px) {
  .page-shell {
    width: min(100% - 28px, 680px);
  }

  .site-header {
    padding-top: 28px;
  }

  .header-grid,
  .content-grid,
  .section {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .profile-panel {
    position: static;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
  }

  .avatar {
    width: 112px;
  }

  .contact-list {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-nav {
    margin-bottom: 34px;
  }

  .lead {
    font-size: 1.08rem;
  }

  .section {
    padding: 22px 0;
  }

  .publication {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 14px;
  }
}

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

  .profile-panel {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
  }

  .avatar {
    width: 88px;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

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

  .publication {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .publication-media img {
    aspect-ratio: 16 / 9;
  }

  .compact-list li {
    display: grid;
    gap: 2px;
  }
}
