[hidden]:not([hidden="until-found" i]){display:none!important}

:root{
  --night:#0B2A30;
  --night-2:#0E3239;
  --night-3:#123C44;
  --deep:#071D22;
  --gold:#D9A94A;
  --gold-hi:#F0CF7E;
  --gold-ink:#8A6419;
  --cream:#F3EEDF;
  --cream-2:#EAE3CF;
  --arc:#5E8A8C;
  --line:#C9C6BA;

  /* page surfaces (light) */
  --bg:#F3EEDF;
  --bg-2:#EAE3CF;
  --ink:#0E2328;
  --ink-2:#4A5F62;
  --rule:#CFC6AE;
  --tag-bg:#E4DCC5;
  --accent-ink:#8A6419;
  --f-display:"Bricolage Grotesque","Helvetica Neue",Arial,sans-serif;
  --f-body:"IBM Plex Sans","Segoe UI",Arial,sans-serif;
  --f-mono:"IBM Plex Mono",ui-monospace,Menlo,Consolas,monospace;
  --gut:clamp(16px,4vw,48px);
  --max:1240px;
}

@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    color-scheme:dark;
    --bg:#0A2227;
    --bg-2:#0D2A30;
    --ink:#EDE7D6;
    --ink-2:#9FB2B1;
    --rule:#23454B;
    --tag-bg:#133A41;
    --accent-ink:#E2B65C;
  }
}

:root[data-theme="dark"]{
  color-scheme:dark;
  --bg:#0A2227;
  --bg-2:#0D2A30;
  --ink:#EDE7D6;
  --ink-2:#9FB2B1;
  --rule:#23454B;
  --tag-bg:#133A41;
  --accent-ink:#E2B65C;
}

html[lang="ar"]{
  --f-display:"Readex Pro","IBM Plex Sans Arabic",Tahoma,sans-serif;
  --f-body:"IBM Plex Sans Arabic","Segoe UI",Tahoma,sans-serif;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
  overflow-x:clip;
}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font:400 16px/1.6 var(--f-body);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

.wrap{
  max-width:var(--max);
  margin-inline:auto;
  padding-inline:var(--gut);
}

a{
  color:inherit;
}

:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
}

h1,
h2,
h3{
  font-family:var(--f-display);
  font-weight:500;
  letter-spacing:-.02em;
  text-wrap:balance;
  margin:0;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3{
  letter-spacing:0;
  line-height:1.3;
}

p{
  margin:0;
}

.tag{
  display:inline-flex;
  align-items:center;
  gap:.6em;
  font:500 12px/1 var(--f-mono);
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:.55em .75em;
  background:var(--tag-bg);
  color:var(--ink);
}

html[lang="ar"] .tag{
  font-family:var(--f-body);
  letter-spacing:0;
  font-size:13px;
}

.tag i{
  width:7px;
  height:7px;
  background:var(--gold);
  display:inline-block;
}

.arr{
  display:inline-block;
  transition:transform .2s;
}

[dir="rtl"] .arr{
  transform:scaleX(-1);
}

/* buttons */
.btn{
  display:inline-flex;
  align-items:stretch;
  text-decoration:none;
  font:500 15px/1 var(--f-body);
  border:0;
  cursor:pointer;
  padding:0;
  background:none;
  color:inherit;
}

.btn .ic{
  display:grid;
  place-items:center;
  width:44px;
  background:var(--gold);
  color:var(--deep);
}

.btn .tx{
  display:flex;
  align-items:center;
  padding:0 18px;
  height:44px;
  background:var(--cream);
  color:var(--deep);
}

.btn.ghost .tx{
  background:transparent;
  color:var(--cream);
  box-shadow:inset 0 0 0 1px rgba(243,238,223,.35);
}

.btn:hover .ic{
  background:var(--gold-hi);
}

.btn:hover .arr{
  transform:translateX(3px);
}

[dir="rtl"] .btn:hover .arr{
  transform:scaleX(-1) translateX(3px);
}

/* ---------- header ---------- */

.top{
  position:sticky;
  top:env(safe-area-inset-top,0px);
  z-index:20;
  background:rgba(11,42,48,.92);
  backdrop-filter:blur(10px);
  color:var(--cream);
  border-bottom:1px solid rgba(243,238,223,.08);
}

.top .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  height:68px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--cream);
}

