/* =====================================================================
   WebStackRank — HOME only (design F "Orbit"). Loaded after site.css.
   Shared components (tickets, ledger, tapes, reel, accordion, big-type list,
   steps, CTA panel, final statement, forms) live in site.css.
   RTL: logical properties throughout; the Arabic home builder adds the
   remaining overrides (see README "Arabic home: what is left").
   ===================================================================== */

/* =====================================================================
   HERO · orange poster, mega type, card ring, ink wash behind the type
   ===================================================================== */
.hero { position: relative; }
.poster { position: relative; isolation: isolate; margin-top: calc(-1 * var(--nav-h)); padding-top: var(--nav-h); min-height: min(calc(100svh - var(--tb-h)), 1120px); display: grid; grid-template-rows: 1fr auto; background: var(--b2); color: var(--ink); overflow: clip; border-radius: 0 0 clamp(28px, 4vw, 64px) clamp(28px, 4vw, 64px); --fg: var(--ink); --fg-2: var(--hot-2); --bg: var(--b2); }
.poster__bg { position: absolute; inset: 0; z-index: 0; background:
    radial-gradient(55% 60% at 12% 8%, color-mix(in oklab, var(--b2) 72%, white) 0, transparent 70%),
    radial-gradient(60% 70% at 96% 104%, color-mix(in oklab, var(--b2) 80%, var(--b1)) 0, transparent 72%),
    var(--b2); }
.poster__bg::after { content: ""; position: absolute; inset: 0; opacity: .16; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }

.poster__type { position: relative; align-self: start; --pt: clamp(18px, 3.2vh, 56px); padding-block: var(--pt) calc(var(--W) * .1 + 12px); --W: min(100vw - 2 * var(--g), 640px); }
.hero__h1 { position: relative; z-index: 2; width: var(--W); margin: 0 auto; font-family: var(--f-display); font-weight: 400; text-transform: var(--display-case); color: var(--ink); letter-spacing: 0; }
.hero__h1 .l { display: block; white-space: nowrap; }
.l1 { font-size: calc(var(--W) / 5.2); line-height: .9; }
.l2 { font-size: calc(var(--W) / 5.23); line-height: .9; }
.l3 { font-size: calc(var(--W) / 4.6); line-height: .9; }
.dubai { display: block; width: fit-content; margin: .06em auto 0; font-family: var(--f-serif); font-style: var(--accent-style); text-transform: none; font-size: 1.28em; line-height: 1; letter-spacing: -.01em; color: var(--cream); background: var(--b1-solid); padding: .02em .16em .1em .12em; border-radius: .14em; }
.hero__h1 .l { transform-origin: 0 100%; }
[dir="rtl"] .hero__h1 .l { transform-origin: 100% 100%; }

/* entrance: from a visible state (transform only — the H1 is the LCP element) */
@media (prefers-reduced-motion: no-preference) {
  .hero__h1 .l { animation: lineIn 1.1s var(--ease) both; }
  .hero__h1 .l2 { animation-delay: .07s; }
  .hero__h1 .l3 { animation-delay: .14s; }
  .poster__foot { animation: footIn 1.2s .25s var(--ease) both; }
}

/* hero ring geometry (mobile first). The near half (front layer) fades while it crosses the type. */
.poster .ring { --n: 6; --R: calc(var(--W) * .5); --cw: calc(var(--W) * .175); --ch: calc(var(--cw) * 1.32); --persp: calc(var(--W) * 2.6); --rx: -11deg; --rz: -6deg; --ring-y: calc(var(--W) * .705 + var(--pt)); }
[dir="rtl"] .poster .ring { --rz: 6deg; }
.poster .ring--back { z-index: 0; }
.poster .ring--front { z-index: 4; }
.poster .ink { z-index: 1; }

.poster__foot { position: relative; z-index: 5; display: grid; gap: 22px; padding-bottom: clamp(24px, 4vh, 44px); }
.hero__sub { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; font-weight: 500; max-width: 46ch; color: var(--ink); }
.hero__sub [data-price] { font-weight: 700; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 14px; font-size: 14px; }
.hero__chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: color-mix(in oklab, var(--ink) 10%, transparent); font-weight: 600; }
.hero__chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--b1-solid); box-shadow: 0 0 0 3px color-mix(in oklab, var(--b1-solid) 25%, transparent); }
.hero__wa a { display: inline-flex; gap: 6px; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }
.hero__wa span { text-decoration: underline; text-underline-offset: .25em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__actions .button { flex: 1 1 auto; }

/* band (cream) — the rest of the hero content */
.band { display: grid; gap: 40px; padding-block: clamp(48px, 7vw, 104px) clamp(36px, 5vw, 72px); }
.band__lead { font-size: clamp(22px, 2.6vw, 38px); line-height: 1.22; font-weight: 500; letter-spacing: -.018em; color: var(--ink); max-width: 30ch; text-wrap: pretty; }
.band__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 30px; border-top: 1px solid var(--line); }
.band__facts li { padding-block: 14px; padding-inline: 0 14px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); line-height: 1.4; }
.band__facts b { display: block; font: 400 clamp(22px, 2.2vw, 30px)/1.05 var(--f-display); text-transform: var(--display-case); color: var(--ink); margin-bottom: 4px; }
.band__note { margin-top: 20px; font-size: 14px; color: var(--ink-2); max-width: 62ch; }
.band__note a { color: var(--b1-ink); font-weight: 600; }

.pc { background: var(--deep); color: var(--cream); border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 30px); align-self: start; position: relative; box-shadow: 0 30px 60px -30px color-mix(in oklab, var(--deep) 80%, transparent); }
.pc::before, .pc::after { content: ""; position: absolute; top: 92px; width: 26px; height: 26px; border-radius: 50%; background: var(--cream); }
.pc::before { inset-inline-start: -13px; } .pc::after { inset-inline-end: -13px; }
.pc__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 22px; margin-bottom: 8px; border-bottom: 2px dashed var(--line-deep); min-height: 70px; }
.pc__title { font: 400 30px/1 var(--f-display); text-transform: var(--display-case); }
.pc__badge { font-size: 12.5px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; padding: 6px 10px; border-radius: 999px; background: color-mix(in oklab, var(--cream) 10%, transparent); color: var(--cream); }
.pc__badge i { color: var(--b2); }
.pc__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 10px; margin-inline: -10px; border-bottom: 1px solid var(--line-deep); text-decoration: none; border-radius: 12px; transition: background-color .3s; }
.pc__row:hover { background: color-mix(in oklab, var(--cream) 7%, transparent); }
.pc__row > * { transition: translate .45s var(--ease); }
.pc__row:hover .pc__name { translate: calc(6px * var(--dir)) 0; }
.pc__name { font-weight: 650; font-size: 16px; line-height: 1.3; min-width: 0; }
.pc__for { display: block; font-weight: 400; font-size: 13px; color: var(--on-deep-2); margin-top: 3px; }
.pc__price { text-align: end; flex: none; }
.pc__price b { display: flex; flex-direction: column; align-items: flex-end; font-weight: 400; }
.pc__from { font: 600 11px/1 var(--f-body); color: var(--on-deep-2); letter-spacing: .06em; text-transform: uppercase; }
.pc__price [data-price] { font: 400 clamp(26px, 2.4vw, 34px)/1.05 var(--f-num); color: var(--b2-on-deep); }
.pc__price small { display: block; font-size: 12px; line-height: 1.4; min-height: 1.4em; color: var(--on-deep-2); }
.pc__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding-top: 12px; font-size: 13px; color: var(--on-deep-2); }
.pc__foot .link-arrow { --fg: var(--cream); color: var(--cream); }

/* home ledger: price column wider, accent colour */
.ledger--home .ledger__grid { grid-template-columns: 1.35fr 1fr 1fr 1fr; }
.ledger--home .ledger__item:first-child .ledger__num { font-size: clamp(36px, 4.9vw, 80px); color: var(--b1-accent); }

/* =====================================================================
   WHY · poster cards
   ===================================================================== */
