/* Shared site navigation (Home, CV, research notebook). Height preserves the notebook's sticky rail offsets. */
@font-face{font-family:Manrope;src:url('/home-assets/manrope-variable.ttf');font-weight:200 800;font-display:swap}
body>.site-header{box-sizing:border-box;height:73px;position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;padding:0 max(80px,calc((100% - 1280px) / 2));background:#f8f7f4;border:0;border-bottom:1px solid #e5e4df;box-shadow:none;font-family:Manrope,sans-serif}
.site-header .brand{font:600 16px/1 Manrope,sans-serif;letter-spacing:-.01em;color:#272a3d;text-decoration:none;white-space:nowrap}
.site-header #main-nav{display:flex;align-items:center;gap:28px;font:500 14px/1.5 Manrope,sans-serif;letter-spacing:0;color:#272a3d}
.site-header #main-nav a{display:flex;align-items:center;padding:0;background:none;border:0;border-radius:0;color:inherit;text-transform:none;text-decoration:none;white-space:nowrap}
.site-header #main-nav a:not(.nav-pill):hover,.site-header #main-nav a:not(.nav-pill):focus-visible{text-decoration:underline;text-underline-offset:5px}
.site-header #main-nav .nav-pill{font-weight:600;border-radius:999px;transition:background .15s,border-color .15s}
.site-header #main-nav .nav-notebook{padding:7px 16px;border:1px solid #c9ccd8}
.site-header #main-nav .nav-notebook:hover,.site-header #main-nav .nav-notebook[aria-current]{border-color:#272a3d}
.site-header #main-nav .nav-cv{gap:8px;padding:8px 10px 8px 18px;background:#e9e8e2}
.site-header #main-nav .nav-cv:hover{background:#dedcd4}
.site-header #main-nav .nav-cv svg{width:22px;height:22px;padding:4px;box-sizing:border-box;border-radius:999px;background:#272a3d;color:#f8f7f4}
.site-header .menu-toggle{display:none}
.site-header :focus-visible{outline:2px solid #272a3d;outline-offset:4px}
@media(max-width:1080px){body>.site-header{padding-inline:32px}.site-header #main-nav{gap:20px;font-size:13px}}
@media(max-width:860px){body>.site-header{padding-inline:20px}.site-header #main-nav{display:none;position:absolute;top:72px;left:12px;right:12px;flex-direction:column;align-items:stretch;gap:0;background:#f8f7f4;padding:12px 20px 20px;border:1px solid #ddded8;border-radius:14px;box-shadow:0 15px 30px #0002;font-size:16px}.site-header #main-nav.open{display:flex}.site-header #main-nav a{padding:13px 0;border-bottom:1px solid #ebe9e3}.site-header #main-nav .nav-pill{justify-content:center;margin-top:12px;border-bottom:0}.site-header #main-nav .nav-notebook{padding:12px 16px;border:1px solid #c9ccd8}.site-header #main-nav .nav-cv{padding:12px 16px}.site-header .menu-toggle{display:grid;place-items:center;width:42px;height:42px;border:0;background:none;cursor:pointer}.site-header .menu-toggle img{width:25px;height:25px}}
