/* ============ Do Tech — design tokens ============ */
:root {
  --bg: #05060A;
  --surface: #0A0F1E;
  --surface-2: #0E1428;
  --line: rgba(148, 175, 220, 0.14);
  --text: #E8ECF4;
  --muted: #9AA7BC;
  --cyan: #00E5FF;
  --violet: #7C5CFF;
  --red: #FF3355;
  --accent: var(--cyan);
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --nav-h: 72px;
  --pad: clamp(20px, 5vw, 96px);
  --radius: 18px;
  /* z scale */
  --z-gl: 0; --z-content: 10; --z-nav: 50; --z-menu: 60; --z-cursor: 80; --z-pre: 100;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--cyan); color: #04141a; }
.mono { font-family: var(--font-mono); }
h1, h2, h3, .h2, .hero__title, .cta__title, .manifesto__text { font-family: var(--font-head); }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ============ WebGL canvas + fallback ============ */
#gl {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: var(--z-gl);
  pointer-events: none;
}
.gl-fallback {
  position: fixed; inset: 0; z-index: var(--z-gl); display: none;
  background:
    radial-gradient(60% 50% at 70% 20%, rgba(124, 92, 255, 0.16), transparent 70%),
    radial-gradient(50% 45% at 20% 80%, rgba(0, 229, 255, 0.12), transparent 70%),
    var(--bg);
}
body.no-webgl .gl-fallback { display: block; }
body.no-webgl #gl { display: none; }

main { position: relative; z-index: var(--z-content); }

/* ============ Preloader ============ */
.preloader {
  position: fixed; inset: 0; z-index: var(--z-pre);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}
.preloader.done { transform: translateY(-100%); }
.preloader__inner { text-align: center; width: min(320px, 70vw); position: relative; z-index: 2; }
.preloader__grid {
  position: absolute; inset: 0; z-index: 1; opacity: 0.5;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent);
}
.preloader__mark { position: relative; width: 132px; margin: 0 auto 22px; }
.preloader__mark svg {
  width: 100%; height: auto; overflow: visible; display: block;
  filter: drop-shadow(0 0 22px rgba(0, 229, 255, 0.35));
}
.pl-do-d { transform: translateX(-26px); opacity: 0; animation: plSlide 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards; }
.pl-do-o { transform: scale(0); transform-origin: 122px 60px; animation: plPop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s forwards; }
@keyframes plSlide { to { transform: translateX(0); opacity: 1; } }
@keyframes plPop { to { transform: scale(1); } }
.preloader__tech {
  font-family: var(--font-head); font-weight: 600; font-size: 24px; letter-spacing: 0.04em;
  color: var(--text); text-align: center; margin-top: 12px;
  opacity: 0; animation: plFade 0.6s ease-out 0.85s forwards;
}
@keyframes plFade { to { opacity: 1; } }
.preloader__ring {
  position: absolute; left: 50%; top: 34%; width: 190px; height: 190px;
  transform: translate(-50%, -50%); border-radius: 50%;
  border: 1px solid transparent; border-top-color: rgba(0, 229, 255, 0.55); border-right-color: rgba(124, 92, 255, 0.35);
  animation: plOrbit 1.6s linear infinite;
}
@keyframes plOrbit { to { transform: translate(-50%, -50%) rotate(360deg); } }
.preloader__status { font-size: 10.5px; letter-spacing: 0.4em; color: var(--muted); min-height: 16px; }
.preloader__count { font-size: clamp(44px, 9vw, 68px); font-weight: 300; font-variant-numeric: tabular-nums; margin: 10px 0 12px; color: var(--text); }
.preloader__bar { height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.preloader__bar span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--cyan), var(--violet)); box-shadow: 0 0 12px rgba(0, 229, 255, 0.7); }

/* ============ Progress bar ============ */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: var(--z-nav); pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--cyan), var(--violet)); }

/* ============ Cursor ============ */
.cursor {
  position: fixed; top: 0; left: 0; z-index: var(--z-cursor);
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid var(--cyan);
  pointer-events: none; opacity: 0;
  transition: width 0.25s, height 0.25s, opacity 0.3s, background-color 0.25s;
  transform: translate(-50%, -50%);
  display: none;
}
@media (pointer: fine) { .cursor { display: block; } }
.cursor.on { opacity: 0.9; }
.cursor.hover { width: 42px; height: 42px; background: rgba(0, 229, 255, 0.08); }

