:root{--red:#c61535;--black:#070707;--white:#ededed;--muted:rgba(7,7,7,.68);--line:rgba(7,7,7,.2);--space:clamp(24px,5vw,80px);--shell-gutter:max(var(--space),calc((100vw - 1480px)/2));--ease:cubic-bezier(.22,1,.36,1)}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:100px;scrollbar-gutter:stable;scrollbar-color:var(--red) var(--white)}
body,h1,h2,h3,p{margin:0}
body{background:var(--white);color:var(--black);font-family:'Source Sans Pro',sans-serif;font-weight:700;font-synthesis:none;-webkit-hyphens:none;hyphens:none;line-height:1.5;-webkit-font-smoothing:antialiased}
button,input,textarea{font:inherit}button{border:0;cursor:pointer;color:inherit;background:none}button,a,input,textarea{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}a,button,summary{touch-action:manipulation}a,button{min-height:44px}button,input,textarea{caret-color:var(--red)}ol{padding:0;margin:0;list-style:none}img,video{display:block;max-width:100%}summary{cursor:pointer;list-style:none}summary::-webkit-details-marker{display:none}[hidden]{display:none!important}
svg{display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px;flex:none}
::selection{background:var(--black);color:var(--white)}:focus-visible{outline:3px solid var(--red);outline-offset:5px}.hero :focus-visible,.contact :focus-visible,.work-slot:focus-visible{outline-color:var(--white)}.work-slot:focus-visible{outline-color:var(--red)}
h1,h2,h3{font-weight:700}h2{font-size:clamp(34px,4.1vw,56px);line-height:1.06;letter-spacing:-.025em;text-wrap:balance}p{line-height:1.5;text-wrap:pretty}.section-pad{padding:88px var(--space)}.section-intro{max-width:390px;font-size:18px;color:var(--muted)}
.skip-link{position:fixed;left:24px;top:-80px;z-index:100;background:var(--black);color:var(--white);padding:14px 22px}.skip-link:focus{top:12px}
.site-header{height:84px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 var(--space);background:var(--white);position:sticky;top:0;z-index:20}
.logo{display:inline-flex;align-items:center;width:114px;min-height:44px;flex:none;font-size:46px;line-height:1;letter-spacing:-.04em;white-space:nowrap}.logo-s{color:var(--red)}
.main-nav{display:grid;grid-template-columns:64px 88px 64px;gap:30px;align-items:center;flex:none;margin-left:auto;margin-right:4vw}.main-nav a{display:flex;align-items:center;white-space:nowrap;font-size:16px;position:relative}.main-nav a::after{position:absolute;content:'';bottom:6px;left:0;width:100%;height:2px;background:var(--red);transform:scaleX(0);transform-origin:left;transition:transform .25s var(--ease)}
.header-tools{display:flex;gap:26px;align-items:center}.language-switch{display:flex;gap:4px;align-items:center;font-size:14px}.language-switch button{min-width:36px;padding:6px 3px;opacity:.7}.language-switch button[aria-pressed=true]{opacity:1}.header-contact{display:flex;align-items:center;justify-content:space-between;width:164px;flex:none;gap:16px;font-size:16px;white-space:nowrap}.header-contact svg{width:20px;height:20px}.menu-toggle{display:none}
.hero{margin:0 var(--shell-gutter);background:var(--red);color:var(--white);position:relative;isolation:isolate;min-height:560px;padding:72px max(30px,calc(var(--space) - 22px));display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);column-gap:30px;overflow:hidden}
.hero h1{grid-column:1;align-self:end;font-size:clamp(62px,7.1vw,96px);line-height:.98;letter-spacing:-.035em;position:relative;z-index:2;text-wrap:initial}.hero-line{display:block}
.hero-bottom{grid-column:1;position:static;z-index:2;margin-top:30px;min-width:0}.hero-intro{max-width:450px}.hero-intro p{font-size:18px;line-height:1.5;max-width:430px}.hero-actions{display:flex;align-items:center;gap:24px;margin-top:28px;flex-wrap:wrap}
.motion-stage{position:relative;grid-column:2;grid-row:1/3;align-self:center;justify-self:center;width:320px;height:310px;perspective:1100px;z-index:1;transform:none}
.frame-stack{width:235px;height:235px;position:absolute;top:45px;left:55px;transform-style:preserve-3d;transform:rotateY(-23deg) rotateX(12deg) rotateZ(-9deg);animation:stage-drift 9s ease-in-out infinite;will-change:transform}
.frame-plane{position:absolute;inset:0;border:1px solid rgba(237,237,237,.7);transform-style:preserve-3d}.plane-back{transform:translate3d(-38px,-32px,-70px)}.plane-middle{transform:translate3d(-18px,-16px,-30px)}.plane-front{background:var(--black);border-color:var(--black);display:flex;flex-direction:column;justify-content:center;align-items:center;transform:translateZ(20px);box-shadow:0 20px 40px rgba(7,7,7,.2)}.plane-front>span{font-size:74px;line-height:1;letter-spacing:-.035em}.plane-rule{height:2px;width:58%;background:var(--red);margin-top:16px;transform-origin:left;animation:line-breathe 4.5s var(--ease) infinite}
.motion-control{display:flex;align-items:center;gap:8px;padding:8px 0;font-size:13px;min-height:44px;position:absolute;right:max(30px,calc(var(--space) - 22px));bottom:22px;z-index:3}.motion-control svg{width:18px;height:18px}.play-icon{display:none}.motion-control:disabled{cursor:default;opacity:1}
.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:48px;margin-bottom:30px}.section-heading h2{max-width:650px}.portfolio-notice{font-size:14px;color:var(--muted);margin-bottom:24px}
.work-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-rows:repeat(2,minmax(205px,auto));gap:18px;align-items:stretch}
.work-slot{position:relative;width:100%;min-width:0;text-align:left;background:var(--black);color:var(--white);padding:28px;display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:24px;isolation:isolate;overflow:hidden;transition:background .25s var(--ease)}
.work-film{grid-row:1/3;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(150px,1fr) auto;gap:20px}.work-commercial{background:var(--red)}
.category-arrow{position:absolute;right:22px;top:20px}.category-arrow svg{width:20px;height:20px;transition:transform .25s var(--ease)}.category-art{display:flex;justify-content:center;align-items:center;min-width:0;transition:transform .4s var(--ease)}.category-art svg{width:100px;height:100px;stroke-width:1.2}.work-film .category-art svg{width:240px;height:165px}.art-accent{stroke:var(--red)}
.category-copy{display:flex;flex-direction:column;min-width:0}.category-title{display:block;font-size:28px;line-height:1.12;letter-spacing:-.02em;overflow-wrap:normal}.work-film .category-title{font-size:34px}.category-description{display:block;font-size:16px;line-height:1.4;margin-top:10px;max-width:34ch}.category-action{font-size:14px;text-decoration:underline;text-underline-offset:5px;margin-top:12px;min-height:44px;display:flex;align-items:center}.work-stills .category-title,.work-commercial .category-title{max-width:none}
.services{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:80px;border-top:1px solid var(--line);padding-top:72px}.services-aside h2{font-size:clamp(34px,3.6vw,50px)}.services-aside>p{max-width:390px;font-size:18px;margin-top:24px}.services-aside .text-link{margin-top:24px}.service-list details{border-top:1px solid var(--line);padding:23px 0}.service-list details:last-child{border-bottom:1px solid var(--line)}.service-list summary{display:flex;justify-content:space-between;align-items:center;gap:24px;font-size:clamp(24px,2.4vw,30px);line-height:1.2;letter-spacing:-.02em;min-height:44px}.service-list summary svg{width:22px;height:22px;transition:transform .3s var(--ease)}.service-list details[open] summary svg{transform:rotate(45deg)}.service-list details p{font-size:17px;color:var(--muted);margin:18px 30px 18px 0}.service-caption{font-size:13px;display:block;color:var(--red)}
.studio{background:var(--black);color:var(--white);position:relative}.studio-statement{font-size:clamp(46px,6.4vw,82px);line-height:1.04;letter-spacing:-.03em;max-width:1000px}.studio-statement span{color:var(--red)}.studio-bottom{display:flex;justify-content:space-between;gap:60px;align-items:flex-end;margin-top:42px}.studio-bottom p{max-width:550px;font-size:19px;line-height:1.5}.studio-mark{font-size:64px;line-height:1;letter-spacing:-.035em;flex:none}.studio-mark span{color:var(--red)}
.process-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;margin-top:42px}.process-steps li{border-top:1px solid var(--line);padding-top:20px}.step-number{font-size:16px;color:var(--red);display:block;margin-bottom:26px;font-variant-numeric:tabular-nums}.process-steps h3{font-size:25px;line-height:1.2;letter-spacing:-.02em;margin-bottom:12px}.process-steps p{max-width:250px;font-size:17px;color:var(--muted);line-height:1.5}
.contact{background:var(--red);color:var(--white);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:80px}.contact-intro h2{font-size:clamp(36px,4.3vw,58px);line-height:1.06}.contact-intro>p:last-child{max-width:365px;font-size:18px;margin-top:24px}.contact-form{padding-top:4px}.field{margin-bottom:25px}.field label{display:block;font-size:15px;margin-bottom:8px}.field input,.field textarea{display:block;width:100%;border:0;border-bottom:1px solid rgba(237,237,237,.65);border-radius:0;background:none;padding:9px 0 13px;color:var(--white);font-size:18px;resize:vertical;min-height:48px;caret-color:var(--white)}.field input::placeholder,.field textarea::placeholder{color:var(--white);opacity:1}.field input:focus,.field textarea:focus{outline:0;border-bottom-color:var(--white);box-shadow:0 2px 0 var(--white)}.field-error{display:block;font-size:14px;margin-top:6px}.field [aria-invalid=true]{box-shadow:0 2px 0 var(--white)}.form-bottom{display:flex;align-items:flex-start;gap:18px;flex-wrap:wrap;justify-content:space-between;margin-top:28px}.form-note{font-size:13px;max-width:200px;line-height:1.4}.form-result{border-top:1px solid rgba(237,237,237,.5);margin-top:28px;padding-top:22px}.form-result h3{font-size:24px}.form-result>p{font-size:16px;margin:10px 0 22px}.form-result dl{margin:0}.form-result dt{font-size:13px;margin:16px 0 5px}.form-result dd{margin:0;font-size:18px;overflow-wrap:anywhere;white-space:pre-wrap}
.footer{padding:30px var(--space) max(24px,env(safe-area-inset-bottom))}.footer-top,.footer-bottom{display:flex;justify-content:space-between;gap:20px;align-items:center;font-size:14px}.footer-top>a{display:flex;align-items:center;gap:12px}.footer-wordmark{font-size:clamp(100px,24vw,300px);letter-spacing:-.04em;line-height:1;white-space:nowrap;text-align:center;margin:32px 0}.footer-wordmark span{color:var(--red)}.footer-language{display:flex;gap:14px}.footer-language button{padding:4px 0;opacity:.7}.footer-language button[aria-pressed=true]{opacity:1}
.button{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:52px;padding:14px 20px;font-size:16px;transition:background .25s,color .25s;white-space:nowrap}.button-dark{background:var(--black);color:var(--white)}.button-light{background:var(--white);color:var(--black)}.button svg{width:20px;height:20px;transition:transform .25s var(--ease)}.text-link{display:inline-flex;align-items:center;gap:12px;min-height:44px;font-size:15px;position:relative}.text-link::after{content:'';position:absolute;left:0;bottom:5px;width:calc(100% - 32px);height:1px;background:currentColor;transform-origin:left;transition:transform .25s var(--ease)}.text-link svg{width:20px;height:20px}.link-dark{color:var(--black)}
.gallery-open{position:fixed;inset-inline:0;overflow:hidden;width:100%}.gallery-dialog{padding:0;border:0;width:min(860px,calc(100% - 64px));max-width:none;max-height:min(84dvh,860px);margin:auto;background:var(--white);color:var(--black);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;box-shadow:0 24px 80px rgba(7,7,7,.3)}
.gallery-dialog::backdrop{background:rgba(7,7,7,.66);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.gallery-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:20px;padding:12px 24px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:1;background:var(--white)}.gallery-close{display:flex;align-items:center;justify-content:center;width:44px;height:44px}.gallery-close svg{width:22px;height:22px;transition:transform .25s var(--ease)}.gallery-body{padding:32px}.gallery-body h2{font-size:clamp(28px,3vw,40px);line-height:1.12;max-width:24ch}.gallery-body>p{font-size:17px;color:var(--muted);max-width:52ch;margin-top:14px}.gallery-content{margin-top:28px}.gallery-empty{min-height:200px;display:flex;flex-direction:column;justify-content:center;padding:30px;background:var(--black);color:var(--white)}.gallery-empty h3{font-size:24px;line-height:1.2;letter-spacing:-.02em}.gallery-empty p{font-size:16px;max-width:48ch;margin-top:14px}.gallery-footer{padding:4px 32px 24px}.gallery-content.has-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}.gallery-content.has-media:has(>.gallery-item:only-child){grid-template-columns:1fr}.gallery-item{margin:0;min-width:0}.gallery-item img,.gallery-item video{width:100%;max-height:52dvh;object-fit:contain;background:var(--black)}.gallery-item figcaption{margin-top:14px}.gallery-item h3{font-size:20px;line-height:1.25}.gallery-item figcaption p{font-size:16px;margin-top:7px;color:var(--muted)}.media-error{padding:16px;font-size:16px;background:var(--black);color:var(--white)}
@media(hover:hover){.main-nav a:hover::after{transform:scaleX(1)}.button-dark:hover{background:var(--white);color:var(--black)}.button-light:hover{background:var(--black);color:var(--white)}.button:hover svg{transform:translateX(4px)}.text-link:hover::after{transform:scaleX(.7)}.work-slot:hover .category-art{transform:translateY(-4px)}.work-slot:hover .category-arrow svg{transform:translate(3px,-3px)}.gallery-close:hover svg{transform:rotate(90deg)}}
@keyframes stage-drift{0%,100%{transform:rotateY(-23deg) rotateX(12deg) rotateZ(-9deg) translateY(0)}50%{transform:rotateY(-13deg) rotateX(5deg) rotateZ(-5deg) translateY(-12px)}}@keyframes line-breathe{0%,100%{transform:scaleX(.75)}50%{transform:scaleX(1)}}@keyframes title-enter{from{transform:translateY(16px)}to{transform:translateY(0)}}@keyframes gallery-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
body:not(.reduced-motion) .hero-line{animation:title-enter .7s var(--ease) both}.hero-line:nth-child(2){animation-delay:.08s}.gallery-dialog[open]{animation:gallery-enter .25s var(--ease)}.motion-paused .frame-stack,.motion-paused .plane-rule,.page-hidden .frame-stack,.page-hidden .plane-rule,.gallery-open .frame-stack,.gallery-open .plane-rule,.motion-stage.offscreen .frame-stack,.motion-stage.offscreen .plane-rule{animation-play-state:paused}.motion-paused .hero-line{animation:none}.motion-paused .pause-icon{display:none}.motion-paused .play-icon{display:block}.reduced-motion .frame-stack,.reduced-motion .plane-rule{animation:none}
html[lang=ru] .hero h1{font-size:clamp(56px,6.4vw,88px)}html[lang=ru] .studio-statement{font-size:clamp(38px,5vw,66px)}html[lang=ru] .category-title,html[lang=ru] .work-film .category-title{font-size:24px}
.compact-copy,.compact-label{display:none}.section-intro,.process-steps p,.studio-bottom p,.services-aside>p,.service-list details p{text-align:justify;text-align-last:start;text-wrap:wrap;-webkit-hyphens:none;hyphens:none}
@media(min-width:1101px) and (max-width:1300px){.work-slot:not(.work-film){grid-template-columns:72px minmax(0,1fr);gap:18px;padding:24px}.work-slot:not(.work-film) .category-art svg{width:72px;height:80px}}
@media(min-width:1700px){.site-header,.section-pad,.footer{padding-inline:max(var(--space),calc((100vw - 1480px)/2))}.hero{padding-inline:60px}.hero h1{font-size:96px}.hero{min-height:590px}}
@media(max-width:1100px){.main-nav{gap:22px;margin-right:16px}.header-tools{gap:18px}.hero{padding:60px 30px;min-height:520px;column-gap:20px}.hero h1{font-size:clamp(58px,7.1vw,78px)}html[lang=ru] .hero h1{font-size:clamp(51px,6.4vw,70px)}.hero-intro p{font-size:17px}.hero-actions{gap:16px}.motion-stage{width:270px;height:285px}.frame-stack{width:205px;height:205px;left:40px;top:40px}.plane-front>span{font-size:64px}.hero .button{padding:14px 16px;gap:16px}.hero .text-link{font-size:14px}.services,.contact{gap:45px}.section-heading{gap:36px}.section-intro{max-width:320px}.work-slot{padding:24px;grid-template-columns:minmax(0,1fr);grid-template-rows:none;gap:0}.category-art{display:none}.category-title,.category-description{min-height:0}.work-film{grid-template-columns:1fr;grid-row:auto}.category-title{font-size:27px}.category-description{font-size:16px}.category-action{margin-top:14px}.work-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:none}}
@media(max-width:900px) and (min-width:761px){.hero{grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr)}.hero h1{font-size:58px}html[lang=ru] .hero h1{font-size:51px}.motion-stage{width:180px;height:240px}.frame-stack{width:155px;height:170px;left:10px;top:35px}.plane-front>span{font-size:49px}.hero-intro p{max-width:360px}.hero-actions{column-gap:18px;row-gap:8px}.main-nav{gap:18px}.header-contact{display:none}.process-steps{gap:20px}.process-steps h3{font-size:22px}.work-slot{gap:0;grid-template-columns:minmax(0,1fr);padding:22px}.work-film{grid-template-columns:1fr}.work-stills .category-art,.work-commercial .category-art{display:none}.work-stills .category-copy,.work-commercial .category-copy{grid-column:1/-1}.category-title,html[lang=ru] .category-title{font-size:23px}}
@media(max-width:760px){:root{--space:22px}html{scroll-padding-top:76px}.site-header{height:64px;gap:10px}.logo{width:86px;font-size:36px}.header-tools{gap:12px}.header-contact{display:none}.menu-toggle{display:flex;align-items:center;justify-content:flex-end;width:76px;gap:6px;font-size:14px;padding:0}.menu-toggle svg{width:20px;height:20px}.main-nav{display:none;position:absolute;top:64px;left:0;right:0;background:var(--white);margin:0;padding:10px 22px 16px;border-bottom:1px solid var(--line);gap:24px}.main-nav.is-open{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.language-switch{font-size:13px;gap:0}.language-switch button{min-width:32px}
.full-copy,.full-label{display:none}.compact-copy{display:block}.compact-label{display:inline}.motion-stage,.motion-control{display:none}.hero{margin:0 var(--shell-gutter);padding:30px 22px 26px;min-height:0;display:flex;flex-direction:column;gap:0}.hero h1,html[lang=ru] .hero h1{font-size:clamp(34px,9.2vw,48px);line-height:1.04;align-self:auto;letter-spacing:-.03em}.hero-line{white-space:nowrap}.hero-bottom,.hero-intro{display:contents;margin:0}.hero-intro p{order:1;font-size:16px;line-height:1.45;max-width:43ch;margin-top:18px}.hero-actions{order:3;display:flex;align-items:center;gap:16px;flex-wrap:nowrap;margin-top:22px}.hero .button{font-size:14px;padding:11px 13px;gap:12px;min-height:46px}.hero .text-link{font-size:14px;gap:8px}.hero .text-link::after{width:calc(100% - 28px)}
.section-pad{padding:36px var(--space)}h2,.section-heading h2,.services-aside h2,.contact-intro h2,html[lang=ru] .section-heading h2,html[lang=ru] .contact-intro h2{font-size:30px;line-height:1.08}.section-heading{display:block;margin-bottom:20px}.section-intro{font-size:16px;max-width:43ch;margin-top:16px}.portfolio-notice{font-size:12px;line-height:1.4;margin-bottom:14px}.work-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;gap:10px}.work-slot,.work-film{grid-row:auto;grid-template-columns:minmax(0,1fr);grid-template-rows:none;gap:0;min-height:116px;padding:18px 16px 8px;align-items:start}.work-film{grid-column:1/-1;min-height:148px;padding:20px 22px 12px}.category-art,.work-film .category-art{display:none}.category-arrow{right:12px;top:13px}.category-arrow svg{width:16px;height:16px}.category-copy{padding:0}.category-title,.work-film .category-title,html[lang=ru] .category-title,html[lang=ru] .work-film .category-title{font-size:23px;line-height:1.15;padding-right:14px}.work-stills .category-title,.work-commercial .category-title{padding-right:0;padding-top:12px}html[lang=ru] .work-stills .category-title,html[lang=ru] .work-commercial .category-title{font-size:20px}.work-film .category-title,html[lang=ru] .work-film .category-title{font-size:26px}.category-description{font-size:15px;line-height:1.4;margin-top:6px}.work-stills .category-description,.work-commercial .category-description{display:none}.category-action{font-size:13px;margin-top:4px}.work-film .category-action{margin-top:6px}
.services{display:block;padding-top:36px}.services-aside>p{font-size:16px;max-width:43ch;margin-top:16px}.services-aside .text-link{margin-top:12px}.service-list{margin-top:22px}.service-list details{padding:12px 0}.service-list summary{font-size:23px;gap:16px}.service-list details p{font-size:16px;margin:12px 12px 12px 0}.studio-statement{font-size:34px;line-height:1.08}html[lang=ru] .studio-statement{font-size:29px}.studio-bottom{display:block;margin-top:22px}.studio-bottom p{font-size:16px;max-width:43ch}.studio-mark{display:none}
.section-intro,.studio-bottom p,.services-aside>p,.service-list details p,.process-steps p{text-align:start}.services-aside>p,.service-list details p,.process-steps p{text-align:start}.process-steps{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:24px;gap:20px 18px}.process-steps li{display:block;padding:12px 0 0}.step-number{font-size:14px;margin:0 0 8px}.process-steps h3{font-size:20px;margin-bottom:8px;letter-spacing:-.025em}.process-steps p{font-size:15px;max-width:none;line-height:1.45}
.contact{display:block;padding-block:32px}.contact-intro>p:last-child{font-size:16px;margin-top:14px}.contact-form{margin-top:20px;padding-top:0}.field{margin-bottom:14px}.field label{font-size:14px;margin-bottom:4px}.field input,.field textarea{font-size:16px;min-height:44px;padding:8px 0;line-height:1.4}.field textarea{height:68px;min-height:68px;max-height:160px}.field-error:empty{display:none}.form-bottom{flex-direction:column;gap:10px;margin-top:18px}.form-bottom .button{min-height:46px;padding:11px 16px;font-size:15px}.form-note{max-width:none;font-size:12px;line-height:1.4}.form-result{margin-top:20px;padding-top:16px}.form-result h3{font-size:23px}
.footer{display:grid;grid-template-columns:1fr auto;gap:12px;padding:20px var(--space) max(12px,env(safe-area-inset-bottom))}.footer-top{display:contents}.footer-top>span{display:none}.footer-top>a{grid-column:2;grid-row:1;font-size:13px;gap:8px}.footer-top>a svg{width:20px;height:20px}.footer-wordmark{grid-column:1;grid-row:1;font-size:52px;line-height:1;margin:0;text-align:left;align-self:center}.footer-bottom{grid-column:1/-1;border-top:1px solid var(--line);padding-top:8px;font-size:12px;gap:10px;flex-wrap:nowrap}.footer-bottom>span:nth-child(2){display:none}.footer-language{gap:10px}.footer-language button{font-size:12px}
.gallery-dialog{width:calc(100% - 24px);max-height:88dvh;scrollbar-gutter:auto}.gallery-toolbar{padding:8px 14px}.gallery-body{padding:24px 20px}.gallery-body h2{font-size:28px}.gallery-body>p{font-size:16px}.gallery-content{margin-top:24px}.gallery-empty{min-height:190px;padding:24px 20px}.gallery-empty h3{font-size:23px}.gallery-empty p{font-size:16px}.gallery-footer{padding:0 20px 20px}.gallery-content.has-media{grid-template-columns:1fr}.gallery-item img,.gallery-item video{max-height:50dvh}}
@media(max-width:380px){:root{--space:18px}.hero{padding-inline:18px}.hero-actions{gap:12px}.hero .button{padding-inline:12px;gap:10px}.category-title,html[lang=ru] .category-title{font-size:20px}html[lang=ru] .work-stills .category-title{font-size:18px}.work-slot{padding-inline:14px}.work-film{padding-inline:20px}h2,.section-heading h2,.services-aside h2,.contact-intro h2,html[lang=ru] .section-heading h2,html[lang=ru] .contact-intro h2{font-size:28px}.gallery-body h2{font-size:26px}}
@media(max-width:374px){.process-steps{grid-template-columns:1fr;gap:0}.process-steps li{display:grid;grid-template-columns:24px minmax(0,1fr);gap:0 14px;padding:16px 0}.step-number{grid-row:1/3;margin:0;padding-top:3px}.process-steps h3,.process-steps p{grid-column:2}}
@media(min-width:1441px){.gallery-dialog{width:min(63vw,1680px);max-height:84dvh}.gallery-body{padding:clamp(32px,2.2vw,56px)}.gallery-body h2{font-size:clamp(40px,2.5vw,56px)}.gallery-body>p{font-size:clamp(17px,1vw,21px)}.gallery-empty{min-height:clamp(200px,25dvh,380px);padding:clamp(30px,2.2vw,56px)}.gallery-empty h3{font-size:clamp(24px,1.6vw,34px)}.gallery-empty p{font-size:clamp(16px,1vw,20px)}.gallery-toolbar{padding-inline:clamp(24px,2.2vw,56px)}.gallery-footer{padding-inline:clamp(32px,2.2vw,56px)}}
@media(max-height:520px) and (orientation:landscape){.gallery-dialog{max-height:calc(100dvh - 24px)}.gallery-empty{min-height:120px}.gallery-body{padding-block:20px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}html{scroll-behavior:auto}}

