/* Academic profile structure inspired by the supplied reference. */
:root{--bg:#fff;--surface:#fff;--ink:#363b3d;--muted:#656b6d;--line:#eceeee;--soft:#f5f6f5;--serif:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}body{font-size:17px;line-height:1.7}body.dark{--bg:#1c1e20;--surface:#222527;--ink:#e6e8e9;--muted:#b6babb;--line:#383d3f;--soft:#292d2f}h1,h2,h3{font-family:var(--sans);letter-spacing:-.025em}h1{font-size:1.85rem;font-weight:700;line-height:1.35}h2{font-size:1.5rem;font-weight:650;line-height:1.4}h3{font-weight:600}a{color:var(--blue)}.masthead{border-bottom:1px solid var(--line);background:var(--bg)}.masthead-inner{max-width:1240px;margin:auto;padding:17px 24px;display:flex;align-items:center;gap:25px;min-height:66px}.masthead nav{display:flex;gap:35px;align-items:center;flex:1;flex-wrap:wrap}.masthead nav a{font-size:1rem;color:var(--ink);text-decoration:none;padding:2px 0;font-weight:450}.masthead nav a:first-child{font-weight:700;margin-right:25px}.masthead nav a:hover,.masthead nav a[aria-current]{text-decoration:underline;text-underline-offset:12px;text-decoration-thickness:2px}.theme-toggle{color:var(--ink);flex-shrink:0}.site-shell{display:grid;grid-template-columns:220px minmax(0,1fr);gap:38px;max-width:1240px;margin:0 auto;min-height:calc(100vh - 67px);padding:35px 24px 0}.sidebar.academic-profile{position:sticky;top:30px;height:auto;max-height:calc(100vh - 50px);min-height:0;align-self:start;background:transparent;padding:0;display:block;overflow-y:auto;color:var(--ink)}.sidebar-portrait{width:165px;height:165px;border-radius:50%;object-fit:cover;object-position:50% 28%;margin:0 0 18px;border:4px solid var(--surface);outline:1px solid var(--line);box-shadow:none}.sidebar .side-name{font-family:var(--sans);font-size:1.12rem;font-weight:650;line-height:1.4;letter-spacing:-.02em;margin:0}.sidebar .side-description{font-size:.875rem;color:var(--ink);line-height:1.7;margin:10px 0 17px}.profile-links{list-style:none;margin:0;padding:0}.profile-links li{display:flex;gap:10px;align-items:center;font-size:.84rem;margin:10px 0;color:var(--muted);line-height:1.6}.profile-links li>span{width:15px;flex-shrink:0;text-align:center;font-size:.95rem}.profile-links a{font-size:.875rem;color:var(--ink);text-decoration:none}.profile-links a:hover{text-decoration:underline}.profile-links .linkedin-mini{font:700 .7rem Arial,sans-serif;background:#0a66c2;color:white;border-radius:1px;width:13px;height:13px;display:grid;place-content:center}.main-shell{padding:0;min-width:0;max-width:850px}.academic-home>h1{margin:0 0 45px}.academic-home section{margin-bottom:42px}.academic-home section>h2{padding-bottom:8px;border-bottom:1px solid var(--line);margin-bottom:16px}.academic-home p{font-size:1rem;line-height:1.85;margin-top:0}.academic-home p+p{margin-top:20px}.academic-home strong{font-weight:600}.academic-news ul{padding-left:24px;margin:0}.academic-news li{font-size:1rem;line-height:1.8;margin:12px 0;padding-left:3px}.academic-news time{font-weight:600;font-size:.95rem;margin-right:8px;white-space:nowrap}.academic-home-research{margin-bottom:45px}.page-heading{padding:0 0 24px;border-bottom:1px solid var(--line)}.page-heading h1{font-size:1.85rem;margin:0 0 18px;font-weight:700}.page-heading>p:not(.eyebrow){font-size:1rem;color:var(--ink);max-width:790px;line-height:1.8}.scholar-note{margin-top:14px!important}.topic-nav{margin-top:20px}.research-study{padding:30px 0;grid-template-columns:.85fr 1.2fr;gap:35px}.study-side h2{font-size:1.4rem;font-weight:600;line-height:1.45}.study-content h3{font-size:1rem}.research-note h2{font-size:1.5rem}.section-head h2{font-size:1.5rem;font-weight:600}.section-head .eyebrow{font-size:.72rem}.experience-entry{padding:30px 0;grid-template-columns:125px 1fr;gap:28px}.role-heading h2{font-size:1.45rem;font-weight:600}.experience-entry h3{font-size:1.05rem}.company-badge{height:52px;min-width:105px;width:105px}.company-logos{gap:8px}.brand-google{font-size:23px}.brand-youtube strong{font-size:14px}.brand-youtube svg{width:24px}.publication-section{padding-top:24px}.publication{padding:25px 0;grid-template-columns:75px 1fr}.publication h2{font-size:1.15rem;line-height:1.5;font-weight:600}.publication-year{font-family:var(--sans);font-size:1.2rem;font-weight:600}.publication p{line-height:1.8}.publication .authors{font-size:.875rem}.content-section{padding:32px 0}.expertise-card h3{font-family:var(--sans);font-size:1.15rem;font-weight:600;letter-spacing:-.025em;line-height:1.5}.expertise-grid{gap:14px}.expertise-card{padding:22px 17px}.skills-caption{font-size:.8rem}.workshop-banner{background:var(--soft);color:var(--ink);border:1px solid var(--line)}.workshop-banner p{color:var(--muted)}.large-word{font-family:var(--sans);font-weight:700;font-size:2.5rem}.chapter-grid h3{font-family:var(--sans);font-size:1.1rem;font-weight:600}.research-note .primary-link{font-size:.875rem}.primary-link{color:var(--surface)}footer{font-size:.75rem;padding:25px 0;margin-top:15px;border-top:1px solid var(--line)}.menu-toggle{display:none}.stack-header h3{font-size:1.1rem}.workshop-grid{gap:30px}.academic-about{max-width:830px}.academic-home-research a{font-size:1rem}
@media(max-width:1100px){.site-shell{grid-template-columns:200px minmax(0,1fr);gap:30px}.masthead nav{gap:24px}.masthead nav a:first-child{margin-right:10px}.company-logos{flex-direction:column}.experience-entry{grid-template-columns:105px 1fr;gap:25px}.expertise-card{grid-template-columns:46px 1fr;padding:22px}.expertise-card h3{min-height:0}.main-shell{padding:0}.research-study{gap:25px}.academic-home>h1{margin-bottom:35px}}
@media(max-width:820px){.site-shell{grid-template-columns:180px minmax(0,1fr);gap:25px;padding:30px 20px 0}.sidebar-portrait{height:145px;width:145px}.sidebar .side-name{font-size:1rem}.masthead nav{gap:20px}.masthead nav a{font-size:.9rem}.masthead nav a:first-child{margin-right:0}.research-study{grid-template-columns:1fr;gap:22px}.experience-entry{grid-template-columns:1fr;gap:9px}.role-heading h2{font-size:1.5rem}.education-row,.toolkit>div,.service-list article{grid-template-columns:1fr}.academic-home>h1{font-size:1.6rem;margin-bottom:30px}.academic-home section>h2{font-size:1.35rem}.skills-section .section-head{align-items:start}}
@media(max-width:600px){.masthead{position:sticky;top:0;z-index:30}.masthead-inner{padding:13px 20px;justify-content:space-between;min-height:58px}.menu-toggle{display:flex;align-items:center;gap:14px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font-size:.9rem;padding:5px 12px;border-radius:3px}.masthead nav{display:none;position:absolute;top:58px;left:0;right:0;padding:14px 20px 20px;background:var(--bg);border-bottom:1px solid var(--line);box-shadow:0 8px 15px #00000008}.masthead nav.open{display:flex;flex-direction:column;align-items:start;gap:17px}.masthead nav a{font-size:1rem}.site-shell{display:block;padding:25px 22px 0}.sidebar.academic-profile{position:static;display:grid;grid-template-columns:88px 1fr;gap:0 18px;max-height:none;margin:0 0 30px;padding:0 0 25px;border-bottom:1px solid var(--line);overflow:visible}.sidebar-portrait{display:block;width:88px;height:88px;grid-column:1;grid-row:1/4;margin:0}.sidebar .side-name{font-size:1rem;grid-column:2}.sidebar .side-name br{display:none}.sidebar .side-description{font-size:.85rem;margin:6px 0 0;grid-column:2}.profile-links{grid-column:1/-1;margin-top:15px;display:flex;flex-wrap:wrap;gap:8px 17px}.profile-links li{margin:0;font-size:.8rem;gap:6px}.profile-links li:first-child{width:100%;margin-bottom:3px}.profile-links a{font-size:.8rem}.profile-links li>span{font-size:.8rem;width:13px}.main-shell{padding:0;max-width:none}.academic-home>h1{font-size:1.65rem;margin-bottom:28px}.academic-home section{margin-bottom:30px}.academic-home p,.academic-news li{font-size:1rem;line-height:1.8}.academic-home section>h2{font-size:1.35rem;margin-bottom:15px}.page-heading{padding:0 0 24px}.page-heading h1{font-size:1.65rem;margin:0 0 14px}.section-head h2{font-size:1.4rem}.role-heading h2{font-size:1.35rem}.company-badge{min-width:95px;width:95px;height:49px}.brand-youtube strong{font-size:12px}.brand-google{font-size:21px}.brand-ucdavis{font-size:18px}.experience-entry h3{font-size:1rem}.skills-section{scroll-margin-top:80px}.expertise-card h3{font-size:1.2rem}.publication-year{font-size:.85rem}.publication{grid-template-columns:1fr;gap:12px}.publication h2{font-size:1.1rem}.research-study{scroll-margin-top:80px}.study-side h2{font-size:1.4rem}.sidebar .profile-links .linkedin-mini{font-size:.65rem}.news-list time{font-size:.8rem}.academic-news time{font-size:.9rem}.academic-news ul{padding-left:21px}.content-section{padding:28px 0}.large-word{font-size:2.5rem}.workshop-banner{padding:22px}footer{margin-top:0}}
.web-cv>h1{margin-bottom:34px}.web-cv section{margin-bottom:34px;scroll-margin-top:85px}.web-cv h2{font-size:1.5rem;border-bottom:1px solid var(--line);padding-bottom:8px;margin-bottom:17px}.web-cv ul{padding-left:24px;margin:0}.web-cv li{margin:0 0 22px;padding-left:3px;font-size:1rem;line-height:1.8}.web-cv li strong{font-weight:600}.cv-detail{display:block;font-size:.95rem;line-height:1.8;color:var(--muted);margin-top:3px}.web-cv section>p{font-size:1rem;margin-top:17px}.academic-about p{line-height:1.85}.academic-news time{display:inline-block;min-width:85px}.masthead nav{gap:29px}@media(max-width:820px){.masthead nav{gap:18px}.web-cv h2{font-size:1.35rem}}@media(max-width:600px){.web-cv>h1{font-size:1.65rem;margin-bottom:27px}.web-cv li{margin-bottom:22px}.web-cv ul{padding-left:21px}.cv-detail{font-size:.95rem}.academic-news time{min-width:0;margin-right:8px}}
/* Concise academic CV: institutions, appointments, dates, and service. */
.compact-cv section{margin-bottom:36px}.compact-cv h2{margin-bottom:18px}.compact-cv>section>ul{padding-left:25px}.compact-cv li{font-size:1rem;line-height:1.8;margin-bottom:15px}.compact-cv li>ul{margin:5px 0 0;padding-left:25px;list-style-type:circle}.compact-cv li>ul>li{margin-bottom:3px;color:var(--ink);font-size:1rem}.compact-cv li strong{font-weight:500}.compact-cv>section>ul>li:last-child{margin-bottom:0}@media(max-width:600px){.compact-cv>section>ul{padding-left:21px}.compact-cv li>ul{padding-left:21px}.compact-cv li{margin-bottom:16px}}
