/* Aperture Research Works V85 language-aware presentation layer. */
html{hyphens:auto;-webkit-hyphens:auto;text-size-adjust:100%;}
body,button,input,select,textarea{font-kerning:normal;font-variant-ligatures:common-ligatures;}
main p,main li,main td,main th,.gateway-native,.translation-notice{overflow-wrap:break-word;word-break:normal;}
h1,h2,h3,h4,h5,h6,.button,button,.site-nav a,label{overflow-wrap:anywhere;text-wrap:balance;}
p,li,td,th{line-height:1.58;}

/* RTL languages: mirror reading flow while preserving machine identifiers and Latin contact data. */
html.arw-rtl body{direction:rtl;text-align:start;}
html.arw-rtl main,html.arw-rtl .site-footer,html.arw-rtl form,html.arw-rtl .gateway-native{direction:rtl;text-align:start;}
html.arw-rtl .site-nav,html.arw-rtl .gateway-actions,html.arw-rtl .button-row,html.arw-rtl .cta-row{direction:rtl;}
html.arw-rtl ul,html.arw-rtl ol{padding-inline-start:0;padding-inline-end:1.35rem;}
html.arw-rtl blockquote{border-inline-start:0;border-inline-end:4px solid currentColor;padding-inline-start:0;padding-inline-end:1rem;}
html.arw-rtl table{direction:rtl;}
html.arw-rtl input,html.arw-rtl textarea,html.arw-rtl select{text-align:start;}

/* The language selector itself stays predictable because its labels are intentionally language names in a shared list. */
.language-control,.gateway-language,#site-language,#gateway-language{direction:ltr;text-align:left;unicode-bidi:isolate;}
.brand,.gateway-logo,.header-linkedin,.nav-whatsapp,[dir="ltr"],code,pre,input[type="email"],input[type="url"],input[type="tel"]{unicode-bidi:isolate;}

/* CJK typography and line-breaking conventions. */
html.arw-cjk body{line-break:strict;word-break:normal;}
html.arw-cjk p,html.arw-cjk li,html.arw-cjk td,html.arw-cjk th{line-height:1.72;letter-spacing:.01em;}
html.arw-cjk h1,html.arw-cjk h2,html.arw-cjk h3,html.arw-cjk h4{line-height:1.24;letter-spacing:0;word-break:keep-all;overflow-wrap:anywhere;}

/* Scripts that need more vertical room for marks, conjuncts and stacked glyphs. */
html.arw-complex-script p,html.arw-complex-script li,html.arw-complex-script td,html.arw-complex-script th,
html[data-script="arabic"] p,html[data-script="indic"] p,html[data-script="southeast-asian"] p,
html[data-script="ethiopic"] p,html[data-script="tibetan"] p{line-height:1.78;}
html.arw-complex-script h1,html.arw-complex-script h2,html.arw-complex-script h3,html.arw-complex-script h4{line-height:1.34;letter-spacing:0;}

/* Languages with frequent long compounds need wrapping freedom in controls and cards. */
html.arw-wide-words .button,html.arw-wide-words button,html.arw-wide-words .site-nav a,html.arw-wide-words .card,
html.arw-wide-words .case-card,html.arw-wide-words .service-card{overflow-wrap:anywhere;hyphens:auto;}

/* Forms and controls must grow rather than clip translated labels. */
button,.button,select,input,textarea{max-width:100%;}
button,.button{white-space:normal;min-height:2.65rem;}
select{white-space:normal;}
label{line-height:1.35;}

/* Welcome gateway keeps the English governing section explicitly LTR even on RTL prospect pages. */
.gateway-english[dir="ltr"]{direction:ltr!important;text-align:left!important;unicode-bidi:isolate;}
.gateway-native{unicode-bidi:plaintext;}
.gateway-small{unicode-bidi:plaintext;}

@media(max-width:760px){
  html.arw-rtl .site-nav{align-items:stretch;}
  p,li,td,th{line-height:1.62;}
  html.arw-complex-script p,html.arw-complex-script li{line-height:1.82;}
}

/* V85 prospect gateway and jurisdiction-aware refinements. */
html[data-language] .jurisdiction-control-note{unicode-bidi:plaintext;}
.gateway-language[hidden]{display:none!important;}
.gateway-choice-note{margin-top:12px!important;font-size:.92rem!important;}
@media(max-width:600px){.gateway-language{width:100%;}.gateway-actions .gateway-button{width:100%;}}
.jurisdiction-control-note{border-top:1px solid rgba(16,33,52,.08);border-bottom:1px solid rgba(16,33,52,.08)}
.jurisdiction-control-note h2{max-width:880px}.jurisdiction-control-note p{max-width:880px}
.enquiry-form label small{display:block;margin-top:.42rem;font-size:.82rem;line-height:1.4;color:inherit;opacity:.78}