.yt-video-frame{--video-ratio:1.77777778;position:relative;width:min(100%,calc(56dvh * var(--video-ratio)));aspect-ratio:var(--video-ratio);margin-inline:auto;background:transparent}.yt-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}.yt-local-note{font-size:13px;line-height:1.4;color:rgba(7,7,7,.68);margin:12px auto 0;max-width:68ch}.video-card-button{display:block;position:relative;width:100%;padding:0;background:transparent;text-align:left}.video-card-button>img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;background:transparent}.video-card-play{position:absolute;left:14px;bottom:14px;display:flex;justify-content:center;align-items:center;width:44px;height:44px;background:#070707;color:#ededed}.video-card-play svg{width:20px;height:20px}.video-card-title{font-size:20px;line-height:1.2;margin:12px 0 0;overflow-wrap:anywhere}.video-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0;font-size:14px;margin-bottom:18px}.video-back svg{width:18px;height:18px}.video-detail-copy{margin-top:22px}.video-detail-copy h2{font-size:30px;line-height:1.12;overflow-wrap:anywhere}.video-detail-copy p{font-size:17px;line-height:1.5;color:rgba(7,7,7,.68);margin-top:14px;white-space:pre-wrap;overflow-wrap:anywhere}.video-format-field{margin-top:20px}.video-detail-view:focus{outline:none}@media(max-width:760px){.video-detail-copy h2{font-size:26px}.video-detail-copy p{font-size:16px}.video-card-title{font-size:18px}.video-card-play{left:10px;bottom:10px}.yt-local-note{font-size:12px}}

.gallery-video-placeholder{background:var(--black);width:100%;min-height:120px}.gallery-item.video-work .video-card-button img{max-height:none;height:auto;background:transparent}.gallery-body.video-detail{display:flex;flex-direction:column}.gallery-body.video-detail #gallery-content{order:1;margin-top:0}.gallery-body.video-detail #gallery-title{order:2;margin-top:22px;max-width:none}.gallery-body.video-detail #gallery-description{order:3;white-space:pre-wrap;max-width:68ch}.gallery-item img{max-height:none;height:auto;background:transparent}.gallery-body.video-detail .yt-local-note{font-size:13px}.video-work{align-self:start}

.honeypot{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

.photo-open{display:block;width:100%;cursor:zoom-in}.photo-dialog{background:var(--black);color:var(--white);border:0;padding:56px 20px 64px;width:min(94vw,1500px);height:92dvh;max-width:none;max-height:none;margin:auto}.photo-dialog::backdrop{background:rgba(7,7,7,.85);backdrop-filter:blur(6px)}#photo-large{display:block;width:100%;height:100%;object-fit:contain}.photo-close{position:absolute;right:12px;top:8px;width:44px;height:44px;display:grid;place-items:center}.photo-close svg,.photo-navigation svg{width:24px;height:24px}.photo-navigation{display:flex;align-items:center;justify-content:center;gap:20px;position:absolute;bottom:12px;inset-inline:20px}.photo-navigation button{display:grid;place-items:center;width:44px;height:40px}.photo-dialog [hidden]{display:none}@media(max-width:760px){.photo-dialog{width:calc(100% - 16px);height:90dvh;padding-inline:8px}}
/* Compact portfolio collections: fixed viewport, uniform preview height. */
:root{--portfolio-dialog-width:min(860px,calc(100% - 64px));--portfolio-dialog-height:min(84dvh,900px)}
.gallery-dialog{width:var(--portfolio-dialog-width);height:var(--portfolio-dialog-height);max-height:none;overflow:hidden;--thumbnail-height:clamp(124px,18dvh,180px)}
.gallery-shell{display:flex;flex-direction:column;height:100%;min-height:0}
.gallery-toolbar{position:static;flex:none}
.gallery-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:24px 28px}
.gallery-body h2{font-size:clamp(28px,2.5vw,38px)}
.gallery-body>p{font-size:16px;margin-top:10px}
.gallery-content{margin-top:24px}
.gallery-content.has-media,.gallery-content.has-media:has(>.gallery-item:only-child){grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 18px;align-content:start}
.gallery-item .video-card-button,.gallery-item .photo-open{display:block;width:100%;height:var(--thumbnail-height);padding:0;overflow:hidden;background:transparent}
.gallery-item.video-work .video-card-button img,.gallery-item .photo-open img,.gallery-item .gallery-video-placeholder{display:block;width:100%;height:var(--thumbnail-height);min-height:0;max-height:none;aspect-ratio:auto;object-fit:cover;object-position:center}
.gallery-item .video-card-title,.gallery-item figcaption h3{font-size:18px;line-height:1.25;min-height:2.5em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-top:10px}
.gallery-item figcaption{margin-top:0}
.gallery-item figcaption p{font-size:15px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.gallery-item figcaption p:empty{display:none}
.gallery-footer{flex:none;padding:12px 28px 20px}
.gallery-body.video-detail>*{flex-shrink:0}
.gallery-empty{min-height:160px;padding:24px}
.gallery-empty h3{font-size:24px}.gallery-empty p{font-size:16px}
.photo-dialog{width:var(--portfolio-dialog-width);height:var(--portfolio-dialog-height)}
@media(min-width:1441px){:root{--portfolio-dialog-width:min(63vw,1680px)}.gallery-content.has-media,.gallery-content.has-media:has(>.gallery-item:only-child){grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){:root{--portfolio-dialog-width:calc(100% - 24px);--portfolio-dialog-height:88dvh}.gallery-dialog{--thumbnail-height:120px}.gallery-body{padding:20px 16px}.gallery-body h2{font-size:28px}.gallery-content.has-media,.gallery-content.has-media:has(>.gallery-item:only-child){grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.gallery-item .video-card-title,.gallery-item figcaption h3{font-size:16px}.gallery-footer{padding:10px 16px 16px}.gallery-empty{padding:20px;min-height:160px}.gallery-empty h3{font-size:22px}.gallery-empty p{font-size:15px}}
@media(max-height:520px) and (orientation:landscape){:root{--portfolio-dialog-height:calc(100dvh - 24px)}.gallery-dialog{--thumbnail-height:104px}}
/* Video detail reserves visible space for its own title and description. */
.gallery-toolbar{padding:2px 16px}
.gallery-dialog.has-video-detail .gallery-body{padding:12px 24px;overflow:hidden;display:flex;flex-direction:column}
.gallery-dialog.has-video-detail #gallery-content{display:flex;flex-direction:column;flex:1;min-height:0;margin:0;order:initial}
.gallery-dialog.has-video-detail .video-back{flex:none;min-height:44px;margin:0 0 8px;align-self:flex-start}
.gallery-dialog.has-video-detail .gallery-footer{padding:4px 24px 8px}
.video-detail-layout{flex:1;min-height:0;min-width:0;display:flex;flex-direction:column;gap:12px}
.public-video-player{display:flex;flex:none;align-items:flex-start;justify-content:center;min-width:0;min-height:0;overflow:hidden}
.video-detail-layout .yt-video-frame{flex:none;margin:0;max-width:100%;max-height:100%}
.video-detail-layout .video-detail-copy{flex:none;min-width:0;margin:0;max-height:clamp(84px,18dvh,160px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.gallery-body.video-detail #gallery-title{order:initial;margin:0;font-size:clamp(22px,2.2vw,30px);line-height:1.14;max-width:none;overflow-wrap:anywhere}
.gallery-body.video-detail #gallery-description{order:initial;margin:10px 0 0;font-size:16px;line-height:1.45;max-width:65ch;white-space:pre-wrap;overflow-wrap:anywhere}
@media(min-width:761px){.video-detail-layout[data-orientation=portrait]{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(240px,.95fr);gap:clamp(24px,3vw,48px)}.video-detail-layout[data-orientation=portrait] .public-video-player{height:100%}.video-detail-layout[data-orientation=portrait] .video-detail-copy{align-self:start;max-height:100%}}
@media(max-width:760px){.gallery-dialog.has-video-detail .gallery-body{padding:10px 14px}.gallery-dialog.has-video-detail .gallery-footer{padding:2px 14px 8px}.gallery-body.video-detail #gallery-title{font-size:22px}.gallery-body.video-detail #gallery-description{font-size:15px}.video-detail-layout{gap:10px}}
@media(max-height:820px){:root{--portfolio-dialog-height:calc(100dvh - 24px)}}

.video-detail-copy:focus-visible{outline:3px solid var(--red);outline-offset:-3px}

/* Photo rows preserve each image's proportions at a common preview height. */
.gallery-content.has-media.photo-collection{display:flex;flex-wrap:wrap;align-items:flex-start;gap:20px 12px}
.photo-collection>.gallery-item{flex:0 1 auto;width:max-content;max-width:100%;min-width:0}
.gallery-item .photo-open{width:auto;max-width:100%;height:var(--thumbnail-height)}
.gallery-item .photo-open img{width:auto;max-width:100%;height:var(--thumbnail-height);object-fit:contain}
.photo-collection .gallery-item figcaption,.photo-collection .media-error{width:0;min-width:100%;overflow-wrap:anywhere}
.photo-collection .gallery-item figcaption h3{min-height:0}

/* Photo-only zoom: gestures stay inside the image viewport. */
.photo-zoom-viewport{position:relative;width:100%;height:100%;min-height:0;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none;cursor:zoom-in}
.photo-zoom-viewport.is-zoomed{cursor:grab}.photo-zoom-viewport.is-zoomed:active{cursor:grabbing}
.photo-zoom-viewport>img{position:absolute;left:50%;top:50%;max-width:none!important;max-height:none!important;object-fit:contain;transform-origin:center;pointer-events:none}
.photo-zoom-tools{position:absolute;left:12px;top:6px;display:flex;align-items:center;gap:4px;color:var(--white);background:var(--black)}
.photo-zoom-tools button{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;color:inherit;border:0;background:transparent;cursor:pointer}
.photo-zoom-tools button:disabled{opacity:.35;cursor:default}.photo-zoom-tools button:hover:not(:disabled){background:rgba(237,237,237,.12)}
.photo-zoom-tools svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.photo-zoom-tools output{min-width:46px;text-align:center;font-size:13px;font-variant-numeric:tabular-nums}
.photo-zoom-tools :focus-visible,.photo-zoom-viewport:focus-visible{outline:2px solid var(--white);outline-offset:-3px}
