:root{font-family:'DM Sans',sans-serif;color:#203c39;background:#fffaf2;scroll-behavior:smooth}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,a{touch-action:manipulation}.container{width:min(1160px,calc(100% - 48px));margin:auto}.skip-link{position:absolute;top:-80px;left:16px;padding:12px;background:white;z-index:20}.skip-link:focus{top:12px}.site-header{background:#fffaf2;border-bottom:1px solid #e8d8c4}.nav-wrap{display:flex;align-items:center;justify-content:space-between;min-height:84px;gap:32px}.brand{display:flex;align-items:center;gap:12px;font-family:Manrope,sans-serif;font-weight:800;font-size:15px}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#214a46;color:#fff2dc;font-size:13px;letter-spacing:-1px}.site-header nav{display:flex;align-items:center;gap:30px;font-size:14px;font-weight:600}.site-header nav a:hover,.inline-link:hover{color:#8f4b2d}.nav-contact{border:1px solid #bea78d;border-radius:7px;padding:12px 17px}.nav-contact span{margin-left:8px}.hero{padding:92px 0 106px;background:#fffaf2}.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:70px;align-items:center}.eyebrow,.section-kicker,.work-index{font-size:12px;font-weight:800;letter-spacing:.14em;color:#8f4b2d}.eyebrow{display:flex;align-items:center;gap:10px}.dot{width:8px;height:8px;border-radius:50%;background:#b66a3d;box-shadow:0 0 0 5px #f0dfc6}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Manrope,sans-serif}h1{font-size:clamp(42px,5vw,69px);line-height:1.11;letter-spacing:-.065em;margin:26px 0 27px}h1 em{font-style:normal;color:#24655b}.hero-intro{font-size:18px;line-height:1.7;max-width:590px;color:#56615b}.actions{display:flex;align-items:center;gap:26px;flex-wrap:wrap;margin:32px 0 22px}.button{display:inline-flex;align-items:center;gap:28px;font-weight:700;font-size:14px}.button-primary{background:#21534d;color:white;padding:17px 22px;border-radius:7px}.button-primary:hover{background:#8f4b2d}.button-text:hover{color:#8f4b2d}.hero-note{font-size:13px;color:#61695f}.hero-visual{min-height:435px;background:#214a46;border-radius:15px;color:#fff2dc;box-shadow:22px 24px 0 #efdfca;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.visual-top{display:flex;justify-content:space-between;gap:10px;padding:22px 26px;border-bottom:1px solid #547069;font-size:10px;letter-spacing:.08em;color:#ddd9c8}.visual-core{display:flex;flex-direction:column;gap:15px;padding:33px 40px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:clamp(15px,1.5vw,20px);white-space:nowrap}.visual-core .muted{color:#c8cdbb;font-size:14px;margin-bottom:16px}.visual-core .indent{padding-left:30px}.visual-core b{color:#b9dfc6;font-weight:500}.visual-core i{color:#f5c181;font-style:normal}.visual-bottom{padding:22px 26px;border-top:1px solid #547069;color:#e1dfcb;font-size:13px}.visual-bottom span{margin:0 7px;color:#f5c181}.section{padding:104px 0}.section-heading{max-width:710px;margin-bottom:43px}.section-heading h2,.about h2,.contact h2{font-size:clamp(32px,3.5vw,47px);line-height:1.17;letter-spacing:-.055em;margin:14px 0}.section-heading>p:last-child{font-size:17px;line-height:1.6;color:#61695f}.services{background:#f5e9d8}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.card{background:#fff;border:1px solid #e8d8c4;border-radius:10px;padding:31px;min-height:315px;display:flex;flex-direction:column}.card-number{color:#8f4b2d;font-size:13px;font-weight:800}.card h3{font-size:24px;letter-spacing:-.04em;margin:34px 0 14px}.card p{color:#56615b;line-height:1.65;font-size:15px}.card-tags{margin-top:auto;padding-top:15px;border-top:1px solid #eee0ce;color:#8f4b2d;font-size:12px;font-weight:700}.work{background:#fffaf2}.work-list{border-top:1px solid #dfccb4}.work-item{display:grid;grid-template-columns:1fr 225px;gap:40px;padding:32px 0;border-bottom:1px solid #dfccb4}.work-item h3{font-size:25px;letter-spacing:-.045em;margin:13px 0}.work-item p{color:#56615b;line-height:1.65;max-width:720px;margin:0}.work-side{display:flex;flex-direction:column;justify-content:space-between;gap:20px;color:#775540;font-size:13px;font-weight:700}.about{background:#efdfca}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px}.about p{color:#4b5d54;font-size:17px;line-height:1.75}.inline-link{font-weight:800;border-bottom:1px solid currentColor;padding-bottom:6px}.contact{background:#214a46;color:#fff5e5;padding:86px 0}.contact-grid{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:40px}.contact .section-kicker{color:#f5c181}.contact h2{max-width:590px}.contact p:last-child{color:#d8dfcf;line-height:1.65}.contact-link{font-family:Manrope,sans-serif;font-size:clamp(20px,2.4vw,32px);font-weight:700;border-bottom:1px solid #9caa92;padding-bottom:18px;display:flex;justify-content:space-between;gap:12px;overflow-wrap:anywhere}.contact-link:hover{color:#f5c181}.footer{background:#173b37;color:#d8dfcf}.footer-inner{min-height:83px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px}@media(max-width:850px){.hero-grid,.about-grid,.contact-grid{grid-template-columns:1fr;gap:50px}.hero{padding:70px 0}.hero-visual{min-height:360px}.cards{grid-template-columns:1fr}.card{min-height:245px}.card h3{margin-top:20px}.site-header nav{gap:14px}.site-header nav a:not(.nav-contact){display:none}.about-grid{gap:10px}}@media(max-width:580px){.container{width:min(100% - 34px,1160px)}.nav-wrap{min-height:70px}.brand{font-size:13px}.brand-mark{width:34px;height:34px}.nav-contact{padding:9px;font-size:12px}.hero{padding:56px 0 75px}.hero-intro{font-size:16px}.hero-visual{min-height:300px;box-shadow:10px 12px 0 #efdfca}.visual-top{font-size:8px;padding:17px}.visual-core{padding:20px;font-size:14px;gap:11px}.visual-core .muted{font-size:11px}.visual-bottom{padding:17px;font-size:10px}.section{padding:72px 0}.work-item{grid-template-columns:1fr;gap:20px}.work-side{gap:7px}.footer-inner{padding:25px 0;flex-direction:column;align-items:flex-start;min-height:0}.contact{padding:70px 0}}
/* Keep the first screen compact on phones while preserving readable tap targets. */
.brand-logo { width: 132px; height: 50px; object-fit: contain; }
@media (max-width: 1100px) {
  .brand-logo { width: 104px; height: 40px; }
}
@media (max-width: 580px) {
  .brand { gap: 7px; font-size: 12px; }
  .brand-logo { width: 88px; height: 34px; }
  .hero { padding: 40px 0 56px; }
  .hero-grid { gap: 32px; }
  h1 { font-size: clamp(36px, 9.2vw, 43px); line-height: 1.13; margin: 20px 0 22px; }
  .hero-intro { line-height: 1.6; }
  .actions { gap: 16px; margin: 25px 0 17px; }
  .button-primary { padding: 15px 18px; }
  .hero-visual { min-height: 260px; }
  .visual-core { gap: 9px; }
  .visual-core .muted { margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}

/* Secondary pages and contact form */
.narrow { max-width: 920px; }
.page-hero { padding: 80px 0 74px; background: #f5e9d8; }
.page-hero h1 { max-width: 880px; margin: 17px 0 26px; }
.page-hero p:last-child { max-width: 780px; color: #56615b; font-size: 19px; line-height: 1.7; }
.skill-section { background: #fffaf2; }
.skill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.skill-card { padding: 30px; border: 1px solid #e8d8c4; border-radius: 10px; background: white; }
.skill-card h3 { font-size: 21px; margin: 0 0 15px; }
.skill-card p { margin: 0; color: #56615b; line-height: 1.7; }
.form-section { background: #fffaf2; }
.form-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.form-layout h2 { font-size: 32px; }
.form-layout > div > p { color: #56615b; line-height: 1.7; }
.form-local-note, .form-feedback { padding: 15px 18px; border-radius: 8px; background: #efdfca; color: #203c39; }
.contact-form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 9px; font-weight: 700; font-size: 14px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 16px; border: 1px solid #bea78d; border-radius: 7px; background: white; color: #203c39; font: inherit; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 3px solid #24655b; outline-offset: 2px; }
.contact-form textarea { resize: vertical; }
.contact-form .optional { font-weight: 400; color: #61695f; }
.form-privacy { margin: 0; font-size: 13px; line-height: 1.6; color: #56615b; }
.contact-form button { border: 0; cursor: pointer; justify-self: start; }
.honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 850px) { .skill-grid { grid-template-columns: repeat(2, 1fr); } .form-layout { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 580px) { .page-hero { padding: 55px 0; } .page-hero p:last-child { font-size: 16px; } .skill-grid, .form-row { grid-template-columns: 1fr; } .skill-card { padding: 24px; } }

/* Personal identity and warm visual background. */
.brand { flex-direction: column; align-items: center; gap: 2px; flex-shrink: 0; }
.brand > span { font-size: 11px; line-height: 1.4; letter-spacing: .01em; }
.nav-wrap { min-height: 96px; }
.site-header {
  background-color: #fffaf2;
  background-image: linear-gradient(90deg, rgba(255,250,241,.88), rgba(255,250,241,.72)), url('/header-warm.webp');
  background-position: center 42%;
  background-size: cover;
  border-bottom-color: #e9dbca;
}
.hero, .page-hero {
  background-color: #fff6e8;
  background-image: linear-gradient(90deg, rgba(255,250,241,.93) 0%, rgba(255,250,241,.82) 49%, rgba(255,250,241,.16) 100%), url('/header-warm.webp');
  background-position: center;
  background-size: cover;
}
.hero-visual { box-shadow: 18px 20px 0 rgba(190,111,66,.18); }
@media (max-width: 850px) {
  .hero, .page-hero { background-image: linear-gradient(rgba(255,250,241,.87), rgba(255,250,241,.78)), url('/header-warm.webp'); }
}
@media (max-width: 580px) {
  .nav-wrap { min-height: 82px; }
  .brand { gap: 1px; }
  .brand > span { font-size: 10px; }
  .hero-visual { box-shadow: 10px 12px 0 rgba(190,111,66,.18); }
}

/* Palette echoes the sand, copper and deep green of the hero artwork. */
:root {
  --surface-ivory: #fffaf2;
  --surface-sand: #f5e9d8;
  --accent-copper: #8f4b2d;
  --accent-green: #21534d;
}
.services { background: linear-gradient(135deg, var(--surface-sand), #faf1e3); }
.about { background: linear-gradient(135deg, #efdfca, #f8ecdc); }
.card, .skill-card { background: #fffdf8; box-shadow: 0 8px 24px rgba(114,77,45,.045); }
.card-number { display: inline-block; align-self: flex-start; padding: 6px 10px; border-radius: 6px; background: #f5e9d8; }
.card-tags { color: var(--accent-copper); }
.nav-contact { background: rgba(255,253,248,.7); }
.nav-contact:hover { background: #f5e9d8; }
.button-primary { box-shadow: 0 5px 16px rgba(33,83,77,.12); }
.contact { background: linear-gradient(120deg, #214a46, #173b37); }
.contact-form input, .contact-form textarea { background: #fffdf8; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent-copper); outline-offset: 4px; }

/* Bespoke solutions and illustrative product mockups. */
.offer-hero { background-position: center 45%; }
.offer-intro { max-width: 1160px; }
.offer-intro h1 { max-width: 800px; }
.offer-intro > p:nth-child(3) { max-width: 710px; }
.offer-hero .actions { margin-bottom: 0; }
.offer-section { background: #fffaf2; }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.offer-card { overflow: hidden; border: 1px solid #e4d4c1; border-radius: 14px; background: #fffdf8; box-shadow: 0 12px 28px rgba(86,58,36,.06); }
.offer-body { padding: 27px 27px 30px; }
.offer-label { color: #8f4b2d; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.offer-body h3 { margin: 11px 0 13px; font-size: 23px; line-height: 1.25; letter-spacing: -.035em; }
.offer-body p { color: #56615b; font-size: 15px; line-height: 1.65; }
.offer-body small { color: #786e61; font-size: 12px; }
.offer-beyond { max-width: 900px; margin: 32px 0 0; color: #56615b; font-size: 16px; line-height: 1.7; }
.services-more { margin: 34px 0 0; }
.mockup { height: 290px; padding: 18px; color: #203c39; background: #e9eee7; font-size: 12px; overflow: hidden; }
.mock-top { display: flex; align-items: center; gap: 8px; padding-bottom: 15px; border-bottom: 1px solid rgba(31,70,64,.15); }
.mock-top strong { margin-right: auto; font-size: 12px; }
.mock-top > span:last-child { color: #68766e; font-size: 10px; }
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: #b66a3d; flex: none; }
.mock-school { background: #e8efe9; }
.mock-stat { display: flex; align-items: baseline; gap: 12px; margin: 19px 0 12px; }
.mock-stat strong { font-family: Manrope,sans-serif; font-size: 39px; letter-spacing: -.05em; color: #21534d; }
.mock-stat span { color: #56615b; }
.mock-bars { display: flex; align-items: end; gap: 11px; height: 58px; padding: 0 2px 10px; border-bottom: 1px solid #cad6cb; }
.mock-bars span { flex: 1; height: var(--bar); border-radius: 5px 5px 0 0; background: #77a399; }
.mock-bars span:nth-child(2) { background: #b66a3d; }
.mock-row { display: flex; justify-content: space-between; margin-top: 10px; padding: 8px 11px; border-radius: 6px; background: #fffdf8; }
.mock-row strong { color: #8f4b2d; }
.mock-queue { background: #214a46; color: #fff5e5; }
.mock-queue .mock-top { border-bottom-color: rgba(255,255,255,.2); }
.mock-queue .mock-top > span:last-child { color: #c8d8cc; }
.queue-number { margin: 16px 0 0; font: 800 58px/1 Manrope,sans-serif; letter-spacing: -.06em; color: #f5c181; text-align: center; }
.queue-caption { text-align: center; color: #d8dfcf; margin: 7px 0 16px; }
.queue-list { display: flex; gap: 8px; }
.queue-list span { display: flex; flex: 1; flex-direction: column; gap: 3px; padding: 10px; border-radius: 7px; background: rgba(255,255,255,.1); }
.queue-list b { font-size: 9px; font-weight: 500; color: #d8dfcf; }
.queue-pill { margin-top: 12px; color: #d8dfcf; font-size: 10px; text-align: center; }
.mock-orders { background: #f3e8d7; }
.order-ticket { margin-top: 15px; padding: 13px; border-left: 4px solid #b66a3d; border-radius: 6px; background: #fffdf8; }
.order-ticket > div { display: flex; justify-content: space-between; gap: 10px; }
.order-ticket > div span { color: #786e61; }
.order-ticket p { margin: 9px 0; line-height: 1.45; }
.order-ticket b { color: #8f4b2d; font-size: 10px; }
.order-ticket.compact { border-left-color: #21534d; }
.order-ticket.compact b { display: block; margin-top: 8px; color: #21534d; }
.offer-process { background: linear-gradient(135deg, #f5e9d8, #faf1e3); }
.offer-process-grid, .offer-partners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.offer-process h2, .offer-partners h2 { font-size: clamp(30px,3.4vw,44px); line-height: 1.18; letter-spacing: -.05em; }
.offer-process p, .offer-partners p { color: #56615b; line-height: 1.7; }
.offer-process ol, .partner-note ol { margin: 0; padding: 0; list-style: none; }
.offer-process li { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid #dac5ad; }
.offer-process li strong { min-width: 112px; color: #8f4b2d; }
.offer-process li span { color: #4d5b53; line-height: 1.55; }
.offer-partners { background: #fffaf2; }
.partner-note { padding: 30px; border-radius: 12px; background: #efdfca; }
.partner-note h3 { font-size: 22px; }
.partner-note li { padding: 11px 0; border-bottom: 1px solid #d9c3a9; line-height: 1.5; }
.partner-note .inline-link { display: inline-block; margin-top: 25px; }
@media (max-width: 1000px) { .offer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 850px) {
  .site-header nav a[href$="/services/"] { display: inline-flex; }
  .site-header nav { gap: 10px; }
  .offer-process-grid, .offer-partners-grid { grid-template-columns: 1fr; gap: 25px; }
}
@media (max-width: 640px) {
  .offer-grid { grid-template-columns: 1fr; }
  .offer-hero .actions { align-items: flex-start; }
  .mockup { height: 290px; }
  .offer-process li { flex-direction: column; gap: 4px; }
  .partner-note { padding: 24px; }
  .site-header nav a[href$="/services/"] { font-size: 12px; }
}
@media (max-width: 385px) {
  .brand > span { max-width: 100px; text-align: center; }
  .site-header nav a[href$="/services/"] { max-width: 65px; line-height: 1.2; }
}

/* Multilingual navigation and right-to-left layout. */
.header-tools{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.site-header .language-switcher{display:flex;gap:8px;direction:ltr;font-size:11px}
.site-header .language-switcher a{display:inline-flex;align-items:center;padding:3px 7px;border:1px solid transparent;border-radius:5px;line-height:1.3}
.site-header .language-switcher a[aria-current=page]{border-color:var(--copper,#ad704f);background:#fff8ed;color:#754629}
[dir=rtl] body{font-family:'Noto Sans Arabic',sans-serif}
[dir=rtl] h1,[dir=rtl] h2,[dir=rtl] h3,[dir=rtl] .brand span{font-family:'Noto Sans Arabic',sans-serif;letter-spacing:0;line-height:1.45}
[dir=rtl] .hero-visual{direction:ltr;text-align:left}
[dir=rtl] .mock-top strong{margin-right:0;margin-left:auto}
[dir=rtl] input[type=email]{direction:ltr;text-align:left}
[dir=rtl] .order-ticket{border-left:0;border-right:3px solid #bd805b}
@media(max-width:760px){.header-tools{gap:5px}.site-header nav{gap:10px}.site-header nav a[href$="/services/"]{display:inline-flex}.site-header .language-switcher a{display:inline-flex;font-size:10px;padding:2px 5px}}

.back-to-top{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:50;display:flex;align-items:center;justify-content:center;width:48px;height:48px;border:1px solid #e3bf91;border-radius:50%;background:#214a46;color:#fff5e5;box-shadow:0 4px 18px #173b3733;font-size:27px;text-decoration:none}
.back-to-top[hidden]{display:none}
.back-to-top:hover{background:#8f4b2d}
.back-to-top:focus-visible{outline:3px solid #b66a3d;outline-offset:4px}
[dir=rtl] .back-to-top{right:auto;left:max(20px,env(safe-area-inset-left))}

.technical-profile{padding:54px 0 64px;background:linear-gradient(115deg,#fffaf2,#f4e7d5);border-block:1px solid #e5d5bf}
.technical-heading{max-width:850px}.technical-heading h2{font-size:clamp(26px,3vw,36px);letter-spacing:-.04em;margin:12px 0}.technical-heading p:last-child{color:#56615b;line-height:1.7}
.technology-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:10px;margin:28px 0 12px}
.technology{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:20px 8px;background:#fffdf9;border:1px solid #e7d7c1;border-radius:12px;text-align:center;font-size:12px;font-weight:700;color:#214a46;min-height:116px;transition:transform .15s,border-color .15s}.technology img{object-fit:contain;width:48px;height:48px}.technology:hover{transform:translateY(-3px);border-color:#b66a3d}.technology:focus-visible{outline:3px solid #b66a3d;outline-offset:3px}.technology-note{color:#6e7268;font-size:12px;line-height:1.6}
.delivery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:32px 0}.delivery-grid article{padding:24px;border-top:3px solid #b66a3d;background:#ffffff8c;border-radius:0 0 10px 10px}.delivery-label{font-size:11px;font-weight:800;color:#8f4b2d}.delivery-grid h3{font-size:20px;margin:15px 0 10px}.delivery-grid p{font-size:14px;line-height:1.7;color:#56615b;margin:0}
@media(max-width:1000px){.technology-grid{grid-template-columns:repeat(5,1fr)}}
@media(max-width:640px){.technical-profile{padding:40px 0}.technology-grid{grid-template-columns:repeat(3,1fr)}.delivery-grid{grid-template-columns:1fr;gap:14px}.technology{min-height:105px}}
@media(prefers-reduced-motion:reduce){.technology{transition:none}.technology:hover{transform:none}}

/* Keep navigation accessible while scrolling without changing the header height. */
:root{scroll-padding-top:112px}
.site-header{position:sticky;top:0;z-index:60;box-shadow:0 3px 14px #173b3714}
.skip-link{position:fixed;z-index:70}
@media(max-width:640px){:root{scroll-padding-top:98px}}

/* Complete mobile navigation with a language selector. */
.menu-toggle{display:none}
@media(max-width:850px){
 .site-header .nav-wrap{position:relative;gap:16px}
 .menu-toggle{display:inline-flex;align-items:center;gap:9px;padding:10px 14px;border:1px solid #bea78d;border-radius:7px;background:#fffaf2;color:#214a46;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;cursor:pointer}
 .menu-toggle:focus-visible{outline:3px solid #b66a3d;outline-offset:3px}
 .site-header .header-tools{display:none;position:absolute;top:100%;inset-inline:0;align-items:stretch;gap:16px;padding:20px;background:#fffaf2;border:1px solid #e8d8c4;border-radius:0 0 12px 12px;box-shadow:0 12px 20px #173b3720;max-height:calc(100dvh - 110px);overflow-y:auto}
 .site-header.menu-open .header-tools{display:flex}
 .site-header .header-tools>nav:not(.language-switcher){flex-direction:column;align-items:stretch;gap:4px}
 .site-header .header-tools>nav:not(.language-switcher) a{display:block;max-width:none;font-size:15px;line-height:1.5;padding:10px 12px}
 .site-header .language-switcher{display:flex;justify-content:center;border-top:1px solid #e8d8c4;padding-top:15px;gap:12px}
 .site-header .language-switcher a{display:inline-flex;font-size:13px;padding:8px 12px}
}

/* Language links stay visible independently of the mobile menu. */
.site-header .nav-wrap{position:relative}
.site-header .language-switcher{position:absolute;inset-inline-end:0;bottom:5px;display:flex;gap:8px;direction:ltr}
.site-header .header-tools{margin-bottom:15px}
@media(max-width:850px){
 .site-header .menu-toggle{margin-bottom:24px}
 .site-header .language-switcher{padding:0;border:0;gap:6px;bottom:5px}
 .site-header .language-switcher a{display:inline-flex;padding:3px 6px;font-size:11px;line-height:1.4}
 .site-header .header-tools{margin-bottom:0}
}

/* Override the generic mobile nav-link hiding rule with equal specificity. */
.site-header nav.language-switcher a{display:inline-flex;visibility:visible}

/* Match the language selector position to the Arabic navigation direction. */
[dir=rtl] .site-header .language-switcher{inset-inline-end:auto;inset-inline-start:0;left:0;right:auto}