.brand svg.m{
  width:44px;
  height:25px;
}

.brand svg.w{
  height:40px;
  width:82px;
}

nav.links{
  display:flex;
  gap:28px;
  font-size:14px;
}

nav.links a{
  text-decoration:none;
  opacity:.8;
}

nav.links a:hover{
  opacity:1;
  color:var(--gold-hi);
}

.lang{
  font:500 13px/1 var(--f-mono);
  background:none;
  color:var(--cream);
  border:1px solid rgba(243,238,223,.3);
  padding:9px 12px;
  cursor:pointer;
}

.lang:hover{
  border-color:var(--gold);
}

.lang .alt{
  font-family:"IBM Plex Sans Arabic",sans-serif;
  font-size:14px;
}

@media (max-width:860px){
  nav.links{
    display:none;
  }
}

/* ---------- hero ---------- */

.hero{
  background:var(--night);
  color:var(--cream);
  position:relative;
  overflow:hidden;
  padding-block:clamp(56px,9vw,112px) 0;
}

.hero .grid{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);
  gap:40px;
  align-items:end;
}

.hero .tag{
  background:rgba(243,238,223,.08);
  color:var(--cream);
}

.hero h1{
  font-size:clamp(40px,7.2vw,96px);
  line-height:.98;
  margin-top:28px;
  font-weight:500;
}

html[lang="ar"] .hero h1{
  line-height:1.2;
  font-size:clamp(36px,6vw,80px);
}

.hero h1 em{
  font-style:normal;
  color:var(--gold);
}

.hero .lede{
  max-width:52ch;
  color:rgba(243,238,223,.78);
  font-size:clamp(16px,1.4vw,18px);
  margin-top:28px;
}

.hero .ctas{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:36px;
}

.readout{
  border:1px solid rgba(243,238,223,.14);
  background:rgba(7,29,34,.5);
  font:400 12.5px/1.5 var(--f-mono);
  color:rgba(243,238,223,.75);
}

.readout .row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:12px 16px;
  border-top:1px solid rgba(243,238,223,.1);
}

.readout .row:first-child{
  border-top:0;
}

.readout b{
  font-weight:500;
  color:var(--cream);
  font-variant-numeric:tabular-nums;
}

.readout .live{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.readout .live::before{
  content:"";
  width:7px;
  height:7px;
  background:#7FC8A9;
  border-radius:50%;
  animation:pulse 2s infinite;
}

html[lang="ar"] .readout{
  font-family:var(--f-body);
}

@keyframes pulse{
  50%{
    opacity:.3;
  }
}

/* horizon */

.horizon{
  --p:1;
  position:relative;
  overflow:hidden;
  height:clamp(150px,22vw,280px);
  margin-top:clamp(48px,7vw,88px);
}

.horizon .sun{
  position:absolute;
  left:50%;
  bottom:0;
  width:clamp(180px,30vw,380px);
  aspect-ratio:2/1;
  max-width:100%;
  transform:translateX(-50%);
  overflow:hidden;
}

.horizon .sun::before{
  content:"";
  position:absolute;
  inset:0 0 -100% 0;
  border-radius:50%;
  background:radial-gradient(
    circle at 50% 30%,
    var(--gold-hi),
    var(--gold) 45%,
    #B98A2E 80%
  );
  transform:translateY(calc((1 - var(--p)) * 45%));
  will-change:transform;
}

.horizon .glow{
  position:absolute;
  left:50%;
  bottom:0;
  width:90vw;
  max-width:1100px;
  height:120%;
  transform:translateX(-50%);
  background:radial-gradient(
    ellipse at 50% 100%,
    rgba(217,169,74,.28),
    transparent 60%
  );
  pointer-events:none;
  opacity:calc(.25 + .75 * var(--p));
}

.horizon .ground{
  position:absolute;
  inset-inline:0;
  bottom:0;
  height:2px;
  background:linear-gradient(
    90deg,
    transparent,
    var(--line) 20%,
    var(--line) 80%,
    transparent
  );
}

.horizon .ticks{
  position:absolute;
  inset-inline:0;
  bottom:10px;
  display:flex;
  justify-content:space-between;
  font:400 11px/1 var(--f-mono);
  color:rgba(243,238,223,.4);
  padding-inline:var(--gut);
}

/* marquee */

.marq{
  background:var(--deep);
  color:rgba(243,238,223,.65);
  overflow:hidden;
  border-top:1px solid rgba(243,238,223,.08);
}

.marq .track{
  display:flex;
  gap:48px;
  width:max-content;
  padding-block:18px;
  animation:slide 40s linear infinite;
  font:500 13px/1 var(--f-mono);
  letter-spacing:.1em;
  text-transform:uppercase;
}

html[lang="ar"] .marq .track{
  font-family:var(--f-body);
  letter-spacing:0;
  font-size:15px;
}

.marq span{
  display:inline-flex;
  align-items:center;
  gap:48px;
  white-space:nowrap;
}

.marq span::after{
  content:"";
  width:6px;
  height:6px;
  background:var(--gold);
  transform:rotate(45deg);
}

@keyframes slide{
  to{
    transform:translateX(-50%);
  }
}

[dir="rtl"] .marq .track{
  animation-name:slideR;
}

@keyframes slideR{
  to{
    transform:translateX(50%);
  }
}

/* ---------- sections ---------- */

section.block{
  padding-block:clamp(72px,10vw,136px);
}

.head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:32px 64px;
  align-items:end;
  margin-bottom:clamp(40px,6vw,72px);
}

