/* Academic typography with a quiet profile column and readable paper lists. */
:root {
  --ink: #29323b;
  --muted: #616a73;
  --blue: #305f86;
  --line: #dedfdd;
  --title: #273e52;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: #fdfcf9;
  font: 16px/1.75 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}
p { margin: 0 0 16px; }
h1, h2, h3 { line-height: 1.35; }
h1 { margin: 0 0 16px; font: 400 34px/1.25 Georgia, "Times New Roman", serif; }
h2 { margin: 0 0 18px; font: 400 25px/1.35 Georgia, "Times New Roman", serif; }
h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
b, strong { font-weight: 600; }
sup { font-size: .75em; line-height: 0; }
.wrap { width: min(940px, calc(100% - 64px)); margin-inline: auto; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}
.wordmark { font-size: 15px; color: var(--muted); }
.profile-heading { min-height: 106px; }
.profile-heading h1 { margin: 0; font-size: 34px; }
.site-header nav { display: flex; gap: 25px; font-size: 14px; }
.site-header nav a { color: var(--muted); padding-block: 8px; }
.site-header nav a:hover { color: var(--blue); }
.site-header nav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 8px; }
.about {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  column-gap: 46px;
  padding: 6px 0 20px;
}
.about-identity { border-right: 1px solid var(--line); padding-right: 26px; }
.affiliation { font-size: 13.5px; line-height: 1.9; color: var(--muted); margin-bottom: 23px; }
.academic-role { display: inline-block; color: var(--ink); font-size: 15px; margin-bottom: 6px; }
.about-bio { padding-top: 1px; }
.about-bio p { margin-bottom: 18px; font-size: 15px; }
.about-bio .email { margin-bottom: 0; font-size: 14px; padding-top: 3px; overflow-wrap: anywhere; }
.email a { border-bottom: 1px solid #bdccd8; padding-bottom: 2px; }
.profile-links { display: grid; grid-template-columns: max-content max-content; gap: 10px 20px; font-size: 13px; }
.profile-links a { display: inline-flex; align-items: center; gap: 7px; min-height: 25px; }
.profile-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.profile-icon { width: 16px; height: 16px; flex: 0 0 16px; color: var(--muted); }
.profile-links a:hover .profile-icon { color: var(--blue); }
.home-section { margin-top: 32px; }
.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
  padding-bottom: 13px;
}
.section-heading h2 { margin: 0; }
.section-heading > a { font-size: 13px; color: var(--muted); }
.section-heading > a:hover { color: var(--blue); }
.paper { padding: 22px 0 24px; border-bottom: 1px solid #e7e8e5; }
.paper:last-child { border-bottom: 0; }
.paper h3 { font: 400 19px/1.45 Georgia, "Times New Roman", serif; margin-bottom: 7px; }
.paper h3 a { color: var(--title); }
.paper h3 a:hover { color: var(--blue); text-underline-offset: 3px; }
.paper-authors, .paper-meta { margin: 3px 0; font-size: 13.5px; line-height: 1.75; }
.paper-authors { color: var(--muted); }
.paper-authors b { color: var(--ink); }
.paper-meta { color: #50575e; }
.status { font-style: normal; color: var(--muted); }
.paper-links { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; margin-top: 5px; }
.paper-links:empty { display: none; }
.author-note { margin: 1px 0 3px; font-size: 12px; color: var(--muted); }
.page-heading { margin-bottom: 25px; }
.publication-toolbar { margin-bottom: 28px; font-size: 14px; }
.publication-toolbar p { margin-bottom: 10px; }
.publication-toolbar nav { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 12px 16px; background: #f1f3f3; border-left: 2px solid #bdccd8; }
.publication-section { margin-bottom: 32px; scroll-margin-top: 20px; }
.publication-detail .page-heading { margin-top: 25px; }
.publication-detail h1 { font-size: 30px; line-height: 1.4; }
.detail-authors { margin-bottom: 4px; }
.publication-detail .paper-links { margin-top: 12px; }
.back-link { font-size: 14px; }
.detail-section { margin-top: 28px; }
.detail-section h2 { font-size: 23px; margin-bottom: 12px; }
.citation { font-size: 14px; }
.button { color: var(--blue); font-size: 14px; }
.cv-download { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 28px; }
.cv-download span { font-size: 13px; color: var(--muted); }
.cv-section { margin-bottom: 30px; }
.cv-section > h2 { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.cv-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; margin-bottom: 20px; }
.cv-item h3, .cv-skill-grid h3 { font-size: 15px; }
.cv-item p, .cv-skill-grid p, .cv-simple-list { font-size: 14px; }
.cv-item p { margin: 0; }
.cv-item__date { font-size: 13px; color: var(--muted); }
.cv-skill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.cv-simple-list { padding-left: 20px; }
.cv-simple-list li { margin-bottom: 8px; }
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-block: 16px 24px;
  margin-top: 42px;
  color: var(--muted);
  font-size: 12px;
}
.site-footer a { color: inherit; }
.skip-link { position: absolute; left: 20px; top: -80px; padding: 10px; background: #fff; z-index: 2; }
.skip-link:focus { top: 8px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; gap: 23px; padding-top: 0; }
  .about-identity { border-right: 0; padding: 0 0 23px; border-bottom: 1px solid var(--line); }
  .affiliation { margin-bottom: 13px; }
  .desktop-break { display: none; }
  .profile-links { grid-template-columns: max-content max-content; gap: 9px 28px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  body { font-size: 15px; }
  .site-header { min-height: 66px; margin-bottom: 28px; }
  .site-header nav { gap: 17px; font-size: 13px; }
  .wordmark { font-size: 14px; }
  .profile-heading { min-height: 88px; }
  .profile-heading h1 { font-size: 29px; }
  h1 { font-size: 28px; }
  h2 { font-size: 23px; }
  .paper h3 { font-size: 18px; }
  .publication-detail h1 { font-size: 24px; }
  .cv-item { grid-template-columns: 1fr; gap: 4px; }
  .cv-item__date { grid-row: 1; }
  .cv-skill-grid { grid-template-columns: 1fr; gap: 4px; }
}
@media print {
  body { font-size: 10pt; }
  .wrap { width: 100%; }
  .site-header, .site-footer, .skip-link, .cv-download, .back-link, .publication-toolbar { display: none; }
  .paper { break-inside: avoid; margin-bottom: 16px; padding: 8px 0; }
  .profile-heading { display: block; min-height: 0; border: 0; margin-bottom: 18px; }
  .profile-heading nav { display: none; }
  .about { display: block; }
  .about-identity { border: 0; }
  .paper-links { display: none; }
  a { color: inherit; text-decoration: none; }
}