.why__grid { position: relative; display: grid; grid-template-columns: 1fr; gap: clamp(14px, 1.6vw, 22px); }
.why__card { --fg: var(--ink); --fg-2: var(--ink-2); border-radius: var(--r-lg); padding: 14px; display: flex; flex-direction: column; gap: 22px; min-height: 100%; position: relative; will-change: transform; }
.why__card--a { background: var(--deep); color: var(--cream); --fg: var(--cream); --fg-2: var(--on-deep-2); }
.why__card--b { background: var(--b2); color: var(--ink); --fg-2: var(--hot-2); }
.why__card--c { background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.why__vis { border-radius: calc(var(--r-lg) - 8px); min-height: 240px; padding: 16px; overflow: hidden; font-size: 12.5px; }
.why__body { padding: 0 10px 14px; display: grid; gap: 12px; }
.why__tag { font-size: 12.5px; font-weight: 650; letter-spacing: .04em; color: var(--fg-2); }
.why__card h3 { font: 400 clamp(26px, 2.3vw, 34px)/1 var(--f-display); text-transform: var(--display-case); color: var(--fg); }
.why__card p:not(.why__tag) { color: var(--fg-2); font-size: 15.5px; }

.vis-log { background: var(--deep-2); color: var(--cream); display: grid; gap: 10px; align-content: start; box-shadow: inset 0 0 0 1px var(--line-deep); direction: ltr; }
.vis-log__bar { display: flex; align-items: center; gap: 6px; }
.vis-log__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-deep); }
.vis-log__bar span:first-child { background: var(--b2); }
.vis-log__bar em { margin-left: auto; font: 500 11.5px var(--f-mono); color: var(--on-deep-2); font-style: normal; }
.vis-log__who { display: flex; gap: 10px; align-items: center; }
.vis-log__av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--b2); color: var(--ink); font-weight: 700; font-size: 12px; flex: none; }
.vis-log__who b { display: block; font-size: 13.5px; }
.vis-log__who em { display: block; font-style: normal; color: var(--on-deep-2); font-size: 11.5px; }
.vis-log__chan { display: flex; flex-wrap: wrap; gap: 6px; }
.vis-log__chan span { display: inline-flex; gap: 5px; align-items: center; padding: 4px 8px; border-radius: 999px; background: color-mix(in oklab, var(--cream) 8%, transparent); font-size: 11px; }
.vis-log__chan i { color: var(--b2); }
.vis-log__lines { display: grid; gap: 4px; font: 11.5px/1.45 var(--f-mono); counter-reset: l; }
.vis-log__lines li { display: flex; gap: 8px; align-items: baseline; color: var(--on-deep-2); white-space: nowrap; overflow: hidden; }
.vis-log__lines b { color: var(--b2-lite); font-weight: 600; min-width: 3.4em; }
.vis-log__lines i { margin-left: auto; font-style: normal; opacity: .6; padding-left: 8px; }
.vis-log__lines .is-live { color: var(--cream); }
.vis-log__lines .is-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--b2); flex: none; align-self: center; margin-right: -2px; }

.vis-cwv { background: color-mix(in oklab, var(--ink) 9%, transparent); display: grid; align-content: center; gap: 22px; direction: ltr; }
.vis-cwv__row { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; }
.vis-cwv__row span { font: 400 20px/1 var(--f-num); }
.vis-cwv__row i { height: 12px; border-radius: 999px; background: color-mix(in oklab, var(--ink) 16%, transparent); position: relative; overflow: hidden; }
.vis-cwv__row i::after { content: ""; position: absolute; inset: 0; background: var(--ink); border-radius: inherit; transform-origin: left; transform: scaleX(var(--v)); }
.vis-cwv__row b { font: 650 13px var(--f-body); }

.vis-serp { background: var(--cream-2); display: grid; gap: 12px; align-content: center; }
.vis-serp__q { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); font-weight: 600; font-size: 13px; }
.vis-serp__q i { color: var(--b1-ink); }
.vis-serp__res { display: grid; gap: 5px; padding: 14px; border-radius: 14px; background: var(--paper); box-shadow: var(--shadow); }
.vis-serp__res em { font-style: normal; font-size: 11.5px; color: var(--ink-2); }
.vis-serp__res b { font-size: 15px; color: var(--b1-ink); }
.vis-serp__res span { height: 7px; border-radius: 4px; background: var(--line); }
.vis-serp__res .s { width: 64%; }
.vis-serp__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.vis-serp__chips span { padding: 4px 10px; border-radius: 999px; background: var(--paper); font-size: 11.5px; font-weight: 600; box-shadow: 0 0 0 1px var(--line); }

/* =====================================================================
   SERVICES · vortex → grid
   ===================================================================== */
.svc { overflow: clip; }
.svc__inner { display: grid; gap: 36px; }
.svc__intro { display: grid; gap: 20px; align-content: start; justify-items: start; }
@media (min-width: 1024px) { .svc__intro .headline { font-size: clamp(2.6rem, 4.4vw, 4.6rem); } }
.svc__grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 14px; }
.svc .sc { will-change: transform; }

/* =====================================================================
   FRAMES · curved ribbon (deep band) — mockup art inside the frames
   ===================================================================== */
.frames { overflow: clip; padding-bottom: clamp(48px, 6vw, 96px); }
.frames__side { display: flex; align-items: center; gap: 18px; }
.frames__ctrl { display: flex; gap: 8px; }
.fa-page__win, .fa-phone__body, .fa-serp__card, .fa-camp__card, .fa-vitals__card { position: relative; z-index: 1; background: var(--paper); color: var(--ink); border-radius: 12px; box-shadow: 0 18px 30px -14px rgb(0 0 0 / .5); }
.fa-page__win { width: 86%; display: grid; gap: 6px; padding: 0 0 10px; overflow: hidden; }
.fa-page__bar { display: flex; align-items: center; gap: 4px; padding: 7px 9px; background: var(--cream-2); font-size: 10px; }
.fa-page__bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.fa-page__bar em { font-style: normal; margin-inline-start: 8px; color: var(--ink-2); }
.fa-page__bar b { margin-inline-start: auto; font-weight: 600; }
.fa-page__hero { margin: 0 9px; padding: 16px 10px; border-radius: 8px; background: var(--b2); font: 400 20px/1 var(--f-display); text-transform: var(--display-case); }
.fa-page__row { display: flex; gap: 5px; margin: 0 9px; }
.fa-page__row span { flex: 1; padding: 7px 6px; border-radius: 6px; background: var(--cream-2); font-size: 10.5px; font-weight: 600; }
.fa-page__note, .fa-phone__badge { position: absolute; z-index: 2; inset-inline-end: 14px; bottom: 12px; padding: 5px 10px; border-radius: 999px; background: var(--deep); color: var(--cream); font-size: 11px; font-weight: 600; }
.fa-phone__body { width: 44%; padding: 18px 10px 12px; border-radius: 22px; display: grid; gap: 6px; }
.fa-phone__notch { position: absolute; top: 6px; left: 50%; width: 34%; height: 6px; border-radius: 6px; background: var(--ink); transform: translateX(-50%); }
.fa-phone__head { font: 400 15px/1 var(--f-display); text-transform: var(--display-case); padding: 4px 4px 2px; }
.fa-phone__row { display: flex; gap: 6px; align-items: center; padding: 6px 8px; border-radius: 8px; background: var(--cream-2); font-size: 10.5px; font-weight: 600; }
.fa-phone__row i { color: var(--b1-ink); }
.fa-serp__card { width: 84%; padding: 12px; display: grid; gap: 8px; }
.fa-serp__q { display: flex; gap: 6px; align-items: center; padding: 6px 10px; border-radius: 999px; box-shadow: 0 0 0 1px var(--line); font-weight: 600; }
.fa-serp__res { display: grid; gap: 2px; padding: 8px 10px; border-radius: 8px; background: var(--cream-2); }
.fa-serp__res em { font-style: normal; font-size: 10px; color: var(--ink-2); }
.fa-serp__res b { color: var(--b1-ink); font-size: 12.5px; }
.fa-serp__res small { font-size: 10.5px; color: var(--ink-2); }
.fa-serp__chips { display: flex; gap: 5px; flex-wrap: wrap; }
.fa-serp__chips span { padding: 3px 8px; border-radius: 999px; background: var(--deep); color: var(--cream); font-size: 10px; font-weight: 600; }
.fa-camp__card { width: 80%; padding: 12px; display: grid; gap: 6px; }
.fa-camp__head { display: flex; justify-content: space-between; font: 400 15px/1 var(--f-display); text-transform: var(--display-case); }
.fa-camp__head em { font: 600 10.5px var(--f-body); font-style: normal; padding: 3px 8px; border-radius: 999px; background: var(--b2); text-transform: none; }
.fa-camp__row { display: flex; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 8px; background: var(--cream-2); font-weight: 600; font-size: 11px; }
.fa-camp__row b { margin-inline-start: auto; color: var(--b1-ink); font-size: 10.5px; }
.fa-camp__foot { font-size: 10px; color: var(--ink-2); }
.fa-vitals { gap: 10px; grid-template-columns: 1fr auto; }
.fa-vitals__card { padding: 10px; display: grid; gap: 6px; min-width: 190px; direction: ltr; }
.fa-vitals__row { display: grid; grid-template-columns: 38px 1fr auto; gap: 6px; align-items: center; padding: 6px 8px; border-radius: 8px; background: var(--cream-2); }
.fa-vitals__row em { font: 400 13px var(--f-num); font-style: normal; }
.fa-vitals__row b { font-size: 11px; }
.fa-vitals__row i { font-style: normal; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--deep); color: var(--cream); }
.fa-vitals__score { position: relative; z-index: 1; width: 92px; height: 92px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--deep); color: var(--cream); box-shadow: 0 0 0 6px color-mix(in oklab, var(--cream) 30%, transparent); }
.fa-vitals__score b { font: 400 30px/1 var(--f-num); color: var(--b2); }
.fa-vitals__score small { font-size: 9.5px; line-height: 1.2; padding: 0 8px; }
.fa-agent { display: flex !important; align-items: center; justify-content: center; gap: 8px; color: var(--cream); }
.fa-agent > i { font-size: 16px; position: relative; z-index: 1; }
.fa-agent__node { position: relative; z-index: 1; padding: 9px 12px; border-radius: 12px; background: var(--paper); color: var(--ink); font-weight: 700; font-size: 12px; box-shadow: 0 12px 20px -10px rgb(0 0 0 / .5); }
.fa-agent__node.is-ai { background: var(--deep); color: var(--cream); font: 400 26px/1 var(--f-display); padding: 14px 16px; text-align: center; }
.fa-agent__node.is-ai small { display: block; font: 600 9.5px var(--f-body); color: var(--b2-lite); margin-top: 4px; }
.fa-agent__stack { display: grid; gap: 8px; position: relative; z-index: 1; }

