/* ==========================================================================
   NEURALFORGE AI — style.css
   Pure CSS3. Organized in layers:
   01 Tokens & Reset  02 Base Typography  03 Utilities & Layout
   04 Buttons & Links 05 Background FX    06 Reveal System
   07 Header/Nav/Drawer 08 Footer
   09 Homepage sections 10 Inner pages 11 Responsive 12 Reduced motion
   ========================================================================== */

/* --------------------------------------------------------------------------
   01 — DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Palette */
  --bg: #050508;
  --bg-2: #08080d;
  --surface: #0c0c14;
  --surface-2: #10101a;
  --charcoal: #16161f;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f4f4f0;
  --text-2: #a8a8b6;
  --text-3: #6f6f80;
  --blue: #4d8dff;
  --blue-soft: rgba(77, 141, 255, 0.14);
  --violet: #8b5cf6;
  --violet-soft: rgba(139, 92, 246, 0.14);
  --grad: linear-gradient(120deg, #4d8dff 0%, #8b5cf6 100%);
  --grad-soft: linear-gradient(120deg, rgba(77,141,255,.16), rgba(139,92,246,.16));

  /* Type */
  --font-display: "Space Grotesk", "SF Pro Display", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  /* Shape & depth */
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-1: 0 18px 50px rgba(0, 0, 0, 0.45);
  --glow-blue: 0 0 0 1px rgba(77,141,255,.28), 0 12px 44px rgba(77,141,255,.16);
  --glow-violet: 0 0 0 1px rgba(139,92,246,.3), 0 12px 44px rgba(139,92,246,.18);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 4.5vw, 40px);
  --nav-h: 76px;

  /* Scroll-driven (updated by JS) */
  --scroll-p: 0;
}

/* --------------------------------------------------------------------------
   02 — RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }

img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: none; }
button { cursor: pointer; }

::selection { background: rgba(101, 125, 255, 0.38); color: #fff; }

/* Subtle custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1d1d2a; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #2a2a3c; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 3000;
  padding: 10px 18px; border-radius: 10px;
  background: var(--text); color: #0a0a10; font-weight: 600; font-size: 14px;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 14px; }

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

/* --------------------------------------------------------------------------
   03 — TYPOGRAPHY & LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.06;
  text-wrap: balance;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: 1360px; }

.section { padding-block: clamp(84px, 11vw, 148px); position: relative; }
.section--tight { padding-block: clamp(64px, 8vw, 104px); }
.section--alt { background: var(--bg-2); }
.section--borderTop { border-top: 1px solid var(--line); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Section headers */
.sec-head { max-width: 780px; margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--split {
  max-width: none; display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.sec-title {
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  text-transform: uppercase;
  margin: 18px 0 0;
}
.sec-lede { margin-top: 20px; font-size: clamp(1rem, 1.4vw, 1.125rem); max-width: 620px; color: var(--text-2); }
.sec-head--center .sec-lede { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-3);
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--grad); flex: none;
}
.eyebrow--center::after { content: ""; width: 26px; height: 1px; background: var(--grad); flex: none; }
.eyebrow .idx { color: var(--blue); }

/* Chips / tags */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.025);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--text-2); white-space: nowrap;
  transition: border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease);
}
.chip::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--grad); box-shadow: 0 0 10px rgba(101,125,255,.8);
}
.chip:hover, .chip.is-hot { border-color: rgba(101,125,255,.45); color: var(--text); background: rgba(77,141,255,.07); }

/* Mono meta line (numbers, labels) */
.mono-meta {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-3);
}

/* Dividers with center node */
.hr-tech {
  display: flex; align-items: center; gap: 0; border: none; margin: 0;
  height: 1px; color: transparent;
}
.hr-tech::before, .hr-tech::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* --------------------------------------------------------------------------
   04 — BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 12px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1;
  letter-spacing: 0.01em; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
  will-change: transform;
}
.btn .arr { display: inline-block; transition: transform .35s var(--ease); font-size: 1.05em; }
.btn:hover .arr, .btn:focus-visible .arr { transform: translateX(5px); }

.btn--light { background: var(--text); color: #0a0a10; }
.btn--light:hover { box-shadow: 0 14px 44px rgba(244,244,240,.18); }

.btn--accent {
  background: linear-gradient(120deg, #3f7bff, #7d5bff); color: #fff;
  box-shadow: 0 10px 34px rgba(94,113,255,.28), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn--accent:hover { box-shadow: 0 16px 48px rgba(94,113,255,.42), inset 0 1px 0 rgba(255,255,255,.22); }

.btn--ghost {
  border: 1px solid var(--line-2); color: var(--text);
  background: rgba(255,255,255,.02); backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: rgba(101,125,255,.5); background: rgba(77,141,255,.07); }

.btn--sm { padding: 11px 20px; font-size: 13.5px; border-radius: 10px; }
.btn--block { width: 100%; justify-content: center; }

/* Text link with animated arrow */
.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: var(--text);
  position: relative; padding-bottom: 2px;
}
.tlink::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--grad); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.tlink:hover::after { transform: scaleX(1); transform-origin: left; }
.tlink .arr { transition: transform .35s var(--ease); color: var(--blue); }
.tlink:hover .arr { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   05 — SHARED BACKGROUND FX (grids, blobs, beams)
   -------------------------------------------------------------------------- */
.bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 78%);
}
.blob {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(90px); opacity: .5; will-change: transform;
}
.blob--blue { background: radial-gradient(circle, rgba(64,120,255,.34), transparent 65%); }
.blob--violet { background: radial-gradient(circle, rgba(128,84,246,.3), transparent 65%); }
.blob--anim { animation: blobFloat 14s var(--ease) infinite alternate; }
@keyframes blobFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(40px, -36px, 0) scale(1.12); }
}

.beam {
  position: absolute; pointer-events: none;
  width: 1px; height: 140%;
  background: linear-gradient(180deg, transparent, rgba(101,125,255,.5) 45%, transparent);
  transform: rotate(24deg); opacity: .5;
  animation: beamSway 7s var(--ease) infinite alternate;
}
@keyframes beamSway { from { opacity: .22; transform: rotate(22deg) translateX(-16px); } to { opacity: .6; transform: rotate(26deg) translateX(16px); } }

/* --------------------------------------------------------------------------
   06 — SCROLL REVEAL SYSTEM (IntersectionObserver adds .in)
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="blur"]  { filter: blur(8px); transform: translateY(16px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }

/* Word-by-word title reveal */
.wordrise .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.wordrise .w > i {
  display: inline-block; font-style: normal; transform: translateY(110%);
  transition: transform .9s var(--ease-out); transition-delay: calc(var(--i) * 70ms + 120ms);
}
.wordrise.in .w > i { transform: translateY(0); }

/* --------------------------------------------------------------------------
   07 — HEADER / NAVIGATION
   -------------------------------------------------------------------------- */
.progress-bar {
  position: fixed; top: 0; left: 0; z-index: 1600;
  width: 100%; height: 2px; background: var(--grad);
  transform-origin: 0 50%; transform: scaleX(var(--scroll-p));
  box-shadow: 0 0 12px rgba(101,125,255,.55);
}