/* ============ Nav ============ */
.nav {
  position: fixed; top: 14px; left: 14px; right: 14px; z-index: var(--z-nav);
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 clamp(16px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(8, 11, 20, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s;
}
.nav.hidden { transform: translateY(calc(-100% - 18px)); }
.nav__logo { display: flex; align-items: center; gap: 9px; color: var(--text); }
.nav__logo-mark { height: 20px; width: auto; display: block; }
.nav__logo span { font-family: var(--font-head); font-size: 17px; font-weight: 600; letter-spacing: 0.02em; transition: color 0.3s; }
.nav__logo:hover span { color: var(--accent); }
.nav__links { display: none; gap: clamp(18px, 2.5vw, 34px); }
.nav__links a { font-size: 14.5px; color: var(--muted); transition: color 0.2s; position: relative; }
.nav__links a:hover, .nav__links a:focus-visible { color: var(--text); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 0; background: var(--accent); transition: width 0.25s; }
.nav__links a:hover::after { width: 100%; }
.nav__burger {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: transparent; cursor: pointer; display: grid; place-content: center; gap: 6px;
}
.nav__burger span { display: block; width: 20px; height: 1.5px; background: var(--text); transition: transform 0.3s, opacity 0.3s; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__burger { display: none; }
}
@media (max-width: 899px) { .nav > .btn { display: none; } }

/* Mobile menu */
.mmenu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: rgba(5, 6, 10, 0.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: var(--pad); gap: 40px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}
.mmenu.open { clip-path: inset(0 0 0% 0); }
.mmenu__links { display: flex; flex-direction: column; gap: 8px; }
.mmenu__links a {
  font-size: clamp(34px, 9vw, 56px); font-weight: 600; line-height: 1.25;
  color: var(--text); transition: color 0.2s, transform 0.3s;
}
.mmenu__links a:hover { color: var(--cyan); transform: translateX(8px); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--text); font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.08em;
  cursor: pointer; position: relative; overflow: hidden;
  transition: background-color 0.25s, border-color 0.5s, color 0.25s, box-shadow 0.25s;
  will-change: transform;
}
.btn:hover, .btn:focus-visible { background: color-mix(in srgb, var(--accent) 24%, transparent); box-shadow: 0 0 32px color-mix(in srgb, var(--accent) 35%, transparent); }
:is(.btn, a, button, input, select, textarea):focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.btn--ghost { border-color: var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 13px; }
.btn--big { min-height: 64px; padding: 0 44px; font-size: 16px; }

/* ============ Shared type ============ */
.eyebrow { font-size: 12.5px; letter-spacing: 0.3em; color: var(--accent); transition: color 0.5s; margin-bottom: 20px; }
.eyebrow--red { color: var(--red); }
.h2 { font-size: clamp(34px, 6.4vw, 72px); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; }
.h2 em { font-style: normal; color: var(--accent); transition: color 0.5s; }
.lead { color: var(--muted); font-size: clamp(16px, 2vw, 19px); max-width: 56ch; margin-top: 22px; }
section, .footer { padding: clamp(90px, 14vh, 160px) var(--pad); position: relative; }

/* Reveal default state (JS animates in; visible w/o JS) */
.reveal { opacity: 1; }
body.js .reveal { opacity: 0; transform: translateY(36px); }
body.js.reduced .reveal { opacity: 1; transform: none; }
body.js.hero-done .hero .reveal { opacity: 1; transform: none; }

/* ============ Hero ============ */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--nav-h) + 40px);
}
.hero__eyebrow { font-size: 12px; letter-spacing: 0.32em; color: var(--muted); margin-bottom: 26px; }
.hero__title { font-size: clamp(46px, 10.5vw, 128px); font-weight: 650; line-height: 1.02; letter-spacing: -0.02em; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .char { display: inline-block; will-change: transform; }
.hero__title .accent { color: var(--cyan); text-shadow: 0 0 42px rgba(0, 229, 255, 0.45); }
.hero__sub { color: var(--muted); font-size: clamp(16px, 2.2vw, 20px); max-width: 52ch; margin-top: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 42px; }
.hero__hint { position: absolute; bottom: 30px; left: var(--pad); display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.3em; color: var(--muted); }
.hero__hint-line { width: 44px; height: 1px; background: var(--muted); position: relative; overflow: hidden; }
.hero__hint-line::after { content: ""; position: absolute; inset: 0; background: var(--cyan); transform: translateX(-100%); animation: hint 2.2s ease-in-out infinite; }
@keyframes hint { 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }

/* ============ Marquee ============ */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; background: rgba(8, 11, 20, 0.5); }
.marquee__track { display: flex; white-space: nowrap; width: max-content; animation: marquee 28s linear infinite; font-size: 13px; letter-spacing: 0.22em; color: var(--muted); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Manifesto ============ */
.manifesto { display: grid; place-items: center; min-height: 70svh; }
.manifesto__text {
  font-size: clamp(24px, 4.6vw, 52px); font-weight: 500; line-height: 1.35;
  max-width: 24ch; text-align: center; letter-spacing: -0.01em;
}
.manifesto__text .w { opacity: 0.14; transition: opacity 0.3s linear; }
.manifesto__text .w.on { opacity: 1; }

/* ============ Stats ============ */
.stats { padding-top: 0; }
.stats__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.stat { background: var(--surface); padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 8px; }
.stat__num { font-size: clamp(30px, 5vw, 54px); font-weight: 500; color: var(--cyan); }
.stat__label { color: var(--muted); font-size: 14px; }
@media (min-width: 900px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }

/* ============ Services journey ============ */
.journey { padding-left: 0; padding-right: 0; }
.journey__intro { padding: 0 var(--pad) clamp(48px, 8vh, 90px); }
.journey__pin { position: relative; }
.journey__rail {
  position: sticky; top: calc(var(--nav-h) + 26px); z-index: 5;
  margin: 0 var(--pad) 26px; height: 2px; background: var(--line); border-radius: 2px;
  display: none;
}
.journey__rail span { display: block; height: 100%; width: 0%; background: var(--accent); transition: background-color 0.5s; }
.journey__rail b { position: absolute; right: 0; top: 10px; font-weight: 400; font-size: 11px; letter-spacing: 0.25em; color: var(--muted); }
.journey__track { display: flex; flex-direction: column; gap: 26px; padding: 0 var(--pad); }
.panel {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface) 0%, rgba(10, 15, 30, 0.6) 100%);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: clamp(26px, 4vw, 54px);
  overflow: hidden;
}
.panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 85% -10%, color-mix(in srgb, var(--panel-accent, var(--cyan)) 16%, transparent), transparent 60%);
}
.panel__idx { position: absolute; top: 22px; right: 26px; font-size: 13px; letter-spacing: 0.2em; color: var(--muted); }
.panel__icon { width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--panel-accent, var(--cyan)); margin-bottom: 22px; }
.panel__icon svg { width: 26px; height: 26px; }
.panel__title { font-size: clamp(24px, 3vw, 34px); font-weight: 600; margin-bottom: 12px; }
.panel__text { color: var(--muted); max-width: 46ch; }
.panel__list { list-style: none; margin-top: 22px; display: grid; gap: 10px; font-size: 13px; color: var(--text); }
.panel__list li { padding-left: 20px; position: relative; }
.panel__list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 1.5px; background: var(--panel-accent, var(--cyan)); }

