:root {
  color-scheme: light;
  --ink: #28323c;
  --muted: #626e78;
  --link: #23749d;
  --line: #e5e8eb;
  --surface: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 1rem/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { color: #145473; }
a:focus-visible { outline: 3px solid var(--link); outline-offset: 4px; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 10; padding: .5rem .8rem; background: var(--ink); color: white; }
.skip-link:focus { top: 1rem; }
.site-header { border-bottom: 1px solid var(--line); background: white; }
.header-inner { max-width: 1140px; margin: auto; min-height: 64px; padding: .7rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { color: var(--ink); text-decoration: none; font-size: 1.1rem; font-weight: 650; white-space: nowrap; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 1.6rem; }
nav a { color: #4d5a65; text-decoration: none; font-size: .94rem; font-weight: 500; }
nav a:hover, nav a[aria-current="page"] { color: var(--link); }
nav a[aria-current="page"] { border-bottom: 2px solid var(--link); }
.layout { max-width: 1140px; min-height: calc(100vh - 130px); margin: 0 auto; padding: 3.5rem 2rem 5rem; display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: start; gap: clamp(3rem, 7vw, 6.5rem); }
.profile { position: sticky; top: 2rem; text-align: center; }
.portrait { display: block; width: 190px; height: 190px; margin: 0 auto 1.25rem; border-radius: 50%; object-fit: cover; object-position: 32% 50%; }
.profile h2 { margin: .2rem 0 .3rem; font-size: 1.35rem; line-height: 1.3; font-weight: 700; }
.profile-role { margin: 0; color: #37434e; line-height: 1.5; }
.profile-affiliation { margin: .3rem 0 1.1rem; color: var(--muted); font-size: .94rem; }
.profile-links { display: flex; justify-content: center; gap: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.profile-links a { font-size: .94rem; }
.content { max-width: 740px; }
.content h1 { margin: -.45rem 0 1.5rem; padding-bottom: .55rem; border-bottom: 1px solid var(--line); font-size: clamp(2rem, 4vw, 2.45rem); font-weight: 650; line-height: 1.25; letter-spacing: -.025em; }
.content h2 { margin: 2.35rem 0 .65rem; font-size: 1.45rem; font-weight: 650; line-height: 1.35; }
.content h3 { margin: 1.7rem 0 .3rem; font-size: 1.06rem; font-weight: 650; }
.content p { margin: 0 0 1.2rem; }
.content ul { margin: .35rem 0 1.3rem; padding-left: 1.4rem; }
.content li { margin: .35rem 0; }
.page-intro { color: var(--muted); }
.publication { padding: 1.25rem 0 1.5rem; border-bottom: 1px solid var(--line); }
.publication:first-of-type { padding-top: .35rem; }
.publication h2 { margin: 0 0 .45rem; font-size: 1.18rem; }
.publication p { margin: .28rem 0; }
.pub-meta { color: var(--muted); }
.pub-year { display: inline-block; margin-bottom: .45rem; color: var(--muted); font-size: .9rem; font-weight: 600; }
.award { color: #43515b; }
.teaching-group { margin-bottom: 2rem; }
.teaching-group h2 { margin-bottom: .4rem; padding-bottom: .35rem; border-bottom: 1px solid var(--line); }
.teaching-group h3 { margin-top: 1rem; }
.site-footer { max-width: 1140px; margin: auto; padding: 1rem 2rem 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
@media (max-width: 760px) {
  .header-inner { align-items: flex-start; flex-direction: column; gap: .35rem; padding: .7rem 1.4rem; }
  nav { gap: 1.2rem; }
  .layout { grid-template-columns: 1fr; gap: 2.5rem; padding: 2rem 1.4rem 4rem; }
  .profile { position: static; display: grid; grid-template-columns: 105px 1fr; column-gap: 1.2rem; text-align: left; align-items: center; }
  .portrait { grid-row: 1 / 4; width: 105px; height: 105px; margin: 0; }
  .profile h2 { margin: 0; }
  .profile-affiliation { margin: 0; }
  .profile-links { grid-column: 1 / -1; justify-content: flex-start; margin-top: .75rem; }
  .site-footer { padding: 1rem 1.4rem 2rem; }
}
@media (max-width: 420px) {
  .profile { grid-template-columns: 85px 1fr; column-gap: .9rem; }
  .portrait { width: 85px; height: 85px; }
  nav { gap: .9rem; }
}