.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1200;
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header .nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--nav-h);
  transition: height .4s var(--ease);
}
.header.is-scrolled {
  background: rgba(6, 6, 10, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
          backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--line);
}
.header.is-scrolled .nav { height: 62px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark {
  width: 34px; height: 34px; flex: none; border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(77,141,255,.16), rgba(139,92,246,.16));
  border: 1px solid rgba(101,125,255,.35);
  box-shadow: inset 0 0 18px rgba(101,125,255,.18);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.brand:hover .brand__mark { box-shadow: inset 0 0 22px rgba(101,125,255,.35), 0 0 22px rgba(101,125,255,.28); transform: rotate(-4deg); }
.brand__name {
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  letter-spacing: 0.04em; color: var(--text); line-height: 1;
}
.brand__name em { font-style: normal; color: var(--blue); }
.brand__tag-d { display: none; }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; padding: 10px 14px;
  font-size: 14.5px; font-weight: 500; color: var(--text-2);
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px;
  background: var(--grad); border-radius: 2px;
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav__right { display: flex; align-items: center; gap: 14px; }

/* Hamburger */
.burger {
  position: relative; width: 46px; height: 46px; border-radius: 14px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.03);
  display: none; place-items: center; z-index: 1400;
  transition: border-color .3s var(--ease), background .3s var(--ease), border-radius .3s var(--ease);
}
.burger span {
  position: absolute; left: 13px; width: 20px; height: 1.8px; border-radius: 2px;
  background: var(--text);
  transition: transform .4s var(--ease), opacity .3s var(--ease), width .4s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; width: 13px; }
.burger:hover { border-color: rgba(101,125,255,.5); background: rgba(77,141,255,.07); }
.burger[aria-expanded="true"] { border-radius: 50%; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.burger[aria-expanded="true"] span:nth-child(3) { width: 20px; transform: translateY(-6px) rotate(-45deg); }

/* Left drawer */
.overlay {
  position: fixed; inset: 0; z-index: 1300;
  background: rgba(3, 3, 6, 0.66);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
.overlay.show { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 1350;
  width: min(86vw, 390px);
  background: linear-gradient(160deg, #0b0b13 0%, #07070c 70%);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  padding: 26px 30px 34px;
  transform: translateX(-102%);
  transition: transform .55s var(--ease-out);
  box-shadow: 40px 0 90px rgba(0,0,0,.5);
  overflow-y: auto;
}
.drawer.show { transform: translateX(0); }
.drawer::before {
  content: ""; position: absolute; top: -20%; right: -40%; width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(94,113,255,.14), transparent 65%);
  pointer-events: none;
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.drawer__close {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--text-2);
  transition: border-color .3s, color .3s, transform .3s;
}
.drawer__close:hover { border-color: rgba(101,125,255,.5); color: var(--text); transform: rotate(90deg); }

.drawer__label { margin-bottom: 18px; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__link {
  display: flex; align-items: baseline; gap: 14px;
  padding: 15px 4px; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: clamp(1.5rem, 6vw, 1.9rem);
  font-weight: 700; color: var(--text); letter-spacing: -0.01em;
  opacity: 0; transform: translateX(-26px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color .3s;
  transition-delay: 0s;
}
.drawer__link .n { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); font-weight: 400; }
.drawer__link:hover, .drawer__link.is-active { color: var(--blue); }
.drawer.show .drawer__link { opacity: 1; transform: none; transition-delay: calc(var(--i) * 60ms + 140ms); }

.drawer__cta { margin-top: 30px; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease-out) .55s, transform .5s var(--ease-out) .55s; }
.drawer.show .drawer__cta { opacity: 1; transform: none; }
.drawer__foot {
  margin-top: auto; padding-top: 36px;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transition: opacity .5s var(--ease) .65s;
}
.drawer.show .drawer__foot { opacity: 1; }
.drawer__foot a:hover { color: var(--text); }

/* --------------------------------------------------------------------------
   08 — FOOTER
   -------------------------------------------------------------------------- */
.footer { position: relative; border-top: 1px solid var(--line); background: var(--bg-2); overflow: clip; }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px; padding-block: clamp(56px, 7vw, 84px) clamp(44px, 5vw, 60px);
}
.footer__tag { margin-top: 18px; max-width: 300px; font-size: 15px; }
.footer__tag strong { color: var(--text); font-weight: 600; }
.footer__social { display: flex; gap: 10px; margin-top: 26px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--text-2);
  transition: border-color .3s, color .3s, transform .3s, background .3s;
}
.footer__social a:hover { border-color: rgba(101,125,255,.5); color: var(--text); background: rgba(77,141,255,.08); transform: translateY(-3px); }
.footer__title {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 20px;
}
.footer__col li { margin-bottom: 4px; }
.footer__col a {
  display: inline-block; padding: 6px 0; font-size: 15px; color: var(--text-2);
  transition: color .3s, transform .3s;
}
.footer__col a:hover { color: var(--text); transform: translateX(4px); }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding-block: 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--text-3);
}
.footer__bottom .mono-meta { font-size: 11.5px; }
.footer__glow {
  position: absolute; bottom: -180px; left: 50%; transform: translateX(-50%);
  width: 640px; height: 320px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(94,113,255,.13), transparent 70%);
  filter: blur(50px); pointer-events: none;
}
/* --------------------------------------------------------------------------
   09 — SHARED COMPONENTS: cards, icons, metrics
   -------------------------------------------------------------------------- */
.icon-frame {
  width: 52px; height: 52px; border-radius: 15px; flex: none;
  display: grid; place-items: center; position: relative;
  color: var(--blue);
  background: linear-gradient(150deg, rgba(77,141,255,.13), rgba(139,92,246,.1));
  border: 1px solid rgba(101,125,255,.28);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), color .45s;
}
.icon-frame svg { width: 24px; height: 24px; }
.icon-frame--v { color: var(--violet); border-color: rgba(139,92,246,.3); background: linear-gradient(150deg, rgba(139,92,246,.14), rgba(77,141,255,.08)); }

.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.032), rgba(255,255,255,.014));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease), background .45s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px 200px at var(--mx, 50%) var(--my, 0%), rgba(94,113,255,.14), transparent 65%);
  opacity: 0; transition: opacity .45s var(--ease);
}
.card:hover { transform: translateY(-7px); border-color: rgba(101,125,255,.4); box-shadow: var(--shadow-1); }
.card:hover::before { opacity: 1; }

.card-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-2); color: var(--text-2);
  transition: transform .4s var(--ease), border-color .4s, background .4s, color .4s;
}
.card:hover .card-arrow, .card-arrow:hover {
  transform: translateX(5px); border-color: transparent;
  background: var(--grad); color: #fff; box-shadow: 0 8px 26px rgba(94,113,255,.4);
}

/* Metric block */
.metric__value {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; color: var(--text);
}
.metric__value .sfx { font-size: .55em; color: var(--blue); vertical-align: .35em; }
.metric__label { margin-top: 10px; font-size: 14px; color: var(--text-3); }

