/* =====================================================================
   ROI Contact Solutions — stylesheet
   Palette sampled from the logo:
     core cobalt  #00208F   shadow cobalt #001470
     royal        #0038C0   highlight     #1068D8
     signal cyan  #2ACCFC
   Three-zone typography
     EN  Z1 Cinzel          Z2 Montserrat      Z3 Public Sans
     (Cinzel/Montserrat chosen to echo the logo wordmark and tagline)
     AR  Z1 Amiri           Z2 Noto Kufi Arabic       Z3 IBM Plex Sans Arabic
   ===================================================================== */

:root {
  --cobalt: #00208f;
  --cobalt-deep: #001470;
  --cobalt-ink: #000c4a;
  --royal: #0038c0;
  --sky: #1068d8;
  --cyan: #2accfc;
  --cyan-soft: #bfefff;

  --paper: #ffffff;
  --paper-2: #f2f4fa;
  --paper-3: #e6eaf5;
  --ink: #0a1033;
  --muted: #4a5377;
  --line: #d3d9ea;
  --line-dark: rgba(255, 255, 255, 0.16);

  --f-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --f-ui: "Montserrat", "Arial", sans-serif;
  --f-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;

  --max: 1440px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(5rem, 10vw, 9rem);
  --radius: 3px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 96px;
}

html[dir="rtl"] {
  --f-display: "Amiri", "Times New Roman", serif;
  --f-ui: "Noto Kufi Arabic", "Tahoma", sans-serif;
  --f-body: "IBM Plex Sans Arabic", "Tahoma", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[dir="rtl"] body { font-size: 1.125rem; line-height: 1.85; }

img, svg, iframe { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
  margin: 0;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4 { font-weight: 700; letter-spacing: 0; line-height: 1.35; }

p { margin: 0; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

::selection { background: var(--cyan); color: var(--cobalt-ink); }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--cyan);
  color: var(--cobalt-ink);
  font-family: var(--f-ui);
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

/* ---------- Zone 2 utility pieces ---------- */
.kicker {
  display: inline-block;
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--royal);
  margin-bottom: 1.25rem;
}
.on-dark .kicker,
.kicker--light { color: var(--cyan); }

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  max-width: 20ch;
}
html[dir="rtl"] .section-title { font-size: clamp(2.1rem, 4.6vw, 3.8rem); }

.section-intro {
  margin-top: 1.5rem;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.125rem;
}

