:root {
  color-scheme: dark;
  --bg: #030709;
  --bg-soft: #071014;
  --panel: rgba(8, 18, 23, 0.76);
  --panel-strong: rgba(11, 26, 32, 0.94);
  --panel-line: rgba(116, 241, 255, 0.18);
  --text: #f5fbff;
  --muted: #a8bac4;
  --muted-2: #6f8792;
  --cyan: #27d8e8;
  --cyan-soft: #0fb5b7;
  --gold: #ffc329;
  --amber: #f39b14;
  --violet: #7b5cff;
  --shadow-cyan: 0 0 38px rgba(39, 216, 232, 0.28);
  --shadow-gold: 0 0 34px rgba(255, 195, 41, 0.22);
  --radius: 8px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(120deg, rgba(39, 216, 232, 0.07), transparent 34%),
    linear-gradient(240deg, rgba(255, 195, 41, 0.08), transparent 38%),
    linear-gradient(180deg, #020506 0%, #061016 52%, #020506 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 86%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(112deg, rgba(39, 216, 232, 0.035) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 32%);
  opacity: 0.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

section[id] {
  scroll-margin-top: 112px;
}

::selection {
  color: #001013;
  background: var(--cyan);
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.cursor-glow {
  position: fixed;
  left: var(--cursor-x, 50%);
  top: var(--cursor-y, 50%);
  width: 320px;
  height: 320px;
  z-index: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(90deg, rgba(39, 216, 232, 0), rgba(39, 216, 232, 0.12), rgba(255, 195, 41, 0.1), rgba(255, 195, 41, 0));
  filter: blur(44px);
  opacity: 0.72;
  mix-blend-mode: screen;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 50;
  display: flex;
  width: min(1120px, calc(100% - 32px));
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(3, 7, 9, 0.7);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(3, 7, 9, 0.9);
  border-color: rgba(39, 216, 232, 0.22);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(39, 216, 232, 0.2));
}

.brand__text {
  display: grid;
  gap: 6px;
  line-height: 1.04;
}

.brand__text strong {
  color: var(--gold);
  font-size: 0.94rem;
  font-weight: 800;
}

.brand__text span {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 700;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-panel > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.nav-panel > a:hover,
.nav-panel > a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-socials a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.035);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.nav-socials a:hover {
  color: var(--gold);
  border-color: rgba(255, 195, 41, 0.4);
  transform: translateY(-2px);
}

.nav-socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.menu-toggle {
  position: relative;
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transform: translateX(-50%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.menu-toggle span:first-child {
  transform: translate(-50%, -7px);
}

.menu-toggle span:nth-child(2) {
  transform: translate(-50%, 0);
}

.menu-toggle span:last-child {
  transform: translate(-50%, 7px);
}

body.nav-open .menu-toggle span:first-child {
  transform: translate(-50%, 0) rotate(45deg);
}

body.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
  transform: translate(-50%, 0) scaleX(0.2);
}

body.nav-open .menu-toggle span:last-child {
  transform: translate(-50%, 0) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: center;
  padding: 128px 0 64px;
  overflow: hidden;
}

.hero > .container {
  width: min(1120px, calc(100% - 32px));
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.58;
}

.hero__halo {
  position: absolute;
  z-index: 0;
  width: 62%;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(39, 216, 232, 0.2), transparent);
  filter: blur(34px);
  opacity: 0.58;
}

.hero__halo--cyan {
  top: 22%;
  right: -20%;
  transform: rotate(-18deg);
}

.hero__halo--gold {
  bottom: 12%;
  left: -18%;
  background: linear-gradient(90deg, transparent, rgba(255, 195, 41, 0.18), transparent);
  transform: rotate(16deg);
}

.hero__grid {
  --hero-stage-size: 548px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(500px, 548px);
  gap: 32px;
  align-items: stretch;
}

.hero__content,
.hero__visual {
  min-height: var(--hero-stage-size);
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 0;
  color: var(--gold);
  font-size: clamp(0.92rem, 0.78rem + 0.35vw, 1.04rem);
  font-weight: 800;
  line-height: 1.34;
  text-transform: uppercase;
}

.eyebrow span,
.section-kicker::before {
  content: none;
  display: none;
}

.hero h1 {
  margin: 18px 0 0;
  max-width: none;
  color: var(--text);
  font-size: 3.7rem;
  line-height: 1.08;
  font-weight: 900;
  white-space: nowrap;
  padding-bottom: 0.06em;
}

.hero__tagline {
  margin: 16px 0 0;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  background-clip: text;
  color: transparent;
  font-size: 1.34rem;
  font-weight: 900;
}

.hero__copy {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.68;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0 -30%;
  z-index: -1;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.28), transparent 65%);
  transform: translateX(-70%);
  transition: transform 520ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover::after {
  transform: translateX(70%);
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.btn--primary {
  border-color: rgba(39, 216, 232, 0.42);
  background: linear-gradient(135deg, rgba(39, 216, 232, 0.22), rgba(255, 195, 41, 0.22));
  box-shadow: var(--shadow-cyan);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.btn--ghost:hover {
  color: var(--text);
  border-color: rgba(255, 195, 41, 0.35);
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin-top: 34px;
}

.hero__metrics div {
  min-height: 88px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.hero__metrics strong {
  display: block;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
}

.hero__metrics strong span {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.hero__metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted-2);
  font-size: 0.82rem;
}

.hero__visual {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  display: grid;
  align-items: center;
  transform: translate3d(0, var(--reveal-y, 0), 0) perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

.orbit-stage {
  position: relative;
  width: min(100%, 548px);
  margin-left: auto;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(39, 216, 232, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(8, 24, 30, 0.9), rgba(3, 7, 9, 0.88)),
    linear-gradient(90deg, rgba(255, 195, 41, 0.12), transparent);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), var(--shadow-cyan);
}

.orbit-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0 38%, rgba(255, 255, 255, 0.12) 44%, transparent 52%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 18px);
  opacity: 0.55;
}

.orbit-grid {
  position: absolute;
  inset: 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: rotate(18deg);
}

.orbit-grid::before,
.orbit-grid::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.orbit-grid::after {
  inset: 34%;
}

.orbit-ring {
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(39, 216, 232, 0.22);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

.orbit-ring::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px var(--gold);
}

.orbit-ring--two {
  inset: 24%;
  border-color: rgba(255, 195, 41, 0.24);
  animation-duration: 24s;
  animation-direction: reverse;
}

.orbit-ring--three {
  inset: 9%;
  border-style: dashed;
  opacity: 0.55;
  animation-duration: 34s;
}

.orbit-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 28px rgba(39, 216, 232, 0.28)) drop-shadow(0 0 18px rgba(255, 195, 41, 0.18));
}

