/* Phones only (linked with media="(max-width: 760px)"). Script: topbar.js. */
/* ───────── Top menu bar: page names in two sliding pages ─────────
   Like the laptop bar, the bar shows names, not icons. It fills the room between the
   logo and the 3-line button. Page 1: Home, About, Services, Clients and ›; page 2:
   ‹, Portfolio, Blog, Contact and the language switch (mobile.js builds the pages). */
html .chrome .topnav { left: 52px; right: 66px; width: auto; translate: none; }
html .page .topnav { justify-self: stretch; width: auto; min-width: 0; }
html .topnav { overflow: hidden; }
.topnav__track { display: flex; flex: none; width: 200%; height: 100%; transition: transform .5s cubic-bezier(.65, 0, .25, 1); }
.topnav.is-more .topnav__track { transform: translateX(calc(var(--dir, 1) * -50%)); }
.topnav.no-anim .topnav__track { transition: none; }
.topnav__page { display: flex; flex: 0 0 50%; min-width: 0; }
html .topnav a { flex: 1 1 auto; min-width: 0; height: 100%; padding: 0 3px; }
html .topnav .topnav__icon { display: none; }
html .topnav a > span { position: static; width: auto; height: auto; overflow: visible; clip-path: none; font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
html[lang="ar"] .topnav a > span { font-size: 12.5px; letter-spacing: 0; }
.topnav__arrow { display: grid; place-items: center; flex: 0 0 30px; height: 100%; padding: 0; border: 0; border-radius: 999px; background: none; color: inherit; opacity: .75; cursor: pointer; }
.topnav__arrow:focus { outline: none; }
.topnav__arrow:focus-visible { background: rgba(21, 23, 26, .09); }
.topnav__arrow svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.topnav__back svg,
html[dir="rtl"] .topnav__more svg { transform: scaleX(-1); }
html[dir="rtl"] .topnav__back svg { transform: none; }
html .topnav .topnav__lang { flex: 0 0 auto; margin-inline-start: 0; padding: 0 10px; }
html[lang="ar"] .topnav a.topnav__lang { padding: 0 10px; }   /* ar.css loads later */
@media (prefers-reduced-motion: reduce) { .topnav__track { transition: none; } }
