:root {
  color-scheme: light;
  --text: #222222;
  --muted: #555555;
  --link: #2b5fab;
  --venue: #a33b2f;
  --line: #dddddd;
  --paper: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family:
    Arial,
    Helvetica,
    sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

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

a:hover {
  color: #f09228;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid rgba(23, 114, 208, 0.3);
  outline-offset: 3px;
}

.page {
  width: min(calc(100% - 32px), 860px);
  margin: 0 auto;
  padding: 38px 0 42px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 34px;
  align-items: center;
  margin-bottom: 44px;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 2.15rem;
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
}

.intro-text p {
  margin-bottom: 11px;
}

.links {
  margin-top: 13px;
  text-align: center;
}

.mark-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.mark-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #3d3d3d;
  transition:
    color 140ms ease,
    transform 140ms ease;
}

.mark-link:hover {
  color: #f09228;
  transform: translateY(-1px);
}

.mark-link i {
  font-size: 2.55rem;
  line-height: 1;
}

.scholar-link {
  color: #3d3d3d;
}

.scholar-link:hover {
  color: #f09228;
}

.photo {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.08);
  object-fit: cover;
  object-position: center;
}

.section {
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 15px;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.25;
}

.section > p {
  margin-bottom: 0;
}

.publication {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 18px 0;
  margin-bottom: 10px;
}

.thumb {
  width: 160px;
  height: 160px;
  display: block;
  margin: 0 auto;
  overflow: hidden;
  border: 0;
  object-fit: contain;
  background: transparent;
}

h3 {
  margin-bottom: 3px;
  color: var(--link);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.authors,
.venue,
.pub-links {
  color: var(--link);
  margin-bottom: 3px;
}

.publication p {
  margin-bottom: 0;
}

.venue {
  color: var(--venue);
  font-style: italic;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  margin-bottom: 8px;
}

.date {
  display: inline-block;
  width: 104px;
  color: var(--muted);
}

footer {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

footer p {
  margin-bottom: 0;
}

@media (max-width: 680px) {
  .page {
    width: min(calc(100% - 24px), 860px);
    padding-top: 28px;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 34px;
  }

  .photo {
    order: -1;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    font-size: 2.2rem;
  }

  h1 {
    margin-bottom: 14px;
  }

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

  .thumb {
    width: 100%;
    max-width: 220px;
    height: auto;
    aspect-ratio: 1;
  }

  .date {
    display: block;
    width: auto;
    margin-bottom: 1px;
  }
}
