:root { --ink: #1c1c1c; --text: #2a2a2a; --muted: #5e5e5e; --rule: #e6e6e6; --link: #1f4e8c; --link-hover: #163a69; --tile: #fafafa; }
* { box-sizing: border-box; }
html { font-size: 17px; }
body { margin: 0; background: #fff; color: var(--text); font-family: "Source Serif 4", Georgia, serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 2px; }
.sans, .side, h2, .meta, .more, .date, .code, .offered, .foot, summary, .olabel, .award { font-family: Inter, system-ui, sans-serif; }

.wrap { display: flex; flex-wrap: wrap; gap: 64px; max-width: 1180px; margin: 0 auto; padding: 64px 24px 88px; }
.side { flex: 1 1 250px; max-width: 290px; display: flex; flex-direction: column; gap: 18px; font-size: 14px; line-height: 1.55; color: #4a4a4a; align-self: flex-start; }
.portrait { width: 100%; max-width: 240px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; display: block; }
.name { margin: 0; font-family: "Source Serif 4", Georgia, serif; font-size: 28px; line-height: 1.2; font-weight: 600; }
.name a { color: var(--ink); }
.roles, .fellows, .contact { margin: 0; }
.fellows { color: var(--muted); }
.fellows, .contact { white-space: nowrap; }
.cv { align-self: flex-start; font-weight: 600; color: #fff; background: var(--link); padding: 10px 16px; border-radius: 6px; }
.cv:hover { color: #fff; background: var(--link-hover); text-decoration: none; }
.contact { border-top: 1px solid var(--rule); padding-top: 14px; }
.profiles { display: flex; flex-wrap: wrap; gap: 4px 14px; font-weight: 500; }

.main { flex: 999 1 560px; min-width: 0; max-width: 720px; display: flex; flex-direction: column; gap: 56px; }
.main p { margin: 0 0 16px; }
h2 { margin: 0 0 14px; font-size: 15px; font-weight: 600; color: var(--muted); }
.page-title { font-family: "Source Serif 4", Georgia, serif; font-size: 30px; color: var(--ink); margin-bottom: 8px; }
.bio p:last-of-type { margin-bottom: 12px; }
.bio h2 { margin-bottom: 14px; }
details > summary { cursor: pointer; color: var(--link); font-weight: 500; font-size: 14px; list-style-position: outside; }
.bio details p { margin-top: 10px; font-size: 16px; color: #333; }

.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.project { display: flex; flex-direction: column; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; color: var(--ink); }
.project:hover { border-color: #b9c6d8; text-decoration: none; }
.logo { height: 110px; display: flex; align-items: center; justify-content: center; gap: 12px; background: var(--tile); border-bottom: 1px solid #e0e0e0; padding: 16px; }
.logo img { max-width: 100%; max-height: 60px; }
.logo .mark { height: 60px; }
.logo-text { font-family: Inter, sans-serif; font-weight: 600; font-size: 15px; line-height: 1.25; }
.blurb { padding: 14px 16px 16px; font-size: 15px; line-height: 1.5; color: #444; }
.pname { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.news { list-style: none; margin: 0; padding: 0; }
.news li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid #ececec; }
.news li:last-child { border-bottom: 1px solid #ececec; }
.date { font-size: 13px; color: var(--muted); padding-top: 3px; }

.topic { font-family: "Source Serif 4", Georgia, serif; font-size: 18px; font-weight: 600; color: var(--ink); margin: 22px 0 10px; }
h2 + .topic { margin-top: 4px; }
.selected { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.meta { font-size: 13.5px; color: #555; }
.more { font-size: 14px; font-weight: 500; margin-top: 18px !important; }

.courses { display: flex; flex-direction: column; }
.course { padding: 12px 0; border-bottom: 1px solid #ececec; }
.course > summary { color: var(--ink); font-size: 17px; font-family: "Source Serif 4", Georgia, serif; }
.ctitle { font-weight: 600; }
.code { font-size: 13px; color: var(--muted); font-weight: 400; }
.cbody { padding-top: 10px; font-size: 16px; color: #333; }
.cbody ol { margin: 0 0 12px; padding-left: 1.3rem; }
.olabel { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px !important; }
.offered { font-size: 13px; color: var(--muted); }
.course.plain { color: var(--ink); }

.disclaimer { font-size: 14px; color: var(--muted); font-style: italic; }
.year { font-family: Inter, sans-serif; font-size: 15px; font-weight: 600; margin: 28px 0 10px; color: var(--ink); border-top: 1px solid var(--rule); padding-top: 14px; }
.pub { font-size: 16px; }
.award { font-size: 12px; font-weight: 600; color: var(--link); background: #eef3fa; padding: 1px 6px; border-radius: 3px; white-space: nowrap; }
.foot { font-size: 12px; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 14px; }

@media (max-width: 860px) {
  .wrap { gap: 36px; padding: 32px 20px 64px; }
  .side { position: static; max-width: none; }
  .portrait { max-width: 140px; }
}
