@font-face {
  font-family: "Alexandria";
  src: url("../fonts/Alexandria-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Alexandria";
  src: url("../fonts/Alexandria-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Alexandria";
  src: url("../fonts/Alexandria-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Alexandria";
  src: url("../fonts/Alexandria-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "DG Trika";
  src: url("../fonts/DGTrika-Bold.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  /* Neutrals — tints of Ink #0B1F2A (names kept from Ahmed's Figma file) */
  --navy-100: #E7E9EA;
  --navy-200: #CED2D4;
  --navy-300: #9DA5AA;
  --navy-400: #6D797F;
  --navy-500: #3C4C55;
  --navy-600: #0B1F2A;

  /* Brand — tints of Petrol #0B6E7F (names kept from Ahmed's Figma file) */
  --purple-100: #E9F2F3;
  --purple-200: #CEE2E5;
  --purple-300: #9DC5CC;
  --purple-400: #68A5B0;
  --purple-500: #378896;
  --purple-600: #0B6E7F;
  --brand-300: #9DC5CC;

  /* Family colours */
  --paper: #F4F6F5;
  --biqalam: #F28C28;

  /* Solid */
  --white: #FFFFFF;
  --black: #000000;
  --white-15: rgba(255, 255, 255, 0.15);

  /* Text */
  --text-primary: #0B1F2A;
  --text-secondary: #4B4B4B;
  --text-tertiary: #595959;
  --text-brand: #0B6E7F;

  /* State */
  --error-400: #F6695E;
  --error-500: #F44336;
  --success-50: #EDF7EE;
  --success-500: #4CAF50;
  --warning-50: #FFF9E6;
  --warning-500: #FFC107;

  /* Service accents ("accent/cloud", "Cloud BG 15%") */
  --accent-cloud: #2496E8;
  --accent-software: #00A6A6;
  --accent-ai: #7C3AED;
  --tint-cloud: rgba(36, 150, 232, 0.15);
  --tint-software: rgba(0, 166, 166, 0.15);
  --tint-ai: rgba(124, 58, 237, 0.15);

  /* Type families. Brand faces first; Outfit covers Latin and Tajawal covers Arabic until the
     brand files land (chosen by rendering both against the Figma text renders). */
  --font-ar: "Alexandria", system-ui, sans-serif;
  --font-en: "Alexandria", system-ui, sans-serif;
  --font-display: "DG Trika", "Alexandria", system-ui, sans-serif;

  /* Type scale (size / line-height = 1.4 throughout the file) */
  --fs-display-250: 250px;
  --fs-h1: 49px;   --lh-h1: 68.6px;
  --fs-h2: 39px;   --lh-h2: 54.6px;
  --fs-h3: 31px;   --lh-h3: 43.4px;
  --fs-h4: 25px;   --lh-h4: 35px;
  --fs-h5: 20px;   --lh-h5: 28px;
  --fs-h6: 18px;   --lh-h6: 25.2px;
  --fs-body1: 16px; --lh-body1: 22.4px;
  --fs-body2: 13px; --lh-body2: 18.2px;

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows ("Shadow/*", "shadow/*", "Focus ring/4px primary-100") */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 2px 4px -2px rgba(0, 0, 0, 0.06), 0 4px 8px -2px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 4px 6px -2px rgba(0, 0, 0, 0.03), 0 12px 16px -4px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 8px 8px -4px rgba(0, 0, 0, 0.03), 0 20px 24px -4px rgba(0, 0, 0, 0.08);
  --shadow-2xl: 0 24px 48px -12px rgba(0, 0, 0, 0.18);
  --shadow-card: 0 2px 1.5px 0.5px rgba(149, 160, 178, 0.16);
  --shadow-brand-md: 0 2px 10px 1px rgba(11, 110, 127, 0.25);
  --shadow-brand-lg: 0 4px 20px 0 rgba(11, 110, 127, 0.25);
  --ring: 0 0 0 4px #E9F2F3;
  --ring-neutral: 0 0 0 4px #F5F5F5;

  /* Layout */
  --container: 1200px;
  --gutter: 40px;
  --section-gap: 120px;
  --header-top: 40px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

@media (max-width: 1023.98px) {
  :root { --gutter: 24px; --section-gap: 80px; --header-top: 16px; }
}
@media (max-width: 767.98px) {
  :root { --gutter: 16px; --section-gap: 56px; }
}

/* Base: reset, document typography, layout primitives. */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text-primary);
  font-family: var(--font-ar);
  font-size: var(--fs-body1);
  line-height: var(--lh-body1);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html[lang="en"] body { font-family: var(--font-en); }
/* Specimens of the other language inside a page switch face with their lang attribute. */
[lang="en"] { font-family: var(--font-en); }
[lang="ar"] { font-family: var(--font-ar); }
/* 2026 identity: DG Trika for the two largest heading levels only. */
h1, h2 { font-family: var(--font-display); font-weight: 400; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--purple-600); outline-offset: 2px; }

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -64px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--purple-600);
  color: var(--white);
  font-size: var(--fs-body2);
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

/* Two-tone headings: the Figma headings colour one span of the title differently. */
.accent { color: var(--purple-600); }
.on-dark .accent { color: var(--purple-600); }

/* Arrows are drawn pointing left (Arabic reading direction) and mirrored for LTR. */
[dir="ltr"] .icon-dir { transform: scaleX(-1); }

.icon { display: inline-block; flex: none; width: 20px; height: 20px; }
.icon--16 { width: 16px; height: 16px; }
.icon--24 { width: 24px; height: 24px; }
.icon--32 { width: 32px; height: 32px; }

/* Type levels (desktop values; components step them down at the tablet/mobile breakpoints) */
.t-h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: 700; }
.t-h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 700; }
.t-h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 700; }
.t-h4 { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 700; }
.t-h5 { font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 700; }
.t-h6 { font-size: var(--fs-h6); line-height: var(--lh-h6); font-weight: 700; }
.t-body1 { font-size: var(--fs-body1); line-height: var(--lh-body1); }
.t-body2 { font-size: var(--fs-body2); line-height: var(--lh-body2); }
.w-book { font-weight: 400; }
.w-medium { font-weight: 500; }
.w-semibold { font-weight: 600; }
.w-bold { font-weight: 700; }

.section { padding-block: var(--section-gap) 0; }
.section:last-child { padding-block-end: var(--section-gap); }
.section--flush { padding-block: 0; }

.stack > * + * { margin-block-start: var(--stack, 16px); }

/* Components. One block per Figma component set; the Figma set name is in each heading.
   Breakpoints: desktop >= 1024, tablet 768–1023, mobile < 768 (the file draws 1280 / 768 / 360).
   Every horizontal value is a logical property, so one rule serves RTL and LTR. */

/* ───────────────────────── Buttons/Button/AR · _Button base ───────────────────────── */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text-primary);
  --btn-border: transparent;
  --btn-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: var(--btn-shadow);
  font-size: var(--fs-body2);
  line-height: var(--lh-body2);
  font-weight: 500;
  white-space: nowrap;
  text-align: center;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
html[lang="en"] .btn { font-weight: 600; }
.btn .icon { width: 20px; height: 20px; }
.btn--sm { min-height: 36px; padding: 7px 13px; }
.btn--md { min-height: 40px; padding: 9px 15px; }
.btn--lg { min-height: 42px; padding: 9px 17px; font-size: var(--fs-body1); line-height: var(--lh-body1); font-weight: 700; }
.btn--xl { min-height: 46px; padding: 11px 19px; font-size: var(--fs-body1); line-height: var(--lh-body1); }
html[lang="en"] .btn--lg { font-weight: 600; }
.btn--block { display: flex; width: 100%; }
.btn--pill { border-radius: 100px; }

.btn--primary { --btn-bg: var(--purple-600); --btn-border: var(--purple-600); --btn-fg: var(--white); --btn-shadow: var(--shadow-xs); }
.btn--primary:hover, .btn--primary.is-hover { --btn-bg: var(--purple-500); --btn-border: var(--purple-500); }
.btn--secondary { --btn-bg: var(--white); --btn-border: var(--white); --btn-fg: var(--purple-600); --btn-shadow: var(--shadow-xs); }
.btn--secondary:hover, .btn--secondary.is-hover { --btn-bg: var(--purple-100); --btn-border: var(--purple-100); }
.btn--secondary-gray { --btn-bg: var(--white); --btn-border: var(--navy-300); --btn-fg: var(--navy-500); --btn-shadow: var(--shadow-xs); }
.btn--secondary-gray:hover, .btn--secondary-gray.is-hover { --btn-bg: var(--purple-100); --btn-fg: var(--navy-600); }
.btn--outline { --btn-border: var(--purple-600); --btn-fg: var(--white); }
.btn--outline:hover, .btn--outline.is-hover { --btn-bg: rgba(255, 255, 255, 0.08); --btn-border: var(--purple-500); }
.btn--tertiary { --btn-fg: var(--purple-600); }
.btn--tertiary:hover, .btn--tertiary.is-hover { --btn-bg: var(--purple-100); }
.btn--tertiary-gray { --btn-fg: var(--navy-500); }
.btn--tertiary-gray:hover, .btn--tertiary-gray.is-hover { --btn-bg: var(--purple-100); }
.btn--link, .btn--link-gray { min-height: 0; padding: 0; border: 0; border-radius: 0; }
.btn--link { --btn-fg: var(--purple-600); }
.btn--link-gray { --btn-fg: var(--navy-500); }
.btn--link:hover, .btn--link.is-hover { --btn-fg: var(--purple-500); }
.btn--link-gray:hover, .btn--link-gray.is-hover { --btn-fg: var(--navy-600); }

.btn:focus-visible, .btn.is-focus { outline: none; box-shadow: var(--ring), var(--btn-shadow, 0 0 #0000); }
.btn--secondary-gray:focus-visible, .btn--secondary-gray.is-focus { box-shadow: var(--ring-neutral), var(--shadow-xs); }
.btn--link:focus-visible, .btn--link-gray:focus-visible { box-shadow: none; outline: 2px solid var(--purple-300); outline-offset: 4px; border-radius: 2px; }

.btn:disabled, .btn.is-disabled, .btn[aria-disabled="true"] { cursor: not-allowed; pointer-events: none; }
.btn--primary:disabled, .btn--primary.is-disabled { --btn-bg: var(--purple-200); --btn-border: var(--purple-200); }
.btn--secondary:disabled, .btn--secondary.is-disabled { --btn-bg: var(--purple-100); --btn-border: var(--purple-100); --btn-fg: var(--brand-300); }
.btn--secondary-gray:disabled, .btn--secondary-gray.is-disabled { --btn-border: var(--navy-100); --btn-fg: var(--navy-300); }
.btn--tertiary:disabled, .btn--tertiary.is-disabled,
.btn--tertiary-gray:disabled, .btn--tertiary-gray.is-disabled,
.btn--link.is-disabled, .btn--link-gray.is-disabled { --btn-fg: var(--navy-300); }

/* Filter chips on the case-studies page (xl pill buttons in the file) */
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 46px;
  padding: 11px 19px;
  border: 1px solid var(--navy-100);
  border-radius: 100px;
  background: var(--navy-100);
  color: var(--text-primary);
  font-size: var(--fs-body1);
  line-height: var(--lh-body1);
  font-weight: 500;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.chip:hover { border-color: var(--navy-300); }
.chip[aria-pressed="true"] { background: var(--purple-600); border-color: var(--purple-600); color: var(--white); box-shadow: var(--shadow-xs); }
.chip:focus-visible { outline: none; box-shadow: var(--ring); }

/* ───────────────────────── Badge ───────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  background: var(--purple-100);
  color: var(--purple-500);
  font-size: var(--fs-body1);
  line-height: var(--lh-body1);
  font-weight: 500;
}
.badge--neutral { background: var(--navy-100); color: var(--text-primary); }
.badge--success { background: var(--success-50); color: var(--success-500); }
.badge--warning { background: var(--warning-50); color: var(--warning-500); }

/* ───────────────────────── SectionHeader (overline + title + lead) ───────────────────────── */
.overline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple-600);
  font-size: var(--fs-body1);
  line-height: var(--lh-body1);
  font-weight: 500;
}
.overline::before { content: ""; order: -1; width: 88px; height: 1px; background: var(--navy-600); }
.on-dark .overline { color: var(--purple-500); }
.on-dark .overline::before { background: var(--white); }

.section-head { display: flex; flex-direction: column; align-items: center; gap: 24px; margin-block-end: 48px; text-align: center; }
.section-head__text { display: flex; flex-direction: column; gap: 16px; }
.section-head__title { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 700; color: var(--text-primary); }
.section-head__title--h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
.section-head__lead { max-width: 920px; margin-inline: auto; color: var(--text-secondary); font-size: var(--fs-h5); line-height: var(--lh-h5); }
.section-head--start { align-items: flex-start; text-align: start; }
.section-head--start .section-head__lead { margin-inline: 0; }
.on-dark .section-head__title, .on-dark .section-head__lead { color: var(--white); }

@media (max-width: 1023.98px) {
  .section-head { gap: 16px; margin-block-end: 24px; }
  .section-head__text { gap: 12px; }
  .section-head__title, .section-head__title--h2 { font-size: var(--fs-h5); line-height: var(--lh-h5); }
  .section-head__lead { font-size: var(--fs-body1); line-height: var(--lh-body1); }
}

/* ───────────────────────── Navbar (Header) ───────────────────────── */
.site-header { position: absolute; inset-inline: 0; top: var(--header-top); z-index: 50; }
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px 40px;
  border-radius: var(--radius-sm);
  background: var(--white);
}
.site-header__start { display: flex; align-items: center; gap: 41px; min-width: 0; }
.site-header__logo { display: block; flex: none; }
.site-header__logo img { width: 125px; height: 48px; }
.site-header__logo .logo-white { display: none; }
.site-nav__list { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: var(--fs-body2);
  line-height: var(--lh-body2);
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
html[lang="en"] .site-nav__link { font-weight: 600; }
.site-nav__link:hover { background: var(--purple-100); }
.site-nav__link[aria-current="page"] { background: var(--purple-600); color: var(--white); box-shadow: var(--shadow-xs); }
.site-nav__link:focus-visible { outline: none; box-shadow: var(--ring); }
.site-header__actions { display: flex; align-items: center; gap: 16px; }
.site-header__menu {
  display: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--white);
}
.site-header__menu img { width: 32px; height: 32px; }

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--purple-600);
}
.icon-button:hover { background: var(--purple-100); }
.icon-button:focus-visible { outline: none; box-shadow: var(--ring); }

