@font-face{font-family:Geist;src:url('../assets/geist-latin-variable.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}

/* Reference-led editorial presentation. The original record markup stays intact. */
:root{--paper:#f1f1f1;--surface:#fafafa;--ink:#101010;--muted:#595959;--rule:#d6d6d6;--font:Geist,'Helvetica Neue',Arial,sans-serif;--radius:12px;--page-gutter:clamp(20px,2.8vw,48px);--header-height:80px}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--paper:#101010;--surface:#191919;--ink:#f1f1f1;--muted:#b4b4b4;--rule:#373737}}
:root[data-theme=dark]{--paper:#101010;--surface:#191919;--ink:#f1f1f1;--muted:#b4b4b4;--rule:#373737}
html{scroll-padding-top:calc(var(--header-height) + 24px)}
body{line-height:1.55}
main{max-width:1680px;margin:0 auto;padding:var(--header-height) var(--page-gutter) 0}
h2{font-weight:500}
:focus-visible{outline-offset:5px}

/* Persistent access without the former page-width offset. */
.site-header{display:flex;position:fixed;inset:0 0 auto;height:var(--header-height);padding:0 var(--page-gutter);align-items:center;justify-content:space-between;gap:24px;background:var(--paper);border:0;z-index:50}
.mobile-name{display:block;color:var(--ink);font-size:14px;line-height:1.3;max-width:200px;text-decoration:none;font-weight:500}
.header-actions{display:flex;align-items:center;gap:28px;min-width:0}
.header-link{color:var(--muted);font-size:14px;text-decoration:none;white-space:nowrap}
.header-link:hover{color:var(--ink)}
.nav-toggle{min-height:44px;padding:9px 18px;font-size:14px;border:1px solid var(--ink);border-radius:999px;background:var(--ink);color:var(--paper)}
.site-index{inset:var(--header-height) 0 0 auto;transform:translateX(105%);visibility:hidden;width:min(420px,100%);padding:30px var(--page-gutter);overflow-y:auto;background:var(--paper);border:0;border-left:1px solid var(--rule);z-index:40;transition:transform .28s cubic-bezier(.16,1,.3,1),visibility .28s}
.site-index>.wordmark,.site-index>.index-description{display:none}
.nav-links{margin-top:0;gap:3px}
.nav-links a{min-height:47px;padding:6px 12px;font-size:23px;letter-spacing:-.025em}
.index-actions{margin-top:26px;padding-top:24px;gap:14px;font-size:14px}
.index-actions button{min-height:44px;border-radius:999px}
.nav-backdrop{display:none;position:fixed;inset:var(--header-height) 0 0;z-index:30;background:rgba(0,0,0,.3);border:0;border-radius:0}
body.nav-open .site-index{transform:translateX(0);visibility:visible}
body.nav-open .nav-backdrop{display:block}

/* The same preference controls, now a nonmodal header popover. */
.site-header .appearance-controls{position:relative;margin:0;border:0;border-radius:0}
.site-header .appearance-controls>summary{min-height:44px;padding:11px 0;font-size:14px;white-space:nowrap;list-style-position:inside}
.site-header .appearance-panel{position:fixed;top:calc(var(--header-height) - 2px);right:var(--page-gutter);width:min(300px,calc(100vw - 36px));padding:22px;background:var(--surface);border:1px solid var(--rule);border-radius:16px;box-shadow:0 14px 30px -18px rgba(0,0,0,.35)}
.site-header .appearance-panel legend{font-size:14px;margin-bottom:10px}
.site-header .theme-option span{min-height:44px;font-size:13px}
.site-header .color-option{height:44px}
.site-header .color-chip{width:24px;height:24px}

/* Oversized identity and one honest project artifact, not a portrait or mock client UI. */
.profile-hero{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.85fr);grid-template-areas:'name copy';gap:24px 5vw;align-content:start;align-items:start;padding:32px 0 72px;max-width:none;min-height:0}
.profile-hero .hero-name{grid-area:name;font-family:var(--font);font-size:clamp(7rem,14.4vw,15.5rem);font-weight:600;line-height:.86;letter-spacing:-.04em;max-width:none;margin:0;align-self:start;text-wrap:initial}
.hero-name-line{display:block;white-space:nowrap}
/* The name carries the page's identity mark, sized from the display type so it scales with the name. */
.hero-mark{display:block;width:.16em;height:.16em;margin:0 0 .1em;color:var(--accent)}
.hero-mark svg{display:block;width:100%;height:100%}
.hero-copy{grid-area:copy;padding-top:10px;max-width:430px}
.hero-message{font-size:clamp(1.65rem,2.25vw,2.2rem);font-weight:500;line-height:1.12;letter-spacing:-.035em;max-width:16ch;text-wrap:balance}
.profile-hero .hero-intro{font-size:17px;line-height:1.55;max-width:37ch;margin-top:20px}
.profile-hero .hero-actions{display:flex;gap:10px;margin-top:25px;flex-wrap:wrap}
.button{min-height:48px;padding:12px 20px;border-radius:999px;font-size:14px;font-weight:500;letter-spacing:-.01em}
/* A secondary action on paper needs a rule that reads against it, in both themes. */
.button-secondary{background:transparent;border-color:color-mix(in srgb,var(--ink) 55%,transparent)}
.button-secondary:hover{border-color:var(--ink);background:var(--surface)}

/* Wide editorial sections keep all evidence while changing its visual hierarchy. */
.content-section{padding:clamp(60px,6.5vw,108px) 0;border-top:1px solid var(--rule)}
.section-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end;gap:56px;max-width:none;margin-bottom:48px}
.section-heading h2{font-size:clamp(2.75rem,6vw,5.5rem);font-weight:500;line-height:.98;letter-spacing:-.04em;max-width:13ch}
.section-heading>p{margin:0;max-width:37ch;font-size:20px;line-height:1.4;color:var(--muted)}
.skills-tabs,.project-filters{gap:8px}
.skills-tabs button,.project-filters button{border-radius:999px;padding:10px 18px;min-height:44px;font-size:14px;border-color:var(--rule)}
.skill-panel{padding:32px 0 18px;max-width:76ch}
.skill-panel h3{font-size:clamp(1.7rem,3vw,2.5rem);font-weight:500;line-height:1.12;letter-spacing:-.03em}
.skill-panel p{font-size:18px;line-height:1.6;max-width:65ch}
.detail-block>summary,.credential-group>summary{font-size:14px;padding:17px 0}
.tools-list{gap:28px 64px;padding-bottom:24px}
.tools-list dt{font-size:16px;font-weight:500}
.tools-list dd{font-size:15px;line-height:1.7}
.jump-control{max-width:560px;margin:0 0 40px auto}
select,input[type=search]{border-radius:12px;min-height:50px;padding:12px 16px;font-size:15px;border-color:var(--muted)}
.role-record,.paper-record{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:0 7vw;padding:38px 0}
.record-heading{grid-column:1;grid-row:1/3}
.record-heading h3{font-size:clamp(1.4rem,2.3vw,2rem);font-weight:500;line-height:1.12;letter-spacing:-.03em;max-width:25ch}
.record-heading>p{font-size:15px;margin-top:12px}
.record-heading .ledger-date{margin-top:10px;font-size:14px}
.role-record>.outcome-copy,.role-record>.detail-block{grid-column:2;margin-top:0}
.role-record>.detail-block{margin-top:20px}
.outcome-copy{max-width:70ch}
.outcome-copy .outcome-lead{font-size:21px;font-weight:400;line-height:1.45}
.outcome-copy p{font-size:16px;line-height:1.65;margin-top:12px}
.detail-block .ledger-list li,.detail-block p,.detail-block li,.detail-block dd,.detail-block td,.detail-block th,.detail-block small{font-size:15px;line-height:1.7}
.detail-block h4{font-weight:500;font-size:18px;line-height:1.35}
.education-grid{gap:40px 64px}
.education-entry{padding-top:28px}
.education-entry>.ledger-meta h3,.education-entry>h3{font-size:28px;font-weight:500;letter-spacing:-.03em;line-height:1.1}
.education-entry>p{font-size:17px;line-height:1.6;max-width:64ch}
.education-entry .ledger-meta p{font-size:14px}
.education-entry:last-child>.ledger-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.paper-record>h3{grid-column:1;grid-row:1;font-size:clamp(1.7rem,2.8vw,2.5rem);font-weight:500;line-height:1.15;letter-spacing:-.03em;max-width:24ch}
.paper-record>.record-meta{grid-column:1;grid-row:2;align-self:start;font-size:14px;margin-top:16px}
.paper-record>.outcome-copy{grid-column:2;grid-row:1/3;margin-top:0}
.paper-record>.detail-block{grid-column:2;margin-top:20px}
.work-controls{gap:16px;margin-bottom:18px}
.work-controls>button{border-radius:999px;padding:12px 20px;min-height:50px;font-size:14px}
.result-count{font-size:14px;margin:22px 0 28px}
.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:52px 42px;grid-auto-flow:row}
.project-record{padding-top:26px;border-top:1px solid var(--rule)}
.project-record>h3{font-size:30px;font-weight:500;line-height:1.1;letter-spacing:-.035em}
.project-purpose{font-size:16px;line-height:1.65;margin-top:18px;max-width:65ch}
.project-outcome{font-size:18px;line-height:1.55;font-weight:400;margin-top:16px;max-width:65ch}
.project-image{height:240px;border-radius:18px;margin-bottom:26px;object-fit:contain;background:var(--surface)}
.inline-project-image{width:42px;height:42px;border-radius:9px}
#project-openbrowser,#project-context-atlas,#project-mtp{grid-column:1/-1;padding:42px 0 12px}
#project-openbrowser>h3,#project-context-atlas>h3,#project-mtp>h3{font-size:clamp(2.4rem,5.6vw,5rem);font-weight:500;max-width:none}
#project-openbrowser .inline-project-image{width:64px;height:64px}
#project-openbrowser>.project-purpose,#project-context-atlas>.project-purpose,#project-mtp>.project-purpose{font-size:25px;line-height:1.4;max-width:44ch}
#project-openbrowser>.project-outcome,#project-context-atlas>.project-outcome,#project-mtp>.project-outcome{font-size:20px;line-height:1.55;max-width:65ch}
#project-context-atlas>.project-figure .project-image{height:clamp(240px,33vw,470px);background:var(--surface);padding:20px}
.project-record .detail-block .metric-grid{gap:18px}
.project-record .metric-grid strong{font-size:24px}
.credentials-grid{gap:0 64px}
.credential-group>summary{font-size:21px;font-weight:400;line-height:1.3;padding:26px 0}
.credential-group .ledger-list li{font-size:15px;line-height:1.6}
#contact .section-heading{max-width:none}
#contact .section-heading h2{font-size:clamp(3rem,7vw,7rem);line-height:1;max-width:14ch;letter-spacing:-.04em}
.contact-address{display:block;width:fit-content;font-size:clamp(1.85rem,6.7vw,7.25rem);font-weight:500;line-height:1.08;letter-spacing:-.04em;color:var(--ink);text-decoration:none;overflow-wrap:anywhere;margin:50px 0 34px}
.contact-address:hover{color:var(--accent)}
.contact-actions{gap:12px}
.site-footer{font-size:14px;padding:30px 0 36px}
.noscript-note{margin-left:0;max-width:1680px;margin-inline:auto}

@media(max-width:1100px){
 .header-actions{gap:20px}.section-heading{gap:36px}.role-record,.paper-record{column-gap:42px}.project-grid{gap:40px 30px}
 .profile-hero{column-gap:32px}.hero-copy{padding-top:4px}.profile-hero .hero-intro{font-size:16px}.profile-hero .hero-actions{gap:8px}.hero-actions .button{padding:11px 16px}
}
@media(max-width:900px){
 .site-header{display:flex;padding-inline:var(--page-gutter)}.header-link{display:none}.header-actions{gap:18px}.mobile-name{max-width:190px;font-size:13px}
 .content-section{scroll-margin-top:0}.role-record,.paper-record{scroll-margin-top:0}.hash-anchor{scroll-margin-top:0}
 .site-index{inset:var(--header-height) 0 0 auto;width:min(380px,100%);padding:24px var(--page-gutter);transform:translateX(105%)}
 .nav-backdrop{inset:var(--header-height) 0 0}.site-header .appearance-panel{right:var(--page-gutter)}
 .section-heading>p{font-size:18px}.record-heading h3{font-size:24px}.outcome-copy .outcome-lead{font-size:20px}
 .profile-hero .hero-name{font-size:14vw}
}
@media(max-width:700px){
 :root{--page-gutter:18px;--header-height:76px}
 .site-header{gap:12px}.mobile-name{max-width:clamp(90px,calc(100vw - 215px),180px);font-size:12px;line-height:1.25}.header-actions{gap:12px}.nav-toggle{font-size:13px;min-height:42px;padding:9px 14px}.site-header .appearance-controls>summary{font-size:13px;min-height:42px}
 .profile-hero{grid-template-columns:minmax(0,1fr);grid-template-areas:'name' 'copy';row-gap:20px;padding:24px 0 40px}
 .profile-hero .hero-name{font-size:clamp(4rem,20vw,6.8rem);line-height:.9;letter-spacing:-.04em}
 .hero-copy{padding:0;max-width:none}.hero-message{font-size:28px;line-height:1.1;max-width:22ch}.profile-hero .hero-intro{font-size:16px;line-height:1.5;max-width:48ch;margin-top:14px}.profile-hero .hero-actions{margin-top:20px;gap:10px}
 .button{min-height:44px;font-size:14px;padding:11px 18px}
 .content-section{padding:55px 0}.section-heading{display:block;margin-bottom:32px}.section-heading h2{font-size:clamp(2.7rem,11vw,4.2rem);max-width:16ch;line-height:1.02}.section-heading>p{margin-top:20px;font-size:17px;line-height:1.5;max-width:50ch}
 .skills-tabs,.project-filters{gap:7px}.skills-tabs button,.project-filters button{font-size:13px;padding:9px 14px}.skill-panel{padding-top:28px}.skill-panel h3{font-size:27px}.skill-panel p{font-size:17px}
 .tools-list,.education-grid,.credentials-grid,.project-grid{grid-template-columns:1fr}.tools-list{gap:24px}.jump-control{margin-bottom:30px}
 .role-record,.paper-record{display:block;padding:28px 0}.record-heading h3{font-size:26px;max-width:none}.record-heading>p{margin-top:10px}.role-record>.outcome-copy,.paper-record>.outcome-copy{margin-top:22px}.role-record>.detail-block,.paper-record>.detail-block{margin-top:20px}
 .outcome-copy .outcome-lead{font-size:20px}.outcome-copy p{font-size:16px}.paper-record>h3{font-size:29px;max-width:24ch}.paper-record>.record-meta{margin-top:12px}
 .education-entry>p{font-size:16px}.education-entry:last-child>.ledger-list{grid-template-columns:1fr;gap:16px}
 .work-controls{gap:10px}.work-controls>button{min-height:44px;padding:10px 18px}.project-grid{gap:36px}.project-record{padding-top:24px}.project-record>h3{font-size:28px}.project-purpose{font-size:16px}.project-outcome{font-size:17px}.project-image{height:230px}
 #project-openbrowser,#project-context-atlas,#project-mtp{padding:24px 0 0}#project-openbrowser>h3,#project-context-atlas>h3,#project-mtp>h3{font-size:38px}#project-openbrowser .inline-project-image{width:40px;height:40px}#project-openbrowser>.project-purpose,#project-context-atlas>.project-purpose,#project-mtp>.project-purpose{font-size:21px}#project-openbrowser>.project-outcome,#project-context-atlas>.project-outcome,#project-mtp>.project-outcome{font-size:18px}
 #project-context-atlas>.project-figure .project-image{height:220px;padding:12px}.inline-project-image{width:36px;height:36px}.credential-group>summary{font-size:20px}
 #contact .section-heading h2{font-size:clamp(2.9rem,12vw,4rem)}.contact-address{margin:34px 0 28px;font-size:clamp(1.85rem,8.5vw,3.3rem);letter-spacing:-.04em}.site-footer{font-size:13px}
}
html:not(.js) .site-header{position:static}
html:not(.js) .site-header .nav-toggle{display:none}
html:not(.js) .site-index{position:static;inset:auto;transform:none;visibility:visible;width:auto;max-width:1680px;margin:auto;border:0;padding:24px var(--page-gutter)}
html:not(.js) .nav-links{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
html:not(.js) .nav-links a{font-size:16px;min-height:44px}
html:not(.js) .index-actions{display:flex;flex-wrap:wrap;align-items:center;gap:20px}
html:not(.js) main{padding-top:0}
@media(max-width:700px){html:not(.js) .nav-links{grid-template-columns:repeat(2,minmax(0,1fr))}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

.js:not(.navigation-ready) .nav-toggle{visibility:hidden}
.detail-block p,.detail-block .ledger-list,.detail-block .fact-list{max-width:78ch}
#project-openbrowser .detail-block[open],#project-mtp .detail-block[open]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 48px}
#project-openbrowser .detail-block[open]>summary,#project-mtp .detail-block[open]>summary{grid-column:1/-1}
@media(max-width:900px){#project-openbrowser .detail-block[open],#project-mtp .detail-block[open]{display:block}}

.js .site-header .appearance-controls{display:block;visibility:hidden}
.js.appearance-ready .site-header .appearance-controls{visibility:visible}
html:not(.js) .site-header .appearance-controls{display:none}