/* =====================================================================
   PACKAGES (tickets are a shared component) — home tweaks only
   ===================================================================== */
.pk .tk__flag { top: -15px; inset-inline-end: 22px; }
.pk .tk { overflow: visible; }
@media (min-width: 640px) and (max-width: 1023px) { .pk .tk--deep { grid-column: 1 / -1; } }

/* =====================================================================
   CARE · orange band, giant 3
   ===================================================================== */
.care { overflow: clip; }
.care__grid { display: grid; gap: 40px; align-items: center; }
.care__vis { position: relative; min-height: clamp(320px, 42vw, 560px); display: grid; align-items: end; }
.care__three { position: absolute; inset-inline-start: -.04em; top: 50%; translate: 0 -54%; font: 400 clamp(300px, 46vw, 660px)/.8 var(--f-num); color: transparent; -webkit-text-stroke: 2px var(--ink); pointer-events: none; user-select: none; }
.care__three::after { content: "3"; position: absolute; inset: 0; color: var(--deep); -webkit-text-stroke: 0; clip-path: inset(calc((1 - var(--fill, 1)) * 100%) 0 0 0); }
.vis-health { position: relative; margin-inline-start: auto; width: min(400px, 100%); background: var(--deep); color: var(--cream); border-radius: 24px; padding: 20px; display: grid; gap: 14px; box-shadow: 0 40px 70px -36px color-mix(in oklab, var(--deep) 90%, transparent); }
.vis-health__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.vis-health__head span { font: 400 22px/1 var(--f-display); text-transform: var(--display-case); }
.vis-health__head em { font-style: normal; font-size: 12px; color: var(--on-deep-2); }
.vis-health ul { display: grid; gap: 6px; }
.vis-health li { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 12px; background: color-mix(in oklab, var(--cream) 7%, transparent); font-size: 14px; font-weight: 600; }
.vis-health li i { color: var(--b2); }
.vis-health li b { margin-inline-start: auto; font-size: 11.5px; color: var(--on-deep-2); font-weight: 600; }
.vis-health__time { display: grid; grid-template-columns: repeat(3, 1fr) 1.5fr; gap: 6px; }
.vis-health__time span { padding: 8px 6px; border-radius: 10px; text-align: center; font-size: 11.5px; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--line-deep); color: var(--on-deep-2); transition: background-color .4s, color .4s, box-shadow .4s; }
.vis-health__time span.is-on { background: var(--b2); color: var(--ink); box-shadow: none; }
.vis-health__time span.is-end { border: 0; }
.care__copy { display: grid; gap: 22px; justify-items: start; }
.care__excl { width: 100%; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.care__excl summary { cursor: pointer; list-style: none; font-weight: 650; min-height: 50px; display: flex; gap: 8px; align-items: center; }
.care__excl summary::-webkit-details-marker { display: none; }
.care__excl ul { padding-block: 0 16px; padding-inline: 22px 0; list-style: disc; display: grid; gap: 4px; color: var(--hot-2); font-size: 15px; }

/* =====================================================================
   STANDARDS
   ===================================================================== */
.std__grid { display: grid; gap: 20px; }
.std__card { border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 36px); display: grid; gap: 28px; }
.std__card--perf { background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.std__card--sec { background: var(--deep); color: var(--cream); --fg-2: var(--on-deep-2); --acc: var(--b2-on-deep); }
.std__body { display: grid; gap: 14px; align-content: start; }
.std__tag { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); }
.std__card h3 { font: 400 clamp(30px, 3vw, 44px)/1 var(--f-display); text-transform: var(--display-case); }
.std__card p:not(.std__tag) { color: var(--fg-2); }
.std__card--perf .ticks i { color: var(--b1-ink); }
.vis-budget { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px; border-radius: 20px; background: var(--cream-2); }
.vis-budget__big span { display: block; font: 400 clamp(54px, 6vw, 88px)/.9 var(--f-num); color: var(--b1-accent); }
.vis-budget__big small { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.vis-budget__wf { grid-column: 1 / -1; display: grid; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.vis-budget__wf i { display: block; height: 10px; border-radius: 6px; background: var(--b2); width: calc(var(--w) * 230%); margin-inline-start: calc(var(--s) * 230%); transform-origin: left; max-width: 100%; }
[dir="rtl"] .vis-budget__wf i { transform-origin: right; }
.vis-budget__wf i:nth-child(2n) { background: var(--b1-solid); }
.vis-headers { display: grid; gap: 4px; padding: 18px; border-radius: 18px; background: var(--deep-2); box-shadow: inset 0 0 0 1px var(--line-deep); font: 12.5px/1.6 var(--f-mono); overflow: hidden; direction: ltr; }
.vis-headers code { font: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--on-deep-2); }
.vis-headers b { color: var(--cream); }
.vis-headers em { font-style: normal; color: var(--b2-lite); }

/* =====================================================================
   EDGE · scroll-lit statement (deep band)
   ===================================================================== */
.edge__grid { display: grid; gap: 48px; }
.edge__intro { display: grid; gap: 28px; justify-items: start; align-content: start; }
.edge__lit { font-size: clamp(22px, 2.4vw, 34px); line-height: 1.3; font-weight: 500; letter-spacing: -.015em; color: var(--cream); }
.edge__lit a { color: var(--b2-on-deep); text-decoration-thickness: 2px; }
.edge__list { display: grid; }
.edge__list .feat:last-child { border-bottom: 1px solid var(--rule); }

/* =====================================================================
   TECH · split-flap board
   ===================================================================== */
.tech__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; perspective: 900px; }
.tech__item { aspect-ratio: 1 / .86; display: grid; place-content: center; justify-items: center; gap: 10px; background: var(--paper); border-radius: 18px; box-shadow: 0 0 0 1px var(--line); font-size: 13px; font-weight: 650; text-align: center; padding: 8px; transition: background-color .35s, color .35s, translate .5s var(--ease); transform-origin: 50% 0; }
.tech__item svg { width: clamp(26px, 2.8vw, 38px); height: clamp(26px, 2.8vw, 38px); color: var(--ink); transition: color .35s, transform .5s var(--ease); }
.tech__item:hover { background: var(--b1-solid); color: var(--cream); translate: 0 -3px; }
.tech__item:hover svg { color: var(--b2); transform: scale(1.1) rotate(-6deg); }

