/* ==========================================================================
   Aviox Technologies — Homepage
   Design system, layout and motion styles.
   Bootstrap 5 provides the grid + utilities; everything visual lives here.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --primary: #F57A00;          /* Aviox sun orange */
  --secondary: #1A9AD6;        /* Aviox wave blue */
  --accent: #F5B800;           /* Sun yellow */
  --navy: #06214F;             /* Deep wave navy */
  --dark: #070C18;             /* Night ink for dark stages */
  --light: #F7F4EF;            /* Warm paper background */
  --paper: #FCFAF7;            /* Raised surfaces */
  --text: #0F1729;             /* Ink */
  --muted: #5D6677;            /* Secondary text */
  --border: rgba(15, 23, 41, .10);
  --border-strong: rgba(15, 23, 41, .18);

  --on-dark: #E9EDF5;
  --on-dark-muted: rgba(233, 237, 245, .62);
  --border-dark: rgba(255, 255, 255, .10);

  --grad-sun: linear-gradient(100deg, #F57A00 0%, #F5A300 55%, #F5B800 100%);
  --grad-brand: linear-gradient(90deg, #F57A00, #F5B800 45%, #1A9AD6);

  /* Type */
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);

  /* Layout */
  --header-h: 88px;
  --gutter: 20px;
  --section-y: 50px;           /* top + bottom padding for every section */
  --radius-xl: clamp(24px, 3vw, 40px);
  --radius-lg: 28px;
  --radius-md: 18px;

  /* Bootstrap bridges */
  --bs-body-font-family: var(--font-sans);
  --bs-body-color: var(--text);
  --bs-body-bg: var(--light);
  --bs-border-color: var(--border);
  --bs-link-color: var(--text);
  --bs-link-hover-color: var(--primary);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

/* Fine film grain for a printed, premium surface */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 400;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: rgba(245, 122, 0, .22); color: var(--text); }

a { color: inherit; text-decoration: none; transition: color .3s ease; }
a:hover { color: inherit; }
img, svg { max-width: 100%; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; color: inherit; }
p { margin: 0 0 1rem; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.container-xxl { --bs-gutter-x: calc(var(--gutter) * 2); }
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1400px) { .container-xxl { max-width: 1400px; } }
@media (min-width: 1680px) { .container-xxl { max-width: 1520px; } }

.skip-link {
  position: fixed; top: -80px; left: 16px; z-index: 1002;
  padding: 10px 18px; border-radius: 999px;
  background: var(--text); color: #fff; font-weight: 600; font-size: 14px;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 16px; color: #fff; }

.i { width: 1em; height: 1em; flex: none; }

/* --------------------------------------------------------------------------
   3. Typography & shared utilities
   -------------------------------------------------------------------------- */
.mono { font-family: var(--font-mono); font-weight: 400; letter-spacing: 0; }

.section-pad { padding-block: var(--section-y); }
.section-pad-sm { padding-block: var(--section-y); }
.section-head { margin-bottom: clamp(32px, 4.2vw, 64px); }

.label {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: clamp(18px, 2vw, 26px);
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.label__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad-sun);
  box-shadow: 0 0 0 4px rgba(245, 122, 0, .14);
}
.label--light { color: rgba(233, 237, 245, .6); }

.display-lg,
.display-md {
  font-weight: 300;
  letter-spacing: -.045em;
  line-height: 1.02;
}
.display-lg { font-size: clamp(2.5rem, 1.35rem + 4.1vw, 5.6rem); }
.display-md { font-size: clamp(2.2rem, 1.35rem + 2.9vw, 4.25rem); line-height: 1.04; }

.display-lg em,
.display-md em,
.cta__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.07em;
  letter-spacing: -.015em;
  line-height: .9;
}

.lead-lg {
  font-size: clamp(1.18rem, 1rem + .6vw, 1.55rem);
  line-height: 1.45;
  letter-spacing: -.015em;
  color: var(--text);
  margin-bottom: 1.4rem;
}
.text-muted-2 { color: var(--muted); font-size: 1.04rem; line-height: 1.7; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li {
  padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, .55);
  font-size: 12.5px; font-weight: 500; color: var(--text);
}
.tags--line li { background: transparent; }

/* SplitText masks: give descenders and italic overhang room */
.split-line { padding: 0 .08em .2em 0; }
/* GSAP names the wrapper "<linesClass>-mask" from its own prefix, so the mask is
   .split-mask-line-mask — the older selector is kept in case that changes. */
.split-mask-line-mask,
.split-line-mask { margin-bottom: -.08em; }

/* --------------------------------------------------------------------------
   4. Buttons & links
   -------------------------------------------------------------------------- */
.btn-pill {
  --pill-bg: var(--text);
  --pill-fg: #fff;
  --pill-icon-bg: #fff;
  --pill-icon-fg: var(--text);
  --pill-fill: var(--grad-sun);
  --pill-fill-fg: var(--text);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex; align-items: center; gap: 16px;
  padding: 7px 7px 7px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--pill-fg);
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: color .5s var(--ease-out), border-color .5s var(--ease-out);
}
.btn-pill::before {
  content: "";
  position: absolute; inset: -1px; z-index: -1;
  background: var(--pill-fill);
  clip-path: circle(0% at calc(100% - 28px) 50%);
  transition: clip-path .7s var(--ease-out);
}
.btn-pill:hover,
.btn-pill:focus-visible { color: var(--pill-fill-fg); }
.btn-pill:hover::before,
.btn-pill:focus-visible::before { clip-path: circle(150% at calc(100% - 28px) 50%); }

.btn-pill__icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--pill-icon-bg); color: var(--pill-icon-fg);
  transition: transform .6s var(--ease-out), background .5s, color .5s;
}
.btn-pill__icon svg { width: 18px; height: 18px; }
.btn-pill:hover .btn-pill__icon { transform: rotate(45deg); }

.btn-pill--sm { padding: 5px 5px 5px 18px; font-size: 14px; gap: 12px; }
.btn-pill--sm .btn-pill__icon { width: 32px; height: 32px; }
.btn-pill--sm .btn-pill__icon svg { width: 15px; height: 15px; }
.btn-pill--sm::before { clip-path: circle(0% at calc(100% - 21px) 50%); }
.btn-pill--sm:hover::before { clip-path: circle(150% at calc(100% - 21px) 50%); }

.btn-pill--lg { padding: 8px 8px 8px 30px; font-size: 16px; gap: 22px; }
.btn-pill--lg .btn-pill__icon { width: 48px; height: 48px; }
.btn-pill--lg::before { clip-path: circle(0% at calc(100% - 32px) 50%); }
.btn-pill--lg:hover::before { clip-path: circle(150% at calc(100% - 32px) 50%); }

.btn-pill--light { --pill-bg: #fff; --pill-fg: var(--text); --pill-icon-bg: var(--text); --pill-icon-fg: #fff; }
.btn-pill--ghost {
  --pill-bg: rgba(255, 255, 255, .04); --pill-fg: #fff;
  --pill-icon-bg: rgba(255, 255, 255, .1); --pill-icon-fg: #fff;
  --pill-fill: #fff; --pill-fill-fg: var(--text);
  border-color: rgba(255, 255, 255, .22);
}
.btn-pill--ghost:hover .btn-pill__icon { background: var(--text); }
.btn-pill--outline {
  --pill-bg: transparent; --pill-fg: var(--text);
  --pill-icon-bg: var(--text); --pill-icon-fg: #fff;
  --pill-fill: var(--text); --pill-fill-fg: #fff;
  border-color: var(--border-strong);
}
.btn-pill--outline:hover .btn-pill__icon { background: var(--grad-sun); color: var(--text); }

.link-underline {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding-bottom: 4px;
  font-weight: 600; font-size: 15px; color: var(--text);
}
.link-underline::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor;
  transform-origin: right;
}
.link-underline:hover::after { animation: line-sweep .9s var(--ease-out); }
.link-underline .i { transition: transform .5s var(--ease-out); }
.link-underline:hover .i { transform: translateX(4px); }

@keyframes line-sweep {
  0%   { transform: scaleX(1); transform-origin: right; }
  45%  { transform: scaleX(0); transform-origin: right; }
  46%  { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

/* --------------------------------------------------------------------------
   5. Preloader & cursor
   -------------------------------------------------------------------------- */
.preloader { display: none; }
.js .preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--light);
}
.preloader.is-done { display: none; }
.preloader__inner { width: min(360px, 78vw); }
.preloader__mark { width: 56px; height: 56px; margin-bottom: 28px; animation: spin 6s linear infinite; }
.preloader__meta {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 14px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.preloader__count { color: var(--text); font-size: 13px; }
.preloader__bar { height: 1px; background: var(--border-strong); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; }

.cursor { display: none; }
.has-cursor .cursor {
  position: fixed; top: 0; left: 0; z-index: 900;
  display: grid; place-items: center;
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--primary);
  pointer-events: none;
  opacity: 0;
  transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background .35s, opacity .3s;
}
.has-cursor .cursor.is-visible { opacity: 1; }
.has-cursor .cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(245, 122, 0, .16); }
.has-cursor .cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--text); }
.cursor__label { color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: -.01em; opacity: 0; transition: opacity .3s; }
.cursor.is-label .cursor__label { opacity: 1; }

/* --------------------------------------------------------------------------
   6. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding-top: 14px;
  transition: transform .7s var(--ease-out);
}
.site-header.is-hidden { transform: translateY(-120%); }
.js .site-header { opacity: 0; }

.nav-bar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 64px;
  padding: 0 8px 0 14px;
}
.nav-bar::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: 999px;
  background: rgba(252, 250, 247, .74);
  border: 1px solid rgba(15, 23, 41, .08);
  box-shadow: 0 12px 40px -18px rgba(15, 23, 41, .25);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  opacity: 0;
  transform: scale(.985);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
}
.site-header.is-scrolled .nav-bar::before { opacity: 1; transform: none; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); }
/* The global focus ring is a hard rectangle, which around a logo plus a
   two-line wordmark reads as a stray border rather than an indicator. An
   outline follows its element's border-radius, so give the brand one: nothing
   is painted on this link, so the radius is only ever seen by the ring. */
