@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --ink: #11120f;
  --paper: #f4f5ef;
  --white: #ffffff;
  --muted: #666a63;
  --line: #ced1c8;
  --accent: #e8931e;
  --coral: #ff6b4a;
  --blue: #4056d6;
  --font-display: "Manrope", Arial, sans-serif;
  --font-body: "DM Sans", Arial, sans-serif;
  --page: min(1380px, calc(100vw - 80px));
  color-scheme: light;
}

html[data-theme="dark"] {
  --ink: #f4f5ef;
  --paper: #151713;
  --white: #20231d;
  --muted: #b7bcb2;
  --line: #454a41;
  --blue: #9aa8ff;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; transition: background .2s, color .2s; }
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; background: var(--accent); color: #11120f; padding: 10px 14px; font-weight: 700; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: 84px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(40px, calc((100vw - 1380px)/2)); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.2); transition: background .25s, color .25s, height .25s; }
.site-header.is-scrolled { height: 68px; background: rgba(244,245,239,.94); color: var(--ink); border-bottom-color: var(--line); backdrop-filter: blur(18px); }
.wordmark { direction: ltr; unicode-bidi: isolate; display: inline-flex; align-items: center; width: 112px; height: 44px; }
.brand-logo { width: 100%; height: auto; object-fit: contain; }
.brand-logo-dark, .footer-wordmark .brand-logo { mix-blend-mode: screen; }
.brand-logo-light { display: none; }
.site-header.is-scrolled .brand-logo-dark { display: none; }
.site-header.is-scrolled .brand-logo-light { display: block; }
html[data-theme="dark"] .site-header.is-scrolled .brand-logo-dark { display: block; }
html[data-theme="dark"] .site-header.is-scrolled .brand-logo-light { display: none; }
.site-nav { display: flex; align-items: center; gap: 26px; font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.site-header:not(.is-scrolled) .site-nav { color: #ffffff; text-shadow: 0 1px 16px rgba(0,0,0,.78); }
.site-header.is-scrolled .site-nav { text-shadow: none; }
.site-nav > a:not(.nav-cta) { position: relative; }
.site-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: currentColor; transition: right .2s; }
.site-nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-services { position: relative; }
.nav-services summary { display: flex; align-items: center; gap: 7px; list-style: none; cursor: pointer; }
.nav-services summary::-webkit-details-marker { display: none; }
.nav-services summary span { font-size: 17px; font-weight: 400; transition: transform .2s; }
.nav-services[open] summary span { transform: rotate(45deg); }
.nav-services-menu { position: absolute; top: calc(100% + 20px); left: -18px; width: 290px; padding: 10px; background: #11120f; color: #ffffff; border-top: 3px solid var(--accent); box-shadow: 0 18px 40px rgba(0,0,0,.28); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; text-shadow: none; }
.nav-services[open] .nav-services-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-services-menu a { display: block; padding: 11px 12px; border-bottom: 1px solid #353832; color: #d9dcd5; font-size: 13px; }
.nav-services-menu a:last-child { border-bottom: 0; }
.nav-services-menu a:hover, .nav-services-menu a:focus-visible { background: var(--accent); color: #11120f; }
[dir="rtl"] .nav-services-menu { left: auto; right: -18px; }
.nav-cta { padding: 11px 17px; background: var(--accent); color: #11120f; }
.language-switcher { display: flex; align-items: center; gap: 2px; padding-inline: 4px; border-inline: 1px solid currentColor; }
.language-switcher a { min-width: 29px; padding: 5px 4px; text-align: center; font-size: 11px; opacity: .62; }
.language-switcher a[aria-current="page"] { color: #11120f; background: var(--accent); opacity: 1; text-shadow: none; }
.theme-toggle { position: relative; width: 38px; height: 38px; flex: 0 0 38px; border: 1px solid currentColor; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.theme-toggle span, .theme-toggle span::before { position: absolute; display: block; content: ""; }
.theme-toggle span { width: 14px; height: 14px; left: 11px; top: 11px; border: 2px solid currentColor; border-radius: 50%; }
.theme-toggle span::before { width: 4px; height: 8px; right: -3px; top: -3px; border-radius: 50%; background: currentColor; }
html[data-theme="dark"] .theme-toggle span::before { width: 9px; height: 9px; right: -4px; top: -3px; background: #20231d; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: currentColor; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 6px auto; background: currentColor; transition: transform .2s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.hero { min-height: min(900px, 94vh); position: relative; display: flex; align-items: flex-end; overflow: hidden; color: #ffffff; background: #11120f; }
.hero-media, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { object-fit: cover; object-position: center; filter: hue-rotate(-43deg) saturate(.95); }
.hero-shade { background: linear-gradient(90deg, rgba(8,9,8,.9) 0%, rgba(8,9,8,.54) 45%, rgba(8,9,8,.08) 78%), linear-gradient(0deg, rgba(8,9,8,.42), transparent 50%); }
.hero-content { position: relative; z-index: 2; width: var(--page); margin: 0 auto; padding: 170px 0 120px; }
.eyebrow, .section-kicker { margin: 0 0 25px; text-transform: uppercase; font-size: 12px; line-height: 1.3; font-weight: 700; letter-spacing: 0; }
.eyebrow { color: var(--accent); max-width: 600px; }
.hero h1 { max-width: 950px; margin: 0; font-family: var(--font-display); font-size: clamp(52px, 7.2vw, 112px); line-height: .92; letter-spacing: 0; font-weight: 700; text-wrap: balance; }
.hero h1 span { color: var(--accent); }
.hero-copy { max-width: 655px; margin: 32px 0 0; font-size: clamp(18px, 2vw, 23px); line-height: 1.45; color: rgba(255,255,255,.82); }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 42px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 13px 18px; border: 1px solid transparent; border-radius: 0; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #11120f; }
.button-dark { background: var(--ink); color: var(--white); }
.text-link { display: inline-flex; gap: 14px; align-items: center; padding: 10px 0; font-weight: 600; border-bottom: 1px solid currentColor; }
.text-link.light { color: #ffffff; }
.hero-index { position: absolute; z-index: 2; right: max(40px, calc((100vw - 1380px)/2)); bottom: 38px; display: flex; gap: 18px; align-items: center; font-size: 11px; text-transform: uppercase; }
.hero-index span:first-child { color: var(--accent); }

.section { width: var(--page); margin: 0 auto; padding: 120px 0; }
.section-kicker { color: var(--muted); }
h2, h3 { font-family: var(--font-display); }
h2 { margin: 0; font-size: clamp(40px, 5.3vw, 80px); line-height: 1.02; letter-spacing: 0; font-weight: 600; text-wrap: balance; }
.intro-grid { display: grid; grid-template-columns: 1.5fr .8fr; gap: 11vw; align-items: end; }
.intro-copy { max-width: 540px; font-size: 19px; color: #3c403a; }
.intro-copy p { margin: 0 0 20px; }
.challenge-line { margin-top: 80px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 2fr repeat(5, auto); align-items: center; gap: 25px; color: var(--muted); font-size: 12px; text-transform: uppercase; }
.challenge-line p { margin: 0; color: var(--ink); font-size: 15px; text-transform: none; font-weight: 600; }

.needs { padding-top: 100px; }
.needs-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 60px; border-top: 1px solid var(--ink); }
.needs-grid > a { position: relative; min-height: 300px; padding: 28px 28px 34px 0; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s; }
.needs-grid > a + a { padding-left: 28px; border-left: 1px solid var(--line); }
.needs-grid > a:hover { background: var(--white); padding-left: 20px; }
.needs-grid span { color: var(--blue); font-size: 13px; font-weight: 700; }
.needs-grid h3 { margin: 58px 0 14px; font-size: 25px; line-height: 1.18; }
.needs-grid p { margin: 0; color: var(--muted); }
.needs-grid b { position: absolute; right: 24px; bottom: 22px; font-size: 18px; }
.featured-solution h3 a, .solution-grid h3 a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: transparent; }
.featured-solution h3 a:hover, .solution-grid h3 a:hover { text-decoration-color: var(--accent); }

.solutions { width: 100%; padding-left: max(40px, calc((100vw - 1380px)/2)); padding-right: max(40px, calc((100vw - 1380px)/2)); background: var(--ink); color: var(--white); }
.solutions .section-kicker { color: var(--accent); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; }
.segment { display: flex; border: 1px solid #494c47; padding: 4px; }
.segment button { min-height: 44px; border: 0; background: transparent; color: #b7bab4; padding: 8px 15px; cursor: pointer; }
.segment button[aria-selected="true"] { background: var(--accent); color: #11120f; }
.solution-panel { margin-top: 72px; }
.featured-solution { display: grid; grid-template-columns: 80px 1.1fr .8fr; gap: 35px; padding: 36px 0 48px; border-top: 1px solid #5d605a; border-bottom: 1px solid #5d605a; }
.featured-solution.accent { border-top-color: var(--accent); }
.solution-number, .solution-grid span, .impact-grid span { color: var(--accent); font-size: 13px; font-weight: 700; }
.featured-solution h3 { margin: 0 0 12px; font-size: 34px; line-height: 1.1; }
.featured-solution p { margin: 0; color: #c7cac3; }
.service-list { align-self: center; }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.solution-grid article { min-height: 230px; padding: 30px 26px 34px 0; border-bottom: 1px solid #444741; }
.solution-grid article:not(:nth-child(3n+1)) { padding-left: 26px; border-left: 1px solid #444741; }
.solution-grid h3 { margin: 28px 0 12px; font-size: 22px; line-height: 1.2; }
.solution-grid p { margin: 0; color: #aeb2aa; }

.approach { display: grid; grid-template-columns: .85fr 1.15fr; gap: 11vw; }
.approach-copy { position: sticky; top: 120px; align-self: start; }
.approach-copy p:last-child { max-width: 570px; margin: 30px 0 0; color: var(--muted); font-size: 18px; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.step { position: relative; display: grid; grid-template-columns: 55px 1fr; gap: 10px; padding: 36px 0; border-bottom: 1px solid var(--line); cursor: pointer; outline: none; }
.step::before { content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 3px; background: var(--blue); transition: width .35s; }
.step.is-current::before, .step:focus-visible::before { width: 100%; }
.step > span { color: var(--blue); font-weight: 700; }
.step h3 { margin: 0; font-size: 32px; line-height: 1; }
.step p { grid-column: 2; max-width: 560px; margin: 12px 0 0; color: var(--muted); }

.difference { width: 100%; padding-left: max(40px, calc((100vw - 1380px)/2)); padding-right: max(40px, calc((100vw - 1380px)/2)); background: var(--coral); }
.difference .section-kicker { color: var(--ink); }
.difference h2 { font-size: clamp(55px, 8.5vw, 128px); line-height: .9; }
.difference h2 span { color: var(--paper); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; margin-top: 80px; padding-top: 30px; border-top: 1px solid rgba(17,18,15,.42); }
.principles p { margin: 0; max-width: 360px; }
.principles strong { display: block; margin-bottom: 7px; font-family: var(--font-display); font-size: 20px; }

.heading-copy { max-width: 420px; margin: 0; color: var(--muted); font-size: 18px; }
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; border-top: 1px solid var(--ink); }
.impact-grid article { min-height: 260px; padding: 26px 24px 30px 0; border-bottom: 1px solid var(--line); }
.impact-grid article + article { padding-left: 24px; border-left: 1px solid var(--line); }
.impact-grid span { color: var(--blue); }
.impact-grid h3 { margin: 54px 0 12px; font-size: 25px; line-height: 1.15; }
.impact-grid p { margin: 0; color: var(--muted); }

.work { width: 100%; padding-left: max(40px, calc((100vw - 1380px)/2)); padding-right: max(40px, calc((100vw - 1380px)/2)); background: #11120f; color: #ffffff; }
.work .heading-copy { color: #b8bcb4; }
.work-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; border-top: 1px solid #4b4e48; border-bottom: 1px solid #4b4e48; }
.work-summary p { display: flex; align-items: baseline; gap: 14px; min-height: 92px; margin: 0; padding: 20px 28px 20px 0; }
.work-summary p + p { padding-left: 28px; border-left: 1px solid #4b4e48; }
.work-summary strong { color: var(--accent); font-family: var(--font-display); font-size: 36px; line-height: 1; }
.work-summary span { color: #d9dbd6; font-size: 14px; font-weight: 600; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid #4b4e48; }
.work-grid article { position: relative; min-height: 390px; padding: 36px 64px 42px 0; border-bottom: 1px solid #4b4e48; transition: background-color .2s ease; }
.work-grid article:nth-child(even) { padding-left: 44px; border-left: 1px solid #4b4e48; }
[dir="rtl"] .work-grid article { padding-right: 0; padding-left: 44px; }
[dir="rtl"] .work-grid article:nth-child(even) { padding-right: 44px; padding-left: 0; border-right: 1px solid #4b4e48; border-left: 0; }
.work-grid article:hover, .work-grid article:focus-within { background: #181a16; }
.work-index { position: absolute; top: 34px; right: 20px; color: #73776e; font-family: var(--font-display); font-size: 13px; }
[dir="rtl"] .work-index { right: auto; left: 20px; }
.work-sector { color: var(--accent); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.work-grid h3 { margin: 46px 0 4px; font-size: 34px; line-height: 1.1; }
.work-grid h4 { margin: 0 0 22px; color: #d9dbd6; font-family: var(--font-display); font-size: 18px; line-height: 1.35; font-weight: 600; }
.work-grid p { max-width: 560px; margin: 0; color: #aeb2aa; }
.work-grid a { display: inline-flex; gap: 10px; margin-top: 30px; padding-bottom: 4px; border-bottom: 1px solid var(--accent); color: var(--accent); font-weight: 700; transition: gap .2s ease; }
.work-grid a:hover, .work-grid a:focus-visible { gap: 16px; }
[dir="rtl"] .work-summary p { padding-right: 0; padding-left: 28px; }
[dir="rtl"] .work-summary p + p { padding-right: 28px; border-right: 1px solid #4b4e48; border-left: 0; }

.clients { width: 100%; padding-left: max(40px, calc((100vw - 1380px)/2)); padding-right: max(40px, calc((100vw - 1380px)/2)); background: var(--white); overflow: hidden; }
.clients h2 { max-width: 1000px; }
.logo-marquee { margin-top: 70px; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-track { display: grid; grid-template-columns: repeat(5, 1fr); }
.logo-track figure { height: 150px; margin: 0; padding: 28px; display: grid; place-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); filter: grayscale(1); transition: filter .2s, background .2s; }
.logo-track figure:hover { filter: grayscale(0); background: var(--paper); }
.logo-track img { max-width: 150px; max-height: 66px; object-fit: contain; mix-blend-mode: multiply; }

.contact { width: 100%; padding-left: max(40px, calc((100vw - 1380px)/2)); padding-right: max(40px, calc((100vw - 1380px)/2)); display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; background: var(--accent); }
.contact-intro p:last-child { max-width: 600px; margin: 32px 0 0; font-size: 18px; }
.contact-form { align-self: end; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-form label { display: grid; gap: 8px; margin-bottom: 22px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 12px 0; background: transparent; color: var(--ink); outline: none; text-transform: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-bottom-width: 3px; }
.contact-form textarea { resize: vertical; }
.contact-form ::placeholder { color: #654512; }
.form-actions { display: flex; align-items: center; gap: 20px; }
.form-status { margin: 0; font-size: 14px; font-weight: 600; }

.site-footer { padding: 72px max(40px, calc((100vw - 1380px)/2)) 30px; background: #080908; color: #ffffff; border-top: 6px solid var(--accent); }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; padding-bottom: 58px; border-bottom: 1px solid #454842; }
.footer-pitch { max-width: 460px; justify-self: end; }
.footer-top p { margin: 0; color: #f2f3ef; font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 36px); line-height: 1.25; font-weight: 600; }
.footer-cta { display: inline-flex; align-items: center; gap: 18px; margin-top: 26px; padding-bottom: 6px; border-bottom: 1px solid var(--accent); color: var(--accent); font-weight: 700; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 48px 0; border-bottom: 1px solid #454842; }
.footer-links div { display: grid; align-content: start; gap: 10px; min-height: 150px; padding-right: 36px; }
.footer-links div + div { padding-left: 36px; border-left: 1px solid #30332e; }
.footer-links span { color: var(--accent); margin-bottom: 8px; text-transform: uppercase; font-size: 11px; font-weight: 700; }
.footer-links a { color: #c9ccc5; }
.footer-links a:hover { color: #ffffff; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; color: #8f938b; font-size: 12px; }

.service-hero { min-height: 78vh; display: flex; align-items: flex-end; background: #11120f; color: #ffffff; }
.service-hero-inner { width: var(--page); margin: 0 auto; padding: 170px 0 100px; }
.service-back { display: inline-flex; gap: 12px; margin-bottom: 64px; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 600; }
.service-hero h1 { max-width: 1050px; margin: 0; font-family: var(--font-display); font-size: clamp(58px, 8vw, 122px); line-height: .94; font-weight: 700; text-wrap: balance; }
.service-hero-inner > p:not(.eyebrow) { max-width: 720px; margin: 35px 0 0; color: #c7cac3; font-size: 22px; line-height: 1.5; }
.service-work-link { display: inline-flex; gap: 12px; margin-top: 28px; padding-bottom: 5px; border-bottom: 1px solid var(--accent); color: var(--accent); font-size: 14px; font-weight: 700; }
.service-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 70px; border-top: 1px solid var(--ink); }
.service-card-grid article { min-height: 260px; padding: 28px 28px 35px 0; border-bottom: 1px solid var(--line); }
.service-card-grid article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.service-card-grid span { color: var(--blue); font-size: 13px; font-weight: 700; }
.service-card-grid p { max-width: 350px; margin: 64px 0 0; font-family: var(--font-display); font-size: 24px; line-height: 1.35; }
.service-deliverables { width: 100%; padding: 120px max(40px, calc((100vw - 1380px)/2)); background: #4056d6; color: #ffffff; }
.service-deliverables-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; }
.service-deliverables .section-kicker { color: var(--accent); }
.service-deliverables ol { margin: 0; padding: 0; list-style: none; counter-reset: deliverable; border-top: 1px solid rgba(255,255,255,.55); }
.service-deliverables li { counter-increment: deliverable; display: grid; grid-template-columns: 58px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.38); font-family: var(--font-display); font-size: 22px; }
.service-deliverables li::before { content: "0" counter(deliverable); color: var(--accent); font-size: 12px; font-weight: 700; }
.service-process { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; }
.service-process .heading-copy { margin-top: 26px; }
.service-cta { padding: 110px max(40px, calc((100vw - 1380px)/2)); background: var(--accent); color: #11120f; }
.service-cta > div { max-width: 990px; }
.service-cta p:not(.section-kicker) { max-width: 650px; margin: 28px 0 36px; font-size: 19px; }
[dir="rtl"] .service-card-grid article { padding-left: 28px; padding-right: 0; }
[dir="rtl"] .service-card-grid article + article { padding-left: 28px; padding-right: 28px; border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"] .service-hero h1 { font-family: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif; line-height: 1.15; }

html[data-theme="dark"] .site-header.is-scrolled { background: rgba(21,23,19,.95); }
html[data-theme="dark"] .solutions, html[data-theme="dark"] .site-footer { background: #080908; color: #ffffff; }
html[data-theme="dark"] .solutions .featured-solution p, html[data-theme="dark"] .solutions .solution-grid p { color: #c7cac3; }
html[data-theme="dark"] .difference { color: #11120f; }
html[data-theme="dark"] .difference h2 span { color: #f4f5ef; }
html[data-theme="dark"] .contact { color: #11120f; }
html[data-theme="dark"] .contact .button-dark { background: #11120f; color: #ffffff; }
html[data-theme="dark"] .contact-form input, html[data-theme="dark"] .contact-form select, html[data-theme="dark"] .contact-form textarea { color: #11120f; border-color: #11120f; }
html[data-theme="dark"] .contact-form ::placeholder { color: #4d582f; }
html[data-theme="dark"] .logo-track img { mix-blend-mode: normal; background: #ffffff; padding: 8px; }
html[data-theme="dark"] .service-deliverables { background: #3144b8; }
.footer-wordmark { width: min(220px, 46vw); height: auto; }
[dir="rtl"] .footer-pitch { justify-self: start; }
[dir="rtl"] .footer-links div { padding-left: 36px; padding-right: 0; }
[dir="rtl"] .footer-links div + div { padding-left: 0; padding-right: 36px; border-left: 0; border-right: 1px solid #30332e; }

[dir="rtl"] body { font-family: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif; line-height: 1.75; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif; font-weight: 600; }
[dir="rtl"] .hero h1 { max-width: 900px; font-size: clamp(54px, 6.5vw, 100px); line-height: 1.08; }
[dir="rtl"] .hero-copy { line-height: 1.7; }
[dir="rtl"] .eyebrow, [dir="rtl"] .section-kicker { line-height: 1.65; }
[dir="rtl"] .site-nav { font-size: 15px; }
[dir="rtl"] .featured-solution h3 { line-height: 1.35; }
[dir="rtl"] .solution-grid h3, [dir="rtl"] .impact-grid h3 { line-height: 1.45; }
[dir="rtl"] .step h3 { line-height: 1.3; }
[dir="rtl"] .contact-form label { line-height: 1.5; }
[dir="rtl"] .needs-grid > a { padding-left: 28px; padding-right: 0; }
[dir="rtl"] .needs-grid > a + a { padding-left: 28px; padding-right: 28px; border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"] .needs-grid > a:hover { padding-right: 20px; }
[dir="rtl"] .needs-grid b { right: auto; left: 24px; }
[dir="rtl"] .hero-shade { transform: scaleX(-1); }
[dir="rtl"] .hero-content, [dir="rtl"] .approach-copy, [dir="rtl"] .contact-intro { text-align: right; }
[dir="rtl"] .hero-index { right: auto; left: max(40px, calc((100vw - 1380px)/2)); }
[dir="rtl"] .solution-grid article:not(:nth-child(3n+1)), [dir="rtl"] .impact-grid article + article { padding-left: 0; padding-right: 26px; border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"] .solution-grid article:not(:nth-child(3n+1)) { border-right-color: #444741; }
[dir="rtl"] .step::before { left: auto; right: 0; }

@media (max-width: 900px) {
  :root { --page: calc(100vw - 40px); }
  .site-header { height: 68px; padding: 0 20px; }
  .wordmark, .menu-toggle { position: relative; z-index: 2; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; z-index: 1; inset: 0; height: 100dvh; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 16px; padding: 105px 30px 40px; overflow-y: auto; overscroll-behavior: contain; background: #11120f; color: #ffffff; visibility: hidden; pointer-events: none; transform: translateX(100%); transition: transform .3s ease, visibility 0s linear .3s; }
  .site-nav.is-open { visibility: visible; pointer-events: auto; transform: translateX(0); transition-delay: 0s; }
  body.nav-open .site-header { background: transparent; color: #ffffff; border-bottom-color: rgba(255,255,255,.18); backdrop-filter: none; }
  body.nav-open .site-header .brand-logo-dark { display: block; }
  body.nav-open .site-header .brand-logo-light { display: none; }
  .site-nav a { font-family: var(--font-display); font-size: 30px; }
  .nav-services { width: 100%; }
  .nav-services summary { width: 100%; justify-content: space-between; font-size: 30px; }
  .nav-services-menu { position: static; width: 100%; max-height: 42vh; margin-top: 10px; padding: 0 0 0 15px; overflow-y: auto; background: transparent; border-top: 1px solid #454842; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-services:not([open]) .nav-services-menu { display: none; }
  .nav-services-menu a { padding: 9px 0; font-family: var(--font-body); font-size: 15px; }
  .site-nav .nav-cta { margin-top: 16px; color: #11120f; font-size: 16px; }
  .language-switcher { margin-top: 10px; border: 0; padding: 0; }
  .language-switcher a { min-width: 42px; font-family: var(--font-body); font-size: 13px; }
  .theme-toggle { margin-top: 8px; }
  .hero { min-height: 92svh; }
  .hero-media { object-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(8,9,8,.94), rgba(8,9,8,.36)), linear-gradient(0deg, rgba(8,9,8,.6), transparent); }
  .hero-content { padding: 130px 0 95px; }
  .hero h1 { font-size: clamp(50px, 15vw, 84px); }
  [dir="rtl"] .hero h1 { font-size: clamp(46px, 13vw, 72px); line-height: 1.16; }
  .hero-copy { font-size: 17px; }
  .hero-index { display: none; }
  .section { padding: 84px 0; }
  .intro-grid, .approach, .contact { grid-template-columns: 1fr; gap: 45px; }
  .service-deliverables-inner, .service-process { grid-template-columns: 1fr; gap: 45px; }
  .service-card-grid { grid-template-columns: 1fr; }
  .service-card-grid article:nth-child(n), [dir="rtl"] .service-card-grid article:nth-child(n) { min-height: auto; padding: 28px 0 34px; border-left: 0; border-right: 0; }
  .service-card-grid p { margin-top: 34px; }
  .service-deliverables, .service-cta { padding-left: 20px; padding-right: 20px; }
  .challenge-line { grid-template-columns: repeat(2, 1fr); }
  .challenge-line p { grid-column: 1 / -1; }
  .solutions, .difference, .clients, .contact { padding-left: 20px; padding-right: 20px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .segment { width: 100%; }
  .segment button { flex: 1; font-size: 13px; }
  .featured-solution { grid-template-columns: 42px 1fr; }
  .featured-solution .service-list { grid-column: 2; }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-grid article:nth-child(n) { padding: 26px 20px 30px 0; border-left: 0; }
  .solution-grid article:nth-child(even) { padding-left: 20px; border-left: 1px solid #444741; }
  .approach-copy { position: static; }
  .needs-grid, .principles, .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .needs-grid > a:nth-child(3) { padding-left: 0; border-left: 0; }
  [dir="rtl"] .needs-grid > a:nth-child(3) { padding-right: 0; border-right: 0; }
  .impact-grid article:nth-child(3) { border-left: 0; padding-left: 0; }
  .logo-track { grid-template-columns: repeat(2, 1fr); }
  .work-summary { grid-template-columns: 1fr; }
  .work-summary p, [dir="rtl"] .work-summary p { min-height: 72px; padding: 16px 0; }
  .work-summary p + p, [dir="rtl"] .work-summary p + p { border-top: 1px solid #4b4e48; border-right: 0; border-left: 0; }
  .work-grid { grid-template-columns: 1fr; }
  .work-grid article, .work-grid article:nth-child(even), [dir="rtl"] .work-grid article, [dir="rtl"] .work-grid article:nth-child(even) { min-height: auto; padding: 30px 0 34px; border-right: 0; border-left: 0; }
  .work-grid h3 { margin-top: 34px; }
  .footer-top { gap: 30px; }
  [dir="rtl"] .site-nav { align-items: flex-start; transform: translateX(-100%); }
  [dir="rtl"] .site-nav.is-open { transform: translateX(0); }
  html[data-theme="dark"] .site-nav { background: #080908; color: #ffffff; }
  [dir="rtl"] .solution-grid article:nth-child(n), [dir="rtl"] .impact-grid article:nth-child(n) { padding-left: 20px; padding-right: 0; border-right: 0; }
  [dir="rtl"] .solution-grid article:nth-child(even) { padding-left: 0; padding-right: 20px; border-right: 1px solid #444741; }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .site-nav { gap: 15px; font-size: 13px; }
  .nav-cta { padding-inline: 12px; }
}

@media (max-width: 560px) {
  .hero-actions, .form-actions { align-items: flex-start; flex-direction: column; }
  .hero h1 { font-size: 52px; }
  .hero-copy { margin-top: 24px; }
  h2 { font-size: 40px; }
  [dir="rtl"] h2 { font-size: 38px; line-height: 1.2; }
  .needs-grid, .solution-grid, .principles, .impact-grid, .field-row { grid-template-columns: 1fr; }
  .needs-grid > a:nth-child(n), [dir="rtl"] .needs-grid > a:nth-child(n) { min-height: 240px; padding: 26px 0 54px; border-left: 0; border-right: 0; }
  .solution-grid article:nth-child(n), .impact-grid article:nth-child(n) { min-height: auto; padding: 26px 0 30px; border-left: 0; }
  .featured-solution { grid-template-columns: 1fr; gap: 16px; }
  .featured-solution .service-list { grid-column: 1; }
  .principles { gap: 28px; }
  .impact-grid h3 { margin-top: 30px; }
  .step { grid-template-columns: 42px 1fr; }
  .footer-top, .footer-bottom { flex-direction: column; gap: 28px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-pitch, [dir="rtl"] .footer-pitch { justify-self: start; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-links div, [dir="rtl"] .footer-links div { min-height: auto; padding: 24px 0; }
  .footer-links div + div, [dir="rtl"] .footer-links div + div { padding: 24px 0; border-left: 0; border-right: 0; border-top: 1px solid #30332e; }
  [dir="rtl"] .solution-grid article:nth-child(n), [dir="rtl"] .impact-grid article:nth-child(n) { padding: 26px 0 30px; border-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
