:root {
  color-scheme: light;
  --moss: #5c7042;
  --moss-dark: #40512b;
  --text: #343b2e;
  --muted: #68715f;
  --line: #dce2d6;
  --white: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { background: var(--white); }
body {
  margin: 0;
  border-top: 6px solid var(--moss);
  background: var(--white);
  color: var(--text);
  font-size: 18px;
  line-height: 1.8;
}
::selection { color: var(--white); background: var(--moss); }
a {
  color: var(--moss);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-skip-ink: auto;
}
a:hover { color: var(--moss-dark); text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--moss); outline-offset: 5px; border-radius: 2px; }
.page {
  width: min(100% - 80px, 980px);
  min-height: calc(100svh - 6px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 29px 0 23px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.3;
  text-decoration: none;
  letter-spacing: -.4px;
}
.site-header nav { display: flex; gap: 28px; }
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  text-decoration: none;
}
.site-header nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 7px; }
.site-header nav a:hover { text-decoration: underline; text-underline-offset: 7px; }
main { flex: 1; padding: 80px 0 105px; }
.introduction { max-width: 750px; }
h1 {
  margin: 0 0 31px;
  color: var(--moss);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(45px, 6.5vw, 70px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -2px;
}
p { margin: 0 0 27px; }
.lead { max-width: 730px; font-size: 23px; line-height: 1.65; }
.personal-note { margin-top: 39px; margin-bottom: 0; font-size: 17px; }
.personal-interests { margin: 0; padding-left: 1.3em; }
.personal-interests li { margin-bottom: 24px; padding-left: .3em; }
.personal-interests li::marker { color: var(--moss); }
.personal-section h2 {
  margin: 35px 0 12px;
  color: var(--moss);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.35;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 29px;
  color: var(--muted);
  font-size: 13px;
}
.skip-link {
  position: absolute;
  top: 12px;
  left: 16px;
  padding: 9px 14px;
  color: var(--white);
  background: var(--moss);
  transform: translateY(-180%);
  z-index: 10;
}
.skip-link:focus { transform: translateY(0); color: var(--white); }
@media (max-width: 600px) {
  body { font-size: 17px; line-height: 1.8; }
  .page { width: calc(100% - 44px); }
  .site-header { gap: 14px; padding: 17px 0; }
  .wordmark { font-size: 21px; }
  .site-header nav { gap: 19px; }
  .site-header nav a { font-size: 14px; }
  main { padding: 54px 0 72px; }
  h1 { letter-spacing: -1.4px; margin-bottom: 26px; }
  .lead { font-size: 21px; line-height: 1.65; }
  .personal-note { margin-top: 32px; font-size: 16px; }
}
@media (max-width: 360px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 6px; }
  .site-header nav { gap: 25px; }
  main { padding-top: 43px; }
}

.profile-heading { display: flex; align-items: center; gap: 26px; margin-bottom: 34px; }
.profile-heading h1 { margin: 0; }
.portrait { width: 142px; height: 142px; flex-shrink: 0; border-radius: 50%; overflow: hidden; background: var(--line); }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 37%; transform: scale(3); }
.contact { margin: 0 0 24px; font-size: 16px; }
.contact a { overflow-wrap: anywhere; }
.home-section { max-width: 750px; margin-top: 55px; padding-top: 34px; border-top: 1px solid var(--line); }
.home-section h2, .publication h2 { color: var(--moss); font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 30px; line-height: 1.3; margin: 0 0 20px; }
.home-section p { margin-bottom: 17px; }
.publication-title { margin: 0; font-size: 21px; font-weight: 400; line-height: 1.5; }
.section-link { font-size: 16px; }
.credentials { margin: 0; }
.credentials div { margin-top: 22px; }
.credentials dt { font-weight: 500; }
.credentials dd { margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.publication { margin-top: 45px; padding-top: 28px; border-top: 1px solid var(--line); }
.eyebrow { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
@media (max-width: 600px) {
  .site-header { flex-wrap: wrap; }
  .site-header nav { flex-wrap: wrap; gap: 20px; }
  .profile-heading { align-items: flex-start; flex-direction: column; gap: 23px; }
  .portrait { width: 126px; height: 126px; }
  .home-section { margin-top: 42px; }
}