/* Desktop: horizontal pinned track */
@media (min-width: 1024px) {
  body.js:not(.reduced) .journey__rail { display: block; position: static; margin-top: 0; }
  body.js:not(.reduced) .journey__pin {
    overflow: hidden; height: 100vh;
    display: flex; flex-direction: column; justify-content: center; gap: 8px;
  }
  body.js:not(.reduced) .journey__track {
    flex-direction: row; gap: 0; padding: 0;
    width: max-content; will-change: transform;
  }
  body.js:not(.reduced) .panel {
    width: min(46vw, 720px); min-height: 62vh; margin-right: 4vw;
    flex-shrink: 0; display: flex; flex-direction: column; justify-content: center;
  }
  body.js:not(.reduced) .panel:first-child { margin-left: var(--pad); }
  body.js:not(.reduced) .panel:last-child { margin-right: var(--pad); }
}

/* ============ Cybersecurity ============ */
.cyber {
  border-top: 1px solid rgba(255, 51, 85, 0.25);
  border-bottom: 1px solid rgba(255, 51, 85, 0.25);
  background:
    radial-gradient(70% 55% at 50% 0%, rgba(255, 51, 85, 0.10), transparent 70%),
    rgba(8, 6, 10, 0.55);
}
.cyber__head { max-width: 900px; }
.glitch { position: relative; }
.glitch.glitching::before, .glitch.glitching::after {
  content: attr(data-text); position: absolute; inset: 0; overflow: hidden;
  clip-path: inset(20% 0 55% 0); opacity: 0.75; pointer-events: none; white-space: pre-line;
}
.glitch.glitching::before { color: var(--cyan); transform: translate(-3px, -2px); animation: glitchA 0.35s steps(2) 2; }
.glitch.glitching::after { color: var(--red); transform: translate(3px, 2px); animation: glitchB 0.35s steps(2) 2; }
@keyframes glitchA { 0% { clip-path: inset(10% 0 70% 0); } 50% { clip-path: inset(55% 0 15% 0); } 100% { clip-path: inset(30% 0 45% 0); } }
@keyframes glitchB { 0% { clip-path: inset(65% 0 8% 0); } 50% { clip-path: inset(20% 0 60% 0); } 100% { clip-path: inset(48% 0 25% 0); } }

