/* ===== style.css ===== */
/* ==========================================================================
   AITS — Design tokens
   ========================================================================== */
:root{
  --electric-blue:#0057FF;
  --cyan:#00D9FF;
  --deep-blue:#003399;
  --deep-navy:#061426;
  --near-black:#03070D;
  --white:#FFFFFF;
  --soft-gray:#A8B3C2;
  --saudi-green:#006C35;

  --bg-0:#03070D;
  --bg-1:#050D18;
  --bg-2:#081729;
  --line:rgba(168,179,194,0.14);
  --line-strong:rgba(0,217,255,0.28);

  --font-display:'Segoe UI', Arial, sans-serif;
  --font-body:'Segoe UI', Arial, sans-serif;
  --font-mono:'IBM Plex Mono', monospace;

  --container:1240px;
  --gutter:clamp(24px, 5vw, 72px);

  --ease:cubic-bezier(.16,.84,.32,1);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important;}
}

body{
  margin:0;
  background:var(--bg-0);
  color:var(--white);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

h1,h2,h3,h4,h5{
  font-family:var(--font-display);
  margin:0;
  font-weight:700;
  letter-spacing:-0.01em;
  color:var(--white);
}

p{margin:0;}
ul{margin:0;padding:0;list-style:none;}
a{color:inherit;text-decoration:none;}
img,canvas,svg{display:block;max-width:100%;}

::selection{background:var(--electric-blue);color:var(--white);}

:focus-visible{
  outline:2px solid var(--cyan);
  outline-offset:3px;
  border-radius:2px;
}

.grain-overlay{
  position:fixed;inset:0;pointer-events:none;z-index:9999;
  opacity:0.025;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode:overlay;
}

.eyebrow{
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--cyan);
  margin-bottom:14px;
}

.section{
  position:relative;
  padding:120px var(--gutter);
  max-width:var(--container);
  margin:0 auto;
}

.section-head h2{
  font-size:clamp(32px, 4.4vw, 52px);
  line-height:1.08;
  max-width:640px;
}

.section-note{
  margin-top:10px;
  font-family:var(--font-mono);
  font-size:11.5px;
  letter-spacing:0.08em;
  color:var(--soft-gray);
  text-transform:uppercase;
}

/* buttons */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:15px 30px;
  font-family:var(--font-body);
  font-weight:600;
  font-size:14px;
  letter-spacing:0.02em;
  border-radius:3px;
  transition:transform .35s var(--ease), background .3s ease, border-color .3s ease, color .3s ease;
  white-space:nowrap;
}
.btn-primary{
  background:linear-gradient(135deg, var(--electric-blue), var(--deep-blue));
  color:var(--white);
  box-shadow:0 0 0 1px rgba(0,217,255,0.25) inset, 0 12px 30px -12px rgba(0,87,255,0.7);
}
.btn-primary:hover{transform:translateY(-2px); box-shadow:0 0 0 1px rgba(0,217,255,0.5) inset, 0 16px 34px -10px rgba(0,87,255,0.85);}
.btn-outline{
  border:1px solid rgba(255,255,255,0.25);
  color:var(--white);
  background:rgba(255,255,255,0.02);
}
.btn-outline:hover{border-color:var(--cyan); color:var(--cyan); transform:translateY(-2px);}
.btn-ghost{
  border:1px solid var(--line);
  padding:10px 20px;
  font-size:13px;
}
.btn-ghost:hover{border-color:var(--cyan); color:var(--cyan);}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:200;
  padding:22px var(--gutter);
  transition:padding .4s var(--ease), background .4s ease, backdrop-filter .4s ease, border-color .4s ease;
  border-bottom:1px solid transparent;
}
.nav.scrolled{
  padding:12px var(--gutter);
  background:rgba(3,7,13,0.78);
  backdrop-filter:blur(16px);
  border-bottom-color:var(--line);
}
.nav-inner{
  position:relative;
  width:100%;
  max-width:var(--container);
  height:34px;
  margin:0 auto;
  display:flex;
  align-items:center;
}
.nav-logo{
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  display:flex; align-items:center;
  margin:0;
  color:var(--white);
  z-index:3;
}
.nav-links{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:30px;
  white-space:nowrap;
  z-index:2;
}
.nav-links a{
  font-size:13.5px;
  font-weight:500;
  color:var(--soft-gray);
  position:relative;
  padding:4px 0;
  transition:color .25s ease, text-shadow .25s ease;
}
.nav-links a::after{
  content:'';
  position:absolute; left:0; right:0; bottom:-2px; height:1px;
  background:var(--cyan);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .3s var(--ease);
}
.nav-links a:hover{
  color:var(--white);
  text-shadow:0 0 10px rgba(0,217,255,.45);
}
.nav-links a:hover::after{transform:scaleX(1);}
.nav-cta{
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  z-index:3;
}
.nav-toggle{
  display:none;
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  width:36px; height:28px;
  background:none; border:none;
  flex-direction:column; justify-content:space-between;
  cursor:pointer; padding:0;
  z-index:3;
}
.nav-toggle span{
  height:2px; width:100%;
  background:var(--white);
  border-radius:2px;
  transition:transform .3s var(--ease), opacity .3s ease;
}
.nav-toggle.open span:nth-child(1){transform:translateY(13px) rotate(45deg);}
.nav-toggle.open span:nth-child(2){opacity:0;}
.nav-toggle.open span:nth-child(3){transform:translateY(-13px) rotate(-45deg);}

.mobile-menu{
  position:fixed; inset:0 0 auto 0; top:0;
  background:rgba(3,7,13,0.98);
  backdrop-filter:blur(10px);
  z-index:190;
  display:flex; flex-direction:column;
  padding:110px 32px 40px;
  gap:6px;
  transform:translateY(-100%);
  transition:transform .45s var(--ease);
}
.mobile-menu.open{transform:translateY(0);}
.mobile-menu a{
  font-family:var(--font-display);
  font-size:26px;
  font-weight:600;
  padding:14px 0;
  border-bottom:1px solid var(--line);
  color:var(--white);
}

