@font-face{font-family:Geist;src:url('../fonts/geist-var.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:GeistMono;src:url('../fonts/geist-mono-400.woff2') format('woff2');font-weight:400;font-display:swap}

:root{--bg:#f7f7f2;--surface:#fff;--ink:#172c23;--muted:#58655c;--green:#386840;--grass:#b9e985;--line:#d9ded5;--wash:#edf0e7;--header:rgba(247,247,242,.96);--radius:8px;color-scheme:light}
:root[data-theme=dark]{--bg:#111b16;--surface:#1a271f;--ink:#f0f3e9;--muted:#b7c2b7;--green:#b9e985;--line:#35443a;--wash:#1c2c22;--header:rgba(17,27,22,.96);color-scheme:dark}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#111b16;--surface:#1a271f;--ink:#f0f3e9;--muted:#b7c2b7;--green:#b9e985;--line:#35443a;--wash:#1c2c22;--header:rgba(17,27,22,.96);color-scheme:dark}}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:105px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.65 Geist,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased}
body.dialog-open{overflow:hidden}
button{font:inherit;color:inherit;cursor:pointer}
button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
a{color:inherit;text-underline-offset:5px;text-decoration-thickness:1px}
a:hover{text-decoration-thickness:2px}
img,svg{display:block;max-width:100%}
img{height:auto}
figure{margin:0}
p{margin:0 0 1em}
h1,h2,h3,h4{margin:0;line-height:1.1;letter-spacing:-.045em;font-weight:550;text-wrap:balance}
h2{font-size:clamp(2rem,3.4vw,3.35rem)}
h3{font-size:1.35rem;letter-spacing:-.025em}
h4{font-size:1.08rem}
em{font-style:normal;font-family:inherit}
strong{font-weight:600}
::selection{background:var(--grass);color:#172c23}
[hidden]{display:none!important}
:focus-visible{outline:3px solid var(--green);outline-offset:5px}
main:focus{outline:none}
.wrap{width:min(1200px,calc(100% - 112px));margin-inline:auto}
.skip{position:fixed;left:20px;top:-120px;padding:12px 20px;background:var(--surface);color:var(--ink);z-index:100;border:1px solid var(--line);border-radius:4px}
.skip:focus{top:12px}
.eyebrow{font-family:GeistMono,monospace;font-size:.67rem;font-weight:400;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);line-height:1.7;margin-bottom:22px}
.accent{color:var(--green)}
.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--green);margin-right:9px;vertical-align:middle}
.section{padding-block:100px}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:50px;margin-bottom:50px}
.section-head>p{max-width:285px;margin:0;color:var(--muted);font-size:.95rem}
.section-head .text-link{flex-shrink:0}
.lead{font-size:1.05rem;line-height:1.8;color:var(--muted);max-width:650px}
.lead strong{color:var(--ink);font-weight:550}
.subtle,.fine{color:var(--muted)}
.fine{font-size:.8rem}
.actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:28px;min-height:50px;padding:13px 22px;border:1px solid var(--ink);background:var(--ink);color:var(--bg);border-radius:5px;text-decoration:none;font-size:.86rem;font-weight:550;line-height:1.4;transition:background .2s,border-color .2s,transform .2s}
.btn:hover{background:var(--green);border-color:var(--green);color:var(--bg);transform:translateY(-2px)}
.btn-secondary{background:transparent;color:var(--ink);border-color:var(--line)}
.btn-secondary:hover{background:var(--wash);border-color:var(--ink);color:var(--ink)}
.icon{width:20px;height:20px;flex:none}
.text-link{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;font-size:.9rem;font-weight:550;text-decoration:none;padding-block:10px;border-bottom:1px solid var(--ink);min-height:44px}
.text-link .icon{transition:transform .2s}
.text-link:hover{color:var(--green);border-color:var(--green)}
.text-link:hover .icon{transform:translateX(4px)}

