* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica,
    Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

a {
  color: #2563eb;
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 99, 235, 0.32);
}

a:hover,
a:focus {
  color: #1d4ed8;
  border-bottom-color: #1d4ed8;
}

.container {
  width: min(930px, calc(100% - 32px));
  margin: 0 auto;
}

.site-nav {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.96);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 14px 0;
}

.site-links {
  display: flex;
  gap: 12px 34px;
}

.site-links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
  cursor: pointer;
  font: inherit;
  font-size: 1.675rem;
  line-height: 1.35;
}

.site-links button[aria-pressed="true"],
.site-links button:hover,
.site-links button:focus {
  color: #2563eb;
}

.site-links button[aria-pressed="true"] {
  font-weight: 700;
}

[hidden] {
  display: none !important;
}

.page-header {
  margin: 0 0 24px;
}

.page-header h1 {
  margin: 0 0 4px;
  font-size: 2.375rem;
  font-weight: 700;
  line-height: 1.2;
}

.page-header p {
  margin: 0;
  color: #555;
}

.section {
  margin: 42px 0 2.5rem;
}

.section p {
  margin: 0 0 1rem;
}

.about-copy p {
  text-align: justify;
  hyphens: auto;
}

.profile {
  float: right;
  width: 30%;
  min-width: 190px;
  margin: 0 0 1rem 1rem;
  font-size: 1.045rem;
}

.profile-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 6px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #f3f3f3;
  object-fit: cover;
}

.profile > p {
  margin: 0;
  color: #555;
  font-family: "Courier New", Courier, monospace;
  line-height: 1.45;
}

.profile-links {
  margin: 0.85rem 0 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid #e6e6e6;
  list-style: none;
}

.profile-links li {
  margin: 0 0 0.45rem;
}

.profile-links a {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
  color: #2563eb;
  border-bottom: 0;
}

.profile-links a:visited {
  color: #1e40af;
}

.profile-links a:hover span:last-child,
.profile-links a:focus span:last-child {
  text-decoration: underline;
}

.profile-links span:last-child {
  overflow-wrap: anywhere;
}

.icon {
  width: 1rem;
  height: 1rem;
  color: #555;
}

.icon-fill {
  fill: currentColor;
}

.icon-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-links a:hover .icon,
.profile-links a:focus .icon {
  color: #2563eb;
}

h2 {
  margin: 0 0 24px;
  font-size: 2.375rem;
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  margin: 1.85rem 0 0.65rem;
  font-size: 1.175rem;
  font-weight: 700;
}

.research-lede {
  max-width: 760px;
  margin: 0 0 1.4rem 1.35rem;
  color: #333;
  text-align: justify;
  hyphens: auto;
}

.interest-list {
  margin: 0 0 1.4rem;
  padding-left: 1.35rem;
}

.interest-list li {
  margin-bottom: 0.45rem;
}

.publication-list {
  margin: 0 0 1.4rem;
  padding-left: 1.35rem;
}

.publication {
  margin-bottom: 1.05rem;
  padding-left: 0.25rem;
}

.publication-title {
  margin: 0 0 0.15rem;
  font-weight: 700;
  line-height: 1.45;
}

.publication-authors,
.publication-venue {
  margin: 0 0 0.12rem;
  color: #555;
  font-size: 1.065rem;
  line-height: 1.5;
}

.publication-venue {
  color: #333;
}

.selected-publications {
  padding-left: 1.2rem;
}

.selected-publications .publication {
  margin-bottom: 1.2rem;
  padding-left: 0.35rem;
  border-left: 2px solid #eee;
}

@media (max-width: 720px) {
  .site-nav .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile {
    float: none;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 1.5rem;
    text-align: center;
  }

  .profile-photo {
    width: min(68vw, 260px);
    margin: 0 auto 0.75rem;
  }

  .profile-links {
    max-width: 22rem;
    margin-right: auto;
    margin-left: auto;
    text-align: left;
  }
}