@media (max-width:1150px){
  .nav-links{gap:20px;}
  .nav-links a{font-size:12.5px;}
}
@media (max-width:940px){
  .nav-links,.nav-cta{display:none;}
  .nav-toggle{display:flex;}
}
@media (max-width:600px){
  .nav{padding:18px 20px;}
  .nav.scrolled{padding:12px 20px;}
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  background:radial-gradient(120% 90% at 50% 0%, #0a1930 0%, var(--near-black) 60%);
}
.hero-gif-bg{
  position:absolute; inset:0; z-index:1;
  width:100%; height:100%;
  object-fit:cover;
  object-position:center;
  transform-origin:center top;
  will-change:transform, opacity;
}
.hero-vignette{
  position:absolute; inset:0; z-index:2;
  background:linear-gradient(180deg, rgba(3,7,13,0.12) 0%, rgba(3,7,13,0.28) 50%, rgba(3,7,13,0.96) 100%);
  pointer-events:none;
}
.hero-side-shade{
  position:absolute; inset:0; z-index:2;
  background:linear-gradient(90deg, rgba(3,7,13,0.88) 0%, rgba(3,7,13,0.58) 28%, rgba(3,7,13,0.18) 52%, rgba(3,7,13,0.02) 72%, transparent 100%);
  pointer-events:none;
}
@media (max-width:860px){
  .hero-side-shade{background:linear-gradient(180deg, rgba(3,7,13,0.55) 0%, rgba(3,7,13,0.1) 30%, transparent 55%);}
}
.hero-grid-overlay{
  position:absolute; inset:0; z-index:2;
  opacity:0.05;
  background-image:
    linear-gradient(rgba(0,217,255,0.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,217,255,0.7) 1px, transparent 1px);
  background-size:64px 64px;
  pointer-events:none;
}

.hero-content{
  position:relative; z-index:5;
  width:min(760px, 52vw);
  margin-left:var(--gutter);
  padding:0 0 110px;
  max-width:760px;
}
.hero-eyebrow{
  font-family:var(--font-mono);
  font-size:18px;
  letter-spacing:0.16em;
  color:var(--cyan);
  margin-bottom:22px;
  opacity:0;
  animation:heroFade .9s var(--ease) 0.15s forwards;
}
.hero-title{
    font-size:clamp(38px, 4.2vw, 64px);
    line-height:1.05;
    font-weight:800;
    letter-spacing:-0.02em;
    max-width:760px;
}

.hero-title .line{
    display:block;
    overflow:hidden;
    padding-bottom:6px;
    margin-bottom:-6px;
    opacity:0;
    transform:translateY(60px);
    animation:heroLine 1s var(--ease) forwards;
}

.hero-title .line span{
    display:block;
}

.hero-title .line:nth-child(1){
    animation-delay:0.25s;
}

.hero-title .line:nth-child(2){
    animation-delay:0.4s;
}

.hero-title .line:nth-child(3){
    animation-delay:0.55s;
}

.hero-title .line:nth-child(3) .accent{
    white-space:nowrap;
}
.hero-title .line:nth-child(1){animation-delay:0.25s;}
.hero-title .line:nth-child(2){animation-delay:0.4s;}
.hero-title .line:nth-child(3){animation-delay:0.55s;}
.hero-title .accent{
    background:linear-gradient(100deg, var(--cyan), var(--electric-blue) 65%);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}
.hero-subline{
  margin-top:26px;
  font-size:clamp(16px, 1.6vw, 20px);
  font-weight:500;
  color:var(--white);
  letter-spacing:0.01em;
  opacity:0;
  animation:heroFade .9s var(--ease) 0.75s forwards;
}
.hero-desc{
  margin-top:16px;
  max-width:560px;
  font-size:15.5px;
  color:var(--soft-gray);
  line-height:1.7;
  opacity:0;
  animation:heroFade .9s var(--ease) 0.9s forwards;
}
.hero-actions{
  margin-top:38px;
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  opacity:0;
  animation:heroFade .9s var(--ease) 1.05s forwards;
}

@media (max-width:940px){
  .hero-content{
    width:auto;
    max-width:760px;
    margin-left:0;
    padding:0 var(--gutter) 90px;
  }
}

@keyframes heroFade{
  from{opacity:0; transform:translateY(14px);}
  to{opacity:1; transform:translateY(0);}
}
@keyframes heroLine{
  from{opacity:0; transform:translateY(60px);}
  to{opacity:1; transform:translateY(0);}
}

.hero-scroll-cue{
  position:absolute; bottom:34px; right:var(--gutter); z-index:5;
  display:flex; flex-direction:column; align-items:center; gap:8px;
  color:var(--soft-gray);
  opacity:0;
  animation:heroFade .9s var(--ease) 1.3s forwards;
}
.hero-scroll-cue span{
  width:1px; height:38px;
  background:linear-gradient(180deg, var(--cyan), transparent);
  animation:scrollCue 2s ease-in-out infinite;
}
.hero-scroll-cue p{
  font-family:var(--font-mono);
  font-size:10px;
  letter-spacing:0.18em;
  text-transform:uppercase;
}
@keyframes scrollCue{
  0%{transform:scaleY(0.4); transform-origin:top;}
  50%{transform:scaleY(1); transform-origin:top;}
  100%{transform:scaleY(0.4); transform-origin:bottom;}
}
@keyframes pulseDot{0%,100%{opacity:1;}50%{opacity:0.35;}}
.corner{position:absolute; width:14px; height:14px; border:1.4px solid var(--cyan);}
.corner.tl{top:0; left:0; border-right:none; border-bottom:none;}
.corner.tr{top:0; right:0; border-left:none; border-bottom:none;}
.corner.bl{bottom:0; left:0; border-right:none; border-top:none;}
.corner.br{bottom:0; right:0; border-left:none; border-top:none;}

@media (max-width:860px){
}
@media (max-width:640px){
}

/* ==========================================================================
   REVEAL ANIMATION (shared)
   ========================================================================== */
[data-reveal]{
  opacity:0;
  transform:translateY(34px);
  transition:opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].in-view{opacity:1; transform:translateY(0);}
.section-head{margin-bottom:64px;}

@media (max-width:940px){
}
@media (max-width:600px){
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about{
  border-top:1px solid var(--line);
  background:linear-gradient(180deg, transparent, rgba(0,87,255,0.03));
}
.about-grid{display:grid; grid-template-columns:0.9fr 1.4fr; gap:70px;}
.about h2{font-size:clamp(28px,3.4vw,40px); max-width:420px; line-height:1.15;}
.about-cols{display:grid; grid-template-columns:repeat(3,1fr); gap:36px;}
.about-col h4{
  font-family:var(--font-mono); font-size:11.5px; letter-spacing:0.1em;
  color:var(--cyan); text-transform:uppercase; margin-bottom:14px; font-weight:500;
}
.about-col p{color:var(--soft-gray); font-size:14.5px; line-height:1.75;}
.value-tags{display:flex; flex-wrap:wrap; gap:10px;}
.value-tags span{
  font-size:13px; padding:8px 14px;
  border:1px solid var(--line);
  border-radius:2px;
  color:var(--white);
}
@media (max-width:900px){
  .about-grid{grid-template-columns:1fr; gap:40px;}
  .about-cols{grid-template-columns:1fr; gap:28px;}
}

/* ==========================================================================
   TECH DEEP DIVES
   ========================================================================== */
.tech-deepdives{border-top:1px solid var(--line);}
.deepdive{
  display:grid;
  grid-template-columns:0.85fr 1.15fr;
  gap:60px;
  align-items:center;
  max-width:var(--container);
  margin:0 auto;
  padding:100px var(--gutter);
  border-bottom:1px solid var(--line);
}
.deepdive.reverse{direction:rtl;}
.deepdive.reverse > *{direction:ltr;}
.deepdive-text h2{font-size:clamp(30px,3.6vw,44px); margin-bottom:22px;}
.deepdive-sub{color:var(--soft-gray); font-size:15px; margin:-14px 0 22px;}
.service-list{display:flex; flex-direction:column; gap:11px;}
.service-list li{
  font-size:14.5px; color:var(--soft-gray);
  padding-left:18px; position:relative;
}
.service-list li::before{
  content:''; position:absolute; left:0; top:9px;
  width:8px; height:1px; background:var(--cyan);
}
.callout{
  margin-top:26px;
  padding:18px 20px;
  border-left:2px solid var(--cyan);
  background:rgba(0,217,255,0.05);
  font-size:14px;
  color:var(--white);
  line-height:1.6;
}
.keyword-row{display:flex; flex-wrap:wrap; gap:12px; margin-top:8px;}
.keyword-row span{
  font-family:var(--font-mono); font-size:12px; letter-spacing:0.04em;
  padding:9px 16px; border:1px solid var(--line); color:var(--soft-gray);
}
.flow-inline{
  margin-top:26px; display:flex; flex-wrap:wrap; align-items:center; gap:10px;
  font-family:var(--font-mono); font-size:11.5px; color:var(--soft-gray);
}
.flow-inline i{width:16px; height:1px; background:var(--line-strong); display:inline-block;}

.deepdive-visual{
  display:flex; align-items:center; justify-content:center;
  min-height:340px;
}

/* AI flow (vertical) */
.flow-vertical{display:flex; flex-direction:column; align-items:center; gap:0;}
.flow-node{
  width:170px; padding:18px 0; text-align:center;
  border:1px solid var(--line-strong);
  background:linear-gradient(180deg, rgba(0,87,255,0.08), rgba(0,87,255,0.01));
  font-family:var(--font-mono); font-size:13px; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--white);
  border-radius:2px;
}
.flow-node-final{border-color:var(--cyan); box-shadow:0 0 24px -6px rgba(0,217,255,0.5);}
.flow-arrow{
  width:1px; height:34px;
  background:linear-gradient(180deg, var(--cyan), transparent);
  position:relative;
}
.flow-arrow::after{
  content:''; position:absolute; bottom:0; left:50%; transform:translateX(-50%);
  width:6px; height:6px; border-right:1.4px solid var(--cyan); border-bottom:1.4px solid var(--cyan);
  transform:translateX(-50%) rotate(45deg);
  animation:arrowPulse 1.8s ease-in-out infinite;
}
@keyframes arrowPulse{0%,100%{opacity:0.3;}50%{opacity:1;}}

/* Drone flow (horizontal) */
.flow-horizontal{display:flex; align-items:center; flex-wrap:wrap; gap:0; justify-content:center;}
.flow-chip{
  padding:14px 18px; font-family:var(--font-mono); font-size:11.5px; letter-spacing:0.05em;
  border:1px solid var(--line); color:var(--soft-gray); white-space:nowrap; border-radius:2px;
}
.flow-chip-final{border-color:var(--cyan); color:var(--white);}
.flow-arrow-h{width:26px; height:1px; background:var(--line-strong); position:relative;}
.flow-arrow-h::after{
  content:''; position:absolute; right:0; top:50%;
  width:5px; height:5px; border-top:1.2px solid var(--cyan); border-right:1.2px solid var(--cyan);
  transform:translateY(-50%) rotate(45deg);
}

/* GIS map */
.gis-map-wrap{position:relative; width:100%; max-width:460px;}
.map-caption{
  position:absolute; bottom:-26px; left:0;
  font-family:var(--font-mono); font-size:9.5px; letter-spacing:0.12em;
  color:var(--soft-gray); text-transform:uppercase;
}
.flow-horizontal .flow-arrow-h:last-child{
    display:none;
}

/* Data center racks */
.rack-visual{
  display:flex; gap:18px; align-items:flex-end; perspective:900px;
  padding:20px;
}
.rack{
  display:flex; flex-direction:column; gap:6px;
  background:rgba(255,255,255,0.02);
  border:1px solid var(--line);
  padding:10px;
  border-radius:2px;
  transform:rotateY(-8deg);
}
.rack-unit{
  width:70px; height:14px;
  background:linear-gradient(90deg, #0b1a2c, #0e2038);
  border:1px solid rgba(168,179,194,0.15);
  border-radius:1px;
  position:relative;
}
.rack-unit::after{
  content:''; position:absolute; right:6px; top:50%; transform:translateY(-50%);
  width:4px; height:4px; border-radius:50%;
  background:var(--cyan);
  animation:rackBlink 2.4s ease-in-out infinite;
  animation-delay:calc(var(--d) * 0.35s);
  box-shadow:0 0 6px 1px rgba(0,217,255,0.7);
}
@keyframes rackBlink{0%,100%{opacity:0.25;}50%{opacity:1;}}
.rack-floor{display:none;}

/* Networks canvas handled via JS */
#networkMesh, #gisMap{width:100%; height:auto; border:1px solid var(--line); background:radial-gradient(circle at 50% 40%, #071628, #03070d);}

/* Security shield */
.shield-visual{width:100%; max-width:300px;}
.shield-ring{animation:shieldRotate 12s linear infinite; transform-origin:150px 150px;}
@keyframes shieldRotate{to{transform:rotate(360deg);}}
.shield-pulse circle{animation:shieldPulse 2.4s ease-out infinite;}
@keyframes shieldPulse{
  0%{r:20; opacity:0.8;}
  100%{r:110; opacity:0;}
}

@media (max-width:860px){
  .deepdive, .deepdive.reverse{grid-template-columns:1fr; direction:ltr;}
  .deepdive-visual{order:-1; min-height:260px;}
}
@keyframes chainDot{0%{left:-1px; right:auto;}100%{left:calc(100% - 4px); right:auto;}}

@media (max-width:760px){
}

/* ==========================================================================
   MONITORING DASHBOARD
   ========================================================================== */
.monitoring{border-top:1px solid var(--line);}
.dot{width:7px; height:7px; border-radius:50%; flex-shrink:0;}
.dot-online{background:#00E08A; box-shadow:0 0 6px 1px rgba(0,224,138,0.6);}
.dot-warn{background:#FFB454; box-shadow:0 0 6px 1px rgba(255,180,84,0.6);}
#healthRing{transition:stroke-dashoffset 1.4s var(--ease);}
#networkMonitorMap{width:100%; height:auto;}

@media (max-width:900px){
}
@media (max-width:600px){
}
@media (max-width:900px){}
@media (max-width:600px){}
#kingdomNetwork{width:100%; height:auto;}
@media (max-width:900px){}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact{border-top:1px solid var(--line); text-align:center; padding-bottom:60px;}
.contact-inner{max-width:640px; margin:0 auto;}
.contact h2{font-size:clamp(32px,4.4vw,52px); margin-bottom:20px;}
.contact-company{color:var(--soft-gray); font-size:14.5px; margin-bottom:56px;}
.contact-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line);}
.contact-item{background:var(--bg-0); padding:26px 16px; display:flex; flex-direction:column; gap:8px;}
.contact-label{font-family:var(--font-mono); font-size:10px; letter-spacing:0.1em; color:var(--cyan); text-transform:uppercase;}
.contact-value{font-size:14px; color:var(--soft-gray);}
@media (max-width:700px){.contact-grid{grid-template-columns:repeat(2,1fr);}}

.site-footer{
  max-width:var(--container); margin:70px auto 0; padding:26px var(--gutter) 0;
  border-top:1px solid var(--line);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  font-size:12.5px; color:var(--soft-gray);
}

/* ==========================================================================
   NAV RESPONSIVE
   ========================================================================== */
@media (max-width:940px){
  .nav-links, .nav-cta{display:none;}
  .nav-toggle{display:flex;}
}


/* ================================================================
   AITS FINAL TRANSFER FIXES — centered navigation, visible logo,
   bilingual EN/AR switch, and full hero background
   ================================================================ */
.nav-inner{position:relative;width:100%;max-width:var(--container);height:34px;margin:0 auto;display:flex;align-items:center;}
.nav-logo{position:absolute;left:0;top:50%;transform:translateY(-50%);display:flex;align-items:center;margin:0;color:var(--white);z-index:3;}
.logo-svg{display:block;width:86px;height:auto;overflow:visible;}
.nav-links{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;gap:30px;white-space:nowrap;z-index:2;}
.nav-cta{position:absolute;right:0;top:50%;transform:translateY(-50%);z-index:3;}
.lang-switch{position:absolute;right:-82px;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:5px;font-family:var(--font-mono);font-size:10px;z-index:4;white-space:nowrap;}
.lang-switch .lang-btn,.mobile-lang-switch .lang-btn{border:0;background:none;color:var(--soft-gray);font:inherit;cursor:pointer;padding:3px 2px;letter-spacing:.08em;}
.lang-switch .lang-btn.active,.mobile-lang-switch .lang-btn.active{color:var(--cyan);}
.nav-links a.active{color:#fff;}
.nav-links a.active::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:1px;background:var(--cyan);}
.nav-links a{position:relative;}
.mobile-menu a.active{color:var(--cyan);}
.lang-switch span,.mobile-lang-switch span{color:rgba(168,179,194,.45);}
.mobile-lang-switch{display:none;}
.hero-gif-bg{z-index:1!important;}
.hero-vignette,.hero-side-shade,.hero-grid-overlay{z-index:2!important;}
.hero-content{z-index:5!important;}
/* The cinematic image already contains the drone/city; keep text clear on the left. */
.hero-content{width:min(760px,48vw);margin-left:var(--gutter);margin-right:0;}
[dir="rtl"] .hero-content{margin-left:0;margin-right:var(--gutter);text-align:right;}
[dir="rtl"] .hero-actions{justify-content:flex-start;}
[dir="rtl"] .hero-title .line{direction:rtl;}
[dir="rtl"] .nav-logo{left:auto;right:0;}
[dir="rtl"] .nav-cta{right:auto;left:0;}
[dir="rtl"] .lang-switch{right:auto;left:-82px;}
[dir="rtl"] .nav-links{direction:rtl;}
[dir="rtl"] .deepdive-text,[dir="rtl"] .about-grid,[dir="rtl"] .sf-grid,[dir="rtl"] .contact-inner{text-align:right;}
[dir="rtl"] .service-list{padding-right:18px;padding-left:0;}
@media(max-width:1150px){.nav-links{gap:20px}.nav-links a{font-size:12.5px}.lang-switch{right:-68px}.nav-cta{display:none}.nav-inner{padding-right:0}.mobile-lang-switch{display:flex;position:absolute;right:55px;top:50%;transform:translateY(-50%);align-items:center;gap:5px;font-family:var(--font-mono);font-size:10px;z-index:4}.nav-links{right:0;left:0;transform:translateY(-50%);}}
@media(max-width:940px){.nav-links{display:none}.nav-toggle{display:flex}.mobile-lang-switch{right:55px}.hero-content{width:auto;max-width:760px;margin-left:0;padding-left:var(--gutter);padding-right:var(--gutter);}.lang-switch{display:none;}}
@media(max-width:600px){.mobile-lang-switch{right:48px}.logo-svg{width:80px}.hero-content{padding-left:20px;padding-right:20px;}}

/* Ensure content remains visible when JS is unavailable (animations.js
   adds .js to <html> on load — this fallback only fires without it). */
html:not(.js) [data-reveal]{opacity:1;transform:none;}

/* ---------- BRAIN PHOTO VISUAL ---------- */
.brain-visual{
  position:relative;
  min-height:420px;
  overflow:hidden;
}
.brain-photo-wrap{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border:0;
  background:transparent;
}
.brain-photo{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  opacity:.9;
  filter:saturate(1.05) contrast(1.04);
}
.brain-photo-glow{
  position:absolute;
  inset:0;
  display:none;
  pointer-events:none;
}
.brain-flow{position:relative;z-index:2;margin-left:auto;margin-right:5%;}
@media(max-width:940px){
  .brain-visual{min-height:360px;}
  .brain-flow{margin-right:3%;}
}
@media(max-width:860px){
  .brain-visual{flex-direction:column;min-height:0;}
  .brain-photo-wrap{width:min(100%,560px)!important;margin-inline:auto;}
  .brain-flow{margin:24px auto 0;}
}
@media(min-width:861px){

  #tech-ai .brain-visual{
    min-height:0;
    overflow:visible;
    position:static;
    display:contents;
  }

  #tech-ai .brain-photo-wrap{
    position:absolute!important;
    top:50%!important;
    left:50%!important;

    /* BIGGER BRAIN */
    width:600px!important;
    height:600px!important;

    transform:translate(-50%,-50%)!important;

    border:0!important;
    background:transparent!important;
  }

  #tech-ai .brain-photo{
    width:100%!important;
    height:auto!important;
    object-fit:contain;

    /* MORE VISIBLE */
    opacity:1!important;

    /* STRONGER DIGITAL GLOW */
    filter:
      saturate(1.15)
      contrast(1.08)
      drop-shadow(0 0 20px rgba(0,217,255,.35))
      drop-shadow(0 0 45px rgba(0,217,255,.20));
  }

  #tech-ai .brain-flow{
    position:absolute;
    right:var(--gutter);
    top:50%;
    margin:0;
    transform:translateY(-50%);
  }
}