.cyber__ticker { overflow: hidden; margin: clamp(40px, 6vh, 64px) calc(var(--pad) * -1) 0; border-top: 1px solid rgba(255, 51, 85, 0.2); border-bottom: 1px solid rgba(255, 51, 85, 0.2); padding: 13px 0; }
.cyber__ticker-track { display: flex; white-space: nowrap; width: max-content; animation: marquee 30s linear infinite; font-size: 12.5px; letter-spacing: 0.14em; color: #FF8FA3; }

.cyber__facts { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: clamp(40px, 6vh, 64px); }
@media (min-width: 780px) { .cyber__facts { grid-template-columns: repeat(3, 1fr); } }
.fact { border-left: 2px solid var(--red); padding: 6px 0 6px 18px; display: grid; gap: 6px; }
.fact__num { font-size: clamp(28px, 4vw, 42px); font-weight: 500; color: #FF8FA3; }
.fact__label { color: var(--muted); font-size: 13.5px; line-height: 1.5; }

.cyber__grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: clamp(44px, 7vh, 80px); }
@media (min-width: 720px) { .cyber__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cyber__grid { grid-template-columns: repeat(3, 1fr); } }
.ccard {
  border: 1px solid rgba(255, 51, 85, 0.22); border-radius: var(--radius);
  background: rgba(14, 8, 14, 0.6); padding: clamp(24px, 3vw, 34px);
  cursor: pointer;
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.ccard:hover { border-color: rgba(255, 51, 85, 0.6); background: rgba(24, 10, 18, 0.75); box-shadow: 0 0 40px rgba(255, 51, 85, 0.12); }
.ccard__icon { width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 51, 85, 0.35); display: grid; place-items: center; color: var(--red); margin-bottom: 18px; }
.ccard__icon svg { width: 23px; height: 23px; }
.ccard h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.ccard p { color: var(--muted); font-size: 15px; }

.cyber__badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(40px, 6vh, 64px); }
.badge {
  font-size: 11.5px; letter-spacing: 0.22em; color: #FFB3C1;
  border: 1px solid rgba(255, 51, 85, 0.35); border-radius: 999px; padding: 10px 18px;
}

/* ============ Process timeline ============ */
.process { position: relative; }
.process__flow { position: relative; margin-top: clamp(50px, 8vh, 90px); }

/* the rail */
.process__track {
  position: absolute; z-index: 1; background: var(--line); border-radius: 3px;
  left: 18px; top: 8px; bottom: 8px; width: 3px;
}
.process__track span {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.5);
  transform: scaleY(0); transform-origin: top;
}

