:root {
  --text: #202124;
  --muted: #62666d;
  --link: #195c96;
  --line: #dedfe2;
  --background: #ffffff;
  --content-width: 900px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #103f68;
}

a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 8px 12px;
  color: #fff;
  background: #202124;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--content-width), calc(100% - 40px));
  margin-inline: auto;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.site-name {
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 164px;
  gap: 64px;
  align-items: start;
  padding-block: 88px 80px;
}

.kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}

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

h1 {
  margin-bottom: 8px;
  font-size: clamp(38px, 6vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.subtitle {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.45;
}

.intro {
  max-width: 670px;
  margin-bottom: 20px;
  font-size: 17px;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 0;
  font-size: 14px;
}

.portrait {
  width: 164px;
  height: 164px;
  margin-top: 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  object-fit: cover;
}

.section {
  padding-block: 58px;
  border-top: 1px solid var(--line);
}

h2 {
  margin-bottom: 32px;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.018em;
}

.experience-list {
  display: grid;
}

.role {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 28px;
  padding-block: 24px;
  border-top: 1px solid #eeeeef;
}

.role:first-child {
  padding-top: 0;
  border-top: 0;
}

.role:last-child {
  padding-bottom: 0;
}

.role-meta {
  display: flex;
  flex-direction: column;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.role h3 {
  margin-bottom: 7px;
  font-size: 17px;
  line-height: 1.45;
}

.role h3 span {
  color: var(--muted);
  font-weight: 500;
}

.role p:last-child {
  margin-bottom: 0;
  color: #45484d;
}

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

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

.section-heading > a {
  font-size: 14px;
}

.publication-list {
  margin: 0;
  padding-left: 24px;
}

.publication-list li {
  padding: 0 0 22px 8px;
}

.publication-list li:last-child {
  padding-bottom: 0;
}

.publication-title {
  display: block;
  width: fit-content;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
}

.publication-title:hover {
  color: var(--link);
  text-decoration: underline;
}

.publication-meta {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.focus-grid h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.focus-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  padding-block: 30px;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner p {
  margin-bottom: 0;
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 32px, var(--content-width));
  }

  .header-inner {
    display: block;
    padding-block: 16px;
  }

  nav {
    gap: 17px;
    margin-top: 8px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 56px;
  }

  .portrait {
    grid-row: 1;
    width: 112px;
    height: 112px;
    margin-top: 0;
  }

  .hero-copy {
    grid-row: 2;
  }

  .section {
    padding-block: 44px;
  }

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

  .role-meta {
    flex-direction: row;
    gap: 10px;
  }

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

  .footer-inner {
    display: block;
  }

  .footer-inner p + p {
    margin-top: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .site-header,
  .profile-links {
    display: none;
  }

  .hero {
    padding-block: 32px;
  }

  .section {
    padding-block: 30px;
  }
}