/* --------------------------------------------------------------------------
   10 — HOMEPAGE: HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 30px); padding-bottom: 90px;
  overflow: clip;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(1100px 620px at 78% 34%, rgba(64,110,255,.13), transparent 60%),
    radial-gradient(700px 520px at 92% 78%, rgba(128,84,246,.11), transparent 65%),
    linear-gradient(180deg, rgba(5,5,8,.5) 0%, rgba(5,5,8,0) 24%, rgba(5,5,8,0) 62%, var(--bg) 98%);
}
.hero__inner {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center; gap: 40px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(10,10,16,.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-2);
}
.hero__badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: ping 2.2s var(--ease) infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(74,222,128,.55); }
  70% { box-shadow: 0 0 0 9px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.hero__title {
  margin-top: 26px;
  font-size: clamp(2.75rem, 7.2vw, 5.6rem);
  text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.98;
}
.hero__title .line { display: block; }
.hero__sub {
  margin-top: 26px; max-width: 540px;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem); line-height: 1.7;
}
.hero__actions { display: flex; align-items: center; gap: 16px; margin-top: 38px; flex-wrap: wrap; }
.hero__meta {
  display: flex; gap: clamp(20px, 3.4vw, 44px); margin-top: 54px; flex-wrap: wrap;
}
.hero__meta .m { display: flex; flex-direction: column; gap: 5px; }
.hero__meta .m b { font-family: var(--font-display); font-size: 21px; color: var(--text); letter-spacing: -0.01em; }
.hero__meta .m b em { font-style: normal; color: var(--blue); }
.hero__meta .m span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }

/* Orbital AI core (right side) */
.hero__visual { position: relative; height: 560px; }
.orb { position: absolute; inset: 0; display: grid; place-items: center; }
.orb__core {
  position: relative; width: 128px; height: 128px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(140,170,255,.9), rgba(77,141,255,.5) 38%, rgba(139,92,246,.34) 62%, rgba(20,18,40,.9) 100%);
  box-shadow: 0 0 60px rgba(94,113,255,.5), 0 0 140px rgba(139,92,246,.28), inset 0 0 34px rgba(255,255,255,.22);
  animation: corePulse 4.5s var(--ease) infinite;
}
.orb__core::after {
  content: ""; position: absolute; inset: -16px; border-radius: 50%;
  border: 1px solid rgba(101,125,255,.22);
  animation: ringOut 4.5s var(--ease) infinite;
}
@keyframes corePulse {
  0%,100% { box-shadow: 0 0 60px rgba(94,113,255,.48), 0 0 140px rgba(139,92,246,.26), inset 0 0 34px rgba(255,255,255,.22); }
  50% { box-shadow: 0 0 84px rgba(94,113,255,.66), 0 0 180px rgba(139,92,246,.36), inset 0 0 42px rgba(255,255,255,.3); }
}
@keyframes ringOut {
  0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; }
}
.orb__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.09); }
.orb__ring--1 { width: 290px; height: 290px; animation: spin 26s linear infinite; }
.orb__ring--2 { width: 400px; height: 400px; border-style: dashed; border-color: rgba(101,125,255,.16); animation: spin 44s linear infinite reverse; }
.orb__ring--3 { width: 520px; height: 520px; border-color: rgba(255,255,255,.05); animation: spin 70s linear infinite; }
.orb__ring i {
  position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%;
  background: var(--text); box-shadow: 0 0 14px rgba(120,150,255,.9);
}
.orb__ring--1 i { background: var(--blue); }
.orb__ring--2 i { background: var(--violet); width: 6px; height: 6px; }
.orb__ring--3 i { background: rgba(255,255,255,.6); width: 5px; height: 5px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Floating data chips over the visual */
.fchip {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 15px; border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(12,12,20,.66);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em;
  color: var(--text-2); box-shadow: 0 16px 40px rgba(0,0,0,.4);
  animation: floaty 7s var(--ease) infinite alternate;
}
.fchip b { color: var(--text); font-weight: 500; }
.fchip .pulse { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: ping 2.4s infinite; }
.fchip--a { top: 12%; left: 0; }
.fchip--b { top: 42%; right: -4%; animation-delay: 1.2s; }
.fchip--c { bottom: 16%; left: 6%; animation-delay: 2.3s; }
.fchip--b .pulse { background: var(--blue); }
.fchip--c .pulse { background: var(--violet); }
@keyframes floaty { from { transform: translateY(-7px); } to { transform: translateY(9px); } }

/* Scroll hint */
.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--text-3);
}
.scroll-hint .mouse {
  width: 22px; height: 34px; border-radius: 12px; border: 1.5px solid var(--line-2);
  display: flex; justify-content: center; padding-top: 6px;
}
.scroll-hint .mouse i {
  width: 3px; height: 7px; border-radius: 3px; background: var(--blue);
  animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(9px); opacity: 0; } 100% { opacity: 0; } }

/* --------------------------------------------------------------------------
   11 — TRUST BAR (marquee)
   -------------------------------------------------------------------------- */
.trust { border-block: 1px solid var(--line); background: var(--bg-2); padding-block: 34px; }
.trust__label {
  text-align: center; margin-bottom: 26px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--text-3);
}
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.marquee__track { display: flex; align-items: center; gap: clamp(48px, 7vw, 96px); width: max-content; padding-right: clamp(48px, 7vw, 96px); animation: marquee 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-item {
  font-family: var(--font-display); font-weight: 700; font-size: 21px;
  letter-spacing: .18em; color: var(--text-3); white-space: nowrap;
  transition: color .35s; display: inline-flex; align-items: center; gap: 8px;
}
.logo-item:hover { color: var(--text); }
.logo-item.lm { font-weight: 400; letter-spacing: .3em; }
.logo-item.lm i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .7; }
.logo-item.lq { font-family: var(--font-mono); font-weight: 500; letter-spacing: .1em; }
.logo-item.lo i { display: inline-block; width: 15px; height: 15px; border: 2px solid currentColor; border-radius: 50%; }
.logo-item.la i { display: inline-block; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 13px solid currentColor; }

/* --------------------------------------------------------------------------
   12 — CAPABILITIES
   -------------------------------------------------------------------------- */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cap-card { padding: 30px 26px 26px; display: flex; flex-direction: column; min-height: 320px; }
.cap-card .num {
  position: absolute; top: 22px; right: 24px;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-3); letter-spacing: .1em;
  transition: color .4s;
}
.cap-card:hover .num { color: var(--blue); }
.cap-card .icon-frame { margin-bottom: 26px; }
.cap-card:hover .icon-frame { transform: translateY(-4px) rotate(-5deg) scale(1.05); box-shadow: 0 12px 34px rgba(77,141,255,.22); color: var(--text); }
.cap-card h3 { font-size: 21px; margin-bottom: 12px; letter-spacing: 0; }
.cap-card p { font-size: 14.5px; flex: 1; }
.cap-card .card-arrow { margin-top: 22px; align-self: flex-end; }

/* --------------------------------------------------------------------------
   13 — SERVICES (homepage, asymmetric editorial grid)
   -------------------------------------------------------------------------- */
.svc-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 18px; grid-auto-rows: minmax(150px, auto);
}
.svc-card { padding: 30px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.svc-card--a { grid-column: span 7; grid-row: span 2; min-height: 380px; }
.svc-card--b { grid-column: span 5; }
.svc-card--c { grid-column: span 5; }
.svc-card--d { grid-column: span 4; }
.svc-card--e { grid-column: span 4; }
.svc-card--f { grid-column: span 4; }
.svc-card .num {
  font-family: var(--font-mono); font-size: 12px; color: var(--text-3);
  letter-spacing: .12em; margin-bottom: auto;
}
.svc-card h3 { font-size: clamp(20px, 1.8vw, 25px); margin: 22px 0 10px; }
.svc-card p { font-size: 14.5px; max-width: 44ch; }
.svc-card .tlink { margin-top: 18px; font-size: 14px; color: var(--text-2); }
.svc-card .tlink:hover { color: var(--text); }
.svc-card--a .svc-art { position: absolute; right: -30px; top: -20px; width: 300px; opacity: .5; pointer-events: none; transition: opacity .5s, transform .6s var(--ease); }
.svc-card--a:hover .svc-art { opacity: .85; transform: translateY(6px) scale(1.03); }
.svc-card--f { background: linear-gradient(150deg, rgba(77,141,255,.1), rgba(139,92,246,.08)), linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.014)); }
.svc-card--f::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(300px 160px at 80% 0%, rgba(94,113,255,.2), transparent 70%);
}