/* Choose Language / Choose Service share one dropdown panel */
.menu { position: relative; }
.menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 138px;
  margin: 0;
  padding: 16px;
  list-style: none;
  border: 1px solid var(--navy-100);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-md);
  color: var(--text-primary);
}
.menu-panel__item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--text-primary);
  font-size: var(--fs-body2);
  line-height: var(--lh-body2);
  font-weight: 500;
  text-align: start;
  cursor: pointer;
}
.menu-panel__item:hover, .menu-panel__item.is-active, .menu-panel__item[aria-selected="true"], .menu-panel__item[aria-checked="true"] { background: var(--purple-100); }
.menu-panel__item:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--purple-300); }
.menu-panel__item[aria-disabled="true"] { color: var(--navy-300); cursor: not-allowed; background: none; }
.menu-panel__item small { margin-inline-start: auto; color: var(--navy-300); font-size: 11px; }
.menu-panel--up { top: auto; bottom: calc(100% + 8px); }

@media (max-width: 1119.98px) {
  .site-header__bar { min-height: 32px; padding: 0; border-radius: 0; background: transparent; }
  .site-nav, .site-header__actions { display: none; }
  .site-header__menu { display: inline-grid; place-items: center; }
  .site-header__logo .logo-color { display: none; }
  .site-header__logo .logo-white { display: block; width: auto; height: 32px; }
}

/* ───────────────────────── Drawer ───────────────────────── */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(11, 31, 42, 0.6); opacity: 0; transition: opacity 0.25s var(--ease); }
.drawer__panel {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: min(480px, 75vw);
  padding: 16px 16px 32px;
  overflow-y: auto;
  background: var(--navy-600);
  color: var(--white);
  transform: translateX(-100%);
  transition: transform 0.3s var(--ease);
}
[dir="ltr"] .drawer__panel { transform: translateX(100%); }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; }
.drawer__top img.logo-white { width: auto; height: 32px; }
.drawer__close { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: none; }
.drawer__close img { width: 32px; height: 32px; }
.drawer__nav { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.drawer__link {
  display: flex;
  align-items: center;
  min-height: 40px;
  color: var(--white);
  font-size: var(--fs-body1);
  line-height: var(--lh-body1);
}
.drawer__link[aria-current="page"] {
  border-block-end: 1px solid var(--purple-100);
  color: var(--purple-500);
  font-size: var(--fs-h6);
  line-height: var(--lh-h6);
  font-weight: 700;
}
.drawer__footer { display: flex; flex-direction: column; gap: 40px; margin-block-start: auto; }
[dir="ltr"] .drawer__footer .btn { width: auto; align-self: flex-start; }
.drawer__lang { position: relative; }
.drawer__lang-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--white);
  font-size: var(--fs-body2);
  line-height: var(--lh-body2);
}
.drawer__lang-trigger img { width: 16px; height: 16px; }
.drawer__lang .menu-panel { inset-inline-end: auto; inset-inline-start: 0; }
body.is-locked { overflow: hidden; }

/* ───────────────────────── Hero (home) ───────────────────────── */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-600); color: var(--white); }
.hero__glow {
  position: absolute;
  z-index: -1;
  top: 672px;
  left: 50%;
  width: 2067px;
  height: 925px;
  border-radius: 50%;
  background: var(--purple-500);
  opacity: 0.15;
  filter: blur(131px);
  transform: translateX(-50%);
  pointer-events: none;
}
.hero__sparkle { position: absolute; z-index: -1; pointer-events: none; }
.hero__sparkle--lg { top: 215px; inset-inline-end: calc(50% - 71px); width: 45px; height: 44px; }
.hero__sparkle--md { top: 168px; inset-inline-end: calc(50% - 277px); width: 30px; height: 29px; }
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 584fr) minmax(0, 616fr);
  align-items: end;
  min-height: 871px;
}
.hero__content { align-self: start; padding-block: 320px 64px; }
.hero__title { max-width: 540px; font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 700; }
.hero__emoji { display: inline-block; width: 40px; height: 40px; margin-inline-start: 12px; vertical-align: -6px; }
.hero__lead { margin-block-start: 32px; font-size: var(--fs-h4); line-height: var(--lh-h4); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-block-start: 32px; }
.hero__media { position: relative; justify-self: end; width: min(657px, 100%); margin-inline-end: -16px; }
.hero__media img { position: relative; width: 100%; height: auto; }
.hero__media-glow {
  position: absolute;
  inset: 22% -2% -18% 2%;
  border-radius: 50%;
  background: var(--purple-500);
  opacity: 0.15;
  filter: blur(131px);
}

@media (max-width: 1023.98px) {
  .hero__glow { top: 380px; opacity: 0.3; }
  .hero__sparkle--lg { top: 87px; inset-inline-end: auto; inset-inline-start: calc(100% - 102px); }
  .hero__sparkle--md { display: none; }
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: center; min-height: 420px; padding-block: 84px 52px; }
  .hero__content { padding: 0; }
  .hero__title { font-size: var(--fs-h5); line-height: var(--lh-h5); }
  .hero__emoji { width: 24px; height: 24px; vertical-align: -4px; }
  .hero__lead { margin-block-start: 16px; font-size: var(--fs-body1); line-height: var(--lh-body1); }
  .hero__actions { flex-wrap: nowrap; margin-block-start: 40px; }
  .hero__actions .btn { min-height: 40px; padding: 9px 15px; font-size: var(--fs-body2); line-height: var(--lh-body2); }
  .hero__media { order: -1; width: min(300px, 100%); margin: 0; justify-self: center; }
}
@media (max-width: 767.98px) {
  .hero__sparkle--lg { display: none; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 72px 30px; text-align: center; }
  .hero__content { display: flex; flex-direction: column; align-items: center; }
  .hero__title { max-width: 270px; }
  .hero__lead { margin-block-start: 12px; }
  .hero__actions { flex-wrap: nowrap; gap: 15px; width: 100%; margin-block-start: 24px; }
  .hero__actions .btn { flex: 1 1 0; min-width: 0; min-height: 36px; padding: 7px 10px; font-size: var(--fs-body2); line-height: var(--lh-body2); }
  .hero__media { order: -1; width: 244px; }
  .hero__media img { width: 222px; margin-inline: auto; }
  .hero__media-glow { inset: 52px 17px 0 0; filter: none; opacity: 0.25; }
}

/* ───────────────────────── Hero (inner pages) ───────────────────────── */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--black); color: var(--white); text-align: center; }
.page-hero .hero__glow { top: 202px; opacity: 0.3; }
.page-hero__sparkle { position: absolute; z-index: -1; pointer-events: none; }
.page-hero__sparkle--lg { top: 131px; inset-inline-end: calc(50% - 544px); width: 45px; height: 44px; }
.page-hero__sparkle--sm { top: 232px; inset-inline-end: calc(50% - 347px); width: 23px; height: 22px; }
.page-hero__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; min-height: 400px; padding-block: 208px 60px; }
.page-hero__title { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 700; color: var(--white); }
.page-hero__lead { max-width: 760px; font-size: var(--fs-h5); line-height: var(--lh-h5); }
.page-hero__title .accent { color: var(--purple-600); }

@media (max-width: 1023.98px) {
  .page-hero { background: var(--navy-600); }
  .page-hero .hero__glow { top: 330px; }
  .page-hero__sparkle { display: none; }
  .page-hero__inner { gap: 12px; min-height: 0; padding-block: 88px 48px; }
  .page-hero__title { font-size: var(--fs-h5); line-height: var(--lh-h5); }
  .page-hero__lead { font-size: var(--fs-body1); line-height: var(--lh-body1); }
}

/* ───────────────────────── Ticker (value strip) ───────────────────────── */
.ticker { display: flex; align-items: center; height: 96px; overflow: hidden; background: var(--navy-600); color: var(--white); }
.ticker__track { display: flex; width: max-content; animation: ticker-rtl 48s linear infinite; }
[dir="ltr"] .ticker__track { animation-name: ticker-ltr; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; gap: 64px; padding-inline-end: 64px; }
.ticker__item { display: flex; align-items: center; gap: 8px; font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 700; white-space: nowrap; }
.ticker__item img { width: 28px; height: 28px; }
@keyframes ticker-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
@keyframes ticker-ltr { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }
@media (max-width: 1023.98px) {
  .ticker { height: 64px; }
  .ticker__item { font-size: var(--fs-body1); line-height: var(--lh-body1); }
}
@media (max-width: 767.98px) {
  .ticker { height: 56px; background: var(--black); }
}

/* ───────────────────────── StatCard ───────────────────────── */
.stats { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding-inline: 16px; text-align: center; }
.stat__value { color: var(--purple-600); font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: 700; direction: ltr; unicode-bidi: isolate; }
.stat__label { max-width: 200px; color: var(--navy-600); font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 500; }
.stats--divided .stat + .stat::before {
  content: "";
  position: absolute;
  inset-inline-start: -1px;
  top: 11px;
  bottom: 12px;
  width: 2px;
  background: var(--purple-400);
}
.stats--on-dark .stat__label { color: var(--white); }

@media (max-width: 1023.98px) {
  .stat { padding-inline: 8px; }
  .stat__value { font-size: var(--fs-h3); line-height: var(--lh-h3); }
  .stat__label { font-size: var(--fs-body1); line-height: var(--lh-body1); font-weight: 400; }
  .stats .stat + .stat::before {
    content: "";
    position: absolute;
    inset-inline-start: -1px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--purple-400);
  }
}
@media (max-width: 767.98px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; column-gap: 28px; }
  .stats .stat + .stat::before { content: none; }
  .stats::after { content: ""; position: absolute; left: 50%; top: 59px; height: 95px; width: 2px; margin-left: -1px; background: var(--purple-400); }
}

/* ───────────────────────── Card/Service (Service Card) ───────────────────────── */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 16px;
  border: 1px solid var(--navy-100);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--text-primary);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.service-card__icon { width: 48px; height: 48px; }
.service-card__body { display: flex; flex-direction: column; gap: 16px; }
.service-card__title { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 700; }
.service-card__desc { color: var(--text-secondary); font-size: var(--fs-body1); line-height: var(--lh-body1); }
/* Hover is not drawn in the file; decided from tokens: Purple 300 border + shadow/lg + 4px lift. */
.service-card:hover, .service-card.is-hover { border-color: var(--purple-300); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card:focus-visible { outline: none; border-color: var(--purple-300); box-shadow: var(--ring), var(--shadow-lg); }

@media (max-width: 1023.98px) {
  .service-grid { gap: 23px; }
  .service-card__body { gap: 4px; }
  .service-card__title { font-size: var(--fs-body1); line-height: var(--lh-body1); }
  .service-card__desc { font-size: var(--fs-body2); line-height: var(--lh-body2); }
}
@media (max-width: 767.98px) {
  .service-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* ───────────────────────── Card/CaseStudy (Case Study Card) ───────────────────────── */
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px 16px 24px;
  border: 1px solid var(--navy-100);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.case-card__media { position: relative; overflow: hidden; aspect-ratio: 546 / 385; border-radius: var(--radius-lg); background: var(--navy-100); }
.case-card__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s var(--ease); }
.case-card__pill {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px;
  border: 1px solid var(--navy-100);
  border-radius: 100px;
  background: var(--white);
  color: var(--text-primary);
  font-size: var(--fs-body2);
  line-height: var(--lh-body2);
  font-weight: 500;
}
.case-card__pill img { width: 20px; height: 20px; }
.case-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.case-card__text { display: flex; flex-direction: column; gap: 16px; }
.case-card__title { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 700; color: var(--text-primary); }
.case-card__summary { color: var(--text-secondary); font-size: var(--fs-h5); line-height: var(--lh-h5); }
.case-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple-600);
  font-size: var(--fs-h6);
  line-height: var(--lh-h6);
  font-weight: 700;
}
.case-card__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.case-card__link .icon { transition: transform 0.2s var(--ease); }
.case-card__link:focus-visible { outline: none; }
.case-card:focus-within { box-shadow: var(--ring); }
/* Hover is not drawn in the file; decided from tokens: Purple 300 border + shadow/lg,
   the photo eases in 4% and the arrow nudges toward the reading direction. */
.case-card:hover, .case-card.is-hover { border-color: var(--purple-300); box-shadow: var(--shadow-lg); }
.case-card:hover .case-card__media > img, .case-card.is-hover .case-card__media > img { transform: scale(1.04); }
.case-card:hover .case-card__link .icon-dir, .case-card.is-hover .case-card__link .icon-dir { transform: translateX(-4px); }
[dir="ltr"] .case-card:hover .case-card__link .icon-dir, [dir="ltr"] .case-card.is-hover .case-card__link .icon-dir { transform: scaleX(-1) translateX(-4px); }
.case-card.is-hidden { display: none; }

