/* Layout: brand-led MSP page. A dark "operations" hero (3D globe Canada ⇄ UAE + neural field) opens the page,
   then light, cool sections. The logo's red diagonal stripes are the one recurring motif. */
@property --beam { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --ink: #0f1720;
  --muted: #566272;
  --line: #dfe4ea;
  --red: #d7261e;
  --red-ink: #ffffff;
  --red-soft: #fdecea;
  --blue: #1689d6;
  --blue-soft: #e6f3fc;
  --band: #0b1118;
  --band-2: #111a24;
  --band-fg: #eef2f6;
  --band-muted: #9aa7b6;
  --band-line: #223040;
  --hero-red: #ff4b3e;
  --hero-blue: #4cb2f2;
  --font-display: "Archivo", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --font-logo: "Outfit", "Archivo", "Segoe UI", system-ui, sans-serif;
  --radius: 10px;
  --max: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1a1c20; --surface: #222529; --ink: #eceef1; --muted: #a3a9b2; --line: #30343b;
    --red: #ff4b3e; --red-ink: #1a0503; --red-soft: #2a1412; --blue: #4cb2f2; --blue-soft: #10283a;
    --band: #070b10; --band-2: #0d141c; --band-fg: #e9eef4; --band-muted: #8d9aa9; --band-line: #1c2835;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1a1c20; --surface: #222529; --ink: #eceef1; --muted: #a3a9b2; --line: #30343b;
  --red: #ff4b3e; --red-ink: #1a0503; --red-soft: #2a1412; --blue: #4cb2f2; --blue-soft: #10283a;
  --band: #070b10; --band-2: #0d141c; --band-fg: #e9eef4; --band-muted: #8d9aa9; --band-line: #1c2835;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  padding-top: env(safe-area-inset-top, 0px);
  overflow-x: clip;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
.container {
  max-width: var(--max); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.eyebrow {
  font: 500 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red);
  display: inline-flex; align-items: center; gap: 10px; min-height: 12px;
}
.eyebrow::before { content: ""; width: 18px; height: 8px; flex-shrink: 0; background: repeating-linear-gradient(135deg, currentColor 0 2px, transparent 2px 5px); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 8px; border: 1.5px solid transparent;
  font: 600 15px/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, box-shadow .3s;
  position: relative;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--red); color: var(--red-ink); will-change: transform; }
.btn-primary:hover { box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--red) 70%, transparent); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* ===== Header: merges with the dark hero, then becomes a floating capsule ===== */
.site-header { position: sticky; top: 0; z-index: 50; }
.nav-shell {
  --pill: rgb(255 255 255 / .09); --nav-muted: var(--band-muted); --nav-line: var(--band-line);
  position: relative; margin: 0 auto; max-width: 100%;
  background: var(--band); color: var(--band-fg); border: 1px solid transparent; border-bottom-color: var(--band-line);
  transition: max-width .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1), border-radius .55s, background .4s, color .4s, box-shadow .4s, border-color .4s;
}
.site-header.scrolled .nav-shell {
  --pill: color-mix(in srgb, var(--ink) 7%, transparent); --nav-muted: var(--muted); --nav-line: var(--line);
  max-width: min(1180px, calc(100% - 24px)); transform: translateY(10px); border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 80%, transparent); color: var(--ink);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-color: color-mix(in srgb, var(--line) 85%, transparent);
  box-shadow: 0 24px 60px -28px rgb(15 23 32 / .5);
}
.nav { display: flex; align-items: center; gap: 22px; height: 68px; }

/* Logo "Orbit": the Z inside a globe ring, with a red satellite and its trail orbiting the ring continuously
   (global presence + cloud). Lowercase Outfit wordmark with a red hyphen, lowercase tagline. */
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; flex-shrink: 0; color: inherit; }
.logo-mark { width: 36px; height: 36px; flex-shrink: 0; overflow: visible; }
.logo-mark .lg-orbit, .pl-mark .lg-orbit { transform-origin: 20px 20px; animation: lg-orbit 7s linear infinite; }
.pl-mark .lg-orbit { animation-duration: 1.6s; }
@keyframes lg-orbit { to { transform: rotate(360deg); } }
.logo-mark .lg-ring { transition: opacity .4s; }
.logo-mark .lg-slash { stroke: var(--hero-red); stroke-dasharray: 1; stroke-dashoffset: 0; }
.logo-mark .lg-bars { transition: transform .6s cubic-bezier(.22,1,.36,1); transform-origin: 20px 20px; }
.brand:hover .lg-slash, .brand:focus-visible .lg-slash { animation: lg-draw .75s cubic-bezier(.65,0,.35,1) both; }
.brand:hover .lg-bars, .brand:focus-visible .lg-bars { transform: scaleX(.88); }
@keyframes lg-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.brand-rule { width: 1px; height: 28px; background: currentColor; opacity: .2; flex-shrink: 0; }
.brand-word { display: grid; gap: 5px; line-height: 1; }
.brand-word b { font: 600 23px/1 var(--font-logo); letter-spacing: -.02em; display: inline-flex; align-items: center; }
.wm-dash { display: inline-block; width: .3em; height: .095em; min-height: 2px; margin: 0 .05em; border-radius: 1px; background: var(--hero-red); transform: translateY(.07em); }
.brand-word small { font: 400 11px/1 var(--font-logo); letter-spacing: .05em; text-transform: none; color: inherit; opacity: .6; }
@media (max-width: 420px) { .brand-rule { display: none; } .brand { gap: 10px; } }