.brand:focus-visible { outline-offset: 6px; border-radius: 12px; }
.brand__mark { width: 36px; height: 36px; transition: transform 1.2s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(180deg); }
.brand__word { display: flex; flex-direction: column; font-size: 19px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.brand__word small {
  margin-top: 4px;
  font-family: var(--font-mono); font-size: 9px; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase; color: var(--muted);
}

.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: clamp(22px, 2.4vw, 38px); }
.nav-link-roll {
  position: relative;
  display: block;
  font-size: 14.5px; font-weight: 500; letter-spacing: -.005em;
  color: var(--text);
}
.nav-link-roll > span { position: relative; display: block; overflow: hidden; line-height: 1.5; }
.nav-link-roll > span::before,
.nav-link-roll > span::after { transition: transform .55s var(--ease-out); }
.nav-link-roll > span { color: transparent; }
.nav-link-roll > span::before,
.nav-link-roll > span::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 0;
  color: var(--text);
}
.nav-link-roll > span::after { transform: translateY(100%); color: var(--primary); }
.nav-link-roll:hover > span::before { transform: translateY(-100%); }
.nav-link-roll:hover > span::after { transform: translateY(0); }
.nav-link-roll::after {
  content: "";
  position: absolute; left: 50%; bottom: -9px;
  width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: var(--primary);
  transform: scale(0);
  transition: transform .5s var(--ease-out);
}
.nav-link-roll.is-active::after { transform: scale(1); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, .6);
  cursor: pointer;
  transition: background .4s, border-color .4s;
}
.menu-toggle__lines { position: relative; display: block; width: 18px; height: 8px; }
.menu-toggle__lines span {
  position: absolute; left: 0; width: 100%; height: 1.5px; border-radius: 2px;
  background: var(--text);
  transition: transform .6s var(--ease-out), top .4s var(--ease-out);
}
.menu-toggle__lines span:first-child { top: 0; }
.menu-toggle__lines span:last-child { top: 6.5px; }
.menu-open .menu-toggle { background: var(--text); border-color: var(--text); }
.menu-open .menu-toggle__lines span { background: #fff; top: 3.25px; }
.menu-open .menu-toggle__lines span:first-child { transform: rotate(45deg); }
.menu-open .menu-toggle__lines span:last-child { transform: rotate(-45deg); }

@media (min-width: 992px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 150;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 36px) calc(var(--gutter) + 4px) 36px;
  background: var(--light);
  clip-path: circle(0% at calc(100% - 44px) 44px);
  visibility: hidden;
  transition: clip-path .9s var(--ease-in-out), visibility 0s linear .9s;
}
.menu-open .mobile-menu {
  clip-path: circle(150% at calc(100% - 44px) 44px);
  visibility: visible;
  transition: clip-path .9s var(--ease-in-out), visibility 0s;
}
html.menu-open { overflow: hidden; }
.mobile-menu__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 45% at 100% 100%, rgba(245, 122, 0, .28), transparent 70%),
    radial-gradient(50% 40% at 0% 100%, rgba(26, 154, 214, .18), transparent 70%);
}
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: clamp(2.2rem, 9vw, 3.6rem); font-weight: 300; letter-spacing: -.045em; line-height: 1.1;
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s, transform .8s var(--ease-out), color .3s;
}
.mobile-menu__nav a span { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.mobile-menu__nav a:hover { color: var(--primary); }
.menu-open .mobile-menu__nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu__nav a:nth-child(1) { transition-delay: .25s; }
.menu-open .mobile-menu__nav a:nth-child(2) { transition-delay: .3s; }
.menu-open .mobile-menu__nav a:nth-child(3) { transition-delay: .35s; }
.menu-open .mobile-menu__nav a:nth-child(4) { transition-delay: .4s; }
.menu-open .mobile-menu__nav a:nth-child(5) { transition-delay: .45s; }
.menu-open .mobile-menu__nav a:nth-child(6) { transition-delay: .5s; }
.mobile-menu__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.mobile-menu__mail { font-weight: 500; color: var(--muted); }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex; flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + var(--section-y));
  padding-bottom: var(--section-y);
  overflow: hidden;
  overflow: clip;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 41, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 41, .055) 1px, transparent 1px);
  background-size: 88px 88px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 70% 45%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 65% at 70% 45%, #000 15%, transparent 72%);
}
.glow { position: absolute; border-radius: 50%; pointer-events: none; }
.hero .glow--orange {
  width: min(78vw, 1200px); aspect-ratio: 1;
  right: -14vw; top: -18vw;
  background: radial-gradient(circle, rgba(245, 122, 0, .30) 0%, rgba(245, 163, 0, .14) 32%, transparent 64%);
  animation: drift 18s ease-in-out infinite alternate;
}
.hero .glow--blue {
  width: min(60vw, 900px); aspect-ratio: 1;
  right: 4vw; bottom: -34vw;
  background: radial-gradient(circle, rgba(26, 154, 214, .22) 0%, rgba(26, 154, 214, .06) 38%, transparent 64%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}

.hero__visual {
  position: absolute; z-index: 1;
  top: 0; bottom: 0; right: -6vw;
  width: 58vw;
  pointer-events: none;
}
.hero__canvas { display: block; width: 100%; height: 100%; }
.hero__fallback {
  display: none;
  position: absolute; left: 50%; top: 50%;
  width: 46%; max-width: 480px;
  transform: translate(-50%, -50%);
  opacity: .95;
}
.no-webgl .hero__fallback { display: block; }
.no-webgl .hero__canvas { display: none; }

.float-chip {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px 11px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 18px 50px -20px rgba(15, 23, 41, .28);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-size: 12.5px; line-height: 1.35;
  white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}
.float-chip strong { display: block; font-weight: 600; font-size: 13px; color: var(--text); }
.float-chip span { color: var(--muted); }
.float-chip--a { left: 12%; top: 17%; }
.float-chip--b { right: 12%; bottom: 17%; animation-delay: -3.5s; }
.float-chip__pulse {
  position: relative; flex: none;
  width: 10px; height: 10px; border-radius: 50%;
  background: #22C55E;
}
.float-chip__pulse::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1.5px solid #22C55E;
  animation: ping 2s var(--ease-out) infinite;
}
.float-chip__spark { display: flex; align-items: flex-end; gap: 3px; height: 30px; }
.float-chip__spark i { width: 4px; height: var(--h); border-radius: 2px; background: linear-gradient(180deg, var(--accent), var(--primary)); }

.hero__inner {
  position: relative; z-index: 2;
  flex: 1;
  display: flex; flex-direction: column;
  pointer-events: none;
}
.hero__inner a, .hero__inner button { pointer-events: auto; }
.hero__content { margin-block: auto; padding-block: 0 24px; max-width: 860px; }

.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: clamp(22px, 3vh, 34px);
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 500; letter-spacing: -.005em;
}
.eyebrow-pill__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.eyebrow-pill__dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid var(--primary);
  animation: ping 2.4s var(--ease-out) infinite;
}

.hero__title {
  margin: 0 0 clamp(24px, 3.5vh, 36px);
  font-size: calc(clamp(2.75rem, min(.4rem + 5.3vw, 10.4vh), 6.75rem) * var(--fit, 1));
  font-weight: 300;
  letter-spacing: -.05em;
  line-height: .98;
}
/* Lines never wrap mid-line; initHeroFit scales the whole title down (--fit) when its widest line is wider than the column. */
.hero__title .line__inner,
.hero__title .line--rule .line__inner > span { white-space: nowrap; }
.hero__title .line { display: block; overflow: hidden; padding: 0 .1em .22em 0; margin-bottom: -.22em; }
/* .22em clears the deepest descender; the matching negative margin keeps
   the line spacing exactly as before */
.hero__title .line__inner { display: inline-block; }
.hero__title strong { font-weight: 600; letter-spacing: -.055em; }
.hero__title em {
  font-family: var(--font-serif);
  font-style: italic; font-weight: 400;
  font-size: 1.08em;
  letter-spacing: -.02em;
  padding-right: .08em;
  background: var(--grad-sun);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__title .line--rule .line__inner { display: inline-flex; align-items: center; gap: .28em; }
.hero__rule {
  display: inline-block;
  width: clamp(40px, 8vw, 150px); height: 2px;
  background: var(--text);
  transform-origin: left center;
}
.js .hero__title .line__inner { transform: translateY(135%); }
.js .hero__rule { transform: scaleX(0); }
.js .hero-anim,
.js .float-chip { opacity: 0; }

.hero__lead {
  max-width: 540px;
  margin-bottom: clamp(24px, 3.6vh, 38px);
  font-size: clamp(1rem, .92rem + .3vw, 1.18rem);
  line-height: 1.65;
  color: var(--muted);
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }

.hero__footer {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.hero__trust { display: flex; align-items: center; gap: 14px; }
.hero__trust p { margin: 0; font-size: 13.5px; color: var(--muted); max-width: 330px; line-height: 1.45; }
.hero__trust strong { color: var(--text); font-weight: 600; }
.hero__stars, .trust__stars, .testi__stars { display: inline-flex; gap: 2px; color: var(--accent); }
.hero__stars svg, .trust__stars svg, .testi__stars svg { width: 14px; height: 14px; }

.scroll-badge {
  position: relative;
  display: grid; place-items: center;
  width: 100px; height: 100px;
}
.scroll-badge__ring {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  animation: spin 20s linear infinite;
}
.scroll-badge__ring text {
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  fill: var(--text);
}
.scroll-badge__core {
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--text); color: #fff;
  transition: transform .6s var(--ease-out), background .4s;
}
.scroll-badge__core svg { width: 20px; height: 20px; animation: nudge 2.2s var(--ease-out) infinite; }
.scroll-badge:hover .scroll-badge__core { transform: scale(1.1); background: var(--primary); }

.hero__stats { display: flex; justify-content: flex-end; gap: clamp(24px, 3vw, 48px); margin: 0; }
.hero__stats dt { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.hero__stats dd { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }

/* --------------------------------------------------------------------------
   8. Trust
   -------------------------------------------------------------------------- */
.trust { position: relative; }
.trust__lead { max-width: 40ch; margin: clamp(18px, 2vw, 26px) 0 0; }

/* Review platforms: one card per platform, each tinted by its own brand
   colour (--rt) so the row reads as five distinct endorsements. */
.rating-band {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px;
  list-style: none; padding: 0; margin: clamp(36px, 4.4vw, 64px) 0 0;
}
.rating {
  position: relative;
  isolation: isolate;
  display: grid; align-content: start; gap: 14px;
  padding: 22px 20px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--paper);
  overflow: hidden;
  transition: translate .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .4s;
}
.rating::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--rt);
  transform: scaleX(.16); transform-origin: left;
  transition: transform .8s var(--ease-out);
}
.rating::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(130% 90% at 100% 0%, color-mix(in srgb, var(--rt) 13%, transparent), transparent 62%);
  opacity: 0;
  transition: opacity .6s;
}
.rating:hover { translate: 0 -4px; border-color: var(--border-strong); box-shadow: 0 34px 60px -42px rgba(15, 23, 41, .5); }
.rating:hover::before { transform: scaleX(1); }
.rating:hover::after { opacity: 1; }
.rating__head { display: flex; align-items: center; gap: 11px; }
.rating__mark {
  flex: none;
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--rt); color: #fff;
  font-size: 14px; font-weight: 700; letter-spacing: -.03em;
  box-shadow: 0 10px 20px -12px var(--rt);
}
.rating__name { font-size: 15.5px; font-weight: 600; letter-spacing: -.02em; }
.rating__score { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin: 0; }
.rating__score b { font-size: clamp(1.9rem, 1.5rem + .9vw, 2.4rem); font-weight: 300; letter-spacing: -.05em; line-height: 1; }
.rating__stars { display: inline-flex; gap: 2px; color: #F5A300; }
.rating__stars svg { width: 14px; height: 14px; }
.rating__desc { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* Below desktop the five cards become a swipeable row instead of wrapping
   into an uneven 3 + 2 grid. */
@media (max-width: 991.98px) {
  .rating-band {
    grid-template-columns: none;
    grid-auto-flow: column; grid-auto-columns: minmax(220px, 42%);
    overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }
  .rating { scroll-snap-align: start; }
}
@media (max-width: 575.98px) {
  .rating-band { grid-auto-columns: 74%; }
}

.logo-wall {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  list-style: none; margin: 0; padding: 0;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.logo-wall__cell {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 16 / 10;
  padding: 18%;
  background: var(--light);
  transition: background .5s var(--ease-out);
}
.logo-wall__cell::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 120%, rgba(245, 122, 0, .12), transparent 60%);
  opacity: 0;
  transition: opacity .5s;
}
.logo-wall__cell img {
  position: relative;
  width: 100%; height: 100%;
  max-height: 46px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.2) brightness(.82);
  mix-blend-mode: multiply;
  opacity: .58;
  transition: filter .5s, opacity .5s, transform .7s var(--ease-out);
}
.logo-wall__cell:hover { background: var(--paper); }
.logo-wall__cell:hover::before { opacity: 1; }
.logo-wall__cell:hover img { filter: none; opacity: 1; transform: scale(1.05); }

