:root {
  color-scheme: light;
  --background: #fdfdfc;
  --text: #292b2c;
  --muted: #626565;
  --link: #34566c;
  --rule: #dedfdb;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --font-body: 1rem;
  --font-name: 2.125rem;
  --font-section: 1.375rem;
  --font-paper: 1.125rem;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--serif);
  font-size: var(--font-body);
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 5px; }
.site-layout {
  display: grid;
  grid-template-columns: 15rem minmax(0, 35rem);
  gap: 6rem;
  max-width: 62rem;
  margin: 0 auto;
  padding: 6rem 3rem 5rem;
}
.identity { position: sticky; top: 6rem; align-self: start; font-family: var(--sans); }
h1, h2, h3 { font-family: var(--serif); }
h1 { margin: 0 0 1.25rem; font-size: var(--font-name); font-weight: 400; line-height: 1.2; letter-spacing: -0.035em; }
.position, .affiliation { margin: 0; line-height: 1.65; }
.affiliation { margin-top: 0.4rem; color: var(--muted); }
.email { margin: 1rem 0 0; line-height: 1.7; overflow-wrap: anywhere; }
.email-part { display: inline-block; white-space: nowrap; }
.unbroken { white-space: nowrap; }
nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}
nav a { padding: 0.3rem 0; text-decoration: none; }
nav a:hover, nav a:focus-visible { text-decoration: underline; }
main { min-width: 0; }
section + section { margin-top: 2.75rem; }
section { scroll-margin-top: 2rem; }
h2 { margin: 0 0 0.9rem; font-size: var(--font-section); font-weight: 400; line-height: 1.3; letter-spacing: -0.015em; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
.portrait { display: block; width: 9rem; max-width: 100%; height: auto; margin-bottom: 1.5rem; }
.paper { margin-top: 1.75rem; }
.paper + .paper { margin-top: 2.25rem; }
.paper-title { margin: 0; font-size: var(--font-paper); font-weight: 600; line-height: 1.5; }
.paper-pdf { font-size: 0.875rem; display: inline-block; color: #555; font-family: var(--mono); font-weight: 400; white-space: nowrap; text-decoration: none; }
a.paper-pdf:hover, a.paper-pdf:focus-visible { text-decoration: underline; }
.paper-description { margin: 0.65rem 0 0; }
.paper-coauthors, .paper-status { margin: 0.35rem 0 0; }
.paper-status { color: var(--muted); font-style: italic; }
.paper-abstract { margin-top: 0.6rem; }
.paper-abstract summary { width: fit-content; color: var(--link); cursor: pointer; }
.paper-abstract p { margin-top: 0.6rem; }
.paper-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.15rem; list-style: none; margin: 0.65rem 0 0; padding: 0; font-family: var(--sans); }
.paper a { overflow-wrap: anywhere; }
.paper-links a { display: inline-block; padding: 0.2rem 0; }
.skip-link { position: absolute; left: 1rem; top: -5rem; padding: 0.5rem 1rem; background: var(--background); z-index: 1; font-family: var(--sans); }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 55rem) {
  .site-layout { grid-template-columns: 13rem minmax(0, 1fr); gap: 3rem; padding: 4rem 2rem; }
  .identity { top: 4rem; }
}
@media (max-width: 42rem) {
  .site-layout { display: block; max-width: 38rem; padding: 2.75rem 1.5rem 3.5rem; }
  .identity { position: static; margin-bottom: 2.75rem; }
  .portrait { float: right; width: 5rem; margin: 0 0 1rem 1rem; }
  h1 { margin-bottom: 1rem; }
  nav { flex-direction: row; gap: 1.5rem; margin-top: 1.5rem; padding-top: 1rem; }
  section + section { margin-top: 2.25rem; }
}
@media (max-width: 22rem) {
  .portrait { float: none; width: 7rem; margin: 0 0 1.25rem; }
}
@media print {
  body { background: #fff; color: #000; }
  .site-layout { display: block; max-width: none; padding: 0; }
  .identity { position: static; margin-bottom: 2rem; }
  nav, .skip-link { display: none; }
  section, .paper { break-inside: avoid; }
  a { color: #000; }
}
