/* =========================================================
   RUX SOLUTIONS — styles
   Palette taken from the logo: cyan #00C8FF → electric blue #0A4BFF on deep navy
   ========================================================= */

:root {
  --bg: #04070f;
  --bg-2: #070c19;
  --ink: #f3f7ff;
  --sub: #9aa8bf;
  --mute: #6b7891;
  --cyan: #00c8ff;
  --blue: #0a4bff;
  --blue-2: #2c6bff;
  --line: rgba(170, 200, 255, .14);
  --line-2: rgba(170, 200, 255, .24);
  --grad: linear-gradient(120deg, #00c8ff 0%, #0a4bff 62%, #0a3bd6 100%);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.25, .8, .35, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --pad: clamp(20px, 4vw, 56px);
  --radius-xl: clamp(28px, 4vw, 56px);
  --font: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(0, 200, 255, .28); color: #fff; }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid #7fdcff; outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- shared bits ---------- */

.grad-text {
  background: linear-gradient(100deg, #7fe3ff 0%, #33a4ff 40%, #2c6bff 75%, #6f9bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.grad-title {
  background: linear-gradient(180deg, #5d6c86 0%, #dbe7f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.big-title {
  font-weight: 800;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.035em;
  text-align: center;
  font-size: clamp(3rem, 12vw, 168px);
}

.label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sub);
}
.label--center { text-align: center; }

.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #dcecff;
  padding: 7px 14px;
  border-left: 2px solid var(--cyan);
  background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.glass {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .085) 0%, rgba(255, 255, 255, .035) 100%),
    linear-gradient(90deg, rgba(0, 200, 255, .05) 0%, rgba(10, 75, 255, .05) 100%);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
}

/* ---------- buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  border: 0;
  transition: background .3s ease, color .3s ease, box-shadow .3s ease, opacity .3s ease, transform .3s var(--ease-out);
}
.btn svg { width: 15px; height: 11px; transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--lg { padding: 16px 32px; font-size: 15.5px; }

.btn--grad {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 28px -8px rgba(10, 75, 255, .65), inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.btn--grad:hover { box-shadow: 0 10px 36px -6px rgba(0, 160, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(255, 255, 255, .14); }

.btn--ghost {
  color: var(--ink);
  border: 1.5px solid var(--line-2);
  background: rgba(255, 255, 255, .04);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(190, 215, 255, .4); }

.btn--white { background: #fff; color: #04070f; }
.btn--white:hover { background: rgba(255, 255, 255, .86); }

/* The hero CTA — layered glass, cyan on the left edge, blue on the right */
.cta-glass {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(6, 12, 22, 0) 45%, rgba(6, 12, 22, .12) 78%, rgba(6, 12, 22, .28) 100%),
    linear-gradient(90deg, rgba(0, 200, 255, .22) 0%, rgba(0, 200, 255, .07) 24%, rgba(10, 75, 255, .04) 55%, rgba(10, 75, 255, .2) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .12) 18%, rgba(255, 255, 255, .06) 45%, rgba(255, 255, 255, .04) 100%);
  -webkit-backdrop-filter: blur(24px) saturate(.7);
  backdrop-filter: blur(24px) saturate(.7);
  box-shadow:
    0 -2px 22px rgba(0, 200, 255, .2),
    0 0 36px rgba(10, 75, 255, .25),
    inset 0 1.5px 0 rgba(235, 248, 255, .42);
  transition: box-shadow .4s ease, transform .3s var(--ease-out);
}
.cta-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(240, 250, 255, .9) 0%, rgba(240, 250, 255, .2) 45%, rgba(240, 250, 255, 0) 78%),
    linear-gradient(90deg, rgba(0, 210, 255, .95) 0%, rgba(120, 220, 255, .6) 14%, rgba(220, 230, 245, .03) 34%, rgba(210, 225, 245, .02) 62%, rgba(60, 120, 255, .7) 88%, rgba(40, 100, 255, .95) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.cta-glass:hover {
  box-shadow:
    0 -2px 28px rgba(0, 200, 255, .32),
    0 0 50px rgba(10, 75, 255, .4),
    inset 0 1.5px 0 rgba(235, 248, 255, .55);
}
.cta-glass__arrow { width: 16px; height: 11px; transition: transform .35s var(--ease-out); }
.cta-glass:hover .cta-glass__arrow { transform: translateX(4px); }

/* =========================================================
   NAV
   ========================================================= */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px var(--pad);
  transition: padding .4s var(--ease-out), background .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(4, 7, 15, .78);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
}