.head h2{
  font-size:clamp(32px,4.6vw,60px);
  line-height:1.02;
  margin-top:20px;
}

html[lang="ar"] .head h2{
  line-height:1.25;
}

.head p{
  color:var(--ink-2);
  max-width:48ch;
  font-size:17px;
}

@media (max-width:760px){
  .head{
    grid-template-columns:1fr;
  }

  .hero .grid{
    grid-template-columns:1fr;
  }
}

/* services index */

.svc{
  border-top:1px solid var(--ink);
}

.svc details{
  border-bottom:1px solid var(--rule);
}

.svc summary{
  list-style:none;
  cursor:pointer;
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) 44px;
  gap:24px;
  align-items:center;
  padding-block:26px;
}

.svc summary::-webkit-details-marker{
  display:none;
}

.svc summary h3{
  font-size:clamp(22px,2.6vw,34px);
  line-height:1.1;
}

.svc summary p{
  color:var(--ink-2);
  font-size:15.5px;
}

.svc .pm{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border:1px solid var(--rule);
  font:400 20px/1 var(--f-mono);
  transition:background .2s,transform .3s;
}

.svc details[open] .pm{
  background:var(--gold);
  border-color:var(--gold);
  color:var(--deep);
  transform:rotate(45deg);
}

.svc summary:hover h3{
  color:var(--accent-ink);
}

.svc .body{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
  gap:24px 48px;
  padding-bottom:36px;
}

.svc .body .ov{
  max-width:56ch;
  color:var(--ink);
}

.svc .body h4{
  font:500 12px/1 var(--f-mono);
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--ink-2);
  margin:0 0 12px;
}

html[lang="ar"] .svc .body h4{
  font-family:var(--f-body);
  letter-spacing:0;
  font-size:13px;
}

.chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:0;
  margin:0 0 24px;
}

.chips li{
  list-style:none;
  font-size:14px;
  padding:6px 10px;
  border:1px solid var(--rule);
}

.uses{
  padding:0;
  margin:0;
  display:grid;
  gap:8px;
}

.uses li{
  list-style:none;
  display:flex;
  gap:10px;
  font-size:15px;
}

.uses li::before{
  content:"";
  flex:none;
  width:10px;
  height:5px;
  margin-top:.7em;
  background:var(--gold);
  border-radius:10px 10px 0 0;
}

.svc details.soon summary{
  cursor:default;
  opacity:.62;
}

.svc details.soon .pm{
  border-style:dashed;
  font-size:11px;
  width:auto;
  padding:0 10px;
  white-space:nowrap;
}

@media (max-width:760px){
  .svc summary{
    grid-template-columns:minmax(0,1fr) 44px;
  }

  .svc summary p{
    grid-column:1;
    grid-row:2;
  }

  .svc .pm{
    grid-row:1/3;
    grid-column:2;
  }

  .svc .body{
    grid-template-columns:1fr;
  }
}

/* approach */

.approach{
  background:var(--night);
  color:var(--cream);
}