.orbit-node {
  position: absolute;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(2, 7, 9, 0.64);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(39, 216, 232, 0.14);
}

.orbit-node--a {
  top: 19%;
  right: 12%;
}

.orbit-node--b {
  top: 45%;
  left: 6%;
}

.orbit-node--c {
  right: 10%;
  bottom: 26%;
}

.system-readout {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.system-readout div {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  background: rgba(3, 7, 9, 0.76);
}

.system-readout span,
.system-readout strong {
  display: block;
}

.system-readout span {
  color: var(--muted-2);
  font-size: 0.72rem;
}

.system-readout strong {
  margin-top: 4px;
  color: var(--cyan);
  font-size: 0.82rem;
}

.section {
  position: relative;
  padding: 104px 0;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 34px;
  align-items: start;
  margin-bottom: 42px;
}

.section-intro h2,
.promise__headline h2,
.contact__copy h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.95rem, 3.4vw, 2.55rem);
  line-height: 1.12;
}

.section-intro p:not(.section-kicker),
.contact__copy p,
.promise-item p,
.about__story p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.68;
}

.section-intro p:not(.section-kicker) {
  align-self: end;
  max-width: 650px;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.about__story {
  display: grid;
  gap: 20px;
  padding: 28px;
  border-left: 2px solid var(--gold);
  background: linear-gradient(90deg, rgba(255, 195, 41, 0.08), transparent);
}

.about__signal {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--panel-line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-cyan);
}