.process__steps { list-style: none; position: relative; z-index: 2; display: grid; gap: clamp(28px, 5vh, 48px); }
.step { display: flex; gap: clamp(18px, 3vw, 30px); align-items: flex-start; }
.step__node {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--muted);
  display: grid; place-items: center; font-size: 12px;
  background: var(--bg); position: relative;
  transition: color 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.step__node i {
  position: absolute; inset: 6px; border-radius: 50%;
  background: var(--accent); opacity: 0; transform: scale(0.4);
  transition: opacity 0.4s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.step.active .step__node { border-color: var(--accent); color: var(--bg); box-shadow: 0 0 22px color-mix(in srgb, var(--accent) 45%, transparent); }
.step.active .step__node i { opacity: 1; transform: scale(1); }
.step.active .step__node { color: transparent; }
.step__card {
  flex: 1; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: clamp(20px, 3vw, 30px);
  position: relative; overflow: hidden;
  opacity: 0.55; transform: translateX(14px);
  transition: opacity 0.5s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s;
}
.step.active .step__card { opacity: 1; transform: translateX(0); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.step__card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent); opacity: 0; transition: opacity 0.4s;
}
.step.active .step__card::before { opacity: 1; }
.step__icon { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent); margin-bottom: 14px; transition: color 0.5s, transform 0.5s; }
.step__icon svg { width: 21px; height: 21px; }
.step.active .step__icon { transform: rotate(-6deg) scale(1.08); }
.step h3 { font-size: 21px; font-weight: 600; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; max-width: 52ch; }
.step__tag {
  position: absolute; top: 18px; right: 18px; font-size: 10.5px; letter-spacing: 0.22em;
  color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 999px; padding: 6px 12px; opacity: 0.85; transition: color 0.5s, border-color 0.5s;
}

/* desktop: horizontal 5-up timeline */
@media (min-width: 1100px) {
  .process__track { left: 19px; right: 19px; top: 18px; bottom: auto; width: auto; height: 3px; }
  .process__track span { transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--cyan), var(--violet)); }
  .process__steps { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .step { flex-direction: column; gap: 22px; }
  .step__card { transform: translateY(16px); min-height: 250px; }
  .step.active .step__card { transform: translateY(0); }
}

/* ============ Industries ============ */
.industries__grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: clamp(44px, 7vh, 80px); }
@media (min-width: 680px) { .industries__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .industries__grid { grid-template-columns: repeat(3, 1fr); } }
.ind {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px); padding-bottom: 58px;
  background: var(--surface); cursor: pointer;
  transition: border-color 0.3s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
  transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  will-change: transform;
}
.ind::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(220px circle at var(--mx) var(--my), color-mix(in srgb, var(--ind-accent) 14%, transparent), transparent 70%);
  transition: opacity 0.3s;
}
.ind:hover { border-color: color-mix(in srgb, var(--ind-accent) 55%, transparent); box-shadow: 0 14px 44px -18px color-mix(in srgb, var(--ind-accent) 45%, transparent); }
.ind:hover::before { opacity: 1; }
.ind__ghost {
  position: absolute; right: 10px; bottom: -26px; font-size: 110px; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--ind-accent) 30%, transparent);
  pointer-events: none; user-select: none;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), -webkit-text-stroke-color 0.3s;
}
.ind:hover .ind__ghost { transform: translateY(-10px) rotate(-4deg); -webkit-text-stroke-color: color-mix(in srgb, var(--ind-accent) 65%, transparent); }
.ind__icon {
  width: 30px; height: 30px; color: var(--ind-accent); margin-bottom: 14px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ind:hover .ind__icon { transform: scale(1.18) rotate(-8deg); }
.ind h3 { font-size: 19px; font-weight: 600; margin: 0 0 6px; position: relative; }
.ind p { color: var(--muted); font-size: 14.5px; position: relative; max-width: 30ch; }
.ind__chip {
  position: absolute; left: clamp(24px, 3vw, 34px); bottom: 20px;
  font-size: 10px; letter-spacing: 0.22em; color: var(--ind-accent);
  border: 1px solid color-mix(in srgb, var(--ind-accent) 40%, transparent);
  border-radius: 999px; padding: 5px 11px;
  opacity: 0.75; transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
}
.ind:hover .ind__chip { opacity: 1; transform: translateY(0); }

/* ============ Quotes marquee ============ */
.quotes { overflow: hidden; }
.quotes__rail {
  margin: clamp(44px, 7vh, 80px) calc(var(--pad) * -1) 0;
  overflow: hidden; padding: 30px 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.quotes__track { display: flex; width: max-content; animation: qMarquee 46s linear infinite; }
.quotes__rail:hover .quotes__track { animation-play-state: paused; }
@keyframes qMarquee { to { transform: translateX(-50%); } }
.quotes__group { display: flex; gap: 22px; padding-right: 22px; }
.quote {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden;
  width: clamp(290px, 82vw, 400px); flex-shrink: 0;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 32px); background: var(--surface);
  cursor: pointer;
  transform: perspective(700px) rotate(var(--q-rot, 0deg)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.quotes__group .quote:nth-child(odd) { --q-rot: -1.4deg; }
.quotes__group .quote:nth-child(even) { --q-rot: 1.2deg; margin-top: 18px; }
.quote::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(220px circle at var(--mx) var(--my), color-mix(in srgb, var(--q-accent) 13%, transparent), transparent 70%);
  transition: opacity 0.3s;
}
.quote:hover { border-color: color-mix(in srgb, var(--q-accent) 55%, transparent); box-shadow: 0 16px 44px -18px color-mix(in srgb, var(--q-accent) 50%, transparent); --q-rot: 0deg; }
.quote:hover::before { opacity: 1; }
.quote__ghost {
  position: absolute; top: -34px; right: 6px; font-family: var(--font-head);
  font-size: 170px; line-height: 1; color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--q-accent) 30%, transparent);
  pointer-events: none; user-select: none;
  transition: -webkit-text-stroke-color 0.3s;
}
.quote:hover .quote__ghost { -webkit-text-stroke-color: color-mix(in srgb, var(--q-accent) 60%, transparent); }
.quote__stars { display: block; color: var(--q-accent); font-size: 13px; letter-spacing: 0.3em; margin-bottom: 14px; }
.quote p { font-size: 16px; line-height: 1.6; position: relative; }
.quote footer { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.quote__avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: 12.5px;
  color: var(--q-accent); border: 1px solid color-mix(in srgb, var(--q-accent) 45%, transparent);
  background: color-mix(in srgb, var(--q-accent) 10%, transparent);
}
.quote footer b { display: block; font-size: 14px; font-weight: 600; }
.quote footer i { font-style: normal; font-size: 10.5px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }

/* reduced motion / no-JS: static column */
body.reduced .quotes__track { animation: none; flex-wrap: wrap; width: 100%; }
body.reduced .quotes__group[aria-hidden="true"] { display: none; }
body.reduced .quotes__group { flex-wrap: wrap; }

/* ============ CTA ============ */
.cta { text-align: center; min-height: 80svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; position: relative; overflow: hidden; }
.cta__title { font-size: clamp(48px, 11vw, 140px); font-weight: 650; line-height: 1.02; letter-spacing: -0.02em; position: relative; }
.cta__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.cta__title .accent { color: var(--accent); text-shadow: 0 0 52px color-mix(in srgb, var(--accent) 45%, transparent); transition: color 0.5s; }
.cta__title .char { transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s; }
@media (pointer: fine) {
  .cta__title .char:hover { transform: translateY(-0.12em) rotate(5deg) !important; color: var(--accent); }
}

/* floating deco shapes */
.cta__deco { position: absolute; inset: 0; pointer-events: none; }
.cta__shape { position: absolute; width: 26px; height: 26px; opacity: 0.55; }
.cta__shape--1 { top: 18%; left: 12%; animation: ctaBob 5s ease-in-out infinite; }
.cta__shape--2 { top: 26%; right: 14%; width: 20px; animation: ctaBob 6.5s ease-in-out 0.8s infinite; }
.cta__shape--3 { bottom: 22%; left: 18%; width: 22px; animation: ctaSpinBob 8s linear infinite; }
.cta__shape--4 { bottom: 18%; right: 12%; animation: ctaSpinBob 10s linear 1s infinite reverse; }
.cta__shape--5 { top: 12%; left: 48%; width: 18px; animation: ctaBob 4.2s ease-in-out 1.6s infinite; }
@keyframes ctaBob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-18px) rotate(12deg); } }
@keyframes ctaSpinBob { 0% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(180deg); } 100% { transform: translateY(0) rotate(360deg); } }

/* availability chip */
.cta__chip {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; letter-spacing: 0.28em; color: #7DF5CE;
  border: 1px solid rgba(56, 242, 184, 0.35); border-radius: 999px; padding: 9px 18px;
  background: rgba(56, 242, 184, 0.06);
}
.cta__chip i { width: 7px; height: 7px; border-radius: 50%; background: #38F2B8; animation: chipPulse 1.6s ease-in-out infinite; }
@keyframes chipPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(56, 242, 184, 0.55); } 50% { box-shadow: 0 0 0 7px rgba(56, 242, 184, 0); } }