.approach .tag{
  background:rgba(243,238,223,.08);
  color:var(--cream);
}

.approach .head p{
  color:rgba(243,238,223,.7);
}

.spine{
  position:relative;
  display:grid;
  gap:40px;
}

.spine::before{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:50%;
  border-left:2px dotted rgba(243,238,223,.35);
}

[dir="rtl"] .spine::before{
  left:auto;
  right:50%;
}

.step{
  position:relative;
  width:calc(50% - 48px);
  background:var(--night-2);
  border:1px solid rgba(243,238,223,.14);
}

.step:nth-child(even){
  margin-inline-start:auto;
}

.step::after{
  content:"";
  position:absolute;
  top:30px;
  width:12px;
  height:12px;
  background:var(--cream);
  inset-inline-end:-55px;
}

.step:nth-child(even)::after{
  inset-inline-end:auto;
  inset-inline-start:-55px;
}

.step .hd{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 16px;
  border-bottom:1px solid rgba(243,238,223,.12);
  font:500 13.5px/1.3 var(--f-mono);
  letter-spacing:.02em;
}

html[lang="ar"] .step .hd{
  font-family:var(--f-body);
  font-size:15px;
}

.step .no{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border:1px solid rgba(243,238,223,.3);
  font-family:var(--f-mono);
}

.step .bd{
  padding:22px 16px 24px 68px;
  color:rgba(243,238,223,.78);
  position:relative;
}

[dir="rtl"] .step .bd{
  padding:22px 68px 24px 16px;
}

.step .bd::before{
  content:"";
  position:absolute;
  top:0;
  bottom:36px;
  inset-inline-start:34px;
  border-inline-start:1px solid rgba(243,238,223,.3);
}

.step .bd::after{
  content:"";
  position:absolute;
  bottom:36px;
  inset-inline-start:34px;
  width:18px;
  border-top:1px solid rgba(243,238,223,.3);
}

.step .out{
  display:block;
  margin-top:14px;
  font:400 12px/1.4 var(--f-mono);
  color:var(--gold);
}

html[lang="ar"] .step .out{
  font-family:var(--f-body);
  font-size:13px;
}

@media (max-width:760px){
  .spine::before{
    left:8px;
  }

  [dir="rtl"] .spine::before{
    right:8px;
  }

  .step,
  .step:nth-child(even){
    width:auto;
    margin-inline-start:32px;
  }

  .step::after,
  .step:nth-child(even)::after{
    inset-inline-start:-30px;
    inset-inline-end:auto;
  }
}

/* principles */

.prin{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid var(--ink);
}

.prin div{
  padding:28px 24px 8px 0;
  border-inline-end:1px solid var(--rule);
}

.prin div + div{
  padding-inline-start:24px;
}

.prin div:last-child{
  border-inline-end:0;
}

.prin h3{
  font-size:22px;
  line-height:1.15;
  margin-bottom:12px;
}

.prin p{
  color:var(--ink-2);
  font-size:15px;
}

.prin svg{
  width:40px;
  height:22px;
  margin-bottom:28px;
}

@media (max-width:760px){
  .prin{
    grid-template-columns:1fr;
  }

  .prin div{
    border-inline-end:0;
    padding-inline-start:0!important;
  }
}

/* industries */

.ind{
  background:var(--bg-2);
}

.ind ul{
  display:flex;
  flex-wrap:wrap;
  gap:0;
  padding:0;
  margin:0;
  border-top:1px solid var(--rule);
  border-inline-start:1px solid var(--rule);
}

.ind li{
  list-style:none;
  flex:1 1 240px;
  padding:22px 20px;
  border-inline-end:1px solid var(--rule);
  border-bottom:1px solid var(--rule);
  font-family:var(--f-display);
  font-size:clamp(18px,1.8vw,22px);
  display:flex;
  justify-content:space-between;
  gap:12px;
}

/* contact */

.contact .grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);
  gap:48px;
}

@media (max-width:860px){
  .contact .grid{
    grid-template-columns:1fr;
  }
}

.facts{
  display:grid;
  gap:0;
  border-top:1px solid var(--ink);
  align-self:start;
  margin:0;
}

.facts div{
  display:grid;
  grid-template-columns:128px minmax(0,1fr);
  gap:16px;
  align-items:center;
  padding-block:16px;
  border-bottom:1px solid var(--rule);
}

