/* ==========================================================================
   Sehtak — صحتك
   Bilingual (EN primary / AR secondary) brand site with a WebGL stage
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #F3F8FC;
  --bg-soft: #E6F1FA;
  --surface: rgba(255, 255, 255, .66);
  --surface-solid: #FFFFFF;
  --ink: #0A1C36;
  --ink-2: #43566F;
  --ink-3: #7A8BA3;
  --line: rgba(10, 28, 54, .10);

  --aqua: #55C2EE;
  --sky: #9EDDF8;
  --blue: #1F6FD0;
  --deep: #13439A;
  --navy: #061833;
  --grad: linear-gradient(115deg, #86D8F8 0%, #3A9FE6 46%, #174DA6 100%);

  --f-display: "Sora", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-ar: "Alexandria", system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --radius: 28px;
}

html[lang="ar"] {
  --f-display: "Alexandria", system-ui, sans-serif;
  --f-body: "IBM Plex Sans Arabic", system-ui, sans-serif;
}

body.theme-dark {
  --bg: #061833;
  --bg-soft: #0B2448;
  --surface: rgba(255, 255, 255, .06);
  --surface-solid: #0C2347;
  --ink: #EAF4FF;
  --ink-2: #A9BDD7;
  --ink-3: #7D93B2;
  --line: rgba(234, 244, 255, .13);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  transition: background-color .9s var(--ease), color .9s var(--ease);
}
html[lang="ar"] body { font-size: 17.5px; line-height: 1.85; }
body.is-loading { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { display: block; }
::selection { background: #BFE6FB; color: #0A1C36; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 10px; }

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

main > section, main > div { position: relative; }
.container, .collection__pin, .ticker { position: relative; z-index: 2; }

/* ---------- Atmosphere + canvas ---------- */
.atmos { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.atmos span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .7; transition: opacity 1s var(--ease), background-color 1s; }
.atmos .a1 { width: 52vw; height: 52vw; top: -18vw; inset-inline-end: -14vw; background: #CDEDFD; animation: drift 24s ease-in-out infinite alternate; }
.atmos .a2 { width: 42vw; height: 42vw; bottom: -16vw; inset-inline-start: -12vw; background: #D8E6FF; animation: drift 30s ease-in-out infinite alternate-reverse; }
.atmos .a3 { width: 26vw; height: 26vw; top: 38%; left: 40%; background: #E0F6FF; animation: drift 20s ease-in-out infinite alternate; }
body.theme-dark .atmos span { opacity: .22; }
body.theme-dark .atmos .a1 { background: #1E63C9; }
body.theme-dark .atmos .a2 { background: #0E3A80; }
body.theme-dark .atmos .a3 { background: #2C8BD8; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-6vw, 5vw, 0) scale(1.15); }
}

.webgl {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

.progress {
  position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 80;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left center;
}
[dir="rtl"] .progress { transform-origin: right center; }

/* ---------- Cursor ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none; opacity: 0; transition: opacity .3s; }
.has-cursor .cursor.is-visible { opacity: 1; }
.cursor__ring, .cursor__dot { position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(31, 111, 208, .45);
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .35s, border-color .35s;
}
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--blue); }
.cursor.is-hover .cursor__ring { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: rgba(85, 194, 238, .14); border-color: transparent; }
body.theme-dark .cursor__ring { border-color: rgba(158, 221, 248, .55); }
body.theme-dark .cursor__dot { background: var(--sky); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--bg);
  border-bottom-left-radius: 0% 0vh;
  border-bottom-right-radius: 0% 0vh;
  animation: loaderFailsafe .6s 9s forwards;
}
@keyframes loaderFailsafe { to { opacity: 0; visibility: hidden; } }
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.loader__mark { position: relative; width: 150px; }
.loader__mark img:first-child { opacity: .12; filter: grayscale(1); }
.loader__fill {
  position: absolute; inset: 0;
  clip-path: inset(calc(100% - var(--p, 0%)) 0 0 0);
  transition: clip-path .25s linear;
}
.loader__count {
  font-family: "Sora", sans-serif; font-weight: 200;
  font-size: 54px; line-height: 1; letter-spacing: -.04em;
  font-variant-numeric: tabular-nums; color: var(--ink);
}
.loader__count small { font-size: .45em; margin-inline-start: 4px; color: var(--ink-3); }
.loader__tag { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
html[lang="ar"] .loader__tag { letter-spacing: 0; font-size: 14px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 56px; padding: 0 28px;
  border-radius: 999px;
  font-family: var(--f-body); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s, background-color .45s;
}
.btn > * { position: relative; z-index: 1; }
.btn::before {
  content: "";
  position: absolute; left: -15%; right: -15%; top: 100%;
  height: 260%;
  border-radius: 42%;
  background: var(--grad);
  z-index: 0;
  transition: transform .8s var(--ease);
}
.btn:hover::before { transform: translateY(-62%); animation: btnWave 3.2s linear infinite; }
@keyframes btnWave { from { rotate: 0deg; } to { rotate: 360deg; } }
.btn__arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
[dir="rtl"] .btn__arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .btn__arrow { transform: scaleX(-1) translateX(4px); }

.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { color: #fff; }
body.theme-dark .btn--primary { background: #fff; color: var(--navy); }
body.theme-dark .btn--primary:hover { color: #fff; }
.btn--ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--ghost:hover { color: #fff; border-color: transparent; }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 90;
  display: flex; justify-content: center;
  pointer-events: none;
  transition: transform .7s var(--ease);
}
.nav--hidden { transform: translateY(-140%); }
.nav__inner {
  pointer-events: auto;
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--max) - 2 * var(--gutter));
  height: 66px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding-inline: 22px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .5s, border-color .5s, box-shadow .5s, -webkit-backdrop-filter .5s, backdrop-filter .5s;
}
.nav--scrolled .nav__inner {
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  border-color: var(--line);
  box-shadow: 0 18px 50px -28px rgba(10, 28, 54, .35);
}
body.theme-dark .nav--scrolled .nav__inner { background: rgba(6, 24, 51, .62); }

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 24px; width: auto; }
.brand__en { font-family: "Sora", sans-serif; font-weight: 500; font-size: 20px; letter-spacing: -.02em; }
.brand__ar { font-family: "Alexandria", sans-serif; font-weight: 600; font-size: 16px; color: var(--blue); padding-inline-start: 10px; border-inline-start: 1px solid var(--line); line-height: 1.2; }
body.theme-dark .brand__ar { color: var(--sky); }

.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a {
  position: relative;
  padding: 8px 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: color .3s, background-color .3s;
}
.nav__links a:hover { color: var(--ink); background: var(--surface); }
.nav__links a.is-active { color: var(--ink); }
.nav__links a::after {
  content: ""; position: absolute; left: 50%; bottom: 2px;
  width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: var(--blue);
  transform: scale(0); transition: transform .4s var(--ease);
}
.nav__links a.is-active::after { transform: scale(1); }

.nav__actions { display: flex; align-items: center; gap: 10px; }
.lang {
  position: relative; direction: ltr;
  display: flex; align-items: center;
  height: 44px; padding: 4px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
}
.lang span { position: relative; z-index: 1; width: 38px; text-align: center; font-size: 13px; font-weight: 700; line-height: 34px; transition: color .45s var(--ease); }
.lang span[data-l="ar"] { font-family: "Alexandria", sans-serif; font-size: 15px; }
.lang i { position: absolute; top: 4px; bottom: 4px; left: 4px; width: 38px; border-radius: 999px; background: var(--ink); transition: transform .6s var(--ease); }
html[lang="en"] .lang span[data-l="en"], html[lang="ar"] .lang span[data-l="ar"] { color: var(--bg); }
html[lang="ar"] .lang i { transform: translateX(38px); }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--bg); border-radius: 2px; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 85;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--gutter) 40px;
  background: var(--navy); color: #EAF4FF;
  clip-path: circle(0% at calc(100% - 44px) 46px);
  transition: clip-path .9s var(--ease-io);
  pointer-events: none;
}
[dir="rtl"] .menu { clip-path: circle(0% at 44px 46px); }
.menu-open .menu { clip-path: circle(150% at calc(100% - 44px) 46px); pointer-events: auto; }
[dir="rtl"] .menu-open .menu { clip-path: circle(150% at 44px 46px); }
.menu-open .burger { background: #fff; }
.menu-open .burger span { background: var(--navy); }
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__link { display: flex; align-items: baseline; gap: 16px; font-family: var(--f-display); font-size: clamp(2rem, 9vw, 3.2rem); font-weight: 300; line-height: 1.25; overflow: hidden; }
.menu__link small { font-family: "Sora", sans-serif; font-size: 13px; color: var(--sky); }
.menu__foot { display: flex; flex-direction: column; gap: 6px; color: #A9BDD7; font-size: 15px; }

/* ---------- Shared typography ---------- */
.label {
  display: inline-flex; align-items: center; gap: 12px; margin: 0;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue);
}
body.theme-dark .label { color: var(--sky); }
html[lang="ar"] .label { letter-spacing: 0; font-size: 15px; font-weight: 600; }
.label__num {
  font-family: "Sora", sans-serif; font-weight: 500; font-size: 12px; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 999px; border: 1px solid currentColor;
}
.h2 {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(2.2rem, 4.6vw, 4.3rem);
  line-height: 1.04; letter-spacing: -.035em;
  margin: .45em 0 0;
}
html[lang="ar"] .h2 { letter-spacing: 0; line-height: 1.35; font-weight: 400; font-size: clamp(2rem, 4.2vw, 3.8rem); }
.section { padding-block: clamp(100px, 16vh, 170px); }

/* split helpers */
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.wi { display: inline-block; will-change: transform; }
html[lang="ar"] .wm { padding-block: .08em .2em; margin-block: -.08em -.2em; }
.split-scrub .w { display: inline; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: 130px; padding-bottom: 34px;
}
.hero__watermark {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: flex-end;
  padding-inline: 2vw;
  pointer-events: none; overflow: hidden;
}
.hero__watermark span {
  display: block;
  font-family: "Alexandria", sans-serif; font-weight: 700;
  font-size: clamp(9rem, 30vw, 32rem); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(31, 111, 208, .14);
  white-space: nowrap;
}
html[lang="ar"] .hero__watermark span { font-family: "Sora", sans-serif; font-weight: 600; letter-spacing: -.05em; font-size: clamp(7rem, 22vw, 24rem); }

.hero__grid {
  flex: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px;
}
.hero__copy { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  padding: 8px 16px; padding-inline-start: 12px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
}
.dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--aqua);
  box-shadow: 0 0 0 0 rgba(85, 194, 238, .6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(85, 194, 238, .55); }
  70% { box-shadow: 0 0 0 10px rgba(85, 194, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(85, 194, 238, 0); }
}
.hero__title {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: .98; letter-spacing: -.05em;
  margin: 26px 0 26px;
}
html[lang="ar"] .hero__title { font-weight: 500; letter-spacing: 0; line-height: 1.28; font-size: clamp(2.8rem, 6.2vw, 6.2rem); }
.hero__title em {
  font-style: normal; font-weight: 500;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.line { display: block; overflow: hidden; padding-bottom: .08em; }
html[lang="ar"] .line { padding-block: .04em .14em; }
.line > span { display: inline-block; }
.js-anim .hero .line > span { transform: translateY(115%); }
.intro-done .hero .line > span { transform: none; }

.hero__lead { max-width: 33em; margin: 0; font-size: clamp(1rem, 1.25vw, 1.15rem); color: var(--ink-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero__stage { position: relative; height: min(72vh, 720px); }
.hero__fallback { display: none; }
.no-webgl .hero__fallback {
  display: block; position: absolute; inset: 6% 0; width: 100%; height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 40px 46px rgba(19, 67, 154, .22));
}
.chip { position: absolute; z-index: 3; will-change: transform; }
.chip__in {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 9px; padding-inline: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 24px 50px -26px rgba(19, 67, 154, .5);
  font-size: 14px; font-weight: 600; white-space: nowrap; color: #0A1C36;
  animation: bob 6s ease-in-out infinite;
}
.chip--b .chip__in { animation-duration: 7.5s; animation-delay: -2s; }
.chip--c .chip__in { animation-duration: 6.8s; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.chip__icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); }
.chip__icon svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip--a { top: 14%; inset-inline-start: 0; }
.chip--b { top: 47%; inset-inline-end: -2%; }
.chip--c { bottom: 12%; inset-inline-start: 6%; }

.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-top: 22px; }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
html[lang="ar"] .scroll-cue { letter-spacing: 0; font-size: 14px; }
.scroll-cue i { position: relative; width: 1px; height: 46px; background: var(--line); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: translateY(-100%); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.hero__group { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--ink-3); }
.hero__group img { height: 30px; width: auto; opacity: .85; transition: opacity .3s; }
.hero__group:hover img { opacity: 1; }

/* ---------- Ticker ---------- */
.ticker { padding: 64px 0 40px; overflow: hidden; }
.ticker__band { padding: 18px 0; white-space: nowrap; }
.ticker__band--a { background: #0A1C36; transform: rotate(-2.2deg); margin-top: -34px; box-shadow: 0 30px 60px -30px rgba(10, 28, 54, .45); }
.ticker__band--b { background: var(--grad); transform: rotate(1.6deg); opacity: .95; }
.ticker__track { display: flex; align-items: center; width: max-content; direction: ltr; will-change: transform; }
.tk { padding-inline: 26px; font-family: "Sora", sans-serif; font-weight: 300; font-size: clamp(1.5rem, 3.2vw, 2.9rem); line-height: 1.3; color: #fff; letter-spacing: -.02em; }
.tk--ar { font-family: "Alexandria", sans-serif; font-weight: 400; letter-spacing: 0; }
.ticker__band--b .tk { color: #062048; }
.tk-drop { width: 14px; height: 18px; flex-shrink: 0; background: var(--aqua); border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; clip-path: path("M7 0 C7 0 0 8 0 11.5 A7 7 0 0 0 14 11.5 C14 8 7 0 7 0 Z"); }
.ticker__band--b .tk-drop { background: #fff; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 60px; align-items: center; min-height: 92vh; }
.statement {
  margin: 26px 0 40px;
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(1.8rem, 3.3vw, 3.25rem); line-height: 1.16; letter-spacing: -.03em;
}
html[lang="ar"] .statement { font-weight: 400; letter-spacing: 0; line-height: 1.6; font-size: clamp(1.6rem, 2.9vw, 2.8rem); }
.about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; color: var(--ink-2); font-size: 15.5px; }
.about__cols p { margin: 0; }
.meaning {
  display: flex; align-items: center; gap: 22px; margin-top: 40px;
  padding: 18px 24px; border-radius: 24px;
  background: var(--surface); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.meaning__glyph {
  flex-shrink: 0;
  font-family: "Alexandria", sans-serif; font-weight: 600; font-size: 50px; line-height: 1.3;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.meaning p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* ---------- Quality ---------- */
.section-head { max-width: 880px; margin-bottom: 60px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 360px; padding: 26px 26px 30px;
  border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transform-style: preserve-3d;
  transition: box-shadow .6s var(--ease), border-color .4s;
}
.card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0;
  background: linear-gradient(to top, rgba(85, 194, 238, .22), rgba(85, 194, 238, 0));
  transition: height .9s var(--ease);
  pointer-events: none;
}
.card:hover { box-shadow: 0 50px 90px -50px rgba(19, 67, 154, .55); border-color: rgba(31, 111, 208, .22); }
.card:hover::after { height: 75%; }
.card__glare {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .75), transparent 45%);
}
.card:hover .card__glare { opacity: 1; }
.card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: auto; padding-bottom: 40px; }
.card__icon {
  width: 64px; height: 64px; border-radius: 20px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(134, 216, 248, .35), rgba(31, 111, 208, .12));
  border: 1px solid rgba(31, 111, 208, .14);
}
.card__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card__num { font-family: "Sora", sans-serif; font-size: 13px; color: var(--ink-3); }
.card h3 { position: relative; z-index: 1; margin: 0 0 10px; font-family: var(--f-display); font-weight: 500; font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.25; }
html[lang="ar"] .card h3 { letter-spacing: 0; }
.card p { position: relative; z-index: 1; margin: 0; font-size: 15px; color: var(--ink-2); }

/* ---------- Collection ---------- */
.collection__pin { height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.collection__track {
  display: flex; align-items: center; gap: clamp(18px, 3vw, 44px);
  width: max-content;
  padding-inline: var(--gutter);
  will-change: transform;
}
.panel { flex: 0 0 auto; }
.collection__intro { width: min(500px, 84vw); padding-inline-end: 30px; }
.collection__lead { margin: 22px 0 0; color: var(--ink-2); max-width: 26em; }
.collection__hint { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
html[lang="ar"] .collection__hint { letter-spacing: 0; font-size: 14px; }
.collection__hint .btn__arrow { animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { translate: 0 0; } 50% { translate: 8px 0; } }
[dir="rtl"] .collection__hint .btn__arrow { animation-name: nudgeRtl; }
@keyframes nudgeRtl { 0%, 100% { translate: 0 0; } 50% { translate: -8px 0; } }

.shot { width: clamp(270px, 32vw, 500px); margin: 0; }
.shot--low { transform: translateY(46px); }
.shot__frame {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: var(--radius);
  background: var(--bg-soft);
  box-shadow: 0 50px 90px -60px rgba(10, 28, 54, .55);
  will-change: transform;
}
.shot__frame img { position: absolute; top: 0; left: -10%; width: 120%; max-width: none; height: 100%; object-fit: cover; will-change: transform; }
.range { margin: 0; }
.range__stage {
  position: relative;
  display: flex; align-items: flex-end; gap: clamp(14px, 2vw, 30px);
  height: min(58vh, 560px); height: min(58svh, 560px);
  padding-inline: clamp(10px, 2vw, 30px);
}
.range__stage::before {
  content: ""; position: absolute; inset-inline: 0; bottom: 26px; height: 70px;
  background: radial-gradient(closest-side, rgba(31, 111, 208, .14), transparent);
  pointer-events: none;
}
.range__item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; will-change: transform; }
.range__item img { width: auto; height: calc((100% - 40px) * var(--h, 1)); filter: drop-shadow(0 26px 24px rgba(19, 67, 154, .2)); }
.range__item--m { --h: .804; }
.range__item--s { --h: .579; }
.range__item::after {
  content: ""; position: absolute; bottom: 32px; width: 86%; height: 18px; z-index: -1;
  background: radial-gradient(closest-side, rgba(10, 28, 54, .22), transparent);
}
.range__size { margin-top: 16px; height: 24px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
html[lang="ar"] .range__size { font-size: 14px; letter-spacing: 0; }
.range__new {
  grid-row: span 2; align-self: start;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(31, 111, 208, .1); color: var(--blue);
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
html[lang="ar"] .range__new { font-size: 13px; letter-spacing: 0; }
.shot figcaption, .range figcaption { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline; margin-top: 18px; }
.shot__idx { grid-row: span 2; font-family: "Sora", sans-serif; font-size: 13px; font-weight: 500; color: var(--blue); }
.shot__t { font-family: var(--f-display); font-size: 1.3rem; font-weight: 500; letter-spacing: -.02em; }
html[lang="ar"] .shot__t { letter-spacing: 0; }
.shot__s { font-size: 14px; color: var(--ink-3); }
.collection__outro { width: min(560px, 86vw); padding-inline: 30px 60px; }
.collection__big {
  margin: 0 0 30px;
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(2.6rem, 5.6vw, 5.4rem); line-height: 1; letter-spacing: -.045em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
html[lang="ar"] .collection__big { letter-spacing: 0; line-height: 1.35; font-weight: 500; }
.collection__bar { position: absolute; bottom: 34px; left: var(--gutter); right: var(--gutter); height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.collection__bar i { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left center; }
[dir="rtl"] .collection__bar i { transform-origin: right center; }

/* ---------- Journey ---------- */
.journey__pin { height: 100vh; height: 100svh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.journey__stage { position: relative; height: 76vh; }
.fillmeter {
  position: absolute; bottom: 14%; inset-inline-end: -2%;
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 20px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.fillmeter__k { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
html[lang="ar"] .fillmeter__k { letter-spacing: 0; font-size: 13px; }
.fillmeter__v { font-family: "Sora", sans-serif; font-weight: 300; font-size: 34px; line-height: 1.1; letter-spacing: -.03em; color: var(--blue); }
.fillmeter__v b { font-weight: 300; font-variant-numeric: tabular-nums; }
.steps { position: relative; min-height: 250px; margin-top: 34px; }
.step { position: absolute; top: 0; left: 0; right: 0; }
.js-anim .step { visibility: hidden; opacity: 0; }
.step__num {
  display: block;
  font-family: "Sora", sans-serif; font-weight: 200;
  font-size: clamp(3.6rem, 7vw, 6.4rem); line-height: 1; letter-spacing: -.05em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { margin: 12px 0 10px; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 2.3vw, 2.1rem); letter-spacing: -.02em; }
html[lang="ar"] .step h3 { letter-spacing: 0; }
.step p { margin: 0; max-width: 30em; color: var(--ink-2); }
.jprog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 36px; }
.jprog__item { display: flex; flex-direction: column; gap: 10px; }
.jprog__seg { display: block; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.jprog__seg i { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left center; }
[dir="rtl"] .jprog__seg i { transform-origin: right center; }
.jprog__item small { font-size: 12.5px; font-weight: 600; color: var(--ink-3); line-height: 1.35; }

/* ---------- Commitment ---------- */
.commit__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; min-height: 92vh; }
.commit__lead { margin: 26px 0 0; max-width: 36em; color: var(--ink-2); }
.pledges { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 12px; }
.pledges li {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 18px 22px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .6s var(--ease), border-color .4s, background-color .4s;
}
.pledges li:hover { transform: translateX(6px); border-color: rgba(158, 221, 248, .35); }
[dir="rtl"] .pledges li:hover { transform: translateX(-6px); }
.pledge__ic { flex: 0 0 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(85, 194, 238, .16); }
.pledge__ic svg { width: 22px; height: 22px; fill: none; stroke: var(--aqua); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pledges h3 { margin: 0 0 2px; font-family: var(--f-display); font-weight: 500; font-size: 1.08rem; }
.pledges p { margin: 0; font-size: 15px; color: var(--ink-2); }
.commit__quote {
  margin: clamp(70px, 12vh, 140px) auto 0; max-width: 16em; text-align: center;
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(2rem, 5.2vw, 5rem); line-height: 1.06; letter-spacing: -.04em;
}
html[lang="ar"] .commit__quote { letter-spacing: 0; line-height: 1.45; font-weight: 400; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__lead { margin: 24px 0 0; color: var(--ink-2); max-width: 30em; }
.cinfo { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 12px; }
.cinfo a, .cinfo__row {
  display: flex; align-items: center; gap: 18px;
  padding: 16px 20px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease);
}
.cinfo a:hover { transform: translateX(6px); border-color: rgba(31, 111, 208, .25); box-shadow: 0 30px 60px -40px rgba(19, 67, 154, .5); }
[dir="rtl"] .cinfo a:hover { transform: translateX(-6px); }
.cinfo__ic { flex: 0 0 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); }
.cinfo__ic svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cinfo small { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.cinfo b { display: block; font-weight: 600; font-size: 16px; }
[dir="rtl"] .cinfo b[dir="ltr"] { text-align: right; }

.form {
  position: relative; overflow: hidden;
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: 32px;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  box-shadow: 0 60px 120px -70px rgba(19, 67, 154, .55);
}
.form__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.form__head h3 { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: 1.5rem; letter-spacing: -.02em; }
html[lang="ar"] .form__head h3 { letter-spacing: 0; }
.form__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; height: 62px;
  padding: 24px 18px 8px;
  border-radius: 16px; border: 1px solid var(--line);
  background: rgba(243, 248, 252, .85);
  font: inherit; font-size: 15.5px; color: var(--ink);
  outline: none; resize: vertical;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field textarea { height: 150px; padding-top: 30px; }
.field input[type="email"], .field input[type="tel"] { direction: ltr; }
[dir="rtl"] .field input[type="email"], [dir="rtl"] .field input[type="tel"] { text-align: right; }
.field label {
  position: absolute; top: 20px; inset-inline-start: 19px;
  font-size: 15px; color: var(--ink-3); pointer-events: none;
  transform-origin: left top;
  transition: transform .4s var(--ease), color .3s;
}
[dir="rtl"] .field label { transform-origin: right top; }
.field input:focus, .field textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(31, 111, 208, .12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.78); color: var(--blue); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #D9534F; box-shadow: 0 0 0 4px rgba(217, 83, 79, .1); }
.form__foot { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-top: 20px; flex-wrap: wrap; }
.form__error { margin: 0; margin-inline-end: auto; font-size: 14px; color: #C9423D; }
.form__submit.is-sending { pointer-events: none; opacity: .7; }
.form__ok {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 30px; text-align: center;
  background: rgba(255, 255, 255, .96);
  opacity: 0; visibility: hidden;
  transition: opacity .6s var(--ease), visibility .6s;
}
.form.is-sent .form__ok { opacity: 1; visibility: visible; }
.form__ok h3 { margin: 14px 0 0; font-family: var(--f-display); font-weight: 500; font-size: 1.7rem; }
.form__ok p { margin: 0 0 18px; color: var(--ink-2); }
.form__check svg { width: 76px; height: 76px; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.form__check circle { stroke: var(--aqua); stroke-dasharray: 152; stroke-dashoffset: 152; transition: stroke-dashoffset 1s var(--ease) .15s; }
.form__check path { stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset .7s var(--ease) .7s; }
.form.is-sent .form__check circle, .form.is-sent .form__check path { stroke-dashoffset: 0; }

/* ---------- Footer ---------- */
.footer {
  position: relative; z-index: 3; overflow: hidden;
  margin-top: clamp(40px, 8vh, 90px);
  padding: clamp(60px, 9vh, 100px) 0 28px;
  background: #061833; color: #EAF4FF;
  border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0;
}
.footer__word { position: relative; line-height: .95; white-space: nowrap; font-family: "Sora", sans-serif; font-weight: 600; font-size: clamp(4rem, 15vw, 15rem); letter-spacing: -.06em; direction: ltr; }
.footer__word em { font-style: normal; font-family: "Alexandria", sans-serif; font-weight: 600; letter-spacing: 0; font-size: .62em; margin-left: .18em; }
.footer__outline { display: block; color: transparent; -webkit-text-stroke: 1.2px rgba(158, 221, 248, .22); }
.footer__fill {
  position: absolute; inset: 0; display: block;
  background: linear-gradient(180deg, #9EDDF8 0%, #3A9FE6 55%, #174DA6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  clip-path: inset(100% 0 0 0);
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.1fr; gap: 40px; padding-block: 56px; border-bottom: 1px solid rgba(234, 244, 255, .1); }
.brand--light .brand__ar { color: var(--sky); border-color: rgba(234, 244, 255, .2); }
.footer__brand p { margin: 18px 0 22px; color: #A9BDD7; max-width: 22em; }
.footer__group { display: inline-block; padding: 12px 16px; border-radius: 16px; background: #fff; transition: transform .5s var(--ease); }
.footer__group:hover { transform: translateY(-3px); }
.footer__group img { height: 34px; width: auto; }
.footer h4 { margin: 4px 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
html[lang="ar"] .footer h4 { letter-spacing: 0; font-size: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a, .footer ul span { color: #A9BDD7; font-size: 15px; transition: color .3s; }
.footer ul a:hover { color: #fff; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13.5px; color: #7D93B2; }
.footer__bottom p { margin: 0; }
.footer__top { display: inline-flex; align-items: center; gap: 10px; color: #EAF4FF; font-weight: 600; }
.footer__top svg { width: 36px; height: 36px; padding: 9px; border-radius: 50%; border: 1px solid rgba(234, 244, 255, .2); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease), background-color .4s; }
.footer__top:hover svg { transform: translateY(-4px); background: rgba(234, 244, 255, .08); }

/* ---------- No animation fallback ---------- */
.no-anim .loader { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card { min-height: 300px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .hero { padding-top: 96px; }
  .hero__grid { grid-template-columns: 1fr; gap: 0; align-content: start; }
  .hero__stage { order: -1; height: 40vh; height: 40svh; }
  .hero__title { margin: 20px 0 18px; }
  .hero__ctas { margin-top: 26px; }
  .chip--a { top: 6%; inset-inline-start: 2%; }
  .chip--b { top: 54%; inset-inline-end: 0; }
  .chip--c { display: none; }
  .chip__in { font-size: 12.5px; padding: 7px 12px 7px 7px; padding-inline: 7px 12px; }
  .chip__icon { width: 24px; height: 24px; }
  .hero__watermark { align-items: flex-start; padding-top: 90px; }

  .about__grid { grid-template-columns: 1fr; min-height: 0; }
  .about__spacer { display: none; }
  .about__cols { grid-template-columns: 1fr; gap: 16px; }

  .journey__pin { grid-template-columns: 1fr; grid-template-rows: 38svh auto; gap: 0; align-content: start; padding-top: 80px; }
  .journey__stage { height: 38svh; }
  .journey .h2 { font-size: 1.9rem; margin-top: .3em; }
  .steps { min-height: 200px; margin-top: 18px; }
  .step__num { font-size: 2.8rem; }
  .step h3 { font-size: 1.35rem; margin: 6px 0 6px; }
  .step p { font-size: 15px; }
  .jprog { margin-top: 10px; }
  .jprog__item small { display: none; }
  .fillmeter { bottom: 2%; padding: 10px 14px; }
  .fillmeter__v { font-size: 26px; }

  .commit__grid { grid-template-columns: 1fr; min-height: 0; }
  .commit__stage { display: none; }

  .contact__grid { grid-template-columns: 1fr; }
  .shot--low { transform: translateY(26px); }
  .shot { width: 72vw; }
  .range__stage { height: 48vh; height: 48svh; }
}

@media (max-width: 560px) {
  .nav__cta { display: none; }
  .nav__inner { height: 60px; padding-inline: 16px 8px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card__top { padding-bottom: 28px; }
  .form__grid { grid-template-columns: 1fr; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .scroll-cue i { height: 30px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .btn { height: 52px; padding: 0 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
