:root {
  color-scheme: light;
  --ink: #292827;
  --muted: #575552;
  --rule: #dfddda;
  --accent: #384e58;
  --gutter: clamp(19px, 5vw, 55px);
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: #f6f6f5;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  font-size: 1.0625rem;
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

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

h1, h2 {
  margin: 0 0 0.4em;
  font-size: clamp(1.375rem, 3.5vw, 1.625rem);
  line-height: 1.3;
}

p { margin: 0 0 1em; }

.page-width {
  width: min(56.5rem, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 1;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  background: #fff;
}

.site-header {
  padding-top: clamp(30px, 5vw, 49px);
  text-align: center;
}

.site-name {
  display: inline-block;
  color: #383735;
  font-size: clamp(1.5rem, 4vw, 1.9375rem);
  line-height: 1.3;
  letter-spacing: 0.095em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: clamp(11px, 3vw, 30px);
  margin-top: 22px;
  border-bottom: 1px solid var(--rule);
  font-family: Arial, Helvetica, sans-serif;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 3px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 0.875rem;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover, .site-nav a[aria-current="page"] {
  border-color: var(--accent);
  color: var(--ink);
}

.content {
  min-height: 25.5rem;
  padding-block: clamp(35px, 5.2vw, 60px) 72px;
  overflow-wrap: anywhere;
}

.content section + section { margin-top: 34px; }

.paper-list {
  margin: 0;
  padding-left: 2em;
}

.paper-list li + li { margin-top: 4px; }
.paper-list li::marker { color: #726f6b; }

.profile {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  align-items: start;
  gap: clamp(20px, 4vw, 38px);
}

.portrait {
  display: block;
  width: 100%;
  height: auto;
}

.placeholder {
  aspect-ratio: 3 / 4;
  background: #f7f7f6;
  border: 1px solid #eeedeb;
}

.biography { min-height: 4.5rem; }

@media (max-width: 540px) {
  .site-nav { margin-top: 14px; }
  .site-nav a { padding-inline: 1px; }
  .profile { grid-template-columns: minmax(0, 1fr); }
  .portrait { max-width: 12rem; }
  .biography { min-height: 0; }
  .paper-list { padding-left: 1.45em; }
}