.facts dt{
  font:500 12px/1.6 var(--f-mono);
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--ink-2);
}

html[lang="ar"] .facts dt{
  font-family:var(--f-body);
  letter-spacing:0;
  font-size:13px;
}

.facts dd{
  margin:0;
}

.val{
  font-family:var(--f-mono);
  font-size:14px;
  direction:ltr;
  unicode-bidi:isolate;
  overflow-wrap:anywhere;
  min-width:0;
}

@media (max-width:560px){
  .facts div{
    grid-template-columns:minmax(0,1fr);
    gap:6px;
  }
}

form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  background:var(--night);
  color:var(--cream);
  padding:clamp(20px,3vw,36px);
}

form .full{
  grid-column:1/-1;
}

form label{
  display:grid;
  gap:8px;
  font:500 12px/1 var(--f-mono);
  letter-spacing:.06em;
  text-transform:uppercase;
  color:rgba(243,238,223,.7);
}

html[lang="ar"] form label{
  font-family:var(--f-body);
  letter-spacing:0;
  font-size:13px;
}

form input,
form select,
form textarea{
  font:400 15px/1.4 var(--f-body);
  color:var(--cream);
  background:var(--night-2);
  border:1px solid rgba(243,238,223,.18);
  padding:12px;
  border-radius:0;
  width:100%;
}

form textarea{
  min-height:110px;
  resize:vertical;
}

form input:focus,
form select:focus,
form textarea:focus{
  outline:none;
  border-color:var(--gold);
}

form select option{
  background:var(--night);
}

form .foot{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  align-items:center;
  justify-content:space-between;
}

form .note{
  font-size:13px;
  color:rgba(243,238,223,.6);
}

@media (max-width:560px){
  form{
    grid-template-columns:1fr;
  }
}

/* footer */

footer{
  background:var(--deep);
  color:rgba(243,238,223,.7);
  padding-block:64px 0;
  overflow:hidden;
}

footer .cols{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) repeat(2,minmax(0,1fr));
  gap:40px;
  font-size:14px;
}

footer h4{
  font:500 12px/1 var(--f-mono);
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--gold);
  margin:0 0 16px;
}

html[lang="ar"] footer h4{
  font-family:var(--f-body);
  letter-spacing:0;
}

footer ul{
  padding:0;
  margin:0;
  display:grid;
  gap:8px;
}

footer li{
  list-style:none;
}

footer .big{
  display:block;
  width:100%;
  height:auto;
  margin-top:64px;
  color:var(--night-3);
  margin-bottom:-2%;
}

footer .legal{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:12px;
  font:400 12px/1 var(--f-mono);
  padding-block:20px;
  border-top:1px solid rgba(243,238,223,.1);
  position:relative;
}

@media (max-width:760px){
  footer .cols{
    grid-template-columns:1fr;
  }
}

@media (prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    animation:none!important;
    transition:none!important;
  }

  html{
    scroll-behavior:auto;
  }
}

/* ================= UI layer ================= */

@property --a{
  syntax:"<angle>";
  initial-value:0deg;
  inherits:false;
}

html{
  scroll-padding-top:84px;
}

.btn .ic,
.btn .tx{
  min-height:44px;
  height:auto;
}

/* header: CTA, active section, mobile menu */

.tools{
  display:flex;
  align-items:center;
  gap:10px;
}

.lang{
  min-height:40px;
}

nav.links a{
  position:relative;
  padding-block:10px;
}

nav.links a.on{
  opacity:1;
  color:var(--gold-hi);
}

nav.links a.on::after{
  content:"";
  position:absolute;
  inset-inline:0;
  bottom:2px;
  height:2px;
  background:var(--gold);
}

.top .btn .ic{
  width:40px;
  min-height:40px;
}

.top .btn .tx{
  min-height:40px;
  font-size:14px;
}

.menu{
  display:none;
  place-items:center;
  width:44px;
  height:44px;
  background:none;
  color:var(--cream);
  border:1px solid rgba(243,238,223,.3);
  cursor:pointer;
  padding:0;
}

.menu:hover{
  border-color:var(--gold);
}

.menu svg{
  width:20px;
  height:20px;
}

.mnav{
  background:var(--night);
  color:var(--cream);
  border-top:1px solid rgba(243,238,223,.08);
}