/* ================================================================
   FINAL HERO — new wide AITS brain/data visual
   ================================================================ */
.hero-gif-bg{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
  transform:none !important;
  opacity:1 !important;
  clip-path:inset(72px 0 0 0);
}
.hero-side-shade{
  background:linear-gradient(90deg,rgba(3,7,13,.72) 0%,rgba(3,7,13,.40) 32%,rgba(3,7,13,.12) 58%,rgba(3,7,13,.12) 100%) !important;
}
.hero-vignette{
  background:linear-gradient(180deg,rgba(3,7,13,.18) 0%,rgba(3,7,13,.04) 52%,rgba(3,7,13,.78) 100%) !important;
}
/* Keep the live HTML controls readable without fighting the new visual. */
.hero-content{
  position:absolute !important;
  left:50% !important;
  bottom:72px !important;
  transform:translateX(-50%) !important;
  width:min(900px,88vw) !important;
  max-width:900px !important;
  margin:0 !important;
  padding:0 !important;
  text-align:center !important;
  z-index:6 !important;
  display:none !important;
}
.hero-scroll-cue{z-index:7 !important;}
@media(max-width:940px){
  .hero-content{display:none !important;}
}

/* ===== AITS VISUAL EXPERIENCE UPGRADE ===== */
.hero-gif-bg{z-index:1!important;object-fit:cover!important;object-position:center center!important;filter:saturate(1.08) contrast(1.04) brightness(.92);transform:scale(1.015);image-rendering:auto}
.hero-flow-overlay{position:absolute;inset:0;width:100%;height:100%;z-index:4;pointer-events:none;mix-blend-mode:screen}
.hero-baked-ui-mask{position:absolute;z-index:5;pointer-events:none}
.hero-mask-top{inset:0 0 auto 0;height:86px;background:linear-gradient(180deg,rgba(2,7,14,.98),rgba(2,7,14,.86) 70%,transparent)}
.hero-mask-center{left:27%;right:21%;top:12%;height:29%;background:radial-gradient(ellipse at center,rgba(2,7,14,.93) 0%,rgba(2,7,14,.82) 56%,rgba(2,7,14,0) 82%)}
.hero-mask-bottom{left:30%;right:28%;bottom:0;height:24%;background:linear-gradient(180deg,transparent 0%,rgba(2,7,14,.62) 25%,rgba(2,7,14,.97) 75%,rgba(2,7,14,1) 100%)}
.hero-content{z-index:8!important;max-width:690px!important;left:var(--gutter)!important;right:auto!important;transform:none!important}
.hero-content .hero-eyebrow,.hero-content .hero-title,.hero-content .hero-subline,.hero-content .hero-desc,.hero-content .hero-actions{position:relative}
.hero-content .hero-title{font-size:clamp(42px,4.8vw,72px)}
.hero-actions{position:relative;z-index:20}
.hero-actions .btn,.nav a,.nav button{pointer-events:auto}
.hero-scroll-cue{z-index:10}
/* Photo-backed sections */
.section-photo-bg{position:relative;isolation:isolate;overflow:hidden}
.section-photo-bg::before{content:"";position:absolute;inset:0;z-index:-2;background-image:var(--section-photo);background-size:cover;background-position:center;transform:scale(1.035);opacity:.27;filter:saturate(.9) contrast(1.08);transition:transform 1.2s ease,opacity .8s ease}
.section-photo-bg::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(3,7,13,.98) 0%,rgba(3,7,13,.88) 34%,rgba(3,7,13,.62) 62%,rgba(3,7,13,.9) 100%),radial-gradient(circle at 70% 45%,rgba(0,217,255,.11),transparent 42%);pointer-events:none}
.section-photo-bg:hover::before{transform:scale(1.06);opacity:.34}.bg-about{--section-photo:url('../assets/bg-about.webp')}.bg-ai{--section-photo:url('../assets/bg-ai.webp')}.bg-gis{--section-photo:url('../assets/bg-gis.webp')}.bg-drone{--section-photo:url('../assets/bg-drone.webp')}.bg-datacenter{--section-photo:url('../assets/bg-datacenter.webp')}.bg-networks{--section-photo:url('../assets/bg-networks.webp')}.bg-security{--section-photo:url('../assets/bg-security.webp')}.bg-integrated{--section-photo:url('../assets/bg-integrated.webp')}.bg-monitoring{--section-photo:url('../assets/bg-monitoring.webp')}.bg-contact{--section-photo:url('../assets/bg-contact.webp')}
.tech-deepdives .section-photo-bg{min-height:520px}
.deepdive{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;position:relative}
.deepdive-text,.deepdive-visual{position:relative;z-index:2}
.deepdive-visual{display:flex;align-items:center;justify-content:center;min-height:380px}
.brain-visual{justify-content:center!important;align-items:center!important}
.brain-photo-wrap{width:min(100%,560px)!important;display:flex!important;align-items:center!important;justify-content:center!important;position:relative;left:0!important;transform:none!important}
.brain-photo{width:100%;height:auto;max-height:430px;object-fit:contain;display:block}
.brain-photo-glow{inset:15% 10%!important}
.brain-flow{z-index:3}
@media (max-width:940px){.hero-mask-center{left:5%;right:5%;top:13%;height:32%}.hero-content{left:20px!important;max-width:650px!important}.section-photo-bg::after{background:linear-gradient(180deg,rgba(3,7,13,.94),rgba(3,7,13,.82) 60%,rgba(3,7,13,.96))}.deepdive{grid-template-columns:1fr!important}.deepdive-text,.deepdive-visual{justify-self:center!important}.brain-photo-wrap{max-width:520px!important}}
@media (prefers-reduced-motion:reduce){.hero-flow-overlay{display:none}.section-photo-bg::before{transition:none}}

/* ================================================================
   AITS CREATIVE SYSTEM — cinematic ecosystem upgrade
   ================================================================ */