/* --------------------------------------------------------------------------
   14 — AI AGENT WORKFLOW SECTION
   -------------------------------------------------------------------------- */
.agent-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.agent-copy .chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.agent-copy .chip-row .chip { animation: chipIn .6s var(--ease) both; animation-delay: calc(var(--i) * 80ms + 300ms); }
@keyframes chipIn { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }

.flow { position: relative; padding-left: 62px; }
.flow__track, .flow__fill {
  position: absolute; left: 23px; top: 30px; bottom: 30px; width: 2px; border-radius: 2px;
}
.flow__track { background: rgba(255,255,255,.09); }
.flow__fill {
  background: linear-gradient(180deg, var(--blue), var(--violet));
  box-shadow: 0 0 16px rgba(101,125,255,.55);
  transform: scaleY(var(--p, 0)); transform-origin: top;
  transition: transform .2s linear;
}
.flow__tip {
  position: absolute; left: 23px; top: 30px; width: 10px; height: 10px; margin: -4px 0 0 -4px;
  border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 5px rgba(101,125,255,.22), 0 0 22px rgba(120,150,255,.9);
  top: calc(30px + (100% - 60px) * var(--p, 0));
  transition: top .2s linear; opacity: 0;
}
.flow.is-live .flow__tip { opacity: 1; }
.flow__step { position: relative; padding: 13px 0; }
.flow__node {
  position: absolute; left: -62px; top: 10px;
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--text-3);
  transition: border-color .5s, color .5s, box-shadow .5s, background .5s, transform .5s var(--ease);
}
.flow__node svg { width: 21px; height: 21px; }
.flow__step.is-on .flow__node {
  border-color: rgba(101,125,255,.55); color: var(--text);
  background: linear-gradient(150deg, rgba(77,141,255,.16), rgba(139,92,246,.12));
  box-shadow: 0 0 24px rgba(94,113,255,.25), inset 0 0 12px rgba(94,113,255,.14);
  transform: scale(1.06);
}
.flow__body {
  padding: 18px 22px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
  opacity: .45; transform: translateX(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease), border-color .55s;
}
.flow__step.is-on .flow__body { opacity: 1; transform: none; border-color: rgba(101,125,255,.28); }
.flow__body .k {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 5px;
}
.flow__body h3 { font-size: 18px; letter-spacing: 0; }
.flow__body p { font-size: 13.5px; margin-top: 5px; color: var(--text-3); }
.flow__step--result .flow__body { border-color: rgba(139,92,246,.3); }
.flow__step--result.is-on .flow__node { border-color: rgba(139,92,246,.6); box-shadow: 0 0 26px rgba(139,92,246,.3); }
/* --------------------------------------------------------------------------
   15 — AUTOMATION PIPELINE
   -------------------------------------------------------------------------- */
.pipe-scroll { overflow-x: auto; padding-bottom: 18px; scrollbar-width: thin; }
.pipeline { display: flex; align-items: stretch; gap: 0; min-width: 900px; }
.pipe-stage {
  flex: 1; position: relative; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 0 8px;
}
.pipe-stage .glyph {
  width: 74px; height: 74px; border-radius: 20px;
  display: grid; place-items: center; position: relative;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--text-3);
  opacity: .38; transform: translateY(14px) scale(.94);
  transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .6s, color .6s, box-shadow .6s;
}
.pipe-stage .glyph svg { width: 30px; height: 30px; }
.pipe-stage .st { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; color: var(--text-3); }
.pipe-stage .lb { font-family: var(--font-display); font-weight: 600; font-size: 15.5px; color: var(--text-2); transition: color .6s; }
.pipeline.is-play .pipe-stage .glyph { animation: stageOn .7s var(--ease) forwards; animation-delay: calc(var(--i) * .32s); }
.pipeline.is-play .pipe-stage .lb { animation: labelOn .7s var(--ease) forwards; animation-delay: calc(var(--i) * .32s); }
@keyframes stageOn {
  to { opacity: 1; transform: none; color: var(--text); border-color: rgba(101,125,255,.5); box-shadow: 0 0 30px rgba(94,113,255,.2), inset 0 0 16px rgba(94,113,255,.12); }
}
@keyframes labelOn { to { color: var(--text); } }
.pipe-stage:last-child.pipeline-is-final .glyph { border-color: rgba(139,92,246,.6); }
.pipe-link {
  flex: 0 0 44px; display: grid; place-items: center; margin-top: 26px; color: var(--text-3);
  position: relative; overflow: hidden;
}
.pipe-link::before { content: ""; position: absolute; left: 4px; right: 4px; height: 1.5px; background: rgba(255,255,255,.12); }
.pipe-link::after {
  content: ""; position: absolute; left: 4px; right: 4px; height: 1.5px;
  background: var(--grad); box-shadow: 0 0 10px rgba(101,125,255,.6);
  transform: scaleX(0); transform-origin: left;
}
.pipe-link svg { width: 14px; height: 14px; position: relative; z-index: 1; background: var(--bg); border-radius: 50%; }
.pipeline.is-play .pipe-link::after { animation: linkOn .34s var(--ease) forwards; animation-delay: calc(var(--i) * .32s + .18s); }
@keyframes linkOn { to { transform: scaleX(1); } }

.metrics-row {
  margin-top: clamp(48px, 6vw, 70px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.metric-cell {
  padding: 34px 30px; text-align: left; position: relative; overflow: hidden;
}
.metric-cell::after {
  content: ""; position: absolute; left: 30px; bottom: 0; height: 2px; width: 46px; border-radius: 2px;
  background: var(--grad); box-shadow: 0 0 12px rgba(101,125,255,.5);
}

/* --------------------------------------------------------------------------
   16 — CASE STUDY CARDS (homepage)
   -------------------------------------------------------------------------- */
.case-list { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 46px); }
.case-card { display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden; }
.case-card + .case-card { margin-top: 0; }
.case-card__media { position: relative; min-height: 320px; overflow: hidden; }
.case-card__media img {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
  transform: scale(1.04); transition: transform .8s var(--ease), filter .8s;
  filter: saturate(.92);
}
.case-card:hover .case-card__media img { transform: scale(1.09); filter: saturate(1.05); }
.case-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(5,5,8,.55), transparent 55%), linear-gradient(0deg, rgba(5,5,8,.4), transparent 40%);
}
.case-card__media .tag {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(8,8,14,.72); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; color: var(--text);
}
.case-card__media .metric-b {
  position: absolute; left: 20px; bottom: 18px; z-index: 2;
}
.case-card__media .metric-b b {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.case-card__media .metric-b span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.case-card__body { padding: clamp(28px, 3.4vw, 46px); display: flex; flex-direction: column; }
.case-card__body h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin: 14px 0 10px; letter-spacing: 0; }
.case-card__body .row { display: flex; gap: 14px; margin-top: 18px; }
.case-card__body .cell { flex: 1; }
.case-card__body .cell .k {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 6px;
}
.case-card__body .cell p { font-size: 13.5px; color: var(--text-2); }
.case-card__body .card-arrow { align-self: flex-end; margin-top: auto; }
.case-card--flip .case-card__media { order: 2; }

/* --------------------------------------------------------------------------
   17 — INDUSTRIES (interactive tabs)
   -------------------------------------------------------------------------- */