.mnav ul{
  margin:0;
  padding-block:4px 20px;
  display:grid;
}

.mnav li{
  list-style:none;
}

.mnav a{
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-height:56px;
  border-bottom:1px solid rgba(243,238,223,.1);
  text-decoration:none;
  font:500 20px/1.2 var(--f-display);
}

.mnav a.on{
  color:var(--gold-hi);
}

@media (max-width:980px){
  nav.links{
    display:none;
  }

  .menu{
    display:grid;
  }

  .top .btn{
    display:none;
  }
}

/* horizon over a retro grid floor */

.horizon{
  height:clamp(200px,28vw,340px);
}

.horizon .sun,
.horizon .ground{
  bottom:40%;
}

.horizon .glow{
  bottom:40%;
  height:100%;
}

.floor{
  position:absolute;
  inset-inline:0;
  bottom:0;
  height:40%;
  overflow:hidden;
  perspective:200px;
  -webkit-mask-image:linear-gradient(
    to bottom,
    rgba(0,0,0,.3),
    #000 75%
  );
  mask-image:linear-gradient(
    to bottom,
    rgba(0,0,0,.3),
    #000 75%
  );
}

.floor .plane{
  position:absolute;
  top:0;
  left:-150%;
  right:-150%;
  height:400%;
  transform-origin:50% 0;
  transform:rotateX(62deg);
  background-image:
    linear-gradient(
      to right,
      rgba(217,169,74,.36) 1px,
      transparent 0
    ),
    linear-gradient(
      to bottom,
      rgba(217,169,74,.36) 1px,
      transparent 0
    );
  background-size:56px 56px;
  animation:floor 4s linear infinite;
}

@keyframes floor{
  to{
    background-position:0 56px;
  }
}

/* marquee */

.marq{
  -webkit-mask-image:linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image:linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.marq:hover .track{
  animation-play-state:paused;
}

.marq .plogo{
  display:inline-flex;
  align-items:center;
  gap:48px;
}

.marq .plogo img{
  height:28px;
  width:auto;
  max-width:140px;
  object-fit:contain;
  filter:grayscale(1) brightness(1.8);
  opacity:.7;
  transition:opacity .2s,filter .2s;
}

.marq .plogo img:hover{
  filter:none;
  opacity:1;
}

/* services */

.svx{
  display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
  column-gap:clamp(24px,4vw,56px);
  border-top:1px solid var(--ink);
}

.si{
  grid-column:1;
  grid-row:var(--r);
  display:grid;
  grid-template-columns:minmax(0,1fr) 32px;
  gap:16px;
  align-items:center;
  width:100%;
  text-align:start;
  background:none;
  border:0;
  border-bottom:1px solid var(--rule);
  padding:18px 0;
  color:inherit;
  font:inherit;
  cursor:pointer;
  min-height:72px;
}

.si h3{
  font-size:clamp(20px,2vw,26px);
  line-height:1.15;
  transition:color .2s;
}

.si p{
  font-size:14.5px;
  color:var(--ink-2);
  margin-top:4px;
}

.si .pm{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border:1px solid var(--rule);
  font:400 18px/1 var(--f-mono);
  transition:background .2s,transform .3s,border-color .2s;
}

.si:hover h3{
  color:var(--accent-ink);
}

.si[aria-expanded="true"] h3{
  color:var(--accent-ink);
}

.si[aria-expanded="true"] .pm{
  background:var(--gold);
  border-color:var(--gold);
  color:var(--deep);
  transform:rotate(45deg);
}

.si.soon{
  cursor:default;
  opacity:.62;
}

.si.soon:hover h3{
  color:inherit;
}

.si.soon .pm{
  width:auto;
  padding:0 10px;
  border-style:dashed;
  font:500 11px/1 var(--f-mono);
  white-space:nowrap;
  height:28px;
}

.sp{
  grid-column:2;
  grid-row:1 / span 12;
  align-self:start;
  position:sticky;
  top:92px;
  margin-top:20px;
  background:var(--night);
  color:var(--cream);
  border:1px solid var(--night-3);
}

@media (min-width:901px){
  .sp{
    max-height:calc(100vh - 112px);
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-width:thin;
    scrollbar-color:var(--arc) transparent;
  }
}

.sp .ph2{
  padding:clamp(20px,2.6vw,32px);
  display:grid;
  gap:22px;
}

.sp h3{
  font-size:clamp(26px,2.8vw,38px);
  line-height:1.08;
}

.sp .lead{
  color:rgba(243,238,223,.75);
  margin-top:10px;
  font-size:16px;
}

.sp .ov{
  color:rgba(243,238,223,.9);
  max-width:60ch;
}

.sp h4{
  font:500 12px/1 var(--f-mono);
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--gold);
  margin:0 0 12px;
}