:root{--cyan:#00d9ff;--blue:#087cff;--green:#16e0b1;--ink:#030811;--panel:rgba(3,10,20,.72)}
html{scroll-behavior:smooth}
body{background:#020711;color:#f4f8ff}
body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:9990;background:radial-gradient(circle at 50% 30%,transparent 0 35%,rgba(0,0,0,.18) 100%)}

/* Navigation: true mathematical center */
.nav-inner{position:relative;width:100%;max-width:var(--container);height:38px;margin:0 auto;display:flex;align-items:center}
.nav-logo{position:absolute!important;left:0;top:50%;transform:translateY(-50%);margin:0!important;z-index:5}
.logo-svg{width:145px;height:auto;display:block}
.nav-links{position:absolute!important;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;gap:28px;white-space:nowrap;z-index:4}
.nav-cta{position:absolute!important;right:0;top:50%;transform:translateY(-50%);z-index:5}
.lang-switch{position:absolute!important;right:178px;top:50%;transform:translateY(-50%);z-index:5}

/* Hero */
.hero{min-height:760px;height:100svh;max-height:980px;position:relative;overflow:hidden;background:#020711}
.hero-gif-bg{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 48%!important;z-index:1!important;filter:saturate(1.08) contrast(1.06) brightness(.78);transform:scale(1.025);clip-path:none!important}
.hero-atmosphere{position:absolute;inset:0;z-index:2;background:linear-gradient(90deg,rgba(1,6,14,.93) 0%,rgba(1,7,16,.68) 24%,rgba(1,7,16,.14) 52%,rgba(1,7,16,.18) 100%),linear-gradient(180deg,rgba(1,6,14,.38),transparent 35%,rgba(1,6,14,.75) 100%);pointer-events:none}
.hero-grid-overlay{z-index:3!important;opacity:.3!important;background-image:linear-gradient(rgba(0,217,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(0,217,255,.07) 1px,transparent 1px)!important;background-size:76px 76px!important}
.hero-vignette{z-index:3!important;background:radial-gradient(circle at 50% 45%,transparent 25%,rgba(1,6,14,.4) 78%,rgba(1,6,14,.85) 100%)!important}
.hero-side-shade{display:none}
.hero-content{position:absolute!important;z-index:8!important;left:4.5vw!important;top:50%!important;bottom:auto!important;transform:translateY(-45%)!important;width:min(520px,32vw)!important;max-width:none!important;margin:0!important;padding:0!important;text-align:left!important;display:block!important}
.hero-eyebrow{font-size:11px!important;letter-spacing:.18em!important;color:var(--cyan)!important}
.hero-title{font-size:clamp(45px,5vw,76px)!important;line-height:.98!important;max-width:540px!important;margin:15px 0 20px!important}.hero-title b{color:#09a9ff;font-weight:800}.hero-title .line{overflow:visible!important}.hero-title .accent{background:linear-gradient(90deg,#09a9ff,#0b68ff,#19e2c2);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.hero-subline{font-size:18px!important;line-height:1.45!important;max-width:500px}.hero-desc{font-size:14px!important;line-height:1.7!important;max-width:500px}.hero-actions{margin-top:25px!important}
.hero-scroll-cue{z-index:9!important}

/* Section atmosphere + background photography */
.section,.deepdive{position:relative;overflow:hidden}
.section::before,.deepdive::before{content:"";position:absolute;inset:0;z-index:0;background-position:center;background-size:cover;background-attachment:fixed;opacity:.22;filter:saturate(1.1) contrast(1.05);transform:scale(1.04);transition:transform 1.5s ease,opacity 1s ease}

/* NOTE: bg-ai.webp/bg-contact.webp are the same source photo (see asset
   manifest), as are bg-gis.webp/bg-why.webp. Dedicated photography for these
   four sections hasn't been supplied yet — until then, distinct color
   treatments keep the two instances of each photo from reading as an
   identical repeat while an approved replacement is sourced. */
.tech-deepdives #tech-ai::before{filter:saturate(1.3) contrast(1.1) hue-rotate(6deg);opacity:.16}
.contact::before{filter:saturate(.7) contrast(1.15) brightness(.85);opacity:.26}
.tech-deepdives #tech-gis::before{filter:saturate(1.25) contrast(1.15) hue-rotate(-8deg);opacity:.20}
.section::after,.deepdive::after{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,rgba(2,7,15,.94),rgba(2,7,15,.72),rgba(2,7,15,.9)),linear-gradient(180deg,rgba(2,7,15,.35),rgba(2,7,15,.85));pointer-events:none}
.section>* ,.deepdive>*{position:relative;z-index:1}
.section.in-view::before,.deepdive.in-view::before{opacity:.3;transform:scale(1)}.about::before{background-image:url('../assets/bg-about.webp')}.monitoring::before{background-image:url('../assets/bg-monitoring.webp')}.contact::before{background-image:url('../assets/bg-contact.webp')}.tech-deepdives #tech-ai::before{background-image:url('../assets/bg-ai.webp')}.tech-deepdives #tech-gis::before{background-image:url('../assets/bg-gis.webp')}.tech-deepdives #tech-drone::before{background-image:url('../assets/bg-drone.webp')}.tech-deepdives #tech-datacenters::before{background-image:url('../assets/bg-datacenter.webp')}.tech-deepdives #tech-networks::before{background-image:url('../assets/bg-networks.webp')}.tech-deepdives #tech-security::before{background-image:url('../assets/bg-security.webp')}.o1{width:210px;height:90px}.o2{width:300px;height:150px;transform:rotate(35deg);animation-duration:17s;animation-direction:reverse}@keyframes orbit{to{transform:rotate(360deg)}}.n1{left:25%;top:28%}.n2{right:22%;top:35%;animation-delay:.4s}.n3{left:31%;bottom:25%;animation-delay:.8s}.n4{right:32%;bottom:20%;animation-delay:1.2s}.n5{left:50%;top:10%;animation-delay:1.6s}@keyframes pulseNode{50%{transform:scale(1.8);box-shadow:0 0 28px #00d9ff}}.integration-meter{margin-top:25px;padding-top:18px;border-top:1px solid rgba(255,255,255,.08);display:flex;align-items:center;justify-content:space-between;font:500 10px "IBM Plex Mono"}.integration-meter strong{font-size:22px;color:var(--cyan)}

/* Footer */
.footer-brand{display:flex;align-items:center;gap:10px;margin-right:auto}.footer-brand em{font:500 9px "IBM Plex Mono";letter-spacing:.13em;color:#71859b;font-style:normal;margin-left:14px}.footer-mark{font-size:26px;color:var(--cyan)}.footer-top{color:var(--cyan)}

/* scroll light */
[data-reveal]{transition:opacity .8s ease,transform .8s cubic-bezier(.2,.8,.2,1)}

@media(max-width:1150px){.nav-links{gap:17px}.nav-links a{font-size:12px}.lang-switch{right:150px}.hero-content{width:40vw!important}}
@media(max-width:940px){.nav-links,.nav-cta,.lang-switch{display:none!important}.nav-toggle{display:flex}.hero{min-height:720px}.hero-content{left:28px!important;width:min(500px,62vw)!important}}
@media(max-width:600px){.hero-gif-bg{object-position:62% center!important}.hero-content{left:20px!important;top:46%!important;width:calc(100% - 40px)!important}.hero-title{font-size:44px!important}.hero-subline{font-size:15px!important}.hero-desc{font-size:12px!important}.footer-brand em{display:none}}

@media(max-width:940px){
  #tech-ai .brain-visual{
    display:flex!important;
    position:relative!important;
    flex-direction:column!important;
    min-height:0!important;
    overflow:visible!important;
  }
  #tech-ai .brain-photo-wrap{
    position:relative!important;
    inset:auto!important;
    width:min(100%,560px)!important;
    height:auto!important;
    margin:0 auto!important;
    transform:none!important;
  }
  #tech-ai .brain-flow{
    position:relative!important;
    right:auto!important;
    top:auto!important;
    margin:24px auto 0!important;
    transform:none!important;
  }
}
/* =========================================================
   AITS — ORIGINAL BRAIN COLORS
   ========================================================= */

#tech-ai .brain-photo-wrap {
    opacity: 1 !important;
    filter: none !important;
    background: transparent !important;
}

#tech-ai .brain-photo {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;

    opacity: 1 !important;

    /* Preserve original image colors */
    filter: none !important;

    object-fit: contain !important;
    object-position: center !important;

    mix-blend-mode: normal !important;
}

/* Keep the Brain bright above the section background */
#tech-ai .brain-photo-wrap,
#tech-ai .brain-photo {
    isolation: isolate;
    z-index: 5 !important;
}

/* Desktop size */
@media (min-width: 861px) {
    #tech-ai .brain-photo-wrap {
        width: 600px !important;
        height: 600px !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
}

/* Mobile */
@media (max-width: 860px) {
    #tech-ai .brain-photo-wrap {
        width: min(100%, 560px) !important;
        height: auto !important;
        position: relative !important;
        inset: auto !important;
        transform: none !important;
    }

    #tech-ai .brain-photo {
        width: 100% !important;
    }
}
/* =========================================================
   AITS — SOFT WIRE FADE
   ========================================================= */

#tech-ai .brain-photo {
    width: 100% !important;
    height: auto !important;
    opacity: 1 !important;

    /* Keep original colors */
    filter: none !important;

    /* Bright center, fading horizontal wires */
    -webkit-mask-image: radial-gradient(
        ellipse 48% 72% at 50% 50%,
        black 0%,
        black 48%,
        rgba(0,0,0,.85) 62%,
        rgba(0,0,0,.35) 78%,
        transparent 100%
    );

    mask-image: radial-gradient(
        ellipse 48% 72% at 50% 50%,
        black 0%,
        black 48%,
        rgba(0,0,0,.85) 62%,
        rgba(0,0,0,.35) 78%,
        transparent 100%
    );
}
/* =========================================================
   AITS HEADER LOGO — FINAL SIZE OVERRIDE
   ========================================================= */

.nav-logo {
    width: 150px !important;
    height: 100px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.nav-logo .logo-img {
    width: 150px !important;
    height: auto !important;
    max-width: none !important;
    max-height: 100px !important;
    display: block !important;
    object-fit: contain !important;
}

/* ================================================================
   AITS — FINAL EN / AR RTL LAYER
   Keep this block LAST so it wins over legacy directional rules.
   ================================================================ */

html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] .nav-logo {
  left: auto !important;
  right: 0 !important;
}

html[dir="rtl"] .nav-cta {
  right: auto !important;
  left: 0 !important;
}

html[dir="rtl"] .lang-switch {
  right: auto !important;
  left: 178px !important;
}

html[dir="rtl"] .nav-links {
  direction: rtl;
}

html[dir="rtl"] .hero-content {
  left: auto !important;
  right: 4.5vw !important;
  margin: 0 !important;
  text-align: right !important;
}

html[dir="rtl"] .hero-actions {
  justify-content: flex-start;
}