.section { padding-block: var(--section); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 1rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  white-space: nowrap;
}
html[dir="rtl"] .btn { letter-spacing: 0; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
html[dir="rtl"] .btn svg { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover svg { transform: scaleX(-1) translateX(4px); }

.btn--signal { background: var(--cyan); color: var(--cobalt-ink); }
.btn--signal:hover { background: #fff; }

.btn--cobalt { background: var(--cobalt); color: #fff; }
.btn--cobalt:hover { background: var(--cobalt-deep); }
.btn:disabled { opacity: 0.65; cursor: progress; }
.btn:disabled:hover svg { transform: none; }

.btn--ghost-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn--ghost { border-color: var(--cobalt); color: var(--cobalt); }
.btn--ghost:hover { background: var(--cobalt); color: #fff; }

.text-link {
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 1rem;
  color: var(--royal);
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}
.text-link svg { width: 16px; height: 16px; }
html[dir="rtl"] .text-link svg { transform: scaleX(-1); }

/* ---------- Logo ---------- */
.logo { display: block; direction: ltr; }
.logo img { height: 74px; width: auto; transition: height 0.35s var(--ease); }
.nav--scrolled .logo img { height: 62px; }
@media (max-width: 560px) { .logo img { height: 58px; } .nav--scrolled .logo img { height: 52px; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), height 0.35s var(--ease);
}
.nav--scrolled {
  background: var(--cobalt-deep);
  box-shadow: 0 1px 0 var(--line-dark);
  --nav-h: 80px;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.5rem 0.8rem;
  position: relative;
  transition: color 0.2s;
}
html[dir="rtl"] .nav__link { font-size: 18px; letter-spacing: 0; }
.nav__link:hover,
.nav__link.is-active { color: #fff; }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  inset-inline: 0.8rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--cyan);
}
.nav__actions { display: flex; align-items: center; gap: 0.75rem; }
.lang-switch {
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  padding: 0.45rem 0.9rem;
  line-height: 1.2;
  transition: border-color 0.2s, background 0.2s;
}
.lang-switch:hover { border-color: var(--cyan); }
/* the Arabic label renders in Noto Kufi Arabic, the English label in Montserrat */
html[dir="ltr"] .lang-switch { font-family: "Noto Kufi Arabic", var(--f-ui); }
html[dir="rtl"] .lang-switch { font-family: "Montserrat", var(--f-ui); }

.nav__cta { padding: 0.75rem 1.2rem; }

.burger {
  display: none;
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.burger svg { width: 22px; height: 22px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--cobalt-deep);
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateY(-100%);
  transition: transform 0.45s var(--ease);
  visibility: hidden;
}
.mobile-menu.is-open { transform: none; visibility: visible; }
.mobile-menu a {
  font-family: var(--f-display);
  font-size: 2.4rem;
  color: #fff;
  padding-block: 0.4rem;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-menu .btn { margin-top: 2rem; align-self: flex-start; }

@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: inline-flex; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--cobalt);
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--nav-h) + 3rem);
}
.hero::before {
  /* registry grid — the faint ruled paper the brand sits on */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
  flex: 1;
}
.hero__title {
  font-size: clamp(2.5rem, 5.4vw, 5.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}
html[dir="rtl"] .hero__title { font-size: clamp(2.6rem, 5.6vw, 5.2rem); line-height: 1.3; letter-spacing: 0; font-weight: 700; }
.hero__title .line { display: block; }
.hero__sub {
  margin-top: 2rem;
  max-width: 54ch;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
}
.hero__ctas { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__stats {
  position: relative;
  margin-top: clamp(3rem, 7vw, 5.5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
}
.hero__stat {
  padding: 1.6rem 1.25rem 2.2rem 0;
  border-inline-end: 1px solid var(--line-dark);
  padding-inline-start: 1.25rem;
}
.hero__stat:first-child { padding-inline-start: 0; }
.hero__stat:last-child { border-inline-end: 0; }
.hero__stat-value {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1;
  font-weight: 700;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}
.hero__stat-label {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--cyan);
}

/* Animated word: cyan fill wipes across a ghosted word, then the underline draws */
.anim-word {
  position: relative;
  display: inline-block;
  color: transparent;
  background-image:
    linear-gradient(var(--cyan), var(--cyan)),
    linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2));
  background-repeat: no-repeat;
  background-size: 0% 100%, 100% 100%;
  background-position: left center, left center;
  -webkit-background-clip: text;
  background-clip: text;
  animation: fillWipe 1.4s 0.5s var(--ease) forwards;
  padding-bottom: 0.08em;
}
html[dir="rtl"] .anim-word { background-position: right center, right center; }
.anim-word::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -0.04em;
  height: 0.07em;
  width: 100%;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  animation: drawLine 0.9s 1.7s var(--ease) forwards;
}
html[dir="rtl"] .anim-word::after { transform-origin: right center; }
.anim-word--ink {
  background-image:
    linear-gradient(var(--royal), var(--royal)),
    linear-gradient(rgba(0, 32, 143, 0.16), rgba(0, 32, 143, 0.16));
}
.anim-word--ink::after { background: var(--royal); }

@keyframes fillWipe { to { background-size: 100% 100%, 100% 100%; } }
@keyframes drawLine { to { transform: scaleX(1); } }

/* Hero mark: the logo's ring, bars and check, drawn live */
.hero__mark { position: relative; justify-self: end; width: min(100%, 460px); }
html[dir="rtl"] .hero__mark { justify-self: start; }
.hero__mark svg { width: 100%; height: auto; overflow: visible; }
.mk-ring {
  fill: none;
  stroke: #fff;
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawStroke 1.6s 0.3s var(--ease) forwards;
}
.mk-bar { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); animation: barRise 0.9s var(--ease) forwards; }
.mk-bar:nth-of-type(1) { animation-delay: 1.1s; }
.mk-bar:nth-of-type(2) { animation-delay: 1.25s; }
.mk-bar:nth-of-type(3) { animation-delay: 1.4s; }
.mk-bar:nth-of-type(4) { animation-delay: 1.55s; }
.mk-check {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 14;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawStroke 0.8s 2s var(--ease) forwards;
}
.mk-pulse {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.5;
  opacity: 0;
  transform-origin: 100px 100px;
  animation: pulse 3.6s 2.6s ease-out infinite;
}
.mk-pulse:nth-of-type(2) { animation-delay: 3.8s; }
@keyframes drawStroke { to { stroke-dashoffset: 0; } }
@keyframes barRise { to { transform: scaleY(1); } }
@keyframes pulse {
  0% { opacity: 0.55; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.55); }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__mark { display: none; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stat:nth-child(2) { border-inline-end: 0; }
  .hero__stat:nth-child(3) { padding-inline-start: 0; }
  .hero__stat:nth-child(n + 3) { border-top: 1px solid var(--line-dark); }
}