/* --------------------------------------------------------------------------
   9. Intro / About
   -------------------------------------------------------------------------- */
.intro__top {
  display: grid; grid-template-columns: 1fr; gap: 8px;
  margin-bottom: clamp(36px, 4.6vw, 72px);
}
.intro__title { max-width: 18ch; }

.intro__copy { padding-top: 8px; }
.mini-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 40px 0 36px;
  border-top: 1px solid var(--border-strong);
}
.mini-stats > div { padding: 20px 16px 0 0; }
.mini-stats > div + div { padding-left: 16px; border-left: 1px solid var(--border); }
.mini-stats dt { font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.8rem); font-weight: 300; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.mini-stats dd { margin: 8px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); }

/* Layered interface composition */
.layers { position: relative; aspect-ratio: 1 / .9; max-width: 640px; }
.layers__back {
  position: absolute; inset: 6% 16% 12% 0;
  border-radius: var(--radius-lg);
  background:
    repeating-radial-gradient(circle at 100% 110%, transparent 0 26px, rgba(255, 255, 255, .22) 26px 27px),
    radial-gradient(circle at 25% 20%, #FFE0B0 0%, transparent 55%),
    linear-gradient(145deg, #F57A00 0%, #F5A300 55%, #F9D07A 100%);
  box-shadow: 0 40px 90px -40px rgba(245, 122, 0, .6);
}
.layers__card {
  position: absolute; left: 14%; top: 24%; width: 64%;
  padding: 22px 22px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 40px 90px -36px rgba(15, 23, 41, .45);
}
.layers__card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.layers__card-head .mono { font-size: 12px; color: var(--primary); }
.layers__card-sub { font-size: 12.5px; color: var(--muted); }
.layers__steps { list-style: none; padding: 0; margin: 0; }
.layers__steps li {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--border-strong);
  font-size: 14px; font-weight: 500;
}
.layers__steps em {
  margin-left: auto;
  padding: 3px 9px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 10.5px; font-style: normal;
  background: var(--light); color: var(--muted);
}
.st { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.st--auto { background: var(--secondary); }
.st--ai { background: var(--primary); box-shadow: 0 0 0 4px rgba(245, 122, 0, .15); }
.st--human { border: 1.5px solid var(--text); }
.layers__progress { height: 4px; margin-top: 18px; border-radius: 4px; background: var(--light); overflow: hidden; }
.layers__progress span { display: block; height: 100%; width: 72%; border-radius: inherit; background: var(--grad-brand); animation: progress 5s var(--ease-in-out) infinite; }
.layers__chip {
  position: absolute; right: 2%; bottom: 8%;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 14px; border-radius: 999px;
  background: var(--text); color: rgba(255, 255, 255, .72);
  font-size: 13px;
  box-shadow: 0 24px 50px -20px rgba(15, 23, 41, .6);
}
.layers__chip strong { color: #fff; font-weight: 600; }
.layers__orb {
  position: absolute; right: 8%; top: 0;
  width: clamp(72px, 9vw, 120px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 0%, #BFE6FA 18%, #1A9AD6 55%, #06214F 100%);
  box-shadow: 0 30px 60px -20px rgba(6, 33, 79, .6), inset -10px -14px 30px rgba(6, 33, 79, .45);
}

/* --------------------------------------------------------------------------
   10. Solutions
   -------------------------------------------------------------------------- */
.sol-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border-strong); }
.sol { position: relative; isolation: isolate; border-bottom: 1px solid var(--border); }
.sol::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(245, 122, 0, .11), rgba(245, 184, 0, .05) 55%, transparent 90%);
  opacity: 0;
  transition: opacity .6s var(--ease-out);
}
.sol.is-active::before { opacity: 1; }
.sol::after {
  content: "";
  position: absolute; left: 0; top: -1px; width: 100%; height: 1px;
  background: var(--grad-sun);
  transform: scaleX(0); transform-origin: left;
  transition: transform .9s var(--ease-out);
}
.sol.is-active::after { transform: scaleX(1); }

.sol__head {
  display: grid; grid-template-columns: 56px 1fr 44px; align-items: center; gap: 8px;
  width: 100%;
  padding: 24px 12px 24px 8px;
  border: 0; background: none; text-align: left;
  cursor: pointer;
}
.sol__num { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); transition: color .4s; }
.sol__title {
  font-size: clamp(1.25rem, 1rem + .9vw, 1.85rem);
  font-weight: 400; letter-spacing: -.03em; line-height: 1.2;
  color: #394253;
  transition: color .4s, transform .7s var(--ease-out);
}
.sol__icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border-strong);
  transition: transform .7s var(--ease-out), background .4s, color .4s, border-color .4s;
}
.sol__icon svg { width: 16px; height: 16px; }
.sol:hover .sol__title { color: var(--text); }
.sol.is-active .sol__title { color: var(--text); transform: translateX(6px); }
.sol.is-active .sol__num { color: var(--primary); }
.sol.is-active .sol__icon { transform: rotate(45deg); background: var(--text); border-color: var(--text); color: #fff; }

.sol__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease-out); }
.sol.is-active .sol__body { grid-template-rows: 1fr; }
.sol__body-inner { overflow: hidden; padding-left: 64px; padding-right: 12px; }
.sol__body-inner > p { max-width: 560px; margin: -6px 0 16px; color: var(--muted); }
.sol__body-inner > .tags { padding-bottom: 26px; }

.sol__icon .ic-arrow { display: none; }
@media (min-width: 992px) {
  /* Desktop: rows stay open (no layout shift) — the sticky panel carries the detail */
  .sol__body { grid-template-rows: 1fr; }
  .sol__icon .ic-plus { display: none; }
  .sol__icon .ic-arrow { display: block; transform: rotate(-45deg); transition: transform .7s var(--ease-out); }
  .sol.is-active .sol__icon { transform: none; }
  .sol.is-active .sol__icon .ic-arrow { transform: rotate(0deg); }
  .sol__head { cursor: default; }
  .sol__body-inner > .tags { padding-bottom: 24px; }
  .sol__body-inner > p { margin-bottom: 14px; }
}

