/* Shared language controls and small-screen layout across all locales. */
.language-switch.shell{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:520px;margin-left:auto;padding:14px 0}
.language-switch a{min-width:0;min-height:48px;padding:10px 8px;display:flex;flex-direction:column;gap:3px;line-height:1.3;text-align:center;text-decoration:none;border-radius:2px}
.language-switch a small{font-size:.72rem;font-weight:400;opacity:.75}
.language-switch a[aria-current="page"]{background:#c3ff3510;color:#c3ff35;border-color:#c3ff35}
.shell :is(h1,h2,h3,p,a,summary){overflow-wrap:break-word}
.shell :is(h1,h2,h3){hyphens:auto}
.shell :is(article,.field,.processcard,.entry-card,.inspiration-card,.portfolio-card){min-width:0}
@media(max-width:1100px){
  .topnav{gap:16px}
  .top{gap:16px}
  .topnav>a:not(.navcta):not(.contact){display:none}
}
@media(max-width:700px),(max-device-width:700px){
  .shell{width:calc(100% - 36px)}
  .language-switch.shell{width:calc(100% - 36px);max-width:none;margin:0 auto}
  .top{height:auto;min-height:76px;padding:16px 0;gap:12px}
  .top .logo,.top .brand{min-width:0;font-size:clamp(1.15rem,5vw,1.55rem)}
  .top .logo span{font-size:.48em!important}
  .topnav{flex-shrink:0;gap:0}
  .navcta-full{display:none}
  .navcta-short{display:inline}
  .navcta{padding:10px 12px;font-size:.75rem;min-height:44px}
  .hero,.inner-hero{min-height:0;padding:56px 0 64px}
  .hero h1,.inner-hero h1,h1{font-size:clamp(2rem,8.5vw,3.6rem);line-height:1.12;letter-spacing:-.045em;margin:26px 0;overflow-wrap:anywhere}
  .hero .micro{font-size:.75rem;line-height:1.5;letter-spacing:.08em;align-items:flex-start}
  .micro:before{flex-shrink:0;margin-top:5px}
  .section h2,.inner-body h2,.inner-cta h2,.brief h2,h2{font-size:clamp(1.8rem,7.5vw,3rem);line-height:1.12;letter-spacing:-.04em}
  .herorow,.heroactions,.sectiontitle{display:block}
  .heroactions>*{margin-top:20px}
  .heroactions .textlink{display:table}
  .entry-grid,.entry-heading,.inspiration-grid,.portfolio-grid,.processgrid,.process,.cards,.deliverables,.briefheader,.formgrid,.planstrip,.realization-grid,.showcase{grid-template-columns:minmax(0,1fr)}
  .hero p,.inner-hero p{font-size:1rem;line-height:1.7}
  .section,.inner-body{padding-top:64px;padding-bottom:64px}
  .button{max-width:100%;white-space:normal;text-align:left;line-height:1.5}
  .choices span{overflow-wrap:anywhere}
  .footer,.foot{flex-wrap:wrap;gap:20px}
  .footer a,.foot a,.direct-contact a{overflow-wrap:anywhere}
  .formbox{padding:22px}
  .field input,.field select,.field textarea{font-size:16px}
  .statementaside{grid-template-columns:minmax(0,1fr)}
  .statementfoot{align-items:flex-start;flex-direction:column;white-space:normal}
}

/* Fallback for an embedded phone view with a desktop-sized layout viewport. */
html.mabaro-phone-viewport{width:var(--mabaro-phone-width);max-width:100%;overflow-x:clip}
html.mabaro-phone-viewport body{width:100%;max-width:100%;margin:0;overflow-x:clip}
html.mabaro-phone-viewport .shell{width:calc(100% - 36px);max-width:100%;margin-left:auto;margin-right:auto}
html.mabaro-phone-viewport .topnav>a:not(.navcta):not(.contact){display:none}
html.mabaro-phone-viewport .hero h1,html.mabaro-phone-viewport .inner-hero h1,html.mabaro-phone-viewport h1{font-size:clamp(2rem,calc(var(--mabaro-phone-unit)*8.5),3.6rem);line-height:1.12;letter-spacing:-.045em;overflow-wrap:anywhere}
html.mabaro-phone-viewport h2{font-size:clamp(1.8rem,calc(var(--mabaro-phone-unit)*7.5),3rem);line-height:1.12;overflow-wrap:anywhere}
html.mabaro-phone-viewport .workspace,html.mabaro-phone-viewport .inner-intro,html.mabaro-phone-viewport .inner-panels,html.mabaro-phone-viewport .lab-stage,html.mabaro-phone-viewport .sectionhead{grid-template-columns:minmax(0,1fr)}
html.mabaro-phone-viewport .hero,html.mabaro-phone-viewport .inner-hero{min-height:0;padding:56px 0 64px}
html.mabaro-phone-viewport .top .logo,html.mabaro-phone-viewport .top .brand{font-size:1.3rem}
html.mabaro-phone-viewport .realization-wordmark{font-size:3rem}
html.mabaro-phone-viewport .statementword{font-size:2.8rem}
html.mabaro-phone-viewport .entry-card,html.mabaro-phone-viewport .inspiration-card,html.mabaro-phone-viewport .portfolio-card{min-height:0}
html.mabaro-phone-viewport .analytics-consent{left:12px;right:auto;width:calc(var(--mabaro-phone-width) - 24px);max-width:calc(100% - 24px)}