.ind-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 54px); align-items: start; }
.ind-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.ind-tab {
  display: flex; align-items: center; gap: 18px; text-align: left;
  padding: 19px 6px; border-bottom: 1px solid var(--line);
  color: var(--text-3); position: relative; width: 100%;
  transition: color .35s, padding-left .35s var(--ease);
}
.ind-tab .n { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); width: 26px; }
.ind-tab .t { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 1.7vw, 1.3rem); letter-spacing: -0.01em; }
.ind-tab .ind { margin-left: auto; opacity: 0; transform: translateX(-8px); transition: opacity .35s, transform .35s; color: var(--blue); }
.ind-tab::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 0; border-radius: 3px;
  background: var(--grad); transform: translateY(-50%); transition: height .4s var(--ease);
  box-shadow: 0 0 14px rgba(101,125,255,.6);
}
.ind-tab:hover { color: var(--text); }
.ind-tab[aria-selected="true"] { color: var(--text); padding-left: 18px; }
.ind-tab[aria-selected="true"]::before { height: 60%; }
.ind-tab[aria-selected="true"] .ind { opacity: 1; transform: none; }
.ind-panel { position: relative; min-height: 420px; }
.ind-panel__inner {
  position: absolute; inset: 0; padding: clamp(28px, 3vw, 42px);
  opacity: 0; transform: translateY(18px) scale(.985); visibility: hidden;
  transition: opacity .55s var(--ease), transform .55s var(--ease), visibility .55s;
  display: flex; flex-direction: column;
}
.ind-panel__inner.is-active { opacity: 1; transform: none; visibility: visible; }
.ind-panel__inner .icon-frame { margin-bottom: 24px; }
.ind-panel__inner h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: 0; }
.ind-panel__inner > p { margin-top: 14px; font-size: 15px; }
.ind-panel__inner .apps { margin-top: 26px; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.ind-panel__inner .apps li {
  display: flex; align-items: center; gap: 12px; padding: 13px 2px;
  border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text-2);
}
.ind-panel__inner .apps li svg { width: 15px; height: 15px; color: var(--blue); flex: none; }

/* --------------------------------------------------------------------------
   18 — TECH STACK
   -------------------------------------------------------------------------- */
.tech-section { background: var(--bg-2); border-block: 1px solid var(--line); overflow: clip; }
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; z-index: 2; }
.tech-tile {
  padding: 26px 22px; border-radius: var(--radius);
  border: 1px solid var(--line); background: rgba(12,12,20,.6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  position: relative; overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s;
}
.tech-tile::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--ta, 0deg), transparent 30%, rgba(101,125,255,.85) 50%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .5s;
  animation: spinBorder 2.6s linear infinite;
}
@keyframes spinBorder { to { --ta: 360deg; } }
@property --ta { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.tech-tile:hover { transform: translateY(-5px); }
.tech-tile:hover::before { opacity: 1; }
.tech-tile .tt-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.tech-tile svg { width: 22px; height: 22px; color: var(--blue); }
.tech-tile .mono-meta { font-size: 10px; }
.tech-tile h3 { font-size: 16.5px; letter-spacing: 0; }
.tech-tile p { font-size: 12.5px; color: var(--text-3); margin-top: 8px; }

/* --------------------------------------------------------------------------
   19 — TIMELINE (home process + process page)
   -------------------------------------------------------------------------- */
.tl-section { position: relative; }
.tl-wrap { position: relative; max-width: 900px; margin-inline: auto; }
.tl-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: rgba(255,255,255,.08); border-radius: 2px; }
.tl-fill {
  position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--p, 0) * 100%);
  background: linear-gradient(180deg, var(--blue), var(--violet));
  box-shadow: 0 0 16px rgba(101,125,255,.5); border-radius: 2px;
}
.tl-step { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); padding-block: clamp(26px, 4vw, 46px); }
.tl-step .tl-dot {
  position: absolute; left: 50%; top: clamp(38px, 5vw, 60px);
  width: 15px; height: 15px; margin-left: -7.5px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--text-3);
  transition: border-color .5s, box-shadow .5s, background .5s, transform .5s var(--ease);
  z-index: 2;
}
.tl-step.is-active .tl-dot {
  border-color: var(--blue); background: var(--blue);
  box-shadow: 0 0 0 6px rgba(77,141,255,.16), 0 0 22px rgba(101,125,255,.7);
  transform: scale(1.12);
}
.tl-card {
  padding: 26px 28px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--surface);
  opacity: .42; transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .6s, box-shadow .6s;
}
.tl-step.is-active .tl-card { opacity: 1; transform: none; border-color: rgba(101,125,255,.3); box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.tl-step:nth-child(odd) .tl-card { grid-column: 1; text-align: right; }
.tl-step:nth-child(even) .tl-card { grid-column: 2; }
.tl-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: var(--blue); }
.tl-card h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); margin: 10px 0 8px; letter-spacing: 0; }
.tl-card p { font-size: 14.5px; }
.tl-card .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tl-step:nth-child(odd) .tl-card .chips { justify-content: flex-end; }
.tl-card .chip { padding: 6px 12px; font-size: 11px; }
/* Ambient background blobs that respond to active step */
.tl-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.tl-bg .blob { opacity: .35; transition: opacity 1s var(--ease), transform 1.4s var(--ease); }
.tl-section[data-step="1"] .blob--blue { opacity: .5; }
.tl-section[data-step="2"] .blob--violet { opacity: .55; transform: translate(120px, -30px); }
.tl-section[data-step="3"] .blob--blue { opacity: .55; transform: translate(-100px, 60px); }
.tl-section[data-step="4"] .blob--violet { opacity: .6; transform: translate(60px, -80px); }
.tl-section[data-step="5"] .blob--blue { opacity: .6; transform: translate(80px, 40px) scale(1.15); }

/* --------------------------------------------------------------------------
   20 — WHY NEURALFORGE (4 distinct elements)
   -------------------------------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.why-card { padding: 34px 30px; position: relative; }
.why-card--1 { grid-column: span 5; border-top: 2px solid transparent; border-image: linear-gradient(90deg, var(--blue), var(--violet)) 1; }
.why-card--2 { grid-column: span 7; border-style: dashed; background: transparent; }
.why-card--2::before {
  content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(101,125,255,.2);
  border-radius: calc(var(--radius-lg) - 8px); pointer-events: none;
}
.why-card--3 { grid-column: span 7; }
.why-card--4 { grid-column: span 5; }
.why-card h3 { font-size: 21px; margin: 18px 0 10px; letter-spacing: 0; }
.why-card p { font-size: 14.5px; }
.why-num {
  font-family: var(--font-display); font-weight: 700; font-size: 52px; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  opacity: .9;
}
.why-orbs { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.why-orbs .o {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em;
}
.why-orbs .o--h { border: 1px solid rgba(244,244,240,.3); color: var(--text); background: rgba(255,255,255,.04); }
.why-orbs .o--a { border: 1px solid rgba(101,125,255,.5); color: var(--blue); background: rgba(77,141,255,.08); box-shadow: 0 0 20px rgba(94,113,255,.25); }
.why-orbs .link { flex: 1; max-width: 74px; height: 1px; background: linear-gradient(90deg, var(--text-3), var(--blue)); position: relative; }
.why-orbs .link::after {
  content: ""; position: absolute; left: 0; top: -2px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue); animation: orbitLink 2.4s var(--ease) infinite;
}
@keyframes orbitLink { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 5px); opacity: 0; } }
.why-bars { display: flex; align-items: flex-end; gap: 9px; height: 74px; margin-bottom: 20px; }
.why-bars i {
  flex: 1; border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, rgba(101,125,255,.75), rgba(139,92,246,.25));
  height: calc(var(--h) * 1%); transform-origin: bottom;
  transform: scaleY(0); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 120ms + .3s);
  box-shadow: 0 0 18px rgba(94,113,255,.18);
}
.in .why-bars i, .why-grid.in .why-bars i { transform: scaleY(1); }

/* --------------------------------------------------------------------------
   21 — METRICS BAND
   -------------------------------------------------------------------------- */
