*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:54px}body{margin:0;background:#f7fdff;color:#171714;font-family:Arial,Helvetica,sans-serif;font-size:13px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:0;background:none}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:2px solid #ff502b;outline-offset:4px}button:hover,a:hover{color:#ff502b}button:disabled{cursor:default}::selection{background:#ff502b;color:white}.sidebar{width:286px;height:100dvh;position:fixed;inset:0 auto 0 0;padding:22px 20px 15px;display:flex;flex-direction:column;border-right:1px solid #d4d4cd;z-index:3;background:#f7fdff;overflow-y:auto}.identity{display:flex;align-items:center;justify-content:space-between;padding-bottom:20px;border-bottom:1px solid #d4d4cd}.wordmark{font-size:39px;font-weight:800;letter-spacing:-3px;line-height:1}.dot{color:#ff502b}.languages{display:flex;align-items:center;gap:5px;font-size:10px}.languages button{padding:5px 1px;opacity:.45}.languages button[aria-pressed=true]{opacity:1;text-decoration:underline;text-underline-offset:4px}.intro{padding-top:29px}.eyebrow{font-size:10px;font-weight:400;letter-spacing:.07em;margin:0 0 17px}.intro h1{font-size:46px;line-height:.94;letter-spacing:-2.9px;margin:0 0 21px;font-weight:700;overflow-wrap:normal}.summary{font-size:14px;line-height:1.35;margin:0 0 20px;max-width:230px}.location{display:flex;align-items:flex-start;gap:7px;font-size:10px;line-height:1.5;color:#686861;max-width:220px}.location-dot,.live-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#ff502b;flex-shrink:0;margin-top:5px}.sidebar-bottom{margin-top:auto;padding-top:40px}.filters{display:flex;flex-direction:column}.filter{display:flex;justify-content:space-between;align-items:center;width:100%;padding:9px 0;text-align:left;font-size:10px;letter-spacing:.01em;border-bottom:1px solid #deded7}.filter-count{font-size:9px;color:#77776e}.filter.active{color:#ff502b}.filter.active .filter-count{color:#ff502b}.about-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;font-size:10px;padding:19px 0}.plus{font-size:19px;line-height:1}.contact{border-top:1px solid #aaa99f;padding-top:15px}.contact-title{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:16px}.contact-title>span:last-child{font-size:20px}.contact-links{display:grid;grid-template-columns:1fr 1fr;gap:13px 8px;font-size:9px}.contact-links button{text-align:left;padding:0;font-size:9px}.sidebar-footer{font-size:8px;letter-spacing:.03em;margin:24px 0 0;color:#87877e}main{margin-left:286px}.work-toolbar{height:54px;display:flex;justify-content:space-between;align-items:center;padding:0 22px;font-size:9px;letter-spacing:.04em;border-bottom:1px solid #d4d4cd;background:#f7fdff;position:sticky;top:0;z-index:2}.work-toolbar>span:first-child{display:flex;align-items:center;gap:8px}.work-toolbar .live-dot{margin:0}.muted{color:#88887e}.toolbar-note{color:#77776e}.gallery{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-flow:dense;gap:3px;background:#f7fdff}.project{position:relative;display:block;width:100%;padding:0;overflow:hidden;text-align:left;background:#ccc;grid-column:span 4;height:330px;color:white}.project:first-child{grid-column:span 8;height:410px}.project:nth-child(2){height:410px}.project:nth-child(3),.project:nth-child(4){grid-column:span 6;height:320px}.project:nth-child(5),.project:nth-child(6),.project:nth-child(7){height:390px}.project:nth-child(8),.project:nth-child(9){grid-column:span 6;height:360px}.project:nth-child(10){height:360px}.project:nth-child(11){grid-column:span 8;height:360px}.project:nth-child(12){grid-column:span 6;height:320px}.project:nth-child(13),.project:nth-child(14){grid-column:span 3;height:320px}.project img,.project video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .55s ease}.project.portrait img,.project.portrait video{object-fit:contain;background:var(--cover-bg,#3528d9)}.project video{opacity:0;transition:opacity .25s,transform .55s;pointer-events:none}.project.is-playing video{opacity:1}.project:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.65),transparent 48%);pointer-events:none}.project:hover img,.project:hover video{transform:scale(1.035)}.project:hover{color:white}.project:focus-visible{outline-offset:-4px;z-index:1}.project-meta{position:absolute;bottom:20px;left:20px;right:20px;z-index:1}.project-category{font-size:9px;letter-spacing:.06em;opacity:.8;display:block;margin-bottom:7px}.project-title{font-size:23px;line-height:1.04;letter-spacing:-.7px;font-weight:500;display:block;padding-right:28px}.project-number{position:absolute;top:16px;left:18px;font-size:9px;z-index:1;background:rgba(0,0,0,.2);padding:4px 6px;color:white}.project:first-child .project-title{font-size:36px;letter-spacing:-1px}.play-icon{position:absolute;right:0;bottom:0;width:30px;height:30px;display:grid;place-items:center;border:1px solid #ffffff90;border-radius:50%;font-size:10px;padding-left:2px;transition:background .2s}.project:hover .play-icon{background:#f7fdff;color:#171714}.duration{position:absolute;right:16px;top:18px;z-index:1;font-size:9px;background:rgba(0,0,0,.2);padding:4px 6px}.gallery.filtered .project{grid-column:span 6;height:360px}.gallery.filtered .project.portrait{grid-column:span 4;height:440px}.main-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:40px 22px;font-size:10px;border-top:1px solid #d4d4cd}.main-footer a{font-size:9px}.about-panel{padding:26px 8% 60px;min-height:calc(100dvh - 54px)}.about-header{display:flex;align-items:center;justify-content:space-between}.about-header .eyebrow{margin:0}.close-button{font-size:32px;padding:4px 8px;line-height:1}.about-panel h2{font-size:clamp(42px,5vw,75px);letter-spacing:-.055em;line-height:1;margin:55px 0 32px;max-width:800px}.about-lead{font-size:23px;line-height:1.4;max-width:680px;letter-spacing:-.4px}.about-detail{font-size:15px;line-height:1.6;max-width:620px;color:#6a6a61;margin-bottom:50px}.about-section{border-top:1px solid #c7c7bd;padding:22px 0;max-width:800px}.about-section h3{font-size:10px;font-weight:400;letter-spacing:.06em;margin:0 0 20px}.experience>div{display:grid;grid-template-columns:1.3fr 1.2fr 1fr;gap:15px;align-items:start;margin:0 0 17px;font-size:13px}.experience>div>span:last-child{text-align:right;color:#77776c}.experience>div>span:nth-child(2){color:#77776c}.about-section p{font-size:13px;line-height:1.8;margin:0}.about-email{display:inline-block;margin-top:35px;font-size:clamp(18px,3vw,34px);letter-spacing:-1px}dialog{border:0;padding:0;width:min(1080px,94vw);max-height:94dvh;background:#f7fdff;color:#171714}dialog::backdrop{background:#141410da;backdrop-filter:blur(8px)}.player-top{padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}.player-top .eyebrow{font-size:9px;margin-bottom:8px;color:#77776c}.player-top h2{font-size:25px;margin:0;font-weight:500;letter-spacing:-.6px}#player-media{background:#080808;height:min(63dvh,650px);display:flex;align-items:center;justify-content:center}#player-media iframe,#player-media video{width:100%;height:100%;border:0;object-fit:contain}.player-bottom{display:flex;justify-content:space-between;gap:20px;font-size:9px;padding:18px 24px;color:#737369}.player-bottom a{color:#171714}#toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%) translateY(20px);background:#171714;color:#f7fdff;padding:14px 22px;z-index:20;font-size:12px;opacity:0;pointer-events:none;transition:.2s}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.skip{position:fixed;left:12px;top:-60px;z-index:50;background:#171714;color:white;padding:12px}.skip:focus{top:12px}[hidden]{display:none!important}body[data-lang=ru] .intro h1{font-size:39px;letter-spacing:-2px}body[data-lang=es] .intro h1{font-size:41px;letter-spacing:-2.4px}
@media(min-width:1600px){.sidebar{width:330px;padding:25px}.intro h1{font-size:54px}main{margin-left:330px}.project{height:420px}.project:first-child,.project:nth-child(2){height:500px}.project:nth-child(3),.project:nth-child(4){height:400px}.project:nth-child(5),.project:nth-child(6),.project:nth-child(7){height:480px}}
@media(max-height:800px) and (min-width:861px){.sidebar{padding-top:16px}.identity{padding-bottom:15px}.intro{padding-top:21px}.intro h1{font-size:40px}.summary{font-size:13px}.sidebar-bottom{padding-top:22px}.filter{padding:7px 0}.about-toggle{padding:14px 0}.sidebar-footer{margin-top:17px}.location{margin-bottom:0}body[data-lang=ru] .intro h1{font-size:34px}body[data-lang=es] .intro h1{font-size:36px}}
@media(max-width:1100px) and (min-width:861px){.sidebar{width:250px;padding-left:17px;padding-right:17px}main{margin-left:250px}.intro h1{font-size:40px}.project-title{font-size:20px}.project-meta{left:14px;right:14px;bottom:16px}.toolbar-note{display:none}.project:first-child,.project:nth-child(2){height:330px}}
@media(max-width:860px){.sidebar{position:relative;width:100%;height:auto;overflow:visible;padding:16px 18px 0;border-right:0}.identity{padding-bottom:15px}.wordmark{font-size:34px}.languages{font-size:11px;gap:8px}.intro{padding:25px 0 23px;position:relative}.intro .eyebrow{font-size:9px;margin-bottom:17px}.intro h1{font-size:clamp(43px,9vw,75px);letter-spacing:-.055em;margin-bottom:16px}.summary{position:absolute;right:0;top:65px;width:42%;font-size:14px}.location{max-width:100%;font-size:10px;margin:0}.sidebar-bottom{padding:0;margin:0}.filters{display:flex;flex-direction:row;gap:18px;overflow-x:auto;white-space:nowrap;border-top:1px solid #c7c7bd;padding:4px 0}.filter{width:auto;border-bottom:0;gap:6px;font-size:9px;padding:12px 0;flex-shrink:0}.filter-count{font-size:8px}.about-toggle{position:absolute;right:18px;top:249px;width:auto;gap:16px;padding:0;font-size:9px}.contact{padding:15px 0;display:flex;justify-content:space-between;align-items:center;gap:20px}.contact-title{font-size:10px;margin:0;gap:10px}.contact-title>span:last-child{font-size:16px}.contact-links{grid-template-columns:repeat(2,auto);column-gap:17px;row-gap:8px;font-size:8px}.contact-links button{font-size:8px}.sidebar-footer{display:none}main{margin-left:0}.work-toolbar{height:42px;padding:0 18px;font-size:8px}.toolbar-note{font-size:7px}.gallery{gap:2px}.project,.project:nth-child(n){grid-column:span 6;height:330px}.project:first-child{grid-column:span 12;height:390px}.project:nth-child(2){height:330px}.project:last-child{grid-column:span 12}.project-meta{left:15px;right:15px;bottom:16px}.project-title{font-size:21px}.project:first-child .project-title{font-size:31px}.project-category{font-size:8px}.gallery.filtered .project,.gallery.filtered .project.portrait{grid-column:span 6;height:330px}.main-footer{padding:28px 18px;font-size:9px}.about-panel{padding:24px 22px 45px}.about-panel h2{font-size:48px;margin-top:35px}.about-lead{font-size:19px}.experience>div{font-size:11px;grid-template-columns:1.1fr 1fr 1fr;gap:8px}.player-top{padding:14px 16px}.player-top h2{font-size:22px}.player-bottom{padding:15px 16px;font-size:8px;line-height:1.4}#player-media{height:60dvh}body[data-lang=ru] .intro h1{font-size:clamp(36px,8vw,65px)}body[data-lang=es] .intro h1{font-size:clamp(38px,8.5vw,68px)}}
@media(max-width:480px){.intro h1{font-size:43px}.summary{top:67px;font-size:12px;width:43%;max-width:160px}.about-toggle{top:236px}.project,.project:nth-child(n){height:265px}.project:first-child{height:300px}.project-title{font-size:18px;letter-spacing:-.4px}.project:first-child .project-title{font-size:28px}.project-meta{left:12px;right:12px}.project-number{top:12px;left:12px}.duration{top:12px;right:12px}.play-icon{width:25px;height:25px;font-size:8px}.gallery.filtered .project,.gallery.filtered .project.portrait{height:275px}.about-panel h2{font-size:42px}.toolbar-note{display:none}.contact-title{max-width:130px;font-size:9px}.about-email{letter-spacing:-.5px}body[data-lang=ru] .intro h1{font-size:36px}body[data-lang=es] .intro h1{font-size:38px}body[data-lang=ru] .summary,body[data-lang=es] .summary{font-size:11px}.main-footer>span{max-width:190px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
@media(max-width:860px){.summary{position:static;width:auto;max-width:none;margin:0 0 16px;font-size:13px}.intro{padding-bottom:18px}.about-toggle{position:static;width:100%;padding:14px 0;border-top:1px solid #d4d4cd}.filters{scrollbar-width:none}.filters::-webkit-scrollbar{display:none}.contact{padding-top:12px}.intro h1{margin-bottom:20px}body[data-lang=ru] .summary,body[data-lang=es] .summary{font-size:13px}}

.sidebar .intro h1,body[data-lang=ru] .sidebar .intro h1,body[data-lang=es] .sidebar .intro h1{font-size:32px;line-height:1.08;letter-spacing:-1.2px;font-weight:600;margin:0 0 23px}
@media(min-width:1600px){.sidebar .intro h1,body[data-lang=ru] .sidebar .intro h1,body[data-lang=es] .sidebar .intro h1{font-size:37px}}
@media(max-width:1100px) and (min-width:861px){.sidebar .intro h1,body[data-lang=ru] .sidebar .intro h1,body[data-lang=es] .sidebar .intro h1{font-size:29px}}

.about-header{justify-content:flex-end}.about-panel h2{font-size:32px;letter-spacing:-1px;margin:12px 0 24px;line-height:1.15}.about-lead{font-size:18px;line-height:1.5;letter-spacing:0;margin-bottom:36px}.experience>article{padding:0 0 23px;margin-bottom:24px;border-bottom:1px solid #deded7}.experience>article:last-child{margin:0;padding:0;border:0}.experience-role{display:grid;grid-template-columns:1.3fr 1.2fr 1fr;gap:15px;font-size:13px;margin-bottom:14px}.experience-role>span:first-child{font-weight:600}.experience-role>span:nth-child(2),.experience-role>span:last-child{color:#77776c}.experience-role>span:last-child{text-align:right}.duties{margin:0;padding-left:17px;max-width:740px;font-size:14px;line-height:1.55;color:#505049}.duties li{padding-left:3px;margin:0 0 8px}.duties li:last-child{margin-bottom:0}@media(max-width:600px){.experience-role{grid-template-columns:1fr auto;gap:6px;font-size:12px}.experience-role>span:nth-child(2){grid-row:2;grid-column:1/-1}.experience-role>span:last-child{grid-row:1;grid-column:2}.duties{font-size:13px}.about-lead{font-size:16px}}

.top-contact{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:20px;padding:17px 0 0;border-top:1px solid #d4d4cd}.top-contact h2{font-size:10px;font-weight:400;letter-spacing:.06em;margin:0 0 3px}.email-contact,.linkedin-contact{font-size:12px;line-height:1.4}.top-contact .contact-links{width:100%;display:flex;flex-wrap:wrap;gap:14px;margin-top:7px}.skills-section .toolkit{margin:0 0 9px}.skills-section .toolkit:last-child{margin-bottom:0}.skills-section .toolkit>span{font-weight:600}@media(max-width:860px){.top-contact{margin:0 0 20px;padding-top:16px;gap:9px}.top-contact .contact-links{gap:20px}.sidebar-bottom{padding-top:0}}

.telegram-contact{font-size:12px;line-height:1.4}.sidebar .about-toggle{font-size:17px;font-weight:600;line-height:1.25;text-align:left;gap:14px;padding:20px 0}.sidebar .about-toggle .plus{font-size:24px;flex-shrink:0}@media(max-width:860px){.sidebar .about-toggle{font-size:19px;padding:18px 0}}

.manage-videos{font-size:9px;text-align:left;padding:10px 0;color:#77776e}.manage-videos:hover{color:#ff502b}#admin-dialog{width:min(620px,94vw);padding:22px 26px}.admin-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.admin-top h2{font-size:22px;font-weight:500;letter-spacing:-.5px}#admin-form{display:flex;flex-direction:column;gap:19px}#admin-form label{display:flex;flex-direction:column;gap:8px;font-size:13px}#admin-form input,#admin-form select{font:inherit;padding:11px;border:1px solid #c7c7bd;background:#fff;color:#171714;min-width:0;width:100%}#admin-form small{font-size:11px;line-height:1.5;color:#737369}.admin-save{background:#171714;color:white;padding:14px}.admin-save:disabled{opacity:.5;cursor:wait}#admin-status{font-size:12px;line-height:1.5;margin:0 0 12px}@media(max-width:860px){.manage-videos{margin-bottom:12px}}

.work-modes{font-size:12px;line-height:1.65;color:#686861;margin:0;max-width:245px}.intro .summary{margin-bottom:8px}.skills-section .toolkit>.skill-values{font-weight:400}.language-skills{max-width:780px}#admin-current{display:grid;grid-template-columns:100px 1fr;gap:16px;align-items:center;border:1px solid #d4d4cd;padding:12px}#admin-current img{width:100%;height:90px;object-fit:contain;background:#e9e9e1}#admin-current p{font-size:12px;line-height:1.5;margin:0;color:#686861}.admin-delete{color:#b52e1d;padding:12px;border:1px solid #b52e1d}.admin-undo{padding:12px;border:1px solid #aaa99f}#delete-confirm{padding:14px;border:1px solid #b52e1d;font-size:13px;line-height:1.5}.delete-actions{display:flex;gap:16px;flex-wrap:wrap}.delete-actions button{padding:9px 12px;border:1px solid #aaa99f}.delete-actions button:first-child{background:#b52e1d;color:white;border-color:#b52e1d}@media(max-width:860px){.work-modes{max-width:440px}}

/* Compact horizontal profile header. */
.sidebar{position:relative;inset:auto;width:100%;height:auto;overflow:visible;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px 32px;padding:18px 28px 0;border:0;border-bottom:1px solid #d4d4cd}
.sidebar .identity{grid-column:1/-1;padding:0 0 14px}.sidebar .wordmark{font-size:32px}.sidebar .intro{padding:0;min-width:0}.sidebar .intro h1,body[data-lang=ru] .sidebar .intro h1,body[data-lang=es] .sidebar .intro h1{font-size:clamp(26px,3vw,38px);line-height:1.1;letter-spacing:-1.3px;white-space:nowrap;margin:0 0 12px}.sidebar .intro .summary{position:static;width:auto;max-width:none;font-size:13px;margin:0 0 5px}.sidebar .work-modes{max-width:none;font-size:11px;margin:0}.sidebar .top-contact{align-self:center;display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;justify-content:flex-end;max-width:550px;gap:13px 18px;border:0;padding:0;margin:0}.sidebar .top-contact h2{width:100%;margin:0;font-size:9px;text-align:right}.sidebar .top-contact>a{font-size:11px;white-space:nowrap}.sidebar .top-contact .contact-links{display:contents}.sidebar .top-contact .contact-links>a{font-size:10px;white-space:nowrap}.sidebar .sidebar-bottom{grid-column:1/-1;margin:0;padding:0;display:flex;align-items:center;gap:22px;border-top:1px solid #d4d4cd}.sidebar .filters{flex:1;display:flex;flex-direction:row;align-items:center;gap:20px;overflow:auto;white-space:nowrap;border:0;padding:0;scrollbar-width:none}.sidebar .filter{width:auto;flex-shrink:0;gap:6px;border:0;padding:18px 0;font-size:9px}.sidebar .about-toggle{position:static;width:auto;flex-shrink:0;border:0;padding:17px 0;font-size:17px;gap:15px}.sidebar .manage-videos{flex-shrink:0;font-size:9px;padding:17px 0;margin:0}.sidebar-footer{display:none}main{margin-left:0}.work-toolbar{padding-left:28px;padding-right:28px}.about-panel{max-width:1200px;margin:0 auto;padding:24px 32px 60px}.about-panel .about-section{max-width:none}.about-panel .about-lead{max-width:900px}.about-panel .experience .duties{max-width:900px}
@media(max-width:1100px){.sidebar{grid-template-columns:1fr;padding:16px 20px 0;gap:17px}.sidebar .identity,.sidebar .sidebar-bottom{grid-column:1}.sidebar .top-contact{max-width:none;justify-content:flex-start;gap:12px 20px}.sidebar .top-contact h2{width:auto;text-align:left;margin-right:4px}.sidebar .sidebar-bottom{flex-wrap:wrap;gap:0 24px}.sidebar .filters{flex-basis:100%;border-bottom:1px solid #d4d4cd}.sidebar .filter{padding:14px 0}.sidebar .about-toggle{padding:15px 0}.sidebar .manage-videos{margin-left:auto;padding:15px 0}.work-toolbar{padding-left:20px;padding-right:20px}}
@media(max-width:480px){.sidebar{padding:15px 16px 0;gap:16px}.sidebar .intro h1,body[data-lang=ru] .sidebar .intro h1,body[data-lang=es] .sidebar .intro h1{font-size:27px;letter-spacing:-1px}.sidebar .top-contact{gap:10px 17px}.sidebar .top-contact h2{width:100%;font-size:9px}.sidebar .top-contact>a{font-size:11px}.sidebar .top-contact .contact-links>a{font-size:9px}.sidebar .about-toggle{font-size:16px;gap:10px}.sidebar .manage-videos{font-size:8px}.sidebar .sidebar-bottom{gap:0 14px}.about-panel{padding:20px 18px 45px}}

.sidebar>*{min-width:0}.sidebar .sidebar-bottom,.sidebar .filters,.sidebar .top-contact{min-width:0;max-width:100%}@media(max-width:1100px){.sidebar{grid-template-columns:minmax(0,1fr)}.sidebar .top-contact{width:100%}}

.project .stream-preview{position:absolute;inset:0;border:0;width:100%;height:100%;z-index:0;pointer-events:none}.stream-placeholder{max-width:440px;padding:24px;text-align:center;line-height:1.6;color:#f7fdff}.project img{z-index:0}.project.is-playing img{visibility:hidden}

/* Permanent profile, followed by one continuous portfolio grid. */
.sidebar .top-contact h2{font-weight:650;font-size:10px;letter-spacing:.06em}
.sidebar .top-contact .contact-links{display:flex;flex-basis:100%;width:100%;justify-content:flex-end;gap:18px;margin:0}
.sidebar .top-contact .contact-links>a{font-size:11px;font-weight:400;letter-spacing:0}
.sidebar .sidebar-bottom{border:0;justify-content:flex-end;gap:0;min-height:0}
.sidebar .sidebar-bottom .manage-videos{padding:0 0 14px}
.sidebar .sidebar-bottom:not(:has(.manage-videos:not([hidden]))){display:none}
.sidebar{padding-bottom:22px}
.about-panel{max-width:none;padding:38px 28px 44px;border-bottom:1px solid #d4d4cd;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);column-gap:64px;align-items:start}
.about-panel h2{grid-column:1/-1;font-size:36px;margin:0 0 22px}
.about-panel .about-lead{grid-column:1;grid-row:2;font-size:17px;line-height:1.6;margin:0 0 28px}
.about-panel .skills-section{grid-column:1;grid-row:3;margin:0}
.about-panel>.about-section:not(.skills-section){grid-column:2;grid-row:2/span 2;margin:0}
.about-panel .about-section h3{margin-top:0}
.work-toolbar{position:static}
@media(max-width:900px){.about-panel{display:block;padding:30px 20px 36px}.about-panel .skills-section{margin-bottom:32px}.about-panel h2{font-size:30px}.sidebar .top-contact .contact-links{justify-content:flex-start}}
@media(max-width:480px){.about-panel{padding:28px 16px 32px}.sidebar{padding-bottom:20px}}

.about-panel .profile-details{grid-column:1;grid-row:2;min-width:0}
.about-panel .profile-details .skills-section{margin:0}
.about-panel>.about-section:not(.skills-section){grid-row:2;border-top:0;padding-top:0}
@media(max-width:1100px){.sidebar .top-contact .contact-links{justify-content:flex-start}}

/* Profile above the work; experience follows the gallery. */
.about-panel{display:block;padding-top:32px}
.about-panel .profile-details{max-width:100%}
.about-panel .about-lead{max-width:100%}
.experience-panel{padding:38px 28px 44px;max-width:1200px;margin:0 auto}
.experience-panel>h3{font-size:13px;letter-spacing:.04em;font-weight:500;margin:0 0 24px}
.experience-panel .experience-role{grid-template-columns:1fr auto}
.experience-panel .experience-role>span:last-child{grid-row:auto;grid-column:auto;text-align:right}
.main-footer{justify-content:flex-end}
@media(max-width:900px){.experience-panel{padding:30px 20px 36px}}
@media(max-width:480px){.experience-panel{padding:28px 16px 32px}}
.about-panel{min-height:0;height:auto}

/* Compact profile and clear contact placement. */
.sidebar{grid-template-columns:minmax(0,1fr) auto;gap:16px 28px;padding-bottom:18px}
.sidebar .identity{grid-column:1/-1}
.sidebar .intro{grid-column:1;grid-row:2}
.sidebar .top-contact{grid-column:2;grid-row:2;align-self:start;justify-content:flex-end;padding-top:8px;margin:0;max-width:none;width:auto;gap:12px 18px}
.sidebar>.contact-links{grid-column:1/-1;display:flex;gap:18px;font-size:11px;margin:0;font-weight:400}
.sidebar .sidebar-bottom{grid-column:1/-1}
.about-panel{padding:18px 28px}
.about-panel .about-lead{margin:0 0 18px;max-width:none}
.about-panel .skills-section{border:0;padding:0;margin:0}
.about-panel .toolkit{margin:0 0 8px}
.about-panel .toolkit:last-child{margin-bottom:0}
@media(max-width:700px){.sidebar{gap:14px 20px}.sidebar .top-contact{max-width:220px;gap:9px 14px}.about-panel{padding:18px 20px}}
@media(max-width:520px){.sidebar{grid-template-columns:minmax(0,1fr);gap:12px}.sidebar .top-contact{grid-column:1;grid-row:3;justify-content:flex-start;max-width:none;padding:0}.sidebar>.contact-links{grid-row:4}.about-panel{padding:16px}}

/* Shared, locally available typography across the profile and experience. */
body{font-family:Arial,Helvetica,sans-serif}
.sidebar .top-contact{align-self:start}
.sidebar>.contact-links{grid-column:2;grid-row:3;justify-content:flex-end;align-self:start;margin-top:-32px}
.sidebar .top-contact>a,.sidebar>.contact-links>a,
.about-panel .about-lead,.about-panel .toolkit,
.experience-panel .experience-role,.experience-panel .duties{font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.6;letter-spacing:0}
.about-panel .about-lead{font-weight:400}
.about-panel .toolkit{font-weight:400}
.about-panel .toolkit>span:first-child{font-weight:600}
.experience-panel .experience-role>span:last-child{font-weight:400}
@media(max-width:1100px){.sidebar>.contact-links{grid-column:2;grid-row:3;justify-content:flex-end}}
@media(max-width:700px){.sidebar .top-contact{max-width:270px}.sidebar .top-contact>a,.sidebar>.contact-links>a{font-size:13px}.sidebar>.contact-links{margin-top:0}}
@media(max-width:520px){.sidebar .top-contact{grid-column:1;grid-row:3;max-width:none;justify-content:flex-end}.sidebar>.contact-links{grid-column:1;grid-row:4;justify-content:flex-end;margin:0}}

.sidebar .top-contact{max-width:560px}
.sidebar .top-contact .contact-links{display:flex;flex-basis:100%;width:100%;justify-content:flex-end;gap:18px;margin:0}
.sidebar .top-contact .contact-links>a{font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.6;font-weight:400;letter-spacing:0}
@media(max-width:700px){.sidebar .top-contact{max-width:270px}.sidebar .top-contact .contact-links>a{font-size:13px}}
@media(max-width:520px){.sidebar .top-contact{max-width:none;width:100%}}
.sidebar .top-contact>a,.sidebar .top-contact .contact-links>a{font-size:14px}

/* Maximum canvas width and ratio-preserving portfolio rows. */
body{max-width:1280px;margin-inline:auto;width:100%}
.sidebar,main{width:100%;min-width:0}
.gallery{display:flex;flex-direction:column;gap:8px;padding:0 28px;background:#f7fdff}
.gallery-row{display:flex;align-items:flex-start;gap:8px;min-width:0}
.gallery .project,.gallery .project:nth-child(n){flex:var(--ratio) 1 0;min-width:0;width:auto;height:auto;grid-column:auto;background:transparent;aspect-ratio:var(--ratio)}
.gallery .project img,.gallery .project.portrait img{object-fit:contain;background:transparent;width:100%;height:100%}
.gallery .project:hover img{transform:none}
.gallery .project:first-child .project-title{font-size:24px}
.gallery .project .project-title{font-size:20px}
.gallery-row:first-child .project .project-title{font-size:30px}
.gallery .project .project-meta{left:16px;right:16px;bottom:16px}
.gallery .project .project-number{left:16px;top:16px}
@media(max-width:1000px){.gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0 20px;gap:8px}.gallery-row{display:contents}.gallery .project,.gallery .project:nth-child(n){width:100%;grid-column:auto}.gallery-row:first-child .project{grid-column:1/-1}.gallery-row:last-child .project:last-child{grid-column:1/-1;width:50%;justify-self:center}.gallery .project .project-title{font-size:20px}}
@media(max-width:540px){.gallery{grid-template-columns:minmax(0,1fr);padding:0 16px;gap:12px}.gallery .project,.gallery .project:nth-child(n),.gallery-row:last-child .project:last-child{width:100%;grid-column:1}.gallery-row:first-child .project .project-title{font-size:22px}}

@media(min-width:541px) and (max-width:1000px){.gallery-row:last-child .project:last-child{grid-column:auto;width:100%;justify-self:stretch}.gallery-row:nth-child(2) .project:last-child{grid-column:1/-1;width:50%;justify-self:center}}

/* Featured work, two ads, three logos, then tracking and shape animation. */
@media(min-width:541px) and (max-width:1000px){.gallery{display:flex}.gallery-row{display:flex}.gallery .project,.gallery .project:nth-child(n),.gallery-row:nth-child(2) .project:last-child,.gallery-row:last-child .project:last-child{width:auto;flex:var(--ratio) 1 0;grid-column:auto;justify-self:auto}.gallery .project .project-title{font-size:16px}.gallery .project .project-meta{left:10px;right:10px;bottom:12px}}

.gallery .project .project-title,.gallery .project:first-child .project-title,.gallery-row:first-child .project .project-title{font-size:16px;line-height:1.25;letter-spacing:0;font-weight:400}

.gallery .project video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:transparent;transform:none;pointer-events:none}.gallery .project:hover video{transform:none}#player-media video{width:100%;height:100%;object-fit:contain}

.gallery .project{cursor:pointer;color:white}
.video-sound,.video-toggle{position:absolute;z-index:3;display:grid;place-items:center;width:38px;height:38px;padding:8px;border:1px solid #ffffff80;border-radius:50%;background:#0009;color:white;cursor:pointer}
.video-sound{top:12px;right:12px}.video-toggle{bottom:12px;right:12px;font-size:14px}
.video-sound svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.video-sound:hover,.video-toggle:hover{color:white;background:#000c}
.gallery .project .project-meta{right:62px;pointer-events:none}

.video-sound{width:30px;height:30px;padding:6px;top:10px;right:10px;border-color:#ffffff50;background:#0006}.video-sound svg{width:17px;height:17px;stroke-width:1.5}

.video-sound{width:26px;height:26px;padding:5px}.video-sound svg{width:15px;height:15px}

.gallery .project .project-meta{right:16px}

/* No decorative horizontal section dividers. */
.sidebar,.sidebar .identity,.sidebar .sidebar-bottom,.about-panel,.about-panel .about-section,.experience-panel,.experience-panel .experience>article,.main-footer{border-top:0;border-bottom:0}

.gallery .logo-project .project-title{font-size:14px;line-height:1.35}.logo-name,.logo-kind{display:block;white-space:nowrap}.logo-kind{margin-top:3px}@media(max-width:700px) and (min-width:541px){.gallery .logo-project .project-title{font-size:12px}.gallery .logo-project .project-meta{left:8px;right:8px}}

.gallery .project.logo-project .project-title,.gallery .project.logo-project:first-child .project-title{font-size:14px;line-height:1.35}@media(max-width:700px) and (min-width:541px){.gallery .project.logo-project .project-title,.gallery .project.logo-project:first-child .project-title{font-size:12px}}

/* One caption size for every project, including logo captions. */
.gallery .project .project-title,
.gallery .project:first-child .project-title,
.gallery-row:first-child .project .project-title,
.gallery .project.logo-project .project-title,
.gallery .project.logo-project:first-child .project-title{font-size:14px;line-height:1.35;font-weight:400;letter-spacing:0}
@media(max-width:700px) and (min-width:541px){
.gallery .project .project-title,
.gallery .project:first-child .project-title,
.gallery-row:first-child .project .project-title,
.gallery .project.logo-project .project-title,
.gallery .project.logo-project:first-child .project-title{font-size:12px}}

/* Light paper palette inspired by the supplied Steep reference. */
html{min-height:100%;background-color:#fafafb;background-image:radial-gradient(ellipse at 7% 0%,rgba(251,225,209,.38),transparent 48%),radial-gradient(ellipse at 100% 35%,rgba(235,240,247,.45),transparent 54%),linear-gradient(145deg,#ffffff 0%,#fafafb 58%,#fff9f5 100%);background-attachment:fixed}
body{background:transparent;color:#17191c}
.sidebar,.gallery,.main-footer,.about-panel,.experience-panel{background:transparent}
.gallery{gap:12px}.gallery-row{gap:12px}
.gallery .project,.gallery .project:nth-child(n){border-radius:16px;overflow:hidden;isolation:isolate}
.gallery .project img,.gallery .project video,.gallery .project:after{border-radius:inherit}
.sidebar a:hover,.languages button:hover,.main-footer a:hover{color:#5d2a1a}
.sidebar .wordmark .dot{color:#dba88a}
.video-sound{background:rgba(23,25,28,.42);border-color:rgba(255,255,255,.3);backdrop-filter:blur(6px)}
@media(max-width:540px){.gallery .project,.gallery .project:nth-child(n){border-radius:12px}}

/* Typography from DESIGN.md: its documented system substitutes. */
:root{--font-signifier:Georgia,'Times New Roman',serif;--font-sohne:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}
body,button,input,select,.sidebar .top-contact>a,.sidebar .top-contact .contact-links>a,.about-panel .about-lead,.about-panel .toolkit,.experience-panel .experience-role,.experience-panel .duties{font-family:var(--font-sohne)}
.sidebar .intro h1,body[data-lang=ru] .sidebar .intro h1,body[data-lang=es] .sidebar .intro h1{font-family:var(--font-signifier);font-size:clamp(40px,4.8vw,64px);font-weight:400;line-height:1.15;letter-spacing:-.025em;white-space:normal;margin:0 0 10px}
.sidebar .profile-role{font-family:var(--font-sohne);font-size:22px;line-height:1.35;font-weight:400;letter-spacing:-.01em;margin:0 0 18px}
.sidebar .top-contact{padding-top:12px}
@media(max-width:1000px){.sidebar{grid-template-columns:minmax(0,1fr)}.sidebar .top-contact{grid-column:1;grid-row:3;justify-content:flex-start;max-width:none;padding-top:0}.sidebar .top-contact .contact-links{justify-content:flex-start}.sidebar .profile-role{font-size:20px;margin-bottom:14px}}
@media(max-width:540px){.sidebar .intro h1,body[data-lang=ru] .sidebar .intro h1,body[data-lang=es] .sidebar .intro h1{font-size:40px}.sidebar .profile-role{font-size:19px}}

/* Shared alignment, spacing and a four-size type scale. */
:root{--page-gutter:28px;--text-small:12px;--text-body:14px;--text-heading:22px;--text-display:64px;--line-height:1.5}
body{font-size:var(--text-body)}
body *{font-size:inherit!important;line-height:var(--line-height)}
.sidebar .intro h1,body[data-lang=ru] .sidebar .intro h1,body[data-lang=es] .sidebar .intro h1{font-size:var(--text-display)!important;line-height:1.2}
.sidebar .profile-role,.experience-panel>h3,.sidebar .wordmark{font-size:var(--text-heading)!important;line-height:var(--line-height);font-weight:400;letter-spacing:0}
.sidebar .languages,.sidebar .work-modes,.main-footer{font-size:var(--text-small)!important}
.sidebar{padding-left:var(--page-gutter);padding-right:var(--page-gutter)}
.about-panel,.experience-panel{padding:20px var(--page-gutter);max-width:none;width:100%;margin:0}
.gallery{padding-left:var(--page-gutter);padding-right:var(--page-gutter)}
.main-footer{padding-left:var(--page-gutter);padding-right:var(--page-gutter)}
.about-panel .about-lead{margin:0 0 16px}
.about-panel .skills-section{display:flex;flex-direction:column;gap:4px;padding:0;margin:0}
.about-panel .skills-section .toolkit{margin:0;padding:0;line-height:var(--line-height)}
.experience-panel>h3{margin:0 0 20px;text-transform:none}
.experience-panel .experience-role{margin:0 0 8px;line-height:var(--line-height)}
.experience-panel .duties{line-height:var(--line-height);max-width:none}
.experience-panel .duties li{margin:0 0 4px;line-height:var(--line-height)}
.experience-panel .experience>article{padding:0 0 20px;margin:0 0 4px}
.logo-kind{margin-top:0}
@media(max-width:1100px){:root{--page-gutter:20px;--text-display:48px}}
@media(max-width:540px){:root{--page-gutter:16px;--text-display:40px}}

/* Match the profile-to-bio gap to the bio-to-tools gap. */
.sidebar{padding-bottom:0}.about-panel{padding-top:16px}.sidebar .wordmark{font-family:var(--font-sohne);font-weight:800;letter-spacing:-1.5px;line-height:1}

/* Compact title stack and matching secondary contact spacing. */
.sidebar .intro h1,body[data-lang=ru] .sidebar .intro h1,body[data-lang=es] .sidebar .intro h1{margin-bottom:4px}
.sidebar .profile-role{margin-bottom:4px}
.sidebar .intro .summary{margin-bottom:5px}
.sidebar .top-contact{padding-top:0;align-self:start;row-gap:5px;justify-content:flex-end}
.sidebar .top-contact .contact-links{margin:0;justify-content:flex-end}
@media(min-width:1001px){.sidebar .top-contact{padding-top:calc((var(--text-display) * 1.2 - 21px) / 2)}}
@media(max-width:1000px){.sidebar .top-contact{justify-content:flex-end}.sidebar .top-contact .contact-links{justify-content:flex-end}}

/* Share the name/contact baseline rather than approximate vertical offsets. */
.sidebar .intro h1,body[data-lang=ru] .sidebar .intro h1,body[data-lang=es] .sidebar .intro h1{font-family:Arial,Helvetica,sans-serif;font-weight:400;letter-spacing:-.025em;line-height:1.2}
@media(min-width:1001px){.sidebar .intro,.sidebar .top-contact{align-self:baseline}.sidebar .top-contact{padding-top:0;align-items:baseline}}

/* DESIGN 2 — Cassette: electric yellow, warm black, flat surfaces. */
:root{--cassette-yellow:#f0e226;--cassette-black:#19181a;--cassette-bone:#f5f4f0;--text-small:13px;--text-body:15px;--text-heading:37px;--text-display:60px;--line-height:1.4;--font-sohne:Arial,Helvetica,sans-serif;--cassette-mono:'Courier New',Courier,monospace}
html{background:#19181a;background-image:none;color-scheme:dark}
body{background:transparent;color:var(--cassette-bone)}
::selection{background:var(--cassette-yellow);color:#19181a}
.sidebar,.gallery,.main-footer,.about-panel,.experience-panel{background:transparent}
.sidebar{padding-top:24px;padding-bottom:0;gap:24px 28px}
.sidebar .wordmark{color:var(--cassette-yellow);font-weight:800;font-family:Arial,Helvetica,sans-serif}
.sidebar .wordmark .dot{color:var(--cassette-yellow)}
.sidebar .languages{font-family:var(--cassette-mono);gap:8px;color:var(--cassette-yellow)}
.sidebar .languages>span{display:none}
.sidebar .languages button{padding:4px 10px;border:1px solid var(--cassette-yellow);border-radius:900px;opacity:1}
.sidebar .languages button[aria-pressed=true]{background:var(--cassette-yellow);color:#19181a;text-decoration:none}
.sidebar .intro h1,body[data-lang=ru] .sidebar .intro h1,body[data-lang=es] .sidebar .intro h1{font-family:Arial,Helvetica,sans-serif;text-transform:uppercase;color:var(--cassette-yellow);font-weight:400;letter-spacing:-.055em;line-height:1.05;margin:0 0 12px}
.sidebar .profile-role{color:var(--cassette-bone);font-weight:400;line-height:1.1;margin:0 0 20px}
.sidebar .intro .summary{font-family:var(--cassette-mono);color:var(--cassette-bone);margin-bottom:5px}
.sidebar .work-modes{font-family:var(--cassette-mono);color:#d9d7ce}
.sidebar .top-contact{max-width:400px;gap:8px 12px}
.sidebar .top-contact>a,.sidebar .top-contact .contact-links>a{font-family:var(--cassette-mono);color:var(--cassette-yellow);border:1px solid var(--cassette-yellow);border-radius:900px;padding:4px 10px;text-decoration:none}
.sidebar .top-contact .contact-links>a{background:var(--cassette-yellow);color:#19181a}
.sidebar .top-contact>a:hover,.sidebar .top-contact .contact-links>a:hover{background:var(--cassette-bone);border-color:var(--cassette-bone);color:#19181a}
.about-panel{padding-top:28px;padding-bottom:28px}
.about-panel .about-lead{max-width:850px;color:var(--cassette-bone);line-height:1.4;margin-bottom:24px}
.about-panel .toolkit{font-family:var(--cassette-mono);color:#d9d7ce}
.about-panel .toolkit>span:first-child{color:var(--cassette-yellow);font-weight:400;text-transform:uppercase}
.about-panel .skills-section{gap:6px}
.gallery,.gallery-row{gap:16px}
.gallery .project,.gallery .project:nth-child(n){border-radius:0;background:#272727}
.gallery .project img,.gallery .project video,.gallery .project:after{border-radius:0}
.gallery .project .project-title{font-family:var(--cassette-mono)}
.video-sound{background:var(--cassette-yellow);color:#000;border:0;backdrop-filter:none}
.video-sound:hover{background:var(--cassette-bone);color:#000}
.experience-panel{padding-top:48px;padding-bottom:32px}
.experience-panel>h3{color:var(--cassette-yellow);font-family:Arial,Helvetica,sans-serif;font-weight:400;text-transform:uppercase;margin-bottom:28px}
.experience-panel .experience-role{font-family:var(--cassette-mono);color:var(--cassette-bone)}
.experience-panel .experience-role>span:first-child{font-weight:400;color:var(--cassette-yellow)}
.experience-panel .experience-role>span:last-child,.experience-panel .duties{color:#d9d7ce}
.main-footer{font-family:var(--cassette-mono);color:var(--cassette-yellow)}
.main-footer a:hover{color:var(--cassette-bone)}
@media(max-width:1100px){:root{--text-display:52px}}
@media(max-width:540px){:root{--text-display:40px;--text-heading:28px}.sidebar{gap:20px}.sidebar .top-contact{max-width:none}.gallery,.gallery-row{gap:12px}.sidebar .profile-role{margin-bottom:16px}}

/* Unified sans typography and a continuous video canvas. */
:root{--font-sohne:Arial,Helvetica,sans-serif;--cassette-mono:Arial,Helvetica,sans-serif}
body,body *{font-family:Arial,Helvetica,sans-serif!important}
.experience-panel>h3{text-transform:none;font-weight:400}
.experience-panel .experience-role>span:first-child{font-size:20px!important;font-weight:700;line-height:1.4}
.experience-panel .experience-role>span:last-child{font-size:15px!important;font-weight:400}
.experience-panel .duties{font-size:15px!important;line-height:1.4}
.gallery,.gallery-row{gap:0}
@media(max-width:540px){.gallery,.gallery-row{gap:0}}

/* Consistent content type and compact contact rows. */
.sidebar .intro .summary,.about-panel .about-lead,.about-panel .toolkit,.about-panel .toolkit>span,.experience-panel .duties,.experience-panel .duties li{font-size:15px!important;font-weight:400;line-height:1.4;font-family:Arial,Helvetica,sans-serif}
.sidebar .profile-role,.experience-panel>h3{font-size:37px!important;font-weight:400;line-height:1.1}
.about-panel .toolkit>span:first-child{text-transform:none;font-weight:400}
.sidebar .top-contact{max-width:none;column-gap:10px;row-gap:5px;flex-wrap:nowrap;display:grid;grid-template-columns:repeat(3,max-content);justify-content:end}
.sidebar .top-contact>a,.sidebar .top-contact .contact-links>a{font-size:12px!important;font-weight:400;line-height:1.4;white-space:nowrap;padding:4px 8px}
.sidebar .top-contact .contact-links{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px;width:100%;margin:0}
@media(max-width:1000px){.sidebar .top-contact{justify-content:end}}
@media(max-width:420px){.sidebar .top-contact{column-gap:6px}.sidebar .top-contact>a,.sidebar .top-contact .contact-links>a{padding:4px 5px}}

/* Match body copy and toolkit values in tone and rhythm. */
.sidebar .intro .summary,.about-panel .about-lead,.about-panel .toolkit,.about-panel .toolkit>.skill-values,.experience-panel .duties{color:#f5f4f0;font-size:15px!important;font-weight:400;line-height:1.4}
.about-panel .about-lead{margin-bottom:16px}
.about-panel .skills-section{gap:4px}
.about-panel .skills-section .toolkit{margin:0;line-height:1.4}

/* Three matching major gaps: profile / bio / toolkit / videos. */
:root{--profile-section-gap:28px}.sidebar{padding-bottom:0}.about-panel{padding-top:var(--profile-section-gap);padding-bottom:var(--profile-section-gap)}.about-panel .about-lead{margin-bottom:var(--profile-section-gap)}

/* Match the visible line spacing with the gap between outlined/filled pills. */
.sidebar .top-contact{row-gap:12px}
.sidebar .top-contact .contact-links{margin:0;gap:10px;justify-content:flex-end}
@media(min-width:1001px){.sidebar .top-contact{position:relative;top:.5px}}

/* Fine static grain sits in the background, never over the content. */
html{background-color:#19181a;background-image:url("assets/paper-grain.svg");background-size:180px 180px;background-repeat:repeat;background-attachment:fixed}
.sidebar .wordmark .dot{color:#ffffff}
.about-panel .toolkit>span:first-child{font-weight:700}
