/* Shared top identity bar and ordered section navigation. */
:root{--sidebar-width:268px;--topbar-height:104px;--sidebar-bg:#191f1d;--sidebar-text:#e5efea;--sidebar-active:#205c50}
html{scroll-padding-top:calc(var(--topbar-height) + 20px)}
body{padding-left:var(--sidebar-width);padding-top:var(--topbar-height)}
.site-topbar{position:fixed;inset:0 0 auto;height:var(--topbar-height);width:100%;padding:18px 34px;display:flex;align-items:center;justify-content:space-between;gap:24px;background:#f7f8f2;color:#192b28;border-bottom:1px solid #d9dfd3;z-index:210;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box}
.site-topbar .brand{display:flex;flex-direction:row;align-items:center;gap:20px;padding:0;color:#192b28;text-decoration:none;max-width:none;min-width:0;flex-shrink:1}
.site-topbar .brand-mark{border-right:1px solid #d9dfd3;padding-right:23px;font:46px/1 Georgia,serif;letter-spacing:-4px;color:#192b28}
.site-topbar .brand-mark span{color:#6a8d65}
.site-topbar .brand-copy{min-width:0}
.site-topbar .brand-name{display:block;font:650 28px/1.25 Arial,Helvetica,sans-serif;letter-spacing:-.025em;max-width:none}
.site-topbar .brand-sub{display:block;margin-top:5px;padding:0;font:400 11px/1.6 Arial,Helvetica,sans-serif;letter-spacing:.1em;color:#4e6459}
.site-topbar .header-profiles{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-shrink:0;margin:0}
.site-topbar .header-profile-link{display:flex;width:42px;height:42px;align-items:center;justify-content:center;border-radius:50%;color:#214c3f;text-decoration:none;background:transparent}
.site-topbar .header-profile-link:hover{background:#e2ece2;color:#102e24}
.site-topbar .header-profile-link svg{width:26px;height:26px;display:block}
.site-topbar .header-profile-link[title=LinkedIn] svg path{stroke:#f7f8f2}
.site-topbar .bio-orcid-symbol{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border:1.5px solid currentColor;border-radius:50%;font:500 16px/1 Arial,sans-serif;letter-spacing:-1px}
.site-topbar .menu-toggle{display:none}
.site-sidebar{position:fixed;inset:var(--topbar-height) auto 0 0;width:var(--sidebar-width);height:calc(100dvh - var(--topbar-height));margin:0;padding:24px 0;overflow-y:auto;overscroll-behavior:contain;background:var(--sidebar-bg);color:var(--sidebar-text);border:0;border-right:1px solid #ffffff16;z-index:200;font-family:Arial,Helvetica,sans-serif;box-sizing:border-box}
.site-sidebar #navigation{display:flex;position:static;flex-direction:column;align-items:stretch;justify-content:flex-start;flex-wrap:nowrap;flex-basis:auto;width:100%;max-width:none;gap:4px;padding:0;margin:0;font:400 20px/1.45 Arial,Helvetica,sans-serif;border:0;background:none}
.site-sidebar #navigation>a,.site-sidebar .sidebar-group-heading>a{display:block;margin:0;padding:12px 24px;font:400 20px/1.45 Arial,Helvetica,sans-serif;white-space:normal;text-decoration:none;border:0;border-radius:0;color:var(--sidebar-text);background:none;min-width:0;box-sizing:border-box}
.site-sidebar #navigation a:hover{color:white;background:#263f36;text-decoration:none}
.site-sidebar #navigation a[aria-current]{background:var(--sidebar-active);color:white;text-decoration:none;box-shadow:inset 3px 0 #a1d5b6}
.site-sidebar .sidebar-group{width:100%}
.site-sidebar .sidebar-group-heading{display:flex;align-items:stretch;min-width:0}
.site-sidebar .sidebar-group-heading>a{flex:1;padding-right:0}
.site-sidebar .submenu-toggle{display:flex;align-items:center;justify-content:center;flex:0 0 38px;align-self:center;min-height:44px;padding:9px;margin:0 8px 0 0;background:none;border:0;border-radius:4px;color:#d9e9df;cursor:pointer}
.site-sidebar .submenu-toggle:hover{background:#ffffff12}
.site-sidebar .submenu-toggle svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;transition:transform .18s}
.site-sidebar .submenu-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.site-sidebar .sidebar-group.is-current>.sidebar-group-heading{background:#233e34}
.site-sidebar .sidebar-submenu{display:flex;flex-direction:column;border-left:1px solid #597668;margin:4px 16px 10px 26px;padding-left:8px}
.site-sidebar .sidebar-submenu[hidden]{display:none}
.site-sidebar .sidebar-submenu a{display:block;padding:10px 12px;font:400 17px/1.5 Arial,Helvetica,sans-serif;white-space:normal;text-decoration:none;color:#c5d9cd}
.site-sidebar #navigation>.nav-cv{display:block;margin:10px 22px 0;padding:11px 16px;align-self:stretch;border:1px solid #759c86;border-radius:4px;text-align:center;background:none;color:#f4faf5;font:400 20px/1.45 Arial,Helvetica,sans-serif}
.site-sidebar #navigation>.nav-cv:hover{background:#263f36}
.site-sidebar a:focus-visible,.site-sidebar button:focus-visible{outline:2px solid #b2ebcc;outline-offset:-4px}

body>.skip{position:fixed;top:-100px;left:calc(var(--sidebar-width) + 15px);z-index:400;padding:12px;background:#173e39;color:white}
body>.skip:focus{top:10px}
.site-topbar a:focus-visible,.site-topbar button:focus-visible{outline:2px solid #205c50;outline-offset:2px}
.section-shell{width:min(1320px,calc(100% - 80px))}
.home-page>.bio-about,.isolated-page{min-height:calc(100dvh - var(--topbar-height))}
.isolated-page>.contact-section{min-height:calc(100dvh - var(--topbar-height));display:flex;align-items:center}
.page-label-heading{font:650 2.125rem/1.25 Arial,Helvetica,sans-serif;letter-spacing:-.025em;margin:0 0 22px;color:inherit}
.bio-about-layout{grid-template-columns:210px minmax(0,1fr);gap:36px;padding-top:42px;padding-bottom:42px}
.bio-portrait{width:180px;height:180px}
.bio-profile h2{font-size:1.4rem}
.bio-profile-title{font-size:1.0625rem}
.bio-profile-links{gap:6px}
.resume-actions{gap:20px}
@media(min-width:761px) and (max-width:1100px){.bio-about-layout{grid-template-columns:1fr;gap:28px}.bio-profile{display:grid;grid-template-columns:160px 1fr;text-align:left;align-items:center;column-gap:25px;max-width:650px;width:100%;margin:auto}.bio-portrait{grid-column:1;grid-row:1/4;width:150px;height:150px;margin:0}.bio-profile h2{grid-column:2;margin:0;max-width:none}.bio-profile-title{grid-column:2}.bio-profile-links{grid-column:2;justify-content:flex-start;margin-top:4px}.site-topbar .brand-name{font-size:25px}.site-topbar{padding-inline:24px}}
@media(max-width:760px){
 :root{--topbar-height:116px}
 body{padding-left:0}
 .site-topbar{height:var(--topbar-height);display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:44px 36px;gap:8px 10px;padding:12px 16px}
 .site-topbar .brand{gap:11px;grid-column:1;grid-row:1;align-self:center}
 .site-topbar .brand-mark{font-size:33px;padding-right:13px;letter-spacing:-3px}
 .site-topbar .brand-name{font-size:18px;line-height:1.25}
 .site-topbar .brand-sub{display:none}
 .site-topbar .header-profiles{grid-column:1/3;grid-row:2;gap:8px;justify-self:end}
 .site-topbar .header-profile-link{width:36px;height:36px}
 .site-topbar .header-profile-link svg{width:24px;height:24px}
 .site-topbar .menu-toggle{grid-column:2;grid-row:1;display:flex;align-items:center;gap:7px;padding:8px 0 8px 6px;min-height:44px;border:0;background:none;color:#214c3f;font:400 16px/1.5 Arial,sans-serif}
 .site-topbar .menu-toggle span{font-size:20px}
 .site-sidebar{display:none;width:min(320px,90vw);padding:16px 0 30px;box-shadow:14px 5px 35px #001b183d}
 .site-sidebar.is-open{display:block}
 .site-sidebar #navigation>a,.site-sidebar .sidebar-group-heading>a{font-size:19px}
 .site-sidebar #navigation>.nav-cv{font-size:19px}
 body>.skip{left:12px}
 .section-shell{width:calc(100% - 40px)}
 .bio-about-layout{grid-template-columns:1fr;gap:30px;padding-top:30px;padding-bottom:34px}
 .bio-profile h2{font-size:1.5rem}
 .bio-profile-links{gap:13px}
 .bio-research-images{margin-top:24px}
 .resume-actions{flex-wrap:wrap}
 .page-label-heading{font-size:1.875rem}
}
@media print{body{padding:0!important}.site-topbar,.site-sidebar,body>.skip,.resume-actions{display:none!important}}
@media(prefers-reduced-motion:reduce){.site-sidebar .submenu-toggle svg{transition:none}}

/* Body copy follows even left and right edges; the last line remains natural. */
.justified-copy{text-align:justify;text-align-last:left;text-justify:inter-word;hyphens:auto;overflow-wrap:break-word}

/* Discreet owner-dashboard entry beside the footer return link. */
footer .footer-return-links{display:inline-flex;align-items:baseline;gap:14px;white-space:nowrap}footer .footer-owner-link{font-size:.75rem;line-height:1.5;letter-spacing:.02em}

/* One typographic scale for the main portfolio sections and scientific tool pages. */
body main .page-title,body.publication-template main .page-title{font:700 3.125rem/1.2 Arial,Helvetica,sans-serif;font-style:normal;font-variant:normal;letter-spacing:-.025em;word-spacing:normal;text-transform:none;margin:0 0 22px;width:auto;height:auto;min-width:0;max-width:100%;overflow-wrap:break-word}
body main .page-subtitle{line-height:1.2;letter-spacing:-.025em;margin:22px 0}
@media(max-width:760px){body main .page-title,body.publication-template main .page-title{font-size:2.25rem}}