.metrics-band { border-block: 1px solid var(--line); background: linear-gradient(180deg, #07070c, #0a0a12); position: relative; overflow: clip; }
.metrics-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; z-index: 2; }
.metrics-band__cell { padding: clamp(40px, 5vw, 64px) 20px; text-align: center; position: relative; }
.metrics-band__cell + .metrics-band__cell::before {
  content: ""; position: absolute; left: 0; top: 26%; bottom: 26%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-2), transparent);
}

/* --------------------------------------------------------------------------
   22 — TESTIMONIALS
   -------------------------------------------------------------------------- */
.testi { position: relative; }
.testi__frame { max-width: 860px; margin-inline: auto; position: relative; }
.testi__viewport { overflow: hidden; border-radius: var(--radius-lg); }
.testi__track { display: flex; transition: transform .65s var(--ease-out); }
.testi__slide { min-width: 100%; padding: clamp(30px, 4.5vw, 56px); position: relative; }
.testi__slide .q-mark {
  position: absolute; top: 22px; right: 34px;
  font-family: var(--font-display); font-size: 110px; line-height: 1; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  opacity: .16; pointer-events: none;
}
.testi__slide blockquote { font-size: clamp(1.05rem, 1.9vw, 1.35rem); line-height: 1.65; color: var(--text); font-weight: 400; max-width: 680px; }
.testi__person { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}
.avatar--a { background: linear-gradient(135deg, #3f7bff, #6d5cff); }
.avatar--b { background: linear-gradient(135deg, #7d5bff, #b44cff); }
.avatar--c { background: linear-gradient(135deg, #2f9bff, #3fe0ff); }
.testi__person b { display: block; color: var(--text); font-size: 15.5px; }
.testi__person span { font-size: 13px; color: var(--text-3); }
.testi__controls { display: flex; align-items: center; justify-content: space-between; margin-top: 26px; }
.testi__dots { display: flex; gap: 8px; }
.testi__dots button {
  width: 8px; height: 8px; border-radius: 99px; background: var(--charcoal);
  transition: width .4s var(--ease), background .4s;
}
.testi__dots button.is-active { width: 28px; background: var(--grad); }
.testi__arrows { display: flex; gap: 10px; }
.testi__arrows button {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; color: var(--text-2);
  transition: border-color .3s, background .3s, color .3s, transform .3s;
}
.testi__arrows button:hover { border-color: transparent; background: var(--grad); color: #fff; transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   23 — CTA SECTION
   -------------------------------------------------------------------------- */
.cta-section { position: relative; overflow: clip; text-align: center; }
.cta-section .bg-grid { opacity: .8; }
.cta-orb {
  position: relative; z-index: 2; margin-inline: auto;
  width: min(560px, 78vw); aspect-ratio: 2.1 / 1;
}
.cta-orb::before, .cta-orb::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(101,125,255,.3);
  inset: 0; animation: ctaRing 5s var(--ease) infinite;
}
.cta-orb::after { animation-delay: 2.5s; }
@keyframes ctaRing { 0% { transform: scale(.6); opacity: 0; } 25% { opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }
.cta-title { font-size: clamp(2rem, 5vw, 3.6rem); text-transform: uppercase; max-width: 900px; margin-inline: auto; }
.cta-sub { margin: 22px auto 0; max-width: 520px; font-size: 1.05rem; }
.cta-section .btn { margin-top: 38px; }
/* --------------------------------------------------------------------------
   24 — INNER PAGE HERO
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative; overflow: clip;
  padding-top: calc(var(--nav-h) + clamp(64px, 10vw, 120px));
  padding-bottom: clamp(64px, 9vw, 110px);
}
.page-hero .bg-grid { opacity: .7; }
.page-hero__title { font-size: clamp(2.2rem, 5.4vw, 4.2rem); text-transform: uppercase; max-width: 900px; margin-top: 20px; }
.page-hero__lede { margin-top: 24px; max-width: 600px; font-size: clamp(1rem, 1.5vw, 1.15rem); }
.page-hero__meta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   25 — SERVICES PAGE
   -------------------------------------------------------------------------- */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; padding-block: clamp(50px, 7vw, 90px); }
.svc-detail + .svc-detail { border-top: 1px solid var(--line); }
.svc-detail--flip .svc-visual { order: -1; }
.svc-detail .big-num {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(3.4rem, 6vw, 5.2rem); line-height: 1;
  background: linear-gradient(180deg, rgba(244,244,240,.9), rgba(244,244,240,.06));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.svc-detail h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 14px 0 6px; letter-spacing: 0; text-transform: none; }
.svc-detail .svc-lede { margin-top: 16px; font-size: 1.02rem; }
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 30px; }
.svc-cols h3 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px; font-weight: 500;
}
.svc-cols ul li {
  display: flex; gap: 10px; padding: 9px 0; font-size: 14px; color: var(--text-2);
  border-bottom: 1px solid var(--line);
}
.svc-cols ul li:last-child { border-bottom: 0; }
.svc-cols ul li svg { width: 14px; height: 14px; color: var(--blue); flex: none; margin-top: 4px; }
.svc-cols .out li svg { color: var(--violet); }
.svc-detail .tlink { margin-top: 28px; }

.svc-visual { position: relative; }
.svc-visual .vcard {
  padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.012));
  position: relative; overflow: hidden;
}
.svc-visual .vcard svg { width: 100%; height: auto; }
.svc-visual .vtag {
  position: absolute; top: 18px; right: 18px;
}

/* --------------------------------------------------------------------------
   26 — ACCORDIONS (services, insights)
   -------------------------------------------------------------------------- */
.acc { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-head {
  width: 100%; display: flex; align-items: center; gap: 18px;
  padding: 22px 26px; text-align: left; color: var(--text);
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.15rem);
  transition: background .3s, color .3s;
}
.acc-head:hover { background: rgba(255,255,255,.025); }
.acc-head .acc-ic {
  margin-left: auto; width: 34px; height: 34px; border-radius: 50%; flex: none;
  border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text-2);
  transition: transform .45s var(--ease), background .4s, border-color .4s;
}
.acc-item.open .acc-ic { transform: rotate(45deg); background: var(--grad); border-color: transparent; color: #fff; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel .inner { padding: 4px 26px 26px; font-size: 15px; color: var(--text-2); }
.acc-panel .inner > * + * { margin-top: 12px; }

/* --------------------------------------------------------------------------
   27 — SOLUTIONS PAGE
   -------------------------------------------------------------------------- */
.sol-nav-wrap { position: sticky; top: calc(var(--nav-h) + 10px); z-index: 60; }
.sol-nav {
  display: flex; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: none;
  border: 1px solid var(--line); border-radius: 16px;
  background: rgba(9, 9, 15, .8);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.sol-nav::-webkit-scrollbar { display: none; }
.sol-nav a {
  padding: 9px 16px; border-radius: 10px; white-space: nowrap;
  font-size: 13.5px; font-weight: 500; color: var(--text-2); border: 1px solid transparent;
  transition: color .3s, border-color .3s, background .3s;
}
.sol-nav a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.sol-nav a.is-active { color: var(--text); border-color: rgba(101,125,255,.4); background: rgba(77,141,255,.09); }

.sol-block { padding-block: clamp(56px, 8vw, 100px); border-bottom: 1px solid var(--line); }
.sol-block:last-of-type { border-bottom: 0; }
.sol-head { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 16px; }
.sol-head h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: 0; }
.sol-head .chip { margin-left: auto; }
.sol-desc { max-width: 720px; margin-bottom: 40px; }
.pso { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: stretch; }
.pso-card { padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); position: relative; }
.pso-card .k {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.pso-card--p .k { color: #ff9f7f; background: rgba(255,140,100,.08); border: 1px solid rgba(255,140,100,.22); }
.pso-card--s .k { color: var(--blue); background: var(--blue-soft); border: 1px solid rgba(77,141,255,.3); }
.pso-card--o .k { color: #6ee7a8; background: rgba(60,220,140,.08); border: 1px solid rgba(60,220,140,.22); }
.pso-card h3 { font-size: 19px; letter-spacing: 0; margin-bottom: 10px; }
.pso-card p { font-size: 14px; }
.pso-card--s { background: linear-gradient(170deg, rgba(77,141,255,.09), rgba(139,92,246,.06)); border-color: rgba(101,125,255,.26); }
.pso-arrow { display: grid; place-items: center; color: var(--text-3); }
.pso-arrow svg { width: 26px; height: 26px; }
.pso .pso-card { transition: transform .45s var(--ease), border-color .45s, box-shadow .45s; }
.pso .pso-card:hover { transform: translateY(-5px); border-color: rgba(101,125,255,.4); box-shadow: var(--shadow-1); }
.sol-tech { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.sol-tech .chip { padding: 7px 13px; font-size: 11px; }
.sol-tech .chip::before { display: none; }

/* --------------------------------------------------------------------------
   28 — CASE STUDIES PAGE + MODAL
   -------------------------------------------------------------------------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 46px; }
.filter-btn {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 500; color: var(--text-2);
  transition: all .35s var(--ease);
}
.filter-btn:hover { color: var(--text); border-color: var(--line-2); }
.filter-btn.is-active { color: #fff; border-color: transparent; background: var(--grad); box-shadow: 0 8px 26px rgba(94,113,255,.3); }

.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cs-card { display: flex; flex-direction: column; overflow: hidden; cursor: pointer; }
.cs-card.is-hidden { display: none; }
.cs-card.fade-in { animation: csIn .55s var(--ease) both; }
@keyframes csIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.cs-card__media { position: relative; height: 200px; overflow: hidden; }
.cs-card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform .7s var(--ease); }
.cs-card:hover .cs-card__media img { transform: scale(1.09); }
.cs-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,5,8,.72), transparent 55%); }
.cs-card__media .tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 6px 12px; border-radius: 999px; font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: .16em; background: rgba(8,8,14,.7); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.cs-card__body { padding: 24px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.cs-card__body h3 { font-size: 19px; letter-spacing: 0; margin-bottom: 8px; }
.cs-card__body p { font-size: 13.5px; flex: 1; }
.cs-card__metric { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.cs-card__metric b {
  font-family: var(--font-display); font-size: 30px; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.cs-card__metric span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 1500; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.show { visibility: visible; }
.modal__overlay { position: absolute; inset: 0; background: rgba(3,3,6,.74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .4s; }
.modal.show .modal__overlay { opacity: 1; }
.modal__dialog {
  position: relative; z-index: 2; width: min(760px, 100%); max-height: 86vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 46px);
  opacity: 0; transform: translateY(28px) scale(.97);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
  box-shadow: 0 40px 120px rgba(0,0,0,.6);
}
.modal.show .modal__dialog { opacity: 1; transform: none; }
.modal__close {
  position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); display: grid; place-items: center; color: var(--text-2);
  transition: border-color .3s, color .3s, transform .3s; background: rgba(9,9,15,.6);
}
.modal__close:hover { border-color: rgba(101,125,255,.5); color: var(--text); transform: rotate(90deg); }
.modal__dialog .tag { display: inline-block; margin-bottom: 16px; }
.modal__dialog h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: 0; }
.modal__dialog .m-metric { margin: 22px 0; padding: 20px 24px; border-radius: var(--radius); border: 1px solid rgba(101,125,255,.25); background: rgba(77,141,255,.06); display: flex; align-items: center; gap: 18px; }
.modal__dialog .m-metric b { font-family: var(--font-display); font-size: 40px; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.modal__dialog h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin: 26px 0 10px; font-weight: 500; }
.modal__dialog p { font-size: 15px; }
.modal__dialog .chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* --------------------------------------------------------------------------
   29 — ABOUT PAGE
   -------------------------------------------------------------------------- */
.about-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.about-hero__img { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.about-hero__img img { width: 100%; filter: saturate(.95); transition: transform 1.2s var(--ease); }
.about-hero__img:hover img { transform: scale(1.04); }
.about-hero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,5,8,.4), transparent 45%); }

.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 90px); }
.split--center { align-items: center; }
.sticky-col { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; }
.mission-quote { font-size: clamp(1.5rem, 3.2vw, 2.4rem); line-height: 1.3; color: var(--text); font-weight: 500; font-family: var(--font-display); letter-spacing: -0.01em; text-transform: none; }
.mission-quote em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.mini-tl { border-left: 1px solid var(--line); padding-left: 30px; display: flex; flex-direction: column; gap: 28px; }
.mini-tl__item { position: relative; }
.mini-tl__item::before {
  content: ""; position: absolute; left: -35px; top: 7px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--blue); box-shadow: 0 0 12px rgba(101,125,255,.5);
}
.mini-tl__item .y { font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; color: var(--blue); }
.mini-tl__item h3 { font-size: 18px; margin: 6px 0 6px; letter-spacing: 0; }
.mini-tl__item p { font-size: 14px; }

