:root {
  color-scheme: light;
  --bg: #ffffff;
  --text: #202124;
  --heading: #121317;
  --muted: #5f6368;
  --line: #e8eaed;
  --link: #1a73e8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Google Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17.5px;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--link);
}

.shell {
  width: min(100% - 48px, 1680px);
  margin-inline: auto;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  width: auto;
  height: auto;
  margin: 12px;
  padding: 8px 12px;
  clip: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  z-index: 20;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  color: var(--heading);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 15.5px;
}

.nav-links a {
  color: var(--heading);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--link);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #fff;
  color: var(--heading);
}

.person-page {
  padding-top: 80px;
}

.person-hero {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  column-gap: 86px;
  align-items: start;
}

.portrait {
  width: 156px;
  height: 156px;
  justify-self: end;
  margin-top: 0;
  border-radius: 50%;
  object-fit: cover;
  background: #f1f3f4;
}

.person-content {
  max-width: 1120px;
}

.offset {
  margin-left: 306px;
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0 0 28px;
  color: var(--heading);
  font-size: clamp(52px, 4.7vw, 72px);
  font-weight: 450;
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 42px 0 14px;
  color: var(--heading);
  font-size: 24px;
  font-weight: 450;
  line-height: 1.2;
}

h3 {
  margin: 0;
  color: var(--heading);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
}

p {
  margin: 0 0 8px;
}

ul {
  margin: 0 0 24px;
  padding-left: 24px;
}

li {
  margin: 0 0 8px;
}

strong {
  font-weight: 600;
}

.contact-line {
  margin-top: 24px;
}

.contact-line span {
  margin: 0 8px;
  color: var(--muted);
}

.content-section {
  padding-bottom: 80px;
}

.paper-list li {
  margin-bottom: 18px;
}

.page-title {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  column-gap: 86px;
  align-items: start;
  margin-bottom: 8px;
}

.page-title h1 {
  grid-column: 2;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14.5px;
}

.site-footer .shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

@media (max-width: 980px) {
  .person-hero,
  .page-title {
    grid-template-columns: 1fr;
    row-gap: 26px;
  }

  .portrait {
    justify-self: start;
    width: 136px;
    height: 136px;
  }

  .offset {
    margin-left: 0;
  }

  .page-title h1 {
    grid-column: 1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16.5px;
    line-height: 1.5;
  }

  .shell {
    width: min(100% - 32px, 1680px);
  }

  .nav {
    min-height: 62px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 64px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(60, 64, 67, 0.12);
    z-index: 10;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 12px;
  }

  .person-page {
    padding-top: 44px;
  }

  .portrait {
    width: 108px;
    height: 108px;
    font-size: 30px;
  }

  h1 {
    margin-bottom: 22px;
    font-size: 46px;
  }

  h2 {
    margin-top: 34px;
  }

  .site-footer .shell {
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding-block: 18px;
  }
}
