:root{--bg: #0f1115;--bg-elev: #161923;--surface: #1b1f2a;--text: #e6e8ee;--text-muted: #9aa2b1;--accent: #5b9dff;--accent-soft: rgba(91, 157, 255, .12);--border: #262b38;--nav-bg: rgba(15, 17, 21, .85);--max-width: 900px;--radius: 12px;--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif}:root[data-theme=light]{--bg: #f7f8fa;--bg-elev: #ffffff;--surface: #ffffff;--text: #1a1d24;--text-muted: #5a6270;--accent: #2563eb;--accent-soft: rgba(37, 99, 235, .1);--border: #e2e6ec;--nav-bg: rgba(247, 248, 250, .85)}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:5rem}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);line-height:1.65;-webkit-font-smoothing:antialiased}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto;display:block}h1,h2,h3{line-height:1.2;font-weight:700}.container{max-width:var(--max-width);margin:0 auto;padding:0 1.25rem}.site-nav{position:sticky;top:0;z-index:50;background:var(--nav-bg);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}.site-nav .container{display:flex;align-items:center;justify-content:space-between;height:4rem}.site-nav .brand{font-weight:700;color:var(--text);font-size:1.05rem}.site-nav ul{display:flex;gap:1.4rem;list-style:none;margin:0;padding:0;flex-wrap:wrap}.site-nav a{color:var(--text-muted);font-size:.95rem}.site-nav a:hover{color:var(--text);text-decoration:none}.nav-right{display:flex;align-items:center;gap:1.4rem}.theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:2.2rem;height:2.2rem;padding:0;border:1px solid var(--border);border-radius:50%;background:var(--surface);color:var(--text-muted);cursor:pointer;transition:color .15s ease,border-color .15s ease}.theme-toggle:hover{color:var(--text);border-color:var(--accent)}.theme-toggle svg{width:1.1rem;height:1.1rem}.theme-toggle .icon-moon{display:none}.theme-toggle .icon-sun{display:inline-flex}:root[data-theme=light] .theme-toggle .icon-sun{display:none}:root[data-theme=light] .theme-toggle .icon-moon{display:inline-flex}section{padding:3.5rem 0;border-bottom:1px solid var(--border)}section:last-of-type{border-bottom:none}.section-title{font-size:1.5rem;margin:0 0 1.5rem;position:relative;padding-bottom:.5rem}.section-title:after{content:"";position:absolute;left:0;bottom:0;width:3rem;height:3px;background:var(--accent);border-radius:2px}.hero{padding:4.5rem 0 3.5rem}.hero h1{font-size:clamp(2rem,5vw,3rem);margin:0 0 .5rem}.hero .role{font-size:1.15rem;color:var(--accent);margin:0 0 .35rem;font-weight:600}.hero .tagline{color:var(--text-muted);margin:0 0 1.5rem}.hero-actions{display:flex;gap:.75rem;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;gap:.4rem;padding:.6rem 1.1rem;border-radius:var(--radius);font-weight:600;font-size:.95rem;border:1px solid var(--border);transition:all .15s ease}.btn-primary{background:var(--accent);color:#0b1220;border-color:var(--accent)}.btn-primary:hover{filter:brightness(1.08);text-decoration:none}.btn-ghost{background:transparent;color:var(--text)}.btn-ghost:hover{background:var(--surface);text-decoration:none}.tag-list{display:flex;flex-wrap:wrap;gap:.5rem;margin:0;padding:0;list-style:none}.tag{background:var(--accent-soft);color:var(--accent);padding:.3rem .7rem;border-radius:999px;font-size:.85rem;font-weight:500}.entry{padding:1.1rem 0;border-bottom:1px solid var(--border)}.entry:last-child{border-bottom:none}.entry-head{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}.entry-role{font-weight:700;margin:0}.entry-org{color:var(--accent);font-weight:500}.entry-meta{color:var(--text-muted);font-size:.9rem;white-space:nowrap}.entry ul{margin:.5rem 0 0;padding-left:1.2rem;color:var(--text-muted)}.entry ul li{margin-bottom:.25rem}.entry-context{color:var(--text-muted);font-style:italic;margin:.3rem 0 0;font-size:.92rem}.about p{color:var(--text-muted);margin:0 0 1rem}.project-card{display:block;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:transform .15s ease,border-color .15s ease}.project-card:hover{transform:translateY(-3px);border-color:var(--accent);text-decoration:none}.project-card img{width:100%;aspect-ratio:16 / 9;object-fit:cover}.project-card .body{padding:1.1rem 1.25rem 1.4rem}.project-card h3{margin:0 0 .35rem;color:var(--text)}.project-card p{color:var(--text-muted);margin:0 0 .75rem;font-size:.95rem}.kv-grid{display:grid;gap:.75rem}.kv-row{display:grid;grid-template-columns:140px 1fr;gap:1rem;padding:.6rem 0;border-bottom:1px solid var(--border)}.kv-row:last-child{border-bottom:none}.kv-row .k{font-weight:600;color:var(--text)}.kv-row .v{color:var(--text-muted)}.pub{padding:.9rem 0;border-bottom:1px solid var(--border)}.pub:last-child{border-bottom:none}.pub .pub-title{font-weight:600;margin:0 0 .2rem}.pub .pub-meta{color:var(--text-muted);font-size:.9rem}.contact-links{display:flex;flex-direction:column;gap:.4rem;color:var(--text-muted)}.site-footer{padding:2rem 0;color:var(--text-muted);font-size:.9rem;text-align:center}.project-hero{padding:3rem 0 1.5rem}.project-hero h1{font-size:clamp(1.8rem,4vw,2.5rem);margin:0 0 .5rem}.project-hero .subtitle{color:var(--text-muted);font-size:1.1rem;margin:0 0 1.25rem}.back-link{display:inline-block;margin-bottom:1.5rem;color:var(--text-muted);font-size:.9rem}.highlights{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;margin:1.5rem 0 2rem}.highlight{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1rem}.highlight .value{font-size:1.3rem;font-weight:700;color:var(--accent)}.highlight .label{color:var(--text-muted);font-size:.85rem}.project-section{padding:1.75rem 0;border-bottom:1px solid var(--border)}.project-section h2{font-size:1.25rem;margin:0 0 .6rem}.project-section p{color:var(--text-muted);margin:0 0 1rem}.figure-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem}.figure-row img{border:1px solid var(--border);border-radius:8px;background:#fff}@media (max-width: 560px){.kv-row{grid-template-columns:110px 1fr}}
