/* Interaction and reflow refinements, 29 October 2026.
   Loaded after the selected identity; colours continue to come from its tokens. */
:root{--motion-ease:cubic-bezier(.22,1,.36,1)}

/* Pending states exist only after a supported observer has been installed. */
@media(prefers-reduced-motion:no-preference){
 .motion-ready .motion-reveal{transition:opacity .65s var(--motion-ease),transform .7s var(--motion-ease);transition-delay:var(--reveal-delay,0ms)}
 .motion-ready .motion-pending{opacity:0;transform:translateY(25px)}
 .motion-ready .motion-visible{opacity:1;transform:none}
 .motion-ready .motion-reveal:focus-within{opacity:1;transform:none;transition-delay:0ms}

 /* Restore the gallery prompt's staged text entrance and focus on the image. */
 .elastic-gallery.is-enhanced .elastic-image img{transition:transform 1s var(--motion-ease),filter .7s var(--motion-ease)}
 .elastic-gallery.is-enhanced .elastic-panel:not(.is-active) .elastic-image img{filter:brightness(.75)}
 .elastic-gallery.is-enhanced .elastic-panel.is-active .elastic-image img{filter:brightness(1)}
 .elastic-gallery.is-enhanced .elastic-panel.is-active .elastic-content > *{animation:ifa-gallery-content .55s var(--motion-ease) both;animation-delay:.12s}
 .elastic-gallery.is-enhanced .elastic-panel.is-active .elastic-content > :nth-child(2){animation-delay:.16s}
 .elastic-gallery.is-enhanced .elastic-panel.is-active .elastic-content > :nth-child(3){animation-delay:.2s}
 .elastic-gallery.is-enhanced .elastic-panel.is-active .elastic-content > :nth-child(n+4){animation-delay:.24s}
 .elastic-gallery.is-enhanced .elastic-content:focus-within > *{animation:none}
 @keyframes ifa-gallery-content{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}

 .main-nav .navigation-disclosure[open] .navigation-panel-inner{animation:ifa-navigation-open .28s var(--motion-ease) both}
 @keyframes ifa-navigation-open{from{opacity:0;transform:translateY(-9px) scale(.985)}to{opacity:1;transform:none}}
 .sva-button,.button,.elastic-cta,.consulting-action{transition:background-color .2s ease,border-color .2s ease,box-shadow .25s ease,transform .25s var(--motion-ease)}
 .sva-button-arrow,.elastic-cta > span,.consulting-action-arrow,.sva-round-link > span{transition:transform .3s var(--motion-ease)}
 .sva-button:hover .sva-button-arrow,.elastic-cta:hover > span,.consulting-action:hover .consulting-action-arrow,.sva-round-link:hover > span{transform:translate(2px,-2px)}
 .sector-card,.sector-work-card,.consulting-service-grid > li{transition:border-color .25s ease,box-shadow .3s ease}
 .sector-card:hover,.sector-work-card:hover,.consulting-service-grid > li:hover{box-shadow:0 12px 28px #0b223c0d;border-color:#8195ad}
 .sva-faq-list details[open] > p{animation:ifa-faq-open .25s ease both}
 @keyframes ifa-faq-open{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
}

/* Long Turkish labels and translated descriptions retain their full text. */
.sva-business-rows article > *, .sva-story-caption,.sector-work-card,.sector-card{min-width:0}
.sva-business-rows p,.sector-work-card p,.sector-card p,.consulting-service-grid p{overflow-wrap:break-word}
.sva-video-frame video{max-width:100%;height:auto}
.elastic-cta{overflow-wrap:break-word}

@media(max-width:899px){
 .elastic-gallery.is-enhanced .elastic-panel.is-active{flex-basis:var(--gallery-open-height,540px)}
 .elastic-gallery.is-enhanced .elastic-panel.is-active .elastic-shade{background:linear-gradient(180deg,#071b3a75 0%,#071b3a9c 38%,#0b223cdb 68%,#0b223cf7 100%)}
 .elastic-gallery.is-enhanced .elastic-toggle{padding-inline:18px;gap:12px;min-height:72px}
 .elastic-gallery.is-enhanced .elastic-toggle-label{min-width:0;flex:1;line-height:1.3}
 .elastic-gallery.is-enhanced .elastic-toggle-icon{flex:0 0 auto}
 .elastic-gallery.is-enhanced .elastic-content{padding-inline:clamp(20px,4vw,30px)}
 .js .main-nav.is-open{max-height:calc(100svh - 96px);overflow-y:auto;overscroll-behavior:contain}
 .js .main-nav.is-open .navigation-panel{padding-top:6px}
 .sva-section-label{max-width:100%}
}
@media(max-width:599px){
 .elastic-gallery.is-enhanced .elastic-content h2{font-size:clamp(29px,7.8vw,36px);line-height:1.08}
 .elastic-gallery.is-enhanced .elastic-content .elastic-summary{font-size:16px;line-height:1.5}
 .elastic-gallery.is-enhanced .elastic-cta{max-width:100%;gap:12px;font-size:14px;line-height:1.4}
 .elastic-gallery.is-enhanced .elastic-facts{line-height:1.5}
 .sva-stories{gap:36px}
 .sva-story h3{font-size:clamp(25px,6vw,30px)}
 .sector-work-grid,.sector-grid{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){
 .motion-reveal,.motion-pending,.motion-visible{opacity:1!important;transform:none!important;transition:none!important}
 .elastic-gallery.is-enhanced .elastic-panel,.elastic-gallery.is-enhanced .elastic-image img,.elastic-gallery.is-enhanced .elastic-content > *,.main-nav .navigation-panel-inner,.sva-button-arrow,.elastic-cta > span,.consulting-action-arrow,.sva-round-link > span,.sva-faq-list details > p{animation:none!important;transition:none!important;transform:none!important}
 .elastic-gallery.is-enhanced .elastic-image img{filter:none!important}
}
