@font-face{font-family:Space Grotesk;src:url('/assets/space-grotesk-medium.woff') format('woff');font-weight:500;font-display:swap}
@font-face{font-family:IBM Plex Sans;src:url('/assets/ibm-plex-sans-regular.woff') format('woff');font-weight:400;font-display:swap}
:root{--paper:#f4f7f9;--white:#fff;--ink:#162d3d;--muted:#526575;--blue:#194cda;--blue-light:#e7eefc;--line:#d2dde5;--mint:#c7efe6;--display:'Space Grotesk',sans-serif;--body:'IBM Plex Sans',sans-serif;--mono:ui-monospace,'SFMono-Regular',Consolas,monospace}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-height,84px) + 24px)}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 var(--body);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit}a,button{-webkit-tap-highlight-color:transparent}a:hover{color:var(--blue)}a:focus-visible,button:focus-visible{outline:3px solid var(--blue);outline-offset:6px;border-radius:3px}::selection{background:var(--mint);color:var(--ink)}[hidden]{display:none!important}h1,h2,h3,h4,p,figure{margin:0}h1,h2,h3,h4{font-family:var(--display);font-weight:500;line-height:1.15}p+p{margin-top:16px}h2{font-size:clamp(32px,3.6vw,50px);letter-spacing:-2px}h3{letter-spacing:-.7px}button,a{touch-action:manipulation}.section-wrap{max-width:1360px;padding-left:64px;padding-right:64px;margin:auto}.eyebrow{font:11px/1.6 var(--mono);text-transform:uppercase;letter-spacing:1.4px}.skip-link{position:fixed;top:12px;left:12px;transform:translateY(-200%);z-index:20;padding:12px 20px;background:var(--white)}.skip-link:focus{transform:translateY(0)}
.site-header{position:sticky;top:0;z-index:10;background:rgba(244,247,249,.95);backdrop-filter:blur(14px);border-bottom:1px solid transparent;transition:border-color .18s,box-shadow .18s;height:84px;max-width:1360px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 64px;gap:24px}.site-header.is-scrolled{border-bottom-color:var(--line);box-shadow:0 5px 18px #162d3d06}.brand{display:flex;align-items:center;gap:14px;font-family:var(--display);font-size:15px}.monogram{font-size:35px;line-height:1;letter-spacing:-4px;margin-right:5px}.monogram span{color:var(--blue)}.main-navigation{display:flex;gap:35px;align-items:center;font-size:14px}.main-navigation a{padding:8px 0;position:relative}.main-navigation a[aria-current]{color:var(--blue)}.main-navigation a[aria-current]:after{content:'';position:absolute;bottom:1px;left:0;right:0;height:2px;background:var(--blue)}.main-navigation a:last-child span{padding-left:4px}
.hero{padding-top:44px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:44px;align-items:center}.hero-copy>.eyebrow{letter-spacing:1px;display:flex;align-items:center;gap:9px;font-size:10px}.status-dot{width:6px;height:6px;border-radius:50%;background:var(--blue);flex:none}.hero h1{font-size:clamp(72px,8.2vw,112px);line-height:.96;letter-spacing:-6px;margin:22px 0 18px}.hero h1>span{color:var(--blue)}.hero-role{font:500 24px/1.35 var(--display);letter-spacing:-.7px;margin-bottom:20px}.hero-intro{font-size:18px;max-width:470px;color:var(--muted);line-height:1.6}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:36px;min-height:48px;padding:12px 20px;font-size:13px;font-family:var(--display);border:1px solid transparent;border-radius:5px;cursor:pointer;transition:background .18s,color .18s,transform .18s}.button:hover{transform:translateY(-2px)}.button-primary{background:var(--blue);color:white}.button-primary:hover{background:#103bb0;color:white}.button-outline{border-color:var(--ink);background:transparent}.button-outline:hover{background:var(--ink);color:white}.text-link{font-size:14px;border-bottom:1px solid currentColor;padding-bottom:4px}.text-link>span{margin-left:16px}.hero-secondary{display:flex;gap:12px 24px;flex-wrap:wrap;align-items:center;margin-top:23px}.hero-github{display:inline-block;font:11px/1.7 var(--mono);color:var(--muted);padding:4px 0}.hero-github span{margin-left:12px}
.pipeline{border:1px solid #cbd9ef;border-radius:12px;background:#eaf0fb;position:relative;margin-top:32px;overflow:hidden}.pipeline-top{display:flex;justify-content:space-between;gap:12px;padding:22px 23px;border-bottom:1px solid #cfdbf0}.pipeline-top .eyebrow{font-size:9px;letter-spacing:.5px;color:#355187}.file-label{font:9px/1.6 var(--mono);color:#526b95;white-space:nowrap}.pipeline-svg{display:block;width:100%;height:auto;padding:10px 3px 0;background-image:radial-gradient(#cbd8ee .8px,transparent .8px);background-size:14px 14px}.svg-label{font:9px var(--mono);fill:#526b95;letter-spacing:1px}.svg-title{font:13px var(--display);fill:var(--ink)}.svg-detail{font:9px var(--mono);fill:#526b95}.svg-light{fill:white}.pipeline figcaption{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-top:1px solid #cfdbf0;font-size:14px;line-height:1.5;background:#eaf0fb}.pipeline figcaption a{display:grid;place-items:center;border-radius:50%;width:42px;height:42px;border:1px solid #acbee9;color:var(--blue);font-size:23px}.pipeline figcaption a:hover{background:var(--blue);color:white}
.work{padding-top:84px}.section-heading{display:grid;grid-template-columns:180px 1fr auto;align-items:start;gap:28px;margin-bottom:50px}.section-heading>.eyebrow{padding-top:9px;color:var(--blue)}.section-heading>p:last-child:not(.eyebrow){color:var(--muted);font-size:13px;line-height:1.7;padding-top:7px}.thesis-project{background:var(--white);border:1px solid var(--line);border-radius:10px;padding:42px;scroll-margin-top:35px}.project-heading{display:grid;grid-template-columns:165px 1fr;gap:28px}.project-type{font:10px/1.8 var(--mono);color:var(--muted);display:flex;flex-direction:column;gap:18px}.project-symbol{font-size:37px;line-height:1;color:var(--blue)}.project-heading h3{font-size:clamp(25px,2.9vw,39px);line-height:1.2;max-width:780px;letter-spacing:-1.3px}.project-subtitle{color:var(--muted);margin-top:17px;font-size:16px;max-width:540px}.tags{display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:22px 0 0;list-style:none}.tags li{font:11px/1.5 var(--mono);padding:5px 9px;border:1px solid var(--line);border-radius:4px;white-space:nowrap;color:var(--muted)}.project-stats{display:grid;grid-template-columns:1fr 1.1fr 1fr 1.2fr;gap:16px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:28px 0;margin-top:36px;align-items:center}.project-stats>div{display:flex;flex-direction:column;gap:5px}.project-stats strong{font:500 40px/1.2 var(--display);letter-spacing:-2px;color:var(--blue)}.project-stats span{font-size:12px;color:var(--muted)}.project-stats>p{font:10px/1.9 var(--mono);color:var(--muted);border-left:1px solid var(--line);padding-left:24px}.case-copy{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin:34px 0}.case-copy h4{font-size:16px;margin-bottom:12px}.case-copy p{font-size:15px;line-height:1.8;color:var(--muted)}.research-figure{background:var(--paper);padding:22px;border-radius:6px}.figure-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.figure-heading .eyebrow{font-size:9px}.figure-heading>span:last-child{font:10px var(--mono);color:var(--muted)}.research-figure img{display:block;width:100%;height:auto;background:white}.research-figure figcaption{font-size:11px;line-height:1.8;color:var(--muted);padding-top:16px;max-width:800px}.project-lesson{display:grid;grid-template-columns:165px 1fr;gap:28px;margin-top:28px;align-items:start}.project-lesson .eyebrow{font-size:10px;color:var(--blue);padding-top:3px}.project-lesson>p{font-size:13px;color:var(--muted);line-height:1.8;max-width:750px}
.homelab-project{display:grid;grid-template-columns:1.1fr 1fr;gap:64px;padding:54px 0 58px;border-bottom:1px solid var(--line);align-items:center}.homelab-copy>.eyebrow{color:var(--blue);font-size:10px}.homelab-copy h3{font-size:34px;letter-spacing:-1.2px;margin:15px 0 20px;max-width:400px}.homelab-copy>p:not(.eyebrow){font-size:14px;color:var(--muted);line-height:1.8}.homelab-diagram{background:#e6eeef;border-radius:10px;padding:40px 30px 28px}.stack-row{border:1px solid #b7ccce;background:#f8fbfb;display:flex;align-items:center;gap:12px;padding:16px;border-radius:5px;box-shadow:0 3px 0 #d5e1e2}.rack-led{width:5px;height:5px;flex:none;border-radius:50%;background:#2b7566}.stack-row strong{font:500 12px var(--display)}.stack-row>span:last-child{margin-left:auto;font:9px var(--mono);color:var(--muted)}.stack-connector{text-align:center;color:#8aabae;font:18px/28px var(--mono)}.homelab-diagram figcaption{margin-top:24px;text-align:center;color:var(--muted);font:11px/1.8 var(--mono)}
.experience{padding-top:105px}.experience .section-heading{grid-template-columns:180px 1fr}.experience-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.5fr);gap:100px}.about h3{font-size:20px;margin-bottom:20px}.about>p{color:var(--muted);font-size:16px;line-height:1.85}.personal-note{border-left:2px solid #b2c5e9;padding:0 0 0 20px;margin-top:32px}.personal-note>.eyebrow{font-size:10px;color:var(--blue)}.personal-note>p:not(.eyebrow){font-size:13px;line-height:1.8;color:var(--muted);margin:10px 0 13px}.personal-note .text-link{font-size:12px}.timeline-label{font:10px var(--mono);text-transform:uppercase;letter-spacing:1.3px;color:var(--muted);padding-bottom:16px;border-bottom:1px solid var(--line)}.timeline-item{display:grid;grid-template-columns:145px 1fr;gap:24px;padding:25px 0;border-bottom:1px solid var(--line)}.timeline-period{font:11px/1.7 var(--mono);color:var(--muted);padding-top:3px}.timeline-period>span{white-space:nowrap}.timeline-period small{font:10px/1.7 var(--body);display:block;max-width:140px;margin-top:8px}.timeline-item h3{font-size:21px}.role{font-size:14px;margin:6px 0 0;color:var(--ink)}.timeline-description{font-size:14px;line-height:1.75;color:var(--muted);margin-top:10px}.education-label{margin-top:32px}.skills-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:30px;margin-top:64px;padding:28px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.skills-grid h3{font-size:15px;margin-bottom:12px}.skills-grid p{font-size:14px;line-height:1.9;color:var(--muted);max-width:310px}
.cv-strip{padding-top:58px;padding-bottom:58px;display:flex;align-items:center;justify-content:space-between;gap:30px}.cv-strip .eyebrow{color:var(--blue);margin-bottom:12px}.cv-strip h2{font-size:29px;letter-spacing:-1px}.cv-strip p:not(.eyebrow){font-size:13px;color:var(--muted);margin-top:12px}.cv-strip .button{flex:none}.contact{background:var(--blue);max-width:none;padding-top:65px;padding-bottom:50px;color:white}.contact>*{max-width:1232px;margin-left:auto;margin-right:auto}.contact .eyebrow{color:#d4dfff}.contact h2{font-size:clamp(44px,6.1vw,82px);letter-spacing:-3.7px;line-height:1.08;margin-top:24px}.contact h2 span{color:var(--mint)}.contact-bottom{display:flex;justify-content:space-between;align-items:center;gap:26px;border-top:1px solid #577de5;padding-top:25px;margin-top:38px}.email-link{font-family:var(--display);font-size:clamp(18px,2.4vw,31px);letter-spacing:-.6px}.email-link>span{display:inline-block;margin-left:30px}.contact a:hover{color:var(--mint)}.contact a:focus-visible{outline-color:var(--mint)}.site-footer{max-width:1360px;margin:auto;padding:30px 64px;display:flex;justify-content:space-between;align-items:center;gap:25px;font-size:11px;color:var(--muted)}.footer-name{font:15px var(--display);color:var(--ink)}.footer-name span{color:var(--blue)}.site-footer>a:last-child{font-family:var(--mono);font-size:10px}
.cv-main{max-width:1100px;margin:auto;padding:30px 40px 80px}.cv-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.cv-sheet{background:white;border:1px solid var(--line);border-radius:8px;padding:50px}.cv-header{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-bottom:26px;border-bottom:2px solid var(--blue)}.cv-header .eyebrow{color:var(--blue);font-size:9px}.cv-header h1{font-size:44px;letter-spacing:-2px;margin:10px 0}.cv-header h1 span{color:var(--blue)}.cv-header>div>p:last-child{font-size:11px;color:var(--muted)}.cv-contact{display:flex;flex-direction:column;align-items:flex-end;font-size:10px;line-height:1.9}.cv-contact a:hover{text-decoration:underline}.cv-profile{padding:22px 0;border-bottom:1px solid var(--line)}.cv-sheet h2{font:10px/1.6 var(--mono);letter-spacing:1px;text-transform:uppercase;color:var(--blue)}.cv-profile>p{font-size:12px;line-height:1.8;margin-top:10px}.cv-section{display:grid;grid-template-columns:135px 1fr;gap:20px;padding:21px 0;border-bottom:1px solid var(--line)}.cv-section>h2{padding-top:2px}.cv-section .timeline-item{grid-template-columns:130px 1fr;gap:22px;padding:0 0 15px;border:0}.cv-section .timeline-item:last-child{padding-bottom:0}.cv-section .timeline-item h3{font-size:16px}.cv-section .timeline-period{font-size:9px}.cv-section .timeline-period small{font-size:9px;max-width:120px}.cv-section .role{font-size:11px;margin-top:3px}.cv-section .timeline-description{font-size:10px;line-height:1.7;margin-top:6px}.cv-project h3{font-size:14px}.cv-project p,.cv-skills p{font-size:10px;line-height:1.8;margin-top:7px}.cv-project+.cv-project{margin-top:17px}.cv-skills p:first-child{margin-top:0}.cv-skills p+p{margin-top:6px}.cv-footnote{padding-top:18px;font-size:9px;color:var(--muted)}.cv-footnote a{text-decoration:underline}
@media(min-width:1500px){.contact{padding-left:max(64px,calc((100vw - 1232px)/2));padding-right:max(64px,calc((100vw - 1232px)/2))}}
@media(max-width:1100px){.section-wrap,.site-header{padding-left:36px;padding-right:36px}.site-footer{padding-left:36px;padding-right:36px}.hero{gap:32px;padding-top:40px}.hero h1{font-size:clamp(64px,8vw,96px);letter-spacing:-4.5px}.hero-copy>.eyebrow{max-width:340px;font-size:9px}.pipeline-top{padding:18px 14px}.pipeline-top .file-label{display:none}.hero-intro{font-size:16px}.section-heading{grid-template-columns:140px 1fr auto;gap:20px}.experience .section-heading{grid-template-columns:140px 1fr}.thesis-project{padding:30px}.project-heading{grid-template-columns:135px 1fr;gap:20px}.project-lesson{grid-template-columns:135px 1fr;gap:20px}.experience-layout{gap:46px;grid-template-columns:.8fr 1.2fr}.timeline-item{grid-template-columns:125px 1fr;gap:18px}.homelab-project{gap:35px}.homelab-diagram{padding:32px 20px}.stack-row{padding:14px 12px;gap:8px}.stack-row strong{font-size:11px}.stack-row>span:last-child{font-size:8px}.project-stats strong{font-size:35px}.case-copy{gap:23px}.contact h2{letter-spacing:-2.7px}}
@media(max-width:760px){html{scroll-padding-top:calc(var(--header-height,112px) + 20px)}.section-wrap,.site-header{padding-left:24px;padding-right:24px}.site-header{height:auto;min-height:92px;flex-wrap:wrap;gap:0;padding-top:16px;padding-bottom:15px}.brand{font-size:14px;gap:11px}.monogram{font-size:30px}.main-navigation{gap:23px;font-size:12px}.hero{padding-top:44px;grid-template-columns:1fr;gap:0}.hero h1{font-size:clamp(76px,15vw,106px);letter-spacing:-4.5px;margin:20px 0 17px}.hero-copy>.eyebrow{max-width:none;font-size:9px;letter-spacing:.4px}.hero-intro{max-width:470px;font-size:17px}.hero-role{font-size:18px;margin-bottom:20px}.hero-secondary{margin-top:20px;gap:24px}.pipeline{margin:42px 0 0;max-width:530px;width:100%}.pipeline-top{padding:20px}.pipeline-top .file-label{display:inline}.pipeline-svg{padding-top:0}.pipeline figcaption{padding:18px 22px}.work,.experience{padding-top:70px}.section-heading,.experience .section-heading{grid-template-columns:1fr;gap:15px;margin-bottom:32px}.section-heading>.eyebrow{padding-top:0}.section-heading>p:last-child:not(.eyebrow){display:none}h2{font-size:35px;letter-spacing:-1.5px}.thesis-project{padding:25px 22px}.project-heading{grid-template-columns:1fr;gap:20px}.project-type{flex-direction:row;align-items:center;gap:15px;font-size:9px}.project-symbol{font-size:28px}.project-heading h3{font-size:29px;letter-spacing:-1px}.project-subtitle{font-size:15px;margin-top:13px}.tags{gap:6px;margin-top:18px}.tags li{font-size:9px;padding:4px 7px}.project-stats{grid-template-columns:1fr 1.1fr;gap:22px;margin-top:26px;padding:23px 0}.project-stats strong{font-size:36px}.project-stats span{font-size:10px}.project-stats>p{font-size:9px;padding-left:0;border:0}.case-copy{grid-template-columns:1fr;gap:25px;margin:28px 0}.case-copy h4{margin-bottom:8px}.case-copy p{font-size:14px}.research-figure{padding:14px;margin-left:-8px;margin-right:-8px}.figure-heading{align-items:flex-start;flex-direction:column;gap:5px;margin-bottom:12px}.research-figure figcaption{font-size:10px;line-height:1.7}.project-lesson{grid-template-columns:1fr;gap:10px;margin-top:24px}.project-lesson>p{font-size:12px}.homelab-project{grid-template-columns:1fr;gap:28px;padding-top:38px;padding-bottom:38px}.homelab-copy h3{font-size:31px;max-width:350px}.homelab-diagram{padding:30px 24px}.stack-row{padding:16px}.stack-row strong{font-size:12px}.stack-row>span:last-child{font-size:9px}.experience-layout{grid-template-columns:1fr;gap:44px}.about{max-width:550px}.about>p{font-size:15px}.personal-note{margin-top:24px}.timeline-item{grid-template-columns:120px 1fr;gap:20px}.timeline-item h3{font-size:20px}.timeline-period{font-size:10px}.timeline-description{font-size:12px}.skills-grid{margin-top:36px;grid-template-columns:1fr;gap:24px;padding:25px 0}.skills-grid h3{margin-bottom:7px}.skills-grid p{max-width:none}.cv-strip{align-items:flex-start;flex-direction:column;gap:23px;padding-top:38px;padding-bottom:40px}.cv-strip h2{font-size:28px}.cv-strip p:not(.eyebrow){max-width:310px}.contact{padding-top:42px;padding-bottom:32px}.contact h2{font-size:clamp(39px,8.9vw,65px);letter-spacing:-1.8px;margin-top:20px}.contact-bottom{align-items:flex-start;flex-direction:column;gap:22px;margin-top:28px;padding-top:22px}.email-link{font-size:clamp(17px,4.5vw,28px);letter-spacing:-.5px}.email-link>span{margin-left:14px}.contact .text-link{font-size:12px}.site-footer{padding:25px 24px;flex-wrap:wrap;gap:15px}.site-footer>p{display:none}.site-footer>a:last-child{margin-left:auto}.cv-main{padding:20px 16px 45px}.cv-sheet{padding:26px 22px}.cv-header{align-items:flex-start;flex-direction:column;gap:15px}.cv-header h1{font-size:37px}.cv-contact{align-items:flex-start;font-size:11px}.cv-header>div>p:last-child{line-height:1.7;max-width:240px}.cv-section{grid-template-columns:1fr;gap:15px}.cv-section .timeline-item{grid-template-columns:120px 1fr;gap:15px}.cv-section .timeline-item h3{font-size:15px}.cv-section .timeline-period,.cv-section .timeline-period small{font-size:9px}.cv-project p,.cv-skills p{font-size:11px}.cv-section .timeline-description{font-size:11px}.cv-profile>p{font-size:12px}.cv-toolbar .button{font-size:11px;gap:15px;padding:10px 14px;min-height:44px}.cv-toolbar .text-link{font-size:11px}}
@media(max-width:480px){.site-header{gap:17px;align-items:center;padding-top:20px;padding-bottom:15px}.main-navigation{width:100%;justify-content:space-between;gap:16px}.main-navigation a{padding:3px 0}.hero{padding-top:30px}.hero h1{font-size:clamp(72px,20vw,96px);letter-spacing:-4px}.hero-copy>.eyebrow{font-size:10px;letter-spacing:.1px;line-height:1.8;max-width:280px;align-items:baseline}.pipeline-top .eyebrow{font-size:8px}.file-label{font-size:8px}.pipeline-top{padding:17px}.pipeline figcaption{font-size:12px}.timeline-item{grid-template-columns:110px 1fr;gap:15px}.timeline-item h3{font-size:18px}.role{font-size:12px}.timeline-period{font-size:9px}.timeline-period small{font-size:9px}.cv-section .timeline-item{grid-template-columns:1fr;gap:6px}.cv-section .timeline-period small{display:inline;margin-left:8px}.cv-section .timeline-period small:empty{display:none}.cv-header h1{font-size:34px}.stack-row{padding:14px 10px}.stack-row strong{font-size:10px}.stack-row>span:last-child{font-size:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.button:hover{transform:none}}
@page{size:A4;margin:12mm}
@media print{html{scroll-behavior:auto}body{background:white;color:#142d3d;font-size:10pt;line-height:1.4;print-color-adjust:exact;-webkit-print-color-adjust:exact}.site-header,.site-footer,.cv-toolbar,.skip-link,.copy-email{display:none!important}.cv-main{max-width:none;margin:0;padding:0}.cv-sheet{padding:0;border:0;border-radius:0}.cv-header{display:flex;flex-direction:row;align-items:center;gap:20px;padding-bottom:15px}.cv-header h1{font-size:29pt;margin:6px 0}.cv-header>div>p:last-child{font-size:8pt;max-width:none}.cv-header .eyebrow{font-size:7pt}.cv-contact{align-items:flex-end;font-size:7pt;line-height:1.7}.cv-sheet h2{font-size:7pt}.cv-profile{padding:13px 0}.cv-profile>p{font-size:8pt;line-height:1.6;margin-top:6px}.cv-section{display:grid;grid-template-columns:100px 1fr;gap:16px;padding:13px 0}.cv-section .timeline-item{display:grid;grid-template-columns:114px 1fr;gap:14px;padding-bottom:12px}.cv-section .timeline-item h3{font-size:10pt}.cv-section .timeline-period{font-size:6.5pt}.cv-section .timeline-period small{display:block;font-size:6.5pt;max-width:110px;margin:5px 0 0}.cv-section .role{font-size:7.5pt;line-height:1.4;margin-top:3px}.cv-section .timeline-description{font-size:7pt;line-height:1.5;margin-top:5px}.cv-project h3{font-size:9pt}.cv-project p,.cv-skills p{font-size:7.3pt;line-height:1.55;margin-top:5px}.cv-skills p+p{margin-top:4px}.cv-project+.cv-project{margin-top:11px}.cv-footnote{font-size:7pt;padding-top:12px}.cv-header,.timeline-item,.cv-project,.cv-skills{break-inside:avoid}a{color:inherit;text-decoration:none}.portfolio-page .hero,.portfolio-page .contact,.portfolio-page .homelab-diagram{break-inside:avoid}.portfolio-page .section-wrap{padding:20px 0}.portfolio-page .hero{grid-template-columns:1fr}.portfolio-page .pipeline,.portfolio-page .hero-github,.portfolio-page .cv-strip{display:none}.portfolio-page .hero h1{font-size:35pt}.portfolio-page .section-heading{display:block}.portfolio-page .section-heading>h2{font-size:24pt;margin-top:10px}.portfolio-page .section-heading>p:last-child:not(.eyebrow){display:none}.portfolio-page .research-figure{max-width:650px;break-inside:avoid}.portfolio-page .experience-layout{display:block}.portfolio-page .timeline{margin-top:25px}.portfolio-page .thesis-project{padding:20px}.portfolio-page .contact{background:white;color:var(--ink)}.portfolio-page .contact h2{font-size:30pt}.portfolio-page .contact .eyebrow{color:var(--blue)}}
.email-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.copy-email{border:1px solid #91acef;border-radius:5px;background:transparent;color:white;font:12px/1.5 var(--display);min-width:106px;min-height:42px;padding:10px 14px;cursor:pointer;transition:background .18s,border-color .18s}
.copy-email:hover{background:#ffffff15;border-color:white}.copy-email:focus-visible{outline:3px solid var(--mint);outline-offset:5px}
@media(max-width:760px){.email-actions{gap:18px}.hero-secondary .hero-github{font-size:11px}}
@media(prefers-reduced-motion:reduce){.site-header,.copy-email{transition:none}}
@media print{.hero-role{font-size:12pt}.hero-secondary{display:none}.email-actions{display:block}.hero h1{letter-spacing:-2px}}

/* Hero typography and contact links. */
.hero-email{flex-basis:100%;font-size:14px;line-height:1.8;color:var(--ink)}
.hero-email span{margin-left:12px;color:var(--blue)}.hero-email:hover{color:var(--blue)}
.hero h1{font-size:clamp(72px,7.7vw,104px)}
@media(max-width:760px){.hero h1{font-size:clamp(68px,15vw,90px)}.hero-role{font-size:22px;line-height:1.35}.hero-secondary{gap:9px 24px;margin-top:18px}.hero-email{font-size:14px}}
@media(max-width:480px){.hero h1{font-size:clamp(68px,19vw,84px)}.hero{padding-top:22px}.hero-copy>.eyebrow{font-size:10px}.hero-intro{font-size:16px;line-height:1.7}.hero-role{margin-bottom:17px}}
@media print{.hero-email{display:none}.hero h1{font-size:35pt}.hero-role{font-size:12pt}}

@media(max-width:480px){.hero-location{display:block}.hero-location>span{display:none}}

/* The full portfolio prints as a compact case-study document; CV stays one page. */
@media print{
 .portfolio-page .hero{display:block;padding:0 0 15px}
 .portfolio-page .hero h1{font-size:28pt;line-height:1;margin:10px 0}
 .portfolio-page .hero-role{font-size:11pt;margin:0 0 12px}
 .portfolio-page .hero-intro{font-size:10pt;line-height:1.6;max-width:none}
 .portfolio-page .hero-copy>.eyebrow{font-size:7pt}
 .portfolio-page .section-heading{margin-bottom:20px}
 .portfolio-page .section-heading>h2{font-size:20pt;margin-top:7px}
 .portfolio-page .tags{display:none}
 .portfolio-page .project-heading{display:block}
 .portfolio-page .project-type{font-size:7pt;margin-bottom:12px;display:block}
 .portfolio-page .project-type br{display:none}
 .portfolio-page .project-symbol{display:none}
 .portfolio-page .project-heading h3{font-size:18pt;letter-spacing:-.5px}
 .portfolio-page .project-subtitle{font-size:10pt;line-height:1.6;margin-top:12px}
 .portfolio-page h3,.portfolio-page h4,.portfolio-page .eyebrow{break-after:avoid}
 .portfolio-page .about>p{font-size:10pt;line-height:1.7}
 .portfolio-page .about h3{font-size:13pt;margin-bottom:12px}
 .portfolio-page .personal-note{margin-top:16px}
 .portfolio-page .personal-note>p:not(.eyebrow){font-size:9pt}
 .portfolio-page .timeline-item{padding:14px 0;grid-template-columns:125px 1fr}
 .portfolio-page .timeline-item h3{font-size:13pt}
 .portfolio-page .timeline-period,.portfolio-page .timeline-period small{font-size:8pt}
 .portfolio-page .role,.portfolio-page .timeline-description{font-size:9pt;line-height:1.6}
 .portfolio-page .skills-grid{grid-template-columns:repeat(3,1fr);gap:20px;padding:16px 0;margin-top:22px}
 .portfolio-page .skills-grid h3{font-size:10pt}
 .portfolio-page .skills-grid p{font-size:8pt;line-height:1.7}
 .portfolio-page .contact{padding-top:15px;padding-bottom:10px}
 .portfolio-page .contact h2{font-size:18pt;letter-spacing:-.5px;margin-top:10px}
 .portfolio-page .contact h2 span{color:var(--blue)}
 .portfolio-page .contact-bottom{margin-top:15px;padding-top:15px;gap:15px}
 .portfolio-page .email-link{font-size:13pt}
}

/* Comfortable screen reading is independent of the compact printed CV. */
@media screen{
 .main-navigation a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
 .brand{min-height:44px}
 .hero-email,.hero-github,.personal-note .text-link,.contact .text-link,.site-footer>a{display:inline-flex;align-items:center;min-height:44px}
 .hero-secondary{gap:0 24px;margin-top:16px}
 .copy-email{min-height:44px}
 .copy-status:not(.sr-only){flex-basis:100%;font-size:13px;line-height:1.7;color:white}
 .cv-header>div>p:last-child,.cv-contact{font-size:13px}
 .cv-contact{line-height:1.8}
 .cv-contact a{padding:3px 0}
 .cv-sheet h2{font-size:12px}
 .cv-profile>p,.cv-project p,.cv-skills p{font-size:15px;line-height:1.8}
 .cv-section{grid-template-columns:135px minmax(0,1fr);padding:26px 0}
 .cv-section .timeline-item{grid-template-columns:130px minmax(0,1fr)}
 .cv-section .timeline-item h3{font-size:19px}
 .cv-section .timeline-period,.cv-section .timeline-period small{font-size:11px}
 .cv-section .role,.cv-section .timeline-description{font-size:14px;line-height:1.7}
 .cv-project h3{font-size:18px;line-height:1.4}
 .cv-project+.cv-project{margin-top:24px}
 .cv-footnote{font-size:12px}
}
@media screen and (max-width:760px){
 .site-header{min-height:84px;padding-top:10px;padding-bottom:8px}
 .hero-secondary{margin-top:12px}
 .cv-sheet{padding:28px 22px}
 .cv-header{gap:20px}
 .cv-header>div>p:last-child{max-width:none}
 .cv-contact{width:100%;font-size:14px}
 .cv-contact a{display:inline-flex;align-items:center;min-height:44px}
 .cv-section{grid-template-columns:1fr;gap:16px}
 .cv-toolbar .text-link{display:inline-flex;align-items:center;min-height:44px}
 .cv-sheet h2{font-size:12px}
 .cv-profile>p{font-size:15px}
 .timeline-description,.role{font-size:14px}
}
@media screen and (max-width:480px){
 .site-header{gap:0;padding-top:8px;padding-bottom:4px}
 .main-navigation{gap:10px}
 .hero h1{margin-top:18px}
 .timeline-item,.cv-section .timeline-item{grid-template-columns:1fr;gap:10px;padding:24px 0}
 .timeline-period{font-size:11px}
 .timeline-period small{font-size:11px;max-width:none;margin-top:4px}
 .timeline-item h3{font-size:21px}
 .cv-section .timeline-item{padding:0 0 24px}
 .cv-section .timeline-period small{display:block;margin:4px 0 0;max-width:none}
 .cv-section .timeline-item h3{font-size:19px}
 .cv-toolbar{gap:16px}
 .cv-header h1{font-size:clamp(29px,8.7vw,37px)}
 .cv-header>div>p:last-child{font-size:13px}
}

@media print{.portfolio-page .about{break-inside:avoid}}
@media print{
 .portfolio-page .contact .eyebrow,.portfolio-page .contact h2{display:none}
 .portfolio-page .contact{padding:0;break-inside:avoid}
 .portfolio-page .contact-bottom{display:flex;flex-direction:row;align-items:center;border:0;margin:0;padding:12px 0;gap:20px}
 .portfolio-page .email-link{font-size:11pt}
 .portfolio-page .contact .text-link{font-size:8pt}
}
