/* Small accessibility and layout adjustments; retain Minimal Light's typography and palette. */
body { font-family: "Crimson Pro", "Noto Serif SC", "Songti SC", Georgia, serif; }
header, section { padding-top: 3rem; }
.image.avatar { display: block; position: relative; width: 192px; height: 224px; overflow: hidden; margin: 0 auto 1.25rem; border-radius: 10px; }
.image.avatar img { position: absolute; left: 50%; top: 50%; width: 125%; max-width: none; height: auto; padding: 0; border-radius: 0; transform: translate(-50%, -61%); }
.profile-note { margin-top: -0.5rem; }
.affiliations { font-size: 0.9375rem; line-height: 1.6; margin-bottom: 1rem; }
.email { font-family: monospace; font-size: 0.875rem; }
.profile-links { margin-top: 1rem; font-size: 0.9375rem; }
main > h2:first-child { margin-top: 0; }
main > p { line-height: 1.65; }
main h2:not(:first-child) { margin-top: 1.75rem; }
.theme-credit { margin-top: 3rem; font-size: 0.875rem; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.skip-link { position: absolute; left: 1rem; top: -5rem; padding: 0.5rem 1rem; background: #fff; z-index: 10; }
.skip-link:focus { top: 1rem; }
.publications { margin-top: 1.25rem; }
.publications .pub-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; gap: 1.25rem; margin-bottom: 1.75rem; }
.publication-image { display: block; width: 100%; margin-top: 0.25rem; }
.publication-image img { display: block; width: 100%; height: auto; }
.publication-details { min-width: 0; }
.contribution { font-size: 0.875rem; margin-top: 0.25rem; }
.publications ol.bibliography { padding: 0; }
.publication-details .links a { display: inline-block; margin: 0.5rem 0.75rem 0 0; font-size: 0.875rem; }
.honors-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem 1.5rem; flex-wrap: wrap; }
.entry-date { font-size: 0.875rem; white-space: nowrap; }
.experience-entry .experience-lab { margin: 0 0 0.6rem; }
.experience-roles { margin: 0; }
.experience-roles > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 0.35rem 1.5rem; margin-bottom: 0.4rem; }
.experience-roles dt { font-weight: 400; }
.experience-roles dd { margin: 0; font-size: 0.875rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.honors-list { list-style: none; padding: 0; }
.honors-list li { margin-bottom: 0.65rem; }
@media (prefers-color-scheme: dark) {
  .skip-link { background: #20212b; }
}
@media screen and (max-width: 960px) {
  .wrapper { max-width: 650px; margin: 0 auto !important; }
  header { padding-top: 1.25rem; padding-bottom: 1.5rem; }
  section { padding-top: 1.5rem; border-bottom: 0; }
}
@media screen and (max-width: 600px) {
  .publications .pub-row { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .publication-image { max-width: 300px; margin: 0; }
}
@media screen and (max-width: 420px) {
  .experience-roles > div { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; margin-bottom: 0.75rem; }
}
