/* ============ iqbal.qa — dark cinematic ============ */
:root {
  --bg: #0A0E14;
  --bg-raised: #101623;
  --accent: #3B9DFF;
  --accent-deep: #1B75BB;
  --text: #EDF2F7;
  --dim: #8A94A6;
  --line: rgba(59, 157, 255, .14);
  --line-soft: rgba(138, 148, 166, .12);
  --display: "Cabinet Grotesk", "Helvetica Neue", sans-serif;
  --body: "Switzer", "Helvetica Neue", sans-serif;
  --pad: clamp(1.25rem, 5vw, 6rem);
}

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

html { scroll-behavior: smooth; background: var(--bg); overflow-x: clip; }

body {
  background: transparent;
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #04070C; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* keep page content above the fixed background layer */
main, .footer { position: relative; z-index: 1; }

/* ============ BACKGROUND FX ============ */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-fx__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(59, 157, 255, .07) 1px, transparent 1.4px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
  opacity: .55;
}
.bg-fx__aura {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  will-change: transform;
}
.bg-fx__aura--1 {
  width: 46vw; height: 46vw; max-width: 640px; max-height: 640px;
  background: radial-gradient(circle, rgba(27, 117, 187, .30), transparent 66%);
  top: -8%; left: -6%;
  animation: aura1 30s ease-in-out infinite;
}
.bg-fx__aura--2 {
  width: 40vw; height: 40vw; max-width: 560px; max-height: 560px;
  background: radial-gradient(circle, rgba(59, 157, 255, .18), transparent 68%);
  bottom: -6%; right: -6%;
  animation: aura2 36s ease-in-out infinite;
}
@keyframes aura1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8vw, 6vh) scale(1.15); }
}
@keyframes aura2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-7vw, -5vh) scale(1.1); }
}

/* ============ CUSTOM CURSOR ============ */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 60;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(59, 157, 255, .9);
}
.cursor-ring {
  width: 40px; height: 40px;
  border: 1px solid rgba(59, 157, 255, .55);
  transition: width .28s ease, height .28s ease, background .28s ease, border-color .28s ease, opacity .28s ease;
}
.cursor-ring.is-hover {
  width: 66px; height: 66px;
  background: rgba(59, 157, 255, .10);
  border-color: var(--accent);
}
html.cursor-custom, html.cursor-custom a, html.cursor-custom button { cursor: none; }
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* grain overlay */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 50;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  animation: grain 9s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0,0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

/* ============ shared ============ */
.eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.section-head {
  padding: 0 var(--pad);
  max-width: 1200px;
  margin: 0 auto 4rem;
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4.2vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -.01em;
}
.hl { color: var(--accent); }

.br-desk { display: none; }
@media (min-width: 900px) { .br-desk { display: inline; } }

section { padding: clamp(5rem, 12vh, 9rem) 0; position: relative; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  min-height: 44px;
}
.btn--solid {
  background: var(--accent);
  color: #04070C;
}
.btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(59, 157, 255, .35);
}
.btn--ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(59, 157, 255, .04);
}
.btn--ghost:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(59, 157, 255, .18);
}
.btn--lg { padding: 1.05rem 2.2rem; font-size: 1.05rem; }

/* scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s cubic-bezier(.19,1,.22,1), transform .9s cubic-bezier(.19,1,.22,1);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

/* page-load reveals (hero) */
.reveal-load {
  opacity: 0;
  transform: translateY(26px);
  animation: rise .9s cubic-bezier(.19,1,.22,1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem var(--pad);
  background: rgba(10, 14, 20, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transform: translateY(-110%);
  transition: transform .45s cubic-bezier(.19,1,.22,1);
}
.nav.is-visible { transform: none; }
.nav__mark { display: flex; align-items: center; }
.nav__logo {
  height: 44px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 14px rgba(59, 157, 255, .35));
}
@media (max-width: 768px) { .nav__logo { height: 34px; } }
.nav__links { display: flex; gap: clamp(1rem, 3vw, 2.2rem); }
.nav__links a {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
  transition: color .2s;
  padding: .5rem 0;
}
.nav__links a em { font-style: normal; color: var(--accent); margin-right: .1rem; }
.nav__links a:hover { color: var(--accent); }
.nav__right { display: flex; align-items: center; gap: .9rem; }
.nav__lang {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dim);
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  transition: color .2s, border-color .2s;
}
.nav__lang:hover { color: var(--accent); border-color: var(--accent); }
.nav__cta {
  font-size: .85rem;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .5rem 1.1rem;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav__cta:hover { background: var(--accent); color: #04070C; }

/* ============ HERO ============ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: clamp(4.6rem, 9vh, 6.5rem) 0 3.4rem;
  position: relative;
  overflow: hidden;
}
.hero__fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__dither {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  opacity: .9;
}
.hero__fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,14,20,.92) 0%, rgba(10,14,20,.55) 34%, rgba(10,14,20,0) 60%),
    linear-gradient(180deg, rgba(10,14,20,.6) 0%, rgba(10,14,20,0) 22%, rgba(10,14,20,0) 62%, rgba(10,14,20,.85) 100%);
}
.hero__inner {
  padding: 0 var(--pad);
  max-width: 1360px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.hero__top { margin-bottom: auto; }
.hero__eyebrow {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
}
.hero__spec {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: .5rem;
}
.hero__mid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1.4rem 3rem;
  margin: 2.2rem 0;
}
.hero__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.4rem, 12.5vw, 11rem);
  line-height: .9;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
/* padding-bottom + negative margin keeps descenders (Q tail, Arabic) inside the clip */
.hero__line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.hero__line .w {
  display: inline-block;
  transform: translateY(135%);
  animation: slide-up 1s cubic-bezier(.19,1,.22,1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes slide-up { to { transform: none; } }
.hero__name-accent { color: var(--accent); text-shadow: 0 0 26px rgba(59, 157, 255, .28); }
.dot { color: var(--text); font-style: normal; }

.hero__thesis {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.4;
  max-width: 30ch;
  font-weight: 500;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 2.2rem;
  margin-top: 1.9rem;
}
.hero__chips li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
}
.hero__chips li::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(59, 157, 255, .8);
  flex: none;
}

/* ============ HUD strip (fixed bottom) ============ */
.hud {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 39;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem var(--pad);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
  border-top: 1px solid var(--line-soft);
  background: rgba(10, 14, 20, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-variant-numeric: tabular-nums;
}
.hud em, .hud i { font-style: normal; }
.hud__left { display: flex; gap: 1.8rem; }
.hud__left em { color: var(--text); }
.hud__center { color: var(--accent); letter-spacing: .3em; }
.hud__right { display: flex; gap: 1.8rem; align-items: center; }
.hud__theme i {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--accent);
  margin: 0 .15rem;
  vertical-align: -1px;
}
.hud__right #hud-clock { color: var(--text); }

/* ============ MANIFESTO (flowty-style word scrub, mise-style voice) ============ */
.manifesto {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.manifesto__text {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 4.4vw, 3.6rem);
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--text);
  margin-bottom: 2.6rem;
}
.manifesto__text:last-child { margin-bottom: 0; }
.manifesto__text .mword { display: inline-block; will-change: opacity; }
.manifesto__text .hl .mword { color: var(--accent); }

/* ============ PARVEZ PHONE (flowty-style floating product) ============ */
.cs__bottom {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  flex-wrap: wrap;
  perspective: 1100px;
}
/* GSAP owns the phone's transforms when active — stop the CSS float */
.gsap .phone { animation: none; transform-style: preserve-3d; will-change: transform; }
.cs__bottom-left { flex: 1 1 420px; min-width: 0; }
.cs__bottom-left .cs__note { margin-top: 2.4rem; }

.phone {
  flex: 0 0 320px;
  margin-top: 2.4rem;
  transform: rotate(-2.4deg);
  animation: phone-float 7s ease-in-out infinite;
}
@keyframes phone-float {
  0%, 100% { transform: rotate(-2.4deg) translateY(0); }
  50% { transform: rotate(-2.4deg) translateY(-10px); }
}

/* ---- true 3D device body ---- */
.device {
  position: relative;
  border-radius: 46px;
  padding: 11px;
  background: linear-gradient(155deg, #3a4150 0%, #171c26 28%, #0b0e15 70%, #232a37 100%);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow:
    0 44px 90px rgba(0, 0, 0, .6),
    0 0 80px rgba(59, 157, 255, .14),
    inset 0 1px 1px rgba(255, 255, 255, .14),
    inset 0 -2px 6px rgba(0, 0, 0, .7);
  transform-style: preserve-3d;
}
.device__screen {
  border-radius: 36px;
  background: linear-gradient(170deg, #101623 0%, #0A0E14 60%);
  border: 1px solid rgba(0, 0, 0, .8);
  overflow: hidden;
  padding: .6rem .85rem 1.1rem;
  box-shadow: inset 0 0 26px rgba(59, 157, 255, .05);
}
.device__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
  font-size: .62rem;
  font-weight: 700;
  color: var(--dim);
  letter-spacing: .05em;
  padding: .25rem .55rem .55rem;
}
.device__island {
  width: 84px; height: 22px;
  border-radius: 999px;
  background: #04070c;
  border: 1px solid rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 6px rgba(0,0,0,.9);
}
.device__btn {
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2c3340, #12161f);
  box-shadow: 0 0 3px rgba(0,0,0,.6);
}
.device__btn--vol1 { left: -3px; top: 108px; height: 42px; }
.device__btn--vol2 { left: -3px; top: 158px; height: 42px; }
.device__btn--power { right: -3px; top: 128px; height: 62px; }
[dir="rtl"] .device__btn--vol1, [dir="rtl"] .device__btn--vol2 { left: auto; right: -3px; }
[dir="rtl"] .device__btn--power { right: auto; left: -3px; }
.device__sheen {
  position: absolute;
  inset: 0;
  border-radius: 46px;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .075) 46%, rgba(255, 255, 255, .02) 54%, transparent 66%);
}

.phone__head {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .2rem .3rem .9rem;
  border-bottom: 1px solid var(--line-soft);
}
.phone__avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #04070C;
  font-weight: 800;
  font-family: var(--display);
  display: grid;
  place-items: center;
  flex: none;
}
.phone__who {
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.25;
}
.phone__who em {
  display: block;
  font-style: normal;
  font-size: .68rem;
  font-weight: 500;
  color: #35D07F;
}
.phone__time { margin-left: auto; font-size: .72rem; color: var(--dim); }
.phone__body { padding-top: 1rem; display: flex; flex-direction: column; gap: .55rem; }
.msg {
  max-width: 88%;
  padding: .6rem .85rem;
  border-radius: 14px;
  font-size: .84rem;
  line-height: 1.45;
}
.msg--in {
  background: rgba(59, 157, 255, .10);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.msg--out {
  background: var(--accent);
  color: #04070C;
  font-weight: 500;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.msg--typing {
  display: flex;
  gap: 4px;
  align-self: flex-start;
  background: rgba(59, 157, 255, .10);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}
.msg--typing i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--dim);
  animation: typing 1.2s infinite;
}
.msg--typing i:nth-child(2) { animation-delay: .2s; }
.msg--typing i:nth-child(3) { animation-delay: .4s; }
@keyframes typing {
  0%, 60%, 100% { opacity: .35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* ---- current chapter banner (no case-study claims) ---- */
.nowrole {
  max-width: 1200px;
  margin: 0 auto 4.5rem;
  padding: clamp(1.8rem, 3.5vw, 2.8rem) var(--pad);
  display: flex;
  gap: 1.6rem 3rem;
  align-items: flex-start;
  flex-wrap: wrap;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(148, 180, 230, .10), rgba(148, 180, 230, .03));
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .10);
}
.nowrole { display: grid; grid-template-columns: 1fr 240px; gap: 2.5rem; align-items: center; }
.nowrole__media { display: grid; place-items: center; }
.nowrole__logo { width: 200px; height: auto; opacity: .85; filter: drop-shadow(0 0 30px rgba(59, 157, 255, .18)); }
.nowrole__video { margin-top: 1rem; }
@media (max-width: 768px) {
  .nowrole { grid-template-columns: 1fr; gap: 1.8rem; }
  .nowrole__media { order: -1; }
  .nowrole__logo { width: 150px; }
}