/* Primary nav with sliding hover pill */
.primary { position: relative; margin: 0 auto; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
.nl {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px;
  font: 500 14.5px var(--font-body); color: inherit; text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap;
  opacity: .8; transition: opacity .2s;
}
.nl:hover, .nl[aria-expanded="true"], .nl:focus-visible { opacity: 1; }
.nl .chev { width: 12px; height: 12px; opacity: .7; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.nl[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-hover { position: absolute; left: 0; top: 0; height: 0; width: 0; border-radius: 999px; background: var(--pill); opacity: 0; pointer-events: none; z-index: 0;
  transition: transform .4s cubic-bezier(.22,1,.36,1), width .4s cubic-bezier(.22,1,.36,1), opacity .25s; }

.nav-cta { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
/* never squeeze a header item: if space runs out the header switches to a compact level (fitNav) instead of clipping text */
.nav-cta > *, .brand, .nl { flex-shrink: 0; }
.site-header .btn-primary { background: var(--hero-red); color: #fff; }
.site-header:not(.scrolled) .btn-ghost { background: rgb(255 255 255 / .05); color: var(--band-fg); border-color: var(--band-line); }
.site-header:not(.scrolled) .btn-ghost:hover { border-color: var(--band-fg); }
.kbar-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 12px; border-radius: 10px;
  border: 1px solid var(--nav-line); background: transparent; color: var(--nav-muted); font: 500 13px var(--font-body); cursor: pointer; transition: border-color .2s, color .2s;
}
.kbar-btn:hover { color: inherit; border-color: currentColor; }
.lang-btn { display: inline-flex; align-items: center; height: 40px; padding: 0 13px; border-radius: 10px; border: 1px solid var(--nav-line); color: inherit; text-decoration: none;
  font: 600 14px/1 "IBM Plex Sans Arabic", var(--font-body); white-space: nowrap; transition: border-color .2s; }
.lang-btn:hover { border-color: currentColor; }
.mm-lang { font-family: "IBM Plex Sans Arabic", var(--font-display); }
.kbar-btn svg { width: 15px; height: 15px; }
.theme-btn { display: inline-grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; margin-left: 8px; border-radius: 10px; border: 1px solid var(--nav-line);
  background: transparent; color: inherit; cursor: pointer; transition: border-color .2s, transform .35s cubic-bezier(.22,1,.36,1); }
.theme-btn:hover { border-color: currentColor; }
.theme-btn:active { transform: rotate(-25deg) scale(.92); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .ic-sun, .theme-btn.is-dark .ic-moon { display: none; }
.theme-btn.is-dark .ic-sun { display: block; }
/* smooth colour change when the visitor switches day / night */
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after { transition: background-color .45s ease, color .45s ease, border-color .45s ease, fill .45s ease, stroke .45s ease !important; }
kbd { white-space: nowrap; font: 500 10.5px/1 var(--font-mono); padding: 4px 6px; border-radius: 5px; border: 1px solid var(--nav-line, var(--line)); background: rgb(127 127 127 / .08); color: inherit; }

/* Mega menu: one box that morphs between panels */
.mega {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 60; width: 0; height: 0;
  opacity: 0; visibility: hidden; transform-origin: top center;
  transform: translateX(var(--mx, 0px)) translateY(-8px) scale(.97);
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 40px 90px -30px rgb(15 23 32 / .5); overflow: hidden;
  transition: width .42s cubic-bezier(.22,1,.36,1), height .42s cubic-bezier(.22,1,.36,1), transform .42s cubic-bezier(.22,1,.36,1), opacity .22s, visibility .22s;
}
.mega.open { opacity: 1; visibility: visible; transform: translateX(var(--mx, 0px)) translateY(0) scale(1); }
.mega.instant, .mega.instant .mega-panel { transition: none !important; }
.mega-panel { position: absolute; top: 0; left: 0; padding: 16px; opacity: 0; pointer-events: none; visibility: hidden;
  transform: translateX(var(--from, 0px)); transition: opacity .28s, transform .42s cubic-bezier(.22,1,.36,1), visibility .28s; }
.mega-panel.on { opacity: 1; pointer-events: auto; visibility: visible; transform: none; }
.mega-panel[data-panel="services"] { width: 620px; }
.mega-panel[data-panel="solutions"] { width: 740px; }
.mega-panel[data-panel="partners"] { width: 600px; }
.mg-label { font: 500 10.5px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 6px 12px 8px; }
.mg-grid { display: grid; gap: 2px; align-content: start; }
.mg-cols-2 { grid-template-columns: 1fr 1fr; }
.mg-split { display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 12px; }
.mg-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; padding: 11px 12px; border-radius: 12px; text-decoration: none; color: inherit; transition: background .2s; }
.mg-item:hover, .mg-item:focus-visible { background: var(--bg); }
.mg-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), background .2s, color .2s; }
.mg-ic svg { width: 20px; height: 20px; }
.mg-item:hover .mg-ic, .mg-item:focus-visible .mg-ic { transform: scale(1.08) rotate(-6deg); background: var(--red); color: var(--red-ink); }
.mg-item b { display: block; font: 600 14.5px/1.3 var(--font-body); }
.mg-item span:not(.mg-ic) { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.45; } /* text only: the icon tile is a span too */
.mg-item b { color: var(--ink); }
.mg-feature {
  position: relative; border-radius: 14px; padding: 18px; overflow: hidden; text-decoration: none; isolation: isolate;
  background: radial-gradient(120% 90% at 100% 0%, #1d3a57, #0b1118 70%); color: #eef2f6;
  display: grid; align-content: space-between; gap: 18px; min-height: 100%;
}
.mg-feature::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 140px; height: 140px; z-index: -1; opacity: .35;
  background: repeating-linear-gradient(135deg, #ff4b3e 0 7px, transparent 7px 18px); transition: transform .6s cubic-bezier(.22,1,.36,1); }
.mg-feature:hover::after { transform: translate(-12px, -12px); }
.mg-feature .fi { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgb(255 75 62 / .16); color: #ff4b3e; }
.mg-feature .fi svg { width: 20px; height: 20px; }
.mg-feature b { display: block; font: 700 19px/1.15 var(--font-display); }
.mg-feature small { display: block; margin-top: 6px; color: #9aa7b6; font-size: 13px; }
.mg-feature .go { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: 13.5px; color: #ff6b60; }
.mg-feature .go svg { width: 15px; height: 15px; transition: transform .2s; }
.mg-feature:hover .go svg { transform: translateX(4px); }
.mg-foot { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; align-items: center; margin-top: 10px; padding: 12px 12px 2px; border-top: 1px solid var(--line); font-size: 13px; }
.mg-foot a { color: var(--muted); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; transition: color .2s; }
.mg-foot a:hover { color: var(--red); }
.mg-foot svg { width: 14px; height: 14px; }
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 0 4px; }
.partner-tile { padding: 12px; border-radius: 10px; border: 1px solid var(--line); font: 600 14px var(--font-display); text-decoration: none; color: inherit;
  display: flex; justify-content: space-between; align-items: center; gap: 8px; transition: border-color .2s, background .2s, transform .2s; }
.partner-tile:hover { border-color: var(--ink); transform: translateY(-1px); }
.partner-tile { background: #fff; color: #0f1720; min-height: 60px; }
.partner-tile img { display: block; width: auto; max-width: 108px; object-fit: contain; }
.partner-tile em { font: 500 9.5px var(--font-mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--red); white-space: nowrap; }

/* Search palette (Ctrl/⌘ K) */
.kbar { position: fixed; inset: 0; z-index: 140; display: grid; justify-items: center; align-items: start; padding: 12vh 16px 16px; }
.kbar[hidden] { display: none !important; }
.kbar-backdrop { position: absolute; inset: 0; background: rgb(6 10 15 / .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: kb-fade .2s ease-out; }
.kbar-box { position: relative; width: min(620px, 100%); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 40px 100px -30px rgb(0 0 0 / .6); overflow: hidden; animation: kb-pop .32s cubic-bezier(.22,1,.36,1); }
@keyframes kb-pop { from { opacity: 0; transform: translateY(-12px) scale(.97); } }
@keyframes kb-fade { from { opacity: 0; } }
.kbar-input { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.kbar-input svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.kbar-input input { border: 0; background: transparent; padding: 0; min-height: 36px; font-size: 16px; box-shadow: none !important; }
.kbar-list { list-style: none; margin: 0; padding: 8px; max-height: min(52vh, 420px); overflow-y: auto; }
.kbar-group { font: 500 10.5px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 10px 10px 6px; }
.kbar-item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; cursor: pointer; font-size: 14.5px; }
.kbar-item .ki { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); flex-shrink: 0; transition: background .15s, color .15s; }
.kbar-item .ki svg { width: 16px; height: 16px; }
.kbar-item small { margin-left: auto; font: 500 11px var(--font-mono); color: var(--muted); white-space: nowrap; }
.kbar-item[aria-selected="true"] { background: var(--bg); }
.kbar-item[aria-selected="true"] .ki { background: var(--red); color: var(--red-ink); }
.kbar-empty { padding: 28px; text-align: center; color: var(--muted); font-size: 14px; }
.kbar-foot { display: flex; flex-wrap: wrap; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.kbar-foot kbd { --nav-line: var(--line); }

/* Mobile: burger + full-screen menu */
.menu-btn, .search-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--nav-line); background: transparent; color: inherit; cursor: pointer; place-items: center; }
.search-btn { margin-left: auto; }
.search-btn svg { width: 18px; height: 18px; }
.burger { position: relative; width: 18px; height: 12px; display: block; }
.burger i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s cubic-bezier(.22,1,.36,1), top .4s cubic-bezier(.22,1,.36,1); }
.burger i:nth-child(1) { top: 1px; } .burger i:nth-child(2) { top: 9px; }
.menu-btn[aria-expanded="true"] .burger i:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger i:nth-child(2) { top: 5px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: -1; overflow-y: auto;
  background: var(--band); color: var(--band-fg);
  padding-top: calc(88px + env(safe-area-inset-top, 0px)); padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .6s cubic-bezier(.76,0,.24,1), visibility .6s;
}
.mobile-menu.open { clip-path: inset(0 0 0 0); visibility: visible; }
.mm-inner { display: grid; }
.mm-anim { opacity: 0; transform: translateY(26px); transition: opacity .5s, transform .7s cubic-bezier(.22,1,.36,1); transition-delay: calc(.12s + var(--i, 0) * .05s); }
.mobile-menu.open .mm-anim { opacity: 1; transform: none; }
.mm-link { display: flex; justify-content: space-between; align-items: center; font: 700 30px/1.1 var(--font-display); letter-spacing: -0.01em; padding: 16px 0; border-bottom: 1px solid var(--band-line); text-decoration: none; color: inherit; cursor: pointer; list-style: none; }
.mm-link::-webkit-details-marker { display: none; }
.mm-link .chev { width: 20px; height: 20px; color: var(--band-muted); transition: transform .35s; }
.mm-group[open] > .mm-link .chev { transform: rotate(180deg); color: var(--hero-red); }
.mm-sub { display: grid; padding: 6px 0 12px; border-bottom: 1px solid var(--band-line); }
.mm-sub a { display: block; padding: 9px 2px; font-size: 17px; color: var(--band-muted); text-decoration: none; }
.mm-sub a:hover { color: var(--band-fg); }
.mm-cta { display: grid; gap: 10px; margin-top: 24px; }
.mm-cta .btn { width: 100%; }
.mobile-menu .btn-ghost { background: rgb(255 255 255 / .05); color: var(--band-fg); border-color: var(--band-line); }
.mobile-menu .btn-primary { background: var(--hero-red); color: #fff; }
.mm-meta { margin-top: 22px; font: 400 12.5px/1.7 var(--font-mono); color: var(--band-muted); }
.site-header.menu-open .nav-shell { --pill: rgb(255 255 255 / .09); --nav-muted: var(--band-muted); --nav-line: var(--band-line); background: var(--band); color: var(--band-fg); border-color: transparent; box-shadow: none; }
/* The header measures itself (see fitNav in the script) and steps down until nothing overflows,
   whatever the screen width or browser zoom: fit-1 compact search + icon-only support, fit-2 tighter links, fit-3 burger menu. */
.nav-shell > .container.nav { max-width: 1300px; }
.site-header.scrolled .nav-shell { max-width: min(1320px, calc(100% - 24px)); }
.nav.fit-1 .kbar-btn > span { display: none; }
.nav.fit-1 .nav-cta .btn-ghost { padding: 0 11px; gap: 0; }
.nav.fit-1 .nav-cta .btn-ghost .roll { display: none; }
.nav.fit-2 { gap: 14px; }
.nav.fit-2 .nl { padding: 9px 10px; }
.nav.fit-2 .brand-rule { display: none; }
.nav.fit-3 .primary, .nav.fit-3 .nav-cta { display: none; }
.nav.fit-3 .menu-btn, .nav.fit-3 .search-btn { display: inline-grid; }
.nav.fit-3 .menu-btn { margin-left: 8px; }
@media (max-width: 1100px) {
  .primary, .nav-cta { display: none; }
  .menu-btn, .search-btn { display: inline-grid; }
  .menu-btn { margin-left: 8px; }
}

/* Scroll progress */
.scroll-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--hero-red), var(--hero-blue)); }

/* ===== HERO (dark operations band, in both themes) ===== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 80% at 80% 10%, var(--band-2), var(--band) 60%);
  color: var(--band-fg);
  padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 104px);
}
.hero .eyebrow { color: var(--hero-red); }
.neural { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.35), #000 55%); mask-image: linear-gradient(90deg, rgba(0,0,0,.35), #000 55%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--band)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-copy { display: grid; gap: 24px; min-width: 0; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(38px, 5.1vw, 66px); font-weight: 800; letter-spacing: -0.025em; color: var(--band-fg); }
.hero h1 .hl { color: var(--hero-red); position: relative; display: inline-block; }
.hero h1 .hl.shimmer {
  background: linear-gradient(100deg, var(--hero-red) 35%, #ffd0c9 50%, var(--hero-red) 65%);
  background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0 0; } }
.hl-bar { position: absolute; left: 0; right: 0; bottom: -0.06em; height: 0.14em; transform-origin: 0 50%;
  background: repeating-linear-gradient(135deg, var(--hero-red) 0 3px, transparent 3px 7px); opacity: .6; border-radius: 2px; }
.hero .w { display: inline-block; will-change: transform, opacity, filter; }
.hero .lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--band-muted); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-primary { background: var(--hero-red); color: #fff; }
.hero .btn-ghost { background: rgb(255 255 255 / .04); color: var(--band-fg); border-color: var(--band-line); }
.hero .btn-ghost:hover { border-color: var(--band-fg); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: var(--band-muted); border-top: 1px solid var(--band-line); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; padding-top: 14px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--hero-red); }
.hero-meta a { text-decoration: none; }
.hero-meta a:hover { color: var(--band-fg); }

.globe-wrap { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1; justify-self: center; }
.globe { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.globe:active { cursor: grabbing; }
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 12px;
  background: rgb(17 26 36 / .72); border: 1px solid rgb(255 255 255 / .09);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -20px rgb(0 0 0 / .8); color: var(--band-fg); font-size: 13px; z-index: 2; pointer-events: none;
}
.chip b { display: block; font-weight: 600; line-height: 1.2; }
.chip small { font: 400 11px var(--font-mono); color: var(--band-muted); }
.chip .ci { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; }
.chip .ci svg { width: 16px; height: 16px; }
.ci.red { background: rgb(255 75 62 / .16); color: var(--hero-red); }
.ci.blue { background: rgb(76 178 242 / .16); color: var(--hero-blue); }
.ci.green { background: rgb(52 211 153 / .14); color: #34d399; }
.chip-a { top: 9%; left: 0; }
.chip-b { bottom: 21%; right: -2%; }
.chip-c { bottom: 7%; left: 10%; }
.bars { display: flex; align-items: flex-end; gap: 2px; height: 14px; margin-top: 3px; }
.bars span { width: 4px; height: 100%; border-radius: 1px; background: #34d399; transform-origin: 50% 100%; transform: scaleY(.4); opacity: .85; }
.drag-hint { position: absolute; bottom: 0; right: 4%; font: 500 10.5px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--band-muted); opacity: .7; }

/* Partners */
.partners { border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.partners-inner { display: flex; align-items: center; gap: 28px; padding-block: 26px; }
.partners-label { font: 500 11px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); flex-shrink: 0; }
.marquee { overflow: hidden; flex: 1; min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scroll 38s linear infinite; will-change: transform; }
.m .marquee-track { animation: none; }
/* Partner logos in their real colours, on white tiles (several logos ship with a white background) */
.marquee-track { gap: 0; padding-block: 4px; }
.pt { margin-right: 14px; /* margin (not gap) keeps both halves of the loop exactly equal: no jump when it wraps */ flex-shrink: 0; height: 92px; min-width: 176px; padding: 0 28px; display: grid; place-items: center; align-content: center; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 1px 2px rgb(15 23 32 / .04); transition: translate .4s cubic-bezier(.22,1,.36,1), box-shadow .4s, border-color .3s; }
.pt img { display: block; width: auto; max-width: 150px; object-fit: contain; }
.crop { display: block; overflow: hidden; flex-shrink: 0; } /* trims built-in white margins of a logo file */
.pt small { font: 500 9.5px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #6b7685; white-space: nowrap; }
.pt:hover { translate: 0 -3px; border-color: #c9d1db; box-shadow: 0 16px 32px -18px rgb(15 23 32 / .35); }
:root[data-theme="dark"] .pt { border-color: transparent; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pt { border-color: transparent; } }
@media (max-width: 640px) { .pt { height: 76px; min-width: 140px; padding: 0 20px; } .pt img { max-width: 118px; transform: scale(.85); } .partners-label { display: none; } }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Services: "living bento". Asymmetric grid; each card carries a small live visual of what the service does.
   Managed IT is the featured dark tile. Small tiles reveal their description on hover / focus. */
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(236px, auto); gap: 12px;
  grid-template-areas: "mit mit dc dc" "mit mit dc dc" "cyb cyb cld rem" "mon mon inf vir" "ops ops erp erp" "pmo pmo pmo pmo"; }
.svc {
  position: relative; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); color: inherit;
  display: grid; grid-template-rows: auto 1fr auto; gap: 12px; text-decoration: none; overflow: hidden; isolation: isolate;
  transition: translate .5s cubic-bezier(.22,1,.36,1), box-shadow .5s, border-color .3s;
}
.svc:hover, .svc:focus-visible { translate: 0 -4px; box-shadow: 0 30px 60px -36px rgb(15 23 32 / .45); border-color: color-mix(in srgb, var(--ink) 16%, var(--line)); }
.svc::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; z-index: -1;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--blue) 12%, transparent), transparent 60%); }
.svc:hover::before { opacity: 1; }
.svc .vis { position: relative; min-height: 64px; transition: opacity .35s; }
.svc-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; }
.svc-foot > div { min-width: 0; }
.a-mit { grid-area: mit; } .a-cyb { grid-area: cyb; } .a-cld { grid-area: cld; } .a-rem { grid-area: rem; } .a-mon { grid-area: mon; }
.a-inf { grid-area: inf; } .a-vir { grid-area: vir; } .a-ops { grid-area: ops; } .a-erp { grid-area: erp; } .a-pmo { grid-area: pmo; }
/* featured tile */
.svc.feat { background: radial-gradient(120% 90% at 100% 0%, #1d3a57, #0b1118 62%); color: #eef2f6; border-color: transparent; }
.svc.feat p, .svc.feat .svc-tag { color: #9aa7b6; border-color: rgb(255 255 255 / .14); }
.svc.feat .svc-icon { background: rgb(255 75 62 / .16); color: var(--hero-red); }
.svc.feat h3 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.015em; }
.svc.feat .more { color: #ff6b60; }
/* small tiles: visual first, description on hover / focus */
.svc.sm p { position: absolute; left: 22px; right: 22px; top: 76px; margin: 0; opacity: 0; translate: 0 8px; transition: opacity .35s, translate .45s cubic-bezier(.22,1,.36,1); }
.svc.sm:hover p, .svc.sm:focus-visible p { opacity: 1; translate: 0 0; }
.svc.sm:hover .vis, .svc.sm:focus-visible .vis { opacity: 0; }
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto);
  grid-template-areas: "mit mit" "mit mit" "dc dc" "dc dc" "cyb cyb" "cld rem" "mon mon" "inf vir" "ops ops" "erp erp" "pmo pmo"; } }
