/* Bilingual polish: stronger contrast, cleaner hierarchy, and Arabic typography that fits the brand. */
.lang-toggle{flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:62px;height:38px;padding:0 14px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.07);color:#fff;font:800 11px/1 Montserrat,Arial,sans-serif;letter-spacing:.35px;cursor:pointer;transition:background .2s ease,border-color .2s ease,transform .2s ease;backdrop-filter:blur(10px)}
.lang-toggle:hover{background:rgba(225,6,19,.18);border-color:rgba(255,68,80,.58);transform:translateY(-1px)}

/* Fix contrast on the dark portfolio sections in both languages. */
.worlds-section .section-head h2,.featured-section .section-head h2,.explore-section .section-head h2{color:#f7fbfd!important;text-shadow:0 2px 24px rgba(0,0,0,.18)}
.worlds-section .section-head h2 b,.featured-section .section-head h2 b,.explore-section .section-head h2 b{color:#ff2d3e!important}
.worlds-section .section-head p,.featured-section .section-head p,.explore-section .section-head p{color:#b9cbd6!important;font-size:14px!important;line-height:1.8!important}
.worlds-section .section-kicker.light,.featured-section .section-kicker.light,.explore-section .section-kicker.light{color:#e5eef3!important}
.about-strip .split-heading p,.solutions-strip .split-heading p,.process-section p,.cta-section p{color:#526b7a!important}
.expertise-card p{color:#536b7a!important;font-size:11px!important;line-height:1.75!important}
.flow-card p{color:#627785!important;font-size:11px!important;line-height:1.55!important}
.flow-card b{font-size:11px!important;line-height:1.55!important}
.section-kicker{font-size:11px!important;letter-spacing:1.5px!important;font-weight:800!important}

/* Arabic visual labels for artwork cards that contain English text inside raster artwork. */
.image-card,.wide-image-card{position:relative}
.i18n-visual-label{display:none;position:absolute;z-index:4;inset:auto 12px 12px 12px;padding:11px 13px;border-radius:12px;background:linear-gradient(135deg,rgba(4,16,26,.94),rgba(10,42,62,.9));border:1px solid rgba(255,255,255,.13);box-shadow:0 12px 28px rgba(0,0,0,.28);color:#fff;text-align:right;font:700 13px/1.55 Alexandria,Tahoma,Arial,sans-serif;backdrop-filter:blur(8px)}

html[dir="rtl"] body{font-family:Alexandria,Tahoma,Arial,sans-serif;letter-spacing:0}
html[dir="rtl"] .i18n-visual-label{display:block}
html[dir="rtl"] .brand-copy,html[dir="rtl"] .signature,html[dir="rtl"] .project-meta,html[dir="rtl"] .socials{direction:ltr}
html[dir="rtl"] .hero-copy,html[dir="rtl"] .split-heading,html[dir="rtl"] .section-head,html[dir="rtl"] .cta-left,html[dir="rtl"] .cta-middle,html[dir="rtl"] .work-hero-inner,html[dir="rtl"] .work-cta-inner,html[dir="rtl"] .project-hero-copy,html[dir="rtl"] .project-copy,html[dir="rtl"] .case-block,html[dir="rtl"] .gallery-head{text-align:right}
html[dir="rtl"] .hero-actions,html[dir="rtl"] .cta-actions,html[dir="rtl"] .contact-direct,html[dir="rtl"] .project-links{justify-content:flex-start}
html[dir="rtl"] .work-search input{text-align:right}
html[dir="rtl"] .gallery-slider-track{direction:ltr}
html[dir="rtl"] .gallery-head,html[dir="rtl"] .gallery-slider-footer{direction:rtl}
html[dir="rtl"] .main-nav,html[dir="rtl"] .footer-grid nav{direction:rtl}
html[dir="rtl"] .section-head.compact p{justify-self:start;text-align:right}
html[dir="rtl"] .section-actions{align-items:flex-start;text-align:right}
html[dir="rtl"] .section-kicker:before{margin-right:0;margin-left:10px}
html[dir="rtl"] .expertise-card p,html[dir="rtl"] .flow-card p{letter-spacing:0;text-transform:none}
html[dir="rtl"] .flow-card b{direction:rtl}

/* Arabic sizing is deliberately calmer than the English display type. */
html[dir="rtl"] .hero h1{font-size:clamp(40px,4.65vw,68px)!important;line-height:1.18!important;letter-spacing:-1.2px!important;max-width:760px}
html[dir="rtl"] .hero h1 span{line-height:1.16}
html[dir="rtl"] .hero p{font-size:16px!important;line-height:2!important;max-width:680px}
html[dir="rtl"] .eyebrow{font-size:11px!important;line-height:1.8;letter-spacing:.2px!important}
html[dir="rtl"] .split-heading h2,html[dir="rtl"] .section-head h2,html[dir="rtl"] .process-section h2,html[dir="rtl"] .cta-section h2{font-size:clamp(34px,3.45vw,50px)!important;line-height:1.25!important;letter-spacing:-.8px!important;max-width:760px}
html[dir="rtl"] .split-heading p,html[dir="rtl"] .section-head p{font-size:14px!important;line-height:2!important;max-width:590px}
html[dir="rtl"] .expertise-card h3{font-size:14px!important;letter-spacing:0!important}
html[dir="rtl"] .expertise-card p{font-size:11px!important;line-height:1.9!important}
html[dir="rtl"] .flow-card p,html[dir="rtl"] .flow-card b{font-size:11px!important;line-height:1.7!important}
html[dir="rtl"] .process-grid h3{font-size:19px!important}
html[dir="rtl"] .process-grid p{font-size:13px!important;line-height:1.9!important}
html[dir="rtl"] .work-hero h1{font-size:clamp(42px,5.4vw,72px)!important;line-height:1.16!important;letter-spacing:-1px!important}
html[dir="rtl"] .work-hero p{font-size:15px!important;line-height:2!important}
html[dir="rtl"] .work-card-body h2{font-size:19px!important;line-height:1.55!important;letter-spacing:-.2px!important}
html[dir="rtl"] .work-card-body p{font-size:12px!important;line-height:1.9!important}
html[dir="rtl"] .project-hero h1{font-size:clamp(38px,5vw,66px)!important;line-height:1.2!important;letter-spacing:-1px!important}
html[dir="rtl"] .project-lead{font-size:16px!important;line-height:2!important}
html[dir="rtl"] .project-copy p,html[dir="rtl"] .case-block p{font-size:14px!important;line-height:2!important}
html[dir="rtl"] .project-copy h2,html[dir="rtl"] .case-block h2,html[dir="rtl"] .gallery-head h2{line-height:1.35!important;letter-spacing:-.5px!important}

/* Work-page Arabic CTA: prevent multi-line heading collisions and keep the two columns balanced. */
html[dir="rtl"] .work-cta{padding:76px 0 82px}
html[dir="rtl"] .work-cta-inner{grid-template-columns:minmax(360px,.95fr) minmax(0,1.05fr);gap:clamp(48px,6vw,90px);align-items:center}
html[dir="rtl"] .work-cta-inner>div:first-child{max-width:560px;justify-self:start}
html[dir="rtl"] .work-cta h2{font-size:clamp(34px,3.15vw,46px)!important;line-height:1.44!important;letter-spacing:-.45px!important;margin:10px 0 0!important;max-width:560px}
html[dir="rtl"] .work-cta h2 br{display:none}
html[dir="rtl"] .work-cta h2 b{display:block;margin-top:.08em;line-height:1.42!important}
html[dir="rtl"] .work-cta p{font-size:13px!important;line-height:2!important;max-width:620px;margin:0 0 22px!important}
html[dir="rtl"] .work-cta .section-kicker{margin-bottom:14px}

/* Keep the brand Latin even while the interface is Arabic. */
html[dir="rtl"] .brand-copy,html[dir="rtl"] .signature,html[dir="rtl"] .portrait-offer-price,html[dir="rtl"] .gallery-progress{font-family:Montserrat,Arial,sans-serif}

@media(max-width:1100px){html[dir="rtl"] .section-head.compact p{justify-self:start}}
@media(max-width:980px){html[dir="rtl"] .work-cta-inner{grid-template-columns:1fr;gap:30px}html[dir="rtl"] .work-cta-inner>div:first-child{max-width:680px;justify-self:stretch}}
@media(max-width:900px){.lang-toggle{min-width:54px;height:35px;padding:0 11px;font-size:10px}.i18n-visual-label{font-size:12px}}
@media(max-width:620px){
  .site-header .lang-toggle,.work-nav .lang-toggle,.project-nav .lang-toggle{min-width:46px;height:33px;padding:0 9px;font-size:9px}
  .site-header .lang-toggle{margin-left:auto}.work-nav .lang-toggle,.project-nav .lang-toggle{margin-inline-start:auto;margin-inline-end:8px}
  html[dir="rtl"] .hero h1{font-size:38px!important;line-height:1.2!important}
  html[dir="rtl"] .split-heading h2,html[dir="rtl"] .section-head h2,html[dir="rtl"] .process-section h2,html[dir="rtl"] .cta-section h2{font-size:31px!important;line-height:1.3!important}
  html[dir="rtl"] .project-hero h1{font-size:36px!important}
  html[dir="rtl"] .work-cta{padding:56px 0}
  html[dir="rtl"] .work-cta h2{font-size:31px!important;line-height:1.42!important;max-width:none}
  html[dir="rtl"] .work-cta h2 b{line-height:1.42!important}
  .i18n-visual-label{inset:auto 8px 8px 8px;padding:9px 10px;font-size:11px}
}
