/* Barn-24 preview: existing gallery and video, moved into the first project screen. */
.project-hero>.project-video-a{min-width:0;width:100%;margin:0}
.project-video-a__label{margin:0 0 8px;font:800 18px/1.2 "Manrope",sans-serif;color:var(--ink)}
.project-video-a .project-video-shell{width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:16/9;border-radius:18px;overflow:hidden}
.project-video-a .project-video-shell video{display:block;width:100%;height:100%;object-fit:contain}
@media(max-width:767px){
 .project-page .project-hero{display:flex!important;flex-direction:column!important;gap:18px!important}
 .project-hero>.page-title{order:0;margin-bottom:0}
 .project-hero>.project-video-a{order:1;max-width:420px;align-self:center}
 .project-hero>.project-hero__media{order:2;width:100%}
 .project-hero>.project-hero__info{order:3;width:100%}
 .project-video-a__label{font-size:15px;margin-bottom:6px}
}
@media(min-width:768px){
 .project-page .project-hero{grid-template-columns:minmax(0,1.3fr) minmax(0,.85fr);grid-template-rows:auto auto 1fr;align-items:start;column-gap:24px;row-gap:20px}
 .project-hero>.page-title{grid-column:1 / -1;grid-row:1}
 .project-hero>.project-hero__media{grid-column:1;grid-row:2 / span 2;min-width:0}
 .project-hero>.project-video-a{grid-column:2;grid-row:2}
 .project-hero>.project-hero__info{grid-column:2;grid-row:3;margin:0;min-width:0}
}

.mobile-nav[open] .mobile-nav__panel{position:fixed;top:var(--pro-menu-top,110px);right:max(14px,env(safe-area-inset-right));width:min(340px,calc(100vw - 28px));max-height:calc(100dvh - var(--pro-menu-top,110px) - 14px);overflow:auto;overscroll-behavior:contain;display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:16px;box-sizing:border-box}
.mobile-nav[open] .mobile-nav__contacts{margin-top:6px;padding-top:14px;gap:10px}
