
/* Yellow is the shared action colour in both themes. */
.slogan-line i,.storyboard-dot{color:var(--brand-yellow)}
html[data-theme] .hero-cinema .hero-watch{color:#151513;background:var(--brand-yellow);border-color:var(--brand-yellow);box-shadow:inset 0 1px #fff5}
html[data-theme] .hero-cinema .hero-watch>span{color:#151513}
html[data-theme] .hero-cinema .hero-watch:hover,html[data-theme] .hero-cinema .hero-watch:focus-visible{color:#151513;background:#ffe33c;border-color:#ffe33c;transform:translateY(-2px);box-shadow:inset 0 1px #fff7,0 7px 22px #00000018}
.hero-cinema .hero-watch{transition:background .5s var(--ease),border-color .5s var(--ease),transform .6s var(--ease),box-shadow .6s var(--ease)}
.hero-watch .ui-arrow{transition:transform .65s var(--ease)}
.hero-watch:hover .ui-arrow{transform:translate(2px,-2px)}
/* The highlight sits above the playing media, without changing its geometry. */
.work .frame:before{inset:0;width:auto;height:auto;border:2px solid var(--brand-yellow);border-radius:inherit;opacity:0;transform:scale(.988);transition:opacity .5s var(--ease),transform .7s var(--ease)}
.work .frame:after{display:none}
.work:hover .frame:before,.work:focus-within .frame:before{opacity:1;transform:scale(1)}
/* One alpha silhouette: no dark source image underneath the coloured edges. */
.client-mark{position:relative;display:block;width:fit-content;max-width:100%;line-height:0;transform:translateY(0) scale(1);transition:transform .9s var(--ease)}
.client-mark img,html[data-theme=light] .client-mark img{display:block;transform:none!important;transition:opacity .45s var(--ease)}
.client-color{display:none;position:absolute;inset:0;pointer-events:none;opacity:.78;background:var(--paper);filter:none;transition:opacity .45s var(--ease)}
.client-color:after{content:'';position:absolute;inset:0;opacity:0;background:linear-gradient(110deg,var(--brand-yellow) 0%,var(--brand-yellow) 30%,var(--sky) 70%,var(--sky) 100%);background-size:350% 100%;background-position:0% 50%;transition:opacity .45s var(--ease);animation:client-palette 2.9s ease-in-out infinite alternate;animation-play-state:paused}
@supports (mask-image:url('assets/clients/01.png')) or (-webkit-mask-image:url('assets/clients/01.png')){
 .client-color{display:block;-webkit-mask-image:var(--client-mask);mask-image:var(--client-mask);-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
 html[data-theme] .client-mark img{opacity:0!important}
}
@media(hover:hover) and (pointer:fine){
 .client:hover .client-mark{transform:translateY(-3px) scale(1.07)}
 .client:hover .client-color{opacity:1}
 .client:hover .client-color:after{opacity:1;animation-play-state:running}
}
@keyframes client-palette{from{background-position:0% 50%}to{background-position:100% 50%}}
.is-tab-hidden .client-color:after{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.client-mark,.client-color,.client-color:after{transition:none}.client-color:after{animation:none;background-position:50% 50%}.client:hover .client-mark{transform:none}}
/* A clear editorial action: fine rule, count and a directional cue. */
html[data-theme] .show-more,html[data-theme] .show-more[aria-expanded=true]{gap:15px;min-width:224px;padding:12px 6px;border-bottom-color:#ffd60080;transition:color .45s var(--ease),border-color .45s var(--ease),transform .65s var(--ease)}
html[data-theme] .show-more>span{min-width:22px;padding:0;border:0;border-radius:0;background:none;color:var(--muted)}
.show-more:after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--brand-yellow);transform:scaleX(.18);transform-origin:left;transition:transform .75s var(--ease)}
.more-cue{display:block;flex-shrink:0;width:31px;height:31px;padding:6px;border:1px solid #ffd60090;border-radius:50%;fill:none;stroke:var(--brand-yellow);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .65s var(--ease),background .55s,border-color .55s}
html[data-theme=light] .more-cue{stroke:var(--paper);background:#ffd60038;border-color:var(--brand-yellow)}
.show-more.is-cued[aria-expanded=false] .more-cue path{animation:more-invitation 4.6s var(--ease) infinite}
.show-more[aria-expanded=true] .more-cue{transform:rotate(180deg)}
html[data-theme] .show-more:hover,html[data-theme] .show-more:focus-visible{color:var(--paper);border-color:var(--brand-yellow);transform:translateY(-2px)}
.show-more:hover:after,.show-more:focus-visible:after{transform:scaleX(1)}
.show-more:hover .more-cue,.show-more:focus-visible .more-cue{background:#ffd60020;border-color:var(--brand-yellow)}
.show-more:hover .more-cue path,.show-more:focus-visible .more-cue path{animation-play-state:paused}
@keyframes more-invitation{0%,65%,100%{transform:translateY(0)}78%{transform:translateY(2px)}}
/* Shared short response for the remaining real controls. */
html[data-theme] :is(.theme-toggle,.menu-toggle,.route-options button,.route-autoplay,.map-zoom button,.dialog-head button,.storyboard-action,.film-open){transition:background .45s var(--ease),border-color .45s var(--ease),color .45s var(--ease),box-shadow .55s var(--ease),transform .6s var(--ease),opacity .35s}
@media(hover:hover) and (pointer:fine){
 html[data-theme] :is(.theme-toggle,.menu-toggle,.route-options button,.route-autoplay,.map-zoom button,.dialog-head button,.storyboard-action,.film-open):not(:disabled):hover{transform:translateY(-2px);box-shadow:inset 0 1px #ffffff12}
 html[data-theme] .film-open:hover{border-color:var(--brand-yellow);color:var(--brand-yellow)}
}
html[data-theme] button:not(:disabled):active{transform:translateY(0);transition-duration:.15s}
/* A wide feathered development, with the sketch retained underneath.
   Mask motion needs no per-frame JavaScript or blur over the photographs. */
.storyboard-study[data-kind=real] .storyboard-frame.is-active{
 clip-path:none;-webkit-mask-image:linear-gradient(112deg,#000 38%,transparent 58%);mask-image:linear-gradient(112deg,#000 38%,transparent 58%);
 -webkit-mask-size:300% 100%;mask-size:300% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
 animation:storyboard-materialize 1.55s cubic-bezier(.22,.65,.25,1) both
}
.storyboard-study[data-kind=real] .storyboard-frame.is-leaving{animation:storyboard-line-release 1.55s cubic-bezier(.22,.65,.25,1) both}
.storyboard-study[data-kind=sketch] .storyboard-frame.is-active{animation:storyboard-ink-settle .85s cubic-bezier(.22,.65,.25,1) both}
.storyboard-study[data-kind=sketch] .storyboard-frame.is-leaving{animation:storyboard-scene-release .85s cubic-bezier(.22,.65,.25,1) both}
.storyboard-focus{position:absolute;inset:0;z-index:4;display:block;width:100%;height:100%;pointer-events:none;fill:none;stroke:var(--brand-yellow);stroke-width:2;opacity:.95;filter:drop-shadow(0 1px 2px #000b);transform-origin:center}
.storyboard-focus path{vector-effect:non-scaling-stroke}
.storyboard-study[data-kind=real] .storyboard-focus{animation:storyboard-focus-lock 1.55s var(--ease) both}
.storyboard-study[data-paused=true] .storyboard-focus{animation-play-state:paused}
.storyboard-study[data-state=fallback] .storyboard-frame.is-active{animation:none;-webkit-mask-image:none;mask-image:none;transform:none;filter:none;opacity:1}
@keyframes storyboard-materialize{
 0%{opacity:0;-webkit-mask-position:100% 0;mask-position:100% 0;filter:grayscale(1) brightness(.88);transform:scale(1.018)}
 12%{opacity:1}
 48%{filter:grayscale(.6) brightness(.97)}
 84%,100%{opacity:1;-webkit-mask-position:0 0;mask-position:0 0;filter:grayscale(0) brightness(1);transform:scale(1)}
}
@keyframes storyboard-line-release{0%,24%{opacity:1;transform:scale(1)}72%{opacity:.35}100%{opacity:0;transform:scale(1.006)}}
@keyframes storyboard-ink-settle{0%{opacity:0;transform:scale(1.012)}100%{opacity:1;transform:scale(1)}}
@keyframes storyboard-focus-lock{0%{opacity:.5;transform:scale(1.02)}72%,100%{opacity:.95;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){
 html[data-theme] button,.hero-watch .ui-arrow,.show-more:after,.more-cue,.client img,html[data-theme=light] .client img,.work .frame:before{transition:none!important}
 .more-cue path,.storyboard-focus,.storyboard-frame{animation:none!important}
 .storyboard-frame.is-active{-webkit-mask-image:none!important;mask-image:none!important;transform:none!important;filter:none!important;opacity:1}
 .storyboard-frame.is-leaving{opacity:0}
 html[data-theme] button:hover,.hero-watch:hover .ui-arrow,.client:hover img,html[data-theme=light] .client:hover img{transform:none!important}
}

/* Backing stays inside the logo's own yellow square, underneath the K. */
.office-map-live .kustov-map-pin>.office-brand{left:14px;top:-22px;width:44px;height:44px;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;filter:none;isolation:isolate}
.office-map-live .kustov-map-pin.label-left>.office-brand{left:auto;right:14px}
.office-brand:before{content:'';position:absolute;z-index:-1;left:13%;right:13%;top:17%;bottom:17%;background:#090909b8}
.office-brand img{padding:0}
html[data-theme=light] .office-map-live .kustov-map-pin>.office-brand{background:none;border:0;box-shadow:none}
html[data-theme=light] .office-brand:before{background:#fafaf7d6}
html[data-theme=light] .office-map-live .travel-route{stroke:#303a3c;stroke-width:3.5;filter:drop-shadow(0 0 1px #fafaf7)}
@container(max-width:640px){.office-map-live .kustov-map-pin>.office-brand{width:40px;height:40px;top:-20px}.office-brand img{padding:0}}
