@font-face{font-family:Manrope;src:url('../vendor/manrope-latin.woff2') format('woff2');font-weight:200 800;font-style:normal;font-display:swap}
:root{--bg:#e7e9ec;--surface:#e9ebee;--paper:#f3f4f6;--ink:#24282e;--muted:#565d66;--line:#c8cdd3;--hi:#fff;--shade:#c1c5ca;--red:#e60013;--yellow:#fabe00;--green:#00a497;--blue:#006cb8;--radius:24px;--shadow:9px 9px 22px var(--shade),-9px -9px 22px var(--hi);--small-shadow:4px 4px 9px var(--shade),-4px -4px 9px var(--hi);--inset:inset 4px 4px 9px var(--shade),inset -4px -4px 9px var(--hi);--header:86px;--bs-body-color:var(--ink);--bs-body-bg:var(--bg);--bs-border-color:var(--line);--bs-body-font-family:Manrope,system-ui,sans-serif}
:root[data-theme=dark]{--bg:#23262b;--surface:#282c32;--paper:#2e333a;--ink:#f2f3f5;--muted:#b5bdc8;--line:#464e58;--hi:#30363e;--shade:#191c20;--red:#e60013;--yellow:#fabe00;--green:#00a497;--blue:#006cb8;color-scheme:dark}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--bg);color:var(--ink);font-family:Manrope,system-ui,sans-serif;font-size:16px;line-height:1.75;-webkit-font-smoothing:antialiased}body.modal-open{overflow:hidden}h1,h2,h3,h4,p,figure{margin:0}h1,h2,h3,h4{font-weight:750;line-height:1.18;letter-spacing:-.045em}p+p{margin-top:1rem}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{color:inherit}button,a,input,textarea,select{touch-action:manipulation}button{cursor:pointer}img{max-width:100%;height:auto;display:block}button:disabled{cursor:default}svg.icon{width:21px;height:21px;flex-shrink:0;fill:currentColor;vertical-align:middle}.container{max-width:1240px;padding-inline:28px}::selection{background:var(--green);color:var(--bg)}:focus-visible{outline:3px solid var(--blue);outline-offset:5px}[hidden]{display:none!important}.muted{color:var(--muted)}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.eyebrow{font-family:ui-monospace,Consolas,monospace;text-transform:uppercase;font-size:16px;font-weight:500;letter-spacing:.14em;line-height:1.6}.skip-link{position:fixed;top:10px;left:20px;z-index:200;transform:translateY(-180%);background:var(--ink);color:var(--bg);padding:12px 20px;border-radius:12px}.skip-link:focus{transform:none}.brand{display:inline-flex;align-items:center;gap:12px;line-height:1;font-weight:800;letter-spacing:-.05em;font-size:26px;white-space:nowrap}.brand small{font-size:12px;line-height:1.25;font-weight:600;letter-spacing:.05em;text-transform:uppercase}.brand-mark{display:flex;gap:3px;align-items:flex-end;height:30px}.brand-mark i{width:5px;display:block;border-radius:2px;background:var(--red);height:29px}.brand-mark i:nth-child(2){height:20px;background:var(--yellow)}.brand-mark i:nth-child(3){height:25px;background:var(--green)}.brand-mark i:nth-child(4){height:14px;background:var(--blue)}
.masthead{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:35px;padding-bottom:22px}.masthead-note{color:var(--muted);font-size:13px}.toolbar{display:flex;gap:12px;align-items:center}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border:1px solid transparent;border-radius:50%;background:var(--surface);box-shadow:var(--small-shadow);transition:transform .2s,background .2s,color .2s}.icon-button:hover{transform:translateY(-3px);background:var(--ink);color:var(--bg)}.icon-button:active{transform:translateY(0);box-shadow:var(--inset)}.language{font-size:13px;font-weight:800;letter-spacing:.02em}.site-header{position:fixed;top:0;left:0;right:0;z-index:100;background:var(--bg);border-bottom:1px solid var(--line);box-shadow:0 6px 24px #0000000c;transform:translateY(-115%);visibility:hidden;transition:transform .3s,visibility .3s}.site-header.visible,.site-header:focus-within,.subpage .site-header{transform:none;visibility:visible}.nav-inner{min-height:var(--header);display:flex;align-items:center;gap:28px}.nav-links{margin-left:auto;display:flex;gap:22px;align-items:center}.nav-links a{font-size:13px;font-weight:650;position:relative;padding:28px 0}.nav-links a:after{content:'';position:absolute;bottom:19px;height:3px;left:0;right:0;border-radius:5px;transform:scaleX(0);background:var(--green);transition:transform .2s}.nav-links a:hover,.nav-links a[aria-current]{color:var(--green)}.nav-links a[aria-current]:after{transform:scaleX(1)}.nav-social{display:flex;gap:8px;border-left:1px solid var(--line);padding-left:20px}.nav-social .icon-button{width:38px;height:38px;box-shadow:none}.menu-toggle{display:none}.menu-lines{width:20px;height:15px;position:relative}.menu-lines:before,.menu-lines:after,.menu-lines span{content:'';position:absolute;left:0;width:20px;height:2px;border-radius:2px;background:currentColor;transition:transform .2s,top .2s,opacity .2s}.menu-lines:before{top:0}.menu-lines span{top:6px}.menu-lines:after{top:12px}[aria-expanded=true] .menu-lines:before{top:6px;transform:rotate(45deg)}[aria-expanded=true] .menu-lines:after{top:6px;transform:rotate(-45deg)}[aria-expanded=true] .menu-lines span{opacity:0}.scroll-progress{height:3px;position:absolute;bottom:-1px;left:0;width:100%;background:linear-gradient(90deg,var(--red),var(--yellow),var(--green),var(--blue));transform:scaleX(0);transform-origin:left}
.hero{padding:46px 0 45px;position:relative}.hero-grid{display:grid;grid-template-columns:1.18fr .82fr;gap:70px;align-items:center}.hero .eyebrow{color:var(--green);display:flex;align-items:center;gap:10px}.tiny-square{height:7px;width:7px;border-radius:2px;background:currentColor;display:inline-block}.hero h1{font-size:clamp(3.6rem,6.3vw,5.5rem);line-height:1.08;letter-spacing:-.065em;margin:24px 0 26px;max-width:700px}.hero h1 span{color:var(--muted);display:block}.hero-lead{font-size:clamp(1.3rem,2.3vw,1.85rem);font-weight:600;line-height:1.4;letter-spacing:-.035em;max-width:510px}.hero-copy{color:var(--muted);font-size:16px;line-height:1.8;max-width:490px;margin-top:19px}.typed-line{margin-top:18px;font-size:14px;min-height:25px;color:var(--green)}.cursor{display:inline-block;height:1em;width:2px;background:var(--green);margin-left:4px;vertical-align:-2px;animation:blink 1.2s step-end infinite}@keyframes blink{50%{opacity:0}}.button-row{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:30px}.button{display:inline-flex;align-items:center;justify-content:center;gap:13px;border:1px solid var(--line);padding:13px 23px;border-radius:12px;min-height:50px;font-size:14px;font-weight:750;background:var(--surface);box-shadow:var(--small-shadow);transition:transform .2s,box-shadow .2s,background .2s,color .2s}.button:hover{transform:translateY(-3px);color:var(--green)}.button .icon{transition:transform .2s}.button:hover .icon{transform:translate(2px,-2px)}.button-primary{background:var(--ink);color:var(--bg);border-color:var(--ink);box-shadow:5px 6px 15px #0002}.button-primary:hover{background:var(--green);border-color:var(--green);color:var(--bg)}.button-plain{box-shadow:none;background:transparent}.portrait-shell{position:relative;padding:16px;border:1px solid #ffffff60;border-radius:180px 180px 30px 30px;box-shadow:var(--shadow);max-width:435px;margin:0 0 0 auto}.portrait-inner{position:relative;border:1px solid var(--line);border-radius:166px 166px 20px 20px;overflow:hidden;background:#f4f4f4;aspect-ratio:4/4.7}.portrait-inner>img{width:100%;height:100%;object-fit:cover;object-position:50% 27%;filter:grayscale(1);transition:filter .6s}.portrait-shell:hover .portrait-inner>img{filter:grayscale(0)}.portrait-caption{position:absolute;bottom:23px;left:22px;right:22px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#20252be8;color:#f6f7f9;backdrop-filter:blur(12px);border:1px solid #ffffff25;border-radius:12px;padding:15px 16px;font-size:12px;line-height:1.5}.portrait-caption strong{display:block;font-size:14px}.portrait-chip{position:absolute;left:-34px;top:85px;border:1px solid var(--line);background:var(--surface);box-shadow:var(--small-shadow);padding:10px 15px;border-radius:12px;font-size:12px;display:flex;align-items:center;gap:10px}.portrait-chip .icon{color:var(--green)}.hero-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--line);margin-top:54px;padding-top:22px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.hero-bottom a{display:flex;align-items:center;gap:12px}.hero-bottom .hero-topics{display:flex;gap:24px}.color-dots{display:flex;gap:5px}.color-dots i{height:7px;width:7px;border-radius:50%;background:var(--red)}.color-dots i:nth-child(2){background:var(--yellow)}.color-dots i:nth-child(3){background:var(--green)}.color-dots i:nth-child(4){background:var(--blue)}
.section{padding:94px 0;scroll-margin-top:30px}.section-heading{position:relative;display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:36px;padding-top:34px}.section-heading .ghost{position:absolute;top:-12px;left:-3px;font-size:clamp(50px,6.8vw,85px);font-weight:800;line-height:1;color:transparent;-webkit-text-stroke:1px var(--line);letter-spacing:-.045em;pointer-events:none;user-select:none;white-space:nowrap}.section-heading h2{position:relative;font-size:clamp(30px,3.2vw,42px)}.section-heading .eyebrow{color:var(--green);position:relative;margin-bottom:9px}.section-intro{max-width:640px;color:var(--muted);font-size:16px;margin-bottom:32px}.section-action{font-size:14px;font-weight:700;display:flex;align-items:center;gap:10px;white-space:nowrap}.section-action:hover{color:var(--green)}.soft-panel{border:1px solid #ffffff45;border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}.inset{box-shadow:var(--inset);border:1px solid var(--line)}.about-copy{padding:8px 40px 8px 0}.about-copy h3{font-size:28px;line-height:1.3;margin-bottom:22px}.about-copy p{color:var(--muted)}.about-links{display:flex;gap:24px;margin-top:28px;font-size:14px;font-weight:750}.about-links a{border-bottom:1px solid var(--line)}.about-links a:hover{color:var(--green)}.terminal-panel{background:#252a30;color:#f1f3f5;border:1px solid #3c454f;border-radius:19px;box-shadow:12px 12px 25px var(--shade),-8px -8px 22px var(--hi);overflow:hidden}.terminal-bar{padding:16px 20px;border-bottom:1px solid #ffffff1c;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#b4bec8}.terminal-body{padding:28px;font-family:ui-monospace,Consolas,monospace;font-size:14px;line-height:1.95;overflow-wrap:anywhere}.terminal-body p{margin:0}.terminal-body .command{color:#7dd6bd}.terminal-body .key{color:#9cb8ed}.terminal-body .value{color:#e9c873}.terminal-indent{padding-left:20px}.terminal-footer{padding-top:20px;color:#9ba7b4;font-size:12px}.experience{border-block:1px solid var(--line)}.experience-list{border-top:1px solid var(--line)}.experience-row{display:grid;grid-template-columns:220px 1fr 170px;gap:30px;padding:30px 0;border-bottom:1px solid var(--line)}.company{font-size:23px;font-weight:800;letter-spacing:-.04em;line-height:1.3}.company-meta{font-size:13px;color:var(--muted);margin-top:8px}.experience-row h3{font-size:19px;letter-spacing:-.025em;margin-bottom:10px}.experience-row p{color:var(--muted);font-size:14px}.experience-row ul{padding-left:18px;color:var(--muted);font-size:14px;margin-top:10px;margin-bottom:0}.experience-row .period{font-size:13px;color:var(--muted);text-align:right}.tag-list{display:flex;gap:7px;flex-wrap:wrap;margin-top:16px}.tag{display:inline-flex;align-items:center;border:1px solid var(--line);padding:4px 10px;line-height:1.5;font-size:12px;border-radius:6px;color:var(--muted);background:var(--surface)}
.project-feature{display:grid;grid-template-columns:1.05fr 1fr;gap:0;overflow:hidden}.feature-image{min-height:370px;position:relative;display:block;background:#bbc4ba;overflow:hidden}.feature-image img{height:100%;width:100%;object-fit:cover;transition:transform .6s}.feature-image:hover img{transform:scale(1.035)}.feature-image .photo-label{position:absolute;bottom:18px;left:20px;background:#20272de8;color:#fff;border:1px solid #ffffff30;border-radius:8px;padding:7px 12px;font-size:12px}.feature-content{padding:38px}.feature-content .eyebrow{color:var(--green)}.feature-content h3{font-size:32px;margin:15px 0}.feature-content p{font-size:15px;color:var(--muted)}.feature-content .button-row{margin-top:22px;gap:14px}.feature-metrics{display:flex;gap:24px;padding-top:24px;margin-top:25px;border-top:1px solid var(--line)}.feature-metrics strong{font-size:22px;display:block;line-height:1.4}.feature-metrics span{font-size:12px;color:var(--muted)}.support-project{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px;margin-top:30px;padding:26px 30px}.support-project h3{font-size:23px;margin-bottom:7px}.support-project p{font-size:14px;color:var(--muted);max-width:700px}.support-icon{height:72px;width:72px;display:flex;align-items:center;justify-content:center;border-radius:18px;box-shadow:var(--inset);color:var(--red)}.support-icon svg{width:32px;height:32px}.support-project .eyebrow{font-size:12px;margin-bottom:8px;color:var(--red)}.academic-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:52px 0 24px}.academic-title h3{font-size:24px}.academic-title p{font-size:13px;color:var(--muted)}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.project-card{display:flex;flex-direction:column;border:1px solid var(--line);background:var(--surface);border-radius:18px;overflow:hidden;box-shadow:5px 7px 12px #00000008;transition:transform .25s,box-shadow .25s,border-color .25s;position:relative}.project-card:hover{transform:translateY(-6px);box-shadow:var(--small-shadow);border-color:var(--green)}.project-card img{width:100%;height:155px;object-fit:cover;object-position:center;background:#d8dde2;filter:saturate(.7);transition:filter .3s}.project-card:hover img{filter:saturate(1)}.project-card .card-body{padding:23px;display:flex;flex-direction:column;flex:1}.project-card .eyebrow{font-size:12px;letter-spacing:.08em;color:var(--green);margin-bottom:10px}.project-card h4{font-size:19px;margin-bottom:10px}.project-card p{font-size:14px;color:var(--muted);margin-bottom:20px}.card-bottom{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:750;gap:8px;margin-top:auto}.card-arrow{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:50%;transition:background .2s,color .2s}.project-card:hover .card-arrow{background:var(--ink);color:var(--bg)}.archive-note{font-size:14px;color:var(--muted);margin-top:26px}.archive-note a{text-decoration:underline;text-underline-offset:3px}.education-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:30px}.education-card{padding:30px}.education-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;gap:20px}.education-top .eyebrow{color:var(--green)}.education-top img{width:80px;mix-blend-mode:multiply}[data-theme=dark] .education-top img{mix-blend-mode:normal;background:white;padding:8px;border-radius:6px}.education-card h3{font-size:23px}.education-card p{font-size:14px;color:var(--muted);margin-top:10px}.education-divider{height:1px;background:var(--line);margin:25px 0}.level{font-size:64px;font-weight:700;letter-spacing:-.06em;line-height:1.2;margin-top:22px}.level small{font-size:15px;letter-spacing:0;font-weight:500;margin-left:10px}.education-caption{font-size:12px;color:var(--muted);margin-top:18px}.skills-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.skill{padding:22px;border-radius:18px;background:var(--surface);box-shadow:var(--small-shadow);border:1px solid #ffffff25}.skill summary{list-style:none;cursor:pointer;position:relative}.skill summary::-webkit-details-marker{display:none}.skill summary>.icon{height:26px;width:26px;color:var(--green);margin-bottom:20px}.skill summary strong{font-size:15px;line-height:1.5;display:block;padding-right:12px}.skill summary:after{content:'+';position:absolute;right:0;top:0;font-size:18px;color:var(--muted)}.skill[open] summary:after{content:'−'}.skill p{font-size:13px;line-height:1.7;color:var(--muted);margin-top:15px}.tech-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.tech-card{padding:25px;border:1px solid var(--line);border-radius:17px}.tech-card h3{display:flex;gap:12px;align-items:center;font-size:17px;letter-spacing:-.02em}.tech-card h3 .icon{color:var(--green)}.tech-list{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:20px;font-size:14px;font-weight:550}.tech-note{font-size:13px;color:var(--muted);margin-top:24px}.contact-section{padding-bottom:80px}.contact-panel{padding:40px;display:grid;grid-template-columns:1fr 1.08fr;gap:65px}.contact-copy h3{font-size:34px;line-height:1.25;margin-bottom:20px}.contact-copy p{font-size:15px;color:var(--muted)}.contact-dock{display:flex;gap:14px;margin-top:30px}.contact-dock .icon-button{width:58px;height:58px;border-radius:17px}.contact-dock .icon-button:hover{transform:translateY(-7px) scale(1.08)}.email-label{display:inline-block;overflow-wrap:anywhere;font-size:14px;font-weight:700;margin-top:25px}.contact-form label{font-size:13px;font-weight:700;display:block;margin-bottom:7px}.form-control,.form-select{border:1px solid var(--line);background:var(--bg);border-radius:10px;box-shadow:inset 2px 2px 5px #00000007;color:var(--ink);padding:12px 14px;font-size:14px;line-height:1.5}.form-control:focus,.form-select:focus{background:var(--paper);color:var(--ink);box-shadow:none;border-color:var(--green);outline:2px solid var(--green);outline-offset:2px}.form-control::placeholder{color:var(--muted);opacity:.9}textarea.form-control{resize:vertical;min-height:130px}.form-note{font-size:12px;color:var(--muted);margin-top:15px;line-height:1.6}.contact-form .button{margin-top:20px}.form-feedback{margin-top:12px;font-size:13px;color:var(--green)}.site-footer{padding:25px 0 32px;border-top:1px solid var(--line)}.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:24px;font-size:12px;color:var(--muted)}.footer-links{display:flex;gap:20px}.footer-links a:hover{color:var(--green)}.back-top{position:fixed;bottom:25px;right:25px;z-index:80;width:48px;height:48px;background:var(--ink);color:var(--bg);border:1px solid var(--line);border-radius:14px;box-shadow:0 5px 14px #0003;display:flex;align-items:center;justify-content:center;transform:translateY(90px);visibility:hidden;transition:transform .25s,visibility .25s,background .25s}.back-top.visible{transform:none;visibility:visible}.back-top:hover{background:var(--green)}.toast-message{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--bg);padding:12px 22px;border-radius:12px;box-shadow:0 4px 15px #0002;z-index:250;max-width:calc(100vw - 50px);font-size:14px}.subpage main{padding-top:var(--header)}.project-hero{padding:45px 0 55px}.breadcrumbs{display:flex;flex-wrap:wrap;gap:10px;font-size:13px;color:var(--muted);margin-bottom:38px}.breadcrumbs a{text-decoration:underline;text-underline-offset:3px}.project-hero .eyebrow{color:var(--green);margin-bottom:18px}.project-hero h1{font-size:clamp(38px,5vw,62px);max-width:950px;line-height:1.13}.project-hero .lead{font-size:19px;line-height:1.7;color:var(--muted);max-width:830px;margin-top:24px}.project-meta{display:flex;gap:40px;flex-wrap:wrap;margin-top:30px;padding-top:25px;border-top:1px solid var(--line);font-size:14px}.project-meta strong{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-bottom:3px}.bento-gallery{display:grid;grid-template-columns:1.5fr 1fr 1fr;grid-template-rows:220px 220px;gap:20px}.gallery-item{padding:0;border:1px solid var(--line);overflow:hidden;position:relative;border-radius:18px;background:var(--surface);text-align:left}.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.gallery-item:hover img{transform:scale(1.03)}.gallery-item:first-child{grid-row:span 2}.gallery-item.station img{object-fit:contain;background:#32363a}.gallery-caption{position:absolute;bottom:13px;left:13px;right:13px;background:#1d222ae8;color:#fff;border-radius:8px;padding:8px 12px;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:8px}.fiveg-tile{padding:25px;background:var(--green);color:var(--bg);border-radius:18px;display:flex;flex-direction:column;justify-content:space-between}.fiveg-tile strong{font-size:64px;font-weight:800;line-height:1.2;letter-spacing:-.07em}.fiveg-tile span{font-size:13px;line-height:1.6}.spec-tile{padding:25px;border-radius:18px;border:1px solid var(--line);box-shadow:var(--inset);display:flex;flex-direction:column;justify-content:space-between}.spec-tile strong{font-size:34px;letter-spacing:-.04em}.spec-tile span{font-size:13px;color:var(--muted)}.case-section{padding:50px 0;border-bottom:1px solid var(--line)}.case-section h2{font-size:30px;margin-bottom:22px}.case-section h3{font-size:21px;margin-bottom:15px}.case-section p{color:var(--muted);max-width:900px}.case-section ul{color:var(--muted);padding-left:20px;margin-bottom:0}.case-section li+li{margin-top:10px}.case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.case-grid>article{padding:27px;border:1px solid var(--line);border-radius:17px}.case-grid .step{font-family:ui-monospace,monospace;font-size:14px;color:var(--green);margin-bottom:24px;display:block}.case-grid p{font-size:14px}.video-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.video-card{border:1px solid var(--line);border-radius:17px;overflow:hidden;background:var(--surface)}.video-cover{position:relative;display:flex;align-items:center;justify-content:center;min-height:200px;aspect-ratio:16/9;overflow:hidden}.video-cover img{position:absolute;width:100%;height:100%;object-fit:cover;filter:brightness(.6)}.play-link{position:relative;border:1px solid #ffffff80;border-radius:50%;width:66px;height:66px;display:flex;align-items:center;justify-content:center;background:#ffffff20;color:#fff;transition:background .2s,transform .2s}.video-cover:hover .play-link{transform:scale(1.1);background:var(--green)}.video-text{padding:23px}.video-text h3{font-size:20px}.video-text p{font-size:14px}.figure-frame{padding:20px;border-radius:18px;background:#fff;border:1px solid var(--line);margin-top:25px}.figure-frame img{max-height:700px;width:100%;object-fit:contain}.figure-caption{font-size:12px;color:var(--muted);margin-top:12px}.data-table-wrap{border:1px solid var(--line);border-radius:14px;overflow:auto;margin-top:25px}.data-table{width:100%;border-collapse:collapse;font-size:14px}.data-table th,.data-table td{padding:15px 20px;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap}.data-table th{background:var(--surface)}.data-table tr:last-child td{border-bottom:0}.measure-compare{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:26px 0}.measure{padding:24px;border:1px solid var(--line);border-radius:17px}.measure h3{font-size:17px}.bar-row{display:grid;grid-template-columns:40px 1fr 80px;align-items:center;gap:10px;font-size:13px;margin-top:15px}.bar-track{height:10px;background:var(--line);border-radius:9px}.bar-track span{height:100%;background:var(--blue);border-radius:9px;display:block}.bar-row:nth-child(3) .bar-track span{background:var(--green)}.case-note{padding:22px 26px;border-left:3px solid var(--green);background:var(--surface);font-size:14px;border-radius:0 14px 14px 0;margin-top:25px}.case-bottom{padding:45px 0;display:flex;justify-content:space-between;gap:25px;align-items:center}.academic-detail{padding:35px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:250px 1fr;gap:35px;scroll-margin-top:110px}.academic-detail img{border-radius:14px;aspect-ratio:4/3;object-fit:cover;border:1px solid var(--line)}.academic-detail h2{font-size:26px;margin:10px 0 16px}.academic-detail p{font-size:15px;color:var(--muted)}.academic-detail .eyebrow{color:var(--green);font-size:12px}.academic-detail .button{margin-top:20px}.dialog{border:1px solid var(--line);border-radius:20px;background:var(--bg);color:var(--ink);max-width:550px;width:calc(100% - 36px);padding:35px;box-shadow:0 25px 90px #0005}.dialog::backdrop{background:#141a23bb;backdrop-filter:blur(5px)}.dialog h2{font-size:25px;margin-bottom:20px;padding-right:40px}.dialog p{color:var(--muted);font-size:15px}.dialog-close{position:absolute;top:15px;right:15px;width:40px;height:40px;box-shadow:none}.lightbox{max-width:1200px;padding:60px 20px 20px}.lightbox img{max-height:70vh;width:100%;object-fit:contain}.lightbox-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:15px}.lightbox-footer p{font-size:13px;text-align:center}.lightbox-footer .icon-button{flex-shrink:0;box-shadow:none}.privacy-content{max-width:820px;padding-bottom:70px}.privacy-content h2{font-size:24px;margin:35px 0 15px}.privacy-content p{color:var(--muted)}.not-found{min-height:85vh;display:flex;align-items:center}.error-code{font-size:clamp(100px,18vw,200px);font-weight:800;color:transparent;-webkit-text-stroke:1px var(--muted);line-height:1.2;letter-spacing:-.09em}.no-js-message{margin:10px 0;padding:15px;background:var(--paper);font-size:14px}.reveal{animation:enter .5s both}@keyframes enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(min-width:1600px){.container{max-width:1330px}.hero-grid{gap:100px}.hero{padding-top:60px;padding-bottom:65px}.portrait-shell{max-width:470px}.hero h1{font-size:95px}}
@media(max-width:1199px){.nav-links{gap:15px}.nav-social{display:none}.nav-inner{gap:20px}.hero-grid{gap:40px}.hero h1{font-size:68px}.portrait-chip{left:-15px}.feature-content{padding:30px}.feature-content h3{font-size:28px}.experience-row{grid-template-columns:190px 1fr 150px}.skills-grid{gap:17px}.contact-panel{gap:35px;padding:32px}.hero-topics{gap:14px!important}}
@media(max-width:991px){.container{padding-inline:25px}.hero{padding-top:32px}.hero-grid{gap:35px;grid-template-columns:1.1fr .9fr}.hero h1{font-size:52px}.hero-lead{font-size:23px}.hero-copy{font-size:15px}.portrait-chip{display:none}.portrait-caption{padding:10px;left:12px;right:12px;bottom:12px;font-size:12px}.portrait-caption strong{font-size:12px}.portrait-shell{padding:12px}.portrait-inner{aspect-ratio:4/5.4}.hero-bottom .hero-topics span:last-child{display:none}.nav-links{position:absolute;top:var(--header);left:0;right:0;margin:0;background:var(--bg);padding:14px 25px 24px;border-bottom:1px solid var(--line);box-shadow:0 12px 20px #0001;flex-direction:column;align-items:stretch;gap:0;max-height:calc(100dvh - var(--header));overflow:auto}.js .nav-links{display:none}.js .nav-links.open{display:flex}.nav-links a{padding:12px 0;font-size:15px}.nav-links a:after{bottom:8px;right:auto;width:35px}.menu-toggle{display:inline-flex}.nav-inner>.toolbar{margin-left:auto}.nav-social{display:flex;border-left:0;padding-left:0}.section{padding:70px 0}.about-copy{padding-right:0;margin-bottom:25px}.experience-row{grid-template-columns:160px 1fr;gap:25px}.experience-row .period{grid-column:2;text-align:left;grid-row:2;margin-top:-13px}.project-feature{grid-template-columns:1fr 1fr}.feature-image{min-height:360px}.feature-content{padding:27px}.feature-content h3{font-size:26px}.feature-metrics{gap:15px;flex-wrap:wrap}.feature-metrics strong{font-size:19px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.support-project{gap:20px;padding:25px}.support-project>.button{grid-column:2;justify-self:start;margin-top:-10px}.skills-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tech-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.contact-panel{grid-template-columns:1fr 1fr;gap:30px}.contact-copy h3{font-size:27px}.bento-gallery{grid-template-columns:1.3fr 1fr;grid-template-rows:200px 200px 170px}.bento-gallery .fiveg-tile,.bento-gallery .spec-tile{grid-row:3}.fiveg-tile{flex-direction:row;align-items:center;gap:25px}.fiveg-tile strong{font-size:60px}.fiveg-tile span{max-width:170px}.case-grid{gap:18px}.case-grid>article{padding:22px}.academic-detail{grid-template-columns:220px 1fr}}
@media(max-width:767px){:root{--header:72px}.container{padding-inline:22px}.masthead{padding-top:25px;padding-bottom:20px}.brand{font-size:24px}.brand small{font-size:12px}.masthead-note{display:none}.masthead .toolbar{gap:10px}.masthead .icon-button{width:42px;height:42px}.hero{padding:28px 0 30px}.hero-grid{grid-template-columns:1fr;gap:38px}.hero h1{font-size:clamp(46px,9.8vw,70px);margin-top:20px;margin-bottom:22px}.hero-lead{font-size:25px;max-width:470px}.hero-copy{font-size:16px;max-width:500px}.hero .button-row{margin-top:25px;gap:12px}.hero .button{padding:12px 18px}.hero .eyebrow{font-size:12px}.portrait-shell{max-width:390px;width:90%;margin:auto;border-radius:150px 150px 25px 25px;padding:13px}.portrait-inner{aspect-ratio:4/3.7;border-radius:138px 138px 17px 17px}.portrait-inner>img{object-position:50% 24%}.portrait-caption{left:15px;right:15px;bottom:15px;padding:12px 15px}.portrait-caption strong{font-size:14px}.portrait-chip{display:flex;left:-17px;top:58px;padding:7px 11px;font-size:12px}.hero-bottom{margin-top:34px;padding-top:18px;flex-wrap:wrap;gap:15px}.hero-bottom .hero-topics{gap:13px!important;font-size:12px}.hero-bottom>a{font-size:12px}.nav-inner{gap:15px}.nav-social{display:none}.nav-inner>.toolbar{gap:10px}.nav-inner .icon-button{width:42px;height:42px}.nav-inner .brand small{display:none}.section{padding:55px 0}.section-heading{padding-top:26px;margin-bottom:25px;align-items:flex-start}.section-heading .ghost{font-size:52px;top:0;max-width:100%}.section-heading h2{font-size:31px}.section-heading .eyebrow{font-size:12px}.section-heading .section-action{display:none}.section-intro{font-size:15px}.about-copy h3{font-size:25px}.terminal-body{padding:22px;font-size:12px}.terminal-bar{font-size:12px}.experience-row{grid-template-columns:1fr;gap:15px;padding:25px 0}.experience-row .period{grid-column:1;grid-row:auto;margin-top:0}.company{font-size:23px}.company-meta{margin-top:5px}.experience-row h3{font-size:18px}.experience-row p,.experience-row ul{font-size:14px}.project-feature{grid-template-columns:1fr}.feature-image{min-height:0;aspect-ratio:4/3}.feature-content{padding:26px}.feature-content h3{font-size:29px}.feature-metrics{gap:28px}.support-project{grid-template-columns:55px 1fr;padding:23px 20px;gap:17px}.support-icon{width:55px;height:55px;border-radius:14px}.support-icon .icon{width:26px;height:26px}.support-project h3{font-size:22px}.support-project .button{margin-top:0;font-size:13px}.academic-title{display:block;margin-top:38px}.academic-title p{margin-top:10px}.project-grid{gap:18px}.project-card img{height:125px}.project-card .card-body{padding:19px}.project-card h4{font-size:17px;line-height:1.35}.project-card p{font-size:13px}.project-card .eyebrow{font-size:12px}.education-grid{grid-template-columns:1fr;gap:25px}.education-card{padding:25px}.level{font-size:56px}.skills-grid{gap:17px}.skill{padding:19px}.skill summary strong{font-size:14px}.skill p{font-size:13px}.tech-grid{gap:17px}.tech-card{padding:20px}.tech-card h3{font-size:15px}.tech-list{font-size:13px;gap:8px 14px}.contact-panel{grid-template-columns:1fr;gap:35px;padding:27px}.contact-copy h3{font-size:29px}.contact-copy p{font-size:15px}.contact-form .button-row{margin-top:0}.contact-dock{margin-top:23px}.contact-dock .icon-button{width:52px;height:52px}.footer-inner{align-items:flex-start;flex-direction:column;gap:12px}.footer-links{gap:18px}.back-top{right:16px;bottom:16px;width:44px;height:44px}.project-hero{padding:30px 0 35px}.breadcrumbs{font-size:12px;margin-bottom:28px}.project-hero h1{font-size:39px}.project-hero .lead{font-size:17px}.project-meta{gap:20px}.project-meta>div{font-size:13px}.project-meta strong{font-size:12px}.bento-gallery{gap:14px;grid-template-columns:1fr 1fr;grid-template-rows:280px 230px 170px}.gallery-item:first-child{grid-row:1;grid-column:span 2}.bento-gallery .fiveg-tile,.bento-gallery .spec-tile{grid-row:3;padding:19px}.fiveg-tile{display:block}.fiveg-tile strong{font-size:48px;display:block}.fiveg-tile span{font-size:12px}.spec-tile strong{font-size:30px}.spec-tile span{font-size:12px}.gallery-caption{font-size:12px;left:9px;right:9px;bottom:9px;padding:7px 10px;line-height:1.5}.case-section{padding:35px 0}.case-section h2{font-size:27px}.case-grid{grid-template-columns:1fr}.case-grid .step{margin-bottom:17px}.video-grid{grid-template-columns:1fr}.measure-compare{grid-template-columns:1fr;gap:18px}.data-table th,.data-table td{padding:12px 16px}.case-bottom{flex-wrap:wrap}.academic-detail{grid-template-columns:1fr;gap:23px}.academic-detail img{max-height:230px;width:100%;object-fit:cover}.academic-detail h2{font-size:25px}.figure-frame{padding:10px}.dialog{padding:28px}.lightbox{padding:60px 12px 15px}.lightbox-footer{gap:5px}.lightbox-footer p{font-size:12px}.lightbox-footer .icon-button{width:35px;height:35px}}
@media(max-width:420px){.container{padding-inline:19px}.hero h1{font-size:45px}.hero-lead{font-size:23px}.hero-bottom .hero-topics{width:100%;justify-content:space-between}.project-grid{grid-template-columns:1fr}.project-card img{height:180px}.project-card p{font-size:14px}.project-card h4{font-size:20px}.tech-grid{grid-template-columns:1fr}.section-heading .ghost{font-size:44px}.section-heading h2{font-size:29px}.contact-panel{padding:22px}.support-project{grid-template-columns:1fr}.support-project .button{grid-column:1}.support-icon{display:none}.hero .button{font-size:13px;padding:12px 15px}.feature-content{padding:23px}.feature-metrics{gap:20px}.feature-metrics strong{font-size:18px}.project-hero h1{font-size:34px}.bento-gallery{grid-template-rows:240px 200px 190px}.bar-row{grid-template-columns:32px 1fr 70px;font-size:12px}}
.section-heading .ghost{max-width:100%;overflow:hidden}.form-select{color-scheme:light}.form-select option{background:var(--surface);color:var(--ink)}[data-theme=dark] .form-select{color-scheme:dark;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23b5bdc8' stroke-width='2'%3E%3Cpath d='m3 6 5 5 5-5'/%3E%3C/svg%3E")}
@media(max-width:420px){.masthead .brand small{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.cursor{display:none}}
@media print{body{background:white;color:black;font-size:11pt}.masthead,.site-header,.back-top,.contact-form,.button,.toolbar,.toast-message,.dialog,.hero-bottom{display:none!important}.hero,.section,.case-section{padding:20px 0}.soft-panel,.terminal-panel,.skill{box-shadow:none;border:1px solid #aaa}.container{max-width:none}.hero-grid{grid-template-columns:2fr 1fr}.hero h1{font-size:36pt}.hero-lead{font-size:18pt}.portrait-shell{max-width:200px;box-shadow:none}.portrait-chip,.portrait-caption,.ghost{display:none}.section-heading h2{font-size:22pt}.section-heading{padding-top:0}.experience-row,.project-card,.skill{break-inside:avoid}.terminal-panel{background:#eee;color:black}.terminal-body span{color:black!important}.subpage main{padding-top:0}a[href^=http]:after{content:' (' attr(href) ')';font-size:8pt;overflow-wrap:anywhere}.project-card img{height:110px}.footer-links{display:none}}

/* Portfolio revision: original reference palette #e60013 / #fabe00 / #00a497 / #006cb8. */
:root{--red:#e60013;--yellow:#fabe00;--green:#00a497;--blue:#006cb8}
:root[data-theme=dark]{--red:#e60013;--yellow:#fabe00;--green:#00a497;--blue:#006cb8}
.brand{gap:8px;font-size:24px;flex-shrink:0}.brand-initials{text-transform:lowercase;letter-spacing:-.085em}.brand-slash{color:var(--blue)}.brand small{display:flex;flex-direction:column;gap:1px;font-size:10px;line-height:1.04;letter-spacing:.06em;white-space:nowrap}.brand small span{display:block}
.masthead-note{font-size:15px}.toolbar .icon-button.language,.toolbar [data-theme-toggle]{border:1px solid #fff}
.hero{padding-top:27px;padding-bottom:28px}.hero-grid{align-items:center}.hero h1{font-size:clamp(3.3rem,5.2vw,4.9rem);line-height:1.035;margin:13px 0 20px}.hero h1 span{display:block;color:var(--ink)}.hero h1 .name-red{color:var(--red)}.hero h1 .name-yellow{color:var(--yellow)}.hero h1 .name-green{color:var(--green)}.hero-lead{font-size:clamp(1.2rem,1.9vw,1.7rem)}.hero-copy{margin-top:13px;line-height:1.65}.typed-line{margin-top:10px}.hero .button-row{margin-top:18px}.hero-bottom{margin-top:25px;padding-top:17px}.hero-topics{flex-wrap:wrap}.hero-bottom .hero-topics span:last-child{display:inline}.mobile-topics{display:none}
.portrait-inner>img,.portrait-shell:hover .portrait-inner>img{filter:none}.portrait-shell{transition:transform .2s,box-shadow .2s}.portrait-shell:hover{transform:translateY(-5px)}.portrait-inner>img{transition:none}.hero-bottom>a .icon{animation:arrow-bob 1.45s ease-in-out infinite}@keyframes arrow-bob{0%,100%{transform:translateY(-2px)}50%{transform:translateY(5px)}}
.hero .eyebrow,.typed-line,.nav-links a:hover,.nav-links a[aria-current],.project-card .eyebrow,.form-feedback{color:var(--ink)}.button-primary:hover{color:#102522}.portrait-caption strong{color:inherit}
.project-feature{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)}.project-feature .feature-image{min-height:0;aspect-ratio:16/11}.project-feature .feature-image img{width:100%;height:100%;object-fit:cover}.feature-content{display:flex;flex-direction:column;justify-content:center}.feature-content h3{font-size:clamp(24px,2.7vw,37px);line-height:1.25;margin:12px 0 25px}.feature-content .tag-list{margin-top:0}.feature-content .eyebrow{color:var(--ink)}
.tfg-detail,.tfg-bento,.tfg-subsystems,.tfg-next{margin-top:28px}.detail-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:14px}.detail-heading h3,.tfg-subsystems h3,.tfg-next h3{font-size:clamp(22px,2.3vw,30px)}.carousel-controls{display:flex;gap:10px}.carousel-controls .icon-button{width:40px;height:40px}.media-carousel{display:flex;gap:17px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:4px 3px 15px;overscroll-behavior-x:contain}.carousel-item{flex:0 0 clamp(250px,32vw,390px);scroll-snap-align:start;border:1px solid var(--line);border-radius:16px;background:var(--surface);overflow:hidden}.carousel-item>p{font-size:13px;font-weight:700;padding:10px 15px}.carousel-item button{display:block;border:0;padding:0;width:100%;height:228px;position:relative;background:var(--paper);overflow:hidden}.carousel-item img{width:100%;height:100%;object-fit:contain}.expand-corner,.video-badge{position:absolute;bottom:12px;right:12px;border-radius:8px;background:#20252be8;color:#fff;padding:7px;display:inline-flex}.expand-corner .icon{width:19px;height:19px}.video-badge{right:auto;left:12px;font-size:12px;font-weight:700}.video-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#20252bdb;color:#fff;width:62px;height:62px;border-radius:50%;display:grid;place-items:center}.video-play .icon{width:30px;height:30px}.carousel-video img{object-fit:cover;filter:brightness(.68)}.carousel-image:hover img,.carousel-video:hover img{transform:scale(1.025);transition:transform .2s}.carousel-controls button:disabled{opacity:.45;cursor:default;transform:none}
.tfg-bento{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.bento-tile{min-height:138px;border:1px solid var(--line);border-radius:16px;background:var(--surface);padding:20px;display:flex;flex-direction:column;justify-content:space-between;gap:7px}.bento-tile>.icon{width:29px;height:29px;color:var(--blue)}.bento-tile strong{font-size:21px;line-height:1.2}.bento-tile span{font-size:13px;color:var(--muted)}.bento-fiveg{background:var(--blue);color:#fff}.bento-fiveg strong{font-size:44px}.bento-fiveg span{color:#fff}
.tfg-subsystems,.tfg-next{border-top:1px solid var(--line);padding-top:25px}.subsystem-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:18px}.subsystem-grid article{border:1px solid var(--line);border-radius:15px;padding:20px;background:var(--surface)}.subsystem-grid .eyebrow{letter-spacing:.02em;font-size:12px;color:var(--ink)}.subsystem-grid p{font-size:14px;color:var(--muted);margin-top:11px;line-height:1.65}.architecture{max-width:650px;margin:24px auto 0}.architecture button{position:relative;border:1px solid var(--line);border-radius:12px;background:#fff;padding:10px;width:100%;display:block}.architecture img{width:100%;max-height:570px;object-fit:contain}.architecture button>.icon{position:absolute;bottom:16px;right:16px;background:#20252be8;color:#fff;box-sizing:content-box;padding:10px;border-radius:8px}.architecture figcaption{font-size:12px;color:var(--muted);margin-top:8px}.tfg-next p{max-width:880px;color:var(--muted);margin-top:12px;font-size:15px}
.support-project{grid-template-columns:75px minmax(0,1fr);align-items:start;padding:35px;gap:25px;margin-top:45px}.support-project .support-icon{width:70px;height:70px}.support-project .support-body{min-width:0}.support-project h3{font-size:28px}.support-project p{max-width:950px;font-size:15px}.support-project .support-body>p+p{margin-top:11px}.support-project .tag-list{margin-top:19px}.formula-areas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:23px}.formula-areas>div{border:1px solid var(--line);border-radius:12px;padding:14px;background:var(--paper);display:flex;flex-direction:column;gap:4px}.formula-areas strong{font-size:13px}.formula-areas span{font-size:12px;color:var(--muted)}
.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.project-card img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;filter:none;background:var(--paper)}.project-card:hover img{filter:none}.project-card .card-body{gap:9px}.project-card .card-body p{margin:0;font-size:13px;line-height:1.62}.project-card .tag-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:14px}.project-card .tag{font-size:11px;padding:4px 9px}.project-card .card-bottom{margin-top:12px}.project-card .card-arrow{display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:38px}.project-card .card-arrow:hover{background:var(--blue);color:#fff}
.education-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.education-card{padding:25px;display:flex;flex-direction:column;gap:14px}.education-card h3{font-size:21px}.education-card p{font-size:14px;color:var(--muted);margin:0}.education-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}.education-links a{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--line);border-radius:9px;padding:6px 9px;font-size:12px;font-weight:700}.education-links a .icon{width:13px;height:13px}.education-links a:hover{border-color:var(--blue)}.language-grid{display:grid;grid-template-columns:repeat(2,minmax(0,330px));justify-content:center;gap:19px;margin-top:19px}
.skill{display:block}.skill-heading{display:flex;gap:11px;align-items:center}.skill-heading>.icon{width:27px;height:27px;color:var(--blue)}.skill-heading strong{font-size:15px}.skill p{margin-top:15px}.tech-list{gap:8px}.tech-list .tag{font-size:12px;line-height:1.4}.contact-dock .icon-button{width:48px;height:48px}.contact-address{display:flex;align-items:center;gap:12px;margin-top:17px;max-width:100%}.contact-address .email-label{margin:0}.contact-address .copy-inline{width:35px;height:35px;border-radius:9px;flex-shrink:0}.contact-address .copy-inline .icon{width:17px;height:17px}.form-select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23565d66' stroke-width='2'%3E%3Cpath d='m3 6 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 15px center;background-size:16px;padding-right:42px}:root[data-theme=dark] .form-select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23b5bdc8' stroke-width='2'%3E%3Cpath d='m3 6 5 5 5-5'/%3E%3C/svg%3E")}
.lightbox{width:min(95vw,1260px);max-width:none}.lightbox-image-wrap{overflow:auto;max-height:72vh;display:flex;align-items:flex-start;justify-content:center}.lightbox-image-wrap img{width:auto;max-width:100%;max-height:70vh;object-fit:contain;cursor:zoom-in}.lightbox-image-wrap.zoomed{justify-content:flex-start}.lightbox-image-wrap.zoomed img{max-width:none;max-height:none;width:auto;height:auto;min-width:150%;cursor:zoom-out}.video-dialog{width:min(96vw,1100px);max-width:none}.video-dialog h2{font-size:22px}.video-frame{aspect-ratio:16/9;background:#111}.video-frame iframe{width:100%;height:100%;border:0}
@media(min-width:1600px){.hero h1{font-size:80px}.hero-grid{gap:75px}.hero{padding-top:25px;padding-bottom:25px}}
@media(max-width:1199px){.hero h1{font-size:65px}.hero-grid{gap:35px}.tfg-bento{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:991px){.hero h1{font-size:clamp(48px,5.4vw,63px)}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.support-project{grid-template-columns:65px minmax(0,1fr)}.subsystem-grid{grid-template-columns:1fr}.education-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.education-card{padding:20px}.education-card h3{font-size:18px}.hero-bottom .hero-topics span:last-child{display:inline}.tfg-bento{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.masthead-note{display:none}.brand{gap:5px;font-size:20px}.brand-mark{gap:2px;height:23px}.brand-mark i{width:3px;height:22px}.brand-mark i:nth-child(2){height:15px}.brand-mark i:nth-child(3){height:19px}.brand-mark i:nth-child(4){height:11px}.brand small,.nav-inner .brand small{display:flex;font-size:8px;letter-spacing:0}.masthead .brand small{display:flex}.nav-inner{gap:7px}.nav-inner>.toolbar{gap:7px}.nav-inner .icon-button{width:38px;height:38px}.hero{padding-top:15px}.hero-grid{gap:27px}.hero h1{font-size:clamp(51px,12vw,72px);margin:12px 0 18px}.hero .eyebrow{font-size:12px}.mobile-topics{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 17px}.mobile-topics span{font-size:11px;padding:4px 8px;border-radius:7px;background:var(--surface);border:1px solid var(--line)}.hero-bottom .hero-topics{display:none}.hero-bottom{margin-top:18px}.hero-copy{font-size:15px}.hero-lead{font-size:22px}.hero .button-row{margin-top:15px}.portrait-shell{max-width:320px}.project-feature{grid-template-columns:1fr}.project-feature .feature-image{aspect-ratio:16/10}.feature-content h3{font-size:26px}.carousel-item{flex-basis:min(82vw,350px)}.carousel-item button{height:205px}.tfg-bento{gap:10px}.bento-tile{padding:14px;min-height:125px}.bento-tile strong{font-size:17px}.bento-fiveg strong{font-size:32px}.support-project{grid-template-columns:1fr;padding:24px}.support-icon{display:flex!important}.formula-areas{grid-template-columns:1fr}.education-grid{grid-template-columns:1fr}.language-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-card img{height:auto;aspect-ratio:1}.skills-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:575px){.project-grid{grid-template-columns:1fr}.project-card img{height:auto;aspect-ratio:1}.language-grid{grid-template-columns:1fr}.hero h1{font-size:clamp(48px,12vw,62px)}.hero-bottom>a{font-size:12px}.brand small,.nav-inner .brand small{font-size:7.5px}.masthead .toolbar{gap:6px}.masthead .icon-button{width:38px;height:38px}}
@media(max-width:380px){.brand small,.nav-inner .brand small{font-size:7px}.brand-mark{display:none}.hero .button{font-size:12px;padding:10px 13px}}
@media(prefers-reduced-motion:reduce){.hero-bottom>a .icon{animation:none}.portrait-shell:hover{transform:none}}

/* Third iteration: portfolio panels, accessible carousel and responsive layout. */
.nav-links a:after{background:var(--yellow)}
.nav-links a:hover,.nav-links a[aria-current]{color:var(--yellow)}
.typed-line,.hero-bottom>a .icon{color:var(--yellow)}
.nav-social .icon-button,.toolbar .icon-button{border:1px solid var(--hi);box-shadow:var(--small-shadow);background:var(--surface)}
.nav-social .icon-button{width:42px;height:42px}
.nav-social{display:flex;gap:8px;align-items:center}
.nav-github-compact{display:none}
.nav-social .icon-button:hover,.toolbar .icon-button:hover{background:var(--ink);color:var(--bg)}
.experience-row{grid-template-columns:280px minmax(0,1fr) 165px}
.company{font-size:21px}
.company a{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.company a .icon{width:16px;height:16px;color:var(--blue);flex:none}
.company a:hover{color:var(--blue)}
#portfolio>.container>.section-intro{max-width:none}
.tfg-project{margin-top:30px;margin-bottom:44px}
.tfg-project .support-icon{color:var(--green)}
.tfg-project .eyebrow{color:var(--green)}
.tfg-project .support-body>h3{font-size:clamp(24px,2.2vw,34px);line-height:1.24;letter-spacing:-.025em;max-width:1050px;margin-bottom:6px}
.tfg-project .tfg-bento{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row dense;gap:12px;margin-top:26px}
.tfg-bento .bento-tile{min-width:0;min-height:125px;padding:18px;box-shadow:0 4px 12px #00000009}
.tfg-bento .bento-fiveg{grid-column:span 2;grid-row:span 2;min-height:262px;padding:26px;justify-content:space-between;background:var(--blue)}
.tfg-bento .bento-fiveg strong{font-size:clamp(58px,7vw,95px);letter-spacing:-.08em}
.tfg-bento .bento-fiveg span{max-width:250px;font-size:16px}
.tfg-bento .bento-video,.tfg-bento .bento-code{grid-column:span 2}
.tfg-bento .bento-video{background:color-mix(in srgb,var(--yellow) 13%,var(--surface))}
.tfg-bento .bento-video .icon{color:#b88600}
.tfg-bento .bento-tile strong{overflow-wrap:anywhere}
.tfg-project .tfg-detail,.tfg-project .tfg-subsystems,.tfg-project .tfg-next{margin-top:38px}
.tfg-project .tfg-detail{border-top:1px solid var(--line);padding-top:32px}
.tfg-project .detail-heading{margin-bottom:12px}
.carousel-stage{position:relative;isolation:isolate;overflow:hidden;border:1px solid var(--line);border-radius:20px;background:var(--paper)}
.media-carousel{position:relative;display:block;height:390px;overflow:hidden;padding:0;scrollbar-width:none;scroll-snap-type:none;perspective:1150px}
.carousel-item{display:block;float:none;margin:0;scroll-snap-align:none;position:absolute;top:22px;left:50%;width:min(47%,430px);height:340px;overflow:hidden;z-index:0;opacity:0;visibility:hidden;pointer-events:none;box-shadow:0 14px 30px #10182028;transform:translateX(-50%) scale(.65);transition:transform .4s ease,opacity .4s ease,visibility .4s ease;will-change:transform}
.carousel-item:first-child{opacity:1;visibility:visible;pointer-events:auto;z-index:3;transform:translateX(-50%)}
.carousel-item[data-position=center]{opacity:1;visibility:visible;pointer-events:auto;z-index:4;transform:translateX(-50%) scale(1) rotateY(0)}
.carousel-item[data-position=previous]{opacity:.82;visibility:visible;pointer-events:auto;z-index:3;transform:translateX(calc(-50% - 250px)) scale(.77) rotateY(15deg)}
.carousel-item[data-position=next]{opacity:.82;visibility:visible;pointer-events:auto;z-index:3;transform:translateX(calc(-50% + 250px)) scale(.77) rotateY(-15deg)}
.carousel-item[data-position=far-left]{opacity:.46;visibility:visible;pointer-events:auto;z-index:2;transform:translateX(calc(-50% - 455px)) scale(.58) rotateY(23deg)}
.carousel-item[data-position=far-right]{opacity:.46;visibility:visible;pointer-events:auto;z-index:2;transform:translateX(calc(-50% + 455px)) scale(.58) rotateY(-23deg)}
.carousel-item:first-child[data-position=hidden]{opacity:0;visibility:hidden;pointer-events:none;z-index:0}
.carousel-item button{height:290px;cursor:zoom-in}
.carousel-item .carousel-video{cursor:pointer}
.carousel-item>p{margin:0;min-height:48px;line-height:1.4;padding:13px 14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.carousel-controls{position:absolute;inset:0 14px;z-index:8;display:flex;align-items:center;justify-content:space-between;pointer-events:none}
.carousel-controls .icon-button{width:48px;height:48px;pointer-events:auto;box-shadow:0 4px 18px #0006;background:var(--surface);border:1px solid var(--hi);color:var(--ink)}
.carousel-controls .icon-button:hover{background:var(--yellow);color:#24282e}
.carousel-status{text-align:center;margin:12px 0 0;color:var(--muted);font-size:13px}
.tfg-project .subsystem-grid article{background:var(--paper)}
.support-project:not(.tfg-project){margin-top:44px}
.formula-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:27px}
.formula-photos figure{margin:0;min-width:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--paper)}
.formula-photos img{display:block;width:100%;height:260px;object-fit:cover;object-position:center}
.formula-photos figcaption{font-size:12px;font-weight:700;color:var(--muted);padding:10px 13px}
.project-grid{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:20px}
.project-card{flex:0 0 calc((100% - 60px)/4);min-width:0}
.project-card>img{width:100%;height:165px;aspect-ratio:auto;object-fit:contain;padding:12px;background:var(--paper)}
.project-card .card-body{padding:20px}
.project-card .card-arrow{width:auto;height:auto;min-width:0;min-height:36px;border-radius:9px;padding:6px 9px;gap:7px;font-size:11px;white-space:nowrap}
.project-card .card-arrow .icon{width:17px;height:17px;flex:none}
.project-card .card-bottom{align-items:flex-end;flex-wrap:wrap}
.education-card>p a{font-weight:750;color:var(--ink);text-decoration:none;display:inline-flex;align-items:baseline;gap:4px}
.education-card>p a:hover{color:var(--blue)}
.education-card>p a .icon{width:13px;height:13px;flex:none}
.education-logos{margin-top:auto;min-height:112px;display:flex;justify-content:center;align-items:flex-end;padding-top:10px}
.education-logos .school-logo{width:100px;height:100px;object-fit:contain;border-radius:10px}
.education-logos.university-logos{gap:12px;align-items:center}
.university-logos img{width:calc(50% - 6px);height:100px;object-fit:contain}
.university-logos .esi-logo{background:#fff;padding:12px;border-radius:10px}
.language-card h3{display:flex;align-items:center;gap:11px}
.language-flag{width:1.4em;height:1em;flex:none;border:1px solid #0002;border-radius:2px;box-shadow:0 2px 4px #0002}
.tech-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:20px}
.tech-card{flex:0 0 calc((100% - 60px)/4);min-width:0}

@media (min-width:992px) and (max-width:1199px){
 .experience-row{grid-template-columns:245px minmax(0,1fr) 135px;gap:16px}
 .company{font-size:18px}
}
@media (max-width:1199px){
 .site-header .nav-social{display:none}
 .site-header .nav-github-compact{display:inline-flex}
 .project-card{flex-basis:calc((100% - 40px)/3)}
 .tech-card{flex-basis:calc((100% - 40px)/3)}
 .carousel-item[data-position=far-left]{transform:translateX(calc(-50% - 360px)) scale(.55)}
 .carousel-item[data-position=far-right]{transform:translateX(calc(-50% + 360px)) scale(.55)}
}
@media (max-width:991px){
 .experience-row{grid-template-columns:1fr}
 .experience-row .period{grid-column:auto;grid-row:auto;margin-top:0;text-align:left}
 .company{font-size:21px}
 .tfg-project .tfg-bento{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tfg-bento .bento-fiveg{grid-row:span 1;min-height:145px}
 .project-card{flex-basis:calc((100% - 20px)/2)}
 .tech-card{flex-basis:calc((100% - 20px)/2)}
 .education-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .university-card{grid-column:span 2}
}
@media (max-width:767px){
 .tfg-project{padding:23px}
 .tfg-project .support-body>h3{font-size:clamp(22px,5vw,28px)}
 .media-carousel{height:320px}
 .carousel-item{top:14px;width:min(75%,350px);height:285px}
 .carousel-item button{height:237px}
 .carousel-item[data-position=previous]{transform:translateX(calc(-50% - 45vw)) scale(.74) rotateY(12deg)}
 .carousel-item[data-position=next]{transform:translateX(calc(-50% + 45vw)) scale(.74) rotateY(-12deg)}
 .carousel-item[data-position=far-left],.carousel-item[data-position=far-right]{opacity:0;visibility:hidden;pointer-events:none}
 .carousel-controls{inset:0 6px}
 .carousel-controls .icon-button{width:42px;height:42px}
 .formula-photos img{height:210px}
 .tech-card{flex-basis:calc((100% - 20px)/2)}
}
@media (max-width:575px){
 .company a{white-space:normal}
 .tfg-project .tfg-bento{gap:9px}
 .tfg-bento .bento-tile{padding:12px;min-height:112px}
 .tfg-bento .bento-fiveg{min-height:140px;padding:15px}
 .tfg-bento .bento-fiveg strong{font-size:54px}
 .tfg-bento .bento-fiveg span{font-size:13px}
 .tfg-bento .bento-tile strong{font-size:16px}
 .tfg-bento .bento-tile span{font-size:12px}
 .media-carousel{height:280px}
 .carousel-item{top:12px;height:255px;width:74%}
 .carousel-item button{height:207px}
 .carousel-item[data-position=previous]{transform:translateX(calc(-50% - 46vw)) scale(.69)}
 .carousel-item[data-position=next]{transform:translateX(calc(-50% + 46vw)) scale(.69)}
 .carousel-item>p{font-size:11px}
 .formula-photos{grid-template-columns:1fr}
 .formula-photos img{height:220px}
 .project-card{flex-basis:100%}
 .project-card>img{height:180px}
 .education-grid{grid-template-columns:1fr}
 .university-card{grid-column:auto}
 .tech-card{flex-basis:100%}
}
@media (prefers-reduced-motion:reduce){.carousel-item{transition:none}}

/* Portfolio media: the caption meets the complete image at a square edge. */
.company a .icon{color:currentColor;background:none;border-radius:0;width:16px;height:16px;padding:0;box-sizing:content-box}
.company a:hover .icon{color:currentColor;background:none}
.tfg-project .tfg-bento{grid-template-areas:"fiveg fiveg code video" "fiveg fiveg webrtc rtt" "android esp azure python";grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row}
.tfg-bento .bento-fiveg{grid-area:fiveg}
.tfg-bento .bento-code{grid-area:code}
.tfg-bento .bento-video{grid-area:video}
.tfg-bento .bento-webrtc{grid-area:webrtc}
.tfg-bento .bento-rtt{grid-area:rtt}
.tfg-bento .bento-android{grid-area:android}
.tfg-bento .bento-esp{grid-area:esp}
.tfg-bento .bento-azure{grid-area:azure}
.tfg-bento .bento-python{grid-area:python}
.carousel-stage{border:0;border-radius:0;background:transparent}
.carousel-item{--media-ratio:4/3;display:flex;flex-direction:column;width:min(70%,380px);height:auto;min-height:0;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.carousel-item[data-media-format=portrait]{--media-ratio:480/678;width:min(42%,210px)}
.carousel-item[data-media-format=portrait-tall]{--media-ratio:3/4;width:min(45%,225px)}
.carousel-item[data-media-format=landscape]{--media-ratio:4/3;width:min(70%,380px)}
.carousel-item[data-media-format=wide]{--media-ratio:16/9;width:min(78%,430px)}
.carousel-item[data-media-format=video-wide]{--media-ratio:2/1;width:min(78%,430px)}
.carousel-item[data-media-format=video-screen]{--media-ratio:1920/989;width:min(78%,430px)}
.carousel-item button{aspect-ratio:var(--media-ratio);height:auto;flex:none;background:transparent}
.carousel-item img{display:block;width:100%;height:100%;object-fit:contain;transform:none}
.carousel-item .carousel-image:hover img{transform:none}
.carousel-item .carousel-video img{object-fit:cover;filter:brightness(.72)}
.carousel-item>p{border-top:1px solid var(--line);min-height:48px;white-space:normal;text-overflow:clip;overflow:visible;background:var(--surface)}
.formula-photos{align-items:start}
.formula-photos figure{align-self:start}
.formula-photos img{height:auto;aspect-ratio:auto;object-fit:contain}
.formula-photos figcaption{border-top:1px solid var(--line);font-size:13px;padding:12px 15px;background:var(--surface)}
.education-card:has(.school-logo) .education-logos{margin-top:0;min-height:0;flex:1;align-items:center;padding-top:0}
.education-logos .school-logo{width:136px;height:136px}
.university-logos img{border-radius:10px}
.lightbox-image-wrap[hidden],.lightbox-video-wrap[hidden],.lightbox-video-wrap [hidden]{display:none!important}
.lightbox-video-wrap{max-width:min(100%,1050px);margin-inline:auto}
.lightbox-video-wrap>button{position:relative;display:block;border:0;padding:0;width:100%;aspect-ratio:16/9;background:#111;cursor:pointer}
.lightbox-video-wrap>button img{display:block;width:100%;height:100%;object-fit:contain;max-height:none}
.lightbox-video-wrap .video-frame{width:100%}
.lightbox[data-standalone] .lightbox-footer [data-gallery-prev],.lightbox[data-standalone] .lightbox-footer [data-gallery-next]{visibility:hidden}
@media(max-width:991px){
 .tfg-project .tfg-bento{grid-template-areas:"fiveg fiveg" "code video" "webrtc rtt" "android esp" "azure python";grid-template-columns:repeat(2,minmax(0,1fr))}
 .tfg-bento .bento-fiveg{min-height:145px}
}
@media(max-width:767px){
 .carousel-item[data-media-format=portrait]{width:min(58%,175px)}
 .carousel-item[data-media-format=portrait-tall]{width:min(60%,185px)}
 .carousel-item[data-media-format=landscape]{width:min(85%,310px)}
 .carousel-item[data-media-format=wide],.carousel-item[data-media-format^=video-]{width:min(89%,325px)}
}
@media(max-width:575px){
 .carousel-item[data-media-format=portrait]{width:min(58%,150px)}
 .carousel-item[data-media-format=portrait-tall]{width:min(62%,162px)}
 .carousel-item[data-media-format=landscape]{width:min(90%,275px)}
 .carousel-item[data-media-format=wide],.carousel-item[data-media-format^=video-]{width:min(95%,290px)}
 .carousel-item>p{font-size:11px;min-height:48px;padding:11px 12px}
}

/* The current language is shown as a centered flag in the same control style. */
.toolbar .icon-button.language,.toolbar [data-theme-toggle]{border-color:var(--hi)}
.toolbar .language-flag-icon{display:block;width:27px;height:18px;object-fit:cover;border:1px solid #0002;border-radius:3px;box-shadow:0 1px 3px #0002}

/* Experience logos: equal square canvases, below each company and location. */
.experience-row .company-logo{display:block;width:120px;height:120px;margin-top:18px;object-fit:contain;border:1px solid var(--line);border-radius:12px;background:#fff}

/* Only the two featured project labels track the hero eyebrow size. */
.support-project .eyebrow.featured-eyebrow{font-size:16px}

/* The five non-menu controls appear in the same order before and after scrolling. */
.site-header .nav-linkedin-compact,.site-header .nav-email-compact{display:none}
.site-header .nav-social .icon-button,.site-header .toolbar .icon-button,.masthead .toolbar .icon-button{width:42px;height:42px}
@media(max-width:1199px){
 .site-header .nav-linkedin-compact,.site-header .nav-email-compact{display:inline-flex}
}
@media(min-width:992px) and (max-width:1099px){
 .site-header .nav-links{position:absolute;top:var(--header);left:0;right:0;margin:0;background:var(--bg);padding:14px 25px 24px;border-bottom:1px solid var(--line);box-shadow:0 12px 20px #0001;flex-direction:column;align-items:stretch;gap:0;max-height:calc(100dvh - var(--header));overflow:auto}
 .js .site-header .nav-links{display:none}
 .js .site-header .nav-links.open{display:flex}
 .site-header .nav-links a{padding:12px 0;font-size:15px}
 .site-header .nav-links a:after{bottom:8px;right:auto;width:35px}
 .site-header .menu-toggle{display:inline-flex}
}
@media(max-width:767px){
 .support-project .eyebrow.featured-eyebrow{font-size:12px}
 .site-header .toolbar .icon-button,.masthead .toolbar .icon-button{width:38px;height:38px}
}
@media(max-width:575px){
 .site-header .container{padding-inline:12px}
 .site-header .nav-inner{gap:4px}
 .site-header .nav-inner>.toolbar{gap:3px}
 .site-header .brand{gap:4px;font-size:18px}
 .site-header .brand small,.site-header .brand-slash{display:none}
 .site-header .toolbar .icon-button,.masthead .toolbar .icon-button{width:36px;height:36px}
 .masthead{flex-wrap:wrap;gap:12px}
 .masthead .toolbar{width:100%;justify-content:space-between;gap:5px}
 .experience-row .company-logo{width:104px;height:104px}
}

/* V7: match the gap between contact and preference controls on wide headers. */
@media(min-width:1200px){.masthead .toolbar .language{margin-left:16px}}

/* Keep the contact subject free of both native and themed chevrons, including focus. */
.contact-form .form-select,.contact-form .form-select:focus,.contact-form .form-select:active{
 appearance:none!important;-webkit-appearance:none!important;-moz-appearance:none!important;
 background-image:none!important;padding-right:14px
}
.contact-form .form-select::-ms-expand{display:none}

#experiencia>.container>.section-intro,
#habilidades>.container>.section-intro,
#tecnologias>.container>.section-intro{max-width:none}

/* The academic and technology cards use the same raised surface as skills. */
.project-card,.tech-card{background:var(--surface);border-color:#ffffff25;box-shadow:var(--small-shadow)}
.project-card:hover{box-shadow:var(--shadow)}

/* All five controls retain a stronger raised shape in both color themes. */
:root{--control-shadow:6px 6px 14px var(--shade),-6px -6px 14px var(--hi)}
:root[data-theme=dark]{--control-shadow:6px 6px 14px #14171b,-6px -6px 14px #39414a}
.site-header .nav-social .icon-button,
.site-header .toolbar .icon-button:not(.menu-toggle),
.masthead .toolbar .icon-button{box-shadow:var(--control-shadow)}
.site-header .nav-social .icon-button:active,
.site-header .toolbar .icon-button:not(.menu-toggle):active,
.masthead .toolbar .icon-button:active{box-shadow:var(--inset)}
@media print{.project-card,.tech-card{box-shadow:none}}