.signal-line {
  display: grid;
  grid-template-columns: 14px 130px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.signal-line span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
}

.signal-line strong {
  color: var(--text);
  font-size: 0.94rem;
}

.signal-line em {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: normal;
}

.services {
  background:
    linear-gradient(180deg, transparent, rgba(39, 216, 232, 0.04) 48%, transparent),
    linear-gradient(90deg, rgba(255, 195, 41, 0.04), transparent 32%, rgba(39, 216, 232, 0.04));
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.process-step,
.work-card,
.promise-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: var(--panel);
}

.service-card {
  min-height: 252px;
  padding: 24px;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.service-card::before,
.work-card::before,
.promise-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 40%, rgba(255, 255, 255, 0.1) 48%, transparent 58%);
  transform: translateX(-100%);
  transition: transform 700ms ease;
}

.service-card:hover,
.work-card:hover,
.promise-item:hover {
  border-color: rgba(39, 216, 232, 0.35);
  background: rgba(10, 27, 34, 0.86);
  box-shadow: var(--shadow-cyan);
}

.service-card:hover::before,
.work-card:hover::before,
.promise-item:hover::before {
  transform: translateX(100%);
}

.service-card__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(39, 216, 232, 0.24);
  border-radius: var(--radius);
  color: var(--cyan);
  background: rgba(39, 216, 232, 0.08);
}

.service-card__icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.service-card h3,
.process-step h3,
.work-card h3,
.promise-item h3 {
  margin: 20px 0 0;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.25;
}

.service-card p,
.process-step p,
.work-card span {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.62;
}

.process__rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process__rail::before {
  content: none;
  display: none;
}

.process-step {
  min-height: 238px;
  padding: 24px;
}

.process-step span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 195, 41, 0.34);
  border-radius: 50%;
  background: #050b0e;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: var(--shadow-gold);
}

.lab {
  overflow: hidden;
}

.lab__layout {
  display: grid;
  gap: 16px;
}

.lab__controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.solution-tab {
  min-height: 48px;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.solution-tab:hover,
.solution-tab.is-active {
  background: linear-gradient(135deg, rgba(39, 216, 232, 0.18), rgba(255, 195, 41, 0.16));
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(39, 216, 232, 0.22);
}

.lab__showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 16px;
  align-items: stretch;
}

.lab__copy,
.product-frame,
.contact-panel {
  border: 1px solid var(--panel-line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.lab__copy {
  padding: 28px;
}

.lab__copy p:first-child {
  margin: 0;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lab__copy h3 {
  margin: 18px 0 0;
  font-size: 1.72rem;
  line-height: 1.16;
}

.lab__copy p:not(:first-child) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.lab__copy ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.lab__copy li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
  font-weight: 700;
}

.lab__copy li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 10px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.product-frame {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  min-height: 0;
  overflow: hidden;
  transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

.product-frame__bar {
  display: flex;
  gap: 8px;
  height: 46px;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.product-frame__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--muted-2);
}

.product-frame__bar span:first-child {
  background: var(--gold);
}

.product-frame__bar span:nth-child(2) {
  background: var(--cyan);
}

.product-frame__body {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  height: calc(100% - 46px);
  min-height: 0;
}

.product-frame__sidebar {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.product-frame__sidebar span {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(39, 216, 232, 0.16), rgba(255, 195, 41, 0.08));
}

.product-frame__main {
  position: relative;
  display: block;
  height: 100%;
  min-height: 0;
  padding: 24px;
}

.preview-panel {
  position: absolute;
  inset: 24px;
  display: grid;
  gap: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.985);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
  pointer-events: none;
}

.preview-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.preview-panel--automation,
.preview-panel--software,
.preview-panel--commerce,
.preview-panel--experience {
  grid-template-columns: minmax(0, 1.08fr) minmax(160px, 0.92fr);
}

.preview-panel--software {
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.78fr);
}

