/* ==========================================================================
   NAYA — "Instrument" design system (x.css)
   Dark engineering look · blueprint grid · scroll-driven storytelling.
   Bilingual (LTR/RTL) via logical properties. Motion lives in x.js.
   ========================================================================== */

:root {
  --ink: #050b1f;
  --night: #08122e;
  --navy: #0d1b45;
  --brand: #17265c;
  --cyan: #2fd6e4;
  --teal: #19abb8;
  --blue: #3d91d2;
  --amber: #ffb800;
  --paper: #eef3f9;
  --white: #fff;
  --text: #dfe7fb;
  --muted: #93a3c9;
  --line: rgba(140, 170, 255, .16);
  --glass: rgba(10, 22, 58, .55);
  --f-display: 'Sora', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --f-body: 'Manrope', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', 'IBM Plex Sans Arabic', ui-monospace, monospace;
  --pad: clamp(1.25rem, 5vw, 5.5rem);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 84px;
}
html[lang='ar'] {
  --f-display: 'IBM Plex Sans Arabic', 'Sora', system-ui, sans-serif;
  --f-body: 'IBM Plex Sans Arabic', 'Manrope', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--cyan); color: var(--ink); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; padding-inline: var(--pad); margin-inline: auto; max-width: 1760px; }
.skip-link { position: fixed; z-index: 200; inset-block-start: -60px; inset-inline-start: 12px; padding: .6rem 1rem; background: var(--cyan); color: var(--ink); border-radius: 10px; font-weight: 700; transition: inset-block-start .2s; }
.skip-link:focus { inset-block-start: 12px; }

