/* ============================================================
   El Atlas AI — site stylesheet
   Identity: deep navy, warm paper, amber, editorial serif.
   ============================================================ */

:root {
  --navy-950: #0a1522;
  --navy-900: #0d1f33;
  --navy-850: #102741;
  --navy-800: #143049;
  --navy-line: rgba(255, 255, 255, 0.10);
  --paper: #fcfaf5;
  --paper-2: #f6f1e6;
  --cream: #f8efdc;
  --ink: #152638;
  --slate: #51637a;
  --mist: #a9bcd1;
  --faint: #8298b0;
  --orange: #e29b3d;
  --orange-deep: #c97f1f;
  --orange-soft: rgba(226, 155, 61, 0.13);
  --green: #2e9d62;
  --line: rgba(21, 38, 56, 0.14);
  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --maxw: 1180px;
  --radius: 14px;
  --shadow: 0 18px 44px -18px rgba(13, 31, 51, 0.35);
}

html[lang="ar"] {
  --serif: "IBM Plex Sans Arabic", "Geeza Pro", "Segoe UI", Tahoma, sans-serif;
  --sans: "IBM Plex Sans Arabic", "Geeza Pro", "Segoe UI", Tahoma, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="ar"] body { font-size: 18.5px; line-height: 1.85; letter-spacing: 0; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--orange); color: var(--navy-950); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------------- typography helpers ---------------- */

.eyebrow {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
html[lang="ar"] .eyebrow { letter-spacing: 0.06em; font-size: 15px; }

.h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(42px, 6.4vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
html[lang="ar"] .h1 { line-height: 1.28; letter-spacing: 0; font-size: clamp(38px, 5.8vw, 68px); }

.h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.012em;
}
html[lang="ar"] .h2 { line-height: 1.4; letter-spacing: 0; }

.h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 23px;
  line-height: 1.3;
}

.lead { font-size: clamp(19px, 2vw, 22px); line-height: 1.6; }

.sec { padding: 104px 0; }
.sec-head { max-width: 780px; margin-bottom: 58px; }
.sec-head p { margin-top: 18px; }