/* Workflow panel */
.sol-panel {
  position: sticky; top: calc(var(--header-h) + 32px);
  isolation: isolate;
  overflow: hidden;
  min-height: 540px;
  padding: 30px 30px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, #111C36 0%, #0A1122 60%, #070C18 100%);
  color: var(--on-dark);
  box-shadow: 0 50px 100px -50px rgba(7, 12, 24, .7);
}
.sol-panel__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 45% at 100% 0%, rgba(245, 122, 0, .35), transparent 70%),
    radial-gradient(55% 40% at 0% 100%, rgba(26, 154, 214, .25), transparent 70%);
}
.sol-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.sol-panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.live { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(233, 237, 245, .8); }
.live__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; }
.live__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid #22C55E; animation: ping 2s var(--ease-out) infinite; }
.sol-panel__kicker { font-size: 11.5px; color: var(--accent); }
.sol-panel__title { margin: 26px 0 26px; font-size: clamp(1.5rem, 1.1rem + .9vw, 2rem); font-weight: 300; letter-spacing: -.035em; line-height: 1.15; color: #fff; }

.flow { position: relative; list-style: none; padding: 0; margin: 0; }
.flow::before {
  content: ""; position: absolute; left: 21px; top: 24px; bottom: 24px; width: 1px;
  background: rgba(255, 255, 255, .14);
}
.flow::after {
  content: ""; position: absolute; left: 20px; top: 24px; width: 3px; height: 56px; border-radius: 3px;
  background: linear-gradient(180deg, transparent, var(--accent), var(--primary));
  animation: flow-pulse 4.8s var(--ease-in-out) infinite;
}
.flow li {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px;
  padding: 10px 0;
}
.flow__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: #0E172C;
  font-size: 14px; color: rgba(233, 237, 245, .85);
  animation: flow-lit 4.8s linear infinite;
  animation-delay: calc(var(--i) * 1.2s);
}
.flow__label { font-size: 15px; letter-spacing: -.01em; color: #fff; }
.flow__tag { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(233, 237, 245, .7); }
.sol-panel__outcome { margin-top: 26px; padding-top: 22px; border-top: 1px dashed rgba(255, 255, 255, .16); }
.sol-panel__outcome .mono { display: block; margin-bottom: 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.sol-panel__outcome p { margin: 0; font-size: 17px; line-height: 1.5; color: #fff; }

/* Inline flow used inside mobile accordion rows */
.flow--inline {
  margin: 0 0 26px;
  padding: 16px 16px 12px;
  border-radius: 18px;
  background: linear-gradient(165deg, #111C36, #0A1122);
}
.flow--inline::before { left: 37px; }
.flow--inline::after { left: 36px; }
.flow--inline .flow__label { font-size: 14px; }

/* --------------------------------------------------------------------------
   11. AI stage (dark)
   -------------------------------------------------------------------------- */
.ai { position: relative; }
.ai__shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--section-y);
  background: var(--dark);
  color: var(--on-dark);
}
.ai__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ai__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 50%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 50%, #000 10%, transparent 75%);
}
.ai .glow--orange {
  width: 70vw; max-width: 1000px; aspect-ratio: 1; right: -20vw; top: -30%;
  background: radial-gradient(circle, rgba(245, 122, 0, .28), transparent 62%);
  animation: drift 20s ease-in-out infinite alternate;
}
.ai .glow--blue {
  width: 60vw; max-width: 900px; aspect-ratio: 1; left: -20vw; bottom: -40%;
  background: radial-gradient(circle, rgba(26, 154, 214, .3), transparent 62%);
  animation: drift 24s ease-in-out infinite alternate-reverse;
}
.ai h2 { color: #fff; }
.ai h2 em { color: var(--accent); }
.ai__lead { color: #fff; margin-top: clamp(22px, 2.5vw, 32px); }
.ai__text { color: var(--on-dark-muted); font-size: 1.04rem; line-height: 1.7; max-width: 480px; }

.ai-caps {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px;
  list-style: none; padding: 0; margin: 36px 0 0;
}
.ai-caps li {
  display: flex; align-items: baseline; gap: 14px;
  padding: 15px 0;
  border-top: 1px solid var(--border-dark);
  font-size: 15px; line-height: 1.4; color: #fff;
}
.ai-caps .mono { font-size: 11.5px; color: var(--primary); }
.ai-caps small { display: block; margin-top: 4px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .02em; color: var(--on-dark-muted); }

.neural { position: relative; padding-bottom: 72px; }
.neural__svg { display: block; width: 100%; height: auto; overflow: visible; }
.neural__links path { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 1.2; }
.neural__pulses path {
  fill: none; stroke: url(#gFlow); stroke-width: 2.2; stroke-linecap: round;
  stroke-dasharray: 16 100;
  stroke-dashoffset: 116;
  animation: dash var(--d, 3s) linear infinite;
  animation-delay: var(--o, 0s);
}
.neural__core { fill: #0B1426; stroke: rgba(255, 255, 255, .22); stroke-width: 1; }
.neural__ring {
  fill: none; stroke: rgba(245, 163, 0, .45); stroke-width: 1;
  transform-box: fill-box; transform-origin: center;
  animation: ring 3.6s var(--ease-out) infinite;
}
.neural__ring--2 { animation-delay: 1.8s; }
.neural__orbit {
  fill: none; stroke: rgba(255, 255, 255, .18); stroke-width: 1; stroke-dasharray: 2 7;
  transform-box: fill-box; transform-origin: center;
  animation: spin 40s linear infinite;
}
.neural__nodes rect { fill: rgba(255, 255, 255, .04); stroke: rgba(255, 255, 255, .18); transition: fill .5s, stroke .5s; }
.neural__nodes text { fill: rgba(233, 237, 245, .88); font-family: var(--font-mono); font-size: 11.5px; text-anchor: middle; transition: fill .5s; }
/* The industry the agent console is currently automating */
.neural__nodes g.is-live rect { fill: rgba(245, 122, 0, .2); stroke: #F5A300; }
.neural__nodes g.is-live text { fill: #fff; }
.neural__links path { transition: stroke .5s, stroke-width .5s; }
.neural__links path.is-live { stroke: rgba(245, 163, 0, .6); stroke-width: 1.8; }
.neural__nodes--out rect { fill: rgba(245, 122, 0, .08); stroke: rgba(245, 163, 0, .55); }

.data-card {
  position: absolute;
  padding: 11px 15px;
  border-radius: 14px;
  background: rgba(14, 22, 42, .78);
  border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  animation: float 8s ease-in-out infinite;
}
.data-card .mono { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.data-card strong { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 500; color: #fff; }
.data-card--1 { left: 34%; top: -2%; }
.data-card--2 { right: 0; top: 4%; animation-delay: -4s; }

.console {
  position: absolute; right: 0; bottom: 0;
  width: min(410px, 72%);
  border-radius: 16px;
  background: rgba(8, 12, 24, .9);
  border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75);
  overflow: hidden;
}
.console__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.console__bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.console__bar span:first-child { background: #F57A00; }
.console__bar em { margin-left: auto; font-size: 11px; font-style: normal; color: rgba(233, 237, 245, .5); }
.console__body { list-style: none; margin: 0; padding: 14px 16px 16px; min-height: 176px; font-size: 12.5px; line-height: 1.75; }
.console__body li { color: rgba(233, 237, 245, .82); white-space: pre-wrap; word-break: break-word; }
.console__body .is-cmd { color: #8FD0F5; }
.console__body .is-ok { color: #7EE2A8; }
.console__body .is-warn { color: #F5B800; }
.console__body .is-dim { color: rgba(233, 237, 245, .45); }
.console__caret { display: inline-block; width: 7px; height: 14px; margin-left: 2px; vertical-align: -2px; background: var(--primary); animation: blink 1s steps(1) infinite; }

/* --------------------------------------------------------------------------
   12. Industries
   -------------------------------------------------------------------------- */
.ind-words {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: .08em .42em;
  list-style: none; padding: 0; margin: 0;
  font-size: clamp(2.3rem, 1.1rem + 4.4vw, 5.6rem);
  font-weight: 300; letter-spacing: -.05em; line-height: 1.1;
}
.ind-words li { display: inline-flex; align-items: baseline; gap: .42em; }
.ind-words li:not(:last-child)::after { content: "/"; font-weight: 200; color: var(--border-strong); }
.ind-words button {
  position: relative;
  padding: 0; border: 0; background: none;
  font: inherit; letter-spacing: inherit;
  color: rgba(15, 23, 41, .2);
  cursor: pointer;
  transition: color .5s var(--ease-out);
}
.ind-words button::after {
  content: "";
  position: absolute; right: -.18em; top: .2em;
  width: .14em; height: .14em; border-radius: 50%;
  background: var(--primary);
  transform: scale(0);
  transition: transform .5s var(--ease-out);
}
.ind-words button:hover { color: rgba(15, 23, 41, .55); }
.ind-words button.is-active { color: var(--text); }
.ind-words button.is-active::after { transform: scale(1); }

.ind-caption {
  position: sticky; top: calc(var(--header-h) + 40px);
  padding: 4px 0 4px 28px;
  border-left: 1px solid var(--border-strong);
}
.ind-caption__tags { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.ind-caption__name { margin: 14px 0 10px; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.1; }
.ind-caption__desc { margin: 0; color: var(--muted); font-size: 1.04rem; line-height: 1.65; }
.ind-caption__kicker { display: block; margin: 22px 0 10px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ind-caption__points { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border); }
.ind-caption__points li {
  display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px; font-weight: 500; line-height: 1.45;
}
.ind-caption__points svg { width: 14px; height: 14px; margin-top: 3px; color: var(--primary); }

/* --------------------------------------------------------------------------
   13. Capabilities — expanding panels
   -------------------------------------------------------------------------- */
.caps { display: flex; gap: 10px; height: clamp(470px, 40vw, 580px); }
.cap {
  position: relative;
  isolation: isolate;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--paper);
  cursor: pointer;
  outline: none;
  transition: flex-grow .9s var(--ease-out), background .5s, box-shadow .6s, border-color .5s;
}
.cap::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(90% 70% at 100% 100%, color-mix(in srgb, var(--cap-hue) 22%, transparent), transparent 65%);
  opacity: 0;
  transition: opacity .7s;
}
.cap:hover { border-color: var(--border-strong); }
.cap:focus-visible { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(245, 122, 0, .25); }
.cap.is-active {
  flex-grow: 5.4;
  background: #fff;
  border-color: var(--border-strong);
  box-shadow: 0 40px 90px -50px rgba(15, 23, 41, .45);
  cursor: default;
}
.cap.is-active::before { opacity: 1; }

.cap__rail {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 24px 0 20px;
  transition: opacity .4s;
}
.cap__num { font-size: 12px; color: var(--muted); }
.cap__rail-title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 17px; font-weight: 500; letter-spacing: -.01em;
  white-space: nowrap;
}
.cap__plus {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border-strong);
  transition: transform .6s var(--ease-out), background .4s, color .4s;
}
.cap__plus svg { width: 15px; height: 15px; }
.cap:hover .cap__plus { background: var(--text); color: #fff; transform: rotate(90deg); }
.cap.is-active .cap__rail { opacity: 0; pointer-events: none; }

.cap__body {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: clamp(380px, 33vw, 560px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(24px, 2.4vw, 36px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .35s, transform .6s var(--ease-out);
  pointer-events: none;
}
.cap.is-active .cap__body {
  opacity: 1; transform: none; pointer-events: auto;
  transition: opacity .6s .28s, transform .9s .28s var(--ease-out);
}
.cap__visual { width: 100%; max-width: 320px; color: var(--text); }
.cap__visual svg { display: block; width: 100%; height: auto; }
.cap__text h3 { margin: 10px 0 12px; font-size: clamp(1.7rem, 1.1rem + 1.4vw, 2.6rem); font-weight: 300; letter-spacing: -.045em; line-height: 1.05; }
.cap__text p { max-width: 400px; margin-bottom: 18px; color: var(--muted); }
.cap__link { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; }
.cap__link .i { transition: transform .5s var(--ease-out); }
.cap__link:hover { color: var(--primary); }
.cap__link:hover .i { transform: translateX(4px); }

.cap .gear { transform-box: fill-box; transform-origin: center; }
.cap.is-active .gear { animation: spin 9s linear infinite; }
.cap .orbit-dot { transform-origin: 130px 85px; }
.cap.is-active .orbit-dot { animation: spin 7s linear infinite; }
.cap .bars rect { transform-box: fill-box; transform-origin: bottom; }
.cap.is-active .bars rect { animation: grow-y 1.2s var(--ease-out) both; }
.cap.is-active .bars rect:nth-child(2) { animation-delay: .06s; }
.cap.is-active .bars rect:nth-child(3) { animation-delay: .12s; }
.cap.is-active .bars rect:nth-child(4) { animation-delay: .18s; }
.cap.is-active .bars rect:nth-child(5) { animation-delay: .24s; }
.cap.is-active .bars rect:nth-child(6) { animation-delay: .3s; }
.cap .loop { stroke-dasharray: 420; stroke-dashoffset: 0; }
.cap.is-active .loop { animation: draw 2s var(--ease-out) both; }

.caps__also {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  margin: 28px 0 0;
  font-size: 14.5px; color: var(--muted);
}
.caps__also .mono {
  padding: 4px 11px; border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text);
}
.caps__also i { width: 4px; height: 4px; border-radius: 50%; background: var(--primary); opacity: .7; }

/* --------------------------------------------------------------------------
   14. Why Aviox
   -------------------------------------------------------------------------- */
.why__intro .btn-pill { margin-top: 12px; }
@media (min-width: 992px) {
  .why__intro { position: sticky; top: calc(var(--header-h) + 40px); }
}
.why-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border-strong);
}
.why-item {
  position: relative;
  isolation: isolate;
  display: flex; flex-direction: column;
  min-height: clamp(300px, 26vw, 360px);
  padding: clamp(26px, 3vw, 44px);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.why-item:nth-child(odd) { border-right: 1px solid var(--border); padding-left: 0; }
.why-item::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(245, 122, 0, .11), transparent 62%);
  opacity: 0;
  transition: opacity .5s;
}
.why-item:hover::before { opacity: 1; }
.why-item__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: auto; }
.why-item__num {
  font-size: clamp(3.4rem, 2rem + 3.6vw, 5.6rem);
  font-weight: 200; letter-spacing: -.06em; line-height: .9;
  color: var(--light);
  -webkit-text-stroke: 2px rgba(15, 23, 41, .34);
  paint-order: stroke fill;
  transition: color .6s var(--ease-out), -webkit-text-stroke-color .6s;
}
.why-item:hover .why-item__num { color: var(--text); -webkit-text-stroke-color: transparent; }
.why-item__glyph {
  width: 56px; height: 56px; flex: none;
  fill: none; stroke: var(--text); stroke-width: 1.2; opacity: .75;
  transition: transform 1.2s var(--ease-out);
}
.why-item__glyph .fill { fill: var(--primary); stroke: none; }
.why-item:hover .why-item__glyph { transform: rotate(90deg); }
.why-item h3 { margin: 36px 0 10px; font-size: clamp(1.25rem, 1.05rem + .5vw, 1.5rem); font-weight: 500; letter-spacing: -.025em; }
.why-item p { margin: 0; max-width: 38ch; color: var(--muted); font-size: 15.5px; line-height: 1.65; }

/* --------------------------------------------------------------------------
   15. Stats
   -------------------------------------------------------------------------- */
.stats__head { margin-bottom: clamp(36px, 4.6vw, 72px); align-items: flex-start !important; }
@media (min-width: 992px) { .stats__head .label { margin-top: 1.2rem; } }
.stats__head h2 { max-width: 18ch; }
.stats__row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--border-strong);
}
.stat { padding: 30px 24px 0; border-left: 1px solid var(--border); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat__num {
  display: flex; align-items: flex-start;
  font-size: clamp(2.9rem, 1rem + 5.2vw, 7.4rem);
  font-weight: 200; letter-spacing: -.065em; line-height: .92;
  font-variant-numeric: tabular-nums;
}
.stat__num sup {
  top: 0; margin-left: .04em;
  font-size: .4em; font-weight: 300; line-height: 1;
  color: var(--primary);
}
.stat dd { margin: 22px 0 0; }
.stat dd strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.stat dd span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--muted); max-width: 26ch; }

/* Kinetic type band */
.kinetic {
  overflow: hidden;
  overflow: clip;
  padding-block: clamp(28px, 3vw, 44px);
  border-block: 1px solid var(--border);
}
.kinetic__row {
  display: flex; align-items: center; gap: .32em;
  width: max-content;
  font-size: clamp(2.2rem, 5.4vw, 5.6rem);
  font-weight: 300; letter-spacing: -.05em; line-height: 1.06;
  white-space: nowrap;
  will-change: transform;
}
.kinetic__row--2 { margin-top: .06em; }
.kinetic__row .is-outline { color: var(--light); -webkit-text-stroke: 1.6px var(--text); paint-order: stroke fill; font-weight: 400; }
.kinetic__orb {
  flex: none;
  width: .56em; height: .56em; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #FFE9B8 0%, #F5A300 38%, #F57A00 72%, #C95E00 100%);
  box-shadow: inset -.04em -.06em .12em rgba(120, 50, 0, .35);
}
.kinetic__orb--blue { background: radial-gradient(circle at 34% 30%, #DDF3FF 0%, #48B4F0 30%, #1A9AD6 60%, #06214F 100%); }

/* --------------------------------------------------------------------------
   16. Work — stacked editorial cases
   -------------------------------------------------------------------------- */
.cases { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.case {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(14px, 1.4vw, 20px) clamp(24px, 4vw, 64px) clamp(14px, 1.4vw, 20px) clamp(14px, 1.4vw, 20px);
  border-radius: 34px;
  border: 1px solid var(--border);
  background: var(--paper);
  box-shadow: 0 50px 100px -70px rgba(15, 23, 41, .55);
  transform-origin: 50% 0;
}
.case--flip {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  padding: clamp(14px, 1.4vw, 20px) clamp(14px, 1.4vw, 20px) clamp(14px, 1.4vw, 20px) clamp(24px, 4vw, 64px);
}
.case--flip .case__media { order: 2; }

@media (min-width: 992px) and (min-height: 700px) {
  .case { position: sticky; top: calc(var(--header-h) + 16px + var(--i) * 16px); }
}

.case__media {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 4 / 3.05;
  padding: 8%;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 85% 10%, rgba(26, 154, 214, .28), transparent 70%),
    linear-gradient(145deg, #FFE3BF 0%, #FBF3E7 50%, #E2F1FA 100%);
}
.case__media--dark { background: radial-gradient(60% 55% at 80% 10%, rgba(245, 122, 0, .45), transparent 70%), radial-gradient(60% 50% at 0% 100%, rgba(26, 154, 214, .35), transparent 70%), #0A1122; }
.case__media--warm { background: radial-gradient(60% 60% at 15% 10%, rgba(255, 234, 190, .9), transparent 70%), linear-gradient(150deg, #F57A00 0%, #F5A300 55%, #F8C65A 100%); }
.case__media--blue { background: radial-gradient(60% 60% at 85% 0%, rgba(160, 220, 250, .8), transparent 70%), linear-gradient(150deg, #06214F 0%, #0A5C9E 50%, #1A9AD6 100%); }

.case__content { padding-block: 24px; }
.case__meta { display: flex; align-items: center; gap: 14px; }
.case__meta .mono { font-size: 12.5px; color: var(--primary); }
.case__tag {
  padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 12px; font-weight: 500; letter-spacing: .01em;
}
.case__title { margin: 22px 0 16px; font-size: clamp(2.1rem, 1.3rem + 2.4vw, 3.7rem); font-weight: 300; letter-spacing: -.05em; line-height: 1; }
.case__content > p { max-width: 46ch; color: var(--muted); }
.case__content .tags { margin: 24px 0 30px; }

/* Mock UIs — lightweight CSS "screenshots" */
.mock {
  width: 100%; max-width: 560px;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(15, 23, 41, .5), 0 0 0 1px rgba(15, 23, 41, .04);
  transform: perspective(1400px) rotateX(3deg) rotateY(-7deg);
  transition: transform 1s var(--ease-out);
}
.case--flip .mock { transform: perspective(1400px) rotateX(3deg) rotateY(7deg); }
.case:hover .mock { transform: perspective(1400px) rotateX(0) rotateY(0) scale(1.02); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid #EFEBE5; }
.mock__bar span { width: 8px; height: 8px; border-radius: 50%; background: #E3DED6; }
.mock__bar em { margin-left: 10px; font-family: var(--font-mono); font-size: 10.5px; font-style: normal; color: #8A93A3; }

.mock__dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.mock__kpi { padding: 12px; border-radius: 10px; background: #F7F4EF; }
.mock__kpi small { display: block; margin-bottom: 14px; font-size: 10.5px; color: #6B7383; }
.mock__kpi i { display: block; height: 5px; border-radius: 5px; background: #ECE6DD; position: relative; overflow: hidden; }
.mock__kpi i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: var(--grad-sun); }
.mock__chart { grid-column: span 2; padding: 10px; border-radius: 10px; background: #F7F4EF; }
.mock__chart svg { display: block; width: 100%; height: 118px; }
.mock__list { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 12px; border-radius: 10px; background: #F7F4EF; }
.mock__list span { height: 7px; border-radius: 7px; background: #E4DED4; }
.mock__list span:nth-child(2) { width: 70%; background: rgba(26, 154, 214, .45); }
.mock__list span:nth-child(3) { width: 45%; }

.mock--chat { background: #0E1628; }
.mock--chat .mock__bar { border-color: rgba(255, 255, 255, .08); }
.mock--chat .mock__bar span { background: rgba(255, 255, 255, .15); }
.mock__chat { display: flex; flex-direction: column; gap: 12px; padding: 18px; }
.msg { max-width: 86%; margin: 0; padding: 11px 14px; border-radius: 14px; font-size: 13px; line-height: 1.5; }
.msg--user { align-self: flex-end; background: var(--grad-sun); color: #1B1204; border-bottom-right-radius: 4px; }
.msg--ai { background: rgba(255, 255, 255, .07); color: #E9EDF5; border-bottom-left-radius: 4px; }
.msg--ai b { color: #fff; }
.msg-actions { display: flex; gap: 8px; }
.msg-actions span { padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); font-size: 11px; color: rgba(233, 237, 245, .8); }
.msg-actions span:first-child { background: #fff; color: var(--text); border-color: #fff; }
.msg--typing { display: inline-flex; gap: 4px; width: max-content; background: rgba(255, 255, 255, .07); }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .6); animation: typing 1.2s ease-in-out infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }

.mock__loan { padding: 18px; }
.mock__steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; }
.mock__steps li { flex: 1; padding-top: 10px; border-top: 3px solid #EEE9E1; font-size: 10.5px; font-family: var(--font-mono); color: #8A93A3; }
.mock__steps .done { border-color: var(--primary); color: var(--text); }
.mock__steps .on { border-color: var(--accent); color: var(--text); }
.mock__check { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 12px; background: #F2FAF5; border: 1px solid #D5F0DF; }
.mock__check b { display: block; font-size: 14px; }
.mock__check small { font-size: 11.5px; color: #5D6677; }
.mock__check-ring { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: conic-gradient(#22C55E 0 100%, #DDEFE4 0); }
.mock__check-ring::after { content: "✓"; position: absolute; inset: 4px; display: grid; place-items: center; border-radius: 50%; background: #F2FAF5; color: #16A34A; font-size: 13px; font-weight: 700; }
.mock__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.mock__rows span { padding: 12px; border-radius: 10px; background: #F7F4EF; }
.mock__rows small { display: block; font-size: 10.5px; color: #6B7383; }
.mock__rows b { font-size: 16px; letter-spacing: -.02em; }
.mock__cta { padding: 12px; border-radius: 999px; background: var(--text); color: #fff; font-size: 12.5px; font-weight: 600; text-align: center; }

.mock--site { background: #FAF7F2; }
.mock__site { padding: 18px 22px 24px; }
.mock__nav { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.mock__nav b { font-family: var(--font-serif); font-size: 20px; font-weight: 400; letter-spacing: .02em; margin-right: auto; }
.mock__nav span { width: 34px; height: 5px; border-radius: 5px; background: #DDD6CB; }
.mock__nav i { width: 64px; height: 22px; border-radius: 999px; background: #0B2A4A; }
.mock__serif { margin: 0; font-family: var(--font-serif); font-size: clamp(1.6rem, 1rem + 1.8vw, 2.6rem); line-height: 1.02; letter-spacing: -.01em; color: #0B2A4A; }
.mock__line { width: 56px; height: 2px; margin: 18px 0; background: #C8A46A; }
.mock__row { display: flex; gap: 8px; margin-bottom: 18px; }
.mock__row span { padding: 6px 12px; border-radius: 999px; border: 1px solid #DDD6CB; font-size: 11px; color: #5D6677; }
.mock__btn { display: inline-block; padding: 10px 18px; border-radius: 999px; background: #0B2A4A; color: #fff; font-size: 12px; font-weight: 600; }

/* --------------------------------------------------------------------------
   17. Technology ecosystem
   -------------------------------------------------------------------------- */
.stack { overflow: hidden; overflow: clip; }
/* One colour per technology group. The same --cat drives the swatch on the
   list and the badges in the constellation, so the two read as one key. */
.stack__group--ai, .tech--ai { --cat: #F57A00; }
.stack__group--fe, .tech--fe { --cat: #1A9AD6; }
.stack__group--be, .tech--be { --cat: #0B3B7A; }
.stack__group--data, .tech--data { --cat: #E39A00; }
.stack__group--cms, .tech--cms { --cat: #0E9F6E; }

.stack__groups { margin: 36px 0 0; border-top: 1px solid var(--border-strong); }
.stack__groups > div {
  position: relative;
  display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 15px 0 15px 14px;
  border-bottom: 1px solid var(--border);
  transition: background .4s;
}
.stack__groups > div::before {
  content: ""; position: absolute; left: 0; top: 15px; bottom: 15px; width: 2px; border-radius: 2px;
  background: var(--cat, var(--border-strong));
  transform: scaleY(0); transition: transform .5s var(--ease-out);
}
.stack__groups > div:hover,
.stack__groups > div.is-lit { background: linear-gradient(90deg, color-mix(in srgb, var(--cat) 7%, transparent), transparent 70%); }
.stack__groups > div:hover::before,
.stack__groups > div.is-lit::before { transform: scaleY(1); }
.stack__groups dt { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.stack__groups dt a,
.stack__groups dt .stack__label { display: inline-flex; align-items: baseline; gap: 9px; }
.stack__swatch { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--cat); translate: 0 -1px; }
.stack__groups dd { margin: 0; font-size: 15px; font-weight: 500; }
.stack__groups dd a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.stack__groups dd a:hover,
.stack__groups dd a:focus-visible { color: var(--cat); border-bottom-color: currentColor; }

.constellation {
  position: relative;
  width: min(100%, 640px);
  aspect-ratio: 1;
  margin-inline: auto;
}
.constellation__halo {
  position: absolute; inset: 8%; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(245, 122, 0, .22), transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(26, 154, 214, .18), transparent 55%);
  filter: blur(10px);
}
.orbit {
  --dur: 60s; --dir: normal;
  position: absolute;
  inset: calc(50% - var(--r));
  border-radius: 50%;
  border: 1px dashed rgba(15, 23, 41, .16);
  animation: spin var(--dur) linear infinite var(--dir);
}
.orbit--1 { --dur: 46s; }
.orbit--2 { --dur: 70s; --dir: reverse; }
.orbit--3 { --dur: 96s; }
.orbit--4 { --dur: 124s; --dir: reverse; border-style: solid; border-color: rgba(15, 23, 41, .08); }

/* Each ring is a full-size box stacked over the ones inside it, and the core
   and halo cover the middle. Painted last, the outer ring swallowed every
   click meant for a chip on an inner ring. The rings are decoration — only the
   chips are interactive — so take them out of hit testing and opt the chips
   back in (pointer-events inherits, so the chips have to say so explicitly). */
.orbit,
.constellation__halo,
.constellation__core { pointer-events: none; }
.tech,
.tech b { pointer-events: auto; }
.tech {
  position: absolute; left: 50%; top: 0;
  width: 0; height: 50%;
  transform-origin: 50% 100%;
  transform: rotate(var(--a));
}
/* Badges: a coloured live dot, a border tinted by the group colour and an
   arrow, so they read as links rather than labels. */
.tech b {
  position: absolute; left: 0; top: 0;
  translate: -50% -50%;
  transform: rotate(calc(-1 * var(--a)));
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 11px 8px 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--cat, var(--text)) 30%, transparent);
  background: #fff;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--cat, var(--text)) 7%, transparent), 0 14px 30px -16px rgba(15, 23, 41, .4);
  font-size: 13px; font-weight: 600; letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
  animation: counter-spin var(--dur) linear infinite var(--dir);
  transition: background .35s, color .35s, box-shadow .35s, border-color .35s, opacity .4s, scale .45s var(--ease-out);
}
.tech b::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cat, var(--primary));
  animation: tech-ping 2.8s var(--ease-out) infinite;
}
.orbit--2 .tech b::before { animation-delay: -.9s; }
.orbit--3 .tech b::before { animation-delay: -1.8s; }
.orbit--4 .tech b::before { animation-delay: -2.3s; }
.tech b .i { width: 12px; height: 12px; opacity: .4; transition: opacity .3s, translate .4s var(--ease-out); }
.tech:hover b,
.tech:focus-visible b {
  background: var(--text); color: #fff; border-color: var(--text);
  scale: 1.08;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--cat, var(--text)) 30%, transparent), 0 18px 36px -14px rgba(15, 23, 41, .6);
}
.tech:hover b .i,
.tech:focus-visible b .i { opacity: 1; translate: 1px -1px; }
.tech:focus-visible { outline: none; }
/* Badges on neighbouring orbits overlap. Each orbit is its own stacking
   context (it animates a transform), so lift the orbit as well as the badge,
   otherwise the hovered chip can stay buried under a neighbour. */
.orbit:hover,
.orbit:focus-within { z-index: 5; }
.tech:hover,
.tech:focus-visible { z-index: 2; }
@keyframes tech-ping {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--cat, var(--primary)) 55%, transparent); }
  70%, 100% { box-shadow: 0 0 0 7px transparent; }
}

/* Pointing at a group on the list spotlights that group's badges */
.constellation[data-focus] .tech b { opacity: .28; }
.constellation[data-focus="ai"] .tech--ai b,
.constellation[data-focus="fe"] .tech--fe b,
.constellation[data-focus="be"] .tech--be b,
.constellation[data-focus="cms"] .tech--cms b,
.constellation[data-focus="data"] .tech--data b { opacity: 1; scale: 1.06; border-color: var(--cat); box-shadow: 0 0 0 5px color-mix(in srgb, var(--cat) 18%, transparent), 0 18px 36px -16px rgba(15, 23, 41, .5); }

.constellation:hover .orbit,
.constellation:hover .tech b,
.constellation[data-focus] .orbit,
.constellation[data-focus] .tech b,
.constellation.is-paused .orbit,
.constellation.is-paused .tech b { animation-play-state: paused; }
.constellation__core {
  position: absolute; inset: 39%;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .55), 0 30px 70px -20px rgba(245, 122, 0, .55);
}
.constellation__core::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid rgba(245, 122, 0, .4);
  animation: ring 3.2s var(--ease-out) infinite;
}
.constellation__core img { width: 58%; height: auto; }

.marquee {
  margin-top: clamp(36px, 4.6vw, 72px);
  padding-block: 20px;
  border-block: 1px solid var(--border);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__track span {
  display: inline-flex; align-items: center; gap: 36px;
  padding-right: 36px;
  font-size: clamp(1.3rem, 1rem + 1.2vw, 2.1rem); font-weight: 300; letter-spacing: -.035em;
  color: var(--muted);
}
.marquee__track span::after { content: "✦"; font-size: .5em; color: var(--primary); }

/* --------------------------------------------------------------------------
   18. Process
   -------------------------------------------------------------------------- */
.process { position: relative; padding-block: var(--section-y); }
.process__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 3.6vw, 56px); }
.process__counter { display: none; font-size: 14px; color: var(--muted); white-space: nowrap; }
.process__counter span { font-family: var(--font-sans); font-size: clamp(2.6rem, 3.6vw, 3.6rem); font-weight: 200; letter-spacing: -.05em; color: var(--text); margin-right: 4px; }

.process__track {
  position: relative;
  display: grid; grid-template-columns: 1fr; gap: 14px;
  list-style: none; margin: 0;
  padding: 0 var(--gutter);
}
.step {
  position: relative;
  display: flex; flex-direction: column;
  padding: 28px;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: rgba(252, 250, 247, .8);
  transition: background .6s var(--ease-out), border-color .6s, box-shadow .6s, transform .8s var(--ease-out);
}
.step__num {
  font-size: clamp(3.6rem, 2rem + 4vw, 6.4rem);
  font-weight: 200; letter-spacing: -.07em; line-height: .9;
  color: #FAF8F4;
  -webkit-text-stroke: 2px rgba(15, 23, 41, .3);
  paint-order: stroke fill;
  transition: color .6s, -webkit-text-stroke-color .6s;
}
.step h3 { margin: 28px 0 10px; font-size: clamp(1.5rem, 1.2rem + .8vw, 2rem); font-weight: 500; letter-spacing: -.035em; }
.step p { margin: 0; color: var(--muted); line-height: 1.65; }
.step__meta {
  margin-top: 22px; padding-top: 14px;
  border-top: 1px dashed var(--border-strong);
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.step.is-active { background: #fff; border-color: rgba(245, 122, 0, .35); box-shadow: 0 40px 80px -50px rgba(245, 122, 0, .55); }
.step.is-active .step__num { color: var(--primary); -webkit-text-stroke-color: transparent; }
.process__line { display: none; }

/* Static desktop layout (no JS / reduced motion) */
@media (min-width: 992px) {
  .process__track { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 0 max(var(--gutter), calc((100vw - 1400px) / 2 + var(--gutter))); }
  .step { min-height: 340px; }
  .step h3 { margin-top: auto; padding-top: 28px; }
}

/* Pinned horizontal journey (desktop + JS) */
@media (min-width: 992px) {
  .js .process:not(.process--static) { padding-block: 0; }
  .js .process:not(.process--static) .process__pin {
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding: var(--section-y) 0;
    overflow: hidden;
  }
  .js .process:not(.process--static) .process__counter { display: block; }
  .js .process:not(.process--static) .process__track {
    display: flex; gap: 22px;
    width: max-content;
    padding-inline: max(var(--gutter), calc((100vw - 1400px) / 2 + var(--gutter)));
    will-change: transform;
  }
  .js .process:not(.process--static) .step { width: clamp(320px, 27vw, 420px); min-height: clamp(360px, 44vh, 440px); }
  .js .process:not(.process--static) .process__line {
    display: block; position: relative;
    height: 2px; margin: 44px max(var(--gutter), calc((100vw - 1400px) / 2 + var(--gutter))) 0;
    background: var(--border);
    border-radius: 2px;
  }
  .process__line span {
    position: absolute; inset: 0; border-radius: inherit;
    background: var(--grad-brand);
    transform: scaleX(0); transform-origin: left;
  }
}
@media (min-width: 1680px) {
  .js .process:not(.process--static) .process__track { padding-inline: calc((100vw - 1520px) / 2 + var(--gutter)); }
  .js .process:not(.process--static) .process__line { margin-inline: calc((100vw - 1520px) / 2 + var(--gutter)); }
}

/* --------------------------------------------------------------------------
   19. Testimonials
   -------------------------------------------------------------------------- */
.testi-nav { display: flex; flex-direction: column; margin-top: 44px; border-top: 1px solid var(--border-strong); }
.testi-nav button {
  position: relative;
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 18px 0;
  border: 0; border-bottom: 1px solid var(--border);
  background: none; text-align: left;
  cursor: pointer;
}
.testi-nav strong { font-size: 17px; font-weight: 500; letter-spacing: -.02em; color: var(--muted); transition: color .4s, transform .6s var(--ease-out); }
.testi-nav span { font-size: 13px; color: var(--muted); }
.testi-nav button:hover strong { color: var(--text); }
.testi-nav button.is-active strong { color: var(--text); transform: translateX(6px); }
.testi-nav__bar {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--grad-sun);
  transform: scaleX(0); transform-origin: left;
}
.testi-nav button.is-active .testi-nav__bar { animation: testi-progress 7s linear forwards; }
.testi-nav.is-static button.is-active .testi-nav__bar { animation: none; transform: scaleX(1); }
.testimonials.is-paused .testi-nav__bar { animation-play-state: paused !important; }

.testi { position: relative; margin: 0; padding-top: 10px; }
.testi__mark { display: block; width: 62px; height: 46px; margin-bottom: 30px; color: var(--primary); }
.testi__stage { display: grid; }
.testi__quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; }
.testi__quote.is-active { opacity: 1; visibility: visible; }
.testi__quote p {
  margin: 0;
  font-size: clamp(1.55rem, .95rem + 2.1vw, 3rem);
  font-weight: 300; letter-spacing: -.035em; line-height: 1.22;
  text-wrap: pretty;
}
.testi__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); }
.testi__foot .mono { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* --------------------------------------------------------------------------
   20. Final CTA
   -------------------------------------------------------------------------- */
.cta { padding-block: var(--section-y); }
.cta__panel {
  --mx: 50%; --my: 40%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(64px, 8vw, 128px) clamp(22px, 6vw, 96px) clamp(48px, 6vw, 96px);
  border-radius: var(--radius-xl);
  background: var(--dark);
  color: var(--on-dark);
  text-align: center;
}
.cta__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 10%, transparent 75%);
}
.cta__glow { position: absolute; border-radius: 50%; }
.cta__glow--a {
  left: 50%; bottom: -62%;
  width: 150%; aspect-ratio: 2 / 1;
  translate: -50% 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(245, 122, 0, .75) 0%, rgba(245, 163, 0, .32) 30%, transparent 62%);
  animation: breathe 8s ease-in-out infinite;
}
.cta__glow--b {
  left: -20%; top: -40%;
  width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(26, 154, 214, .35), transparent 62%);
  animation: drift 20s ease-in-out infinite alternate;
}
.cta__spot { position: absolute; inset: 0; background: radial-gradient(520px circle at var(--mx) var(--my), rgba(255, 255, 255, .08), transparent 60%); }
.cta__rings { position: absolute; left: 50%; bottom: -88%; width: 170%; aspect-ratio: 1; translate: -50% 0; }
.cta__rings i { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .09); }
.cta__rings i:nth-child(1) { inset: 0; }
.cta__rings i:nth-child(2) { inset: 7%; border-color: rgba(245, 163, 0, .18); }
.cta__rings i:nth-child(3) { inset: 14%; border-color: rgba(26, 154, 214, .2); }

.cta__content { position: relative; max-width: 1080px; margin-inline: auto; }
.cta__title {
  margin: 0 auto clamp(22px, 3vw, 34px);
  max-width: 14ch;
  font-size: clamp(3rem, .9rem + 7.2vw, 8.6rem);
  font-weight: 300; letter-spacing: -.055em; line-height: .96;
  color: #fff;
}
.cta__title em { display: block; color: var(--accent); }
.cta__text { max-width: 580px; margin: 0 auto clamp(34px, 4vw, 48px); font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); line-height: 1.65; color: var(--on-dark-muted); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cta__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: clamp(32px, 4vw, 52px); font-size: 14px; color: rgba(233, 237, 245, .55); }
.cta__meta a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.cta__meta a:hover { color: var(--accent); border-color: var(--accent); }

/* --------------------------------------------------------------------------
   21. Footer
   -------------------------------------------------------------------------- */
.footer { padding-block: var(--section-y); }
.footer__top { padding-bottom: clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--border); }
.brand--footer .brand__mark { width: 40px; height: 40px; }
.footer__blurb { max-width: 34ch; margin: 22px 0 22px; color: var(--muted); }
.footer__mail { display: inline-block; padding-bottom: 3px; border-bottom: 1px solid var(--border-strong); font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); font-weight: 500; letter-spacing: -.02em; }
.footer__mail:hover { color: var(--primary); border-color: var(--primary); }
.footer__h { margin-bottom: 20px; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li + li { margin-top: 10px; }
.footer__links a { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; }
.footer__links a .i { width: 12px; height: 12px; opacity: .5; transition: transform .4s var(--ease-out), opacity .4s; }
.footer__links a:hover { color: var(--primary); }
.footer__links a:hover .i { transform: translate(2px, -2px); opacity: 1; }
.footer__news-title { max-width: 36ch; color: var(--muted); font-size: 15px; }
.news-form {
  display: flex; align-items: center; gap: 6px;
  margin-top: 18px; padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #fff;
  transition: border-color .4s, box-shadow .4s;
}
.news-form:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(245, 122, 0, .12); }
.news-form input { flex: 1; min-width: 0; padding: 0 4px 0 14px; border: 0; background: none; font-size: 15px; outline: none; }
.news-form__msg { min-height: 20px; margin: 10px 0 0 16px; font-size: 13px; color: var(--muted); }

.footer__offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; padding: 32px 0; border-bottom: 1px solid var(--border); }
.footer__offices > div { display: grid; gap: 6px; align-content: start; }
.footer__offices .mono { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.footer__offices p { margin: 0; max-width: 42ch; font-size: 14.5px; color: var(--muted); }
/* The phone link is a grid item, so it stretches the column unless pinned to
   its own width. The address sits inside its <p> and stays inline, so its hit
   area follows the text across wrapped lines instead of filling a box. */
.footer__offices > div > a { justify-self: start; }
.footer__offices a:not(.footer__addr) { font-weight: 600; font-size: 15px; color: var(--text); }
.footer__addr { font-size: inherit; font-weight: 400; color: inherit; }
/* Both links: hit area hugs the text, same hover treatment. */
.footer__offices a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.footer__offices a:hover,
.footer__offices a:focus-visible { color: var(--primary); border-bottom-color: var(--primary); }

/* The wordmark is a watermark laid over the lower footer rather than a block
   of its own: it sits behind the link columns and the legal bar, bleeding off
   the bottom edge. */
.footer { position: relative; isolation: isolate; overflow: hidden; overflow: clip; }
.footer__word {
  position: absolute; left: 50%; bottom: 0; z-index: -1;
  translate: -50% 22%;
  margin: 0;
  font-size: clamp(8rem, 31vw, 34rem);
  font-weight: 400; letter-spacing: -.07em; line-height: .8;
  white-space: nowrap;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  opacity: .2;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 96%);
  pointer-events: none;
  user-select: none;
}
.footer__bottom { position: relative; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--muted); }
.footer__bottom p { margin: 0; }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__bottom a:hover { color: var(--text); }
.footer__top-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 600; }

/* --------------------------------------------------------------------------
   22. Reveal states (only when JS is active)
   -------------------------------------------------------------------------- */
.js [data-reveal],
.js [data-stagger],
.js [data-split] { opacity: 0; }

/* --------------------------------------------------------------------------
   23. Lenis smooth scroll
   -------------------------------------------------------------------------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* --------------------------------------------------------------------------
   24. Keyframes
   -------------------------------------------------------------------------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes counter-spin { to { rotate: -360deg; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 100% { transform: translate3d(-4%, 5%, 0) scale(1.08); } }
@keyframes breathe { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(1.8); opacity: 0; } }
@keyframes ring { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@keyframes dash { to { stroke-dashoffset: 0; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
@keyframes progress { 0% { width: 12%; } 60%, 100% { width: 92%; } }
@keyframes typing { 0%, 100% { transform: translateY(0); opacity: .45; } 50% { transform: translateY(-3px); opacity: 1; } }
@keyframes grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes draw { from { stroke-dashoffset: 420; } to { stroke-dashoffset: 0; } }
@keyframes testi-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes flow-pulse {
  0% { top: 24px; opacity: 0; }
  10% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: calc(100% - 80px); opacity: 0; }
}
@keyframes flow-lit {
  0%, 22%, 100% { border-color: rgba(255, 255, 255, .14); background: #0E172C; color: rgba(233, 237, 245, .85); box-shadow: none; }
  4%, 16% { border-color: rgba(245, 163, 0, .9); background: #2A1A08; color: var(--accent); box-shadow: 0 0 24px -4px rgba(245, 122, 0, .6); }
}

/* --------------------------------------------------------------------------
   25. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .hero__visual { width: 60vw; right: -12vw; }
  .float-chip--a { left: 18%; }
}

@media (max-width: 991.98px) {
  :root { --header-h: 80px; }

  /* Hero: sphere on top, headline layered over its lower edge */
  .hero { padding-top: var(--header-h); }  /* sphere canvas sits directly under the header */
  .hero__visual {
    position: relative; inset: auto;
    width: 100%;
    height: min(47vh, 480px);
    margin-top: 4px;
  }
  .float-chip { padding: 9px 13px 9px 10px; font-size: 11.5px; }
  .float-chip strong { font-size: 12px; }
  .float-chip--a { left: 4%; top: 12%; }
  .float-chip--b { right: 4%; bottom: 16%; }
  .hero__inner { margin-top: -5vh; }
  .hero__content { padding-block: 0 44px; }
  .hero__footer { grid-template-columns: 1fr auto; }
  .hero__stats { display: none; }
  .scroll-badge { width: 96px; height: 96px; }

  .logo-wall { border-radius: 22px; }

  .sol__head { grid-template-columns: 44px 1fr 40px; padding-block: 20px; }
  .sol__body-inner { padding-left: 52px; }

  .ai-caps { grid-template-columns: 1fr; }
  .neural { padding-bottom: 0; margin-top: 24px; }
  .console { position: relative; width: 100%; margin-top: 8px; }
  .data-card--1 { left: 28%; top: -4%; }
  .data-card--2 { right: 0; top: 2%; }

  .ind-caption { position: relative; top: auto; }

  /* Capabilities become an accordion */
  .caps { flex-direction: column; height: auto; }
  .cap, .cap.is-active { flex: none; }
  .cap__rail { position: relative; flex-direction: row; justify-content: flex-start; gap: 18px; padding: 20px 20px; }
  .cap__rail-title { writing-mode: horizontal-tb; transform: none; font-size: 19px; }
  .cap__plus { margin-left: auto; }
  .cap.is-active .cap__rail { opacity: 1; pointer-events: auto; }
  .cap.is-active .cap__plus { transform: rotate(45deg); background: var(--text); color: #fff; }
  .cap__body { position: relative; inset: auto; width: auto; display: none; padding: 0 20px 26px; opacity: 1; transform: none; gap: 20px; }
  .cap.is-active .cap__body { display: flex; }
  .cap__text > .cap__num, .cap__text h3 { display: none; }
  .cap__visual { max-width: 260px; }

  .why-item { padding-left: 24px !important; padding-right: 24px; min-height: 280px; }
  .why-item:nth-child(odd) { padding-left: 0 !important; }

  .stats__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 26px 20px 30px; }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--border); }

  .case, .case--flip { grid-template-columns: 1fr; padding: 14px 14px 10px; }
  .case--flip .case__media { order: 0; }
  .case__content { padding: 12px 10px 18px; }

  .testi-nav { margin-bottom: 8px; }
}

@media (max-width: 767.98px) {
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .layers { aspect-ratio: 1 / 1.02; }
  .layers__back { inset: 4% 10% 18% 0; }
  .layers__card { left: 5%; top: 17%; width: 84%; padding: 18px; }
  .layers__steps li { font-size: 13px; padding: 9px 0; }
  .layers__chip { right: 0; bottom: 0; font-size: 12px; }
  .layers__orb { right: 4%; top: -2%; }
  .neural__nodes text { font-size: 14px; }
  .mini-stats { grid-template-columns: repeat(2, 1fr); }
  .mini-stats > div:nth-child(3) { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: 16px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item, .why-item:nth-child(odd) { padding: 28px 0 !important; border-right: 0; min-height: 0; }
  .why-item h3 { margin-top: 24px; }
  .stack__groups > div { grid-template-columns: 1fr; gap: 4px; }
  .tech b { padding: 6px 10px 6px 9px; font-size: 11px; gap: 6px; box-shadow: 0 10px 22px -14px rgba(15, 23, 41, .4); }
  .tech b::before { width: 5px; height: 5px; }
  .tech b .i { display: none; }
  .footer__offices { grid-template-columns: 1fr; }
  .mock__dash-grid { grid-template-columns: repeat(2, 1fr); }
  .mock__dash-grid .mock__kpi:nth-child(3) { display: none; }
}

@media (max-width: 575.98px) {
  .hero__title { font-size: calc(clamp(2.45rem, 11.2vw, 3.4rem) * var(--fit, 1)); }
  .hero__rule { width: 36px; }
  .hero__footer { grid-template-columns: 1fr; }
  .scroll-badge { display: none; }
  .btn-pill--lg { padding-left: 24px; gap: 16px; font-size: 15px; }
  .btn-pill--lg .btn-pill__icon { width: 44px; height: 44px; }
  /* Full-width hero CTA on small phones */
  .hero__actions .btn-pill--lg { width: 100%; justify-content: space-between; }
  .float-chip--b { display: none; }
  .data-card { display: none; }
  /* Narrower number column here so the copy keeps a readable measure, and the
     body indent matches it (28px col + 12px gap + 8px head padding) so the
     number, title, body and tags all share one left edge — as on desktop. */
  .sol__head { grid-template-columns: 28px 1fr 40px; gap: 12px; }
  .sol__body-inner { padding-left: 48px; padding-right: 0; }
  /* The active state shifts the title 6px right; at this width the title wraps
     and fills its column, so that shift closed the gap to the toggle. */
  .sol.is-active .sol__title { transform: none; }
  .cta__actions .btn-pill { width: 100%; justify-content: space-between; }
  .cases { gap: 16px; }
  .case { border-radius: 26px; }
  .case__media { border-radius: 18px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  /* Stats: single column on small phones */
  .stats__row { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: 20px; padding-bottom: 20px; }
  .stat:first-child { border-top: 0; padding-top: 26px; }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }

  /* Mini-stats: single column on small phones */
  .mini-stats { grid-template-columns: 1fr; }
  .mini-stats > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); padding-top: 14px; margin-top: 4px; }
  .mini-stats > div:nth-child(3) { grid-column: auto; }

  /* Kinetic marquee: reduce min font size */
  .kinetic__row { font-size: clamp(2rem, 8vw, 3.2rem); }

  /* Prevent horizontal overflow on sections with abs children */
  .trust, .intro, .solutions, .industries, .why, .stats, .testimonials { overflow: hidden; }
}

/* --------------------------------------------------------------------------
   26a. Products Home Spotlight
   -------------------------------------------------------------------------- */

/* ---- Featured product dark panel ---- */
.prod-feat {
  position: relative;
  margin-top: clamp(40px, 5vw, 64px);
  border-radius: 22px;
  overflow: hidden;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,.08);
}
.prod-feat__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.prod-feat__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
}
.prod-feat .glow--orange {
  width: 640px; height: 640px;
  top: -260px; right: 2%;
  background: radial-gradient(ellipse at center, rgba(245,122,0,.30) 0%, transparent 65%);
}
.prod-feat .glow--blue {
  width: 520px; height: 520px;
  bottom: -180px; left: 5%;
  background: radial-gradient(ellipse at center, rgba(26,154,214,.18) 0%, transparent 65%);
}

/* ---- Left info column ---- */
.prod-feat__info {
  position: relative;
  z-index: 1;
  padding: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 52px);
}
.prod-feat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.prod-feat__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  border-radius: 13px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.prod-feat__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: 99px;
  border: 1px solid rgba(74,222,128,.30);
  color: #4ade80;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .03em;
}
.prod-feat__live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: prodLivePulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes prodLivePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74,222,128,.5); }
  50%       { opacity: .6; box-shadow: 0 0 0 4px rgba(74,222,128,0); }
}
.prod-feat__cat {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.prod-feat__name {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 1.4rem + 3.2vw, 4.6rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.03em;
  line-height: 1;
  color: #fff;
  margin: 0 0 14px;
}
.prod-feat__tagline {
  font-size: clamp(1rem, .92rem + .36vw, 1.18rem);
  line-height: 1.55;
  color: var(--on-dark-muted);
  margin: 0 0 clamp(24px, 3vw, 36px);
  max-width: 36ch;
}

/* Stats row */
.prod-feat__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: clamp(22px, 2.8vw, 32px);
}
.prod-feat__stats > div {
  padding: clamp(14px, 1.8vw, 20px) clamp(8px, 1.2vw, 14px) clamp(14px, 1.8vw, 20px) 0;
}
.prod-feat__stats > div + div {
  padding-left: clamp(8px, 1.2vw, 14px);
  border-left: 1px solid rgba(255,255,255,.1);
}
.prod-feat__stats strong {
  display: block;
  font-size: clamp(1.5rem, .9rem + 1.5vw, 2.4rem);
  font-weight: 300;
  letter-spacing: -.05em;
  line-height: 1;
  color: #fff;
}
.prod-feat__stats span {
  display: block;
  margin-top: 5px;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--on-dark-muted);
}

/* Feature tags */
.prod-feat__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.prod-feat__tags span {
  padding: 5px 14px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
  color: var(--on-dark-muted);
  letter-spacing: .01em;
  transition: border-color .2s, color .2s;
}
.prod-feat__tags span:hover { border-color: rgba(255,255,255,.3); color: #fff; }

/* Actions */
.prod-feat__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
.prod-feat__actions .link-underline { color: var(--on-dark-muted); }
.prod-feat__actions .link-underline::after { background: var(--on-dark-muted); }
.prod-feat__actions .link-underline:hover { color: #fff; }
.prod-feat__actions .link-underline:hover::after { background: #fff; }

/* ---- Right visual column ---- */
.prod-feat__visual {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 3vw, 44px) clamp(24px, 3.5vw, 44px) clamp(24px, 3vw, 44px) 0;
  display: flex;
  align-items: center;
}
.prod-feat__mock-wrap {
  position: relative;
  width: 100%;
}
.prod-feat__mock-wrap .mock {
  max-width: 100%;
  transform: perspective(1100px) rotateY(-8deg) rotateX(3deg);
  transition: transform .6s cubic-bezier(.22,1,.36,1);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.06);
}
.prod-feat__mock-wrap:hover .mock {
  transform: perspective(1100px) rotateY(-3deg) rotateX(1deg);
}

/* Floating pills */
.prod-feat__pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border-radius: 14px;
  background: rgba(15,23,41,.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.13);
  z-index: 3;
  white-space: nowrap;
}
.prod-feat__pill--a { top: 8%; right: -2%; animation: prodFloat 5s ease-in-out infinite; }
.prod-feat__pill--b { bottom: 14%; right: -2%; animation: prodFloat 5s ease-in-out 2s infinite; }
@keyframes prodFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-7px); }
}
.prod-feat__pill-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(245,122,0,.35), rgba(245,184,0,.2));
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.prod-feat__pill-text .mono {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
}
.prod-feat__pill-text strong {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  display: block;
  margin-top: 2px;
}

/* ---- In-build strip ---- */
.prod-coming {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  flex-wrap: wrap;
  margin-top: clamp(14px, 1.8vw, 20px);
  padding: clamp(18px, 2vw, 24px) clamp(22px, 2.8vw, 32px);
  border-radius: 14px;
  border: 1px solid var(--border);
}
.prod-coming__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.prod-coming__info .mono {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
}
.prod-coming__info strong {
  font-size: clamp(1rem, .9rem + .4vw, 1.22rem);
  font-weight: 400;
  letter-spacing: -.03em;
  color: var(--text);
}
.prod-coming__info p { margin: 2px 0 0; font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 55ch; }
.prod-coming__cards { display: flex; gap: 10px; flex-shrink: 0; }
.prod-coming__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 118px; min-height: 78px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px dashed var(--border-strong);
  background: rgba(15,23,41,.03);
}
.prod-coming__card-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--muted);
}
.prod-coming__card-name { font-size: 12px; font-weight: 500; color: var(--text); margin-top: 8px; }
.prod-coming__card-tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 10px;
  padding: 2px 9px;
  border-radius: 99px;
  background: rgba(245,122,0,.10);
  color: var(--primary);
  font-weight: 500;
  letter-spacing: .04em;
}
@media (max-width: 991px) {
  .prod-feat__visual { padding: 0 clamp(20px, 4vw, 36px) clamp(28px, 4vw, 44px); }
  .prod-feat__mock-wrap .mock { transform: none; }
  .prod-feat__pill { display: none; }
}
@media (max-width: 767px) {
  .prod-coming__cards { display: none; }
}
@media (max-width: 575px) {
  /* Stack prod-feat stats to 2-col on small phones */
  .prod-feat__stats { grid-template-columns: repeat(2, 1fr); }
  .prod-feat__stats > div:last-child { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(255,255,255,.1); padding-left: 0; padding-top: 14px; }
}

