:root{--theme-transition:background-color .3s ease,color .3s ease,border-color .3s ease,box-shadow .3s ease}html.theme-dark{color-scheme:dark}html.theme-dark body{--navy:#e8f0f7;--ink:#d5e0ea;--muted:#9eafc0;--line:#304255;--paper:#0c1724;--bluewash:#101f30;--accent:#70b5e4;--accent2:#63c3bb;--white:#142235;--shadow:0 18px 45px rgba(0,0,0,.28);background:var(--paper);color:var(--ink)}html.theme-dark .site-header{background:rgba(12,23,36,.94);border-color:#26384b}html.theme-dark .nav-links a{color:#b4c3d1}html.theme-dark .nav-links a:hover{color:var(--accent)}html.theme-dark .hero{background:linear-gradient(135deg,#0c1724 0%,#122538 100%)}html.theme-dark .hero-text,html.theme-dark .prose,html.theme-dark .section-intro{color:#aab9c8}html.theme-dark .button.secondary{background:#142235;border-color:#40556a;color:#dbe7f0}html.theme-dark .stats,html.theme-dark .research-grid article,html.theme-dark .contact-card,html.theme-dark .award-card,html.theme-dark .student-card{background:#132235;border-color:#2d4155}html.theme-dark .stats div{border-color:#2d4155}html.theme-dark .tags span{background:#1b3145;color:#b9cfdf}html.theme-dark .pub-item,html.theme-dark .timeline,html.theme-dark .timeline-item,html.theme-dark .teaching-list div{border-color:#304255}html.theme-dark .profile-hero{background:linear-gradient(135deg,#0c1724,#122538)}html.theme-dark .profile-bio{color:#aab9c8}html.theme-dark .profile-section.alt{background:#101f30}html.theme-dark .contact{background:#07111d}html.theme-dark .socials a{color:#b5c4d2}html.theme-dark footer{background:#050c14}html.theme-dark .nav-theme-toggle{border-color:#3b5268;background:#132235;color:#e4eef5}.nav-theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid #c8d4df;border-radius:50%;background:#fff;color:#27435b;cursor:pointer;font-size:1rem;line-height:1;transition:var(--theme-transition);margin-left:4px}.nav-theme-toggle:hover{transform:translateY(-1px);box-shadow:0 5px 14px rgba(16,36,62,.12)}.theme-icon{display:block;font-size:1.05rem}.theme-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:900px){.nav-theme-toggle{margin-left:auto;margin-right:8px}.nav-links .nav-theme-toggle{margin-left:0;margin-right:0}}@media(max-width:700px){.nav-theme-toggle{width:36px;height:36px}.nav-links .nav-theme-toggle{width:38px;height:38px}}*{transition:var(--theme-transition)}.hero-research-visual img{transition:transform .3s ease,filter .3s ease}html.theme-dark .hero-research-visual img{filter:brightness(.88) saturate(.92)}