/* Hero content edge aligned with the nav edge on wide screens */
@media (min-width: 1200px) {
  .hero .container,
  .page-head .container { padding-inline: 2.5rem; }
}

/* ---------- Interior page head ---------- */
.page-head {
  background: var(--cobalt);
  color: #fff;
  padding-top: calc(var(--nav-h) + clamp(4rem, 9vw, 7rem));
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 88px 88px;
  pointer-events: none;
}
.page-head__title {
  position: relative;
  font-size: clamp(2.3rem, 5.2vw, 4.8rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  max-width: 18ch;
}
html[dir="rtl"] .page-head__title { font-size: clamp(2.5rem, 5.6vw, 5rem); line-height: 1.3; letter-spacing: 0; font-weight: 700; }
.page-head__title .line { display: block; }
.page-head__lead {
  position: relative;
  margin-top: 1.75rem;
  max-width: 58ch;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
}
.page-head__after { position: relative; margin-top: 2rem; }
.page-head__after .text-link { color: var(--cyan); }

/* ---------- Trust strip ---------- */
.trust { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item {
  padding: 2.75rem 2rem 2.75rem 0;
  padding-inline-start: 2rem;
  border-inline-end: 1px solid var(--line);
}
.trust__item:first-child { padding-inline-start: 0; }
.trust__item:last-child { border-inline-end: 0; }
.trust__title {
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  color: var(--cobalt);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.trust__title::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--cyan);
  flex: none;
}
.trust__text { margin-top: 0.6rem; color: var(--muted); font-size: 1rem; }
@media (max-width: 960px) {
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item { padding: 2rem 1.25rem; }
  .trust__item:nth-child(odd) { padding-inline-start: 0; }
  .trust__item:nth-child(2) { border-inline-end: 0; }
  .trust__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item { border-inline-end: 0; padding-inline: 0; }
  .trust__item + .trust__item { border-top: 1px solid var(--line); }
}

/* ---------- ROI unfold (interactive) ---------- */
.roi { background: var(--paper); }
.roi__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; }
.roi__panels {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: flex;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  min-height: 460px;
  direction: ltr; /* R-O-I always reads left to right */
}
.roi__panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-inline-end: 1px solid var(--line);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: flex-grow 0.7s var(--ease), background 0.5s var(--ease);
  cursor: default;
  overflow: hidden;
  background: transparent;
  text-align: start;
  border-top: 0;
  border-bottom: 0;
  border-inline-start: 0;
}
.roi__panel:last-child { border-inline-end: 0; }
.roi__panel.is-active { flex-grow: 2.7; background: var(--cobalt); }
.roi__letter {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 800;
  font-size: clamp(7rem, 16vw, 15rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px var(--cobalt);
  transition: color 0.5s var(--ease), -webkit-text-stroke-color 0.5s;
}
.roi__panel.is-active .roi__letter { color: var(--cyan); -webkit-text-stroke-color: var(--cyan); }
.roi__copy {
  max-width: 34ch;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.roi__panel.is-active .roi__copy { opacity: 1; transform: none; transition-delay: 0.25s; }
.roi__word {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  color: #fff;
  line-height: 1.1;
}
.roi__text { margin-top: 0.75rem; color: rgba(255, 255, 255, 0.82); }
html[dir="rtl"] .roi__copy { direction: rtl; text-align: right; align-self: flex-end; }
.roi__tail {
  margin-top: 2rem;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--cobalt);
}
@media (max-width: 860px) {
  .roi__panels { flex-direction: column; min-height: 0; }
  .roi__panel { border-inline-end: 0; border-bottom: 1px solid var(--line); flex-direction: row; gap: 1.5rem; align-items: center; }
  .roi__panel.is-active { flex-grow: 1; }
  .roi__letter { font-size: 4.5rem; flex: none; width: 4.25rem; text-align: center; }
  .roi__panel { align-items: flex-start; padding: 1.75rem 0; flex: none; }
  html[dir="rtl"] .roi__copy { align-self: auto; }
  .roi__panel.is-active { padding-inline: 1.25rem; }
  .roi__panel .roi__copy { opacity: 1; transform: none; }
  .roi__panel:not(.is-active) .roi__word { color: var(--cobalt); }
  .roi__panel:not(.is-active) .roi__text { color: var(--muted); }
}

/* ---------- Process ---------- */
.process { background: var(--paper-2); }
.process__steps {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
.step { position: relative; padding-top: 7.5rem; }
.step__num {
  position: absolute;
  top: -1.5rem;
  inset-inline-start: -0.4rem;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 500;
  font-size: clamp(10rem, 16vw, 14rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(0, 56, 192, 0.28);
  user-select: none;
  pointer-events: none;
}
.step__title {
  position: relative;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  color: var(--cobalt);
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--cobalt);
}
.step__text { position: relative; margin-top: 1.1rem; color: var(--muted); }
@media (max-width: 860px) {
  .process__steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .step { padding-top: 6rem; }
}

/* ---------- Services — editorial rows ---------- */
.services-list { margin-top: clamp(3rem, 6vw, 4.5rem); border-top: 2px solid var(--ink); }
.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.svc-row::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gutter) * -1);
  background: var(--cobalt);
  z-index: -1;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.55s var(--ease);
}
html[dir="rtl"] .svc-row::before { clip-path: inset(0 0 0 100%); }
.svc-row:hover::before,
.svc-row:focus-visible::before { clip-path: inset(0 0 0 0); }
.svc-row__name {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  line-height: 1.1;
  color: var(--ink);
  transition: color 0.3s;
}
.svc-row__short { color: var(--muted); transition: color 0.3s; }
.svc-row__go {
  width: 54px;
  height: 54px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cobalt);
  transition: all 0.3s var(--ease);
}
.svc-row__go svg { width: 20px; height: 20px; }
html[dir="rtl"] .svc-row__go svg { transform: scaleX(-1); }
.svc-row:hover .svc-row__name { color: #fff; }
.svc-row:hover .svc-row__short { color: rgba(255, 255, 255, 0.8); }
.svc-row:hover .svc-row__go { background: var(--cyan); border-color: var(--cyan); color: var(--cobalt-ink); }
@media (max-width: 760px) {
  .svc-row { grid-template-columns: 1fr auto; gap: 0.75rem 1rem; }
  .svc-row__short { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- CTA band — full colour break ---------- */
.cta-band {
  background: var(--cyan);
  color: var(--cobalt-ink);
  padding-block: clamp(5rem, 10vw, 8rem);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 46vw;
  aspect-ratio: 1;
  border: 2px solid rgba(0, 20, 112, 0.18);
  border-radius: 50%;
  inset-inline-end: -12vw;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.cta-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem; align-items: end; }
.cta-band__title {
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--cobalt-deep);
}
html[dir="rtl"] .cta-band__title { line-height: 1.3; font-size: clamp(2.4rem, 5vw, 4.4rem); }
.cta-band__text { font-size: 1.15rem; color: var(--cobalt-ink); max-width: 40ch; }
.cta-band .btn { margin-top: 1.75rem; }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } }

/* ---------- Standards ---------- */
.standards { background: var(--paper); }
.standards__grid {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 2px solid var(--ink);
}
.standard {
  padding: 2.5rem 2.5rem 2.75rem 0;
  border-bottom: 1px solid var(--line);
}
.standard:nth-child(odd) { border-inline-end: 1px solid var(--line); padding-inline-end: 2.5rem; }
.standard:nth-child(even) { padding-inline-start: 2.5rem; }
.standard__title { font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--cobalt); }
.standard__text { margin-top: 0.9rem; color: var(--muted); max-width: 48ch; }
@media (max-width: 760px) {
  .standards__grid { grid-template-columns: 1fr; }
  .standard:nth-child(odd) { border-inline-end: 0; padding-inline-end: 0; }
  .standard:nth-child(even) { padding-inline-start: 0; }
  .standard { padding: 2rem 0; }
}

/* ---------- Corporate ledger ---------- */
.record { background: var(--paper-2); }
.record__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.record .text-link { margin-top: 2rem; }
.ledger {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--cobalt);
}
.ledger__row {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.4fr);
  border-bottom: 1px solid var(--line);
}
.ledger__row:last-child { border-bottom: 0; }
.ledger dt {
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--muted);
  padding: 1.1rem 1.25rem;
  border-inline-end: 1px solid var(--line);
  background: var(--paper-2);
}
.ledger dd {
  margin: 0;
  padding: 1.1rem 1.25rem;
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.ledger dd.is-num {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--cobalt);
  direction: ltr;
  text-align: start;
}
html[dir="rtl"] .ledger dd.is-num { text-align: right; }
.ledger dd.is-ar { font-family: "Amiri", serif; font-size: 1.2rem; direction: rtl; }
.ledger dd.is-en { direction: ltr; }
html[dir="rtl"] .ledger dd.is-en { text-align: right; }
@media (max-width: 860px) { .record__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .ledger__row { grid-template-columns: 1fr; }
  .ledger dt { border-inline-end: 0; padding-bottom: 0.4rem; }
  .ledger dd { padding-top: 0.5rem; }
}

