/* APPLAB · Shared Design System — per Brand Guidelines 2026
   Inter (body) + Poppins (display) · #2a7de1 blue · #00a0df cyan · #258fdd→#0d987a gradient */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@500;600;700;800;900&family=JetBrains+Mono:wght@400;500&family=Tajawal:wght@300;400;500;700;800&family=Cairo:wght@400;600;700;800&display=swap');

:root{
  /* Brand tokens */
  --blue:#2a7de1; --blue-dark:#1a5cb8;
  --cyan:#00a0df; --teal:#0d987a;
  --red:#e1251b; --orange:#ff6b00;
  --green:#00ac69; --yellow:#ffb71b;
  --grey-1:#4d4d4d; --grey-2:#999999;

  /* Surfaces */
  --paper:#ffffff;
  --off:#f6f7f9;
  --line:#e7eaee;
  --ink:#0a1430;
  --ink-soft:#1c2440;
  --navy-black:#02061f;

  /* Signature gradient */
  --grad-blue: linear-gradient(135deg, #258fdd 0%, #0d987a 100%);

  /* Type */
  --display:'Poppins', system-ui, sans-serif;
  --body:'Inter', system-ui, sans-serif;
  --mono:'JetBrains Mono', ui-monospace, monospace;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);

  /* Spacing */
  --pad-x: clamp(20px, 5vw, 56px);
  --rad: 20px;
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  font-family: var(--body);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }
ul{ list-style:none; }
::selection{ background:var(--blue); color:#fff; }

/* ============ NAV ============ */
.nav{
  position: fixed; top:0; left:0; right:0; z-index:100;
  display:flex; align-items:center; justify-content:space-between;
  padding: 18px var(--pad-x);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(10,20,48,.06);
  transition: all .35s var(--ease);
}
.nav.is-dark{
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
}
.nav.is-dark.is-scrolled{
  background: rgba(2,6,31,.92);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(20px) saturate(180%);
}
/* backdrop-filter makes .nav a containing block, trapping the fixed-position mobile menu inside its own box */
html.has-modal-open .nav{ backdrop-filter: none !important; }

.nav-mega.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open{
  background-color: var(--navy-black) !important;
  color: #fff !important;
}
.nav.is-dark .brand{ color: #fff; }

.brand{
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -.04em;
  color: transparent; /* hide text, show image */
  display: inline-flex; align-items: center;
  background-image: url('img/applab-logo.png');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  width: 140px;
  height: 42px;
  text-indent: -9999px;
  overflow: hidden;
  flex-shrink: 0;
}
.nav.is-dark .brand,
.footer-v2 .brand{
  background-image: url('img/applab-logo-white.png');
}
.brand .glyph{ display: none; }

/* ============ TYPE SCALE ============ */
.h-mega{ font-family: var(--display); font-weight: 800; font-size: clamp(52px, 9vw, 118px); line-height: .95; letter-spacing: -.045em; }
.h-xxl{  font-family: var(--display); font-weight: 700; font-size: clamp(40px, 6.2vw, 80px); line-height: 1.04; letter-spacing: -.035em; }
.h-xl{   font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4.5vw, 60px); line-height: 1.04; letter-spacing: -.03em; }
.h-l{    font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3vw, 40px); line-height: 1.12; letter-spacing: -.025em; }
.h-m{    font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.2; letter-spacing: -.015em; }

