/* An editorial chronology, sharing the welcome's quiet blue palette. */
.portfolio-nav{display:flex;align-items:center;gap:26px;font-size:11px;color:#55738b}.portfolio-nav a{padding:12px 0}.portfolio-nav a:hover{color:#315a76}
.career-section{position:relative;padding:100px max(5vw,24px) 0;background:linear-gradient(165deg,#e6f1f7,#d8eaf5 70%,#dceefa);scroll-margin-top:24px;border-top:1px solid #8cacc629}.career-layout{max-width:1280px;margin:auto;display:grid;grid-template-columns:.85fr 1.35fr;gap:8vw}.career-eyebrow{font:9px/1.8 'SFMono-Regular',Consolas,monospace;letter-spacing:1.4px;color:#708ea4}.career-intro h2{font-size:clamp(40px,4.6vw,68px);line-height:1.05;font-weight:400;letter-spacing:-2.5px;margin:22px 0 25px}.career-lead{max-width:345px;font-size:15px;line-height:1.9;color:#55738b}.career-art{display:block;width:100%;max-width:320px;height:auto;margin:38px 0 24px}.career-aside{font-size:12px;line-height:1.9;max-width:305px;color:#7893a7}.career-education{margin-top:40px;border-top:1px solid #8cacc640;padding-top:23px;max-width:345px}.career-education h3{font-size:14px;font-weight:500;margin:0 0 20px}.career-education p{font-size:13px;margin-bottom:22px;line-height:1.7}.career-education p>span{display:block;font:9px/1.8 'SFMono-Regular',Consolas,monospace;color:#7995aa;margin-bottom:5px}.career-education small{display:block;font-size:11px;color:#7995aa}.career-profile,.career-external{display:inline-block;font-size:12px;border-bottom:1px solid #92afc470;padding:8px 0;color:#50728a}
.career-filters{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}.career-filters button{background:transparent;border:1px solid #94b1c455;border-radius:30px;padding:10px 16px;font-size:11px;min-height:40px;transition:background .2s,color .2s}.career-filters button[aria-pressed=true]{background:#52768e;border-color:#52768e;color:#edf6fc}.career-filters button:hover:not([aria-pressed=true]){background:#c3dcea80}.career-count{font:9px/1.8 'SFMono-Regular',Consolas,monospace;color:#7995aa;margin:0 0 25px 33px}.career-entries{position:relative}.career-entries:before{content:'';position:absolute;top:29px;bottom:40px;left:7px;width:1px;background:linear-gradient(#86adc260,#86adc2a0,#86adc220);pointer-events:none}.career-entry{position:relative;margin-left:0;scroll-margin-top:30px}.career-entry summary{position:relative;display:flex;align-items:center;gap:25px;padding:20px 0;cursor:pointer;list-style:none;min-height:108px}.career-entry summary::-webkit-details-marker{display:none}.career-entry summary:focus-visible{outline:2px solid #709dbb;outline-offset:5px;border-radius:4px}.career-point{align-self:flex-start;margin-top:8px;flex:0 0 15px;height:15px;border-radius:50%;border:1px solid #83a9c2;background:#deedf7;box-shadow:0 0 0 5px #deedf7;transition:background .25s,box-shadow .25s}.career-entry[open] .career-point{background:#709cb8;box-shadow:0 0 0 5px #deedf7,0 0 0 6px #83a9c255,0 0 24px #7ca8c550}.career-summary{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}.career-date{font:9px/1.6 'SFMono-Regular',Consolas,monospace;color:#7995aa;letter-spacing:.35px}.career-role{font-size:21px;line-height:1.3;letter-spacing:-.5px;color:#3d5d74}.career-org{font-size:11px;color:#7794aa;line-height:1.6}.career-plus{margin-left:auto;color:#7995aa;font-size:25px;font-weight:300;transition:transform .25s}.career-entry[open] .career-plus{transform:rotate(45deg)}.career-detail{margin-left:40px;padding:8px 0 30px;border-bottom:1px solid #8cacc637;max-width:590px}.career-detail h3{font-size:24px;line-height:1.4;font-weight:400;letter-spacing:-.6px;margin:0 0 15px}.career-detail p,.career-detail>ul:not(.career-tools){font-size:13px;line-height:1.9;color:#59788f}.career-detail>ul:not(.career-tools){padding-left:17px;margin:18px 0}.career-detail>ul:not(.career-tools)>li{padding-left:3px;margin-bottom:9px}.career-tools{display:flex;gap:7px;flex-wrap:wrap;list-style:none;padding:0;margin:20px 0 0}.career-tools li{border:1px solid #8cacc640;background:#d0e4f180;padding:5px 9px;border-radius:3px;font-size:9px;color:#66859d}.career-external{margin-top:15px}.career-coda{max-width:1280px;margin:65px auto 0;display:flex;align-items:center;gap:30px;border-top:1px solid #8cacc640;padding:28px 0 36px}.career-coda p{font-size:13px;line-height:1.9;color:#648299;margin-right:auto;max-width:510px}.career-coda .career-eyebrow{display:block;margin-bottom:7px}.career-coda a{font-size:11px;color:#50728a;line-height:1.8}.career-coda a>span{margin-left:8px}
@media(max-width:1050px){.apartment-header .address{display:none}.career-layout{gap:5vw;grid-template-columns:.8fr 1.2fr}.career-role{font-size:19px}.career-coda{flex-wrap:wrap}.career-coda p{flex-basis:100%}}
@media(max-width:760px){.portfolio-nav{gap:16px;font-size:10px}.career-section{padding-top:65px}.career-layout{grid-template-columns:1fr;gap:42px}.career-intro h2{font-size:48px}.career-intro h2 br{display:none}.career-lead{max-width:490px;font-size:14px}.career-art{width:190px;margin:22px 0 15px}.career-aside{max-width:420px}.career-education{display:grid;grid-template-columns:1fr 1fr;gap:15px;max-width:none;margin-top:25px}.career-education h3{grid-column:1/-1;margin-bottom:0}.career-education p{font-size:12px;margin-bottom:0}.career-entry summary{gap:18px}.career-detail{margin-left:33px}.career-detail h3{font-size:22px}.career-count{margin-left:33px}.career-coda{gap:18px;margin-top:40px}.career-filters button{padding:9px 13px}}
@media(max-width:390px){.portfolio-nav{gap:11px;font-size:9px}.career-role{font-size:18px}.career-detail p,.career-detail>ul:not(.career-tools){font-size:12px}}
@media(prefers-reduced-motion:reduce){.career-point,.career-plus,.career-filters button{transition:none}}
/* A compact, single-open chronology; hover never needs a continuous clock. */
.career-section{padding-top:70px}.career-layout{grid-template-columns:.85fr 1.5fr;gap:6vw}.career-intro h2{font-size:clamp(38px,4vw,60px);margin:18px 0 21px}.career-lead{font-size:14px;line-height:1.85;max-width:360px}.career-entry summary{min-height:80px;padding:13px 0;gap:22px}.career-summary{gap:3px}.career-role{font-size:19px}.career-date{font-size:8px}.career-org{font-size:10px}.career-detail{padding:4px 0 20px;max-width:650px}.career-detail h3{font-size:21px;margin-bottom:10px}.career-detail p,.career-detail>ul:not(.career-tools){font-size:12px;line-height:1.8}.career-detail>ul:not(.career-tools){margin:12px 0}.career-detail>ul:not(.career-tools)>li{margin-bottom:6px}.career-tools{margin-top:13px}.career-filters{margin-bottom:10px}.career-count{margin-bottom:12px;font-size:8px}.career-interaction{font-size:10px;color:#7893a7;margin:0 0 8px 33px}.career-education{margin-top:26px;padding-top:18px}.career-education h3{margin-bottom:14px}.career-education p{margin-bottom:15px}.career-coda{margin-top:35px;padding-bottom:28px}.career-sketch{--ink:1;max-width:320px;margin:23px 0 20px}.career-sketch .career-art{margin:0}.sketch-ink path{stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--ink))}.career-sketch>p{font:8px/1.7 'SFMono-Regular',Consolas,monospace;color:#7995aa;margin-top:9px}.career-aside{font-size:12px;max-width:350px}
@media(max-width:760px){.career-section{padding-top:50px}.career-layout{grid-template-columns:1fr;gap:30px}.career-entry summary{gap:18px}.career-detail{margin-left:33px}.career-sketch{max-width:240px}.career-sketch .career-art{width:100%}.career-education h3{margin:0}.career-education p{margin:0}.career-intro h2{font-size:43px}.career-count{margin-left:33px}}
@media(hover:none),(prefers-reduced-motion:reduce){.career-sketch{--ink:1}.career-sketch>p{visibility:hidden}}

.sketch-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px}.sketch-controls p{font:8px/1.7 'SFMono-Regular',Consolas,monospace;color:#7995aa}.sketch-controls button{font-size:9px;color:#668ba5;background:none;border:0;border-bottom:1px solid #92afc450;padding:6px 0;min-height:32px}.sketch-controls button:disabled{display:none}
@media(max-width:760px){.career-education p:last-child{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){.sketch-controls p{display:none}}

.career-awards{max-width:1280px;margin:38px auto 0;border-top:1px solid #8cacc640;padding-top:25px;scroll-margin-top:25px}.awards-heading h3{font-size:24px;font-weight:400;letter-spacing:-.6px;margin:10px 0 22px}.award-notes{display:grid;grid-template-columns:1fr 1fr;gap:40px}.award-notes article{display:flex;gap:18px;align-items:flex-start}.award-symbol{font-size:35px;color:#93aabb;line-height:1;margin-top:4px}.award-notes h4{font-weight:500;font-size:16px;margin:8px 0 10px}.award-notes article p:not(.career-eyebrow){font-size:12px;line-height:1.8;color:#59788f;max-width:450px}.award-notes a{display:inline-block;font-size:11px;color:#50728a;border-bottom:1px solid #92afc450;padding:5px 0;margin-top:11px}
@media(max-width:760px){.award-notes{grid-template-columns:1fr;gap:26px}.career-awards{margin-top:30px}.awards-heading h3{font-size:22px}}

.career-track{overflow-anchor:none}.awards-jump{margin-left:20px}.career-filters{margin-bottom:16px}

/* A readable, connected trace: incoming lines, interaction, outgoing lines. */
.career-sketch{max-width:345px;--trace-flare:0}.career-sketch .career-art{max-width:345px}.sketch-ink path:nth-child(-n+2){stroke-dashoffset:calc(1 - clamp(0, var(--ink) / .38, 1))}.sketch-ink path:nth-child(3){stroke-dashoffset:calc(1 - clamp(0, (var(--ink) - .2) / .55, 1));stroke:#4f83a5;stroke-width:2;filter:drop-shadow(0 0 3px #709dbb30)}.sketch-ink path:nth-child(n+4){stroke-dashoffset:calc(1 - clamp(0, (var(--ink) - .6) / .4, 1))}.sketch-vertices{opacity:calc(var(--trace-flare) * .6)}
@media(max-width:760px){.career-sketch{max-width:260px}}
@media(prefers-reduced-motion:reduce){.sketch-vertices{display:none}.sketch-ink path:nth-child(3){filter:none}}

/* The arriving thread lives in the gutter, then hands off to the diagram. */
.career-thread{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:1;color:#709dbb;--thread:0;--ink:0;opacity:calc(.72 * (1 - clamp(0, (var(--ink) - .08) / .5, 1)))}.career-thread path{stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--thread))}.career-layout{position:relative;z-index:2}
@media(prefers-reduced-motion:reduce){.career-thread{display:none}}

.career-thread{color:#5688a9;opacity:calc(.88 * (1 - clamp(0, (var(--ink) - .08) / .5, 1)))}
/* Three original diagrams share one restrained visual language and clock. */
.secondary-sketch{max-width:285px;margin:18px 0}.secondary-sketch .career-art{max-width:285px}.diagram-phase{fill:none;stroke:#628eaa;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.diagram-phase path{stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--ink))}.phase-one path{stroke-dashoffset:calc(1 - clamp(0, var(--ink) / .38, 1))}.phase-two path{stroke:#4f83a5;stroke-dashoffset:calc(1 - clamp(0, (var(--ink) - .2) / .55, 1))}.phase-three path{stroke-dashoffset:calc(1 - clamp(0, (var(--ink) - .6) / .4, 1))}.diagram-particles{fill:#6c8ea6;font:italic 12px Georgia,serif;opacity:clamp(.15,var(--ink),1)}.diagram-nodes{fill:#6f9dbb;opacity:clamp(.12,var(--ink),1)}.diagram-name{display:block;font:8px/1.8 'SFMono-Regular',Consolas,monospace;letter-spacing:1px;color:#7898af;margin:4px 0 0 16px}.career-foundations{display:grid;grid-template-columns:1.1fr repeat(3,1fr);gap:25px;max-width:1280px;margin:35px auto 0;padding-top:25px}.career-foundations h3{font-size:21px;font-weight:400;letter-spacing:-.5px;margin:0}.career-foundations p{margin:0}
@media(max-width:760px){.secondary-sketch,.secondary-sketch .career-art{max-width:260px}.career-foundations{grid-template-columns:1fr 1fr;gap:20px}.career-foundations h3{grid-column:1/-1}.career-foundations p:last-child{grid-column:auto}}
@media(max-width:420px){.career-foundations{grid-template-columns:1fr}.career-foundations p:last-child{grid-column:1}}

/* Compact, unlabelled studies balance the collapsed career list. */
.career-sketch{max-width:285px;margin:20px 0 14px}.career-sketch .career-art{max-width:285px}.secondary-sketch{max-width:220px;margin:10px 0}.secondary-sketch .career-art{max-width:220px}.career-intro .career-aside{max-width:350px;font-size:11px;line-height:1.8}.career-intro .career-profile{margin-top:10px}.career-section{padding-bottom:32px}
@media(max-width:760px){.career-sketch{max-width:260px}.secondary-sketch,.secondary-sketch .career-art{max-width:215px}.career-foundations{margin-top:26px}}
/* Restore presence with consistent line weight across all three studies. */
.career-sketch,.secondary-sketch{max-width:320px}.career-sketch .career-art,.secondary-sketch .career-art{max-width:320px}.diagram-phase{stroke-width:1.8}.diagram-phase.phase-two{stroke-width:2}.diagram-phase.phase-three{stroke-width:1.8}.secondary-sketch{margin:4px 0}
@media(max-width:760px){.career-sketch,.secondary-sketch,.career-sketch .career-art,.secondary-sketch .career-art{max-width:280px}}

/* Two quiet results use the space beneath the collapsed chronology. */
.career-highlights{margin-top:28px;padding-top:21px;border-top:1px solid #8cacc640}.career-highlights>h3{font-size:15px;font-weight:400;letter-spacing:-.2px;margin:0 0 19px;color:#55738b}.highlight-pair{display:grid;grid-template-columns:1fr 1fr;gap:28px}.highlight-pair article+article{border-left:1px solid #8cacc640;padding-left:28px}.highlight-pair .career-eyebrow{font-size:7px;letter-spacing:1px}.highlight-number{font-size:48px;font-weight:400;line-height:1.15;letter-spacing:-2px;color:#527b96;margin:11px 0 10px}.highlight-number span{font-size:21px;letter-spacing:-.5px;margin-left:3px;color:#779aaf}.highlight-pair h4{font-size:14px;font-weight:500;margin:0 0 10px;letter-spacing:-.2px}.highlight-pair article>p:not(.career-eyebrow):not(.highlight-number){font-size:11px;line-height:1.8;color:#59788f}.highlight-pair p.highlight-context{font-size:10px!important;color:#7893a7!important;margin-top:10px}.highlight-pair a{display:inline-block;font-size:10px;line-height:1.8;color:#50728a;border-bottom:1px solid #92afc450;padding:5px 0;margin-top:10px}
@media(max-width:460px){.highlight-pair{grid-template-columns:1fr;gap:25px}.highlight-pair article+article{border-left:0;padding-left:0;border-top:1px solid #8cacc640;padding-top:20px}}

/* Reveal scalar dashes individually from the loop outward. */
.phase-three path.scalar-dash{stroke-dashoffset:calc(1 - clamp(0, (var(--ink) - var(--dash-start)) / .1, 1))}

.career-foundations{grid-template-columns:1.1fr repeat(4,1fr)}
@media(max-width:1000px){.career-foundations{grid-template-columns:1fr 1fr}.career-foundations h3{grid-column:1/-1}}
@media(max-width:420px){.career-foundations{grid-template-columns:1fr}}

/* All three scientific sketches use the same visible ink and stroke weight. */
.career-art .sketch-ink,.career-art .diagram-phase{stroke:#628eaa;stroke-width:1.8}
.career-art .sketch-ink path:nth-child(3),.career-art .diagram-phase.phase-two path{stroke:#4f83a5;stroke-width:1.8;filter:none}
.career-art .diagram-phase.phase-three{stroke-width:1.8}

.career-art .sketch-ink path,.career-art .diagram-phase path{vector-effect:non-scaling-stroke}

/* Both thesis results have their own readable line. */
.career-detail .career-thesis-grade{display:inline-flex;align-items:baseline;gap:12px;margin:0 0 15px;padding:4px 0 4px 12px;border-left:2px solid #769eb7;color:#416986;line-height:1.3}
.career-thesis-grade span{font-size:12px;letter-spacing:.2px}
.career-thesis-grade strong{font-size:23px;font-weight:500;font-variant-numeric:tabular-nums}
html[data-theme=dark] .career-detail .career-thesis-grade{color:#bddff2;border-color:#8bb8d3}

.thesis-grade-info{display:inline-block;position:relative;align-self:center;font-weight:400}
.thesis-grade-info button{display:grid;place-items:center;width:44px;min-height:44px;margin:-10px -12px;cursor:pointer;border:0;padding:0;background:transparent;color:inherit;opacity:.75}
.thesis-grade-info button>span{font:15px/1 Georgia,serif}
.thesis-grade-info button:focus-visible{outline:1px solid currentColor;outline-offset:-8px;border-radius:12px}
.career-thesis-grade .thesis-grade-tip{position:absolute;z-index:4;left:50%;bottom:calc(100% + 13px);transform:translateX(-50%);width:max-content;max-width:190px;padding:8px 11px;background:#eaf3f9;color:#416986;border:1px solid #769eb766;border-radius:4px;font-size:12px;line-height:1.4;letter-spacing:0;box-shadow:0 4px 14px #18354a15;display:none}
.thesis-grade-info:focus-within>.thesis-grade-tip{display:block}
@media(hover:hover){.thesis-grade-info:hover>.thesis-grade-tip{display:block}}
html[data-theme=dark] .career-thesis-grade .thesis-grade-tip{background:#142b3b;color:#bddff2;border-color:#8bb8d355}

.career-foundations abbr[title]{text-decoration:none;border-bottom:0}

/* Keep normalized drawing lengths attached to the actual SVG vertices at every
   size. The controller compensates stroke thickness independently. */
.career-art .sketch-ink path,.career-art .diagram-phase,.career-art .diagram-phase path{vector-effect:none;stroke-width:var(--career-stroke,1.8)}