/* =====================================================================
   AI · deep band
   ===================================================================== */
.ai__grid { display: grid; gap: 48px; align-items: start; }
.ai__intro { display: grid; gap: 24px; justify-items: start; }
.ai__side { display: grid; gap: 16px; }
.ai__flow { border-radius: var(--r-lg); background: var(--deep-2); box-shadow: inset 0 0 0 1px var(--line-deep); padding: clamp(10px, 2vw, 24px); direction: ltr; }
.vis-flow { width: 100%; height: auto; overflow: visible; }
.vis-flow__wire { stroke: color-mix(in oklab, var(--cream) 38%, transparent); stroke-width: 2; fill: none; }
.vis-flow__pulses circle { fill: var(--b2); }
.vis-flow__node rect { fill: var(--deep); stroke: color-mix(in oklab, var(--cream) 34%, transparent); stroke-width: 1.5; }
.vis-flow text { fill: var(--cream); font: 600 13px var(--f-body); text-anchor: middle; }
.vis-flow__hub rect { fill: var(--b2); }
.vis-flow__hub text { fill: var(--ink); font: 400 19px var(--f-display); text-transform: var(--display-case); }
.vis-flow__hub text.sub { font: 600 11px var(--f-body); text-transform: none; }
.ai__cards { display: grid; gap: 12px; }
.feat--card .feat__ico { width: 42px; height: 42px; font-size: 18px; }
.feat--card h4 { font-size: 17px; }
.feat--card p { font-size: 14.5px; }

/* =====================================================================
   INDUSTRIES (big-type list is shared) · GCC · REACH
   ===================================================================== */
.ind { overflow: clip; }
.gcc { overflow: clip; }
.gcc__bg { position: absolute; inset: -12% 0; z-index: 0; }
.gcc__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; filter: saturate(.7); }
.gcc__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--deep) 0%, color-mix(in oklab, var(--deep) 70%, transparent) 40%, color-mix(in oklab, var(--deep) 82%, transparent) 100%), linear-gradient(90deg, var(--deep) 10%, transparent 90%); }
[dir="rtl"] .gcc__bg::after { background: linear-gradient(180deg, var(--deep) 0%, color-mix(in oklab, var(--deep) 70%, transparent) 40%, color-mix(in oklab, var(--deep) 82%, transparent) 100%), linear-gradient(270deg, var(--deep) 10%, transparent 90%); }
.gcc__grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
.gcc__copy { display: grid; gap: 22px; }
.gcc__chips { display: grid; margin-top: 10px; border-top: 1px solid var(--line-deep); }
.gcc .chip { border-bottom-color: var(--line-deep); }
.gcc .chip__code { color: var(--b2-lite); box-shadow: inset 0 0 0 1.5px var(--b2-lite); }
.gcc .chip:hover { color: var(--b2-lite); }
.gcc__map { position: relative; }
.vis-map { width: 100%; height: auto; overflow: visible; }   /* the dot field fades through its own SVG mask; cities and labels stay crisp */
.vis-map__dots { fill: color-mix(in oklab, var(--cream) 14%, transparent); }
.vis-map__arc { fill: none; stroke: var(--b2); stroke-width: 2.2; stroke-linecap: round; }
.vis-map__city circle { fill: var(--b2); }
.vis-map__city.is-hq circle { fill: var(--cream); stroke: var(--b2); stroke-width: 4; }
.vis-map__city text { fill: var(--cream); font: 600 13px var(--f-body); paint-order: stroke; stroke: var(--deep); stroke-width: 4px; stroke-linejoin: round; }
@media (max-width: 767px) { .vis-map__city text { font-size: 18px; } }
.gcc__ar { font: 600 clamp(26px, 3vw, 44px)/1.3 var(--f-ar); text-align: right; color: var(--cream); margin-top: 8px; }

.reach__rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.reach__rail::-webkit-scrollbar { display: none; }
.reach__grid { display: grid; grid-auto-flow: column; grid-auto-columns: min(80vw, 340px); gap: 14px; padding: 4px var(--g) 12px; width: max-content; }
.loc { position: relative; background: var(--paper); border-radius: var(--r-lg); overflow: hidden; scroll-snap-align: center; box-shadow: 0 0 0 1px var(--line); display: grid; align-content: start; }
.loc__ph { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--deep-2); position: relative; }
.loc__ph img { width: 100%; height: 100%; object-fit: cover; }
.loc__ph::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, color-mix(in oklab, var(--ink) 78%, transparent)); }
.loc__top { position: absolute; inset-inline: 0; top: 0; aspect-ratio: 4 / 3; display: flex; align-items: flex-end; padding: 16px 20px; pointer-events: none; z-index: 1; }
.loc__code { font: 400 clamp(56px, 5vw, 72px)/.9 var(--f-num); color: var(--cream); }
.loc__time { position: absolute; inset-inline-end: 16px; top: 16px; padding: 6px 10px; border-radius: 999px; background: var(--paper); color: var(--ink); font: 650 13px var(--f-body); font-variant-numeric: tabular-nums; direction: ltr; }
.loc__time:empty { display: none; }
.loc__city { font: 400 26px/1 var(--f-display); text-transform: var(--display-case); padding: 18px 20px 0; }
.loc p { padding: 8px 20px 22px; color: var(--ink-2); font-size: 14.5px; }

/* mid CTA: a faded desk photo inside the orange band (multiply + gradient mask, ~20%), strongest behind the
   calculator, gone behind the copy so the text keeps its contrast */
