/* Plain static academic website — no Jekyll, Ruby, or build step required. */
:root {
  --text: #222;
  --muted: #666;
  --border: #e7e7e7;
  --link: #1769aa;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.site-header { border-bottom: 1px solid var(--border); background: rgba(255,255,255,.96); }
.nav {
  max-width: var(--max); margin: 0 auto; min-height: 68px; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.brand { font-size: 1.1rem; font-weight: 700; color: #111; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; }
.nav-links a { color: #333; font-size: .95rem; }
.nav-links a.active { font-weight: 650; color: #111; }
.page {
  max-width: var(--max); margin: 0 auto; padding: 54px 24px 72px;
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px;
}
.sidebar { text-align: left; }
.avatar { width: 160px; height: 160px; object-fit: cover; border-radius: 50%; display:block; margin-bottom: 18px; }
.sidebar h1 { margin: 0 0 2px; font-size: 1.45rem; line-height: 1.25; }
.pronouns, .muted { color: var(--muted); }
.pronouns { margin: 0 0 12px; font-size: .92rem; }
.bio { margin: 0 0 14px; }
.profile-list { list-style: none; padding: 0; margin: 18px 0 0; font-size: .93rem; }
.profile-list li { margin: 7px 0; overflow-wrap: anywhere; }
.main { min-width: 0; }
.main > :first-child { margin-top: 0; }
h1.page-title { font-size: 2rem; line-height: 1.2; margin: 0 0 26px; }
h2 { font-size: 1.35rem; margin: 42px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
h3 { font-size: 1.08rem; margin: 0; line-height: 1.45; }
p { margin: 0 0 1em; }
.pub, .entry { padding: 18px 0 22px; border-bottom: 1px solid var(--border); }
.pub:first-of-type, .entry:first-of-type { padding-top: 4px; }
.meta { color: var(--muted); margin: 5px 0 7px; font-size: .94rem; }
.links { margin-top: 8px; font-size: .94rem; }
.links a { margin-right: 15px; }
ul.clean { padding-left: 20px; }
ul.clean > li { margin: 10px 0; }
.job { margin: 0 0 28px; }
.job-title { font-weight: 650; }
.job-meta { color: var(--muted); font-size: .94rem; margin-bottom: 6px; }
.job ul { margin-top: 8px; }
.placeholder { color: var(--muted); font-style: italic; }
.footer { border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 22px 24px 34px; }
@media (max-width: 760px) {
  .nav { align-items: flex-start; flex-direction: column; gap: 8px; padding-top: 18px; padding-bottom: 16px; }
  .nav-links { justify-content: flex-start; gap: 10px 18px; }
  .page { grid-template-columns: 1fr; gap: 34px; padding-top: 36px; }
  .sidebar { display: grid; grid-template-columns: 110px 1fr; column-gap: 20px; align-items: start; }
  .avatar { width: 110px; height: 110px; grid-row: 1 / span 5; margin: 0; }
  .profile-list { grid-column: 1 / -1; }
}
@media (max-width: 440px) {
  .sidebar { display: block; }
  .avatar { width: 120px; height: 120px; margin-bottom: 14px; }
}
