/* ==========================================================================
   Binary Technologies — design system
   Palette pulled from the business card: deep indigo, white, cyan.
   ========================================================================== */

:root {
  --bg: #07081c;
  --bg-2: #0b0c26;
  --indigo: #24255e;
  --indigo-2: #2f3178;
  --violet: #8f7dff;
  --lavender: #c9bdff;
  --cyan: #4cc9e6;
  --cyan-2: #8ae3f5;
  --white: #f4f5ff;
  --text: #d9dbf2;
  --muted: #8b8fb5;
  --line: rgba(201, 189, 255, 0.12);
  --line-2: rgba(201, 189, 255, 0.22);
  --card: rgba(20, 22, 60, 0.55);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --display: "Inter Tight", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --arabic: "IBM Plex Sans Arabic", "Geeza Pro", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; }
::selection { background: var(--cyan); color: var(--bg); }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); letter-spacing: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

.label {
  font-size: 12px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

/* film grain overlay for a tactile, expensive finish */
.grain {
  position: fixed; inset: -50%;
  z-index: 100; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' 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); }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: grid; place-items: center;
  transition: clip-path 1s var(--ease), visibility 0s 1s;
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.loader__inner { width: min(320px, 80vw); text-align: center; }
.loader__bits { font-family: var(--mono); font-size: clamp(28px, 7vw, 44px); color: var(--white); letter-spacing: .12em; }
.loader__bar { height: 1px; background: var(--line); margin: 18px 0 14px; overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--cyan); transition: width .15s linear; }
.loader__label { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .2em; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap;
  font-family: inherit;
}
.btn .arr { font-style: normal; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--accent {
  background: var(--cyan);
  color: #060719;
}
.btn--accent:hover { background: var(--white); }
.btn--light { background: var(--white); color: var(--bg); }
.btn--light:hover { background: var(--cyan-2); }
.btn--ghost { border-color: var(--line-2); color: var(--white); background: rgba(255,255,255,.02); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--cyan); background: rgba(76, 201, 230, .08); }
.magnetic { will-change: transform; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 50;
  width: min(1320px, calc(100% - 28px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10, 11, 34, .45);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: background .4s var(--ease), border-color .4s var(--ease), top .4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(10, 11, 34, .72);
  border-color: var(--line-2);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 40px; border-radius: 50%; }
.brand__type { display: flex; flex-direction: column; line-height: 1; }
.brand__type strong { font-weight: 800; color: var(--white); letter-spacing: .06em; font-size: 17px; }
.brand__type span { font-size: 9.5px; color: var(--cyan); letter-spacing: .26em; margin-top: 4px; font-weight: 500; }
.nav__links { display: flex; gap: 6px; }
.nav__links a {
  padding: 8px 16px; border-radius: 999px;
  font-size: 14.5px; color: var(--text);
  transition: color .3s, background .3s;
}
.nav__links a:hover { color: var(--white); background: rgba(255,255,255,.06); }
.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__phone { font-family: var(--mono); font-size: 13px; color: var(--text); display: inline-flex; align-items: center; gap: 8px; transition: color .3s; }
.nav__phone:hover { color: var(--white); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #39e29b; box-shadow: 0 0 0 0 rgba(57,226,155,.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(57,226,155,.55); } 80%,100% { box-shadow: 0 0 0 9px rgba(57,226,155,0); } }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--white); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: rgba(7, 8, 28, .96); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 100px var(--gutter) 40px;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu > a { font-size: clamp(36px, 10vw, 56px); font-weight: 600; color: var(--white); letter-spacing: -.03em; }
.mobile-menu__foot { margin-top: 40px; display: flex; flex-direction: column; gap: 6px; font-family: var(--mono); font-size: 14px; color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 0 40px;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}
.hero__vortex {
  position: absolute; z-index: -1;
  top: 50%; right: -16vw;
  width: min(1100px, 80vw, 115vh); height: min(1100px, 80vw, 115vh);
  transform: translateY(-50%);
  /* fade the side that sits under the headline */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 28%, #000 62%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 28%, #000 62%);
}
.hero__glow {
  position: absolute; z-index: -2;
  top: 50%; right: 18vw; width: 520px; height: 520px; transform: translate(50%, -50%);
  display: none;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%; z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
/* keeps the headline crisp where it overlaps the vortex */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 8, 28, .92) 0%, rgba(7, 8, 28, .7) 32%, rgba(7, 8, 28, 0) 62%);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.03); backdrop-filter: blur(10px);
  font-size: 13px; color: var(--text); letter-spacing: .01em;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.hero__title {
  margin: 28px 0 26px;
  font-size: clamp(52px, 8vw, 132px);
  line-height: .92;
  letter-spacing: -0.045em;
  font-weight: 600;
  color: var(--white);
  max-width: 12ch;
  text-shadow: 0 2px 30px rgba(7, 8, 28, .6);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
.hero__title em {
  color: var(--cyan-2);
  padding-right: .06em;
  text-shadow: none;
}
.is-ready .hero__title .line > span { transform: none; }
.is-ready .hero__title .line:nth-child(2) > span { transition-delay: .08s; }
.is-ready .hero__title .line:nth-child(3) > span { transition-delay: .16s; }
.hero__lede { max-width: 540px; font-size: clamp(17px, 1.4vw, 19px); color: var(--text); margin: 0 0 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__arabic { margin-top: 44px; font-family: var(--arabic); font-size: 22px; color: var(--muted); display: inline-block; }

.hero__meta {
  margin-top: auto; padding-top: 70px;
  display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 20px; align-items: end;
}
.meta-item { border-top: 1px solid var(--line); padding-top: 14px; font-size: 14px; color: var(--muted); display: flex; gap: 12px; }
.meta-item .mono { color: var(--cyan); font-size: 12px; }
.scroll-cue { width: 26px; height: 42px; border: 1px solid var(--line-2); border-radius: 20px; position: relative; justify-self: end; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--white); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden; padding: 26px 0;
  background: var(--bg);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font-size: clamp(26px, 3.4vw, 46px); font-weight: 500; letter-spacing: -.03em; color: var(--white); white-space: nowrap; }
.marquee__track span[lang="ar"] { font-family: var(--arabic); }
.marquee__track b { color: var(--cyan); font-size: 14px; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro ---------- */
.intro { padding: clamp(100px, 14vw, 200px) var(--gutter); }
.manifesto {
  font-size: clamp(30px, 4.4vw, 64px);
  line-height: 1.12; letter-spacing: -.035em; font-weight: 500;
  margin: 0; max-width: 22ch; color: var(--white);
}
.manifesto .w { opacity: .14; transition: opacity .4s; }
.manifesto .w.on { opacity: 1; }
.intro__grid { margin-top: clamp(70px, 9vw, 120px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.intro__stat { padding: 30px 24px 0 0; border-right: 1px solid var(--line); }
.intro__stat + .intro__stat { padding-left: 24px; }
.intro__stat:last-child { border-right: 0; }
.intro__stat .num { font-size: clamp(44px, 5.5vw, 76px); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--white); }
.intro__stat .num span { color: var(--cyan); font-weight: 300; }
.intro__stat .cap { margin-top: 14px; font-size: 14.5px; color: var(--muted); max-width: 22ch; }

/* ---------- Section heads ---------- */
.section-head { margin-bottom: clamp(48px, 6vw, 80px); max-width: 820px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title {
  font-size: clamp(40px, 5.8vw, 88px);
  line-height: .98; letter-spacing: -.045em; font-weight: 600;
  margin: 0 0 22px; color: var(--white);
}
.section-title em, .cta__title em, .contact em { color: var(--cyan-2); }
.section-sub { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0; }

/* ---------- Services bento ---------- */
.services { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.services::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px; opacity: .35;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent);
}
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; grid-auto-flow: dense; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(22, 23, 62, .6);
  border: 1px solid var(--line);
  min-height: 300px;
  display: flex; flex-direction: column;
  transition: border-color .4s var(--ease), transform .6s var(--ease);
}
.card:hover { border-color: var(--line-2); }
.card--wide { grid-column: span 2; }
.card--tall { grid-row: span 2; }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; }
.card__idx { font-size: 12px; color: var(--muted); }
.card__icon { position: relative; z-index: 2; width: 44px; height: 44px; color: var(--cyan); transition: transform .6s var(--ease); }
.card:hover .card__icon { transform: rotate(-8deg) scale(1.08); }
.card h3 { margin: 40px 0 10px; font-size: 24px; letter-spacing: -.025em; font-weight: 600; color: var(--white); line-height: 1.15; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; max-width: 46ch; }
.card--feature { background: rgba(36, 37, 94, .55); }

/* terminal visual */
.card__visual--terminal {
  position: absolute; right: 24px; bottom: 24px;
  width: 270px; padding: 16px 18px; border-radius: 14px;
  background: rgba(5, 6, 20, .7); border: 1px solid var(--line);
  font-size: 12px; line-height: 1.9; color: var(--muted);
}
.card__visual--terminal i { color: var(--violet); font-style: normal; }
.card__visual--terminal .ok { color: #7be8b5; }
.caret { display: inline-block; width: 7px; height: 13px; background: var(--cyan); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.card--wide:has(.card__visual--terminal) h3,
.card--wide:has(.card__visual--terminal) p { max-width: calc(100% - 300px); }

/* firewall visual */
.firewall { position: relative; height: 230px; margin: 28px 0 8px; border-radius: 14px; background: rgba(5, 6, 20, .55); border: 1px solid var(--line); overflow: hidden; }
.firewall__wall {
  position: absolute; left: 58%; top: 10px; bottom: 34px; width: 14px; border-radius: 4px;
  background: repeating-linear-gradient(0deg, var(--indigo-2) 0 12px, var(--violet) 12px 14px);
  box-shadow: 0 0 30px rgba(143,125,255,.5);
}
.pkt { position: absolute; left: -10px; top: var(--y); width: 10px; height: 10px; border-radius: 3px; animation: pkt-ok 4.2s linear infinite; animation-delay: var(--d); }
.pkt--ok { background: #39e29b; box-shadow: 0 0 10px #39e29b; }
.pkt--bad { background: #ff5d7a; box-shadow: 0 0 10px #ff5d7a; animation-name: pkt-bad; }
@keyframes pkt-ok { 0% { left: -4%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 104%; opacity: 0; } }
@keyframes pkt-bad { 0% { left: -4%; opacity: 0; transform: scale(1); } 8% { opacity: 1; } 52% { left: 54%; transform: scale(1); opacity: 1; } 62% { left: 52%; transform: scale(2); opacity: 0; } 100% { opacity: 0; left: 52%; } }
.firewall__legend { position: absolute; left: 14px; bottom: 10px; display: flex; gap: 16px; font-size: 11px; color: var(--muted); }
.firewall__legend i { display: inline-block; width: 7px; height: 7px; border-radius: 2px; margin-right: 6px; }
.firewall__legend .g { background: #39e29b; } .firewall__legend .r { background: #ff5d7a; }

/* radar visual */
.radar {
  position: absolute; right: -30px; bottom: -70px;
  width: 300px; height: 300px; border-radius: 50%;
  border: 1px solid var(--line-2);
  background: transparent;
}
.radar__grid { position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 32%, var(--line) 32.5%, transparent 33%),
    radial-gradient(circle, transparent 65%, var(--line) 65.5%, transparent 66%),
    linear-gradient(var(--line), var(--line)) center/1px 100% no-repeat,
    linear-gradient(var(--line), var(--line)) center/100% 1px no-repeat; }
.radar__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(76,201,230,.45), transparent 22%); animation: spin 3.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.blip { position: absolute; left: var(--x); top: var(--y); width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-2); box-shadow: 0 0 12px var(--cyan); animation: blip 3.2s infinite; animation-delay: var(--d); opacity: 0; }
@keyframes blip { 0% { opacity: 1; } 70% { opacity: 0; } 100% { opacity: 0; } }
.radar__rec { position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); font-size: 10.5px; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.radar__rec i { width: 7px; height: 7px; border-radius: 50%; background: #ff5d7a; animation: blink 1.2s steps(1) infinite; }
.card--wide:has(.radar) h3, .card--wide:has(.radar) p { max-width: calc(100% - 270px); }

/* network visual */
.netviz { width: 100%; height: auto; margin-top: 24px; max-height: 120px; }
.netviz__links path { fill: none; stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 4 5; animation: dash 20s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.netviz__nodes circle { fill: var(--bg-2); stroke: var(--cyan); stroke-width: 1.5; }
.netviz__nodes .core { fill: var(--cyan); stroke: var(--cyan-2); filter: drop-shadow(0 0 8px var(--cyan)); }
.netviz__pkt { fill: var(--lavender); filter: drop-shadow(0 0 6px var(--violet)); }

/* video conferencing visual */
.vcviz { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 26px; position: relative; }
.vcviz::before { content: ""; position: absolute; left: 12%; right: 12%; top: 34px; border-top: 1px dashed var(--line-2); }
.vcviz__item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); text-align: center; }
.vcviz__item svg { width: 68px; height: 68px; padding: 18px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--cyan); }

/* business email visual */
.mailviz { position: absolute; right: 24px; bottom: 24px; width: 290px; padding: 16px 18px; border-radius: 14px; background: rgba(5, 6, 20, .7); border: 1px solid var(--line); font-size: 12.5px; }
.mailviz__addr { color: var(--white); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.mailviz__addr span { color: var(--cyan-2); }
.mailviz__addr i { font-style: normal; color: #39e29b; margin-left: 6px; }
.mailviz__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.mailviz__chips span { font-size: 11px; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); }
.card--wide:has(.mailviz) h3, .card--wide:has(.mailviz) p { max-width: calc(100% - 320px); }

/* server rack visual */
.rack {
  margin-top: 26px;
  width: 100%; padding: 12px; border-radius: 14px;
  background: rgba(5, 6, 20, .7); border: 1px solid var(--line);
  display: grid; gap: 8px;
}
.rack__unit {
  height: 34px; padding: 0 14px; border-radius: 6px;
  background: var(--bg-2); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 8px;
}
.rack__unit i { flex: 1; height: 12px; margin: 0 6px; background: repeating-linear-gradient(90deg, var(--line-2) 0 2px, transparent 2px 6px); }
.rack__unit b { font-size: 10.5px; font-weight: 400; color: var(--muted); }
.led { width: 6px; height: 6px; border-radius: 50%; background: #39e29b; box-shadow: 0 0 6px #39e29b; animation: led 1.6s steps(2) infinite; animation-delay: var(--d); }
.led--b { background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }
@keyframes led { 50% { opacity: .25; } }
.rack__unit--sw { justify-content: space-between; }
.port { width: 26px; height: 14px; border-radius: 3px; border: 1px solid var(--line-2); }
.port.on { border-color: var(--cyan); background: rgba(76, 201, 230, .18); }

/* ---------- Approach ---------- */
.approach { padding: clamp(80px, 10vw, 160px) 0; border-top: 1px solid var(--line); }
.approach__wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.approach__sticky { position: sticky; top: 130px; }
.approach__progress { margin-top: 48px; height: 2px; width: 220px; background: var(--line); border-radius: 2px; overflow: hidden; }
.approach__progress span { display: block; height: 100%; width: 0; background: var(--cyan); }
.steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.step:first-child { padding-top: 0; }
.step__num { font-size: 13px; color: var(--cyan); padding-top: 12px; }
.step h3 { font-size: clamp(32px, 3.4vw, 46px); letter-spacing: -.04em; font-weight: 600; margin: 0 0 12px; color: var(--white); }
.step p { color: var(--muted); margin: 0 0 20px; max-width: 48ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-size: 12.5px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); }

/* ---------- Why ---------- */
.why { padding: clamp(80px, 10vw, 160px) 0; position: relative; overflow: hidden; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why__item {
  padding: 30px 26px 32px; border-radius: var(--radius);
  border: 1px solid var(--line); background: rgba(255,255,255,.015);
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .6s var(--ease);
}
.why__item:hover { background: rgba(47, 49, 120, .3); border-color: var(--line-2); transform: translateY(-4px); }
.why__bit {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-size: 26px; color: var(--white);
  background: var(--indigo);
  border: 1px solid var(--line-2);
  margin-bottom: 56px;
}
.why__item h3 { font-size: 21px; letter-spacing: -.02em; margin: 0 0 10px; color: var(--white); font-weight: 600; }
.why__item p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- CTA + business card ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(90px, 11vw, 170px) 0;
  background: #0e0f30;
  border-block: 1px solid var(--line);
}
.cta__vortex { position: absolute; z-index: -1; left: -20%; top: 50%; width: 900px; height: 900px; transform: translateY(-50%); opacity: .2; }
.cta__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cta__title { font-size: clamp(42px, 5.6vw, 84px); line-height: .98; letter-spacing: -.045em; font-weight: 600; color: var(--white); margin: 0 0 22px; }
.cta .section-sub { margin-bottom: 34px; }

.bizcard-stage { perspective: 1600px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.bizcard {
  --rx: 0deg; --ry: 0deg; --flip: 0deg;
  position: relative;
  width: min(500px, 100%); aspect-ratio: 1.75;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(calc(var(--ry) + var(--flip)));
  transition: transform .9s var(--ease);
  cursor: pointer; outline: none;
}
.bizcard.is-tilting { transition: transform .15s linear; }
.bizcard.is-flipped { --flip: 180deg; }
.bizcard__face {
  position: absolute; inset: 0; border-radius: 14px; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06);
}
.bizcard__front {
  background: #f1f1f4;
  color: #2a2c40; padding: 8% 8% 7%;
  display: flex; flex-direction: column;
}
.bc-word { font-size: clamp(17px, 3.6vw, 27px); letter-spacing: .06em; color: #4a8fa3; font-weight: 400; line-height: 1; }
.bc-word strong { color: #23253f; font-weight: 800; }
.bc-rule { height: 1.5px; background: #3b3d5c; margin: 8px 0 6px; opacity: .8; }
.bc-ar { font-family: var(--arabic); font-size: clamp(16px, 3.4vw, 25px); color: #4a8fa3; line-height: 1.2; text-align: left; }
.bc-ar b { color: #23253f; font-weight: 600; }
.bc-body { margin-top: auto; display: grid; grid-template-columns: auto 1px 1fr; gap: 5%; align-items: center; }
.bc-name { font-size: clamp(11px, 2.2vw, 16px); font-weight: 600; color: #2a2c40; }
.bc-role { font-size: clamp(9px, 1.7vw, 12.5px); color: #3e405a; margin-top: 2px; }
.bc-div { width: 1px; height: 100%; background: #3b3d5c; }
.bc-details { font-size: clamp(7.5px, 1.45vw, 11px); line-height: 1.6; color: #3e405a; }
.bc-details span { display: inline-block; min-width: 3.8em; color: #6b6e8a; }

.bizcard__back {
  transform: rotateY(180deg);
  background: #24255e;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6%;
  padding: 6%;
}
.bc-logo { position: relative; width: 42%; aspect-ratio: 1; }
.bc-logo canvas { width: 100%; height: 100%; }
.bc-logo__type { position: absolute; left: 52%; top: 50%; transform: translateY(-50%); line-height: 1; }
.bc-logo__type strong { display: block; color: #fff; font-weight: 800; letter-spacing: .04em; font-size: clamp(14px, 3vw, 22px); text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.bc-logo__type span { display: block; color: var(--cyan); font-size: clamp(6px, 1.25vw, 9px); letter-spacing: .14em; margin-top: 3px; }
.bc-services { color: #e8e9ff; font-size: clamp(6.5px, 1.3vw, 9.5px); font-weight: 600; text-align: center; letter-spacing: .02em; line-height: 1.6; max-width: 92%; }
.bizcard-hint { font-size: 12px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { padding: clamp(90px, 11vw, 160px) 0; }
.contact__wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact__person { display: flex; align-items: center; gap: 16px; margin: 40px 0 34px; }
.avatar { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: var(--white); font-size: 16px; background: var(--indigo-2); }
.contact__name { font-size: 20px; font-weight: 600; color: var(--white); letter-spacing: -.01em; }
.contact__role { font-size: 14px; color: var(--cyan); }
.contact__list { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--line); }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact__list .k { font-size: 12px; color: var(--muted); text-transform: uppercase; padding-top: 4px; }
.contact__list .v { font-size: 18px; color: var(--white); overflow-wrap: anywhere; }
.contact__list a { background: linear-gradient(var(--cyan), var(--cyan)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease), color .3s; }
.contact__list a:hover { background-size: 100% 1px; color: var(--cyan-2); }

.form {
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: 28px;
  background: rgba(24, 25, 66, .6);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(10px);
}
.form__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.form__head h3 { margin: 0; font-size: 26px; letter-spacing: -.03em; color: var(--white); font-weight: 600; }
.form__head span { font-size: 11.5px; color: var(--muted); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; display: block; margin-bottom: 14px; }
.field input, .field textarea {
  width: 100%; padding: 26px 18px 10px; border-radius: 14px;
  background: rgba(5, 6, 20, .5); border: 1px solid var(--line);
  color: var(--white); font: inherit; font-size: 16px; outline: none; resize: vertical;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field textarea { min-height: 120px; }
.field span { position: absolute; left: 19px; top: 18px; color: var(--muted); font-size: 15px; pointer-events: none; transition: all .25s var(--ease); }
.field input:focus, .field textarea:focus { border-color: var(--cyan); background: rgba(5, 6, 20, .75); box-shadow: 0 0 0 4px rgba(76, 201, 230, .12); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { top: 8px; font-size: 11px; color: var(--cyan); letter-spacing: .02em; }
.field.is-invalid input { border-color: #ff5d7a; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 18px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; color: var(--text); transition: all .25s var(--ease); user-select: none; }
.chips label:hover span { border-color: var(--cyan); }
.chips input:checked + span { background: var(--cyan); color: var(--bg); border-color: var(--cyan); }
.chips input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.form__note { font-size: 13px; color: var(--muted); margin: 16px 0 0; text-align: center; }
.form__note a { color: var(--cyan-2); }

/* ---------- Footer ---------- */
.footer { padding: 40px 0 30px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__big {
  font-size: clamp(90px, 23vw, 360px); font-weight: 800; letter-spacing: -.06em; line-height: .8;
  text-align: center; margin: 10px 0 70px;
  color: rgba(201, 189, 255, .07);
  user-select: none;
}
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer__ar { font-family: var(--arabic); color: var(--muted); font-size: 14px; line-height: 1.9; max-width: 380px; margin: 22px 0 0; text-align: right; }
.footer h4 { font-size: 11.5px; text-transform: uppercase; color: var(--cyan); font-weight: 500; margin: 6px 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: var(--text); }
.footer ul a:hover { color: var(--cyan-2); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__bottom a:hover { color: var(--white); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--rd, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links, .nav__phone { display: none; }
  .burger { display: block; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card--tall { grid-row: span 1; }
  .card--vc { grid-column: span 2; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__vortex { right: -30vw; opacity: .75; }
}
@media (max-width: 900px) {
  .approach__wrap, .cta__wrap, .contact__wrap { grid-template-columns: 1fr; }
  .approach__sticky { position: static; }
  .intro__grid { grid-template-columns: repeat(2, 1fr); }
  .intro__stat:nth-child(2) { border-right: 0; }
  .intro__stat:nth-child(3) { padding-left: 0; }
  .intro__stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 30px; }
  .hero__meta { grid-template-columns: repeat(2, 1fr); }
  .scroll-cue { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .footer__ar { text-align: left; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { padding: 8px 8px 8px 14px; top: 10px; width: calc(100% - 20px); }
  .nav .btn--sm { display: none; }
  .brand__type strong { font-size: 15px; }
  .hero { padding-top: 120px; }
  .hero__vortex { width: 150vw; height: 150vw; right: -70vw; top: 38%; opacity: .55; }
  .hero__glow { right: 0; }
  .bento { grid-template-columns: 1fr; }
  .card--wide, .card--vc { grid-column: span 1; }
  .mailviz { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 24px; }
  .vcviz { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .vcviz::before { display: none; }
  .card--wide:has(.mailviz) h3, .card--wide:has(.mailviz) p { max-width: none; }
  .card { min-height: 0; }
  .card__visual--terminal, .radar { position: relative; right: auto; top: auto; bottom: auto; transform: none; width: 100%; margin-top: 24px; }
  .radar { width: 220px; height: 220px; margin: 28px auto 0; }
  .card--wide:has(.card__visual--terminal) h3, .card--wide:has(.card__visual--terminal) p,
  .card--wide:has(.radar) h3, .card--wide:has(.radar) p { max-width: none; }
  .card h3 { margin-top: 28px; }
  .why__grid { grid-template-columns: 1fr; }
  .why__bit { margin-bottom: 30px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .contact__list li { grid-template-columns: 1fr; gap: 4px; }
  .step { grid-template-columns: 1fr; gap: 6px; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta__vortex { left: -60%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
