:root{--brand:#0f2c44;--brand-2:#173b5a;--accent:#ecf2f6;--text:#1b1f23}*{box-sizing:border-box}html,body{margin:0;padding:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,apple color emoji,segoe ui emoji;color:var(--text)}a{color:var(--brand);text-decoration:none}img{max-width:100%;height:auto}.container{max-width:1000px;margin:0 auto;padding:1.25rem}.navbar{position:relative;z-index:100}.navbar{background:var(--brand);color:#fff}.navbar .container{display:flex;align-items:center;gap:.75rem;padding:.6rem 1.25rem}.brand{display:flex;align-items:center;gap:.5rem;padding:0}.brand .title{font-size:1rem;font-weight:700;line-height:1}.menu{margin-left:auto;display:flex;gap:1rem}.menu a{color:#fff;opacity:.95;padding:.8rem 0;border-bottom:2px solid transparent}.menu a.active,.menu a:hover{border-color:#fff}.hero{position:relative;background:var(--brand-2)url(/images/hero.jpg)50%/cover no-repeat;min-height:340px;margin-bottom:0;background-size:cover;background-position:50%;background-repeat:no-repeat}.hero .overlay{position:absolute;inset:0;background:rgba(8,18,30,.45)}.hero .hero-inner{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:var(--hero-gap,2rem);padding:var(--hero-pad,2rem 1.25rem)}.hero-text h1{margin:0;color:#fff;font-size:var(--title-size,3.5rem);font-weight:800;transform:translate(var(--title-x,0),var(--title-y,0))}.hero-text p{color:#dfe8f2;margin:.4rem 0 0;font-size:var(--subtitle-size,2rem);transform:translate(var(--subtitle-x,0),var(--subtitle-y,0))}.logo-right{display:block;width:var(--avatar-size,200px);height:auto;border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.18);transform:translate(var(--avatar-x,0),var(--avatar-y,0))}@media(max-width:900px){.hero .hero-inner{flex-direction:column;align-items:flex-start}.logo-right{width:120px}}.main{background:var(--accent)}.card{background:#fff;border-radius:12px;padding:1rem 4rem 3rem;box-shadow:0 8px 24px rgba(0,0,0,6%)}.content :is(h1,h2,h3){color:var(--brand)}.footer{background:#0b2032;color:#a9c0d3}.footer .container{padding:.75rem 1.25rem;font-size:.9rem}code,pre{background:#f6f8fa;padding:.2em .4em;border-radius:6px}ul{padding-left:1.2rem}.btn{display:inline-block;padding:.55rem 1rem;border-radius:8px;background:#222;color:#fff;text-decoration:none;font-weight:600;box-shadow:0 4px 14px rgba(0,0,0,.15)}.btn:hover{filter:brightness(1.05)}.btn--light{background:#fff;color:#222;border:1px solid #ddd}.home-body{font-size:1.05rem;line-height:1.8}.home-body h2{margin-top:1.25rem;color:var(--brand)}.home-body img{border-radius:8px;box-shadow:0 6px 18px rgba(0,0,0,8%)}.home-body ul,.home-body ol{padding-left:1.25rem}.home-body p+.btn{margin-top:.5rem}.btn-row{display:flex;justify-content:center;margin:.75rem 0 1.5rem}.proj-list a{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:2px;color:var(--brand)}.proj-list a:hover{opacity:.9;text-decoration-color:initial}.about-grid{display:flex;align-items:flex-start;gap:2rem}.about-main{flex:1}.about-aside{width:220px;position:sticky;top:90px}.about-photo{display:block;width:100%;height:auto;border-radius:12px;box-shadow:0 10px 26px rgba(0,0,0,.12);margin-bottom:.75rem}.about-card{background:#fff;border:1px solid #eaecef;border-radius:10px;padding:.9rem 1rem;box-shadow:0 6px 18px rgba(0,0,0,6%);font-size:.95rem}.about-card hr{border:0;border-top:1px solid #eee;margin:.6rem 0 .8rem}.about-main h3{margin-top:1.2rem;color:var(--brand)}.about-main p{margin:.4rem 0 .8rem}.about-main ul{margin:.2rem 0 .8rem 1.25rem}.about-card .btn{width:100%;text-align:center}@media(max-width:980px){.about-grid{flex-direction:column}.about-aside{width:100%;position:static;top:auto;display:flex;align-items:center;gap:1rem}.about-photo{width:160px;flex:none;margin-bottom:0}.about-card{flex:1}}.content blockquote{background:#f8fafc;border-left:4px solid #e5eef6;padding:.75rem 1rem;border-radius:6px;color:#445}.content h2{margin-top:1rem;color:var(--brand)}.content h3{margin-top:.9rem;color:var(--brand)}.content ol{padding-left:1.25rem}.content ol>li{margin:.6rem 0 1rem}.content a{text-decoration:underline;text-underline-offset:3px}.content h2{color:var(--brand);margin-top:.5rem}.content h3{color:var(--brand);margin-top:1rem;margin-bottom:.25rem}.content ul{padding-left:1.25rem}.content li{margin:.25rem 0}.content li>ul li{margin:.2rem 0;list-style:circle}.content em{color:#555}.proj-list{padding-left:1.25rem}.proj-item{margin:1.5rem 0 2.75rem}.proj-line{font-size:1.55rem;line-height:1.55}.proj-link{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:2px;color:var(--brand);font-weight:700}.proj-thumb{display:block;margin:1rem auto 0;max-width:780px}.proj-thumb img{width:50%;height:auto;border:4px solid #666a6e33;border-radius:8px;box-shadow:0 8px 22px rgba(0,0,0,.12)}@media(max-width:768px){.proj-thumb{max-width:100%}}.contact-form .field{margin:1.1rem 0 1.8rem}.contact-form .row{display:flex;gap:2rem}.contact-form .row .field{flex:1}.contact-form label{display:block;font-weight:600;margin:0 0 .4rem}.contact-form input,.contact-form textarea{width:100%;border:none;border-bottom:2px solid #222;padding:.45rem 0;font-size:1rem;outline:none;background:0 0}.contact-form textarea{border-bottom:2px solid #222;resize:vertical}.contact-form input:focus,.contact-form textarea:focus{border-bottom-color:#000}.contact-form input:invalid:focus,.contact-form textarea:invalid:focus{border-bottom-color:#d93025}.contact-form .err{display:block;color:#d93025;font-size:.9rem;min-height:1.15rem;margin-top:.25rem}.contact-form .actions{margin-top:1.25rem;display:flex;align-items:center;gap:1rem}.contact-form .btn{padding:.7rem 1.4rem;border-radius:28px;background:#000;color:#fff;border:none;cursor:pointer}.contact-form .btn:hover{filter:brightness(1.05)}.contact-form .success{color:#1a7f37;font-weight:600}@media(max-width:720px){.contact-form .row{flex-direction:column;gap:0}}.hidden{display:none !important}.footer{background:#173b5a;color:#fff}.footer a{color:#fff;text-decoration:none}.footer a:hover{text-decoration:underline}.footer-inner{padding:.9rem 1.25rem}.footer-col h4{margin:0 0 .25rem;font-size:1.05rem}.footer-col p{margin:.15rem 0;line-height:1.4}.footer .copy{margin-top:.4rem;opacity:.9;font-size:.95rem}.content p{line-height:1.8;margin:.4rem 0 1rem}.content li{line-height:1.3;margin:.35rem 0}.content h2,.content h3{margin-top:1.6rem;margin-bottom:.8rem}.content img{display:block;margin:1rem auto;max-width:100%;height:auto}.content p>img{display:block;margin:1rem auto}.content .figure{margin:1rem auto 1.5rem;text-align:center}.content .figure img{display:block;margin:0 auto;max-width:100%;height:auto}.content .figure figcaption{margin-top:.5rem;color:#6b7280;font-size:.95rem;font-weight:400;line-height:1.5}