@media (max-width: 1023.98px) {
  .case-grid { gap: 24px; }
  .case-card__media { aspect-ratio: auto; height: 200px; }
  .case-card__title { font-size: var(--fs-h5); line-height: var(--lh-h5); }
  .case-card__summary { font-size: var(--fs-body1); line-height: var(--lh-body1); }
}
@media (max-width: 767.98px) {
  .case-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ───────────────────────── How we work (StepCard list) ───────────────────────── */
.how { position: relative; overflow: hidden; background: var(--navy-600); color: var(--white); }
.how__inner {
  display: grid;
  grid-template-columns: minmax(0, 615fr) minmax(0, 457fr);
  grid-template-areas: "head years" "art steps";
  column-gap: clamp(40px, 8vw, 106px);
  padding-block: 1px 80px;
  padding-inline-end: 71px;
}
.how__head { grid-area: head; align-self: center; padding-block-start: 98px; }
.how__years { grid-area: years; position: relative; height: 350px; }
.how__years-display { position: absolute; top: 0; display: flex; align-items: center; gap: 20px; direction: ltr; }
[dir="rtl"] .how__years-display { right: 0; }
[dir="ltr"] .how__years-display { left: 0; }
.how__years-display .how__num { width: 299px; height: 350px; }
.how__years-display .how__plus { width: 86px; height: 180px; }
.how__years-label { position: absolute; top: 263px; inset-inline-end: 0; width: 180px; font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 500; }
.how__art { grid-area: art; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.how__art img { width: min(512px, 100%); height: auto; }
.steps { grid-area: steps; display: flex; flex-direction: column; gap: 24px; margin: 0; padding: 0; list-style: none; }
.step { display: flex; flex-direction: column; gap: 8px; }
.step + .step { padding-block-start: 24px; border-block-start: 1px solid rgba(233, 242, 243, 0.5); }
.step__num, .step__title { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 700; }
.step__desc { font-size: var(--fs-body1); line-height: var(--lh-body1); }

@media (max-width: 1023.98px) {
  .how__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head head" "steps art"; row-gap: 32px; padding: 32px 0; }
  .how__head { padding: 0; }
  .how__head .section-head { align-items: center; text-align: center; margin: 0; }
  .how__years { display: none; }
  .steps { gap: 32px; }
  .step { gap: 4px; }
  .step + .step { padding: 0; border: 0; }
  .step__num, .step__title { font-size: var(--fs-body1); line-height: var(--lh-body1); }
  .step__desc { max-width: 300px; font-size: var(--fs-body2); line-height: var(--lh-body2); }
  .how__art img { width: 100%; max-width: 337px; height: auto; }
}
@media (max-width: 767.98px) {
  .how__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "steps"; }
  .how__art { display: none; }
}

/* ───────────────────────── Card/Teaser (Soon / BiQalam) ───────────────────────── */
.teaser { position: relative; overflow: hidden; isolation: isolate; padding: 64px 39px; border-radius: var(--radius-xl); color: var(--white); text-align: center; }
.teaser__bg { position: absolute; inset: 0; z-index: -1; }
.teaser__bg img { width: 100%; height: 100%; object-fit: cover; }
.teaser__bg::after { content: ""; position: absolute; inset: 0; background: var(--navy-600); opacity: 0.65; }
.teaser__head { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.teaser__label { font-size: var(--fs-body1); line-height: var(--lh-body1); font-weight: 500; }
.teaser__text { display: flex; flex-direction: column; gap: 16px; }
.teaser__title { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 700; }
.teaser__desc { max-width: 860px; margin-inline: auto; font-size: var(--fs-h5); line-height: var(--lh-h5); }
.teaser__features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 43px; margin-block-start: 48px; }
.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: var(--white-15);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.feature__icon { width: 56px; height: 56px; }
.feature__text { display: flex; flex-direction: column; gap: 12px; }
.feature__title { font-size: var(--fs-body1); line-height: var(--lh-body1); font-weight: 700; }
.feature__desc { font-size: var(--fs-body1); line-height: var(--lh-body1); }
/* Hover is not drawn in the file; decided from tokens: White 15% glass steps up to 22% with a 4px lift. */
.feature:hover, .feature.is-hover { background: rgba(255, 255, 255, 0.22); transform: translateY(-4px); }
.teaser__cta { margin-block-start: 48px; }
.teaser__note { margin-block-start: 40px; font-size: var(--fs-body2); line-height: var(--lh-body2); }

@media (max-width: 1023.98px) {
  .teaser { padding: 32px 39px; }
  .teaser__head { gap: 16px; }
  .teaser__text { gap: 12px; }
  .teaser__title { font-size: var(--fs-h5); line-height: var(--lh-h5); }
  .teaser__desc { font-size: var(--fs-body1); line-height: var(--lh-body1); }
  .teaser__features { display: none; }
  .teaser__cta { margin-block-start: 24px; }
  .teaser__cta .btn { min-height: 40px; padding: 9px 15px; font-size: var(--fs-body2); line-height: var(--lh-body2); }
  .teaser__note { margin-block-start: 24px; }
}
@media (max-width: 767.98px) {
  .teaser { padding: 32px 24px; }
}

/* ───────────────────────── Footer (CTA band + glass card) ───────────────────────── */
.site-footer { margin-block-start: var(--section-gap); padding-block: 45px 27px; border-radius: 24px 24px 0 0; background: var(--navy-600); color: var(--white); }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.footer-cta__text { display: flex; flex-direction: column; align-items: flex-start; gap: 48px; max-width: 524px; }
.footer-cta__copy { display: flex; flex-direction: column; gap: 16px; }
.footer-cta__title { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 700; }
.footer-cta__lead { font-size: var(--fs-h5); line-height: var(--lh-h5); }
.footer-cta__art { flex: none; width: min(512px, 42%); height: auto; }
.footer-cta__logo { display: none; }

.footer-card { position: relative; overflow: hidden; isolation: isolate; min-height: 410px; margin-block-start: 40px; padding: 48px 40px; border-radius: var(--radius-xl); }
.footer-card__bg { position: absolute; inset: 0; z-index: -1; }
.footer-card__bg img { width: 100%; height: 100%; object-fit: cover; }
.footer-card__bg::after { content: ""; position: absolute; inset: 0; background: var(--navy-600); opacity: 0.35; }
.footer-card__grid { display: grid; grid-template-columns: 284px auto 287px; justify-content: space-between; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 24px; }
.footer-brand__id { display: flex; flex-direction: column; gap: 16px; }
.footer-brand__id img { width: 125px; height: 48px; }
.footer-brand__tagline, .footer-news__title { font-size: var(--fs-body1); line-height: var(--lh-body1); font-weight: 500; }
.footer-news { display: flex; flex-direction: column; gap: 8px; }
.newsletter { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 4px; padding-inline-start: 12px; border-radius: 1000px; background: var(--white); }
.newsletter input { flex: 1; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--text-primary); font-size: var(--fs-body2); line-height: var(--lh-body2); }
.newsletter input::placeholder { color: var(--text-tertiary); opacity: 0.6; }
.newsletter:focus-within { box-shadow: var(--ring); }
.newsletter .btn { min-width: 110px; border-radius: 100px; }
.footer-legal { font-size: var(--fs-body2); line-height: var(--lh-body2); }
.footer-col__title { display: inline-flex; flex-direction: column; gap: 8px; font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 700; }
.footer-col__title::after {
  content: "";
  height: 4px;
  background: linear-gradient(90deg, var(--purple-600) 0 34%, transparent 34% calc(34% + 2px), var(--purple-600) calc(34% + 2px) 66%, transparent 66% calc(66% + 2px), var(--purple-600) calc(66% + 2px) 100%);
}
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 17px; }
.footer-links { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-body1); line-height: var(--lh-body1); }
.footer-links a::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.footer-links a:hover, .footer-contact a:hover, .footer-bottom a:hover { color: var(--purple-300); }
.footer-contact { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 0; list-style: none; }
.footer-contact li { display: flex; align-items: center; gap: 8px; }
.footer-contact img { width: 24px; height: 24px; }
.footer-contact__email { font-size: var(--fs-h5); line-height: var(--lh-h5); }
.footer-contact__address { font-size: var(--fs-body2); line-height: var(--lh-body2); font-weight: 500; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-block-start: 44px; font-size: var(--fs-body1); line-height: var(--lh-body1); }
.footer-bottom .accent { color: var(--purple-500); }
.footer-bottom__links { display: flex; gap: 30px; margin: 0; padding: 0; list-style: none; }
.footer-bottom__links a { text-decoration: underline; text-underline-offset: 4px; }
.footer-nav-inline { display: none; }

@media (max-width: 1023.98px) {
  .site-footer { padding-block: 32px; }
  .footer-cta { flex-direction: column; gap: 32px; text-align: center; }
  .footer-cta__logo { display: block; width: auto; height: 48px; }
  .footer-cta__art { display: none; }
  .footer-cta__text { align-items: center; gap: 32px; max-width: 420px; }
  .footer-cta__copy { gap: 12px; }
  .footer-cta__title { font-size: var(--fs-h5); line-height: var(--lh-h5); }
  .footer-cta__lead { font-size: var(--fs-body1); line-height: var(--lh-body1); }
  .footer-cta .btn { min-height: 40px; padding: 9px 15px; font-size: var(--fs-body2); line-height: var(--lh-body2); }
  .footer-card { display: none; }
  .footer-nav-inline { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin: 32px 0 0; padding: 0; list-style: none; font-size: var(--fs-body2); line-height: var(--lh-body2); }
  .footer-bottom { flex-direction: column; gap: 16px; margin-block-start: 32px; text-align: center; font-size: var(--fs-body2); line-height: var(--lh-body2); }
}
@media (max-width: 767.98px) {
  .footer-nav-inline { display: none; }
  .footer-card { display: block; min-height: 0; margin-block-start: 32px; padding: 0; border-radius: 0; }
  .footer-card__bg { display: none; }
  .footer-card__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .footer-brand { display: none; }
  .footer-col__title { font-size: var(--fs-body1); line-height: var(--lh-body1); }
  .footer-links { gap: 16px; }
  .footer-links a { font-size: var(--fs-body2); line-height: var(--lh-body2); }
  .footer-contact__email { font-size: var(--fs-body2); line-height: var(--lh-body2); overflow-wrap: anywhere; }
}

/* ───────────────────────── Input · Textarea · Select · Checkbox · Radio ───────────────────────── */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { position: relative; display: flex; flex-direction: column; gap: 6px; }
.field__label { color: var(--navy-400); font-size: var(--fs-body2); line-height: var(--lh-body2); }
.field__label .req { color: var(--error-500); }
.control {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid var(--navy-100);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  color: var(--text-primary);
  font-size: var(--fs-body2);
  line-height: var(--lh-body2);
  text-align: start;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.control__icon { flex: none; width: 20px; height: 20px; }
.control input, .control textarea {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-primary);
  font-size: var(--fs-body2);
  line-height: var(--lh-body2);
}
.control input::placeholder, .control textarea::placeholder { color: var(--navy-400); opacity: 1; }
.control:hover, .control.is-hover { border-color: var(--navy-200); }
.control:focus-within, .control.is-focus, .select.is-open .control { border-color: var(--brand-300); box-shadow: var(--ring), var(--shadow-xs); }
.control--textarea { align-items: stretch; min-height: 156px; }
.control--textarea textarea { min-height: 134px; resize: vertical; }
.field__hint { color: var(--navy-400); font-size: var(--fs-body2); line-height: var(--lh-body2); }
.field.is-error .control { border-color: var(--error-400); }
.field.is-error .control:focus-within, .field.is-error .control.is-focus { box-shadow: 0 0 0 4px #FEE4E2, var(--shadow-xs); }
.field.is-error .field__hint { color: var(--error-500); }
.field.is-disabled .control { border-color: var(--navy-100); background: #F7F8F8; box-shadow: none; color: var(--navy-300); cursor: not-allowed; }
.field.is-disabled .control input::placeholder { color: var(--navy-300); }

/* Select — custom listbox so the options panel matches "Choose Service" in both directions */
.select__trigger { cursor: pointer; }
.select__value { flex: 1; min-width: 0; overflow: hidden; color: var(--text-primary); text-overflow: ellipsis; white-space: nowrap; }
.select__value.is-placeholder { color: var(--navy-400); }
.select__chevron { flex: none; width: 16px; height: 16px; color: var(--navy-600); transition: transform 0.2s var(--ease); }
.select.is-open .select__chevron { transform: rotate(180deg); }
.select__panel { inset-inline: 0; min-width: 0; max-height: 280px; overflow-y: auto; }
.select--static .select__panel { position: static; margin-block-start: 8px; }
.select .control:disabled { cursor: not-allowed; }

.choices { display: flex; flex-direction: column; gap: 16px; border: 0; margin: 0; padding: 0; }
.choices legend { padding: 0; }
.choices__row { display: flex; flex-wrap: wrap; gap: 16px 48px; }
.check { position: relative; display: inline-flex; align-items: center; gap: 8px; color: var(--navy-400); font-size: var(--fs-body2); line-height: var(--lh-body2); cursor: pointer; }
.check__input { position: absolute; inset-inline-start: 0; top: 50%; width: 16px; height: 16px; margin: -8px 0 0; opacity: 0; cursor: inherit; }
.check__box {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid var(--navy-300);
  border-radius: var(--radius-xs);
  background: var(--white);
  color: var(--purple-500);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease), background-color 0.15s var(--ease);
}
.check__mark { width: 12px; height: 12px; opacity: 0; }
.check__dash { position: absolute; width: 8px; height: 1.5px; border-radius: 1px; background: currentColor; opacity: 0; }
.check--radio .check__box { border-radius: 50%; }
.check--radio .check__box::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0; }
.check:hover .check__box, .check.is-hover .check__box { border-color: var(--purple-500); }
.check__input:focus-visible + .check__box, .check.is-focus .check__box { border-color: var(--brand-300); box-shadow: var(--ring); }
.check__input:checked + .check__box, .check__input:indeterminate + .check__box { border-color: var(--purple-500); }
.check__input:checked + .check__box .check__mark { opacity: 1; }
.check__input:indeterminate + .check__box .check__mark { opacity: 0; }
.check__input:indeterminate + .check__box .check__dash { opacity: 1; }
.check--radio .check__input:checked + .check__box::after { opacity: 1; }
.check.is-disabled, .check__input:disabled ~ .check__label { color: var(--navy-300); cursor: not-allowed; }
.check__input:disabled + .check__box { border-color: var(--navy-100); background: var(--purple-100); color: var(--navy-200); }
.check--text { color: var(--text-secondary); }
.is-error > .check .check__box, .check.is-error .check__box, .choices.is-error .check__box { border-color: var(--error-400); }
.check--text a { color: var(--purple-600); text-decoration: underline; text-underline-offset: 3px; }
.check--md .check__box { width: 20px; height: 20px; border-radius: 6px; }
.check--md.check--radio .check__box { border-radius: 50%; }
.check--md .check__mark { width: 14px; height: 14px; }
.check--md.check--radio .check__box::after { width: 8px; height: 8px; }

