:root {
  --font-base: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --link: #016491;
  --header-bg: #000000;
  --header-text: #ffffff;
  --text: #212121;
  --muted: rgba(0, 0, 0, 0.62);
  --line: #eeeeee;
  --page: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.5;
}

a:link,
a:visited,
a:hover,
a:active {
  color: var(--link);
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid #d00000;
  outline-offset: 3px;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 24px;
  background: var(--header-bg);
  color: var(--header-text);
}

.brand {
  flex: 0 0 auto;
  margin: 0;
  display: flex;
  align-items: center;
  height: 64px;
  color: var(--header-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.brand:link,
.brand:visited,
.brand:hover,
.brand:active {
  color: var(--header-text);
  text-decoration: none;
}

.top-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  align-self: stretch;
  min-width: 0;
}

.top-nav a {
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 0 16px;
  color: var(--header-text);
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.top-nav a span,
.top-nav a::after {
  grid-area: 1 / 1;
}

.top-nav a::after {
  content: attr(data-label);
  display: block;
  height: 0;
  overflow: hidden;
  font-weight: 700;
  visibility: hidden;
}

.top-nav a:link,
.top-nav a:visited,
.top-nav a:active {
  color: var(--header-text);
  text-decoration: none;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  background: #016491;
  color: var(--header-text);
  text-decoration: none;
}

.top-nav a:focus-visible {
  outline: 3px solid #d00000;
  outline-offset: -3px;
}

.top-nav a[aria-current="page"] {
  background: #016491;
  color: var(--header-text);
  font-weight: 700;
}

.hero-banner {
  position: relative;
  height: 160px;
  margin-top: 64px;
  overflow: hidden;
  background: #ffffff;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/header-abstract-lowpoly.png") center / cover no-repeat;
  filter: blur(10px);
  transform: scale(1.04);
}

.hero-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 25% 75%;
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.identity {
  position: sticky;
  top: 80px;
  z-index: 3;
  align-self: start;
  margin-top: -168px;
  padding-right: 24px;
}

.profile-photo {
  width: 100%;
  aspect-ratio: 1;
  margin: 0 auto 24px;
  object-fit: cover;
  object-position: center center;
  border-radius: 50%;
  background: #cccccc;
  box-shadow: 0 0 0 5px #ffffff;
}

.identity h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.identity p,
.meta,
.date {
  color: var(--muted);
}

.identity-rule {
  height: 1px;
  margin: 16px 0;
  border: 0;
  background: var(--line);
}

.identity p {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.5;
}

.profile-links {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.profile-links li {
  margin: 0 0 8px;
}

.profile-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #016491;
  font-size: 16px;
}

.profile-links a:link,
.profile-links a:visited,
.profile-links a:hover,
.profile-links a:active {
  color: #016491;
}

.link-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: currentColor;
  object-fit: contain;
}

.scholar-logo {
  color: #000000;
}

.linkedin-bg {
  fill: #000000;
}

.linkedin-fg {
  fill: #ffffff;
}

.cv-thumb {
  display: none;
}

.content {
  min-width: 0;
  padding-left: 24px;
}

main {
  max-width: 100%;
}

.eyebrow {
  display: none;
}

.page-title,
.section h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-transform: none;
}

.lede {
  margin: 24px 0 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

.section {
  padding: 0;
  margin-top: 24px;
  border: 0;
}

.section h2 {
  margin-top: 0;
}

.section h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.section p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.section p + p,
.section p + h2,
.section p + h3,
.section h2 + p,
.section h3 + p,
.section h2 + .timeline,
.section h2 + .feature-grid,
.section h2 + .stats,
.section h2 + .publication-list {
  margin-top: 24px;
}

.split {
  display: block;
}

.callout {
  margin-top: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.timeline,
.publication-list,
.feature-grid,
.stats {
  display: block;
}

.timeline-item,
.feature,
.publication,
.stat {
  display: block;
  margin-top: 24px;
  padding: 0;
  border: 0;
  background: transparent;
}

.timeline-item:first-child,
.feature:first-child,
.publication:first-child,
.stat:first-child {
  margin-top: 0;
}

.date {
  float: left;
  width: 112px;
  padding-right: 16px;
  font-size: 16px;
  font-weight: 400;
}

.timeline-item > div:last-child {
  margin-left: 112px;
}

.timeline-item::after {
  content: "";
  display: block;
  clear: both;
}

.meta {
  margin: 0;
  font-size: 16px;
}

.stat strong {
  display: inline;
  font-size: 16px;
  font-weight: 700;
}

.tag-list {
  margin: 24px 0 0;
  padding-left: 24px;
  list-style: disc;
}

.tag-list li {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 16px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button,
.button.secondary {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--link);
  font-size: 16px;
  font-weight: 400;
  text-decoration: underline;
}

.cv-frame {
  display: block;
  width: 100%;
  height: 720px;
  min-height: 720px;
  border: 1px solid #000000;
  background: #ffffff;
  overflow: hidden;
}

.cv-embed {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
}

.footer {
  width: 100%;
  margin: 0;
  padding: 24px max(24px, calc((100vw - 960px) / 2 + 24px));
  background: var(--header-bg);
  color: var(--header-text);
  font-size: 16px;
}

@media (min-width: 768px) {
  .hero-banner {
    height: 213px;
  }

  .identity {
    margin-top: calc(-50% - 48px);
  }
}

@media (max-width: 767px) {
  .site-header {
    padding: 0 16px;
  }

  .top-nav {
    justify-content: flex-end;
    overflow: hidden;
  }

  .top-nav a {
    padding: 0 7px;
    font-size: 14px;
  }

  .hero-banner {
    height: 240px;
  }

  .site-shell {
    display: block;
    padding: 48px 24px 72px;
  }

  .identity {
    position: static;
    margin-top: -168px;
    padding-right: 0;
    text-align: center;
  }

  .profile-photo {
    width: 240px;
    max-width: 100%;
    margin: 0 auto 24px;
  }

  .profile-links a {
    justify-content: center;
  }

  .content {
    padding-left: 0;
    margin-top: 48px;
  }

  .page-title,
  .section h2 {
    font-size: 32px;
  }

  .date {
    float: none;
    width: auto;
    padding-right: 0;
  }

  .timeline-item > div:last-child {
    margin-left: 0;
  }
}
