:root{--bg:#fff;--text:#262c33;--muted:#626b75;--accent:#0066cc;--heading:#243b53;--nav:#f3f4f5;--active:#243b53;--border:#dce0e4;--placeholder:#f5f6f7}html[data-theme=dark]{--bg:#1d2228;--text:#e3e6e9;--muted:#adb5bf;--accent:#79b8ff;--heading:#c1cfdd;--nav:#252c34;--active:#d0dce7;--border:#414b56;--placeholder:#292f37}*{box-sizing:border-box}body{margin:0;padding:94px 0 0;background:var(--bg);color:var(--text);font:400 16px/1.65 Inter,Arial,sans-serif}.container{max-width:950px;margin:auto;padding:0 15px}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.topbar{position:fixed;z-index:10;top:0;left:0;width:100%;background:var(--nav);border-bottom:1px solid var(--border)}.nav-inner{min-height:55px;display:flex;align-items:center;justify-content:flex-end}nav{display:flex;align-items:center;gap:25px}nav a{color:var(--text);font-size:15px}nav a.active{color:var(--active)}nav a:hover{text-decoration:none;color:var(--active)}#theme{font:24px Georgia,serif;border:0;background:none;color:var(--text);cursor:pointer;padding:0 3px}#progress{height:1px;width:0;background:var(--accent);position:absolute;bottom:-1px}h1,h2,h3{font-weight:400;line-height:1.3;margin-top:0}h1{font-size:32px;margin-bottom:5px}h2{font-size:24px;margin-bottom:18px;color:var(--heading)}h3{font-size:22px;margin-bottom:10px}p{margin:0 0 17px}.profile-intro{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:30px;align-items:start}.subtitle{font-size:17px;margin-bottom:23px}.profile-sidebar{padding-top:0}.portrait{width:100%;margin:0}.portrait img{width:100%;height:auto;display:block;border-radius:4px}.profile-location{text-align:center;font-size:14px;line-height:1.5;margin:12px 0 9px}.profile-social{justify-content:center}.portrait-placeholder{height:300px;background:var(--placeholder);display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--muted);gap:12px}.portrait-placeholder svg{height:72px;width:72px;stroke:currentColor;fill:none;stroke-width:1}.portrait-placeholder small{font-size:12px}.news{margin:26px 0 35px}.news h2{text-align:center}.news table{width:100%;border-collapse:collapse;line-height:1.5}.news th{font-weight:400;white-space:nowrap;vertical-align:top;text-align:left;width:125px;padding:4px 22px 12px 0;font-size:14px}.news td{padding:4px 0 12px}.research-group{margin-top:34px}.research-group>h2{padding-bottom:7px;border-bottom:1px solid var(--border)}.research-group>p{margin-bottom:20px}.project{display:grid;grid-template-columns:34% 1fr;gap:24px;align-items:center;margin-bottom:27px;padding-bottom:25px;border-bottom:1px solid var(--border)}.project.text-only{display:block}.project-image{display:flex;align-items:center;justify-content:center}.project-image img{display:block;width:100%;height:auto;max-height:250px;object-fit:contain;background:#fff;border-radius:3px}.project-placeholder{width:100%;height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed var(--border);color:var(--muted);font-size:14px;background:var(--placeholder)}.project-body p{margin-bottom:12px}.project-status{font-size:14px;color:var(--muted);font-style:italic}.links{display:flex;gap:7px;flex-wrap:wrap}.missing{color:var(--accent);cursor:help}.social-icons{display:flex;align-items:center;gap:13px}.social-icons a,.social-icons .missing{display:inline-flex;color:var(--text);align-items:center;justify-content:center}.social-icons svg{width:26px;height:26px;fill:currentColor}.social-icons a:hover{color:var(--accent)}.social-bottom{justify-content:center;margin:40px 0 25px}.social-icons .missing{opacity:.65}footer{margin-top:45px;background:#232c36;color:#e3e7eb;font-size:12px;padding:9px 0}.publication{margin:28px 0;padding-bottom:24px;border-bottom:1px solid var(--border)}.publication h3{font-size:21px;margin-bottom:7px}.publication p{margin-bottom:6px}.publication details{margin-top:12px}.publication-note{font-size:13px;color:var(--muted);margin-top:10px}summary{color:var(--accent);cursor:pointer}.cv-section{margin:35px 0}.skip{position:fixed;top:-80px;left:10px;z-index:20;background:var(--bg);padding:8px}.skip:focus{top:4px}@media(max-width:700px){body{padding-top:78px}.container{padding-left:20px;padding-right:20px}.profile-intro{grid-template-columns:minmax(0,1fr) 190px;gap:22px}h1{font-size:29px}.profile-location{font-size:12px}.project{grid-template-columns:1fr;gap:15px}.project-image{max-width:380px;margin:auto}.news th{width:95px;font-size:13px;padding-right:12px}}@media(max-width:520px){.profile-intro{display:flex;flex-direction:column;gap:15px}.intro-copy{display:contents}.intro-copy h1{order:0;margin-bottom:0}.subtitle{order:1;margin-bottom:0}.profile-sidebar{order:2;width:210px;align-self:center}.bio{order:3;margin-top:8px}.news{margin-top:15px}nav{gap:20px}.research-group{margin-top:25px}h2{font-size:23px}}

.profile-location{font-style:normal}.project-subtitle{font-size:16px;font-style:italic;color:var(--heading);line-height:1.4}

.project.wide-image{grid-template-columns:1fr;gap:18px}.wide-image .project-image{max-width:none;width:100%}.wide-image .project-image img{max-height:none}

.project{grid-template-columns:5fr 7fr;gap:0;padding:0;border:0;border-radius:4px;overflow:hidden;box-shadow:0 2px 5px #0003;background:var(--bg)}.project>a,.project>.project-image{min-width:0;padding:8px}.project-body{padding:20px}.project-image img{max-height:none}.project-body h3{margin-bottom:12px}.project-body .links{margin-top:12px}@media(max-width:700px){.project{grid-template-columns:1fr}.project>a,.project>.project-image{padding:16px 16px 0;max-width:none;width:100%}}

.project.wide-image{grid-template-columns:1fr;gap:0}.project.wide-image>a{padding:20px 16px 0}.wide-image .project-image{max-width:none;width:100%}.wide-image .project-image img{max-height:none}

h1,h2,h3,h4{font-family:"Source Serif 4",Georgia,serif}.topbar,footer{font-family:Inter,Arial,sans-serif}

main a:not(:has(svg)):not(:has(.project-image)){text-decoration:none}main a:hover{color:var(--heading);text-decoration:none}

main a:hover{text-decoration:none}

.news h2,.research-group>h2{color:#000}html[data-theme=dark] .news h2,html[data-theme=dark] .research-group>h2{color:var(--text)}

h1,h2,h3,h4,.news h2,.research-group>h2{color:var(--text)}

/* Accent: Continental navy with buff rules */
:root{--accent:#24589c;--accent-hover:#183f73;--rule:#b8975a}html[data-theme=dark]{--accent:#8fb3dd;--accent-hover:#b9d0ea;--rule:#c9a96e}
main a:hover,.social-icons a:hover{color:var(--accent-hover)}nav a.active{color:var(--accent);box-shadow:inset 0 -2px var(--accent)}nav a:hover{color:var(--accent)}
.news th{color:var(--accent)}.research-group>h2{border-bottom:2px solid var(--rule)}.news h2::after{content:"";display:block;width:48px;height:2px;margin:8px auto 0;background:var(--rule)}