html[lang="ar"] .sp h4{
  font-family:var(--f-body);
  letter-spacing:0;
  font-size:13px;
}

.sp .chips{
  margin:0;
}

.sp .chips li{
  border-color:rgba(243,238,223,.22);
}

.sp .cols{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}

.sp .foot{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  padding-top:4px;
}

@media (max-width:1100px){
  .sp .cols{
    grid-template-columns:1fr;
  }
}

@media (max-width:900px){
  .svx{
    grid-template-columns:1fr;
  }

  .si{
    grid-row:auto;
  }

  .sp{
    grid-column:1;
    grid-row:auto;
    position:static;
    margin:0 0 18px;
  }
}

/* animated beam */

.beam{
  position:relative;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:18px;
  padding:22px clamp(8px,2vw,20px);
  border-bottom:1px solid rgba(243,238,223,.1);
  background:radial-gradient(
    ellipse at 50% 50%,
    rgba(217,169,74,.1),
    transparent 65%
  );
}

.beam > svg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
  overflow:visible;
}

.beam .col{
  display:grid;
  gap:36px;
  justify-items:center;
}

.node{
  position:relative;
  z-index:1;
  min-width:84px;
  padding:10px 12px;
  text-align:center;
  font:500 12px/1 var(--f-mono);
  background:var(--night-2);
  border:1px solid rgba(243,238,223,.22);
}

html[lang="ar"] .node{
  font-family:var(--f-body);
  font-size:13px;
}

.hub{
  position:relative;
  z-index:1;
  width:76px;
  height:76px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--deep);
  border:1px solid rgba(217,169,74,.55);
  box-shadow:0 0 36px rgba(217,169,74,.25);
}

.hub svg{
  width:46px;
  height:26px;
}

.bp{
  fill:none;
  stroke:rgba(243,238,223,.16);
  stroke-width:2;
}

.bl{
  fill:none;
  stroke:var(--gold-hi);
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-dasharray:14 86;
  animation:flow 3.2s cubic-bezier(.16,1,.3,1) infinite;
}

.bl.rev{
  animation-direction:reverse;
}

@keyframes flow{
  from{
    stroke-dashoffset:100;
  }

  to{
    stroke-dashoffset:0;
  }
}

/* industries */

.ind li{
  transition:background .2s;
}

.ind li:hover{
  background:var(--bg);
}

/* contact facts */

.facts dd{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}

.copy{
  font:500 12px/1 var(--f-mono);
  min-height:44px;
  min-width:44px;
  padding:0 10px;
  background:none;
  color:var(--ink);
  border:1px solid var(--rule);
  cursor:pointer;
}

.copy:hover{
  border-color:var(--gold);
}

.vh{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}

/* form */

.beamed{
  position:relative;
  align-self:start;
}