.preview-panel--commerce {
  grid-template-columns: minmax(0, 1.05fr) minmax(190px, 0.78fr);
}

.preview-panel--experience {
  grid-template-columns: minmax(150px, 0.78fr) minmax(0, 1.22fr);
}

.chart {
  display: flex;
  height: 100%;
  min-height: 0;
  align-items: end;
  gap: 13px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
}

.chart span {
  flex: 1;
  min-width: 18px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--cyan), rgba(255, 195, 41, 0.88));
  box-shadow: 0 0 20px rgba(39, 216, 232, 0.25);
  transform-origin: bottom;
  animation: barPulse 3.8s ease-in-out infinite;
}

.chart span:nth-child(2) {
  animation-delay: 240ms;
}

.chart span:nth-child(3) {
  animation-delay: 480ms;
}

.chart span:nth-child(4) {
  animation-delay: 720ms;
}

.chart span:nth-child(5) {
  animation-delay: 960ms;
}

.data-lines {
  display: grid;
  gap: 12px;
  align-content: stretch;
}

.data-lines span {
  position: relative;
  overflow: hidden;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(39, 216, 232, 0.24), rgba(39, 216, 232, 0) 44%),
    rgba(255, 255, 255, 0.035);
}

.data-lines span::after,
.code-card span::after,
.storefront-grid span::after,
.journey-board span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: translateX(-120%);
}

.preview-panel.is-active .data-lines span::after,
.preview-panel.is-active .code-card span::after,
.preview-panel.is-active .storefront-grid span::after,
.preview-panel.is-active .journey-board span::after {
  animation: interfaceSweep 2.7s ease-in-out infinite;
}

.preview-panel.is-active .data-lines span:nth-child(2)::after,
.preview-panel.is-active .code-card span:nth-child(2)::after,
.preview-panel.is-active .storefront-grid span:nth-child(2)::after,
.preview-panel.is-active .journey-board span:nth-child(2)::after {
  animation-delay: 180ms;
}

.preview-panel.is-active .data-lines span:nth-child(3)::after,
.preview-panel.is-active .code-card span:nth-child(3)::after,
.preview-panel.is-active .storefront-grid span:nth-child(3)::after,
.preview-panel.is-active .journey-board span:nth-child(3)::after {
  animation-delay: 360ms;
}

.preview-panel.is-active .data-lines span:nth-child(4)::after,
.preview-panel.is-active .code-card span:nth-child(4)::after,
.preview-panel.is-active .storefront-grid span:nth-child(4)::after {
  animation-delay: 540ms;
}

.code-card,
.api-node,
.storefront-grid span,
.cart-panel,
.phone-preview,
.journey-board span {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.code-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(39, 216, 232, 0.12), transparent 48%),
    rgba(255, 255, 255, 0.035);
}

.code-card span {
  position: relative;
  overflow: hidden;
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(39, 216, 232, 0.95), rgba(255, 195, 41, 0.56), transparent);
  box-shadow: 0 0 18px rgba(39, 216, 232, 0.18);
}

.api-stack,
.cart-panel,
.journey-board {
  display: grid;
  gap: 12px;
  align-content: stretch;
}

.api-node {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 66px;
  padding: 12px;
}

.preview-panel.is-active .api-node {
  animation: nodePulse 3s ease-in-out infinite;
}

.preview-panel.is-active .api-node:nth-child(2) {
  animation-delay: 220ms;
}

.preview-panel.is-active .api-node:nth-child(3) {
  animation-delay: 440ms;
}

.api-node span {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(39, 216, 232, 0.84), rgba(255, 195, 41, 0.2));
}

.api-node em {
  display: block;
  height: 12px;
  width: 72%;
  border-radius: 999px;
  background: rgba(186, 202, 207, 0.22);
}