.nowrole__badge {
  flex: none;
  display: inline-block;
  margin-bottom: 1.1rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #04070C;
  background: var(--accent);
  border-radius: 999px;
  padding: .5rem 1.1rem;
  box-shadow: 0 0 26px rgba(59, 157, 255, .4);
  margin-top: .4rem;
}
.nowrole__body h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.1;
}
.nowrole__role {
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: .5rem 0 .9rem;
}
.nowrole__line { color: var(--dim); max-width: 62ch; }

/* ---- video poster cards ---- */
.vcard {
  display: flex;
  flex-direction: column;
  width: min(300px, 100%);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(148, 180, 230, .10), rgba(148, 180, 230, .03));
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .10);
  cursor: pointer;
  padding: 0;
  font-family: var(--body);
  color: var(--text);
  text-align: start;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.vcard:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5), 0 0 40px rgba(59, 157, 255, .12);
}
.vcard__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  background: linear-gradient(135deg, #131C2C, #0A0F18); }
.vcard__thumb img:not([src]) { visibility: hidden; }
.vcard__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.vcard:hover .vcard__thumb img { transform: scale(1.05); }
.vcard__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: .95rem;
  color: #04070C;
  background: rgba(59, 157, 255, .92);
  box-shadow: 0 0 34px rgba(59, 157, 255, .55);
  transition: transform .25s;
  padding-inline-start: 4px;
}
.vcard:hover .vcard__play { transform: translate(-50%, -50%) scale(1.12); }
.vcard__label {
  padding: .8rem 1rem .95rem;
  font-weight: 700;
  font-size: .92rem;
}
.vcard__label em {
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: .78rem;
  color: var(--dim);
  margin-top: .15rem;
}

/* ---- photo stack (campaign creatives) ---- */
.photostack {
  position: relative;
  flex: 0 0 min(430px, 100%);
  min-height: 380px;
  margin-top: 2.4rem;
}
.photostack__img {
  position: absolute;
  width: min(285px, 68%);
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .55);
  transition: transform .35s ease, z-index 0s;
}
.photostack__img--1 { top: 0; inset-inline-start: 0; transform: rotate(-5deg); z-index: 1; }
.photostack__img--2 { top: 90px; inset-inline-end: 0; transform: rotate(4deg); z-index: 2; }
.photostack__img:hover { transform: rotate(0deg) scale(1.04); z-index: 3; }
@media (max-width: 900px) {
  .photostack { min-height: 340px; margin-left: auto; margin-right: auto; }
}

/* ---- crafted showcase: featured browser + video cards side column ---- */
.cs__showcase {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 1.6rem;
  align-items: start;
  margin-top: 2.8rem;
  perspective: 1100px;
}
.cs__showcase .browser { margin-top: 0; transform: none; }
.cs__showcase-side { display: flex; flex-direction: column; gap: 1.4rem; }
.cs__showcase-side .vcard { width: 100%; }
@media (max-width: 900px) {
  .cs__showcase { grid-template-columns: 1fr; }
}

.photostack--solo {
  margin: 3rem auto 0;
  max-width: 620px;
  flex: none;
}
.nowrole__video { margin-top: 1.6rem; }

/* ---- floating 3D browser window (product shot) ---- */
.browser {
  flex: 0 0 min(480px, 100%);
  margin-top: 2.4rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(16, 20, 29, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 70px rgba(59, 157, 255, .10);
  transform: rotate(1.6deg);
  transform-style: preserve-3d;
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .55rem .9rem;
  background: linear-gradient(180deg, #1c2230, #141926);
  border-bottom: 1px solid rgba(0, 0, 0, .55);
  direction: ltr;
}
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.browser__dots i:nth-child(1) { background: #FF5F57; }
.browser__dots i:nth-child(2) { background: #FEBC2E; }
.browser__dots i:nth-child(3) { background: #28C840; }
.browser__url {
  flex: 1;
  text-align: center;
  font-size: .72rem;
  font-weight: 600;
  color: var(--dim);
  background: rgba(10, 14, 20, .7);
  border-radius: 7px;
  padding: .25rem .8rem;
  max-width: 240px;
  margin: 0 auto;
}
.browser img { display: block; width: 100%; height: auto; }

/* scrollable site preview: hover glides through the full page */
.browser__viewport { height: 330px; overflow: hidden; position: relative; }
.browser__viewport img {
  transition: transform 9s cubic-bezier(.25,.1,.25,1);
  will-change: transform;
}
.browser:hover .browser__viewport img {
  transform: translateY(calc(-100% + 330px));
}
.browser__viewport::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 44px;
  background: linear-gradient(180deg, transparent, rgba(10, 14, 20, .65));
  pointer-events: none;
}

/* ============ VIDEO MODAL ============ */
.vmodal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(4, 7, 12, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.vmodal[hidden] { display: none; }
.vmodal video {
  max-width: min(1100px, 100%);
  max-height: 82vh;
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .7), 0 0 90px rgba(59, 157, 255, .12);
  background: #000;
  outline: none;
}
.vmodal__close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(16, 22, 35, .8);
  color: var(--text);
  font-size: 1.05rem;
  cursor: pointer;
  transition: border-color .2s, color .2s;
  z-index: 2;
}
.vmodal__close:hover { border-color: var(--accent); color: var(--accent); }
[dir="rtl"] .vmodal__close { right: auto; left: 1.4rem; }
.browser__cap {
  font-size: .74rem;
  color: var(--dim);
  padding: .6rem .9rem;
  border-top: 1px solid var(--line-soft);
  letter-spacing: .06em;
}
@media (max-width: 900px) {
  .browser { transform: none; margin-left: auto; margin-right: auto; }
}

/* ============ PROOF ============ */
.proof {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.proof__intro {
  text-align: center;
  color: var(--dim);
  font-size: .95rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 3.5rem;
}
.proof__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pad);
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1;
  display: block;
  color: var(--text);
  text-shadow: 0 0 42px rgba(59, 157, 255, .45);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  display: block;
  margin-top: .8rem;
  color: var(--dim);
  font-size: .85rem;
  line-height: 1.5;
}

/* ============ PILLARS ============ */
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pad);
  perspective: 1000px;
}
.pillar {
  background: linear-gradient(145deg, rgba(148, 180, 230, .10), rgba(148, 180, 230, .03));
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .10);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 2.2rem 1.9rem;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.pillar:hover {
  border-color: var(--line);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(4, 7, 12, .6), 0 0 40px rgba(59, 157, 255, .07);
}
.pillar__no {
  font-family: var(--display);
  color: var(--accent);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .1em;
}
.pillar h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  margin: 1.1rem 0 .7rem;
  line-height: 1.2;
}
.pillar p { color: var(--dim); font-size: .95rem; }

