@font-face {
  font-family: "Site Latin";
  src: local("Times New Roman");
  unicode-range: U+0000-024F;
}

body {
  margin: 0;
  background: #f6f4ef;
  color: #222222;
  font-family: "Site Latin", Arial, sans-serif;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 8vw;
  border-bottom: 1px solid #d8d3c9;
}

.site-title {
  margin: 0;
}

.site-title a {
  color: #222222;
  font-family: inherit;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
}

.site-title a:hover {
  color: #9a3d26;
}

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

nav a {
  color: #222222;
  font-family: "Times New Roman", serif;
  font-size: 28px;
  font-weight: bold;
  padding-bottom: 5px;
  text-decoration: none;
  text-transform: none;
}

nav a:hover {
  color: #9a3d26;
}

nav a[aria-current="page"] {
  border-bottom: 2px solid currentColor;
}

main {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding: 11vw 8vw;
  padding-top: 5.5vw;
  display: flex;
  justify-content: center;
}

#about {
  box-sizing: border-box;
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}

h1,
h2 {
  font-family: "Site Latin", Arial, sans-serif;
}

h1 {
  margin: 0 0 16px;
  font-size: 24px;
}

h2 {
  margin: 0 0 28px;
  font-size: 48px;
}

p {
  max-width: 700px;
  font-size: 18px;
  line-height: 1.7;
}

p,
li,
summary {
  word-break: keep-all;
}

.profile-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 35%;
}

.about-copy h1 {
  margin-top: 0;
}

.about-copy p:first-child {
  margin-top: 0;
}

.research-page {
  width: min(900px, 100%);
}

.research-page h1 {
  font-size: 48px;
}

.research-section {
  margin-top: 88px;
  padding-top: 52px;
  border-top: 1px solid #d8d3c9;
}

.research-page h2 {
  margin: 0 0 36px;
  font-size: 40px;
}

.research-page h3 {
  margin: 48px 0 16px;
  font-size: 24px;
  font-weight: normal;
}

.works-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.works-list li {
  padding: 18px 0;
  padding-left: 2em;
  border-top: 1px solid #d8d3c9;
  font-size: 18px;
  line-height: 1.7;
  text-indent: -2em;
}

.works-list li:last-child {
  border-bottom: 1px solid #d8d3c9;
}

.works-group {
  margin-top: 48px;
}

.works-group summary {
  cursor: pointer;
  font-size: 24px;
  font-weight: normal;
  list-style: none;
}

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

.works-group summary::before {
  content: "+";
  display: inline-block;
  width: 28px;
}

.works-group[open] summary::before {
  content: "−";
}

.works-group .works-list {
  margin-top: 16px;
}

.contact-email {
  color: #222222;
  text-underline-offset: 4px;
}

.site-footer {
  margin-top: 80px;
  padding: 24px 8vw;
  border-top: 1px solid #d8d3c9;
  color: #666666;
  font-family: "Times New Roman", Arial, sans-serif;
  font-size: 14px;
  text-align: right;
}

.scholar-link {
  margin: -20px 0 36px;
  font-size: 14px;
}

.scholar-link a {
  color: #222222;
  text-decoration: none;
}

.scholar-link a:hover {
  color: #9a3d26;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 650px) {
  header {
    gap: 10px;
    padding: 18px 6vw;
  }

  .site-title a {
    font-size: 20px;
  }

  nav {
    gap: 16px;
  }

  nav a {
  font-size: 20px;
}

  main {
    padding: 16vw 6vw;
    padding-top: 8vw;
  }

  #about {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .profile-photo {
    width: min(280px, 100%);
  }
}