.storefront-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.storefront-grid span {
  position: relative;
  overflow: hidden;
  min-height: 0;
  background:
    linear-gradient(180deg, rgba(39, 216, 232, 0.22), transparent 48%),
    linear-gradient(135deg, rgba(255, 195, 41, 0.18), rgba(255, 255, 255, 0.03));
}

.preview-panel.is-active .storefront-grid span {
  animation: productLift 3.6s ease-in-out infinite;
}

.preview-panel.is-active .storefront-grid span:nth-child(2),
.preview-panel.is-active .storefront-grid span:nth-child(4) {
  animation-delay: 260ms;
}

.cart-panel {
  position: relative;
  overflow: hidden;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 195, 41, 0.13), transparent 52%),
    rgba(255, 255, 255, 0.035);
}

.cart-panel span,
.cart-panel strong {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: rgba(186, 202, 207, 0.2);
}

.cart-panel span:nth-child(2) {
  width: 78%;
}

.cart-panel span:nth-child(3) {
  width: 56%;
}

.cart-panel strong {
  height: 42px;
  margin-top: 12px;
  background: linear-gradient(90deg, rgba(39, 216, 232, 0.84), rgba(255, 195, 41, 0.7));
  box-shadow: 0 0 22px rgba(255, 195, 41, 0.12);
}

.preview-panel.is-active .cart-panel strong {
  animation: checkoutPulse 2.8s ease-in-out infinite;
}

.phone-preview {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  align-content: stretch;
  justify-self: stretch;
  width: 100%;
  height: 100%;
  padding: 18px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(39, 216, 232, 0.18), transparent),
    rgba(255, 255, 255, 0.035);
}

.phone-preview span {
  display: block;
  min-height: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.phone-preview span:first-child {
  background: linear-gradient(135deg, rgba(39, 216, 232, 0.62), rgba(255, 195, 41, 0.42));
}

.preview-panel.is-active .phone-preview span {
  animation: screenPulse 3.2s ease-in-out infinite;
}

.preview-panel.is-active .phone-preview span:nth-child(2) {
  animation-delay: 180ms;
}

.preview-panel.is-active .phone-preview span:nth-child(3) {
  animation-delay: 360ms;
}

.journey-board span {
  position: relative;
  overflow: hidden;
  min-height: 0;
  background:
    linear-gradient(90deg, rgba(39, 216, 232, 0.2), transparent 64%),
    rgba(255, 255, 255, 0.035);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.work-card {
  min-height: 196px;
  padding: 24px;
}

.work-card p {
  margin: 0;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.promise {
  background:
    linear-gradient(180deg, rgba(255, 195, 41, 0.04), transparent 48%),
    linear-gradient(90deg, transparent, rgba(39, 216, 232, 0.05), transparent);
}

.promise__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 28px;
}

.promise__headline {
  align-self: start;
}

.promise__headline h2 {
  margin-top: 16px;
}

.promise__list {
  display: grid;
  gap: 14px;
}

.promise-item {
  padding: 24px;
}

.promise-item h3 {
  margin-top: 0;
}

.contact {
  padding-bottom: 96px;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 28px;
  align-items: center;
}

.contact__copy h2 {
  margin-top: 18px;
}

.contact__copy p {
  max-width: 580px;
  margin-top: 20px;
}

.contact__copy .btn {
  margin-top: 30px;
}

.contact-panel {
  padding: 18px;
}

.contact-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius);
  color: var(--text);
  transition: background 180ms ease, transform 180ms ease;
}

a.contact-row:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(3px);
}

.contact-row > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(39, 216, 232, 0.24);
  border-radius: var(--radius);
  color: var(--cyan);
  background: rgba(39, 216, 232, 0.08);
}

.contact-row svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-row strong,
.contact-row em {
  display: block;
}

.contact-row strong {
  font-size: 0.95rem;
}

.contact-row em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.95rem;
  font-style: normal;
  line-height: 1.5;
}