/* ============ CASE STUDIES ============ */
.work { padding-bottom: 3rem; }
.cs {
  max-width: 1200px;
  margin: 0 auto 5.5rem;
  padding: clamp(2rem, 4vw, 3.5rem) var(--pad) clamp(2.4rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line-soft);
}
.cs:last-child { margin-bottom: 0; }
.cs__head {
  display: flex;
  gap: 1.5rem 2.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}
.cs__index {
  font-family: var(--display);
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  padding-top: .4rem;
}
.cs__head > div:nth-child(2) { flex: 1 1 320px; }
.cs__role {
  color: var(--dim);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.cs__brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -.01em;
}
.cs__tag { color: var(--accent); font-weight: 500; margin-top: .5rem; }
.cs__col-flag {
  font-style: normal;
  font-size: .68rem;
  letter-spacing: .04em;
  color: var(--dim);
  text-transform: none;
}
.cs__big-label em { font-style: normal; color: var(--dim); opacity: .8; }
.cs__hero-metric { text-align: right; margin-left: auto; }
.cs__big {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 1;
  display: block;
  color: var(--accent);
  text-shadow: 0 0 60px rgba(59, 157, 255, .4);
  letter-spacing: -.02em;
}
.cs__big-label {
  color: var(--dim);
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cs__body {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 2.2rem;
}
.cs__body--two {
  grid-template-columns: 1fr 1.3fr;
  max-width: 1040px;
}
.cs__col h4 {
  font-size: .75rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .8rem;
  font-weight: 700;
}
.cs__col p { color: var(--dim); font-size: .97rem; }

/* senior results: three strong numbers, not a pile of pills */
.cs__stats { display: flex; flex-direction: column; gap: 1.1rem; }
.cstat b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1.05;
  color: var(--text);
  letter-spacing: -.01em;
}
.cstat span {
  display: block;
  color: var(--dim);
  font-size: .82rem;
  margin-top: .15rem;
}
.cs__note {
  margin-top: 2.4rem;
  border-left: 3px solid var(--accent);
  background: linear-gradient(90deg, rgba(59, 157, 255, .08), transparent 70%);
  border-radius: 0 14px 14px 0;
  padding: 1.4rem 1.8rem;
}
.cs__note p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 68ch;
}
.cs__note .hl { font-weight: 700; }

.cs__media {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.4rem;
}
.watch {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
  gap: .15rem;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 1rem 1.4rem;
  font-weight: 700;
  font-size: .95rem;
  font-family: var(--body);
  color: var(--text);
  cursor: pointer;
  transition: border-color .25s, background .25s, transform .25s;
  background: linear-gradient(145deg, rgba(148, 180, 230, .10), rgba(148, 180, 230, .03));
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .10);
}
.watch span {
  color: var(--dim);
  font-weight: 400;
  font-size: .8rem;
}
.watch:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  background: rgba(59, 157, 255, .07);
}

/* ============ TIMELINE ============ */
.timeline {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: calc(var(--pad) + 6.95rem);
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--line), rgba(59,157,255,.35), var(--line));
}

/* JS-injected scroll fx layer (progress line + traveling beacon) */
.timeline__fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  list-style: none;
  padding: 0;
  margin: 0;
}
.timeline__progress {
  position: absolute;
  top: 0; bottom: 0;
  left: calc(var(--pad) + 6.95rem);
  width: 2px;
  margin-left: -.5px;
  background: linear-gradient(180deg, var(--accent), rgba(59, 157, 255, .35));
  box-shadow: 0 0 16px rgba(59, 157, 255, .55);
  transform-origin: top center;
  transform: scaleY(0);
}
.timeline__beacon {
  position: absolute;
  top: -6px;
  left: calc(var(--pad) + 6.95rem);
  width: 13px; height: 13px;
  margin-left: -6.5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 18px var(--accent), 0 0 46px rgba(59, 157, 255, .8);
}
[dir="rtl"] .timeline__progress { left: auto; right: calc(var(--pad) + 6.95rem); margin-left: 0; margin-right: -.5px; }
[dir="rtl"] .timeline__beacon { left: auto; right: calc(var(--pad) + 6.95rem); margin-left: 0; margin-right: -6.5px; }

/* scroll-active states (enhanced path only, fallback keeps full color) */
.gsap .tl .tl__year { color: rgba(138, 148, 166, .5); transition: color .35s, text-shadow .35s; }
.gsap .tl h3 { color: var(--dim); transition: color .35s; }
.gsap .tl .tl__year::after { background: #223048; box-shadow: none; transition: background .35s, box-shadow .35s; }
.gsap .tl.is-active .tl__year { color: var(--accent); text-shadow: 0 0 26px rgba(59, 157, 255, .5); }
.gsap .tl.is-active h3 { color: var(--text); }
.gsap .tl.is-active .tl__year::after { background: var(--accent); box-shadow: 0 0 18px rgba(59, 157, 255, .9); }
.gsap .tl--next.is-active h3 { color: var(--accent); }
.tl {
  display: flex;
  gap: 2.4rem;
  padding: 1.6rem 0;
  position: relative;
}
.tl__year {
  font-family: var(--display);
  font-weight: 800;
  color: var(--accent);
  min-width: 6.6rem;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -.01em;
  position: relative;
}
.tl__year::after {
  content: "";
  position: absolute;
  right: -.35rem;
  top: .85rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(59, 157, 255, .8);
  transform: translateX(50%);
}
.tl h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: .35rem;
}
.tl p { color: var(--dim); font-size: .95rem; }
.tl--next h3 { color: var(--accent); }

/* ============ BRANDS ============ */
.brands {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.brands__intro {
  text-align: center;
  color: var(--dim);
  font-size: .85rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 2.8rem;
}
.brands__wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem 2.6rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--pad);
}
.brands__wall span {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  color: rgba(138, 148, 166, .55);
  transition: color .3s, text-shadow .3s;
  cursor: default;
}
.brands__wall span:hover {
  color: var(--text);
  text-shadow: 0 0 30px rgba(59, 157, 255, .5);
}