/* ───────────────────────── Modal ───────────────────────── */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(11, 31, 42, 0.6); opacity: 0; transition: opacity 0.2s var(--ease); }
.modal__dialog {
  position: relative;
  width: min(800px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 56px 100px;
  border-radius: var(--radius-xl);
  background: var(--white);
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__dialog { opacity: 1; transform: none; }
.modal__dialog:focus { outline: none; }
.modal__close { position: absolute; top: 20px; inset-inline-end: 20px; display: grid; place-items: center; width: 32px; height: 32px; margin: -4px; padding: 0; border: 0; border-radius: 50%; background: none; }
.modal__close img { width: 24px; height: 24px; }
.modal__close:hover { background: var(--purple-100); }
.modal__close:focus-visible { outline: none; box-shadow: var(--ring); }
.modal__status { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.modal__art { position: relative; width: 120px; height: 120px; }
.modal__art img { width: 120px; height: 120px; }
.modal__art .modal__art-mark { position: absolute; top: 73px; left: 73px; width: 30px; height: 30px; }
.modal__title { font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 700; }
.modal__text { color: var(--text-secondary); font-size: var(--fs-body1); line-height: var(--lh-body1); }
.modal__dialog--form { width: min(616px, 100%); padding: 40px 24px; border: 1px solid var(--navy-100); box-shadow: var(--shadow-md); }
.modal__dialog--form .modal__title { margin-block-end: 24px; padding-inline-end: 32px; }
.modal__dialog--form .form { gap: 24px; }
.modal__dialog--form .form__submit { margin-block-start: 16px; }

@media (max-width: 1023.98px) {
  .modal__dialog { width: min(720px, 100%); }
  .modal__dialog--form { width: min(616px, 100%); }
}
@media (max-width: 767.98px) {
  .modal__dialog { padding: 48px 24px 40px; }
  .modal__dialog--form { padding: 40px 16px 24px; }
  .modal__dialog--form .choices__row { gap: 16px 24px; }
}

/* ───────────────────────── Accordion (FAQ pattern) ───────────────────────── */
.faq { display: flex; flex-direction: column; gap: 24px; }
.faq__item { border: 1px solid var(--navy-100); border-radius: var(--radius-lg); background: var(--white); color: var(--text-primary); transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease); }
.faq__item.is-open { border-color: var(--purple-600); background: var(--purple-600); color: var(--white); box-shadow: var(--shadow-md); }
.faq__heading { margin: 0; font: inherit; }
.faq__trigger {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 24px;
  align-items: center;
  column-gap: 16px;
  width: 100%;
  padding: 24px;
  border: 0;
  border-radius: inherit;
  background: none;
  color: inherit;
  text-align: start;
}
.faq__trigger:focus-visible { outline: none; box-shadow: var(--ring); }
.faq__num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--white); color: var(--purple-600); font-family: var(--font-en); font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 500; }
.faq__item:not(.is-open) .faq__num { box-shadow: inset 0 0 0 1px var(--navy-100); }
.faq__q { font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 700; }
.faq__icon { position: relative; width: 24px; height: 24px; }
.faq__icon img { position: absolute; inset: 0; width: 24px; height: 24px; transition: opacity 0.2s var(--ease), transform 0.25s var(--ease); }
.faq__icon .faq__icon-close { opacity: 0; transform: rotate(-45deg); }
.faq__item.is-open .faq__icon-open { opacity: 0; transform: rotate(45deg); }
.faq__item.is-open .faq__icon-close { opacity: 1; transform: none; }
.faq__panel { padding: 0 24px 24px; padding-inline-start: 96px; padding-inline-end: 64px; font-size: var(--fs-h5); line-height: var(--lh-h5); }
.faq__item:not(.is-open) .faq__panel { display: none; }
.faq__item.is-open .faq__trigger { padding-block-end: 16px; }

@media (max-width: 767.98px) {
  .faq { gap: 16px; }
  .faq__trigger { grid-template-columns: 40px minmax(0, 1fr) 24px; column-gap: 12px; padding: 16px; }
  .faq__num { width: 40px; height: 40px; font-size: var(--fs-body1); }
  .faq__q { font-size: var(--fs-body1); line-height: var(--lh-body1); }
  .faq__panel { padding: 0 16px 16px; font-size: var(--fs-body1); line-height: var(--lh-body1); }
}

/* Accordion (compact set in 01 Foundations) */
.accordion { display: flex; flex-direction: column; gap: 33px; }
.accordion__trigger { display: flex; align-items: center; justify-content: space-between; gap: 4px; width: 100%; padding: 0; border: 0; background: none; color: var(--text-primary); font-size: var(--fs-body1); line-height: var(--lh-body1); font-weight: 500; text-align: start; }
html[lang="en"] .accordion__trigger { font-weight: 700; }
.accordion__trigger::after { content: "+"; display: grid; place-items: center; width: 24px; height: 24px; color: var(--purple-600); font-size: 22px; line-height: 1; font-weight: 400; }
.accordion__item.is-open .accordion__trigger::after { content: "−"; }
.accordion__panel { margin-block-start: 12px; color: var(--text-primary); font-size: var(--fs-body2); line-height: var(--lh-body2); }
.accordion__item:not(.is-open) .accordion__panel { display: none; }

/* ───────────────────────── Breadcrumb ───────────────────────── */
.breadcrumb { --chevron-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14.5 7 9.5 12l5 5' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
[dir="ltr"] .breadcrumb li + li::before { transform: scaleX(-1); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 12px; color: var(--text-primary); font-size: var(--fs-body2); line-height: var(--lh-body2); }
.breadcrumb li + li::before { content: ""; width: 24px; height: 24px; background: var(--navy-600); -webkit-mask: var(--chevron-mask) center / 24px 24px no-repeat; mask: var(--chevron-mask) center / 24px 24px no-repeat; }
.breadcrumb a:hover { color: var(--purple-600); }
.breadcrumb [aria-current="page"] { color: var(--purple-500); }
.on-dark .breadcrumb li { color: var(--white); }
.on-dark .breadcrumb li + li::before { background: var(--white); }

/* ───────────────────────── Pagination ───────────────────────── */
.pagination { display: flex; align-items: center; justify-content: center; gap: 24px; }
.pagination__step { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: var(--text-primary); font-size: var(--fs-body2); line-height: var(--lh-body2); }
.pagination__step .icon { width: 20px; height: 20px; }
.pagination__step[aria-disabled="true"] { opacity: 0.25; pointer-events: none; }
.pagination__pages { display: flex; align-items: center; gap: 16px; margin: 0; padding: 0; list-style: none; }
.pagination__page { display: inline-grid; place-items: center; min-width: 16px; padding: 0; border: 0; background: none; color: var(--text-primary); font-size: var(--fs-body2); line-height: var(--lh-body2); }
.pagination__page[aria-current="page"] { color: var(--purple-500); }
.pagination a:hover { color: var(--purple-600); }
[dir="rtl"] .icon-dir-back { transform: scaleX(-1); }

/* ───────────────────────── Error ───────────────────────── */
.error-page { display: grid; place-items: center; min-height: 100vh; padding: 64px var(--gutter); background: var(--white); }
.error-block { display: flex; flex-direction: column; align-items: center; gap: 72px; width: min(608px, 100%); text-align: center; }
.error-block__main { display: flex; flex-direction: column; align-items: center; gap: 54px; }
.error-block__art { width: min(605px, 100%); height: auto; }
.error-block__text { display: flex; flex-direction: column; gap: 16px; }
.error-block__title { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 700; }
.error-block__lead { font-size: var(--fs-body1); line-height: var(--lh-body1); }
@media (max-width: 767.98px) {
  .error-block { gap: 40px; }
  .error-block__main { gap: 32px; }
  .error-block__title { font-size: var(--fs-h5); line-height: var(--lh-h5); }
}

/* Page layouts. Vertical rhythm follows the 1280 frames (section gap 120, inner padding 100),
   the 768 frames (gap ~80, padding 32) and the 360 frames (gap ~40, padding 32). */

.container--narrow { --container: 1120px; }
.center { text-align: center; }
.cta-row { display: flex; justify-content: center; margin-block-start: 48px; }
@media (max-width: 1023.98px) {
  .cta-row { margin-block-start: 24px; }
  .cta-row .btn { min-height: 40px; padding: 9px 15px; font-size: var(--fs-body2); line-height: var(--lh-body2); }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  .cta-row .btn { width: 100%; }
}

/* ── Home ── */
.home-stats { padding-block-start: 80px; }
.home-services { padding-block: 220px 100px; }
.home-how { margin-block-start: 120px; }
.home-cases { padding-block: 220px 100px; }
.home-teaser { margin-block-start: 115px; }
.page-home .site-footer { margin-block-start: 150px; }
@media (max-width: 1023.98px) {
  .home-stats { padding-block-start: 48px; }
  .home-services { padding-block: 112px 32px; }
  .home-how { margin-block-start: 76px; }
  .home-cases { padding-block: 108px 32px; }
  .home-teaser { margin-block-start: 71px; }
  .page-home .site-footer { margin-block-start: 76px; }
}
@media (max-width: 767.98px) {
  .home-stats { padding-block-start: 24px; }
  .home-services { padding-block: 72px 32px; }
  .home-how { margin-block-start: 36px; }
  .home-cases { padding-block: 68px 32px; }
  .home-teaser { margin-block-start: 26px; }
  .page-home .site-footer { margin-block-start: 40px; }
}

/* ── Services ── */
.svc-intro { padding-block-start: 80px; }
.svc-intro__text { max-width: 1200px; margin-inline: auto; color: var(--text-primary); font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 700; text-align: center; }
.svc-rows { display: flex; flex-direction: column; gap: 120px; margin-block-start: 120px; }
.svc-row { padding-block: 64px; background: var(--tint, var(--purple-100)); scroll-margin-top: 24px; }
.svc-row--cloud { --tint: var(--tint-cloud); --accent: var(--accent-cloud); }
.svc-row--software { --tint: var(--tint-software); --accent: var(--accent-software); }
.svc-row--ai { --tint: var(--tint-ai); --accent: var(--accent-ai); }
.svc-row__inner { display: flex; flex-direction: column; gap: 40px; }
.svc-row__main { display: grid; grid-template-columns: minmax(0, 535fr) minmax(0, 561fr); align-items: center; gap: 24px; }
.svc-row__text { display: flex; flex-direction: column; gap: 32px; }
.svc-row__head { display: flex; flex-direction: column; gap: 24px; }
.svc-row__title { display: flex; align-items: center; gap: 16px; font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 700; }
.svc-row__title img { width: 48px; height: 48px; }
.svc-row__desc { font-size: var(--fs-h5); line-height: var(--lh-h5); }
.svc-list { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 0; list-style: none; }
.svc-list li { display: flex; align-items: center; gap: 12px; font-size: var(--fs-h5); line-height: var(--lh-h5); }
.svc-list svg { flex: none; width: 32px; height: 32px; color: var(--accent); }
.svc-row__media { overflow: hidden; aspect-ratio: 561 / 428; border-radius: var(--radius-xl); }
.svc-row__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-row__example { font-size: var(--fs-h5); line-height: var(--lh-h5); }
.svc-row__example strong { font-weight: 500; }

.layers { margin-block-start: 120px; }
.layers__title { color: var(--text-primary); font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 700; text-align: center; }
.layers__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 4px; margin: 48px 0 0; padding: 0; list-style: none; }
.layer { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 211px; text-align: center; }
.layer img { width: 64px; height: 64px; }
.layer span { font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 700; }
.layers__arrow { flex: 1 1 248px; max-width: 248px; margin-block-start: 42px; }
.layers__arrow img { width: 100%; height: auto; }
[dir="ltr"] .layers__arrow img { transform: scaleX(-1); }
.svc-teaser { margin-block-start: 120px; }

@media (max-width: 1023.98px) {
  .svc-intro { padding-block-start: 40px; }
  .svc-intro__text { font-size: var(--fs-body1); line-height: var(--lh-body1); }
  .svc-rows { gap: 16px; margin-block-start: 32px; }
  .svc-row { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; padding: 24px 16px; border: 1px solid var(--navy-100); border-radius: var(--radius-lg); }
  .svc-row__inner { width: 100%; gap: 16px; }
  .svc-row__main { grid-template-columns: minmax(0, 1fr); }
  .svc-row__media { display: none; }
  .svc-row__text { gap: 16px; }
  .svc-row__head { gap: 20px; }
  .svc-row__title { flex-direction: column; align-items: flex-start; gap: 20px; font-size: var(--fs-body1); line-height: var(--lh-body1); }
  .svc-row__desc, .svc-list li, .svc-row__example { font-size: var(--fs-body2); line-height: var(--lh-body2); }
  .svc-list { gap: 12px; }
  .svc-list svg { width: 20px; height: 20px; }
  .layers { margin-block-start: 56px; }
  .layers__title { font-size: var(--fs-h5); line-height: var(--lh-h5); }
  .layers__row { margin-block-start: 24px; }
  .layer { width: auto; flex: 1; gap: 12px; }
  .layer img { width: 48px; height: 48px; }
  .layer span { font-size: var(--fs-body2); line-height: var(--lh-body2); }
  .layers__arrow { flex-basis: 80px; margin-block-start: 30px; }
  .svc-teaser { margin-block-start: 56px; }
}
@media (max-width: 767.98px) {
  .layers__arrow { display: none; }
}

/* ── About ── */
.about-intro { padding-block-start: 80px; }
.about-intro__title { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 700; }
.about-intro__row { display: flex; align-items: center; justify-content: space-between; gap: 123px; margin-block-start: 48px; }
.about-intro__art { flex: none; width: 487px; height: auto; }
.about-intro__body { display: flex; flex-direction: column; gap: 28px; max-width: 590px; font-size: var(--fs-h5); line-height: var(--lh-h5); }
.about-stats { margin-block-start: 80px; }
.about-ticker { margin-block-start: 80px; }
.about-geo { padding-block-start: 120px; }
.about-geo__map { position: relative; width: min(830px, 100%); margin-inline: auto; }
.about-geo__map img { width: 100%; height: auto; }
.about-geo__map .about-geo__pin { position: absolute; height: auto; }
.about-pv { display: grid; grid-template-columns: minmax(0, 438fr) minmax(0, 722fr); gap: 40px; margin-block-start: 80px; }
.vision-card { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 80px 40px; border-radius: var(--radius-xl); background: var(--navy-600); color: var(--white); text-align: center; }
.vision-card__text { display: flex; flex-direction: column; gap: 16px; }
.vision-card__title { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 700; }
.vision-card__body { font-size: var(--fs-h5); line-height: var(--lh-h5); }
.vision-card img { width: min(317px, 100%); height: auto; margin-inline: auto; }
.products-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 566px; overflow: hidden; padding: 16px; border-radius: var(--radius-xl); isolation: isolate; }
.products-card > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.products-card__panel { display: flex; flex-direction: column; gap: 16px; padding: 56px 40px; border-radius: var(--radius-xl); background: var(--purple-600); color: var(--white); }
.products-card__title { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 700; }
.products-card__body { max-width: 526px; font-size: var(--fs-h5); line-height: var(--lh-h5); }