.principles { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 90px 1fr 1.2fr; gap: clamp(18px, 3vw, 44px); padding-block: 30px; border-bottom: 1px solid var(--line); align-items: baseline; transition: padding-left .4s var(--ease); }
.principle:hover { padding-left: 12px; }
.principle .pn { font-family: var(--font-mono); font-size: 13px; color: var(--text-3); }
.principle h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: 0; transition: color .3s; }
.principle:hover h3 { color: var(--blue); }
.principle p { font-size: 14.5px; }

.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.value-card { padding: 32px 30px; }
.value-card .icon-frame { margin-bottom: 22px; }
.value-card h3 { font-size: 20px; margin-bottom: 10px; letter-spacing: 0; }
.value-card p { font-size: 14.5px; }

.future { position: relative; overflow: clip; text-align: center; border-radius: var(--radius-lg); padding: clamp(56px, 8vw, 110px) 26px; border: 1px solid var(--line); background: linear-gradient(180deg, #0a0a12, #07070c); }
.future h2 { font-size: clamp(1.7rem, 4vw, 3rem); text-transform: uppercase; max-width: 760px; margin-inline: auto; }
.future p { max-width: 560px; margin: 22px auto 0; }

/* --------------------------------------------------------------------------
   30 — PROCESS PAGE
   -------------------------------------------------------------------------- */
.tl-step--detail .tl-card { padding: 32px; }
.tl-step--detail .dur { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; color: var(--text-3); text-transform: uppercase; }
.tl-step--detail .dur i { width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
.tl-step:nth-child(odd) .tl-card .dur { justify-content: flex-end; }

/* --------------------------------------------------------------------------
   31 — CONTACT PAGE
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(30px, 4.5vw, 60px); align-items: start; }
.form-card { padding: clamp(26px, 4vw, 46px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; position: relative; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); }
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  background: rgba(255,255,255,.028); border: 1px solid var(--line);
  color: var(--text); font-size: 15px;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a8a8b6' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; cursor: pointer; }
.field select option { background: #0c0c14; color: var(--text); }
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: rgba(101,125,255,.55);
  box-shadow: 0 0 0 4px rgba(77,141,255,.12); background: rgba(77,141,255,.04);
}
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: rgba(255,110,110,.65); box-shadow: 0 0 0 4px rgba(255,90,90,.08); }
.field .err { display: none; font-size: 12.5px; color: #ff8a8a; }
.field.has-error .err { display: block; }

.budget-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.budget-pills input { position: absolute; opacity: 0; pointer-events: none; }
.budget-pills label {
  padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer;
  font-family: var(--font-body); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--text-2);
  transition: all .3s var(--ease); -webkit-user-select: none; user-select: none;
}
.budget-pills label:hover { border-color: var(--line-2); color: var(--text); }
.budget-pills input:checked + label { color: #fff; border-color: transparent; background: var(--grad); box-shadow: 0 8px 24px rgba(94,113,255,.32); }
.budget-pills input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 2px; }

.form-note { margin-top: 18px; font-size: 12.5px; color: var(--text-3); }

.form-success { display: none; text-align: center; padding: clamp(30px, 5vw, 60px) 20px; }
.form-success.is-shown { display: block; animation: csIn .6s var(--ease) both; }
.form-success .check-ring {
  width: 96px; height: 96px; margin: 0 auto 28px; border-radius: 50%;
  border: 1px solid rgba(101,125,255,.35); display: grid; place-items: center;
  background: radial-gradient(circle, rgba(77,141,255,.12), transparent 70%);
  box-shadow: 0 0 50px rgba(94,113,255,.2);
}
.form-success svg { width: 44px; height: 44px; }
.form-success svg path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .8s var(--ease) .25s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h3 { font-size: 26px; letter-spacing: 0; }
.form-success p { max-width: 420px; margin: 14px auto 0; }

.aside-stack { display: flex; flex-direction: column; gap: 18px; }
.aside-card { padding: 28px; }
.aside-card h3 { font-size: 16.5px; letter-spacing: 0; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.aside-card h3 svg { width: 17px; height: 17px; color: var(--blue); }
.aside-card .contact-line { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--text-2); transition: color .3s; }
.aside-card .contact-line:last-child { border-bottom: 0; }
.aside-card a.contact-line:hover { color: var(--text); }
.aside-card .contact-line svg { width: 16px; height: 16px; color: var(--text-3); flex: none; }
.next-steps { counter-reset: ns; }
.next-steps li { display: flex; gap: 16px; padding: 12px 0; font-size: 14px; }
.next-steps li::before {
  counter-increment: ns; content: "0" counter(ns);
  font-family: var(--font-mono); font-size: 12px; color: var(--blue);
  border: 1px solid rgba(101,125,255,.3); border-radius: 8px;
  width: 34px; height: 34px; display: grid; place-items: center; flex: none;
  background: rgba(77,141,255,.07);
}

/* --------------------------------------------------------------------------
   32 — INSIGHTS PAGE
   -------------------------------------------------------------------------- */
.ins-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 60px; }
.ins-card { padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.ins-card .meta { display: flex; gap: 14px; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.ins-card .meta b { color: var(--blue); font-weight: 500; }
.ins-card h3 { font-size: 21px; letter-spacing: 0; }
.ins-card p { font-size: 14.5px; flex: 1; }
.ins-card .tlink { font-size: 14px; color: var(--text-2); }
.ins-card .tlink:hover { color: var(--text); }

/* --------------------------------------------------------------------------
   33 — RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .hero__visual { height: 500px; transform: scale(.92); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .cs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  :root { --nav-h: 68px; }
  .nav__links { display: none; }
  .burger { display: grid; }
  .hero__inner { grid-template-columns: 1fr; gap: 10px; }
  .hero__visual { height: 380px; margin-top: 6px; }
  .hero { padding-top: calc(var(--nav-h) + 20px); }
  .hero__meta { margin-top: 38px; }
  .agent-wrap, .ind-grid, .svc-detail, .contact-grid, .split, .about-hero { grid-template-columns: 1fr; }
  .svc-detail--flip .svc-visual { order: 0; }
  .ind-panel { min-height: 0; }
  .ind-panel__inner { position: relative; }
  .ind-panel__inner:not(.is-active) { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-card--1, .why-card--2, .why-card--3, .why-card--4 { grid-column: auto; }
  .pso { grid-template-columns: 1fr; }
  .pso-arrow { transform: rotate(90deg); padding-block: 4px; }
  .pso-arrow svg { transform: rotate(-90deg); }
  .svc-card--a, .svc-card--b, .svc-card--c, .svc-card--d, .svc-card--e, .svc-card--f { grid-column: span 6; }
  .svc-card--a { min-height: 0; }
  .principle { grid-template-columns: 60px 1fr; }
  .principle p { grid-column: 2; }
}
@media (max-width: 768px) {
  .nav__right .btn { display: none; }
  .case-card { grid-template-columns: 1fr; }
  .case-card--flip .case-card__media { order: 0; }
  .case-card__media { min-height: 240px; }
  .metrics-band__grid { grid-template-columns: 1fr 1fr; }
  .metrics-band__cell:nth-child(3)::before { display: none; }
  .metrics-row { grid-template-columns: 1fr; }
  .cap-grid, .tech-grid, .cs-grid, .ins-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card--a, .svc-card--b, .svc-card--c, .svc-card--d, .svc-card--e, .svc-card--f { grid-column: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .svc-cols { grid-template-columns: 1fr; }
  .scroll-hint { display: none; }
  .hero__visual { height: 340px; }
  .orb__ring--3 { display: none; }
  .fchip { font-size: 10.5px; padding: 8px 12px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
  .sec-head--split { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .hero__title { font-size: clamp(2.5rem, 12.5vw, 3.4rem); }
  .hero__visual { height: 300px; }
  .orb__ring--2 { width: 280px; height: 280px; }
  .orb__ring--1 { width: 210px; height: 210px; }
  .orb__core { width: 92px; height: 92px; }
  .metrics-band__grid { grid-template-columns: 1fr; }
  .metrics-band__cell::before { display: none !important; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: center; text-align: center; }
  .drawer { width: 88vw; }
  .fchip--b { right: 0; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* --------------------------------------------------------------------------
   34 — REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .wordrise .w > i { transform: none; }
  .marquee__track { animation: none; transform: none; justify-content: center; }
  .pipe-stage .glyph, .pipeline.is-play .pipe-stage .glyph { opacity: 1; transform: none; }
  .pipeline.is-play .pipe-stage .lb, .pipe-stage .lb { color: var(--text); }
  .pipeline.is-play .pipe-link::after { transform: scaleX(1); }
  .flow__fill { transform: scaleY(1); }
  .flow__tip { display: none; }
  .flow__step .flow__body { opacity: 1 !important; transform: none !important; }
  .flow__step .flow__node {
    color: var(--text); border-color: rgba(101,125,255,.45);
    background: linear-gradient(150deg, rgba(77,141,255,.14), rgba(139,92,246,.12));
  }
  .tl-fill { height: 100%; }
  .tl-step .tl-card, .tl-step.is-active .tl-card { opacity: 1; transform: none; }
  .why-bars i { transform: scaleY(1); }
  body::after { animation: none; }
}