/* ---------- Leadership split ---------- */
.leader { background: var(--paper); }
.leader__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.leader__plate {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--cobalt);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  overflow: hidden;
}
.leader__plate::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 100% 44px;
  pointer-events: none;
}
.leader__mono {
  position: relative;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 500;
  font-size: clamp(8rem, 15vw, 13rem);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--cyan);
  direction: ltr;
}
.leader__name { position: relative; font-family: var(--f-display); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; }
.leader__role { position: relative; display: block; margin-top: 0.5rem; font-family: var(--f-ui); font-weight: 700; font-size: 0.95rem; color: var(--cyan); }
.leader__copy p + p { margin-top: 1.25rem; }
.leader__copy p { color: var(--muted); font-size: 1.1rem; }
.leader__copy .section-title { margin-bottom: 2rem; }
@media (max-width: 860px) {
  .leader__grid { grid-template-columns: 1fr; }
  .leader__plate { aspect-ratio: auto; min-height: 340px; gap: 2rem; }
}

/* ---------- Markets + map ---------- */
.markets { background: var(--paper-2); }
.markets__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.markets__text { margin-top: 1.5rem; color: var(--muted); font-size: 1.1rem; max-width: 44ch; }
.tags { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.tag {
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.7rem 1.1rem;
  border: 2px solid var(--cobalt);
  color: var(--cobalt);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.tag svg { width: 18px; height: 18px; }
.tag--solid { background: var(--cobalt); color: #fff; }
.facts { margin-top: 2.5rem; display: grid; gap: 0; border-top: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.fact__label { font-family: var(--f-ui); font-weight: 700; font-size: 0.95rem; color: var(--muted); }
.fact__value { font-family: var(--f-ui); font-weight: 500; font-size: 1.02rem; color: var(--ink); }
/* North America dot map */
.na-map { position: relative; margin: 0; width: 100%; max-width: 560px; justify-self: center; }
.na-map img { width: 100%; height: auto; }
.na-map__label {
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: var(--f-ui);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 0.45rem 0.8rem;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0, 20, 112, 0.14);
  white-space: nowrap;
  opacity: 0;
}
.is-in .na-map__label { animation: labelIn 0.6s 1.4s var(--ease) forwards; }
@media (prefers-reduced-motion: reduce) { .na-map__label { opacity: 1; } }
.na-map__label--ca { left: 49%; top: 37%; color: #0a6f94; border-inline-start: 4px solid var(--cyan); }
.na-map__label--us { left: 54%; top: 64%; color: var(--cobalt); border-inline-start: 4px solid var(--cobalt); }
@keyframes labelIn { from { opacity: 0; transform: translate(-50%, -30%); } to { opacity: 1; transform: translate(-50%, -50%); } }

/* Legal bullet lists */
.legal__list { margin: 1rem 0 0; padding: 0; list-style: none; max-width: 70ch; }
.legal__list li { position: relative; padding-inline-start: 1.6rem; margin-top: 0.85rem; }
.legal__list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.7em; width: 8px; height: 8px; background: var(--cyan); }

.map-frame { min-height: 420px; border: 1px solid var(--line); border-top: 4px solid var(--cobalt); background: var(--paper-3); }
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: saturate(0.6) contrast(1.05); }
@media (max-width: 860px) {
  .markets__grid { grid-template-columns: 1fr; }
  .fact { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* ---------- Contact ---------- */
.contact { background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; position: relative; }
.form__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.field label .req { color: var(--royal); margin-inline-start: 0.25rem; }
.field input,
.field select,
.field textarea {
  font-family: var(--f-body);
  font-size: 1.02rem;
  color: var(--ink);
  background: var(--paper-2);
  border: 0;
  border-bottom: 2px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 0.95rem 1rem;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--cobalt); background: var(--paper-3); }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2300208f' stroke-width='2.5' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-inline-end: 2.75rem; }
html[dir="rtl"] .field select { background-position: left 1rem center; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.form__status { font-family: var(--f-ui); font-weight: 500; font-size: 1rem; color: var(--cobalt); max-width: 48ch; }
.form__status a { text-decoration: underline; }

.details { border-top: 2px solid var(--ink); }
.detail { padding-block: 1.4rem; border-bottom: 1px solid var(--line); display: flex; gap: 1rem; align-items: flex-start; }
.detail svg { width: 22px; height: 22px; color: var(--royal); flex: none; margin-top: 0.2rem; }
.detail__label { display: block; font-family: var(--f-ui); font-weight: 700; font-size: 0.95rem; color: var(--muted); }
.detail__value { display: block; margin-top: 0.15rem; font-family: var(--f-ui); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.detail__value a:hover { color: var(--royal); }
.ltr-inline { direction: ltr; unicode-bidi: isolate; display: inline-block; white-space: nowrap; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- About page ---------- */
.about-blocks { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); }
.about-block { padding: 2.75rem 2.75rem 3rem 0; border-bottom: 1px solid var(--line); }
.about-block:nth-child(odd) { border-inline-end: 1px solid var(--line); padding-inline-end: 2.75rem; }
.about-block:nth-child(even) { padding-inline-start: 2.75rem; }
.about-block__title { font-size: clamp(1.7rem, 2.8vw, 2.4rem); color: var(--cobalt); }
.about-block__text { margin-top: 1rem; color: var(--muted); font-size: 1.1rem; max-width: 50ch; }
.values { background: var(--cobalt-deep); color: #fff; }
.values__list { margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; list-style: none; counter-reset: v; }
.values__item {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  line-height: 1.2;
  padding-block: 1.6rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  gap: 1.5rem;
  align-items: baseline;
}
.values__item::before {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--cyan);
  flex: none;
  transform: translateY(-0.2em);
}
@media (max-width: 760px) {
  .about-blocks { grid-template-columns: 1fr; }
  .about-block:nth-child(odd) { border-inline-end: 0; padding-inline-end: 0; }
  .about-block:nth-child(even) { padding-inline-start: 0; }
  .about-block { padding: 2.25rem 0; }
}

/* ---------- Service detail ---------- */
.svc-detail { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.svc-detail__body p { font-size: 1.15rem; color: var(--ink); }
.svc-detail__body p + p { margin-top: 1.4rem; color: var(--muted); }
.svc-detail__aside { border-top: 4px solid var(--cobalt); background: var(--paper-2); padding: 2rem; }
.svc-detail__aside h3 { font-size: 1.6rem; color: var(--cobalt); }
.checklist { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.checklist li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 1.02rem;
}
.checklist li:last-child { border-bottom: 0; }
.checklist svg { width: 20px; height: 20px; color: var(--royal); flex: none; margin-top: 0.2rem; }
.delivery { margin-top: 4rem; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.delivery__item { padding: 1.75rem 1.5rem 1.75rem 0; font-family: var(--f-display); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.25; color: var(--cobalt); border-inline-end: 1px solid var(--line); padding-inline-start: 1.5rem; }
.delivery__item:first-child { padding-inline-start: 0; }
.delivery__item:last-child { border-inline-end: 0; }
.delivery-title { margin-top: 5rem; }
@media (max-width: 860px) {
  .svc-detail { grid-template-columns: 1fr; }
  .delivery { grid-template-columns: 1fr; }
  .delivery__item { border-inline-end: 0; border-bottom: 1px solid var(--line); padding-inline: 0; }
}

/* ---------- Corporate page ---------- */
.corp-section + .corp-section { margin-top: clamp(3.5rem, 6vw, 5rem); }
.corp-section__title { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--cobalt); margin-bottom: 1.5rem; }
.activities { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.activities li {
  display: flex;
  gap: 1.25rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.1rem;
}
.activities li::before { content: ""; width: 10px; height: 10px; margin-top: 0.6em; background: var(--cyan); flex: none; }
.corp-note { margin-top: 1.25rem; color: var(--muted); font-size: 0.98rem; }

/* ---------- Legal pages ---------- */
.legal { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--nav-h) + 2rem); border-top: 2px solid var(--ink); }
.legal__toc a {
  display: block;
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--muted);
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--line);
}
.legal__toc a:hover { color: var(--royal); }
.legal__meta { font-family: var(--f-ui); font-weight: 700; font-size: 0.95rem; color: var(--royal); }
.legal__section { padding-block: 2rem; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 1.5rem); }
.legal__section:first-of-type { border-top: 2px solid var(--ink); margin-top: 1.5rem; }
.legal__section h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--cobalt); }
.legal__section p { margin-top: 0.9rem; color: var(--ink); max-width: 70ch; }
@media (max-width: 860px) {
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
}