.midcta__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.midcta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: .26; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.15);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / .55) 45%, transparent 78%); mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / .55) 45%, transparent 78%); }
@media (min-width: 1024px) {
  .midcta__bg img { -webkit-mask-image: linear-gradient(90deg, #000 0%, rgb(0 0 0 / .6) 38%, transparent 62%); mask-image: linear-gradient(90deg, #000 0%, rgb(0 0 0 / .6) 38%, transparent 62%); }
  [dir="rtl"] .midcta__bg img { -webkit-mask-image: linear-gradient(270deg, #000 0%, rgb(0 0 0 / .6) 38%, transparent 62%); mask-image: linear-gradient(270deg, #000 0%, rgb(0 0 0 / .6) 38%, transparent 62%); }
}
/* mid CTA calculator art */
.vis-calc { width: min(280px, 72vw); padding: 18px; border-radius: 30px; background: var(--deep); display: grid; gap: 14px; rotate: calc(-6deg * var(--dir)); box-shadow: 0 40px 70px -30px color-mix(in oklab, var(--deep) 90%, transparent); container-type: inline-size; }
.vis-calc__screen { display: block; padding: 22px 16px 14px; border-radius: 16px; background: var(--deep-2); color: var(--cream); font: 400 clamp(26px, 3vw, 42px)/1 var(--f-num); text-align: end; overflow: hidden; }
.vis-calc__screen [data-price] { font-size: min(1em, calc((100cqi - 32px) / var(--px-em, 5.6))); }
.vis-calc__keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vis-calc__keys i { aspect-ratio: 1.4; border-radius: 12px; background: color-mix(in oklab, var(--cream) 12%, transparent); transition: background-color .2s; }
.vis-calc__keys i.is-press { background: var(--b2); }
.vis-calc__keys .is-eq { grid-column: span 3; aspect-ratio: auto; height: 42px; background: var(--b2); }

/* =====================================================================
   BLOG · FAQ · CONTACT layouts
   ===================================================================== */
.blog__grid { display: grid; gap: 30px; align-items: start; }
.post--feature { display: grid; gap: 20px; }
.post--feature .post__title { font: 400 clamp(30px, 3.2vw, 46px)/1 var(--f-display); text-transform: var(--display-case); letter-spacing: 0; }
.blog__list { display: grid; perspective: 1200px; }
.blog__list .post { padding: 20px 0; border-top: 1px solid var(--line); transform-origin: 50% 0; }
.blog__list .post:last-child { border-bottom: 1px solid var(--line); }

.faq__grid { display: grid; gap: 40px; align-items: start; }
.faq__intro { display: grid; gap: 22px; justify-items: start; }

.cform__grid { display: grid; gap: 40px; align-items: start; }
.cform__intro { display: grid; gap: 22px; }
.cform__alt { display: flex; flex-wrap: wrap; gap: 6px 12px; font-weight: 600; }
.cform__alt a { color: var(--b1-ink); min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.cform__next { display: grid; gap: 10px; margin-top: 8px; }
.cform__next li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.cform__next b { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--b1-solid); color: var(--cream); font: 400 18px var(--f-num); }
.cform__form { background: var(--paper); border-radius: var(--r-lg); padding: clamp(22px, 3.4vw, 44px); display: grid; gap: 8px; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px color-mix(in oklab, var(--ink) 50%, transparent); }
.cform__row { display: grid; gap: 8px 22px; }
.cform__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 18px; }
.cform__note { font-size: 13.5px; color: var(--ink-2); max-width: 32ch; }
.cform__status { font-size: 14px; font-weight: 600; color: var(--b2-ink); min-height: 1px; }

/* =====================================================================
   RESPONSIVE (home)
   ===================================================================== */
@media (max-width: 560px) {
  .poster__foot { gap: 18px; }
  .care__vis { min-height: 540px; align-items: end; }
  .care__three { top: 0; translate: 0 0; font-size: 340px; }
  .vis-health { width: 92%; }
  .hero__actions .button { width: 100%; }
  .hero__meta { margin-top: 10px; }
  .band__facts { grid-template-columns: 1fr; }
  .ledger--home .ledger__grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .ledger--home .ledger__item::before { display: block; }
  .ledger--home .ledger__item:nth-child(3)::before { display: none; }
  .ledger--home .ledger__item:first-child::before { display: none; }
  .ledger--home .ledger__item:first-child { grid-column: 1 / -1; }
  .ledger--home .ledger__item:first-child .ledger__num { font-size: clamp(48px, 15vw, 80px); }
  .ledger--home .ledger__item:nth-child(2)::before { display: none; }
  .ledger--home .ledger__item:nth-child(4)::before { display: block; }
}
@media (min-width: 561px) and (max-width: 1023px) {
  .ledger--home .ledger__grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .ledger--home .ledger__item::before { display: block; }
  .ledger--home .ledger__item:nth-child(3)::before { display: none; }
  .ledger--home .ledger__item:nth-child(1)::before { display: block; }
}
/* tech board on phones: 3 compact tiles per row (client request) */
@media (max-width: 639px) {
  .tech__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .tech__item { aspect-ratio: auto; min-height: 72px; padding: 12px 4px 10px; gap: 6px; border-radius: 14px; font-size: 11.5px; line-height: 1.2; }
  .tech__item svg { width: 22px; height: 22px; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .tech__item { aspect-ratio: 1 / .72; font-size: 12.5px; }
}
@media (min-width: 640px) {
  .why__grid { grid-template-columns: 1fr 1fr; }
  .why__card--c { grid-column: 1 / -1; }
  .svc__grid { grid-template-columns: 1fr 1fr; }
  .tech__grid { grid-template-columns: repeat(5, 1fr); }
  .ai__cards { grid-template-columns: 1fr 1fr; }
  .cform__row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  /* hero: asymmetric lockup — mega DEVELOPMENT, smaller flanking lines */
  .poster__type { --W: min(100vw - 2 * var(--g), 1360px, (min(100svh, 1120px) - 400px) * 3.1); }
  .l1 { font-size: calc(var(--W) / 5.2 * .42); line-height: .92; }
  .l2 { font-size: calc(var(--W) / 5.2); line-height: .84; margin-top: .015em; }
  .l3 { font-size: calc(var(--W) / 5.2 * .46); line-height: 1.02; text-align: end; }
  .dubai { display: inline-block; margin-block: 0; margin-inline: .1em 0; font-size: 1.3em; vertical-align: baseline; }
  .poster__type { --pt: clamp(20px, 6.5vh, 76px); padding-block: var(--pt) clamp(12px, 3vh, 36px); }
  .poster .ring { --R: calc(var(--W) * .455); --cw: 134px; --ch: 174px; --persp: 3400px; --rx: -9deg; --rz: -8deg; --ring-y: calc(var(--W) / 5.2 * .56 + var(--pt)); }
  [dir="rtl"] .poster .ring { --rz: 8deg; }
  .poster .rc { padding: 7px 7px 0; border-radius: 14px; gap: 6px; }
  .poster .rc__img { border-radius: 9px; }
  .poster .rc__name { font-size: 15px; padding-bottom: 6px; }
  .poster__foot { grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
  .poster .ring { --n: 8; }
  .poster .rc:nth-child(n+7) { display: flex; }
  .hero__actions .button { flex: none; }
  .band { grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
  .band__facts { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(3, 1fr); }
  .why__card--c { grid-column: auto; }
  .svc__inner { grid-template-columns: minmax(260px, .78fr) 2.3fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
  .svc__grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .svc.is-pinned { min-height: 100vh; display: grid; align-items: center; padding-block: 24px; }
  /* laptops: the pinned scene is exactly one viewport; home.js scales the content to fit (--svc-fit) */
  .svc.is-pinned { height: 100vh; height: 100svh; min-height: 0; align-items: start; padding-block: calc(var(--nav-h) + 26px) 20px; }
  .svc.is-pinned .svc__inner { transform: translateY(var(--svc-dy, 0px)) scale(var(--svc-fit, 1)); transform-origin: 50% 0; }
  .care__grid { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
  .std__grid { grid-template-columns: 1fr 1fr; }
  .edge__grid { grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 7vw, 110px); }
  .edge__intro { position: sticky; top: 120px; }
  .ai__grid { grid-template-columns: 1fr 1.15fr; gap: clamp(48px, 6vw, 96px); }
  .ai__intro { position: sticky; top: 120px; }
  .gcc__grid { grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); }
  .reach__rail { overflow: visible; }
  .reach__grid { grid-template-columns: repeat(3, 1fr); grid-auto-flow: row; grid-auto-columns: auto; width: auto; max-width: calc(var(--max) + 2 * var(--g)); margin-inline: auto; gap: 18px; }
  .blog__grid { grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
  .post--feature { position: sticky; top: 110px; }
  .faq__grid { grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); }
  .faq__intro { position: sticky; top: 120px; }
  .cform__grid { grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); }
}

/* =====================================================================
   ARABIC HOME (/ar) · RTL. Everything below is scoped to :lang(ar) / [dir=rtl],
   so the English home renders exactly as before. Alexandria 900 lockup:
   «شركة تصميم / وتطوير مواقع / في دبي» — small · mega · small with the Ruqaa chip.
   ===================================================================== */
/* hero lockup (mobile first): three full-width lines, then «في» beside a big chip */
:root:lang(ar) .hero__h1 { font-weight: 900; }
:root:lang(ar) .hero__h1 .l1 { font-size: calc(var(--W) / 7.15); line-height: 1.18; }
:root:lang(ar) .hero__h1 .l2 { font-size: calc(var(--W) / 7.3); line-height: 1.18; }
:root:lang(ar) .hero__h1 .l3 { font-size: calc(var(--W) / 7.15); line-height: 1.1; display: flex; align-items: center; justify-content: center; gap: .3em; margin-top: .14em; }
:root:lang(ar) .hero__h1 .dubai { display: inline-block; margin: 0; font-size: 2.1em; font-weight: 700; line-height: 1.08; letter-spacing: 0; padding: .02em .2em .14em; border-radius: .16em; }
:root:lang(ar) .poster__type { padding-block: var(--pt) calc(var(--W) * .12 + 12px); }
:root:lang(ar) .poster .ring { --ring-y: calc(var(--W) * .56 + var(--pt)); }
/* phones: chip and WhatsApp link always on two rows — a single row only fitted by a few px, so the font swap could flip it (CLS) */
@media (max-width: 767px) { :root:lang(ar) .hero__meta { flex-direction: column; align-items: flex-start; } }
/* near cards: home.js caps them by the share of each WORD they cover (short words like «في» are smaller than a card) */
:root:lang(ar) .poster .ring--front .rc { filter: opacity(var(--cap, 1)); }

/* Arabic type: no tracking, roomier leading, display faces at poster weight */
:root:lang(ar) .band__lead { letter-spacing: 0; line-height: 1.55; font-size: clamp(21px, 2.3vw, 34px); max-width: 32ch; }
:root:lang(ar) .band__facts b { font-weight: 800; line-height: 1.3; font-size: clamp(20px, 1.9vw, 26px); }
:root:lang(ar) .pc__title { font-weight: 800; font-size: 26px; line-height: 1.3; }
:root:lang(ar) .pc__from { letter-spacing: 0; text-transform: none; font-size: 12px; }
:root:lang(ar) .pc__name { font-weight: 700; }
:root:lang(ar) .why__tag { letter-spacing: 0; }
:root:lang(ar) .why__card h3 { font-weight: 800; line-height: 1.35; font-size: clamp(23px, 2vw, 29px); }
:root:lang(ar) .std__tag { letter-spacing: 0; text-transform: none; font-size: 14px; }
:root:lang(ar) .std__card h3 { font-weight: 800; line-height: 1.3; font-size: clamp(26px, 2.6vw, 38px); }
:root:lang(ar) .edge__lit { letter-spacing: 0; line-height: 1.65; font-size: clamp(20px, 2.1vw, 30px); }
:root:lang(ar) .loc__city { font-weight: 800; line-height: 1.35; font-size: 23px; }
:root:lang(ar) .vis-health__head span { font-weight: 800; line-height: 1.3; font-size: 19px; }
:root:lang(ar) .post--feature .post__title { font-weight: 800; line-height: 1.4; font-size: clamp(25px, 2.5vw, 36px); }
:root:lang(ar) :is(.fa-page__hero, .fa-phone__head, .fa-camp__head) { font-weight: 800; line-height: 1.3; }
:root:lang(ar) .fa-page__hero { font-size: 17px; }
:root:lang(ar) .fa-agent__node.is-ai { font-weight: 800; font-size: 19px; line-height: 1.3; }
:root:lang(ar) .vis-flow__hub text { font-weight: 800; font-size: 17px; }
:root:lang(ar) .vis-flow text { font-size: 12.5px; }
:root:lang(ar) .vis-map__city text { font-size: 14px; font-weight: 700; }
@media (max-width: 767px) { :root:lang(ar) .vis-map__city text { font-size: 19px; } }
/* home's own statement split (.band__lead, mask:'lines') clips Arabic descenders — the dots under a final «ي» — so give
   them room below (the kit headline masks get this from site.css now) */
:root:lang(ar) main .band__lead > div { overflow-clip-margin: .36em; }

/* the LTR mock UIs carry Arabic labels on this page: run them right-to-left (code stays LTR) */
[dir="rtl"] :is(.vis-log, .vis-cwv, .fa-vitals__card) { direction: rtl; }
[dir="rtl"] .vis-log__bar em { margin-left: 0; margin-right: auto; }
[dir="rtl"] .vis-log__lines li { font-family: var(--f-body); }
[dir="rtl"] .vis-log__lines b { font-family: var(--f-mono); }
[dir="rtl"] .vis-log__lines i { margin-left: 0; padding-left: 0; margin-right: auto; padding-right: 8px; }
[dir="rtl"] .vis-log__lines .is-live::before { margin-right: 0; margin-left: -2px; }
[dir="rtl"] .vis-cwv__row i::after { transform-origin: right; }
[dir="rtl"] .vis-cwv__row b { font-family: var(--f-body); }
/* the map stays geographic (never mirrored); the bilingual line is English here */
[dir="rtl"] .vis-map { direction: ltr; }
[dir="rtl"] .gcc__en { font: 700 clamp(22px, 2.4vw, 36px)/1.25 var(--f-body); text-align: left; }

@media (min-width: 1024px) {
  /* asymmetric lockup: smaller first line at the start, mega «وتطوير مواقع», «في دبي» at the end */
  :root:lang(ar) .hero__h1 .l1 { font-size: calc(var(--W) / 7.25 * .5); line-height: 1.22; }
  :root:lang(ar) .hero__h1 .l2 { font-size: calc(var(--W) / 7.25); line-height: 1.12; margin-top: 0; }
  :root:lang(ar) .hero__h1 .l3 { font-size: calc(var(--W) / 7.25 * .5); justify-content: flex-end; gap: .28em; margin-top: .06em; }
  :root:lang(ar) .hero__h1 .dubai { font-size: 1.55em; }
  :root:lang(ar) .poster__type { padding-block: var(--pt) clamp(12px, 3vh, 36px); }
  :root:lang(ar) .poster .ring { --R: calc(var(--W) * .46); --ring-y: calc(var(--W) / 7.25 * 1.18 + var(--pt)); }
  :root:lang(ar) .svc__intro .headline { font-size: clamp(2.3rem, 3.3vw, 3.5rem); }   /* Alexandria 800 sets ~7% wider than the old 600: 3 lines, not 4 */
}

/* SEO content pass (2026-11-11), home views only.
   Ring names and the looping tape copies are drawn from data attributes, so the DOM (what crawlers read) holds the
   service list once; the hero sub-line is the first row of the actions column (no extra poster height on desktop);
   the AEO quick answer sits under the statement; city / bilingual-line links keep their display type. */
.rc__name[data-name]::before { content: attr(data-name); }
.tape__item > span[data-t]::before { content: attr(data-t); }
.hero__tagline { flex: 1 0 100%; contain: inline-size; margin: 0 0 4px; font-size: clamp(14.5px, 1.05vw, 16px); line-height: 1.5; font-weight: 600; color: var(--ink); }
.band__answer { margin-top: 22px; max-width: 60ch; }
.band__answer strong { color: var(--ink); font-weight: 650; }
.loc__city a, .gcc__ar a { text-decoration: none; }
.loc__city a:hover, .gcc__ar a:hover { text-decoration: underline; text-decoration-thickness: 2px; }

/* Lot 3 (2026-11-11, client brief): hero headline lockup — the hook is the dominant line, the H1 (text unchanged) the
   smaller line beneath it. Each hook line is sized to its own words so the lockup is no taller than the old three-line
   H1: the 1440×900 fold does not grow. .hero__lock carries .hero__h1 (ring avoidance, ink wash, line entrance). */
.hero__lock .hero__hook { margin: 0; }
.hero__lock .l1 { font-size: calc(var(--W) / 9.05); line-height: .94; }
.hero__lock .l2 { font-size: calc(var(--W) / 7.05); line-height: .94; margin-top: .03em; }
.hero__lock .l3 { font-size: calc(var(--W) / 10.5); line-height: 1.1; margin-top: .08em; }
.hero__lock .dubai { display: inline-block; margin: 0 0 0 .06em; font-size: 1.3em; vertical-align: baseline; }
.hero__lock .hero__title { margin: .7em 0 0; font: 400 calc(var(--W) / 16)/1.15 var(--f-display); text-transform: var(--display-case); letter-spacing: .01em; color: var(--ink); white-space: normal; }
@media (prefers-reduced-motion: no-preference) { .hero__lock .hero__title { animation-delay: .2s; } }
@media (min-width: 1024px) {
  .hero__lock .l1 { font-size: calc(var(--W) / 5.2 * .37); line-height: .92; }
  .hero__lock .l2 { font-size: calc(var(--W) / 7.3); line-height: .86; margin-top: .02em; }
  .hero__lock .l3 { font-size: calc(var(--W) / 5.2 * .4); line-height: 1.02; text-align: end; margin-top: 0; }
  .hero__lock .hero__title { font-size: calc(var(--W) / 5.2 * .18); margin-top: .45em; white-space: nowrap; }
}
:root:lang(ar) .hero__lock .l1 { font-size: calc(var(--W) / 11.5); line-height: 1.2; }
:root:lang(ar) .hero__lock .l2 { font-size: calc(var(--W) / 6.9); line-height: 1.15; margin-top: 0; }
:root:lang(ar) .hero__lock .l3 { font-size: calc(var(--W) / 10.6); line-height: 1.2; display: block; margin-top: .04em; }
:root:lang(ar) .hero__lock .dubai { display: inline-block; margin: 0; font-size: 1.3em; font-weight: 700; line-height: 1.08; letter-spacing: 0; padding: .02em .2em .14em; border-radius: .16em; }
:root:lang(ar) .hero__lock .hero__title { font-weight: 800; line-height: 1.4; letter-spacing: 0; font-size: calc(var(--W) / 17); }
@media (min-width: 1024px) {
  :root:lang(ar) .hero__lock .l1 { font-size: calc(var(--W) / 18); line-height: 1.16; }
  :root:lang(ar) .hero__lock .l2 { font-size: calc(var(--W) / 10); line-height: 1.06; }
  :root:lang(ar) .hero__lock .l3 { font-size: calc(var(--W) / 19); line-height: 1.1; text-align: end; }
  :root:lang(ar) .hero__lock .hero__title { font-size: calc(var(--W) / 33); line-height: 1.3; margin-top: .3em; white-space: nowrap; }
}
/* the hook lockup is shorter than the old H1 on phones and tablets: centre the card ring on it, not on the sub-copy below */
@media (max-width: 1023px) {
  .poster--hook .ring { --ring-y: calc(var(--W) * .3 + var(--pt)); }
  :root:lang(ar) .poster--hook .ring { --ring-y: calc(var(--W) * .32 + var(--pt)); }
}
/* the reviewed Arabic sub runs to five lines at 46ch: reserve them, so the bottom-aligned poster foot keeps its height
   while the Arabic web fonts swap in (layout shift) */
@media (min-width: 1024px) {
  :root:lang(ar) .poster--hook .hero__sub { min-height: 7.5em; }   /* = five lines */
  /* the longer Arabic chip and the WhatsApp line stack (as on Arabic phones), so the row cannot wrap and unwrap mid-load */
  :root:lang(ar) .poster--hook .hero__meta { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* phones (≤ 767 px, 2026-11-12, owner: "the banner is too big on mobile"): the poster is as tall as its content
   (no full-viewport min-height), so the hook, the H1, the value line (fixed price from AED 990 + itemised proposal in
   24 business hours), WhatsApp and both CTAs fit the first 844 px screen. Left out on phones only: the card ring
   (decorative), the studio chip and the tagline (the band lead right below says the same). Desktop/tablet unchanged. */
@media (max-width: 767px) {
  .hero .poster { min-height: 0; }
  .hero .poster .ring { display: none; }
  .hero .poster .poster__type { padding-block-end: 14px; }
  .hero .poster__foot { gap: 12px; padding-bottom: 26px; }
  .hero .hero__meta { margin-top: 4px; }
  .hero .hero__chip, .hero .hero__tagline { display: none; }
  .hero .hero__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hero .hero__actions .button { --bh: 54px; }
}

/* ==========================================================================
   BANNER v3 (2026-12-02, owner requests). English homepage only: .poster--clear,
   .hx*, .hq*, .pick* exist only in the English markup, so the Arabic homepage
   (same stylesheet) is unchanged. Motion = transform / opacity on decorative
   layers; text is never faded, so crawlers and LCP see the words at once.
   ========================================================================== */
.poster--clear { grid-template-rows: 1fr; }
.poster--clear .hx { position: relative; z-index: 2; align-self: center; display: grid; gap: clamp(28px, 4vw, 40px); padding-block: clamp(24px, 5vh, 64px) clamp(28px, 5vh, 56px); }

/* background: two slow brand glows + a light that follows the cursor (decorative, aria-hidden) */
.hx__fx { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; --mx: 70%; --my: 30%; }
.hx__blob { position: absolute; border-radius: 50%; will-change: transform; }
.hx__blob--a { width: 62vw; height: 62vw; max-width: 880px; max-height: 880px; right: -14vw; top: -22vw; background: radial-gradient(circle at center, rgb(139 31 224 / .34) 0, rgb(139 31 224 / .14) 38%, transparent 66%); }
.hx__blob--b { width: 48vw; height: 48vw; max-width: 680px; max-height: 680px; left: -16vw; bottom: -26vw; background: radial-gradient(circle at center, rgb(233 30 192 / .26) 0, rgb(233 30 192 / .1) 40%, transparent 68%); }
.hx__spot { position: absolute; left: 0; top: 0; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle at center, rgb(255 255 255 / .26) 0, rgb(255 255 255 / .1) 34%, transparent 62%); opacity: 0; transform: translate3d(calc(var(--mx) - 50%), calc(var(--my) - 50%), 0); transition: opacity .5s; }
.hx__fx.is-on .hx__spot { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hx__blob--a { animation: hxDriftA 22s ease-in-out infinite alternate; }
  .hx__blob--b { animation: hxDriftB 26s ease-in-out infinite alternate; }
}
@keyframes hxDriftA { to { transform: translate3d(-9vw, 7vw, 0) scale(1.08); } }
@keyframes hxDriftB { to { transform: translate3d(10vw, -6vw, 0) scale(1.12); } }

/* copy */
.hx__copy { display: grid; justify-items: start; align-content: center; }
.hx__h1 { margin: 0; max-width: 15ch; font: 400 clamp(42px, 5.4vw, 84px)/.94 var(--f-display); text-transform: var(--display-case); letter-spacing: var(--display-track, 0); color: var(--ink); text-wrap: balance; }
.hx__price { margin: clamp(14px, 2vh, 22px) 0 0; }
.hx__price > span { display: inline-block; padding: .04em .32em .12em; border-radius: .16em; background: var(--b1-solid); color: var(--cream); font: var(--accent-style) 400 clamp(26px, 2.6vw, 40px)/1.1 var(--f-serif); letter-spacing: -.01em; box-shadow: 0 14px 30px -16px rgb(46 10 92 / .7); }
.hx__price [data-price] { font: inherit; color: inherit; }
.hx__sub { margin: clamp(16px, 2.4vh, 24px) 0 0; max-width: 48ch; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; font-weight: 500; color: var(--ink); text-wrap: pretty; }
.hx__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(20px, 2.8vh, 28px); }
.hx__actions .button { gap: 10px; }
/* "See prices": the logo's purple gradient (white text 4.9:1 or better on every stop) */
.hx__prices { color: #fff; background: linear-gradient(110deg, #6522F0 0%, #8B1FE0 48%, #C81CB0 100%) 0 0 / 160% 100%; box-shadow: 0 12px 26px -12px rgb(101 34 240 / .75), inset 0 1px 0 rgb(255 255 255 / .22); transition: background-position .5s var(--ease), box-shadow .3s, scale .3s var(--ease); }
.hx__prices:hover { color: #fff; background-position: 100% 0; box-shadow: 0 16px 32px -12px rgb(200 28 176 / .7), inset 0 1px 0 rgb(255 255 255 / .22); }
.hx__prices:active { scale: .97; }
.hx__prices:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; }
.hx__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--ink); }
.hx__trust li { display: inline-flex; align-items: center; gap: 7px; }
.hx__trust i { font-size: 16px; color: var(--b1-ink); }

/* how it works: three steps, a line that draws once and a soft pulse that walks along the numbers */
.hx__steps { position: relative; display: grid; gap: 18px; margin: 0; padding: 22px 0 0; list-style: none; counter-reset: none; }
.hx__steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--deep), #8B1FE0 55%, #C81CB0); transform-origin: left center; opacity: .85; }
[dir="rtl"] .hx__steps::before { transform-origin: right center; }
.hx__steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; align-items: start; }
.hx__steps b { grid-column: 2; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.hx__steps li > span:last-child { grid-column: 2; font-size: 14px; line-height: 1.45; color: color-mix(in oklab, var(--ink) 82%, transparent); }
.hx__n { grid-row: 1 / span 2; position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--deep); color: var(--cream); font: 400 17px/1 var(--f-display); }
.hx__n::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid color-mix(in oklab, var(--deep) 60%, transparent); opacity: 0; }

/* entrances: transform only (text is visible from the first paint), like the previous hero */
@media (prefers-reduced-motion: no-preference) {
  .hx__h1 { animation: lineIn 1.1s var(--ease) both; }
  .hx__price, .hx__sub, .hx__actions, .hx__trust { animation: footIn 1.1s var(--ease) both; }
  .hx__price { animation-delay: .08s; }
  .hx__sub { animation-delay: .14s; }
  .hx__actions { animation-delay: .2s; }
  .hx__trust { animation-delay: .26s; }
  .hx__steps { animation: footIn 1.2s .32s var(--ease) both; }
  .hx__steps::before { animation: hxLine 1.4s .5s var(--ease) both; }
  .hx__n::after { animation: hxPulse 6s ease-out infinite; }
  .hx__steps li:nth-child(1) .hx__n::after { animation-delay: 1.6s; }
  .hx__steps li:nth-child(2) .hx__n::after { animation-delay: 3.6s; }
  .hx__steps li:nth-child(3) .hx__n::after { animation-delay: 5.6s; }
  .poster--clear .hq { animation: hxCard .9s .12s var(--ease) both; }
}
@keyframes hxLine { from { transform: scaleX(0); } }
@keyframes hxPulse { 0% { opacity: .9; transform: scale(.85); } 30%, 100% { opacity: 0; transform: scale(1.35); } }
@keyframes hxCard { from { transform: translateY(18px); } }

/* quote card on a stage, with the service card ring orbiting behind it */
.hx__stage { position: relative; z-index: 3; isolation: isolate; display: grid; justify-items: center; }
.hx__stage .ring { display: none; }
.hq { position: relative; z-index: 2; width: 100%; max-width: 460px; background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: clamp(22px, 2.2vw, 30px); box-shadow: 0 1px 0 rgb(255 255 255 / .7) inset, 0 0 0 1px color-mix(in oklab, var(--ink) 10%, transparent), 0 30px 60px -28px color-mix(in oklab, var(--deep) 55%, transparent); --fg: var(--ink); --fg-2: var(--ink-2); --acc: var(--b1-accent); --rule: var(--line); }
.hq__title { font: 400 clamp(28px, 2.4vw, 36px)/.95 var(--f-display); text-transform: var(--display-case); letter-spacing: var(--display-track, 0); color: var(--ink); }
.hq__text { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 40ch; text-wrap: pretty; }
.hq__form { display: grid; margin-top: 4px; }
.hq__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.hq .field { padding-top: 8px; }
.hq .field input, .hq .field select { font-size: 16px; padding: 15px 0 8px; }
.hq .field select { padding-inline-end: 30px; }
.hq .field > span { top: 23px; font-size: 15px; white-space: nowrap; }
.hq .field__err { min-height: 0; margin-top: 4px; }
.hq .field__err:empty { display: none; }
.hq__go { width: 100%; margin-top: 22px; justify-content: space-between; }
.hq__note { margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--ink-2); text-align: center; }
.hq .form__status:empty { display: none; }

