@font-face{font-family:Manrope;src:url('assets/manrope-cyrillic.woff2') format('woff2');font-style:normal;font-weight:400 700;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Manrope;src:url('assets/manrope-latin.woff2') format('woff2');font-style:normal;font-weight:400 700;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Plex Mono';src:url('assets/plex-mono.ttf') format('truetype');font-weight:400;font-display:swap}
:root{--paper:#f3f4ef;--white:#fcfcf9;--ink:#202a27;--green:#203c35;--green-hover:#305447;--copper:#b96b43;--muted:#68736c;--line:rgba(32,60,53,.15);--radius:16px;--gap:32px;--section:104px;--body:Manrope,Arial,sans-serif;--mono:'Plex Mono',monospace}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:32px}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);font-size:16px;font-weight:400;line-height:1.65;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer;border:0;background:transparent}img{display:block;max-width:100%;height:auto}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid var(--copper);outline-offset:5px}::selection{background:#d7e3ce;color:#14251f}h1,h2,h3,h4,p,figure{margin:0}h1,h2,h3,h4{font-weight:600;letter-spacing:-.045em;text-wrap:balance}p{text-wrap:pretty}ul{padding-left:20px}li::marker{color:var(--copper)}[hidden]{display:none!important}.wrap{width:min(1280px,calc(100% - 96px));margin-inline:auto}.section-pad{padding-block:var(--section)}.eyebrow{font-size:14px;font-weight:600;line-height:1.5;letter-spacing:.01em}.skip-link{position:fixed;left:20px;top:-100px;z-index:100;background:var(--green);color:var(--white);padding:12px 20px}.skip-link:focus{top:16px}
.header{height:112px;display:flex;align-items:center;gap:40px;position:relative;z-index:5;border-bottom:1px solid var(--line)}.name{font-size:19px;line-height:1.35;font-weight:600;letter-spacing:-.03em}.name span{font-size:15px;font-weight:400;letter-spacing:0}.desktop-nav{display:flex;gap:32px;margin-left:auto}.desktop-nav a,.header-contact{font-size:14px;font-weight:600;min-height:48px;display:inline-flex;align-items:center}.desktop-nav a:hover{color:var(--copper)}.header-contact{gap:32px;border-bottom:1px solid var(--green)}.header-contact span{font-size:22px}.menu-toggle{display:none}#mobile-nav{position:absolute;inset:96px 0 auto;background:var(--paper);padding:24px;box-shadow:0 16px 24px #202a2710;border:1px solid var(--line);border-radius:var(--radius)}#mobile-nav a{display:flex;align-items:center;min-height:52px;font-size:18px}
.hero{display:grid;grid-template-columns:1.15fr 1fr;column-gap:var(--gap);padding-top:70px}.hero-copy{position:relative;z-index:2;padding-bottom:64px}.hero .eyebrow{display:flex;align-items:center;gap:10px}.status-dot{width:7px;height:7px;border-radius:50%;background:var(--copper);display:inline-block;flex-shrink:0}h1{font-size:68px;line-height:1.07;margin-top:30px;letter-spacing:-.055em}h1 span{color:var(--green)}.hero-description{font-size:18px;line-height:1.75;max-width:45ch;margin-top:28px;color:#56625b}.hero-actions{display:flex;align-items:center;gap:28px;flex-wrap:wrap;margin-top:32px}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:35px;min-height:56px;padding:14px 22px;background:var(--green);color:var(--white);border-radius:8px;font-size:15px;font-weight:600;transition:background .2s,transform .2s}.button:hover{background:var(--green-hover);transform:translateY(-2px)}.button span{font-size:22px}.text-link{display:inline-flex;align-items:center;gap:20px;min-height:48px;font-size:14px;font-weight:600}.text-link:hover{text-decoration:underline;text-underline-offset:5px}.hero-art{position:relative;min-width:0}.portrait-note{display:flex;align-items:center;justify-content:flex-end;gap:16px;margin-top:-26px;position:relative;z-index:2}.portrait-note img{width:80px;height:88px;object-fit:cover;object-position:50% 30%;border-radius:12px}.portrait-note figcaption{font-size:12px;line-height:1.6;color:var(--muted);text-align:right}.model-stage{position:absolute;inset:40px -25px 6px -34px;isolation:isolate;min-height:390px}.model-stage:after{content:'';position:absolute;bottom:80px;left:17%;width:65%;height:34px;background:#203c3515;filter:blur(21px);border-radius:50%;z-index:-1}#neural-canvas{display:block;width:100%;height:100%;min-height:390px;cursor:grab;touch-action:pan-y;position:relative;z-index:1}#neural-canvas:active{cursor:grabbing}.model-mark{position:absolute;z-index:2;color:var(--muted);font-family:var(--mono);font-size:11px;pointer-events:none;top:38px;left:36px}.model-controls{position:absolute;z-index:3;bottom:19px;right:24px;display:flex;gap:5px}.model-controls button{height:48px;min-width:48px;border:1px solid var(--line);background:#fcfcf9c9;border-radius:50%;display:grid;place-items:center;font-size:17px}.model-controls button:first-child{border-radius:25px;padding:0 18px;font-size:12px}.model-controls button[aria-pressed=true]{background:var(--green);color:var(--white)}.model-controls button:hover{border-color:var(--green)}.pause-icon{font-size:20px;line-height:1}.model-hint{position:absolute;bottom:34px;left:36px;font-size:11px;color:var(--muted);z-index:2}.model-fallback{position:absolute;inset:20% 13% 20%;transform:rotate(-28deg)}.model-fallback span{position:absolute;inset:0;border:2px solid #b96b4370;border-radius:50%;transform:rotateY(45deg)}.model-fallback span:nth-child(2){transform:rotate(60deg) rotateY(45deg)}.model-fallback span:nth-child(3){transform:rotate(120deg) rotateY(45deg)}.model-ready .model-fallback{display:none}.hero-foot{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:32px;border-top:1px solid var(--line);padding:28px 0}.hero-foot p{font-size:13px;color:var(--muted);line-height:1.5}.hero-foot p:first-child{display:flex;align-items:center;gap:20px}.hero-foot strong{font-size:28px;color:var(--ink);font-weight:600;letter-spacing:-.05em}.hero-foot p:nth-child(2){margin-left:auto}.hero-foot>a{display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;width:48px;height:48px;font-size:22px}
.projects{background:var(--white);padding-top:88px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--gap);margin-bottom:48px}.section-heading .eyebrow{color:var(--muted);margin-bottom:20px}h2{font-size:44px;line-height:1.15;max-width:30ch}.section-intro{color:var(--muted);font-size:16px;line-height:1.7;max-width:40ch}.project-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px var(--gap)}.project{min-width:0}.project-preview{display:block;position:relative;border-radius:var(--radius);background:#e9e9e4;overflow:hidden;aspect-ratio:1.65;outline:1px solid #202a2710;outline-offset:-1px}.project-preview img{width:100%;height:100%;object-fit:cover;object-position:top;transition:transform .5s}.project-preview:hover img{transform:scale(1.035)}.preview-link{position:absolute;bottom:16px;right:16px;padding:8px 13px;border-radius:24px;background:var(--white);font-size:12px;box-shadow:0 2px 8px #202a2710}.project-body{padding:26px 2px 0}.project-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.project-title h3{font-size:30px;line-height:1.25}.project-type{font-size:12px;color:var(--muted)}.project-role{color:var(--green);font-size:14px;font-weight:600;margin-top:10px}.project-description{font-size:16px;line-height:1.7;margin-top:18px;max-width:58ch}.project-points{margin:14px 0 18px;font-size:14px;line-height:1.85;color:var(--muted)}.project-points li+li{margin-top:4px}.project-link{display:flex;justify-content:space-between;align-items:center;min-height:48px;border-top:1px solid var(--line);padding-top:12px;font-size:14px;font-weight:600}.project-link span{font-size:24px;transition:transform .2s}.project-link:hover span{transform:translate(3px,-3px)}
.experience{background:var(--green);color:var(--white)}.experience .eyebrow,.experience .section-intro{color:#b9c9bd}.experience-row{display:grid;grid-template-columns:1fr 1.55fr;gap:var(--gap);padding:44px 0;border-top:1px solid #f3f4ef26}.experience-row:last-child{padding-bottom:0}.past-role{color:#c2b6a0;font-size:12px;display:block;margin-bottom:14px}.experience-company h3{font-size:27px;line-height:1.3}.experience-company p{color:#b9c9bd;font-size:14px;margin-top:10px}.experience-company>a{font-size:13px;color:#c5d5ca;display:inline-flex;align-items:center;gap:32px;min-height:48px;margin-top:22px;text-decoration:underline;text-underline-offset:5px;text-decoration-color:#c5d5ca66}.experience-company>a:hover{color:#fff}.experience-details h4{font-size:24px}.experience-position{font-size:14px;color:#bdcec2;margin-top:7px}.experience-details ul{margin-block:24px;font-size:16px;line-height:1.75;color:#e1e9e2;max-width:65ch}.experience-details li+li{margin-top:9px}.experience-details li::marker{color:#d5a486}.tech-line{font-size:12px;letter-spacing:.02em;color:#b9c9bd;border-top:1px solid #f3f4ef1a;padding-top:18px}.expertise-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gap)}.expertise-grid article{border-top:1px solid var(--line);padding-top:26px}.skill-symbol{font-size:32px;line-height:1;color:var(--copper);height:58px;display:block}.expertise-grid h3{font-size:24px;line-height:1.35;letter-spacing:-.03em}.expertise-grid p{font-size:16px;line-height:1.8;color:var(--muted);margin-top:18px;max-width:38ch}
.contact{background:#e6e9df;padding-block:62px}.contact-inner{display:flex;justify-content:space-between;align-items:center;gap:var(--gap)}.contact .eyebrow{color:var(--muted);margin-bottom:20px}.contact h2{font-size:38px}.contact p:not(.eyebrow){margin-top:18px;font-size:16px;color:var(--muted)}.contact-link{display:flex;align-items:center;gap:48px;font-size:28px;font-weight:600;letter-spacing:-.04em;min-height:80px}.contact-link small{font-size:12px;color:var(--muted);font-weight:400;letter-spacing:0;display:block;margin-bottom:8px}.contact-arrow{width:64px;height:64px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-size:36px;transition:transform .2s}.contact-link:hover .contact-arrow{transform:translate(3px,-3px)}.footer{display:flex;align-items:center;gap:32px;padding-block:28px;font-size:12px;color:var(--muted)}.footer>span{margin-left:auto}.footer a{min-height:48px;display:flex;align-items:center}
@media(min-width:1500px){.hero{padding-top:86px}.hero-copy{padding-bottom:78px}h1{font-size:76px}.model-stage{inset:40px -28px 6px -40px}}
@media(max-width:1150px){.wrap{width:calc(100% - 64px)}.header{gap:28px}.desktop-nav{gap:24px}.hero{padding-top:60px;grid-template-columns:1.12fr 1fr}h1{font-size:56px}.hero-description{font-size:17px}.hero-actions{gap:20px}.hero-actions .text-link{font-size:13px}.model-stage{inset:50px -24px 12px -36px}.portrait-note{margin-top:-25px}.project-title{align-items:flex-start}.project-type{max-width:145px;text-align:right}h2{font-size:38px}.section-intro{font-size:14px}.contact-link{gap:25px;font-size:26px}}
@media(max-width:900px){:root{--section:80px;--gap:28px}.desktop-nav{gap:20px}.header-contact{display:none}.header{height:100px}.hero{grid-template-columns:1.15fr .85fr}h1{font-size:47px}.hero-description{font-size:16px}.hero-actions{gap:10px}.button{font-size:14px}.hero-art{min-height:380px}.portrait-note{margin-top:-18px}.portrait-note figcaption{display:none}.portrait-note img{width:64px;height:72px}.model-stage{inset:55px -24px 30px -60px}.model-mark{display:none}.model-hint{left:52px;bottom:0}.model-controls{right:16px;bottom:22px}.hero-foot p:first-child{gap:12px}.hero-foot p{font-size:12px}.hero-foot strong{font-size:25px}.section-heading{gap:24px}.section-intro{max-width:30ch}.section-intro br{display:none}.project-title{display:block}.project-type{display:block;text-align:left;max-width:none;margin-top:6px}.project-title h3{font-size:28px}.project-role{font-size:13px}.experience-row{grid-template-columns:1fr 1.45fr}.experience-company h3{font-size:24px}.experience-details h4{font-size:22px}.experience-position{font-size:13px}.expertise-grid h3{font-size:21px}.contact-inner{align-items:flex-start;flex-direction:column;gap:30px}.contact-link{gap:70px}}
@media(max-width:699px){:root{--section:64px;--gap:24px}.wrap{width:calc(100% - 40px)}.header{height:92px;gap:16px}.name{font-size:17px}.name span{font-size:13px}.desktop-nav{display:none}.menu-toggle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;width:48px;height:48px;margin-left:auto;border:1px solid var(--line);border-radius:50%}.menu-toggle span{width:19px;height:1px;background:var(--ink);transition:transform .2s}.menu-toggle[aria-expanded=true] span:first-child{transform:translateY(4px) rotate(45deg)}.menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-4px) rotate(-45deg)}.hero{display:flex;flex-direction:column;padding-top:32px;position:relative}.hero-copy{padding-bottom:0}.hero .eyebrow{font-size:11px;max-width:230px;line-height:1.7;min-height:38px;padding-right:8px}.hero .status-dot{width:5px;height:5px}h1{font-size:45px;line-height:1.08;margin-top:24px;letter-spacing:-.05em}.hero-description{font-size:16px;line-height:1.8;margin-top:22px;max-width:40ch}.hero-actions{margin-top:26px;gap:8px 18px}.hero-actions .text-link{font-size:13px;gap:10px}.button{min-height:52px;padding-inline:16px;gap:20px;font-size:13px}.hero-art{position:static;min-height:300px;margin-top:8px}.portrait-note{position:absolute;right:0;top:20px;margin:0}.portrait-note img{width:50px;height:56px;border-radius:8px}.model-stage{position:relative;inset:auto;height:300px;min-height:300px;width:100%;margin:0}#neural-canvas{min-height:300px;height:300px}.model-stage:after{bottom:50px}.model-hint{left:0;bottom:19px;font-size:10px}.model-controls{right:0;bottom:4px}.hero-foot{padding:24px 0;gap:20px;width:100%;margin-top:8px}.hero-foot p:first-child{display:block;max-width:210px;font-size:12px}.hero-foot strong{display:block;font-size:28px;margin-bottom:5px}.hero-foot p:nth-child(2){display:none}.hero-foot>a{margin-left:auto}.projects{padding-top:58px}.section-heading{display:block;margin-bottom:32px}.section-heading .eyebrow{margin-bottom:14px;font-size:13px}h2{font-size:32px;line-height:1.2;letter-spacing:-.045em}.section-intro{font-size:16px;max-width:40ch;margin-top:20px}.project-grid{grid-template-columns:1fr;gap:44px}.project-preview{border-radius:12px;aspect-ratio:1.5}.preview-link{font-size:11px;bottom:10px;right:10px;padding:6px 10px}.project-body{padding:20px 0 0}.project-title{display:flex;align-items:center;gap:20px}.project-title h3{font-size:28px}.project-type{font-size:11px;max-width:130px;text-align:right;margin-top:0}.project-role{font-size:13px;margin-top:10px}.project-description{font-size:16px;margin-top:14px}.project-points{font-size:16px;line-height:1.65;margin-top:12px}.project-link{font-size:14px}.experience-row{display:block;padding:30px 0}.experience-company{margin-bottom:24px}.past-role{margin-bottom:8px;font-size:12px}.experience-company h3{font-size:25px}.experience-company h3 br{display:none}.experience-company p{font-size:13px;margin-top:6px}.experience-company>a{margin-top:10px;min-height:48px}.experience-details h4{font-size:22px}.experience-position{font-size:14px}.experience-details ul{margin-block:18px;font-size:16px}.experience-details li+li{margin-top:12px}.tech-line{font-size:12px;line-height:1.8}.expertise-grid{grid-template-columns:1fr;gap:30px}.expertise-grid article{position:relative;padding-top:24px}.skill-symbol{position:absolute;right:4px;top:26px;font-size:28px;height:auto}.expertise-grid h3{font-size:24px;padding-right:50px}.expertise-grid p{font-size:16px;max-width:42ch;margin-top:14px}.contact{padding-block:44px}.contact h2{font-size:31px}.contact p:not(.eyebrow){font-size:16px;line-height:1.75}.contact-link{font-size:28px;justify-content:space-between;gap:24px;width:100%;min-height:70px}.contact-arrow{width:56px;height:56px;font-size:30px}.footer{gap:16px;flex-wrap:wrap;padding-block:18px}.footer p{font-size:12px;width:100%}.footer>span{margin-left:0}.footer a{margin-left:auto;font-size:12px}}
@media(max-width:379px){h1{font-size:39px}.hero .eyebrow{font-size:10px;max-width:215px}.portrait-note img{width:44px;height:50px}.hero-actions{gap:4px 13px}.hero-actions .text-link{font-size:12px}.button{font-size:12px;padding-inline:13px;gap:14px}.project-title h3{font-size:25px}.project-type{max-width:115px}.contact h2{font-size:28px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* Second pass: tighter first screen and aligned project footers. */
.project{display:flex;flex-direction:column}.project-body{display:flex;flex-direction:column;flex:1}.project-link{margin-top:auto}.project-points{font-size:16px;line-height:1.7}.section-intro{font-size:16px}
@media(max-width:699px){h1{font-size:40px}.hero-art{min-height:270px}.model-stage,#neural-canvas{height:270px;min-height:270px}.hero-foot{padding-block:20px}}
@media(max-width:379px){h1{font-size:36px}}

/* Third pass: stronger reading contrast, quieter section rhythm. */
:root{--muted:#5f6b63}.hero-copy{padding-bottom:52px}.hero{padding-top:60px}.portrait-note figcaption{color:#5f6b63}.model-mark,.model-hint{color:#5f6b63}.project-body{padding-top:24px}.project-points{margin-bottom:22px}
@media(max-width:699px){.hero{padding-top:32px}.hero-copy{padding-bottom:0}.project-body{padding-top:20px}.hero .eyebrow{padding-right:0}}