@media (max-width: 560px) {
  .services-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; grid-auto-rows: auto; }
  .svc { grid-area: auto !important; }
  .svc .vis { min-height: 92px; }
  .svc.sm p { position: static; opacity: 1; translate: none; margin-top: 6px; }
  .svc.sm:hover .vis { opacity: 1; }
}

/* live micro-visuals */
.v-uptime-lbl { position: absolute; left: 0; top: 4px; font: 500 10.5px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #9aa7b6; display: flex; gap: 8px; align-items: center; }
.v-uptime-lbl b { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: vpulse 2s infinite; }
@keyframes vpulse { 0% { box-shadow: 0 0 0 0 rgb(34 197 94 / .6); } 70%, 100% { box-shadow: 0 0 0 8px rgb(34 197 94 / 0); } }
.v-uptime { position: absolute; inset: auto 0 6px 0; display: flex; gap: 4px; align-items: flex-end; height: 64px; }
.v-uptime i { flex: 1; height: 100%; border-radius: 3px; background: #22c55e; opacity: .9; transform-origin: bottom; animation: vup 3.6s ease-in-out infinite; }
.v-uptime i.w { background: #f59e0b; }
@keyframes vup { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
.v-radar { position: absolute; right: 4px; top: 60%; width: 104px; height: 104px; translate: 0 -50%; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 18px, color-mix(in srgb, var(--blue) 16%, transparent) 18px 19px); }
.v-radar::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, color-mix(in srgb, var(--red) 38%, transparent), transparent 30%); animation: vspin 3s linear infinite; }
.v-radar svg { position: absolute; inset: 0; margin: auto; width: 38px; height: 38px; color: var(--red); }
@keyframes vspin { to { transform: rotate(360deg); } }
.v-sync { position: absolute; inset: 0; }
.v-sync svg { position: absolute; left: 50%; top: 46%; translate: -50% -50%; width: 72px; height: 72px; color: var(--blue); }
.v-sync i { position: absolute; left: calc(50% - 3px); width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: vsync 2.2s ease-in-out infinite; }
.v-sync i:nth-of-type(2) { background: var(--blue); animation-delay: 1.1s; animation-direction: reverse; }
@keyframes vsync { 0% { top: 95%; opacity: 0; } 20%, 80% { opacity: 1; } 100% { top: 40%; opacity: 0; } }
.v-chat { position: absolute; inset: 0; display: grid; align-content: center; gap: 8px; }
.v-chat span { justify-self: start; background: var(--bg); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 7px 11px; font-size: 12.5px; color: var(--muted); }
.v-chat .typing { justify-self: end; border-radius: 14px 14px 4px 14px; background: var(--ink); border-color: var(--ink); display: flex; gap: 4px; }
.v-chat .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--surface); animation: vdot 1.2s infinite; }
.v-chat .typing i:nth-child(2) { animation-delay: .15s; } .v-chat .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes vdot { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.v-chart { position: absolute; inset: 4px 0 0 0; }
.v-chart svg { width: 100%; height: 100%; overflow: visible; }
.v-chart .ln { fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-dasharray: 600; stroke-dashoffset: 600; animation: vdraw 4s cubic-bezier(.22,1,.36,1) infinite; }
@keyframes vdraw { 0% { stroke-dashoffset: 600; } 60%, 100% { stroke-dashoffset: 0; } }
.v-rack { position: absolute; inset: 0; display: grid; align-content: center; gap: 6px; }
.v-rack div { height: 22px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); display: flex; align-items: center; padding: 0 8px; }
.v-rack div::after { content: ""; flex: 1; height: 3px; border-radius: 2px; background: var(--line); margin-left: 10px; }
.v-rack i { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; animation: vblink 1.4s infinite; }
.v-rack div:nth-child(2) i { animation-delay: .4s; } .v-rack div:nth-child(3) i { animation-delay: .8s; background: var(--blue); }
@keyframes vblink { 50% { opacity: .25; } }
.v-layers { position: absolute; inset: 0; display: grid; place-items: center; }
.v-layers i { position: absolute; width: 70px; height: 70px; border-radius: 12px; border: 1.5px solid var(--blue); background: color-mix(in srgb, var(--blue) 7%, transparent); transform: rotateX(58deg) rotateZ(-45deg); animation: vfloat 3.2s ease-in-out infinite; }
.v-layers i:nth-child(1) { translate: 0 -17px; } .v-layers i:nth-child(2) { animation-delay: .2s; }
.v-layers i:nth-child(3) { translate: 0 17px; border-color: var(--red); background: color-mix(in srgb, var(--red) 6%, transparent); animation-delay: .4s; }
@keyframes vfloat { 50% { margin-top: -10px; } }
.v-sliders { position: absolute; inset: 0; display: grid; align-content: center; gap: 14px; }
.v-sliders div { position: relative; height: 4px; border-radius: 2px; background: var(--line); }
.v-sliders div::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: 2px; background: var(--blue); animation: vsl 4s ease-in-out infinite; }
.v-sliders div::after { content: ""; position: absolute; top: 50%; left: var(--w); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--surface); border: 2px solid var(--blue); animation: vsk 4s ease-in-out infinite; }
.v-sliders div:nth-child(2)::before, .v-sliders div:nth-child(2)::after { animation-delay: -1.3s; }
.v-sliders div:nth-child(3)::before, .v-sliders div:nth-child(3)::after { animation-delay: -2.6s; }
.v-sliders div:nth-child(3)::before { background: var(--red); } .v-sliders div:nth-child(3)::after { border-color: var(--red); }
@keyframes vsl { 50% { width: calc(var(--w) + 22%); } } @keyframes vsk { 50% { left: calc(var(--w) + 22%); } }
.v-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 30px)); gap: 7px; align-content: center; justify-content: start; }
.v-grid i { aspect-ratio: 1; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); animation: vlit 3.6s infinite; }
@keyframes vlit { 0%, 100% { background: var(--bg); } 8% { background: var(--blue-soft); border-color: color-mix(in srgb, var(--blue) 45%, var(--line)); } }
/* data center tile: three racks with blinking units and animated cold / hot aisles */
.a-dc { grid-area: dc; }
.v-dc-lbl { position: absolute; left: 0; top: 4px; font: 500 10.5px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #9aa7b6; display: flex; gap: 8px; align-items: center; }
[dir="rtl"] .v-dc-lbl { left: auto; right: 0; }
.v-dc-lbl b { width: 7px; height: 7px; border-radius: 50%; background: #4cb2f2; animation: vpulse 2s infinite; }
.v-dc { position: absolute; inset: 34px 0 6px; display: flex; gap: 10px; align-items: stretch; justify-content: center; }
.v-dc .rk { flex: 0 1 96px; padding: 8px; border-radius: 10px; background: linear-gradient(180deg, rgb(255 255 255 / .07), rgb(255 255 255 / .02)); border: 1px solid rgb(255 255 255 / .12); display: grid; gap: 5px; align-content: center; }
.v-dc .rk i { display: flex; align-items: center; gap: 4px; height: 11px; border-radius: 3px; background: rgb(255 255 255 / .07); padding: 0 5px; }
.v-dc .rk i::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #22c55e; animation: vblink 1.6s infinite; }
.v-dc .rk i::after { content: ""; flex: 1; height: 2px; border-radius: 1px; background: rgb(255 255 255 / .1); }
.v-dc .rk i:nth-child(3n)::before { background: #4cb2f2; animation-delay: .5s; }
.v-dc .rk i:nth-child(4n+1)::before { animation-delay: .9s; }
.v-dc .rk:nth-child(3) i:nth-child(2n)::before { animation-delay: 1.2s; }
.v-dc .air { flex: 0 0 22px; position: relative; overflow: hidden; border-radius: 6px;
  -webkit-mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); }
.v-dc .air span { position: absolute; inset: -40px 0 0; background: repeating-linear-gradient(180deg, transparent 0 12px, rgb(76 178 242 / .55) 12px 14px); animation: vair 1.4s linear infinite; }
.v-dc .air.hot span { background: repeating-linear-gradient(180deg, transparent 0 12px, rgb(255 75 62 / .5) 12px 14px); animation-direction: reverse; }
@keyframes vair { to { transform: translateY(28px); } }
/* project tile: a live Gantt chart (bars fill phase after phase, then the go-live milestone pulses) */
.svc.a-pmo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-rows: auto 1fr; column-gap: 32px; }
.a-pmo .svc-top { grid-column: 1; }
.a-pmo .svc-foot { grid-column: 1; grid-row: 2; align-self: end; }
.a-pmo .vis { grid-column: 2; grid-row: 1 / 3; min-height: 180px; }
.v-gantt { position: absolute; inset: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: center; gap: 9px 14px; }
.v-gantt span { font: 500 10.5px/14px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.v-gantt div { position: relative; height: 14px; border-radius: 7px; background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12.5%); }
.v-gantt div::before { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: var(--s); width: var(--w); border-radius: 7px; background: color-mix(in srgb, var(--blue) 16%, transparent); }
.v-gantt div::after { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: var(--s); width: var(--w); border-radius: 7px; background: var(--blue);
  transform-origin: 0 50%; transform: scaleX(0); animation: vgantt 7s cubic-bezier(.22,1,.36,1) infinite; animation-delay: var(--d); }
[dir="rtl"] .v-gantt div::after { transform-origin: 100% 50%; }
.v-gantt div:last-of-type::after { background: var(--red); }
.v-gantt i { position: absolute; top: 50%; inset-inline-start: calc(var(--s) + var(--w) - 6px); width: 12px; height: 12px; margin-top: -6px; rotate: 45deg; border-radius: 2px;
  background: var(--red); box-shadow: 0 0 0 0 rgb(215 38 30 / .5); animation: vms 7s infinite; }
@keyframes vgantt { 0% { transform: scaleX(0); } 22%, 86% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: .25; } }
@keyframes vms { 0%, 60% { box-shadow: 0 0 0 0 rgb(215 38 30 / .5); } 75% { box-shadow: 0 0 0 9px rgb(215 38 30 / 0); } }
@media (max-width: 980px) { .svc.a-pmo { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; } .a-pmo .vis { grid-column: 1; grid-row: 2; min-height: 150px; } .a-pmo .svc-foot { grid-row: 3; } }
@media (max-width: 560px) { .v-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } .v-grid i:nth-child(n+9) { display: none; } }
.beam { position: absolute; inset: 0; padding: 1.5px; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: conic-gradient(from var(--beam), transparent 0 70%, var(--red) 82%, var(--blue) 94%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: beam 2.6s linear infinite; }
.svc:hover .beam, .svc:focus-visible .beam { opacity: 1; }
@keyframes beam { to { --beam: 360deg; } }
.svc-top { display: flex; justify-content: space-between; align-items: center; }
.svc-icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); will-change: transform; }
.svc-icon svg { width: 21px; height: 21px; }
.svc-tag { font: 500 10.5px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 4px 8px; border-radius: 99px; }
.svc h3 { font-size: 20px; font-weight: 600; line-height: 1.2; }
.svc p { color: var(--muted); font-size: 14px; margin-top: 6px; max-width: 46ch; }
.svc .more { flex-shrink: 0; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font: 600 14px var(--font-body); color: var(--red); }
.svc .more svg { width: 16px; height: 16px; transition: transform .2s; }
.svc:hover .more svg { transform: translateX(4px); }
.services-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }
.services-actions .spacer { flex: 1; }
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: minmax(0, 1fr); } .services-actions .spacer { display: none; } }

