/* Matter of Tech-inspired personal research homepage.
   White background, red links, clear type, and a simple publication-style list.
   The previous card-based redesign has deliberately been removed. */
:root{color-scheme:light;--bg:#fff;--surface:#fff;--ink:#262b30;--body:#424c56;--muted:#626b75;--line:#e7e9eb;--blue:#b32632;--blue-light:#fbf1f2;--max:1160px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:76px}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased;overflow-wrap:break-word}
a{color:var(--blue);text-decoration:none;text-underline-offset:3px}a:hover{text-decoration:underline}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--blue);outline-offset:3px;border-radius:2px}
img{display:block;max-width:100%;height:auto}h1,h2,h3,p{margin:0}
.wrap{width:min(var(--max),calc(100% - 64px));margin-inline:auto}
.skip{position:absolute;left:12px;top:-100px;z-index:99;background:white;padding:10px}.skip:focus{top:12px}
/* Lab-style navigation: a single quiet horizontal line, no hover animations. */
.site-header{position:sticky;top:0;z-index:30;background:#fff;border-bottom:1px solid #f0eef0}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:30px;min-height:65px}
.brand{font-size:1.17rem;line-height:1.3;font-weight:730;letter-spacing:-.025em;white-space:nowrap;color:var(--blue)}
.brand:hover{color:var(--blue)}
.topnav{display:flex;align-items:center;gap:25px}
.topnav a{display:inline-flex;align-items:center;min-height:44px;color:var(--blue);font-size:.96rem;line-height:1.3;font-weight:500;white-space:nowrap}
.topnav a:hover,.topnav .cv-nav{color:var(--blue)}
/* Simple lab-like introduction: no box, tinted background, or enclosing card. */
.layout{display:block;padding:35px 0 65px}
.profile{position:static;display:grid;grid-template-columns:minmax(0,1fr) 205px;grid-template-rows:repeat(5,auto);column-gap:48px;align-items:start;width:100%;max-width:100%;padding:0 0 16px;margin:0;border:0;border-radius:0;background:none;box-shadow:none}
.portrait{grid-column:2;grid-row:1/span 5;width:205px;height:205px;object-fit:cover;border:0;border-radius:3px;margin:3px 0 0;box-shadow:none}
.profile h2{grid-column:1;grid-row:1;font-size:clamp(2.2rem,3.2vw,2.85rem);line-height:1.14;font-weight:750;letter-spacing:-.04em;margin:0 0 7px}
.role{grid-column:1;grid-row:2;font-size:1.14rem;line-height:1.45;font-weight:610;color:var(--ink)}
.affiliation{grid-column:1;grid-row:3;font-size:.99rem;line-height:1.55;color:var(--muted);margin-top:4px}
.profile .interests{grid-column:1;grid-row:4;margin:12px 0 0;color:var(--body);font-size:.94rem;line-height:1.55}
.profile-links{grid-column:1;grid-row:5;display:flex;flex-wrap:wrap;align-items:center;gap:2px 18px;padding:0;margin-top:11px;border:0}
.profile-links a{display:inline-flex;align-items:center;min-height:40px;padding:7px 0;border:0;border-radius:0;background:none;box-shadow:none;color:var(--blue);font-size:.92rem;font-weight:540;line-height:1.3;transform:none}
.profile-links a:hover{background:none;border:0;color:var(--blue);text-decoration:underline;transform:none}
.profile-links .glyph{display:none}.main{min-width:0;max-width:100%}
/* Same heading grammar as the lab: an unmistakable headline and unboxed prose. */
.intro{max-width:100%;padding-top:12px;margin:0;border:0;background:none}
.eyebrow,.intro .eyebrow{margin:0 0 8px;color:var(--muted);font-size:.75rem;letter-spacing:.02em;text-transform:uppercase;font-weight:600}
.intro h1{max-width:100%;font-size:clamp(1.86rem,2.8vw,2.35rem);line-height:1.23;letter-spacing:-.03em;font-weight:735;margin:0 0 15px;text-wrap:balance}
.intro p,.intro .lead{max-width:87ch;margin:0 0 10px;color:var(--body);font-size:1.015rem;line-height:1.64}
.intro p:last-of-type{margin-bottom:0}.quicklinks{display:none}
/* Visible headings instead of decorative dividers or magazine-like badges. */
.section{margin-top:47px;scroll-margin-top:80px}
.section-header{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin:0 0 13px;padding:0;border:0}
.section-header h2{font-size:2rem;line-height:1.2;letter-spacing:-.035em;font-weight:745}
.section-header p{color:var(--muted);font-size:.84rem}
/* News keeps its full text but reads like a compact research timeline. */
.news{list-style:none;margin:0;padding:0}.news li{display:grid;grid-template-columns:122px minmax(0,1fr);gap:22px;align-items:start;padding:10px 0;border-bottom:1px solid #f0f1f1}
.news li:last-child{border-bottom:0}.news time{font-size:.88rem;font-weight:600;color:var(--muted);padding-top:1px}
.news p{font-size:.96rem;line-height:1.58;color:var(--body)}
.older-news{margin-top:4px}.older-news summary{display:inline-flex;align-items:center;min-height:44px;width:max-content;padding:8px 0;color:var(--blue);cursor:pointer;font-size:.9rem;font-weight:570}
.older-news[open] summary{margin-bottom:4px}
/* Publications: the same image-left, text-right treatment for every project. */
.projects{display:grid;gap:0}
.work{display:grid;grid-template-columns:260px minmax(0,1fr);gap:23px;align-items:start;padding:25px 0;border:0;border-bottom:1px solid #f0f1f1;border-radius:0;background:none;box-shadow:none;transform:none}
.work:last-child{border:0}
.media{display:block;width:100%;aspect-ratio:1.53;overflow:hidden;border:0;border-radius:0;background:#f5f6f6;box-shadow:none}
.media img{width:100%;height:100%;object-fit:contain;transition:none}.media.photo img{object-fit:cover}
.media:hover img{filter:none;transform:none}
.media.empty{display:flex;align-items:center;justify-content:center;text-align:center;padding:18px;color:var(--muted);background:#f1f2f2;font-size:.99rem;font-weight:600}
.work-info{min-width:0}
.meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 6px;color:var(--muted);font-size:.8rem;line-height:1.4;font-weight:500}
.tag{display:inline-block;padding:2px 6px;border:0;border-radius:2px;background:#f9f0f1;color:#93303b;font-size:.73rem;font-weight:600}
.tag.progress{background:#f2f3f3;color:#53606b}.tag.applied{background:#eef5f0;color:#41674a}
.work h3{margin:0 0 6px;font-size:1.21rem;line-height:1.36;font-weight:720;letter-spacing:-.02em}
.work h3 a{color:var(--ink)}.work h3 a:hover{color:var(--blue)}
.authors{font-size:.88rem;line-height:1.52;color:var(--muted);margin:0 0 7px}
.desc{margin:7px 0 0;font-size:.96rem;line-height:1.6;color:var(--body)}
.project-links{display:flex;flex-wrap:wrap;gap:2px 21px;margin:12px 0 0;font-size:.9rem;font-weight:610}
.project-links a{display:inline-flex;align-items:center;min-height:35px;color:var(--blue);text-decoration:none}
.project-links a:hover{text-decoration:underline}
/* Functional filtering remains; styling follows the lab's simple utility controls. */
.section .filter-panel{margin:12px 0 3px;padding:13px 15px;background:#fafafa;border:1px solid #eceeee;border-radius:3px;box-shadow:none}
.section .filter-heading{margin-bottom:10px}.section .filter-heading strong{color:var(--ink);font-size:.89rem;font-weight:620}
.section .filter-heading small{font-size:.79rem;color:var(--muted)}.section .filter-buttons{gap:7px}
.section .filter-btn{appearance:none;min-height:40px;padding:8px 12px;border:1px solid #dce0e1;border-radius:3px;background:white;color:var(--body);font:inherit;font-size:.79rem;font-weight:560;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.section .filter-btn:hover{background:var(--blue-light);border-color:#e0b4b9}
.section .filter-btn[aria-pressed="true"]{background:var(--blue);border-color:var(--blue);color:#fff}
.section .filter-count{margin-top:9px;font-size:.79rem;color:var(--muted)}
.work .keywords{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.work .keyword{padding:3px 7px;border:1px solid #e5e8e8;border-radius:2px;background:#f8f9f9;color:var(--muted);font-size:.73rem;font-weight:530;line-height:1.35}
.work[hidden]{display:none!important}
.contact-card{padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:var(--body);font-size:.96rem}
.contact-card p+p{margin-top:9px}.footer{border-top:1px solid var(--line);padding:22px 0;color:var(--muted);font-size:.82rem}.footer .wrap{display:flex;justify-content:space-between;gap:16px}
@media(max-width:1000px){.profile{grid-template-columns:minmax(0,1fr) 175px;column-gap:30px}.portrait{width:175px;height:175px}.work{grid-template-columns:220px minmax(0,1fr);gap:20px}.section-header h2{font-size:1.85rem}}
@media(max-width:760px){
 .wrap{width:calc(100% - 38px)}.site-header{position:relative}.topbar{display:block;min-height:0;padding:5px 0}.brand{display:none}
 .topnav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:2px;padding:0}.topnav a{justify-content:center;min-height:44px;padding:0 2px;font-size:.76rem;font-weight:570;white-space:nowrap}.topnav .cv-nav{font-weight:640}
 .layout{padding:23px 0 50px}.profile{grid-template-columns:86px minmax(0,1fr);grid-template-rows:repeat(5,auto);column-gap:15px;max-width:100%;padding:0 0 18px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;box-shadow:none}
 .portrait{grid-column:1;grid-row:1/span 3;width:86px;height:86px;border:0;border-radius:4px;margin:1px 0 0}.profile h2{grid-column:2;grid-row:1;align-self:end;font-size:1.73rem;line-height:1.13;margin:0 0 4px}
 .role{grid-column:2;grid-row:2;font-size:.84rem;line-height:1.43}.affiliation{grid-column:2;grid-row:3;font-size:.77rem;line-height:1.5;margin:3px 0 0}
 .profile .interests{grid-column:1/-1;grid-row:4;margin:13px 0 0;font-size:.81rem;line-height:1.55}
 .profile-links{grid-column:1/-1;grid-row:5;gap:2px 16px;margin-top:10px}.profile-links a{min-height:43px;padding:8px 0;border:0;background:none;color:var(--blue);font-size:.78rem;font-weight:570}
 .intro{max-width:100%;padding-top:21px;margin:0;border:0}.intro .eyebrow{font-size:.67rem;margin-bottom:7px}.intro h1{font-size:clamp(1.53rem,6.6vw,1.9rem);line-height:1.25;margin-bottom:12px}.intro p,.intro .lead{font-size:.95rem;line-height:1.65;margin-bottom:10px}
 .section{margin-top:40px;scroll-margin-top:16px}.section-header{margin-bottom:8px}.section-header h2{font-size:1.55rem}.section-header p{display:none}
 .news li{grid-template-columns:83px minmax(0,1fr);gap:11px;padding:10px 0}.news time{font-size:.76rem}.news p{font-size:.87rem;line-height:1.55}
 .section .filter-panel{margin:11px 0 4px;padding:12px}.section .filter-heading small{display:none}.section .filter-btn{min-height:42px;padding:8px 10px;font-size:.76rem}.section .filter-count{font-size:.77rem}
 .work{grid-template-columns:1fr;gap:0;padding:22px 0;margin:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;box-shadow:none}.work:last-child{border:0}
 .media{width:100%;aspect-ratio:1.65;margin-bottom:15px;border:0;border-radius:0}.work h3{font-size:1.11rem;line-height:1.42}.authors{font-size:.8rem;line-height:1.5}.desc{font-size:.91rem;line-height:1.61}.project-links{gap:3px 17px;font-size:.85rem}.project-links a{min-height:42px}
 .work .keywords{gap:6px;margin-top:11px}.work .keyword{font-size:.72rem;padding:4px 7px}.contact-card{font-size:.9rem}.footer .wrap{display:block}.footer .wrap span{display:block;margin-bottom:6px}
}
@media(max-width:360px){.wrap{width:calc(100% - 30px)}.topnav{gap:0}.topnav a{font-size:.71rem;padding:0 1px}.profile{grid-template-columns:70px minmax(0,1fr);column-gap:11px}.portrait{width:70px;height:70px}.profile h2{font-size:1.47rem}.profile .interests{font-size:.77rem}.profile-links{gap:0 13px}.profile-links a{font-size:.75rem}.intro h1{font-size:1.55rem}.news li{grid-template-columns:1fr;gap:3px}.media{aspect-ratio:1.5}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.section .filter-btn{transition:none}}