.phone-number {
  unicode-bidi: isolate;
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-socials a {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.035);
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.contact-socials svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.contact-socials a:hover {
  color: var(--gold);
  border-color: rgba(255, 195, 41, 0.35);
  background: rgba(255, 195, 41, 0.08);
  transform: translateY(-2px);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #020506;
}

.site-footer__inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-footer p {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.94rem;
}

.footer-registration {
  display: block;
}

.footer-registration strong {
  color: var(--text);
  font-size: 1rem;
  font-weight: 900;
}

.footer-registration span {
  color: var(--gold);
}

.reveal {
  --reveal-y: 0px;
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, var(--reveal-y), 0) perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.js-ready .reveal {
  --reveal-y: 24px;
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, var(--reveal-y), 0) perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: opacity 650ms ease, filter 650ms ease, transform 650ms ease;
}

.js-ready .reveal.is-visible {
  --reveal-y: 0px;
  opacity: 1;
  filter: blur(0);
}

[data-tilt] {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform-style: preserve-3d;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes barPulse {
  0%,
  100% {
    transform: scaleY(0.92);
  }
  50% {
    transform: scaleY(1.04);
  }
}

@keyframes interfaceSweep {
  0% {
    transform: translateX(-120%);
  }
  52%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes nodePulse {
  0%,
  100% {
    transform: translateY(0);
    border-color: rgba(255, 255, 255, 0.09);
  }
  50% {
    transform: translateY(-4px);
    border-color: rgba(39, 216, 232, 0.28);
  }
}

@keyframes productLift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes checkoutPulse {
  0%,
  100% {
    filter: saturate(1);
    transform: scaleX(0.94);
  }
  50% {
    filter: saturate(1.25);
    transform: scaleX(1);
  }
}

@keyframes screenPulse {
  0%,
  100% {
    opacity: 0.82;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@media (max-width: 1100px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero__content,
  .hero__visual {
    min-height: 0;
  }

  .orbit-stage {
    margin: 0 auto;
    width: min(100%, 460px);
  }

  .hero__visual {
    justify-items: center;
    transform: translate3d(0, var(--reveal-y, 0), 0);
  }
}

@media (max-width: 1020px) {
  .hero__grid,
  .about__grid,
  .lab__showcase,
  .promise__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    gap: 46px;
  }

  .orbit-stage {
    margin: 0 auto;
    width: min(100%, 460px);
  }

  .section-intro {
    grid-template-columns: 1fr;
  }

  .section-intro p:not(.section-kicker) {
    align-self: auto;
  }

  .services__grid,
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process__rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process__rail::before {
    display: none;
  }

}

@media (max-width: 860px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    top: 12px;
    width: calc(100% - 24px);
    padding: 8px;
  }

  .brand__mark {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
  }

  .brand {
    flex: 1 1 auto;
  }

  .brand__text strong {
    font-size: 0.9rem;
  }

  .brand__text span {
    font-size: 0.66rem;
  }

  .menu-toggle {
    display: grid;
    flex: 0 0 auto;
  }

  .nav-panel {
    position: fixed;
    top: 82px;
    right: 12px;
    left: 12px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(39, 216, 232, 0.2);
    border-radius: var(--radius);
    background: rgba(3, 7, 9, 0.96);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.nav-open .nav-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-panel > a {
    min-height: 46px;
    justify-content: center;
  }

  .nav-socials {
    justify-content: center;
    margin: 8px 0 0;
    padding: 10px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero {
    min-height: 100svh;
    padding: 112px 0 56px;
  }

  .section {
    padding: 78px 0;
  }

  .section-intro h2,
  .promise__headline h2,
  .contact__copy h2 {
    font-size: 1.96rem;
  }

  .lab__controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-frame {
    height: 540px;
  }

  .product-frame__main {
    height: 100%;
    min-height: 0;
  }

  .preview-panel--automation,
  .preview-panel--software,
  .preview-panel--commerce,
  .preview-panel--experience {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .cursor-glow {
    display: none;
  }

  .hero {
    min-height: 100svh;
    padding: 108px 0 54px;
  }

  .hero__grid {
    display: grid;
    gap: 30px;
    min-height: 0;
  }

  .hero__content {
    position: relative;
    z-index: 2;
  }

  .hero__visual {
    position: relative;
    z-index: 1;
    width: 100%;
    opacity: 1;
    pointer-events: auto;
  }

  .orbit-stage {
    width: min(100%, 360px);
  }

  .orbit-node {
    min-height: 30px;
    padding: 0 9px;
    border-radius: 8px;
    font-size: 0.66rem;
  }

  .orbit-node--a {
    top: 13%;
    right: 8%;
  }

  .orbit-node--b {
    top: 46%;
    left: 5%;
  }

  .orbit-node--c {
    right: 8%;
    bottom: 28%;
  }

  .system-readout {
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .system-readout div {
    padding: 8px;
  }

  .system-readout span {
    font-size: 0.58rem;
  }

  .system-readout strong {
    font-size: 0.7rem;
  }

  .eyebrow,
  .section-kicker {
    font-size: 0.9rem;
  }

  .hero__tagline {
    font-size: 1.05rem;
  }

  .hero__copy {
    font-size: 0.95rem;
    line-height: 1.62;
  }

  .hero__actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero__metrics,
  .services__grid,
  .work-grid,
  .process__rail {
    grid-template-columns: 1fr;
  }

  .hero__metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
  }

  .hero__metrics div {
    min-height: 74px;
    padding: 14px;
  }

  .about__story,
  .lab__copy,
  .service-card,
  .process-step,
  .work-card,
  .promise-item {
    padding: 20px;
  }

  .site-footer__inner {
    flex-direction: column;
    justify-content: center;
    padding: 22px 0;
    text-align: center;
  }

  .signal-line {
    grid-template-columns: 14px 1fr;
  }

  .signal-line em {
    grid-column: 2;
  }

  .lab__controls {
    grid-template-columns: 1fr;
  }

  .product-frame {
    height: 460px;
    min-height: 0;
  }

  .product-frame__body {
    grid-template-columns: 1fr;
  }

  .product-frame__sidebar {
    display: none;
  }

  .chart {
    min-height: 0;
  }

  .product-frame__main {
    height: 100%;
    min-height: 0;
    padding: 18px;
  }

  .preview-panel {
    inset: 18px;
  }

  .preview-panel--automation,
  .preview-panel--software,
  .preview-panel--commerce,
  .preview-panel--experience {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) minmax(90px, 0.72fr);
    gap: 12px;
  }

  .data-lines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .data-lines span {
    height: auto;
    min-height: 36px;
  }

  .api-stack,
  .cart-panel,
  .journey-board {
    gap: 8px;
  }

  .api-node {
    min-height: 42px;
    padding: 8px;
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .api-node span {
    width: 28px;
    height: 28px;
  }

  .cart-panel,
  .phone-preview {
    padding: 12px;
  }

  .cart-panel strong {
    height: 34px;
    margin-top: 4px;
  }

  .storefront-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .storefront-grid span {
    min-height: 96px;
  }

  .phone-preview {
    width: 100%;
  }

  .contact-row {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 14px 10px;
  }

  .contact-row > span {
    width: 42px;
    height: 42px;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 22px 0;
  }
}

@media (max-width: 480px) {
  .site-header {
    width: calc(100% - 16px);
    padding: 6px;
  }

  .brand {
    gap: 8px;
  }

  .brand__mark {
    width: 42px;
    height: 42px;
  }

  .brand__text {
    gap: 4px;
    min-width: 0;
  }

  .brand__text strong {
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .brand__text span {
    max-width: 170px;
    font-size: 0.58rem;
    line-height: 1.24;
    white-space: normal;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero h1 {
    font-size: 2.75rem;
    line-height: 1.08;
  }
}

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

  .cursor-glow {
    display: none;
  }
}
