@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@300;400;500;600;700&display=swap');
.shape-language-switch{position:relative;z-index:103;color:#f5f2eb;text-decoration:none;font:600 12px Figtree,Arial,sans-serif;letter-spacing:.02em;margin-left:18px;min-width:35px;text-align:center}
.shape-language-switch:hover,.shape-language-switch:focus-visible{color:#f5a400}
.shape-ar :is(h1,h2,h3,p,.chapter,.people-intro,.person-role,.person-note,.editorial-detail,.discipline-panel,.mobile-menu .shape-menu-link,.thread-caption,.intro-story,.intro-resolution,.teaser-bottom,.contact-headline,.shape-menu-label){font-family:'Alexandria',Arial,sans-serif!important}
.shape-ar :is(.inner-page,.editorial-intro,.disciplines,.people-teaser,.contact-interactive,.people-page,.practice-page,.philosophy-page){direction:rtl}
.shape-ar .mobile-menu{direction:rtl}
.shape-ar .mobile-menu .shape-menu-link{letter-spacing:0!important}
.shape-ar .shape-menu-link>span:first-child{font-size:clamp(29px,4.6vw,66px)!important}
.shape-ar :is(.chapter,.intro-kicker,.people-intro,.person-role,.person-note,.discipline-panel,.editorial-detail,.disciplines-intro){letter-spacing:0!important}
.shape-ar :is(.intro-story,.intro-resolution,.thread-caption,.dive-fixed-heading){direction:rtl}
.shape-ar .shape-language-switch{font-family:Figtree,Arial,sans-serif!important}
@media(max-width:750px){.shape-language-switch{margin-left:10px}.shape-ar .shape-menu-link>span:first-child{font-size:clamp(27px,8vw,48px)!important}}

/* Arabic body copy uses Alexandria; display headlines retain their existing typeface. */
.shape-ar :is(p,.people-intro,.person-role,.person-note,.editorial-detail,.discipline-panel,.disciplines-intro,.thread-caption,.intro-story,.intro-resolution,.person-bio,.discipline-description,.chapter,.mobile-menu-foot){font-family:'Alexandria',Arial,sans-serif!important}
.shape-ar :is(h1,h2,h3,h4,h5,h6,.mobile-menu .shape-menu-link,.contact-headline,.dive-fixed-heading){font-family:'Alexandria',Arial,sans-serif!important}

/* Typography audit fix: all Arabic UI/body text defaults to Alexandria, except display headings. */
.shape-ar :is(main,section,article,aside,nav,footer,button,a,p,span,div,li,dt,dd,small,strong,em,label,blockquote,figcaption,input,textarea){font-family:'Alexandria',Arial,sans-serif!important}
.shape-ar :is(h1,h2,h3,h4,h5,h6,h1 *,h2 *,h3 *,h4 *,h5 *,h6 *, .mobile-menu .shape-menu-link,.mobile-menu .shape-menu-link>span:first-child,.contact-headline,.contact-headline *,.dive-fixed-heading,.dive-fixed-heading *){font-family:'Alexandria',Arial,sans-serif!important}
.shape-ar .shape-language-switch{font-family:Figtree,Arial,sans-serif!important}

/* Final Arabic menu sizing: this stylesheet loads after navigation styles. */
.shape-ar .mobile-menu .shape-menu-link>span:first-child{font-size:clamp(29px,4.4vw,61px)!important;line-height:1.35!important}
@media(max-width:750px){.shape-ar .mobile-menu .shape-menu-link>span:first-child{font-size:clamp(21px,5.7vw,29px)!important;line-height:1.5!important}.shape-ar .mobile-menu .shape-menu-link{padding:7px 0!important}}

/* Arabic layout pass: right-start reading and Alexandria for every non-display element. */
.shape-ar{direction:rtl;text-align:right}
.shape-ar :is(main,main *,footer,footer *,nav.mobile-menu,nav.mobile-menu *, .inner-page,.inner-page *, .contact,.contact *, .intro-journey,.intro-journey *){direction:rtl}
.shape-ar :is(main,main *,footer,footer *,nav.mobile-menu,nav.mobile-menu *){text-align:right}
.shape-ar :is(main,main *,footer,footer *,nav.mobile-menu,nav.mobile-menu *,header button,header button *,header .shape-language-switch){font-family:'Alexandria',Arial,sans-serif!important;letter-spacing:normal}
.shape-ar :is(h1,h1 *,main > section > h2,main > section > h2 *, .scale-statement,.scale-statement *, .contact-headline,.contact-headline *, .inner-page > h1,.inner-page > h1 *, .dive-fixed-heading,.dive-fixed-heading *){font-family:'Alexandria',Arial,sans-serif!important}
.shape-ar .mobile-menu .shape-menu-link,.shape-ar .mobile-menu .shape-menu-link>span:first-child{font-family:'Alexandria',Arial,sans-serif!important;letter-spacing:0!important}
.shape-ar .mobile-menu{align-items:stretch}
.shape-ar .mobile-menu .shape-menu-link{flex-direction:row!important;text-align:right!important}
.shape-ar .mobile-menu .shape-menu-link>span:first-child{text-align:right!important}
.shape-ar .discipline-toggle{text-align:right!important;direction:rtl!important;grid-template-columns:7% 1fr 35px!important}
.shape-ar .discipline-toggle strong{text-align:right!important}
.shape-ar .discipline-panel,.shape-ar .discipline-panel *,.shape-ar .people-intro,.shape-ar .teaser-bottom p,.shape-ar .editorial-intro p,.shape-ar .person-note,.shape-ar .person-role{text-align:right!important}
.shape-ar .discipline-panel ul{padding-right:1.25em;padding-left:0}
.shape-ar .nav{direction:ltr!important}
.shape-ar .nav .shape-language-switch{font-family:Figtree,Arial,sans-serif!important}
.shape-ar .mobile-menu .shape-menu-link>span:first-child{font-size:clamp(25px,3.3vw,47px)!important;line-height:1.55!important}
@media(max-width:750px){
 .shape-ar .mobile-menu .shape-menu-link>span:first-child{font-size:clamp(18px,5vw,24px)!important;line-height:1.65!important}
 .shape-ar .mobile-menu .shape-menu-link{padding:5px 0!important}
 .shape-ar .mobile-menu{gap:2px!important}
 .shape-ar .discipline-toggle{grid-template-columns:9% 1fr 24px!important}
}

/* Screenshot-led Arabic corrections: preserve compositions but anchor copy to the right. */
.shape-ar .practice-page>h1,.shape-ar .practice-page>.chapter,.shape-ar .practice-page>.philosophy-lead,.shape-ar .practice-page>.philosophy-lead p{margin-left:auto!important;margin-right:0!important;text-align:right!important}
.shape-ar .practice-page>.philosophy-lead{direction:rtl!important}
.shape-ar .practice-page>.philosophy-lead p{max-width:750px!important}
.shape-ar .philosophy-page>.philosophy-lead p{margin-left:auto!important;margin-right:0!important;text-align:right!important}
.shape-ar .people-page .person-tile{text-align:right!important}
.shape-ar .people-page .person-tile h2,.shape-ar .people-page .person-tile p{direction:rtl!important;text-align:right!important}
.shape-ar .thread-caption{direction:rtl!important;left:auto!important;right:clamp(24px,5vw,90px)!important;text-align:right!important}
.shape-ar .thread-caption :is(strong,span,p){text-align:right!important}
.shape-ar .thread-sticky .dive-fixed-heading{direction:rtl!important;text-align:right!important}
.shape-ar .thread-sticky .dive-fixed-heading span{text-align:right!important}
.shape-ar .thread-story :is(.thread-scroll-hint,.thread-hint,.thread-instruction){font-family:'Alexandria',Arial,sans-serif!important;direction:rtl!important}
.shape-ar .people-page .person-tile h2{font-family:'Alexandria',Arial,sans-serif!important}
.shape-ar .contact-headline{max-width:100%!important}
@media(max-width:750px){.shape-ar .thread-caption{right:6vw!important;left:auto!important}.shape-ar .practice-page>h1{max-width:100%!important}}

/* Display refinement: compact Arabic headline spacing and right-anchored DIVE. */
.shape-ar :is(h1,h1 *,h2,h2 *,h3,h3 *,.contact-headline,.contact-headline *,.dive-fixed-heading,.dive-fixed-heading *){letter-spacing:-.045em!important}
.shape-ar .practice-page .thread-sticky .dive-fixed-heading{left:auto!important;right:clamp(25px,6vw,110px)!important;width:max-content!important;max-width:calc(100% - 12vw)!important;align-items:flex-start!important;text-align:right!important;direction:rtl!important}
.shape-ar .practice-page .thread-sticky .dive-fixed-heading span{display:block!important;width:100%!important;text-align:right!important;direction:rtl!important}
@media(max-width:750px){.shape-ar .practice-page .thread-sticky .dive-fixed-heading{left:auto!important;right:7vw!important;max-width:86vw!important}}

/* Arabic philosophy: override legacy left-anchored editorial layout at its source. */
html[lang="ar"] body.shape-ar main.philosophy-page > .thinking-section:not(.visual-language):not(.about-bridge) > p,
html[lang="ar"] body.shape-ar main.philosophy-page > .thinking-section > p,
html[lang="ar"] body.shape-ar main.philosophy-page > .philosophy-lead > p{
  direction:rtl!important;
  text-align:right!important;
  margin-left:auto!important;
  margin-right:0!important;
  font-family:'Alexandria',Arial,sans-serif!important;
  font-weight:400!important;
  letter-spacing:normal!important;
}
html[lang="ar"] body.shape-ar main.philosophy-page > .thinking-section:not(.visual-language):not(.about-bridge) > h2,
html[lang="ar"] body.shape-ar main.philosophy-page > .thinking-section:not(.visual-language):not(.about-bridge) > h2 > span{
  direction:rtl!important;
  text-align:right!important;
  margin-left:0!important;
  margin-right:0!important;
  font-family:'Alexandria',Arial,sans-serif!important;
}
html[lang="ar"] body.shape-ar main.philosophy-page > .thinking-section:not(.visual-language):not(.about-bridge) > h2{
  display:block!important;
  width:100%!important;
}
html[lang="ar"] body.shape-ar main.philosophy-page > .thinking-section:not(.visual-language):not(.about-bridge) > h2 > span{
  display:block!important;
}
html[lang="ar"] body.shape-ar main.philosophy-page > .thinking-section .chapter,
html[lang="ar"] body.shape-ar main.philosophy-page > .thinking-section .chapter *{
  text-align:right!important;
  font-family:'Alexandria',Arial,sans-serif!important;
}
html[lang="ar"] body.shape-ar main.philosophy-page > .identity-scroll .identity-motion-copy > p,
html[lang="ar"] body.shape-ar main.philosophy-page .identity-motion-copy p{
  direction:rtl!important;text-align:right!important;
  font-family:'Alexandria',Arial,sans-serif!important;
  margin-left:auto!important;margin-right:0!important;
}

/* Arabic editorial controls: directional triangles follow RTL reading. */
.shape-ar .mobile-menu .shape-menu-link .shape-triangle[data-direction="right"]{transform:rotate(225deg)!important}
.shape-ar .mobile-menu .shape-menu-link .shape-triangle[data-direction="up-right"]{transform:rotate(270deg)!important}
.shape-ar .shape-inline-triangle:not([data-direction="down"]):not([data-direction="up"]){transform:rotate(270deg)!important}
.shape-ar .mobile-menu .shape-menu-link{direction:rtl!important}
.shape-ar .mobile-menu .shape-menu-link .shape-triangle{margin-left:0!important;margin-right:auto!important}
/* All Arabic opening statements arrive from the right, and remain right aligned. */
.shape-ar .intro-story{direction:rtl!important;align-items:stretch!important}
.shape-ar .intro-story .intro-phrase,
.shape-ar .intro-story .intro-phrase.phrase-one,
.shape-ar .intro-story .intro-phrase.phrase-two,
.shape-ar .intro-story .intro-phrase.phrase-three{
 align-self:flex-start!important;text-align:right!important;direction:rtl!important;
 margin-left:auto!important;margin-right:0!important;max-width:88vw!important;
}
.shape-ar .intro-resolution{direction:rtl!important;text-align:right!important}
@media(max-width:750px){
 .shape-ar .intro-story{padding-left:6vw!important;padding-right:6vw!important}
 .shape-ar .intro-story .intro-phrase{font-size:clamp(27px,7vw,44px)!important;line-height:1.35!important;max-width:88vw!important}
}
