:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #252d37;
  --muted: #626a75;
  --blue: #245aa0;
  --line: #dfe4eb;
  --soft: #f4f7fb;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: #153d73; text-decoration: underline; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; border-radius: 2px; }
img { max-width: 100%; height: auto; }
p { margin: 0 0 1.2rem; }
.draft-note { background: var(--soft); border-bottom: 1px solid var(--line); text-align: center; padding: 8px 20px; font-size: .8125rem; color: var(--muted); }
.draft-note span { color: var(--blue); font-weight: 600; margin-right: .6rem; }
.page-shell { max-width: 1240px; padding: 0 48px; margin: 0 auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 104px; border-bottom: 1px solid var(--line); }
.wordmark { color: var(--ink); font-size: 1rem; font-weight: 600; text-decoration: none; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 1.8rem; }
.site-header nav a { color: var(--muted); font-size: .9375rem; text-decoration: none; }
.site-header nav a:hover { color: var(--blue); }
.profile-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 60px; padding: 68px 0 84px; }
.profile-summary { align-self: start; }
.portrait { display: block; width: 220px; aspect-ratio: 1; object-fit: cover; border-radius: 3px; margin-bottom: 26px; background: var(--soft); }
.portrait-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--line); color: #536b8b; gap: .75rem; }
.portrait-initials { font-family: var(--serif); font-size: 3.5rem; line-height: 1; letter-spacing: -.04em; }
.portrait-label { font-size: .8125rem; color: var(--muted); }
h1 { margin: 0 0 .75rem; font-family: var(--serif); font-size: 2.35rem; font-weight: 400; line-height: 1.16; letter-spacing: -.035em; text-wrap: balance; }
.role { font-size: 1rem; font-weight: 500; margin-bottom: .2rem; }
.affiliation { line-height: 1.6; margin-bottom: .6rem; }
.affiliation a { text-decoration: none; }
.location { color: var(--muted); font-size: .9375rem; margin-top: 1rem; }
.profile-links { padding: 1.5rem 0 0; margin: 1.5rem 0 0; list-style: none; border-top: 1px solid var(--line); }
.profile-links li + li { margin-top: .5rem; }
.profile-links a { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; text-decoration: none; width: fit-content; min-width: 5.8rem; font-size: .9375rem; }
.profile-links span { color: var(--muted); font-size: .875rem; }
.profile-links .placeholder-link { display: inline-block; color: var(--blue); font-size: .9375rem; }
.profile-content { min-width: 0; }
.profile-content h2 { font-family: var(--serif); font-size: 1.85rem; font-weight: 400; letter-spacing: -.025em; line-height: 1.25; margin: 2.8rem 0 1.25rem; }
.profile-content h2:first-child { margin-top: 0; }
.profile-content .intro { font-size: 1.125rem; line-height: 1.8; }
.profile-content h3 { font-size: 1rem; line-height: 1.5; font-weight: 600; margin: 0 0 .45rem; }
.profile-content ul { padding-left: 1.2rem; margin: 0 0 1.5rem; }
.profile-content li + li { margin-top: .4rem; }
.profile-content strong { font-weight: 600; }
.interests { display: flex; flex-wrap: wrap; list-style: none; gap: .6rem; padding: 0 !important; }
.interests li { margin: 0 !important; padding: .3rem .8rem; border: 1px solid var(--line); border-radius: 3px; font-size: .875rem; color: #495467; }
.entry { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.entry p { color: var(--muted); font-size: .9375rem; margin-bottom: .4rem; }
.entry .entry-meta { color: var(--muted); font-size: .875rem; }
.site-footer { border-top: 1px solid var(--line); padding: 24px 0 32px; display: flex; justify-content: space-between; gap: 1.5rem; color: var(--muted); font-size: .8125rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.skip-link { position: absolute; left: 1rem; top: -8rem; background: var(--paper); border: 2px solid var(--blue); padding: .6rem 1rem; z-index: 10; }
.skip-link:focus { top: 1rem; }
@media (max-width: 1000px) {
  .page-shell { padding: 0 32px; }
  .profile-layout { grid-template-columns: 320px minmax(0, 1fr); gap: 36px; }
  h1 { font-size: 2.1rem; }
}
@media (max-width: 760px) {
  .page-shell { padding: 0 24px; }
  .site-header { min-height: 80px; gap: 1rem; flex-wrap: wrap; padding: 20px 0; }
  .site-header nav { gap: 1rem; }
  .profile-layout { grid-template-columns: 1fr; gap: 42px; padding: 36px 0 56px; }
  .profile-summary { min-width: 0; }
  .portrait { width: 160px; margin: 0 0 24px; }
  .portrait-initials { font-size: 2.75rem; }
  h1 { font-size: 2.1rem; margin-bottom: .5rem; }
  .location { margin: .5rem 0 0; }
  .profile-links { display: flex; flex-wrap: wrap; gap: .6rem 1.3rem; margin: 24px 0 0; padding: 16px 0 0; }
  .profile-links li + li { margin: 0; }
  .profile-links a { min-width: 0; gap: .4rem; }
  .profile-content h2 { font-size: 1.65rem; margin-top: 2.5rem; }
  .profile-content .intro { font-size: 1.0625rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
