:root {
  color-scheme: light;
  --bg: #fff;
  --text: #242424;
  --muted: #737373;
  --accent: #b509ac;
  --line: #e8e8e8;
  --wash: #f7f5f7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Roboto,"Helvetica Neue",Arial,sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

a:focus-visible,button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

header {
  border-bottom: 1px solid var(--line);
}

.bar {
  max-width: 930px;
  margin: auto;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 28px;
}

.wordmark {
  font-size: 18px;
  letter-spacing: -.3px;
  color: var(--text);
}

.wordmark strong {
  font-weight: 500;
}

.tools {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 14px;
}

.theme {
  border: 0;
  background: none;
  color: var(--text);
  cursor: pointer;
  font-size: 21px;
  width: 32px;
  height: 36px;
  padding: 0;
}

main {
  max-width: 930px;
  margin: 0 auto;
  padding: 100px 28px 60px;
}

.profile {
  display: grid;
  grid-template-columns: 1fr 172px;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 19px;
}

h1 {
  font-weight: 300;
  font-size: clamp(30px,4.8vw,43px);
  line-height: 1.15;
  letter-spacing: -1.6px;
  margin: 0 0 22px;
}

h1 strong {
  font-weight: 500;
}

.role {
  font-size: 19px;
  line-height: 1.7;
  margin: 0;
}

.affiliation {
  font-size: 17px;
  line-height: 1.8;
  margin: 3px 0 0;
}

.placeholder {
  color: var(--muted);
}

.avatar {
  height: 172px;
  width: 172px;
  border-radius: 50%;
  background: var(--wash);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.avatar .initials {
  font-size: 46px;
  font-weight: 300;
  letter-spacing: -2px;
  color: #9d819d;
}

.avatar small {
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.links-section {
  margin-top: 58px;
  padding: 27px 0 31px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h2 {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin: 0 0 20px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 29px;
  font-size: 16px;
}

.pending {
  color: var(--muted);
  cursor: default;
}

.pending::after {
  content: ' ↗';
  font-size: 13px;
  color: #aaa;
}

.hint {
  font-size: 12px;
  color: var(--muted);
  margin: 18px 0 0;
}

.research {
  display: flex;
  gap: 23px;
  align-items: center;
  padding-top: 33px;
}

.omega {
  font-size: 40px;
  line-height: 1;
  color: var(--accent);
  font-family: Georgia,serif;
}

.research h2 {
  margin: 0 0 8px;
  font-size: 12px;
}

.research a {
  font-size: 19px;
}

.research p {
  margin: 9px 0 0;
  font-size: 14px;
  color: var(--muted);
}

footer {
  max-width: 930px;
  margin: 65px auto 0;
  padding: 0 28px 28px;
  color: var(--muted);
  font-size: 12px;
}

html[data-theme=dark] {
  color-scheme: dark;
  --bg: #1c1c1d;
  --text: #e8e8e8;
  --muted: #aaa;
  --accent: #57b6d1;
  --line: #3b3b3d;
  --wash: #272529;
}

html[data-theme=dark] .avatar .initials {
  color: #aaa;
}

@media(max-width:600px) {
  .bar {
    padding: 0 24px;
  }

  .wordmark {
    font-size: 16px;
  }

  .tools {
    gap: 13px;
  }

  .tools a {
    display: none;
  }

  main {
    padding: 55px 24px 30px;
  }

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

  .avatar {
    grid-row: 1;
    width: 116px;
    height: 116px;
  }

  .avatar .initials {
    font-size: 35px;
  }

  .avatar small {
    font-size: 8px;
  }

  h1 {
    letter-spacing: -1px;
  }

  .eyebrow {
    margin-bottom: 14px;
  }

  .links-section {
    margin-top: 35px;
  }

  .links {
    gap: 18px 24px;
  }

  footer {
    margin-top: 40px;
    padding-left: 24px;
  }

}

.links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.links {
  gap: 16px;
}

.links a:hover {
  opacity: .75;
}

.links .fa-brands {
  font-size: 27px;
}