/* ---------- typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font: 500 .72rem/1.2 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--cyan);
}
.eyebrow i { width: 28px; height: 1px; background: currentColor; display: inline-block; position: relative; }
.eyebrow i::after { content: ''; position: absolute; inset-inline-end: -3px; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }
html[lang='ar'] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .86rem; font-weight: 600; font-family: var(--f-body); }
.h2 { font: 700 clamp(2rem, 4.6vw, 4.4rem)/1.08 var(--f-display); letter-spacing: -.02em; color: var(--white); text-wrap: balance; }
html[lang='ar'] .h2 { line-height: 1.3; letter-spacing: 0; }
.lede { font-size: clamp(1rem, 1.25vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.mono { font-family: var(--f-mono); }
.ltr-start { display: inline-block; unicode-bidi: plaintext; }

/* ---------- buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; gap: .9rem; height: var(--h); padding-inline: 1.7rem 0.45rem;
  border-radius: 999px; font-weight: 700; font-size: .95rem; cursor: pointer; border: 1px solid transparent;
  position: relative; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s, background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn i { font-style: normal; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--cyan); transition: transform .4s var(--ease), background .3s; font-size: 1.05rem; }
.btn:hover i { transform: rotate(45deg); }
html[dir='rtl'] .btn i { transform: scaleX(-1); }
html[dir='rtl'] .btn:hover i { transform: scaleX(-1) rotate(45deg); }
.btn-primary { background: var(--cyan); color: var(--ink); box-shadow: 0 0 0 0 rgba(47, 214, 228, .5); }
.btn-primary:hover { box-shadow: 0 14px 40px -8px rgba(47, 214, 228, .55); }
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--white); border-color: rgba(255, 255, 255, .28); padding-inline: 1.7rem; backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); }
.btn-ghost i { background: transparent; color: inherit; width: auto; height: auto; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark i { background: var(--cyan); color: var(--ink); }
.btn-lg { --h: 64px; font-size: 1.05rem; padding-inline: 2.1rem .55rem; }
.btn-lg i { width: 48px; height: 48px; }
.btn-sm { --h: 42px; font-size: .84rem; padding-inline: 1.15rem .3rem; }
.btn-sm i { width: 32px; height: 32px; font-size: .9rem; }
.btn-block { width: 100%; justify-content: space-between; }
.ripple { position: absolute; z-index: -1; border-radius: 50%; background: rgba(255, 255, 255, .45); transform: scale(0); animation: rip .6s ease-out forwards; pointer-events: none; }
@keyframes rip { to { transform: scale(2.6); opacity: 0; } }

/* ---------- progress / cursor / preloader ---------- */
.scroll-progress { position: fixed; z-index: 120; inset: 0 0 auto 0; height: 3px; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--cyan), var(--amber)); pointer-events: none; }
html[dir='rtl'] .scroll-progress { transform-origin: 100% 50%; }
.cursor { position: fixed; z-index: 150; left: 0; top: 0; width: 38px; height: 38px; margin: -19px 0 0 -19px; pointer-events: none; opacity: 0; transition: opacity .3s; will-change: transform; }
.cursor i { display: block; width: 100%; height: 100%; border: 1.5px solid rgba(47, 214, 228, .9); border-radius: 50%; box-shadow: 0 0 0 1px rgba(5, 11, 31, .5); transition: transform .35s var(--ease), background .3s; }
.cursor.is-on { opacity: 1; }
.cursor.is-link i { transform: scale(1.7); background: rgba(255, 255, 255, .2); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

.preload { position: fixed; z-index: 300; inset: 0; background: var(--ink); display: none; place-items: center; color: var(--cyan); }
.js .preload { display: grid; }
.js-fail .preload, .rm .preload { display: none; }
.preload-in { text-align: center; display: grid; gap: 1.2rem; justify-items: center; }
.preload svg { width: 180px; height: auto; overflow: visible; }
.preload .arc { stroke-dasharray: 100; stroke-dashoffset: 100; }
.preload b { font: 500 .8rem var(--f-mono); letter-spacing: .3em; color: var(--muted); }
.preload b em { font-style: normal; color: var(--white); }

/* ---------- header ---------- */
.nx-header { position: fixed; z-index: 100; inset: 14px 0 auto 0; padding-inline: clamp(.75rem, 2.4vw, 2.2rem); display: flex; justify-content: center; transition: transform .5s var(--ease); pointer-events: none; }
.nx-header.is-hidden { transform: translateY(-130%); }
.nx-bar {
  pointer-events: auto; width: 100%; max-width: 1500px; display: flex; align-items: center; gap: 1.2rem; justify-content: space-between;
  padding: .5rem .55rem .5rem 1.1rem; border-radius: 999px; background: rgba(8, 18, 46, .35); border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); transition: background .4s, border-color .4s, box-shadow .4s;
}
html[dir='rtl'] .nx-bar { padding: .5rem 1.1rem .5rem .55rem; }
.nx-header.is-scrolled .nx-bar { background: rgba(5, 11, 31, .82); border-color: var(--line); box-shadow: 0 18px 50px -20px rgba(0, 0, 0, .7); }
.nx-brand { display: grid; place-items: center; background: #fff; border-radius: 999px; padding: 4px 16px; height: 48px; flex: none; }
.nx-brand img { height: 38px; width: auto; }
.nx-nav { display: flex; align-items: center; gap: .25rem; margin-inline: auto; }
.nx-nav > a, .nx-has-menu > a { position: relative; display: inline-flex; align-items: center; gap: .4rem; padding: .62rem 1rem; border-radius: 999px; font-size: .92rem; font-weight: 600; color: rgba(255, 255, 255, .78); transition: color .25s, background .25s; }
.nx-nav > a:hover, .nx-has-menu:hover > a, .nx-nav .is-current { color: #fff; background: rgba(255, 255, 255, .08); }
.nx-nav .is-current::after { content: ''; position: absolute; inset-inline: 50% auto; bottom: 3px; width: 5px; height: 5px; margin-inline-start: -2.5px; border-radius: 50%; background: var(--amber); }
.caret { width: 7px; height: 7px; border-inline-end: 2px solid currentColor; border-block-end: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .3s; }
.nx-has-menu { position: relative; }
.nx-has-menu:hover .caret { transform: rotate(225deg); }
.nx-mega {
  position: absolute; inset-block-start: calc(100% + 18px); inset-inline-start: 50%; width: min(940px, 92vw); transform: translateX(-50%) translateY(14px);
  background: rgba(5, 11, 31, .96); border: 1px solid var(--line); border-radius: 26px; padding: 1.1rem; opacity: 0; visibility: hidden; transition: .35s var(--ease);
  backdrop-filter: blur(20px); box-shadow: 0 40px 90px -30px #000;
}
html[dir='rtl'] .nx-mega { transform: translateX(50%) translateY(14px); }
.nx-has-menu::after { content: ''; position: absolute; inset-inline: -20px; top: 100%; height: 26px; }
.nx-has-menu:hover .nx-mega, .nx-has-menu:focus-within .nx-mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
html[dir='rtl'] .nx-has-menu:hover .nx-mega, html[dir='rtl'] .nx-has-menu:focus-within .nx-mega { transform: translateX(50%) translateY(0); }
.nx-mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem; }
.nx-mega-grid a { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: .8rem; align-items: center; padding: .8rem .9rem; border-radius: 16px; transition: background .25s, transform .25s; }
.nx-mega-grid a:hover { background: rgba(47, 214, 228, .1); transform: translateY(-2px); }
.nx-mega-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(47, 214, 228, .12); color: var(--cyan); }
.nx-mega-ico .naya-icon { width: 22px; height: 22px; }
.nx-mega-grid b { display: block; font-size: .9rem; color: #fff; line-height: 1.3; }
.nx-mega-grid small { display: block; font-size: .74rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.nx-mega-grid em { position: absolute; inset-block-start: .55rem; inset-inline-end: .8rem; font: 500 .65rem var(--f-mono); color: rgba(255, 255, 255, .25); font-style: normal; }
.nx-mega-all { display: flex; justify-content: center; margin-top: .6rem; padding: .8rem; border-radius: 14px; border: 1px dashed var(--line); font-weight: 700; font-size: .85rem; color: var(--cyan); transition: background .25s; }
.nx-mega-all:hover { background: rgba(47, 214, 228, .08); }
.nx-tools { display: flex; align-items: center; gap: .6rem; flex: none; }
.nx-lang { display: flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .07); }
.nx-lang a { padding: .38rem .85rem; border-radius: 999px; font-size: .76rem; font-weight: 700; color: rgba(255, 255, 255, .6); transition: .25s; }
.nx-lang a.is-active { background: var(--cyan); color: var(--ink); }
.nx-cta { display: inline-flex; align-items: center; gap: .6rem; height: 46px; padding-inline: 1.2rem .35rem; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: .86rem; transition: background .3s, transform .3s; }
.nx-cta i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--cyan); font-style: normal; transition: transform .4s var(--ease); }
.nx-cta:hover { background: var(--cyan); }
.nx-cta:hover i { transform: rotate(45deg); }
html[dir='rtl'] .nx-cta i { transform: scaleX(-1); }
html[dir='rtl'] .nx-cta:hover i { transform: scaleX(-1) rotate(45deg); }
.nx-burger { display: none; }
.nx-burger summary { list-style: none; cursor: pointer; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-content: center; gap: 6px; }
.nx-burger summary::-webkit-details-marker { display: none; }
.nx-burger summary span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease); }
.nx-burger[open] summary span:first-child { transform: translateY(4px) rotate(45deg); }
.nx-burger[open] summary span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nx-sheet { position: fixed; z-index: -1; inset: 0; padding: 110px var(--pad) 40px; background: var(--ink); display: flex; flex-direction: column; gap: .2rem; overflow-y: auto; }
.nx-sheet > a { display: flex; align-items: baseline; gap: 1rem; padding: .55rem 0; font: 700 clamp(1.8rem, 8vw, 3rem)/1.1 var(--f-display); color: #fff; border-bottom: 1px solid var(--line); }
.nx-sheet > a em { font: 500 .75rem var(--f-mono); color: var(--cyan); font-style: normal; }
.nx-sheet-svcs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.nx-sheet-svcs a { padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.nx-sheet-lang { display: flex; gap: .6rem; margin-top: 1.4rem; }
.nx-sheet-lang a { padding: .6rem 1.4rem; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; }
.nx-sheet-lang a.is-active { background: var(--cyan); color: var(--ink); border-color: var(--cyan); }
@media (max-width: 1080px) {
  .nx-nav, .nx-cta { display: none; }
  .nx-burger { display: block; }
  .nx-bar { padding-inline-start: .9rem; }
}
@media (max-width: 520px) { .nx-lang a { padding-inline: .6rem; } .nx-brand { padding-inline: 12px; } }

/* ---------- reveal states (only once the motion layer has booted) ---------- */
.js-ready [data-reveal] { opacity: 0; transform: translateY(40px); }
.js-ready [data-reveal='fade'] { transform: none; }
.js-ready [data-reveal='left'] { transform: translateX(-60px); }
.js-ready [data-reveal='right'] { transform: translateX(60px); }
html[dir='rtl'].js-ready [data-reveal='left'] { transform: translateX(60px); }
html[dir='rtl'].js-ready [data-reveal='right'] { transform: translateX(-60px); }
.js-fail [data-reveal], .rm [data-reveal] { opacity: 1 !important; transform: none !important; }
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .06em .12em; margin-block: -.06em -.12em; }
.sw > span { display: inline-block; will-change: transform; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; min-height: max(100svh, 700px); display: grid; align-items: end; overflow: hidden; isolation: isolate; background: var(--ink); }
.hero-bg { position: absolute; inset: -6% 0; z-index: -4; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; filter: saturate(1.1) contrast(1.05); transform-origin: 62% 40%; }
.hero-shade { position: absolute; inset: 0; z-index: -3; background:
  linear-gradient(180deg, rgba(5, 11, 31, .62) 0%, rgba(5, 11, 31, .1) 32%, rgba(5, 11, 31, .55) 70%, var(--ink) 100%),
  linear-gradient(90deg, rgba(5, 11, 31, .85) 0%, rgba(5, 11, 31, .35) 55%, rgba(5, 11, 31, .15) 100%); }
html[dir='rtl'] .hero-shade { background:
  linear-gradient(180deg, rgba(5, 11, 31, .62) 0%, rgba(5, 11, 31, .1) 32%, rgba(5, 11, 31, .55) 70%, var(--ink) 100%),
  linear-gradient(270deg, rgba(5, 11, 31, .85) 0%, rgba(5, 11, 31, .35) 55%, rgba(5, 11, 31, .15) 100%); }
.hero-grid { position: absolute; inset: 0; z-index: -2; opacity: .55; pointer-events: none;
  background-image: linear-gradient(rgba(47, 214, 228, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 214, 228, .09) 1px, transparent 1px);
  background-size: 72px 72px; mask-image: radial-gradient(ellipse at 40% 45%, #000 15%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse at 40% 45%, #000 15%, transparent 72%); }
.hero-scan { position: absolute; inset-inline: 0; top: 0; height: 160px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(47, 214, 228, .12), transparent); animation: heroscan 7s linear infinite; }
@keyframes heroscan { from { transform: translateY(-160px); } to { transform: translateY(100vh); } }
.hero-hud { position: absolute; inset: calc(var(--header-h) + 14px) var(--pad) auto; bottom: 150px; z-index: 0; pointer-events: none; }
.hero-hud i { position: absolute; width: 34px; height: 34px; border: 0 solid rgba(255, 255, 255, .55); }
.hero-hud i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.hero-hud i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.hero-hud i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.hero-hud i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.hero-hud .rec { position: absolute; top: 12px; inset-inline-end: 54px; display: flex; gap: .55rem; align-items: center; font: 500 .68rem var(--f-mono); letter-spacing: .18em; color: rgba(255, 255, 255, .75); direction: ltr; }
.hero-hud .rec::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.hero-cross { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .4s; direction: ltr; }
.hero:hover .hero-cross { opacity: 1; }
.hero-cross .cx, .hero-cross .cy { position: absolute; background: rgba(47, 214, 228, .35); }
.hero-cross .cx { left: 0; right: 0; height: 1px; top: 0; }
.hero-cross .cy { top: 0; bottom: 0; width: 1px; left: 0; }
.hero-cross b { position: absolute; left: 0; top: 0; padding: .25rem .55rem; font: 500 .66rem var(--f-mono); letter-spacing: .14em; color: var(--cyan); background: rgba(5, 11, 31, .8); border: 1px solid rgba(47, 214, 228, .35); border-radius: 4px; white-space: nowrap; }
@media (hover: none) { .hero-cross { display: none; } }

.hero-inner { padding-block: calc(var(--header-h) + 3.2rem) 0; position: relative; z-index: 2; }
.hero-eyebrow { margin-bottom: 1.2rem; }
.hero-title { font: 800 clamp(2.9rem, min(8.6vw, 17vh), 9rem)/.94 var(--f-display); letter-spacing: -.035em; color: #fff; text-transform: none; max-width: 14ch; }
html[lang='ar'] .hero-title { font-size: clamp(3rem, min(9vw, 17vh), 8.6rem); line-height: 1.12; letter-spacing: 0; font-weight: 700; max-width: 10ch; }
.hero-title .ln { display: block; overflow: hidden; padding-block: .02em .1em; margin-block: -.02em -.1em; }
.hero-title .ln > span { display: inline-block; }
.hero-title .ln:last-child > span { background: linear-gradient(95deg, #fff 10%, var(--cyan) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { margin-top: 1.3rem; max-width: 56ch; font-size: clamp(1rem, 1.3vw, 1.2rem); color: rgba(255, 255, 255, .82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }
.hero-plates { position: relative; z-index: 2; margin-top: clamp(1.6rem, 4vh, 3.5rem); padding-bottom: 1.4rem; }
.plates { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: .8rem; align-items: stretch; }
.plate { position: relative; padding: 1.05rem 1.2rem 1.1rem; border-radius: 18px; background: rgba(8, 18, 46, .72); border: 1px solid rgba(255, 255, 255, .13); transition: transform .4s var(--ease), border-color .3s, background .3s; overflow: hidden; }
.plate::before { content: ''; position: absolute; inset-inline-start: 0; top: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--cyan), transparent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
html[dir='rtl'] .plate::before { transform-origin: right; }
.plate:hover { transform: translateY(-5px); border-color: rgba(47, 214, 228, .5); background: rgba(8, 18, 46, .72); }
.plate:hover::before { transform: scaleX(1); }
.plate-id { display: inline-block; padding: .16rem .55rem; border-radius: 6px; background: var(--amber); color: #1a1300; font: 600 .68rem var(--f-mono); letter-spacing: .1em; }
.plate-id.is-none { background: rgba(255, 255, 255, .12); color: #fff; }
.plate strong { display: block; margin-top: .65rem; font: 700 1.12rem/1.2 var(--f-display); color: #fff; }
.plate span:last-child { display: block; margin-top: .2rem; font-size: .8rem; color: var(--muted); }
.plate-verify { display: grid; place-content: center; text-align: center; gap: .3rem; padding: 1rem 1.4rem; border-radius: 18px; border: 1px dashed rgba(255, 255, 255, .3); font-size: .82rem; font-weight: 700; color: #fff; transition: .3s; }
.plate-verify i { font-style: normal; color: var(--cyan); font-size: 1.3rem; transition: transform .35s var(--ease); }
.plate-verify:hover { border-color: var(--cyan); background: rgba(47, 214, 228, .1); }
.plate-verify:hover i { transform: translate(3px, -3px); }
.plates-note { margin-top: 1rem; font-size: .74rem; color: rgba(255, 255, 255, .5); max-width: 80ch; }
.scroll-cue { position: absolute; z-index: 3; inset-inline-end: var(--pad); bottom: 7.2rem; display: flex; flex-direction: column; align-items: center; gap: .7rem; font: 500 .66rem var(--f-mono); letter-spacing: .25em; text-transform: uppercase; color: rgba(255, 255, 255, .7); writing-mode: vertical-rl; }
html[lang='ar'] .scroll-cue { letter-spacing: 0; font-family: var(--f-body); font-size: .78rem; text-transform: none; }
.scroll-cue i { display: block; width: 1px; height: 54px; background: rgba(255, 255, 255, .25); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; inset: 0; background: var(--cyan); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (max-width: 1100px) { .plates { grid-template-columns: repeat(2, 1fr); } .plate-verify { grid-column: 1 / -1; padding-block: .8rem; } .scroll-cue { display: none; } }
@media (max-width: 560px) { .plates { grid-template-columns: 1fr 1fr; gap: .55rem; } .plate { padding: .85rem; } .plate strong { font-size: .95rem; } .hero-hud { display: none; } }

/* ---------- standards ticker ---------- */
.ticker { background: var(--amber); color: #15110a; overflow: hidden; border-block: 1px solid rgba(0, 0, 0, .15); position: relative; z-index: 3; }
.ticker-track { display: flex; width: max-content; direction: ltr; animation: marquee 38s linear infinite; will-change: transform; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { display: inline-flex; align-items: center; gap: 2.2rem; padding: 1rem 0 1rem 2.2rem; font: 700 clamp(.85rem, 1.1vw, 1.05rem) var(--f-display); letter-spacing: .03em; white-space: nowrap; }
.ticker span::after { content: '✦'; font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   SERVICES — pinned showcase
   ========================================================================== */
.svx { position: relative; background: radial-gradient(1200px 600px at 85% 0%, rgba(25, 171, 184, .14), transparent 60%), var(--night); padding-block: clamp(4rem, 9vw, 8rem) clamp(3rem, 6vw, 6rem); }
.svx-sticky { position: relative; }
.svx-head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: 2.4rem; }
.svx-head .h2 { margin-top: 1rem; }
.svx-body { display: grid; gap: 2rem; }
.svx-index { display: none; }
.svx-cards { display: grid; gap: 1.4rem; }
.svx-card { position: relative; border-radius: 30px; overflow: hidden; min-height: 600px; isolation: isolate; border: 1px solid var(--line); background: var(--navy); display: grid; align-items: end; }
.svx-photo { position: absolute; inset: 0; z-index: -2; }
.svx-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease); }
.svx-card.is-on .svx-photo img { transform: scale(1); }
.svx-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 11, 31, .96) 8%, rgba(5, 11, 31, .55) 48%, rgba(5, 11, 31, .25) 100%), linear-gradient(90deg, rgba(5, 11, 31, .55), transparent 60%); }
html[dir='rtl'] .svx-photo::after { background: linear-gradient(0deg, rgba(5, 11, 31, .96) 8%, rgba(5, 11, 31, .55) 48%, rgba(5, 11, 31, .25) 100%), linear-gradient(270deg, rgba(5, 11, 31, .55), transparent 60%); }
.svx-ins { position: absolute; inset-block-start: 1.4rem; inset-inline-end: 1.4rem; width: min(300px, 44%); aspect-ratio: 1; z-index: -1; padding: 1.2rem; border-radius: 50%; background: rgba(5, 11, 31, .66); border: 1px solid rgba(47, 214, 228, .3); }
.svx-ins::before { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 1px dashed rgba(47, 214, 228, .35); animation: spin 40s linear infinite; }
.svx-num { position: absolute; inset-block-start: 1.2rem; inset-inline-start: 1.6rem; z-index: -1; font: 800 clamp(5rem, 11vw, 9rem)/1 var(--f-display); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .22); letter-spacing: -.04em; direction: ltr; }
.svx-copy { padding: clamp(1.4rem, 3vw, 3rem); max-width: 820px; }
.svx-copy .eyebrow { margin-bottom: .9rem; }
.svx-copy h3 { font: 700 clamp(1.8rem, 3.6vw, 3.4rem)/1.12 var(--f-display); letter-spacing: -.02em; color: #fff; }
html[lang='ar'] .svx-copy h3 { line-height: 1.3; letter-spacing: 0; }
.svx-tag { margin-top: .5rem; font-size: clamp(1rem, 1.4vw, 1.25rem); color: var(--cyan); font-weight: 600; }
.svx-intro { margin-top: .9rem; color: rgba(255, 255, 255, .82); max-width: 62ch; }
.svx-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.2rem; }
.svx-chips li { padding: .35rem .8rem; border-radius: 999px; font-size: .78rem; font-weight: 600; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }
.svx-copy .btn { margin-top: 1.5rem; }
.svx-more { display: flex; justify-content: center; margin-top: 2.4rem; }

/* pinned (desktop, JS) */
.svx.is-pinned { padding-block: 0; }
.svx.is-pinned .svx-sticky { height: 100svh; padding-block: calc(var(--header-h) + .6rem) 1.6rem; display: grid; grid-template-rows: auto 1fr; }
.svx.is-pinned .svx-head { margin-bottom: 1.1rem; align-items: center; }
.svx.is-pinned .svx-head .h2 { font-size: clamp(1.6rem, 2.9vw, 3rem); margin-top: .5rem; }
.svx.is-pinned .svx-head .lede { font-size: .95rem; }
.svx.is-pinned .svx-body { grid-template-columns: minmax(230px, 310px) 1fr; min-height: 0; gap: 1.6rem; }
.svx.is-pinned .svx-index { display: flex; flex-direction: column; justify-content: center; position: relative; padding-inline-start: 1.2rem; min-height: 0; }
.svx-index::before { content: ''; position: absolute; inset-inline-start: 0; inset-block: 6px; width: 1px; background: var(--line); }
.svx-index-fill { position: absolute; inset-inline-start: -1px; top: 6px; width: 3px; height: calc(100% - 12px); background: linear-gradient(180deg, var(--cyan), var(--amber)); transform-origin: top; transform: scaleY(0); border-radius: 3px; }
.svx-index li { list-style: none; }
.svx-index button { display: flex; align-items: baseline; gap: .8rem; width: 100%; padding: .42rem 0; background: none; border: 0; cursor: pointer; text-align: start; color: rgba(255, 255, 255, .4); transition: color .3s, transform .4s var(--ease); font: 600 clamp(.8rem, 1.1vw, 1rem)/1.25 var(--f-body); }
.svx-index button em { font: 500 .68rem var(--f-mono); font-style: normal; color: rgba(255, 255, 255, .3); transition: color .3s; direction: ltr; min-width: 1.6rem; }
.svx-index button:hover { color: #fff; }
.svx-index li.is-active button { color: #fff; transform: translateX(10px); }
html[dir='rtl'] .svx-index li.is-active button { transform: translateX(-10px); }
.svx-index li.is-active em { color: var(--amber); }
.svx.is-pinned .svx-cards { position: relative; display: block; min-height: 0; height: 100%; }
.svx.is-pinned .svx-card { position: absolute; inset: 0; min-height: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.svx.is-pinned .svx-card.is-on { opacity: 1; visibility: visible; }
.svx.is-pinned .svx-copy > * { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.svx.is-pinned .svx-card.is-on .svx-copy > * { opacity: 1; transform: none; }
.svx.is-pinned .svx-card.is-on .svx-copy > *:nth-child(2) { transition-delay: .08s; }
.svx.is-pinned .svx-card.is-on .svx-copy > *:nth-child(3) { transition-delay: .16s; }
.svx.is-pinned .svx-card.is-on .svx-copy > *:nth-child(4) { transition-delay: .24s; }
.svx.is-pinned .svx-card.is-on .svx-copy > *:nth-child(5) { transition-delay: .32s; }
.svx.is-pinned .svx-card.is-on .svx-copy > *:nth-child(6) { transition-delay: .4s; }
.svx.is-pinned .svx-more { display: none; }
@media (max-width: 1100px) { .svx-head { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .svx-card { min-height: 640px; border-radius: 24px; }
  .svx-ins { width: 132px; padding: .8rem; inset-block-start: 1rem; inset-inline-end: 1rem; }
  .svx-num { font-size: 4.2rem; inset-block-start: 1rem; inset-inline-start: 1.2rem; }
  .svx-copy { padding-top: 8.5rem; }
}

/* ---------- instrument (SVG) animation library ---------- */
.ins { width: 100%; height: auto; overflow: visible; color: var(--cyan); }
.ins .a { stroke: var(--amber); }
.ins .af { fill: rgba(255, 184, 0, .16); stroke: var(--amber); }
.ins .dim { opacity: .38; }
.ins .soft { opacity: .12; }
.ins .mono { font: 500 11px var(--f-mono); letter-spacing: .08em; opacity: .85; }
.ins .draw { stroke-dasharray: 100; stroke-dashoffset: 0; }
.js-ready .ins .draw { stroke-dashoffset: 100; }
.is-on .ins .draw { animation: draw 1.8s var(--ease) forwards; }
.is-on .ins .d2 { animation-delay: .25s; } .is-on .ins .d3 { animation-delay: .5s; } .is-on .ins .d4 { animation-delay: .8s; } .is-on .ins .d5 { animation-delay: 1.1s; }
.js-fail .ins .draw, .rm .ins .draw { stroke-dashoffset: 0 !important; animation: none !important; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
.ins .pulse, .ins .spin, .ins .crate, .ins .rip, .ins .bub, .ins .drop, .ins .bars rect, .ins .fillbar { transform-box: fill-box; transform-origin: center; }
.is-on .ins .pulse { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(.7); opacity: .6; } 50% { transform: scale(1.5); opacity: 1; } }
.is-on .ins .spin { animation: spin 16s linear infinite; }
.is-on .ins .spin.ccw { animation-direction: reverse; animation-duration: 11.2s; }
.is-on .ins .spin.slow { animation-duration: 46s; } .is-on .ins .spin.ccw.slow { animation-duration: 70s; }
.ins .beam { transform: translateX(40px); }
.is-on .ins .beam { animation: beam 3.2s ease-in-out infinite alternate; }
@keyframes beam { to { transform: translateX(280px); } }
.ins .needle { transform-box: view-box; transform-origin: 160px 190px; transform: rotate(-70deg); }
.is-on .ins .needle { animation: needle 4.4s cubic-bezier(.3, 1.4, .5, 1) infinite; }
@keyframes needle { 0% { transform: rotate(-70deg); } 22% { transform: rotate(34deg); } 34% { transform: rotate(18deg); } 44%, 82% { transform: rotate(24deg); } 100% { transform: rotate(-70deg); } }
.is-on .ins .wave { animation: wave 3s linear infinite; }
@keyframes wave { to { transform: translateX(-130px); } }
.is-on .ins .bolt { animation: flick 2.4s steps(1) infinite; }
@keyframes flick { 0%, 100% { opacity: 1; } 8% { opacity: .2; } 12% { opacity: 1; } 55% { opacity: .5; } 58% { opacity: 1; } }
.is-on .ins .load { animation: lift 5s ease-in-out infinite; }
@keyframes lift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-58px); } }
.ins .fillbar { transform-origin: left center; transform: scaleX(0); }
.is-on .ins .fillbar { animation: fillbar 3.6s var(--ease) infinite; }
@keyframes fillbar { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }
.is-on .ins .crate { animation: crate 4.2s ease-in-out infinite; }
.is-on .ins .c2 { animation-delay: .45s; } .is-on .ins .c3 { animation-delay: .9s; }
@keyframes crate { 0% { transform: translateY(-70px); opacity: 0; } 22%, 82% { transform: none; opacity: 1; } 100% { transform: translateX(40px); opacity: 0; } }
.ins .bars rect { transform-origin: bottom center; transform: scaleY(0); }
.is-on .ins .bars rect { animation: grow 1.2s var(--ease) forwards; }
.is-on .ins .bars rect:nth-child(2) { animation-delay: .12s; } .is-on .ins .bars rect:nth-child(3) { animation-delay: .24s; } .is-on .ins .bars rect:nth-child(4) { animation-delay: .36s; } .is-on .ins .bars rect:nth-child(5) { animation-delay: .48s; }
@keyframes grow { to { transform: scaleY(1); } }
.is-on .ins .drop { animation: drip 2.8s ease-in infinite; }
@keyframes drip { 0% { transform: translateY(-14px); opacity: 0; } 14% { opacity: 1; } 62% { transform: translateY(104px); opacity: 1; } 64%, 100% { transform: translateY(104px); opacity: 0; } }
.ins .rip { opacity: 0; }
.is-on .ins .rip { animation: ripple 2.8s ease-out infinite; }
.is-on .ins .r2 { animation-delay: .18s; } .is-on .ins .r3 { animation-delay: .36s; }
@keyframes ripple { 0%, 62% { opacity: 0; transform: scale(.2); } 64% { opacity: .9; } 100% { opacity: 0; transform: scale(1.7); } }
.is-on .ins .liquid { animation: liq 3.4s linear infinite; }
@keyframes liq { to { transform: translateX(-100px); } }
.is-on .ins .bub { animation: bub 2.6s ease-in infinite; }
.is-on .ins .b2 { animation-delay: .8s; } .is-on .ins .b3 { animation-delay: 1.5s; }
@keyframes bub { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: .95; } 100% { transform: translateY(-74px); opacity: 0; } }

/* ==========================================================================
   MANIFESTO — word-by-word light-up + numbers + pillars
   ========================================================================== */
.mf { position: relative; padding-block: clamp(5rem, 11vw, 11rem); background: var(--ink); overflow: hidden; }
.mf::before { content: ''; position: absolute; inset-inline-start: -20%; top: 10%; width: 70vw; height: 70vw; background: radial-gradient(circle, rgba(61, 145, 210, .18), transparent 60%); pointer-events: none; }
.mf-quote { font: 700 clamp(2rem, 5.4vw, 5.6rem)/1.12 var(--f-display); letter-spacing: -.025em; max-width: 19ch; color: #fff; }
html[lang='ar'] .mf-quote { line-height: 1.35; letter-spacing: 0; max-width: 16ch; }
.mf-quote .w { opacity: .16; transition: none; display: inline-block; }
.rm .mf-quote .w, .js-fail .mf-quote .w { opacity: 1 !important; }
.mf-body { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 6rem; margin-top: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.mf-body > p { font-size: clamp(1.05rem, 1.5vw, 1.35rem); color: rgba(255, 255, 255, .78); max-width: 52ch; }
.mf-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-block-start: 1px solid var(--line); }
.mf-stat { padding: 1.6rem 0 1.4rem; border-block-end: 1px solid var(--line); }
.mf-stat:nth-child(odd) { padding-inline-end: 1.2rem; border-inline-end: 1px solid var(--line); }
.mf-stat:nth-child(even) { padding-inline-start: 1.6rem; }
.mf-stat strong { display: block; font: 800 clamp(2.6rem, 5vw, 4.8rem)/1 var(--f-display); letter-spacing: -.03em; background: linear-gradient(180deg, #fff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; text-align: start; }
.mf-stat span { display: block; margin-top: .5rem; font-size: .84rem; color: var(--muted); }
.mf-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: clamp(3rem, 7vw, 6rem); }
.pillar { position: relative; padding: 1.8rem 1.5rem 1.6rem; border-radius: 24px; background: linear-gradient(160deg, rgba(23, 38, 92, .55), rgba(8, 18, 46, .35)); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), border-color .3s; }
.pillar::after { content: ''; position: absolute; inset: auto -40% -60% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(47, 214, 228, .2), transparent 65%); opacity: 0; transition: opacity .5s; }
.pillar:hover { transform: translateY(-8px); border-color: rgba(47, 214, 228, .5); }
.pillar:hover::after { opacity: 1; }
.pillar-no { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(47, 214, 228, .14); color: var(--cyan); font: 600 .8rem var(--f-mono); margin-bottom: 1.3rem; }
.pillar h3 { font: 700 1.25rem/1.25 var(--f-display); color: #fff; margin-bottom: .5rem; }
.pillar p { font-size: .92rem; color: var(--muted); }
.mf-link { display: inline-flex; margin-top: 2rem; align-items: center; gap: .6rem; font-weight: 700; color: var(--cyan); border-block-end: 1px solid rgba(47, 214, 228, .4); padding-block-end: .2rem; transition: gap .3s; }
.mf-link:hover { gap: 1rem; }
@media (max-width: 1000px) { .mf-body { grid-template-columns: 1fr; gap: 2.5rem; } .mf-pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mf-pillars { grid-template-columns: 1fr; } }

/* ==========================================================================
   FIELD GALLERY — pinned horizontal scroll
   ========================================================================== */
.fld { position: relative; background: var(--night); padding-block: clamp(4rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem); overflow: hidden; }
.fld-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: 2.6rem; }
.fld-head .h2 { margin-top: 1rem; }
.fld-viewport { overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--pad); scrollbar-width: thin; }
.fld-track { display: flex; gap: 1.2rem; width: max-content; padding-block-end: 1rem; }
.fld-card { position: relative; flex: none; width: min(78vw, 560px); aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; scroll-snap-align: center; border: 1px solid var(--line); background: var(--navy); isolation: isolate; }
.fld-card:nth-child(even) { margin-block-start: 3rem; }
.fld-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.fld-card:hover img { transform: scale(1.06); }
.fld-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 11, 31, .92), rgba(5, 11, 31, 0) 60%); }
.fld-card figcaption { position: absolute; inset: auto 0 0 0; padding: 1.5rem; }
.fld-card .fno { font: 500 .7rem var(--f-mono); letter-spacing: .2em; color: var(--amber); direction: ltr; display: block; margin-bottom: .5rem; }
.fld-card h3 { font: 700 1.35rem/1.2 var(--f-display); color: #fff; }
.fld-card p { margin-top: .35rem; font-size: .88rem; color: rgba(255, 255, 255, .75); }
.fld.is-pinned { padding-block: 0; }
.fld.is-pinned .fld-sticky { height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding-block: calc(var(--header-h) + 1rem) 1.6rem; }
.fld.is-pinned .fld-head { margin-bottom: 1.2rem; }
.fld.is-pinned .fld-head .h2 { font-size: clamp(1.7rem, 3.2vw, 3.2rem); margin-top: .5rem; }
.fld.is-pinned .fld-viewport { overflow: visible; padding: 0; min-height: 0; align-self: center; }
.fld.is-pinned .fld-track { will-change: transform; padding-inline: var(--pad); padding-block-end: 0; }
.fld.is-pinned .fld-card { width: min(34vw, 520px); aspect-ratio: auto; height: min(58vh, 560px); }
.fld.is-pinned .fld-card:nth-child(even) { margin-block-start: 0; transform: translateY(2.2rem); }
.fld-bar { height: 2px; background: var(--line); margin-inline: var(--pad); border-radius: 2px; overflow: hidden; display: none; }
.fld.is-pinned .fld-bar { display: block; }
.fld-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--amber)); transform-origin: left; transform: scaleX(0); }
html[dir='rtl'] .fld-bar i { transform-origin: right; }
@media (max-width: 900px) { .fld-head { grid-template-columns: 1fr; } }

/* ==========================================================================
   APPROACH — path drawn by scroll
   ========================================================================== */
.flow { position: relative; padding-block: clamp(5rem, 10vw, 10rem); background: var(--ink); overflow: hidden; }
.flow-head { text-align: center; max-width: 820px; margin-inline: auto; margin-bottom: clamp(3rem, 6vw, 6rem); }
.flow-head .h2 { margin-top: 1rem; }
.flow-head .lede { margin: 1rem auto 0; }
.flow-line { position: relative; max-width: 1100px; margin-inline: auto; display: grid; gap: clamp(2rem, 5vw, 4.5rem); --p: 0; }
.flow-line::before, .flow-line::after { content: ''; position: absolute; inset-inline-start: 50%; top: 0; bottom: 0; width: 2px; margin-inline-start: -1px; }
.flow-line::before { background: var(--line); }
.flow-line::after { background: linear-gradient(180deg, var(--cyan), var(--amber)); transform-origin: top; transform: scaleY(var(--p)); box-shadow: 0 0 22px rgba(47, 214, 228, .6); }
.step { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.step-card { grid-column: 1; padding: 2rem 2.2rem; border-radius: 26px; background: linear-gradient(160deg, rgba(23, 38, 92, .5), rgba(8, 18, 46, .3)); border: 1px solid var(--line); margin-inline-end: clamp(1.5rem, 6vw, 5rem); transition: border-color .5s, transform .6s var(--ease), background .5s; }
.step:nth-child(even) .step-card { grid-column: 2; margin-inline-end: 0; margin-inline-start: clamp(1.5rem, 6vw, 5rem); }
.step-dot { position: absolute; inset-inline-start: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); border: 2px solid var(--line); font: 700 1.05rem var(--f-mono); color: var(--muted); z-index: 2; transition: .5s var(--ease); direction: ltr; }
html[dir='rtl'] .step-dot { margin: -27px -27px 0 0; }
.step.is-lit .step-dot { border-color: var(--cyan); color: var(--ink); background: var(--cyan); box-shadow: 0 0 0 8px rgba(47, 214, 228, .15), 0 0 40px rgba(47, 214, 228, .5); transform: scale(1.12); }
.step.is-lit .step-card { border-color: rgba(47, 214, 228, .45); transform: translateY(-4px); background: linear-gradient(160deg, rgba(23, 38, 92, .8), rgba(8, 18, 46, .5)); }
.step-card .sno { font: 800 clamp(3rem, 6vw, 5rem)/1 var(--f-display); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .25); direction: ltr; display: block; margin-bottom: .3rem; }
.step-card h3 { font: 700 clamp(1.4rem, 2.2vw, 2rem)/1.2 var(--f-display); color: #fff; }
.step-card p { margin-top: .55rem; color: var(--muted); max-width: 40ch; }
@media (max-width: 820px) {
  .flow-line::before, .flow-line::after { inset-inline-start: 27px; }
  .step { grid-template-columns: 1fr; padding-inline-start: 72px; }
  .step-card, .step:nth-child(even) .step-card { grid-column: 1; margin: 0; }
  .step-dot { inset-inline-start: 27px; }
}

/* ==========================================================================
   CREDENTIALS — twin marquee
   ========================================================================== */
.creds { position: relative; background: var(--paper); color: #0d1b45; padding-block: clamp(4rem, 8vw, 8rem); overflow: hidden; }
.creds-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: 3rem; }
.creds .eyebrow { color: #0c7f8a; }
.creds .h2 { color: #0d1b45; margin-top: 1rem; }
.creds-head p { color: #51608a; font-size: 1.05rem; }
.creds-count { display: inline-flex; align-items: baseline; gap: .6rem; margin-bottom: 1.6rem; font: 500 .8rem var(--f-mono); letter-spacing: .15em; color: #0c7f8a; }
.creds-count b { font: 800 3.4rem/1 var(--f-display); color: #0d1b45; letter-spacing: -.03em; }
.creds-rows { position: relative; display: grid; gap: 1rem; direction: ltr; overflow: hidden; }
.creds-rows::before, .creds-rows::after { content: ''; position: absolute; z-index: 2; top: 0; bottom: 0; width: clamp(40px, 9vw, 160px); pointer-events: none; }
.creds-rows::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.creds-rows::after { right: 0; background: linear-gradient(270deg, var(--paper), transparent); }
.creds-row { display: flex; width: max-content; gap: 1rem; animation: marquee 55s linear infinite; will-change: transform; }
.creds-row.rev { animation-direction: reverse; animation-duration: 62s; }
.creds-rows:hover .creds-row { animation-play-state: paused; }
.cred { flex: none; width: 210px; height: 128px; padding: 1rem 1.2rem; display: grid; grid-template-rows: 1fr auto; gap: .5rem; border-radius: 20px; background: #fff; border: 1px solid #dbe5f1; box-shadow: 0 10px 30px -18px rgba(13, 27, 69, .35); transition: transform .4s var(--ease), box-shadow .4s; }
.cred:hover { transform: translateY(-6px) scale(1.04); box-shadow: 0 24px 40px -18px rgba(13, 27, 69, .5); }
.cred div { display: grid; place-items: center; min-height: 0; }
.cred img { max-height: 58px; width: auto; max-width: 100%; object-fit: contain; }
.cred span { text-align: center; font: 600 .72rem var(--f-mono); color: #51608a; letter-spacing: .06em; }
.creds-note { margin-top: 2rem; font-size: .8rem; color: #667497; max-width: 90ch; }
@media (max-width: 900px) { .creds-head { grid-template-columns: 1fr; } .cred { width: 170px; height: 112px; } }

/* ==========================================================================
   TRAINING — photo bento + featured programme
   ========================================================================== */
.trn { position: relative; padding-block: clamp(5rem, 10vw, 9rem); background: radial-gradient(900px 500px at 10% 100%, rgba(255, 184, 0, .08), transparent 60%), var(--night); overflow: hidden; }
.trn-top { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 5rem; align-items: end; margin-bottom: 3rem; }
.trn-top .h2 { margin-top: 1rem; }
.trn-top p { color: var(--muted); font-size: 1.1rem; max-width: 52ch; }
.trn-points { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.trn-points span { padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .04); }
.trn-points span::before { content: '◆'; color: var(--amber); margin-inline-end: .5rem; font-size: .7em; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(150px, 17vw, 250px); gap: 1rem; }
.bento figure { position: relative; margin: 0; border-radius: 24px; overflow: hidden; isolation: isolate; border: 1px solid var(--line); }
.bento figure:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.bento figure:nth-child(2) { grid-column: span 3; }
.bento figure:nth-child(3) { grid-column: span 3; }
.bento figure:nth-child(4) { grid-column: span 2; }
.bento figure:nth-child(5) { grid-column: span 2; }
.bento figure:nth-child(6) { grid-column: span 2; }
.bento img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.bento figure:hover img { transform: scale(1.08); }
.bento figure::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 11, 31, .9), transparent 55%); opacity: .85; transition: opacity .4s; }
.bento figcaption { position: absolute; inset: auto 0 0 0; padding: 1.1rem 1.2rem; transform: translateY(8px); transition: transform .5s var(--ease); }
.bento figure:hover figcaption { transform: none; }
.bento figcaption b { display: block; font: 700 1.05rem/1.25 var(--f-display); color: #fff; }
.bento figcaption span { display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: .82rem; color: rgba(255, 255, 255, .8); transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.bento figure:hover figcaption span { max-height: 4.5em; opacity: 1; margin-top: .3rem; }
.trn-program { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 3rem; align-items: center; margin-top: 1.4rem; padding: 1.8rem 2.2rem; border-radius: 28px; background: linear-gradient(110deg, rgba(25, 171, 184, .25), rgba(23, 38, 92, .55)); border: 1px solid rgba(47, 214, 228, .35); position: relative; overflow: hidden; }
.trn-program::before { content: ''; position: absolute; inset: -50% auto -50% -10%; width: 40%; background: radial-gradient(circle, rgba(255, 184, 0, .18), transparent 65%); pointer-events: none; }
.trn-badge { padding: .4rem .9rem; border-radius: 999px; background: var(--amber); color: #1a1300; font: 600 .7rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
html[lang='ar'] .trn-badge { letter-spacing: 0; text-transform: none; font-family: var(--f-body); font-size: .8rem; font-weight: 700; }
.trn-program h3 { font: 700 clamp(1.4rem, 2.4vw, 2.2rem)/1.2 var(--f-display); color: #fff; }
.trn-program p { margin-top: .4rem; color: rgba(255, 255, 255, .78); max-width: 62ch; }
.trn-launch { text-align: center; padding-inline: 1.5rem; border-inline: 1px solid var(--line); }
.trn-launch span { display: block; font-size: .74rem; color: var(--muted); }
.trn-launch strong { display: block; font: 700 1.6rem var(--f-display); color: #fff; direction: ltr; }
@media (max-width: 1000px) { .trn-top { grid-template-columns: 1fr; } .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } .bento figure:nth-child(n) { grid-column: span 1; grid-row: span 1; } .bento figure:nth-child(1) { grid-column: span 2; } .trn-program { grid-template-columns: 1fr; } .trn-launch { border: 0; padding: 0; text-align: start; } }

/* ==========================================================================
   PRESENCE — radar
   ========================================================================== */
.prs { position: relative; padding-block: clamp(5rem, 9vw, 9rem); background: var(--ink); overflow: hidden; }
.prs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 5rem; align-items: center; }
.prs-copy .h2 { margin: 1rem 0 1.2rem; }
.region-list { display: grid; gap: .7rem; margin-top: 2rem; }
.region { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 0 1rem; align-items: center; padding: 1rem 1.2rem; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); transition: .4s var(--ease); }
.region:hover, .region.is-hot { border-color: rgba(47, 214, 228, .5); background: rgba(47, 214, 228, .07); transform: translateX(8px); }
html[dir='rtl'] .region:hover, html[dir='rtl'] .region.is-hot { transform: translateX(-8px); }
.region > span { grid-row: span 2; font: 600 .8rem var(--f-mono); color: var(--amber); direction: ltr; }
.region strong { font: 700 1.2rem var(--f-display); color: #fff; }
.region p { font-size: .84rem; color: var(--muted); }
.region i { display: none; }
.radar { position: relative; width: min(100%, 560px); aspect-ratio: 1; margin-inline: auto; direction: ltr; }
.radar-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line); }
.radar-ring:nth-child(2) { inset: 14%; } .radar-ring:nth-child(3) { inset: 28%; } .radar-ring:nth-child(4) { inset: 42%; }
.radar::before, .radar::after { content: ''; position: absolute; background: var(--line); }
.radar::before { inset-inline: 0; top: 50%; height: 1px; } .radar::after { inset-block: 0; left: 50%; width: 1px; }
.radar-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(47, 214, 228, .38), rgba(47, 214, 228, 0) 22%); animation: spin 6s linear infinite; will-change: transform; }
.node { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; }
.node::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(255, 184, 0, .6); animation: ping 2.4s ease-out infinite; }
.node.core::before { width: 20px; height: 20px; background: var(--cyan); box-shadow: 0 0 0 0 rgba(47, 214, 228, .6); }
.node b { position: absolute; top: 22px; white-space: nowrap; font: 600 .78rem var(--f-body); color: #fff; padding: .15rem .6rem; border-radius: 999px; background: rgba(5, 11, 31, .8); border: 1px solid var(--line); direction: initial; }
.node:nth-of-type(2)::before { animation-delay: .5s; } .node:nth-of-type(3)::before { animation-delay: 1s; } .node:nth-of-type(4)::before { animation-delay: 1.5s; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 184, 0, .55); } 80%, 100% { box-shadow: 0 0 0 24px rgba(255, 184, 0, 0); } }
@media (max-width: 900px) { .prs-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   CONTACT (home)
   ========================================================================== */
.cnt { position: relative; padding-block: clamp(5rem, 9vw, 9rem); background: radial-gradient(1000px 600px at 90% 10%, rgba(25, 171, 184, .2), transparent 60%), linear-gradient(180deg, var(--ink), var(--brand)); overflow: hidden; }
.cnt-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem 5rem; align-items: start; }
.cnt-copy .h2 { margin: 1rem 0 1.2rem; font-size: clamp(2.2rem, 5vw, 5rem); }
.cnt-lines { display: grid; gap: .6rem; margin-top: 2.4rem; }
.cnt-lines a, .cnt-lines span { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.3rem; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-weight: 600; transition: .3s; }
.cnt-lines a:hover { border-color: var(--cyan); background: rgba(47, 214, 228, .08); transform: translateX(6px); }
html[dir='rtl'] .cnt-lines a:hover { transform: translateX(-6px); }
.cnt-lines b { font-family: var(--f-mono); font-weight: 500; color: var(--cyan); direction: ltr; }
.form-card { padding: clamp(1.4rem, 3vw, 2.6rem); border-radius: 30px; background: rgba(5, 11, 31, .72); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 40px 90px -40px #000; }
.enquiry-form, .contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.enquiry-form .wide, .contact-form .wide, .contact-form > label:not(.half) { grid-column: 1 / -1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; grid-column: 1 / -1; }
.enquiry-form label, .contact-form label { display: grid; gap: .45rem; }
.enquiry-form label span, .contact-form label span { font: 500 .72rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
html[lang='ar'] .enquiry-form label span, html[lang='ar'] .contact-form label span { letter-spacing: 0; text-transform: none; font-family: var(--f-body); font-size: .85rem; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea, .contact-form input, .contact-form textarea {
  width: 100%; padding: .95rem 1rem; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); color: #fff; transition: border-color .25s, background .25s, box-shadow .25s; font-size: .98rem;
}
.enquiry-form select option { color: #0d1b45; }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus, .contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--cyan); background: rgba(47, 214, 228, .07); box-shadow: 0 0 0 4px rgba(47, 214, 228, .14); }
.enquiry-form textarea, .contact-form textarea { resize: vertical; min-height: 110px; }
.enquiry-form button[type='submit'], .contact-form .btn { grid-column: 1 / -1; justify-self: start; }
.enquiry-form button { display: inline-flex; align-items: center; height: 58px; padding-inline: 2rem; border: 0; border-radius: 999px; background: var(--cyan); color: var(--ink); font-weight: 800; cursor: pointer; transition: transform .3s, box-shadow .3s; }
.enquiry-form button:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -10px rgba(47, 214, 228, .6); }
.hp-field { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; border: 0 !important; overflow: hidden !important; clip-path: inset(50%) !important; opacity: 0 !important; pointer-events: none !important; }
.enquiry-done, .form-alert { padding: 1rem 1.2rem; border-radius: 14px; background: rgba(47, 214, 228, .14); border: 1px solid rgba(47, 214, 228, .5); margin-bottom: 1.2rem; color: #fff; }
.enquiry-error, .contact-form em { color: #ff9a9a; font-size: .85rem; font-style: normal; grid-column: 1 / -1; }
@media (max-width: 1000px) { .cnt-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .enquiry-form, .contact-form, .form-row { grid-template-columns: 1fr; } }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; z-index: 90; right: 1.2rem; bottom: 1.2rem; display: inline-flex; align-items: center; gap: .6rem; height: 52px; padding-inline: 1.1rem; border-radius: 999px; background: #25d366; color: #052b14; font-weight: 800; font-size: .86rem; box-shadow: 0 14px 34px -10px rgba(37, 211, 102, .6); transition: transform .3s var(--ease); }
.wa-float:hover { transform: translateY(-4px) scale(1.04); }
@media (max-width: 620px) { .wa-float span { display: none; } .wa-float { width: 52px; padding: 0; justify-content: center; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker-track, .creds-row { animation: none !important; }
}