.on-navy { color: #f4f7fb; }
.on-navy .muted, .muted-navy { color: var(--mist); }
.muted { color: var(--slate); }

/* ---------------- header ---------------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.25s ease, box-shadow 0.25s ease;
  padding: 20px 0;
}
.header.scrolled {
  background: rgba(10, 21, 34, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--navy-line);
  padding: 12px 0;
}
.header .wrap { display: flex; align-items: center; gap: 30px; }

.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand .mark { width: 34px; height: 34px; color: var(--orange); flex: none; }
.brand .name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 21.5px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand .name span { color: var(--orange); }

.nav { display: flex; align-items: center; gap: 30px; margin-inline-start: auto; }
.nav a {
  color: #dbe5f0;
  font-size: 15.5px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav a:hover { color: #fff; }

.lang {
  font-weight: 600;
  font-size: 15px;
  color: #fff !important;
  border: 1px solid var(--navy-line);
  border-radius: 999px;
  padding: 7px 16px;
  transition: border-color 0.15s, background 0.15s;
}
.lang:hover { border-color: var(--orange); background: rgba(226, 155, 61, 0.12); }
html[lang="en"] .lang { font-family: "IBM Plex Sans Arabic", "Geeza Pro", sans-serif; }

.burger {
  display: none;
  margin-inline-start: auto;
  background: none;
  border: 1px solid var(--navy-line);
  border-radius: 10px;
  padding: 9px 11px;
  cursor: pointer;
}
.burger span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px 0; border-radius: 2px; transition: 0.2s; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 16px;
  right: 16px;
  z-index: 59;
  background: var(--navy-850);
  border: 1px solid var(--navy-line);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  color: #eaf1f8;
  font-size: 18px;
  font-weight: 500;
  padding: 13px 14px;
  border-radius: 10px;
}
.mobile-nav a:active, .mobile-nav a:hover { background: rgba(255, 255, 255, 0.06); }
.mobile-nav .cta { background: var(--orange); color: var(--navy-950); font-weight: 700; text-align: center; margin-top: 6px; }

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16.5px;
  border-radius: 12px;
  padding: 15px 28px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--navy-950); }
.btn-primary:hover { background: #eeae57; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-800); }

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  background: radial-gradient(120% 90% at 78% -10%, var(--navy-850) 0%, var(--navy-900) 48%, var(--navy-950) 100%);
  color: #f4f7fb;
  padding: 196px 0 96px;
  overflow: hidden;
}
.hero .topo {
  position: absolute;
  inset: -12% -6% auto auto;
  width: 74%;
  min-width: 660px;
  opacity: 0.85;
  pointer-events: none;
}
html[dir="rtl"] .hero .topo { inset: -12% auto auto -6%; transform: scaleX(-1); }
.hero .topo g { animation: breathe 26s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes breathe { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.06) rotate(1.6deg); } }
@media (prefers-reduced-motion: reduce) { .hero .topo g { animation: none; } }

.hero-inner { position: relative; max-width: 820px; }
.hero .ar-line {
  font-family: "IBM Plex Sans Arabic", "Geeza Pro", sans-serif;
  color: var(--mist);
  font-size: 19px;
  margin-top: 26px;
}
html[lang="en"] .hero .ar-line { text-align: left; }
html[lang="ar"] .hero .ar-line { font-family: "Inter", var(--sans); text-align: right; letter-spacing: 0.14em; text-transform: uppercase; font-size: 15px; color: var(--faint); }
.hero .lead { color: #ccd9e8; margin-top: 28px; max-width: 680px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 42px; }

.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 86px;
  padding-top: 40px;
  border-top: 1px solid var(--navy-line);
}
.stat .big {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(30px, 3.2vw, 42px);
  color: var(--orange);
  line-height: 1.1;
}
.stat p { color: var(--mist); font-size: 15.5px; margin-top: 8px; line-height: 1.55; }

/* ---------------- light sections ---------------- */

.light { background: var(--paper); }
.light-2 { background: var(--paper-2); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(226, 155, 61, 0.55); }
.card .ico {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--orange-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.card .ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--slate); font-size: 16.5px; }

/* ---------------- use cases (navy) ---------------- */

.dark { background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%); }

.ucase {
  background: var(--navy-850);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color 0.2s, transform 0.2s;
}
.ucase:hover { border-color: rgba(226, 155, 61, 0.5); transform: translateY(-3px); }
.ucase h3 { color: #fff; font-size: 20px; margin-bottom: 10px; font-family: var(--serif); font-weight: 600; }
.ucase p { color: var(--mist); font-size: 15.5px; }
.ucase .n {
  font-family: var(--serif);
  color: var(--orange);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 14px;
}

.sectors { margin-top: 54px; padding-top: 36px; border-top: 1px solid var(--navy-line); }
.sectors .cap { color: var(--faint); font-size: 13.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 20px; }
html[lang="ar"] .sectors .cap { letter-spacing: 0.05em; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  border: 1px solid var(--navy-line);
  border-radius: 999px;
  color: #dfe8f2;
  padding: 11px 22px;
  font-size: 15.5px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.03);
}
.chip:hover { border-color: rgba(226, 155, 61, 0.5); }

/* ---------------- process ---------------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
}
.step .num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 46px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 20px;
}
.step h3 { margin-bottom: 12px; }
.step p { color: var(--slate); font-size: 16.5px; }
.step .tag {
  position: absolute;
  top: 38px;
  inset-inline-end: 30px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  background: var(--cream);
  border-radius: 999px;
  padding: 6px 13px;
}
html[lang="ar"] .step .tag { letter-spacing: 0.02em; }

.assure {
  margin-top: 34px;
  background: var(--cream);
  border: 1px solid rgba(201, 127, 31, 0.25);
  border-radius: var(--radius);
  padding: 26px 32px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  font-size: 17.5px;
}
.assure svg { width: 26px; height: 26px; color: var(--green); flex: none; margin-top: 3px; }
.assure strong { font-weight: 700; }

/* ---------------- why (navy) ---------------- */