.eyebrow{
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before{
  content: ''; width: 28px; height: 1px;
  background: var(--blue);
  display: inline-block;
}
.eyebrow--paper{ color: var(--cyan); }
.eyebrow--paper::before{ background: var(--cyan); }

.lead{
  font-family: var(--body);
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.55;
  font-weight: 400;
  color: var(--grey-1);
}
.lead--dark{ color: rgba(255,255,255,.75); }

.body-text{
  font-size: 15px;
  line-height: 1.65;
  color: var(--grey-1);
}

/* ============ LAYOUT PRIMITIVES ============ */
.wrap{ max-width: 1440px; margin: 0 auto; padding: 0 var(--pad-x); }

.section--paper{ padding: clamp(50px, 6.5vw, 92px) var(--pad-x); background: var(--paper); }
.section--off{   padding: clamp(50px, 6.5vw, 92px) var(--pad-x); background: var(--off); }
.section--ink{   padding: clamp(50px, 6.5vw, 92px) var(--pad-x); background: var(--ink); color: #fff; }
.section--navy{  padding: clamp(50px, 6.5vw, 92px) var(--pad-x); background: var(--navy-black); color: #fff; position: relative; overflow: hidden; }

.tight{ padding-top: clamp(50px, 7vw, 90px); padding-bottom: clamp(50px, 7vw, 90px); }

.row-head{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 3.5vw, 52px);
  align-items: end;
  max-width: 1280px; margin: 0 auto;
}
@media (max-width: 880px){
  .row-head{ grid-template-columns: 1fr; align-items: start; }
}

/* ============ BUTTONS ============ */
/* .btn / .btn--* button styling now lives in build/button/style-index.css
   (the applab/button block's own stylesheet) since every .btn on the site
   is now an instance of that block — see src/button/style.scss. */

/* ============ SPHERE & WAVE (brand imagery) ============ */
.wave-bg{
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    110deg,
    transparent 0,
    transparent 28px,
    rgba(0,160,223,.05) 28px,
    rgba(0,160,223,.05) 30px
  );
  opacity: .8;
  pointer-events: none;
}

/* ============ LIVE DOT (pulse indicator) ============ */
.live-dot{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
}
.live-dot::before{
  content: ''; width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(0,160,223,.6);
  animation: livePulse 2s infinite;
}
@keyframes livePulse{
  0%   { box-shadow: 0 0 0 0 rgba(0,160,223,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(0,160,223,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,160,223,0); }
}

/* ============ REVEAL ON SCROLL ============ */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-in{ opacity: 1; transform: translateY(0); }
.reveal-d1{ transition-delay: .12s; }
.reveal-d2{ transition-delay: .22s; }
.reveal-d3{ transition-delay: .32s; }

/* ============ PAGE TRANSITION OVERLAY ============ */
.page-trans{
  position: fixed; inset: 0;
  background: var(--navy-black);
  z-index: 999;
  transform: translateY(100%);
  transition: transform .65s var(--ease);
  pointer-events: none;
}

/* ============================================================
   v2 ADDITIONS — Nav dropdowns, video hero, Monks-style sections
   ============================================================ */

/* ---- Mega Nav with dropdowns ---- */
.nav-mega{
  position: relative;
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}
.nav-mega .nav-item{
  position: relative;
  list-style: none;
}
.nav-mega .nav-item > a{
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--grey-1);
  font-size: 14px; font-weight: 500;
  padding: 24px 0;
  margin-right: 28px;
  cursor: pointer;
  transition: color .25s var(--ease);
}
.nav-mega .nav-item > a::after{
  content: '';
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  margin-left: 4px;
  opacity: .55;
  transition: transform .3s var(--ease);
}
.nav-mega .nav-item.no-drop > a::after{ display: none; }
.nav-mega .nav-item > a:hover,
.nav-mega .nav-item.is-active > a,
.nav-mega .nav-item:hover > a{ color: var(--ink); }
.nav-mega .nav-item:hover > a::after,
.nav-mega .nav-item.is-open > a::after{ transform: rotate(225deg) translate(-2px, -2px); }

.nav.is-dark .nav-mega .nav-item > a{ color: rgba(255,255,255,.7); }
.nav.is-dark .nav-mega .nav-item > a:hover,
.nav.is-dark .nav-mega .nav-item:hover > a{ color: #fff; }

.nav-actions{
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.nav-search{
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(10,14,40,.10);
  color: var(--ink);
  cursor: pointer;
  transition: all .3s var(--ease);
}
.nav.is-dark .nav-search{ border-color: rgba(255,255,255,.15); color: #fff; }
.nav-search:hover{ border-color: var(--blue); color: var(--blue); }
.nav.is-dark .nav-search:hover{ border-color: var(--cyan); color: var(--cyan); }
/* the glyph itself sits bottom-right of its viewBox, so nudge to visually center it */
.nav-search svg{ width: 14px; height: 14px; transform: translate(-1px, -1px); }

/* core/navigation's own mobile toggle button, colored to match the nav.
   Collapse breakpoint is 1100px, not core's default 600px — style.css's
   `@media (min-width:1101px){ .nav-mega{ flex-wrap:nowrap } }` comment
   documents that the full 7-item menu only fits a single row above 1100px,
   so below that we hide core's inline menu and force its toggle button
   back on (both need !important to beat core's own same-specificity
   `@media (min-width:600px)` rules that otherwise show the inline menu /
   hide the toggle starting at 600px). */
@media (max-width: 1100px){
  .nav .wp-block-navigation__responsive-container-open{
    display: grid !important; place-items: center;
    color: var(--ink);
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(10,14,40,.10);
  }
  .nav.is-dark .wp-block-navigation__responsive-container-open{ border-color: rgba(255,255,255,.15); }
  .nav-mega .wp-block-navigation__responsive-container:not(.is-menu-open){ display: none !important; }
}

@media (max-width: 1100px){
  .brand{ order: 1; }
  .nav-actions{ order: 2; flex: 1; justify-content: center; }
  .nav-mega{ order: 3; flex: 0 0 auto; justify-content: flex-end; }

  /* Core hides .wp-block-navigation__submenu-icon (the toggle button
     itself) inside the mobile overlay by default; bring it back so
     there's something to click. */
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon{
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Core stacks each <li> as a flex column here, so the label and its
     toggle button end up on separate lines; put them back on one row
     and drop the submenu list to its own full-width line below. */
  .wp-block-navigation__responsive-container.is-menu-open .has-child{
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  .wp-block-navigation__responsive-container.is-menu-open .has-child .wp-block-navigation__submenu-container{
    flex-basis: 100%;
  }

  /* Submenus closed by default in the mobile overlay; the toggle button
     (aria-expanded, set by core's own JS) opens/closes them. */
  .wp-block-navigation__responsive-container.is-menu-open .has-child .wp-block-navigation__submenu-container{
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
  }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu__toggle[aria-expanded="true"] + .wp-block-navigation__submenu-container{
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
  }
  .nav-mega .nav-item > a::after{ display: none; }
}
.nav.is-dark .wp-block-navigation__responsive-container-open{ color: #fff; }

/* ---- Video Hero (Monks-style) ---- */
.hero-video-wrap{
  position: relative;
  min-height: 100vh;
  padding: 0;
  background: var(--navy-black);
  color: #fff;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.hero-video{
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: .75;
}
.hero-video-wrap::before{
  content:''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(2,6,31,.55) 0%, rgba(2,6,31,.30) 35%, rgba(2,6,31,.85) 100%);
  z-index: 2;
  pointer-events: none;
}
.hero-video-wrap::after{
  content:''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(110deg, transparent 0, transparent 30px, rgba(0,160,223,.04) 30px, rgba(0,160,223,.04) 31px);
  z-index: 2;
  pointer-events: none;
}
.hero-vbody{
  position: relative; z-index: 3;
  padding: 0 var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(70px, 9vw, 130px);
  padding-top: 200px;
}
.hero-meta-top{
  position: absolute;
  top: 100px; left: var(--pad-x); right: var(--pad-x);
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.hero-vbody h1{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(50px, 9vw, 140px);
  line-height: .95;
  letter-spacing: -.045em;
  color: #fff;
  max-width: 17ch;
}
.hero-vbody h1 .em{ color: var(--cyan); font-style: italic; }
.hero-vbody .sub{
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,.78);
  max-width: 74ch;
  margin: 36px 0 44px;
}
.hero-vbody .actions{ display: flex; gap: 14px; flex-wrap: wrap; }
.hero-bottom-strip{
  position: relative;
  z-index: 3;
  background: rgba(2,6,31,.55);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 30px;
}
.hero-bottom-strip .stat b{
  display: block;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(24px, 2.6vw, 38px);
  letter-spacing: -.035em;
  line-height: 1;
  color: #fff;
  margin-bottom: 6px;
}
.hero-bottom-strip .stat span{
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
@media (max-width: 720px){
  .hero-bottom-strip{ grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .hero-meta-top{ display: none; }
  .hero-vbody{ padding-top: 140px; }
}

/* ---- Section header pattern ---- */
.sect-head{
  padding: clamp(50px, 6.5vw, 92px) var(--pad-x) clamp(40px, 5vw, 60px);
}
/*
 * Some patterns need their .sect-head padding zeroed on specific sides
 * (the enclosing section already supplies its own padding). These were
 * previously done via inline style="padding-left:0;..." not reflected in
 * the wp:group block's saved JSON attributes, causing "Block validation
 * failed" for core/group on every affected pattern. Dedicated modifier
 * classes avoid that mismatch entirely.
 */
.sect-head--flush{ padding-left: 0; padding-right: 0; padding-top: 0; }
.sect-head--flush-x{ padding-left: 0; padding-right: 0; }
.clients-logos{ max-width: 1300px; margin: clamp(30px, 4vw, 54px) auto 0; }
.sect-head .top{
  display: flex; justify-content: space-between; align-items: end;
  gap: clamp(30px, 5vw, 60px);
}
.sect-head .eyebrow{ margin-bottom: 16px; }
.sect-head h2{ max-width: 19ch; margin-top: 20px; }
.sect-head h2 .em{ color: var(--blue); }
.sect-head .top p{
  font-family: var(--body);
  font-size: 17px;
  color: var(--grey-1);
  line-height: 1.55;
  max-width: 58ch;
}
@media (max-width: 880px){
  .sect-head .top{ flex-direction: column; align-items: start; }
}

/* ---- CAPABILITIES — Monks-style expandable rows ---- */
.caps-section{ padding: 0 var(--pad-x) clamp(80px, 11vw, 130px); background: var(--paper); }
/* ---- SOLUTIONS — numbered list ---- */
.solutions-section{
  padding: clamp(50px, 6.5vw, 92px) var(--pad-x);
  background: var(--off);
}
.sol-list{
  margin-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.sol-row{
  display: grid;
  grid-template-columns: 80px 1fr 1.6fr 80px;
  gap: clamp(20px, 4vw, 50px);
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: all .35s var(--ease);
}
.sol-row::before{
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s var(--ease);
}
.sol-row:hover::before{ transform: scaleX(1); }
.sol-row .num{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
}
.sol-row .title{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--ink);
  transition: transform .4s var(--ease);
}
.sol-row:hover .title{ transform: translateX(8px); }
.sol-row .desc{
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--grey-1);
  max-width: 60ch;
}
.sol-row .arrow{
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: right;
  opacity: .6;
  transition: opacity .35s var(--ease);
}
.sol-row:hover .arrow{ opacity: 1; }
@media (max-width: 980px){
  .sol-row{ grid-template-columns: 60px 1fr; gap: 18px; }
  .sol-row .desc{ grid-column: 1 / -1; }
  .sol-row .arrow{ display: none; }
}

/* ---- Mid CTA Band (gradient) ---- */
.mid-cta{
  margin: clamp(60px, 8vw, 100px) var(--pad-x);
  background: var(--grad-blue);
  color: #fff;
  border-radius: 32px;
  padding: clamp(50px, 7vw, 90px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 3.5vw, 52px);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.mid-cta::before{
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.18), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(0,0,0,.18), transparent 50%);
}
.mid-cta > *{ position: relative; z-index: 2; }
.mid-cta .eyebrow{ color: rgba(255,255,255,.85); margin-bottom: 18px; }
.mid-cta .eyebrow::before{ background: rgba(255,255,255,.85); }
.mid-cta h2{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 4.5vw, 60px);
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-bottom: 22px;
}
.mid-cta p{
  color: rgba(255,255,255,.9);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.6;
  max-width: 54ch;
}
.mid-cta .actions{ display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; }
.mid-cta .btn--white{
  background: #fff;
  color: var(--ink);
}
.mid-cta .btn--white:hover{ background: var(--ink); color: #fff; transform: translateY(-2px); }
@media (max-width: 880px){
  .mid-cta{ grid-template-columns: 1fr; }
  .mid-cta .actions{ justify-content: flex-start; }
}

/* ---- FEATURED CASE STUDY (section shell; card/slider styles in featured-case-studies.css) ---- */
.feat-case{
  padding: clamp(50px, 6.5vw, 92px) var(--pad-x);
  background: var(--paper);
}
/* ---- LATEST INSIGHTS ---- */
.insights-section{
  padding: clamp(50px, 6.5vw, 92px) var(--pad-x);
  background: var(--off);
}
.insights-grid{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(20px, 2.5vw, 28px);
  margin-top: clamp(28px, 4vw, 48px);
}
.article{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .35s var(--ease);
}
.article:hover{ transform: translateY(-4px); box-shadow: 0 24px 60px rgba(10,14,40,.08); border-color: rgba(42,125,225,.3); }
.article .visual{
  aspect-ratio: 16/10;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.article .visual::before{
  content:''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), transparent 50%),
    radial-gradient(circle at 75% 70%, rgba(0,0,0,.22), transparent 55%);
}
.article[data-t="ai"]    .visual{ --bg: linear-gradient(135deg, #06186f, #2a7de1); }
.article[data-t="data"]  .visual{ --bg: linear-gradient(135deg, #00a0df, #0d987a); }
.article[data-t="cloud"] .visual{ --bg: linear-gradient(135deg, #1c2440, #4d4d4d); }
.article .badge{
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  padding: 6px 12px;
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
}
.article .body{
  padding: 26px 26px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article .meta{
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey-2);
  margin-bottom: 12px;
}
.article h3{
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.015em;
  line-height: 1.25;
  margin-bottom: 12px;
}
.article p{
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--grey-1);
  margin-bottom: 24px;
}
.article .read-more{
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}

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

.center-cta{ display: flex; justify-content: center; margin-top: 50px; }

/* ---- CONFERENCES — Meet us at a conference ---- */
.conf-section{
  padding: clamp(50px, 6.5vw, 92px) var(--pad-x);
  background: var(--navy-black);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.conf-section::before{
  content:''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 90% 0%, rgba(0,160,223,.20), transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 100%, rgba(13,152,122,.15), transparent 60%);
}
.conf-section > *{ position: relative; z-index: 2; }
.conf-section .sect-head h2{ color: #fff; }
.conf-section .sect-head h2 .em{ color: var(--cyan); }
.conf-section .sect-head .top p{ color: rgba(255,255,255,.65); }
.conf-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(20px, 2.5vw, 28px);
  margin-top: clamp(28px, 4vw, 48px);
  padding: 0 var(--pad-x);
}
.conf{
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg);
  color: #fff;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: all .4s var(--ease);
  cursor: pointer;
}
.conf:hover{ transform: translateY(-4px); }
.conf::before{
  content:''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.15), transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(0,0,0,.25), transparent 55%),
    linear-gradient(180deg, transparent 30%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
.conf > *{ position: relative; z-index: 2; }
.conf[data-c="mwc"]      { --bg: linear-gradient(135deg, #06186f 0%, #2a7de1 70%, #0d987a 100%); }
.conf[data-c="aiworld"]  { --bg: linear-gradient(135deg, #1c2440 0%, #6d3aa3 60%, #00a0df 100%); }
.conf[data-c="websummit"]{ --bg: linear-gradient(135deg, #02061f 0%, #4a5af0 60%, #e1251b 100%); }
.conf .play{
  position: absolute;
  top: 24px; right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  display: grid; place-items: center;
}
.conf .play::after{
  content: '';
  width: 0; height: 0;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}
.conf .badge{
  position: absolute;
  top: 24px; left: 24px;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 14px;
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.conf .info{ position: relative; z-index: 2; }
.conf .date{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 10px;
}
.conf h3{
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -.025em;
  line-height: 1.05;
  margin-bottom: 10px;
}
.conf .loc{
  font-family: var(--body);
  font-size: 14px;
  color: rgba(255,255,255,.7);
}
@media (max-width: 980px){
  .conf-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .conf-grid{ grid-template-columns: 1fr; }
  .conf{ min-height: 340px; }
}

/* ---- TRUSTED BY logos / clients ---- */
.trusted-section{
  padding: clamp(50px, 6.5vw, 92px) var(--pad-x);
  background: var(--paper);
}
.trusted-more{
  text-align: center;
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey-2);
}
.trusted-more a{ color: var(--blue); border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---- RECOGNIZED — 3 blocks ---- */
.recognized{
  padding: clamp(50px, 6.5vw, 92px) var(--pad-x);
  background: var(--off);
}
.recog-grid{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(20px, 2.5vw, 28px);
  margin-top: clamp(28px, 4vw, 48px);
}
.recog{
  padding: clamp(36px, 4vw, 50px);
  background: var(--paper);
  border-radius: 24px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: all .4s var(--ease);
}
.recog:hover{ transform: translateY(-3px); box-shadow: 0 24px 60px rgba(10,14,40,.06); }
.recog::before{
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--c, var(--blue));
}
.recog[data-c="microsoft"]{ --c: linear-gradient(90deg, #F25022, #7FBA00, #00A4EF, #FFB900); }
.recog[data-c="growth"]   { --c: var(--blue); }
.recog[data-c="iso"]      { --c: var(--teal); }

.recog .label{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grey-2);
  margin-bottom: 22px;
}
.recog .award-mark{
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(52px, 6vw, 84px);
  letter-spacing: -.04em;
  line-height: .9;
  background: var(--g, var(--grad-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 22px;
}
.recog[data-c="microsoft"]{ }
.recog[data-c="microsoft"] .award-mark{ background: linear-gradient(135deg, #F25022, #7FBA00, #00A4EF, #FFB900); -webkit-background-clip: text; background-clip: text; color: transparent; }
.recog[data-c="growth"]    .award-mark{ background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; }
.recog[data-c="iso"]       .award-mark{ background: linear-gradient(135deg, #0d987a, #2a7de1); -webkit-background-clip: text; background-clip: text; color: transparent; }

.recog h3{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -.015em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.recog p{
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--grey-1);
}
@media (max-width: 880px){ .recog-grid{ grid-template-columns: 1fr; } }

/* ---- FINAL CTA (replacement) ---- */
.final-cta{
  padding: clamp(120px, 16vw, 220px) var(--pad-x);
  background: var(--navy-black);
  color: #fff;
  position: relative;
  overflow: hidden;
  text-align: left;
}
.final-cta::before{
  content:''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 30% 100%, rgba(0,160,223,.25), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 0%, rgba(13,152,122,.22), transparent 60%);
}
.final-cta > *{ position: relative; z-index: 2; }
.final-cta .eyebrow{ color: var(--cyan); margin-bottom: 30px; }
.final-cta .eyebrow::before{ background: var(--cyan); }
.final-cta h2{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(50px, 9vw, 140px);
  letter-spacing: -.045em;
  line-height: .96;
  max-width: 14ch;
  color: #fff;
}
.final-cta h2 .em{ color: var(--cyan); font-style: italic; }
.final-cta p{
  font-size: clamp(15px, 1.5vw, 19px);
  color: rgba(255,255,255,.75);
  line-height: 1.55;
  margin-top: 30px;
  max-width: 56ch;
}
.final-cta .actions{
  margin-top: 60px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---- NEW FOOTER ---- */
.footer-v2{
  background: var(--navy-black);
  color: #fff;
  padding: clamp(80px, 11vw, 130px) var(--pad-x) 40px;
  position: relative;
  overflow: hidden;
}
.footer-v2::before{
  content:''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 20% 0%, rgba(0,160,223,.12), transparent 60%);
}
.footer-v2 > *{ position: relative; z-index: 1; }
.footer-v2-top{
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(30px, 4vw, 60px);
  padding-bottom: clamp(50px, 7vw, 80px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-v2-about .brand{ color: #fff; margin-bottom: 24px; }
.footer-v2-about p{
  color: rgba(255,255,255,.65);
  font-size: 14px;
  line-height: 1.65;
  max-width: 40ch;
  margin-bottom: 24px;
}
.footer-v2-about .small-links{
  display: flex;
  gap: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-v2-about .small-links a{
  color: rgba(255,255,255,.65);
  transition: color .3s var(--ease);
}
.footer-v2-about .small-links a:hover{ color: var(--cyan); }

.footer-v2 .col h4{
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 22px;
}
.footer-v2 .col ul li{ margin-bottom: 10px; }
.footer-v2 .col ul li,
.footer-v2 .col ul li a{
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.5;
  transition: color .3s var(--ease);
}
.footer-v2 .col ul li a:hover{ color: var(--cyan); }
.footer-v2 .col .iso-line{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(255,255,255,.55);
  padding: 6px 0;
}

.footer-v2-locations{
  margin-top: clamp(30px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4vw, 60px);
  padding-bottom: clamp(40px, 5vw, 60px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-v2-loc{
  padding: 24px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  margin-block-start: 0;
}
.footer-v2-loc .role{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}
.footer-v2-loc h4{
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -.015em;
  margin-bottom: 12px;
}
.footer-v2-loc .loc-address{
  font-style: normal;
  font-size: 14px;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
  margin-bottom: 14px;
}
.footer-v2-loc .contact-line{
  font-size: 13px;
}
.footer-v2-loc .contact-line a{
  color: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(255,255,255,.15);
  padding-bottom: 2px;
  transition: all .3s var(--ease);
}
.footer-v2-loc .contact-line a:hover{ color: var(--cyan); border-color: var(--cyan); }
.footer-v2-loc .contact-line + .contact-line{ margin-top: 6px; }

.footer-v2-bot{
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.footer-v2-bot .clock b{
  color: var(--cyan);
  font-family: var(--mono);
  font-weight: 500;
  margin-left: 8px;
}

@media (max-width: 980px){
  .footer-v2-top{ grid-template-columns: 1fr 1fr; }
  .footer-v2-about{ grid-column: 1 / -1; }
}
@media (max-width: 640px){
  .footer-v2-top{ grid-template-columns: 1fr; }
  .footer-v2-locations{ grid-template-columns: 1fr; }
}

/* ============================================================
   BILINGUAL / RTL SUPPORT
   ============================================================ */
:root{
  --rtl-mode: 0;
}
html[lang="ar"]{
  direction: rtl;
  text-align: right;
  --display:'Tajawal', 'Cairo', 'Poppins', system-ui, sans-serif;
  --body:'Tajawal', 'Cairo', 'Inter', system-ui, sans-serif;
}
html[lang="ar"] body{ font-family: var(--body); }
html[lang="ar"] .nav-mega{ flex-direction: row-reverse; }
html[lang="ar"] .nav-actions{ flex-direction: row-reverse; }
html[lang="ar"] .footer-v2-top,
html[lang="ar"] .footer-v2-locations,
html[lang="ar"] .footer-v2-bot{ direction: rtl; }
html[lang="ar"] .eyebrow{ direction: rtl; }
html[lang="ar"] .eyebrow::before{
  margin-right: 0;
  margin-left: 8px;
}
html[lang="ar"] .arr{ transform: scaleX(-1); }
html[lang="ar"] .btn .arr{ transform: scaleX(-1); }
html[lang="ar"] .row-head{ direction: rtl; }

/* ============================================================
   LEADER PHOTO STYLES
   ============================================================ */
.leader .leader-photo{
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 22px;
  background: linear-gradient(135deg, #1a3a6e 0%, #102957 100%);
}
.leader .leader-photo img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .6s var(--ease);
  filter: grayscale(8%) contrast(1.02);
}
.leader:hover .leader-photo img{
  transform: scale(1.04);
  filter: grayscale(0%) contrast(1.05);
}
.leader .leader-photo::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(2,6,31,.45) 100%);
  pointer-events: none;
  opacity: .5;
  transition: opacity .35s var(--ease);
}
.leader:hover .leader-photo::after{ opacity: 0; }

html[lang="ar"]
html[lang="ar"] 
html[dir="rtl"] body{ direction: rtl; text-align: right; }

/* Use Arabic webfont when in AR */
html[dir="rtl"] body{ font-family: var(--body); }

/* Nav direction reversal */
html[dir="rtl"] .nav-mega{ flex-direction: row-reverse; }
html[dir="rtl"] .nav-actions{ flex-direction: row-reverse; }
html[dir="rtl"] .nav .brand{ direction: ltr; }
html[dir="rtl"] .drop a .n{ margin-left: 8px; margin-right: 0; }

/* Eyebrows: the leading bar appears before text — in RTL it should be on the right */
html[dir="rtl"] .eyebrow::before{
  margin-left: 12px;
  margin-right: 0;
}
html[dir="rtl"] .eyebrow{ padding-left: 0; padding-right: 0; }

/* Page hero in RTL */
html[dir="rtl"] .page-hero h1{ max-width: none; }
html[dir="rtl"] .page-hero .lead{ margin-left: 0; }
html[dir="rtl"] .page-hero-meta{ direction: rtl; }

/* Buttons */
html[dir="rtl"] .btn .arr{ transform: scaleX(-1); }

/* Footer */
html[dir="rtl"] .footer-v2-top{ direction: rtl; }
html[dir="rtl"] .footer-v2-locations{ direction: rtl; }
html[dir="rtl"] .footer-v2-bot{ direction: rtl; }

/* Filter bar */
html[dir="rtl"] .filter-bar{ flex-direction: row-reverse; justify-content: flex-end; }

/* Reveal animations still work the same */

html[dir="rtl"] 
html[dir="rtl"] 
html[dir="rtl"] 
html[dir="rtl"] 
html[dir="rtl"] 
html[dir="rtl"] 

/* Brand in nav stays LTR */
html[dir="rtl"] .brand{ direction: ltr; }

/* Footer location address LTR for addresses */
html[dir="rtl"] .loc-address{ direction: rtl; font-style: normal; }


/* ============================================================
   APPLAB BOT — single FAB, robot character, clean UI
   ============================================================ */

.ab-fab{
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9998;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 10px;
  background: linear-gradient(135deg, #1a3a6e 0%, #2a7de1 100%);
  color: #fff;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(42,125,225,.30), 0 4px 10px rgba(0,0,0,.10);
  transition: all .25s cubic-bezier(.4,0,.2,1);
  font-family: inherit;
}
.ab-fab:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(42,125,225,.40), 0 6px 14px rgba(0,0,0,.12);
}
.ab-fab.is-hidden{ display: none; }
.ab-fab-icon{
  width: 40px; height: 40px;
  background: rgba(255,255,255,.18);
  border-radius: 50%;
  display: grid; place-items: center;
  padding: 4px;
}
.ab-fab-icon svg{ width: 32px; height: 32px; }
.ab-fab-text{
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -.005em;
}
.ab-fab-pulse{
  position: absolute;
  top: 10px; left: 10px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.6);
  animation: abFabPulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes abFabPulse{
  0%   { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.6); opacity: 0; }
}

[data-lang="ar"] .ab-fab{ left: 24px; right: auto; }

/* Panel */
.ab-panel{
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
  width: 380px; max-width: calc(100vw - 32px);
  height: 580px; max-height: calc(100vh - 48px);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,.18), 0 8px 20px rgba(0,0,0,.10);
  display: flex; flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(.95);
  opacity: 0;
  pointer-events: none;
  transition: all .3s cubic-bezier(.4,0,.2,1);
}
.ab-panel.is-open{
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}
[data-lang="ar"] .ab-panel{ left: 24px; right: auto; direction: rtl; }

/* Head */
.ab-head{
  padding: 16px 18px;
  background: linear-gradient(135deg, #0a1e4a 0%, #1748a3 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.ab-head-info{ display: flex; gap: 12px; align-items: center; flex: 1; min-width: 0; }
.ab-avatar{
  width: 44px; height: 44px;
  background: rgba(255,255,255,.15);
  border-radius: 12px;
  display: grid; place-items: center;
  flex-shrink: 0;
  padding: 4px;
}
.ab-avatar svg{ width: 36px; height: 36px; }
.ab-title{
  font-family: var(--display);
  font-size: 15px; font-weight: 700;
  margin-bottom: 2px;
}
.ab-status{
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: rgba(255,255,255,.7);
  display: flex; align-items: center; gap: 6px;
}
.ab-status-dot{
  display: inline-block;
  width: 7px; height: 7px; border-radius: 50%;
  background: #00ff9d;
  box-shadow: 0 0 8px #00ff9d;
  animation: abPulseDot 2s ease-in-out infinite;
}
@keyframes abPulseDot{ 50% { opacity: .4; } }
.ab-close{
  background: rgba(255,255,255,.10);
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  color: #fff;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s;
  flex-shrink: 0;
}
.ab-close:hover{ background: rgba(255,255,255,.22); }

/* Body */
.ab-body{
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  background: #f7f9fc;
  display: flex; flex-direction: column; gap: 12px;
}
.ab-msg{
  display: flex; gap: 8px;
  max-width: 92%;
  animation: abFadeIn .3s ease-out;
}
@keyframes abFadeIn{
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.ab-msg--user{
  margin-left: auto;
  justify-content: flex-end;
}
[data-lang="ar"] .ab-msg--user{ margin-left: 0; margin-right: auto; }

.ab-msg--bot{ align-items: flex-end; }
.ab-mini-avatar{
  width: 28px; height: 28px;
  background: linear-gradient(135deg, #1a3a6e 0%, #2a7de1 100%);
  border-radius: 8px;
  display: grid; place-items: center;
  flex-shrink: 0;
  padding: 3px;
}
.ab-mini-avatar svg{ width: 22px; height: 22px; }

.ab-bubble{
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.5;
  background: #fff;
  border: 1px solid #e5ebf2;
  color: var(--ink);
  word-wrap: break-word;
}
.ab-msg--user .ab-bubble{
  background: linear-gradient(135deg, #2a7de1 0%, #1748a3 100%);
  color: #fff;
  border-color: transparent;
}
.ab-msg--bot .ab-bubble{ border-bottom-left-radius: 4px; }
.ab-msg--user .ab-bubble{ border-bottom-right-radius: 4px; }
[data-lang="ar"] .ab-msg--bot .ab-bubble{ border-bottom-left-radius: 16px; border-bottom-right-radius: 4px; }
[data-lang="ar"] .ab-msg--user .ab-bubble{ border-bottom-right-radius: 16px; border-bottom-left-radius: 4px; }

.ab-list{
  list-style: none;
  padding: 8px 0 0;
  margin: 8px 0 0;
  border-top: 1px solid #eef2f7;
}
.ab-list li{ padding: 4px 0; }
.ab-list a{
  color: var(--blue);
  font-size: 12.5px;
  text-decoration: none;
  font-weight: 500;
}
.ab-list a:hover{ text-decoration: underline; }

.ab-link{
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-family: var(--display);
  font-weight: 600;
  border-radius: 100px;
  text-decoration: none;
  transition: background .2s;
}
.ab-link:hover{ background: #1748a3; }

/* Chips (quick suggestions) */
.ab-chips{
  display: flex; flex-wrap: wrap; gap: 6px;
  padding-top: 4px;
}
.ab-chip{
  background: #fff;
  border: 1px solid #d8e2ed;
  color: var(--blue);
  font-family: var(--display);
  font-weight: 500;
  font-size: 12px;
  padding: 7px 12px;
  border-radius: 100px;
  cursor: pointer;
  transition: all .2s;
}
.ab-chip:hover{
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* Typing dots */
.ab-typing .ab-bubble{ display: flex; gap: 4px; padding: 14px; }
.ab-dot{
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--grey-2);
  animation: abDot 1.2s ease-in-out infinite;
}
.ab-dot:nth-child(2){ animation-delay: .15s; }
.ab-dot:nth-child(3){ animation-delay: .3s; }
@keyframes abDot{
  0%, 80%, 100%{ opacity: .3; transform: translateY(0); }
  40%{ opacity: 1; transform: translateY(-4px); }
}

/* Input */
.ab-input-wrap{
  padding: 12px 14px;
  background: #fff;
  border-top: 1px solid #eef2f7;
  display: flex; gap: 8px; align-items: center;
}
.ab-input{
  flex: 1;
  background: #f1f5f9;
  border: 1px solid transparent;
  border-radius: 100px;
  padding: 11px 18px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: all .2s;
}
.ab-input:focus{
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(42,125,225,.10);
}
.ab-send{
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #2a7de1 0%, #1748a3 100%);
  color: #fff;
  cursor: pointer;
  display: grid; place-items: center;
  transition: all .2s;
}
.ab-send:hover{
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(42,125,225,.30);
}

/* Mobile */
@media (max-width: 480px){
  .ab-fab{ bottom: 16px; right: 16px; }
  .ab-fab-text{ display: none; }
  .ab-fab-icon{ width: 36px; height: 36px; }
  .ab-panel{ bottom: 0; right: 0; left: 0; width: 100%; max-width: 100%; height: 100vh; max-height: 100vh; border-radius: 0; }
}

/* ============================================================
   SOL INLINE CTA (mid-page CTA on solution pages)
   ============================================================ */
.sol-inline-cta{
  margin-top: clamp(40px, 5vw, 60px);
  padding: clamp(28px, 3.5vw, 44px) clamp(28px, 4vw, 56px);
  background: linear-gradient(135deg, #1a3a6e 0%, #2a7de1 100%);
  border-radius: 22px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
  color: #fff;
}
.sol-inline-cta-text{ flex: 1; min-width: 280px; }
.sol-inline-cta .eye-mini{
  display: block;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 10px;
}
.sol-inline-cta p{
  font-family: var(--display); font-weight: 700;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -.015em;
  line-height: 1.25;
  color: #fff;
  margin: 0;
}

.eye-mini{
  display: block;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 10px;
}

/* ============================================================
   LEADER FADE-IN (used for dynamically rendered leader cards)
   ============================================================ */
@keyframes leaderFadeIn{
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   CAPABILITIES — Solutions-style list with hover-reveal (v15)
   Mimics .sol-row exactly, but each row reveals its 3 caps
   in a slide-in panel on hover.
   ============================================================ */
.layers-list{
  margin-top: clamp(28px, 4vw, 48px);
  padding: 0 var(--pad-x);
  border-top: 1px solid var(--line);
}

.layer-row{
  display: grid;
  grid-template-columns: 80px 1fr 1.6fr 80px;
  gap: clamp(20px, 4vw, 50px);
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: all .35s var(--ease);
}

/* Bottom blue accent line on hover */
.layer-row::before{
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--accent, var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s var(--ease);
  z-index: 2;
}
.layer-row:hover::before{ transform: scaleX(1); }

/* Layer accent colors */
.layer-row[data-layer="a"]{ --accent: #c41818; }
.layer-row[data-layer="b"]{ --accent: #1c5fc4; }
.layer-row[data-layer="c"]{ --accent: #0a7d63; }

/* Big layer letter (A/B/C) */
.lr-num{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent, var(--blue));
  font-weight: 600;
  transition: color .25s ease;
}

/* Layer title */
.lr-title{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--ink);
  transition: transform .4s var(--ease), color .25s ease;
}
.layer-row:hover .lr-title{
  transform: translateX(8px);
  color: var(--accent);
}

/* Layer description */
.lr-desc{
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--grey-1);
  max-width: 60ch;
  transition: opacity .3s var(--ease);
}

/* Arrow on the right */
.lr-arrow{
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent, var(--blue));
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: right;
  opacity: .6;
  transition: opacity .35s var(--ease);
}
.layer-row:hover .lr-arrow{ opacity: 1; }

/* Hover-reveal capabilities panel */
.lr-caps{
  position: absolute;
  top: 50%;
  right: 100px;
  transform: translateY(-50%) translateX(20px);
  display: flex;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .55s var(--ease);
  z-index: 3;
}
.layer-row:hover .lr-caps{
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}
/* Stagger each cap card */
.layer-row:hover .lr-cap{ animation: lrc-slide-in .5s var(--ease) backwards; }
.layer-row:hover .lr-cap:nth-child(1){ animation-delay: .05s; }
.layer-row:hover .lr-cap:nth-child(2){ animation-delay: .15s; }
.layer-row:hover .lr-cap:nth-child(3){ animation-delay: .25s; }

@keyframes lrc-slide-in{
  from{ opacity: 0; transform: translateX(16px); }
  to{ opacity: 1; transform: translateX(0); }
}

/* When caps are visible, fade the description */
.layer-row:hover .lr-desc{ opacity: 0; }

/* Individual cap card in the slide-in panel */
.lr-cap{
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 12px;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 10px 24px rgba(2,6,31,.12);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.lr-cap:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(2,6,31,.18);
}
.lrc-num{
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}
.lrc-name{
  font-family: var(--display);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: -.01em;
  line-height: 1.2;
  color: #fff;
}

/* Responsive — on smaller screens, show caps stacked below */
@media (max-width: 1200px){
  .lr-caps{
    position: static;
    transform: none;
    margin-top: 16px;
    grid-column: 2 / 4;
    flex-wrap: wrap;
  }
  .layer-row:hover .lr-caps{ transform: none; }
  .layer-row:hover .lr-desc{ opacity: 1; }
  /* Show caps always on smaller screens */
  .lr-caps{ opacity: 1; pointer-events: auto; }
  .lr-cap{ animation: none !important; }
}
@media (max-width: 980px){
  .layer-row{ grid-template-columns: 60px 1fr; gap: 18px; }
  .lr-desc{ grid-column: 1 / -1; }
  .lr-arrow{ display: none; }
  .lr-caps{ grid-column: 1 / -1; }
}
/* ============================================================
   PARTNERS × TECHNOLOGY BAND — Tiered creative layout (v16)
   ============================================================ */
.ptech-band{
  background: var(--navy-black);
  color: #fff;
  padding: clamp(50px, 6.5vw, 92px) var(--pad-x);
  position: relative;
  overflow: hidden;
}
.ptech-band::before{
  content:'';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 80% 10%, rgba(42,125,225,.18), transparent 60%),
    radial-gradient(ellipse 40% 60% at 0% 90%, rgba(13,152,122,.12), transparent 60%);
  pointer-events: none;
}
.ptech-band > *{ position: relative; z-index: 2; }

.ptech-head{
  max-width: 760px;
  margin-bottom: clamp(34px, 4.5vw, 56px);
}
.ptech-head .eyebrow{ color: var(--cyan); }
.ptech-head h2{ color: #fff; }
.ptech-head h2 .em{
  background: linear-gradient(135deg, #00d4ff 0%, #00ff9d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ptech-lead{
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,.7);
  margin-top: 20px;
  max-width: 60ch;
}

/* TIER 1: Flagship Microsoft full-width */
.ptech-flagship{
  display: block;
  position: relative;
  margin-bottom: 50px;
  padding: 40px 44px;
  background: linear-gradient(135deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.08) 100%);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  text-decoration: none;
  color: inherit;
  transition: all .35s var(--ease);
  overflow: hidden;
}
.ptech-flagship::before{
  content:'';
  position: absolute;
  top: -50%; left: -10%;
  width: 60%; height: 200%;
  background: linear-gradient(135deg, rgba(0,164,239,.10), rgba(255,185,0,.06) 50%, transparent 100%);
  opacity: 0;
  transition: opacity .55s var(--ease);
  pointer-events: none;
}
.ptech-flagship:hover{
  border-color: rgba(0,164,239,.5);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
}
.ptech-flagship:hover::before{ opacity: 1; }

.pf-tier{
  position: absolute;
  top: 24px; right: 28px;
}
.pf-tier-tag{
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 5px 12px;
  background: rgba(0,255,255,.08);
  border: 1px solid rgba(0,255,255,.22);
  border-radius: 100px;
}
.pf-body{
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 32px;
  align-items: center;
}
.pf-logo{
  width: 90px; height: 90px;
  background: #fff;
  border-radius: 20px;
  display: grid;
  place-items: center;
  padding: 16px;
}
.pf-logo svg{ width: 100%; height: 100%; }
.pf-info h3{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -.03em;
  margin-bottom: 6px;
  color: #fff;
}
.pf-tagline{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 18px;
}
.pf-tech{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pf-tech span{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  padding: 6px 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  color: rgba(255,255,255,.9);
  transition: all .25s ease;
}
.ptech-flagship:hover .pf-tech span{
  border-color: rgba(0,164,239,.4);
  background: rgba(0,164,239,.08);
}
.pf-arr{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  white-space: nowrap;
  align-self: end;
  padding-bottom: 4px;
  transition: transform .35s var(--ease);
}
.ptech-flagship:hover .pf-arr{ transform: translateX(6px); }

/* TIER 2: Strategic partners — 4-up grid */
.ptech-tier2{
  margin-bottom: 50px;
}
.pt2-label{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 20px;
}
.pt2-card{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 24px 22px;
  text-decoration: none;
  color: inherit;
  transition: all .3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 160px;
}
.pt2-card:hover{
  background: rgba(255,255,255,.07);
  border-color: rgba(0,164,239,.4);
  transform: translateY(-3px);
}
.pt2-logo{
  width: 48px; height: 48px;
  background: #fff;
  border-radius: 12px;
  display: grid;
  place-items: center;
  padding: 9px;
}
.pt2-logo svg{ width: 100%; height: 100%; }
.pt2-name{
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.015em;
  color: #fff;
  margin-top: auto;
}
.pt2-tech{
  font-family: var(--body);
  font-size: 12px;
  color: rgba(255,255,255,.6);
  line-height: 1.4;
}

/* TIER 3: Core tech stack — pill list */
.ptech-tier3{
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.pt3-label{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 18px;
}
.pt3-list{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pt3-tech{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  padding: 7px 14px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 100px;
  color: rgba(255,255,255,.85);
  transition: all .25s ease;
}
.pt3-tech:hover{
  border-color: var(--cyan);
  color: var(--cyan);
}

/* Responsive */
@media (max-width: 960px){
  .pf-body{ grid-template-columns: 1fr; gap: 20px; }
  .pf-arr{ align-self: start; }
}
@media (max-width: 540px){
  .pf-tier{ position: static; margin-bottom: 16px; }
  .pf-logo{ width: 70px; height: 70px; }
}

/* ============================================================
   TIMELINE IMAGE PLACEHOLDERS (v16)
   Reveal on scroll with parallax-style fade
   ============================================================ */
.tl-img{
  margin-top: 18px;
  margin-bottom: 10px;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.tl-img figure{
  margin: 0;
  width: 100%;
  height: 100%;
}
.tl-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tl-img.is-revealed{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .tl-img{ transition: none; opacity: 1; transform: none; }
}

/* ============================================================
   NAV — Careers highlighted + Connect dropdown socials (v17)
   ============================================================ */
.nav-item--careers > a{
  background: var(--blue);
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 100px;
  margin-left: 8px;
  font-weight: 600 !important;
  letter-spacing: -.005em;
  transition: all .3s var(--ease);
}
.nav-item--careers > a::after{ display: none !important; }
.nav-item--careers > a:hover{
  background: var(--ink);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(42,125,225,.35);
}
.nav.is-dark .nav-item--careers > a{
  background: linear-gradient(135deg, #00a0df 0%, #0a7d63 100%);
  color: #fff !important;
}
.nav.is-dark .nav-item--careers > a:hover{
  background: #fff;
  color: var(--ink) !important;
  box-shadow: 0 6px 16px rgba(255,255,255,.2);
}

/* Connect dropdown — wider with social icons row */
.drop--connect{
  min-width: 280px;
}
.drop-socials{
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px 4px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.drop-social{
  display: grid;
  place-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--off);
  color: var(--ink);
  transition: all .25s var(--ease);
  padding: 0 !important;
}
.drop-social svg{
  width: 20px; height: 20px;
  fill: currentColor;
}
.drop-social:hover{
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}
.drop-social[aria-label="LinkedIn"]:hover{ background: #0a66c2; }
.drop-social[aria-label="Instagram"]:hover{
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}
.drop-social[aria-label="X (Twitter)"]:hover{ background: #000; }

/* ============================================================
   PARTNERS ACCORDION (v17) — expandable rows on partners.html
   ============================================================ */
.partners-accordion{
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 40px;
}

/* .pacc-* accordion-item styling now lives in
   build/partner-accordion-item/style-index.css (the
   applab/partner-accordion-item block's own stylesheet) since every
   .pacc-item on the site is now an instance of that block. */

/* ============================================================
   METHODOLOGY — FINAL CTA (v17)
   ============================================================ */
.meth-final-cta{
  padding: clamp(46px, 6vw, 84px) var(--pad-x);
  background: linear-gradient(135deg, #0a1e4a 0%, #1748a3 60%, #2a7de1 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.meth-final-cta::before{
  content:'';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(0,212,255,.18), transparent 60%),
    radial-gradient(ellipse 40% 50% at 5% 80%, rgba(0,255,157,.10), transparent 60%);
  pointer-events: none;
}
.meth-final-inner{
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
}
.meth-final-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
}

.meth-final-left .eyebrow{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
}
.meth-final-left h2{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -.035em;
  line-height: 1.02;
  color: #fff;
  margin-bottom: 22px;
}
.meth-final-left h2 .em{
  background: linear-gradient(135deg, #00d4ff 0%, #00ff9d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.meth-final-left p{
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,.8);
  margin-bottom: 32px;
  max-width: 52ch;
}
.meth-final-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.meth-final-stats{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  overflow: hidden;
}
/* .mfs now owned by the applab/mx-final-stat block */

@media (max-width: 880px){
  .meth-final-grid{ grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 540px){
  .meth-final-stats{ grid-template-columns: 1fr; }
  .meth-final-actions{ flex-direction: column; align-items: stretch; }
  .meth-final-actions .btn{ justify-content: center; }
}

/* ============================================================
   METHODOLOGY V2 — Modern, animated, glassmorphic (v18)
   ============================================================ */

/* Reusable tag */
.mx-tag{
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cyan);
  padding: 8px 16px;
  background: rgba(0,212,255,.08);
  border: 1px solid rgba(0,212,255,.22);
  border-radius: 100px;
  margin-bottom: 28px;
}
.mx-tag--dark{
  color: var(--blue);
  background: rgba(42,125,225,.06);
  border-color: rgba(42,125,225,.18);
}
.mx-tag--cyan{
  color: var(--cyan);
  background: rgba(0,212,255,.08);
  border-color: rgba(0,212,255,.22);
}

/* Reusable gradient ems */
.mx-em{
  background: linear-gradient(135deg, #00d4ff 0%, #00ff9d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mx-em-blue{ color: var(--blue); }
.mx-em-grad{
  background: linear-gradient(135deg, #00d4ff 0%, #00ff9d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Reusable section head */
.mx-section-head{
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(50px, 6vw, 80px);
}
.mx-section-head h2{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 5.5vw, 68px);
  letter-spacing: -.04em;
  line-height: 1.02;
  color: var(--ink);
  margin-bottom: 22px;
}
.mx-section-head--light h2{ color: #fff; }
.mx-section-head--light p:not(.mx-tag){ color: rgba(255,255,255,.7); }

/* ===== HERO ===== */
.mx-hero{
  padding: 200px var(--pad-x) 100px;
  background: linear-gradient(135deg, #050a1f 0%, #0a1e4a 50%, #1748a3 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.mx-hero-bg{
  position: absolute; inset: 0;
  pointer-events: none;
}
.mx-orb{
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  animation: mx-float 18s ease-in-out infinite;
}
.mx-orb--1{
  width: 600px; height: 600px;
  background: radial-gradient(circle, #00d4ff 0%, transparent 70%);
  top: -200px; right: -100px;
  animation-delay: 0s;
}
.mx-orb--2{
  width: 500px; height: 500px;
  background: radial-gradient(circle, #00ff9d 0%, transparent 70%);
  bottom: -150px; left: 20%;
  animation-delay: -6s;
}
.mx-orb--3{
  width: 400px; height: 400px;
  background: radial-gradient(circle, #2a7de1 0%, transparent 70%);
  top: 40%; left: -100px;
  animation-delay: -12s;
}
@keyframes mx-float{
  0%, 100%{ transform: translate(0, 0) scale(1); }
  33%{ transform: translate(40px, -30px) scale(1.05); }
  66%{ transform: translate(-30px, 40px) scale(.95); }
}

.mx-hero-inner{
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.mx-hero-left h1{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 6.5vw, 84px);
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 26px;
  color: #fff;
}
.mx-lead{
  font-family: var(--body);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,.8);
  max-width: 56ch;
  margin-bottom: 36px;
}
.mx-hero-cta{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 980px){
  .mx-hero-inner{ grid-template-columns: 1fr; }
}

/* ===== STAGES (timeline) ===== */
.mx-stages{
  padding: clamp(50px, 6.5vw, 92px) var(--pad-x);
  background: var(--paper);
  position: relative;
}
.mx-timeline{
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.mx-timeline-line{
  position: absolute;
  left: 60px;
  top: 50px;
  bottom: 50px;
  width: 2px;
  background: linear-gradient(180deg, #2a7de1 0%, #00d4ff 50%, #00ff9d 100%);
  border-radius: 2px;
}

/* .mx-stage / .mx-stage-num / .mx-stage-card / .mx-tools now owned by the applab/mx-stage block */

@media (max-width: 720px){
  .mx-timeline-line{ left: 30px; }
}

/* ===== STACK ===== */
.mx-stack{
  padding: clamp(50px, 6.5vw, 92px) var(--pad-x);
  background: var(--navy-black);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.mx-stack::before{
  content:'';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(0,212,255,.10), transparent 60%),
    radial-gradient(ellipse 50% 50% at 0% 80%, rgba(0,255,157,.06), transparent 60%);
  pointer-events: none;
}
.mx-layers{
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* .mx-layer / .mx-layer-* now owned by the applab/mx-layer block */

/* ===== CASES ===== */
.mx-cases{
  padding: clamp(50px, 6.5vw, 92px) var(--pad-x);
  background: var(--paper);
}
.mx-cases-grid{
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
/* .mx-case / .mx-case-* now owned by the applab/mx-case-card block */

/* ============================================================
   EVENTS GALLERY — Creative bento-grid with image placeholders (v18)
   ============================================================ */
.events-gallery{
  padding: clamp(80px, 11vw, 150px) var(--pad-x);
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.evg-head{
  max-width: 760px;
  margin: 0 auto clamp(50px, 6vw, 80px);
  text-align: center;
}
.evg-tag{
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  padding: 8px 18px;
  background: rgba(42,125,225,.08);
  border: 1px solid rgba(42,125,225,.18);
  border-radius: 100px;
  margin-bottom: 24px;
}
.evg-head h2{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -.04em;
  line-height: 1.02;
  color: var(--ink);
  margin-bottom: 20px;
}
.evg-em{
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* BENTO GRID */
.evg-grid{
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

/* .evg-card--lg/--tall/--wide: legacy hardcoded modifier classes, no
   longer emitted by patterns/events-gallery.php but left here in case
   anything else still references them. The applab/evg-card block's
   own is-style-lg/tall/wide grid spans live in its style.scss. */
.evg-card--lg{
  grid-column: span 2;
  grid-row: span 2;
}
.evg-card--tall{
  grid-column: span 1;
  grid-row: span 2;
}
.evg-card--wide{
  grid-column: span 1;
  grid-row: span 2;
}

.evg-card{
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all .4s var(--ease);
  opacity: 0;
  transform: translateY(30px);
}
.evg-card.is-revealed{
  opacity: 1;
  transform: translateY(0);
  margin-block-start: 0;
}
.evg-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 26px 56px rgba(2,6,31,.15);
  border-color: var(--blue);
}

.evg-card-img{
  position: absolute;
  inset: 0;
  background: var(--off);
  overflow: hidden;
}
.evg-card-img img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.evg-card:hover .evg-card-img img{ transform: scale(1.08); }

/* Meta overlay at bottom */
.evg-card-meta{
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 24px 22px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.85) 100%);
  color: #fff;
  z-index: 3;
}
.evg-tag-mini{
  display: inline-block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  padding: 4px 10px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 100px;
  margin-bottom: 10px;
  font-weight: 600;
}
.evg-card-meta h3{
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.015em;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 4px;
}
.evg-card--lg .evg-card-meta h3{ font-size: 24px; }
.evg-card-meta p{
  font-family: var(--body);
  font-size: 13px;
  color: rgba(255,255,255,.75);
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 880px){
  .evg-grid{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .evg-card--lg{ grid-column: span 2; grid-row: span 2; }
  .evg-card--tall, .evg-card--wide{ grid-column: span 1; grid-row: span 1; }
}
@media (max-width: 540px){
  .evg-grid{ grid-template-columns: 1fr; }
  .evg-card--lg, .evg-card--tall, .evg-card--wide{ grid-column: span 1; grid-row: span 1; }
}

/* ============================================================
   FOOTER SOCIALS (v18)
   ============================================================ */
.footer-socials{
  display: flex;
  gap: 10px;
  margin: 20px 0 24px;
}
.footer-social{
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.7);
  transition: all .25s var(--ease);
}
.footer-social svg{
  width: 18px; height: 18px;
  fill: currentColor;
}
.footer-social:hover{
  transform: translateY(-2px);
  color: #fff;
}
.footer-social[aria-label="LinkedIn"]:hover{
  background: #0a66c2;
  border-color: #0a66c2;
}
.footer-social[aria-label="Instagram"]:hover{
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  border-color: transparent;
}
.footer-social[aria-label="X (Twitter)"]:hover{
  background: #000;
  border-color: rgba(255,255,255,.3);
}


/* ==========================================================================
   APPLAB · 2026 EDITORIAL REFRESH — appended override + feature layer
   Premium, editorial, agency-grade polish. Safe global refinements plus
   shared feature components: interactive leadership cards, founder-story
   block, and the leader detail-page (profile) system.
   ========================================================================== */

/* ---- Typographic finesse ---- */
h1,h2,h3,.h-mega,.h-xxl,.h-xl,.h-l{ text-wrap: balance; }
p,.lead{ text-wrap: pretty; }

/* ---- Deliberate mono kicker (editorial eyebrow) ---- */
.eyebrow{ font-weight:600; }
.kicker{
  display:inline-flex; align-items:center; gap:12px;
  font-family:var(--mono); font-size:11px; font-weight:600;
  letter-spacing:.24em; text-transform:uppercase; color:var(--blue);
}
.kicker::before{ content:''; width:34px; height:1px; background:currentColor; opacity:.55; }
.kicker--paper{ color:var(--cyan); }

/* ---- Reveal: snappier, less drift ---- */
.reveal{ transform:translateY(18px); transition:opacity .7s var(--ease), transform .7s var(--ease); }

/* ---- Tighten the shared section utilities (less empty space) ---- */
.section--paper,.section--off,.section--ink,.section--navy{ padding: clamp(46px, 6vw, 84px) var(--pad-x); }

/* ---- Oversized editorial index numeral ---- */
.ed-index{
  font-family:var(--display); font-weight:800;
  font-size:clamp(56px,8vw,132px); line-height:.8; letter-spacing:-.05em;
  color:transparent; -webkit-text-stroke:1.4px var(--line);
}

/* ==========================================================================
   LEADERSHIP — interactive, clickable cards
   ========================================================================== */
.leader-photo{ transition: transform .55s var(--ease), box-shadow .55s var(--ease); }
.leader-name{ transition:color .3s var(--ease); }
/* Founder emphasis ring */
.leader--founder .leader-photo{ outline:2px solid rgba(0,160,223,.0); outline-offset:4px; transition:outline-color .45s var(--ease), transform .55s var(--ease), box-shadow .55s var(--ease); }
.leader--founder:hover .leader-photo{ outline-color:rgba(0,160,223,.65); }

/* ==========================================================================
   ABOUT — Founder story section (dark, editorial pull-quotes)
   ========================================================================== */
.founder-story{ background:var(--navy-black); color:#fff; padding:clamp(72px,10vw,140px) var(--pad-x); position:relative; overflow:hidden; }
.founder-story::before{ content:''; position:absolute; inset:0; background:
   radial-gradient(ellipse 55% 55% at 85% 15%, rgba(0,160,223,.20), transparent 60%),
   radial-gradient(ellipse 50% 55% at 5% 95%, rgba(13,152,122,.16), transparent 60%); pointer-events:none; }
.fs-inner{ max-width:1180px; margin:0 auto; position:relative; z-index:2; }
.fs-head h2{ color:#fff; margin-top:18px; }
.fs-head h2 .em{ color:var(--cyan); }
.fs-head .lead{ color:rgba(255,255,255,.72); margin-top:20px; max-width:60ch; }
.fs-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(22px,2.6vw,34px); margin-top:clamp(40px,5vw,66px); }
.fs-card{ background:rgba(255,255,255,.045); border:1px solid rgba(255,255,255,.10); border-radius:26px; padding:clamp(30px,3.6vw,48px); display:flex; flex-direction:column; transition:border-color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease); margin-block-start:0; }
.fs-card:hover{ background:rgba(255,255,255,.07); border-color:rgba(0,160,223,.35); transform:translateY(-4px); }
.fs-mark{ font-family:var(--display); font-weight:800; font-size:66px; line-height:.6; color:var(--cyan); opacity:.5; margin-bottom:22px; }
.fs-quote{ font-family:var(--display); font-weight:500; font-size:clamp(18px,1.75vw,23px); line-height:1.46; letter-spacing:-.015em; color:#fff; }
.fs-author{ margin-top:auto; padding-top:28px; display:flex; align-items:center; gap:15px; }
.fs-author img{ width:56px; height:56px; border-radius:50%; object-fit:cover; object-position:center 22%; flex-shrink:0; box-shadow:0 8px 20px rgba(0,0,0,.35); }
.fs-author b{ display:block; font-family:var(--display); font-size:16px; font-weight:600; letter-spacing:-.01em; }
.fs-author span{ font-family:var(--mono); font-size:11px; letter-spacing:.13em; text-transform:uppercase; color:rgba(255,255,255,.55); margin-top:3px; display:block; }
.fs-author a{ margin-left:auto; }
.fs-linkedin{ width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); display:grid; place-items:center; color:#fff; transition:all .28s var(--ease); }
.fs-linkedin:hover{ background:#0a66c2; border-color:#0a66c2; transform:scale(1.08); }
.fs-linkedin svg{ width:16px; height:16px; }
@media(max-width:800px){ .fs-grid{ grid-template-columns:1fr; } }

/* ===== 2026 refresh — tighter vertical rhythm between sections ===== */
.caps-section,.solutions-section,.ptech-band,.trusted-section,.uniq,.spec,.cert,.msp,.conf-section,.feat-case,.insights-section,.recognized,.timeline,.locations,.events,.events-gallery,.vision-section,.founder-story,.our-story-v3,.culture,.vacancies,.testimonials,.grads,.academy,.hiring-strip,.leaders-section,.team-stats,.perks-section,.ld-body,.ld-highlights,.ld-journey,.map-section,.stats-strip{ padding-top: clamp(42px,5.5vw,68px) !important; padding-bottom: clamp(42px,5.5vw,68px) !important; }


/* About — premium Our Story + Unique Position (moved from homepage) */
.story2{ padding:clamp(46px,6vw,82px) var(--pad-x); background:var(--paper); }
.story2-inner{ max-width:1200px; margin:0 auto; }
.story2-head{ max-width:820px; }
.story2-title{ font-family:var(--display); font-weight:700; font-size:clamp(30px,4vw,54px); letter-spacing:-.03em; line-height:1.05; color:var(--ink); margin-top:18px; }
.story2-title .em{ background:linear-gradient(135deg,var(--blue),var(--teal)); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.story2-grid{ display:grid; grid-template-columns:.95fr 1.05fr; gap:clamp(30px,4vw,60px); align-items:center; margin-top:clamp(32px,4vw,52px); }
.story2-media{ position:relative; border-radius:22px; overflow:hidden; aspect-ratio:4/3; box-shadow:0 24px 60px rgba(2,6,31,.14); }
.story2-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.story2-copy p{ font-size:16px; line-height:1.75; color:var(--grey-1); }
.story2-copy p + p{ margin-top:16px; }
.story2-lead{ font-family:var(--display)!important; font-weight:500!important; font-size:clamp(19px,2vw,26px)!important; line-height:1.35!important; letter-spacing:-.015em; color:var(--ink)!important; }
.story2-statement{ font-family:var(--display)!important; font-weight:600!important; font-size:clamp(18px,1.8vw,22px)!important; color:var(--ink)!important; margin-top:22px!important; }
.story2-statement .em{ color:var(--blue); }
.story2-milestones{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:clamp(34px,4vw,52px); }
.story2-ms{ background:var(--off); border:1px solid var(--line); border-radius:18px; padding:26px 24px; border-left:3px solid var(--blue); }
.story2-ms:nth-child(2){ border-left-color:var(--teal); } .story2-ms:nth-child(3){ border-left-color:var(--cyan); }
.story2-ms .k{ font-family:var(--mono); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--blue); margin-bottom:12px; }
.story2-ms:nth-child(2) .k{ color:var(--teal); } .story2-ms:nth-child(3) .k{ color:var(--cyan); }
.story2-ms p{ font-family:var(--display); font-weight:600; font-size:17px; line-height:1.32; letter-spacing:-.015em; color:var(--ink); margin:0; }
@media(max-width:820px){ .story2-grid{ grid-template-columns:1fr; } .story2-milestones{ grid-template-columns:1fr; } }

/* ===== Microsoft Partnership (Partners page) + Certifications (Leadership page) ===== */
.msp{ padding: clamp(46px,6vw,82px) var(--pad-x); background:var(--paper); }
.msp-inner{ max-width:1280px; margin:0 auto; }
/* .msp-hero / .msp-ms / .msp-hero-badge now owned by the applab/msp-hero block (incl. its own @media rule) */
.msp-awards{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
/* .msp-award / .msp-award-img / .msp-award-cap now owned by the applab/msp-award block */
@media(max-width:820px){ .msp-awards{ grid-template-columns:1fr; } }
.msp-label{ font-family:var(--mono); font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:var(--blue); margin:clamp(34px,4vw,52px) 0 18px; }
.msp-desig-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
/* .msp-desig / .msp-desig-top / .msp-desig-bot now owned by the applab/msp-desig block */
@media(max-width:820px){ .msp-desig-grid{ grid-template-columns:1fr; } }

.cert{ padding: clamp(46px,6vw,82px) var(--pad-x); background:var(--paper); }
.cert-inner{ max-width:1280px; margin:0 auto; }
.cert-head{ display:grid; grid-template-columns:1.15fr .85fr; gap:40px; align-items:end; }
/* .cert-stat / .cert-tag now owned by the applab/cert-stat block's stylesheet */
.cert-img{ margin-top:clamp(30px,4vw,48px); border:1px solid var(--line); border-radius:20px; padding:clamp(18px,3vw,40px); background:#fff; box-shadow:0 16px 40px rgba(2,6,31,.06); }
.cert-img img{ width:100%; display:block; }
@media(max-width:760px){ .cert-head{ grid-template-columns:1fr; gap:20px; } }


/* ===== Capability pages — visual offer cards + delivery flow diagram ===== */
.offer-section .offer-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; background:transparent; border:none; border-radius:0; overflow:visible; }
.offer-section .offer{ background:#fff; border:1px solid var(--line); border-radius:18px; padding:28px 26px; min-height:0; box-shadow:0 6px 18px rgba(2,6,31,.04); transition:transform .35s var(--ease),box-shadow .35s var(--ease),border-color .35s var(--ease); }
.offer-section .offer::before{ display:none; }
.offer-section .offer:hover{ transform:translateY(-5px); box-shadow:0 20px 44px rgba(2,6,31,.10); border-color:var(--cap-accent,var(--blue)); background:#fff; }
.offer-ic{ width:50px; height:50px; border-radius:13px; display:grid; place-items:center; background:color-mix(in srgb, var(--cap-accent,var(--blue)) 12%, #fff); color:var(--cap-accent,var(--blue)); }
.offer-ic svg{ width:25px; height:25px; }
.offer-section .offer h4{ margin-top:18px; }

.cap-flow{ padding: clamp(46px,6vw,82px) var(--pad-x); background:var(--off); }
.cap-flow-inner{ max-width:1280px; margin:0 auto; }
.cap-flow-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; margin-top:clamp(36px,4vw,52px); position:relative; }
.cap-step{ padding:0 22px; position:relative; }
.cap-step:first-child{ padding-left:0; }
.cap-step:not(:last-child)::after{ content:''; position:absolute; top:23px; left:calc(50% + 30px); right:calc(-50% + 30px); height:2px; background:var(--cap-accent,var(--blue)); opacity:.22; z-index:0; }
.cap-step .node{ width:48px;height:48px;margin:0;border-radius:50%; background:var(--cap-accent,var(--blue)); color:#fff; display:grid;place-items:center; font-family:var(--display); font-weight:800; font-size:18px; position:relative; z-index:1; box-shadow:0 10px 24px rgba(2,6,31,.14); }
.cap-step h4{ font-family:var(--display); font-weight:700; font-size:17px; letter-spacing:-.015em; margin:18px 0 8px; }
.cap-step p{ font-size:13.5px; line-height:1.55; color:var(--grey-1); }
@media(max-width:820px){ .cap-flow-grid{ grid-template-columns:1fr 1fr; gap:30px 0; } .cap-step:not(:last-child)::after{ display:none; } }
@media(max-width:460px){ .cap-flow-grid{ grid-template-columns:1fr; } }

/* Capability case-study tiles: show case imagery behind the tile visual */
.case-tile .visual img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:2; transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.case-tile:hover .visual img{ transform: scale(1.05); }
.case-tile .visual:has(img) .gly{ display:none; }

/* Fix: Connect-dropdown social icons on dark navs were rendering white-on-near-white.
   Give them a clearly visible chip + icon in both light and dark nav themes. */
.nav.is-dark .drop-socials .drop-social{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
}
.nav.is-dark .drop-socials .drop-social[aria-label="LinkedIn"]:hover{ background:#0a66c2; border-color:#0a66c2; color:#fff; }
.nav.is-dark .drop-socials .drop-social[aria-label="Instagram"]:hover{ background:linear-gradient(135deg,#833ab4 0%,#fd1d1d 50%,#fcb045 100%); border-color:transparent; color:#fff; }
.nav.is-dark .drop-socials .drop-social[aria-label="X (Twitter)"]:hover{ background:#000; border-color:rgba(255,255,255,.3); color:#fff; }

/* ===== Site search modal ===== */
.search-modal{ position:fixed; inset:0; z-index:1000; display:none; }
.search-modal.is-open{ display:block; }
.search-backdrop{ position:absolute; inset:0; background:rgba(2,6,31,.55); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); animation:searchFade .2s ease-out; }
.search-panel{ position:relative; max-width:640px; margin:12vh auto 0; background:var(--paper); border:1px solid var(--line); border-radius:20px; box-shadow:0 40px 100px rgba(2,6,31,.35); overflow:hidden; animation:searchPop .24s cubic-bezier(.22,.61,.36,1); }
@keyframes searchFade{ from{opacity:0} to{opacity:1} }
@keyframes searchPop{ from{opacity:0; transform:translateY(-14px) scale(.98)} to{opacity:1; transform:none} }
.search-inputwrap{ display:flex; align-items:center; gap:14px; padding:18px 20px; border-bottom:1px solid var(--line); }
.search-ic{ width:22px; height:22px; color:var(--blue); flex-shrink:0; }
.search-input{ flex:1; border:none; outline:none; background:transparent; font-family:var(--body); font-size:18px; color:var(--ink); }
.search-input::placeholder{ color:var(--grey-1); }
.search-close{ border:1px solid var(--line); background:var(--off); color:var(--grey-1); font-family:var(--mono); font-size:11px; letter-spacing:.1em; padding:5px 9px; border-radius:8px; cursor:pointer; transition:all .2s var(--ease); }
.search-close:hover{ color:var(--ink); border-color:var(--grey-1); }
.search-results{ max-height:52vh; overflow-y:auto; padding:8px; }
.search-hint,.search-empty{ padding:26px 16px; color:var(--grey-1); font-size:14px; text-align:center; }
.search-result{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:13px 16px; border-radius:12px; text-decoration:none; color:var(--ink); transition:background .15s var(--ease); }
.search-result:hover,.search-result.is-active{ background:rgba(42,125,225,.09); }
.sr-title{ font-family:var(--display); font-weight:600; font-size:15.5px; letter-spacing:-.01em; }
.sr-sub{ font-family:var(--mono); font-size:10.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--blue); flex-shrink:0; opacity:.85; }
@media(max-width:560px){ .search-panel{ margin:8vh 14px 0; } .search-input{ font-size:16px; } }

/* ==========================================================================
   2026 SPACING & RHYTHM REFINEMENT
   Tighten oversized heroes and CTAs defined in per-page <style> blocks.
   ========================================================================== */
.page-hero{
  padding-top: clamp(112px, 13vw, 134px) !important;
  padding-bottom: clamp(40px, 5.5vw, 60px) !important;
}
.cta, .cta-team, .ld-cta{
  padding-top: clamp(56px, 7vw, 96px) !important;
  padding-bottom: clamp(56px, 7vw, 96px) !important;
}
.ld-hero{
  padding-top: clamp(112px, 13vw, 140px) !important;
  padding-bottom: clamp(44px, 6vw, 66px) !important;
}
/* trim the gap the CTA copy leaves before its buttons */
.cta-actions, .cta-team-actions{ margin-top: clamp(28px, 4vw, 44px) !important; }
/* Industry-page hero (defined per-page) — align with the tightened hero rhythm */
.ind-hero{
  padding-top: clamp(112px, 13vw, 138px) !important;
  padding-bottom: clamp(46px, 6vw, 68px) !important;
}
/* Methodology hero (defined per-page) */
.mx-hero{
  padding-top: clamp(112px, 13vw, 140px) !important;
  padding-bottom: clamp(46px, 6vw, 70px) !important;
}
/* Fix: capabilities "offer" grid must collapse on tablet/mobile
   (.offer-section .offer-grid had no breakpoints and overrode page rules) */
@media (max-width: 980px){ .offer-section .offer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .offer-section .offer-grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   BRAND FLOWING-LINE MOTIF
   Subtle animated line-ribbon behind hero & CTA sections, site-wide.
   Sits below content (content is z-index:2 in these sections).
   ========================================================================== */
.page-hero::after,
.cta::after,
.cta-team::after{
  content:"";
  position:absolute;
  z-index:1;
  pointer-events:none;
  top:50%;
  right:-8%;
  width:min(640px, 58%);
  height:132%;
  background:url("../images/decor/wave-lines.png") no-repeat right center;
  background-size:contain;
  opacity:.36;
  transform:translateY(-50%);
  will-change:transform, opacity;
  animation:waveFloat 22s ease-in-out infinite alternate;
}
.cta::after,
.cta-team::after{ opacity:.28; }
@keyframes waveFloat{
  0%{   transform:translate(0, -52%) rotate(0deg) scale(1); opacity:.26; }
  100%{ transform:translate(-24px, -45%) rotate(2.4deg) scale(1.05); opacity:.44; }
}
@media (max-width: 680px){
  .page-hero::after,
  .cta::after,
  .cta-team::after{ width:86%; right:-22%; opacity:.15; }
}
@media (prefers-reduced-motion: reduce){
  .page-hero::after,
  .cta::after,
  .cta-team::after{ animation:none; }
}

/* .wp-block-html only wraps Custom HTML blocks inside the block-editor
   preview — core/html outputs raw content with no wrapper on the front
   end — so this hides the raw animated-SVG preview from the editor
   canvas only, never on the live site. */
.wp-block-html .pos-merge{ display: none; }