/* ---------- Social strip (feature-flagged) ---------- */
.social-strip { background: var(--paper-3); padding-block: 2.5rem; }
.social-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.social-strip__label { font-family: var(--f-ui); font-weight: 700; font-size: 1.05rem; color: var(--cobalt); }
.social-strip__links { display: flex; gap: 1rem; }

/* ---------- Footer ---------- */
.footer { background: var(--cobalt-ink); color: #fff; padding-top: clamp(4.5rem, 8vw, 6.5rem); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-bottom: 4rem; }
.footer__blurb { margin-top: 1.5rem; font-family: var(--f-ui); font-weight: 500; font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, 0.7); max-width: 34ch; }
.footer__legalname { margin-top: 1.5rem; font-family: var(--f-display); font-size: 1.15rem; line-height: 1.4; color: #fff; }
.footer__col-title { font-family: var(--f-ui); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; color: var(--cyan); margin-bottom: 1.25rem; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer__links a,
.footer__contact-item {
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s;
  line-height: 1.45;
}
html[dir="rtl"] .footer__links a,
html[dir="rtl"] .footer__contact-item { font-size: 17px; letter-spacing: 0; }
.footer__links a:hover { color: var(--cyan); }
.footer__contact-item { display: block; }
.footer__contact-item + .footer__contact-item { margin-top: 0.7rem; }
.footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.75rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
}
.footer .logo img { height: 96px; }
@media (max-width: 960px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.is-done { will-change: auto; }

/* ---------- Page transition ---------- */
.page { animation: pageIn 0.5s var(--ease); }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .anim-word { background-size: 100% 100%, 100% 100%; }
  .anim-word::after { transform: scaleX(1); }
  .mk-ring, .mk-check { stroke-dashoffset: 0; }
  .mk-bar { transform: none; }
}