/* ============ EXPERTISE ============ */
.exp__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pad);
  perspective: 1000px;
}
.exp__col {
  background: linear-gradient(145deg, rgba(148, 180, 230, .10), rgba(148, 180, 230, .03));
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .10);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 2.2rem 2rem;
}
.exp__col h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
}
.exp__col li {
  padding: .68rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: .97rem;
  color: var(--text);
}
.exp__col li:last-child { border-bottom: 0; }

/* ============ RTL / ARABIC ============ */
html[lang="ar"] {
  --display: "Cairo", "Segoe UI", sans-serif;
  --body: "Cairo", "Segoe UI", sans-serif;
}
[dir="rtl"] .hero__name,
[dir="rtl"] .section-head h2,
[dir="rtl"] .contact__title,
[dir="rtl"] .cs__brand { letter-spacing: 0; }
[dir="rtl"] .hero__eyebrow, [dir="rtl"] .hero__spec, [dir="rtl"] .eyebrow,
[dir="rtl"] .hero__chips li, [dir="rtl"] .cs__role, [dir="rtl"] .cs__col h4,
[dir="rtl"] .proof__intro, [dir="rtl"] .brands__intro { letter-spacing: .02em; }
[dir="rtl"] .hero__fade {
  background:
    linear-gradient(270deg, rgba(10,14,20,.92) 0%, rgba(10,14,20,.55) 34%, rgba(10,14,20,0) 60%),
    linear-gradient(180deg, rgba(10,14,20,.6) 0%, rgba(10,14,20,0) 22%, rgba(10,14,20,0) 62%, rgba(10,14,20,.85) 100%);
}
[dir="rtl"] .cs__note {
  border-left: 0;
  border-right: 3px solid var(--accent);
  border-radius: 14px 0 0 14px;
  background: linear-gradient(270deg, rgba(59, 157, 255, .08), transparent 70%);
}
[dir="rtl"] .timeline::before {
  left: auto;
  right: calc(var(--pad) + 6.95rem);
}
[dir="rtl"] .tl__year::after {
  right: auto;
  left: -.35rem;
  transform: translateX(-50%);
}
[dir="rtl"] .cs__hero-metric { text-align: left; margin-left: 0; margin-right: auto; }
[dir="rtl"] .hud { direction: ltr; } /* keep the techy readouts LTR */
@media (max-width: 768px) {
  [dir="rtl"] .timeline::before { right: calc(var(--pad) + 4.95rem); }
  [dir="rtl"] .timeline__progress, [dir="rtl"] .timeline__beacon { right: calc(var(--pad) + 4.95rem); left: auto; }
}

/* ============ CONTACT ============ */
.contact {
  text-align: center;
  padding-bottom: clamp(6rem, 14vh, 10rem);
  overflow: hidden;
}
.contact .eyebrow { text-align: center; }
.contact__beam {
  position: absolute;
  left: 50%;
  top: -30%;
  width: 130vw;
  height: 220px;
  transform: translateX(-50%) rotate(-14deg);
  background: linear-gradient(90deg, transparent 8%, rgba(59, 157, 255, .16) 42%, rgba(147, 197, 253, .22) 55%, rgba(59, 157, 255, .12) 68%, transparent 92%);
  filter: blur(46px);
  pointer-events: none;
}
.contact__glow {
  position: absolute;
  left: 50%; bottom: -40%;
  transform: translateX(-50%);
  width: 90vw; height: 70vh;
  background: radial-gradient(ellipse at bottom, rgba(27, 117, 187, .25) 0%, transparent 65%);
  pointer-events: none;
}
.contact__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7.5vw, 5.8rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  margin-bottom: 1.6rem;
  position: relative;
}
.contact__sub {
  color: var(--dim);
  max-width: 52ch;
  margin: 0 auto 3rem;
  padding: 0 var(--pad);
  position: relative;
}
.contact__actions {
  display: flex;
  justify-content: center;
  gap: .9rem;
  flex-wrap: wrap;
  padding: 0 var(--pad);
  position: relative;
}

/* ============ PROFILE ============ */
.profile { border-top: 1px solid var(--line-soft); }
.profile__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  grid-template-areas: "id phone" "text phone";
  gap: 3.2rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad);
  align-items: start;
}
.profile__id { grid-area: id; }
.profile__text { grid-area: text; }
.phone--search { grid-area: phone; }

