:root{--paper:#0b0e14;--surface:#121722;--ink:#f1f3f9;--body:#bbc2d1;--muted:#8995aa;--line:#252c3a;--accent:#91aeff;--blue:#5b83ff;--sans:'Inter','Aptos','Segoe UI',sans-serif;color-scheme:dark}html[data-theme=light]{--paper:#f7f9ff;--surface:#fff;--ink:#142139;--body:#43516a;--muted:#596981;--line:#d6deec;--accent:#3159ca;--blue:#3159ca;color-scheme:light}body{transition:background .3s,color .3s}::selection{background:#4265bc;color:#fff}.wrap{width:min(1256px,calc(100% - 104px))}.header{background:color-mix(in srgb,var(--paper) 86%,transparent);backdrop-filter:blur(20px);border-color:var(--line)}.nav{min-height:88px}.brand{display:flex;gap:13px;align-items:center;font-size:14px}.monogram{font-family:Georgia,serif;font-size:37px;line-height:1;color:var(--accent)}.nav-right{display:flex;gap:30px;align-items:center}.nav-links{gap:30px}.nav-links a{position:relative}.nav-links a:after{content:'';height:2px;background:var(--accent);position:absolute;bottom:0;left:0;width:0;transition:width .25s}.nav-links a:hover:after{width:100%}.theme-button,.menu-button,#motion{background:none;color:var(--body);border:1px solid var(--line);min-width:42px;min-height:42px;border-radius:50%;font-size:21px}.menu-button{display:none}.progress{position:fixed;top:0;left:0;height:2px;width:0;background:var(--blue);z-index:100}.eyebrow{font-family:ui-monospace,monospace;letter-spacing:.12em;font-size:12px}.hero{display:grid;grid-template-columns:1.13fr 1fr;align-items:center;gap:48px;padding:90px 0 76px}.tiny-line{display:inline-block;width:22px;height:1px;background:var(--accent);vertical-align:middle;margin-right:9px}.hero h1{font-size:clamp(3.4rem,5.8vw,5.2rem);line-height:1.07;letter-spacing:-.065em;font-weight:500;margin:27px 0 22px}.name-dot{color:var(--blue)}.hero-lead{font-size:clamp(1.4rem,2.4vw,2rem);line-height:1.45;letter-spacing:-.025em}.hero-lead em{font-family:Georgia,serif;font-weight:400;color:var(--accent)}.hero-description{max-width:450px;color:var(--muted);margin:22px 0 26px;font-size:16px;line-height:1.8}.hero-actions,.contact-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:11px 22px;border:1px solid var(--line);border-radius:7px;font:500 14px/1.5 var(--sans);transition:transform .2s,background .2s,color .2s;cursor:pointer}.button:hover{transform:translateY(-3px)}.button.primary{background:var(--blue);color:#fff;border-color:var(--blue);box-shadow:0 6px 26px #4a71ef20}.button.secondary{color:var(--ink);background:transparent}.button.secondary:hover{background:var(--surface)}.hero-affiliation{margin-top:33px;color:var(--body);font-size:13px}.hero-affiliation span{display:block;color:var(--muted)}.research-art{height:500px;position:relative;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:radial-gradient(ellipse at 50% 50%,#28478222,transparent 70%)}.art-top{position:absolute;top:25px;left:25px;right:22px;display:flex;align-items:center;justify-content:space-between;z-index:1}.art-top .eyebrow{font-size:11px;color:var(--muted)}#motion{font:12px var(--sans);border:0;min-width:50px;border-radius:5px}#landscape{position:absolute;inset:25px 0 75px;width:100%;height:calc(100% - 100px);touch-action:pan-y}.art-bottom{position:absolute;bottom:25px;left:24px;right:24px}.art-tabs{display:flex;gap:5px;margin-bottom:14px}.art-tabs button{background:transparent;border:1px solid var(--line);border-radius:20px;padding:9px 14px;color:var(--muted);font:13px var(--sans);min-height:38px;transition:.25s}.art-tabs button[aria-pressed=true]{color:var(--ink);background:var(--surface);border-color:var(--accent)}.art-bottom p{font-size:13px;line-height:1.6;color:var(--body)}.art-note{font:11px/1.6 ui-monospace,monospace;color:var(--muted);display:block;margin-top:7px}.affiliation-strip{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:29px 0;border-block:1px solid var(--line);color:var(--body)}.affiliation-strip>span{font-size:12px;color:var(--muted)}.affiliation-strip a{font-size:clamp(14px,1.45vw,19px);font-weight:500;letter-spacing:-.02em}.section{padding-top:96px;margin-bottom:0}.section-heading{margin-bottom:35px;align-items:end}.section-heading .eyebrow{margin-bottom:15px}.section-heading h2{font-size:clamp(2rem,3.2vw,2.8rem);font-weight:450;line-height:1.2;letter-spacing:-.045em}.text-link{font-size:14px;border-bottom:1px solid var(--line);white-space:nowrap}.work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.work-card{position:relative;border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:25px;transition:transform .3s,border-color .3s,box-shadow .3s;overflow:hidden}.work-card:hover{transform:translateY(-7px);border-color:var(--accent);box-shadow:0 20px 50px #0002}.card-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:12px}.card-meta>span:first-child{color:var(--accent)}.card-motif{height:137px;display:flex;justify-content:center;align-items:center;margin:18px 0 24px;background:repeating-linear-gradient(0deg,transparent 0 22px,color-mix(in srgb,var(--line) 50%,transparent) 23px 24px),repeating-linear-gradient(90deg,transparent 0 22px,color-mix(in srgb,var(--line) 50%,transparent) 23px 24px);mask-image:linear-gradient(transparent,#000 25%,#000 75%,transparent)}.card-motif span{font:italic 40px Georgia,serif;color:var(--accent);text-shadow:0 0 35px #5b83ff77;transition:letter-spacing .5s}.work-card:hover .card-motif span{letter-spacing:4px}.motif-1 span{color:#ab9cff}.motif-2 span{color:#7dced5}.card-venue{font:11px/1.5 ui-monospace,monospace;color:var(--muted);letter-spacing:.08em}.work-card h3{font-size:23px;font-weight:500;line-height:1.3;letter-spacing:-.025em;margin:14px 0}.work-card>p:not(.card-venue){color:var(--muted);font-size:14px;line-height:1.7;min-height:72px}.card-link{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:25px;padding-top:16px;font-size:13px}.card-link span{font-size:20px;color:var(--accent)}.research-footnote{display:flex;flex-wrap:wrap;gap:12px 25px;margin-top:25px;font-size:13px;color:var(--body)}.research-footnote>span{color:var(--muted)}.research-footnote a:hover{text-decoration:underline}.section-aside{font-size:14px;color:var(--muted);line-height:1.75}.journey{border-top:1px solid var(--line);padding:26px 0}.journey:last-child{border-bottom:1px solid var(--line)}.journey summary{display:grid;grid-template-columns:260px 1fr 30px;align-items:center;gap:24px;cursor:pointer;list-style:none}.journey summary::-webkit-details-marker{display:none}.journey-date{font:12px/1.5 ui-monospace,monospace;color:var(--muted)}.journey-name{font-size:23px;letter-spacing:-.035em;line-height:1.4}.journey-name small{display:block;color:var(--muted);font-size:14px;letter-spacing:0;margin-top:4px}.expand{font-size:24px;color:var(--accent);transition:transform .2s}.journey[open] .expand{transform:rotate(45deg)}.journey-description{margin:20px 54px 5px 284px;max-width:640px;font-size:16px;color:var(--body);animation:appear .3s}.journey-description .supervisor{font-size:13px;margin-top:10px}.education-list{display:grid;grid-template-columns:1fr 1fr;gap:28px}.education-row{display:block;padding:25px 0}.education-row h3{font-size:20px}.education-row .position-date{margin-top:15px}.contact-panel{padding:56px;margin:90px 0 70px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(120deg,var(--surface),var(--paper));position:relative}.contact-panel h2{font-size:clamp(2rem,3.4vw,3rem);line-height:1.2;font-weight:400;letter-spacing:-.045em;margin:18px 0 28px}.email-address{display:block;color:var(--muted);margin-top:22px;font-size:14px;overflow-wrap:anywhere}.contact-actions .text-link{margin-left:12px}.footer{font-size:12px}.footer .wrap{align-items:center}.page-hero{padding:80px 0 38px}.page-hero h1{font-size:clamp(3rem,6vw,5rem);font-weight:400;letter-spacing:-.055em}.publication-page{max-width:none;padding-bottom:85px}.publication-tools{border:0;padding-bottom:22px}.search-field{flex:1;max-width:630px}.search-field input{width:100%;padding:15px 20px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font-size:16px;min-width:0}.filter-row{display:flex;align-items:center;justify-content:space-between;padding-bottom:23px;border-bottom:1px solid var(--line);gap:15px}.filter{border-radius:22px;padding:9px 17px;font-size:14px}.filter[aria-pressed=true]{background:var(--blue);color:#fff;border-color:var(--blue)}.filter span{margin-left:6px;opacity:.75}#result-count{font-size:13px;color:var(--muted);white-space:nowrap}.library-paper{padding:35px 0;grid-template-columns:80px 1fr;gap:32px}.library-paper h3{font-size:23px;line-height:1.45;font-weight:500;max-width:850px}.paper-index{color:var(--line);font-size:32px;line-height:1;margin-top:18px;font-family:Georgia,serif}.paper-status{font-size:12px;color:var(--accent);margin-bottom:10px}.pub-actions{font-size:14px;gap:22px}.copy-citation{color:var(--accent);border:1px solid var(--line);background:var(--surface);padding:9px 16px;border-radius:5px}.pub-actions pre{font-size:13px}#empty-state{padding:60px;text-align:center}#empty-state p{margin:15px 0}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);padding:13px 24px;border:1px solid var(--line);background:var(--surface);box-shadow:0 10px 50px #0003;border-radius:8px;font-size:14px;opacity:0;pointer-events:none;z-index:100;transition:.25s}.toast.visible{opacity:1;transform:translate(-50%,0)}.project-hero,.project-body{max-width:860px}.project-hero{padding-top:55px}.project-hero h1{font-size:clamp(2.4rem,4.2vw,3.7rem);font-weight:450;line-height:1.15;letter-spacing:-.04em}.project-hero .lead{font-size:20px}.project-body{padding-top:18px}.project-copy h2{font-weight:500;font-size:25px;margin-top:40px}.paper-insight{border-radius:12px;padding:30px}.covariance-blocks .cross-block{background:color-mix(in srgb,var(--blue) 14%,var(--surface));border-color:var(--blue)}.cv h1{font-weight:450;font-size:clamp(2rem,4vw,3rem)}.cv h2{color:var(--accent)}.cv p,.cv li{font-size:16px}.pill{background:var(--blue);color:white;border-color:var(--blue)}.pill:hover{background:var(--accent)}.reveal{opacity:1}.js-motion .reveal{opacity:0;transform:translateY(22px);transition:opacity .65s,transform .65s}.js-motion .reveal.in-view{opacity:1;transform:none}@keyframes appear{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}@media(min-width:1500px){.hero{padding:110px 0 95px}.research-art{height:540px}}@media(max-width:1000px){.wrap{width:calc(100% - 56px)}.hero{gap:25px;padding-top:65px}.hero h1{font-size:3.7rem}.research-art{height:470px}.work-card{padding:20px}.work-card h3{font-size:20px}.journey summary{grid-template-columns:200px 1fr 26px}.journey-description{margin-left:224px}.brand>span:last-child{max-width:115px;line-height:1.4}.nav-links{gap:20px}.nav-right{gap:20px}}@media(max-width:760px){.wrap{width:calc(100% - 40px)}.nav{min-height:72px;gap:16px}.brand>span:last-child{max-width:none;font-size:12px}.monogram{font-size:30px}.menu-button{display:block;font-size:12px;border-radius:6px;padding:0 12px}.nav-right{gap:10px}.theme-button{font-size:20px;min-width:38px}.nav-links{display:none;position:absolute;top:71px;left:0;right:0;background:var(--paper);border-bottom:1px solid var(--line);padding:20px;box-shadow:0 20px 40px #0002;flex-wrap:wrap;justify-content:center;gap:12px 24px}.nav-links.open{display:flex}.hero{grid-template-columns:1fr;padding:52px 0 35px;gap:35px}.hero h1{font-size:clamp(3rem,12vw,4.8rem)}.hero-description{max-width:510px}.hero-lead{font-size:1.7rem}.hero-affiliation{margin-top:24px}.research-art{height:400px}.affiliation-strip{flex-wrap:wrap;justify-content:flex-start;gap:16px 25px}.affiliation-strip>span{width:100%}.affiliation-strip a{font-size:15px}.section{padding-top:65px}.section-heading{align-items:start;gap:20px}.section-heading h2{font-size:2rem}.section-heading .text-link{font-size:12px}.work-grid{grid-template-columns:1fr}.work-card{padding:25px}.card-motif{height:110px;margin:8px 0}.work-card h3{font-size:25px}.work-card>p:not(.card-venue){min-height:0}.work-card h3 br{display:none}.section-aside{display:none}.journey summary{grid-template-columns:1fr 26px;gap:12px}.journey-date{grid-column:1}.journey-name{grid-column:1;font-size:21px}.expand{grid-column:2;grid-row:1 / 3}.journey-description{margin:18px 0 0}.education-list{grid-template-columns:1fr;gap:0}.contact-panel{padding:30px 25px;margin:50px 0}.contact-panel h2{font-size:2rem}.contact-panel h2 br{display:none}.publication-tools{flex-wrap:wrap;gap:10px}.search-field{flex-basis:100%;max-width:none}.filter-row{align-items:start;flex-direction:column}.filters{gap:5px}.filter{font-size:12px;padding:8px 12px}.library-paper{grid-template-columns:43px 1fr;gap:15px}.library-paper h3{font-size:20px}.pub-authors{font-size:14px}.page-hero{padding-top:50px}.project-hero h1{font-size:2.4rem}.project-hero .lead{font-size:18px}.paper-insight{padding:20px}.cv-top{align-items:start;flex-direction:column}.cv .cv-dates{float:none;display:block}.cv .pub{grid-template-columns:38px 1fr}.footer .wrap{font-size:11px;gap:15px}.research-footnote{font-size:12px}.rate-comparison{grid-template-columns:1fr}.rate-comparison>div+div{border:0;padding-left:0}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.js-motion .reveal{opacity:1;transform:none}}@media print{.header,.footer,.progress,.toast,.hero-actions,.contact-actions,.research-art,.pub-actions,.pill{display:none!important}html,body{background:white!important;color:#111!important}.wrap{width:100%}.cv{max-width:100%;padding:0}.cv h2,.cv h3,.cv p,.cv li,.cv strong,.cv a{color:#111!important}.cv h2{break-after:avoid}.pub,.cv h3{break-inside:avoid}.cv .pub-actions{display:none}.cv .cv-dates{color:#555}.cv p,.cv li{font-size:10pt}.cv h1{font-size:24pt}.cv h2{font-size:15pt}}

/* Refined editorial scale: body 18px, useful labels 16px, metadata 14px. */
body{font-size:1.125rem;line-height:1.75}.wrap{width:min(1280px,calc(100% - 96px))}.hero{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:54px;padding:76px 0 64px}.hero h1{font-size:clamp(3.5rem,5.9vw,5.4rem);line-height:1.1;letter-spacing:-.055em}.hero-lead{font-size:clamp(1.75rem,2.5vw,2.2rem)}.hero-description{font-size:1.1875rem;max-width:530px;line-height:1.75}.hero-affiliation{font-size:1rem;line-height:1.7}.hero-affiliation span{font-size:1rem}.brand,.nav-links{font-size:1rem}.nav{min-height:94px}.nav-right{gap:24px}.nav-links{gap:24px}.eyebrow{font-size:.875rem;letter-spacing:.09em}.button{font-size:1rem;min-height:52px;padding:12px 22px}.text-link{font-size:1rem;white-space:normal}.section-heading h2{font-size:clamp(2.25rem,3.7vw,3.1rem);line-height:1.2}.section-heading{align-items:center}.section{padding-top:82px}.section-aside{font-size:1rem}.work-card{padding:28px;border-radius:10px;display:flex;flex-direction:column}.work-card h3{font-size:clamp(1.5rem,2.2vw,1.875rem);line-height:1.35;margin:16px 0;letter-spacing:-.025em}.work-card>p:not(.card-venue){font-size:1.0625rem;line-height:1.7;min-height:0;flex:1}.card-meta,.card-venue{font-size:.875rem}.card-meta{gap:12px}.card-link{font-size:1rem;min-height:48px}.card-motif{height:96px;margin:15px 0}.card-motif span{font-size:2.7rem}.research-footnote{font-size:1rem;gap:12px 24px}.journey-date{font-size:.9375rem}.journey-name{font-size:1.75rem;line-height:1.3;letter-spacing:-.025em}.journey-name small{font-size:1rem;line-height:1.6;margin-top:7px}.journey-description{font-size:1.125rem;line-height:1.8}.journey-description .supervisor{font-size:1rem}.education-row h3{font-size:1.5rem;line-height:1.4}.education-row div>p,.education-row .position-date{font-size:1rem;white-space:normal}.contact-panel{padding:45px 48px}.contact-panel h2{font-size:clamp(2.2rem,3.4vw,3.2rem)}.email-address{font-size:1rem}.footer{font-size:.875rem}.page-hero>p:last-child{font-size:1.25rem}.search-field input{font-size:1.125rem;padding:16px 21px}.filter{font-size:1rem;padding:10px 19px}.paper-status,.pub-year,.pub-footer,#result-count{font-size:.9375rem}.library-paper h3{font-size:1.625rem;line-height:1.45}.pub-authors,.pub-meta{font-size:1rem;line-height:1.8}.pub-actions{font-size:1rem}.pub-actions pre{font-size:.9375rem}.project-copy>p{font-size:1.1875rem;line-height:1.9}.project-copy h2{font-size:1.75rem}.project-hero .lead{font-size:1.375rem;line-height:1.75}.project-context{font-size:1rem}.project-copy .paper-insight h2{font-size:1.375rem}.paper-insight .insight-note,.result-takeaway{font-size:1rem}.method-facts dt,.method-facts dd{font-size:1rem}.method-facts>div{grid-template-columns:180px minmax(0,1fr)}.rate-comparison span,.covariance-blocks span,.phase-label{font-size:.9375rem}.training-schedule strong{font-size:1.125rem}.training-schedule p{font-size:1rem}.cv p,.cv li{font-size:1.125rem;line-height:1.85}.cv h3,.cv .pub h3{font-size:1.3rem}.cv h2{font-size:1.65rem}.cv .cv-dates{font-size:.9375rem}.cv .pub-authors,.cv .pub-meta{font-size:1rem}.back{font-size:1rem}.pill{font-size:1rem}.sketch-panel{height:auto;min-height:460px;overflow:visible;border:0;border-radius:0;background:none;display:flex;flex-direction:column;justify-content:center;gap:22px}.sketch-paper{width:100%;aspect-ratio:700/440;background:#f7f9ff;border-radius:45% 48% 42% 46% / 42% 44% 46% 44%;display:flex;align-items:center;justify-content:center;overflow:hidden;transition:border-radius .6s,transform .6s}.hero-sketch{display:block;width:94%;height:94%;object-fit:contain;transition:transform .6s}.sketch-panel[data-interest="1"] .hero-sketch{transform:rotate(-2deg) scale(1.025)}.sketch-panel[data-interest="2"] .hero-sketch{transform:rotate(2deg) scale(1.025)}.sketch-panel .art-bottom{position:static;padding:0 12px;min-height:130px}.art-tabs{gap:8px;justify-content:center;flex-wrap:wrap}.art-tabs button{font-size:1rem;min-height:45px;padding:10px 17px;border-radius:6px}.art-bottom p{font-size:1.0625rem;line-height:1.65;text-align:center;max-width:420px;margin:auto}.affiliation-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding:34px 0}.affiliation-strip>span{grid-column:1/-1;font-size:.875rem}.university-mark{display:flex;justify-content:center;align-items:center;padding:18px;min-height:92px;background:#fff;border-radius:6px}.university-mark img{max-width:100%;width:auto;max-height:55px;object-fit:contain}.institution-logo{width:80px;height:70px;object-fit:contain;background:#fff;border-radius:6px;padding:9px;flex-shrink:0}.journey summary{grid-template-columns:80px 220px 1fr 30px;gap:25px}.journey-description{margin-left:350px}.education-row{display:grid;grid-template-columns:74px 1fr;gap:15px 22px;align-items:center}.education-row>.position-date{grid-column:2;margin-top:0}.education-row .institution-logo{width:74px;height:74px}.footer .wrap{font-size:.875rem}
@media(max-width:1100px){.nav-links{gap:15px}.brand>span:last-child{max-width:140px}.hero{gap:30px}.journey summary{grid-template-columns:68px 190px 1fr 25px;gap:20px}.journey-description{margin-left:298px}.institution-logo{width:68px}.work-grid{gap:16px}.work-card{padding:22px}.hero h1{font-size:4rem}.wrap{width:calc(100% - 56px)}}
@media(max-width:900px){.hero{grid-template-columns:1fr;gap:40px}.hero-copy{max-width:650px}.sketch-panel{min-height:0;max-width:550px;width:100%;margin:auto}.sketch-paper{max-height:340px}.work-grid{grid-template-columns:1fr}.work-card h3{font-size:1.8rem}.work-card{display:grid;grid-template-columns:1fr 145px;column-gap:25px}.card-meta,.card-venue,.work-card h3,.work-card>p:not(.card-venue){grid-column:1}.card-motif{grid-column:2;grid-row:2/5;align-self:center;margin:0;width:100%;height:120px}.card-link{grid-column:1/-1}.education-list{grid-template-columns:1fr}.journey summary{grid-template-columns:68px 1fr 25px;gap:12px 20px}.journey-date{grid-column:2;grid-row:1}.journey-name{grid-column:2;grid-row:2}.journey .institution-logo{grid-column:1;grid-row:1/3}.journey .expand{grid-column:3;grid-row:1/3}.journey-description{margin-left:88px}.affiliation-strip{gap:14px}.university-mark{padding:13px}}
@media(max-width:760px){.wrap{width:calc(100% - 40px)}.nav{min-height:76px}.nav-links{top:75px;font-size:1rem}.brand>span:last-child{max-width:150px;font-size:.9375rem}.menu-button{font-size:.875rem}.hero{padding-top:44px}.hero h1{font-size:clamp(3.1rem,11vw,4rem)}.hero-lead{font-size:1.8rem}.hero-description{font-size:1.125rem}.hero-affiliation{font-size:1rem}.section-heading{align-items:start;flex-wrap:wrap}.section-heading .text-link{font-size:1rem}.section-heading h2{font-size:2.25rem}.section{padding-top:64px}.sketch-panel .art-bottom{min-height:120px}.affiliation-strip{grid-template-columns:repeat(2,minmax(0,1fr));padding:25px 0}.university-mark{min-height:85px}.research-footnote{font-size:1rem}.journey-name{font-size:1.5rem}.journey-date{font-size:.875rem}.journey-name small{font-size:1rem}.journey-description{margin-left:0}.education-row h3{font-size:1.375rem}.education-row .position-date{font-size:.9375rem}.contact-panel{padding:28px}.contact-panel h2{font-size:2.15rem}.email-address{font-size:1rem}.filter{font-size:.9375rem;padding:9px 14px}.library-paper{grid-template-columns:42px 1fr;gap:15px}.library-paper h3{font-size:1.375rem}.paper-status{font-size:.875rem}.project-hero h1{font-size:2.4rem}.project-copy>p{font-size:1.125rem}.project-hero .lead{font-size:1.1875rem}.method-facts>div{grid-template-columns:1fr;gap:7px}.footer .wrap{font-size:.875rem}.cv .pub-authors,.cv .pub-meta{font-size:.9375rem}.cv h3,.cv .pub h3{font-size:1.2rem}.cv p,.cv li{font-size:1.0625rem}}
@media(max-width:480px){.work-card{display:flex;padding:24px}.card-motif{height:85px;margin:10px 0}.work-card h3{font-size:1.65rem}.hero-actions .button{width:100%}.art-tabs button{padding:9px 12px;font-size:.9375rem}.journey summary{grid-template-columns:55px 1fr 20px;gap:10px 14px}.journey .institution-logo{width:55px;height:60px;padding:6px}.education-row{grid-template-columns:60px 1fr;gap:12px}.education-row .institution-logo{width:60px;height:65px}.contact-actions .button{width:100%}.brand>span:last-child{max-width:120px}.nav-right{gap:6px}}
@media print{.institution-logo{display:none}.cv p,.cv li{font-size:10pt}.cv h3,.cv .pub h3{font-size:12pt}.cv h2{font-size:15pt}.cv .pub-authors,.cv .pub-meta{font-size:9pt}}
.sketch-paper{border-radius:22px;background:#f7f9ff}.logo-holder{display:flex;align-items:center;justify-content:center}.logo-holder img{width:100%;height:100%;object-fit:contain}.strip-logo{width:100%;height:58px}.logo-fallback{color:#172646;font-size:1rem;line-height:1.25;font-weight:600;text-align:center}.institution-logo .logo-fallback{font-size:.75rem}.sketch-panel .hero-sketch{width:100%;height:100%;padding:12px}.journey .institution-logo{height:75px}.affiliation-strip .university-mark:hover{background:#f0f4ff;transform:translateY(-2px)}
@media(max-width:380px){.brand>span:last-child{max-width:105px;font-size:.875rem}.brand{gap:8px}.nav{gap:8px}.monogram{font-size:28px}.menu-button{padding:0 9px}.hero h1{font-size:2.9rem}.art-tabs{gap:6px}.art-tabs button{font-size:.875rem;padding:9px 10px}}
/* Each research interest has its own illustration. */
.sketch-paper{position:relative;isolation:isolate}.sketch-panel .hero-sketch{object-fit:contain;padding:15px;transform:none!important}.sketch-scene{animation:sketch-appear .32s ease-out}.art-bottom p{max-width:460px;min-height:5.1em}.sketch-panel .art-bottom{min-height:156px}@keyframes sketch-appear{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.sketch-scene{animation:none}}
.sketch-paper{aspect-ratio:3/2}

/* Illustrated research cards and a compact personal wordmark. */
.brand{gap:14px;flex-shrink:0}.brand .monogram{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:14px;background:linear-gradient(145deg,#5877ce,#304889);box-shadow:inset 0 0 0 1px #b7c9ff40,0 4px 15px #0002;color:#fff;font-family:Georgia,'Times New Roman',serif;font-size:2.8rem;font-weight:400;font-style:italic;line-height:1;padding:0 4px 5px 0;letter-spacing:-.03em;transition:transform .25s}.brand:hover .monogram{transform:rotate(-5deg)}.brand .brand-name{display:flex;flex-direction:column;max-width:none;line-height:1.3;font-size:1rem;letter-spacing:.005em}.brand-name strong{font-weight:600}.brand-name>span{color:var(--muted);font-size:.9375rem;letter-spacing:.015em}.work-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.work-card{display:flex;flex-direction:column;padding:28px;border-radius:16px;overflow:hidden}.card-meta{font-size:.9375rem}.research-illustration{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1.85;margin:20px 0 24px;background:#f6f8ff;border-radius:11px;overflow:hidden}.research-illustration img{width:100%;height:100%;object-fit:contain;object-position:center;transition:transform .4s;padding:10px}.work-card:hover .research-illustration img{transform:scale(1.04) rotate(-1deg)}.work-card h3{font-size:clamp(1.5rem,2.2vw,1.875rem);line-height:1.32;max-width:540px}.work-card>p:not(.card-venue){font-size:1.0625rem;line-height:1.75}.card-link{margin-top:24px}.research-footnote{margin-top:28px}
/* A logo is centered on the complete entry, including expanded content. */
.journey{position:relative;padding:29px 0 29px 110px}.journey summary{grid-template-columns:210px minmax(0,1fr) 28px;gap:24px;align-items:center}.journey .institution-logo{position:absolute;left:0;top:50%;transform:translateY(-50%);width:82px;height:82px;padding:12px;grid-column:auto;grid-row:auto;margin:0}.journey .journey-date{grid-column:1;grid-row:1}.journey .journey-name{grid-column:2;grid-row:1}.journey .expand{grid-column:3;grid-row:1}.journey-description{margin:18px 52px 0 234px}.logo-holder{display:flex!important;justify-content:center!important;align-items:center!important;overflow:hidden}.logo-holder img{display:block;object-fit:contain;object-position:50% 50%;width:100%;height:100%;margin:0}.logo-holder img[hidden]{display:none!important}.logo-fallback{width:100%;text-align:center;line-height:1.25;margin:0}.education-list{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:stretch}.education-row{position:relative;display:block;padding:28px 24px 28px 110px;border:1px solid var(--line);border-radius:12px;background:var(--surface);min-width:0}.education-row .institution-logo{position:absolute;left:20px;top:50%;transform:translateY(-50%);width:68px;height:76px;grid-column:auto;grid-row:auto;margin:0;padding:10px}.education-copy h3{font-size:1.4rem;line-height:1.4;letter-spacing:-.02em}.degree-record{margin-top:20px}.degree-record+.degree-record{padding-top:20px;border-top:1px solid var(--line)}.education-row .degree-name{font-size:1.0625rem;color:var(--ink);line-height:1.5}.education-row .position-date{font-size:.9375rem;margin-top:5px;line-height:1.6}.academic-record{display:flex;flex-wrap:wrap;gap:16px 26px;margin:18px 0 0}.academic-record dt{font-size:.8125rem;color:var(--muted);line-height:1.5;margin-bottom:3px}.academic-record dd{font-size:1.5rem;line-height:1.3;font-weight:550;margin:0;color:var(--accent);letter-spacing:-.025em}.academic-record dd span{font-size:.875rem;color:var(--muted);font-weight:400;letter-spacing:0}.strip-logo{display:flex;align-items:center;justify-content:center;min-width:0}.university-mark{align-items:center;justify-content:center}
@media(max-width:1100px){.journey summary{grid-template-columns:180px minmax(0,1fr) 25px;gap:20px}.journey-description{margin-left:200px}.work-card{padding:24px}.education-list{grid-template-columns:1fr}.education-row{padding-left:120px}.education-row .institution-logo{left:25px;width:70px;height:78px}.academic-record{gap:20px 38px}.education-copy h3{font-size:1.5rem}}
@media(max-width:900px){.work-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.work-card{display:flex;padding:22px}.research-illustration{aspect-ratio:1.5;margin:18px 0 22px}.journey{padding-left:105px}.journey summary{grid-template-columns:minmax(0,1fr) 25px;gap:10px 18px}.journey .journey-date{grid-column:1;grid-row:1}.journey .journey-name{grid-column:1;grid-row:2}.journey .expand{grid-column:2;grid-row:1/3}.journey-description{margin-left:0;margin-right:20px}.journey .institution-logo{width:78px;height:78px}.work-card h3{font-size:1.55rem}}
@media(max-width:700px){.work-grid{grid-template-columns:1fr;gap:24px}.work-card{padding:24px}.research-illustration{aspect-ratio:1.8}.work-card h3{font-size:1.75rem}.journey{padding-left:86px}.journey .institution-logo{width:64px;height:68px;padding:8px}.journey .journey-name{font-size:1.4rem}.journey-description{font-size:1.0625rem;margin-right:0}.education-row{padding:25px 20px 25px 96px}.education-row .institution-logo{left:17px;width:60px;height:68px;padding:8px}.education-copy h3{font-size:1.3rem}.academic-record{gap:16px 24px}.brand .monogram{width:42px;height:42px;flex-basis:42px;font-size:2.5rem;border-radius:12px}.brand{gap:10px}.brand .brand-name{font-size:.9375rem}.brand-name>span{font-size:.875rem}}
@media(max-width:380px){.brand .monogram{width:36px;height:36px;flex-basis:36px;font-size:2.2rem;border-radius:10px}.brand .brand-name{font-size:.8125rem}.brand-name>span{font-size:.8125rem}.journey{padding-left:75px}.journey .institution-logo{width:55px;height:62px}.education-row{padding-left:80px}.education-row .institution-logo{left:12px;width:52px;height:60px}.academic-record{gap:14px 18px}.academic-record dd{font-size:1.35rem}.work-card{padding:20px}}

/* Typography-led university entries, without logo tiles. */
.hero + #research{padding-top:34px;border-top:1px solid var(--line)}.journey{padding:30px 0 30px 24px;border-left:2px solid var(--line);transition:border-color .25s}.journey[open],.journey:hover{border-left-color:var(--accent)}.journey summary{grid-template-columns:220px minmax(0,1fr) 28px;gap:26px}.journey .journey-date{grid-column:1;grid-row:1;color:var(--accent);font-size:.9375rem;line-height:1.6}.journey .journey-name{grid-column:2;grid-row:1}.journey .expand{grid-column:3;grid-row:1}.journey-description{margin:20px 54px 0 246px}.education-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:start}.education-row{display:block;padding:30px;border:1px solid var(--line);border-top:3px solid var(--blue);border-radius:12px;background:var(--surface)}.education-copy h3{font-size:1.55rem;line-height:1.4;max-width:480px}.degree-record{margin-top:24px}.academic-record{gap:20px 36px}.academic-record dd{font-size:1.65rem}.degree-record+.degree-record{margin-top:24px;padding-top:24px}.education-row .position-date{margin-top:6px}
@media(max-width:1000px){.journey summary{grid-template-columns:190px minmax(0,1fr) 25px;gap:20px}.journey-description{margin-left:210px}.education-row{padding:26px}.education-copy h3{font-size:1.4rem}.academic-record{gap:18px 26px}}
@media(max-width:760px){.hero + #research{padding-top:36px}.journey{padding:25px 0 25px 20px}.journey summary{grid-template-columns:minmax(0,1fr) 25px;gap:10px 18px}.journey .journey-date{grid-column:1;grid-row:1}.journey .journey-name{grid-column:1;grid-row:2}.journey .expand{grid-column:2;grid-row:1/3}.journey-description{margin:18px 18px 0 0}.education-list{grid-template-columns:1fr;gap:24px}.education-row{padding:26px}.education-copy h3{font-size:1.45rem}.academic-record{gap:18px 32px}}
@media(max-width:380px){.journey{padding-left:16px}.education-row{padding:23px}.academic-record{gap:16px 24px}.education-copy h3{font-size:1.3rem}}

/* Small, visible topic buttons directly above the changing sketch. */
#interests{scroll-margin-top:110px}
.interest-gallery.sketch-panel{display:block;min-width:0;min-height:0;width:100%;height:auto;padding:0;gap:0;border:0;border-radius:0;background:none;overflow:visible}
.interest-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px;font-size:.875rem;font-weight:500;color:var(--muted)}
#interest-count{font:.75rem/1.5 ui-monospace,monospace;font-variant-numeric:tabular-nums;letter-spacing:.06em}
.interest-topics{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 14px}
.interest-topic{appearance:none;min-height:34px;padding:6px 11px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--body);font:500 .8125rem/1.35 var(--sans);cursor:pointer;transition:color .18s,background .18s,border-color .18s}
.interest-topic:hover{color:var(--ink);border-color:var(--accent)}
.interest-topic[aria-pressed=true]{background:var(--blue);border-color:var(--blue);color:#fff}
.interest-topic:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.interest-stage{position:relative;touch-action:pan-y pinch-zoom}
.interest-gallery .sketch-paper{aspect-ratio:3/2;width:100%;max-height:none;border-radius:20px;background:#f7f9ff}
.interest-gallery .hero-sketch{padding:12px;width:100%;height:100%;object-fit:contain}
.interest-caption{padding:16px 2px 0}
#interest-title{margin:0 0 6px;font-size:1.0625rem;line-height:1.4;font-weight:500;letter-spacing:-.01em;color:var(--ink)}
.interest-gallery #art-description{margin:0;max-width:none;min-height:4.8em;color:var(--body);font-size:1rem;line-height:1.6;text-align:left}
@media(max-width:900px){.interest-gallery.sketch-panel{max-width:550px;margin:auto}}
@media(max-width:600px){#interests{scroll-margin-top:94px}.interest-topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:12px}.interest-topic{min-height:38px;padding:6px 7px;font-size:.8125rem;text-wrap:balance}.interest-gallery .sketch-paper{height:clamp(160px,30svh,260px);max-height:none;border-radius:16px}.interest-caption{padding:12px 0 0}.interest-gallery #art-description{font-size:.9375rem;min-height:4.8em}}
@media(prefers-reduced-motion:reduce){.interest-topic{transition:none}}

/* Coursework and teaching records. */
#coursework,#teaching{scroll-margin-top:110px}
.academic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:start}
.academic-panel{min-width:0;padding:30px;background:var(--surface);border:1px solid var(--line);border-radius:14px}
.academic-panel-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 20px;padding-bottom:20px;border-bottom:1px solid var(--line)}
.academic-panel-heading h3{margin:0;color:var(--ink);font-size:1.4rem;line-height:1.4;letter-spacing:-.025em}
.academic-panel-heading>span{color:var(--muted);font-size:.875rem}
.course-list{list-style:none;padding:0;margin:0}
.course-list li{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin:0;padding:17px 0;font-size:1.0625rem;line-height:1.5;border-bottom:1px solid var(--line)}
.course-list li:last-child{border-bottom:0;padding-bottom:0}
.course-list li>span:first-child{min-width:0;color:var(--body)}
.course-list .course-detail{flex-shrink:0;color:var(--accent);font-size:.9375rem;font-variant-numeric:tabular-nums}
@media(max-width:760px){.academic-grid{grid-template-columns:1fr;gap:24px}.academic-panel{padding:24px}.academic-panel-heading h3{font-size:1.3rem}.course-list li{gap:14px;font-size:1rem}.course-list .course-detail{font-size:.875rem}}
@media(max-width:380px){.academic-panel{padding:20px}.course-list li{flex-wrap:wrap;gap:4px 14px}.course-list .course-detail{margin-left:auto}}

/* Compact grade lists; teaching records retain their term spacing. */
.coursework-grid .academic-panel{padding:24px 28px}
.coursework-grid .academic-panel-heading{padding-bottom:14px}
.coursework-grid .course-list li{padding:10px 0;font-size:1rem;gap:16px}
.coursework-grid .course-list li:last-child{padding-bottom:0}
.coursework-grid .course-detail{min-width:38px;text-align:right;font-weight:600}
.audited-courses{display:flex;align-items:baseline;flex-wrap:wrap;gap:12px 28px;margin-top:22px;padding:20px 0;border-bottom:1px solid var(--line)}
.audited-courses h3{margin:0;font-size:.9375rem;font-weight:500;color:var(--muted)}
.audited-courses ul{display:flex;flex-wrap:wrap;gap:10px 24px;list-style:none;padding:0;margin:0}
.audited-courses li{margin:0;font-size:1rem;color:var(--body)}
@media(max-width:760px){.coursework-grid .academic-panel{padding:22px}.coursework-grid .course-list li{font-size:1rem;flex-wrap:nowrap}.audited-courses{gap:12px}.audited-courses ul{gap:10px 20px}}

/* Compact paper cards: three columns, smaller art, and tighter text spacing. */
.work-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.work-card{padding:20px;border-radius:12px;min-width:0}
.work-card .card-meta{font-size:.8125rem;line-height:1.4;gap:10px}
.work-card .research-illustration{aspect-ratio:2.2;height:144px;margin:12px 0 14px;border-radius:8px}
.work-card .research-illustration img{padding:5px}
.work-card .card-venue{margin:0;font-size:.6875rem;line-height:1.5;letter-spacing:.06em}
.work-card h3{margin:10px 0 8px;font-size:1.3125rem;line-height:1.3;letter-spacing:-.02em}
.work-card>p:not(.card-venue){margin:0;font-size:.9375rem;line-height:1.55;color:var(--body)}
.work-card .card-link{min-height:34px;margin-top:16px;padding-top:10px;font-size:.875rem;line-height:1.5}
.work-card .card-link span{font-size:1.125rem}
.work-card:hover{transform:translateY(-3px)}
@media(max-width:1050px){.work-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.work-card .research-illustration{height:140px}}
@media(max-width:640px){.work-grid{grid-template-columns:1fr;gap:16px}.work-card{padding:18px}.work-card .research-illustration{height:112px;margin:10px 0 12px}.work-card h3{font-size:1.25rem;margin:8px 0}.work-card>p:not(.card-venue){font-size:.9375rem;line-height:1.5}.work-card .card-link{margin-top:12px;min-height:36px}}

/* Make every research topic clearly visible in either theme. */
.interest-header{color:var(--body)}
.interest-topic{background:#1c2c48;border-color:#617da9;color:#edf3ff;font-weight:600}
.interest-topic:hover{background:#2a4167;border-color:#a7c2ef;color:#fff}
.interest-topic[aria-pressed=true]{background:#adc6ff;border-color:#c7d7ff;color:#142139;box-shadow:0 0 0 1px #adc6ff30}
.interest-topic:focus-visible{outline:3px solid #c7d7ff;outline-offset:3px}
html[data-theme=light] .interest-topic{background:#eef3ff;border-color:#8fa6ce;color:#253f6a}
html[data-theme=light] .interest-topic:hover{background:#dbe6ff;border-color:#5375b0;color:#142139}
html[data-theme=light] .interest-topic[aria-pressed=true]{background:#3159ca;border-color:#2547a9;color:#fff;box-shadow:none}
html[data-theme=light] .interest-topic:focus-visible{outline-color:#3159ca}

/* Stronger separation between the page, content panels, and secondary text. */
:root{--paper:#0b1323;--surface:#1c2c46;--surface-alt:#243954;--nav-surface:#132238;--ink:#f7faff;--body:#e0e8f5;--muted:#b5c5dc;--line:#61799b;--accent:#b4ccff;--blue:#4164d3;--audit-bg:#e6eeff;--audit-ink:#192e52;--audit-detail:#40577b;--audit-border:#a1b9e6}
html[data-theme=light]{--paper:#edf2f8;--surface:#fff;--surface-alt:#e5edf9;--nav-surface:#fff;--ink:#14243b;--body:#30445f;--muted:#475c79;--line:#a9bad1;--accent:#3159ca;--blue:#3159ca;--audit-bg:#dfeaff;--audit-ink:#192e52;--audit-detail:#40577b;--audit-border:#809ece}
.header{background:color-mix(in srgb,var(--nav-surface) 96%,transparent);border-bottom:1px solid var(--line)}
.hero-description,.hero-affiliation span,.email-address{color:var(--body)}
.section-heading .eyebrow{color:var(--accent)}
.work-card,.education-row,.academic-panel,.paper-insight{background:var(--surface);border-color:var(--line);box-shadow:0 4px 18px #00000012}
.academic-grid>.academic-panel:nth-child(2){background:var(--surface-alt)}
.card-meta,.card-venue,.academic-panel-heading>span,.education-row .position-date{color:var(--muted)}
.course-list li>span:first-child{color:var(--ink)}
.course-list .course-detail{color:var(--accent)}
.journey{padding:24px;border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:12px;background:var(--surface);margin-bottom:12px}
.journey[open]{background:var(--surface-alt)}
.journey:last-child{border-bottom:1px solid var(--line)}
.journey .journey-name{color:var(--ink)}
.journey .journey-name small{color:var(--body)}
.contact-panel{background:var(--surface-alt);border-color:var(--line)}
.button.secondary,.theme-button,.menu-button{background:var(--surface);color:var(--ink);border-color:var(--line)}
.footer{background:var(--nav-surface);border-top:1px solid var(--line);color:var(--body)}
.search-field input::placeholder{color:var(--muted);opacity:1}

/* Audited courses are a distinct, readable academic record. */
.audited-courses{display:block;margin-top:20px;padding:22px 24px;background:var(--audit-bg);border:1px solid var(--audit-border);border-left:4px solid #6389d9;border-radius:12px;box-shadow:0 4px 18px #00000012}
.audited-courses h3{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 16px;margin:0 0 14px;color:var(--audit-ink);font-size:1.125rem;font-weight:650;line-height:1.4}
.audited-courses h3 span{color:var(--audit-detail);font-size:.875rem;font-weight:500}
.audited-courses ul{gap:10px;align-items:stretch}
.audited-courses li{padding:9px 14px;border:1px solid var(--audit-border);border-radius:7px;background:#fff;color:var(--audit-ink);font-size:1rem;line-height:1.45;font-weight:500}
@media(max-width:760px){.journey{padding:20px}.journey-description{margin:16px 0 0}.audited-courses{padding:20px}.audited-courses ul{gap:9px}.audited-courses li{padding:9px 12px}}

/* Midnight, in light and dark modes. */
:root{--chip-bg:#1c2c48;--chip-border:#617da9;--chip-ink:#edf3ff;--chip-hover:#2a4167;--chip-active:#adc6ff;--chip-active-ink:#142139;--audit-edge:#6389d9;--mark-start:#5877ce;--mark-end:#304889}
html[data-theme=light]{--chip-bg:#eef3ff;--chip-border:#8fa6ce;--chip-ink:#253f6a;--chip-hover:#dbe6ff;--chip-active:#3159ca;--chip-active-ink:#fff}
html[data-palette] .interest-topic{background:var(--chip-bg);border-color:var(--chip-border);color:var(--chip-ink)}
html[data-palette] .interest-topic:hover{background:var(--chip-hover);border-color:var(--accent);color:var(--ink)}
html[data-palette] .interest-topic[aria-pressed=true]{background:var(--chip-active);border-color:var(--chip-active);color:var(--chip-active-ink);box-shadow:none}
html[data-palette] .interest-topic:focus-visible{outline-color:var(--accent)}
.brand .monogram{background:linear-gradient(145deg,var(--mark-start),var(--mark-end));box-shadow:inset 0 0 0 1px #ffffff40,0 4px 15px #0002}
.audited-courses{border-left-color:var(--audit-edge)}
.button.primary{box-shadow:0 6px 24px color-mix(in srgb,var(--blue) 18%,transparent)}
.interest-gallery #art-description{min-height:6.4em}

/* Display preferences are available from every page. */
.appearance-picker{position:relative;flex-shrink:0}
.appearance-picker>summary{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 12px;list-style:none;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--ink);font-size:.875rem;line-height:1.3;cursor:pointer}
.appearance-picker>summary::-webkit-details-marker{display:none}
.appearance-picker>summary svg{width:19px;height:19px;fill:var(--accent)}
.appearance-picker[open]>summary{border-color:var(--accent);background:var(--surface-alt)}
.appearance-picker>summary:focus-visible,.appearance-panel .theme-button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.appearance-panel{position:absolute;right:0;top:calc(100% + 10px);z-index:101;width:280px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 110px);overflow-y:auto;padding:18px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:13px;box-shadow:0 16px 48px #0005}
.appearance-title{margin:0 0 12px;font-size:1rem;font-weight:600;line-height:1.4}
.appearance-panel .theme-button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;margin-top:13px;min-height:44px;padding:10px 12px;border-radius:8px;background:var(--surface-alt);color:var(--ink);font:500 .875rem/1.4 var(--sans);cursor:pointer}
.appearance-panel .theme-button>span:first-child{font-size:1.2rem;line-height:1}
@media(max-width:600px){.interest-topic[data-landscape="uncertainty"]{grid-column:span 2}.interest-gallery #art-description{min-height:6.4em}.appearance-picker>summary{padding:8px 10px;gap:5px}.appearance-panel{width:270px;padding:16px}}
@media(max-width:380px){.appearance-picker>summary{padding:8px}.appearance-picker>summary svg{width:16px;height:16px}}

/* Profile links and compact university marks. */
.hero-actions .scholar-link{gap:16px}
.hero-actions .hero-cv{margin:4px 0;min-height:44px;display:inline-flex;align-items:center;border-bottom:0;text-decoration:underline;text-underline-offset:5px;color:var(--accent)}
.university-emblem{display:flex;align-items:center;justify-content:center;width:116px;height:76px;padding:12px;flex-shrink:0;border-radius:10px;background:#fff;border:1px solid #dfe5ef;overflow:hidden}
.university-emblem img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;margin:0;filter:none}
.journey summary{grid-template-columns:220px minmax(0,1fr) 116px 24px;gap:22px}
.journey .university-emblem{grid-column:3;grid-row:1;align-self:center;justify-self:center}
.journey .expand{grid-column:4;grid-row:1;text-align:center}
.journey-description{margin:20px 164px 0 242px}
.journey summary:focus-visible{outline:2px solid var(--accent);outline-offset:7px;border-radius:4px}
.education-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}
.education-heading h3{margin:0;min-width:0}
.education-heading .university-emblem{width:76px;height:76px;padding:10px}
@media(max-width:1100px){.journey summary{grid-template-columns:175px minmax(0,1fr) 104px 24px;gap:18px}.journey .university-emblem{width:104px}.journey-description{margin-left:193px;margin-right:142px}.nav-links{gap:16px}}
@media(max-width:800px){.journey summary{grid-template-columns:minmax(0,1fr) 96px 22px;gap:8px 16px}.journey .journey-date{grid-column:1;grid-row:1}.journey .journey-name{grid-column:1;grid-row:2}.journey .university-emblem{grid-column:2;grid-row:1/3;width:96px;height:72px;padding:10px}.journey .expand{grid-column:3;grid-row:1/3}.journey-description{margin:18px 0 0}.education-heading{gap:16px}}
@media(max-width:480px){.journey{padding:18px 14px}.journey summary{grid-template-columns:minmax(0,1fr) 72px 18px;gap:8px 10px}.journey .university-emblem{width:72px;height:64px;padding:7px}.journey .journey-name{font-size:1.2rem;line-height:1.4;letter-spacing:-.025em}.journey .journey-name small{font-size:.9rem}.journey .journey-date{font-size:.8rem}.education-heading .university-emblem{width:64px;height:64px;padding:8px}.education-heading h3{font-size:1.25rem}.hero-actions .hero-cv{justify-content:center;width:100%;margin:0}}

/* Smaller interest artwork, with stable space while switching topics. */
.interest-gallery .sketch-paper{height:clamp(196px,18.5vw,246px);aspect-ratio:auto;border-radius:18px}
.interest-gallery .hero-sketch{width:100%;height:100%;max-width:390px;padding:10px;object-fit:contain}
.interest-caption{padding-top:14px}
@media(max-width:900px){.interest-gallery .sketch-paper{height:216px}.interest-gallery .hero-sketch{max-width:350px}}
@media(max-width:600px){.interest-gallery .sketch-paper{height:clamp(140px,21svh,185px);border-radius:15px}.interest-gallery .hero-sketch{max-width:295px;padding:8px}}

/* University marks adapt to the page instead of sitting on white tiles. */
.university-emblem{background:var(--paper);border-color:color-mix(in srgb,var(--line) 65%,transparent);isolation:isolate;transition:background .2s,border-color .2s}
.university-emblem img{mix-blend-mode:screen;filter:invert(1) hue-rotate(180deg) saturate(.9) brightness(1.12)}
html[data-theme=light] .university-emblem{background:color-mix(in srgb,var(--paper) 70%,#fff);border-color:var(--line)}
html[data-theme=light] .university-emblem img{mix-blend-mode:multiply;filter:none}

/* A drawn r and an open orbit form one consistent site mark. */
.brand .monogram{width:48px;height:48px;flex-basis:48px;display:grid;place-items:center;padding:0;border-radius:15px;border:1px solid color-mix(in srgb,var(--accent) 48%,var(--line));background:var(--surface);color:var(--ink);box-shadow:inset 0 1px 0 #ffffff15;transform:none;transition:background .2s,border-color .2s}
.brand .monogram svg{display:block;width:46px;height:46px;overflow:visible}
.mark-orbit{color:var(--accent);opacity:.65}
.mark-dot{color:var(--accent)}
.brand:hover .monogram{transform:none;background:var(--surface-alt);border-color:var(--accent)}
.brand .brand-name{font-size:1rem;line-height:1.3;letter-spacing:0}
.brand-name>span{font-size:.9375rem;line-height:1.3;letter-spacing:0}

/* Shared type sizes retain the hierarchy across academic sections. */
:root{--type-section:clamp(1.9rem,3.2vw,2.8rem);--type-card:clamp(1.1875rem,1.65vw,1.375rem);--type-body:1rem;--type-detail:.875rem}
.section-heading h2{font-size:var(--type-section);line-height:1.2}
.journey .journey-name,.education-copy h3,.education-heading h3,.academic-panel-heading h3{font-size:var(--type-card);line-height:1.4}
.hero-description{font-size:1.0625rem;line-height:1.75}
.hero-affiliation,.journey .journey-name small,.education-row .degree-name,.course-list li,.coursework-grid .course-list li,.interest-gallery #art-description{font-size:var(--type-body);line-height:1.6}
.journey .journey-date,.education-row .position-date,.course-list .course-detail,.academic-record dt{font-size:var(--type-detail);line-height:1.5}
.interest-header{font-size:.875rem}
#interest-title{font-size:1.125rem;line-height:1.4;font-weight:600}
.work-card .card-venue{font-size:.75rem}
.interest-topic{font-size:.8125rem;line-height:1.4}
.hero-actions .button,.hero-actions .hero-cv{font-size:.9375rem}
@media(max-width:760px){.brand .monogram{width:42px;height:42px;flex-basis:42px;border-radius:13px}.brand .monogram svg{width:41px;height:41px}.brand .brand-name{font-size:.9375rem}.brand-name>span{font-size:.875rem}.hero-description{font-size:1rem}}
@media(max-width:480px){.journey .journey-name small{font-size:.9375rem}.journey .journey-date{font-size:.8125rem}.education-heading{gap:12px}.interest-gallery #art-description{font-size:1rem}}
@media(max-width:380px){.brand .monogram{width:38px;height:38px;flex-basis:38px}.brand .monogram svg{width:37px;height:37px}.brand .brand-name,.brand-name>span{font-size:.8125rem}}
@media print{.university-emblem{background:#fff!important}.university-emblem img{filter:none!important;mix-blend-mode:normal!important}}

/* A rounded r and a full stop, drawn for clarity at favicon size. */
.brand .monogram{padding:0;border:0;border-radius:15px;background:none;color:var(--paper);box-shadow:none;transform:none;transition:box-shadow .2s ease}
.brand .monogram svg{display:block;width:100%;height:100%;overflow:visible}
.brand .mark-tile{fill:var(--ink);transition:fill .2s ease}
.brand .mark-letter{fill:var(--paper);transition:fill .2s ease}
.brand .mark-point{fill:var(--blue);transform-origin:43px 46.5px;transition:fill .2s ease,transform .2s ease}
html[data-theme=light] .brand .mark-point{fill:color-mix(in srgb,var(--accent) 45%,white)}
.brand:hover .monogram{transform:none;background:none;box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 12%,transparent)}
.brand:hover .mark-point{transform:scale(1.1)}
@media(max-width:760px){.brand .monogram{border-radius:13px}}
@media(max-width:380px){.brand .monogram{border-radius:12px}}
@media(prefers-reduced-motion:reduce){.brand:hover .mark-point{transform:none}}

/* Optional pointer companion: decoration only; the native cursor is retained. */
.pointer-option{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;margin-top:8px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font:500 .875rem/1.4 var(--sans);cursor:pointer;text-align:left}
.pointer-option[hidden]{display:none}
.pointer-option:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.pointer-option-icon{font-size:1.4rem;line-height:1;color:var(--accent)}
.pointer-option-state{margin-left:auto;font-size:.75rem;padding:2px 7px;border-radius:20px;background:var(--chip-active);color:var(--chip-active-ink)}
.pointer-option[aria-pressed=false] .pointer-option-state{background:var(--surface-alt);color:var(--muted)}
.pointer-companion{position:fixed;top:0;left:0;width:18px;height:18px;z-index:1200;pointer-events:none;user-select:none;color:var(--chip-active-ink);opacity:0;will-change:transform;transition:opacity .26s ease}
.pointer-companion.is-visible{opacity:1}
.pointer-core{position:absolute;inset:0;display:block;border:1px solid var(--accent);border-radius:50%;background:var(--chip-active);box-shadow:inset 0 1px 3px #ffffff55,0 2px 7px #00000018}
.pointer-core:before{content:'';position:absolute;top:-4px;left:8px;width:1px;height:3px;background:var(--accent)}
.pointer-core:after{content:'';position:absolute;top:-6px;left:7px;width:3px;height:3px;border-radius:50%;background:var(--accent)}
.pointer-face{position:absolute;inset:0;transform:translate(var(--look-x,0px),var(--look-y,0px));transition:transform .14s ease-out}
.pointer-eyes{position:absolute;left:4px;top:4px;width:2px;height:3px;border-radius:50%;background:currentColor;box-shadow:5px 0 currentColor}
.pointer-smile{position:absolute;left:6px;top:9px;width:4px;height:2px;border:0 solid currentColor;border-bottom-width:1px;border-radius:0 0 50% 50%;opacity:.7;transition:height .25s ease,width .25s ease}
.pointer-halo{position:absolute;inset:-5px;border:1px solid color-mix(in srgb,var(--accent) 35%,transparent);border-radius:50%;transition:transform .3s ease,border-color .3s ease}
.pointer-satellite:after{content:'';position:absolute;right:-2px;top:-3px;width:6px;height:6px;background:var(--accent);clip-path:polygon(50% 0,62% 37%,100% 50%,62% 63%,50% 100%,38% 63%,0 50%,38% 37%)}
.pointer-satellite{position:absolute;inset:-5px;animation:pointer-orbit 16s linear infinite paused}
.pointer-companion.is-visible.is-moving .pointer-satellite{animation-play-state:running}
@keyframes pointer-orbit{to{transform:rotate(360deg)}}
.pointer-companion[data-interactive=true] .pointer-smile{width:5px;height:3px}
.pointer-companion[data-interactive=true] .pointer-halo{transform:scale(1.1);border-color:color-mix(in srgb,var(--accent) 65%,transparent)}
@media(prefers-reduced-motion:reduce){.pointer-companion,.pointer-face,.pointer-halo{transition:none}.pointer-satellite{animation:none!important}}
@media print{.pointer-companion{display:none!important}}

/* Menus are contained by the full header, including small and short viewports. */
html{scroll-padding-top:calc(var(--header-height,96px) + 16px)}
#interests,#coursework,#teaching{scroll-margin-top:0}
.nav{position:relative}
.appearance-picker{position:static}
.appearance-panel{top:calc(100% + 8px);right:0;left:auto;width:300px;max-width:100%;max-height:max(80px,calc(100vh - var(--header-height,96px) - 24px));max-height:max(80px,calc(100dvh - var(--header-height,96px) - 24px));overscroll-behavior:contain;scrollbar-gutter:stable}
.nav-right{min-width:0}
.work-card h3,.project-hero h1,.library-paper h3,.education-heading h3{overflow-wrap:anywhere}
@media(max-width:900px){
 .nav{flex-direction:row;align-items:center;flex-wrap:nowrap;gap:10px;min-height:76px;padding-top:10px;padding-bottom:10px}
 .nav-right{width:auto;gap:8px;flex-shrink:0}
 .menu-button{display:block;min-height:44px;font-size:.875rem;border-radius:8px;padding:0 10px}
 .menu-button[aria-expanded=true]{border-color:var(--accent);background:var(--surface-alt)}
 .nav-links{display:none;position:absolute;top:calc(100% + 8px);left:0;right:0;width:auto;max-height:calc(100dvh - var(--header-height,76px) - 24px);overflow-y:auto;overscroll-behavior:contain;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:0 16px 48px #0005;gap:2px;align-items:stretch;flex-direction:column;flex-wrap:nowrap;z-index:100}
 .nav-links.open{display:flex}
 .nav-links a{display:flex;padding:8px 12px;min-height:44px;font-size:1rem}
 .appearance-panel{padding:14px}
 .brand{min-width:0}
 .brand .brand-name{min-width:0}
}
@media(max-width:359px){
 .nav{flex-wrap:wrap;row-gap:8px}
 .brand{flex-basis:100%}
 .nav-right{width:100%;justify-content:flex-end}
 .appearance-panel{width:100%}
}
@media(max-height:480px) and (max-width:900px){
 .nav{min-height:60px;padding-top:6px;padding-bottom:6px}
 .appearance-panel{padding:10px}
 .appearance-title{margin-bottom:8px}
}

/* Bring the opening content closer to the navigation without changing its layout. */
@media screen{
 .hero{padding-top:28px}
 .page-hero{padding-top:32px}
 .project-hero,.cv{padding-top:28px}
 .cv-top{margin-bottom:24px}
 .cv-interests h2{margin-top:0}
 .cv strong{font-weight:700;color:var(--ink)}
}
@media screen and (max-width:760px){
 .hero,.project-hero,.cv{padding-top:24px}
 .page-hero{padding-top:28px}
}

/* Thesis titles and linked academic supervisors. */
.degree-thesis{margin:16px 0 0;font-size:.9375rem;line-height:1.55;color:var(--body)}
.degree-thesis>span{display:block;margin-bottom:5px;font-size:.75rem;letter-spacing:.04em;font-weight:600;color:var(--muted)}
.degree-thesis a,.supervisor-link,.inline-research-link{color:var(--accent);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.degree-thesis a:hover,.supervisor-link:hover,.inline-research-link:hover{color:var(--ink)}
.experience-paper{margin:12px 0 16px;font-size:1rem;line-height:1.6}
.experience-projects{padding-left:20px;margin:12px 0 16px;color:var(--body)}
.experience-projects li{padding-left:4px;line-height:1.7}
.experience-projects li+li{margin-top:12px}
.experience-projects strong{color:var(--ink)}

/* Identify the researcher directly beneath the name. */
.hero h1{margin-bottom:14px}
.hero .hero-affiliation{margin:0 0 26px;color:var(--ink);font-size:1.125rem;font-weight:550;line-height:1.55}
.hero .hero-affiliation span{margin-top:3px;color:var(--body);font-size:1rem;font-weight:400}
@media(max-width:760px){.hero .hero-affiliation{font-size:1.0625rem;margin-bottom:24px}.hero .hero-affiliation span{font-size:.9375rem}}

/* Research explanations: clear visual comparisons, with room for the details. */
.geometry-insight,.covariance-insight{padding:28px;border-radius:20px;background:var(--surface);overflow:hidden}
.insight-heading{margin-bottom:24px}
.insight-eyebrow{margin:0 0 8px;font:600 .6875rem/1.5 var(--sans);letter-spacing:.1em;text-transform:uppercase;color:var(--accent)}
.project-copy .insight-heading h2{margin:0;font-size:clamp(1.25rem,2.3vw,1.6rem);line-height:1.35;letter-spacing:-.025em;color:var(--ink)}
.geometry-rates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.geometry-rate{position:relative;min-width:0;padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--paper)}
.geometry-rate.is-adaptive{border-color:color-mix(in srgb,var(--accent) 60%,var(--line));background:color-mix(in srgb,var(--accent) 8%,var(--paper))}
.rate-card-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}
.rate-category{font-size:.6875rem;line-height:1.3;font-weight:600;text-transform:uppercase;letter-spacing:.07em;color:var(--muted)}
.is-adaptive .rate-category{color:var(--accent)}
.dimension-symbol{display:grid;place-items:center;width:29px;height:29px;border:1px solid var(--line);border-radius:8px;font:italic 1.25rem/1 Georgia,serif;color:var(--accent)}
.geometry-rate h3{font-size:1rem;font-weight:550;line-height:1.4;letter-spacing:-.02em;margin:0;color:var(--ink);min-height:2.8em}
.geometry-sketch{display:block;width:100%;height:112px;margin:2px auto 6px;color:var(--muted)}
.geometry-sketch .geometry-frame{stroke:currentColor;stroke-width:1;opacity:.35;stroke-linejoin:round}
.geometry-sketch circle{fill:currentColor;opacity:.85}
.is-adaptive .geometry-sketch{color:var(--accent)}
.geometry-curve{stroke:currentColor;stroke-width:2.3;stroke-linecap:round}
.rate-formula{font:2.25rem/1.4 Georgia,serif;color:var(--ink);margin:0 0 10px;letter-spacing:-.035em}
.rate-formula sup{font-size:.57em;vertical-align:super;margin-left:3px;letter-spacing:0}
.is-adaptive .rate-formula{color:var(--accent)}
.geometry-rate .rate-explanation{font-size:.8125rem;line-height:1.55;margin:0;color:var(--body);max-width:25ch}
.geometry-takeaway{display:flex;align-items:center;gap:16px;margin:20px 0;font-size:.9375rem;line-height:1.6;color:var(--body)}
.dimension-shift{flex:none;font:italic 1.5rem/1.4 Georgia,serif;white-space:nowrap;color:var(--accent)}
.dimension-shift span{font:1rem var(--sans);margin:0 5px}
.insight-assumptions{border-top:1px solid var(--line);padding-top:15px}
.insight-assumptions summary{display:flex;justify-content:space-between;align-items:center;gap:16px;list-style:none;font-size:.8125rem;font-weight:500;color:var(--body);cursor:pointer}
.insight-assumptions summary::-webkit-details-marker{display:none}
.insight-assumptions summary>span{font-size:1.25rem;color:var(--accent);transition:transform .2s}
.insight-assumptions[open] summary>span{transform:rotate(45deg)}
.insight-assumptions summary:focus-visible{outline:2px solid var(--accent);outline-offset:5px;border-radius:3px}
.insight-assumptions p{font-size:.8125rem;line-height:1.8;color:var(--body);margin:12px 0 0}
.covariance-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);align-items:center;gap:26px}
.covariance-explorer{min-width:0}
.matrix-instruction{margin:0 0 10px;font-size:.75rem;color:var(--muted)}
.covariance-matrix{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;position:relative}
.covariance-cell{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-width:0;min-height:108px;padding:15px 7px;border:1px solid var(--line);border-radius:11px;background:var(--paper);color:var(--ink);cursor:pointer;font:inherit;transition:border-color .2s,background .2s,box-shadow .2s}
.covariance-cell.is-cross{background:color-mix(in srgb,var(--accent) 11%,var(--paper));border-color:color-mix(in srgb,var(--accent) 42%,var(--line));color:var(--accent)}
.covariance-cell:hover{border-color:var(--accent)}
.covariance-cell[aria-pressed=true]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.covariance-cell[aria-pressed=true]:after{content:'';position:absolute;right:10px;top:10px;width:5px;height:5px;border-radius:50%;background:var(--accent)}
.covariance-cell:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.covariance-cell strong{font:1.8rem/1.3 Georgia,serif}
.covariance-cell strong sub{font-size:.55em}
.covariance-cell>span{font:500 .6875rem/1.4 var(--sans);color:var(--body);text-align:center}
.matrix-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 16px;margin-top:13px;font-size:.6875rem;line-height:1.4;color:var(--muted)}
.matrix-legend>span{display:inline-flex;align-items:center;gap:6px}
.matrix-legend i{width:8px;height:8px;border:1px solid var(--muted);border-radius:2px}
.matrix-legend .cross-key{background:var(--accent);border-color:var(--accent)}
.covariance-explanation{padding-left:22px;border-left:2px solid var(--accent);min-height:174px}
.covariance-category{font-size:.6875rem;line-height:1.5;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--accent);margin:0 0 9px}
.covariance-explanation h3{font-size:1.2rem;line-height:1.35;font-weight:500;letter-spacing:-.025em;color:var(--ink);margin:0 0 12px}
.covariance-copy{font-size:.9375rem;line-height:1.7;margin:0;color:var(--body)}
.private-release-flow{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:26px;padding:16px 12px;border:1px solid var(--line);border-radius:11px;background:var(--paper);font-size:.6875rem;line-height:1.5;color:var(--body)}
.private-release-flow>div{display:flex;align-items:center;gap:10px}
.release-label{display:inline-flex;align-items:center;gap:7px}
.release-label b{display:grid;place-items:center;font:italic .9375rem Georgia,serif;color:var(--accent);width:25px;height:25px;border-radius:6px;background:color-mix(in srgb,var(--accent) 12%,var(--surface))}
.release-plus{color:var(--muted)}
.release-arrow{color:var(--accent);font-size:1.25rem}
.release-result{display:inline-flex;align-items:center;gap:8px;color:var(--ink);font-weight:500}
.release-result strong{font:1.25rem Georgia,serif;color:var(--accent)}
.covariance-insight .insight-note{font-size:.8125rem;line-height:1.75;color:var(--muted);margin-top:14px}
@media(max-width:600px){
 .geometry-insight,.covariance-insight{padding:20px;border-radius:16px}
 .geometry-rates{gap:10px}
 .geometry-rate{padding:14px 12px}
 .geometry-rate h3{font-size:.9375rem;min-height:2.8em}
 .rate-card-heading{gap:5px;align-items:flex-start}
 .rate-category{font-size:.625rem;line-height:1.5;max-width:12ch}
 .dimension-symbol{width:24px;height:24px;flex:none;font-size:1.125rem}
 .geometry-sketch{height:95px}
 .rate-formula{font-size:1.75rem}
 .geometry-rate .rate-explanation{font-size:.75rem}
 .geometry-takeaway{align-items:flex-start;font-size:.875rem;gap:12px}
 .covariance-layout{grid-template-columns:1fr;gap:22px}
 .covariance-cell{min-height:100px}
 .covariance-cell>span{font-size:.75rem}
 .covariance-explanation{min-height:0;padding-left:16px}
 .private-release-flow{gap:10px}
}
@media(max-width:360px){.geometry-rates{grid-template-columns:1fr}.geometry-rate h3{min-height:0}.geometry-sketch{height:100px}.geometry-rate .rate-explanation{max-width:none}.geometry-takeaway{flex-direction:column;gap:6px}}
@media print{.insight-assumptions:not([open])>p{display:block}.geometry-sketch{height:90px}.covariance-copy{color:#111}.covariance-cell{break-inside:avoid}}

/* A balanced introduction and a single, self-contained interest card. */
.hero{grid-template-columns:minmax(0,1fr) minmax(0,1.03fr);align-items:center;gap:clamp(32px,4.5vw,64px);padding:30px 0 58px}
.hero-copy{min-width:0;max-width:600px}
.hero-copy>.eyebrow{font-size:.75rem;letter-spacing:.105em;margin:0}
.hero h1{font-size:clamp(3.25rem,5.05vw,4.65rem);line-height:1.05;letter-spacing:-.055em;margin:20px 0 20px;font-weight:500}
.hero .hero-affiliation{border-left:2px solid var(--accent);padding-left:14px;margin:0 0 28px;font-size:1.0625rem;line-height:1.5}
.hero .hero-affiliation span{font-size:.9375rem;margin-top:5px;color:var(--body)}
.hero-lead{font-size:clamp(1.65rem,2.35vw,2rem);line-height:1.4;letter-spacing:-.03em;margin:0}
.hero-lead em{display:inline-block;font-weight:400}
.hero-description{font-size:1rem;line-height:1.8;max-width:48ch;margin:20px 0 25px;color:var(--body)}
.hero-actions{gap:10px 12px;align-items:center}
.hero-actions .button{min-height:48px;padding:11px 18px;border-radius:9px;white-space:nowrap}
.hero-actions .hero-cv{font-size:.875rem;min-height:42px;margin:0;text-underline-offset:5px}
.interest-gallery.sketch-panel{width:100%;max-width:none;margin:0;padding:24px;border:1px solid var(--line);border-radius:24px;background:var(--surface);box-shadow:0 16px 42px #0000000c,0 2px 8px #00000008;overflow:hidden}
.interest-gallery .interest-header{align-items:center;margin-bottom:18px;gap:16px;color:var(--ink)}
#interests-heading{margin:0;font-size:1.125rem;line-height:1.35;letter-spacing:-.025em;font-weight:600}
.interest-hint{margin:4px 0 0;font-size:.75rem;line-height:1.5;font-weight:400;color:var(--muted)}
.interest-gallery #interest-count{font-size:.6875rem;line-height:1.3;letter-spacing:.05em;white-space:nowrap;padding:7px 9px;border:1px solid var(--line);border-radius:8px;color:var(--muted);background:var(--paper)}
.interest-gallery .interest-topics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0 0 18px}
.interest-gallery .interest-topic{display:flex;align-items:center;justify-content:center;min-width:0;min-height:43px;padding:6px 7px;font-size:.75rem;line-height:1.35;font-weight:500;text-align:center;text-wrap:balance;border-radius:8px;border-color:var(--line);background:var(--paper);color:var(--body);box-shadow:none;overflow-wrap:normal}
.interest-gallery .interest-topic:hover{background:color-mix(in srgb,var(--accent) 9%,var(--paper));border-color:var(--accent);color:var(--ink)}
.interest-gallery .interest-topic[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--paper);font-weight:600;box-shadow:0 3px 9px #00000012}
.interest-gallery .interest-topic:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.interest-gallery .sketch-paper{height:228px;aspect-ratio:auto;width:100%;border-radius:15px;background:#f7f9ff;border:1px solid color-mix(in srgb,var(--line) 25%,transparent)}
.interest-gallery .hero-sketch{width:100%;height:100%;max-width:370px;padding:10px;object-fit:contain}
.interest-gallery .interest-caption{padding:18px 1px 0;min-height:150px}
.interest-gallery #interest-title{font-size:1.125rem;line-height:1.4;font-weight:600;letter-spacing:-.02em;margin:0 0 8px;color:var(--ink)}
.interest-gallery #art-description{font-size:.9375rem;line-height:1.75;min-height:0;max-width:none;color:var(--body);margin:0}
@media(min-width:981px) and (max-width:1150px){
 .hero{gap:30px}
 .hero h1{font-size:clamp(3.25rem,5.2vw,3.75rem)}
 .hero-actions .hero-cv{width:100%;justify-content:flex-start}
 .interest-gallery.sketch-panel{padding:20px}
 .interest-gallery .interest-topics{gap:6px}
 .interest-gallery .interest-topic{padding-inline:5px;font-size:.75rem}
 .interest-gallery .interest-caption{min-height:172px}
}
@media(max-width:980px){
 .hero{grid-template-columns:minmax(0,1fr);gap:32px;padding-top:26px;padding-bottom:42px}
 .hero-copy{width:100%;max-width:660px;margin-inline:auto}
 .hero h1{font-size:clamp(3.5rem,7.5vw,4.5rem)}
 .hero-description{max-width:56ch}
 .interest-gallery.sketch-panel{max-width:660px;margin-inline:auto}
 .interest-gallery .sketch-paper{height:216px}
 .interest-gallery .interest-caption{min-height:132px}
}
@media(max-width:600px){
 .hero{gap:30px;padding-top:24px;padding-bottom:34px}
 .hero-copy>.eyebrow{font-size:.6875rem;letter-spacing:.075em}
 .hero h1{font-size:clamp(2.85rem,11.6vw,4rem);margin:18px 0;letter-spacing:-.05em}
 .hero .hero-affiliation{font-size:1rem;margin-bottom:24px;padding-left:12px}
 .hero .hero-affiliation span{font-size:.875rem}
 .hero-lead{font-size:1.65rem}
 .hero-description{font-size:1rem;line-height:1.75;margin:18px 0 22px}
 .hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .hero-actions .button{width:100%;padding:10px;font-size:.8125rem;gap:9px;min-height:47px}
 .hero-actions .hero-cv{grid-column:1/-1;justify-content:flex-start;min-height:35px;width:auto;font-size:.875rem}
 .interest-gallery.sketch-panel{padding:18px;border-radius:20px}
 .interest-gallery .interest-header{margin-bottom:15px;gap:10px}
 #interests-heading{font-size:1.0625rem}
 .interest-hint{font-size:.6875rem}
 .interest-gallery .interest-topics{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin-bottom:15px}
 .interest-gallery .interest-topic{grid-column:span 2;min-height:39px;padding:6px 4px;font-size:.75rem}
 .interest-gallery .interest-topic:nth-last-child(-n+2){grid-column:span 3}
 .interest-gallery .sketch-paper{height:clamp(155px,24svh,190px);border-radius:12px}
 .interest-gallery .hero-sketch{max-width:310px;padding:8px}
 .interest-gallery .interest-caption{padding-top:16px;min-height:178px}
 .interest-gallery #interest-title{font-size:1.0625rem}
 .interest-gallery #art-description{font-size:.9375rem;line-height:1.7}
}
@media(max-width:380px){
 .interest-gallery.sketch-panel{padding:14px}
 .interest-gallery .interest-topics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .interest-gallery .interest-topic,.interest-gallery .interest-topic:nth-last-child(-n+2){grid-column:auto}
 .hero-actions .button{font-size:.8125rem;padding-inline:7px}
 .interest-gallery .interest-caption{min-height:202px}
}

/* Stable publication cards: summaries and sketches share one preview area. */
#research .work-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch;grid-auto-rows:1fr}
#research .paper-card{position:relative;padding:18px;border-radius:12px;overflow:hidden;min-width:0;transition:border-color .2s,box-shadow .2s}
#research .paper-card:hover{transform:none}
#research .paper-card[data-sketch-open=true]{border-color:var(--accent);box-shadow:0 6px 20px #00000012}
.paper-body{display:flex;flex-direction:column;height:100%;min-height:0}
#research .paper-card .card-meta{margin:0 0 10px;font-size:.75rem;line-height:1.5;letter-spacing:.015em;color:var(--accent);gap:8px}
.card-index{margin:0;color:var(--muted);font:500 .6875rem/1.5 var(--mono);font-variant-numeric:tabular-nums}
#research .paper-card h3{max-width:none;margin:0 0 10px;font-size:1.0625rem;line-height:1.4;font-weight:600;letter-spacing:-.012em}
.paper-title{text-decoration:none}
.paper-title::after{content:'';position:absolute;inset:0;z-index:1;border-radius:inherit}
.paper-title:hover{color:var(--accent)}
.paper-title:focus-visible{outline:none}
#research .paper-card:has(.paper-title:focus-visible){outline:2px solid var(--accent);outline-offset:4px}
.paper-preview{position:relative;display:grid;align-items:center;min-height:96px;margin-top:auto;margin-bottom:12px}
#research .paper-card .paper-summary{margin:0;color:var(--body);font-size:.875rem;line-height:1.5;transition:opacity .18s}
.paper-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:10px;border-top:1px solid var(--line)}
#research .paper-card .card-venue{margin:0;font-size:.75rem;line-height:1.5;letter-spacing:.025em;color:var(--muted)}
.venue-highlight{font-weight:750;color:var(--ink)}
.paper-arrow{display:grid;place-items:center;width:22px;height:22px;border:1px solid var(--line);border-radius:50%;color:var(--accent);font-size:.8125rem}
.paper-art-reveal{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .2s}
.paper-art-clip{height:100%;overflow:hidden}
.paper-art{height:100%;margin:0;padding:3px;border-radius:8px;background:#f7f9ff;border:1px solid #cad4e6}
.paper-art img{display:block;width:100%;height:100%;max-height:96px;object-fit:contain;object-position:center}
.paper-card[data-sketch-open=true] .paper-art-reveal{opacity:1}
.paper-card[data-sketch-open=true] .paper-summary{opacity:0}
@media(max-width:1100px){#research .work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
 #research .work-grid{grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;gap:12px}
 #research .paper-card{padding:16px}
 .publications-section .section-heading{align-items:flex-start;flex-wrap:wrap;gap:12px}
 .publications-section .section-heading h2{font-size:clamp(1.75rem,6vw,2.4rem)}
 .publications-section .section-heading .text-link{font-size:.875rem}
}
@media(prefers-reduced-motion:reduce){.paper-art-reveal,.paper-summary{transition:none!important}}
@media print{.paper-art-reveal{display:none!important}.paper-card .paper-summary{opacity:1!important}#research .work-grid{grid-template-columns:1fr}#research .paper-card{break-inside:avoid}}

/* Projects use the same surfaces, spacing, type and corner radius as publications. */
.project-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;list-style:none;margin:0;padding:0}
.project-entry{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 24px;gap:16px;align-items:start;min-width:0;margin:0;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--surface);transition:border-color .2s,background .2s}
.project-entry>div{grid-column:1;grid-row:1}
.project-number{grid-column:2;grid-row:1;color:var(--muted);font:500 .6875rem/1.5 var(--mono);font-variant-numeric:tabular-nums;text-align:right;padding-top:2px}
.project-entry .project-topic{margin:0 0 9px;color:var(--accent);font-size:.75rem;line-height:1.5;letter-spacing:.015em}
.project-entry h3{margin:0;color:var(--ink);font-size:1.0625rem;line-height:1.4;font-weight:600;letter-spacing:-.012em;overflow-wrap:break-word;text-wrap:pretty}
@media(hover:hover){.project-entry:hover{border-color:var(--accent);background:var(--surface-alt)}}
@media(max-width:640px){.project-list{grid-template-columns:minmax(0,1fr);gap:12px}.project-entry{padding:18px}}
@media(prefers-reduced-motion:reduce){.project-entry{transition:none}}

/* Project links and a text-first, three-stage research explanation. */
.project-title-link{text-decoration:none;color:inherit}
.project-title-link::after{content:'';position:absolute;inset:0;border-radius:inherit}
.project-title-link:hover{color:var(--accent)}
.project-title-link:focus-visible{outline:none}
.project-entry:has(.project-title-link:focus-visible){outline:2px solid var(--accent);outline-offset:4px}
.project-link-arrow{color:var(--accent);font-size:.875em;white-space:nowrap}
.pruning-stages{display:grid;gap:14px;list-style:none;margin:28px 0;padding:0}
.pruning-stages>li{display:grid;grid-template-columns:32px minmax(0,1fr);gap:18px;padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.pruning-step{padding-top:3px;color:var(--accent);font:500 .8125rem/1.5 var(--mono)}
.pruning-stages h3{margin:0 0 10px;font-size:1.125rem;line-height:1.4;color:var(--ink)}
.pruning-stages p{margin:0;font-size:1rem;line-height:1.8;color:var(--body)}
@media(max-width:640px){.pruning-stages>li{grid-template-columns:24px minmax(0,1fr);gap:10px;padding:18px}.pruning-stages h3{font-size:1.0625rem}}

/* Distinguish the two fields while retaining the Midnight palette. */
.degree-field[data-field="computer-science"]{color:var(--accent);font-weight:600}
.degree-field[data-field="mathematics"]{color:#85d8c4;font-weight:600}
html[data-theme="light"] .degree-field[data-field="mathematics"]{color:#126957}