.about-commit { padding-block: 220px 100px; }
.commit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; margin: 0; padding: 0; list-style: none; }
.commit { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid rgba(233, 242, 243, 0.8); border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.1); }
.commit__icon { width: 64px; height: 64px; }
.commit__rule { display: flex; align-items: center; gap: 12px; padding-block-start: 16px; }
.commit__num { color: var(--purple-600); font-family: var(--font-en); font-size: var(--fs-h3); line-height: var(--lh-h3); }
.commit__rule::after { content: ""; flex: 1; height: 2px; background: var(--purple-400); }
.commit__title { padding-block-start: 12px; font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 700; }
.commit__desc { padding-block-start: 12px; color: var(--text-secondary); font-size: var(--fs-body2); line-height: var(--lh-body2); }

.about-partners { padding-block-start: 120px; }
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 80px; margin: 0; padding: 0; list-style: none; }
.logo-strip li { display: grid; place-items: center; width: 140px; height: 56px; border: 1px dashed var(--navy-200); border-radius: var(--radius-sm); color: var(--navy-300); font-family: var(--font-en); font-size: var(--fs-body2); letter-spacing: 0.08em; text-transform: uppercase; }

.about-timeline { padding-block-start: 120px; }
.timeline { display: grid; grid-template-columns: minmax(0, 486fr) 1px minmax(0, 588fr); gap: 63px; align-items: start; }
.timeline__intro { display: flex; flex-direction: column; gap: 24px; }
.timeline__title { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 700; }
.timeline__lead { color: var(--text-secondary); font-size: var(--fs-h5); line-height: var(--lh-h5); }
.timeline__rail { align-self: stretch; position: relative; width: 1px; background: var(--navy-100); }
.timeline__rail::before { content: ""; position: absolute; inset-inline: -1px; top: 0; height: 26%; background: var(--purple-600); }
.timeline__list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.timeline__item { display: flex; flex-direction: column; gap: 16px; padding: 32px; }
.timeline__item + .timeline__item { box-shadow: 0 -1px 0 rgba(149, 160, 178, 0.16); }
.timeline__year { color: var(--text-tertiary); font-family: var(--font-en); font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 700; }
.timeline__item:first-child .timeline__year { color: var(--purple-600); }
.timeline__head { display: flex; flex-direction: column; gap: 8px; }
.timeline__item-title { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 700; }
.timeline__desc { color: var(--text-secondary); font-size: var(--fs-body1); line-height: var(--lh-body1); }

.about-team { padding-block-start: 120px; }
.team { position: relative; }
.team__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 32px) / 4); gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0; padding: 0; list-style: none; }
.team__track::-webkit-scrollbar { display: none; }
.team-card { display: flex; flex-direction: column; gap: 16px; padding-block-end: 32px; border-radius: var(--radius-lg); background: var(--white); scroll-snap-align: start; }
.team-card__photo { display: grid; place-items: end center; height: 292px; overflow: hidden; border-radius: var(--radius-lg); background: var(--purple-100); }
.team-card__photo svg { width: 70%; height: auto; color: var(--purple-300); }
.team-card__text { display: flex; flex-direction: column; gap: 16px; }
.team-card__who { display: flex; flex-direction: column; gap: 4px; }
.team-card__name { font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 700; }
.team-card__role, .team-card__email { color: var(--text-secondary); font-size: var(--fs-body1); line-height: var(--lh-body1); }
.team__nav { position: absolute; top: 97px; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: none; }
.team__nav img { width: 52px; height: 52px; }
.team__nav--prev { inset-inline-start: -24px; }
.team__nav--next { inset-inline-end: -24px; }
[dir="ltr"] .team__nav img { transform: scaleX(-1); }
.team__dots { display: flex; justify-content: center; gap: 10px; margin-block-start: 40px; }
.team__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: var(--navy-100); }
.team__dots button[aria-current="true"] { background: var(--purple-600); }

@media (max-width: 1023.98px) {
  .about-intro { padding-block-start: 40px; }
  .about-intro__title { font-size: var(--fs-h5); line-height: var(--lh-h5); }
  .about-intro__row { flex-direction: column; gap: 24px; margin-block-start: 24px; }
  .about-intro__art { width: min(320px, 100%); }
  .about-intro__body { max-width: none; gap: 16px; font-size: var(--fs-body1); line-height: var(--lh-body1); }
  .about-stats, .about-ticker { margin-block-start: 48px; }
  .about-geo, .about-partners, .about-timeline, .about-team { padding-block-start: 64px; }
  .about-pv { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-block-start: 40px; }
  .vision-card { padding: 32px 24px; }
  .vision-card__title, .products-card__title { font-size: var(--fs-h5); line-height: var(--lh-h5); }
  .vision-card__body, .products-card__body { font-size: var(--fs-body1); line-height: var(--lh-body1); }
  .vision-card img { width: 200px; }
  .products-card { min-height: 360px; }
  .products-card__panel { padding: 24px; }
  .about-commit { padding-block: 64px 0; }
  .commit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .timeline__rail { display: none; }
  .timeline__title { font-size: var(--fs-h4); line-height: var(--lh-h4); }
  .timeline__lead { font-size: var(--fs-body1); line-height: var(--lh-body1); }
  .timeline__item { padding: 24px 16px; }
  .timeline__item-title { font-size: var(--fs-h5); line-height: var(--lh-h5); }
  .team__track { grid-auto-columns: calc((100% - 16px) / 2); gap: 16px; }
  .team__nav { display: none; }
}
@media (max-width: 767.98px) {
  .commit-grid { grid-template-columns: minmax(0, 1fr); }
  .team__track { grid-auto-columns: 78%; }
  .logo-strip { gap: 16px; }
}

/* ── Contact ── */
.contact-intro { padding-block-start: 80px; }
.contact-intro__text { max-width: 900px; margin-inline: auto; color: var(--text-primary); font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 700; text-align: center; }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 41px; margin: 48px 0 0; padding: 0; list-style: none; }
.contact-card { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 24px; border: 1px solid var(--navy-100); border-radius: var(--radius-lg); background: var(--white); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.contact-card:hover { border-color: var(--purple-300); box-shadow: var(--shadow-lg); }
.contact-card__detail { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.contact-card__icon { width: 48px; height: 48px; }
.contact-card__title { font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 500; }
.contact-card__value { font-size: var(--fs-body1); line-height: var(--lh-body1); overflow-wrap: anywhere; }
.contact-card .btn--link { align-self: flex-start; font-weight: 500; }

.contact-main { display: grid; grid-template-columns: minmax(0, 568fr) minmax(0, 549fr); justify-content: space-between; gap: 83px; margin-block-start: 120px; }
.contact-form__title { margin-block-end: 24px; font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 700; }
.contact-panel { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; min-height: 647px; overflow: hidden; padding: 40px 32px 0; border-radius: var(--radius-lg); background: var(--navy-600); color: var(--white); text-align: center; }
.contact-panel__title { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 700; }
.contact-panel__lead { font-size: var(--fs-h5); line-height: var(--lh-h5); }
.contact-panel img { width: min(100%, 440px); height: auto; margin-block: auto; }

.contact-faq { padding-block: 120px 0; }

@media (max-width: 1023.98px) {
  .contact-intro { padding-block-start: 40px; }
  .contact-intro__text { font-size: var(--fs-h5); line-height: var(--lh-h5); }
  .contact-cards { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-block-start: 24px; }
  .contact-main { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-block-start: 56px; }
  .contact-form__title { font-size: var(--fs-h5); line-height: var(--lh-h5); }
  .contact-panel { order: -1; min-height: 0; padding: 32px 24px 24px; }
  .contact-panel__title { font-size: var(--fs-h4); line-height: var(--lh-h4); }
  .contact-panel__lead { font-size: var(--fs-body1); line-height: var(--lh-body1); }
  .contact-panel img { width: 220px; }
  .contact-faq { padding-block-start: 64px; }
}

/* ── Case studies ── */
.cases-page { padding-block-start: 80px; }
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; margin-block-end: 56px; }
@media (max-width: 1023.98px) {
  .cases-page { padding-block-start: 40px; }
  .filter-bar { flex-wrap: nowrap; justify-content: flex-start; gap: 8px; margin-inline: calc(-1 * var(--gutter)); margin-block-end: 24px; padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .chip { flex: none; min-width: 88px; min-height: 40px; padding: 8px 16px; font-size: var(--fs-body2); line-height: var(--lh-body2); }
}

/* ── Case study detail ── */
.case-detail { padding-block-start: 80px; }
.case-detail__grid { display: grid; grid-template-columns: minmax(0, 615fr) minmax(0, 561fr); gap: 24px; align-items: start; }
.case-detail__title { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 700; }
.case-detail__facts { display: flex; flex-direction: column; gap: 24px; margin: 24px 0 0; }
.case-detail__facts dt { font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 500; }
.case-detail__facts dd { margin-block-start: 8px; font-size: var(--fs-h5); line-height: var(--lh-h5); }
.case-detail__facts .accent-text { color: var(--purple-600); }
.case-detail__media { overflow: hidden; aspect-ratio: 561 / 475; border-radius: var(--radius-xl); }
.case-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.quote { display: flex; flex-direction: column; gap: 16px; margin-block-start: 48px; }
.quote__mark { align-self: flex-end; width: 56px; height: 33px; }
.quote__mark--close { align-self: flex-start; }
[dir="ltr"] .quote__mark { transform: scaleX(-1); }
.quote__text { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 500; }
.quote__by { display: flex; flex-direction: column; gap: 2px; }
.quote__name { font-size: var(--fs-body1); line-height: var(--lh-body1); font-weight: 700; }
.quote__role { color: var(--text-secondary); font-size: var(--fs-body2); line-height: var(--lh-body2); }
.case-detail__cta { margin-block-start: 40px; }
.case-related { padding-block-start: 120px; }
.case-related__title { margin-block-end: 48px; color: var(--text-primary); font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 700; text-align: center; }
@media (max-width: 1023.98px) {
  .case-detail { padding-block-start: 40px; }
  .case-detail__grid { grid-template-columns: minmax(0, 1fr); }
  .case-detail__media { order: -1; aspect-ratio: 16 / 10; }
  .case-detail__title { font-size: var(--fs-h5); line-height: var(--lh-h5); }
  .case-detail__facts dt, .case-detail__facts dd, .quote__text { font-size: var(--fs-body1); line-height: var(--lh-body1); }
  .case-related { padding-block-start: 64px; }
  .case-related__title { margin-block-end: 24px; font-size: var(--fs-h5); line-height: var(--lh-h5); }
}

/* ── Legal pages ── */
.legal { padding-block-start: 80px; }
.legal__sections { display: flex; flex-direction: column; gap: 48px; }
.legal__section { display: flex; flex-direction: column; gap: 16px; }
.legal__section h2 { font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 700; }
.legal__section p, .legal__section li { font-size: var(--fs-body1); line-height: 1.75; }
.legal__section ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding-inline-start: 20px; }
.legal__section strong { font-weight: 700; }
@media (max-width: 1023.98px) {
  .legal { padding-block-start: 40px; }
  .legal__sections { gap: 32px; }
  .legal__section h2 { font-size: var(--fs-body1); line-height: var(--lh-body1); }
  .legal__section p, .legal__section li { font-size: var(--fs-body2); }
}

/* ── Components showcase ── */
.kit { padding-block: 80px 0; }
.kit__intro { max-width: 820px; color: var(--text-secondary); font-size: var(--fs-body1); line-height: 1.7; }
.kit-toc { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 24px; margin: 32px 0 0; padding: 0; list-style: none; }
.kit-toc a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border: 1px solid var(--navy-100); border-radius: var(--radius-sm); font-size: var(--fs-body2); line-height: var(--lh-body2); }
.kit-toc a:hover { border-color: var(--purple-300); background: var(--purple-100); }
.kit-gap { overflow-x: auto; margin-block-start: 40px; border: 1px solid var(--navy-100); border-radius: var(--radius-lg); }
.kit-gap table { width: 100%; min-width: 720px; font-size: var(--fs-body2); line-height: var(--lh-body2); }
.kit-gap th, .kit-gap td { padding: 12px 16px; border-block-end: 1px solid var(--navy-100); text-align: start; vertical-align: top; }
.kit-gap th { background: #F7F8F8; color: var(--navy-500); font-weight: 600; }
.kit-gap tr:last-child td { border-block-end: 0; }
.kit-gap code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 12px; direction: ltr; unicode-bidi: isolate; }
.kit-section { padding-block-start: 96px; scroll-margin-top: 24px; }
.kit-section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-block-end: 16px; margin-block-end: 32px; border-block-end: 1px solid var(--navy-100); }
.kit-section__title { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 700; }
.kit-section__title code { color: var(--purple-600); font-family: var(--font-en); font-weight: 600; }
.kit-section__axes { color: var(--text-tertiary); font-size: var(--fs-body2); line-height: var(--lh-body2); }
.kit-note { margin-block: -16px 24px; color: var(--text-secondary); font-size: var(--fs-body2); line-height: 1.7; }
.kit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--min, 260px), 1fr)); gap: 24px; }
.specimen { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.specimen__label { color: var(--text-tertiary); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 12px; line-height: 1.4; direction: ltr; text-align: start; unicode-bidi: plaintext; }
.specimen__stage { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; min-width: 0; padding: 24px; border: 1px dashed var(--navy-200); border-radius: var(--radius-lg); background: #FBFBFC; }
.specimen__stage--dark { border-color: var(--navy-500); background: var(--navy-600); color: var(--white); }
.specimen__stage--block { display: block; }
.frames { display: flex; align-items: flex-start; gap: 16px; }
.frames + .frames { margin-block-start: 24px; }
.frame { display: flex; flex: var(--w) 1 0%; flex-direction: column; gap: 8px; min-width: 0; margin: 0; }
.frame figcaption { color: var(--text-tertiary); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 12px; }
.frame__viewport { position: relative; overflow: hidden; aspect-ratio: var(--w) / var(--h); border: 1px solid var(--navy-100); border-radius: var(--radius-sm); background: var(--white); direction: ltr; }
.frame__viewport iframe { position: absolute; top: 0; left: 0; width: calc(var(--w) * 1px); height: calc(var(--h) * 1px); border: 0; transform: scale(var(--s, 0.25)); transform-origin: 0 0; }
.frame__open { align-self: flex-start; color: var(--purple-600); font-size: 12px; text-decoration: underline; }
@media (max-width: 1023.98px) {
  .frames { flex-direction: column; }
  .frame { flex: none; width: min(100%, calc(var(--w) * 1px)); }
  .kit-section { padding-block-start: 64px; }
  .kit-section__title { font-size: var(--fs-h5); line-height: var(--lh-h5); }
}

/* Specimen pages render one component alone inside an iframe */
.specimen-page { min-height: 100vh; }
.specimen-page--center { display: grid; place-items: center; padding: 24px; background: #EEF0F2; }
.specimen-page .modal { position: absolute; }

/* ── Template hub (root index) ── */
.hub { min-height: 100vh; padding-block: 64px; background: var(--navy-600); color: var(--white); }
.hub__head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.hub__head img { width: 125px; height: 48px; }
.hub__title { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 700; }
.hub__lead { color: var(--navy-200); font-size: var(--fs-body1); line-height: 1.7; }
.hub__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-block-start: 48px; }
.hub__card { padding: 24px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.04); }
.hub__card h2 { margin-block-end: 16px; font-size: var(--fs-h5); line-height: var(--lh-h5); }
.hub__card ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 0; padding: 0; list-style: none; }
.hub__card a { display: block; padding: 8px 0; border-block-end: 1px solid rgba(255, 255, 255, 0.08); color: var(--white); font-size: var(--fs-body2); }
.hub__card a:hover { color: var(--purple-300); }
.hub__meta { margin-block-start: 40px; color: var(--navy-300); font-size: 12px; line-height: 1.7; }
@media (max-width: 767.98px) {
  .hub__grid, .hub__card ul { grid-template-columns: minmax(0, 1fr); }
  .hub__title { font-size: var(--fs-h4); line-height: var(--lh-h4); }
}

