/* Kawkab Media theme — ported verbatim from reference/kawkab-media-final.original.html (lines 13–989),
   followed by production additions at the end of this file. */
:root{
  --bg:#05050A;
  --bg-alt:#0d0a16;
  --card:#141020;
  --fg:#ffffff;
  --fg-dim:#a8a8a8;
  --fg-dimmer:#858585; /* raised from #707070 for WCAG AA contrast */
  --line:#2a2a2a;
  --line-bright:#ffffff;
  --violet:#6A2DFF;
  --star-glow:#c8afff;
  --money:#3fe08f; /* green used only for the headline ad-spend figure */
  --purple-deep:#2A0E47;
  --glass-bg:rgba(20,16,32,0.5);
  --glass-border:rgba(140,100,255,0.22);
  --glow:rgba(106,45,255,0.35);
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg);
  color:var(--fg);
  font-family:'Cormorant Garamond', serif;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
html[dir="rtl"] body{ font-family:'Tajawal', sans-serif; }

.disp{ font-family:'Bebas Neue', sans-serif; letter-spacing:0.04em; }
html[dir="rtl"] .disp{ font-family:'Cairo', sans-serif; font-weight:900; letter-spacing:0; }

::selection{ background:#fff; color:#000; }

a{ color:inherit; text-decoration:none; }
img{ display:block; max-width:100%; }

/* ---------- galaxy background system ---------- */
#galaxyCanvas{
  position:fixed; inset:0; width:100%; height:100%;
  z-index:-2; pointer-events:none; display:block;
  background:var(--bg);
}
#shootingStarCanvas{
  position:fixed; inset:0; width:100%; height:100%;
  z-index:40; pointer-events:none; display:block;
  mix-blend-mode:screen;
}
@media(max-width:760px){ #shootingStarCanvas{ opacity:0.8; } }
.nebula-layer{ position:fixed; inset:0; z-index:-1; pointer-events:none; overflow:hidden; }
.nebula{
  position:absolute; border-radius:50%; filter:blur(70px);
  opacity:0.55; will-change:transform;
}
.nebula.n1{
  width:52vw; height:52vw; top:-10%; left:-10%;
  background:radial-gradient(circle, var(--purple-deep), transparent 70%);
  animation:nebula-drift-1 46s ease-in-out infinite alternate;
}
.nebula.n2{
  width:44vw; height:44vw; bottom:-12%; right:-8%;
  background:radial-gradient(circle, var(--violet), transparent 72%);
  opacity:0.28;
  animation:nebula-drift-2 54s ease-in-out infinite alternate;
}
.nebula.n3{
  width:38vw; height:38vw; top:40%; left:55%;
  background:radial-gradient(circle, #3b1a66, transparent 72%);
  opacity:0.35;
  animation:nebula-drift-3 60s ease-in-out infinite alternate;
}
@keyframes nebula-drift-1{ from{ transform:translate(0,0) scale(1); } to{ transform:translate(6%,8%) scale(1.12); } }
@keyframes nebula-drift-2{ from{ transform:translate(0,0) scale(1); } to{ transform:translate(-7%,-6%) scale(1.08); } }
@keyframes nebula-drift-3{ from{ transform:translate(0,0) scale(1); } to{ transform:translate(-5%,5%) scale(1.15); } }
@media (prefers-reduced-motion: reduce){
  .nebula{ animation:none !important; }
}
@media(max-width:760px){
  .nebula{ filter:blur(46px); }
}

/* ---------- shared glass-card floating animation ---------- */
@keyframes card-float{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-6px); } }
@media (prefers-reduced-motion: reduce){
  .svc-card, .why-card, .port-card, .testi-card, .client-slot, .founder-card{ animation:none !important; }
}

.wrap{ max-width:1180px; margin:0 auto; padding:0 32px; }
.wrap.guided{ position:relative; }
.wrap.guided::before{
  content:''; position:absolute; top:6px; bottom:0; inset-inline-start:32px;
  width:1px; background:var(--line);
}

.wrap.guided::before{ display:none; }