/* themed "What do you need?" picker (the native select stays in the form, visually hidden, and carries the value) */
.hq__need { margin-top: 2px; }
.hq__need.has-pick > span { transform: translateY(-22px) scale(.8); color: var(--b1-ink); }
.pick__native { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden; clip-path: inset(50%); border: 0 !important; white-space: nowrap; }
.pick__btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 15px 2px 9px 0; border: 0; border-bottom: 1.5px solid color-mix(in oklab, var(--ink) 30%, transparent); background: transparent; font: 500 16px/1.4 var(--f-body); color: var(--ink); text-align: start; cursor: pointer; }
.pick__btn:focus-visible { outline: 2px solid var(--b1-solid); outline-offset: 4px; border-radius: 4px; }
.pick__chev { font-size: 14px; color: var(--b1-ink); transition: transform .2s var(--ease); }
.hq__need.is-open .pick__chev { transform: rotate(180deg); }
.pick__list { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; margin: 0; padding: 6px; list-style: none; background: var(--paper); border-radius: 16px; box-shadow: 0 0 0 1px color-mix(in oklab, var(--ink) 10%, transparent), 0 24px 48px -18px color-mix(in oklab, var(--deep) 60%, transparent); outline: none; transform-origin: top center; }
.pick__list:not([hidden]) { animation: pickIn .18s var(--ease) both; }
@keyframes pickIn { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
.pick__opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; }
.pick__opt i { font-size: 17px; color: var(--b1-solid); visibility: hidden; }
.pick__opt[aria-selected="true"] { font-weight: 650; color: var(--b1-ink); }
.pick__opt[aria-selected="true"] i { visibility: visible; }
.pick__opt.is-act { background: color-mix(in oklab, var(--brand-1) 10%, var(--paper)); }
.pick__list:focus-visible .pick__opt.is-act { box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--brand-1) 45%, transparent); }