/* Site 2026 — what the new content and the Laftah seal need on top of Ahmed's components.
   Ahmed's spacing, radii, type scale and breakpoints are reused as they are. */

/* Logos: the seal lockups keep their own proportions (Ahmed's boxes were sized for a 125×48 wordmark). */
.site-header__logo img, .drawer__top img.drawer__logo { width: auto; }
.drawer__top img.drawer__logo { height: 36px; }
.footer-brand__id img.footer-brand__logo { width: auto; height: 64px; }

/* Hero: eyebrow line, and the seal (one colour, untouched) where the robot picture was. */
.hero__eyebrow { margin-block-end: 16px; font-size: var(--fs-body1); line-height: var(--lh-body1); font-weight: 600; color: var(--purple-300); }
.hero__media--seal { align-self: center; justify-self: center; width: min(460px, 100%); margin: 0; padding-block: 160px 64px; }
.hero__media--seal img { width: 100%; height: auto; }

/* Field + Arabic: two text columns under section heads. */
.home-field { padding-block: var(--section-gap) 0; }
.home-field__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.home-field__item .section-head { margin-block-end: 24px; }
.home-field__item { border-inline-start: 4px solid var(--purple-600); padding-inline-start: 24px; }  /* the alif as a recurring vertical stroke */
.home-field__text { color: var(--text-secondary); font-size: var(--fs-h6); line-height: 1.8; }
.home-field__text + .home-field__text { margin-block-start: 16px; }

/* BiQalam card: Ahmed's teaser in BiQalam's own colours, no features list or sign-up form. */
.home-teaser { margin-block-start: var(--section-gap); }
.teaser--product { background: var(--biqalam); color: var(--text-primary); }
.teaser--product .teaser__logo { width: auto; height: 64px; }
.teaser--product .btn--primary { --btn-bg: var(--text-primary); --btn-border: var(--text-primary); --btn-fg: var(--white); }
.teaser--product .teaser__cta { margin-block-start: 32px; }

/* Partnership invitation. */
.home-invite { margin-block-start: var(--section-gap); }
.home-invite__box { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px 40px; border-radius: var(--radius-xl); background: var(--purple-100); }
.home-invite__title { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 700; }
.home-invite__lead { margin-block-start: 12px; max-width: 760px; color: var(--text-secondary); font-size: var(--fs-h6); line-height: 1.8; }

/* Measured result band (owner 28/10): petrol surface, three figures, one exact-match example line. */
.home-proof { padding-block: 72px; background: var(--purple-600); color: var(--white); }
.home-proof__title { font-size: var(--fs-h3); line-height: 1.4; font-weight: 700; }
.home-proof__lead { margin-block: 12px 32px; max-width: 900px; font-size: var(--fs-h6); line-height: 1.8; color: rgba(255, 255, 255, 0.9); }
.home-proof__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0 0 32px; padding: 0; list-style: none; }
.home-proof__stat { padding: 24px; border-radius: var(--radius-xl); background: rgba(11, 31, 42, 0.35); }
.home-proof__stat b { display: block; font-family: var(--font-display); font-size: var(--fs-h1); line-height: 1.2; }
.home-proof__stat span { font-size: var(--fs-h6); line-height: 1.6; color: rgba(255, 255, 255, 0.9); }
.home-proof__example { margin: 0; padding: 20px; border-radius: var(--radius-xl); background: var(--paper); color: var(--text-primary); }
.home-proof__example img { display: block; width: 100%; height: auto; border-radius: var(--radius-md); background: var(--white); }
.home-proof__example figcaption { display: flex; flex-direction: column; gap: 8px; margin-block-start: 16px; }
.home-proof__label { font-size: var(--fs-body1); color: var(--text-secondary); }
.home-proof__text { font-size: var(--fs-h5); line-height: 2; }
.home-proof__source { font-size: var(--fs-body1); line-height: 1.7; color: var(--text-secondary); }
.home-proof__note { margin-block-start: 24px; font-size: var(--fs-h6); line-height: 1.8; color: rgba(255, 255, 255, 0.92); }

/* Founder on the home page (owner 28/10). */
.home-founder { margin-block-start: var(--section-gap); }
.home-founder__box { display: flex; align-items: center; gap: 32px; padding: 40px; border-radius: var(--radius-xl); background: var(--paper); }
.home-founder__photo { flex: none; width: 140px; height: 140px; border-radius: 50%; object-fit: cover; object-position: 50% 28%; }
.home-founder__title { font-size: var(--fs-h4); line-height: 1.4; font-weight: 700; }
.home-founder__name { margin-block-start: 4px; font-size: var(--fs-h5); line-height: 1.5; font-weight: 600; }
.home-founder__bio { margin-block: 8px; max-width: 760px; font-size: var(--fs-h6); line-height: 1.8; color: var(--text-secondary); }
.home-founder__link { font-weight: 600; color: var(--purple-600); }
.founder-card__photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: 50% 28%; border: 3px solid rgba(255, 255, 255, 0.4); }

/* Incubators and investors block: the partnership invitation box on ink (owner 28/10). */
.home-invite--investors { margin-block-end: var(--section-gap); }
.home-invite--investors .home-invite__box { background: var(--navy-600); color: var(--white); }
.home-invite--investors .home-invite__title { line-height: 1.4; }
.home-invite--investors .home-invite__lead { color: rgba(255, 255, 255, 0.85); }

/* Footer: Ahmed's card without the photo, plus the registered-entities block. */
.footer-card--plain { min-height: 0; margin-block-start: 0; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); }
.footer-brand__about { font-size: var(--fs-body1); line-height: 1.8; color: rgba(255, 255, 255, 0.78); }
.footer-entities { margin-block-start: 40px; padding-block-start: 32px; border-block-start: 1px solid rgba(255, 255, 255, 0.12); }
.footer-entities ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 20px 0 0; padding: 0; list-style: none; }
.footer-entities li { font-size: var(--fs-body2); line-height: 1.8; color: rgba(255, 255, 255, 0.78); }
.footer-entities b { display: block; margin-block-end: 4px; font-size: var(--fs-body1); color: var(--white); }
.footer-entities [dir="ltr"] { display: block; text-align: start; }