/* action: shine button + spinning sticker */
.cta__action { position: relative; display: inline-block; }
.btn--shine::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.22) 50%, transparent 58%);
  transform: translateX(-160%); animation: btnShine 3.4s ease-in-out infinite;
}
@keyframes btnShine { 0%, 55% { transform: translateX(-160%); } 85%, 100% { transform: translateX(160%); } }
.cta__sticker {
  position: absolute; top: -58px; right: -54px; width: 112px; height: 112px;
  color: var(--accent); transition: color 0.5s;
}
.cta__sticker svg { width: 100%; height: 100%; animation: stickerSpin 14s linear infinite; }
.cta__sticker text { fill: currentColor; font-size: 10.5px; letter-spacing: 0.18em; }
.cta__sticker-star { fill: currentColor; animation: chipPulse 2s ease-in-out infinite; }
@keyframes stickerSpin { to { transform: rotate(360deg); } }
@media (max-width: 640px) { .cta__sticker { width: 88px; height: 88px; top: -48px; right: -16px; } .cta__shape { opacity: 0.35; } }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--line); background: rgba(6, 8, 14, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: clamp(48px, 7vw, 100px); }
@media (min-width: 980px) { .footer__grid { grid-template-columns: 1.1fr 1fr; } }
.footer__logo { display: flex; align-items: center; gap: 10px; color: var(--text); margin-bottom: 30px; }
.footer__logo svg { height: 26px; width: auto; }
.footer__logo span { font-family: var(--font-head); font-size: 21px; font-weight: 600; }
.footer__meta { list-style: none; margin-top: 34px; display: grid; gap: 12px; font-size: 14px; color: var(--muted); }
.footer__meta a { color: var(--text); border-bottom: 1px solid var(--line); transition: border-color 0.2s, color 0.2s; }
.footer__meta a:hover { color: var(--cyan); border-color: var(--cyan); }
.footer__form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 12.5px; letter-spacing: 0.14em; color: var(--muted); font-family: var(--font-mono); text-transform: uppercase; }
.field input, .field select, .field textarea {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  color: var(--text); font-family: var(--font-head); font-size: 16px;
  padding: 14px 16px; min-height: 48px; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.14);
}
.footer__privacy { font-size: 11.5px; color: var(--muted); letter-spacing: 0.06em; }
.footer__bottom {
  margin-top: clamp(56px, 9vh, 100px); padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between;
  font-size: 12px; color: var(--muted); letter-spacing: 0.08em;
}
.footer__bottom a:hover { color: var(--cyan); }

/* ============ Interactive cursor targets ============ */
[data-cursor], .btn, a, button, select { cursor: pointer; }

/* ============ Panel viz (unique per service) ============ */
.panel__viz {
  position: absolute; top: 18px; right: 18px; width: clamp(120px, 14vw, 170px);
  color: var(--panel-accent, var(--cyan)); opacity: 0.9; pointer-events: none;
}
.panel__viz svg { width: 100%; height: auto; overflow: visible; }
@media (max-width: 520px) { .panel__viz { width: 110px; opacity: 0.65; } }
.panel .panel__idx { top: auto; bottom: 22px; }

/* 01 cloud: rising particles */
.vz-rise { animation: vzRise 2.6s ease-in infinite; }
.vz-rise--2 { animation-delay: 0.9s; }
.vz-rise--3 { animation-delay: 1.7s; }
@keyframes vzRise { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-46px); opacity: 0; } }
.vz-dash { stroke-dasharray: 6 6; animation: vzDashMove 1.6s linear infinite; }
@keyframes vzDashMove { to { stroke-dashoffset: -24; } }

/* 02 software: typing lines + caret */
.vz-type { stroke-dasharray: 70; stroke-dashoffset: 70; animation: vzType 3.2s steps(18) infinite; }
.vz-type--2 { animation-delay: 0.5s; }
.vz-type--3 { animation-delay: 1s; }
@keyframes vzType { 0% { stroke-dashoffset: 70; } 45%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }
.vz-caret { animation: vzBlink 0.9s steps(1) infinite; }
@keyframes vzBlink { 50% { opacity: 0; } }