/* Service band (A + B): one readable line of giant words, each one a shortcut to its service.
   Hovering a word slows the loop almost to a stop; on phones it becomes swipeable chips. */
.kinetic { border-top: 1px solid var(--line); padding-block: clamp(26px, 3.6vw, 40px) 26px; }
.kq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.kq-track { display: flex; width: max-content; animation: kq 44s linear infinite; }
@keyframes kq { to { transform: translateX(-50%); } }
.kq a { flex-shrink: 0; display: inline-flex; align-items: center; gap: .16em; padding: .06em 0; text-decoration: none;
  font: 800 clamp(42px, 6.4vw, 96px)/1 var(--font-display); letter-spacing: -0.03em;
  color: transparent; -webkit-text-stroke: 1.6px color-mix(in srgb, var(--ink) 50%, var(--bg)); transition: color .35s, -webkit-text-stroke-color .35s; }
.kq a.fill { color: var(--ink); -webkit-text-stroke-color: var(--ink); }
.kq a .ar { display: inline-block; width: 0; overflow: hidden; font-size: .5em; color: var(--red); -webkit-text-stroke: 0; transition: width .45s cubic-bezier(.22,1,.36,1); }
.kq a:hover, .kq a:focus-visible { color: var(--red); -webkit-text-stroke-color: var(--red); outline: none; }
.kq a:hover .ar, .kq a:focus-visible .ar { width: .95em; }
.kq .sep { flex-shrink: 0; align-self: center; width: .5em; height: .3em; margin: 0 .42em; font-size: clamp(42px, 6.4vw, 96px);
  background: repeating-linear-gradient(135deg, var(--red) 0 .055em, transparent .055em .14em); }
