:root {
  --text: #202124;
  --muted: #5f6368;
  --link: #1a73e8;
  --max-width: 65rem;
  --profile-photo-max: 300px;
  --profile-photo-min: 280px;
  --profile-photo-vw: 24vw;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.intro {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) auto;
  gap: 2rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

.profile-photo {
  width: clamp(var(--profile-photo-min), var(--profile-photo-vw), var(--profile-photo-max));
  height: auto;
  max-width: 100%;
  border-radius: 4px;
  display: block;
}

.intro-body {
  min-width: min(100%, 18rem);
}

@media (max-width: 900px) {
  .intro {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .profile-photo {
    order: -1;
    justify-self: center;
    margin-bottom: 0.5rem;
  }
}

h1 {
  font-size: 2.25rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2.5rem 0 0.75rem;
}

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

a:hover {
  text-decoration: underline;
}

.contact {
  margin-top: 1.25rem;
}

.note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.paper {
  margin-bottom: 1.5rem;
}

.paper .title {
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--text);
}

.paper .authors,
.paper .venue {
  margin: 0;
  color: var(--muted);
}

.paper .authors strong {
  font-weight: 600;
  color: var(--text);
}