.why { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.why-item {
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  padding: 32px 30px;
  background: rgba(255, 255, 255, 0.025);
}
.why-item h3 { color: #fff; margin-bottom: 12px; display: flex; align-items: center; gap: 13px; }
.why-item h3 svg { width: 24px; height: 24px; color: var(--orange); flex: none; }
.why-item p { color: var(--mist); font-size: 16px; }

.proof {
  margin-top: 34px;
  border: 1px solid rgba(46, 157, 98, 0.45);
  background: rgba(46, 157, 98, 0.09);
  border-radius: var(--radius);
  padding: 24px 30px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: #e7f2ec;
  font-size: 17px;
}
.proof svg { width: 25px; height: 25px; color: var(--green); flex: none; margin-top: 2px; }

/* ---------------- selected work ---------------- */

.workfeat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}
.workfeat .txt { padding: 44px 42px; }
.workfeat .art {
  position: relative;
  background:
    radial-gradient(110% 120% at 85% 108%, rgba(226, 155, 61, 0.20) 0%, rgba(226, 155, 61, 0) 52%),
    linear-gradient(160deg, var(--navy-850), var(--navy-950));
  padding: 40px 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.workfeat .art .mockwin { position: relative; box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.07); }
.wtag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  background: var(--cream);
  border-radius: 999px;
  padding: 7px 14px;
  margin-bottom: 18px;
}
html[lang="ar"] .wtag { letter-spacing: 0.02em; }
.workfeat h3 { font-size: 27px; margin-bottom: 14px; }
.workfeat .txt > p { color: var(--slate); font-size: 17px; }
.wstats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 26px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.wstat .n { font-family: var(--serif); font-weight: 700; font-size: 30px; color: var(--orange-deep); line-height: 1.1; }
.wstat p { color: var(--slate); font-size: 14.5px; margin-top: 4px; }
.wnote { margin-top: 22px; color: var(--slate); font-size: 14.5px; font-style: italic; }
html[lang="ar"] .wnote { font-style: normal; }

.workrow { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 26px; }
.wcase {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.wcase:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.wcase .art {
  position: relative;
  height: 224px;
  background:
    radial-gradient(90% 130% at 15% -20%, rgba(226, 155, 61, 0.16) 0%, rgba(226, 155, 61, 0) 55%),
    linear-gradient(160deg, var(--navy-850), var(--navy-950));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.wcase .art .scene { position: relative; transition: transform 0.35s ease; }
.wcase:hover .art .scene { transform: scale(1.045); }
.art .ringbg {
  position: absolute;
  width: 150%;
  inset: auto -30% -70% auto;
  opacity: 0.35;
  pointer-events: none;
}
.wcase .txt { padding: 30px 32px 34px; }
.wcase h3 { font-size: 22px; margin-bottom: 10px; }
.wcase .txt p { color: var(--slate); font-size: 16px; }
.wfoot {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
html[lang="ar"] .wfoot { letter-spacing: 0.02em; font-size: 14px; }
.wfoot svg { width: 15px; height: 15px; flex: none; }

/* alert pill on the monitoring scene */
.alertpill {
  position: absolute;
  top: 20px;
  inset-inline-end: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 21, 34, 0.85);
  border: 1px solid rgba(255, 122, 89, 0.55);
  color: #ffb4a2;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 999px;
  padding: 7px 13px;
  animation: pillin 4.5s ease infinite;
}
html[lang="ar"] .alertpill { letter-spacing: 0.02em; }
.alertpill i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ff7a59;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes pillin {
  0%, 46% { opacity: 0; transform: translateY(-6px); }
  54%, 100% { opacity: 1; transform: none; }
}

/* recording pill + playhead on the audio scene */
.recpill {
  position: absolute;
  top: 20px;
  inset-inline-start: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 21, 34, 0.85);
  border: 1px solid rgba(226, 155, 61, 0.45);
  color: #f2cf9a;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 999px;
  padding: 7px 13px;
}
html[lang="ar"] .recpill { letter-spacing: 0.02em; }
.recpill i { width: 7px; height: 7px; border-radius: 999px; background: #ff7a59; animation: blink 1.1s steps(1) infinite; }
.playline { position: relative; width: 240px; height: 2px; background: rgba(255, 255, 255, 0.14); border-radius: 2px; margin: 18px auto 0; }
.playline i {
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--orange);
  animation: ph 5.4s linear infinite;
}
@keyframes ph { 0% { left: 0; } 100% { left: 232px; } }

/* --- demo window mock --- */
.mockwin {
  width: 100%;
  max-width: 440px;
  background: var(--paper);
  border-radius: 14px;
  box-shadow: 0 24px 60px -22px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  font-size: 14px;
  text-align: start;
}
.mockwin .bar {
  background: #1a3a5c;
  color: var(--mist);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  font-size: 12.5px;
}
.mockwin .bar i { width: 9px; height: 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.22); }
.mockwin .bar i:first-child { background: var(--orange); }
.mockwin .bar span { margin-inline-start: 8px; }
.mockwin .body { padding: 18px 18px 20px; }
.mockq {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  min-height: 44px;
  line-height: 1.5;
}
.mockq .caret {
  display: inline-block;
  width: 2px;
  height: 15px;
  background: var(--orange-deep);
  vertical-align: -2px;
  margin-inline-start: 2px;
  animation: blink 0.9s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.mocka {
  margin-top: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--orange);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--slate);
  line-height: 1.55;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.mocka.show { opacity: 1; transform: none; }
