:root {
  --ink: #29204c;
  --ink-soft: #514864;
  --green: #437a4e;
  --green-hover: #315e3a;
  --paper: #f8f7f3;
  --white: #fffefa;
  --mint: #e7efe5;
  --line: #dedbdc;
  --amber: #e8bd63;
  --font: 'IBM Plex Sans Arabic', Tahoma, sans-serif;
  --gutter: clamp(20px, 4.5vw, 72px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
::selection { color: var(--ink); background: #cfe3cb; }
h1,h2,h3,p,figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button,input,textarea,select { font: inherit; }
button,a,input,textarea,select { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
button { cursor: pointer; }
[hidden] { display: none !important; }
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
.container { width: min(1280px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip-link { position: fixed; inset-inline-start: 20px; top: 8px; z-index: 50; padding: 12px 20px; background: var(--ink); color: white; border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Shared navigation. */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-row { min-height: 94px; display: flex; align-items: center; gap: 40px; position: relative; }
.brand { display: block; flex-shrink: 0; }
.brand-crop { display: block; position: relative; width: 108px; height: 62px; overflow: hidden; direction: ltr; }
.brand-crop img { position: absolute; width: 133.55%; height: 164.28%; max-width: none; top: -32.43%; left: -17.94%; }
.desktop-nav { display: flex; align-items: center; gap: 32px; }
.nav-link { position: relative; display: grid; align-items: center; min-height: 48px; white-space: nowrap; color: var(--ink-soft); font-size: 1rem; }
.nav-link:hover,.nav-link.is-active { color: var(--green); }
.nav-link.is-active::after { content: ''; position: absolute; bottom: 4px; inset-inline: 0; height: 2px; background: var(--green); }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 24px; }
.language-link { display: grid; align-items: center; min-height: 44px; font-size: .9375rem; font-weight: 500; }
.language-link:hover { color: var(--green); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; padding: 12px 24px; background: var(--green); color: white; border: 1px solid transparent; border-radius: 50px; font-size: 1rem; font-weight: 500; line-height: 1.5; transition: background .2s, transform .2s; text-align: center; }
.button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.button:hover:not(:disabled) { background: var(--green-hover); transform: translateY(-2px); }
.button-secondary { color: var(--ink); background: transparent; border-color: #b6b1bf; }
.button-secondary:hover:not(:disabled) { background: #eceae4; }
.action-arrow { width: 20px; height: 20px; display: grid; place-items: center; flex-shrink: 0; }
.action-arrow img { width: 14px; height: 12px; }
html[dir=ltr] .action-arrow img { transform: scaleX(-1); }
.button-secondary .action-arrow img,.text-link .action-arrow img,.service-preview .action-arrow img { filter: brightness(0); }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; border-bottom: 1px solid var(--ink); margin-top: 28px; }
.text-link:hover { color: var(--green); border-color: var(--green); }
.menu-toggle,.mobile-nav { display: none; }

/* First viewport: a real photo and original brand assets. */
.hero { padding-top: 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); align-items: center; gap: 70px; }
.hero-copy h1 { font-size: clamp(3rem, 5.5vw, 5.15rem); font-weight: 600; line-height: 1.38; }
.hero-copy h1 > span { display: block; }
.hero-copy em { display: inline-block; position: relative; font-style: normal; color: var(--green); }
.ink-line { width: 98px; height: 14px; max-width: none; }
.hero-copy em .ink-line { position: absolute; bottom: -8px; left: 40%; }
.hero-copy > p { max-width: 57ch; margin-top: 32px; font-size: 1.125rem; line-height: 1.95; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hero-visual { position: relative; min-width: 0; }
.workspace-photo { height: 560px; position: relative; overflow: hidden; border-radius: 160px 16px 16px 16px; }
html[dir=ltr] .workspace-photo { border-radius: 16px 160px 16px 16px; }
.workspace-photo > img { width: 100%; height: 100%; object-fit: cover; }
.photo-brand { position: absolute; top: 38%; left: 50%; transform: translateX(-50%); width: 155px; height: 65px; overflow: hidden; }
.photo-brand img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual figcaption { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .875rem; line-height: 1.7; color: var(--ink-soft); }
.visual-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.visual-scribble { position: absolute; top: -28px; inset-inline-end: -24px; width: 80px; height: 73px; transform: rotate(-12deg); }
.specialty-strip { margin-top: 66px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; padding-block: 26px; border-block: 1px solid var(--line); }
.specialty-strip span { font-size: 1rem; font-weight: 500; }

/* Different densities across the editorial sections. */
.section { padding-block: 104px; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 600; line-height: 1.5; }
h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.6; }
p { font-size: 1.0625rem; line-height: 1.95; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: end; margin-bottom: 54px; }
.section-heading > p { max-width: 60ch; color: var(--ink-soft); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 72px; }
.service-preview { padding-block: 30px; border-top: 1px solid var(--line); }
.service-code { display: inline-block; color: var(--green); font-size: .875rem; font-weight: 600; line-height: 1.6; margin-bottom: 14px; }
.service-preview h3 a { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.service-preview h3 a:hover { color: var(--green); }
.service-preview p { margin-top: 14px; max-width: 55ch; color: var(--ink-soft); }
.usecases { background: var(--ink); color: white; padding-block: 94px 104px; }
.usecases .section-heading p { color: #d5cedd; }
.usecase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 72px; }
.usecase-grid article { border-top: 1px solid #665b7c; padding-top: 24px; }
.usecase-grid h3 { color: #d9e9d4; }
.usecase-grid p { color: #eee9f2; margin-top: 12px; max-width: 52ch; }
.process-list { counter-reset: steps; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.process-list li { counter-increment: steps; padding-top: 24px; border-top: 1px solid #c9c4cc; }
.process-list li::before { content: '0' counter(steps); display: block; color: var(--green); font-size: 1.25rem; font-weight: 600; margin-bottom: 20px; }
.process-list p { margin-top: 12px; color: var(--ink-soft); font-size: 1rem; }
.about-preview { background: #eeede6; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 80px; }
.about-grid h2 .ink-line { margin-top: 20px; }
.lead { font-size: 1.25rem; line-height: 1.9; }
.about-grid p + p { margin-top: 22px; color: var(--ink-soft); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr); gap: 80px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; min-height: 64px; font-size: 1.125rem; font-weight: 500; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq-symbol { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-symbol::before,.faq-symbol::after { content: ''; position: absolute; background: var(--ink); top: 8px; width: 18px; height: 2px; }
.faq-symbol::after { transform: rotate(90deg); }
.faq details[open] .faq-symbol::after { transform: rotate(0); }
.faq details > p { padding-bottom: 26px; color: var(--ink-soft); max-width: 65ch; }
.closing { background: var(--mint); padding-block: 72px; }
.closing-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 70px; align-items: center; }
.closing-grid p { max-width: 65ch; margin-top: 18px; color: var(--ink-soft); }

/* Interior pages. */
.page-intro { padding-block: 92px 60px; border-bottom: 1px solid var(--line); }
.page-intro h1,.contact-copy h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 600; line-height: 1.45; }
.page-intro p { max-width: 70ch; margin-top: 28px; color: var(--ink-soft); font-size: 1.25rem; line-height: 1.9; }
.service-detail { scroll-margin-top: 120px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.3fr); gap: 100px; padding-block: 80px; border-bottom: 1px solid var(--line); }
.service-description h3 { font-size: 1.125rem; margin-top: 32px; }
.service-description > p:not(.lead) { margin-top: 12px; color: var(--ink-soft); }
.service-description > .button { margin-top: 30px; }
.feature-list { margin: 14px 0 0; padding-inline-start: 22px; color: var(--ink-soft); font-size: 1.0625rem; line-height: 2; }
.feature-list li { padding-inline-start: 8px; }
.feature-list li::marker { color: var(--green); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 80px; }
.story-grid figure { overflow: hidden; border-radius: 16px; }
.story-grid img { width: 100%; height: auto; }
.story-grid p + p { margin-top: 24px; color: var(--ink-soft); }
.principles { padding-top: 0; }
.principle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
.principle-grid article { padding-top: 24px; border-top: 1px solid var(--line); }
.principle-grid h2 { font-size: 1.5rem; }
.principle-grid p { margin-top: 12px; color: var(--ink-soft); }
.careers { background: #eeede6; }

/* Project inquiry: explicit, local message preparation. */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 90px; align-items: start; }
.contact-copy .lead { margin-top: 30px; color: var(--ink-soft); }
.contact-direct { display: inline-block; font-size: 1.5rem; font-weight: 500; margin-top: 30px; border-bottom: 1px solid var(--green); }
.form-note { margin-top: 26px; max-width: 45ch; font-size: .9375rem; color: var(--ink-soft); }
.contact-copy .ink-line { margin-top: 24px; }
.form-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.field { margin-bottom: 24px; }
.field label { display: block; font-size: 1rem; font-weight: 500; margin-bottom: 10px; }
.field label > span { color: var(--green); }
input,select,textarea { width: 100%; border: 1px solid #aca6b5; border-radius: 8px; background: var(--white); color: var(--ink); padding: 12px 14px; min-height: 50px; font-size: 1rem; line-height: 1.7; }
textarea { resize: vertical; }
.field-hint { color: var(--ink-soft); font-size: .875rem; line-height: 1.8; margin-top: 10px; }
.consent { display: flex; align-items: flex-start; gap: 12px; margin-block: 4px 28px; cursor: pointer; min-height: 44px; }
.consent input { width: 20px; min-height: 20px; height: 20px; flex-shrink: 0; padding: 0; margin-top: 5px; accent-color: var(--green); }
.consent span { font-size: .9375rem; line-height: 1.9; }
.consent a { text-decoration: underline; text-underline-offset: 4px; }
.message-result { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 28px; }
.message-result h2 { font-size: 1.5rem; }
.message-result > p { margin-top: 12px; color: var(--ink-soft); font-size: 1rem; }
.message-result textarea { margin-top: 20px; white-space: pre-wrap; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
#copy-status { min-height: 30px; color: var(--green); }

/* Legal content stays readable, with an actual table of contents. */
.legal-intro { padding-bottom: 56px; }
.legal-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 80px; padding-block: 72px 96px; align-items: start; }
.legal-toc { display: grid; align-content: start; position: sticky; top: 130px; gap: 8px; }
.legal-toc a { padding: 10px 0; min-height: 44px; color: var(--ink-soft); font-size: 1rem; line-height: 1.7; }
.legal-toc a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 5px; }
.legal-content { max-width: 75ch; }
.legal-content section { scroll-margin-top: 128px; margin-bottom: 40px; }
.legal-content h2 { font-size: 1.625rem; }
.legal-content p { margin-top: 14px; font-size: 1.0625rem; line-height: 2; color: var(--ink-soft); }
.not-found { padding-block: 40px 100px; }

/* Centered email retained from the owner's feedback. */
.footer { background: var(--ink); color: white; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 44px; padding-block: 48px; align-items: start; }
.footer-brand { justify-self: start; }
.footer-brand img { width: 200px; height: 81px; object-fit: cover; }
.footer-connect { text-align: center; }
.footer-email { display: grid; place-items: center; min-height: 50px; width: 170px; margin-inline: auto; background: var(--white); color: var(--ink); border-radius: 50px; font-size: 1.125rem; font-weight: 500; }
.footer-email:hover { background: var(--mint); }
.footer-connect p { color: #eee9f2; font-size: .875rem; margin-top: 18px; line-height: 1.8; }
.footer-nav { justify-self: end; display: grid; gap: 4px; }
.footer-nav a { display: block; min-height: 44px; line-height: 1.5; font-size: 1rem; padding-block: 8px; }
.footer-nav a:hover { color: #d4e4cc; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; border-top: 1px solid #665b7c; padding-block: 24px max(28px, env(safe-area-inset-bottom)); }
.footer-bottom p { font-size: .875rem; line-height: 1.8; color: #e4dfe9; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-bottom nav a { display: grid; align-items: center; min-height: 44px; font-size: .875rem; }
.footer-bottom nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

@media (max-width: 1100px) {
  .header-row { gap: 28px; }.desktop-nav { gap: 24px; }.header-actions { gap: 18px; }
  .hero-grid { gap: 42px; }.hero-copy h1 { font-size: 4rem; }.workspace-photo { height: 520px; }
  .section-heading,.about-grid,.story-grid,.contact-grid,.faq-grid { gap: 48px; }
  .service-detail { gap: 64px; }.service-grid,.usecase-grid { column-gap: 44px; }
  .process-list { gap: 24px; }.process-list h3 { font-size: 1.25rem; }
  .footer-main { gap: 28px; }.footer-brand img { width: 170px; height: 69px; }
}
@media (max-width: 900px) {
  :root { --gutter: 32px; }
  .desktop-nav { display: none; }
  .header-row { min-height: 84px; }
  .menu-toggle { display: grid; align-content: center; gap: 7px; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
  .menu-toggle span { width: 24px; height: 2px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .mobile-nav:not([hidden]) { display: grid; position: absolute; top: calc(100% - 1px); inset-inline: 0; background: var(--paper); border: 1px solid var(--line); padding: 12px; border-radius: 0 0 12px 12px; }
  .mobile-nav a { padding: 12px 16px; min-height: 48px; line-height: 1.5; }.mobile-nav a:hover { background: var(--mint); border-radius: 8px; }
  .mobile-nav .nav-link.is-active::after { display: none; }
  .hero { padding-top: 48px; }.hero-grid { gap: 32px; }.hero-copy h1 { font-size: 3.2rem; }.workspace-photo { height: 450px; border-top-left-radius: 120px; }
  .hero-copy > p { font-size: 1rem; }.hero-actions { gap: 12px; }.hero-actions .button { font-size: .9375rem; padding-inline: 18px; }
  .specialty-strip { justify-content: start; column-gap: 32px; margin-top: 48px; }
  .section { padding-block: 80px; }.section-heading { gap: 40px; margin-bottom: 40px; }
  .usecases { padding-block: 78px; }.process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .principle-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }.contact-copy { max-width: 65ch; }
  .service-detail { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 56px; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }.legal-toc { position: static; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }.footer-connect { grid-row: 2; grid-column: 1 / -1; justify-self: center; }.footer-nav { grid-row: 1; grid-column: 2; }
  .footer-bottom { justify-content: center; text-align: center; }
}
@media (max-width: 650px) {
  :root { --gutter: 24px; }
  html { scroll-padding-top: 100px; }
  .header-row { gap: 12px; min-height: 78px; }.brand-crop { width: 84px; height: 48px; }.header-actions { gap: 12px; }
  .header-actions > .button { display: none; }.language-link { font-size: .9375rem; }
  .hero { padding-top: 34px; }.hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }.hero-copy h1 { font-size: clamp(2.8rem, 12vw, 4rem); line-height: 1.38; }
  .hero-copy > p { margin-top: 28px; font-size: 1.0625rem; line-height: 1.95; }.hero-actions { gap: 12px; margin-top: 26px; }.hero-actions .button { min-height: 50px; }
  .workspace-photo { height: auto; aspect-ratio: 1.05; border-radius: 100px 12px 12px 12px; }.workspace-photo > img { position: absolute; inset: 0; }
  .photo-brand { top: 34%; width: 120px; height: 50px; }.hero-visual figcaption { font-size: .875rem; }.visual-scribble { inset-inline-end: -4px; top: -24px; width: 64px; height: 58px; }
  .specialty-strip { margin-top: 36px; gap: 14px 24px; padding-block: 24px; }.specialty-strip span { font-size: .9375rem; }
  .section { padding-block: 64px; }h2 { font-size: 2rem; }h3 { font-size: 1.375rem; }
  .section-heading,.about-grid,.story-grid,.closing-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }.section-heading { margin-bottom: 32px; }
  .section-heading > p { font-size: 1rem; }.service-grid,.usecase-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .service-preview { padding-block: 26px; }.service-preview p { font-size: 1rem; }
  .usecases { padding-block: 64px; }.usecase-grid article { padding-block: 24px; }.usecase-grid p { font-size: 1rem; }
  .process-list { grid-template-columns: minmax(0, 1fr); gap: 28px; }.process-list li::before { margin-bottom: 14px; }.process-list h3 { font-size: 1.375rem; }
  .lead { font-size: 1.125rem; }.about-grid p + p { margin-top: 18px; }
  .faq summary { padding-block: 22px; font-size: 1.0625rem; }.faq details > p { font-size: 1rem; }
  .closing { padding-block: 56px; }.closing-grid { gap: 30px; }.closing-grid p { font-size: 1rem; }
  .page-intro { padding-block: 54px 42px; }.page-intro h1,.contact-copy h1 { font-size: 2.625rem; }.page-intro p { margin-top: 24px; font-size: 1.125rem; }
  .service-detail { padding-block: 48px; }.service-detail h2 { font-size: 1.875rem; }.service-description .lead { font-size: 1.125rem; }.feature-list { font-size: 1rem; }
  .form-pair { grid-template-columns: minmax(0, 1fr); gap: 0; }.contact-grid { gap: 40px; }.contact-direct { font-size: 1.375rem; }
  .result-actions { flex-direction: column; align-items: stretch; }.message-result textarea { font-size: .9375rem; }
  .legal-layout { padding-block: 42px 64px; }.legal-content h2 { font-size: 1.5rem; }.legal-content p { font-size: 1rem; line-height: 2; }
  .footer-main { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 28px; padding-block: 36px; }.footer-brand { justify-self: center; }.footer-brand img { width: 200px; height: 81px; }
  .footer-connect { grid-column: 1; grid-row: 2; }.footer-nav { grid-column: 1; grid-row: 3; justify-self: center; display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
  .footer-bottom { gap: 14px; padding-block: 22px; }.footer-bottom nav { justify-content: center; gap: 10px 20px; }.footer-bottom p,.footer-bottom nav a { font-size: .8125rem; }
}
@media (max-width: 360px) {
  :root { --gutter: 20px; }.hero-copy h1 { font-size: 2.65rem; }.hero-actions .button { width: 100%; }.hero-copy > p { font-size: 1rem; }
  .page-intro h1,.contact-copy h1 { font-size: 2.375rem; }.footer-nav { column-gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }*,*::before,*::after { transition: none !important; } }
@media print { .site-header,.footer,.hero-actions,.closing,.legal-toc,.menu-toggle { display: none; } body { background: white; color: black; }.container { width: 100%; }.legal-layout { display: block; }.section,.page-intro { padding-block: 24px; } }
