/* ==========================================================================
   Inprodi Web Studio
   ========================================================================== */

@font-face {
  font-family: "Product Sans";
  src: url("../fonts/ProductSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Product Sans";
  src: url("../fonts/ProductSans-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Product Sans";
  src: url("../fonts/ProductSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050b1a;
  --bg-deep: #030713;
  --surface: rgba(120, 165, 255, 0.04);
  --surface-2: rgba(120, 165, 255, 0.07);
  --line: rgba(140, 180, 255, 0.09);
  --line-strong: rgba(140, 190, 255, 0.28);
  --text: #eaf1ff;
  --muted: #8fa3c7;
  --dim: #5b6f96;
  --blue: #3d7bff;
  --cyan: #19d3ff;
  --sky: #8fdcff;
  --grad: linear-gradient(120deg, #3d7bff 0%, #19d3ff 100%);

  --font: "Product Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 5vw, 96px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 22px;

  --mx: 50vw;
  --my: 40vh;
}

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

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; }
::selection { background: var(--cyan); color: var(--bg-deep); }

@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
}

/* ---------- Preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--bg-deep);
}
.loader__iso { width: 64px; animation: pulse 1.4s var(--ease) infinite; }
.loader__count {
  position: absolute; right: var(--gutter); bottom: 32px;
  font-size: clamp(64px, 12vw, 160px); font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--line-strong);
  font-variant-numeric: tabular-nums;
}
@keyframes pulse { 50% { transform: scale(.88); opacity: .6; } }

/* ---------- Cursor ---------- */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 90; display: none; }
body.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring {
  position: fixed; top: 0; left: 0;
  border-radius: 50%;
  will-change: transform;
}
.cursor__dot {
  width: 6px; height: 6px; margin: -3px 0 0 -3px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(143, 220, 255, .45);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease),
              background-color .45s var(--ease), border-color .45s var(--ease);
}
.cursor__label {
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
  color: var(--bg-deep); opacity: 0; transform: scale(.6);
  transition: opacity .3s, transform .45s var(--ease);
}
.cursor.is-hover .cursor__ring {
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  background: rgba(25, 211, 255, .08); border-color: var(--cyan);
}
.cursor.is-card .cursor__ring,
.cursor.is-cta .cursor__ring {
  width: 96px; height: 96px; margin: -48px 0 0 -48px;
  background: var(--sky); border-color: transparent;
  mix-blend-mode: normal;
}
.cursor.is-card .cursor__label,
.cursor.is-cta .cursor__label { opacity: 1; transform: none; }
.cursor.is-card .cursor__dot,
.cursor.is-cta .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { transform-origin: center; scale: .85; }

