:root {
  --background: #fafaf7;
  --text: #303a38;
  --muted: #6a6d67;
  --accent: #42685f;
  --line: #deded8;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 25px; }
body { margin: 0; padding: 0 32px; background: var(--background); color: var(--text); font-family: var(--serif); font-size: 16px; line-height: 1.75; }
a { color: var(--accent); text-decoration-thickness: 1px; text-decoration-color: #a6b6af; text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: #e0e6dc; }
.site { display: grid; grid-template-columns: 200px minmax(0, 1fr); column-gap: 70px; width: min(860px, 100%); margin: 83px auto 0; align-items: start; }
.profile { font-family: var(--sans); font-size: 13px; line-height: 1.7; }
h1 { font-family: var(--serif); font-size: 25px; line-height: 1.3; font-weight: 400; margin: 0 0 10px; }
.role { font-size: 13px; color: var(--muted); margin: 0; }
.portrait-frame {
  position: relative;
  width: 124px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #d9e1d8;
  border-radius: 50%;
  background: #e7ede5;
  margin-top: 18px;
}
.portrait-frame img {
  position: absolute;
  left: -2%;
  bottom: -12%;
  display: block;
  width: 116%;
  height: auto;
}
nav { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 23px 0 30px; }
nav a { font-size: 13px; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.affiliation { font-size: 13px; line-height: 1.75; }
.affiliation a { text-decoration: none; }
.affiliation a:hover { text-decoration: underline; }
.affiliation p { margin: 3px 0 0; font-size: 12px; color: var(--muted); }
main { min-width: 0; padding-top: 2px; }
h2 { font-family: var(--sans); font-size: 14px; font-weight: 600; line-height: 1.5; margin: 0 0 11px; }
p { margin: 0 0 16px; }
section > p:last-child { margin-bottom: 0; }
#about h2 { margin-bottom: 8px; }
.introduction { font-size: 23px; line-height: 1.55; }
#research { margin-top: 35px; }
#contact { margin-top: 26px; }
#contact h2 { margin-bottom: 7px; }
.email-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 11px; }
.email { font-family: var(--sans); font-size: 14px; overflow-wrap: anywhere; }
.copy-email { border: 0; padding: 0; background: none; color: var(--muted); font-family: var(--sans); font-size: 11px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #bfc3ba; cursor: pointer; }
.copy-email:hover { color: var(--text); }
.copy-status { font-family: var(--sans); font-size: 11px; color: var(--muted); }
.copy-status:empty { display: none; }
.directory { display: inline-block; margin-top: 6px; font-family: var(--sans); font-size: 13px; }
footer { width: min(860px, 100%); margin: 33px auto 0; padding: 0 0 40px 270px; font-family: var(--sans); font-size: 11px; color: var(--muted); }
.skip-link { position: fixed; top: -90px; left: 20px; z-index: 5; background: var(--text); color: white; padding: 9px 15px; font-family: var(--sans); }
.skip-link:focus { top: 10px; }
@media (max-width: 800px) {
  .site { grid-template-columns: 190px minmax(0, 1fr); column-gap: 42px; margin-top: 55px; }
  footer { padding-left: 232px; }
  .introduction { font-size: 22px; }
}
@media (max-width: 620px) {
  body { padding-inline: 25px; }
  .site { display: block; margin-top: 35px; }
  .profile { padding-bottom: 23px; margin-bottom: 29px; border-bottom: 1px solid var(--line); }
  .identity { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; }
  .identity h1 { grid-column: 1; grid-row: 1; align-self: end; margin-bottom: 5px; }
  .identity .role { grid-column: 1; grid-row: 2; }
  .portrait-frame { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 68px; margin-top: 0; }
  nav { flex-direction: row; flex-wrap: wrap; gap: 8px 24px; margin: 17px 0 13px; }
  .affiliation { font-size: 12px; }
  .affiliation p { margin-top: 1px; }
  main { padding-top: 0; }
  .introduction { font-size: 22px; }
  #research { margin-top: 29px; }
  #contact { margin-top: 24px; }
  footer { padding: 0 0 30px; margin-top: 28px; }
}
@media print {
  body { padding: 0; background: white; }
  .site { width: 100%; margin: 0; grid-template-columns: 180px minmax(0,1fr); column-gap: 30px; }
  nav, .copy-email, .skip-link { display: none; }
  .affiliation { margin-top: 20px; }
  footer { width: 100%; padding-left: 210px; }
}