html[dir="rtl"] .hero-title,
html[dir="rtl"] .hero-subline,
html[dir="rtl"] .hero-desc,
html[dir="rtl"] .section-head,
html[dir="rtl"] .deepdive-text,
html[dir="rtl"] .about-grid,
html[dir="rtl"] .sf-grid,
html[dir="rtl"] .contact-inner {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .service-list {
  direction: rtl;
  text-align: right;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

html[dir="rtl"] .service-list li {
  padding-left: 0;
  padding-right: 18px;
}

html[dir="rtl"] .service-list li::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .callout {
  border-left: 0;
  border-right: 2px solid var(--cyan);
}

html[dir="rtl"] .flow-horizontal,
html[dir="rtl"] .integration-chain {
  direction: rtl;
}

html[dir="rtl"] .flow-vertical {
  direction: rtl;
}

html[dir="rtl"] .flow-node,
html[dir="rtl"] .flow-chip,
html[dir="rtl"] .chain-node {
  direction: rtl;
  text-align: center;
}

html[dir="rtl"] .keyword-row,
html[dir="rtl"] .flow-inline {
  direction: rtl;
}

html[dir="rtl"] .contact-grid,
html[dir="rtl"] .why-grid {
  direction: rtl;
}

html[dir="rtl"] .site-footer {
  direction: rtl;
}

html[dir="rtl"] .mobile-menu {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .mobile-menu a {
  text-align: right;
}

@media (max-width: 1150px) {
  html[dir="rtl"] .lang-switch {
    right: auto !important;
    left: -68px !important;
  }
}

@media (max-width: 940px) {
  html[dir="rtl"] .hero-content {
    left: auto !important;
    right: 20px !important;
    margin: 0 !important;
    padding-left: var(--gutter) !important;
    padding-right: var(--gutter) !important;
  }

  html[dir="rtl"] .mobile-lang-switch {
    right: auto !important;
    left: 55px !important;
  }

  html[dir="rtl"] .nav-toggle {
    right: auto !important;
    left: 0 !important;
  }

  html[dir="rtl"] .deepdive,
  html[dir="rtl"] .deepdive.reverse {
    direction: rtl;
  }

  html[dir="rtl"] .deepdive-text,
  html[dir="rtl"] .deepdive-visual {
    justify-self: center !important;
  }
}

@media (max-width: 600px) {
  html[dir="rtl"] .mobile-lang-switch {
    right: auto !important;
    left: 48px !important;
  }

  html[dir="rtl"] .hero-content {
    right: 20px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}


/* ================================================================
   AITS — HERO COLLAPSE FIX
   Arabic needs more horizontal room because RTL glyphs are wider.
   At tablet/mobile widths, hide decorative HUD panels and give the
   real HTML hero content the full available width.
   ================================================================ */

@media (max-width: 1100px) {

  .hero-content {
    width: min(760px, calc(100vw - 48px)) !important;
    max-width: 760px !important;
    left: 24px !important;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-42%) !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  html[dir="rtl"] .hero-content {
    left: auto !important;
    right: 24px !important;
    text-align: right !important;
  }

  .hero-title {
    font-size: clamp(44px, 7vw, 64px) !important;
    line-height: 1.04 !important;
    max-width: 100% !important;
  }

  .hero-title .line {
    white-space: nowrap !important;
  }

  .hero-subline,
  .hero-desc {
    max-width: 680px !important;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 700px !important;
    height: 100svh !important;
  }

  .hero-content,
  html[dir="rtl"] .hero-content {
    width: calc(100vw - 40px) !important;
    max-width: none !important;
    left: 20px !important;
    right: 20px !important;
    top: 48% !important;
    transform: translateY(-40%) !important;
  }

  .hero-title {
    font-size: clamp(38px, 10.5vw, 52px) !important;
    line-height: 1.06 !important;
    margin: 12px 0 18px !important;
  }

  .hero-title .line {
    white-space: nowrap !important;
  }

  .hero-subline {
    font-size: 15px !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
  }

  .hero-desc {
    font-size: 12.5px !important;
    line-height: 1.7 !important;
    max-width: 100% !important;
  }

  .hero-actions {
    margin-top: 22px !important;
    gap: 10px !important;
  }

  .hero-actions .btn {
    padding: 13px 18px !important;
  }
}

@media (max-width: 430px) {
  .hero-content,
  html[dir="rtl"] .hero-content {
    width: calc(100vw - 32px) !important;
    left: 16px !important;
    right: 16px !important;
  }

  .hero-title {
    font-size: 36px !important;
  }

  .hero-subline {
    font-size: 14px !important;
  }

  .hero-desc {
    font-size: 12px !important;
  }
}

/* Arabic hero: prevent individual title lines from collapsing into
   vertical word stacks. */
html[dir="rtl"] .hero-title .line {
  display: block !important;
  width: max-content;
  max-width: 100%;
}

html[dir="rtl"] .hero-title {
  overflow: visible !important;
}
/* =========================================================
   AITS — RTL DESKTOP HERO FIX
   Arabic hero text on RIGHT
   HUD panels moved to LEFT
   ========================================================= */

@media (min-width: 1101px) {

    /* -----------------------------------------
       ARABIC HERO CONTENT
       ----------------------------------------- */

    html[dir="rtl"] .hero-content {
        left: auto !important;
        right: 4.5vw !important;

        width: min(760px, 48vw) !important;
        max-width: 760px !important;

        text-align: right !important;

        top: 50% !important;
        transform: translateY(-45%) !important;

        z-index: 8 !important;
    }


    /* -----------------------------------------
       ARABIC TITLE
       ----------------------------------------- */

    html[dir="rtl"] .hero-title {
        direction: rtl !important;
        text-align: right !important;

        max-width: 760px !important;

        line-height: 1.05 !important;

        overflow: visible !important;
    }

    html[dir="rtl"] .hero-title .line {
        display: block !important;

        direction: rtl !important;
        text-align: right !important;

        white-space: nowrap !important;

        overflow: visible !important;
    }


    /* -----------------------------------------
       ARABIC SUBTITLE + DESCRIPTION
       ----------------------------------------- */

    html[dir="rtl"] .hero-subline,
    html[dir="rtl"] .hero-desc {
        direction: rtl !important;
        text-align: right !important;

        max-width: 700px !important;
    }


    /* -----------------------------------------
       BUTTONS
       ----------------------------------------- */

    html[dir="rtl"] .hero-actions {
        direction: rtl !important;

        justify-content: flex-start !important;
    }
}
/* =========================================================
   AITS — ARABIC BRAIN FLOW POSITION ONLY
   Do not change anything else
   ========================================================= */

@media (min-width: 861px) {

    html[dir="rtl"] #tech-ai .brain-flow {
        right: auto !important;
        left: var(--gutter) !important;
    }

}
/* =========================================================
   DRONE FLOW — RTL LEFT ARROW
   ========================================================= */

html[dir="rtl"] #tech-drone .flow-arrow-h::after {
    right: auto !important;
    left: 0 !important;

    border-top: none !important;
    border-right: none !important;

    border-left: 1.2px solid var(--cyan) !important;
    border-bottom: 1.2px solid var(--cyan) !important;

    transform: translateY(-50%) rotate(45deg) !important;
}

@keyframes chainDotRTL {
    0% {
        left: calc(100% - 4px);
        right: auto;
    }

    100% {
        left: -1px;
        right: auto;
    }
}
/* =========================================================
   FOOTER — RESET + ARABIC MIRROR
   ========================================================= */

/* إعادة الفوتر لوضعه الطبيعي */
.site-footer {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;

    width: auto !important;
    min-height: 0 !important;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;

    color: var(--soft-gray) !important;
}

/* العربية فقط — Mirror للإنجليزية */
html[dir="rtl"] .site-footer {
    direction: rtl !important;
}

/* إلغاء جميع التموضعات القديمة */
html[dir="rtl"] .site-footer .footer-brand,
html[dir="rtl"] .site-footer .footer-copy,
html[dir="rtl"] .site-footer .footer-top {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;

    opacity: 1 !important;
    visibility: visible !important;
}

/* النص العربي */
html[dir="rtl"] .site-footer .footer-copy {
    direction: rtl !important;
    text-align: center !important;
    white-space: nowrap !important;
}

/* رابط العودة */
html[dir="rtl"] .site-footer .footer-top {
    direction: rtl !important;
    white-space: nowrap !important;
}
/* =========================================================
   ARABIC FOOTER — AITS BLOCK ON THE RIGHT
   ========================================================= */

html[dir="rtl"] .site-footer {
    direction: ltr !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

/* AITS + الشعار + الوصف — أقصى اليمين */
html[dir="rtl"] .site-footer .footer-brand {
    order: 3 !important;
    direction: rtl !important;
    text-align: right !important;
}

/* حقوق النشر — المنتصف */
html[dir="rtl"] .site-footer .footer-copy {
    order: 2 !important;
    direction: rtl !important;
    text-align: center !important;
}

/* العودة للأعلى — أقصى اليسار */
html[dir="rtl"] .site-footer .footer-top {
    order: 1 !important;
    direction: rtl !important;
}
/* =========================================================
   ARABIC FOOTER — EMPTY CENTER
   ========================================================= */

html[dir="rtl"] .site-footer {
    direction: ltr !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

/* العودة للأعلى — أقصى اليسار */
html[dir="rtl"] .site-footer .footer-top {
    order: 1 !important;
    margin: 0 !important;
    direction: rtl !important;
}

/* AITS + الشعار — أقصى اليمين */
html[dir="rtl"] .site-footer .footer-brand {
    order: 3 !important;
    margin: 0 !important;
    direction: rtl !important;
}
/* =========================================================
   ARABIC FOOTER — COPYRIGHT + BACK TO TOP ON LEFT
   CENTER EMPTY
   ========================================================= */

html[dir="rtl"] .site-footer {
    position: relative !important;
}
/* AITS — أقصى اليمين */
html[dir="rtl"] .site-footer .footer-brand {
    position: absolute !important;
    right: var(--gutter) !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    margin: 0 !important;
    direction: rtl !important;
}
/* =========================================================
   ARABIC FOOTER — FINAL FIX / NO OVERLAP
   ========================================================= */

@media (min-width: 941px) {

    html[dir="rtl"] .site-footer {
        position: relative !important;
        display: block !important;
        min-height: 60px !important;
        font-size: 12.5px !important;
    }

    /* حقوق النشر — يسار الشاشة */
    html[dir="rtl"] .site-footer .footer-copy {
        position: absolute !important;
        left: 180px !important;
        right: auto !important;
        top: 50% !important;
        transform: translateY(-50%) !important;

        display: block !important;
        width: auto !important;
        max-width: 700px !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 12.5px !important;
        line-height: 1.5 !important;
        white-space: nowrap !important;

        direction: rtl !important;
        text-align: left !important;
    }

    /* العودة للأعلى — مباشرة إلى يسار حقوق النشر */
    html[dir="rtl"] .site-footer .footer-top {
        position: absolute !important;
        left: 40px !important;
        right: auto !important;
        top: 50% !important;
        transform: translateY(-50%) !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 12.5px !important;
        line-height: 1.5 !important;
        white-space: nowrap !important;

        direction: rtl !important;
    }

    /* AITS + الشعار — أقصى اليمين */
    html[dir="rtl"] .site-footer .footer-brand {
        position: absolute !important;
        right: var(--gutter) !important;
        left: auto !important;
        top: 50% !important;
        transform: translateY(-50%) !important;

        margin: 0 !important;
        padding: 0 !important;
    }
}
/* REMOVE BROKEN FOOTER IMAGE */
.site-footer .footer-brand img {
    display: none !important;
}
/* =========================================================
   ARABIC FONT — ONLY
   ========================================================= */

html[dir="rtl"] body,
html[dir="rtl"] p,
html[dir="rtl"] li,
html[dir="rtl"] a,
html[dir="rtl"] span,
html[dir="rtl"] button {
    font-family: 'Segoe UI', sans-serif !important;
    letter-spacing: 0 !important;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5 {
    font-family: 'Segoe UI', sans-serif !important;
    letter-spacing: 0 !important;
}
/* Accessibility: keyboard-only skip navigation, without changing page layout. */
.skip-link{position:fixed;z-index:20000;top:8px;left:8px;padding:12px 16px;border:2px solid #00D9FF;border-radius:6px;background:#051A2A;color:#fff;text-decoration:none;font-weight:700;transform:translateY(-180%);transition:none}
.skip-link:focus-visible{transform:translateY(0);outline:3px solid #fff;outline-offset:2px}
html[dir="rtl"] .skip-link{left:auto;right:8px}

/* ===== improvements-v2.css ===== */
/* AITS stage-two: applications, inquiry composer, stronger mobile hero. */
.outcomes-section{position:relative;isolation:isolate;padding:clamp(72px,9vw,125px) var(--gutter,5vw);background:linear-gradient(145deg,#061426,#071b31 55%,#06101e)}
.outcomes-section::before{content:"";position:absolute;inset:0;opacity:.18;pointer-events:none;background-image:linear-gradient(#19a6d233 1px,transparent 1px),linear-gradient(90deg,#19a6d233 1px,transparent 1px);background-size:54px 54px}
.outcomes-inner{position:relative;max-width:1300px;margin:auto}
.outcomes-heading{max-width:740px;margin:0 0 42px}
.outcomes-heading .section-note{max-width:700px;line-height:1.75}
.outcomes-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.outcome-card{display:flex;flex-direction:column;min-height:338px;gap:17px;padding:clamp(24px,3vw,38px);border:1px solid #2c6c8359;border-radius:16px;background:linear-gradient(155deg,#0c2f49e0,#051326f5);box-shadow:0 18px 44px #0003;transition:transform .25s,border-color .25s}
.outcome-card:hover,.outcome-card:focus-within{transform:translateY(-5px);border-color:#00d9ff}
.outcome-card-top{display:flex;align-items:center;justify-content:space-between;color:#7de4ff}
.outcome-index{font:600 11px "IBM Plex Mono",monospace;letter-spacing:.12em}
.outcome-symbol{font-size:25px}
.outcome-card h3{color:#f5fbff;font-size:clamp(21px,2vw,27px);line-height:1.3;margin:12px 0 0}
.outcome-card p{color:#b7c8d8;font-size:15px;line-height:1.8;margin:0}
.outcome-link{align-self:flex-start;margin-top:auto;color:#79e6ff;font-size:14px;font-weight:700;text-underline-offset:5px}
.outcome-link:focus-visible{outline:2px solid white;outline-offset:5px}
.outcomes-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #5bb0cd38;margin-top:36px;padding-top:30px}
.outcomes-bottom span{color:#dfebf6;font-size:clamp(16px,2vw,22px);font-weight:600}
html[dir="rtl"] .outcome-card,html[dir="rtl"] .outcomes-heading{text-align:right}
html[dir="rtl"] .outcomes-bottom{direction:rtl}

.contact-inner{max-width:960px}
.project-brief{text-align:start;border:1px solid #4aa9c75a;background:linear-gradient(135deg,#061c30f2,#0a172af0);border-radius:18px;margin:46px 0 35px;padding:clamp(22px,4vw,46px);box-shadow:0 22px 65px #0003}
.project-brief-head{margin-bottom:24px}
.project-brief-head h3{font-size:clamp(24px,3vw,35px);line-height:1.2;color:#f5fbff;margin:9px 0 8px}
.project-brief-head p:last-child{font-size:15px;line-height:1.6;color:#adbed0}
.brief-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.brief-fields label{display:flex;flex-direction:column;gap:9px;min-width:0;color:#d9e7f3;font-size:14px;font-weight:600}
.brief-wide{grid-column:1/-1}
.brief-fields input,.brief-fields select,.brief-fields textarea{width:100%;box-sizing:border-box;min-width:0;background:#020d1be0;border:1px solid #496477;border-radius:9px;padding:13px 14px;color:white;font-family:inherit;font-size:15px;line-height:1.5;letter-spacing:normal;outline:none;transition:border-color .2s,box-shadow .2s}
.brief-fields select{cursor:pointer;color-scheme:dark}
.brief-fields textarea{resize:vertical;min-height:118px}
.brief-fields input:focus-visible,.brief-fields select:focus-visible,.brief-fields textarea:focus-visible{border-color:#00d9ff;box-shadow:0 0 0 3px #00d9ff33}
.brief-disclaimer{color:#b9c9d7;font-size:13px;line-height:1.7;margin:20px 0}
.brief-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px}
.brief-actions button{cursor:pointer}
.brief-email{color:#95e8ff;font-weight:600;text-underline-offset:4px}
html[dir="rtl"] .project-brief{text-align:right}
html[dir="rtl"] .brief-fields input,html[dir="rtl"] .brief-fields textarea{text-align:right;direction:rtl}
html[dir="rtl"] .brief-fields select{direction:rtl}
@media(max-width:940px){.outcomes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.outcome-card:last-child{grid-column:1/-1;min-height:260px}}
@media(max-width:600px){
.hero::after{content:"";position:absolute;inset:0;z-index:5;pointer-events:none;background:linear-gradient(180deg,#0208122e 0%,#02081245 18%,#020812ad 37%,#020812e3 77%,#020812ad 100%)}
.hero-content,html[dir="rtl"] .hero-content{position:absolute!important;top:auto!important;bottom:clamp(72px,10vh,112px)!important;transform:none!important;left:16px!important;right:16px!important;width:calc(100% - 32px)!important;max-width:none!important;margin:0!important;padding:0!important;z-index:8!important}
.hero-title{font-size:clamp(34px,9vw,42px)!important;line-height:1.1!important;text-shadow:0 3px 18px #000b}
.hero-eyebrow{font-size:10px!important;line-height:1.6!important;text-shadow:0 2px 8px #000}
.hero-subline{font-size:14px!important;line-height:1.55!important;text-shadow:0 2px 10px #000}
.hero-desc{font-size:13px!important;line-height:1.65!important;color:#dae7f1!important;text-shadow:0 2px 10px #000}
.hero-actions{gap:10px!important}
.hero-actions .btn{font-size:12px!important;padding:12px 13px!important}
html[dir="rtl"] .hero-title .line{width:auto!important;max-width:100%!important}
.outcomes-section{padding:70px 20px}
.outcomes-grid{grid-template-columns:1fr;gap:13px}
.outcome-card,.outcome-card:last-child{grid-column:auto;min-height:275px}
.outcomes-bottom{flex-direction:column;align-items:stretch}
.outcomes-bottom .btn{text-align:center}
.brief-fields{grid-template-columns:1fr;gap:17px}
.project-brief{margin:28px 0;padding:22px 18px}
.brief-actions{align-items:stretch;flex-direction:column}
.brief-actions .btn{text-align:center}
.contact-inner{max-width:100%}
}
@media(max-width:360px){.hero-content,html[dir="rtl"] .hero-content{bottom:56px!important}.hero-title{font-size:34px!important}.hero-actions{flex-wrap:wrap}.hero-actions .btn{width:100%;text-align:center}}
@media(prefers-reduced-motion:reduce){.outcome-card{transition:none!important}.outcome-card:hover{transform:none!important}}

/* ===== improvements-v3.css ===== */
/* AITS v3 — visitor guidance and accessible inquiries */
.service-inquiry-link{
  display:inline-flex;align-items:center;gap:8px;align-self:flex-start;
  max-width:max-content;margin:26px 0 0;padding:11px 15px;
  font-size:13px;font-weight:700;line-height:1.4;letter-spacing:.015em;
  color:#a1eeff;background:rgba(0,103,145,.13);
  border:1px solid rgba(51,181,218,.48);border-radius:9px;
  text-decoration:none;transition:background .2s,border-color .2s;
}
.service-inquiry-link:hover{color:#fff;background:rgba(0,130,170,.25);border-color:#00d9ff;}
.service-inquiry-link:focus-visible{outline:3px solid #fff;outline-offset:3px;}
html[dir="rtl"] .service-inquiry-link{letter-spacing:0;margin-inline-start:0;}
#projectBriefPanel{scroll-margin-top:105px}
#faq{scroll-margin-top:105px}
.inquiry-status{min-height:1.7em;margin:13px 0 0;color:#a9f1da;font-size:13px;line-height:1.6;}
.brief-actions .btn:focus-visible{outline:3px solid #fff;outline-offset:4px;}
.aits-faq{position:relative;padding:clamp(72px,9vw,125px) var(--gutter,5vw);
  background:linear-gradient(145deg,#040b16,#061727 50%,#071a29);}
.faq-inner{display:grid;grid-template-columns:minmax(250px,.75fr) minmax(350px,1.25fr);
  gap:clamp(30px,7vw,110px);align-items:start;max-width:1250px;margin:0 auto;}
.faq-intro{position:sticky;top:135px;}
.faq-intro h2{font-size:clamp(33px,3.6vw,58px);line-height:1.15;color:#f5fbff;
  margin:12px 0 20px;}
.faq-intro>p:not(.eyebrow){color:#b6c8d9;font-size:16px;line-height:1.8;
  max-width:380px;margin:0 0 30px;}
.faq-items{border-top:1px solid rgba(105,179,207,.28);}
.faq-item{border-bottom:1px solid rgba(105,179,207,.28);}
.faq-item summary{list-style:none;position:relative;cursor:pointer;
  padding:26px 48px 26px 0;font-size:clamp(16px,1.7vw,19px);
  font-weight:700;color:#f5fbff;line-height:1.5;}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:"+";position:absolute;top:22px;right:8px;
  font:300 29px/1.2 sans-serif;color:#46e3ff;transition:transform .2s;}
.faq-item[open] summary::after{content:"−";}
.faq-item summary:hover{color:#80e5ff;}
.faq-item summary:focus-visible{outline:3px solid #9ce9ff;outline-offset:-4px;}
.faq-item p{max-width:720px;color:#b8c8d8;font-size:15px;line-height:1.8;
  padding:0 30px 25px 0;margin:0;}
html[dir="rtl"] .faq-inner{text-align:right;}
html[dir="rtl"] .faq-item summary{padding:26px 0 26px 48px;}
html[dir="rtl"] .faq-item summary::after{right:auto;left:8px;}
html[dir="rtl"] .faq-item p{padding:0 0 25px 30px;}
@media(max-width:900px){.faq-inner{grid-template-columns:1fr;gap:26px}
  .faq-intro{position:static}.faq-intro>p:not(.eyebrow){max-width:690px}}
@media(max-width:600px){.aits-faq{padding:72px 20px;}
 .faq-item summary{padding-top:22px;padding-bottom:22px}
 .faq-item summary::after{top:19px}
 .service-inquiry-link{margin-top:20px}
}
@media(prefers-reduced-motion:reduce){.faq-item summary::after,
  .service-inquiry-link{transition:none!important}}

/* Keep the established logo while improving its contrast on the dark navigation bar. */
.nav-logo .logo-img{filter:brightness(1.32) saturate(1.08) drop-shadow(0 0 9px rgba(0,188,235,.18));}

/* ===== functional-clarity.css ===== */
/* All metrics in these panels are educational examples, not telemetry. */
.demo-truth{display:table;max-width:calc(100% - 40px);margin:-12px auto 26px;
  padding:9px 18px;border:1px solid rgba(87,220,255,.55);border-radius:99px;
  background:rgba(4,22,36,.94);color:#a8edff;font:700 11px/1.5 "IBM Plex Mono",monospace;
  text-transform:uppercase;letter-spacing:.07em;text-align:center}
.demo-guide{position:relative;z-index:3;width:min(1100px,100%);margin:44px auto 0;
  padding:clamp(24px,4vw,42px);border:1px solid rgba(56,163,195,.34);
  border-radius:17px;background:linear-gradient(130deg,rgba(4,20,36,.97),rgba(9,34,56,.95));
  box-shadow:0 22px 65px rgba(0,0,0,.23);}
.demo-guide-intro{max-width:850px}
.demo-guide-intro h3{margin:12px 0 14px;color:#fff;font-size:clamp(24px,2.7vw,37px);line-height:1.22}
.demo-guide-intro>p:last-child{margin:0;color:#c2d0de;font-size:14px;line-height:1.8}
.demo-pickers{display:flex;flex-wrap:wrap;gap:10px;margin:28px 0 22px}
.demo-pill{border:1px solid #38576d;border-radius:30px;background:#102a43;color:#cbdcea;
  padding:10px 17px;min-height:42px;cursor:pointer;font:600 13px/1.2 inherit;
  font-family:inherit;font-size:13px;font-weight:600;line-height:1.2;
  transition:background .16s,border-color .16s}
.demo-pill:hover,.demo-pill.is-active{background:#08547c;border-color:#00d9ff;color:#fff}
.demo-pill:focus-visible{outline:3px solid white;outline-offset:3px}
.demo-insight{display:grid;grid-template-columns:auto 1fr;align-items:start;gap:17px;
  padding:24px;border:1px solid rgba(112,192,219,.22);border-radius:13px;
  background:rgba(2,10,22,.5);min-height:150px}
.demo-insight-icon{width:40px;height:40px;border:1px solid #368fb0;border-radius:10px;
 display:grid;place-items:center;color:#6ce7ff;font-size:25px}
.demo-insight h4{color:#f7fdff;font-size:clamp(18px,2vw,23px);line-height:1.4;margin:0 0 9px}
.demo-insight p{color:#ccdae4;font-size:14px;line-height:1.75;margin:0}
.demo-outcome{margin-top:12px!important}
.demo-outcome strong{color:#8cefff}
.demo-guide .service-inquiry-link{margin-top:23px}
#mission-control .mission-status .status-line.demo-selected{border-color:#00d9ff!important;
  background:rgba(0,195,245,.1);box-shadow:inset 3px 0 0 #00d9ff}
html[dir="rtl"] #mission-control .mission-status .status-line.demo-selected{box-shadow:inset -3px 0 0 #00d9ff}
html[dir="rtl"] .demo-guide{text-align:right}
html[dir="rtl"] .demo-insight{direction:rtl}
@media(max-width:600px){
 .demo-truth{font-size:10px;line-height:1.5;max-width:calc(100% - 28px);border-radius:12px}
 .demo-guide{padding:23px 17px;margin-top:26px}
 .demo-pickers{gap:8px;margin:20px 0}
 .demo-pill{padding:10px 13px;font-size:12px}
 .demo-insight{grid-template-columns:1fr;padding:18px;gap:10px}
 .demo-insight-icon{width:34px;height:34px}
}
@media(prefers-reduced-motion:reduce){.demo-pill{transition:none}}

/* Keep targeted content below the fixed navbar. */
html{scroll-padding-top:96px}
section[id],article[id],#projectBriefPanel,.demo-guide{scroll-margin-top:105px}
@media(max-width:940px){html{scroll-padding-top:85px}
 section[id],article[id],#projectBriefPanel,.demo-guide{scroll-margin-top:91px}}
/* Compact supplemental navigation that makes helpful sections discoverable. */
.site-footer .footer-quick-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 17px;}
.site-footer .footer-quick-links a{font-size:12px;font-weight:600;line-height:1.5;color:#b5cad9;text-decoration:none;white-space:nowrap;}
.site-footer .footer-quick-links a:hover{color:#8defff;text-decoration:underline;}
.site-footer .footer-quick-links a:focus-visible{outline:2px solid #fff;outline-offset:4px;}
@media(max-width:700px){.site-footer .footer-quick-links{width:100%;justify-content:center;order:3;margin:14px 0 0;}}

/* Definitive footer layout: replaces overlapping legacy absolute positioning. */
.site-footer,html[dir="rtl"] .site-footer{
  position:relative!important;display:grid!important;direction:inherit!important;
  grid-template-columns:minmax(110px,auto) minmax(0,1fr) minmax(100px,auto)!important;
  align-items:center!important;justify-items:center!important;gap:16px 22px!important;
  width:100%!important;box-sizing:border-box!important;min-height:0!important;
  padding:27px clamp(15px,4vw,55px)!important;
  margin:0!important;transform:none!important;
}
.site-footer .footer-brand,html[dir="rtl"] .site-footer .footer-brand{
  position:static!important;grid-row:1!important;grid-column:1!important;
  display:flex!important;align-items:center!important;justify-self:start!important;
  gap:8px!important;left:auto!important;right:auto!important;top:auto!important;
  bottom:auto!important;transform:none!important;margin:0!important;padding:0!important;
  width:auto!important;order:0!important;white-space:normal!important;
}
.site-footer .footer-copy,html[dir="rtl"] .site-footer .footer-copy{
  position:static!important;grid-row:1!important;grid-column:2!important;
  justify-self:center!important;left:auto!important;right:auto!important;top:auto!important;
  bottom:auto!important;transform:none!important;margin:0!important;padding:0!important;
  width:auto!important;max-width:100%!important;white-space:normal!important;
  text-align:center!important;line-height:1.65!important;font-size:12px!important;order:0!important;
}
.site-footer .footer-top,html[dir="rtl"] .site-footer .footer-top{
  position:static!important;grid-row:1!important;grid-column:3!important;
  justify-self:end!important;left:auto!important;right:auto!important;top:auto!important;
  bottom:auto!important;transform:none!important;margin:0!important;padding:0!important;
  order:0!important;white-space:normal!important;
}
.site-footer .footer-quick-links,html[dir="rtl"] .site-footer .footer-quick-links{
  grid-row:2!important;grid-column:1/-1!important;justify-self:center!important;
  width:100%!important;margin:0!important;order:0!important;
}
@media(max-width:850px){
 .site-footer,html[dir="rtl"] .site-footer{
   grid-template-columns:minmax(0,1fr)!important;gap:13px!important;
   padding:25px 18px 29px!important;
 }
 .site-footer .footer-brand,html[dir="rtl"] .site-footer .footer-brand{
   grid-row:1!important;grid-column:1!important;justify-self:center!important;
 }
 .site-footer .footer-copy,html[dir="rtl"] .site-footer .footer-copy{
   grid-row:2!important;grid-column:1!important;justify-self:center!important;
   max-width:320px!important;
 }
 .site-footer .footer-top,html[dir="rtl"] .site-footer .footer-top{
   grid-row:3!important;grid-column:1!important;justify-self:center!important;
 }
 .site-footer .footer-quick-links,html[dir="rtl"] .site-footer .footer-quick-links{
   grid-row:4!important;grid-column:1!important;
 }
}

/* Honest fallback where interactive modules require JavaScript. */
.no-js-note{margin:20px 0;padding:18px 20px;border:1px solid #32758d;border-radius:10px;background:#061c30;color:#dceefa;font-size:14px;line-height:1.7}
.no-js-note a{color:#8be9ff;text-decoration:underline;text-underline-offset:3px}

/* ===== motion-control.css ===== */
/* Optional 3D corridor motion preference, without legacy photo parallax. */
/* Accessible visitor preference control. This is optional, not an overlay. */
.motion-preference {
  grid-column:1/-1!important;
  grid-row:3!important;
  justify-self:center!important;
  display:flex;align-items:center;justify-content:center;
  width:100%;margin:0!important;
}
.motion-toggle {
  appearance:none;display:inline-flex;align-items:center;justify-content:center;
  gap:11px;min-height:40px;padding:8px 16px;
  font:600 12px/1.4 inherit;font-family:inherit;font-size:12px;font-weight:600;
  color:#c8e4f1;background:rgba(15,42,64,.72);border:1px solid rgba(85,160,187,.55);
  border-radius:30px;cursor:pointer;transition:border-color .2s,background .2s;
}
.motion-toggle:hover{border-color:#6fe5ff;background:rgba(22,72,95,.75);}
.motion-toggle:focus-visible{outline:3px solid #fff;outline-offset:4px;}
.motion-toggle[aria-pressed="true"] .motion-led{background:#58e5d1;box-shadow:0 0 10px rgba(88,229,209,.6);}
.motion-led{width:8px;height:8px;border-radius:50%;background:#8293a6;}
.motion-toggle[disabled]{opacity:.58;cursor:not-allowed;}
.motion-status{min-width:22px;color:#a3eeff;font:700 11px/1 "IBM Plex Mono",monospace;}
html[dir="rtl"] .motion-toggle{direction:rtl;}
@media(max-width:850px) {
  .motion-preference{grid-row:5!important;grid-column:1!important;margin:0!important;}
}

.motion-preference[hidden]{display:none!important;}
@media(prefers-reduced-motion:reduce){.motion-toggle{transition:none;}}

/* ===== journey-3d.css ===== */
/* AITS V6: a visibly immersive, purpose-driven six-service 3D photo journey.
   Reuses the original WebP photos (no new image downloads beyond existing site).
   Static accessible photo grid when animation is disabled or JavaScript unavailable. */
.scroll-journey {
  position:relative;z-index:1;width:100%;max-width:none;
  margin:0;padding:70px 24px 75px;box-sizing:border-box;
  background:radial-gradient(ellipse at 50% 26%,#133652 0%,#061526 43%,#020812 100%);
  color:#fff;
}
.journey-sticky {
  position:relative;width:100%;max-width:1360px;margin:0 auto;
  min-height:500px;display:flex;flex-direction:column;align-items:center;justify-content:center;
}
.journey-intro {max-width:920px;text-align:center;position:relative;z-index:15;}
.journey-intro .eyebrow{margin-bottom:9px;letter-spacing:.18em;}
.journey-intro h2{font-size:clamp(29px,3.6vw,52px);line-height:1.1;letter-spacing:-.025em;text-wrap:balance;}
.journey-hint{color:#ccdfed;font-size:clamp(12px,1.4vw,15px);line-height:1.6;margin:12px auto 0;max-width:690px;}
.journey-stage {
  position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;max-width:1200px;width:100%;margin:30px auto;perspective:1200px;
}
.journey-card{
  position:relative;display:block;overflow:hidden;isolation:isolate;
  width:100%;height:290px;min-width:0;border:1px solid rgba(91,197,233,.5);
  border-radius:22px;background:#0c2a3f;color:#fff;
  box-shadow:0 20px 70px rgba(0,0,0,.45);
  text-decoration:none;will-change:auto;
}
.journey-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;}
.journey-card-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,5,15,.92),rgba(0,8,20,.12) 65%,rgba(0,8,20,.2));}
.journey-card-meta{
  position:absolute;bottom:0;left:0;right:0;padding:clamp(18px,3vw,34px);
  display:flex;flex-direction:column;gap:7px;z-index:1;
}
.journey-num{color:#9eeefe;font:700 12px "IBM Plex Mono",monospace;letter-spacing:.18em;}
.journey-card-meta strong{color:#fff;font-size:clamp(19px,2.2vw,30px);font-weight:800;line-height:1.25;max-width:92%;}
.journey-card-arrow{position:absolute;bottom:30px;right:28px;display:grid;place-items:center;
  width:40px;height:40px;border-radius:50%;border:1px solid #8ee8ff;font-size:25px;color:#d4faff;}
.journey-card:hover{border-color:#00d9ff;box-shadow:0 22px 74px rgba(0,170,215,.3);}
.journey-card:focus-visible{outline:3px solid #fff;outline-offset:5px;}
.journey-controls{position:relative;z-index:15;display:flex;align-items:center;justify-content:center;gap:clamp(12px,2.6vw,30px);margin:10px auto 0;}
.journey-step{cursor:pointer;min-height:42px;padding:9px 17px;border-radius:24px;
  border:1px solid rgba(100,195,229,.55);background:#0c2b46;color:#e7faff;
  font-family:inherit;font-size:13px;font-weight:700;transition:background .2s,border-color .2s;}
.journey-step:hover{background:#135173;border-color:#00d9ff;}
.journey-step:focus-visible{outline:3px solid white;outline-offset:3px;}
.journey-step:disabled{opacity:.4;cursor:not-allowed;}
.journey-counter{min-width:74px;color:#a4ecff;font:700 13px "IBM Plex Mono",monospace;text-align:center;}
.journey-progress-track{position:relative;z-index:15;width:min(400px,66vw);height:3px;border-radius:9px;background:#35617a;margin:16px auto 0;overflow:hidden;}
.journey-progress-bar{height:100%;width:16.67%;background:linear-gradient(90deg,#00a8f0,#61e7fc);border-radius:9px;}
.journey-skip{position:relative;z-index:15;display:inline-flex;align-items:center;justify-content:center;
  margin:17px auto 0;padding:8px 14px;color:#b3e3f4;font-size:12px;font-weight:600;text-decoration:underline;text-underline-offset:4px;}
.journey-skip:focus-visible{outline:3px solid white;outline-offset:4px;}
/* The strong scroll-driven mode */
html[data-3d-active="true"] .scroll-journey {
  height:460svh;min-height:2400px;margin:0;padding:0;overflow:clip;
}
html[data-3d-active="true"] .journey-sticky {
  position:sticky;top:0;height:100svh;min-height:620px;
  max-width:none;padding:clamp(74px,9vh,110px) 20px 18px;overflow:hidden;
  box-sizing:border-box;justify-content:flex-start;
}
html[data-3d-active="true"] .journey-intro{flex:0 0 auto;}
html[data-3d-active="true"] .journey-stage{
  display:block;perspective:1000px;perspective-origin:50% 55%;
  width:100%;max-width:1280px;height:clamp(280px,52svh,530px);
  margin:clamp(10px,2.6vh,25px) auto 0;flex:0 0 auto;overflow:visible;
}
html[data-3d-active="true"] .journey-card {
  position:absolute;left:50%;top:50%;height:94%;width:min(66vw,760px);
  max-height:520px;margin:0;transform:translate(-50%,-50%);
  transform-style:preserve-3d;backface-visibility:hidden;
  transition:opacity .1s linear;will-change:transform,opacity;
}
html[data-3d-active="true"] .journey-card img{filter:saturate(1.05) contrast(1.05);}
html[data-3d-active="true"] .journey-controls{margin-top:clamp(5px,1.7vh,17px);}
html[data-3d-active="true"] .journey-skip{margin-top:6px;}
html[data-3d-active="true"] .journey-card-meta strong{font-size:clamp(23px,2.5vw,34px);}
html[dir="rtl"] .journey-card-meta{text-align:right;direction:rtl;}
html[dir="rtl"] .journey-card-arrow{right:auto;left:22px;}
html[dir="rtl"] .journey-controls{direction:rtl;}
@media(max-width:850px){
  .journey-stage{grid-template-columns:repeat(2,minmax(0,1fr));}
  html[data-3d-active="true"] .scroll-journey{height:450svh;min-height:2500px;}
  html[data-3d-active="true"] .journey-sticky{padding:85px 12px 10px;min-height:0;}
  html[data-3d-active="true"] .journey-stage{height:clamp(300px,48svh,450px);}
  html[data-3d-active="true"] .journey-card{width:min(85vw,550px);height:92%;}
  html[data-3d-active="true"] .journey-card-meta strong{font-size:clamp(20px,5vw,27px);}
}
@media(max-width:520px){
  .scroll-journey{padding:65px 15px;}
  .journey-stage{grid-template-columns:1fr;}
  .journey-card{height:265px;}
  .journey-intro h2{font-size:clamp(27px,7vw,34px);}
  .journey-hint{font-size:12px;margin-top:7px;max-width:340px;}
  html[data-3d-active="true"] .journey-sticky{padding:85px 8px 16px;}
  html[data-3d-active="true"] .journey-stage{height:clamp(285px,46svh,405px);margin:15px auto 0;}
  html[data-3d-active="true"] .journey-card{width:84vw;max-width:470px;border-radius:17px;}
  .journey-card-meta{padding:20px;}
  .journey-card-meta strong{font-size:22px;}
  .journey-card-arrow{width:34px;height:34px;bottom:19px;right:16px;font-size:20px;}
  .journey-controls{margin:4px 0 0;gap:12px;}
  .journey-step{padding:9px 12px;font-size:12px;}
  .journey-skip{margin:7px auto 0;}
}
@media(max-height:670px){
 html[data-3d-active="true"] .journey-sticky{padding-top:68px;}
 html[data-3d-active="true"] .journey-intro h2{font-size:clamp(25px,3.2vw,37px)}
 html[data-3d-active="true"] .journey-stage{height:44svh;}
}
@media(prefers-reduced-motion:reduce){
 .journey-card,.journey-step{transition:none!important;will-change:auto!important;}
}

/* V8: compact touch journey, clear project process and calmer visual hierarchy. */
.hero-desc{max-width:560px;color:#c8d8e6!important;font-size:17px;line-height:1.7}
.hero-side-shade{background:linear-gradient(90deg,rgba(2,8,18,.86),rgba(2,8,18,.3) 65%,transparent)!important}
.hero-eyebrow{max-width:530px;line-height:1.7}
.journey-sticky .motion-preference{width:auto;margin:12px 0 0!important}
.journey-sticky .motion-toggle{min-height:44px}
.motion-reason{max-width:400px;margin:10px auto 0;color:#b8dce8;font-size:13px;line-height:1.6;text-align:center}
.journey-stage:focus-visible{outline:2px solid #7fe9ff;outline-offset:5px;border-radius:18px}
html[data-3d-active="true"] .scroll-journey{height:340svh;min-height:2000px}
.privacy-inline{font-size:13px;line-height:1.8;color:#c6d8e6;margin:12px 0 20px}
.privacy-inline a{text-decoration:underline;text-underline-offset:4px;color:#a4edff}
.delivery-section h2{font-size:clamp(30px,4vw,48px);line-height:1.15;max-width:650px}
.delivery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin-top:42px}
.delivery-grid article{border-top:1px solid #2b637c;padding-top:22px}
.delivery-grid span{font:600 13px monospace;color:#79dded}
.delivery-grid h3{font-size:21px;margin:16px 0 10px}
.delivery-grid p{color:#b7cadb;line-height:1.8;font-size:15px}
.journey-step,.lang-btn,.nav-toggle{min-height:44px;min-width:44px}
@media(max-width:850px){
 .delivery-grid{grid-template-columns:1fr;gap:25px;margin-top:30px}
 .delivery-section{padding-block:70px}
 html[data-3d-active="true"] .scroll-journey{height:auto;min-height:0;padding:70px 12px 45px}
 html[data-3d-active="true"] .journey-sticky{position:relative;height:auto;min-height:0;padding:0;overflow:visible}
 html[data-3d-active="true"] .journey-stage{height:clamp(250px,43svh,400px);margin:22px auto 15px;touch-action:pan-y}
 html[data-3d-active="true"] .journey-card{transition:transform .28s ease,opacity .2s ease;will-change:auto}
 .journey-intro{padding-inline:9px}
 .journey-intro h2{font-size:clamp(25px,6vw,36px)}
 .journey-hint{max-width:470px;font-size:13px;line-height:1.6}
 .journey-progress-track{margin-top:15px}
 .hero-desc{font-size:15px}
 .grain-overlay{display:none}
}
@media(prefers-reduced-motion:reduce){html[data-3d-active="false"] .journey-card{transition:none!important}}
/* Hero copy and actions are available immediately, including on slow devices. */
.hero-content .hero-eyebrow,.hero-content .hero-title .line,.hero-content .hero-subline,.hero-content .hero-desc,.hero-content .hero-actions{opacity:1!important;transform:none!important;animation:none!important}
.hero-title .accent{background-image:linear-gradient(100deg,#27d5fa,#409bff)!important}
html:not([data-3d-active="true"]) .journey-controls,html:not([data-3d-active="true"]) .journey-progress-track{display:none}
.section-photo-bg:not(.photo-ready)::before{background-image:none!important}
.journey-counter{direction:ltr;unicode-bidi:isolate}

/* Full audit corrections: reflow, short-screen navigation and keyboard focus. */
.deepdive-text,.deepdive-visual{min-width:0;max-width:100%}
.deepdive .keyword-row{max-width:100%}
.deepdive .keyword-row span{min-width:0;overflow-wrap:anywhere}
.deepdive .rack-visual{max-width:100%;overflow:hidden}
.about-col h3{font-family:var(--font-mono);font-size:11px;letter-spacing:.14em;color:var(--cyan);text-transform:uppercase;margin-bottom:14px}
body.menu-open{overflow:hidden}
body.menu-open .nav{transition:none!important}
.mobile-menu{top:var(--mobile-nav-height,78px);bottom:0;max-height:calc(100dvh - var(--mobile-nav-height,78px));padding:18px 26px 28px;overflow-y:auto;overscroll-behavior:contain;scroll-padding-block:12px}
.mobile-menu a{font-size:22px;padding:11px 0}
.nav-toggle{justify-content:center;gap:6px;padding:8px;width:44px;height:44px}
.nav-toggle span{width:28px;flex:0 0 2px}
.nav-toggle.open span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.nav-toggle.open span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
@media(max-height:500px){.mobile-menu{padding-top:10px}.mobile-menu a{font-size:18px;padding:8px 0}.mobile-lang-switch{padding-top:8px}}
.mobile-menu .mobile-lang-switch,html[dir="rtl"] .mobile-menu .mobile-lang-switch{display:flex;position:static!important;inset:auto!important;transform:none!important;align-self:flex-start;margin-top:16px;font-size:13px;gap:10px}
@media(max-width:600px){
 .deepdive .rack-visual{width:min(100%,350px);gap:10px;padding:12px;overflow:visible}
 .deepdive .rack{flex:1 1 0;min-width:0;padding:6px}
 .deepdive .rack-unit{width:100%;min-width:0;height:12px}
 .deepdive-visual:not(.brain-visual){min-height:240px}
}
@media(max-width:600px){.deepdive .deepdive-visual{width:100%}}

/* V8.1: Mobile scroll must advance the 3D journey just as desktop scroll does. */
@media(max-width:850px){
 html[data-3d-active="true"] .scroll-journey{height:360svh!important;min-height:1800px!important;padding:0 12px!important}
 html[data-3d-active="true"] .journey-sticky{position:sticky!important;top:0!important;height:100svh!important;min-height:0!important;display:flex!important;flex-direction:column!important;justify-content:center!important;padding:80px 4px 28px!important;overflow:hidden!important}
 html[data-3d-active="true"] .journey-stage{height:clamp(225px,40svh,380px)!important;flex-shrink:0;margin:12px auto!important}
 html[data-3d-active="true"] .journey-card{transition:transform .12s linear, opacity .12s linear!important}
}
@media(max-width:700px){
 .flight-active .flight-sticky{height:100svh!important;min-height:0!important}
 .flight-active .hero-shell{padding:80px 20px 100px!important;min-height:0!important}
 .flight-active .hero-content{max-width:100%!important}
}
@media(max-height:700px) and (max-width:850px){
 html[data-3d-active="true"] .journey-sticky{padding-top:65px!important;padding-bottom:10px!important}
 html[data-3d-active="true"] .journey-stage{height:35svh!important}
}
/* V8.3 mobile performance: no tween latency on touch-scrolled photo corridor */
@media(max-width:850px){html[data-3d-active='true'] .journey-card{transition:none!important} .journey-card img{filter:none!important}}
/* V8.5 — layered photographic light and shadow, compositor-friendly. */
html[data-3d-active="true"] .journey-stage{isolation:isolate}
html[data-3d-active="true"] .journey-stage::before{content:"";position:absolute;inset:4% 8%;pointer-events:none;z-index:-1;background:radial-gradient(ellipse 50% 55% at 50% 50%,rgba(45,168,229,.13),transparent 78%)}
html[data-3d-active="true"] .journey-card{border:1px solid rgba(148,219,248,.3);box-shadow:0 24px 55px rgba(0,4,15,.72),0 0 28px rgba(44,172,237,.12),inset 0 1px rgba(255,255,255,.25)}
html[data-3d-active="true"] .journey-card::before{content:"";position:absolute;z-index:1;inset:0;pointer-events:none;background:linear-gradient(125deg,rgba(255,255,255,.18) 0%,rgba(128,219,255,.055) 22%,transparent 50%),radial-gradient(ellipse at 75% 0%,rgba(104,211,255,.17),transparent 58%);box-shadow:inset 0 0 35px rgba(0,9,26,.29)}
html[data-3d-active="true"] .journey-card-shade{background:linear-gradient(0deg,rgba(0,4,15,.9),rgba(0,6,16,.05) 62%,rgba(0,7,17,.16))}
@media(max-width:850px){
 html[data-3d-active="true"] .journey-card{box-shadow:0 15px 30px rgba(0,4,15,.68),0 0 15px rgba(43,171,225,.1)}
 html[data-3d-active="true"] .journey-card::before{background:linear-gradient(125deg,rgba(255,255,255,.15),transparent 48%),radial-gradient(ellipse at 75% 0%,rgba(104,211,255,.12),transparent 60%);box-shadow:none}
}/* V8.6 Dramatic 3D: layered rim light, spotlight and stronger depth, mobile-conscious. */
html[data-3d-active="true"] .journey-stage{isolation:isolate}
html[data-3d-active="true"] .journey-stage::before{content:"";position:absolute;inset:5% 9%;pointer-events:none;z-index:-1;background:radial-gradient(ellipse 55% 65% at 50% 45%,rgba(65,192,255,.35),rgba(15,80,155,.15) 45%,transparent 75%)}
html[data-3d-active="true"] .journey-card{border:1px solid rgba(140,238,255,.52);box-shadow:0 28px 82px rgba(0,1,14,.78),0 0 36px rgba(42,182,245,.24),inset 0 1px rgba(255,255,255,.4)}
html[data-3d-active="true"] .journey-card::before{content:"";position:absolute;z-index:1;inset:0;pointer-events:none;background:linear-gradient(130deg,rgba(225,254,255,.3),rgba(100,204,255,.08) 23%,transparent 55%),radial-gradient(ellipse at 83% 0%,rgba(115,223,255,.28),transparent 60%);box-shadow:inset 0 0 42px rgba(1,12,32,.43)}
html[data-3d-active="true"] .journey-card-shade{background:linear-gradient(0deg,rgba(0,3,15,.96),rgba(1,9,23,.10) 66%,rgba(1,11,25,.2))}
html[data-3d-active="true"] .journey-card-meta strong{text-shadow:0 4px 15px rgba(0,0,0,.7),0 0 12px rgba(101,217,255,.22)}
@media(max-width:850px){html[data-3d-active="true"] .journey-stage::before{background:radial-gradient(ellipse 60% 58% at 50% 45%,rgba(65,192,255,.26),transparent 72%)}html[data-3d-active="true"] .journey-card{box-shadow:0 20px 46px rgba(0,2,15,.76),0 0 20px rgba(45,170,235,.19)}html[data-3d-active="true"] .journey-card::before{background:linear-gradient(130deg,rgba(220,254,255,.22),transparent 52%);box-shadow:none}}/* V8.7: active-zone emphasis, only the selected scene receives the spotlight. */
html[data-3d-active="true"] .journey-card{filter:brightness(.62) saturate(.80);border-color:rgba(102,166,196,.25);box-shadow:0 17px 44px rgba(0,2,13,.72),0 0 12px rgba(40,112,165,.09);transition:filter .2s ease,border-color .2s ease,box-shadow .2s ease,opacity .1s linear}
html[data-3d-active="true"] .journey-card.journey-card-selected{filter:brightness(1.13) saturate(1.18);border-color:rgba(150,246,255,.92);box-shadow:0 30px 84px rgba(0,1,12,.84),0 0 0 2px rgba(92,226,255,.42),0 0 48px rgba(51,198,255,.52),inset 0 1px rgba(255,255,255,.52)}
html[data-3d-active="true"] .journey-card.journey-card-selected::before{background:linear-gradient(126deg,rgba(226,254,255,.4),rgba(108,217,255,.13) 28%,transparent 56%),radial-gradient(ellipse at 78% 0%,rgba(130,231,255,.39),transparent 62%)}
@media(max-width:850px){html[data-3d-active="true"] .journey-card{transition:filter .15s ease,border-color .15s ease,box-shadow .15s ease}html[data-3d-active="true"] .journey-card.journey-card-selected{box-shadow:0 19px 42px rgba(0,2,13,.82),0 0 0 2px rgba(91,226,255,.45),0 0 26px rgba(54,199,255,.4)}}

/* V8.8: scroll-padding alone reserves space for the fixed header. */
section[id],article[id],#projectBriefPanel,.demo-guide{scroll-margin-top:0}

/* Sticky scenes already reserve the header inside their viewport. */
html[data-3d-active="true"] #scroll-journey{scroll-margin-top:-96px}
@media(max-width:940px){html[data-3d-active="true"] #scroll-journey{scroll-margin-top:-85px}}