.beamed::before{
  content:"";
  position:absolute;
  inset:0;
  padding:1.5px;
  pointer-events:none;
  z-index:1;
  background:conic-gradient(
    from var(--a),
    transparent 0 72%,
    rgba(240,207,126,.2) 80%,
    var(--gold-hi) 88%,
    transparent 92%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  animation:spin 7s linear infinite;
}

@keyframes spin{
  to{
    --a:360deg;
  }
}

form{
  row-gap:18px;
}

.fld{
  display:grid;
  gap:8px;
  align-content:start;
}

.fld > label{
  display:block;
  font:500 12px/1 var(--f-mono);
  letter-spacing:.06em;
  text-transform:uppercase;
  color:rgba(243,238,223,.78);
}

html[lang="ar"] .fld > label{
  font-family:var(--f-body);
  letter-spacing:0;
  font-size:13px;
}

.req{
  color:var(--gold);
}

form input,
form select,
form textarea{
  font-size:16px;
  min-height:46px;
  border-color:rgba(243,238,223,.24);
}

form input:focus,
form select:focus,
form textarea:focus{
  box-shadow:0 0 0 3px rgba(217,169,74,.35);
}

form [aria-invalid="true"]{
  border-color:#F08A78;
}

.err{
  font-size:13px;
  color:#F4A493;
}

.err:empty{
  display:none;
}

.tel{
  display:flex;
}

.tel span{
  display:grid;
  place-items:center;
  padding:0 12px;
  border:1px solid rgba(243,238,223,.24);
  border-inline-end:0;
  background:var(--deep);
  font:500 14px/1 var(--f-mono);
  direction:ltr;
}

.tel input{
  direction:ltr;
  text-align:start;
}

[dir="rtl"] .tel{
  flex-direction:row-reverse;
}

[dir="rtl"] .tel span{
  border-inline-end:1px solid rgba(243,238,223,.24);
  border-inline-start:0;
}

.btn[disabled]{
  opacity:.65;
  cursor:progress;
}

.done{
  background:var(--night);
  color:var(--cream);
  padding:clamp(24px,4vw,44px);
  display:grid;
  gap:18px;
  justify-items:start;
}

.done .ck{
  width:48px;
  height:48px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--gold);
  color:var(--deep);
}

.done p{
  color:rgba(243,238,223,.85);
  font-size:17px;
  max-width:48ch;
}

.done .btn .tx{
  background:var(--cream);
}

/* mobile action bar */

.mbar{
  display:none;
}

@media (max-width:760px){
  .mbar{
    display:flex;
    position:fixed;
    inset-inline:0;
    bottom:0;
    z-index:40;
    padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));
    background:rgba(7,29,34,.96);
    backdrop-filter:blur(8px);
    border-top:1px solid rgba(243,238,223,.12);
    transition:transform .25s;
  }

  .mbar.away{
    transform:translateY(110%);
  }

  .mbar .btn{
    width:100%;
  }

  .mbar .btn .tx{
    flex:1;
    justify-content:center;
  }

  footer{
    padding-bottom:72px;
  }
}

@media (prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    animation:none!important;
    transition:none!important;
  }

  html{
    scroll-behavior:auto;
  }
}
/* ==========================================================================
   Mobile dropdown menu (burger) – Taibah Horizon
   ========================================================================== */
@media (max-width:980px){

  .top .mnav{
    position:absolute;
    top:calc(100% + 8px);
    inset-inline-end:var(--gut);
    inset-inline-start:auto;
    width:min(260px, calc(100vw - 2 * var(--gut)));
    background:var(--night-2);
    border:1px solid rgba(217,169,74,.5);
    border-radius:10px;
    box-shadow:0 14px 32px rgba(0,0,0,.45);
    padding:6px;
    overflow:hidden;
    z-index:30;
  }

  .top .mnav ul.wrap{
    display:block;
    height:auto;
    max-width:none;
    margin:0;
    padding:0;
    gap:0;
  }

  .top .mnav li{
    margin:0;
    border:0;
  }

  .top .mnav a{
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:48px;
    padding:0 14px;
    border:0;
    border-radius:6px;
    font:500 15px/1.2 var(--f-body);
    color:var(--cream);
    /* gold fill starts at 0 width and slides open */
    background:linear-gradient(var(--gold),var(--gold)) no-repeat left center / 0% 100%;
    transition:background-size .28s ease, color .2s ease, padding .28s ease;
  }

  [dir="rtl"] .top .mnav a{
    background-position:right center;
  }

  .top .mnav a .arr{
    transition:transform .28s ease;
  }

  /* hover / tap / keyboard focus / current section: solid gold */
  .top .mnav a:hover,
  .top .mnav a:focus-visible,
  .top .mnav a.on{
    background-size:100% 100%;
    color:var(--deep);
  }

  /* slide + arrow nudge on hover */
  .top .mnav a:hover,
  .top .mnav a:focus-visible{
    padding-inline-start:20px;
  }

  .top .mnav a:hover .arr,
  .top .mnav a:focus-visible .arr{
    transform:translateX(5px);
  }

  [dir="rtl"] .top .mnav a:hover .arr,
  [dir="rtl"] .top .mnav a:focus-visible .arr{
    transform:scaleX(-1) translateX(5px);
  }
}