/* ---- the proof-of-findability phone: Google results for his own name ---- */
.phone--search { flex: none; width: 300px; margin: 0 auto; justify-self: center; }
/* real handset proportions: every screen is a tall 9:18.5 panel */
.device__screen {
  aspect-ratio: 9 / 18.5;
  display: flex;
  flex-direction: column;
}
.phone__body { flex: 1; min-height: 0; }
.phone--search .gsearch { flex: 1; display: flex; flex-direction: column; }
.gsearch__home {
  display: block;
  width: 40%;
  height: 4px;
  margin: .5rem auto .1rem;
  border-radius: 999px;
  background: rgba(200, 215, 235, .35);
}
.gres--related { margin-top: auto; padding-bottom: .8rem; }
.gsearch__chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .35rem; }
.gsearch__chips span {
  font-size: .56rem;
  color: #BAC4D2;
  padding: .28rem .6rem;
  border: 1px solid rgba(130, 160, 205, .22);
  border-radius: 999px;
  background: rgba(24, 33, 50, .8);
}
.gsearch { padding: .2rem .15rem 0; }
.gsearch__logo {
  font-family: var(--body);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -.03em;
  text-align: center;
  margin: .5rem 0 .75rem;
  direction: ltr;
}
.gsearch__logo .gb { color: #4285F4; }
.gsearch__logo .gr { color: #EA4335; }
.gsearch__logo .gy { color: #FBBC05; }
.gsearch__logo .gg { color: #34A853; }
.gsearch__bar {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .85rem;
  border: 1px solid rgba(130, 160, 205, .28);
  border-radius: 999px;
  background: rgba(20, 28, 44, .85);
  font-size: .78rem;
  color: #E8EDF5;
}
.gsearch__bar svg { flex: none; }
.gsearch__caret {
  width: 1.5px;
  height: 1em;
  background: #8AB4F8;
  animation: gsearch-caret 1.05s steps(1) infinite;
}
@keyframes gsearch-caret { 50% { opacity: 0; } }
.gsearch__tabs {
  display: flex;
  gap: 1.05rem;
  padding: .6rem .25rem .45rem;
  margin-bottom: .55rem;
  border-bottom: 1px solid rgba(130, 160, 205, .14);
  font-size: .6rem;
  color: #9AA6B8;
}
.gsearch__tabs .on { color: #8AB4F8; box-shadow: 0 10px 0 -8px #8AB4F8; }
.gres { padding: .5rem .1rem; }
.gres__site { font-size: .56rem; color: #9AA6B8; letter-spacing: .04em; }
.gres h4 { font-family: var(--body); font-size: .76rem; font-weight: 600; color: #8AB4F8; margin: .18rem 0 .14rem; line-height: 1.3; }
.gres p { font-size: .62rem; line-height: 1.5; color: #BAC4D2; }
.gres--ai {
  margin-bottom: .45rem;
  padding: .65rem .75rem;
  border: 1px solid rgba(138, 180, 248, .30);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(66, 133, 244, .12), rgba(52, 168, 83, .06));
}
.gres__ai-tag { font-size: .58rem; font-weight: 600; color: #8AB4F8; margin-bottom: .3rem; letter-spacing: .05em; }
.profile__logo { width: 190px; height: auto; filter: drop-shadow(0 0 22px rgba(59, 157, 255, .3)); }
.profile__role {
  margin-top: 1.4rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.35;
}
.profile__role span { display: block; color: var(--dim); font-family: var(--body); font-weight: 500; font-size: .9rem; }
.profile__links { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.3rem; }
.profile__links a {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.profile__links a:hover { text-decoration: underline; }
.profile__text p { color: var(--dim); line-height: 1.8; margin-bottom: 1.1rem; max-width: 62ch; }
.profile__text p:last-child { margin-bottom: 0; }
.profile__text strong { color: var(--text); }
.profile__text .hl { font-weight: 700; }
.profile__id { margin-bottom: .4rem; }
@media (max-width: 900px) {
  .profile__grid { grid-template-columns: 1fr; grid-template-areas: "id" "text" "phone"; }
  .phone--search { margin-top: .6rem; }
}
@media (max-width: 900px) {
  .profile__grid { grid-template-columns: 1fr; gap: 2rem; }
  .profile__logo { width: 150px; }
}

/* ============ FOOTER ============ */
.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  padding: 1.6rem var(--pad) 3.6rem; /* extra bottom room for the fixed HUD */
  border-top: 1px solid var(--line-soft);
  color: var(--dim);
  font-size: .82rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero__fade {
    background:
      linear-gradient(180deg, rgba(10,14,20,.7) 0%, rgba(10,14,20,.35) 30%, rgba(10,14,20,.35) 60%, rgba(10,14,20,.9) 100%);
  }
}

@media (max-width: 900px) {
  .cs__body { grid-template-columns: 1fr; gap: 1.6rem; }
  .cs__hero-metric { text-align: left; margin-left: 0; width: 100%; }
  .proof__grid { grid-template-columns: repeat(2, 1fr); gap: 2.6rem 1.4rem; }
  .pillars__grid { grid-template-columns: 1fr; max-width: 560px; }
  .exp__grid { grid-template-columns: 1fr; max-width: 560px; }
  .cs__note { padding: 1.2rem 1.3rem; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  /* portrait recedes so hero copy stays readable on small screens */
  .hero__dither { opacity: .55; }
  .hero__fade {
    background:
      linear-gradient(180deg, rgba(10,14,20,.75) 0%, rgba(10,14,20,.5) 32%, rgba(10,14,20,.55) 62%, rgba(10,14,20,.94) 100%);
  }
  .brands__wall { gap: .9rem 1.6rem; }
  .brands__wall span { font-size: .98rem; }
  .timeline::before { left: calc(var(--pad) + 4.95rem); }
  .timeline__progress, .timeline__beacon { left: calc(var(--pad) + 4.95rem); }
  .tl { gap: 1.6rem; }
  .tl__year { min-width: 4.6rem; font-size: 1.25rem; }
}

@media (max-width: 768px) {
  .hud__left, .hud__theme { display: none; }
  .hud { justify-content: space-between; }
  .phone {
    flex: 1 1 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    transform: rotate(0deg);
  }
  @keyframes phone-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }
}

@media (max-width: 480px) {
  body { font-size: 1rem; }
    .hero__chips { gap: .6rem 1.2rem; }
  .proof__grid { grid-template-columns: 1fr 1fr; }
  .stat__num { font-size: 2.3rem; }
  .contact__actions { flex-direction: column; align-items: stretch; }
  .contact__actions .btn { width: 100%; }
  .footer { justify-content: center; text-align: center; }
}

/* ============ GSAP / LENIS ENHANCED PATH ============ */
/* Only active once JS confirms GSAP loaded and adds html.gsap.
   Hands the animations CSS was doing over to GSAP, cleanly. */
.gsap { scroll-behavior: auto; }

/* hero name: GSAP drives the characters, so stop the CSS word-slide */
.gsap .hero__line .w { animation: none; transform: none; }
.gsap .char { display: inline-block; will-change: transform; }

/* hero support + reveals: GSAP owns them — reset to final state so
   gsap.from() has a real end value to animate toward */
.gsap .reveal-load { animation: none; opacity: 1; transform: none; }
.gsap .reveal { transition: none; }

/* Lenis base rules (inlined so we don't depend on external lenis.css) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain { animation: none; }
  .reveal, .reveal-load, .hero__line .w {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  .hero__dither { opacity: .7; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}



/* skystory background mode: the day cycle runs behind the whole page */
.skybg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.skybg .skystory__gl, .skybg .skystory__gl canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.skybg__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 7, 13, .85) 0%, rgba(4, 7, 13, .5) 26%, rgba(4, 7, 13, .45) 58%, rgba(4, 7, 13, .84) 100%);
  opacity: .35;
  transition: opacity .3s linear;
}
.skybg.skystory--static { display: none; }  /* fallback: original bg-fx backdrop remains */


/* ============ SKYSTORY 2D layers (background mode) ============ */
.skybg > .sk-sky, .skybg > .sk-stars, .skybg > .sk-haze,
.skybg > .sk-sun, .skybg > .sk-moon,
.skybg > .sk-citywrap, .skybg > .sk-water { position: absolute; }
.sk-sky { inset: 0; }
.sk-stars { inset: 0 0 34vh 0; opacity: 1;
  background-image: radial-gradient(1.3px 1.3px at 8% 18%,#fff,transparent), radial-gradient(1px 1px at 15% 42%,#cfe0ff,transparent), radial-gradient(1.5px 1.5px at 23% 9%,#fff,transparent), radial-gradient(1px 1px at 31% 30%,#fff,transparent), radial-gradient(1.2px 1.2px at 39% 15%,#e6efff,transparent), radial-gradient(1px 1px at 47% 38%,#fff,transparent), radial-gradient(1.4px 1.4px at 55% 7%,#fff,transparent), radial-gradient(1px 1px at 63% 25%,#d8e6ff,transparent), radial-gradient(1.2px 1.2px at 71% 44%,#fff,transparent), radial-gradient(1px 1px at 79% 12%,#fff,transparent), radial-gradient(1.5px 1.5px at 87% 33%,#eef4ff,transparent), radial-gradient(1px 1px at 94% 20%,#fff,transparent), radial-gradient(1px 1px at 50% 52%,#fff,transparent), radial-gradient(1.2px 1.2px at 12% 58%,#fff,transparent), radial-gradient(1px 1px at 85% 55%,#fff,transparent); }
.sk-haze { left: 0; right: 0; bottom: 10vh; height: 36vh; }
.sk-sun { width: 120px; height: 120px; transform: translate(-50%,-50%); }
.sk-sun i { position: absolute; inset: -80%;
  background: radial-gradient(circle, rgba(255,236,190,.75) 0%, rgba(255,205,140,.38) 16%, rgba(255,180,110,.16) 32%, transparent 55%); }
.sk-moon { width: 62px; height: 62px; border-radius: 50%; transform: translate(-50%,-50%);
  background: radial-gradient(circle at 38% 34%, #F5F8FF 0%, #DDE6F5 55%, #B9C6DC 100%);
  box-shadow: 0 0 36px 9px rgba(205,220,255,.32), 0 0 96px 34px rgba(190,210,255,.14); }
.sk-moon::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(8px 8px at 62% 30%, rgba(150,165,190,.55), transparent 70%), radial-gradient(5px 5px at 40% 58%, rgba(150,165,190,.5), transparent 70%), radial-gradient(10px 10px at 68% 66%, rgba(150,165,190,.4), transparent 70%); }
.sk-citywrap { left: 0; right: 0; bottom: 10vh; height: 30vh; will-change: transform; }
.sk-citywrap .sk-cityfill, .sk-citywrap .sk-cityphoto,
.sk-mirror .sk-cityfill, .sk-mirror .sk-cityphoto { position: absolute; inset: 0; }
.sk-cityfill svg { width: 100%; height: 100%; display: block; }
.sk-cityphoto img { width: 100%; height: 100%; object-fit: fill; display: block; }
.sk-water { left: 0; right: 0; bottom: 0; height: 10vh; overflow: hidden;
  background: linear-gradient(180deg, rgba(6,9,16,.96), #02040A); }
.sk-waterphoto { position: absolute; inset: 0; }
.sk-waterphoto img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.sk-mirror { position: absolute; left: 0; right: 0; top: 0; height: 30vh;
  transform: scaleY(-1); transform-origin: center;
  filter: url(#sk-ripple) blur(1.6px) brightness(.8); opacity: .32; will-change: transform; }
.sk-refl { position: absolute; top: 0; bottom: 0; width: 96px; transform: translateX(-50%);
  filter: blur(11px); opacity: 0;
  background: linear-gradient(180deg, var(--rc, rgba(255,160,90,.65)), transparent 92%);
  -webkit-mask: linear-gradient(90deg, transparent, #000 30% 70%, transparent);
  mask: linear-gradient(90deg, transparent, #000 30% 70%, transparent); }
.skybg .skybg__veil { z-index: 2; }
/* celestial bodies punch through the legibility veil */
.skybg .sk-sun, .skybg .sk-moon { z-index: 3; }


/* realistic sun: crisp disc inside the atmospheric bloom */
.sk-sun b {
  position: absolute;
  left: 50%; top: 50%;
  width: 46px; height: 46px;
  border-radius: 50%;
  transform: translate(-50%, -50%) scaleY(var(--flat, 1));
  background: radial-gradient(circle, #FFFEF9 0%, #FFF6DF 42%, var(--disc, #FFE9B8) 88%, transparent 100%);
  box-shadow: 0 0 18px 6px var(--glow, rgba(255, 214, 150, .55));
  filter: blur(.3px);
}

/* containment: fixed sky layer must never widen the page */
.skybg { overflow: hidden; }

/* narrow screens: keep the skyline's real proportions by letting the band
   run wider than the viewport instead of stretching towers vertically */
@media (max-width: 768px) {
  .sk-citywrap { left: -55vw; right: -55vw; height: auto; aspect-ratio: 1376 / 286; max-height: 34vh; }
  .sk-mirror { left: -55vw; right: -55vw; height: auto; aspect-ratio: 1376 / 286; max-height: 34vh; }
  .sk-sun { width: 92px; height: 92px; }
  .sk-sun b { width: 36px; height: 36px; }
  .sk-moon { width: 48px; height: 48px; }
}


/* showcase: the film card runs the full height of the site window */
.cs__showcase { align-items: stretch; }
.cs__showcase-side { display: flex; flex-direction: column; }
.cs__showcase-side .vcard { flex: 1; display: flex; flex-direction: column; width: 100%; }
.cs__showcase-side .vcard__thumb { flex: 1; aspect-ratio: auto; min-height: 0; }
.cs__showcase-side .vcard__thumb img { position: absolute; inset: 0; object-fit: cover; }

/* only true Results columns (the ones holding stats) read from the right edge */
.cs__body .cs__col:has(.cs__stats) { text-align: right; }
[dir="rtl"] .cs__body .cs__col:has(.cs__stats) { text-align: left; }
@media (max-width: 900px) {
  .cs__body .cs__col:has(.cs__stats) { text-align: left; }
  [dir="rtl"] .cs__body .cs__col:has(.cs__stats) { text-align: right; }
}

/* brand wall: real logos, quiet until hovered */
.brands__wall--logos { align-items: center; gap: 2.4rem 3.6rem; max-width: 1100px; }
.brands__wall--logos img {
  height: calc(var(--lh, 46) * 1px);
  width: auto;
  opacity: .5;
  transition: opacity .35s ease, transform .35s ease;
}
.brands__wall--logos img:hover { opacity: 1; transform: translateY(-3px); }
/* equal visual weight: tall marks shrink less, wide wordmarks more */
.brands__wall--logos img[src*="client-01"] { --lh: 53; }
.brands__wall--logos img[src*="client-02"] { --lh: 52; }
.brands__wall--logos img[src*="client-03"] { --lh: 55; }
.brands__wall--logos img[src*="client-04"] { --lh: 38; }
.brands__wall--logos img[src*="client-05"] { --lh: 46; }
.brands__wall--logos img[src*="client-06"] { --lh: 27; }
.brands__wall--logos img[src*="client-07"] { --lh: 55; }
.brands__wall--logos img[src*="client-08"] { --lh: 49; }
.brands__wall--logos img[src*="client-09"] { --lh: 44; }
.brands__wall--logos img[src*="client-10"] { --lh: 49; }
.brands__wall--logos img[src*="client-11"] { --lh: 28; }
.brands__wall--logos img[src*="client-12"] { --lh: 55; }
@media (max-width: 768px) {
  .brands__wall--logos { gap: 1.6rem 2rem; }
  .brands__wall--logos img { height: calc(var(--lh, 46) * .68px); }
}

/* the hidden attribute must always win over component display rules */
[hidden] { display: none !important; }


/* a11y: skip link appears on keyboard focus */
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: .7rem 1.4rem;
  border-radius: 10px;
  background: var(--accent);
  color: #06090F;
  font-weight: 700;
  text-decoration: none;
  transition: top .25s;
}
.skip-link:focus-visible { top: 1rem; }
[dir="rtl"] .skip-link { left: auto; right: 1rem; }


/* shooting star: a brief streak across the night sky */
.sk-shoot {
  position: absolute;
  width: 90px;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(255,255,255,.95), transparent);
  transform: rotate(-35deg);
  opacity: 0;
  pointer-events: none;
  animation: sk-shoot 1.15s ease-out forwards;
}
@keyframes sk-shoot {
  6% { opacity: .9; }
  100% { transform: rotate(-35deg) translateX(-280px); opacity: 0; }
}


/* the sky chip is a secret play button */
.hud__phase--btn { cursor: pointer; pointer-events: auto; transition: color .25s, text-shadow .25s; }
.hud__phase--btn:hover { color: var(--accent); text-shadow: 0 0 14px rgba(59, 157, 255, .5); }


/* dhow lights drifting across the night water */
.sk-boat {
  position: absolute;
  bottom: 34%;
  width: 5px;
  height: 2px;
  border-radius: 2px;
  background: #FFD9A0;
  box-shadow: 0 0 8px 2px rgba(255, 217, 160, .55);
  opacity: 0;
  transition: opacity 1.2s;
}
.sk-boat--1 { animation: sk-drift-e 95s linear infinite; bottom: 55%; }
.sk-boat--2 { animation: sk-drift-w 130s linear infinite; animation-delay: -40s; bottom: 30%; }
.sk-boat--3 { animation: sk-drift-e 160s linear infinite; animation-delay: -95s; bottom: 12%; width: 4px; }
@keyframes sk-drift-e { from { left: -3%; } to { left: 103%; } }
@keyframes sk-drift-w { from { left: 103%; } to { left: -3%; } }

/* fireworks over West Bay (Qatar National Day) */
.sk-fw { position: absolute; width: 0; height: 0; pointer-events: none; }
.sk-fw i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  box-shadow: 0 0 6px 1px currentColor;
}

/* comet cursor trail (night skies) */
.cursor-star {
  position: fixed;
  z-index: 59;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #EAF2FF;
  pointer-events: none;
  animation: cursor-star .75s ease-out forwards;
}
@keyframes cursor-star {
  from { opacity: .9; transform: scale(1); }
  to { opacity: 0; transform: scale(.2) translateY(6px); }
}

/* share-this-sky chip */
.hud__share {
  border: 0;
  background: none;
  font: inherit;
  color: var(--dim);
  letter-spacing: .18em;
  cursor: pointer;
  pointer-events: auto;
  transition: color .25s;
  padding: 0;
}
.hud__share:hover { color: var(--accent); }

/* soft scrim keeps the portrait readable now that the sky shows through the hero */
.hero__fx::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(58% 85% at 72% 45%, rgba(6, 9, 15, .78), rgba(6, 9, 15, .28) 60%, transparent 82%);
}
[dir="rtl"] .hero__fx::before {
  background: radial-gradient(58% 85% at 28% 45%, rgba(6, 9, 15, .78), rgba(6, 9, 15, .28) 60%, transparent 82%);
}
.hero__dither { position: relative; }


/* preloader: the brand breathes in while the sky wakes up */
.loader {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1.5rem;
  background: #06090F;
  transition: opacity .65s ease, visibility .65s;
}
.loader__logo {
  width: 120px;
  height: auto;
  animation: loader-breathe 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 26px rgba(59, 157, 255, .45));
}
@keyframes loader-breathe {
  0%, 100% { opacity: .55; transform: scale(.97); }
  50% { opacity: 1; transform: scale(1); }
}
.loader__bar {
  width: 148px;
  height: 2px;
  border-radius: 2px;
  background: rgba(59, 157, 255, .18);
  overflow: hidden;
}
.loader__bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(59, 157, 255, .8);
  animation: loader-fill 2.2s cubic-bezier(.3,.6,.4,1) forwards;
}
@keyframes loader-fill { to { width: 88%; } }
.loader.is-done .loader__bar i { width: 100%; transition: width .3s ease; animation: none; }
.loader.is-done { opacity: 0; visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
}