@media (max-width: 1119.98px) {
  .site-header__logo .logo-white { height: 36px; }
}
@media (max-width: 1023.98px) {
  /* Ahmed hid the card below desktop and showed a CTA block + inline links instead; the new footer keeps the card. */
  .footer-card--plain { display: block; padding: 32px 24px; }
  .footer-card--plain .footer-card__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .footer-card--plain .footer-brand { display: flex; grid-column: 1 / -1; }
  .hero__media--seal { padding-block: 96px 32px; width: min(360px, 80%); }
  .home-field__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-entities ul { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .footer-card--plain { padding: 24px 16px; border-radius: var(--radius-lg); }
  .footer-card--plain .footer-brand { display: flex; }
  .footer-card--plain .footer-col:last-child { grid-column: 1 / -1; }
  .footer-contact__email { overflow-wrap: normal; }
  .home-invite__box { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .home-proof { padding-block: 48px; }
  .home-proof__stats { grid-template-columns: 1fr; gap: 12px; }
  .home-proof__example { padding: 12px; }
  .home-founder__box { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .btn { white-space: normal; text-align: center; }
  .teaser--product .teaser__logo { height: 44px; }
}

/* About: seal in Ahmed's art slot; the founder takes his products panel (petrol, white text). */
.about-intro__art--seal { width: 420px; }
.vision-card { justify-content: center; padding-block: 56px; }
.founder-card { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 56px 40px; border-radius: var(--radius-xl); background: var(--purple-600); color: var(--white); }
.founder-card__title { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 700; }
.founder-card__name { font-size: var(--fs-h5); line-height: var(--lh-h5); font-weight: 600; }
.founder-card__bio { max-width: 560px; font-size: var(--fs-h6); line-height: 1.8; }
.about-commit .commit-grid, .commit-grid--plain { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.commit__desc { font-size: var(--fs-body1); line-height: 1.8; }

/* Intro head under the page hero (products, partners). */
.products-intro { padding-block: 80px 48px; }
.product-list .teaser__desc + .teaser__desc { margin-block-start: 12px; }

/* Approach: Ahmed's dark steps block without the 25+ figure; the 80% target as a goal, never a result. */
.how--approach .how__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-areas: "art steps"; align-items: start; }
.how--approach .how__art { grid-area: art; position: sticky; top: 120px; }
.how--approach .how__art img { width: min(420px, 100%); height: auto; }
.how--approach .steps { grid-area: steps; }
.target { display: flex; align-items: baseline; gap: 12px; margin-block: 8px 4px; }
.target__verb { font-size: var(--fs-h5); font-weight: 600; color: var(--purple-300); }
.target__value { font-family: var(--font-display); font-size: var(--fs-h1); line-height: 1.2; color: var(--white); }

/* Contact: two cards, intro heading, note under the message, seal in the side panel. */
.contact-intro__block { text-align: center; }
.contact-intro__title { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 700; }
.contact-intro__block .contact-intro__text { margin-block-start: 16px; font-size: var(--fs-h6); line-height: 1.8; font-weight: 400; color: var(--text-secondary); }
.contact-cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin-inline: auto; }
.contact-main { margin-block-start: 80px; }
.form__note { margin-block-start: -4px; color: var(--text-tertiary); font-size: var(--fs-body2); line-height: var(--lh-body2); }
.contact-panel { justify-content: center; min-height: 0; padding: 56px 40px; }
.contact-panel__seal { width: min(100%, 360px) !important; margin-block: 32px 0 !important; }
.modal__status .btn { margin-block-start: 24px; }

/* Legal: the placeholder notice stays visible until the company supplies the approved text. */
.legal__placeholder { margin-block-end: 32px; padding: 16px 20px; border-radius: var(--radius-md); background: var(--warning-50); border-inline-start: 4px solid var(--warning-500); font-size: var(--fs-body1); line-height: 1.8; }

@media (max-width: 1023.98px) {
  .about-intro__art--seal { width: min(320px, 70%); }
  .about-commit .commit-grid, .commit-grid--plain { grid-template-columns: 1fr; }
  .how--approach .how__inner { grid-template-columns: 1fr; grid-template-areas: "art" "steps"; }
  .how--approach .how__art { position: static; justify-self: center; }
  .how--approach .how__art img { width: min(280px, 70%); }
  .contact-cards--two { grid-template-columns: 1fr; }
  .founder-card { padding: 40px 24px; }
}

/* 404: no dark hero under the header, so the page clears it. */
.error-page { padding-block: 140px 40px; }
@media (max-width: 1023.98px) { .contact-panel { order: 2; } .contact-form { order: 1; } }

.legal__updated { margin-block-end: 24px; color: var(--text-secondary); }
.legal__table { overflow-x: auto; margin-block: 16px; }
.legal__table table { width: 100%; border-collapse: collapse; font-size: var(--fs-body1); line-height: 1.7; }
.legal__table th { text-align: start; padding: 10px 14px; background: var(--purple-100); border-block-end: 2px solid var(--purple-600); }
.legal__table td { padding: 10px 14px; border-block-end: 1px solid var(--navy-100); }

.footer-brand__id { align-items: flex-start; }

/* Contact: one card (e-mail) — no address details on the site (owner 23/10). */
.contact-cards--one { grid-template-columns: minmax(0, 420px); justify-content: center; }

/* ───────────── Spacing rhythm (owner 28/10: «المسافات بشكل أكثر احترافية») ─────────────
   One rule for every page: sections sit exactly one --section-gap apart (120 / 80 / 56 px),
   a section's own heading sits 48px above its content, and the dark heroes are only as tall
   as their content plus clearance for the floating header. */

/* Inner-page hero: a title band, not a 400px block; the template's sparkle stars removed. */
.page-hero__inner { min-height: 0; padding-block: 152px 64px; }
.page-hero__sparkle { display: none; }

/* Home hero: same clearance under the header, no fixed 871px height. */
.hero__inner { min-height: 0; }
.hero__content { padding-block: 184px 96px; }
.hero__media--seal { padding-block: 152px 72px; }

/* Content right after any hero: one section gap (About and the intro heads used 80px). */
.about-intro, .products-intro { padding-block-start: var(--section-gap); }

/* About and Partnerships: 220px + 100px around the commitments grid → one section gap. */
.about-commit { padding-block: var(--section-gap) 0; }

/* A section head and its own content belong together: 48px, not a full section gap. */
.products-intro { padding-block-end: 0; }   /* the section head already has 48px below it */
.products-intro + .about-commit { padding-block-start: 0; }

/* About: the purpose/founder cards had an extra 80px on top of the section gap (no map above them any more). */
.about-geo { padding-block-start: var(--section-gap); }
.about-geo > .container > .about-pv:first-child { margin-block-start: 0; }

/* Contact: same gap under the hero as every other page. */
.contact-intro { padding-block-start: var(--section-gap); }

/* Approach: the steps started flush against the hero; give them the same gap as everywhere else. */
.how--approach .how__inner { padding-block: var(--section-gap); }
.how--approach .how__art { top: 140px; }

/* Last block before the footer: the footer's own margin is the one gap (it was 120 + collapse to 150). */
.home-invite--investors { margin-block-end: 0; }
.site-footer, .page-home .site-footer { margin-block-start: var(--section-gap); }   /* home had 150px */

@media (max-width: 1023.98px) {
  .page-hero__inner { padding-block: 112px 40px; }
  .hero__content { padding-block: 0; }
  .hero__media--seal { padding-block: 112px 24px; }
}

/* Illustrations in place of the seal (owner 28/10): home hero, Approach, About. The seal stays in Contact and the footer. */
.hero__media--art { align-self: center; justify-self: center; width: min(560px, 100%); margin: 0; padding-block: 152px 72px; }
.hero__media--art img { width: 100%; height: auto; display: block; }
.how--approach .how__art img { width: min(460px, 100%); }
.about-intro__art--tree { width: min(580px, 100%); height: auto; }
@media (max-width: 1023.98px) {
  .hero__media--art { padding-block: 112px 16px; width: min(440px, 92%); }
  .how--approach .how__art img { width: min(380px, 90%); }
  .about-intro__art--tree { width: min(380px, 90%); }
}
@media (max-width: 767.98px) {
  /* the template hid this slot on phones (it held the decorative seal); the illustration explains the section, so it shows, after the steps */
  .how--approach .how__art { display: block; justify-self: stretch; text-align: center; }
  .how--approach .how__inner { grid-template-areas: "steps" "art"; row-gap: 32px; }
}

/* ───────────── «١٠ من ١٠» (owner 28/10): status strip, comparison line, evaluation, BiQalam detail, contact panel ───────────── */
.home-status { margin-block-start: var(--section-gap); }
.home-status__title { font-size: var(--fs-h3); line-height: 1.4; font-weight: 700; margin-block-end: 24px; }
.home-status__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.home-status__item { padding: 28px; border-radius: var(--radius-xl); background: var(--paper); border-block-start: 6px solid var(--purple-600); }
.home-status__item--2 { border-block-start-color: var(--biqalam); }
.home-status__item--3 { border-block-start-color: var(--navy-300); }
.home-status__item b { display: block; font-family: var(--font-display); font-size: var(--fs-h4); margin-block-end: 10px; }
.home-status__item p { font-size: var(--fs-h6); line-height: 1.8; color: var(--text-secondary); }
.home-proof__compare { margin-block-start: 20px; font-size: var(--fs-h6); line-height: 1.8; color: rgba(255, 255, 255, 0.92); }
.home-proof__compare a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.home-invite__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-invite--investors .btn--outline { --btn-fg: var(--white); --btn-border: rgba(255, 255, 255, 0.6); --btn-bg: transparent; }

.evaluation { padding-block: var(--section-gap) 0; scroll-margin-top: 120px; }
.evaluation__title { font-size: var(--fs-h3); line-height: 1.4; font-weight: 700; }
.evaluation__intro { margin-block: 12px 32px; max-width: 900px; font-size: var(--fs-h6); line-height: 1.8; color: var(--text-secondary); }
.evaluation__points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0 0 48px; }
.evaluation__point { padding: 24px; border-radius: var(--radius-xl); background: var(--paper); }
.evaluation__point dt { font-weight: 700; font-size: var(--fs-h5); margin-block-end: 8px; color: var(--purple-600); }
.evaluation__point dd { margin: 0; font-size: var(--fs-body1); line-height: 1.85; color: var(--text-secondary); }
.evaluation__sub { font-size: var(--fs-h4); line-height: 1.4; font-weight: 700; margin-block: 0 16px; }
.evaluation__table { overflow-x: auto; }
.evaluation__table table { width: 100%; border-collapse: collapse; font-size: var(--fs-h6); }
.evaluation__table th, .evaluation__table td { padding: 14px 16px; text-align: start; border-block-end: 1px solid var(--navy-100); }
.evaluation__table thead th { background: var(--purple-100); border-block-end: 2px solid var(--purple-600); font-weight: 700; }
.evaluation__table tr.is-ours { background: rgba(11, 110, 127, 0.06); font-weight: 700; }
.evaluation__note { margin-block: 12px 48px; font-size: var(--fs-body1); line-height: 1.8; color: var(--text-secondary); }
.evaluation__errors { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.evaluation__errors li { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding: 16px 20px; border-radius: var(--radius-lg); background: var(--paper); }
.evaluation__errors span { display: flex; flex-direction: column; gap: 4px; }
.evaluation__errors small { font-size: var(--fs-body2); color: var(--text-secondary); }
@font-face { font-family: "Amiri Quran"; src: url("../fonts/AmiriQuran-subset.woff2") format("woff2"); font-display: swap; }  /* OFL; subset for the error examples */
.evaluation__errors b { font-family: "Amiri Quran", serif; font-size: 28px; font-weight: 400; line-height: 1.6; }
.evaluation__errors em { font-style: normal; color: var(--text-secondary); }

.bq-detail { padding-block: 48px 0; }
.bq-detail__shots { margin: 0 0 48px; text-align: center; }
.bq-detail__shots img { width: 100%; max-width: 1100px; height: auto; }
.bq-detail__shots figcaption { margin-block-start: 8px; font-size: var(--fs-body1); color: var(--text-secondary); }
.bq-detail__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.bq-detail__block, .bq-detail__status { padding: 32px; border-radius: var(--radius-xl); background: var(--paper); }
.bq-detail__status { margin-block-start: 32px; border-inline-start: 6px solid var(--biqalam); }
.bq-detail__title { font-size: var(--fs-h4); line-height: 1.4; font-weight: 700; margin-block-end: 16px; }
.bq-detail__title--gap { margin-block-start: 28px; }
.bq-detail__list, .bq-detail__status ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.bq-detail__list li { padding-inline-start: 20px; position: relative; font-size: var(--fs-h6); line-height: 1.8; }
.bq-detail__list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.75em; width: 8px; height: 8px; border-radius: 50%; background: var(--biqalam); }
.bq-detail__steps { margin: 0; padding-inline-start: 24px; display: grid; gap: 8px; font-size: var(--fs-h6); line-height: 1.8; }
.bq-detail__text, .bq-detail__status li { font-size: var(--fs-h6); line-height: 1.8; }
.bq-detail__status b { color: var(--purple-600); }

.founder-card__owners { margin-block-start: 8px; font-size: var(--fs-body1); line-height: 1.8; color: rgba(255, 255, 255, 0.85); }
.contact-panel__seal--small { width: 96px !important; margin-block: 0 24px !important; }
.contact-panel__text { margin-block-start: 20px; font-size: var(--fs-h6); line-height: 1.8; color: rgba(255, 255, 255, 0.88); }

@media (max-width: 1023.98px) {
  .home-status__list, .evaluation__points, .bq-detail__grid { grid-template-columns: 1fr; }
}
.bq-chain { margin-block-start: 32px; }
.bq-chain__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: chain; }
.bq-chain__list li { position: relative; padding: 24px 20px; border-radius: var(--radius-xl); background: var(--paper); border-block-start: 6px solid var(--purple-600); }
.bq-chain__list li b { display: block; font-size: var(--fs-h5); margin-block-end: 8px; }
.bq-chain__list li p { font-size: var(--fs-body1); line-height: 1.8; color: var(--text-secondary); margin-block-end: 12px; }
.bq-chain__state { display: inline-block; font-size: var(--fs-body2); font-weight: 600; border-radius: 999px; padding: 4px 12px; background: var(--purple-100); color: var(--purple-600); }
.bq-detail__status--plan { border-inline-start-color: var(--purple-600); }
@media (max-width: 1023.98px) { .bq-chain__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767.98px) { .bq-chain__list { grid-template-columns: 1fr; } }

/* owner 28/10 (image review): new AI-assisted art — wider hero, taller approach art, 404 picture */
.hero__media--art { width: min(620px, 100%); }
.error-block__art { width: min(420px, 100%); }


/* owner 28/10 («راجع التنسيق و الفراغات»): tablets (768–1023px) — hero stacks, approach keeps two columns, step text uses the full width */
@media (max-width: 1023.98px) {
  .how--approach .step__desc { max-width: none; }
  .hero__inner:has(.hero__media--art) { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-block: 88px 56px; }
  .hero__media--art { order: -1; padding-block: 24px 0; width: min(560px, 100%); justify-self: center; }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  .how--approach .how__inner { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); grid-template-areas: "art steps"; column-gap: 40px; row-gap: 0; }
  .how--approach .how__art { position: sticky; top: 96px; justify-self: stretch; }
  .how--approach .how__art img { width: 100%; }
}

.form__turnstile { min-height: 65px; }

/* Site content 30/11/2026: the new six pages on the page colour (paper #F4F6F5).
   Every picture has the paper (or ink) background baked in, so it sits on the page with no frame,
   no radius and no shadow. Thuluth words are live text laid over the pictures, positioned in % of
   the picture box and sized in cqw (1376px-wide originals → 1cqw = 13.76 source px). */

@font-face {
  font-family: "DecoType Thuluth II";
  src: url("../fonts/DecoTypeThuluthII-subset.woff2") format("woff2");
  font-display: swap;
}

body { background: var(--paper); }

/* Header: the white floating bar on every breakpoint (pages are light now). */
@media (max-width: 1119.98px) {
  .site-header__bar { min-height: 56px; padding: 8px 16px; border-radius: var(--radius-sm); background: var(--white); box-shadow: var(--shadow-xs); }
  .site-header__logo .logo-color { display: block; width: auto; height: 36px; }
  .site-header__logo .logo-white { display: none; }
}

/* ── Shared pieces ── */
.sec-title { font-size: var(--fs-h3); line-height: 1.4; margin-block-end: 32px; color: var(--text-primary); }
.btn--ghost { --btn-bg: transparent; --btn-border: var(--purple-600); --btn-fg: var(--purple-600); }
.btn--ghost:hover { --btn-bg: var(--purple-100); }

/* Pictures with live words: the box keeps the picture's ratio; words are placed in % of it. */
.layered { position: relative; margin: 0; container-type: inline-size; }
.layered > img, .pillar__media img, .pitem__media img, .gain__media img, .phead__media img { display: block; width: 100%; height: auto; }
.tw { position: absolute; font-family: "DecoType Thuluth II", serif; font-weight: 400; line-height: 1; white-space: nowrap; pointer-events: none; user-select: none; }
/* home hero (home-hero-layers.html): right/left kept physical — the picture is never mirrored */
.tw--hero-alef { font-size: 13.808cqw; color: #0B6E7F; opacity: .16; top: 5.208%; right: 5.087%; }
.tw--hero-a1 { font-size: 6.105cqw; color: #B08D3C; opacity: .42; top: 39.063%; right: 7.994%; }
.tw--hero-a2 { font-size: 5.087cqw; color: #0B6E7F; opacity: .30; top: 67.708%; right: 10.901%; }
.tw--hero-a3 { font-size: 6.105cqw; color: #0B6E7F; opacity: .30; top: 15.625%; left: 7.994%; }
.tw--hero-a4 { font-size: 5.087cqw; color: #B08D3C; opacity: .42; top: 55.990%; left: 6.541%; }
/* «العربية» on the banner (home-arabic-first-layers.html) */
.tw--banner { left: 34.738%; top: 12.370%; width: 9.302%; height: 26.042%; display: flex; align-items: center; justify-content: center;
  font-size: 3.488cqw; color: #D8B860; text-shadow: 0 1px 1px rgba(0, 0, 0, .25); }
/* «الألف الرقمية» behind pillar 1 (tech-pillar1-layers.html) */
.tw--pillar1 { left: 6.541%; top: 22.135%; font-size: 9.448cqw; color: #0B6E7F; opacity: .22; }

/* ── Inner-page header: label, h1, intro + header picture on the other side ── */
.phead__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 32px; padding-block: 160px 24px; }
.phead--plain .phead__inner { grid-template-columns: minmax(0, 1fr); padding-block-end: 0; }
.phead--plain .phead__text { max-width: 820px; }
.phead__label { display: inline-block; margin-block-end: 16px; padding: 4px 14px; border-radius: var(--radius-full); background: var(--purple-100); color: var(--purple-600); font-size: var(--fs-body1); font-weight: 600; }
.phead__title { font-size: var(--fs-h1); line-height: 1.35; color: var(--text-primary); }
.phead__intro { margin-block-start: 20px; font-size: var(--fs-h6); line-height: 1.9; color: var(--text-secondary); }
.phead__media { margin: 0; }

/* ── Home ── */
.hhero__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 24px; padding-block: 168px 16px; }
.hhero__title { font-size: 56px; line-height: 1.3; color: var(--text-primary); margin-block-end: 24px; }
.hhero__line { font-size: var(--fs-h6); line-height: 1.9; color: var(--text-secondary); }
.hhero__line:first-of-type { font-size: var(--fs-h5); color: var(--text-primary); font-weight: 500; margin-block-end: 8px; }
.hhero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 32px; }

.harabic { padding-block: var(--section-gap) 0; }
.harabic__text { max-width: 860px; margin-inline: auto; text-align: center; }
.harabic__title { font-size: var(--fs-h2); line-height: 1.4; }
.harabic__body { margin-block-start: 16px; font-size: var(--fs-h6); line-height: 1.9; color: var(--text-secondary); }
.harabic__media { margin-block-start: 16px; }

.hcards { padding-block: var(--section-gap) 0; }
.hcards__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.hcard { position: relative; overflow: hidden; display: flex; min-height: 500px; background: var(--paper); border: 1px solid var(--purple-200); border-radius: var(--radius-lg); isolation: isolate; }
.hcard__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
[dir="ltr"] .hcard__bg { transform: scaleX(-1); }   /* ornament to the corner opposite the start of the text */
.hcard__body { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: 82%; margin-block-start: auto; margin-inline-end: auto; padding: 200px 28px 28px; }
.hcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--paper) 42%, rgba(244, 246, 245, 0) 72%); }
.hcard__title { font-size: var(--fs-h4); line-height: 1.4; font-weight: 700; color: var(--text-primary); }
.hcard__text { font-size: var(--fs-body1); line-height: 1.9; color: var(--text-secondary); }
.hcard__cta { margin-block-start: 8px; margin-inline-start: -17px; }

.hclose { position: relative; overflow: hidden; isolation: isolate; margin-block-start: var(--section-gap); background: var(--navy-600); color: var(--white); }
.hclose__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.hclose::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(closest-side, rgba(11, 31, 42, .82), rgba(11, 31, 42, .35)); }
.hclose .btn--outline { --btn-border: rgba(255, 255, 255, .7); --btn-fg: var(--white); }
.hclose__inner { padding-block: 120px; text-align: center; }
.hclose__title { font-size: var(--fs-h1); line-height: 1.4; }
.hclose__text { max-width: 720px; margin: 16px auto 0; font-size: var(--fs-h6); line-height: 1.9; color: rgba(255, 255, 255, .88); }
.hclose__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-block-start: 32px; }