.kq-hint { margin: 16px 0 0; display: flex; justify-content: center; align-items: center; gap: 8px; font: 500 10.5px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.kq-hint i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.kq-chips { display: none; }
@media (max-width: 720px) {
  .kinetic { padding-block: 18px; }
  .kq, .kq-hint { display: none; }
  .kq-chips { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
  .kq-chips::-webkit-scrollbar { display: none; }
  .kq-chips a { scroll-snap-align: start; flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 11px 15px; min-height: 44px;
    border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 600 14.5px var(--font-body); }
  .kq-chips a i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
}
/* landing highlight on the service card a word points to */
.svc.flash { box-shadow: inset 0 0 0 2px var(--red); transition: box-shadow .3s; }
@media (prefers-reduced-motion: reduce) { .kq { overflow-x: auto; } }

/* About */
.about { background: var(--surface); border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: end; }
.about-statement { font: 600 clamp(28px, 3.6vw, 44px)/1.15 var(--font-display); letter-spacing: -0.015em; text-wrap: balance; margin-top: 18px; }
.about-statement em { font-style: normal; color: var(--red); }
.about-side { display: grid; gap: 28px; }
.about-side p { color: var(--muted); font-size: 17px; }
.stat { display: flex; gap: 18px; align-items: center; padding: 22px 0; border-block: 1px solid var(--line); }
.stat b { font: 800 64px/1 var(--font-display); color: var(--ink); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat b sup { color: var(--red); font-size: .5em; vertical-align: top; position: relative; top: .1em; display: inline-block; }
.stat span { font-size: 15px; color: var(--muted); max-width: 22ch; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; width: fit-content; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }
@media (max-width: 860px) { .about-grid { grid-template-columns: minmax(0, 1fr); align-items: start; } }

/* Process */
.proc-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 52px; }
.proc-head .section-head { margin-bottom: 0; }
.proc-lede { color: var(--muted); font-size: 17px; max-width: 46ch; }
.step-body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.step-out { margin-top: auto; }   /* deliverable badges sit on one line, whatever the description length */
.proc-side { display: grid; gap: 14px; }
.proc-cert { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14.5px; }
.proc-cert svg { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; }
.leaders { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.leader { display: flex; gap: 20px; align-items: flex-start; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); transition: translate .35s, box-shadow .35s; }
.leader:hover { translate: 0 -4px; box-shadow: 0 30px 60px -36px rgb(15 23 32 / .45); }
.leader-av { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font: 800 20px var(--font-display); letter-spacing: .02em; color: #fff;
  background: radial-gradient(120% 120% at 0 0, #1d3a57, #0b1118 70%); box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--red); }
.leader h3 { font-size: 22px; font-weight: 700; }
.leader-role { font: 500 11px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-top: 6px; }
.leader p:not(.leader-role) { color: var(--muted); font-size: 15px; margin-top: 10px; max-width: 48ch; }
@media (max-width: 760px) { .leaders { grid-template-columns: minmax(0, 1fr); } .leader { padding: 22px; } }
.fcerts { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 24px 40px; align-items: center; padding: 32px; border-radius: 20px;
  background: radial-gradient(120% 120% at 0% 0%, #1d3a57, #0b1118 60%); color: #eef2f6; }
.fcerts-head { display: grid; gap: 12px; }
.fcerts-head .eyebrow { color: var(--hero-red); }
.fcerts h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; }
.fcerts-head p { color: #9aa7b6; font-size: 15px; }
.fcert-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.fcert-list li { display: grid; gap: 4px; align-content: start; padding: 14px; border-radius: 12px; border: 1px solid rgb(255 255 255 / .12); background: rgb(255 255 255 / .04); transition: border-color .3s, translate .3s; }
.fcert-list li:hover { border-color: rgb(255 255 255 / .3); translate: 0 -3px; }
.fcert-list small { font: 500 10px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #6fb8e8; }
.fcert-list b { font: 700 16px/1.2 var(--font-display); }
.fcert-list span { font-size: 12.5px; color: #9aa7b6; line-height: 1.35; }
@media (max-width: 1180px) { .fcerts { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .fcert-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fcerts { padding: 22px; } }
.step p { color: var(--muted); font-size: 14.5px; max-width: 26ch; }
.step-out { width: fit-content; margin-top: auto; font: 500 10.5px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue);
  padding: 5px 9px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--blue) 35%, var(--line)); background: var(--blue-soft); }
.pm-pillars { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.pm-pillars li { display: flex; gap: 12px; align-items: center; padding: 18px 20px; font-weight: 600; font-size: 15px; }
.pm-pillars li + li { border-inline-start: 1px solid var(--line); }
.pm-pillars svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; }
@media (max-width: 980px) { .proc-head { grid-template-columns: minmax(0, 1fr); } .pm-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm-pillars li:nth-child(3) { border-inline-start: 0; } .pm-pillars li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .pm-pillars { grid-template-columns: minmax(0, 1fr); } .pm-pillars li + li { border-inline-start: 0; border-top: 1px solid var(--line); } }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; position: relative; list-style: none; margin: 0; padding: 0; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.steps-fill { position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: linear-gradient(90deg, var(--red), var(--blue)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.step { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 14px; padding-right: 12px; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink); display: grid; place-items: center; font: 600 16px var(--font-mono); position: relative; z-index: 1; transition: background .35s, border-color .35s, color .35s, box-shadow .35s; }
.step:last-child .step-num { background: var(--red); border-color: var(--red); color: var(--red-ink); }
.m .step:not(.on):last-child .step-num { background: var(--bg); border-color: var(--ink); color: var(--ink); }
.step.on .step-num { background: var(--red); border-color: var(--red); color: var(--red-ink); box-shadow: 0 0 0 6px color-mix(in srgb, var(--red) 15%, transparent); }
.step h3 { font-size: 24px; font-weight: 600; }
@media (max-width: 1100px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps::before { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px); }
  .steps-fill { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
  .step { grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto; align-items: start; gap: 18px; }
  .step-out { margin-top: 4px; }
  .step-body { padding-top: 12px; }
  .step p { max-width: 52ch; }
}

/* Quote band */
.quote-band { background: var(--band); color: var(--band-fg); position: relative; overflow: hidden; isolation: isolate; }
.quote-band::before {
  content: ""; position: absolute; right: -120px; top: -80px; width: 460px; height: 460px; z-index: -1;
  background: repeating-linear-gradient(135deg, var(--hero-red) 0 14px, transparent 14px 40px); opacity: .18;
  transform: translateY(var(--sy, 0px));
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%); mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%);
}
.quote-band::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(500px circle at var(--qx, 30%) var(--qy, 50%), rgb(76 178 242 / .10), transparent 60%); }
.quote-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.quote-mark { font: 800 96px/0.6 var(--font-display); color: var(--hero-red); display: block; height: 40px; }
blockquote { margin: 0; font: 500 clamp(22px, 2.8vw, 34px)/1.35 var(--font-display); max-width: 30ch; text-wrap: pretty; }
.m blockquote .qw { opacity: .16; transition: opacity .25s linear; }
.m blockquote .qw.lit { opacity: 1; }
.quote-by { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--band-line); display: grid; place-items: center; font: 700 16px var(--font-display); color: var(--band-fg); border: 2px solid var(--hero-red); }
.quote-by b { display: block; font-weight: 600; }
.quote-by small { color: var(--band-muted); font-size: 14px; }
.quote-band .btn-primary { background: var(--hero-red); color: #fff; }
@media (max-width: 760px) { .quote-inner { grid-template-columns: minmax(0, 1fr); } }

/* Draft placeholders: highlighted until replaced with real data */
.todo { background: repeating-linear-gradient(135deg, rgb(245 180 0 / .16) 0 6px, rgb(245 180 0 / .06) 6px 12px); outline: 1px dashed #d49b00; outline-offset: 1px; border-radius: 4px; padding-inline: 3px; }

/* Proof */
.proof-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 44px; }
.proof-head .section-head { margin-bottom: 0; }
.proof-lede { color: var(--muted); font-size: 17px; max-width: 46ch; }
.facts { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.facts li { padding: 26px 24px; display: grid; gap: 8px; align-content: start; }
.facts li + li { border-inline-start: 1px solid var(--line); }
.facts b { font: 800 clamp(44px, 5vw, 64px)/1 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.facts sup { color: var(--red); font-size: .5em; vertical-align: top; position: relative; top: .1em; }
.facts li > span { color: var(--muted); font-size: 15px; }
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case { display: flex; flex-direction: column; gap: 18px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; transition: translate .35s, box-shadow .35s, border-color .35s; }
.case:hover { translate: 0 -4px; box-shadow: 0 30px 60px -36px rgb(15 23 32 / .45); border-color: color-mix(in srgb, var(--ink) 16%, var(--line)); }
.case-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; font: 500 11px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.case-tag { color: var(--red); }
.case h3 { font-size: 22px; font-weight: 700; line-height: 1.2; }
.case dl { margin: 0; display: grid; gap: 12px; }
.case dt { font: 500 10.5px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.case dd { margin: 4px 0 0; font-size: 15px; }
.case-kpi { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.case-kpi b { font: 800 44px/1 var(--font-display); letter-spacing: -0.03em; width: fit-content; }
.case-kpi span { color: var(--muted); font-size: 14px; }
.case-stack { display: flex; flex-wrap: wrap; gap: 6px; }
.case-stack span { font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.creds { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 32px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.creds h3 { font-size: 22px; font-weight: 700; }
.creds-head p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.cred-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cred-list li { display: grid; gap: 10px; justify-items: start; align-content: space-between; min-height: 78px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 13px; color: #566272; }
.cred-list img { display: block; width: auto; }
.cred-team { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; }
.cred-team svg { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; }
.testis { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.testi { margin: 0; padding: 28px; border-radius: 20px; border: 1px solid var(--band-line); background: var(--band); color: var(--band-fg); display: grid; gap: 22px; align-content: space-between; }
.testi p { font: 500 20px/1.45 var(--font-display); }
.testi p::before { content: "“"; display: block; font: 800 56px/.6 var(--font-display); color: var(--hero-red); height: 26px; }
.testi figcaption { display: flex; gap: 12px; align-items: center; }
.testi-tag { width: fit-content; font: 500 10.5px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #6fb8e8; padding: 5px 10px; border-radius: 999px; border: 1px solid rgb(111 184 232 / .3); }
.testi-tag + p { margin-top: -8px; }
.testi figcaption b { display: block; font-weight: 600; }
.testi figcaption small { color: var(--band-muted); font-size: 14px; }
.avatar-sm { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--band-line); font: 700 14px var(--font-display); border: 2px solid var(--hero-red); }
.testi .todo, .ksa .todo { outline-color: #f5c542; background: rgb(245 197 66 / .12); }
@media (max-width: 980px) { .cases, .creds, .proof-head { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li { padding: 20px 16px; }
  .facts li:nth-child(3) { border-inline-start: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cred-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testis { grid-template-columns: minmax(0, 1fr); }
  .creds, .case, .testi { padding: 22px; }
}

/* Background videos: hidden until the file exists and can play (see "Background videos" in the script) */
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; opacity: 0; transition: opacity 1.4s ease; }
.dc-video { z-index: -1; }
.mit-video { z-index: -1; -webkit-mask-image: linear-gradient(180deg, #000 50%, rgba(0,0,0,.3)); mask-image: linear-gradient(180deg, #000 50%, rgba(0,0,0,.3)); }
.mit-video.on { opacity: .7; }
.a-mit.has-video .v-uptime { opacity: .75; }
.dc-video { -webkit-mask-image: linear-gradient(180deg, #000 55%, rgba(0,0,0,.35)); mask-image: linear-gradient(180deg, #000 55%, rgba(0,0,0,.35)); }
.dc-video.on { opacity: .75; }
.a-dc.has-video .v-dc { opacity: .55; }
.a-dc.has-video .v-dc .rk { background: rgb(11 17 24 / .45); }
.ksa-video { z-index: -2; -webkit-mask-image: linear-gradient(180deg, #000, rgba(0,0,0,.4)); mask-image: linear-gradient(180deg, #000, rgba(0,0,0,.4)); }
.ksa-video.on { opacity: .28; }

/* Saudi Arabia */
.ksa { background: var(--band); color: var(--band-fg); position: relative; overflow: hidden; isolation: isolate; }
.ksa-pattern { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; color: var(--band-fg); opacity: .07;
  -webkit-mask-image: linear-gradient(115deg, transparent 35%, #000 90%); mask-image: linear-gradient(115deg, transparent 35%, #000 90%); }
.ksa::after { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; inset-inline-end: -180px; top: -240px; pointer-events: none;
  background: radial-gradient(circle, rgb(0 140 70 / .22), transparent 65%); }
.ksa .section-head p { color: var(--band-muted); font-size: 17px; max-width: 56ch; }
.ksa h2 em { font-style: normal; color: var(--hero-red); }
.ksa-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; margin-bottom: 44px; }
.ksa-head .section-head { margin-bottom: 0; }
.ksa-clock { display: grid; gap: 6px; padding: 18px 22px; border: 1px solid var(--band-line); border-radius: 16px; background: rgb(255 255 255 / .03); min-width: 230px; }
.ksa-clock small { font: 500 10.5px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--band-muted); display: flex; gap: 8px; align-items: center; }
.ksa-clock small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 4px rgb(47 191 113 / .18); }
.ksa-clock time { font: 800 40px/1 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ksa-clock > span { font-size: 13px; color: var(--band-muted); }
.ksa-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kcard { display: grid; align-content: start; gap: 12px; padding: 24px; border: 1px solid var(--band-line); border-radius: 18px; background: linear-gradient(180deg, rgb(255 255 255 / .045), rgb(255 255 255 / .01)); transition: border-color .3s, translate .35s; }
.kcard:hover { border-color: rgb(255 255 255 / .28); translate: 0 -4px; }
.kcode { font: 500 11px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #6fd6a0; }
.kcard h3 { font-size: 19px; font-weight: 700; line-height: 1.25; }
.kcard p { color: var(--band-muted); font-size: 14.5px; }
.ksa-foot { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 20px 32px; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--band-line); }
.ksa-note { color: var(--band-muted); font-size: 13.5px; max-width: 62ch; }
.ksa-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.ksa .btn-primary { background: var(--hero-red); color: #fff; }
.ksa .btn-ghost { background: rgb(255 255 255 / .04); color: var(--band-fg); border-color: var(--band-line); }
.ksa .btn-ghost:hover { border-color: var(--band-fg); }
@media (max-width: 1080px) { .ksa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ksa-grid, .ksa-head { grid-template-columns: minmax(0, 1fr); } .ksa-clock { min-width: 0; } }
.wa-fab { position: fixed; inset-inline-start: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 30px -12px rgb(0 0 0 / .45); transition: transform .2s; }
.wa-fab:hover { transform: scale(1.06); }
.wa-fab svg { width: 26px; height: 26px; }
@media (max-width: 760px) { .wa-fab { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }

/* ===== Service pages (data-center.html, ...) ===== */
.page-hero { padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 96px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; font: 500 11.5px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--band-muted); }
.crumbs a { color: inherit; text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: var(--band-fg); }
.crumbs [aria-current] { color: var(--band-fg); }
.dc-visual { position: relative; }
.dc-frame { position: relative; aspect-ratio: 5 / 4; border-radius: 24px; overflow: hidden; isolation: isolate; border: 1px solid rgb(255 255 255 / .1);
  background: radial-gradient(120% 100% at 100% 0%, #1d3a57, #0b1118 62%); box-shadow: 0 40px 90px -40px rgb(0 0 0 / .8); }
.dc-frame .v-dc-lbl { top: 22px; left: 24px; }
[dir="rtl"] .dc-frame .v-dc-lbl { left: auto; right: 24px; }
.dc-frame .v-dc { inset: 62px 26px 26px; gap: 14px; transition: opacity .8s; }
.dc-frame .v-dc .rk { flex-basis: 120px; }
.dcv-video { z-index: -1; }
.dcv-video.on { opacity: .65; }
.dc-frame.has-video .v-dc { opacity: .55; }
.dc-frame.has-video .v-dc .rk { background: rgb(11 17 24 / .45); }
.dc-visual .chip { position: absolute; }
.dc-chip-1 { left: -28px; top: 18%; }
.dc-chip-2 { right: -20px; bottom: 12%; }
[dir="rtl"] .dc-chip-1 { left: auto; right: -28px; }
[dir="rtl"] .dc-chip-2 { right: auto; left: -20px; }
@media (max-width: 960px) { .dc-chip-1 { left: 10px; } .dc-chip-2 { right: 10px; } [dir="rtl"] .dc-chip-1 { right: 10px; } [dir="rtl"] .dc-chip-2 { left: 10px; } }
.scope-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.scope { display: grid; gap: 12px; align-content: start; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: translate .35s, box-shadow .35s, border-color .35s; }
.scope:hover { translate: 0 -4px; box-shadow: 0 30px 60px -36px rgb(15 23 32 / .45); border-color: color-mix(in srgb, var(--ink) 16%, var(--line)); }
.scope h3 { font-size: 19px; font-weight: 700; }
.scope p { color: var(--muted); font-size: 14.5px; }
.dc-why { background: var(--band); color: var(--band-fg); position: relative; overflow: hidden; isolation: isolate; }
.dc-why::after { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; inset-inline-start: -220px; bottom: -300px; pointer-events: none; background: radial-gradient(circle, rgb(76 178 242 / .18), transparent 65%); }
.dc-why .eyebrow { color: var(--hero-red); }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why { display: grid; gap: 12px; align-content: start; padding: 26px 24px; border-top: 2px solid var(--hero-red); border-radius: 0 0 16px 16px; background: linear-gradient(180deg, rgb(255 255 255 / .05), rgb(255 255 255 / .01)); }
.why-n { font: 500 12px var(--font-mono); letter-spacing: .1em; color: var(--hero-red); }
.why h3 { font-size: 20px; font-weight: 700; }
.why p { color: var(--band-muted); font-size: 14.5px; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; position: sticky; top: 110px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 600 18px/1.35 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 20px; height: 20px; flex-shrink: 0; color: var(--muted); transition: transform .3s, color .3s; }
.faq details[open] summary .chev { transform: rotate(180deg); color: var(--red); }
.faq details p { color: var(--muted); font-size: 15.5px; padding: 0 0 20px; max-width: 64ch; }
@media (max-width: 1080px) { .scope-grid, .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } .faq-wrap .section-head { position: static; } }
@media (max-width: 560px) { .scope-grid, .why-grid { grid-template-columns: minmax(0, 1fr); } .faq summary { font-size: 16.5px; } }

/* service-page hero visuals: the bento micro-visuals, enlarged inside the dark frame */
.frame-vis { position: absolute; inset: 62px 26px 26px; transition: opacity .8s; }
.dc-frame.has-video .frame-vis { opacity: .75; }
.dc-frame.has-video .frame-sync, .dc-frame.has-video .frame-radar, .dc-frame.has-video .frame-grid { opacity: 0; }   /* cloud, cyber and ERP pages: the film replaces the visual */
.dc-frame.has-video:has(.frame-sync) .dcv-video.on { opacity: .95; }
/* service pages: no box around the hero visual; films fade into the hero background at their edges */
.page-hero .dc-frame { background: transparent; border-color: transparent; box-shadow: none; overflow: visible; }
.page-hero .dc-frame .v-dc-lbl { display: none; }
/* soft dark halo instead of a box: depth and contrast, no visible edge */
.page-hero .dc-frame::before { content: ""; position: absolute; inset: -12% -14%; z-index: -2; pointer-events: none;
  background: radial-gradient(closest-side, rgb(8 13 19 / .92), rgb(8 13 19 / .6) 55%, transparent 100%); }
.page-hero .dc-frame .dcv-video {
  -webkit-mask-image: radial-gradient(ellipse 62% 60% at 52% 50%, #000 52%, rgba(0,0,0,.55) 74%, transparent 100%);
          mask-image: radial-gradient(ellipse 62% 60% at 52% 50%, #000 52%, rgba(0,0,0,.55) 74%, transparent 100%); }
.page-hero .dc-frame.has-video .dcv-video.on { opacity: .9; }
.page-hero .dc-frame .frame-vis, .page-hero .dc-frame .v-dc { inset: 40px 26px 26px; }
.frame-uptime .v-uptime { height: 30%; gap: 5px; bottom: 4px; }   /* low, fine bars: the video stays the subject */
.frame-uptime .v-uptime i { border-radius: 2px; opacity: .7; }
.frame-radar .v-radar { left: 50% !important; right: auto !important; top: 50%; width: min(62%, 260px); height: auto; aspect-ratio: 1; translate: -50% -50%; }
.frame-radar .v-radar svg { width: 64px; height: 64px; }
.frame-sync .v-sync svg { width: 150px; height: 150px; }
.frame-grid .v-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; justify-content: stretch; }
.frame-grid .v-grid i { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .12); animation-name: vlitd; }
@keyframes vlitd { 0%, 100% { background: rgb(255 255 255 / .06); } 8% { background: rgb(76 178 242 / .4); border-color: rgb(76 178 242 / .7); } }
@media (max-width: 560px) { .frame-grid .v-grid i:nth-child(n+9) { display: block; } }
.frame-gantt .v-gantt { gap: 16px; }
.frame-gantt .v-gantt div { height: 18px; background: repeating-linear-gradient(90deg, rgb(255 255 255 / .1) 0 1px, transparent 1px 12.5%); }
.frame-gantt .v-gantt span { color: #9aa7b6; }
.scope-grid.scope-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1080px) { .scope-grid.scope-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .scope-grid.scope-6 { grid-template-columns: minmax(0, 1fr); } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-info { display: grid; gap: 22px; min-width: 0; }
.contact-info h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.info-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; border-top: 1px solid var(--line); }
.info-list > div { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.info-list svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; margin-top: 2px; }
.info-list small { display: block; font: 500 11px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.info-list a { text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.info-list a:hover { color: var(--red); }
@media (max-width: 480px) { .info-list { grid-template-columns: minmax(0, 1fr); } }

.map-wrap { perspective: 1200px; min-width: 0; }
.map-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; min-width: 0; margin: 0;
  box-shadow: 0 30px 60px -40px rgb(15 23 32 / .45); overflow: hidden; transform-style: preserve-3d; will-change: transform; position: relative;
}
.map-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.map-head b { font: 600 14px var(--font-body); }
.map-head span { font: 500 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #1fa463; box-shadow: 0 0 0 0 rgb(31 164 99 / .5); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgb(31 164 99 / 0); } 100% { box-shadow: 0 0 0 0 rgb(31 164 99 / 0); } }
.map-stage { position: relative; }
.map-svg { display: block; width: 100%; height: auto; background:
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 30px 30px,
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 30px 30px; background-color: var(--surface); }
.map-svg .base { stroke: var(--blue); stroke-width: 1.5; fill: none; opacity: .3; }
.map-svg .node { fill: var(--surface); stroke: var(--blue); stroke-width: 2; }
.map-svg .hub { fill: var(--red); }
.map-svg .hub-ring { fill: none; stroke: var(--red); stroke-width: 1.5; }
.map-svg .packet { fill: var(--blue); }
.map-svg .packet.up { fill: var(--red); }
.map-svg .threat { fill: var(--red); }
.map-svg .threat-trail { stroke: var(--red); stroke-width: 1.5; fill: none; stroke-dasharray: 2 4; }
.map-svg .shield { fill: none; stroke: var(--red); }
.map-svg .cloud { fill: var(--surface); stroke: var(--blue); stroke-width: 2; }
.map-svg .cloud-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; fill: var(--blue); font-weight: 500; }
.map-svg text { font-family: var(--font-body); font-size: 13px; fill: var(--ink); font-weight: 500; }
.map-svg .prov { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; fill: var(--muted); font-weight: 400; }
.map-svg .small { font-family: var(--font-mono); font-size: 10px; fill: var(--muted); font-weight: 400; }
.map-svg .scale { stroke: var(--muted); stroke-width: 1.5; }
.map-toast {
  position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px 8px 8px;
  box-shadow: 0 12px 30px -18px rgb(15 23 32 / .5); font-size: 13px; opacity: 0; pointer-events: none;
}
.map-toast i { width: 28px; height: 28px; border-radius: 7px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-style: normal; }
.map-toast i svg { width: 16px; height: 16px; }
.map-toast b { display: block; font-weight: 600; font-size: 13px; line-height: 1.2; }
.map-toast small { font: 400 11px var(--font-mono); color: var(--muted); }
.map-foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.map-foot div { padding: 12px 18px; display: grid; gap: 2px; }
.map-foot div + div { border-left: 1px solid var(--line); }
.map-foot small { font: 500 10.5px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.map-foot b { font: 600 14px var(--font-body); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; min-width: 0; position: sticky; top: 96px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); position: relative; }
.tab { padding: 16px; border: 0; background: var(--bg); font: 600 15px var(--font-body); color: var(--muted); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--surface); color: var(--ink); }
.tab-ink { position: absolute; bottom: -1px; left: 0; width: 50%; height: 2px; background: var(--red); transition: transform .4s cubic-bezier(.22,1,.36,1); }
.tabs[data-active="pricing"] .tab-ink { transform: translateX(100%); }
form { padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
label { font: 500 13.5px var(--font-body); }
label .req { color: var(--red); }
input, select, textarea {
  width: 100%; font: 400 15px var(--font-body); color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; min-height: 46px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
textarea { min-height: 112px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background: var(--surface); box-shadow: 0 0 0 3px var(--blue-soft); }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.consent input { width: 18px; height: 18px; min-height: 0; margin-top: 2px; accent-color: var(--red); flex-shrink: 0; }
.form-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); font-size: 13px; }
.hp { position: absolute; inset-inline-start: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }   /* no off-screen offset: it would create a horizontal scroll in RTL */
.form-status.error { background: var(--red-soft); color: var(--ink); }
.form-status a { color: inherit; font-weight: 600; }
button[aria-busy="true"] { opacity: .7; cursor: progress; }
.form-status { grid-column: 1 / -1; padding: 12px 14px; border-radius: 8px; background: var(--blue-soft); color: var(--ink); font-size: 14px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } .form-card { position: static; } }
@media (max-width: 560px) { form { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.site-footer { background: var(--band); color: var(--band-fg); padding-block: 64px 28px; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-about { display: grid; gap: 18px; align-content: start; }
.footer-about p { color: var(--band-muted); font-size: 14.5px; max-width: 34ch; }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--band-line); display: grid; place-items: center; color: var(--band-fg); transition: border-color .2s, color .2s; }
.socials a:hover { border-color: var(--hero-red); color: var(--hero-red); }
.socials svg { width: 18px; height: 18px; }
.footer-col h4 { font: 500 11px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--band-muted); margin: 0 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { text-decoration: none; font-size: 14.5px; color: var(--band-fg); opacity: .88; }
.footer-col a:hover { opacity: 1; color: var(--hero-red); }
.footer-mark { display: flex; justify-content: space-between; margin-top: 56px; overflow: hidden; user-select: none;
  font: 800 clamp(64px, 19vw, 290px)/.82 var(--font-display); letter-spacing: -0.04em; }
.footer-mark span { display: inline-block; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--band-fg) 22%, transparent); transition: color .3s, -webkit-text-stroke-color .3s; }
.footer-mark span:hover { color: var(--hero-red); -webkit-text-stroke-color: var(--hero-red); }
.footer-bottom { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--band-line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13px; color: var(--band-muted); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--band-fg); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-about { grid-column: 1 / -1; } }

/* Preloader (only when motion is on) */
.preloader { display: none; }
.m .preloader { display: grid; position: fixed; inset: 0; z-index: 100; place-items: center; background: var(--band); color: var(--band-fg); }
.pl-inner { display: grid; justify-items: center; gap: 18px; }
.pl-mark { width: 84px; height: 84px; }
.pl-text { font: 500 12px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--band-muted); display: flex; gap: 10px; }
.pl-text b { color: var(--band-fg); font-weight: 500; min-width: 3ch; text-align: right; font-variant-numeric: tabular-nums; }
.pl-bar { width: 180px; height: 2px; background: var(--band-line); overflow: hidden; }
.pl-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--hero-red), var(--hero-blue)); transform-origin: 0 50%; transform: scaleX(0); }

/* Responsive hero */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .globe-wrap { max-width: 520px; }
}
@media (max-width: 560px) {
  .chip { font-size: 12px; padding: 7px 10px 7px 7px; }
  .chip .ci { width: 26px; height: 26px; }
  .chip-a { top: 4%; left: 0; } .chip-b { right: 0; bottom: 22%; } .chip-c { bottom: 4%; left: 4%; }
  .hero-actions .btn { width: 100%; }
  .map-foot { grid-template-columns: minmax(0,1fr); } .map-foot div + div { border-left: 0; border-top: 1px solid var(--line); }
}

/* ===== v3 layer ===== */
/* Smooth scroll (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

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

/* Custom cursor (fine pointers only, added by JS) */
.mega-panel.instant { transition: none !important; }
html.has-cursor .kbar-item, html.has-cursor summary { cursor: none; }
.cursor { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; border-radius: 50%; opacity: 0;
  width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #fff; mix-blend-mode: difference;
  transition: width .25s cubic-bezier(.22,1,.36,1), height .25s cubic-bezier(.22,1,.36,1), margin .25s cubic-bezier(.22,1,.36,1), opacity .2s; }
.cursor.is-link { width: 14px; height: 14px; margin: -7px 0 0 -7px; }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor .globe, html.has-cursor .svc { cursor: none; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: auto; }

/* WebGL aurora in the hero */
.aurora { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }

/* Masked heading reveals */
.h-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.h-word { display: inline-block; will-change: transform; }
.m .h-word { transform: translateY(110%); }

/* Rolling button labels */
.roll { display: inline-block; overflow: hidden; height: 1.25em; line-height: 1.25em; vertical-align: middle; }
.roll > span { display: block; transition: transform .45s cubic-bezier(.65,0,.35,1); }
.roll > span::after { content: attr(data-t); display: block; }
.btn:hover .roll > span, .link-arrow:hover .roll > span { transform: translateY(-50%); }

/* ===== Pinned "stack" story ===== */
.stack-sec { position: relative; background: var(--band); color: var(--band-fg); overflow: clip; }
.stack-pin { padding-block: clamp(64px, 9vw, 112px); }
.m .stack-sec { height: 540vh; }
.m .stack-pin { position: sticky; top: 0; height: 100vh; height: 100dvh; padding-block: 0; display: grid; align-items: center; overflow: hidden; }
.stack-sec::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 75% 50%, rgb(76 178 242 / .12), transparent 70%),
              radial-gradient(circle at 1px 1px, rgb(255 255 255 / .06) 1px, transparent 0) 0 0 / 28px 28px; }
.stack-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 72px); align-items: center; position: relative; }
.stack-copy { display: grid; gap: 22px; min-width: 0; }
.stack-copy .eyebrow { color: var(--hero-red); }
.stack-counter { font: 500 13px var(--font-mono); color: var(--band-muted); letter-spacing: .1em; }
.stack-counter b { font: 800 56px/1 var(--font-display); color: var(--band-fg); letter-spacing: -0.03em; margin-right: 6px; font-variant-numeric: tabular-nums; }
.stack-texts { display: grid; gap: 28px; }
.st-item h3 { font-size: clamp(26px, 3.2vw, 42px); font-weight: 800; letter-spacing: -0.02em; }
.st-item p { margin-top: 12px; color: var(--band-muted); font-size: 17px; max-width: 42ch; }
.st-item .st-tag { display: inline-block; margin-bottom: 12px; font: 500 11px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--hero-blue); }
/* all items share one grid cell, so the block is always as tall as the longest text: nothing can overlap the progress bar */
.m .stack-texts { display: grid; position: relative; }
.m .st-item { grid-area: 1 / 1; opacity: 0; pointer-events: none; }
.m .st-item.active { pointer-events: auto; }
.stack-progress { display: flex; gap: 6px; }
.stack-progress span { flex: 1; height: 3px; border-radius: 2px; background: var(--band-line); overflow: hidden; position: relative; }
.stack-progress span i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--hero-red), var(--hero-blue)); transform-origin: 0 50%; transform: scaleX(0); }
.stack-visual { position: relative; height: min(70vh, 620px); display: grid; place-items: center; perspective: 1600px; min-width: 0; }
.iso { position: relative; width: min(340px, 62vw); aspect-ratio: 1; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-45deg); }
.layer {
  position: absolute; inset: 0; border-radius: 22px; transform-style: preserve-3d;
  border: 1.5px solid rgb(140 200 255 / .35);
  background:
    linear-gradient(rgb(140 200 255 / .08) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgb(140 200 255 / .08) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(135deg, rgb(22 40 58 / .92), rgb(10 18 28 / .92));
  box-shadow: 0 0 0 1px rgb(0 0 0 / .4), 0 30px 60px -20px rgb(0 0 0 / .7);
  transition: border-color .4s, box-shadow .4s;
}
.layer[data-i="0"] { transform: translateZ(175px); } .layer[data-i="1"] { transform: translateZ(105px); } .layer[data-i="2"] { transform: translateZ(35px); }
.layer[data-i="3"] { transform: translateZ(-35px); } .layer[data-i="4"] { transform: translateZ(-105px); } .layer[data-i="5"] { transform: translateZ(-175px); }
.layer.ai.active { border-color: #a78bfa; box-shadow: 0 0 0 1px rgb(167 139 250 / .55), 0 0 70px -6px rgb(167 139 250 / .55), 0 40px 80px -20px rgb(0 0 0 / .8); }
.layer.ai.active .l-core svg { color: #c4b5fd; }
.layer .l-label { position: absolute; left: 18px; bottom: 14px; font: 600 12px var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: rgb(233 238 244 / .55); transition: color .4s; }
.layer .l-num { position: absolute; right: 18px; top: 14px; font: 500 11px var(--font-mono); color: rgb(233 238 244 / .35); }
.layer .l-core { position: absolute; inset: 22%; border-radius: 14px; border: 1px dashed rgb(140 200 255 / .3); display: grid; place-items: center; }
.layer .l-core svg { width: 42%; height: 42%; color: rgb(140 200 255 / .6); transform: rotateZ(45deg); transition: color .4s; }
.layer.active { border-color: var(--hero-blue); box-shadow: 0 0 0 1px rgb(76 178 242 / .5), 0 0 60px -6px rgb(76 178 242 / .55), 0 40px 80px -20px rgb(0 0 0 / .8); }
.layer.active .l-label { color: #fff; }
.layer.active .l-core svg { color: var(--hero-blue); }
.layer.sec.active { border-color: var(--hero-red); box-shadow: 0 0 0 1px rgb(255 75 62 / .5), 0 0 70px -6px rgb(255 75 62 / .6), 0 40px 80px -20px rgb(0 0 0 / .8); }
.layer.sec.active .l-core svg { color: var(--hero-red); }
.scan { position: absolute; left: 8%; right: 8%; height: 2px; top: 50%; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--hero-blue), #fff, var(--hero-blue), transparent);
  box-shadow: 0 0 24px 4px rgb(76 178 242 / .55); }
.stack-hint { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font: 500 10.5px var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--band-muted); display: none; }
.m .stack-hint { display: block; }
@media (max-width: 860px) {
  .stack-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .stack-visual { height: 42vh; order: -1; }
  .iso { width: min(230px, 58vw); }
  .stack-counter b { font-size: 40px; }
  .stack-hint { display: none !important; }
}

/* ===== v5: refinement + ergonomics ===== */
::selection { background: color-mix(in srgb, var(--red) 28%, transparent); color: inherit; }
html { scrollbar-color: color-mix(in srgb, var(--muted) 55%, transparent) var(--bg); }
.skip { position: fixed; left: 12px; top: -64px; z-index: 210; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 10px; text-decoration: none; font-weight: 600; transition: top .25s; }
.skip:focus { top: 12px; }
main:focus { outline: none; }

/* Premium primary buttons: inner highlight + light sweep on hover */
.btn-primary { overflow: hidden; box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), 0 1px 2px rgb(0 0 0 / .12); }
.btn-primary::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgb(255 255 255 / .32) 50%, transparent 65%); transform: translateX(-120%); transition: transform .9s cubic-bezier(.22,1,.36,1); }
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), 0 12px 32px -12px color-mix(in srgb, var(--red) 75%, transparent); }
.btn:active { transform: translateY(1px); }

/* Active section in the main nav */
.nl { position: relative; }
.nl.is-active { opacity: 1; }
.nl.is-active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--hero-red); }
.nl[data-panel].is-active::after { margin-left: -8px; }

/* Side section index (wide screens) */
.sidenav { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%) translateX(8px); z-index: 40;
  display: grid; gap: 2px; padding: 10px 7px; border-radius: 999px;
  /* at rest: just the dots, nothing that can hide the content behind; the pill appears on hover / keyboard focus */
  background: transparent; border: 1px solid transparent;
  opacity: 0; pointer-events: none; transition: opacity .4s, transform .5s cubic-bezier(.22,1,.36,1), background .3s, border-color .3s, box-shadow .3s; }
