:root {
  --bg: #f7f7f4;
  --surface: #ffffff;
  --text: #1f2933;
  --muted: #5c6670;
  --line: #d9ddd7;
  --accent: #23527c;
  --accent-dark: #183b59;
  --soft: #eef2f5;
}

* {
  box-sizing: border-box;
}

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

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

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

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

.profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 40px;
  align-items: center;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
}

h1 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 44px;
  font-weight: 600;
  color: #111820;
}

h1 span {
  display: inline-block;
  margin-left: 10px;
  color: var(--muted);
  font-size: 32px;
  font-weight: 500;
}

.role {
  margin: 12px 0 0;
  color: #173f3f;
  font-size: 18px;
  font-weight: 700;
}

.summary {
  max-width: 680px;
  margin: 20px 0 0;
  color: #2d3741;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.profile-links a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 600;
}

.profile-links a:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.profile-links a[aria-disabled="true"] {
  color: var(--muted);
}

.profile-mark {
  width: 180px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(35, 82, 124, 0.10), rgba(35, 82, 124, 0.02)),
    var(--surface);
}

.profile-mark span {
  font-family: "Source Serif 4", Georgia, serif;
  color: var(--accent-dark);
  font-size: 54px;
  font-weight: 600;
}

.section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.section h2 {
  margin-bottom: 16px;
  color: #111820;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
}

.section p {
  max-width: 780px;
  margin: 0;
  color: #2d3741;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.timeline-item:first-child {
  border-top: 0;
}

.timeline-item h3 {
  margin-bottom: 6px;
  color: #111820;
  font-size: 18px;
  font-weight: 700;
}

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

.timeline-item span,
.note {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

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

.interest-list li {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: #e5eeeb;
  color: #0d4d4f;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

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

.section-heading-row h2 {
  margin-bottom: 0;
}

.publication {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.publication:first-of-type {
  border-top: 0;
}

.pub-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.pub-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.pub-year {
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.publication h3 {
  margin-bottom: 8px;
  color: #111820;
  font-size: 18px;
  font-weight: 700;
}

.publication p {
  margin: 7px 0;
  color: var(--muted);
}

.pub-authors {
  color: #2d3741;
}

.pub-venue {
  font-style: italic;
}

.pub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.pub-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 600;
}

.pub-links a:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.footer {
  padding-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer p {
  margin: 0;
}

@media (max-width: 720px) {
  .page {
    width: min(100% - 28px, 920px);
    padding-top: 32px;
  }

  .profile {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .profile-mark {
    width: 132px;
  }

  h1 {
    font-size: 34px;
  }

  h1 span {
    display: block;
    margin-left: 0;
    margin-top: 6px;
    font-size: 26px;
  }

  .publication {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section-heading-row {
    display: block;
  }

  .note {
    display: inline-block;
    margin-top: 6px;
  }
}
