:root { color-scheme: light; --ink: #292929; --muted: #626262; --maroon: #650e19; --line: #e0e0e0; }
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 1rem; line-height: 1.7; }
a { color: var(--maroon); text-underline-offset: 0.2em; text-decoration-thickness: 1px; text-decoration-color: #650e1960; }
a:hover { text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid var(--maroon); outline-offset: 4px; }
.page-shell { width: min(calc(100% - 3rem), 820px); margin: 0 auto; padding: 3.5rem 0; }
.profile { display: grid; grid-template-columns: minmax(0, 1fr) 144px; align-items: center; gap: 2rem; margin-bottom: 1.8rem; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { margin-bottom: 0.5rem; font-size: 2.8rem; line-height: 1.2; letter-spacing: -0.025em; }
.role { margin-bottom: 1rem; color: var(--muted); }
.profile-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.3rem; }
.portrait-frame { margin: 0; }
.portrait-frame img { display: block; width: 100%; height: auto; }
.introduction p { margin-bottom: 1rem; }
.section { margin-top: 2.6rem; }
h2 { font-size: 1.85rem; line-height: 1.3; margin-bottom: 1.3rem; }
.section-heading { border-bottom: 1px solid var(--line); }
.section-heading h2 { margin-bottom: 0.65rem; }
.paper { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.paper:last-child { border-bottom: 0; padding-bottom: 0; }
.paper h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.5; margin-bottom: 0.35rem; }
.paper .authors { margin-bottom: 0.15rem; }
.paper .paper-meta { color: var(--muted); font-size: 0.94rem; margin-bottom: 0.8rem; }
.paper p:last-child { margin-bottom: 0; }
.contact { margin-top: 2.7rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.contact h2 { margin-bottom: 0.7rem; }
.contact p { margin-bottom: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .page-shell { width: calc(100% - 2.5rem); padding: 2rem 0; }
  .profile { grid-template-columns: minmax(0, 1fr) 100px; gap: 1rem; }
  h1 { font-size: 2.15rem; }
  .role { font-size: 0.95rem; }
}
@media (max-width: 360px) {
  .profile { grid-template-columns: 1fr; }
  .portrait-frame { width: 100px; }
}