/* ---------- Fondo ---------- */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(320px circle at var(--mx) var(--my), #000 0%, transparent 70%);
          mask-image: radial-gradient(320px circle at var(--mx) var(--my), #000 0%, transparent 70%);
  opacity: .35;
}
.bg__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(500px circle at var(--mx) var(--my), rgba(61, 123, 255, .06), transparent 60%),
    radial-gradient(1000px circle at 0% 20%, rgba(20, 50, 130, .14), transparent 60%);
}
.bg__noise {
  position: absolute; inset: -50%;
  opacity: .05;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Navegación ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--gutter);
  transition: background-color .4s, backdrop-filter .4s, padding .4s var(--ease), transform .5s var(--ease);
}
.nav.is-scrolled {
  padding-top: 14px; padding-bottom: 14px;
  background: rgba(3, 7, 19, .7);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo img { width: 150px; height: auto; }
.nav__links { display: flex; gap: 36px; font-size: 15px; color: var(--muted); }
.nav__links a { position: relative; transition: color .3s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--cyan); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__burger { display: none; }
.mobile-menu { display: none; }

/* ---------- Botones ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 700; letter-spacing: .01em;
  transition: color .35s, background-color .35s, border-color .35s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn--primary {
  color: var(--bg-deep);
  background: var(--grad);
  box-shadow: 0 10px 30px -14px rgba(25, 211, 255, .35);
  overflow: hidden;
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0;
  background: var(--sky);
  transform: translateY(101%); border-radius: 50% 50% 0 0;
  transition: transform .55s var(--ease), border-radius .55s var(--ease);
}
.btn--primary:hover::before { transform: none; border-radius: 0; }
.btn--primary > * { position: relative; }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--text); padding: 11px 20px; }
.btn--ghost:hover { border-color: var(--cyan); background: rgba(25, 211, 255, .08); }
.btn--link { color: var(--muted); padding-inline: 8px; }
.btn--link:hover { color: var(--text); }

/* ---------- Utilidades ---------- */
.section-tag {
  margin: 0 0 28px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cyan);
}
.section-title {
  margin: 0; font-size: clamp(38px, 5.6vw, 84px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700;
}
.section-title em, .hero__title em, .cta__title em,
.section-title em .w > span, .hero__title em .w > span, .cta__title em .w > span {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; will-change: transform; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; align-items: center;
  padding: 140px var(--gutter) 120px;
}
.hero__canvas {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 58%; height: 100%;
}
.hero__content { position: relative; max-width: 760px; z-index: 2; pointer-events: none; }
.hero__content a { pointer-events: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 24px;
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
@keyframes blink { 50% { opacity: .3; } }
.hero__title {
  margin: 0; font-weight: 700;
  font-size: clamp(44px, 6vw, 92px); line-height: 1; letter-spacing: -.045em;
}
.hero__sub { margin: 28px 0 0; max-width: 420px; font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 40px; }
.hero__foot {
  position: absolute; left: var(--gutter); bottom: 36px;
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim);
}
.hero__line { position: relative; width: 56px; height: 1px; background: var(--line-strong); overflow: hidden; }
.hero__line i { position: absolute; inset: 0; background: var(--cyan); transform: translateX(-100%); animation: line 2.4s var(--ease) infinite; }
@keyframes line { 60%, 100% { transform: translateX(100%); } }

/* ---------- Índice de servicios ---------- */
.capabilities {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.capabilities a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 26px 0;
  font-size: 16px; color: var(--muted);
  transition: color .3s;
}
.capabilities a + a { padding-left: 24px; border-left: 1px solid var(--line); }
.capabilities a span { font-size: 12px; letter-spacing: .14em; color: var(--dim); transition: color .3s; }
.capabilities a:hover { color: var(--text); }
.capabilities a:hover span { color: var(--cyan); }

/* ---------- Nosotros ---------- */
.about { padding: clamp(100px, 14vw, 180px) var(--gutter); }
.about__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 8vw, 140px);
}
.about__lead {
  margin: 0; max-width: 680px;
  font-size: clamp(20px, 1.9vw, 26px); line-height: 1.5; color: var(--text);
}
.stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.stat { padding-top: 32px; display: flex; flex-direction: column; gap: 10px; }
.stat + .stat { padding-left: clamp(24px, 3vw, 48px); border-left: 1px solid var(--line); }
.stat__num {
  font-size: clamp(40px, 4.6vw, 72px); font-weight: 700; letter-spacing: -.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__plus { color: var(--cyan); }
.stat__label { color: var(--muted); font-size: 15px; }

/* ---------- Servicios ---------- */
.services { padding: 0 var(--gutter) clamp(100px, 14vw, 180px); }
.services__head { margin-bottom: clamp(48px, 7vw, 90px); }
.cards {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
  perspective: 1200px;
}
.card {
  --cx: 50%; --cy: 50%; --rx: 0deg; --ry: 0deg;
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 30, 62, .45), rgba(7, 15, 34, .7));
  border: 1px solid var(--line);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .6s var(--ease), border-color .4s;
  overflow: hidden;
  isolation: isolate;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px circle at var(--cx) var(--cy), rgba(61, 123, 255, .22), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: radial-gradient(260px circle at var(--cx) var(--cy), var(--cyan), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.card:hover::before, .card:hover::after { opacity: 1; }
.card.is-active { transition: transform .15s linear, border-color .4s; }

.card__visual {
  position: relative; height: 240px; overflow: hidden;
  display: grid; place-items: center;
  border-bottom: 1px solid var(--line);
}
.card__visual [data-depth] { transition: transform .5s var(--ease); }
.card__body { padding: 26px 24px 30px; }
.card__num { font-size: 13px; color: var(--cyan); letter-spacing: .14em; }
.card h3 { margin: 10px 0 12px; font-size: 22px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* Visual: Web */
.browser {
  width: 78%; border-radius: 10px; overflow: hidden;
  background: #0d1c3c; border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
}
.browser__bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.browser__bar span { flex: 1; height: 8px; margin-left: 8px; border-radius: 4px; background: var(--surface-2); }
.browser__body { position: relative; padding: 14px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; }
.b-hero { display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.b-hero span { height: 8px; border-radius: 4px; background: rgba(234, 241, 255, .7); }
.b-hero span + span { width: 70%; background: rgba(234, 241, 255, .3); }
.b-hero em { width: 44%; height: 14px; margin-top: 6px; border-radius: 7px; background: var(--grad); }
.b-img { height: 84px; border-radius: 8px; background: linear-gradient(135deg, #3d7bff, #19d3ff 60%, #8fdcff); opacity: .85; }
.b-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.b-row i { height: 30px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); }

/* Visual: Shop */
.shop { position: relative; display: flex; gap: 12px; }
.shop__item {
  width: 104px; padding: 8px; border-radius: 12px;
  background: #0d1c3c; border: 1px solid var(--line-strong);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6);
}
.shop__img { height: 84px; border-radius: 8px; background: radial-gradient(circle at 30% 30%, #8fdcff, #3d7bff 70%); }
.shop__img--2 { background: radial-gradient(circle at 70% 30%, #19d3ff, #1b3d8a 75%); }
.shop__item span { display: block; height: 6px; width: 70%; margin: 10px 0 6px; border-radius: 3px; background: rgba(234, 241, 255, .5); }
.shop__item b { font-size: 12px; color: var(--sky); }
.shop__cart {
  position: absolute; right: -26px; top: -22px;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad); color: var(--bg-deep);
  box-shadow: 0 12px 30px -8px rgba(25, 211, 255, .7);
}
.shop__cart svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.shop__badge {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: #fff; color: var(--bg-deep);
  font-size: 11px; font-weight: 700; display: grid; place-items: center;
}
.shop__badge.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }

/* Visual: Code */
.v-code { place-items: start; }
.code {
  margin: 0; padding: 18px 18px 0; width: 100%; height: 100%;
  font: 11.5px/1.65 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: #a9b8d6; white-space: pre; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
          mask-image: linear-gradient(180deg, #000 70%, transparent);
}
.code .k { color: #6ea8ff; }
.code .s { color: #8fdcff; }
.code .f { color: #19d3ff; }
.code .c { color: var(--dim); }
.code .caret { display: inline-block; width: 7px; height: 13px; margin-bottom: -2px; background: var(--cyan); animation: blink 1s steps(1) infinite; }

/* Visual: Producto */
.flow { width: 92%; overflow: visible; }
.flow__line { fill: none; stroke: var(--line-strong); stroke-width: 1.4; stroke-dasharray: 4 5; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.phone rect:first-child { fill: #0d1c3c; stroke: var(--line-strong); }
.phone__ui { fill: rgba(143, 220, 255, .35); }
.phone--accent rect { fill: url(#none); fill: rgba(25, 211, 255, .12); stroke: var(--cyan); }
.phone__check { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset .8s var(--ease) .1s; }
.card:hover .phone__check { stroke-dashoffset: 0; }

/* ---------- Proceso ---------- */
.process { position: relative; }
.process__pin {
  min-height: 100vh; display: flex; align-items: center; gap: clamp(40px, 6vw, 100px);
  padding: 120px 0 120px var(--gutter); overflow: hidden;
}
.process__intro { flex: 0 0 auto; width: min(420px, 34vw); }
.process__bar { margin-top: 40px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.process__bar span { display: block; height: 100%; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.process__viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; padding-block: 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px); mask-image: linear-gradient(90deg, transparent, #000 48px); }
.process__track { display: flex; gap: 20px; width: max-content; padding-left: 48px; padding-right: var(--gutter); will-change: transform; }
.step {
  flex: 0 0 auto; width: clamp(300px, 30vw, 420px); min-height: 380px;
  padding: 36px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
  display: flex; flex-direction: column;
  transition: background-color .4s, border-color .4s, transform .6s var(--ease);
}
.step:hover { background: var(--surface-2); border-color: var(--line-strong); transform: translateY(-6px); }
.step__num {
  font-size: 96px; font-weight: 700; line-height: 1; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px var(--line-strong);
  transition: -webkit-text-stroke-color .4s, color .4s;
}
.step:hover .step__num { color: var(--cyan); -webkit-text-stroke-color: transparent; }
.step h3 { margin: auto 0 12px; font-size: 30px; letter-spacing: -.02em; }
.step p { margin: 0; color: var(--muted); }

/* ---------- CTA ---------- */
.cta {
  position: relative; text-align: center;
  padding: clamp(120px, 18vw, 240px) var(--gutter);
  display: flex; flex-direction: column; align-items: center;
}
.cta__title { margin: 0; font-size: clamp(44px, 8vw, 128px); line-height: 1; letter-spacing: -.045em; font-weight: 700; }
.cta__btn {
  margin-top: clamp(48px, 6vw, 80px);
  width: clamp(150px, 16vw, 210px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad); color: var(--bg-deep);
  font-size: 19px; font-weight: 700;
  box-shadow: 0 0 0 0 rgba(25, 211, 255, .4), 0 20px 80px -10px rgba(25, 211, 255, .55);
  animation: ring 2.6s infinite;
}
.cta__btn-inner { display: flex; align-items: center; gap: 8px; }
.cta__btn svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; }
@keyframes ring { 70%, 100% { box-shadow: 0 0 0 40px rgba(25, 211, 255, 0), 0 20px 80px -10px rgba(25, 211, 255, .55); } }

/* ---------- Footer ---------- */
.footer { position: relative; padding: 60px var(--gutter) 0; border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__top img { width: 140px; height: auto; }
.footer__top nav { display: flex; gap: 28px; flex-wrap: wrap; color: var(--muted); font-size: 15px; }
.footer__top nav a:hover { color: var(--text); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 40px; font-size: 13px; color: var(--dim);
}
.footer__giant {
  margin-top: 24px; margin-bottom: -.22em;
  font-size: 27vw; font-weight: 700; line-height: .9; letter-spacing: -.06em; text-align: center;
  background: linear-gradient(180deg, rgba(61, 123, 255, .18), transparent 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}

/* ---------- Animación de entrada (estado inicial; JS lo anima) ---------- */
.js .reveal-up, .js .reveal { opacity: 0; transform: translateY(24px); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger {
    display: grid; gap: 6px; padding: 10px; margin-right: -10px;
    background: none; border: 0; cursor: pointer;
  }
  .nav__burger span { display: block; width: 26px; height: 2px; background: var(--text); transition: transform .4s var(--ease); }
  .nav.is-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu {
    position: fixed; inset: 0; z-index: 40;
    display: flex; flex-direction: column; justify-content: center; gap: 12px;
    padding: 0 var(--gutter);
    background: rgba(3, 7, 19, .97);
    opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  .mobile-menu a { font-size: 44px; font-weight: 700; letter-spacing: -.03em; }
  .mobile-menu.is-open { opacity: 1; visibility: visible; }

  .hero { align-items: end; padding-top: 120px; }
  .hero__canvas { width: 100%; height: 60%; opacity: .45; }

  .capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capabilities a:nth-child(3) { padding-left: 0; border-left: 0; }
  .capabilities a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about__grid { grid-template-columns: 1fr; }

  .process__pin { flex-direction: column; align-items: stretch; padding: 100px var(--gutter); min-height: 0; }
  .process__intro { width: auto; }
  .process__bar { display: none; }
  .process__viewport { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .process__track { flex-direction: column; width: auto; padding: 0; }
  .step { width: auto; min-height: 0; }
  .step h3 { margin-top: 32px; }
  .step__num { font-size: 64px; }
}

@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 32px; }
  .capabilities a { font-size: 14px; gap: 10px; padding-block: 20px; }
  .capabilities a + a { padding-left: 16px; }
  .capabilities a:nth-child(3) { padding-left: 0; }
  .cards { grid-template-columns: 1fr; }
  .card__visual { height: 210px; }
  .footer__top nav { gap: 18px; }
}

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