/* ---------- section head (number + label) ---------- */
.section-head{ display:flex; align-items:baseline; justify-content:center; gap:14px; margin-bottom:18px; }
.head-num{ font-size:14px; letter-spacing:0.06em; color:var(--fg-dimmer); min-width:26px; }
.head-label{ font-size:13px; letter-spacing:0.3em; text-transform:uppercase; color:var(--fg-dim); }
html[dir="rtl"] .head-label{ letter-spacing:0.05em; }
.cta-content .head-label, .cta-content .head-num{ color:#fff; }

/* ---------- scroll progress ---------- */
.progress-bar{
  position:fixed; top:0; left:0; height:2px; width:0%; background:#fff; z-index:200;
  transition:width .08s linear;
}

/* ---------- custom cursor ---------- */
.cursor-dot, .cursor-ring{
  position:fixed; top:0; left:0; border-radius:50%; pointer-events:none; z-index:300;
  transform:translate(-50%,-50%);
}
.cursor-dot{ width:6px; height:6px; background:#fff; transition:opacity .2s ease; }
.cursor-ring{
  width:34px; height:34px; border:1px solid rgba(255,255,255,.5);
  transition:transform .18s ease, opacity .2s ease, width .2s ease, height .2s ease;
}
.cursor-ring.grow{ width:60px; height:60px; border-color:#fff; }
@media(hover:none), (pointer:coarse){
  .cursor-dot, .cursor-ring{ display:none; }
}

/* ---------- top bar ---------- */
.topbar{
  position:fixed; top:0; left:0; right:0; z-index:100;
  display:flex; align-items:center; justify-content:space-between;
  padding:22px 32px;
  mix-blend-mode:difference;
  background:rgba(5,5,10,0); backdrop-filter:blur(0px); -webkit-backdrop-filter:blur(0px);
  transition:background .4s ease, backdrop-filter .4s ease, padding .4s ease, box-shadow .4s ease;
}
.topbar.scrolled{
  mix-blend-mode:normal;
  background:rgba(5,5,10,0.55);
  backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  padding:14px 32px;
  box-shadow:0 8px 30px -12px rgba(0,0,0,0.5);
  border-bottom:1px solid var(--glass-border);
}
.logo{ font-family:'Bebas Neue', sans-serif; font-size:22px; letter-spacing:0.12em; }
html[dir="rtl"] .logo{ font-family:'Cairo', sans-serif; font-weight:900; letter-spacing:0; }

/* ---------- hamburger toggle (mobile only) ---------- */
.menu-toggle{
  display:none; position:relative; width:38px; height:38px;
  background:none; border:none; cursor:pointer; padding:0;
  flex-direction:column; align-items:center; justify-content:center; gap:6px;
}
@media(max-width:760px){ .menu-toggle{ display:flex; } }
.menu-toggle span{
  display:block; width:24px; height:2px; background:#fff; border-radius:2px;
  transition:transform .35s ease, opacity .25s ease;
}
.menu-toggle.open span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2){ opacity:0; }
.menu-toggle.open span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

/* ---------- overlay ---------- */
.menu-overlay{
  position:fixed; inset:0; z-index:150; background:rgba(5,5,10,0.6);
  opacity:0; visibility:hidden; transition:opacity .4s ease, visibility 0s linear .4s;
}
.menu-overlay.show{ opacity:1; visibility:visible; transition:opacity .4s ease, visibility 0s linear 0s; }

/* ---------- side menu (galaxy navigation panel) ---------- */
.side-menu{
  position:fixed; top:0; right:0; height:100vh; width:min(84vw,340px);
  z-index:160; overflow:hidden;
  background:rgba(8,6,16,0.9);
  backdrop-filter:blur(22px); -webkit-backdrop-filter:blur(22px);
  border-left:1px solid var(--glass-border);
  box-shadow:-30px 0 70px -20px rgba(0,0,0,0.6), -10px 0 40px rgba(106,45,255,0.15);
  border-radius:20px 0 0 20px;
  transform:translateX(105%);
  transition:transform .45s cubic-bezier(.19,1,.22,1);
}
html[dir="rtl"] .side-menu{ right:auto; left:0; border-left:none; border-right:1px solid var(--glass-border); border-radius:0 20px 20px 0; box-shadow:30px 0 70px -20px rgba(0,0,0,0.6), 10px 0 40px rgba(106,45,255,0.15); transform:translateX(-105%); }
.side-menu.open{ transform:translateX(0); }

.side-menu-stars{ position:absolute; inset:0; pointer-events:none; }
.side-menu-stars span{
  position:absolute; width:2px; height:2px; border-radius:50%; background:#fff;
  animation:sm-twinkle 3s ease-in-out infinite;
}
@keyframes sm-twinkle{ 0%,100%{ opacity:0.15; } 50%{ opacity:0.9; } }
.side-menu-stars span:nth-child(1){ top:8%; left:20%; animation-delay:0s; }
.side-menu-stars span:nth-child(2){ top:15%; left:70%; animation-delay:.3s; }
.side-menu-stars span:nth-child(3){ top:22%; left:45%; animation-delay:.6s; }
.side-menu-stars span:nth-child(4){ top:30%; left:85%; animation-delay:.9s; }
.side-menu-stars span:nth-child(5){ top:38%; left:12%; animation-delay:1.2s; }
.side-menu-stars span:nth-child(6){ top:46%; left:60%; animation-delay:1.5s; }
.side-menu-stars span:nth-child(7){ top:54%; left:30%; animation-delay:1.8s; }
.side-menu-stars span:nth-child(8){ top:62%; left:78%; animation-delay:2.1s; }
.side-menu-stars span:nth-child(9){ top:70%; left:18%; animation-delay:2.4s; }
.side-menu-stars span:nth-child(10){ top:78%; left:55%; animation-delay:2.7s; }
.side-menu-stars span:nth-child(11){ top:85%; left:88%; animation-delay:.15s; }
.side-menu-stars span:nth-child(12){ top:12%; left:92%; animation-delay:1s; }
.side-menu-stars span:nth-child(13){ top:58%; left:8%; animation-delay:2s; }
.side-menu-stars span:nth-child(14){ top:90%; left:35%; animation-delay:.5s; }
.side-menu-stars span:nth-child(15){ top:40%; left:38%; animation-delay:2.9s; }

.side-menu-planet{
  position:absolute; top:-40px; left:50%; transform:translateX(-50%);
  width:150px; height:150px; border-radius:50%;
  background:radial-gradient(circle at 35% 30%, #c9b6ff, #6A2DFF 45%, #23103f 88%);
  box-shadow:0 0 70px 14px rgba(106,45,255,0.4), inset -14px -14px 30px rgba(0,0,0,0.5);
  opacity:0.85;
}
.side-menu-planet::before{
  content:''; position:absolute; inset:0; border-radius:50%;
  background:conic-gradient(from 0deg, rgba(255,255,255,0.10), transparent 20%, rgba(255,255,255,0.06) 40%, transparent 60%, rgba(255,255,255,0.10) 80%, transparent 100%);
  animation:planet-spin 24s linear infinite;
  mix-blend-mode:overlay;
}
@media (prefers-reduced-motion: reduce){ .side-menu-planet::before{ animation:none; } .side-menu-stars span{ animation:none; opacity:0.5; } }

.side-menu-close{
  position:absolute; top:16px; inset-inline-end:16px; z-index:2;
  width:34px; height:34px; border-radius:50%; border:1px solid var(--glass-border);
  background:rgba(255,255,255,0.05); color:#fff; font-size:20px; line-height:1;
  cursor:pointer; transition:border-color .25s ease, transform .25s ease;
}
.side-menu-close:hover{ border-color:rgba(160,120,255,0.6); transform:rotate(90deg); }

.side-menu-inner{
  position:relative; z-index:1; height:100%; overflow-y:auto;
  padding:120px 30px 40px;
  display:flex; flex-direction:column; gap:44px;
}
.side-menu-links{ display:flex; flex-direction:column; gap:6px; }
.side-link{
  position:relative; padding:12px 4px; font-family:'Bebas Neue', sans-serif;
  font-size:22px; letter-spacing:0.03em; text-transform:uppercase; color:#fff;
  border-bottom:1px solid rgba(255,255,255,0.08);
  transition:color .25s ease, padding-inline-start .25s ease;
}
html[dir="rtl"] .side-link{ font-family:'Cairo', sans-serif; font-weight:700; letter-spacing:0; }
.side-link:hover, .side-link:active{ color:var(--star-glow); padding-inline-start:12px; }

.side-menu-contact{ display:flex; flex-direction:column; gap:10px; position:relative; padding-top:22px; }
.side-menu-contact::before{
  content:''; position:absolute; top:0; left:0; right:0; height:1px;
  background:linear-gradient(90deg, transparent, var(--star-glow), transparent);
  opacity:0.45;
}
.side-menu-contact-title{
  font-size:11px; letter-spacing:0.24em; text-transform:uppercase; color:var(--fg-dimmer);
  margin-bottom:8px;
}
.side-contact-row{
  display:flex; align-items:center; gap:13px;
  padding:11px 13px; border-radius:13px; border:1px solid rgba(255,255,255,0.08);
  background:linear-gradient(135deg, rgba(255,255,255,0.045), rgba(106,45,255,0.04));
  transition:border-color .3s ease, background .3s ease, transform .3s ease, box-shadow .3s ease;
}
a.side-contact-row:hover{
  border-color:rgba(200,175,255,0.5);
  background:linear-gradient(135deg, rgba(200,175,255,0.12), rgba(106,45,255,0.08));
  transform:translateY(-2px);
  box-shadow:0 10px 26px -10px rgba(106,45,255,0.55);
}
.side-contact-icon{
  flex:0 0 auto; width:34px; height:34px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1);
  color:var(--star-glow);
  transition:background .3s ease, border-color .3s ease;
}
.side-contact-icon svg{ width:16px; height:16px; }
a.side-contact-row:hover .side-contact-icon{ background:rgba(200,175,255,0.16); border-color:rgba(200,175,255,0.45); }
.side-contact-text{ display:flex; flex-direction:column; gap:2px; text-align:start; min-width:0; }
.side-contact-label{ font-size:10px; letter-spacing:0.14em; text-transform:uppercase; color:var(--fg-dimmer); }
.side-contact-value{ font-size:14px; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.side-contact-static .side-contact-value{ color:var(--fg-dim); }
.side-contact-disabled{ opacity:0.5; }

/* ---------- hero ---------- */
.hero{
  min-height:100svh; display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center;
  position:relative; padding-top:90px; overflow:hidden;
  border-bottom:none;
}
.hero-bg{
  position:absolute; inset:0; z-index:0; pointer-events:none;
}
.hero > .wrap{ position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; text-shadow:0 2px 24px rgba(5,5,10,0.7); }
.hero-eyebrow{
  font-size:13px; letter-spacing:0.35em; text-transform:uppercase; color:var(--fg-dim);
  margin-bottom:26px;
}
html[dir="rtl"] .hero-eyebrow{ letter-spacing:0.05em; }
.hero h1{
  font-size:clamp(48px, 9vw, 128px);
  line-height:0.98;
  text-transform:uppercase;
  overflow:hidden;
}
.hero h1 .line{ display:block; overflow:hidden; }
.hero h1 .line span{
  display:block;
  animation:line-up .9s cubic-bezier(.16,.84,.44,1) both;
}
.hero h1 .line:nth-child(1) span{ animation-delay:.05s; }
.hero h1 .line:nth-child(2) span{ animation-delay:.18s; }
.hero h1 .line:nth-child(3) span{ animation-delay:.31s; }
@keyframes line-up{ from{ transform:translateY(105%); } to{ transform:translateY(0); } }
.hero-eyebrow, .hero-sub, .hero-actions{
  animation:fade-in-up .8s ease both;
}
.hero-eyebrow{ animation-delay:0s; }
.hero-sub{ animation-delay:.42s; }
.hero-actions{ animation-delay:.56s; }
@keyframes fade-in-up{ from{ opacity:0; transform:translateY(14px);} to{ opacity:1; transform:translateY(0);} }
@media (prefers-reduced-motion: reduce){
  .hero h1 .line span, .hero-eyebrow, .hero-sub, .hero-actions{ animation:none !important; }
}
.hero h1 .accent{ -webkit-text-stroke:1.5px #fff; color:transparent; }
.hero-sub{
  font-size:clamp(18px, 2vw, 24px);
  font-style:italic;
  color:var(--fg-dim);
  max-width:560px;
  margin:28px auto 0;
  font-weight:400;
  text-align:center;
}
html[dir="rtl"] .hero-sub{ font-style:normal; font-family:'Tajawal',sans-serif; }
.hero-actions{ display:flex; justify-content:center; gap:16px; margin-top:46px; flex-wrap:wrap; }
@property --angle{ syntax:'<angle>'; inherits:false; initial-value:0deg; }
.btn{
  position:relative;
  padding:16px 32px; font-size:13px; letter-spacing:0.15em; text-transform:uppercase;
  border-radius:100px; cursor:pointer; transition:transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .35s ease;
  display:inline-block; will-change:transform;
}
html[dir="rtl"] .btn{ letter-spacing:0.02em; }
.btn::before{
  content:''; position:absolute; inset:-2px; border-radius:inherit; padding:2px;
  background:conic-gradient(from var(--angle,0deg), transparent 0%, rgba(180,140,255,0.9) 18%, transparent 36%);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
  opacity:0; transition:opacity .35s ease;
  animation:btn-spin 2.6s linear infinite;
  pointer-events:none;
}
@keyframes btn-spin{ to{ --angle:360deg; } }
.btn:hover::before{ opacity:1; }
.btn:hover{ box-shadow:0 0 30px 2px rgba(106,45,255,0.5); transform:translateY(-3px); }
.btn:active{ transform:translateY(-1px); }
@media (prefers-reduced-motion: reduce){ .btn::before{ animation:none !important; } }
.btn-solid{ background:#fff; color:#000; border:1px solid #fff; }
.btn-solid:hover{ background:#fff; color:#000; box-shadow:0 0 34px 6px rgba(255,255,255,0.5); }
.btn-solid:hover::before{ opacity:0; }
.btn-outline{ background:transparent; color:#fff; border:1px solid var(--line); }
.btn-outline:hover{ border-color:rgba(160,120,255,0.6); }
.btn-whatsapp{ border-color:#fff; }
.btn-whatsapp:hover{ border-color:#fff; }

.yt-follow a, .foot-links a{ position:relative; }
.yt-follow a::after, .foot-links a::after{
  content:''; position:absolute; left:0; right:0; bottom:-3px; height:1px; background:currentColor;
  transform:scaleX(0); transform-origin:right; transition:transform .3s ease;
}
html[dir="rtl"] .yt-follow a::after, html[dir="rtl"] .foot-links a::after{ transform-origin:left; }
.yt-follow a:hover::after, .foot-links a:hover::after{ transform:scaleX(1); }

.hero-index{
  position:absolute; bottom:40px; right:32px; font-size:12px; color:var(--fg-dimmer);
  letter-spacing:0.2em; writing-mode:vertical-rl;
}
html[dir="rtl"] .hero-index{ right:auto; left:32px; }

/* ---------- marquee (signature element) ---------- */
.marquee-band{
  border-bottom:1px solid var(--line);
  padding:22px 0;
  overflow:hidden;
  white-space:nowrap;
  background:var(--bg-alt);
}
.marquee-track{
  display:inline-flex;
  animation:scroll-left 28s linear infinite;
}
html[dir="rtl"] .marquee-track{ animation:scroll-right 28s linear infinite; }
.marquee-track span{
  font-family:'Bebas Neue', sans-serif;
  font-size:clamp(22px, 3.6vw, 40px);
  letter-spacing:0.02em;
  text-transform:uppercase;
  padding:0 28px;
  color:var(--fg-dim);
}
html[dir="rtl"] .marquee-track span{ font-family:'Cairo', sans-serif; font-weight:900; }
.marquee-track span:nth-child(odd){ color:#fff; }
@keyframes scroll-left{ from{transform:translateX(0);} to{transform:translateX(-50%);} }
@keyframes scroll-right{ from{transform:translateX(0);} to{transform:translateX(50%);} }

/* ---------- section generic ---------- */
section{ padding:120px 0; border-bottom:1px solid var(--line); position:relative; }
section:not(.hero){ margin-top:50px; }
footer.wrap{ margin-top:50px; }
.eyebrow{
  font-size:13px; letter-spacing:0.3em; text-transform:uppercase; color:var(--fg-dim);
  margin-bottom:18px;
}
html[dir="rtl"] .eyebrow{ letter-spacing:0.05em; }
h2{
  font-family:'Bebas Neue', sans-serif;
  letter-spacing:0.01em;
  font-size:clamp(34px, 5vw, 68px);
  text-transform:uppercase;
  line-height:1.04;
  margin:0 auto 28px;
  max-width:14ch;
  text-align:center;
}
html[dir="rtl"] h2{ font-family:'Cairo', sans-serif; font-weight:900; letter-spacing:0; max-width:none; }
.lead{
  font-size:clamp(18px,2vw,22px);
  color:var(--fg-dim);
  max-width:600px;
  line-height:1.65;
  text-align:center;
  margin:0 auto;
}
.reveal{
  opacity:0; transform:translateY(28px) scale(0.98); filter:blur(6px);
  transition:opacity .9s ease, transform .9s ease, filter .9s ease;
}
.reveal.in{ opacity:1; transform:translateY(0) scale(1); filter:blur(0); }
@media (prefers-reduced-motion: reduce){
  .reveal{ filter:none; transform:none; transition:opacity .3s ease; }
}
@keyframes heading-glow{
  0%{ text-shadow:0 0 0 rgba(160,110,255,0); }
  45%{ text-shadow:0 0 24px rgba(160,110,255,0.5); }
  100%{ text-shadow:0 0 0 rgba(160,110,255,0); }
}
.reveal.in h2{ animation:heading-glow 1.5s ease-out; }
@media (prefers-reduced-motion: reduce){ .reveal.in h2{ animation:none; } }

/* staggered card entrance within revealed sections */
.reveal .why-card, .reveal .client-slot, .reveal .port-card{
  opacity:0; transform:translateY(20px);
  transition:opacity .6s ease, transform .6s ease, border-color .25s ease, box-shadow .25s ease;
}
.reveal.in .why-card, .reveal.in .client-slot, .reveal.in .port-card{
  opacity:1; transform:translateY(0);
}
.reveal.in .why-card:nth-child(1), .reveal.in .client-slot:nth-child(1), .reveal.in .port-card:nth-child(1){ transition-delay:.05s; }
.reveal.in .why-card:nth-child(2), .reveal.in .client-slot:nth-child(2), .reveal.in .port-card:nth-child(2){ transition-delay:.12s; }
.reveal.in .why-card:nth-child(3), .reveal.in .client-slot:nth-child(3), .reveal.in .port-card:nth-child(3){ transition-delay:.19s; }
.reveal.in .client-slot:nth-child(4), .reveal.in .port-card:nth-child(4){ transition-delay:.26s; }
.reveal.in .client-slot:nth-child(5), .reveal.in .port-card:nth-child(5){ transition-delay:.33s; }
.reveal.in .client-slot:nth-child(6), .reveal.in .port-card:nth-child(6){ transition-delay:.4s; }
.reveal.in .client-slot:nth-child(7), .reveal.in .port-card:nth-child(7){ transition-delay:.47s; }
.reveal.in .client-slot:nth-child(8), .reveal.in .port-card:nth-child(8){ transition-delay:.54s; }
.reveal.in .client-slot:nth-child(9){ transition-delay:.61s; }
.reveal.in .client-slot:nth-child(10){ transition-delay:.68s; }
.reveal.in .client-slot:nth-child(11){ transition-delay:.75s; }
.reveal.in .client-slot:nth-child(12){ transition-delay:.82s; }
.reveal.in .port-card:nth-child(n+9){ transition-delay:.6s; }

/* ---------- roadmap (client journey) — centered alternating timeline ---------- */
.roadmap-list{ position:relative; margin-top:80px; max-width:920px; margin-left:auto; margin-right:auto; }
.roadmap-list::before{
  content:''; position:absolute; top:22px; bottom:22px; left:50%;
  transform:translateX(-50%);
  width:2px; background:var(--line);
}
.roadmap-fill{
  position:absolute; top:22px; left:50%; transform:translateX(-50%); width:2px;
  background:linear-gradient(180deg, var(--star-glow), #ffffff);
  box-shadow:0 0 10px rgba(200,175,255,0.7);
  height:0%; transition:height .1s linear;
}
.roadmap-item{
  position:relative; display:grid; grid-template-columns:1fr 64px 1fr; align-items:start;
  column-gap:36px; padding:44px 0;
  opacity:0; transition:opacity .7s ease, transform .7s ease;
}
.roadmap-item.side-right{ transform:translateX(-24px); }
.roadmap-item.side-left{ transform:translateX(24px); }
.roadmap-item.in{ opacity:1; transform:translateX(0); }
.roadmap-marker{
  grid-column:2; justify-self:center;
  width:44px; height:44px; border-radius:50%;
  border:1px solid var(--line); background:var(--bg);
  display:flex; align-items:center; justify-content:center;
  font-size:15px; color:var(--fg-dim); position:relative; z-index:2;
  transition:border-color .3s ease, background .3s ease, color .3s ease;
}
.roadmap-item.in .roadmap-marker{ border-color:var(--star-glow); background:var(--star-glow); color:#1a1030; box-shadow:0 0 18px rgba(200,175,255,0.75); }
.roadmap-item.side-right .roadmap-content{ grid-column:3; text-align:left; }
.roadmap-item.side-left .roadmap-content{ grid-column:1; text-align:right; }
.roadmap-content h3{
  font-size:clamp(20px,2.2vw,26px); text-transform:uppercase; letter-spacing:0.02em; margin-bottom:10px;
}
html[dir="rtl"] .roadmap-content h3{ font-family:'Cairo', sans-serif; font-weight:900; letter-spacing:0; }
.roadmap-content p{ color:var(--fg-dim); font-size:16px; line-height:1.6; }
@media(max-width:760px){
  .roadmap-item{ grid-template-columns:36px 1fr; column-gap:18px; padding:26px 0; transform:none !important; }
  .roadmap-marker{ grid-column:1; width:36px; height:36px; font-size:13px; }
  .roadmap-item.side-right .roadmap-content, .roadmap-item.side-left .roadmap-content{ grid-column:2; text-align:start; }
  .roadmap-list::before, .roadmap-fill{ left:18px; transform:none; }
}

/* ---------- about ---------- */
.about-content{ max-width:720px; margin:50px auto 0; text-align:center; }
.about-line{
  font-size:clamp(22px,2.6vw,30px);
  line-height:1.45;
  font-weight:500;
}
html[dir="rtl"] .about-line{ font-weight:400; }
.about-tags{ display:flex; justify-content:center; gap:12px; flex-wrap:wrap; margin-top:30px; margin-bottom:100px; }
.tag{
  border:1px solid var(--line); padding:8px 16px; border-radius:100px;
  font-size:12px; letter-spacing:0.1em; text-transform:uppercase; color:var(--fg-dim);
  font-family:'Cormorant Garamond', serif;
}
html[dir="rtl"] .tag{ font-family:'Tajawal', sans-serif; letter-spacing:0; }

/* ---------- services: auto-cycling orbit scene ---------- */
.svc-hint{
  display:flex; align-items:center; justify-content:center; gap:10px;
  margin-top:36px; margin-bottom:36px;
  font-size:13px; letter-spacing:0.1em; text-transform:uppercase; color:var(--fg-dimmer);
}
html[dir="rtl"] .svc-hint{ letter-spacing:0.02em; }
@media(max-width:760px){
  .svc-hint{ font-size:11px; letter-spacing:0.06em; white-space:nowrap; gap:8px; }
}
@media(max-width:760px){
  .svc-hint{ font-size:10px; letter-spacing:0.02em; gap:6px; }
  .svc-hint span{ white-space:nowrap; }
}
.svc-hint svg{ width:16px; height:16px; animation:hint-bob 1.6s ease-in-out infinite; }
@keyframes hint-bob{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(4px);} }

.svc-pin-outer{ position:relative; margin-top:-250px; }
.svc-pin-inner{
  height:86vh; min-height:600px; max-height:820px;
  display:flex; align-items:center; overflow:hidden;
}

.orbit-scene{ position:relative; width:100%; height:100%; border-radius:16px; overflow:hidden; }

@media(max-width:760px){
  #services .svc-pin-outer{
    position:relative;
    width:100vw; max-width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
    margin-top:-250px;
    padding:0;
  }
  #services .orbit-scene{ border-radius:0; }
}
#orbitCanvas{ position:absolute; inset:0; width:100%; height:100%; display:block; cursor:pointer; }

.orbit-tooltip{
  position:absolute; top:0; left:0; transform:translate(-50%,-130%);
  background:rgba(10,8,18,0.85); border:1px solid var(--glass-border);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  padding:7px 14px; border-radius:100px; font-size:12px; letter-spacing:0.05em;
  color:#fff; white-space:nowrap; pointer-events:none;
  opacity:0; transition:opacity .2s ease; z-index:5;
}
.orbit-tooltip.show{ opacity:1; }

.orbit-info{
  position:absolute; top:62%; left:50%; transform:translate(-50%,-50%);
  width:100%; max-width:460px; z-index:4; pointer-events:none;
  text-align:center; padding:0 20px;
  opacity:0; transition:opacity .5s ease;
}
.orbit-info.in{ opacity:1; }
.orbit-info-num{ font-size:14px; color:var(--fg-dimmer); display:block; margin-bottom:12px; }
.orbit-info-name{
  font-family:'Bebas Neue', sans-serif; font-size:clamp(28px,3.4vw,40px);
  letter-spacing:0.02em; text-transform:uppercase; margin-bottom:12px;
  text-shadow:0 0 24px rgba(200,175,255,0.55);
}
html[dir="rtl"] .orbit-info-name{ font-family:'Cairo', sans-serif; font-weight:700; }
.orbit-info-desc{ color:var(--fg-dim); font-size:16px; line-height:1.55; }

.orbit-dots{
  position:absolute; bottom:18px; left:50%; transform:translateX(-50%);
  display:flex; gap:10px; z-index:5;
}
.orbit-dot{
  width:9px; height:9px; border-radius:50%; border:1px solid var(--glass-border);
  background:transparent; cursor:pointer; padding:0; transition:background .3s ease, border-color .3s ease, transform .3s ease;
}
.orbit-dot.active{ background:#fff; border-color:#fff; transform:scale(1.25); box-shadow:0 0 10px rgba(160,120,255,0.7); }

.svc-progress{ position:relative; height:2px; background:var(--line); max-width:240px; margin:20px auto 100px; overflow:hidden; }
.svc-progress-fill{ position:absolute; top:0; inset-inline-start:0; height:100%; background:linear-gradient(90deg, var(--violet), var(--star-glow)); box-shadow:0 0 8px rgba(106,45,255,0.6); width:0%; }

/* mobile / reduced-motion fallback: skip scroll-jacked segments, scene still fully tap/click interactive */


/* ---------- why ---------- */
.why-grid{ display:grid; grid-template-columns:1fr; gap:22px; margin-top:60px; margin-bottom:60px; }
@media(min-width:760px){ .why-grid{ grid-template-columns:repeat(3,1fr); } }
.why-card{
  background:var(--glass-bg); border:1px solid var(--glass-border);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  padding:44px 34px;
  display:flex; flex-direction:column; align-items:center; text-align:center;
  transition:border-color .35s ease, transform .35s ease, box-shadow .35s ease;
  animation:card-float 7s ease-in-out infinite;
}
.why-card:nth-child(2){ animation-delay:-2.3s; }
.why-card:nth-child(3){ animation-delay:-4.6s; }
.why-card:hover{
  animation-play-state:paused;
  border-color:rgba(160,120,255,0.55); transform:translateY(-8px);
  box-shadow:0 24px 60px -14px var(--glow);
}
.why-card .disp{ font-size:20px; margin-bottom:18px; text-transform:uppercase; }
.why-card p{ color:var(--fg-dim); font-size:17px; line-height:1.55; max-width:34ch; }

/* ---------- (legacy process styles removed — see roadmap styles above) ---------- */

/* ---------- portfolio ---------- */
.filters{ display:flex; justify-content:center; gap:10px; flex-wrap:wrap; margin-top:36px; }
@media(max-width:760px){
  .filters{
    flex-wrap:nowrap; justify-content:flex-start; overflow-x:auto;
    -webkit-overflow-scrolling:touch; scroll-snap-type:x proximity;
    padding:2px 4px 10px; margin-inline:-22px; padding-inline:22px;
    -ms-overflow-style:none; scrollbar-width:none;
  }
  .filters::-webkit-scrollbar{ display:none; }
  .filter-btn{ flex:0 0 auto; scroll-snap-align:start; white-space:nowrap; }
}
.filter-btn{
  border:1px solid var(--line); background:none; color:var(--fg-dim);
  padding:10px 20px; border-radius:100px; font-size:13px; letter-spacing:0.08em;
  text-transform:uppercase; cursor:pointer; font-family:'Cormorant Garamond',serif;
  transition:all .2s ease;
}
html[dir="rtl"] .filter-btn{ font-family:'Tajawal',sans-serif; letter-spacing:0; }
.filter-btn.active, .filter-btn:hover{ border-color:rgba(160,120,255,0.7); color:#fff; box-shadow:0 0 14px rgba(106,45,255,0.35); }

.port-grid{ display:grid; grid-template-columns:1fr; gap:24px; margin-top:44px; }
@media(min-width:640px){ .port-grid{ grid-template-columns:1fr 1fr; } }
@media(min-width:1000px){ .port-grid{ grid-template-columns:1fr 1fr 1fr 1fr; } }
.port-card{
  border:1px solid var(--glass-border); overflow:hidden; cursor:pointer;
  background:var(--glass-bg); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-radius:6px;
  transition:border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.port-card:hover{ border-color:rgba(160,120,255,0.55); transform:translateY(-6px); box-shadow:0 24px 60px -14px var(--glow); }
.port-thumb{ position:relative; aspect-ratio:16/9; background:#000; overflow:hidden; }
.port-thumb img{ width:100%; height:100%; object-fit:cover; opacity:.75; transition:opacity .25s ease, transform .4s ease; }
.port-card:hover .port-thumb img{ opacity:1; transform:scale(1.04); }
.port-thumb iframe{ width:100%; height:100%; border:0; position:absolute; inset:0; }
.play-btn{
  position:absolute; inset:0; margin:auto; width:56px; height:56px;
  border:1px solid #fff; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:rgba(0,0,0,.4);
}
.play-btn svg{ width:18px; height:18px; fill:#fff; margin-inline-start:3px; }
.port-thumb-placeholder{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px;
  background:linear-gradient(160deg, rgba(42,14,71,0.55), rgba(10,8,18,0.4));
}
.ph-icon{ width:34px; height:34px; color:rgba(200,175,255,0.75); transition:color .3s ease, transform .3s ease; }
.port-card-placeholder:hover .ph-icon{ color:#fff; transform:scale(1.08); }
.ph-add{
  font-size:11px; letter-spacing:0.1em; text-transform:uppercase; color:var(--fg-dimmer);
  transition:color .3s ease;
}
html[dir="rtl"] .ph-add{ letter-spacing:0.02em; }
.port-card-placeholder:hover .ph-add{ color:var(--fg-dim); }
.port-cap{ padding:16px 18px; }
.port-loadmore-wrap{ display:flex; justify-content:center; margin-top:40px; }
@keyframes port-card-reveal{
  from{ opacity:0; transform:translateY(26px); }
  to{ opacity:1; transform:translateY(0); }
}
.port-reveal-play{ animation:port-card-reveal .6s ease both; }
@media (prefers-reduced-motion: reduce){ .port-reveal-play{ animation:none; } }
.port-cap .cap-label{ font-size:11px; letter-spacing:0.15em; text-transform:uppercase; color:var(--fg-dimmer); }
html[dir="rtl"] .port-cap .cap-label{ letter-spacing:0.02em; }
.port-cap .cap-title{ font-family:'Bebas Neue',sans-serif; font-size:19px; margin-top:4px; letter-spacing:0.02em; }
html[dir="rtl"] .port-cap .cap-title{ font-family:'Cairo',sans-serif; font-weight:700; }
.yt-follow{ margin-top:44px; margin-bottom:50px; display:flex; justify-content:center; align-items:center; gap:14px; }
.yt-follow a{
  position:relative; display:inline-flex; align-items:center; gap:10px;
  padding:16px 34px; border-radius:100px; border:none;
  font-size:14px; font-weight:600; letter-spacing:0.08em; text-transform:uppercase;
  color:#1a1030;
  background:linear-gradient(120deg, var(--star-glow), #ffffff 50%, var(--star-glow) 100%);
  background-size:200% 200%;
  box-shadow:0 0 30px 4px rgba(200,175,255,0.55), 0 0 50px 10px rgba(200,175,255,0.3);
  animation:yt-glow-shift 5s ease-in-out infinite;
  transition:transform .3s ease, box-shadow .3s ease;
}
.yt-follow a:hover{
  transform:translateY(-3px) scale(1.03);
  box-shadow:0 0 40px 8px rgba(200,175,255,0.7), 0 0 70px 14px rgba(200,175,255,0.4);
}
@keyframes yt-glow-shift{ 0%,100%{ background-position:0% 50%; } 50%{ background-position:100% 50%; } }
.yt-follow a::after{ content:none; }
@media (prefers-reduced-motion: reduce){ .yt-follow a{ animation:none; } }

/* ---------- testimonials (auto-playing carousel) ---------- */
.testi-viewport{
  overflow:hidden; margin-top:60px;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.testi-track{
  display:flex; gap:24px; width:max-content;
  animation:testi-scroll 46s linear infinite;
}
html[dir="rtl"] .testi-track{ animation-name:testi-scroll-rtl; }
.testi-viewport:hover .testi-track{ animation-play-state:paused; }
@keyframes testi-scroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
@keyframes testi-scroll-rtl{ from{ transform:translateX(0); } to{ transform:translateX(50%); } }
@media (prefers-reduced-motion: reduce){ .testi-track{ animation:none; } }
.testi-card{
  flex:0 0 auto; width:min(85vw,360px); min-height:280px;
  background:var(--glass-bg); border:1px solid var(--glass-border);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-radius:6px;
  padding:36px 30px; display:flex; flex-direction:column;
  transition:border-color .3s ease, box-shadow .3s ease;
}
.testi-card:hover{ border-color:rgba(160,120,255,0.55); box-shadow:0 24px 60px -14px var(--glow); }
.testi-top{ display:flex; align-items:center; gap:14px; margin-bottom:22px; }
.testi-avatar{
  width:52px; height:52px; border-radius:50%; flex:0 0 auto;
  border:1px solid var(--line); background:var(--bg);
  display:flex; align-items:center; justify-content:center; overflow:hidden;
  color:var(--fg-dimmer);
}
.testi-avatar svg{ width:24px; height:24px; }
.testi-who{ display:flex; flex-direction:column; gap:3px; text-align:start; }
.testi-name{ font-family:'Bebas Neue', sans-serif; font-size:16px; letter-spacing:0.03em; color:var(--fg); }
html[dir="rtl"] .testi-name{ font-family:'Cairo', sans-serif; font-weight:700; letter-spacing:0; }
.testi-role{ font-size:12px; letter-spacing:0.05em; color:var(--fg-dimmer); text-transform:uppercase; }
html[dir="rtl"] .testi-role{ letter-spacing:0; }
.testi-quote{ font-size:19px; font-style:italic; line-height:1.5; text-align:start; }
html[dir="rtl"] .testi-quote{ font-style:normal; font-family:'Tajawal',sans-serif; }
.testi-mark{ font-family:'Bebas Neue',sans-serif; font-size:52px; color:var(--fg-dimmer); line-height:0; margin-bottom:6px; display:block; text-align:start; }
.testi-hint{
  text-align:center; margin-top:22px; font-size:12px; letter-spacing:0.08em;
  text-transform:uppercase; color:var(--fg-dimmer);
}
html[dir="rtl"] .testi-hint{ letter-spacing:0.02em; }

/* ---------- clients ---------- */
.client-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin-top:60px; margin-bottom:100px; }
@media(min-width:640px){ .client-grid{ grid-template-columns:repeat(4,1fr); } }
.client-slot{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px;
}
.client-logo{
  width:100%; aspect-ratio:16/9; object-fit:contain; border-radius:12px;
  background:rgba(255,255,255,0.92);
  border:1px solid rgba(255,255,255,0.10);
  filter:grayscale(1); opacity:0.62;
  transition:filter .45s ease, opacity .45s ease, transform .45s ease, box-shadow .45s ease, border-color .45s ease;
}
.client-slot:hover .client-logo{
  filter:grayscale(0); opacity:1; transform:translateY(-4px) scale(1.03);
  border-color:rgba(200,175,255,0.45);
  box-shadow:0 16px 40px -14px rgba(106,45,255,0.6);
}
.client-slot .logo-label{
  font-size:11px; letter-spacing:0.1em; text-transform:uppercase; color:var(--fg-dimmer);
  transition:color .3s ease; text-align:center;
}
html[dir="rtl"] .client-slot .logo-label{ letter-spacing:0; }
.client-slot:hover .logo-label{ color:#fff; }
@media (prefers-reduced-motion: reduce){
  .client-slot:hover .client-logo{ transform:none; }
}

/* ---------- founders ---------- */
.founders-grid{ display:flex; flex-wrap:wrap; justify-content:center; gap:70px; margin-top:60px; margin-bottom:100px; }
.founder-card{
  display:flex; flex-direction:column; align-items:center; text-align:center; width:220px;
  opacity:0; transform:translateY(20px); transition:opacity .6s ease, transform .6s ease;
}
.reveal.in .founder-card{ opacity:1; transform:translateY(0); }
.reveal.in .founder-card:nth-child(1){ transition-delay:.1s; }
.reveal.in .founder-card:nth-child(2){ transition-delay:.24s; }
.founder-avatar{
  width:120px; height:120px; border-radius:50%; border:1px solid var(--line); background:var(--card);
  display:flex; align-items:center; justify-content:center; color:var(--fg-dimmer);
  margin-bottom:22px; overflow:hidden;
  transition:border-color .4s ease, box-shadow .4s ease, transform .4s ease;
}
.founder-avatar img{ width:100%; height:100%; object-fit:cover; display:block; }
.founder-card:hover .founder-avatar{
  border-color:var(--star-glow);
  box-shadow:0 0 30px 4px rgba(200,175,255,0.35);
  transform:translateY(-4px);
}
.founder-avatar svg{ width:50px; height:50px; }
.founder-name{ font-size:19px; letter-spacing:0.02em; text-transform:uppercase; margin-bottom:6px; }
html[dir="rtl"] .founder-name{ font-family:'Cairo', sans-serif; font-weight:700; }
.founder-company{
  font-size:13px; color:var(--fg-dim); margin-bottom:5px; font-family:'Cormorant Garamond', serif;
}
html[dir="rtl"] .founder-company{ font-family:'Tajawal', sans-serif; }
.founder-role{ font-size:12px; letter-spacing:0.1em; text-transform:uppercase; color:var(--fg-dimmer); }
html[dir="rtl"] .founder-role{ letter-spacing:0; }

/* ---------- cta ---------- */
#contact.cta-section{ text-align:center; padding-top:220px; padding-bottom:220px; border-bottom:none; }
.cta-section h2{ margin-bottom:34px; color:#fff; }
.cta-section .lead{ margin:0 auto 50px; color:#fff; }
.cta-actions{ display:flex; justify-content:center; flex-wrap:wrap; gap:16px; }

/* ---------- planet destination ---------- */
.planet-zone{
  position:relative; height:280px; margin:40px auto 0;
  display:flex; align-items:center; justify-content:center;
  overflow:visible;
}
.planet-glow{
  position:absolute; width:260px; height:260px; border-radius:50%;
  background:radial-gradient(circle, rgba(140,90,255,0.45), transparent 70%);
  filter:blur(30px); opacity:0.55;
  transition:opacity .8s ease, transform .8s ease;
}
.planet-sphere{
  position:relative; width:140px; height:140px; border-radius:50%;
  background:radial-gradient(circle at 35% 30%, #c9b6ff, #6A2DFF 45%, #23103f 88%);
  box-shadow:0 0 60px 8px rgba(106,45,255,0.45), inset -16px -16px 34px rgba(0,0,0,0.55);
  transition:box-shadow .8s ease;
}
.planet-sphere::before{
  content:''; position:absolute; inset:0; border-radius:50%; overflow:hidden;
  background:conic-gradient(from 0deg, rgba(255,255,255,0.10), transparent 18%, rgba(255,255,255,0.06) 38%, transparent 58%, rgba(255,255,255,0.10) 78%, transparent 100%);
  animation:planet-spin 24s linear infinite;
  mix-blend-mode:overlay;
}
@keyframes planet-spin{ from{ transform:rotate(0deg); } to{ transform:rotate(360deg); } }
.planet-orbit{
  position:absolute; top:50%; left:50%; border-radius:50%;
  border:1px solid rgba(160,120,255,0.22);
}
.orbit1{ width:200px; height:66px; animation:orbit-spin-a 30s linear infinite; }
.orbit2{ width:244px; height:92px; border-color:rgba(160,120,255,0.13); animation:orbit-spin-b 44s linear infinite; }
@keyframes orbit-spin-a{ from{ transform:translate(-50%,-50%) rotate(0deg); } to{ transform:translate(-50%,-50%) rotate(360deg); } }
@keyframes orbit-spin-b{ from{ transform:translate(-50%,-50%) rotate(360deg); } to{ transform:translate(-50%,-50%) rotate(0deg); } }
.planet-particles{ position:absolute; inset:0; }
.planet-particles span{
  position:absolute; width:3px; height:3px; border-radius:50%;
  background:#e8ddff; opacity:0.5; box-shadow:0 0 6px rgba(200,170,255,0.8);
  animation:particle-float 6s ease-in-out infinite;
}
.planet-particles span:nth-child(1){ top:30%; left:28%; animation-delay:0s; }
.planet-particles span:nth-child(2){ top:64%; left:70%; animation-delay:-1.2s; }
.planet-particles span:nth-child(3){ top:20%; left:68%; animation-delay:-2.4s; }
.planet-particles span:nth-child(4){ top:74%; left:34%; animation-delay:-3.6s; }
.planet-particles span:nth-child(5){ top:46%; left:16%; animation-delay:-4.4s; }
.planet-particles span:nth-child(6){ top:40%; left:82%; animation-delay:-5.2s; }
@keyframes particle-float{ 0%,100%{ transform:translateY(0); opacity:.25; } 50%{ transform:translateY(-16px); opacity:.9; } }
.planet-burst{
  position:absolute; top:50%; left:50%; width:140px; height:140px; border-radius:50%;
  transform:translate(-50%,-50%) scale(0.6);
  background:radial-gradient(circle, rgba(255,255,255,0.95), rgba(160,110,255,0.55) 40%, transparent 72%);
  opacity:0; pointer-events:none;
}
.planet-zone.arrived .planet-burst{ animation:burst-pulse 1.2s ease-out; }
.planet-zone.arrived .planet-glow{ opacity:1; transform:scale(1.3); }
.planet-zone.arrived .planet-sphere{ box-shadow:0 0 90px 26px rgba(140,90,255,0.85), inset -16px -16px 34px rgba(0,0,0,0.4); }
@keyframes burst-pulse{
  0%{ opacity:0; transform:translate(-50%,-50%) scale(0.6); }
  28%{ opacity:0.9; }
  100%{ opacity:0; transform:translate(-50%,-50%) scale(2.6); }
}
@media (prefers-reduced-motion: reduce){
  .planet-sphere::before, .orbit1, .orbit2, .planet-particles span{ animation:none !important; }
}
@media(max-width:760px){
  .planet-zone{ height:200px; }
  .planet-sphere{ width:100px; height:100px; }
  .planet-glow{ width:180px; height:180px; }
  .orbit1{ width:150px; height:50px; }
  .orbit2{ width:180px; height:68px; }
}

/* ---------- planet as dramatic CTA background ---------- */
.cta-section{ position:relative; z-index:0; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.planet-zone-bg{
  position:absolute; inset:0; height:auto; margin:0; z-index:0;
  display:flex; align-items:center; justify-content:center; overflow:visible;
}
.planet-zone-bg .planet-sphere{ width:600px; height:600px; box-shadow:0 0 140px 26px rgba(106,45,255,0.42), inset -40px -40px 80px rgba(0,0,0,0.55); }
.planet-zone-bg .planet-glow{ width:880px; height:880px; opacity:0.4; }
.planet-zone-bg .orbit1{ width:740px; height:270px; }
.planet-zone-bg .orbit2{ width:860px; height:330px; }
.planet-zone-bg.arrived .planet-sphere{ box-shadow:0 0 190px 40px rgba(140,90,255,0.78), inset -40px -40px 80px rgba(0,0,0,0.4); }
.planet-zone-bg .planet-burst{ width:600px; height:600px; }
.cta-pulse{
  position:absolute; inset:0; margin:auto; width:900px; height:900px; max-width:none;
  border-radius:50%; z-index:-1;
  background:radial-gradient(circle, rgba(140,90,255,0.28), transparent 70%);
  animation:cta-pulse-glow 5s ease-in-out infinite;
}
@keyframes cta-pulse-glow{
  0%,100%{ opacity:0.5; transform:scale(0.94); }
  50%{ opacity:0.9; transform:scale(1.06); }
}
@media (prefers-reduced-motion: reduce){ .cta-pulse{ animation:none; opacity:0.6; } }
.cta-content{
  position:relative; z-index:1; text-shadow:0 2px 22px rgba(5,5,10,0.75);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  max-width:380px; margin:0 auto; min-height:420px;
}
.cta-break{ display:none; }
@media(max-width:760px){
  .planet-zone-bg .planet-sphere{ width:280px; height:280px; }
  .planet-zone-bg .planet-glow{ width:420px; height:420px; }
  .planet-zone-bg .orbit1{ width:340px; height:130px; }
  .planet-zone-bg .orbit2{ width:400px; height:155px; }
  .cta-pulse{ width:440px; height:440px; }
  .cta-content{ max-width:300px; min-height:280px; }
  .cta-content h2{ margin-bottom:16px; }
  .cta-content .lead{ margin-bottom:24px; }
  .cta-actions{ gap:10px; }
  #contact.cta-section{ padding-top:150px; padding-bottom:150px; }
  .cta-break{ display:block; }
  .cta-content h2{ margin-bottom:16px; }
  .cta-content .lead{ margin-bottom:26px; }
  .cta-content .cta-actions{ gap:12px; }
  .cta-content{ min-height:320px; }
  footer.wrap{ margin-top:90px; }
  .foot-email{ display:none; }
}

/* ---------- footer ---------- */
footer{ padding:50px 0; }
.foot-grid{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:22px; }
@media(min-width:760px){ .foot-grid{ flex-direction:row; justify-content:space-between; align-items:center; text-align:start; } }
.foot-logo{ font-family:'Bebas Neue',sans-serif; font-size:22px; letter-spacing:0.1em; }
html[dir="rtl"] .foot-logo{ font-family:'Cairo',sans-serif; font-weight:900; letter-spacing:0; }
.foot-links{ display:flex; justify-content:center; gap:22px; flex-wrap:wrap; color:var(--fg-dim); font-size:14px; }
.foot-links a:hover{ color:#fff; }
.foot-copy{ color:var(--fg-dimmer); font-size:13px; }

[data-en], [data-ar]{ }
.hide{ display:none !important; }

/* ---------- keep specific copy on one line on desktop ---------- */
@media(min-width:761px){
  #servicesLead{ white-space:nowrap; max-width:none; font-size:clamp(16px, 1.5vw, 20px); }
  #portfolioLead{ white-space:nowrap; max-width:none; font-size:clamp(16px, 1.4vw, 20px); }
  .h2-two-line span{ white-space:nowrap; }
}
.h2-two-line{ max-width:none; }

/* ---------- responsive rhythm ---------- */
@media(max-width:700px){
  section{ padding:76px 0; }
  .wrap{ padding:0 22px; }
  .wrap.guided::before{ display:none; }
  .hero{ padding-top:110px; }
  .hero-index{ display:none; }
  .topbar{ padding:18px 22px; }
  h2{ max-width:none; }
  .why-grid{ gap:28px; }
  .about-tags{ margin-bottom:60px; }
}

/* ==========================================================================
   PRODUCTION ADDITIONS
   ========================================================================== */

/* ---------- accessibility ---------- */
.skip-link{
  position:fixed; top:-60px; inset-inline-start:16px; z-index:400;
  background:#fff; color:#000; padding:10px 18px; border-radius:100px; font-size:14px;
  transition:top .2s ease;
}
.skip-link:focus{ top:12px; }
:focus-visible{ outline:2px solid var(--star-glow); outline-offset:3px; }
.btn:focus-visible, .filter-btn:focus-visible{ outline-offset:4px; }
.sr-only{
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
[hidden]{ display:none !important; }
/* ---------- top bar: logo link, desktop nav, language switch ---------- */
.logo a{ display:inline-block; }
.topbar-right{ display:flex; align-items:center; gap:22px; }
.main-nav{ display:flex; align-items:center; gap:26px; }
.main-nav a{
  position:relative; font-size:13px; letter-spacing:0.16em; text-transform:uppercase; color:#fff;
  padding:6px 0;
}
html[dir="rtl"] .main-nav a{ letter-spacing:0; font-size:15px; font-family:'Tajawal',sans-serif; }
.main-nav a::after{
  content:''; position:absolute; left:0; right:0; bottom:0; height:1px; background:currentColor;
  transform:scaleX(0); transform-origin:right; transition:transform .3s ease;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after{ transform:scaleX(1); transform-origin:left; }
.lang-switch{
  border:1px solid rgba(255,255,255,0.35); border-radius:100px; padding:7px 14px;
  font-size:13px; color:#fff; font-family:'Cairo','Tajawal',sans-serif; line-height:1;
  transition:border-color .25s ease, background .25s ease;
}
html[dir="rtl"] .lang-switch{ font-family:'Cormorant Garamond',serif; letter-spacing:0.08em; }
.lang-switch:hover{ border-color:var(--star-glow); background:rgba(200,175,255,0.1); }
@media(max-width:1060px){ .main-nav{ gap:16px; } .main-nav a{ font-size:12px; letter-spacing:0.1em; } }
@media(max-width:900px){ .main-nav{ display:none; } .menu-toggle{ display:flex; } }
.side-link[aria-current="page"]{ color:var(--star-glow); }

/* ---------- inner pages ---------- */
main{ display:block; }
.page-hero{
  padding-top:170px; padding-bottom:70px; text-align:center; border-bottom:1px solid var(--line);
}
.page-hero h1{
  font-family:'Bebas Neue',sans-serif; font-size:clamp(44px,7vw,96px); line-height:1;
  text-transform:uppercase; letter-spacing:0.01em; margin-bottom:22px;
}
html[dir="rtl"] .page-hero h1{ font-family:'Cairo',sans-serif; font-weight:900; letter-spacing:0; line-height:1.2; }
.page-hero .lead{ margin-bottom:0; }
.page-hero .eyebrow{ margin-bottom:22px; }
.breadcrumbs{ font-size:13px; color:var(--fg-dimmer); margin-bottom:26px; letter-spacing:0.08em; }
.breadcrumbs a{ color:var(--fg-dim); }
.breadcrumbs a:hover{ color:#fff; }
section.block{ padding-top:90px; padding-bottom:90px; }
section.block:not(.hero){ margin-top:0; }
.block-title{
  font-family:'Bebas Neue',sans-serif; font-size:clamp(28px,3.4vw,44px); text-transform:uppercase;
  letter-spacing:0.02em; margin-bottom:22px; text-align:start; max-width:none;
}
html[dir="rtl"] .block-title{ font-family:'Cairo',sans-serif; font-weight:900; letter-spacing:0; }
.prose{ max-width:760px; font-size:20px; line-height:1.7; color:#e9e6f2; }
.prose p + p{ margin-top:1em; }
.prose h2{
  text-align:start; max-width:none; font-size:clamp(26px,3vw,36px); margin:1.6em 0 .5em;
}
html[dir="rtl"] .prose{ font-size:18px; line-height:1.9; }
.prose-center{ margin-inline:auto; text-align:center; }
.two-col{ display:grid; gap:48px; }
@media(min-width:900px){ .two-col{ grid-template-columns:1fr 1fr; } }
.glass{
  background:var(--glass-bg); border:1px solid var(--glass-border);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-radius:10px;
}
.panel{ padding:34px 30px; }
.chips{ display:flex; flex-wrap:wrap; gap:10px; }
.chip{
  border:1px solid var(--line); border-radius:100px; padding:6px 14px; font-size:13px;
  color:var(--fg-dim); letter-spacing:0.05em;
}
a.chip:hover{ border-color:rgba(160,120,255,0.7); color:#fff; }
.meta-list{ display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:20px; margin:34px 0; }
.meta-list dt{ font-size:11px; letter-spacing:0.18em; text-transform:uppercase; color:var(--fg-dimmer); margin-bottom:6px; }
html[dir="rtl"] .meta-list dt{ letter-spacing:0; font-size:13px; }
.meta-list dd{ font-size:18px; }
.bullet-list{ list-style:none; display:grid; gap:12px; }
.bullet-list li{ position:relative; padding-inline-start:22px; color:#e9e6f2; font-size:18px; line-height:1.55; }
.bullet-list li::before{
  content:''; position:absolute; inset-inline-start:0; top:.62em; width:7px; height:7px; border-radius:50%;
  background:var(--star-glow); box-shadow:0 0 8px rgba(200,175,255,.7);
}
.steps{ list-style:none; display:grid; gap:18px; counter-reset:step; }
.steps li{ counter-increment:step; display:grid; grid-template-columns:44px 1fr; gap:18px; align-items:start; }
.steps li::before{
  content:counter(step, decimal-leading-zero); font-family:'Bebas Neue',sans-serif; font-size:16px;
  width:44px; height:44px; border-radius:50%; border:1px solid var(--star-glow); color:var(--star-glow);
  display:flex; align-items:center; justify-content:center;
}
.steps h3{ font-family:'Bebas Neue',sans-serif; font-size:22px; letter-spacing:0.03em; text-transform:uppercase; margin-bottom:4px; }
html[dir="rtl"] .steps h3{ font-family:'Cairo',sans-serif; font-weight:700; }
.steps p{ color:var(--fg-dim); font-size:17px; line-height:1.6; }

/* ---------- portfolio cards as links ---------- */
a.port-card{ display:block; color:inherit; }
.port-card .port-cap .cap-client{ font-size:13px; color:var(--fg-dim); margin-top:4px; }
.port-kind-badge{
  position:absolute; top:12px; inset-inline-start:12px; z-index:2; font-size:11px; letter-spacing:0.12em;
  text-transform:uppercase; padding:5px 10px; border-radius:100px; background:rgba(5,5,10,0.65);
  border:1px solid var(--glass-border); color:#fff;
}
html[dir="rtl"] .port-kind-badge{ letter-spacing:0; }
.port-grid.cols-3{ }
@media(min-width:1000px){ .port-grid.cols-3{ grid-template-columns:repeat(3,1fr); } }
.port-thumb .ph-icon{ margin:auto; }

/* ---------- filter form ---------- */
.filter-form{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; align-items:end; margin-top:40px; }
.filter-form label{ display:flex; flex-direction:column; gap:6px; font-size:12px; letter-spacing:0.12em; text-transform:uppercase; color:var(--fg-dimmer); }
html[dir="rtl"] .filter-form label{ letter-spacing:0; font-size:13px; }
.field, .filter-form select, .filter-form input{
  background:rgba(20,16,32,0.7); border:1px solid var(--glass-border); color:#fff; border-radius:12px;
  padding:12px 14px; font-size:16px; font-family:inherit; min-width:170px;
}
.filter-form input[type="search"]{ min-width:240px; }
.field:focus, .filter-form select:focus, .filter-form input:focus{ border-color:var(--star-glow); outline:none; box-shadow:0 0 0 3px rgba(200,175,255,0.2); }
.result-count{ text-align:center; color:var(--fg-dimmer); font-size:14px; margin-top:22px; }

/* ---------- YouTube facade ---------- */
.yt-facade{
  position:relative; display:block; width:100%; aspect-ratio:16/9; background:#000; border:0; padding:0;
  cursor:pointer; overflow:hidden; border-radius:10px;
}
.yt-facade img{ width:100%; height:100%; object-fit:cover; opacity:.8; transition:opacity .25s ease, transform .4s ease; }
.yt-facade:hover img{ opacity:1; transform:scale(1.03); }
.yt-facade iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }

/* ---------- gallery ---------- */
.gallery{ display:grid; gap:14px; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); margin-top:30px; }
.gallery figure{ margin:0; border-radius:10px; overflow:hidden; border:1px solid var(--glass-border); background:#000; }
.gallery img{ width:100%; height:100%; object-fit:cover; aspect-ratio:16/9; }
.gallery figcaption{ padding:10px 14px; font-size:14px; color:var(--fg-dim); background:var(--card); }
.hero-media{ margin-top:50px; border-radius:12px; overflow:hidden; border:1px solid var(--glass-border); }
.hero-media img{ width:100%; height:auto; }

/* ---------- metrics ---------- */
.metric-grid{ display:grid; gap:18px; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); margin-top:26px; }
.metric-card{ padding:28px 24px; display:flex; flex-direction:column; gap:8px; }
.metric-value{ font-family:'Bebas Neue',sans-serif; font-size:52px; line-height:1; color:#fff; text-shadow:0 0 24px rgba(200,175,255,.45); }
.metric-label{ font-size:16px; text-transform:uppercase; letter-spacing:0.1em; }
html[dir="rtl"] .metric-label{ letter-spacing:0; }
.metric-meta{ font-size:13px; color:var(--fg-dimmer); line-height:1.5; }
.metric-context{ font-size:15px; color:var(--fg-dim); line-height:1.55; }
.metric-note{ font-size:14px; color:var(--fg-dimmer); margin-top:16px; max-width:760px; }
.case-card{ padding:30px 28px; display:flex; flex-direction:column; gap:14px; transition:border-color .3s ease, transform .3s ease, box-shadow .3s ease; }
.case-card:hover{ border-color:rgba(160,120,255,0.55); transform:translateY(-4px); box-shadow:0 24px 60px -14px var(--glow); }
.case-card h3{ font-family:'Bebas Neue',sans-serif; font-size:26px; letter-spacing:0.02em; text-transform:uppercase; }
html[dir="rtl"] .case-card h3{ font-family:'Cairo',sans-serif; font-weight:700; }
.case-grid{ display:grid; gap:22px; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); margin-top:50px; }

/* ---------- services list under orbit (accessible + no-JS) ---------- */
.svc-list{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin:10px auto 90px; max-width:900px; }
.svc-cards{ display:grid; gap:20px; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); margin-top:60px; }
.svc-card{ padding:34px 30px; display:flex; flex-direction:column; gap:12px; transition:border-color .3s ease, transform .3s ease, box-shadow .3s ease; }
.svc-card:hover{ border-color:rgba(160,120,255,0.55); transform:translateY(-4px); box-shadow:0 24px 60px -14px var(--glow); }
.svc-card .num{ font-family:'Bebas Neue',sans-serif; color:var(--fg-dimmer); font-size:15px; }
.svc-card h2, .svc-card h3{ font-family:'Bebas Neue',sans-serif; font-size:28px; letter-spacing:0.02em; text-transform:uppercase; text-align:start; margin:0; max-width:none; }
html[dir="rtl"] .svc-card h2, html[dir="rtl"] .svc-card h3{ font-family:'Cairo',sans-serif; font-weight:700; }
.svc-card p{ color:var(--fg-dim); font-size:17px; line-height:1.55; }
.svc-dot{ width:22px; height:22px; border-radius:50%; box-shadow:0 0 18px currentColor; }

/* ---------- testimonials: pause on hover AND keyboard focus (no visible button) ---------- */
.testi-viewport:focus-within .testi-track, .testi-viewport:focus .testi-track{ animation-play-state:paused; }
.testi-viewport:focus-visible{ outline:2px solid var(--star-glow); outline-offset:6px; }

/* ---------- clients directory ---------- */
.client-dir{ display:grid; gap:22px; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); margin-top:60px; }
.client-card{ padding:26px; display:flex; flex-direction:column; gap:14px; scroll-margin-top:110px; }
.client-card .client-logo{ filter:none; opacity:1; }
.client-card h2{ font-family:'Bebas Neue',sans-serif; font-size:24px; text-align:start; margin:0; max-width:none; letter-spacing:0.02em; }
html[dir="rtl"] .client-card h2{ font-family:'Cairo',sans-serif; font-weight:700; }
.client-card p{ color:var(--fg-dim); font-size:16px; line-height:1.55; }
.client-card ul{ list-style:none; display:grid; gap:6px; font-size:15px; }
.client-card ul a{ color:var(--star-glow); }
.client-logo-ph{
  width:100%; aspect-ratio:16/9; border-radius:12px; display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,0.06); font-family:'Bebas Neue',sans-serif; font-size:26px; color:var(--fg-dim);
}

/* ---------- founders bios ---------- */
.founder-bio{ font-size:16px; color:var(--fg-dim); line-height:1.6; margin-top:12px; max-width:32ch; }

/* ---------- forms ---------- */
.form{ display:grid; gap:20px; max-width:760px; margin:50px auto 0; text-align:start; }
.form-row{ display:grid; gap:20px; }
@media(min-width:700px){ .form-row{ grid-template-columns:1fr 1fr; } }
.form label{ display:flex; flex-direction:column; gap:8px; font-size:14px; letter-spacing:0.06em; color:var(--fg-dim); }
html[dir="rtl"] .form label{ letter-spacing:0; font-size:15px; }
.form .field{ width:100%; min-width:0; }
.form textarea.field{ min-height:170px; resize:vertical; line-height:1.6; }
.form .check{ flex-direction:row; align-items:flex-start; gap:12px; line-height:1.5; }
.form .check input{ width:20px; height:20px; margin-top:2px; accent-color:var(--violet); flex:0 0 auto; }
.field-error{ color:#ffb3c7; font-size:13px; }
.field[aria-invalid="true"]{ border-color:#ff6b93; }
.hp-field{ position:absolute !important; left:-10000px !important; width:1px; height:1px; overflow:hidden; }
.alert{ max-width:760px; margin:30px auto 0; padding:18px 22px; border-radius:12px; font-size:16px; text-align:start; }
.alert-success{ background:rgba(52,211,153,0.12); border:1px solid rgba(52,211,153,0.45); }
.alert-error{ background:rgba(255,107,147,0.1); border:1px solid rgba(255,107,147,0.45); }
.alert h2{ font-size:28px; text-align:start; margin:0 0 6px; max-width:none; }
.contact-side{ display:flex; flex-wrap:wrap; justify-content:center; gap:14px; margin-top:34px; }

/* ---------- pagination / empty ---------- */
.pagination{ display:flex; justify-content:center; align-items:center; gap:16px; margin-top:44px; font-size:14px; color:var(--fg-dim); }
.empty-state{ text-align:center; color:var(--fg-dim); padding:60px 20px; font-size:19px; }

/* ---------- footer additions ---------- */
.foot-bottom{ display:flex; flex-wrap:wrap; gap:18px; justify-content:center; align-items:center; margin-top:28px; font-size:13px; color:var(--fg-dimmer); }
@media(min-width:760px){ .foot-bottom{ justify-content:space-between; } }
.foot-links a{ display:inline-flex; align-items:center; }

/* ---------- RTL refinements ---------- */
html[dir="rtl"] .prose, html[dir="rtl"] .bullet-list li{ font-family:'Tajawal',sans-serif; }
html[dir="rtl"] .roadmap-item.side-right .roadmap-content{ text-align:right; }
html[dir="rtl"] .roadmap-item.side-left .roadmap-content{ text-align:left; }
@media(max-width:760px){
  html[dir="rtl"] .roadmap-item.side-right .roadmap-content, html[dir="rtl"] .roadmap-item.side-left .roadmap-content{ text-align:start; }
  html[dir="rtl"] .roadmap-list::before, html[dir="rtl"] .roadmap-fill{ left:auto; right:18px; }
}

/* ---------- automatic section numbering (works in both languages) ---------- */
body{ counter-reset:km-section 1; }
.section-head{ counter-increment:km-section; }
.head-num:empty::before{ content:counter(km-section, decimal-leading-zero); }
html[dir="rtl"] .head-num:empty::before{ content:counter(km-section, arabic-indic); }
.orbit-info a{ pointer-events:auto; }
.orbit-info-link{ display:inline-block; margin-top:14px; font-size:13px; letter-spacing:0.14em; text-transform:uppercase; color:var(--star-glow); border-bottom:1px solid currentColor; padding-bottom:2px; }
html[dir="rtl"] .orbit-info-link{ letter-spacing:0; font-size:15px; }
.preview-banner{ position:fixed; bottom:16px; inset-inline-start:50%; transform:translateX(-50%); z-index:500; background:#ffd36b; color:#1a1030; padding:10px 20px; border-radius:100px; font-size:14px; font-family:system-ui,sans-serif; box-shadow:0 10px 30px rgba(0,0,0,.4); }
html[dir="rtl"] .preview-banner{ transform:translateX(50%); }

/* ---------- client portal tables ---------- */
.km-table{ border-collapse:collapse; }
.km-table th, .km-table td{ text-align:start; padding:12px 10px; border-bottom:1px solid var(--line); }
.km-table th{ font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:var(--fg-dimmer); font-weight:500; }
.km-badge{ display:inline-block; padding:2px 8px; border-radius:100px; font-size:12px; border:1px solid var(--line); color:var(--fg-dim); }
.km-ok{ border-color:rgba(52,211,153,.5); color:#a7f3d0; } .km-bad{ border-color:rgba(255,107,147,.5); color:#ffc2d1; }
.km-warn{ border-color:rgba(255,211,107,.5); color:#ffe2a3; } .km-note{ font-size:13px; color:var(--fg-dimmer); }
@media(max-width:700px){
  .filter-form{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
  .filter-form label{ grid-column:1 / -1; }
  .filter-form select, .filter-form input, .filter-form input[type="search"]{ min-width:0; width:100%; }
  .filter-form .btn{ padding:12px 16px; }
}
.page-hero + section.block{ padding-top:50px; }
.page-hero + section.block > .hero-media:first-child, .page-hero + section.block > .yt-holder:first-child{ margin-top:0; }


/* ==========================================================================
   2026-10-12 CHANGE REQUEST ADDITIONS
   ========================================================================== */
/* Who We Are: keep the original rhythm after removing the tag buttons */
.about-content-home{ margin-bottom:100px; }
@media(max-width:700px){ .about-content-home{ margin-bottom:60px; } }

/* Clickable client / brand logos */
.client-link{ display:block; width:100%; border-radius:12px; }
.client-link:focus-visible{ outline:2px solid var(--star-glow); outline-offset:4px; }
.client-slot .client-link:hover .client-logo, .client-slot .client-link:focus-visible .client-logo{
  filter:grayscale(0); opacity:1; transform:translateY(-4px) scale(1.03);
  border-color:rgba(200,175,255,0.45); box-shadow:0 16px 40px -14px rgba(106,45,255,0.6);
}
.client-card .client-link .client-logo{ transition:transform .35s ease; }
.client-card .client-link:hover .client-logo{ transform:translateY(-3px); }

/* Advertising results */
.result-grid{ display:grid; gap:24px; grid-template-columns:1fr; margin-top:50px; }
@media(min-width:640px){ .result-grid{ grid-template-columns:1fr 1fr; } }
@media(min-width:1000px){ .result-grid{ grid-template-columns:repeat(3,1fr); } }
.result-card{ display:flex; flex-direction:column; overflow:hidden; transition:border-color .3s ease, transform .3s ease, box-shadow .3s ease; }
.result-card:hover, .result-card:focus-visible{ border-color:rgba(160,120,255,0.55); transform:translateY(-6px); box-shadow:0 24px 60px -14px var(--glow); }
.result-visual{ aspect-ratio:16/10; background:#0a0812; overflow:hidden; border-bottom:1px solid var(--glass-border); }
.result-visual img{ width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.result-card:hover .result-visual img{ transform:scale(1.04); }
.result-visual-ph{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:rgba(200,175,255,.7);
  background:linear-gradient(160deg, rgba(42,14,71,0.55), rgba(10,8,18,0.4)); }
.result-visual-ph svg{ width:40px; height:40px; }
.result-body{ padding:22px 22px 26px; display:flex; flex-direction:column; gap:10px; flex:1; }
.result-eyebrow{ margin:0; font-size:11px; }
.result-title{ font-family:'Bebas Neue',sans-serif; font-size:26px; letter-spacing:0.02em; text-transform:uppercase; line-height:1.05; }
.result-summary{ color:var(--fg-dim); font-size:16px; line-height:1.55; }
.result-metrics{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:6px 0 4px; }
.result-metrics div{ border:1px solid var(--line); border-radius:10px; padding:10px 8px; text-align:center; }
.result-metrics dt{ font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:var(--fg-dimmer); margin-bottom:4px; }
.result-metrics dd{ font-family:'Bebas Neue',sans-serif; font-size:24px; line-height:1; color:#fff; overflow-wrap:anywhere; }
.result-body .orbit-info-link{ margin-top:auto; align-self:flex-start; }

/* Brand identity & design showcase */
/* Design showcase: the first work is 4:5, the rest are 1:1.
   Phones: lead card full width, squares two per row.
   Wider: lead card on the left spanning two rows of squares; the lead column is sized so its 4:5
   height equals exactly two squares + one gap:  W(lead) = 1.6·W(square) + 0.8·gap,
   with --k square columns:  W(square) = (100% − (0.8 + k)·gap) ÷ (1.6 + k). */
.design-grid{ --g:22px; --k:1; display:grid; gap:var(--g); grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:50px; }
.design-grid .design-card{ min-height:0; aspect-ratio:1 / 1; }
.design-grid .design-card:first-child{ aspect-ratio:4 / 5; grid-column:1 / -1; }
.design-grid.single{ grid-template-columns:minmax(0,1fr); max-width:520px; margin-inline:auto; }
@media(min-width:640px){
  .design-grid{ --g:18px; margin-inline:auto;
    grid-template-columns:calc((100% - (0.8 + var(--k)) * var(--g)) / (1.6 + var(--k)) * 1.6 + 0.8 * var(--g)) repeat(var(--k), minmax(0,1fr)); }
  .design-grid .design-card:first-child{ grid-column:1; grid-row:span 2; }
  .design-grid.sq-1{ --k:1; max-width:860px; }
  .design-grid.sq-2{ --k:2; max-width:1100px; }
  .design-grid.sq-3{ --k:3; }
}
@media(min-width:1000px){ .design-grid{ --g:22px; } }
.design-card{ position:relative; display:block; overflow:hidden; border-radius:12px; border:1px solid var(--glass-border); background:#0a0812; min-height:260px; }
.design-visual{ position:absolute; inset:0; }
.design-visual img{ width:100%; height:100%; object-fit:cover; transition:transform .6s ease, filter .6s ease; }
.design-card:hover .design-visual img, .design-card:focus-visible .design-visual img{ transform:scale(1.05); }
/* caption = dark gradient rising from the bottom: solid behind the text, fading to clear above it */
.design-caption{ position:absolute; z-index:1; left:0; right:0; bottom:0; display:flex; flex-direction:column; gap:4px;
  padding:64px 20px 18px;
  background:linear-gradient(0deg, rgba(5,5,10,.96) 0%, rgba(5,5,10,.86) 38%, rgba(5,5,10,.5) 68%, rgba(5,5,10,0) 100%); }
.design-caption .cap-label, .design-caption .cap-title{ text-shadow:0 1px 8px rgba(0,0,0,.7); }
.design-caption .cap-label{ color:rgba(255,255,255,.75); }
.design-caption p{ color:var(--fg-dim); font-size:15px; line-height:1.5; }
.design-card:focus-visible{ outline:2px solid var(--star-glow); outline-offset:4px; }

/* About page: centered layout */
.about-page .block-title{ text-align:center; }
.about-page .prose{ margin-inline:auto; text-align:center; max-width:68ch; }
.about-page .about-quote{ max-width:760px; margin-inline:auto; text-align:center; }
.about-page .about-quote .lead{ margin-top:16px; }
.about-page .steps{ max-width:720px; margin-inline:auto; }
.about-page .founders-grid{ justify-content:center; }
.about-page .founder-bio{ margin-inline:auto; }
.about-page .chips{ justify-content:center; }

/* Combined service cards */
.svc-subs{ margin-top:4px; }
.svc-card .bullet-list li{ font-size:16px; }

/* Contact numbers */
.contact-numbers{ list-style:none; display:flex; flex-wrap:wrap; justify-content:center; gap:10px 26px; margin-top:24px; font-size:17px; }
.contact-numbers .cn-label{ color:var(--fg-dimmer); font-size:13px; letter-spacing:.1em; text-transform:uppercase; margin-inline-end:6px; }
.contact-numbers a{ border-bottom:1px solid rgba(255,255,255,.25); }
.contact-numbers a:hover{ border-color:#fff; }
.cta-phones{ margin-top:26px; font-size:16px; color:#fff; }
.cta-phones a{ border-bottom:1px solid rgba(255,255,255,.3); }

/* Monthly report results */
.updated-label{ margin-top:18px; font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:var(--star-glow); text-align:center; }
.result-visual-logo{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,.92); }
.result-visual-logo img{ max-width:60%; max-height:70%; object-fit:contain; }
.result-type{ font-size:12px; color:var(--fg-dimmer); }
.result-disclaimer{ text-align:center; margin:30px auto 0; }
.chg{ display:inline-block; font-size:13px; padding:2px 8px; border-radius:100px; border:1px solid var(--line); }
.chg-up{ color:#a7f3d0; border-color:rgba(52,211,153,.45); } .chg-down{ color:#ffc2d1; border-color:rgba(255,107,147,.45); } .chg-flat{ color:var(--fg-dim); }
.history-table-wrap{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
.history-table{ width:100%; min-width:560px; font-size:16px; }
.history-table td, .history-table th{ white-space:nowrap; }

/* Overall performance strip */
.overall-results{ margin:40px 0 10px; display:flex; flex-direction:column; gap:18px; }
/* headline: total ad spend, big and green */
.overall-hero{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:10px; padding:44px 24px 36px;
  border-color:rgba(63,224,143,0.28); background:radial-gradient(ellipse at 50% 0%, rgba(63,224,143,0.12), transparent 70%), var(--glass-bg); }
.overall-hero-label{ font-size:14px; letter-spacing:0.28em; text-transform:uppercase; color:var(--fg-dim); }
.overall-hero-value{ display:flex; align-items:baseline; justify-content:center; flex-wrap:wrap; gap:4px 14px; font-family:'Bebas Neue',sans-serif; line-height:.9; color:var(--money); text-shadow:0 0 34px rgba(63,224,143,0.45); }
.overall-hero-number{ font-size:clamp(64px,11vw,136px); letter-spacing:0.01em; }
.overall-hero-currency{ font-size:clamp(28px,3.6vw,46px); opacity:.85; }
.overall-hero-period{ margin:4px 0 0; font-size:15px; color:var(--fg-dimmer); max-width:52ch; }
/* supporting numbers underneath */
.overall-stats{ display:grid; gap:18px; grid-template-columns:repeat(3,1fr); }
.overall-stat{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:8px; padding:26px 16px; }
.overall-stat-value{ font-family:'Bebas Neue',sans-serif; font-size:clamp(34px,4vw,54px); line-height:1; color:#fff; text-shadow:0 0 24px rgba(200,175,255,.45); }
.overall-stat-label{ font-size:13px; letter-spacing:0.18em; text-transform:uppercase; color:var(--fg-dim); }
@media(max-width:700px){
  .overall-stats{ grid-template-columns:1fr; gap:12px; }
  .overall-stat{ flex-direction:row; justify-content:space-between; padding:18px 20px; text-align:start; }
  .overall-stat-value{ font-size:36px; order:2; }
}

/* ---------- public campaign details table (Results page) ---------- */
.campaign-table-block{ margin:56px 0 24px; }
.campaign-table-title{ text-align:center; max-width:none; font-size:clamp(26px,3vw,36px); margin:0 0 10px; }
.campaign-table-lead{ text-align:center; margin:0 auto 22px; }
.campaign-table-wrap{ overflow:auto; max-height:75vh; padding:0; border-radius:18px; -webkit-overflow-scrolling:touch; }
.campaign-table-wrap:focus-visible{ outline:2px solid var(--star-glow); outline-offset:3px; }
.campaign-table{ width:100%; min-width:900px; font-size:15px; font-variant-numeric:tabular-nums; }
.campaign-table th, .campaign-table td{ white-space:nowrap; vertical-align:top; padding:12px 14px; }
.campaign-table .num{ text-align:end; }
.campaign-table tbody th{ font-weight:600; color:var(--fg); text-transform:none; letter-spacing:0; font-size:15px; }
.campaign-table thead th{ position:sticky; top:0; z-index:2; background:var(--bg-alt); }
/* pinned Campaign column: frosted glass, so numbers scrolling underneath blur out instead of colliding with the label */
.campaign-table thead th:first-child, .campaign-table tbody th, .campaign-table tfoot th{
  position:sticky; left:0; z-index:1;
  background-color:rgba(13,10,22,0.86);
  -webkit-backdrop-filter:blur(16px) saturate(1.2); backdrop-filter:blur(16px) saturate(1.2);
}
/* soft fade on the column's right edge, shown only once the table is scrolled sideways */
.campaign-table thead th:first-child::after, .campaign-table tbody th::after, .campaign-table tfoot th::after{
  content:""; position:absolute; top:0; bottom:0; right:-32px; width:32px; pointer-events:none;
  background:linear-gradient(to right, rgba(13,10,22,0.85), rgba(13,10,22,0));
  opacity:0; transition:opacity .2s ease;
}
.campaign-table-wrap.is-scrolled th:first-child::after, .campaign-table-wrap.is-scrolled tbody th::after,
.campaign-table-wrap.is-scrolled tfoot th::after{ opacity:1; }
.campaign-table-wrap.is-scrolled tbody th, .campaign-table-wrap.is-scrolled tfoot th,
.campaign-table-wrap.is-scrolled thead th:first-child{ box-shadow:1px 0 0 var(--line); }
.campaign-table thead th:first-child{ z-index:3; }
.campaign-table thead button{ all:unset; cursor:pointer; display:inline-flex; gap:6px; align-items:center; }
.campaign-table thead button:focus-visible{ outline:2px solid var(--star-glow); outline-offset:3px; border-radius:4px; }
.campaign-table thead button::after{ content:"↕"; opacity:.35; font-size:11px; }
.campaign-table thead button[aria-sort="ascending"]::after{ content:"↑"; opacity:1; }
.campaign-table thead button[aria-sort="descending"]::after{ content:"↓"; opacity:1; }
@media (hover:hover){
  .campaign-table tbody tr:hover td{ background:rgba(200,175,255,0.06); }
  /* tint the pinned cell without replacing its frosted background */
  .campaign-table tbody tr:hover th{ background-image:linear-gradient(rgba(200,175,255,0.06), rgba(200,175,255,0.06)); }
}
.campaign-table tfoot th, .campaign-table tfoot td{ font-weight:600; color:var(--fg); border-top:2px solid var(--line); border-bottom:0; position:sticky; bottom:0; background:var(--bg-alt); }
.campaign-table tfoot th{ z-index:2; background-color:rgba(13,10,22,0.86); text-transform:none; letter-spacing:0; font-size:15px; }
.cell-sub{ display:block; font-size:12px; color:var(--fg-dimmer); font-weight:400; white-space:nowrap; }
.campaign-table-note{ text-align:center; max-width:760px; margin:16px auto 0; }
.campaign-table .cell-objective{ font-weight:400; color:var(--fg-dim); }
@media(max-width:700px){
  /* phones: objective goes under the label so the pinned column stays narrow */
  .campaign-table .cell-objective{ display:block; font-size:13px; }
  .campaign-table th, .campaign-table td{ padding:10px 12px; font-size:14px; }
  .campaign-table tbody th, .campaign-table tfoot th{ font-size:14px; }
}
/* the Results column is the headline number */
.campaign-table td.is-key{ font-weight:600; color:var(--fg); font-size:16px; }
.campaign-table td.is-key .cell-sub{ font-weight:400; }
/* space under "Discover All Results" before the next section */
.results-more-wrap{ margin-bottom:clamp(64px,9vw,120px); }
.overall-hero-number, .overall-stat-value{ font-variant-numeric:tabular-nums; }
/* space between "Discover All Work" and the section divider line */
.design-more-wrap{ margin-bottom:clamp(64px,9vw,120px); }
/* square cards are small: no summary text; on phones only the title */
.design-grid .design-card:not(:first-child) .design-caption p{ display:none; }
@media(max-width:639px){
  .design-grid .design-card:not(:first-child) .design-caption{ padding:44px 12px 12px; }
  .design-grid .design-card:not(:first-child) .cap-label{ display:none; }
  .design-grid .design-card:not(:first-child) .cap-title{ font-size:17px; line-height:1.05; }
}

/* ---------- Work page: tile cards, same look as the home "Identities That Stick" cards ----------
   square photo filling the card, title on a dark gradient rising from the bottom */
.port-grid.tiles .port-card{ position:relative; aspect-ratio:1 / 1; border-radius:12px; background:#0a0812;
  -webkit-backdrop-filter:none; backdrop-filter:none; }
.port-grid.tiles .port-card:hover{ transform:none; }
.port-grid.tiles .port-thumb{ position:absolute; inset:0; aspect-ratio:auto; }
.port-grid.tiles .port-thumb img{ opacity:1; transition:transform .6s ease; }
.port-grid.tiles .port-card:hover .port-thumb img, .port-grid.tiles .port-card:focus-visible .port-thumb img{ transform:scale(1.05); }
.port-grid.tiles .play-btn{ bottom:22%; }
.port-grid.tiles .port-cap{ position:absolute; z-index:1; left:0; right:0; bottom:0; padding:64px 18px 16px;
  background:linear-gradient(0deg, rgba(5,5,10,.96) 0%, rgba(5,5,10,.86) 38%, rgba(5,5,10,.5) 68%, rgba(5,5,10,0) 100%); }
.port-grid.tiles .port-cap .cap-label, .port-grid.tiles .port-cap .cap-title, .port-grid.tiles .port-cap .cap-client{ text-shadow:0 1px 8px rgba(0,0,0,.7); }
.port-grid.tiles .port-cap .cap-label{ color:rgba(255,255,255,.75); }
.port-grid.tiles .port-card:focus-visible{ outline:2px solid var(--star-glow); outline-offset:4px; }
/* YouTube "hqdefault" thumbnails are 4:3 with black bars above/below the 16:9 picture: zoom 4/3 to trim them */
.port-grid.tiles .port-thumb img[src*="i.ytimg.com"]{ transform:scale(1.34); }
.port-grid.tiles .port-card:hover .port-thumb img[src*="i.ytimg.com"],
.port-grid.tiles .port-card:focus-visible .port-thumb img[src*="i.ytimg.com"]{ transform:scale(1.4); }

/* ---------- Results page: Ads Manager screenshot slider ---------- */
.shots-block{ margin:72px 0 24px; }
.shots{ position:relative; }
.shots-track{ --gap:20px; list-style:none; margin:0; padding:4px 2px 8px; display:flex; gap:var(--gap);
  overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; overscroll-behavior-x:contain;
  scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.shots-track::-webkit-scrollbar{ display:none; }
.shots-track:focus-visible{ outline:2px solid var(--star-glow); outline-offset:4px; border-radius:16px; }
.shot{ flex:0 0 82%; scroll-snap-align:start; }
@media(min-width:640px){ .shot{ flex-basis:calc((100% - var(--gap)) / 2); } }
@media(min-width:1000px){ .shot{ flex-basis:calc((100% - 2 * var(--gap)) / 3); } }
.shot-frame{ display:block; aspect-ratio:1 / 1; overflow:hidden; border-radius:16px; padding:0; background:#f4f3fb; }
.shot-frame img{ display:block; width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.shot-frame:hover img, .shot-frame:focus-visible img{ transform:scale(1.03); }
.shot-frame:focus-visible{ outline:2px solid var(--star-glow); outline-offset:3px; }
.shot-caption{ margin:10px 4px 0; text-align:center; font-size:14px; color:var(--fg-dim); }
.shots-nav{ position:absolute; top:50%; z-index:2; width:48px; height:48px; margin-top:-24px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; cursor:pointer; color:#fff;
  background:rgba(13,10,22,.78); border:1px solid var(--glass-border);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); transition:background .2s ease, border-color .2s ease; }
.shots-nav:hover{ background:rgba(106,45,255,.55); border-color:rgba(200,175,255,.6); }
.shots-nav:focus-visible{ outline:2px solid var(--star-glow); outline-offset:3px; }
.shots-nav svg{ width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.shots-prev{ left:-12px; } .shots-next{ right:-12px; }
@media(max-width:639px){ .shots-nav{ display:none; } }
.shots-dots{ display:flex; justify-content:center; flex-wrap:wrap; gap:8px; margin-top:18px; }
.shots-dots span{ width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,.25); transition:background .2s ease, transform .2s ease; }
.shots-dots span.on{ background:var(--star-glow); transform:scale(1.25); }

/* ---------- full-screen video lightbox ---------- */
html.vl-open{ overflow:hidden; }
.video-lightbox{ position:fixed; inset:0; width:100vw; height:100vh; height:100dvh; max-width:none; max-height:none;
  margin:0; padding:0; border:0; background:transparent; color:var(--fg); overflow:hidden; }
.video-lightbox[open]{ display:flex; animation:vl-in .25s ease; }
.video-lightbox::backdrop{ background:rgba(3,2,8,.94); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); }
@keyframes vl-in{ from{ opacity:0; transform:scale(.98); } to{ opacity:1; transform:none; } }
.vl-body{ flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px; padding:64px 16px 24px; }
/* biggest 16:9 box that fits the screen, leaving room for the title line */
.vl-frame{ position:relative; width:min(100%, calc((100dvh - 190px) * 16 / 9)); aspect-ratio:16 / 9; background:#000;
  border-radius:12px; overflow:hidden; box-shadow:0 30px 90px -20px rgba(106,45,255,.45); }
.vl-frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.vl-meta{ width:min(100%, calc((100dvh - 190px) * 16 / 9)); display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.vl-title{ flex:1 1 auto; min-width:0; max-width:none; margin:0; font-family:'Bebas Neue',sans-serif; font-size:clamp(20px,2.4vw,30px); letter-spacing:.02em; text-align:start; }
.vl-more[hidden]{ display:none; }
.vl-close{ position:absolute; top:14px; right:14px; z-index:2; width:46px; height:46px; border-radius:50%; cursor:pointer;
  display:flex; align-items:center; justify-content:center; color:#fff; background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.22); transition:background .2s ease; }
.vl-close:hover{ background:rgba(106,45,255,.6); }
.vl-close:focus-visible{ outline:2px solid var(--star-glow); outline-offset:3px; }
.vl-close svg{ width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; }
@media(max-width:639px){
  .vl-body{ padding:70px 0 20px; }
  .vl-frame{ border-radius:0; width:100%; }
  .vl-meta{ padding:0 16px; }
}
@media (prefers-reduced-motion: reduce){ .video-lightbox[open]{ animation:none; } }
