:root {
  --background: #ffffff;
  --text: #202124;
  --muted: #646b73;
  --link: #175a85;
  --link-hover: #0a3c5c;
  --rule: #dfe3e6;
  --content-width: 960px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

.page {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  padding-block: 76px 56px;
}

.profile {
  min-width: 0;
}

.content {
  min-width: 0;
}

.profile__photo {
  display: block;
  width: 230px;
  max-width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center center;
  border-radius: 2px;
}

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

h1 {
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.profile__role {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.introduction {
  max-width: 650px;
  font-size: 1.08rem;
}

.introduction p {
  margin-bottom: 10px;
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.94rem;
  font-style: normal;
}

.research {
  margin-top: 68px;
}

.research > h2 {
  margin-bottom: 46px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
  font-weight: 500;
}

.research-group + .research-group {
  margin-top: 58px;
}

.research-group > h3 {
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  font-weight: 500;
}

.paper {
  padding-bottom: 31px;
  border-bottom: 1px solid var(--rule);
}

.paper + .paper {
  padding-top: 31px;
}

.paper h4 {
  max-width: 800px;
  margin-bottom: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.14rem;
  font-weight: 600;
  line-height: 1.45;
}

.paper h4 a {
  color: var(--link);
  text-decoration-color: currentColor;
}

.paper h4 a:hover,
.paper h4 a:focus-visible {
  color: var(--link);
  text-decoration-color: currentColor;
}

.paper__authors,
.paper__status {
  margin-bottom: 3px;
}

.paper__authors {
  color: #373c41;
}

.paper__status {
  color: var(--muted);
  font-size: 0.94rem;
}

.paper__note {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-style: italic;
}

.paper__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.paper__controls > a {
  font-weight: 600;
}

.abstract {
  margin: 0;
}

.abstract summary {
  width: max-content;
  color: var(--link);
  cursor: pointer;
  font-size: 0.93rem;
  font-weight: 600;
  list-style: none;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.abstract summary::-webkit-details-marker {
  display: none;
}

.abstract summary::after {
  content: " +";
  display: inline-block;
  margin-left: 2px;
  text-decoration: none;
}

.abstract[open] summary::after {
  content: " −";
}

.abstract p {
  max-width: 800px;
  margin: 19px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--rule);
  color: #454b51;
  font-size: 0.96rem;
}

.paper--compact {
  padding-bottom: 22px;
}

.paper--compact + .paper--compact {
  padding-top: 22px;
}

.paper--compact h4 {
  margin-bottom: 3px;
}

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

  .page {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 34px;
  }

  h1 {
    margin-bottom: 20px;
  }

  .profile__photo {
    width: 250px;
    max-width: 68vw;
    height: 250px;
    max-height: 68vw;
  }

  .research {
    margin-top: 56px;
  }

  .research > h2 {
    margin-bottom: 36px;
  }

  .contact span {
    max-width: 330px;
  }
}

@media print {
  .page {
    width: 100%;
    padding: 0;
  }

  a {
    color: inherit;
  }

}