/* ── Technologies ── */
.glance { padding-block: 48px 0; }
.glance__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.glance__card { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px 20px; border-radius: var(--radius-lg); background: var(--white); border-block-start: 4px solid var(--purple-600); transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.glance__card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.glance__card:focus-visible { outline: none; box-shadow: var(--ring); }
.glance__num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--purple-600); color: var(--white); font-weight: 700; }
.glance__name { font-size: var(--fs-h6); line-height: 1.5; font-weight: 700; }
.glance__summary { font-size: var(--fs-body2); line-height: 1.9; color: var(--text-secondary); }

.pillars { padding-block: 40px 0; }
.pillar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 48px; padding-block: 48px; scroll-margin-top: 120px; }
.pillar--flip .pillar__text { order: 2; }
.pillar__title { display: flex; align-items: center; gap: 12px; font-size: var(--fs-h3); line-height: 1.4; font-weight: 700; margin-block-end: 16px; }
.pillar__num { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--purple-100); color: var(--purple-600); font-size: var(--fs-h6); }
.pillar__para { font-size: var(--fs-h6); line-height: 1.95; color: var(--text-secondary); }
.pillar__para + .pillar__para { margin-block-start: 14px; }
.pillar__media { margin: 0; }

/* Closing band (inner pages) */
.pclose { padding-block: var(--section-gap) 0; }
.pclose__box { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 48px 32px; border-radius: var(--radius-xl); background: var(--purple-100) url('../img/site/box-ornament-lattice.webp') center / cover no-repeat; background-image: image-set(url('../img/site/box-ornament-lattice.webp') 1x, url('../img/site/box-ornament-lattice-2x.webp') 2x); text-align: center; }
.pclose__text { max-width: 760px; font-size: var(--fs-h5); line-height: 1.8; font-weight: 500; }
.pclose__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ── Platforms ── */
.pitems { padding-block: 48px 0; }
.pitems__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.pitem { padding: 28px; border-radius: var(--radius-lg); background: var(--white); }
.pitem--media { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: 32px; padding: 0 28px 0 0; background: var(--paper); border: 1px solid var(--purple-200); overflow: hidden; }
[dir="rtl"] .pitem--media { padding: 0 28px 0 0; }
[dir="ltr"] .pitem--media { padding: 0 0 0 28px; }
.pitem--media .pitem__text { padding-block: 28px; }
.pitem__num { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-block-end: 12px; border-radius: 50%; background: var(--purple-600); color: var(--white); font-weight: 700; }
.pitem__title { font-size: var(--fs-h5); line-height: 1.5; font-weight: 700; margin-block-end: 8px; }
.pitem__body { font-size: var(--fs-body1); line-height: 1.9; color: var(--text-secondary); }
.pitem__media { margin: 0; }
.pitems__list .pitem:first-child { grid-column: 1 / -1; }

.bqcard-wrap { padding-block: var(--section-gap) 0; }
.bqcard { display: flex; flex-direction: column; align-items: center; gap: 32px; padding: 56px 32px; border-radius: var(--radius-xl); background: var(--white); border-block-start: 6px solid var(--biqalam); }
.bqcard__logo { width: min(440px, 100%); height: auto; }

/* ── Organizations & Businesses ── */
.gains { padding-block: 48px 0; }
.gains__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.gain { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--purple-200); }
.gain__body { padding: 28px; }
.gain__num { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-block-end: 12px; border-radius: 50%; background: var(--purple-600); color: var(--white); font-weight: 700; }
.gain__title { font-size: var(--fs-h5); line-height: 1.5; font-weight: 700; margin-block-end: 8px; }
.gain__text { font-size: var(--fs-body1); line-height: 1.9; color: var(--text-secondary); }
.gain__media { margin: 0; }
.gain--media { grid-row: span 2; }
.gain--media .gain__body { order: -1; }
.gain--ornament { justify-content: center; min-height: 320px; }
.gain__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
[dir="ltr"] .gain__bg { transform: scaleX(-1); }
.gain--ornament .gain__body { width: 56%; margin-inline-end: auto; }
[dir="rtl"] .gain--ornament .gain__body { margin-inline-end: auto; }

.icta { padding-block: var(--section-gap) 0; }
.icta__box { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 56px 32px; border-radius: var(--radius-xl); background: var(--purple-600) url('../img/site/box-ornament-lattice-teal.webp') center / cover no-repeat; background-image: image-set(url('../img/site/box-ornament-lattice-teal.webp') 1x, url('../img/site/box-ornament-lattice-teal-2x.webp') 2x); color: var(--white); text-align: center; }
.icta__title { font-size: var(--fs-h2); line-height: 1.4; }
.icta__text { max-width: 720px; font-size: var(--fs-h6); line-height: 1.9; color: rgba(255, 255, 255, .9); }
.icta__box .btn { margin-block-start: 8px; }
.icta__line { font-size: var(--fs-body1); color: rgba(255, 255, 255, .88); }
.icta__line a { color: var(--white); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* ── About ── */
.founder { padding-block: 80px 0; }
.founder__box { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: center; gap: 40px; padding: 40px; border-radius: var(--radius-xl); background: var(--white); }
.founder__photo { width: 240px; height: 240px; object-fit: cover; object-position: 50% 22%; border-radius: var(--radius-md); }
.founder__box .sec-title { margin-block-end: 12px; }
.founder__name { font-size: var(--fs-h5); line-height: 1.5; font-weight: 700; }
.founder__role { font-weight: 500; color: var(--purple-600); }
.founder__bio { margin-block-start: 12px; font-size: var(--fs-h6); line-height: 1.9; color: var(--text-secondary); }
.entities { padding-block: var(--section-gap) 0; }
.entities .sec-title { margin-block-end: 8px; }
.entities__intro { font-size: var(--fs-h6); line-height: 1.8; color: var(--text-secondary); margin-block-end: 24px; }
.entities__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.entity { display: flex; flex-direction: column; gap: 6px; padding: 28px; border: 1px solid var(--purple-600); border-radius: var(--radius-md); background: var(--paper); }
.entity__country { font-size: var(--fs-h5); line-height: 1.5; font-weight: 700; }
.entity__note { align-self: flex-start; padding: 2px 10px; border-radius: var(--radius-full); background: var(--purple-100); color: var(--purple-600); font-size: var(--fs-body2); font-weight: 600; }
.entity__name { font-size: var(--fs-body1); line-height: 1.7; font-weight: 600; }
.entity__name[dir="ltr"] { text-align: start; }
html[dir="rtl"] .entity__name[dir="ltr"] { text-align: right; }
.entity__name--sub { font-size: var(--fs-body2); font-weight: 500; color: var(--text-secondary); }
.entity__place { font-size: var(--fs-body2); color: var(--text-secondary); }

/* ── Contact ── */
.contact-new { padding-block: 56px 0; }
.contact-new__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; gap: 40px; }
.contact-new__form { padding: 40px; border-radius: var(--radius-xl); background: var(--white); }
.contact-new__form .sec-title { margin-block-end: 24px; }
.contact-side { position: relative; overflow: hidden; padding: 40px 32px; border: 1px solid var(--purple-600); border-radius: var(--radius-lg); background: var(--paper); }
.contact-side__seal { position: absolute; inset-block-end: -16px; inset-inline-end: -16px; width: 140px; height: auto; opacity: .08; }
.contact-side__title { font-family: var(--font-ar); font-size: var(--fs-h6); font-weight: 700; margin-block-end: 8px; }
html[lang="en"] .contact-side__title { font-family: var(--font-en); }
.contact-side__mail { margin-block-end: 28px; font-size: var(--fs-h6); }
.contact-side__mail a { color: var(--purple-600); font-weight: 600; }
.contact-side__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: var(--fs-body1); line-height: 1.7; color: var(--text-secondary); }

/* Legal pages: light title band like every other page. */
.page-hero { background: var(--paper); color: var(--text-primary); text-align: start; }
.page-hero .hero__glow { display: none; }
.page-hero__inner { padding-block: 136px 24px; }
.page-hero__title { color: var(--text-primary); }

/* ── Footer (three blocks) ── */
.footer-card__grid--three { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 1.2fr); }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand__tagline { font-family: var(--font-display); font-size: var(--fs-h5); color: var(--white); }
.footer-entities-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.footer-entities-list a { display: flex; flex-direction: column; gap: 2px; color: rgba(255, 255, 255, .8); font-size: var(--fs-body2); line-height: 1.7; }
.footer-entities-list a:hover { color: var(--white); }
.footer-entities-list b { font-size: var(--fs-body1); color: var(--white); }
.footer-entities-list .is-sub { font-size: 12px; opacity: .85; }
html[dir="rtl"] .footer-entities-list [dir="ltr"] { text-align: right; }
.footer-entities-list__mail { display: flex; align-items: center; gap: 8px; }
.footer-entities-list__mail a { display: inline; font-size: var(--fs-body1); color: var(--white); }
.site-footer { margin-block-start: var(--section-gap); }

/* ── Tablet ── */
@media (max-width: 1023.98px) {
  .phead__inner, .hhero__inner { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-block: 104px 8px; }
  .phead__title { font-size: var(--fs-h2); }
  .hhero__title { font-size: 40px; }
  .hcards__list { grid-template-columns: minmax(0, 1fr); }
  .hcard { min-height: 0; }
  .hcard__body { padding-block-start: 180px; }
  .glance__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar, .pitem--media { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pillar--flip .pillar__text { order: 0; }
  .pillar__media, .pitem__media { order: -1; }
  [dir] .pitem--media { padding: 0; }
  .pitem--media .pitem__text { padding: 0 28px 28px; }
  .gains__list, .entities__list { grid-template-columns: minmax(0, 1fr); }
  .gain--media { grid-row: auto; }
  .gain--ornament .gain__body { width: auto; }
  .gain--ornament .gain__bg { opacity: .35; }
  .contact-new__grid { grid-template-columns: minmax(0, 1fr); }
  .footer-card--plain .footer-card__grid--three { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-card--plain .footer-card__grid--three .footer-brand { grid-column: 1 / -1; flex-direction: column; }
  .page-hero__inner { padding-block: 104px 16px; }
}

/* ── Phone ── */
@media (max-width: 767.98px) {
  .hhero__inner, .phead__inner { padding-block-start: 96px; }
  .hhero__title { font-size: 34px; }
  .phead__title { font-size: 30px; }
  .hhero__line:first-of-type { font-size: var(--fs-h6); }
  .hhero__line, .phead__intro, .harabic__body, .pillar__para { font-size: var(--fs-body1); }
  .harabic__title, .icta__title { font-size: var(--fs-h3); }
  .hclose__title { font-size: 32px; }
  .hclose__inner { padding-block: 72px; }
  .sec-title { font-size: var(--fs-h4); margin-block-end: 20px; }
  .glance__list { grid-template-columns: minmax(0, 1fr); }
  .pillar { padding-block: 28px; }
  .pillar__title { font-size: var(--fs-h4); }
  .pitems__list { grid-template-columns: minmax(0, 1fr); }
  .founder__box { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 20px; }
  .founder__photo { width: 160px; height: 160px; }
  .contact-new__form { padding: 24px 16px; }
  .pclose__box, .icta__box, .bqcard { padding: 36px 20px; }
  .footer-card--plain .footer-card__grid--three { grid-template-columns: minmax(0, 1fr); }
  .hhero__actions .btn, .pclose__actions .btn, .hclose__actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* Organizations: card 4 (ornament) runs the full width under the 1–3 block, text on the calm side. */
.gain--ornament { grid-column: 1 / -1; min-height: 300px; }
.gain--ornament .gain__body { width: 50%; }
@media (max-width: 1023.98px) { .gain--ornament .gain__body { width: auto; } }
@media (max-width: 1023.98px) { .hcard__body { width: 100%; padding-block-start: 150px; } }

/* 404 (council 30/11): the message sits in a closing box with the approved lattice ornament */
.error-page { min-height: auto; }
.error-box { width: min(1200px, 100%); padding: 96px 32px; }
.error-box .error-block { gap: 40px; }
@media (max-width: 767.98px) { .error-box { padding: 64px 20px; } }

/* Five pillars at a glance (owner 30/11: cards were too dense in five narrow columns):
   desktop = 3 + 2 wider cards (second row centred), larger body text. */
@media (min-width: 1024px) {
  .glance__list { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
  .glance__list > li { grid-column: span 2; }
  .glance__list > li:nth-child(4) { grid-column: 2 / span 2; }
  .glance__card { padding: 28px 28px 32px; gap: 12px; }
  .glance__name { font-size: var(--fs-h5); }
  .glance__summary { font-size: var(--fs-body1); line-height: 1.9; }
}

/* Footer: the company's active accounts (owner 30/11, for incubators and investors) */
.footer-social { display: flex; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.footer-social a:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }
.footer-social a:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