/* 03 managed IT: heartbeat ECG */
.vz-ecg { stroke-dasharray: 240; stroke-dashoffset: 240; animation: vzEcg 2.4s linear infinite; }
@keyframes vzEcg { 0% { stroke-dashoffset: 240; } 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -60; } }
.vz-blink { animation: vzPulse 1.2s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes vzPulse { 0% { opacity: 1; } 50% { opacity: 0.25; } 100% { opacity: 1; } }

/* 04 data: growing bars + sparkline */
.vz-bar { transform-origin: bottom; transform-box: fill-box; animation: vzGrow 2.8s cubic-bezier(0.34, 1.3, 0.5, 1) infinite; }
.vz-bar--2 { animation-delay: 0.2s; } .vz-bar--3 { animation-delay: 0.4s; } .vz-bar--4 { animation-delay: 0.6s; }
@keyframes vzGrow { 0% { transform: scaleY(0.1); } 35%, 85% { transform: scaleY(1); } 100% { transform: scaleY(0.1); } }
.vz-spark { stroke-dasharray: 130; stroke-dashoffset: 130; animation: vzSpark 2.8s ease-in-out infinite; opacity: 0.8; }
@keyframes vzSpark { 20% { stroke-dashoffset: 130; } 60%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }

/* 05 network: links drawing */
.vz-link { stroke-dasharray: 60; stroke-dashoffset: 60; animation: vzLink 2.4s ease-in-out infinite; opacity: 0.8; }
.vz-link--2 { animation-delay: 0.3s; } .vz-link--3 { animation-delay: 0.6s; } .vz-link--4 { animation-delay: 0.9s; }
@keyframes vzLink { 0% { stroke-dashoffset: 60; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0.2; } }

/* 06 transformation: orbiting nodes */
.vz-orbit { transform-origin: 80px 45px; animation: vzOrbit 5s linear infinite; }
.vz-orbit--rev { animation-direction: reverse; animation-duration: 3.4s; }
@keyframes vzOrbit { to { transform: rotate(360deg); } }

/* 07 devops: infinity flow */
.vz-flow { stroke-dasharray: 30 160; animation: vzFlow 2.2s linear infinite; }
@keyframes vzFlow { to { stroke-dashoffset: -190; } }

/* 08 iot: ripples */
.vz-ripple { transform-origin: 80px 45px; opacity: 0; animation: vzRipple 3s ease-out infinite; }
.vz-ripple--2 { animation-delay: 1s; } .vz-ripple--3 { animation-delay: 2s; }
@keyframes vzRipple { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(2.4); opacity: 0; } }

/* 09 backup: sync spin + progress arc */
.vz-spin { transform-origin: 80px 45px; animation: vzOrbit 3.2s linear infinite; }
.vz-arc { stroke-dasharray: 113; stroke-dashoffset: 113; animation: vzArc 2.6s ease-in-out infinite; }
@keyframes vzArc { 0% { stroke-dashoffset: 113; } 55%, 90% { stroke-dashoffset: 28; } 100% { stroke-dashoffset: 28; opacity: 0.3; } }

/* 10 vCIO: gauge needle sweep */
.vz-needle { transform-origin: 80px 70px; animation: vzNeedle 3.4s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
@keyframes vzNeedle { 0%, 100% { transform: rotate(-52deg); } 50% { transform: rotate(38deg); } }

/* ============ Cyber radar infographic ============ */
.cyber__head { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
@media (min-width: 980px) { .cyber__head { grid-template-columns: 1.25fr 1fr; } }
.radar { color: var(--red); max-width: 340px; margin: 0 auto; width: 100%; }
.radar svg { width: 100%; height: auto; filter: drop-shadow(0 0 24px rgba(255, 51, 85, 0.25)); }
.radar__sweep { transform-origin: 150px 150px; animation: radarSweep 4s linear infinite; }
@keyframes radarSweep { to { transform: rotate(360deg); } }
.radar__blip { animation: radarBlip 4s ease-out infinite; }
.radar__blip--2 { animation-delay: 1.4s; }
.radar__blip--3 { animation-delay: 2.6s; }
@keyframes radarBlip { 0%, 10% { opacity: 0; } 14% { opacity: 1; } 55% { opacity: 0.25; } 100% { opacity: 0; } }
.radar__tag { text-align: center; margin-top: 16px; font-size: 11px; letter-spacing: 0.3em; color: #FF8FA3; }

/* ============ Step + industry icons ============ */
.step__icon { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent); margin-bottom: 12px; transition: color 0.5s; }
.step__icon svg { width: 21px; height: 21px; }
.ind__top { display: flex; align-items: center; justify-content: space-between; }
.ind__icon { width: 26px; height: 26px; color: var(--accent); opacity: 0.85; transition: color 0.5s; }

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .marquee__track, .cyber__ticker-track { animation: none; }
  .manifesto__text .w { opacity: 1; }
}
