/* UI-kit states: the right-arrow SVG contains the complete pair of arrows. */
.language-nav a[aria-current=page]{color:var(--heading);font-weight:500}
.project-url a,.cookie-notice a{transition:color 300ms ease}
.project-url a:hover,.project-url a:focus-visible{color:var(--heading);text-decoration:none}
.cookie-notice a:hover,.cookie-notice a:focus-visible{color:var(--heading)}
.control-left,.control-right{clip-path:none}
.slider-controls .desktop-controls{transition:opacity 150ms ease}
.theme-toggle{position:relative}
.theme-toggle img{position:absolute;inset:0;width:33px;height:33px;transition:opacity 150ms ease;filter:none!important}
.theme-toggle .theme-hover{opacity:0}
@media(hover:hover){.theme-toggle:hover .theme-default{opacity:0}.theme-toggle:hover .theme-hover{opacity:1}}
.theme-toggle:focus-visible .theme-default{opacity:0}.theme-toggle:focus-visible .theme-hover{opacity:1}
.burger-morph{display:block;width:29px;height:19px;overflow:visible;stroke:var(--heading);stroke-width:1.7;fill:none}
.burger-morph line{transform-box:fill-box;transform-origin:center;transition:transform 300ms ease;vector-effect:non-scaling-stroke}
.menu-toggle[aria-expanded=true] .burger-line-first{transform:translate(-3.62355px,2.76384px) rotate(30deg) scaleX(.832293)}
.menu-toggle[aria-expanded=true] .burger-line-second{transform:translate(-.37686px,-2.236125px) rotate(-30deg) scaleX(1.04941)}
.hero-content,.showcase{animation:none}
.native-cover{position:absolute;inset:0;width:100%;height:100%;overflow:hidden}
.native-cover .living-lines-container,.native-cover canvas{width:100%;height:100%;display:block;background:#0d1117}
.native-cover>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.native-bioree-black{clip-path:inset(0 0 0 100%);transition:clip-path .8s ease;will-change:clip-path}
.native-cover.is-black .native-bioree-black{clip-path:inset(0 0 0 0)}
.showcase-stack.is-initializing .showcase-card{transition:none}
.motion-enabled:not([data-motion-ready]) body:not(.is-privacy):not(.is-404) :is(#hero-heading,.hero-description,.studio-avatar,.site-header>.brand,.site-header>.language-nav){opacity:0}
.motion-enabled:not([data-motion-ready]) body:not(.is-privacy):not(.is-404) .showcase{opacity:0}
.showcase-card{transform:translate(-50%,-50%) translate(var(--offset),var(--drop,0px)) scale(var(--scale));transition:transform .65s cubic-bezier(.25,.8,.25,1),opacity .3s ease}
.motion-reveal{transition:opacity 300ms ease var(--reveal-delay,0ms),transform 300ms ease var(--reveal-delay,0ms),clip-path 300ms ease var(--reveal-delay,0ms)}
.motion-rise{opacity:0;transform:translateY(10px)}
.motion-rise.is-visible{opacity:1;transform:translateY(0)}
.motion-curtain,.motion-curtain.is-visible{clip-path:none}
.project-gallery{clip-path:none}
.project-gallery>.gallery-layer{position:absolute;inset:0;width:100%;height:100%;transform-origin:center}
.project-gallery .project-brand{z-index:3}
.project-expand-area{grid-column:2/span 2;display:flex;flex-direction:column;align-items:stretch;min-width:0}
.project-expand-area .project-description{margin-bottom:15px}
.project-expand-area .project-toggle{align-self:flex-start}
@media(max-width:1319px){.project-expand-area{grid-column:1/-1}}
@media(max-width:509px){.project-expand-area .project-description{margin-bottom:10px}}
.motion-lines .motion-word{display:inline-block;opacity:0;filter:blur(5px);transform:translateY(10px);transition:opacity 300ms ease var(--line-delay),filter 300ms ease var(--line-delay),transform 300ms ease var(--line-delay)}
.motion-lines.is-visible .motion-word{opacity:1;filter:blur(0);transform:none}
/* Color changes share one duration, without restarting section motion. */
body,a,button,.project-tags li,.cookie-notice,.feedback-panel,.input-wrap>input{transition-property:background-color,color,border-color;transition-duration:300ms;transition-timing-function:ease}
.menu-toggle{transition:transform 300ms ease,color 300ms ease}
.main-menu>a,.menu-contact,.menu-contacts a{animation:none}
.slider-controls:has(.slide-previous:focus-visible) .control-hover.control-left,.slider-controls:has(.slide-next:focus-visible) .control-hover.control-right{opacity:1}
html.lenis,html.lenis body{height:auto}
html.lenis.lenis-smooth{scroll-behavior:auto!important}
.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}
.lenis.lenis-stopped{overflow:hidden}
@media(prefers-reduced-motion:reduce){
 .motion-reveal,.motion-word{opacity:1!important;filter:none!important;transform:none!important;clip-path:none!important;transition:none!important}
 .burger-morph line{transition:none!important}
}
/* Responsive navigation: Figma 118:2266, 116:1576 and 116:1505. */
@media (min-width:960px) and (max-width:1319px){
 .floating-header{padding:20px}
 .floating-header:has(.main-menu:not([hidden])){background:var(--bg);border-radius:10px;pointer-events:auto}
 .floating-inner{align-items:start}
 .floating-header .menu-toggle{grid-column:3;justify-self:start}
 .floating-header .main-menu{grid-column:5/span 6;grid-row:1;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;gap:20px}
 .floating-header .menu-contacts{position:static;font-size:12px;line-height:1.3;color:var(--description)}
}
@media (max-width:959px){
 .floating-header{padding:20px 15px}
 .floating-header:has(.main-menu:not([hidden])){background:var(--element,#fafafa);border:1px solid var(--stroke,#ddd);border-radius:10px 10px 0 0;pointer-events:auto}
 .floating-inner{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:20px;row-gap:0;align-items:start}
 .floating-header .brand{grid-column:1/span 2;grid-row:1;align-self:center}
 .floating-header .menu-toggle{grid-column:3;grid-row:1;justify-self:start;align-self:start}
 .floating-header .language-nav{grid-column:4;grid-row:1;justify-self:end;align-self:center}
 .floating-header .main-menu{grid-column:1/-1;grid-row:2;grid-template-columns:subgrid;column-gap:20px;row-gap:0;margin-top:40px;padding:0}
 .floating-header .menu-contact{grid-column:1/span 2;grid-row:1}
 .floating-header .main-menu>a:nth-child(2){grid-column:3;grid-row:1;justify-self:start}
 .floating-header .main-menu>a:nth-child(3){grid-column:4;grid-row:1;justify-self:end}
 .floating-header .menu-contacts{position:static;width:max-content;max-width:100%;padding-top:15px;font-size:12px;line-height:1.3;color:var(--description)}
 .floating-header .contact-toggle[aria-expanded=true]{font-weight:500}
}
/* Form and delivery cards from Figma. */
.feedback-form{align-items:flex-start}
.feedback-panel{position:relative;width:100%}
.form-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.form-result{width:100%;min-height:155px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;color:var(--heading);outline:none}
.form-result-icon{display:block;width:33px;height:33px;flex:none}
.form-result p{margin:0;width:161px;max-width:100%;font-size:14px;line-height:1.3;text-align:center}
html[lang=ru] .feedback-form[data-state=success] .form-result p{width:138px}
.feedback-form:is([data-state=success],[data-state=error]){gap:0}
.feedback-form:is([data-state=success],[data-state=error]) .feedback-panel{min-height:186px;border-radius:10px}
.feedback-form:is([data-state=success],[data-state=error]) .form-close{position:absolute;top:15px;right:15px}
@media (min-width:510px) and (max-width:959px){
 .feedback-form{left:0;right:auto}
}
@media (max-width:509px){
 .feedback-anchor:has(.feedback-form:not([hidden]))>.inquiry-button{display:none}
 .feedback-form{position:relative;left:auto;right:auto;bottom:auto;width:100%;gap:10px}
 .feedback-panel{border-radius:25px;min-height:154px}
 .feedback-fields{gap:7px}
 .input-wrap>input,.input-wrap .iti input.iti__tel-input{min-height:41px;border-radius:22px;padding-top:11px;padding-bottom:11px}
 .input-wrap>input{padding-left:12px}
 .input-clear{top:12px}
 .feedback-form .form-close,.feedback-form .form-close img{width:18px;height:18px}
 .consent{gap:8px;margin-top:10px;font-size:14px;align-items:center}
 .consent input{width:16px;height:16px}
 .feedback-form>.pill{width:100%;height:50px;min-height:50px;font-size:12px}
 .feedback-form:is([data-state=success],[data-state=error]) .form-close,.feedback-form:is([data-state=success],[data-state=error]) .form-close img{width:16px;height:16px}
}
.form-result-icons{width:33px;height:33px;flex:none}
.form-result .form-result-dark{display:none}
html[data-theme=dark] .form-result .form-result-light{display:none}
html[data-theme=dark] .form-result .form-result-dark{display:block}
@media (min-width:510px) and (max-width:619px){.feedback-form{left:auto;right:0}}
/* Exactly half the desktop showcase remains above the initial fold. */
@media (min-width:1320px){
 body:not(.is-privacy):not(.is-404) .hero{--showcase-height:min(calc(min(100vw - 120px,1920px) * .2948717949),60svh);gap:0}
 body:not(.is-privacy):not(.is-404) .hero-content-wrapper{height:calc(100svh - 50px - var(--showcase-height) / 2);display:grid;grid-template-rows:17px minmax(0,1fr);gap:0;align-items:center;justify-items:center}
 body:not(.is-privacy):not(.is-404) .hero .site-header{align-self:start}
 body:not(.is-privacy):not(.is-404) .showcase{height:var(--showcase-height);aspect-ratio:auto;animation:none}
 body:not(.is-privacy):not(.is-404) .hero-content{gap:clamp(12px,3svh,30px)}
 body:not(.is-privacy):not(.is-404) .hero-content h1{font-size:clamp(26px,4.67svh,42px)}
}
/* Stable top row and separately fading responsive menu panel. */
@media(max-width:1319px){
 .floating-header:has(.main-menu:not([hidden])){background:none;border:0}
 .floating-header::before{content:'';position:absolute;inset:0 0 auto;height:var(--menu-panel-height,100%);background:var(--bg);border-radius:10px;opacity:0;pointer-events:none;transition:opacity 400ms ease,height 400ms cubic-bezier(.4,0,.2,1);z-index:-1}
 .floating-header.is-menu-visible::before{opacity:1}
 .floating-header .brand{align-self:start;margin-top:4px}
 .floating-header .language-nav,.floating-header .menu-toggle{align-self:start}
 .project-toggle{width:34px;height:32.583333px}
 .project-toggle img{left:0;top:0;transform:scale(1.41666667);transform-origin:top left}
}
@media(max-width:959px){
 .floating-header::before{border:1px solid var(--stroke);background:#fafafa;border-radius:10px 10px 0 0}
 html[data-theme=dark] .floating-header::before{background:var(--element)}
}
@media(prefers-reduced-motion:reduce){.floating-header::before{transition:none}}
.floating-header:has(.main-menu:not([hidden])){border:0;border-radius:0}
.floating-header::before{border:0;border-bottom:1px solid var(--stroke);border-radius:0}
@media(min-width:1320px){
 .floating-header::before{border:0}
}
/* Explicit Figma text caps; narrower grid cells may shrink naturally. */
:is(.hero-content,.service-intro,.project-heading,.description-column,.text-card,.privacy-section h2,.privacy-section>div){min-width:0}
.service-intro{max-width:770px}
.service-list .text-card:first-child{max-width:390px}
.service-list .text-card:nth-child(2){max-width:370px}
.description-column{max-width:370px}
.principle-list .text-card:nth-child(2) p,.principle-list .text-card:nth-child(3) p,.principle-list .text-card:nth-child(5) p{max-width:340px}
.principle-list .text-card[data-principle="01"] p{width:100%;max-width:290px}
.privacy-section h2{max-width:390px}
.privacy-section>div{max-width:600px}
.privacy-section:nth-child(2) h2,.privacy-section:nth-child(7) h2{max-width:350px}
.privacy-section:nth-child(3) h2{max-width:330px}
.privacy-section:nth-child(4) h2,.privacy-section:nth-child(6) h2{max-width:320px}
@media(max-width:509px){.description-column{max-width:430px}}
/* First fold: the midpoint of the showcase meets the viewport bottom. */
body:not(.is-privacy):not(.is-404) .hero{gap:0;--hero-top:50px;--showcase-height:min(calc(min(100vw - 120px,1920px) * .2948717949),60svh)}
body:not(.is-privacy):not(.is-404) .hero-content-wrapper{height:calc(100svh - var(--hero-top) - var(--showcase-height) / 2);display:grid;grid-template-rows:17px minmax(0,1fr);gap:0;align-items:center;justify-items:center}
body:not(.is-privacy):not(.is-404) .hero .site-header{align-self:start}
body:not(.is-privacy):not(.is-404) .showcase{height:var(--showcase-height);aspect-ratio:auto;animation:none}
body:not(.is-privacy):not(.is-404) .hero-content{gap:clamp(12px,3svh,30px)}
@media(min-width:960px) and (max-width:1319px){body:not(.is-privacy):not(.is-404) .hero{--hero-top:40px;--showcase-height:min(calc((100vw - 60px) * .5604166667),60svh)}}
@media(max-width:959px){body:not(.is-privacy):not(.is-404) .hero{--hero-top:20px;--showcase-height:min(calc((100vw - 30px) * .5604166667),60svh)}}
@media(max-width:509px){body:not(.is-privacy):not(.is-404) .hero-content h1{font-size:clamp(24px,4.5svh,32px)}}
.intro-chevron{display:inline-block;width:26px;height:16px;object-fit:contain;vertical-align:baseline;margin:0 3px}
html[data-theme=dark] .intro-chevron{filter:invert(1)}
@media(max-width:509px){.intro-chevron{margin:0 3px}}
@media(max-width:959px){.project-video{object-fit:cover}}
/* Keep the full rounded card inside the stack: never crop it with a viewport cap. */
body:not(.is-privacy):not(.is-404) .hero{--showcase-height:calc(min(100vw - 120px,1920px) * .2948717949)}
body:not(.is-privacy):not(.is-404) .hero-content h1{font-size:clamp(24px,4.67svh,42px)}
@media(min-width:960px) and (max-width:1319px){body:not(.is-privacy):not(.is-404) .hero{--showcase-height:calc((100vw - 60px) * .5604166667)}}
@media(max-width:959px){body:not(.is-privacy):not(.is-404) .hero{--showcase-height:calc((100vw - 30px) * .5604166667)}}
@media(max-width:509px){body:not(.is-privacy):not(.is-404) .hero-content h1{font-size:clamp(24px,4.5svh,32px)}}
/* The chevron is an inline text glyph and inherits the heading colour. */
.intro-chevron{display:inline;width:auto;height:auto;margin:0 5px;font-family:'Inter Display','Segoe UI Symbol',sans-serif;font-size:16px;font-weight:700;line-height:inherit;vertical-align:baseline;filter:none}
html[data-theme=dark] .intro-chevron{filter:none}
@media(max-width:509px){.intro-chevron{margin:0 5px}}
@font-face{font-family:'Ivanchev Symbols';src:url('/fonts/intro-symbols.ttf') format('truetype');font-style:normal;font-weight:400;font-display:block;unicode-range:U+E001}
.intro-chevron{font-family:'Ivanchev Symbols';font-size:16px;font-weight:400;font-style:normal;margin:0;font-synthesis:none;letter-spacing:0}
@media(max-width:509px){.intro-chevron{margin:0}}
.les-animation-canvas{animation-play-state:paused}
.les-animation.is-active.is-in-view .les-animation-canvas{animation-play-state:running}
@media(min-width:1320px){.hero-content #hero-heading{width:770px;min-width:770px;max-width:770px}}
@media(min-width:960px){.projects>.projects-label{grid-column:3;grid-row:1}.projects>.project-navigation{grid-column:1;grid-row:1}.projects>.project-list{grid-column:2;grid-row:1}}

/* Shared link states and footer spacing. */
.project-url a:hover,.project-url a:focus-visible,.privacy-section a:hover,.nda-note a:hover,.consent a:hover{color:var(--link-hover);text-decoration:underline;text-underline-offset:2px}
.page-container>.site-footer{margin-top:-30px}
@media(max-width:1319px){.page-container>.site-footer{margin-top:30px}}
@media(min-width:960px) and (max-width:1319px){.is-privacy .page-container>.site-footer{margin-top:60px}}
.native-cover>img.native-bioree-black{left:0;width:100%;max-width:none}
.project-gallery{touch-action:pan-y pinch-zoom}
.gallery-hit-area{display:block;position:absolute;inset:0;z-index:4;touch-action:pan-y pinch-zoom}
.gallery-cursor{position:fixed;z-index:100;pointer-events:none;width:52px;height:52px;transform:translate(-50%,-50%)}
.gallery-cursor img{display:none;position:absolute;left:0;top:0;width:52px;height:52px;max-width:none}
@media(hover:hover) and (pointer:fine){
 .project-gallery,.project-gallery *{cursor:none}
 .gallery-hit-area{display:block;position:absolute;inset:0;z-index:4}
 html:not([data-theme=dark]) .gallery-cursor[data-side=left]:not(.is-pressed) img[data-theme=light][data-side=left][data-state=default],
 html:not([data-theme=dark]) .gallery-cursor[data-side=right]:not(.is-pressed) img[data-theme=light][data-side=right][data-state=default],
 html[data-theme=dark] .gallery-cursor[data-side=left]:not(.is-pressed) img[data-theme=dark][data-side=left][data-state=default],
 html[data-theme=dark] .gallery-cursor[data-side=right]:not(.is-pressed) img[data-theme=dark][data-side=right][data-state=default]{display:block}
 html:not([data-theme=dark]) .gallery-cursor[data-side=left].is-pressed img[data-theme=light][data-side=left][data-state=click],
 html:not([data-theme=dark]) .gallery-cursor[data-side=right].is-pressed img[data-theme=light][data-side=right][data-state=click],
 html[data-theme=dark] .gallery-cursor[data-side=left].is-pressed img[data-theme=dark][data-side=left][data-state=click],
 html[data-theme=dark] .gallery-cursor[data-side=right].is-pressed img[data-theme=dark][data-side=right][data-state=click]{display:block}
}

input,textarea,select{font-family:inherit}
