@font-face{font-family:Geist;src:url('assets/geist-latin.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:Geist;src:url('assets/geist-cyrillic.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
:root{color-scheme:light;--bg:#fdfdfc;--fg:#292929;--muted:#999997;--line:rgba(17,17,17,.1);--subtle:rgba(17,17,17,.05);--button:#111;--inverse:#fdfdfc}
:root[data-theme=dark]{color-scheme:dark;--bg:#111;--fg:#e5e5e4;--muted:#70706f;--line:rgba(253,253,252,.1);--subtle:rgba(253,253,252,.05);--button:#fdfdfc;--inverse:#111}
*{box-sizing:border-box}html{scrollbar-width:thin;scrollbar-color:var(--muted) transparent;scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--fg);font-family:Geist,Arial,sans-serif;font-size:.875rem;line-height:1.4;letter-spacing:-.01em;-webkit-font-smoothing:antialiased;text-wrap:pretty}h1,h2,h3,p,figure{margin:0;font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;border:0;background:none;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid var(--muted);outline-offset:4px}img,svg{display:block;max-width:100%}button:active{transform:scale(.98)}.sr-only,.skip-link:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link:focus{position:fixed;z-index:9;top:8px;left:8px;background:var(--bg);padding:12px}
.layout{max-width:1200px;margin:auto;padding:0 32px;display:flex;justify-content:center;align-items:flex-start;gap:80px}.profile{position:sticky;top:0;flex:none;width:300px;padding:32px 0 60px;display:flex;flex-direction:column;gap:32px}.profile-top{position:relative;width:100%}.portrait-button{display:block;padding:0;width:149px;height:169px;border-radius:8px;overflow:hidden}.portrait{width:100%;height:100%;object-fit:cover;object-position:50% 40%;transition:transform .35s}.portrait-button:hover .portrait{transform:scale(1.04)}.theme-toggle{position:absolute;right:0;top:0;display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--line);border-radius:12px;transition:background .15s}.theme-toggle:hover{background:var(--subtle)}.theme-toggle svg{width:22px;height:22px}.theme-toggle .sun{display:none}[data-theme=dark] .theme-toggle .sun{display:block}[data-theme=dark] .theme-toggle .moon{display:none}.profile-content{display:flex;flex-direction:column;gap:24px}.eyebrow{font-size:.75rem;line-height:1.3333;font-weight:500;color:var(--muted);margin-bottom:8px}.built>.eyebrow{margin-bottom:12px}#project-links{display:grid;gap:12px}.project-link{display:flex;align-items:center;gap:16px;min-height:40px;border:1px solid transparent;border-radius:8px;transition:opacity .15s}.project-link:hover{opacity:.65}.project-icon{width:32px;height:32px;border-radius:8px;display:grid;place-items:center;flex:none;font-size:21px;font-weight:500;background:var(--subtle)}.project-icon svg{width:22px;height:22px}.project-link span{display:block}.project-link small{display:block;color:var(--muted);font-size:.75rem;font-weight:500;line-height:1.4;margin-top:2px}.contact-button{position:relative;margin-top:0;width:100%;height:40px;flex:none;border-radius:10px;background:var(--button);color:var(--inverse);font-weight:500;transition:opacity .15s}.contact-button:hover{opacity:.8}kbd{font:inherit;font-size:12px;position:absolute;right:8px;top:8px;display:grid;place-items:center;width:24px;height:24px;border:1px solid currentColor;border-radius:7px;opacity:.55}.work{width:600px;flex:none}.gallery{display:grid;gap:24px;padding:32px 0}.work-card{scroll-margin-top:32px}.work-image{width:100%;aspect-ratio:1;border:1px solid var(--subtle);border-radius:12px;overflow:hidden;background:var(--subtle)}.work-image img{width:100%;height:100%;object-fit:cover}.work-card figcaption{margin-top:12px}footer{display:flex;justify-content:flex-end;gap:16px;padding:28px 0 32px;font-size:.75rem;color:var(--muted)}footer a,footer button{padding:0;border-bottom:1px solid var(--line)}footer a:hover,footer button:hover{color:var(--fg)}dialog{width:calc(100% - 48px);max-width:320px;padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--bg);color:var(--fg);box-shadow:0 15px 80px #0002}dialog::backdrop{background:#0005;backdrop-filter:blur(5px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.dialog-head h2{font-size:16px;font-weight:500}.close{font-size:25px;line-height:1;width:28px;height:28px;padding:0;color:var(--muted);border-radius:8px}.close:hover{background:var(--subtle)}.contact-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px 10px;text-align:left;border-radius:8px}.contact-row:hover{background:var(--subtle)}.contact-row span:last-child{color:var(--muted);font-size:12px}.contact-note{color:var(--muted);padding:10px 0;font-size:14px}.portrait-dialog{max-width:640px;padding:0;overflow:hidden;background:#000}.portrait-dialog .close{position:absolute;right:12px;top:12px;color:white;background:#2229}.portrait-dialog img{width:100%;max-height:80dvh;object-fit:contain}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,12px);border:1px solid var(--line);background:var(--bg);padding:10px 16px;border-radius:10px;box-shadow:0 5px 30px #0001;opacity:0;pointer-events:none;transition:.2s;z-index:10}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1023px){.layout{flex-direction:column;align-items:center;gap:40px;padding:32px 24px}.profile{position:relative;top:auto;padding:0;width:100%;max-width:448px}.portrait-button{width:298px;height:338px;margin:auto}.work{width:100%;max-width:448px}.gallery{padding:0}.contact-button{margin-top:0}footer{padding-bottom:0}.theme-toggle{top:0}.profile-top{padding-top:0}}
@media(max-width:360px){.portrait-button{width:230px;height:262px}.layout{padding:24px 20px}.theme-toggle{right:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
.project-link>.project-icon{display:grid}
.theme-toggle{background:var(--bg)}
