@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 300; font-display: swap; src: url("/site-assets/fonts/hanken-300.ttf") format('truetype'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url("/site-assets/fonts/hanken-400.ttf") format('truetype'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url("/site-assets/fonts/hanken-500.ttf") format('truetype'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url("/site-assets/fonts/hanken-600.ttf") format('truetype'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url("/site-assets/fonts/hanken-700.ttf") format('truetype'); }
:root { color-scheme: light; --canvas: var(--color-canvas, #fbf9f9); --ink: var(--color-ink, #000); --secondary: var(--color-secondary, #444748); --hairline: var(--color-hairline, #c4c7c7); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font-brand, 'Hanken Grotesk', Arial, sans-serif); -webkit-font-smoothing: antialiased; }
::selection { background: #000; color: #fff; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--secondary); outline-offset: 6px; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.site-container { width: 100%; max-width: var(--container-site, 1440px); padding-inline: var(--spacing-page, 64px); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; inset-inline-start: 16px; padding: 12px; background: white; z-index: 100; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 10; background: rgb(251 249 249 / 80%); backdrop-filter: blur(24px); border-bottom: 1px solid rgb(196 199 199 / 30%); }
.navigation { height: 80px; }
.wordmark { font-size: 24px; font-weight: 700; letter-spacing: -1.2px; }
.desktop-links { display: flex; gap: 32px; list-style: none; padding: 0; margin: 0; font-size: 16px; letter-spacing: .1em; color: #777; }
.desktop-links a:hover { color: #000; }
.menu-toggle { display: flex; align-items: center; gap: 8px; text-transform: uppercase; font-size: 12px; font-weight: 600; letter-spacing: .15em; min-height: 44px; }
.menu-toggle svg { width: 14px; height: 14px; }
.menu-panel { position: absolute; inset-inline-end: 64px; top: 70px; width: 220px; background: var(--canvas); border: 1px solid rgb(196 199 199 / 50%); padding: 16px 24px; }
.menu-panel a { display: block; padding: 14px 0; }
.menu-panel a:hover { text-decoration: underline; text-underline-offset: 5px; }
main { padding-top: 96px; }
.hero { padding-top: 174px; padding-bottom: 96px; text-align: center; }
.hero-logo { display: block; width: 100%; max-width: 672px; height: auto; margin: 0 auto; opacity: .9; transition: opacity .7s; }
.hero-logo:hover { opacity: 1; }
h1 { font-size: 80px; line-height: 1; font-weight: 300; letter-spacing: -.04em; max-width: 1000px; margin: 48px auto 0; }
hr { margin: 0; border: 0; border-top: 1px solid rgb(196 199 199 / 50%); }
.statement { padding-block: 80px; }
.statement p { max-width: 768px; margin: 0 auto; color: var(--secondary); font-size: 48px; line-height: 1.1; letter-spacing: -.02em; font-weight: 400; }
.capabilities { padding-block: 80px; }
.capabilities h2 { margin: 0 0 48px; font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: .2em; text-transform: uppercase; color: var(--secondary); }
.capability-grid article { border-inline-start: 1px solid rgb(196 199 199 / 30%); padding-inline-start: 32px; }
h3 { font-size: 24px; line-height: 1.3; font-weight: 500; letter-spacing: -.01em; margin: 0 0 16px; }
.capability-grid p { margin: 0; color: var(--secondary); font-size: 16px; line-height: 1.6; }
.contact { text-align: center; padding-block: 80px; margin-bottom: 80px; }
.dialogue { display: inline-flex; align-items: center; gap: 16px; font-size: 24px; line-height: 1.3; font-weight: 500; min-height: 44px; }
.dialogue svg { transition: transform .3s; }
.dialogue:hover svg { transform: translateX(6px); }
.contact-form { max-width: 768px; margin: 32px auto 0; text-align: start; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.contact-form label { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.contact-form input, .contact-form textarea { width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--hairline); border-radius: 0; background: #fff; color: var(--ink); font: inherit; }
.contact-form textarea { resize: vertical; }
.form-wide, .form-grid > .form-hint { grid-column: 1 / -1; }
.form-hint { color: var(--secondary); font-size: 14px; line-height: 1.7; margin: 16px 0; }
.form-grid > .form-hint { margin: -12px 0 0; }
.contact-form a { text-decoration: underline; text-underline-offset: 4px; }
.send-button { min-height: 48px; padding: 12px 28px; background: var(--ink); color: var(--canvas); }
.send-button:disabled { opacity: .6; cursor: wait; }
.form-status { min-height: 28px; margin: 20px 0 0; line-height: 1.7; overflow-wrap: anywhere; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 767px) { .form-grid { grid-template-columns: 1fr; } }
footer { border-top: 1px solid rgb(196 199 199 / 20%); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 40px; }
.footer-brand { font-size: 24px; }
.footer-links { display: flex; gap: 32px; }
.footer-links a, footer small { font-size: 13px; font-weight: 500; line-height: 1.3; text-transform: uppercase; letter-spacing: .1em; }
.footer-links a { min-height: 44px; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
footer small { color: var(--secondary); }
dialog { margin: auto; background: var(--canvas); color: var(--ink); border: 1px solid var(--hairline); padding: 48px; max-width: 480px; width: calc(100% - 48px); }
dialog::backdrop { background: rgb(0 0 0 / 25%); backdrop-filter: blur(4px); }
dialog h2 { font-size: 28px; font-weight: 400; margin-top: 0; }
dialog p { color: var(--secondary); line-height: 1.6; margin-bottom: 0; }
.dialog-close { position: absolute; top: 4px; inset-inline-end: 8px; width: 44px; height: 44px; font-size: 28px; }
@media (min-width: 768px) and (max-width: 1100px) {
  .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 767px) {
  .site-container { padding-inline: 24px; }
  .navigation { height: 72px; }
  .desktop-links { display: none; }
  .menu-panel { inset-inline-end: 24px; top: 64px; }
  main { padding-top: 72px; }
  .hero { padding-top: 80px; padding-bottom: 64px; }
  h1 { font-size: clamp(38px, 8vw, 60px); margin-top: 36px; }
  .statement, .capabilities { padding-block: 56px; }
  .statement p { font-size: 32px; line-height: 1.2; }
  .capabilities h2 { margin-bottom: 32px; }
  .capability-grid article { border-inline-start: 0; border-top: 1px solid rgb(196 199 199 / 30%); padding: 24px 0 0; }
  .contact { padding-block: 48px; margin-bottom: 48px; }
  .footer-inner { flex-direction: column; gap: 20px; text-align: center; padding-block: 32px; }
  .footer-links { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .footer-links a, footer small { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.statement .company-intro { margin-top: 32px; font-size: 18px; line-height: 1.6; letter-spacing: 0; }
.contact-intro { margin: 0 0 24px; color: var(--secondary); font-size: 18px; }
.footer-links a { display: inline-flex; align-items: center; }
.legal-page { max-width: 900px; padding-top: 150px; padding-bottom: 80px; }
.legal-page h1 { font-size: clamp(40px, 7vw, 64px); margin: 0 0 24px; }
.legal-page h2 { font-size: 24px; font-weight: 500; margin: 40px 0 16px; }
.legal-page p { font-size: 18px; line-height: 1.6; color: var(--secondary); }
.legal-page a { text-decoration: underline; text-underline-offset: 4px; }

/* English stays the default; Arabic pages declare their own language and direction. */
@font-face { font-family: 'Noto Sans Arabic'; font-style: normal; font-weight: 300; font-display: swap; src: url("/site-assets/fonts/noto-arabic-300.ttf") format('truetype'); }
@font-face { font-family: 'Noto Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url("/site-assets/fonts/noto-arabic-400.ttf") format('truetype'); }
@font-face { font-family: 'Noto Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap; src: url("/site-assets/fonts/noto-arabic-600.ttf") format('truetype'); }
.header-actions { display: flex; align-items: center; gap: 28px; }
.language-switch { display: flex; align-items: center; gap: 10px; flex-shrink: 0; font-size: 14px; }
.language-switch a { display: inline-flex; align-items: center; min-height: 44px; min-width: 32px; justify-content: center; }
.language-switch [lang="ar"] { font-family: 'Noto Sans Arabic', sans-serif; line-height: 1.6; }
.language-switch [lang="en"] { font-family: 'Hanken Grotesk', sans-serif; }
.language-switch [aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; font-weight: 600; }
.language-switch a:hover { opacity: .65; }
:lang(ar) body { font-family: var(--font-arabic, 'Noto Sans Arabic', Tahoma, sans-serif); }
[dir="rtl"] .wordmark, [dir="rtl"] .footer-brand, bdi { font-family: 'Hanken Grotesk', sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3,
[dir="rtl"] p, [dir="rtl"] .desktop-links, [dir="rtl"] .menu-toggle,
[dir="rtl"] .footer-links a, [dir="rtl"] footer small { letter-spacing: normal; text-transform: none; }
[dir="rtl"] h1 { line-height: 1.5; font-size: clamp(38px, 6vw, 72px); }
[dir="rtl"] .statement p { line-height: 1.7; }
[dir="rtl"] h3 { line-height: 1.7; }
[dir="rtl"] .capability-grid p, [dir="rtl"] .company-intro,
[dir="rtl"] .legal-page p, [dir="rtl"] dialog p { line-height: 1.9; }
[dir="rtl"] .capabilities h2 { font-size: 16px; line-height: 1.6; }
[dir="rtl"] footer small { line-height: 1.8; }
[dir="rtl"] .dialogue svg { transform: scaleX(-1); }
[dir="rtl"] .dialogue:hover svg { transform: translateX(-6px) scaleX(-1); }
[dir="rtl"] .footer-inner { flex-wrap: wrap; }
@media (min-width: 768px) and (max-width: 1100px) {
  .navigation { gap: 24px; }
  .desktop-links { gap: 20px; }
  .header-actions { gap: 20px; }
}
@media (max-width: 767px) {
  .header-actions { gap: 16px; }
  .language-switch { gap: 6px; font-size: 13px; }
  .navigation { gap: 12px; }
  .legal-page { padding-top: 112px; }
  .legal-page h1 { overflow-wrap: break-word; }
  .site-header .navigation > a:not(.wordmark) { font-size: 13px; }
  [dir="rtl"] .statement p { font-size: 30px; }
  [dir="rtl"] .statement .company-intro { font-size: 18px; }
  [dir="rtl"] .menu-toggle { font-size: 13px; }
}
@media (max-width: 374px) {
  .navigation { padding-inline: 16px; }
  .header-actions { gap: 10px; }
  .wordmark { font-size: 22px; }
  .menu-toggle { gap: 4px; }
}

.form-status[data-auto-dismiss="true"] {
  position: fixed;
  z-index: 30;
  inset-block-start: 96px;
  inset-inline: 24px;
  width: fit-content;
  max-width: calc(100% - 48px);
  margin-inline: auto;
  padding: 16px 24px;
  background: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--hairline);
  box-shadow: 0 4px 16px rgb(0 0 0 / 8%);
}
.form-status[hidden] { display: none; }
