/* Responsive polish shared by the three language versions. */
html{scroll-padding-bottom:88px}
header>nav a,header .language-switch a{display:inline-flex;align-items:center;justify-content:center;min-height:44px}
button,.glass,.pill{min-height:44px}
footer .footer-contacts a{min-height:44px}
footer .footnav a{display:inline-flex;align-items:center;min-height:44px}
.hero-institutional .hero-ai-screen:after{background:linear-gradient(0deg,rgba(0,0,0,.94),rgba(0,0,0,.65) 35%,rgba(0,0,0,.12) 78%),linear-gradient(90deg,rgba(0,0,0,.32),transparent 75%)}
.hero-institutional .hero-ai-copy{max-width:calc(100% - 10%)}
.notes{display:none}
@media(max-width:1000px){
 .hero-sequence .editorial.intro{grid-template-columns:minmax(0,1fr);gap:32px;min-height:0;padding-block:72px}
 .hero-sequence .intro h2{font-size:clamp(32px,4.8vw,48px);line-height:1.16}
 .hero-sequence .intro .body{gap:28px}
 .chapter-heading{grid-template-columns:minmax(0,1fr);gap:18px}
 .chapter-heading h2{max-width:22ch}
}
@media(max-width:700px){
 body>header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 12px;padding:14px 6%;min-height:0;height:auto}
 body>header .studio-logo{grid-column:1;grid-row:1;font-size:14px}
 body>header>.language-switch{grid-column:2;grid-row:1;margin:0;gap:4px;font-size:10px}
 body>header>.language-switch a{min-width:26px;padding:8px 2px}
 body>header>nav{grid-column:1/-1;grid-row:2;width:100%;display:flex;flex-wrap:wrap;justify-content:flex-start;gap:0 16px;font-size:12px}
 .hero-sequence .hero-ai{position:relative;min-height:620px;height:auto;aspect-ratio:auto;padding-top:200px;padding-bottom:104px}
 .hero-institutional .hero-ai-copy{position:relative;left:auto;right:auto;bottom:auto;margin-inline:6%;max-width:none}
 .hero-institutional h1{font-size:clamp(32px,8.6vw,44px);line-height:1.08;max-width:100%;overflow-wrap:normal}
 .hero-institutional .hero-ai-description{font-size:16px;line-height:1.55;max-width:38ch}
 .hero-institutional .institutional-tools{bottom:26px}
 .hero-sequence .intro .body{grid-template-columns:1fr;gap:8px}
 .hero-sequence .intro .body p{font-size:17px;line-height:1.65}
 .sectionhead{flex-wrap:wrap;gap:18px}
 .sectionhead a{min-height:44px;display:inline-flex;align-items:center}
 .banner .caption{align-items:flex-end;gap:16px}
 .banner .caption>span:first-child{max-width:45%;font-size:10px;line-height:1.6}
 .case-walkthrough{height:auto;aspect-ratio:auto;overflow:hidden}
 .case-walkthrough .hero-ai-stage{position:relative;padding-bottom:126px}
 .case-walkthrough .hero-ai-screen{position:relative;inset:auto;aspect-ratio:16/9;height:auto}
 .case-walkthrough .hero-ai-screen:after{display:none}
 .case-walkthrough .hero-ai-caption{left:6%;right:6%;bottom:30px;gap:12px;align-items:center}
 .case-walkthrough .hero-ai-caption>div{max-width:55%}
 .case-walkthrough .hero-ai-caption button{max-width:45%;min-height:44px;padding:10px 12px;flex-shrink:0}
 .case-walkthrough .hero-ai-progress{bottom:14px}
 .hero-ai-caption p{line-height:1.5}
 .tour-controls,.gallery-bar{flex-wrap:wrap}
 .closing,.end{overflow-wrap:anywhere}
 footer .baseline,footer .foot-links{flex-wrap:wrap;gap:16px}
 footer .footnav{flex-wrap:wrap;gap:20px}
 .context-navigation{bottom:max(12px,env(safe-area-inset-bottom))}
}
@media(max-width:380px){
 .intro h1{font-size:clamp(46px,15vw,57px);overflow-wrap:normal}
 .contact h2{font-size:clamp(36px,11.5vw,43px)}
 .hero-institutional h1{letter-spacing:-.055em}
 .products .product-card h2{font-size:30px}
}
@media(max-height:600px){.hero-sequence .hero-ai{position:relative}}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 .intro.motion-ready .intro-line>span,.intro.motion-ready .body{opacity:1;transform:none;transition:none}
}
@media(max-width:380px){body>header>nav{gap:0 10px;font-size:11px}}
button.arena-pin,button.hotspot{min-width:44px;min-height:44px;width:44px;height:44px;border-radius:50%}

/* Shared main menu: consistent labels, destinations and active state. */
body>header>nav.site-main-nav a{white-space:nowrap;opacity:1}
body>header>nav.site-main-nav a[aria-current="page"],body>header>nav.site-main-nav a:hover{color:#ff4b23}
body>header>nav.site-main-nav a:focus-visible{outline:2px solid #ff4b23;outline-offset:4px}

/* Consistent arrow geometry and touch layout, including Safari. */
.navigation-icon{display:block;width:24px;height:24px;flex:0 0 24px;pointer-events:none}
.project-meta>div{min-width:0}
.project-meta .arrow{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:44px;height:44px;min-width:44px;min-height:44px;flex:0 0 44px;padding:0;line-height:1;letter-spacing:0}
.project-button{-webkit-appearance:none;appearance:none;border-radius:0}
.contact-channels .contact-action{display:flex;align-items:center;justify-content:center;box-sizing:border-box;aspect-ratio:1;width:clamp(72px,10vw,130px);height:auto;min-height:0;padding:0;border-radius:50%;line-height:1;letter-spacing:0}
.contact-action .navigation-icon{width:42%;height:42%;flex:0 0 auto}
nav.context-navigation{display:flex;flex-direction:row;flex-wrap:nowrap;width:max-content;max-width:calc(100% - 24px);gap:0;padding:0;box-sizing:border-box;-webkit-backdrop-filter:blur(16px);-webkit-text-size-adjust:100%;text-size-adjust:100%}
nav.context-navigation a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:46px;white-space:nowrap;line-height:1.2;letter-spacing:normal;box-sizing:border-box;touch-action:manipulation}
nav.context-navigation .navigation-icon{width:18px;height:18px;flex:0 0 18px}
@media(max-width:700px){nav.context-navigation{left:max(12px,env(safe-area-inset-left,0px));bottom:calc(12px + env(safe-area-inset-bottom,0px));max-width:calc(100vw - 24px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px));font-size:13px}nav.context-navigation a{padding:0 14px}.has-context-navigation{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}}
@media(max-width:360px){nav.context-navigation a{padding:0 11px;font-size:12px}}

button.pill{-webkit-appearance:none;appearance:none;justify-content:center}button[data-lexxa-book-prev],button[data-lexxa-book-next]{width:48px;height:48px;min-width:48px;flex:0 0 48px;padding:0;line-height:1}