.sidenav:hover, .sidenav:focus-within { background: color-mix(in srgb, var(--surface) 88%, transparent); border-color: color-mix(in srgb, var(--line) 85%, transparent);
  box-shadow: 0 12px 30px -16px rgb(15 23 32 / .4); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.sidenav:not(:hover):not(:focus-within) a:not(.active)::before { opacity: .35; }
.sidenav.show { opacity: 1; pointer-events: auto; transform: translateY(-50%); }
.sidenav a { position: relative; display: grid; place-items: center; width: 16px; height: 24px; text-decoration: none; }
.sidenav a::before { content: ""; width: 6px; height: 6px; border-radius: 6px; background: var(--muted); opacity: .45; transition: height .4s cubic-bezier(.22,1,.36,1), background .3s, opacity .3s; }
.sidenav a:hover::before { opacity: .9; }
.sidenav a.active::before { height: 18px; background: var(--red); opacity: 1; }
.sidenav a span { position: absolute; right: calc(100% + 14px); top: 50%; transform: translate(6px, -50%); white-space: nowrap;
  font: 500 10.5px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 8px;
  background: var(--ink); color: var(--bg); opacity: 0; pointer-events: none; transition: opacity .2s, transform .3s cubic-bezier(.22,1,.36,1); }
.sidenav a:hover span, .sidenav a:focus-visible span { opacity: 1; transform: translate(0, -50%); }
.sidenav.on-dark:hover, .sidenav.on-dark:focus-within { background: rgb(17 26 36 / .7); border-color: rgb(255 255 255 / .12); }
.sidenav.on-dark a::before { background: #9aa7b6; }
.sidenav.on-dark a.active::before { background: var(--hero-red); }
@media (max-width: 1320px) { .sidenav { display: none; } }

/* Back to top with scroll-progress ring */
.to-top { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 45;
  width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--surface); color: var(--ink);
  box-shadow: 0 14px 34px -14px rgb(15 23 32 / .5), 0 0 0 1px var(--line); display: grid; place-items: center; cursor: pointer;
  opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; transition: opacity .3s, transform .45s cubic-bezier(.22,1,.36,1), bottom .45s cubic-bezier(.22,1,.36,1); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top .tt-svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.tt-track { fill: none; stroke: var(--line); stroke-width: 2; }
.tt-ring { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.tt-arrow { width: 18px; height: 18px; transform: rotate(-90deg); transition: transform .3s cubic-bezier(.22,1,.36,1); }
.to-top:hover .tt-arrow { transform: rotate(-90deg) translateX(3px); }

/* Mobile quick-action bar */
.action-bar { display: none; }
@media (max-width: 720px) {
  .action-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .5s cubic-bezier(.22,1,.36,1); }
  .action-bar.show { transform: none; }
  .action-bar .btn { min-height: 46px; padding: 0 10px; font-size: 14px; width: 100%; }
  .to-top { right: 14px; }
  .to-top.lifted { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

/* Pause-animations control (WCAG 2.2.2) */
.pause-btn { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--band-line);
  background: transparent; color: var(--band-fg); font: 500 12.5px var(--font-body); cursor: pointer; transition: border-color .2s; }
.pause-btn:hover { border-color: var(--band-fg); }
.pause-btn svg { width: 14px; height: 14px; }
.pause-btn .ic-play { display: none; }
.pause-btn[aria-pressed="true"] .ic-play { display: block; }
.pause-btn[aria-pressed="true"] .ic-pause { display: none; }
.paused *, .paused *::before, .paused *::after { animation-play-state: paused !important; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }

/* Form: live validation + success state */
.field .err { margin: 0; font-size: 12.5px; line-height: 1.4; color: var(--red); }
.field.invalid input, .field.invalid textarea { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.field.valid input { border-color: color-mix(in srgb, #1fa463 55%, var(--line)); padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231fa463' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 16px; }
form.sent > :not(.form-success) { display: none !important; }
.form-success { grid-column: 1 / -1; display: grid; justify-items: center; text-align: center; gap: 12px; padding: 36px 8px 28px; }
.form-success svg { width: 72px; height: 72px; }
.form-success .fs-c { fill: none; stroke: #1fa463; stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: fs-draw .7s cubic-bezier(.65,0,.35,1) forwards; }
.form-success .fs-k { fill: none; stroke: #1fa463; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: fs-draw .45s .55s cubic-bezier(.65,0,.35,1) forwards; }
@keyframes fs-draw { to { stroke-dashoffset: 0; } }
.form-success h3 { font-size: 24px; font-weight: 700; }
.form-success p { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .form-success .fs-c, .form-success .fs-k { stroke-dashoffset: 0; } }

/* ===== Locations ===== */
.locations { border-top: 1px solid var(--line); }
.offices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.office {
  position: relative; display: grid; gap: 22px; align-content: space-between; min-height: 230px; padding: 22px 20px 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; isolation: isolate;
  transition: translate .5s cubic-bezier(.22,1,.36,1), box-shadow .5s, border-color .3s;
}
.office::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--red), var(--blue));
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.office:hover { translate: 0 -4px; box-shadow: 0 30px 60px -36px rgb(15 23 32 / .45); border-color: color-mix(in srgb, var(--ink) 18%, var(--line)); }
.office:hover::before { transform: scaleX(1); }
.office.hq { background: radial-gradient(130% 100% at 100% 0%, #1d3a57, #0b1118 65%); color: #eef2f6; border-color: transparent; }
.office.hq::after { content: ""; position: absolute; right: -36px; bottom: -36px; width: 150px; height: 150px; z-index: -1; opacity: .28;
  background: repeating-linear-gradient(135deg, #ff4b3e 0 7px, transparent 7px 18px); }
.of-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.of-cc { font: 600 11px var(--font-mono); letter-spacing: .14em; padding: 5px 8px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); }
.office.hq .of-cc { border-color: rgb(255 255 255 / .16); color: #c7d1dc; }
.of-tag { font: 500 10px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #ff6b60; }
.office h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.office p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.office.hq p { color: #9aa7b6; }
.of-time { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 9px; padding-top: 14px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.office.hq .of-time { border-top-color: rgb(255 255 255 / .12); }
.of-time time { font: 600 22px/1 var(--font-display); letter-spacing: -0.01em; }
.of-time small { flex-basis: 100%; padding-left: 16px; font: 500 11px var(--font-mono); color: var(--muted); letter-spacing: .06em; white-space: nowrap; }
.office.hq .of-time small { color: #9aa7b6; }
.of-dot { width: 7px; height: 7px; border-radius: 50%; background: #1fa463; align-self: center; box-shadow: 0 0 0 0 rgb(31 164 99 / .5); animation: pulse 2.4s infinite; }
@media (max-width: 1040px) { .offices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .offices { grid-template-columns: minmax(0, 1fr); } .office { min-height: 0; } }

/* ===== Performance + mobile ===== */
.no-intro .preloader { display: none !important; }
/* phones: drop the costliest full-screen effects (film grain repaint, WebGL aurora); keep the globe and the content */
.lite .grain, .lite .aurora { display: none; }
@media (max-width: 760px) {
  /* 16px inputs: iOS Safari zooms the page on focus below 16px */
  input, select, textarea { font-size: 16px; }
  /* comfortable touch targets */
  .footer-col ul { gap: 2px; }
  .footer-col a { display: inline-block; padding: 8px 0; }
  .footer-bottom nav a { display: inline-block; padding: 6px 0; }
  .m .stack-sec { height: 470vh; }
  .hero { padding-block: 36px 48px; }
  .section { padding-block: 56px; }
}
@media (max-width: 480px) {
  /* long labels must wrap rather than push the page wider than the screen */
  .services-actions .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.3; padding-block: 10px; }
  #loc-title span { white-space: normal !important; }
}
@media (max-width: 380px) {
  /* quick-action bar: icon-only support button so both always fit */
  .action-bar { grid-template-columns: 52px minmax(0, 1fr); }
  .action-bar .btn { padding: 0 8px; gap: 0; font-size: 14px; }
  .action-bar .btn-ghost .roll { display: none; }
}
@media (max-width: 360px) {
  .brand-word small { display: none; }
  .hero h1 { font-size: 34px; }
  .chip { display: none; }
}

/* Motion start states: only while `.m` is set (removed if the library fails to load) */
.m .reveal, .m .hero .w, .m .hero-fade, .m .chip, .m .kq { opacity: 0; }
.m .hl-bar { transform: scaleX(0); }