.brand { display: inline-flex; align-items: center; gap: 11px; position: relative; z-index: 2; }
.brand__mark { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 4px 14px rgba(0, 140, 255, .35)); }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__word b { font-weight: 800; font-size: 22px; letter-spacing: .02em; }
.brand__word b i {
  font-style: normal;
  background: linear-gradient(60deg, #0a4bff 0%, #00c8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand__word small { font-size: 7.6px; font-weight: 500; letter-spacing: .56em; text-transform: uppercase; margin-top: 4px; color: #c9d5e8; }

.nav__pill {
  display: flex;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav__pill a {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 450;
  color: rgba(243, 247, 255, .8);
  transition: background .25s ease, color .25s ease;
}
.nav__pill a:hover, .nav__pill a.is-active { background: rgba(255, 255, 255, .1); color: #fff; }

.nav__cta { padding: 11px 20px; font-size: 14px; }

.burger {
  display: none;
  position: relative;
  z-index: 2;
  width: 46px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  cursor: pointer;
}
.burger::after { content: ''; position: absolute; inset: -4px; } /* 48px tap target */
.burger span {
  position: absolute;
  left: 14px;
  width: 17px;
  height: 1.6px;
  border-radius: 2px;
  background: #fff;
  transition: transform .55s var(--ease-io), opacity .3s ease, width .45s var(--ease-io);
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 24px; }
.burger:hover span:nth-child(2) { width: 11px; }
.is-menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.is-menu-open .burger span:nth-child(2) { transform: scaleX(0); opacity: 0; }
.is-menu-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- mobile menu (grows out of the burger) ---------- */

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(2, 5, 14, .5);
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, backdrop-filter .8s ease, -webkit-backdrop-filter .8s ease, visibility 0s .8s;
}
.is-menu-open .menu-backdrop {
  opacity: 1;
  visibility: visible;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: opacity .6s ease, backdrop-filter .8s ease, -webkit-backdrop-filter .8s ease, visibility 0s;
}

.menu {
  --bw: 46px; --bh: 40px;
  position: fixed;
  z-index: 45;
  top: 18px;
  right: var(--pad);
  width: min(380px, calc(100vw - 32px));
  padding: 72px 26px 24px;
  border-radius: 24px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, .04) 100%),
    linear-gradient(90deg, rgba(0, 200, 255, .07) 0%, rgba(10, 75, 255, .07) 100%),
    rgba(6, 11, 24, .92);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
  clip-path: inset(0 0 calc(100% - var(--bh)) calc(100% - var(--bw)) round 20px);
  visibility: hidden;
  transition: clip-path .7s var(--ease-io), visibility 0s .7s;
}
.is-menu-open .menu {
  clip-path: inset(0 0 0 0 round 24px);
  visibility: visible;
  transition: clip-path .8s var(--ease-io), visibility 0s;
}
.nav.is-scrolled ~ .menu { top: 12px; }

.menu__item { overflow: hidden; border-bottom: 1px solid var(--line); }
.menu__link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0 10px;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.1;
  transform: translateY(110%);
  transition: transform .5s var(--ease-io), color .3s ease;
}
.is-menu-open .menu__link { transform: none; transition: transform .9s cubic-bezier(.2, .8, .2, 1), color .3s ease; }
.is-menu-open .menu__item:nth-child(1) .menu__link { transition-delay: .3s, 0s; }
.is-menu-open .menu__item:nth-child(2) .menu__link { transition-delay: .36s, 0s; }
.is-menu-open .menu__item:nth-child(3) .menu__link { transition-delay: .42s, 0s; }
.is-menu-open .menu__item:nth-child(4) .menu__link { transition-delay: .48s, 0s; }
.is-menu-open .menu__item:nth-child(5) .menu__link { transition-delay: .54s, 0s; }
.menu__link:hover { color: var(--cyan); }
.menu__link small { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--cyan); transform: translateY(-12px); }
.menu__arrow { margin-left: auto; font-size: 20px; opacity: 0; transform: translateX(-10px); transition: opacity .3s ease, transform .4s cubic-bezier(.2, .7, .2, 1); }
.menu__link:hover .menu__arrow { opacity: 1; transform: none; }