.site-header{position:sticky;top:0;z-index:20;background:var(--header);border-bottom:1px solid var(--line);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.nav-wrap{min-height:82px;display:flex;align-items:center;gap:30px}
.brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;font-size:.94rem;font-weight:650;letter-spacing:-.035em;white-space:nowrap}
.brand-mark{display:grid;place-items:center;width:36px;height:36px;background:var(--grass);color:#172c23;font-size:25px;font-weight:650;letter-spacing:-.09em;line-height:1;border-radius:4px;padding-right:3px}
.site-nav{display:flex;align-items:center;gap:30px;margin-left:auto;order:2}
.site-nav>a{font-size:.8rem;text-decoration:none;padding:14px 0;color:var(--muted);position:relative;white-space:nowrap}
.site-nav>a:hover,.site-nav>a[aria-current]{color:var(--ink)}
.site-nav>a[aria-current]:not(.nav-contact)::after{content:'';position:absolute;bottom:8px;left:0;right:0;height:2px;background:var(--green)}
.site-nav>.nav-contact{display:inline-flex;align-items:center;gap:18px;color:var(--ink);border:1px solid var(--line);padding:10px 15px;border-radius:4px}
.site-nav>.nav-contact:hover{border-color:var(--ink);background:var(--wash)}
.nav-actions{display:flex;align-items:center;gap:8px;order:3}
.icon-button{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--line);background:transparent;border-radius:50%}
.icon-button:hover{background:var(--wash);border-color:var(--muted)}
.menu-toggle{display:none;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:9px 13px;border:1px solid var(--line);background:transparent;border-radius:4px;font-size:.8rem}
.menu-toggle[aria-expanded=true] .icon{transform:rotate(90deg)}

