@font-face{font-family:Plex;src:url('/resume/fonts/regular.woff') format('woff');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Plex;src:url('/resume/fonts/semibold.woff') format('woff');font-style:normal;font-weight:600;font-display:swap}
:root{--ink:#303238;--secondary:#747880;--blue:#527ca4;--line:#e8eaed;--wash:#f6f7f9;--paper:#fdfdfd;--font:-apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:var(--font);font-size:15px;line-height:1.7;color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:hover{color:#111}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid #92acc6;outline-offset:4px}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}p,h1,h2,h3,h4{margin:0}button{cursor:pointer}svg{flex-shrink:0}.skip{position:fixed;top:8px;left:8px;transform:translateY(-180%);background:white;padding:12px;z-index:100}.skip:focus{transform:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.resume{width:min(100%,754px);margin:auto;padding:54px 32px 34px}.page-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:62px}.nav-pages{display:flex;gap:5px;font-size:13px}.nav-pages a{padding:4px 11px;color:#777d86;border-radius:6px}.nav-pages a[aria-current]{background:#eff1f3;color:#3c414a;box-shadow:inset 0 1px #00000003}.nav-pages a:hover{background:#f3f4f6}.nav-download{display:flex;align-items:center;gap:6px;color:#737982;font-size:12px;padding:4px 8px;border-radius:6px}.nav-download:hover{background:#f0f1f3}.nav-download svg{width:15px;height:15px}.identity{display:flex;align-items:center;gap:21px;margin-bottom:30px}.avatar{width:78px;height:78px;flex-shrink:0;object-fit:cover;border-radius:50%;background:#f3f3f3;box-shadow:0 0 0 1px #00000006,0 3px 7px #00000005}.avatar-initials{display:flex;align-items:center;justify-content:center;color:#777;font-size:24px}.identity-copy{min-width:0}h1{font-size:25px;font-weight:500;letter-spacing:-.04em;line-height:1.3;margin-bottom:5px}.headline{color:#686d75;font-size:15px;line-height:1.6}.location{color:#858a92;font-size:13px;margin-top:3px}.about{color:#71757c;font-size:16px;line-height:1.85;max-width:650px}.about p+p{margin-top:13px}.resume-section{margin-top:57px}.resume-section h2{font-size:15px;font-weight:500;line-height:1.5;margin-bottom:26px;letter-spacing:-.015em}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:15px;margin-bottom:20px}.section-heading h2{margin:0}.section-note{font-size:12px;color:#81868f}.project-cabinet{border:1px solid #e5e7ea;border-radius:11px;overflow:hidden;background:#fafbfc;box-shadow:0 2px 3px #00000002,0 8px 25px #000000015}.project-folder>summary{display:flex;align-items:center;gap:10px;list-style:none;padding:13px 17px;cursor:pointer;user-select:none;transition:background .15s}.project-folder>summary::-webkit-details-marker,.project-file>summary::-webkit-details-marker,.career-role>summary::-webkit-details-marker{display:none}.project-folder>summary:hover{background:#eef1f5}.project-folder.depth-0+.project-folder.depth-0{border-top:1px solid #e8eaed}.folder-chevron{font-size:20px;line-height:1;color:#8d96a1;width:9px;transform:rotate(0);transition:transform .16s}.project-folder[open]>summary>.folder-chevron{transform:rotate(90deg)}.folder-icon{overflow:visible}.folder-back{fill:#b0cbe4;stroke:#99b8d5;stroke-width:.7}.folder-front{fill:#ccdfef;stroke:#a4c1dc;stroke-width:.7;transform-origin:bottom;transition:transform .2s}.project-folder[open]>summary .folder-front{transform:skewX(-6deg) scaleY(.82)}.depth-0:nth-child(2n)>.folder-contents>.project-folder .folder-front{fill:#e7ddc0;stroke:#cec19a}.folder-name{font-size:14px;color:#444d58}.folder-count{margin-left:auto;font-size:12px;color:#87919e;min-width:20px;text-align:center}.folder-contents{padding:0 14px 13px 35px}.project-folder .project-folder{border-left:1px solid #e1e5eb;margin-left:5px}.project-folder .project-folder>summary{padding:10px 10px 10px 14px}.project-folder .project-folder>.folder-contents{padding-left:20px;padding-right:0;padding-bottom:4px}.project-file{margin:0 0 3px 0;border-radius:7px}.project-file>summary{display:flex;align-items:center;gap:11px;list-style:none;padding:10px 11px;cursor:pointer;transition:background .15s}.project-file>summary:hover{background:#edf0f4;border-radius:7px}.project-file[open]{background:#fff;box-shadow:0 0 0 1px #e7eaf0}.project-icon{width:35px;height:35px;border-radius:8px;object-fit:contain;flex-shrink:0;box-shadow:0 1px 3px #0000000d}.file-icon{width:29px;height:33px;margin:0 3px}.file-label{display:block;min-width:0;flex:1}.file-name{display:block;font-size:14px;line-height:1.5;color:#434a55}.file-teaser{display:block;color:#858b94;font-size:12px;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:380px}.file-kind{font-size:11px;color:#858e9a;white-space:nowrap}.disclosure{font-size:16px;color:#8b95a2;line-height:1;flex-shrink:0;font-weight:300;transition:transform .18s}.project-file[open]>summary>.disclosure,.career-role[open]>summary>.disclosure{transform:rotate(45deg)}.file-content{padding:2px 18px 17px 57px;color:#777d85;font-size:14px;line-height:1.8}.file-content p+p{margin-top:10px}.file-actions{display:flex;gap:15px;align-items:center;justify-content:space-between;margin-top:12px;flex-wrap:wrap}.file-actions a{display:inline-flex;align-items:center;gap:4px;color:#5e7893;font-size:12px}.project-date{font-size:12px!important}.tooltip-trigger{appearance:none;border:0;background:transparent;padding:0;color:inherit;font:inherit;cursor:default;text-align:inherit}.dates{font-size:13px;line-height:1.6;color:#828894;border-bottom:1px dotted #c4cad2;text-underline-offset:3px;white-space:nowrap}.company-group{display:grid;grid-template-columns:110px minmax(0,1fr);gap:27px;margin-bottom:29px}.company-period{padding-top:1px}.company-content{min-width:0}.company-name{font-size:15px;font-weight:500;letter-spacing:-.015em;margin-bottom:8px}.company-roles{border-left:1px solid #e2e6eb;padding-left:16px}.career-role{margin-bottom:2px}.career-role>summary{display:flex;align-items:baseline;gap:12px;list-style:none;padding:7px 0;cursor:pointer}.role-name{font-size:14px;color:#6d737c;flex:1;line-height:1.6}.career-role>summary:hover .role-name{color:#2b3746}.role-year{font-size:11px;color:#838b97;white-space:nowrap}.role-description{font-size:14px;line-height:1.8;color:#787e88;padding:6px 0 14px}.role-description p+p{margin-top:10px}.role-description ul{padding-left:17px;margin:12px 0 0}.role-description li{padding-left:2px;margin:8px 0}.role-description li::marker{color:#a0abb8}.role-context{display:flex;flex-wrap:wrap;gap:4px 13px;color:#858d99;font-size:12px;margin-bottom:13px}.role-exact-date{font-size:12px}.education{display:grid;grid-template-columns:110px minmax(0,1fr);gap:27px;margin-bottom:25px}.education h3{font-size:15px;font-weight:400}.education p{font-size:14px;color:#7b818a;margin-top:3px}.education .entry-location{font-size:12px}.connect h2{margin-bottom:11px}.contact-invitation{color:#7a7f86;font-size:14px}.email-row{display:flex;align-items:center;gap:8px;margin-top:13px}.email-link{font-size:16px;color:#444d59}.email-link:hover{text-decoration:underline;text-underline-offset:4px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;background:transparent;border:0;border-radius:50%;color:#798493;padding:0}.icon-button:hover{background:#edf0f4}.contacts{display:flex;flex-wrap:wrap;gap:12px 23px;color:#7b8189;font-size:13px;margin-top:17px}.contacts a{display:inline-flex;align-items:center;gap:3px;overflow-wrap:anywhere}.contacts a:hover{color:#343e4b}.contacts svg{width:11px;height:11px}.site-footer{margin-top:64px;padding-top:22px;border-top:1px solid #eceef1;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:11px;color:#87909b}.local-time{display:inline-flex;align-items:center;gap:6px}.clock-face{font-size:16px}.preview-label{font-size:12px;color:#8a929f}.is-preview .resume{padding-top:30px}.is-preview .page-nav{margin-bottom:35px}.site-link{font-size:15px;font-weight:500}.site-tooltip{position:fixed;z-index:10000;max-width:min(300px,calc(100vw - 24px));padding:6px 9px;font-family:var(--font);font-size:12px;line-height:1.5;color:#454a52;background:#fff;border:1px solid #e3e5e8;border-radius:6px;box-shadow:0 2px 5px #0000000b,0 5px 18px #00000008;opacity:0;transform:translateY(3px);transition:opacity .12s,transform .12s;pointer-events:none}.site-tooltip.visible{opacity:1;transform:translateY(0);pointer-events:auto}
@media(max-width:640px){.resume{padding:30px 24px}.page-nav{margin-bottom:40px}.identity{gap:17px}.avatar{width:67px;height:67px}h1{font-size:24px}.headline{font-size:13px}.location{font-size:12px}.about{font-size:15px}.resume-section{margin-top:44px}.section-note{display:none}.company-group,.education{grid-template-columns:90px minmax(0,1fr);gap:18px}.dates{font-size:12px}.company-roles{padding-left:12px}.role-name{font-size:13px}.role-year{display:none}.folder-contents{padding-left:21px;padding-right:9px}.project-folder .project-folder>.folder-contents{padding-left:9px}.project-file>summary{gap:8px;padding:10px 8px}.file-teaser{max-width:100%;font-size:11px}.file-kind{display:none}.file-content{padding-left:16px;padding-right:16px}.folder-name{font-size:13px}.company-group{margin-bottom:27px}.site-footer{margin-top:45px}.project-icon{width:31px;height:31px}}
@media(max-width:380px){.resume{padding-left:18px;padding-right:18px}.company-group,.education{grid-template-columns:1fr;gap:7px}.company-period{margin-bottom:0}.company-roles{padding-left:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
@media print{.page-nav,.site-footer,.skip,.site-tooltip{display:none}.resume{padding:0;width:100%}.identity{margin-bottom:25px}.resume-section{margin-top:25px}.company-group{break-inside:avoid}.company-roles{border:0}.project-cabinet{border:0;box-shadow:none}.folder-contents{display:block!important}.role-description{display:block!important}.file-content{display:block!important}@page{size:A4;margin:16mm}}
/* A quiet directory tree: branches, compact rows and a distinct open state. */
:root{--active:#b47754;--branch:#e5e2de;--paper:#fdfcfb}
.page-nav{justify-content:flex-end;margin-bottom:42px}.tooltip-trigger{cursor:default}.hugeicon{display:inline-block;vertical-align:middle}.disclosure{width:14px;height:14px;transform-origin:center;align-self:center}.local-time svg{width:14px;height:14px}
.project-cabinet{border:0;border-radius:0;box-shadow:none;background:transparent;padding-left:9px}.project-folder.depth-0+.project-folder.depth-0{border:0}.project-folder{position:relative}.project-folder>summary,.project-folder .project-folder>summary{padding:8px 0 8px 20px;gap:8px;position:relative;background:none!important}.project-folder>summary::before,.project-file>summary::before,.career-role>summary::before{content:'';position:absolute;left:0;top:50%;width:12px;border-top:1px solid var(--branch)}.project-folder::before,.project-file::before{content:'';position:absolute;left:0;top:0;bottom:0;border-left:1px solid var(--branch)}.project-folder:last-child::before,.project-file:last-child::before{height:25px;bottom:auto}.folder-icon{width:16px;height:16px;color:#9eacca}.folder-name{font-size:14px;color:#888c92}.folder-count{margin-left:4px;color:#b7b5b2;font-size:10px}.folder-contents,.project-folder .project-folder>.folder-contents{padding:0 0 5px 28px}.project-folder .project-folder{border:0;margin:0}.project-folder[open]>summary .folder-name,.project-folder[open]>summary .folder-icon{color:var(--active)}.project-folder>summary:hover .folder-name{color:var(--active)}
.project-file{position:relative;margin:0;border-radius:0}.project-file>summary{padding:9px 0 9px 20px;gap:9px;position:relative;background:none!important}.project-file[open]{background:none;box-shadow:none}.project-icon{width:19px;height:19px;border-radius:5px;box-shadow:none}.file-icon{width:18px;height:18px;margin:0;color:#aaa8a5}.file-name{font-size:14px;color:#8b8d90}.file-teaser{display:none}.file-kind{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;color:#aaa8a5}.file-kind:not(:empty)::before{content:'// ';color:#c6c2bc}.project-file[open]>summary .file-name,.project-file[open]>summary .file-kind,.project-file[open]>summary .disclosure,.career-role[open]>summary .role-name,.career-role[open]>summary .role-year,.career-role[open]>summary .disclosure{color:var(--active)}.project-file>summary:hover .file-name{color:var(--active)}.file-content{margin-left:20px;padding:9px 0 20px 13px;border-left:1px solid #dfbda7}.company-group{grid-template-columns:1fr;gap:8px;margin-bottom:25px}.company-period{order:2;padding-left:20px;display:none}.company-name{font-size:14px;font-weight:400;color:#555b62;display:flex;align-items:center;gap:9px;margin-bottom:7px}.company-name svg{width:16px;height:16px;color:#9eacca}.company-roles{padding-left:0;margin-left:8px;border-color:var(--branch)}.career-role{position:relative;padding-left:20px}.career-role>summary{position:relative;margin-left:-20px;padding:9px 0 9px 20px;align-items:center}.career-role[open]>.role-description{border-left:1px solid #dfbda7;padding:8px 0 18px 13px}.role-name{color:#888c92}.role-description{color:#72767d}.dates{border:0}.section-note{display:none}.role-year{cursor:default}.image-strip{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:4px 0 12px;margin:15px 0 0;max-width:100%;scrollbar-width:thin}.image-strip img{height:160px;width:auto;max-width:300px;object-fit:cover;border-radius:9px;flex-shrink:0;scroll-snap-align:start;background:#f0eeeb}.image-strip:focus-visible{outline-offset:2px}.company-content{min-width:0}
@media(max-width:640px){.folder-contents,.project-folder .project-folder>.folder-contents{padding-left:18px}.file-content{margin-left:10px;padding-left:10px}.project-icon{width:18px;height:18px}.role-year{display:block;font-size:10px}.career-role>summary{gap:8px}.image-strip img{height:135px;max-width:250px}.company-group{grid-template-columns:1fr;gap:8px}.page-nav{margin-bottom:35px}}
.company-years{margin-left:auto;font-size:11px;color:#959aa2}
/* Shared directory geometry. The child rail sits at the parent icon centre. */
.resume .tree{padding:0;margin:0;border:0;background:none;box-shadow:none;overflow:visible}
.tree .tone-0{--folder-color:#8192be}.tree .tone-1{--folder-color:#b88663}.tree .tone-2{--folder-color:#7c9b81}.tree .tone-3{--folder-color:#ad829f}.tree .tone-4{--folder-color:#759fa8}.tree .tone-5{--folder-color:#ac985d}.tree .tone-6{--folder-color:#9283b2}.tree .tone-7{--folder-color:#b67e7e}
.resume .tree-node{position:relative;display:block;border:0;border-radius:0;margin:0;padding:0;box-shadow:none;background:none;min-width:0}
.resume .tree-node::before{content:'';position:absolute;left:0;top:0;bottom:0;height:auto;border-left:1px solid var(--branch);width:0;pointer-events:none}
.resume .tree-node:last-child::before{height:20px;bottom:auto}
.resume .tree-node::after{content:'';position:absolute;left:0;top:20px;width:12px;border-top:1px solid var(--branch);pointer-events:none}
.resume .tree-node>summary{display:flex;align-items:center;gap:9px;position:relative;min-height:40px;padding:9px 0 9px 20px;margin:0;list-style:none;line-height:22px;cursor:pointer;user-select:none;-webkit-user-select:none;background:none;border:0;transition:opacity .18s,color .18s}
.resume .tree-node>summary::before{display:none}.tree-node>summary::-webkit-details-marker{display:none}
.resume .tree-children{margin:0 0 0 28px;padding:0;border:0;min-width:0}
.resume .tree-folder>summary .folder-icon{width:16px;height:16px;margin:0;color:var(--folder-color);flex:none}
.resume .tree-folder>summary .folder-open{display:none}.resume .tree-folder[open]>summary .folder-open{display:inline-block}.resume .tree-folder[open]>summary .folder-closed{display:none}
.resume .tree-folder>summary .folder-name,.resume .tree-folder>summary .company-name{font-size:14px;font-weight:400;color:var(--folder-color);margin:0;display:block;line-height:22px}
.resume .tree-folder .tree-item[open]>summary :is(.role-name,.file-name,.role-year,.file-kind,.disclosure){color:var(--folder-color)}
.resume .tree-body,.resume .tree-item[open]>.tree-body{border:0;margin:0;padding:8px 0 22px 20px;min-width:0;transition:opacity .18s}
.resume .tree :is(.company-years,.role-year){font-size:11px;color:#979ba2}.resume .tree .company-years{margin-left:auto}
.resume .tree :is(.role-name,.file-name){font-size:14px;color:#858a90}.resume .tree .disclosure{width:14px;height:14px}
.resume-section h2,.tree summary *{user-select:none;-webkit-user-select:none}

.identity-copy{flex:1}.identity-actions{align-self:flex-start;margin-top:4px;margin-left:auto;flex-shrink:0}.identity-actions .nav-download{white-space:nowrap}
@media(max-width:640px){.resume .tree-children{margin-left:28px}.resume .tree-node>summary{gap:7px}.resume .tree :is(.role-name,.file-name){font-size:13px}.identity{position:relative;align-items:flex-start}.identity-copy{padding-right:38px}.identity-actions{position:absolute;right:0;top:0;margin:0}.identity-actions .nav-download{padding:4px}.identity-actions .nav-download span{display:none}}

/* Clearer labels, quieter hover emphasis, and text-only project rows. */
.resume .tree-folder>summary :is(.company-name,.folder-name){font-size:20px;line-height:26px}
.resume .tree-folder>summary .company-years{margin-left:2px;font-size:20px;line-height:26px;color:var(--folder-color);opacity:.55}
.resume .tree-folder>summary{min-height:44px;padding-top:9px;padding-bottom:9px;flex-wrap:wrap;column-gap:9px}
.resume .tree-folder::after{top:22px}.resume .tree-folder:last-child::before{height:22px}
.resume .tree-folder>summary .folder-icon{align-self:center}
.resume .project-file>summary .file-label{flex:0 1 auto}.resume .project-file>summary{flex-wrap:wrap;column-gap:10px}
.resume .file-kind{font:inherit;font-size:13px;color:#989b9e;white-space:normal}.resume .file-kind::before{content:none!important}
.contact-links{margin-top:50px}.resume .featured-tree{--folder-color:#759fa8}

@media(max-width:640px){.resume .file-kind{display:inline;font-size:12px}.resume .tree-folder>summary .company-years{font-size:20px}.resume .tree-folder>summary{column-gap:7px}}

@media(hover:hover){.resume .tree:has(.tree-item>summary:hover) summary:not(:hover){opacity:.58}.resume .tree summary:hover{opacity:1}.resume .tree summary:hover :is(.role-name,.file-name,.role-year,.file-kind,.folder-name,.company-name){color:var(--folder-color)}.resume .tree:has(.tree-item>summary:hover) .tree-body{opacity:.72}.resume .tree .tree-item:has(>summary:hover)>.tree-body{opacity:1}}

.education.no-dates{grid-template-columns:minmax(0,1fr)}.file-actions:first-child{margin-top:0}
@font-face{font-family:'Geist Pixel';src:url('/resume/fonts/geist-pixel-square.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
.resume .tree-folder>summary :is(.company-name,.folder-name,.company-years){font-family:'Geist Pixel',monospace;font-size:16px;font-weight:400;line-height:26px;letter-spacing:0}
.resume .tree-folder>summary .company-years{opacity:.78}
.resume .tree :is(.role-name,.file-name){font-family:'Geist Pixel',monospace;font-size:14px;font-weight:400;line-height:23px}
.resume .project-file>summary{align-items:baseline}.resume .project-file>summary .file-kind{font-family:'Geist Pixel',monospace;font-size:12px;font-weight:400;line-height:23px;align-self:baseline;text-align:left}
.resume .tree-folder>summary .folder-icon{width:18px;height:18px}
.resume .tree-children{margin-left:29px}
.resume .tree-folder[data-expanded=false]>summary .folder-open{display:none}
.resume .tree-folder[data-expanded=false]>summary .folder-closed{display:inline-block}
.resume .tree-folder[data-expanded=true]>summary .folder-open{display:inline-block}
.resume .tree-folder[data-expanded=true]>summary .folder-closed{display:none}
.resume .resume-section>.tree{margin-left:10px}

/* Stronger contrast and restrained motion for leaf rows only. */
.resume .tree .tone-0{--folder-color:#245bfa}.resume .tree .tone-1{--folder-color:#e3323c}.resume .tree .tone-2{--folder-color:#d18a00}.resume .tree .tone-3{--folder-color:#159447}.resume .tree .tone-4,.resume .featured-tree{--folder-color:#245bfa}.resume .tree .tone-5{--folder-color:#e3323c}.resume .tree .tone-6{--folder-color:#d18a00}.resume .tree .tone-7{--folder-color:#159447}
.resume .tree :is(.role-name,.file-name){color:#34363a}.resume .tree :is(.role-year,.file-kind){color:#73767b}.resume :is(.about,.role-description,.file-content){color:#555960}.resume :is(.contacts,.headline){color:#595d64}
.resume .tree .tree-item[open]>summary :is(.role-name,.file-name,.role-year,.file-kind){color:var(--folder-color)}
.resume .tree .tree-item>summary{transform:translateX(0);transition:transform .18s ease,opacity .18s,color .18s;margin-right:6px}
.resume .tree .tree-item:is([data-expanded=true],[open]:not([data-expanded]))>summary{transform:translateX(6px)}
@media(hover:hover){.resume .tree .tree-item:not([data-slide-rest])>summary:hover{transform:translateX(6px)}}
.resume .tree .tree-item[data-slide-rest=true]>summary{transform:translateX(0)}
.resume .about{font-size:14px}
.resume .tree .role-year{font-family:'Geist Pixel',monospace;font-weight:400}
.resume .tree .tree-item .role-year{font-size:12px}

.site-tooltip,.site-tooltip.visible{user-select:none;-webkit-user-select:none;pointer-events:none}

.resume .tree .tree-item>.tree-body{padding-left:26px}
.resume .tree .tree-body ul{padding-left:28px}

.image-gallery{position:relative;margin-top:15px;min-width:0}
.image-gallery .image-strip{margin:0;padding:4px 0 12px;outline:none}
.image-gallery .image-strip.keyboard-focus:focus{outline:2px solid #92acc6;outline-offset:3px;border-radius:9px}
.gallery-image{position:relative;display:block;flex:none;scroll-snap-align:start;border-radius:9px;overflow:hidden}
.gallery-image::after{content:'';position:absolute;inset:0;border:1px solid rgb(128 128 128 / 12%);border-radius:inherit;pointer-events:none}
.image-strip .gallery-image img{display:block;max-width:300px}
.image-gallery::before,.image-gallery::after{content:'';position:absolute;top:4px;bottom:12px;width:45px;z-index:1;pointer-events:none;opacity:0;transition:opacity .18s}
.image-gallery::before{left:0;background:linear-gradient(to right,var(--paper),transparent)}
.image-gallery::after{right:0;background:linear-gradient(to left,var(--paper),transparent)}
.image-gallery.more-left::before,.image-gallery.more-right::after{opacity:1}
.gallery-arrow{position:absolute;top:calc(50% - 4px);transform:translateY(-50%);z-index:2;width:28px;height:28px;border:1px solid #ddd;border-radius:50%;background:#ffffffed;color:#555;display:flex;align-items:center;justify-content:center;padding:5px;box-shadow:0 2px 6px #0000000d;transition:opacity .18s}
.gallery-prev{left:7px}.gallery-next{right:7px}.gallery-arrow svg{width:16px;height:16px;transform:rotate(45deg)}.gallery-prev svg{transform:rotate(225deg)}
.gallery-arrow:disabled{opacity:0;pointer-events:none}.gallery-arrow:hover{background:white;color:#222}
@media(max-width:640px){.image-strip .gallery-image img{max-width:250px}}

button.gallery-image{padding:0;border:0;background:transparent;color:inherit;cursor:zoom-in}
.image-preview{padding:0;border:0;background:transparent;max-width:none;max-height:none;overflow:visible;outline:none}
.image-preview::backdrop{background:rgb(20 22 26 / 55%)}
.image-preview>img{display:block;width:auto;height:auto;max-width:min(760px,calc(100vw - 64px));max-height:72vh;object-fit:contain;border-radius:12px;box-shadow:0 15px 60px #0003}
.image-preview-close{position:absolute;right:9px;top:9px;width:30px;height:30px;display:flex;align-items:center;justify-content:center;padding:6px;border:1px solid #00000012;border-radius:50%;background:#fffffff2;color:#444;box-shadow:0 2px 8px #0001}
.image-preview-close svg{width:18px;height:18px;transform:rotate(45deg)}
.image-preview[open]{animation:image-preview-in .16s ease-out}
@keyframes image-preview-in{from{opacity:0;transform:scale(.98)}to{opacity:1;transform:scale(1)}}

/* Keep each leaf connected to its branch as its label moves. */
.resume .tree .tree-item::after{transition:width .18s ease}
.resume .tree .tree-item:is([data-expanded=true],[open]:not([data-expanded]))::after{width:18px}
@media(hover:hover){.resume .tree .tree-item:not([data-slide-rest]):has(>summary:hover)::after{width:18px}}
.resume .tree .tree-item[data-slide-rest=true]::after{width:12px}

.footer-controls{display:flex;align-items:center;gap:20px}.theme-controls{display:flex;gap:2px}.theme-controls button{display:flex;align-items:center;justify-content:center;border:0;background:transparent;color:inherit;border-radius:6px;padding:5px;width:28px;height:28px}.theme-controls button:hover,.theme-controls button[aria-pressed=true]{background:#eae8e5;color:#34363a}.theme-controls svg{width:17px;height:17px}
:root[data-theme=dark]{color-scheme:dark;--paper:#18191b;--ink:#e5e5e7;--secondary:#a6a7ad;--branch:#38393d;--line:#38393d;--wash:#242529}
[data-theme=dark] .resume .tree :is(.role-name,.file-name){color:#dddddf}
[data-theme=dark] .resume .tree :is(.role-year,.file-kind){color:#aaaab1}
[data-theme=dark] .resume :is(.about,.role-description,.file-content,.contacts,.headline){color:#bfc0c5}
[data-theme=dark] :is(.location,.role-context,.site-footer,.nav-download){color:#a0a2aa}
[data-theme=dark] .site-footer{border-color:#333439}
[data-theme=dark] .theme-controls button:hover,[data-theme=dark] .theme-controls button[aria-pressed=true],[data-theme=dark] .nav-download:hover{background:#303136;color:#ededee}
[data-theme=dark] .resume .tree :is(.tone-0,.tone-4),[data-theme=dark] .resume .featured-tree{--folder-color:#7499ff}
[data-theme=dark] .resume .tree :is(.tone-1,.tone-5){--folder-color:#ff737e}
[data-theme=dark] .resume .tree :is(.tone-2,.tone-6){--folder-color:#efb744}
[data-theme=dark] .resume .tree :is(.tone-3,.tone-7){--folder-color:#51cd83}
[data-theme=dark] .resume .tree .tree-item[open]>summary :is(.role-name,.file-name,.role-year,.file-kind){color:var(--folder-color)}
@media(hover:hover){[data-theme=dark] .resume .tree summary:hover :is(.role-name,.file-name,.role-year,.file-kind){color:var(--folder-color)}}
[data-theme=dark] .site-tooltip{background:#292a2e;color:#e0e1e5;border-color:#45464c;box-shadow:0 4px 18px #0004}
[data-theme=dark] :is(.gallery-arrow,.image-preview-close){background:#292a2ef5;color:#e0e1e5;border-color:#5556}
[data-theme=dark] .contacts a:hover,[data-theme=dark] .file-actions a{color:#9fbcff}
[data-theme=dark] .image-strip img{background:#292a2e}
@media(max-width:440px){.site-footer{gap:10px;flex-wrap:wrap}.footer-controls{gap:12px}}
.resume .file-actions{justify-content:flex-start;gap:12px}
.resume .file-actions a{color:var(--folder-color);font-size:12px}
.resume .file-actions a:hover{text-decoration:underline;text-underline-offset:3px}
.resume .project-file>summary .featured-year{margin-left:auto}

.footer-controls{flex-direction:column;align-items:flex-end;gap:8px}
.footer-controls .local-time{order:-1}
.site-footer{align-items:flex-start}

.footer-identity{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.site-footer>.footer-controls{margin-left:auto}