/* phones and tablets: one column; the quote button stays in the first screen; card and steps follow */
@media (max-width: 1023px) {
  .hx__wa { display: none; }
  .hq { max-width: 560px; }
  .hx__stage { justify-items: start; }
}
@media (max-width: 560px) {
  .hx__h1 { font-size: clamp(38px, 11vw, 48px); line-height: .96; }
  .hx__actions .button { width: 100%; }
  .hx__trust { gap: 8px 16px; font-size: 13.5px; }
  .hq { padding: 22px 18px 18px; }
  .hq__row { grid-template-columns: 1fr; }
  .hx__blob--a { width: 120vw; height: 120vw; right: -50vw; top: -40vw; }
  .hx__blob--b { display: none; }
}
/* desktop: copy left, card + orbit right, the three steps across the bottom */
@media (min-width: 1024px) {
  .poster--clear .hx { grid-template-columns: minmax(0, 1fr) minmax(380px, 460px); align-items: center; column-gap: clamp(48px, 7vw, 120px); row-gap: clamp(26px, 4vh, 44px); }
  .hx__quote { display: none; }
  .hx__steps { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  /* one ring, cards turned to face the visitor all the way round (billboard), so they slide out from behind the card as
     whole cards instead of edge-on slivers; the whole ring sits under the card (z-index), never over the form or the text */
  .hx__stage .ring { display: block; left: 44%; --n: 8; --R: 330px; --cw: 120px; --ch: 156px; --persp: 2000px; --rx: -10deg; --rz: -5deg; --ring-y: 50%; z-index: 1; }
  [dir="rtl"] .hx__stage .ring { left: 56%; --rz: 5deg; }
  .hx__stage .rc { padding: 6px 6px 0; border-radius: 12px; gap: 5px; box-shadow: 0 18px 30px -18px rgb(46 10 92 / .6); -webkit-backface-visibility: visible; backface-visibility: visible;
    transform: rotateY(calc(var(--i) * 360deg / var(--n, 8))) translateZ(var(--R)) rotateY(calc(var(--i) * -360deg / var(--n, 8) - var(--spin, 20deg))) rotateX(calc(-1 * (var(--rx) + var(--tilt, 0deg)))); }
  .hx__stage .rc__img { border-radius: 8px; }
  .hx__stage .rc__name { font-size: 12.5px; padding-bottom: 5px; }
}