/* --------------------------------------------------------------------------
   26. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal], .js [data-stagger], .js [data-split], .js .hero-anim, .js .float-chip { opacity: 1; }
  .js .hero__title .line__inner, .js .hero__rule { transform: none; }
  .js .site-header { opacity: 1; }
}

/* Technology logos on the orbit badges. Inline SVG symbols (see the sprite in index.html),
   coloured per brand, switching to white when the badge goes dark on hover. */
.tech b .ti { flex: none; width: 16px; height: 16px; fill: var(--bc, currentColor); transition: fill .35s; }
.tech b::before { display: none; }
.tech:hover b .ti,
.tech:focus-visible b .ti { fill: #fff; }
.ti--openai { --bc: #412991; }
.ti--anthropic { --bc: #D97757; }
.ti--langchain { --bc: #1C3C3C; }
.ti--n8n { --bc: #EA4B71; }
.ti--huggingface { --bc: #F2B705; }
.ti--pytorch { --bc: #EE4C2C; }
.ti--react { --bc: #2AA9D0; }
.ti--nextjs { --bc: #111111; }
.ti--typescript { --bc: #3178C6; }
.ti--tailwind { --bc: #06B6D4; }
.ti--flutter { --bc: #02569B; }
.ti--python { --bc: #3776AB; }
.ti--nodejs { --bc: #5FA04E; }
.ti--laravel { --bc: #FF2D20; }
.ti--aws { --bc: #F59500; }
.ti--docker { --bc: #2496ED; }
.ti--kubernetes { --bc: #326CE5; }
.ti--postgresql { --bc: #4169E1; }
.ti--mongodb { --bc: #47A248; }
.ti--snowflake { --bc: #29B5E8; }
.ti--airflow { --bc: #017CEE; }
.ti--dbt { --bc: #FF694B; }
.ti--kafka { --bc: #231F20; }
.ti--wix { --bc: #0C6EFC; }
.ti--squarespace { --bc: #111111; }
.ti--bigcartel { --bc: #222222; }
.ti--shopify { --bc: #5E8E3E; }
.ti--wordpress { --bc: #21759B; }

/* ---------- Blog CTA (home) ---------- */
.blog-cta__panel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: center; padding: clamp(28px, 4vw, 56px); border: 1px solid var(--line, rgba(15,23,42,.1)); border-radius: 28px; background: linear-gradient(135deg, rgba(255,255,255,.85), rgba(255,244,230,.7)); box-shadow: 0 30px 70px -40px rgba(20,30,60,.25); }
.blog-cta__lead .display-lg { margin: 14px 0 16px; }
.blog-cta__lead .text-muted-2 { max-width: 46ch; margin: 0 0 26px; }
.blog-cta__topics { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.blog-cta__topics a { position: relative; display: grid; grid-template-columns: auto 1fr auto; column-gap: 16px; align-items: center; padding: 16px 20px; border: 1px solid var(--line, rgba(15,23,42,.1)); border-radius: 18px; background: rgba(255,255,255,.75); color: inherit; text-decoration: none; transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s, box-shadow .35s; }
.blog-cta__topics a:hover { transform: translateX(6px); border-color: rgba(245,158,11,.55); box-shadow: 0 18px 40px -26px rgba(245,158,11,.6); }
.blog-cta__topics .mono { grid-row: 1 / span 2; font-size: .72rem; letter-spacing: .12em; color: #d97706; }
.blog-cta__topics strong { font-weight: 600; font-size: 1.05rem; }
.blog-cta__topics em { grid-column: 2; font-style: normal; font-size: .9rem; opacity: .65; }
.blog-cta__topics .i { grid-row: 1 / span 2; grid-column: 3; width: 18px; height: 18px; }
@media (max-width: 900px) { .blog-cta__panel { grid-template-columns: 1fr; border-radius: 22px; } }
.hero__footer .scroll-badge { margin-left: auto; }
