*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:17px;scroll-behavior:smooth}
body{font-family:'Source Serif 4',Georgia,serif;color:#1A1A1A;background:#FFF;line-height:1.7;-webkit-font-smoothing:antialiased}
.site-container{display:flex;flex-direction:column;min-height:100vh}
.site-header{border-bottom:2px solid #002FA7;background:#FFF;position:sticky;top:0;z-index:100;box-shadow:0 1px 8px rgba(0,47,167,.06)}
.site-nav{max-width:1060px;margin:0 auto;padding:1.2rem 2rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem}
.site-title{font-family:'Inter',sans-serif;font-weight:700;font-size:.95rem;letter-spacing:.18em;text-transform:uppercase;color:#002FA7;text-decoration:none;transition:opacity .2s}
.site-title:hover{opacity:.8}
.nav-links{display:flex;gap:1.5rem;align-items:center;flex-wrap:wrap}
.nav-links a{font-family:'Inter',sans-serif;font-size:.8rem;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:#555;text-decoration:none;padding-bottom:2px;border-bottom:2px solid transparent;transition:color .2s,border-color .2s}
.nav-links a:hover,.nav-links a.active{color:#002FA7;border-bottom-color:#002FA7}
.lang-switch{font-size:.75rem!important;padding:.2rem .6rem!important;border:1.5px solid #002FA7!important;border-radius:3px;color:#002FA7!important;font-weight:600!important;transition:background .2s,color .2s!important}
.lang-switch:hover{background:#002FA7!important;color:#FFF!important}
.site-main{flex:1;max-width:1060px;margin:0 auto;padding:3rem 2rem;width:100%}

/* Page titles */
.page-title{font-family:'Inter',sans-serif;font-size:1.1rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:#002FA7;margin-bottom:2rem;padding-bottom:.8rem;border-bottom:3px solid #002FA7}

/* Page content typography */
.page-content h2{font-family:'Inter',sans-serif;font-size:.9rem;font-weight:600;letter-spacing:.15em;text-transform:uppercase;color:#002FA7;margin-top:2.5rem;margin-bottom:1rem;padding-bottom:.4rem;border-bottom:1px solid #E0E6F0}
.page-content h3{font-family:'Source Serif 4',Georgia,serif;font-size:1.1rem;font-weight:700;color:#1A1A1A;margin-top:2rem;margin-bottom:.4rem}
.page-content h3+p{font-family:'Inter',sans-serif;font-size:.85rem;color:#555;margin-bottom:1.5rem}
.page-content h3 a{color:#1A1A1A;border-bottom:none}
.page-content h3 a:hover{color:#002FA7}
.page-content p{margin-bottom:1rem;text-align:left}
.page-content a{color:#002FA7;text-decoration:none;border-bottom:1px solid rgba(0,47,167,.25);transition:border-color .2s}
.page-content a:hover{border-bottom-color:#002FA7}
.page-content ul,.page-content ol{margin-bottom:1rem;padding-left:1.5rem}
.page-content li{margin-bottom:.5rem}
.page-content strong{font-weight:700}
.page-content em{font-style:italic}
.page-content blockquote{border-left:3px solid #002FA7;padding-left:1.2rem;margin:1.5rem 0;color:#444;font-style:italic}
.page-content hr{border:none;border-top:1px solid #E0E6F0;margin:2rem 0}

/* CV download buttons */
.cv-download-links a{font-family:'Inter',sans-serif;font-size:.85rem;color:#002FA7;border:1.5px solid #002FA7;padding:.3rem .8rem;border-radius:3px;transition:background .2s,color .2s;display:inline-block;margin:.2rem .3rem .2rem 0;text-decoration:none;border-bottom:none}
.cv-download-links a:hover{background:#002FA7;color:#FFF}

/* Homepage layout */
.home-layout{display:grid;grid-template-columns:220px 1fr;gap:3rem;align-items:start}
.home-sidebar{position:sticky;top:6rem;text-align:center}
.sidebar-photo{width:180px;height:180px;margin:0 auto 1.2rem;border-radius:50%;overflow:hidden;border:3px solid #002FA7;box-shadow:0 2px 12px rgba(0,47,167,.12);background:linear-gradient(135deg,#E0E6F0 0%,#C8D3EA 100%)}
.sidebar-photo img{width:100%;height:100%;object-fit:cover;display:block}
.photo-initials{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-family:'Inter',sans-serif;font-size:3rem;font-weight:700;color:#002FA7;letter-spacing:.05em}
.sidebar-name{font-family:'Inter',sans-serif;font-size:1.15rem;font-weight:700;letter-spacing:.04em;color:#002FA7;margin-bottom:.2rem;line-height:1.3}
.sidebar-role{font-family:'Inter',sans-serif;font-size:.82rem;color:#333;margin:0;line-height:1.4;font-weight:500}
.sidebar-affiliation{font-family:'Inter',sans-serif;font-size:.78rem;color:#666;margin:.15rem 0 0;line-height:1.4}
.sidebar-icons{display:flex;justify-content:center;gap:.9rem;margin-top:1.2rem}
.sidebar-icons a,.sidebar-icons a.icon-btn{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;color:#002FA7;border:1.5px solid #002FA7;transition:background .2s,color .2s;text-decoration:none;font-family:'Inter',sans-serif;font-size:.7rem;font-weight:700;letter-spacing:-.02em}
.sidebar-icons a:hover{background:#002FA7;color:#FFF}
.icon-gs{font-size:0!important;line-height:0}
.icon-gs svg{display:block}
.home-content h2{font-family:'Inter',sans-serif;font-size:.9rem;font-weight:600;letter-spacing:.15em;text-transform:uppercase;color:#002FA7;margin-top:2.5rem;margin-bottom:1rem;padding-bottom:.4rem;border-bottom:1px solid #E0E6F0}
.home-content p{margin-bottom:1rem}
.home-content a{color:#002FA7;text-decoration:none;border-bottom:1px solid rgba(0,47,167,.25)}
.home-content a:hover{border-bottom-color:#002FA7}
.home-content ul{margin-bottom:1rem;padding-left:1.5rem}
.home-content li{margin-bottom:.5rem}
.home-content strong{font-weight:700}

/* Inner page layout with persistent sidebar */
.inner-layout{display:grid;grid-template-columns:160px 1fr;gap:2.5rem;align-items:start}
.inner-sidebar{position:sticky;top:6rem;text-align:center}
.sidebar-photo-small{width:100px;height:100px;margin:0 auto .8rem}
.sidebar-name-small{font-family:'Inter',sans-serif;font-size:.85rem;font-weight:700;letter-spacing:.03em;color:#002FA7;margin-bottom:.15rem;line-height:1.3}
.sidebar-role-small{font-family:'Inter',sans-serif;font-size:.72rem;color:#333;margin:0;line-height:1.3;font-weight:500}
.sidebar-affiliation-small{font-family:'Inter',sans-serif;font-size:.68rem;color:#666;margin:.1rem 0 0;line-height:1.3}
.sidebar-icons-small{margin-top:.8rem;gap:.6rem}
.sidebar-icons-small a,.sidebar-icons-small a.icon-btn{width:30px;height:30px;font-size:.6rem}

/* Footer */
.site-footer{border-top:2px solid #002FA7;padding:2rem;text-align:center;font-family:'Inter',sans-serif;font-size:.8rem;color:#666;line-height:1.8;background:#F8F9FC}
.footer-links{margin:.8rem 0}
.footer-links a{color:#002FA7;text-decoration:none;margin:0 .8rem;font-size:.8rem;font-weight:500}
.footer-links a:hover{border-bottom:1px solid #002FA7}
.copyright{font-size:.75rem;color:#AAA;margin-top:.5rem}

/* Responsive */
@media(max-width:800px){
    .home-layout{grid-template-columns:1fr;gap:2rem}
    .home-sidebar{position:static;display:flex;flex-direction:column;align-items:center}
    .sidebar-photo{width:140px;height:140px}
    .inner-layout{grid-template-columns:1fr;gap:1.5rem}
    .inner-sidebar{position:static;display:flex;flex-direction:column;align-items:center}
    .sidebar-photo-small{width:100px;height:100px}
}
@media(max-width:640px){
    html{font-size:16px}
    .site-nav{flex-direction:column;padding:1rem;gap:.8rem}
    .nav-links{gap:.8rem;justify-content:center}
    .site-main{padding:2rem 1.2rem}
    .nav-links a{font-size:.72rem}
    .sidebar-name{font-size:1rem}
    .sidebar-photo{width:120px;height:120px}
    .sidebar-photo-small{width:80px;height:80px}
}