.hero{padding:64px 0 0}
.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:100px;align-items:center}
.hero h1{font-size:clamp(5rem,10vw,8.8rem);font-weight:560;letter-spacing:-.078em;line-height:.91;margin:0 0 27px}
.hero h1 .accent{color:var(--green)}
.hero-role{font-size:clamp(1.3rem,2.2vw,1.85rem);font-weight:450;letter-spacing:-.04em;line-height:1.3;margin:0 0 17px}
.hero .lead{max-width:510px;font-size:1rem;line-height:1.8}
.hero .actions{margin-top:28px}
.portrait-composition{position:relative;margin-right:22px;max-width:400px;justify-self:end;width:100%}
.portrait-frame{overflow:hidden;background:var(--wash);border-radius:6px 6px 0 0}
.portrait-frame img{width:100%;aspect-ratio:4/4.9;object-fit:cover;object-position:50% 28%}
.portrait-caption{background:var(--grass);color:#172c23;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 23px;border-radius:0 0 6px 6px;font-size:.86rem;font-weight:550;line-height:1.4}
.portrait-number{font-family:GeistMono,monospace;font-size:.67rem;font-weight:400}
.portrait-side{position:absolute;right:-28px;top:0;writing-mode:vertical-rl;font-family:GeistMono,monospace;font-size:.58rem;letter-spacing:.13em;color:var(--muted)}
.now-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;border-block:1px solid var(--line);margin:58px 0 0;padding:25px 0}
.now-strip>div+div{border-left:1px solid var(--line);padding-left:32px}
.now-strip dt{font-family:GeistMono,monospace;font-size:.6rem;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);margin-bottom:6px}
.now-strip dd{margin:0;font-size:.83rem;font-weight:550}
.now-strip dd span{color:var(--muted);font-weight:400}
.projects{padding-top:94px}
.project-feature{display:grid;grid-template-columns:.9fr 1.3fr;gap:65px;align-items:center;border-top:1px solid var(--line);padding:40px 0 55px}
.project-feature:last-child{padding-bottom:0}
.project-info{min-width:0}
.project-overline{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;font-size:.65rem;color:var(--muted);margin-bottom:25px}
.pill{border:1px solid var(--line);border-radius:40px;padding:4px 9px;font-size:.6rem;white-space:nowrap}
.project-info h3{font-size:clamp(2.4rem,4.3vw,3.9rem);letter-spacing:-.055em;line-height:1.1;margin-bottom:20px}
.project-info>p{color:var(--muted);font-size:.93rem;line-height:1.8;max-width:420px}
.project-info>.project-intro{font-size:1.2rem;color:var(--ink);letter-spacing:-.025em;line-height:1.5;margin-bottom:18px}
.project-tags{list-style:none;display:flex;flex-wrap:wrap;gap:9px 18px;padding:0;margin:23px 0 20px;color:var(--muted);font-family:GeistMono,monospace;font-size:.6rem}
.project-shot{display:flex;flex-direction:column;align-items:center;justify-content:center;align-self:stretch;min-height:380px;padding:30px;text-decoration:none;border-radius:var(--radius);overflow:hidden;transition:transform .25s;cursor:zoom-in}
.project-shot:hover{transform:translateY(-4px)}
.boussole-shot{background:#e1e9d3;color:#384b31}
.jarvis-shot{background:#1b2b22;color:#c1d0c3}
.shot-topline,.shot-bottomline{display:flex;width:100%;justify-content:space-between;align-items:center;font-family:GeistMono,monospace;font-size:.57rem;gap:15px;line-height:1.5}
.shot-topline{margin-bottom:34px}
.shot-bottomline{margin-top:30px}
.window-dots{display:flex;gap:5px}
.window-dots i{display:block;width:6px;height:6px;background:currentColor;border-radius:50%;opacity:.35}
.project-shot img{border-radius:4px;width:100%;height:auto;box-shadow:0 16px 35px -18px #0008;transition:transform .3s}
.project-shot:hover img{transform:scale(1.015)}
.project-reversed{grid-template-columns:1.3fr .9fr;margin-top:20px}
.project-reversed .project-info{order:2}
.project-reversed .project-shot{order:1}
.about-section{background:var(--wash);border-block:1px solid var(--line)}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px}
.about-grid h2{font-size:clamp(2.1rem,3.6vw,3.25rem);max-width:480px;line-height:1.15}
.about-copy{font-size:1.02rem;line-height:1.85;color:var(--muted)}
.about-copy strong{color:var(--ink)}
.about-copy p:last-child{margin-bottom:0}
.skills-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:64px;border-top:1px solid var(--line)}
.skills-grid article{padding:30px 30px 0 0}
.skills-grid article+article{padding-left:30px;border-left:1px solid var(--line)}
.skill-number{font-family:GeistMono,monospace;color:var(--muted);font-size:.65rem;display:block;margin-bottom:20px}
.skills-grid h3{font-size:1.25rem;margin-bottom:14px}
.skills-grid p{font-size:.87rem;color:var(--muted);max-width:300px}
.skill-note{display:block;font-family:GeistMono,monospace;font-size:.6rem;color:var(--muted);line-height:1.8;margin-top:25px}
.personal-note{font-size:.78rem;color:var(--muted);margin:45px 0 0;padding-top:24px;border-top:1px solid var(--line)}
.personal-note span{color:var(--ink)}
.experience-list{border-top:1px solid var(--line)}
.experience-row{display:grid;grid-template-columns:180px 1.1fr 1fr;gap:35px;padding:33px 0;border-bottom:1px solid var(--line)}
.experience-row .date{font-family:GeistMono,monospace;font-size:.61rem;line-height:1.8;color:var(--muted)}
.experience-row .status-dot{width:6px;height:6px;margin-right:5px}
.experience-row h3{font-size:1.4rem;margin-bottom:9px}
.experience-row .role{font-size:.82rem;color:var(--muted);line-height:1.5;margin-bottom:8px}
.experience-context{font-size:.68rem;color:var(--muted)}
.experience-row>p{font-size:.86rem;color:var(--muted);line-height:1.8;margin:0}
.current-experience h3{color:var(--green)}
.education-note{display:flex;align-items:center;gap:20px;margin-top:30px;padding:24px;background:var(--wash);border-radius:5px}
.education-mark{display:grid;place-items:center;flex:none;width:45px;height:45px;border:1px solid var(--line);font-family:GeistMono,monospace;font-size:.85rem}
.education-note p{font-size:.78rem;line-height:1.8;margin:0;color:var(--muted)}
.education-note strong{font-size:.85rem;color:var(--ink);font-weight:550}
.education-year{font-family:GeistMono,monospace;font-size:.6rem;margin-left:auto;white-space:nowrap;color:var(--muted)}
.cv-section{padding-bottom:100px}
.cv-panel{border:1px solid var(--line);background:var(--surface);border-radius:var(--radius);display:grid;grid-template-columns:1fr 1.1fr;gap:100px;padding:50px}
.cv-panel h2{font-size:2.9rem}
.cv-panel p:not(.eyebrow){font-size:.9rem;color:var(--muted);margin-top:23px;margin-bottom:0}
.cv-links{display:flex;justify-content:center;flex-direction:column;gap:28px;min-width:0}
.cv-language{padding-bottom:25px;border-bottom:1px solid var(--line)}
.cv-language:last-child{border:0;padding-bottom:0}
.cv-language-header{display:flex;align-items:center;gap:18px;margin-bottom:13px}
.language-code{display:grid;place-items:center;flex:none;width:43px;height:43px;border:1px solid var(--line);font-family:GeistMono,monospace;font-size:.75rem;border-radius:4px}
.cv-language h3{font-size:1.05rem;margin-bottom:4px}
.cv-language .fine{font-size:.7rem}
.cv-language .links{display:flex;gap:20px;flex-wrap:wrap;padding-left:61px}
.cv-language .links a{display:inline-flex;align-items:center;gap:7px;font-size:.76rem;min-height:44px}
.cv-language .icon{width:16px;height:16px}
.cv-language a:hover{color:var(--green)}
.contact-section{padding:80px 0 36px;background:#172c23;color:#f1f5eb}
.contact-section .eyebrow{color:#b3c6b7}
.contact-head{display:flex;align-items:end;justify-content:space-between;gap:55px}
.contact-head h2{font-size:clamp(3rem,7vw,6.4rem);line-height:1.05}
.contact-head h2 span{color:var(--grass)}
.contact-head>p{max-width:320px;font-size:.9rem;color:#c0cfc0;margin:0}
.contact-email{display:flex;align-items:center;justify-content:space-between;gap:25px;text-decoration:none;font-size:clamp(1.3rem,4.3vw,3.5rem);letter-spacing:-.045em;font-weight:420;padding:35px 0 25px;margin-top:24px;border-bottom:1px solid #415449}
.contact-email>.icon{width:42px;height:42px;transition:transform .2s}
.contact-email:hover{color:var(--grass)}
.contact-email:hover>.icon{transform:translate(3px,-3px)}
.contact-links{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:24px;flex-wrap:wrap}
.socials{display:flex;gap:30px;flex-wrap:wrap}
.socials a{display:inline-flex;align-items:center;gap:6px;font-size:.78rem;text-decoration:none;min-height:44px}
.socials a:hover{color:var(--grass)}
.socials .icon{width:16px;height:16px}
.copy-button{display:inline-flex;align-items:center;gap:10px;min-height:44px;background:transparent;border:1px solid #516457;border-radius:4px;padding:10px 14px;color:#e7eee3;font-size:.74rem}
.copy-button:hover{background:#253c2d;border-color:#b9e985}
.copy-button .icon{width:17px;height:17px}
.copy-status{min-height:22px;font-size:.75rem;margin:12px 0 0;color:var(--grass);text-align:right}
.contact-section :focus-visible{outline-color:var(--grass)}
.site-footer{padding:28px 0;font-size:.72rem;color:var(--muted)}
.footer-row{display:flex;align-items:center;justify-content:space-between;gap:25px}
.footer-row p{margin:0}
.footer-row>a{display:inline-flex;align-items:center;gap:12px;min-height:44px;text-decoration:none}
.footer-row .icon{width:16px;height:16px}
.legal{border-top:1px solid var(--line);margin-top:16px;padding-top:14px;max-width:100%;font-size:.71rem;line-height:1.8}
.legal summary{cursor:pointer;min-height:35px;width:fit-content;padding:4px 0}
.legal p{max-width:800px;margin:13px 0}
.legal a{color:var(--green)}

.lightbox{border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);padding:55px 20px 20px;width:min(1150px,94vw);max-width:none;max-height:90dvh;overflow:auto}
.lightbox::backdrop{background:rgba(8,20,13,.8)}
.lightbox img{width:100%;height:auto;max-height:70dvh;object-fit:contain}
.lightbox figcaption{font-size:.8rem;margin-top:18px;color:var(--muted);text-align:center}
.lightbox-close{position:absolute;top:8px;right:12px;width:44px;height:44px;display:grid;place-items:center;background:transparent;border:0;border-radius:50%}
.lightbox-close:hover{background:var(--wash)}

.breadcrumb{padding-top:28px;font-size:.75rem;color:var(--muted)}
.breadcrumb a{text-decoration:none}
.detail-hero{padding:55px 0 35px}
.detail-hero h1{font-size:clamp(4.2rem,9vw,8rem);letter-spacing:-.065em;margin:18px 0 25px}
.detail-subtitle{font-size:clamp(1.4rem,2.5vw,2.1rem);font-weight:450;letter-spacing:-.04em;line-height:1.35;max-width:800px;margin-bottom:24px}
.detail-hero .lead{max-width:760px}
.detail-hero .actions{margin-top:30px}
.project-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:25px 0;margin:40px 0 0;border-block:1px solid var(--line);gap:30px}
.project-summary dt{font-family:GeistMono,monospace;font-size:.61rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.project-summary dd{margin:7px 0 0;font-size:.87rem}
.detail-columns{display:grid;grid-template-columns:1fr 1fr;gap:70px}
.detail-columns h2{font-size:2.5rem;margin-bottom:24px}
.detail-columns p,.detail-columns li{color:var(--muted);font-size:.95rem}
.detail-columns ul{padding-left:20px}
.detail-columns li{margin-bottom:10px}
.detail-columns .eyebrow{font-size:.67rem;margin-bottom:18px}
.notice{padding:23px 26px;border-left:3px solid var(--green);background:var(--wash);font-size:.88rem;color:var(--muted);border-radius:0 5px 5px 0;line-height:1.8}
.notice strong{color:var(--ink)}
.jarvis-platforms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:32px 0}
.jarvis-platform{padding:28px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);display:flex;flex-direction:column;align-items:start}
.jarvis-platform h3{font-size:1.6rem;margin:0 0 16px}
.jarvis-platform .eyebrow{margin-bottom:12px}
.jarvis-platform p{font-size:.9rem;color:var(--muted);margin-bottom:22px}
.jarvis-platform .btn{margin-top:auto}
.jarvis-mac-preview{align-self:center}
.jarvis-mac-preview img{width:100%;border-radius:var(--radius)}
.jarvis-mac-preview figcaption{color:var(--muted);font-size:.8rem;margin-top:13px}
.next-project{padding:30px 0;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}
.next-project span{font-size:1.6rem;letter-spacing:-.04em}
.back-link{font-size:.82rem;display:inline-flex;align-items:center;gap:10px;text-decoration:none;min-height:44px}
.detail-hero+.section{padding-top:55px}

.cv-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:32px auto;flex-wrap:wrap}
.language-switch{display:flex;padding:4px;border:1px solid var(--line);border-radius:5px;gap:3px}
.language-switch a{padding:8px 15px;font-size:.8rem;text-decoration:none;border-radius:3px;min-height:40px}
.language-switch a[aria-current]{background:var(--ink);color:var(--bg)}
.cv-document{max-width:940px;padding:55px;margin:0 auto 70px;background:var(--surface);border:1px solid var(--line);border-top:4px solid var(--green);border-radius:var(--radius)}
.cv-title{display:flex;justify-content:space-between;gap:28px;margin-bottom:25px}
.cv-title h1{font-size:3.6rem;letter-spacing:-.06em;margin-bottom:12px}
.cv-title .job-title{font-size:1.05rem;color:var(--green);line-height:1.5;max-width:520px}
.cv-title img{width:88px;height:110px;object-fit:cover;border-radius:5px;flex:none}
.cv-contact{display:flex;flex-wrap:wrap;gap:6px 20px;font-size:.78rem;color:var(--muted);margin-top:16px}
.cv-profile{font-size:.94rem;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:25px;line-height:1.8}
.cv-document section{padding-top:28px}
.cv-document h2{font-family:GeistMono,monospace;font-size:.67rem;font-weight:400;letter-spacing:.1em;text-transform:uppercase;color:var(--green);margin-bottom:20px;line-height:1.6}
.cv-entry{margin-bottom:23px}
.cv-entry:last-child{margin:0}
.entry-top{display:flex;justify-content:space-between;gap:20px}
.entry-top h3{font-size:1rem;line-height:1.4;letter-spacing:-.02em}
.entry-top .entry-date{font-size:.71rem;color:var(--muted);flex:none}
.cv-org{font-size:.78rem;color:var(--muted);margin:4px 0 9px}
.cv-entry ul{font-size:.82rem;padding-left:18px;margin:0}
.cv-entry li+li{margin-top:5px}
.cv-entry p{font-size:.83rem}
.cv-entry p:empty{display:none}
.cv-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px}
.cv-project-title{display:flex;align-items:center;gap:12px;margin-bottom:8px}
.cv-project-title span{font-size:.67rem;color:var(--muted)}
.cv-skills{font-size:.82rem;margin:0}
.cv-skills dt{font-weight:550;margin-top:12px}
.cv-skills dd{margin:3px 0 0;color:var(--muted)}
.error-page{min-height:70vh;padding:65px 0 90px}
.error-page h1{font-size:clamp(6rem,17vw,13rem);letter-spacing:-.08em}
.error-page h2{font-size:2.7rem;margin:25px 0}
.error-page .actions{margin-top:28px}

@media(min-width:1500px){.hero{padding-top:82px}.hero-grid{gap:130px}.hero h1{font-size:9rem}}
@media(max-width:1100px){
  .wrap{width:calc(100% - 72px)}
  .hero-grid{gap:55px;grid-template-columns:1.1fr .9fr}
  .hero h1{font-size:clamp(5rem,10vw,8rem)}
  .hero .lead{font-size:.94rem}
  .portrait-composition{margin-right:18px}
  .now-strip{gap:20px}.now-strip>div+div{padding-left:20px}.now-strip dd{font-size:.76rem}
  .nav-wrap{gap:20px}.site-nav{gap:24px}
  .project-feature{gap:40px}.project-overline{justify-content:start}
  .project-shot{padding:22px;min-height:340px}
  .about-grid{gap:55px}.about-copy{font-size:.95rem}
  .experience-row{grid-template-columns:150px 1fr 1fr;gap:25px}
  .cv-panel{gap:50px;padding:38px}.cv-panel h2{font-size:2.7rem}
  .detail-columns{gap:40px}
}
@media(max-width:760px){
  html{scroll-padding-top:88px}
  .wrap{width:calc(100% - 40px)}
  .section{padding-block:66px}
  .nav-wrap{min-height:70px;gap:10px;flex-wrap:wrap}
  .brand{font-size:.88rem}
  .nav-actions{margin-left:auto;order:2}
  .site-nav{order:3;width:100%;margin:0;border-top:1px solid var(--line);gap:25px;justify-content:center;padding-bottom:8px}
  .site-nav>.nav-contact{padding:10px 0;border:0;gap:8px}
  .menu-enhanced .menu-toggle{display:inline-flex}
  .menu-enhanced .site-nav{display:none}
  .menu-enhanced .site-nav.is-open{display:flex;align-items:stretch;flex-direction:column;gap:0;padding:8px 0 15px;max-height:calc(100dvh - 80px);overflow-y:auto}
  .menu-enhanced .site-nav>a{font-size:1rem;padding:13px 6px}
  .menu-enhanced .site-nav>a[aria-current]::after{right:auto;width:25px}
  .hero{padding-top:42px}
  .hero-grid{grid-template-columns:1.1fr .9fr;gap:35px}
  .hero h1{font-size:clamp(4.5rem,11vw,6rem)}
  .hero-role{font-size:1.15rem}
  .hero .lead{font-size:.87rem;line-height:1.75}
  .hero .eyebrow{font-size:.59rem;letter-spacing:.03em;margin-bottom:20px}
  .hero .btn{padding:12px 16px;font-size:.78rem;gap:14px}
  .portrait-caption{padding:15px;font-size:.72rem}
  .portrait-number{font-size:.56rem}
  .portrait-side{font-size:.52rem;right:-22px}
  .now-strip{margin-top:38px;gap:15px;padding:20px 0}
  .now-strip>div+div{padding-left:15px}
  .now-strip dt{font-size:.54rem}
  .now-strip dd{font-size:.72rem}.now-strip dd span{display:block}
  .section-head{flex-direction:column;align-items:start;gap:22px;margin-bottom:32px}
  .section-head .eyebrow{margin-bottom:16px}
  .section-head>p{max-width:480px;font-size:.9rem}
  .project-feature,.project-reversed{grid-template-columns:1fr;gap:27px;padding:28px 0 40px;margin-top:0}
  .project-info>p{max-width:580px}
  .project-overline{justify-content:space-between;margin-bottom:20px}
  .project-info h3{font-size:3rem}
  .project-info>.project-intro{font-size:1.1rem}
  .project-shot{min-height:0;padding:25px 30px}
  .project-shot img{max-width:650px}
  .project-reversed .project-info,.project-reversed .project-shot{order:initial}
  .shot-topline{margin-bottom:25px}.shot-bottomline{margin-top:22px}
  .about-grid{grid-template-columns:1fr;gap:30px}
  .about-grid h2{font-size:2.55rem;max-width:550px}
  .skills-grid{margin-top:40px}.skills-grid article{padding:25px 18px 0 0}.skills-grid article+article{padding-left:18px}
  .skills-grid h3{font-size:1.1rem}.skills-grid p{font-size:.8rem}.skill-note{font-size:.56rem}
  .experience-row{grid-template-columns:135px 1fr;gap:12px 25px;padding:26px 0}
  .experience-row>p{grid-column:2}
  .experience-row h3{font-size:1.3rem}
  .education-year{display:none}
  .cv-section{padding-bottom:66px}
  .cv-panel{grid-template-columns:1fr;gap:30px;padding:30px}
  .cv-panel h2{font-size:2.5rem}
  .cv-links{gap:24px}
  .cv-language-header{margin-bottom:8px}
  .contact-section{padding-top:62px}
  .contact-head{flex-direction:column;align-items:start;gap:25px}
  .contact-head h2{font-size:3.8rem}
  .contact-head>p{max-width:400px}
  .contact-email{font-size:clamp(1.5rem,5.2vw,2.6rem);padding-top:22px}
  .contact-email>.icon{width:30px;height:30px}
  .copy-status{text-align:left}
  .footer-row{font-size:.68rem}
  .detail-hero{padding:40px 0 30px}
  .detail-hero h1{font-size:5rem}
  .detail-subtitle{font-size:1.65rem}
  .detail-columns{grid-template-columns:1fr;gap:40px}
  .detail-columns h2{font-size:2.3rem}
  .project-summary{gap:20px}.project-summary dd{font-size:.8rem}
  .jarvis-platforms{gap:15px}.jarvis-platform{padding:23px}
  .cv-document{padding:30px}.cv-title h1{font-size:2.65rem}
  .cv-title .job-title{font-size:.95rem}
  .cv-title img{width:70px;height:90px}
  .entry-top{display:block}.entry-top .entry-date{display:block;margin-top:5px}
  .cv-bottom-grid{gap:25px}
  .cv-toolbar .btn{font-size:.76rem;padding:11px 15px;gap:12px}
}
@media(max-width:520px){
  .wrap{width:calc(100% - 36px)}
  .brand-mark{width:32px;height:32px;font-size:23px}
  .brand{gap:9px;font-size:.83rem}
  .nav-actions{gap:6px}.icon-button{width:40px;height:40px}.menu-toggle{padding-inline:10px;font-size:.73rem;gap:6px}
  .site-nav{gap:18px}.site-nav>a{font-size:.76rem}
  .hero-grid{grid-template-columns:1fr;gap:34px}
  .hero h1{font-size:clamp(4.4rem,20.8vw,6.5rem);margin-bottom:22px}
  .hero-role{font-size:1.3rem}
  .hero .lead{font-size:.95rem;max-width:450px}
  .hero .actions{margin-top:23px}
  .hero .btn{font-size:.8rem;min-height:49px;padding-inline:19px}
  .portrait-composition{width:calc(100% - 25px);max-width:360px;margin-right:25px;justify-self:center}
  .portrait-frame img{aspect-ratio:1/1.02;object-position:50% 29%}
  .portrait-caption{font-size:.8rem;padding:17px 20px}.portrait-number{font-size:.62rem}
  .now-strip{grid-template-columns:1fr;gap:0;margin-top:34px;padding:7px 0}
  .now-strip>div,.now-strip>div+div{display:grid;grid-template-columns:100px 1fr;align-items:baseline;padding:12px 0;border:0;gap:10px}
  .now-strip>div+div{border-top:1px solid var(--line)}
  .now-strip dt{font-size:.56rem;margin:0}.now-strip dd{font-size:.73rem}.now-strip dd span{display:inline}
  .section{padding-block:54px}.section-head h2{font-size:2.25rem}.eyebrow{font-size:.6rem}
  .project-info h3{font-size:2.8rem}.project-info>p{font-size:.9rem}
  .project-overline{font-size:.58rem;gap:8px}.pill{font-size:.56rem;padding:4px 7px}
  .project-tags{font-size:.58rem;gap:8px 14px}
  .project-shot{padding:20px 15px}.shot-topline,.shot-bottomline{font-size:.51rem;gap:8px}.shot-topline{margin-bottom:20px}
  .shot-bottomline{margin-top:18px}.shot-bottomline .icon{width:17px;height:17px}
  .about-grid h2{font-size:2.25rem}.about-copy{font-size:.94rem}
  .skills-grid{grid-template-columns:1fr;border-top:0;margin-top:30px;gap:0}
  .skills-grid article,.skills-grid article+article{display:grid;grid-template-columns:32px 1fr;gap:0 15px;border:0;border-top:1px solid var(--line);padding:23px 0}
  .skill-number{grid-column:1;grid-row:1/4;margin:0;padding-top:3px}.skills-grid h3,.skills-grid p,.skill-note{grid-column:2}
  .skills-grid h3{font-size:1.2rem;margin-bottom:11px}.skills-grid p{font-size:.86rem;max-width:100%;margin-bottom:9px}.skill-note{font-size:.57rem;margin-top:0}
  .personal-note{margin-top:0;padding-top:20px;font-size:.75rem}.personal-note span{display:block}
  .experience-row{grid-template-columns:1fr;gap:14px}.experience-row>p{grid-column:auto}
  .experience-row .date{font-size:.61rem}.experience-row h3{font-size:1.4rem}
  .education-note{align-items:start;padding:20px 16px;gap:14px}.education-mark{width:34px;height:34px;font-size:.68rem}.education-note p{font-size:.73rem}.education-note strong{font-size:.8rem}
  .cv-section{padding-bottom:54px}.cv-panel{padding:25px;gap:35px}.cv-panel h2{font-size:2.4rem}
  .cv-language .links{padding-left:0;gap:24px;margin-top:12px}.cv-language-header{gap:12px}.cv-language .fine{font-size:.64rem}.cv-language h3{font-size:1rem}
  .contact-section{padding-top:52px}.contact-head h2{font-size:3.2rem}.contact-head>p{font-size:.87rem}
  .contact-email{font-size:clamp(1.25rem,6.8vw,2.15rem);gap:9px}.contact-email>.icon{width:26px;height:26px}
  .contact-links{gap:20px}.socials{gap:22px}.copy-button{font-size:.74rem}
  .footer-row{flex-wrap:wrap;gap:8px 22px}.footer-row>p:nth-child(2){margin-left:auto}.footer-row>a{width:100%}
  .legal{font-size:.68rem}
  .detail-hero h1{font-size:4.3rem}.detail-subtitle{font-size:1.45rem}
  .project-summary{grid-template-columns:1fr;gap:18px}
  .project-summary>div{display:grid;grid-template-columns:115px 1fr;gap:15px;align-items:center}.project-summary dd{margin:0}
  .jarvis-platforms{grid-template-columns:1fr}.jarvis-platform{padding:25px}
  .notice{padding:19px;font-size:.82rem}.detail-columns h2{font-size:2rem}
  .next-project span{font-size:1.4rem}
  .cv-document{padding:24px 18px}.cv-title{gap:12px}.cv-title h1{font-size:2.3rem}.cv-title img{width:55px;height:75px}
  .cv-title .job-title{font-size:.84rem}.cv-contact{font-size:.73rem;gap:8px}
  .cv-profile{font-size:.86rem}.cv-bottom-grid{grid-template-columns:1fr;gap:0}
  .cv-toolbar{gap:16px}.cv-toolbar .actions{gap:8px}.cv-toolbar .btn{font-size:.72rem;gap:7px;padding:11px 12px}
  .cv-toolbar .btn .icon{width:16px;height:16px}.cv-org{overflow-wrap:anywhere}
  .error-page h2{font-size:2.2rem}
  .lightbox{padding:55px 12px 16px}.lightbox figcaption{font-size:.74rem}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
@media print{
  @page{size:A4;margin:12mm}
  :root,:root[data-theme=dark],:root:not([data-theme=light]){--bg:#fff;--surface:#fff;--ink:#172c23;--muted:#455448;--green:#386840;--line:#cdd6cb;--wash:#f1f4ed;color-scheme:light}
  html{scroll-behavior:auto}
  body{background:#fff!important;color:#172c23!important;font-size:10pt}
  .site-header,.site-footer,.breadcrumb,.cv-toolbar,.skip,.no-print,.lightbox{display:none!important}
  .wrap{width:100%}
  .cv-document{box-shadow:none;border:0;padding:0;margin:0;max-width:none;background:#fff}
  .cv-title{margin-bottom:10px}.cv-title h1{font-size:27pt}.cv-title .job-title{font-size:10.5pt;color:var(--green);margin-bottom:8px}
  .cv-contact{font-size:7.5pt;margin-top:8px;gap:3px 13px}
  .cv-profile{font-size:8.5pt;padding-bottom:10px;margin:0;line-height:1.5}
  .cv-document section{padding-top:12px}.cv-document h2{font-size:7.5pt;margin-bottom:9px;color:var(--green);break-after:avoid}
  .cv-entry{margin-bottom:10px;break-inside:avoid}.cv-entry p,.cv-entry ul,.cv-skills{font-size:8pt;line-height:1.45}
  .entry-top{display:flex}.entry-top h3{font-size:9pt}.entry-top .entry-date,.cv-org{font-size:7.5pt}
  .cv-entry li+li{margin-top:2px}.cv-bottom-grid{grid-template-columns:1fr 1fr;gap:25px}.cv-project-title{margin-bottom:5px}
  .cv-skills dt{margin-top:8px}.cv-title img{width:62px;height:82px}
  a{text-decoration:none}p,li{orphans:2;widows:2}
}