.menu__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .4s ease;
}
.is-menu-open .menu__foot { opacity: 1; transform: none; transition: opacity .6s ease .6s, transform .8s cubic-bezier(.2, .8, .2, 1) .6s; }
.menu__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 7px 0 18px;
  border-radius: 999px;
  background: #fff;
  color: #04070f;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.menu__cta i {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-style: normal;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}
.menu__cta:hover i { transform: rotate(-45deg); }
.menu__social { display: flex; gap: 14px; font-size: 13px; }
.menu__social a { color: var(--sub); transition: color .3s ease; }
.menu__social a:hover { color: #fff; }

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px var(--pad) 120px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 50% at 50% 48%, rgba(10, 75, 255, .35) 0%, rgba(4, 7, 15, 0) 70%),
    var(--bg);
}

.hero__gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero__gl.is-ready { opacity: 1; }

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(90% 46% at 50% 46%, rgba(4, 7, 15, .5) 0%, rgba(4, 7, 15, .2) 55%, rgba(4, 7, 15, 0) 100%),
    linear-gradient(180deg, rgba(4, 7, 15, .5) 0%, rgba(4, 7, 15, 0) 22%, rgba(4, 7, 15, 0) 70%, var(--bg) 100%);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1100px;
}

.hero__title {
  margin-top: 26px;
  font-weight: 500;
  font-size: clamp(2.5rem, 6.4vw, 6.1rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-variation-settings: 'wght' 520;
}
.hero__title .line { display: block; padding: .04em 0 .1em; }
.hero__title .line > span { display: inline-block; }

.hero__sub {
  margin-top: 24px;
  max-width: 600px;
  color: var(--sub);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.6;
  font-weight: 350;
}

.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }
.hero__ctas .btn--ghost { padding: 16px 26px; font-size: 15.5px; }

.feats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
  margin-top: 54px;
}
.feats li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #dbe6f4;
  font-weight: 450;
}
.feats svg { width: 9px; height: 16px; color: rgba(130, 215, 255, .9); }

.hero__bottom {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sub);
}
.scroll-cue__rule {
  position: relative;
  width: 1px;
  height: 46px;
  overflow: hidden;
  background: rgba(180, 205, 240, .2);
}
.scroll-cue__rule::after {
  content: '';
  position: absolute;
  left: 0; top: -40%;
  width: 1px; height: 40%;
  background: linear-gradient(180deg, transparent, var(--cyan));
  animation: drip 2.2s var(--ease-soft) infinite;
}
@keyframes drip { to { top: 110%; } }

.status {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 18px;
  border-radius: 18px;
  transition: border-color .3s ease, background .3s ease;
}
.status:hover { border-color: var(--line-2); }
.status__dot {
  position: relative;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #2ee59d;
  box-shadow: 0 0 12px #2ee59d;
}
.status__dot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid #2ee59d;
  animation: ping 2s ease-out infinite;
}
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.status__text { display: flex; flex-direction: column; gap: 2px; }
.status__text strong { font-size: 14px; font-weight: 550; }
.status__text small { font-size: 12.5px; color: var(--sub); }

/* ---------- hero entrance timeline (retired by JS once done) ---------- */

@media (prefers-reduced-motion: no-preference) {
  @keyframes en-wipe {
    from { clip-path: inset(-.3em 0 calc(100% + .3em) 0); translate: 0 .35em; }
    to   { clip-path: inset(-.3em 0 -.3em 0); translate: 0 0; }
  }
  @keyframes en-lift { from { opacity: 0; translate: 0 14px; } }
  @keyframes en-settle { from { opacity: 0; translate: 0 10px; scale: .97; } }
  @keyframes en-fade { from { opacity: 0; } }

  html:not(.is-entered) .nav            { animation: en-lift .7s var(--ease-soft) .1s backwards; }
  html:not(.is-entered) .e-badge        { animation: en-lift .7s var(--ease-soft) .25s backwards; }
  html:not(.is-entered) .e-l1           { animation: en-wipe 1s var(--ease-out) .35s backwards; }
  html:not(.is-entered) .e-l2           { animation: en-wipe 1s var(--ease-out) .48s backwards; }
  html:not(.is-entered) .e-sub          { animation: en-lift .8s var(--ease-soft) .78s backwards; }
  html:not(.is-entered) .e-cta          { animation: en-settle .9s var(--ease-out) .95s backwards; }
  html:not(.is-entered) .feats li:nth-child(1) { animation: en-lift .6s var(--ease-soft) 1.1s backwards; }
  html:not(.is-entered) .feats li:nth-child(2) { animation: en-lift .6s var(--ease-soft) 1.17s backwards; }
  html:not(.is-entered) .feats li:nth-child(3) { animation: en-lift .6s var(--ease-soft) 1.24s backwards; }
  html:not(.is-entered) .feats li:nth-child(4) { animation: en-lift .6s var(--ease-soft) 1.31s backwards; }
  html:not(.is-entered) .e-foot         { animation: en-fade .8s ease 1.45s backwards; }
}

