@font-face{font-family:Manrope;src:url('assets/manrope.woff2') format('woff2');font-style:normal;font-weight:200 800;font-display:swap}
:root{--page:#f2f3ee;--paper:#fff;--ink:#1a1d1a;--muted:#666b63;--line:#e1e5da;--accent:#c7ef6b;--radius:24px;--font:Manrope,Arial,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--page);color:var(--ink);font:15px/1.75 var(--font);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}
a,button{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:3px solid #577922;outline-offset:4px}
::selection{background:var(--accent)}[hidden]{display:none!important}
h1,h2,h3,h4,p,figure{margin:0}h3{font-size:23px;line-height:1.4;font-weight:600;letter-spacing:-.6px}h4{font-size:17px;line-height:1.4;font-weight:650;letter-spacing:-.3px}
.skip-link{position:fixed;left:16px;top:-90px;padding:12px;background:var(--ink);color:white;z-index:50}.skip-link:focus{top:16px}
.page-shell{max-width:1480px;margin:auto;padding:30px;display:grid;grid-template-columns:290px minmax(0,1fr);gap:24px;align-items:start}
.profile{position:sticky;top:30px;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:28px 24px 22px;min-width:0}
.identity-mark{display:none}.profile-photo{display:block;width:104px;height:104px;object-fit:cover;border-radius:50%;margin-bottom:24px}
.eyebrow,.section-kicker,.sidebar-foot{font-size:11px;font-weight:600;letter-spacing:1.2px;color:var(--muted)}
.profile-heading>.eyebrow{margin-bottom:10px}.profile h1{font-size:37px;font-weight:700;letter-spacing:-1.6px;line-height:1.12;margin-bottom:10px}.accent{color:#71963a}
.full-name{font-size:13px;color:var(--muted);margin-bottom:13px}.role-label{font-size:11.5px;font-weight:600;line-height:1.5;white-space:nowrap;letter-spacing:-.25px}
.profile-summary{font-size:14px;color:var(--muted);line-height:1.75;margin-top:18px;padding-bottom:22px;border-bottom:1px solid var(--line)}
.profile-details{margin-top:22px;display:grid;gap:17px}.profile-details .eyebrow{display:flex;align-items:center;gap:8px;letter-spacing:1px;text-transform:uppercase}.profile-details p,.profile-details a{font-size:13px;display:block;margin-top:5px;overflow-wrap:anywhere}.profile-details a:hover{text-decoration:underline}
.circle-icon,.flag-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;border:1px solid var(--line);background:#f7f8f2;border-radius:50%;color:#4b5d34}
.circle-icon svg{width:17px;height:17px;display:block}.profile-details .circle-icon,.flag-icon{width:22px;height:22px}.profile-details .circle-icon svg{width:13px;height:13px}.flag-icon{border:0;background:none}.flag-icon svg{width:100%;height:100%}
.profile-details p.location-value{display:flex;align-items:center;gap:7px}.location-value .flag-icon{width:18px;height:18px}
.socials{display:flex;gap:18px;margin:20px 0}.socials a{display:inline-flex;align-items:center;gap:7px;font-size:12px}.socials a:hover{text-decoration:underline}
.socials svg,.contact-options svg{width:30px;height:30px;flex-shrink:0;background:white;border:1px solid var(--line);padding:6px;border-radius:50%}
.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:1px solid var(--ink);border-radius:28px;padding:12px 18px;font-weight:600;font-size:13px;line-height:1.5;transition:background .2s}
.button:hover{background:var(--accent)}.dark-button{background:var(--ink);color:white}.dark-button:hover{color:var(--ink)}
.cv-downloads{display:flex;gap:8px;align-items:stretch}.cv-downloads .button{flex:1;min-width:92px;padding:10px 15px;white-space:nowrap}.sidebar-foot{font-size:10px;display:flex;justify-content:space-between;margin-top:26px;letter-spacing:1px}
.main-shell{background:white;border:1px solid var(--line);border-radius:var(--radius);min-width:0;overflow:hidden}
.topbar{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 34px;border-bottom:1px solid var(--line)}.topbar-caption{font-size:10px;letter-spacing:1px;color:var(--muted)}
.topbar nav{display:flex;gap:3px;align-items:center}.topbar nav a{font-size:13px;padding:9px 14px;border-radius:25px;white-space:nowrap}.nav-link.active{background:var(--ink);color:white}.nav-link:hover:not(.active){background:var(--page)}.nav-count{font-size:10px;margin-left:4px;vertical-align:super}
main{padding:32px 36px 40px;min-height:650px;outline:none}.section-kicker{display:flex;justify-content:space-between;gap:20px;padding-bottom:26px}.section-kicker span:last-child{text-align:right}
.hero{position:relative;padding:14px 0 32px}.hero>.eyebrow{margin-bottom:20px}.hero h2{font-size:clamp(40px,4.4vw,66px);line-height:1.1;letter-spacing:-3px;font-weight:500;margin-bottom:27px}
.hero em,.project-teasers em,.page-title em{font-family:Georgia,serif;font-weight:400}.hero em{position:relative;z-index:0}.hero em:after{content:'';position:absolute;bottom:4px;left:0;right:0;height:13px;background:var(--accent);z-index:-1}
.personal-meta{font-size:11px;color:var(--muted);margin-bottom:24px}.hero-bottom>p{font-size:15px;color:var(--muted);line-height:1.85;max-width:690px}.hero-bottom .button{margin-top:23px}.button-count{font-size:11px;border-left:1px solid #62665e;padding-left:12px}
.hero-index{position:absolute;right:0;top:14px;writing-mode:vertical-rl;font-size:11px;letter-spacing:2px;color:#92988b}
.stat-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px;border-block:1px solid var(--line);padding:25px 0}
.stat-strip .circle-icon{margin-bottom:13px}.stat-strip strong{display:block;font-size:18px;font-weight:600;line-height:1.35;letter-spacing:-.4px}.stat-strip strong small{font-size:14px;font-weight:600}.stat-strip p{font-size:12px;color:var(--muted);line-height:1.8;margin-top:10px}
.section-heading,.selected-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:38px 0 20px}.section-heading>span{font-size:10px;text-align:right;color:var(--muted);letter-spacing:1px}.selected-heading>a,.text-link{font-size:12px;text-decoration:underline;text-underline-offset:5px}
.capability-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.capability-grid article{border:1px solid var(--line);border-radius:15px;padding:23px;background:#fcfcf9}.capability-grid .circle-icon{margin-bottom:18px}.capability-grid h4{margin-bottom:11px}.capability-grid p{font-size:14px;line-height:1.85;color:var(--muted);margin-bottom:20px}
.tags{display:flex;flex-wrap:wrap;gap:6px}.tags span{font-size:11px;border:1px solid var(--line);border-radius:24px;padding:4px 9px;color:#52594a;line-height:1.6}
.trading-achievement{display:grid;grid-template-columns:1.2fr 1fr;gap:30px;border:1px solid var(--line);border-radius:15px;padding:28px;background:#f8f8f3}.trading-achievement h3{font-size:40px;letter-spacing:-1.5px;margin:18px 0}.trading-achievement p{font-size:14px;line-height:1.85;color:var(--muted);margin-bottom:18px}.trading-achievement img{width:100%;height:auto;display:block;max-width:300px}.trading-achievement figcaption{font-size:10px;color:var(--muted);margin-top:12px;line-height:1.7}
.project-teasers{display:grid;grid-template-columns:1fr 1fr;gap:16px}.project-teasers>a{padding:27px 24px;border-radius:16px;background:#181f20;color:white;display:flex;flex-direction:column}.project-teasers>a:last-child{background:#e4eadb;color:var(--ink)}.project-teasers>a>span{font-size:10px;letter-spacing:1px;opacity:.75}.project-teasers h4{font-size:32px;line-height:1.2;font-weight:400;letter-spacing:-1px;margin:28px 0 14px}.project-teasers p{font-size:12px;opacity:.75;margin-bottom:15px}.teaser-bottom{display:flex;justify-content:space-between;padding-top:20px;margin-top:auto;font-size:10px}
.page-footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;padding:19px 36px;font-size:10px;color:var(--muted)}.page-footer a{color:var(--ink)}
.page-title{font-size:clamp(36px,4.6vw,60px);line-height:1.15;font-weight:500;letter-spacing:-2.2px;margin:10px 0 24px}.intro{color:var(--muted);font-size:15px;line-height:1.85;max-width:730px}
.project-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:28px 0 24px;padding-bottom:20px;border-bottom:1px solid var(--line)}.filters{display:flex;gap:6px;flex-wrap:wrap}.filter{border:1px solid transparent;border-radius:25px;padding:8px 13px;background:transparent;font-size:12px;color:var(--muted)}.filter.active{background:var(--ink);color:white}.filter:hover:not(.active){background:var(--page)}.filter>span{font-size:10px;margin-left:5px}.project-toolbar>span{font-size:11px;color:var(--muted);white-space:nowrap}
.project-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.project-image{display:block;position:relative;aspect-ratio:1.2;overflow:hidden;background:#1b2527;border-radius:15px}.project-image img{width:100%;height:100%;object-fit:cover;object-position:left top}.project-view{position:absolute;bottom:16px;left:16px;border-radius:24px;background:white;color:var(--ink);font-size:11px;padding:8px 13px}
.project-card-meta{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:var(--muted);letter-spacing:.7px;margin:19px 0 10px}.project-card-title{display:flex;align-items:start;justify-content:space-between;gap:12px}.project-card-title h3{font-size:25px}.project-card-title small{display:block;font-size:14px;color:var(--muted);margin-top:4px}.project-number{font-size:11px;color:var(--muted)}.project-card>p{font-size:14px;color:var(--muted);line-height:1.85;margin:14px 0 17px}
.ocr-card-visual{height:100%;padding:27px 24px;background:#d5e5c3;position:relative}.ocr-card-visual>span{font-size:10px;letter-spacing:1.2px}.ocr-card-visual>strong{display:block;font-size:clamp(30px,3.2vw,48px);line-height:1.12;font-weight:500;letter-spacing:-1.8px;margin-top:25px}.ocr-card-visual em{font-family:Georgia,serif;font-weight:400}.mini-pipeline{display:flex;gap:8px;position:absolute;bottom:66px;font-size:10px;letter-spacing:.8px}.mini-pipeline span{border:1px solid #8ea876;border-radius:5px;padding:4px 7px}
.directory-note{margin-top:35px;padding:22px;border:1px solid var(--line);background:#f8f9f4;border-radius:14px}.directory-note p{font-size:13px;color:var(--muted);margin-top:8px}
.resume-top{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;flex-wrap:wrap}.resume-top .page-title{font-size:38px;letter-spacing:-1.5px;margin:8px 0 16px}.resume-top .cv-downloads{margin:8px 0 16px;flex-shrink:0}
.resume-section{margin-top:32px}.resume-section>h3{font-size:20px;letter-spacing:-.4px;border-bottom:1px solid var(--ink);padding-bottom:11px;margin-bottom:23px}.resume-entry{margin-bottom:27px}.resume-entry:last-child{margin-bottom:0}
.entry-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px}.entry-heading h4{font-size:17px}.entry-location,.entry-heading time,.entry-meta time{font-size:12px;color:var(--muted);white-space:nowrap}
.entry-meta{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin:7px 0 13px}.entry-meta p{font-size:13px;line-height:1.8}.entry-meta strong{font-weight:600}.entry-meta p>span{display:block;font-size:12px;color:var(--muted)}
.resume-entry ul{padding-left:18px;margin:12px 0 0;color:var(--muted);font-size:14px;line-height:1.9}.resume-entry li{padding-left:3px;margin-bottom:8px}.entry-description{font-size:12px;color:var(--muted);margin-top:7px}.entry-stack{font-size:12px;color:var(--muted);line-height:1.85;margin-top:13px;padding-top:12px;border-top:1px solid var(--line)}.entry-stack strong{color:var(--ink);display:block;font-weight:600}
.resume-entry>p:not(.entry-stack):not(.entry-description){font-size:14px;color:var(--muted);margin-top:7px}.education-minors{font-size:13px!important}
.qualification-list{padding-left:19px;margin:0}.qualification-list li{padding-left:3px;font-size:14px;color:var(--muted);line-height:1.8;margin-bottom:12px}.qualification-list li>span{display:inline-block;width:calc(100% - 70px);padding-right:16px;vertical-align:top}.qualification-list time{display:inline-block;width:65px;text-align:right;font-size:12px}
.skill-groups{display:grid;grid-template-columns:1fr 1fr;gap:24px}.skill-groups h4{font-size:14px;margin-bottom:8px}.skill-groups p{font-size:14px;color:var(--muted);line-height:1.85}
.back-link{display:inline-block;font-size:12px;text-decoration:underline;text-underline-offset:5px;margin-bottom:27px}.case-name{font-size:clamp(36px,5vw,64px);line-height:1.15;letter-spacing:-2px;font-weight:500;margin:12px 0 30px}.case-name>span{display:block;font-family:Georgia,serif;font-size:55%;font-style:italic;color:var(--muted);letter-spacing:-.5px;margin-top:10px}
.case-intro{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start;margin-bottom:28px}.case-intro h3{font-size:27px;line-height:1.35;font-weight:500}.case-intro em{font-family:Georgia,serif;font-weight:400}.case-intro p{font-size:14px;color:var(--muted);line-height:1.85;margin-bottom:15px}.case-status{font-size:11px;padding:6px 10px;background:#f1f4e9;border-radius:6px;color:#52613d;display:inline-block}
.case-visual>img{width:100%;height:auto;border-radius:15px;display:block;border:1px solid var(--line)}figcaption{font-size:11px;color:var(--muted);margin-top:10px;line-height:1.75}.case-links{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 34px}
.case-section{display:grid;grid-template-columns:155px minmax(0,1fr);gap:25px;border-top:1px solid var(--line);padding:27px 0}.case-section h3{font-size:19px}.case-section p,.case-section li{font-size:14px;line-height:1.9;color:var(--muted)}.case-section ul{padding-left:18px;margin:0}.case-section li{padding-left:3px;margin-bottom:8px}
.case-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:15px 0 32px}.case-feature-grid article{background:#f7f8f2;border:1px solid var(--line);border-radius:14px;padding:22px}.case-feature-grid h4{font-size:16px;margin:13px 0 9px}.case-feature-grid p{font-size:13px;color:var(--muted);line-height:1.85}.check-list article{margin-bottom:20px}.check-list article:last-child{margin-bottom:0}.check-list h4{font-size:14px;margin-bottom:6px}
.limitations{padding:23px;border:1px solid var(--line);border-radius:14px;background:#fbfcf9;margin:14px 0}.limitations p{font-size:13px;color:var(--muted);line-height:1.85;margin-top:9px}.next-project{border-top:1px solid var(--line);margin-top:25px;padding-top:27px}.next-project>a{display:block;font-size:28px;letter-spacing:-.7px;margin-top:10px}
.receipt-visual{border-radius:15px;background:#e2eace;padding:25px;display:grid;grid-template-columns:1fr 1.2fr;gap:23px}.receipt-stage>.eyebrow{display:block;margin-bottom:18px;letter-spacing:.8px}.sample-receipt{background:white;padding:22px 17px;display:flex;flex-direction:column;gap:10px;font-family:monospace;font-size:11px;box-shadow:0 8px 20px #34422212}.sample-receipt>span,.sample-receipt>strong{text-align:center}.sample-receipt>strong{font-size:14px}.sample-receipt>div{display:flex;justify-content:space-between;gap:10px}.sample-receipt>div:first-of-type{border-top:1px dashed #ccc;padding-top:12px;margin-top:4px}.receipt-total{border-top:1px dashed #ccc;margin-top:8px;padding-top:11px}
.json-label{display:flex;justify-content:space-between;font-size:10px;letter-spacing:.8px;border-bottom:1px solid #3b4940;padding:12px 14px;background:#1d2b23;color:#aabbad;border-radius:9px 9px 0 0}.structured pre{margin:0;background:#1d2b23;color:#d4e6ba;border-radius:0 0 9px 9px;padding:16px 14px;overflow:auto;font-size:11px;line-height:2}.review-label{font-size:11px;color:#4b6040;display:block;margin-top:12px}
.contact-hero{padding:15px 0}.contact-hero>.eyebrow{font-size:11px}.contact-hero .page-title{margin-top:26px}.contact-email{display:inline-block;font-size:clamp(17px,2vw,26px);letter-spacing:-.5px;border-bottom:1px solid var(--ink);margin:28px 0 35px;overflow-wrap:anywhere;max-width:100%}
.contact-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.contact-options>a{padding:22px 18px;border:1px solid var(--line);border-radius:14px;background:#f8f9f4;min-width:0}.contact-options>a:hover{background:#edf3df}.contact-options .eyebrow{display:block;font-size:10px}.contact-options strong{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;margin:15px 0 7px;overflow-wrap:anywhere}.contact-options>a>span:last-child{font-size:11px;color:var(--muted)}.contact-bottom{margin-top:36px;padding-top:23px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:12px;color:var(--muted)}
@media(max-width:1200px){.page-shell{grid-template-columns:265px minmax(0,1fr);padding:22px;gap:20px}.profile{top:22px;padding:24px 21px}.topbar-caption{display:none}.topbar{justify-content:flex-end;padding:0 25px}main{padding:30px 28px}.hero h2{font-size:52px}.section-heading>span{display:none}.project-grid{grid-template-columns:1fr}.project-image{aspect-ratio:1.65}.ocr-card-visual>strong{font-size:47px;margin-top:12px}.mini-pipeline{right:24px;bottom:24px}.entry-heading{display:block}.entry-location,.entry-heading time{display:block;margin-top:5px}.entry-meta{gap:15px}.contact-options{grid-template-columns:1fr 1fr}.stat-strip{gap:17px}.stat-strip strong{font-size:17px}}
@media(max-width:900px){.stat-strip{grid-template-columns:1fr;gap:20px}.stat-strip article{display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:12px}.stat-strip .circle-icon{grid-column:1;grid-row:1/3;margin:0}.stat-strip strong{grid-column:2;font-size:18px}.stat-strip p{grid-column:2;margin-top:5px}.case-intro{grid-template-columns:1fr;gap:18px}.receipt-visual{grid-template-columns:1fr;gap:25px}.sample-receipt{max-width:300px;margin:auto}.case-section{grid-template-columns:1fr;gap:14px}.trading-achievement{grid-template-columns:1fr;gap:24px}.trading-achievement img{max-width:280px}.capability-grid{grid-template-columns:1fr}.project-teasers{grid-template-columns:1fr}.skill-groups{grid-template-columns:1fr}}
@media(max-width:760px){.page-shell{display:block;padding:14px}.profile{position:relative;top:0;display:grid;grid-template-columns:78px minmax(0,1fr);column-gap:17px;padding:22px;margin-bottom:14px}.profile-photo{width:78px;height:78px;grid-column:1;grid-row:1;margin:0}.profile-heading{grid-column:2}.profile-heading>.eyebrow{font-size:10px;margin-bottom:5px}.profile h1{font-size:27px;line-height:1.15;letter-spacing:-1px;margin-bottom:7px}.profile h1 br{display:none}.full-name{font-size:11px;margin-bottom:8px}.role-label{font-size:11px}.profile-summary{grid-column:1/-1;font-size:13px;margin-top:18px;padding-bottom:18px}.profile-details{grid-column:1/-1;gap:11px;margin-top:17px}.profile-details>div{display:grid;grid-template-columns:103px minmax(0,1fr);align-items:center;gap:10px}.profile-details .eyebrow{font-size:10px;letter-spacing:.8px}.profile-details p,.profile-details a{margin:0;font-size:12px}.socials{grid-column:1/-1;margin:19px 0;gap:21px}.cv-downloads{grid-column:1/-1}.sidebar-foot{display:none}.topbar{min-height:65px;justify-content:center;padding:10px}.topbar nav{width:100%;justify-content:space-between;gap:0}.topbar nav a{font-size:12px;padding:8px 10px}main{padding:25px 22px 30px}.section-kicker{font-size:10px;letter-spacing:.7px;gap:10px}.section-kicker span:last-child{max-width:48%}.hero{padding:8px 0 29px}.hero h2{font-size:clamp(30px,7.4vw,47px);letter-spacing:-1.5px;margin-bottom:23px}.hero>.eyebrow{font-size:10px;letter-spacing:1px}.hero-index{display:none}.hero em:after{height:9px}.personal-meta{font-size:10px;line-height:1.8;margin-bottom:21px}.hero-bottom>p{font-size:14px}.stat-strip{padding:22px 0}.section-heading,.selected-heading{margin-top:30px}h3{font-size:20px}.selected-heading>a{font-size:11px}.capability-grid article{padding:21px}.trading-achievement{padding:23px}.trading-achievement h3{font-size:36px}.project-teasers h4{font-size:31px}.page-footer{padding:18px 22px;flex-wrap:wrap;font-size:10px}.page-footer>span:nth-child(2){display:none}.page-title{font-size:38px;letter-spacing:-1.5px}.intro{font-size:14px}.project-toolbar{display:block}.project-toolbar>span{display:block;margin-top:12px}.filter{font-size:11px;padding:8px 10px}.project-image{aspect-ratio:1.25}.ocr-card-visual>strong{font-size:40px;margin-top:20px}.mini-pipeline{right:auto;left:24px;bottom:66px}.resume-top{display:block}.resume-top .page-title{font-size:33px}.resume-top .cv-downloads{max-width:260px;margin:20px 0}.entry-meta{display:block}.entry-meta time{display:block;margin-top:7px}.entry-heading h4{font-size:16px}.resume-entry ul{font-size:14px}.resume-section>h3{font-size:19px}.resume-section{margin-top:29px}.qualification-list li{font-size:13px}.qualification-list li>span{width:calc(100% - 46px);padding-right:8px}.qualification-list time{width:42px;font-size:11px}.case-name{font-size:39px;letter-spacing:-1.5px}.case-intro h3{font-size:25px}.case-feature-grid{grid-template-columns:1fr}.receipt-visual{padding:21px}.case-links .button{width:100%}.contact-options{grid-template-columns:1fr}.contact-email{font-size:17px;letter-spacing:-.3px}.contact-bottom .cv-downloads{width:100%}}
@media(max-width:360px){.profile{padding:18px;grid-template-columns:64px minmax(0,1fr);column-gap:12px}.profile-photo{width:64px;height:64px}.profile h1{font-size:23px}.role-label{font-size:10px}.profile-details>div{grid-template-columns:94px minmax(0,1fr)}main{padding:23px 18px}.topbar nav a{padding:8px;font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
.case-outline{display:flex;gap:8px;flex-wrap:wrap;padding:16px 0 26px;border-bottom:1px solid var(--line);margin-bottom:34px}.case-outline button{font:inherit;font-size:12px;padding:9px 13px;border:1px solid var(--line);background:#f8faf3;border-radius:20px;cursor:pointer}.case-outline button:hover{background:#e9f0d9}.case-outline button:focus-visible{outline:2px solid #5d753b;outline-offset:3px}
.story-section,.workflow-step{scroll-margin-top:30px;margin:0 0 44px}.story-section>h3,.step-heading h3{font-size:clamp(23px,2.3vw,30px);font-weight:500;letter-spacing:-.7px;line-height:1.3;margin:12px 0 18px}.story-section>p,.step-heading p,.outcome-section li{font-size:14px;line-height:1.95;color:var(--muted);margin-bottom:14px}.story-section>.eyebrow{font-size:10px;letter-spacing:1.1px}.story-section>p.evidence-note,.evidence-note{font-size:11px;line-height:1.8;color:var(--muted);margin:16px 0 23px}
.case-evidence-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:24px}.case-evidence-metrics strong{font-size:34px;font-weight:500;letter-spacing:-1px;display:block}.case-evidence-metrics span{font-size:11px;line-height:1.7;color:var(--muted);display:block;margin-top:6px;max-width:155px}
.story-shot{margin:25px 0 0;min-width:0}.story-shot>a{display:block}.story-shot img{display:block;width:100%;height:auto;border-radius:12px;border:1px solid var(--line)}.story-shot figcaption{font-size:11px;line-height:1.8;margin-top:12px}.dashboard-shot img{max-height:530px;object-fit:cover;object-position:top}.source-shot img{height:480px;object-fit:contain;background:#f4f5f0}.capture-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:20px;align-items:start}.capture-grid .story-shot{margin-top:22px}
.workflow-step{padding-top:30px;border-top:1px solid var(--line)}.step-heading{display:grid;grid-template-columns:46px minmax(0,1fr);gap:20px}.step-number{height:42px;width:42px;display:grid;place-items:center;border:1px solid #d9e3c9;background:#eff4e4;border-radius:50%;font-size:14px;color:#52613d;margin-top:5px}.step-heading h3{margin-top:4px}.step-decision{background:#f4f7ed;border-left:3px solid #91a76d;padding:18px 21px;margin:23px 0 0;border-radius:0 10px 10px 0}.step-decision strong{font-size:13px;font-weight:600}.step-decision p{font-size:13px;color:var(--muted);line-height:1.9;margin:8px 0 0}
.case-stack-groups{display:grid;grid-template-columns:1fr 1fr;gap:25px 30px;padding:20px 0 25px}.case-stack-groups h4{font-size:14px;margin:0 0 9px}.case-stack-groups p{font-size:13px;line-height:1.9;color:var(--muted)}.outcome-section{border-top:1px solid var(--line);padding-top:28px}.outcome-section ul{padding-left:18px;margin-bottom:22px}.outcome-section li{padding-left:5px;margin-bottom:13px}.outcome-section li strong{color:var(--ink);font-weight:600}
@media(max-width:760px){.case-outline{gap:7px;padding-bottom:23px}.case-outline button{font-size:11px;padding:8px 10px}.case-evidence-metrics{gap:15px}.case-evidence-metrics strong{font-size:28px}.case-evidence-metrics span{font-size:10px}.story-section,.workflow-step{margin-bottom:33px}.story-section>h3,.step-heading h3{font-size:23px}.story-section>p,.step-heading p,.outcome-section li{font-size:13px}.capture-grid{grid-template-columns:1fr}.source-shot img{height:400px}.dashboard-shot img{max-height:350px}.step-heading{grid-template-columns:34px minmax(0,1fr);gap:12px}.step-number{width:32px;height:32px;font-size:11px;margin-top:3px}.case-stack-groups{grid-template-columns:1fr;gap:21px}.step-decision{padding:16px 18px}}

.featured-project{grid-column:1/-1}.featured-project .project-image{aspect-ratio:1.85}.featured-project>p{max-width:760px}
.work-teasers>a{padding:0;background:#f7f8f3;color:var(--ink);border:1px solid var(--line);overflow:hidden}.work-teasers>a:last-child{background:#f7f8f3}.work-teasers>a:first-child{grid-column:1/-1;background:#182023;color:white;border-color:#182023}.work-teaser>img{width:100%;aspect-ratio:1.7;object-fit:cover;object-position:top;display:block}.work-teaser>div{padding:23px 24px}.work-teasers h4{font-size:29px;margin:13px 0 12px}.work-teasers p{font-size:13px;line-height:1.8;opacity:.8;margin-bottom:10px}.work-teasers .teaser-bottom{padding-top:12px}.work-teasers>a:first-child>img{aspect-ratio:1.9}
.career-timeline{margin-top:42px}.career-timeline ol{list-style:none;padding:0;margin:25px 0 0}.career-timeline li{display:grid;grid-template-columns:125px minmax(0,1fr);gap:25px;padding:0 0 28px 18px;margin-left:5px;border-left:1px solid #c9d1bd;position:relative}.career-timeline li:last-child{padding-bottom:0}.career-timeline li:before{content:'';position:absolute;left:-5px;top:5px;width:9px;height:9px;background:#88a358;border-radius:50%}.career-timeline time{font-size:12px;font-weight:600;padding-top:2px;line-height:1.8;color:#5b654e}.career-timeline h4{font-size:17px;line-height:1.5;font-weight:600;margin-bottom:8px}.career-timeline p{font-size:14px;line-height:1.9;color:var(--muted)}.prop-explainer{font-size:12px!important}.prop-explainer a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:760px){.work-teasers>a:first-child{grid-column:auto}.featured-project{grid-column:auto}.featured-project .project-image{aspect-ratio:1.5}.career-timeline li{grid-template-columns:1fr;gap:7px;padding-left:20px;padding-bottom:27px}.career-timeline h4{font-size:16px}.career-timeline p{font-size:13px}.role-label{font-size:10px;letter-spacing:-.35px}.work-teasers>a:first-child>img{aspect-ratio:1.7}.work-teasers h4{font-size:27px}}
.august-replay-figure{margin:22px 0 0}.august-replay-figure>figcaption{color:var(--muted);font-size:11px;line-height:1.8;margin-top:12px}.august-replay{border:1px solid #26364b;border-radius:16px;background:#111c2b;color:#e1e9f6;overflow:hidden}.replay-panel-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px;border-bottom:1px solid #26364b}.replay-brand{font-size:13px;font-weight:700;letter-spacing:.4px}.replay-brand>span{font-size:9px;letter-spacing:1.3px;color:#a5b3c9;margin-left:12px}.replay-panel-header h4{font-size:22px;letter-spacing:-.4px;margin:13px 0 5px;line-height:1.5}.replay-long{font-size:11px;letter-spacing:0;color:#8ed7b9;background:#1c3b36;padding:5px 10px;border-radius:20px;vertical-align:middle;margin-left:8px}.replay-panel-header p{font-size:11px;color:#a5b3c9;margin:0}.replay-source-badge{font-size:10px;line-height:1.7;border:1px solid #35554d;color:#b0dfc9;padding:7px 10px;border-radius:20px;white-space:nowrap;display:flex;align-items:center;gap:7px}.replay-source-badge i{width:6px;height:6px;display:inline-block;border-radius:50%;background:#51c6a0}.replay-panel-body{display:grid;grid-template-columns:minmax(0,1fr) 158px}.replay-chart{height:350px;min-width:0;position:relative}.replay-trade-details{padding:24px 16px;border-left:1px solid #26364b}.replay-detail-title{font-size:9px;letter-spacing:.9px;color:#a5b3c9}.replay-trade-details dl{margin:22px 0}.replay-trade-details dl>div{margin-bottom:21px}.replay-trade-details dt{font-size:10px;color:#a5b3c9;margin-bottom:5px}.replay-trade-details dd{font-size:15px;font-weight:600;margin:0}.replay-trade-details p{font-size:10px;color:#a5b3c9;line-height:1.8;margin:0}.replay-readouts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:17px 24px;border-top:1px solid #26364b;background:#142134}.replay-readouts span{display:block;color:#a5b3c9;font-size:9px;margin-bottom:5px}.replay-readouts strong{font-size:14px;line-height:1.6;font-weight:600}.replay-panel-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:19px 24px 10px}.replay-panel-controls button{font:inherit;font-size:10px;font-weight:600;background:#1b2b42;color:#dbe6f6;border:1px solid #3a4b65;padding:10px 12px;border-radius:22px;cursor:pointer}.replay-panel-controls button:first-child{background:#a5bf7d;color:#17201a;border-color:#a5bf7d;min-width:100px}.replay-panel-controls button:hover{filter:brightness(1.13)}.replay-panel-controls button:focus-visible,.replay-timeline input:focus-visible{outline:2px solid #a5bf7d;outline-offset:3px}.replay-speed-badge{font-size:12px;font-weight:700;border-radius:50%;border:1px solid #3a4b65;width:36px;height:36px;display:grid;place-items:center;margin-left:auto}.replay-timeline{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;padding:9px 24px 0;font-size:9px;color:#a5b3c9}.replay-timeline input{width:100%;height:22px;accent-color:#a5bf7d;cursor:pointer;margin:0}.august-replay .replay-state{font-size:9px;color:#a5b3c9;padding:6px 24px 19px;margin:0;line-height:1.6;min-height:39px}
@media(max-width:900px){.replay-panel-body{grid-template-columns:1fr}.replay-trade-details{border-left:0;border-top:1px solid #26364b;padding:14px 18px}.replay-trade-details dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0 8px}.replay-trade-details dl>div{margin:0}.replay-trade-details p br{display:none}.replay-trade-details p br:after{content:' '}.replay-trade-details p{font-size:9px}}
@media(max-width:480px){.replay-panel-header{padding:18px;gap:12px;flex-wrap:wrap}.replay-source-badge{font-size:9px;padding:5px 8px}.replay-brand>span{margin-left:7px;font-size:8px}.replay-chart{height:260px}.replay-trade-details dd{font-size:12px}.replay-trade-details dt{font-size:9px}.replay-readouts{gap:8px;padding:15px 18px}.replay-readouts strong{font-size:11px}.replay-readouts span{font-size:8px}.replay-panel-controls{padding:16px 18px 8px;gap:7px}.replay-panel-controls button{font-size:9px;padding:9px 10px}.replay-panel-controls button:first-child{min-width:88px}.replay-timeline{padding:9px 18px 0}.august-replay .replay-state{padding:6px 18px 17px}.replay-speed-badge{width:30px;height:30px;font-size:10px}}

/* Portfolio appearance controls. Screenshots and source photos retain their original colours. */
:root {
  color-scheme: light;
  --surface-soft: #f7f8f2;
  --focus: #577922;
}

.topbar {
  flex-wrap: wrap;
  column-gap: 14px;
  row-gap: 10px;
  padding-block: 16px;
}
.topbar nav { margin-left: auto; }
.display-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 8px;
  min-width: 0;
}
.theme-toggle {
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 50%;
}
.theme-toggle:hover { background: var(--line); }
.theme-icon { display: inline-flex; align-items: center; justify-content: center; }
.theme-icon svg { display: block; width: 17px; height: 17px; }
.language-select {
  max-width: 150px;
  min-height: 36px;
  padding: 6px 10px;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  font: 600 11px/1.5 var(--font);
  cursor: pointer;
}
.language-select option { color: var(--ink); background: var(--paper); }
.language-select:focus-visible,
.theme-toggle:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --page: #141816;
  --paper: #1e2420;
  --ink: #edf1e8;
  --muted: #b6c0b1;
  --line: #3b453b;
  --accent: #c7ef6b;
  --surface-soft: #272f28;
  --focus: #c7ef6b;
}
html[data-theme="dark"] ::selection { color: #192015; background: var(--accent); }
html[data-theme="dark"] .main-shell { background: var(--paper); }
html[data-theme="dark"] .accent { color: var(--accent); }
html[data-theme="dark"] .hero em:after { background: #47602c; }
html[data-theme="dark"] .hero-index { color: #aab6a0; }
html[data-theme="dark"] .circle-icon { background: var(--surface-soft); color: #c8dfb0; }
html[data-theme="dark"] .tags span { color: #c5d0bb; }
html[data-theme="dark"] .button:hover { color: #192015; background: var(--accent); }
html[data-theme="dark"] .dark-button { color: #192015; background: var(--accent); border-color: var(--accent); }
html[data-theme="dark"] .dark-button:hover { background: #d7f68f; }
html[data-theme="dark"] .button-count { border-color: #647d38; }
html[data-theme="dark"] .nav-link.active,
html[data-theme="dark"] .filter.active { color: #192015; background: var(--accent); }
html[data-theme="dark"] .skip-link { color: #192015; background: var(--accent); }
html[data-theme="dark"] a:focus-visible,
html[data-theme="dark"] button:focus-visible { outline-color: var(--focus); }
html[data-theme="dark"] .project-view { color: #192015; background: var(--accent); }
html[data-theme="dark"] .capability-grid article,
html[data-theme="dark"] .case-feature-grid article,
html[data-theme="dark"] .directory-note,
html[data-theme="dark"] .limitations,
html[data-theme="dark"] .contact-options > a { background: var(--surface-soft); }
html[data-theme="dark"] .contact-options > a:hover { background: #35402e; }
html[data-theme="dark"] .trading-achievement { background: #242d23; }
html[data-theme="dark"] .project-teasers > a:last-child { color: var(--ink); background: #2b3829; }
html[data-theme="dark"] .work-teasers > a,
html[data-theme="dark"] .work-teasers > a:last-child { color: var(--ink); background: var(--surface-soft); }
html[data-theme="dark"] .work-teasers > a:first-child { color: #f1f5ed; background: #15231e; border-color: #465244; }
html[data-theme="dark"] .ocr-card-visual { color: var(--ink); background: #2b4128; }
html[data-theme="dark"] .mini-pipeline span { border-color: #6c895a; }
html[data-theme="dark"] .case-status { color: #c5deb0; background: #33442b; }
html[data-theme="dark"] .case-outline button { color: var(--ink); background: var(--surface-soft); }
html[data-theme="dark"] .case-outline button:hover { background: #35402e; }
html[data-theme="dark"] .case-outline button:focus-visible { outline-color: var(--focus); }
html[data-theme="dark"] .source-shot img { background: #252c26; }
html[data-theme="dark"] .step-number { color: #d4e7bc; background: #33432b; border-color: #596e46; }
html[data-theme="dark"] .step-decision { background: #293524; border-left-color: #a3bf76; }
html[data-theme="dark"] .career-timeline li { border-left-color: #617052; }
html[data-theme="dark"] .career-timeline li:before { background: #b5d280; }
html[data-theme="dark"] .career-timeline time { color: #c5d5b7; }
html[data-theme="dark"] .receipt-visual { background: #2b3825; }
html[data-theme="dark"] .sample-receipt { color: #1a1d1a; }
html[data-theme="dark"] .review-label { color: #c2d8af; }

html[lang="zh-Hant"] {
  --font: Manrope, "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", Arial, sans-serif;
}
html[lang="zh-Hant"] h1,
html[lang="zh-Hant"] h2,
html[lang="zh-Hant"] h3,
html[lang="zh-Hant"] h4,
html[lang="zh-Hant"] .case-name,
html[lang="zh-Hant"] .page-title,
html[lang="zh-Hant"] .contact-email { letter-spacing: 0; }
html[lang="zh-Hant"] .hero h2 { line-height: 1.25; }
html[lang="zh-Hant"] .role-label { white-space: normal; line-height: 1.8; letter-spacing: 0; }
html[lang="zh-Hant"] .eyebrow,
html[lang="zh-Hant"] .section-kicker { letter-spacing: .65px; }
html[lang="zh-Hant"] .hero em,
html[lang="zh-Hant"] .project-teasers em,
html[lang="zh-Hant"] .page-title em,
html[lang="zh-Hant"] .case-intro em { font-family: inherit; font-style: normal; }
html[lang="zh-Hant"] .hero em:after { bottom: 0; }

@media (max-width: 1370px) {
  .topbar-caption { display: none; }
}
@media (max-width: 1000px) and (min-width: 761px) {
  .topbar { padding-inline: 22px; }
  .topbar nav { flex: 1 1 100%; justify-content: space-between; }
  .display-controls { margin-left: auto; }
}
@media (max-width: 760px) {
  .topbar { padding: 12px 10px; gap: 9px; }
  .topbar nav { flex: 1 1 100%; width: 100%; margin-left: 0; }
  .display-controls { margin-left: auto; }
  .theme-toggle { width: 34px; height: 34px; }
  .language-select { min-height: 34px; max-width: 145px; font-size: 11px; }
  html[lang="zh-Hant"] .profile-details > div { grid-template-columns: 90px minmax(0,1fr); }
  html[lang="zh-Hant"] .case-name { font-size: 35px; line-height: 1.35; }
}
@media (max-width: 360px) {
  html[lang="zh-Hant"] .hero h2 { font-size: 29px; }
  html[lang="zh-Hant"] .topbar nav a { padding-inline: 6px; }
  html[lang="zh-Hant"] .profile-details > div { grid-template-columns: 82px minmax(0,1fr); }
}