.mocka b { color: var(--ink); }
.mchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mchip {
  font-size: 12px;
  font-weight: 600;
  color: var(--orange-deep);
  background: var(--cream);
  border: 1px solid rgba(201, 127, 31, 0.3);
  border-radius: 999px;
  padding: 5px 11px;
}

/* --- anomaly chart art (BNP) --- */
.anom { width: 84%; max-width: 350px; max-height: 160px; height: auto; display: block; }
.anom .trace {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: dash 4.5s linear infinite;
}
.anom .trace2 {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: dash 4.5s linear infinite;
  animation-delay: 0.25s;
}
@keyframes dash { 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }
.anom .halo {
  opacity: 0;
  animation: halo 4.5s ease-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes halo {
  0%, 44% { opacity: 0; transform: scale(0.4); }
  52% { opacity: 0.85; transform: scale(1); }
  72%, 100% { opacity: 0; transform: scale(2.1); }
}

/* --- waveform art (Riverside) --- */
.wave { display: flex; align-items: center; justify-content: center; gap: 6px; height: 92px; }
.wave i {
  width: 8px;
  border-radius: 999px;
  background: var(--orange);
  height: 22%;
  animation: wv 1.35s ease-in-out infinite;
}
.wave i:nth-child(2n) { background: #f0c489; height: 30%; }
.wave i:nth-child(3n) { background: #b97b22; }
.wave i:nth-child(1) { animation-delay: 0s; }
.wave i:nth-child(2) { animation-delay: 0.11s; }
.wave i:nth-child(3) { animation-delay: 0.22s; }
.wave i:nth-child(4) { animation-delay: 0.33s; }
.wave i:nth-child(5) { animation-delay: 0.44s; }
.wave i:nth-child(6) { animation-delay: 0.55s; }
.wave i:nth-child(7) { animation-delay: 0.66s; }
.wave i:nth-child(8) { animation-delay: 0.77s; }
.wave i:nth-child(9) { animation-delay: 0.88s; }
.wave i:nth-child(10) { animation-delay: 0.99s; }
.wave i:nth-child(11) { animation-delay: 1.1s; }
.wave i:nth-child(12) { animation-delay: 1.21s; }
.wave i:nth-child(13) { animation-delay: 1.32s; }
@keyframes wv { 0%, 100% { height: 20%; } 50% { height: 92%; } }

@media (prefers-reduced-motion: reduce) {
  .anom .trace, .anom .trace2 { animation: none; stroke-dashoffset: 0; }
  .anom .halo, .wave i, .mockq .caret, .alertpill, .recpill i, .playline i { animation: none; }
  .alertpill { opacity: 1; transform: none; }
  .mocka { opacity: 1; transform: none; }
}

/* --- law firms we have worked with --- */
.lawbar {
  margin-top: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 36px;
}
.lawbar .cap {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 18px;
}
html[lang="ar"] .lawbar .cap { letter-spacing: 0.05em; font-size: 14.5px; }
.lawbar ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 0;
  align-items: center;
}
.lawbar li {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  line-height: 1.35;
  padding-inline-end: 28px;
  margin-inline-end: 28px;
  border-inline-end: 1px solid var(--line);
}
.lawbar li:last-child { border-inline-end: none; padding-inline-end: 0; margin-inline-end: 0; }
.lawbar li span { display: block; font-family: var(--sans); font-weight: 500; font-size: 13px; color: var(--slate); margin-top: 3px; }

@media (max-width: 880px) {
  .lawbar { padding: 26px 24px; }
  .lawbar ul { flex-direction: column; align-items: flex-start; gap: 16px; }
  .lawbar li { border-inline-end: none; padding-inline-end: 0; margin-inline-end: 0; }
}

/* ---------------- about ---------------- */

.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 48px; }
.founder {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.founder .ini {
  width: 62px;
  height: 62px;
  flex: none;
  border-radius: 999px;
  background: var(--navy-900);
  color: var(--orange);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder h3 { font-size: 21px; }
.founder .role { color: var(--orange-deep); font-weight: 600; font-size: 14.5px; margin: 4px 0 10px; }
.founder p { color: var(--slate); font-size: 16px; }

/* ---------------- contact ---------------- */

.contact { text-align: center; padding: 120px 0; }
.contact .h2 { max-width: 700px; margin: 0 auto; }
.contact .lead { color: #ccd9e8; max-width: 640px; margin: 24px auto 0; }
.contact .btn { margin-top: 40px; font-size: 18px; padding: 18px 38px; }
.contact .sub { color: var(--faint); font-size: 15.5px; margin-top: 22px; }
.contact .sub a { color: var(--mist); border-bottom: 1px solid rgba(255,255,255,.25); }
.contact .sub a:hover { color: #fff; }

/* ---------------- footer ---------------- */

.footer {
  background: var(--navy-950);
  color: var(--faint);
  padding: 54px 0 46px;
  border-top: 1px solid var(--navy-line);
  font-size: 14.5px;
  line-height: 1.8;
}
.footer .top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; color: #fff; }
.footer .mark { width: 28px; height: 28px; color: var(--orange); }
.footer .name { font-family: var(--serif); font-weight: 700; font-size: 18px; }
.footer .name span { color: var(--orange); }
.footer .legal { max-width: 720px; }
.footer .row { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 20px; align-items: center; }
.footer a { color: var(--mist); }
.footer a:hover { color: #fff; }
.footer .ar-name { font-family: "IBM Plex Sans Arabic", "Geeza Pro", sans-serif; }

/* ---------------- reveal animations ---------------- */

.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: 0.08s; }
.rv.d2 { transition-delay: 0.16s; }
.rv.d3 { transition-delay: 0.24s; }
.rv.d4 { transition-delay: 0.32s; }
.rv.d5 { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}

/* ---------------- responsive ---------------- */

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 90px 1fr; gap: 0 10px; }
  .step .num { grid-row: span 2; }
}

@media (max-width: 880px) {
  .nav { display: none; }
  .burger { display: block; }
  .grid-2, .why, .founders, .workrow { grid-template-columns: 1fr; }
  .workfeat { grid-template-columns: 1fr; }
  .workfeat .txt { padding: 34px 26px; }
  .workfeat .art { padding: 30px 22px; }
  .hero { padding: 150px 0 72px; }
  .hero .topo { min-width: 560px; opacity: 0.5; }
  .sec { padding: 76px 0; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 26px; margin-top: 64px; }
  .stat .big { font-size: 30px; }
  .stat p { margin-top: 6px; }
  .step { grid-template-columns: 64px 1fr; }
  .step .num { font-size: 36px; }
  .step .tag { position: static; display: inline-block; margin-bottom: 14px; grid-column: 2; order: -1; justify-self: start; }
  .brand .name { font-size: 19px; }
  .contact { padding: 88px 0; }
}