/* ---------- scroll reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s var(--ease-soft) var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s);
}
[data-reveal="left"] { transform: translateX(-80px); }
[data-reveal="right"] { transform: translateX(80px); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   MARQUEE
   ========================================================= */

.marquee {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.marquee__row { white-space: nowrap; }
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
  will-change: transform;
  font-size: clamp(2.4rem, 6.5vw, 6rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.1;
  text-transform: uppercase;
}
.marquee__track span { color: #e8f0fb; }
.marquee__track i { font-style: normal; font-size: .42em; color: var(--cyan); }
.marquee__row--outline .marquee__track span {
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(140, 180, 240, .55);
}
.marquee__row--outline .marquee__track i { color: var(--blue-2); }

/* =========================================================
   ABOUT
   ========================================================= */

.about {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(80px, 10vw, 140px) var(--pad);
  overflow: hidden;
}
.about__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(22px, 3vw, 34px);
}
.about__text {
  max-width: 640px;
  margin-top: clamp(10px, 2vw, 26px);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.6;
  font-weight: 450;
  color: #dbe6f4;
}
.about__text .w { display: inline-block; white-space: nowrap; }
.about__text .c { opacity: .18; transition: opacity .15s linear; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(900px, 100%);
  margin: clamp(30px, 5vw, 60px) 0 clamp(14px, 3vw, 30px);
  text-align: left;
}
.fact { padding: 24px; border-radius: 22px; display: flex; flex-direction: column; gap: 14px; }
.fact strong {
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  letter-spacing: -.04em;
  line-height: 1;
  background: linear-gradient(120deg, #9fe9ff, #3d86ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fact span { font-size: 14px; line-height: 1.55; color: var(--sub); }

/* decorative floating shapes */
.shard { position: absolute; z-index: 0; pointer-events: none; }
.shard > * { animation: float 9s ease-in-out infinite; }
.shard--a { top: 7%; left: 4%; width: clamp(90px, 13vw, 190px); }
.shard--a svg { width: 100%; height: auto; aspect-ratio: 1; filter: drop-shadow(0 20px 40px rgba(10, 75, 255, .45)); transform: rotate(-12deg); }
.orb {
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffffff 0%, #9fdcff 10%, #2c6bff 45%, #061a5c 85%);
  box-shadow: 0 30px 60px -10px rgba(10, 75, 255, .5), inset -10px -14px 30px rgba(0, 0, 0, .35);
  animation: float 11s ease-in-out infinite;
}
.orb--cyan { background: radial-gradient(circle at 32% 28%, #ffffff 0%, #b5f1ff 10%, #00c8ff 42%, #004a8c 88%); }
.shard--b { bottom: 10%; left: 9%; width: clamp(56px, 7vw, 110px); aspect-ratio: 1; }
.shard--c { top: 10%; right: 7%; width: clamp(64px, 9vw, 140px); aspect-ratio: 1; animation-delay: -4s; }
.ring {
  border-radius: 50%;
  border: clamp(10px, 1.4vw, 18px) solid transparent;
  background: linear-gradient(var(--bg), var(--bg)) padding-box, linear-gradient(140deg, #00c8ff, #0a4bff 60%, rgba(10, 75, 255, .1)) border-box;
  box-shadow: 0 30px 60px -20px rgba(0, 160, 255, .45);
  animation: float 10s ease-in-out infinite reverse;
}
.shard--d { bottom: 9%; right: 9%; width: clamp(80px, 11vw, 170px); aspect-ratio: 1; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -18px; } }

/* =========================================================
   SERVICES (light section)
   ========================================================= */

.services {
  position: relative;
  z-index: 1;
  background: #f5f8fd;
  color: #04070f;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: clamp(80px, 10vw, 140px) var(--pad) clamp(120px, 14vw, 200px);
}
.services__title { color: #04070f; margin-bottom: clamp(50px, 7vw, 110px); }
.svc { max-width: 1100px; margin: 0 auto; }
.svc__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
  padding: clamp(28px, 3.6vw, 48px) 0;
  border-top: 1px solid rgba(4, 7, 15, .14);
  cursor: default;
}
.svc__item:last-child { border-bottom: 1px solid rgba(4, 7, 15, .14); }
.svc__num {
  flex: none;
  width: 1.25em;
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 130px);
  line-height: .85;
  letter-spacing: -.05em;
  color: #04070f;
  transition: color .4s ease;
}
.svc__item:hover .svc__num {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.svc__body h3 { font-size: clamp(1.1rem, 2.2vw, 2rem); font-weight: 600; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.15; }
.svc__body p { margin-top: 10px; max-width: 640px; font-size: clamp(.9rem, 1.45vw, 1.15rem); font-weight: 350; line-height: 1.6; color: rgba(4, 7, 15, .6); }
.svc__arrow {
  flex: none;
  margin-left: auto;
  width: clamp(22px, 2.6vw, 34px);
  height: auto;
  aspect-ratio: 16 / 11;
  color: var(--blue);
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity .35s ease, transform .5s var(--ease-out);
}
.svc__item:hover .svc__arrow { opacity: 1; transform: none; }

/* =========================================================
   WORK — sticky stacking cards
   ========================================================= */

.work {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--radius-xl) * -1.3);
  background: var(--bg);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: clamp(80px, 10vw, 130px) var(--pad) clamp(60px, 8vw, 100px);
}
.work .big-title { margin: 14px 0 clamp(40px, 6vw, 80px); }

.stack { max-width: 1280px; margin: 0 auto; }
.stack__item { height: 88vh; min-height: 640px; }
.stack__item:last-child { height: auto; min-height: 0; }
.card {
  position: sticky;
  top: calc(96px + var(--i) * 28px);
  transform-origin: 50% 0;
  will-change: transform;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--line-2);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(10, 75, 255, .14) 0%, rgba(10, 75, 255, 0) 60%),
    linear-gradient(180deg, #0a1122 0%, #060b17 100%);
  padding: clamp(16px, 2.4vw, 32px);
  box-shadow: 0 -20px 60px -30px rgba(0, 0, 0, .8);
}
.card__head {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(6px, 1vw, 12px) clamp(6px, 1.2vw, 16px) clamp(18px, 2.4vw, 30px);
}
.card__num {
  flex: none;
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 110px);
  line-height: .85;
  letter-spacing: -.05em;
  background: linear-gradient(180deg, #5d6c86 0%, #dbe7f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.card__meta { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.card__cat { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.card__name { font-size: clamp(1.25rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
.card__desc { font-size: clamp(.85rem, 1.2vw, 1rem); color: var(--sub); max-width: 520px; font-weight: 350; }
.card__btn { margin-left: auto; flex: none; }

.card__grid { display: grid; grid-template-columns: 40fr 60fr; gap: clamp(10px, 1.4vw, 18px); }
.card__col { display: grid; grid-template-rows: clamp(120px, min(16vw, 22vh), 230px) clamp(140px, min(21vw, 31vh), 320px); gap: clamp(10px, 1.4vw, 18px); }
.shot {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 0 0;
  border-radius: clamp(22px, 3vw, 40px);
  border: 1px solid var(--line);
  background: #f3f5fa;
}
.card__grid > .shot { min-height: 100%; }

/* =========================================================
   PROCESS
   ========================================================= */

.process {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(40px, 6vw, 100px);
  max-width: 1380px;
  margin: 0 auto;
  padding: clamp(80px, 10vw, 150px) var(--pad);
}
.process__copy { max-width: 560px; }
.process__title { margin-top: 22px; font-size: clamp(2.8rem, 6vw, 5.4rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; }
.process__body { margin-top: 22px; max-width: 440px; color: var(--sub); font-size: clamp(.95rem, 1.2vw, 1.08rem); font-weight: 350; }
.process__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.steps { width: 100%; max-width: 500px; border-radius: 26px; padding: 0 clamp(20px, 2.4vw, 30px); }
.steps li { display: flex; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps li > span { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--mute); padding-top: 4px; }
.steps h3 { display: flex; align-items: center; gap: 10px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); font-weight: 550; }
.steps h3 svg { width: 7px; height: 13px; color: rgba(170, 200, 240, .45); transition: transform .3s ease, color .3s ease; }
.steps li:hover h3 svg { transform: translateX(3px); color: var(--cyan); }
.steps p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--sub); }

/* =========================================================
   CONTACT
   ========================================================= */

.contact {
  position: relative;
  padding: clamp(80px, 10vw, 140px) var(--pad) clamp(80px, 10vw, 130px);
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.contact__glow {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(1100px, 140vw);
  aspect-ratio: 2 / 1;
  transform: translate(-50%, -55%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(10, 75, 255, .45) 0%, rgba(0, 200, 255, .12) 45%, rgba(4, 7, 15, 0) 72%);
  pointer-events: none;
  filter: blur(10px);
}
.contact__title {
  position: relative;
  margin-top: 18px;
  text-align: center;
  font-size: clamp(2.6rem, 7.4vw, 7rem);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1;
}
.contact__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(16px, 2.4vw, 28px);
  max-width: 1120px;
  margin: clamp(50px, 6vw, 80px) auto 0;
}
.contact__cards { display: flex; flex-direction: column; gap: 14px; }
.ccard {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 22px;
  transition: border-color .3s ease, transform .4s var(--ease-out);
}
.ccard:hover { border-color: rgba(0, 200, 255, .45); }
.ccard__icon { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--grad); box-shadow: 0 8px 24px -8px rgba(10, 75, 255, .7); }
.ccard__icon--wa { background: linear-gradient(140deg, #3be08d, #128c4f); box-shadow: 0 8px 24px -8px rgba(30, 200, 120, .6); }
.ccard__icon svg { width: 23px; height: 23px; color: #fff; }
.ccard__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ccard__text small { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.ccard__text b { font-size: clamp(.98rem, 1.5vw, 1.15rem); font-weight: 550; overflow-wrap: anywhere; }
.ccard__go { flex: none; margin-left: auto; width: 16px; height: 11px; color: var(--sub); transition: transform .35s var(--ease-out), color .3s ease; }
.ccard:hover .ccard__go { transform: translateX(4px); color: var(--cyan); }
.contact__note { padding: 6px 6px 0; font-size: 14.5px; line-height: 1.65; color: var(--sub); }

.form { border-radius: 26px; padding: clamp(20px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sub); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(4, 7, 15, .45);
  font-size: 15px;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, #9aa8bf 50%), linear-gradient(135deg, #9aa8bf 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 17px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 44px; }
.field select option { background: #0a1122; color: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #5c6982; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(0, 200, 255, .6); box-shadow: 0 0 0 4px rgba(0, 200, 255, .12); background: rgba(4, 7, 15, .65); }
.form__send { align-self: flex-start; margin-top: 4px; }
.hp { position: absolute; left: -9999px; }

/* =========================================================
   FOOTER
   ========================================================= */

.foot { position: relative; padding: clamp(50px, 6vw, 80px) var(--pad) 28px; border-top: 1px solid var(--line); overflow: hidden; }
.foot__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 14px; color: var(--sub); }
.foot__links a:hover, .foot__top-link:hover { color: #fff; }
.foot__top-link { font-size: 14px; color: var(--sub); transition: color .3s ease; }
.foot__word {
  margin: clamp(30px, 4vw, 50px) 0 0;
  text-align: center;
  font-weight: 800;
  font-size: clamp(7rem, 33vw, 520px);
  line-height: .78;
  letter-spacing: -.06em;
  color: rgba(120, 150, 210, .26);
  position: relative;
  user-select: none;
}
.foot__word::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 7, 15, 0) 15%, var(--bg) 92%);
}
.foot__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1080px) {
  .nav__pill { display: none; }
  .process { flex-direction: column; align-items: stretch; }
  .steps { max-width: none; }
}

@media (max-width: 860px) {
  .nav__cta { display: none; }
  .burger { display: block; }
  .facts { grid-template-columns: 1fr; max-width: 480px; }
  .card__head { flex-wrap: wrap; }
  .card__btn { margin-left: 0; }
  .card__grid { grid-template-columns: 1fr; }
  .card__col { grid-template-columns: 1fr 1fr; grid-template-rows: none; height: clamp(150px, 34vw, 240px); }
  .card__grid > .shot { min-height: clamp(260px, 60vw, 400px); }
  .stack__item { height: auto; min-height: 0; margin-bottom: 26px; }
  .card { position: relative; top: auto; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav { padding-top: 14px; padding-bottom: 14px; }
  .menu { top: 14px; }
  .brand__mark { width: 30px; height: 30px; }
  .brand__word b { font-size: 19px; }
  .hero { padding-top: 110px; padding-bottom: 150px; justify-content: center; }
  .hero__veil {
    background:
      radial-gradient(130% 44% at 50% 45%, rgba(4, 7, 15, .62) 0%, rgba(4, 7, 15, .3) 55%, rgba(4, 7, 15, 0) 100%),
      linear-gradient(180deg, rgba(4, 7, 15, .5) 0%, rgba(4, 7, 15, 0) 20%, rgba(4, 7, 15, 0) 62%, var(--bg) 100%);
  }
  .hero__title { font-size: clamp(2.3rem, 10.5vw, 3.2rem); text-wrap: balance; }
  .hero__sub { text-wrap: balance; }
  .hero__ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
  .hero__ctas > * { justify-content: center; }
  .feats { display: grid; grid-template-columns: repeat(2, max-content); gap: 14px 24px; margin-top: 40px; }
  .feats li { font-size: 13px; }
  .hero__bottom { justify-content: center; bottom: 24px; }
  .scroll-cue { display: none; }
  .card__col { grid-template-columns: 1fr; height: auto; }
  .card__col > .shot { height: 190px; }
  .card__grid > .shot { min-height: 0; height: auto; aspect-ratio: 16 / 10; }
  .card__btn { width: 100%; }
  .form__row { grid-template-columns: 1fr; }
  .form__send { align-self: stretch; }
  .svc__item { align-items: flex-start; }
  .svc__arrow { display: none; }
  .foot__top { flex-direction: column; align-items: flex-start; }
}

@media (hover: none) {
  .svc__arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .about__text .c { opacity: 1 !important; }
}

/* live links on project cards */
.card__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 4px; }
.card__links a { font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: #8fdcff; border-bottom: 1px solid rgba(0, 200, 255, .3); transition: color .25s ease, border-color .25s ease; }
.card__links a:hover { color: #fff; border-color: var(--cyan); }

/* =========================================================
   CLIENTS — moving logo strip
   ========================================================= */

.clients {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.clients::before {
  content: '';
  position: absolute;
  left: 50%; top: 55%;
  width: min(1200px, 130vw); height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(10, 75, 255, .22) 0%, rgba(0, 200, 255, .06) 45%, rgba(4, 7, 15, 0) 72%);
  pointer-events: none;
}
.clients__head { position: relative; text-align: center; padding: 0 var(--pad); }
.clients__title { margin-top: 18px; font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.04; }
.clients__sub { margin: 20px auto 0; max-width: 520px; color: var(--sub); font-size: clamp(.95rem, 1.2vw, 1.08rem); font-weight: 350; }

.logo-marquee {
  --gap: clamp(14px, 1.6vw, 22px);
  position: relative;
  display: flex;
  gap: var(--gap);
  margin-top: clamp(44px, 6vw, 72px);
  padding: 14px 0 22px;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.logo-track {
  flex: none;
  display: flex;
  gap: var(--gap);
  animation: logos 42s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes logos { to { transform: translateX(calc(-100% - var(--gap))); } }

.logo-tile {
  flex: none;
  width: clamp(220px, 22vw, 290px);
  height: clamp(190px, 17vw, 220px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 18px 22px 16px;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #eef3fb 100%);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .7), inset 0 -1px 0 rgba(10, 30, 80, .06);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.logo-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -20px rgba(0, 0, 0, .75), 0 0 0 2px rgba(0, 200, 255, .55), 0 0 40px -6px rgba(10, 120, 255, .55);
}
.logo-tile__img { flex: 1; min-height: 0; width: 100%; display: grid; place-items: center; }
.logo-tile__img img { max-width: 100%; max-height: clamp(80px, 7.4vw, 104px); width: auto; height: auto; object-fit: contain; }
.logo-tile__img--badge img { max-height: clamp(104px, 9.4vw, 128px); }
.logo-tile__name { margin-top: 8px; font-size: 13.5px; font-weight: 600; color: #0b1020; letter-spacing: -.01em; text-align: center; white-space: nowrap; }
.logo-tile__sector { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #6a7690; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .logo-marquee { flex-wrap: wrap; justify-content: center; -webkit-mask: none; mask: none; padding: 14px var(--pad); }
  .logo-track { flex-wrap: wrap; justify-content: center; }
  .logo-track[aria-hidden="true"] { display: none; }
}
