:root {
  color-scheme: light dark;
  --bg: #f6efe6;
  --bg-alt: #fffaf4;
  --canvas: #0b1120;
  --canvas-2: #111a2d;
  --surface: rgba(255, 253, 248, 0.84);
  --surface-strong: #fffdf8;
  --surface-soft: rgba(248, 241, 232, 0.88);
  --ink: #121726;
  --ink-soft: #5c6679;
  --ink-inverse: #f6f9ff;
  --line: rgba(18, 23, 38, 0.12);
  --line-strong: rgba(18, 23, 38, 0.2);
  --accent: #3479ff;
  --accent-2: #1fd4bf;
  --accent-3: #ffd15e;
  --accent-4: #ff8a5a;
  --accent-5: #c76cff;
  --shadow-soft: 0 20px 50px rgba(16, 22, 36, 0.12);
  --shadow-strong: 0 36px 78px rgba(8, 12, 22, 0.24);
  --radius-xl: 44px;
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --scrim: rgba(8, 11, 18, 0.66);
  --pointer-x: 0.5;
  --pointer-y: 0.5;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #08101e;
    --bg-alt: #0d1526;
    --canvas: #07101d;
    --canvas-2: #101a2e;
    --surface: rgba(13, 19, 32, 0.84);
    --surface-strong: #10192b;
    --surface-soft: rgba(14, 21, 36, 0.9);
    --ink: #f5f8ff;
    --ink-soft: rgba(245, 248, 255, 0.74);
    --ink-inverse: #0b1120;
    --line: rgba(176, 192, 224, 0.16);
    --line-strong: rgba(176, 192, 224, 0.24);
    --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.28);
    --shadow-strong: 0 36px 78px rgba(0, 0, 0, 0.38);
    --scrim: rgba(4, 8, 16, 0.76);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 8%, rgba(52, 121, 255, 0.14), transparent 22%),
    radial-gradient(circle at 88% 12%, rgba(31, 212, 191, 0.16), transparent 20%),
    radial-gradient(circle at 82% 84%, rgba(255, 209, 94, 0.18), transparent 22%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(52, 121, 255, 0.08), transparent 18%),
    radial-gradient(circle at 84% 16%, rgba(255, 209, 94, 0.1), transparent 18%),
    radial-gradient(circle at 52% 92%, rgba(31, 212, 191, 0.08), transparent 18%);
  opacity: 0.9;
  z-index: -2;
  animation: ambient-drift 24s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 36%, rgba(255, 255, 255, 0.12) 42%, transparent 47%),
    linear-gradient(300deg, transparent 0 60%, rgba(255, 255, 255, 0.08) 65%, transparent 70%);
  opacity: 0.6;
  z-index: -1;
}

body.menu-open {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.eyebrow,
.tag,
.chip,
.stat-label,
.mini-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow {
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow::before {
  content: "";
  width: 48px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.eyebrow--light {
  color: rgba(245, 248, 255, 0.76);
}

.tag {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(52, 121, 255, 0.1);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tag--dark {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(245, 248, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chip {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(16px);
}

.chip--dark {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 248, 255, 0.9);
}

.display,
.hero-copy h1,
.section-head h2,
.section-head h3,
.panel h2,
.panel h3,
.detail-copy h2,
.detail-copy h3,
.contact-copy h2,
.contact-copy h3,
.faq summary {
  margin: 0;
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  letter-spacing: -0.04em;
}

.display {
  font-size: clamp(3.2rem, 6vw, 6.4rem);
  line-height: 0.94;
}

.lead {
  margin: 0;
  font-size: clamp(1.05rem, 1.55vw, 1.24rem);
  line-height: 1.75;
  color: var(--ink-soft);
}

.lead--light {
  color: rgba(245, 248, 255, 0.76);
}

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

.section--dark {
  background:
    radial-gradient(circle at 12% 10%, rgba(52, 121, 255, 0.16), transparent 20%),
    radial-gradient(circle at 86% 18%, rgba(31, 212, 191, 0.12), transparent 18%),
    linear-gradient(180deg, var(--canvas) 0%, var(--canvas-2) 100%);
  color: var(--ink-inverse);
}

.section--light {
  background:
    radial-gradient(circle at 8% 0%, rgba(52, 121, 255, 0.06), transparent 20%),
    radial-gradient(circle at 92% 4%, rgba(31, 212, 191, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.96) 0%, rgba(249, 243, 236, 0.98) 100%);
}

.section--strip {
  padding: 28px 0;
}

.section-head {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 0.98;
}

.section-head p,
.panel p,
.detail-copy p,
.contact-copy p,
.faq p,
.mini-copy,
.flow-card p,
.service-tile p,
.service-detail p,
.story-copy p {
  margin: 0;
  line-height: 1.74;
  color: var(--ink-soft);
}

.section--dark .section-head p,
.section--dark .panel p,
.section--dark .detail-copy p,
.section--dark .contact-copy p,
.section--dark .faq p,
.section--dark .mini-copy,
.section--dark .flow-card p,
.section--dark .service-tile p,
.section--dark .service-detail p,
.section--dark .story-copy p {
  color: rgba(245, 248, 255, 0.72);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.panel,
.soft-card,
.glass-card,
.detail-card,
.contact-card,
.faq,
.service-detail,
.stat-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.panel,
.soft-card,
.detail-card,
.contact-card,
.service-detail {
  padding: 24px;
}

.panel--dark,
.glass-card--dark,
.detail-card--dark,
.contact-card--dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  color: var(--ink-inverse);
}

.shell.stack {
  display: grid;
  gap: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    opacity 160ms ease;
  cursor: pointer;
  white-space: nowrap;
}

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

.btn:focus-visible,
.menu-toggle:focus-visible,
.nav-links a:focus-visible,
.nav-cta a:focus-visible,
.orbit-chip:focus-visible,
.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.contact-form select:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 70%, white);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 18px 28px rgba(52, 121, 255, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 24px 34px rgba(52, 121, 255, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border-color: var(--line);
}

.section--dark .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-inverse);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.section--dark .btn-ghost {
  color: var(--ink-inverse);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-link {
  min-height: auto;
  padding: 0;
  border: 0;
  color: var(--accent);
  background: transparent;
  font-weight: 800;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 0 0;
  background: linear-gradient(180deg, rgba(6, 10, 19, 0.66), rgba(6, 10, 19, 0.28));
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
  min-height: 88px;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background: rgba(10, 14, 24, 0.74);
  box-shadow: 0 16px 42px rgba(10, 14, 24, 0.22);
}

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

.brand img {
  width: 58px;
  height: 58px;
  flex: none;
}

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

.brand__title {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.95rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #f6f8ff;
}

.brand__subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245, 248, 255, 0.7);
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  min-width: 0;
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: rgba(245, 248, 255, 0.74);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 160ms ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: #ffffff;
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-shell__cta {
  min-width: 176px;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}

.menu-icon {
  width: 22px;
  height: 18px;
  display: inline-grid;
  align-content: center;
  gap: 5px;
}

.menu-icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease, width 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-panel {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: start center;
  padding: 14px;
  background: var(--scrim);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.nav-panel[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.nav-sheet {
  width: min(900px, calc(100vw - 20px));
  max-height: calc(100dvh - 20px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border-radius: 36px;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--surface-strong) 94%, transparent);
  box-shadow: var(--shadow-strong);
}

.nav-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 18px 10px;
  border-bottom: 1px solid var(--line);
}

.nav-sheet__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
}

.nav-sheet__brand img {
  width: 44px;
  height: 44px;
  flex: none;
}

.nav-sheet__brand strong {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--surface-strong);
  color: var(--ink);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.nav-sheet__body {
  display: grid;
  gap: 18px;
  padding: 16px 18px 18px;
  overflow: auto;
}

.nav-links {
  display: grid;
  gap: 12px;
}

.nav-links a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(246, 240, 232, 0.92));
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a[aria-current="page"] {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  background: linear-gradient(135deg, rgba(52, 121, 255, 0.12), rgba(31, 212, 191, 0.08));
}

.nav-cta {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.nav-cta .btn {
  width: 100%;
  min-height: 52px;
}

.hero {
  position: relative;
  padding: 26px 0 0;
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(34px, 5vw, 60px) 0 clamp(38px, 5vw, 72px);
}

.hero-shell::before,
.hero-shell::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
  filter: blur(8px);
  opacity: 0.72;
}

.hero-shell::before {
  left: -8%;
  top: 14%;
  width: 34%;
  height: 42%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 121, 255, 0.34), transparent 68%);
  animation: drift-slow 18s ease-in-out infinite alternate;
}

.hero-shell::after {
  right: -6%;
  bottom: 4%;
  width: 24%;
  height: 32%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 212, 191, 0.24), transparent 65%);
  animation: drift-slow 24s ease-in-out infinite alternate-reverse;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  max-width: 620px;
}

.hero-copy h1 {
  font-size: clamp(3.1rem, 5.8vw, 6rem);
  line-height: 0.93;
  color: var(--ink-inverse);
}

.hero-copy .lead {
  max-width: 58ch;
  color: rgba(245, 248, 255, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.kpi {
  padding: 14px 14px 12px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-inverse);
}

.kpi strong {
  display: block;
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: 1.45rem;
  line-height: 1;
}

.kpi span {
  display: block;
  margin-top: 6px;
  color: rgba(245, 248, 255, 0.68);
  font-size: 0.8rem;
  line-height: 1.35;
}

.hero-canvas {
  position: relative;
  min-height: clamp(540px, 56vw, 780px);
  isolation: isolate;
}

.hero-canvas[data-motion-scope] {
  --pointer-x: var(--pointer-x);
  --pointer-y: var(--pointer-y);
}

.hero-curve {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 0;
  pointer-events: none;
}

.hero-curve path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 10 18;
  animation: trace 18s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.hero-curve .curve-1 {
  stroke: rgba(255, 209, 94, 0.72);
  stroke-width: 3;
}

.hero-curve .curve-2 {
  stroke: rgba(52, 121, 255, 0.72);
  stroke-width: 2.4;
  animation-duration: 22s;
}

.hero-curve .curve-3 {
  stroke: rgba(31, 212, 191, 0.72);
  stroke-width: 2.8;
  animation-duration: 26s;
}

.hero-curve .curve-4 {
  stroke: rgba(255, 138, 90, 0.72);
  stroke-width: 2.2;
  animation-duration: 20s;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  transition: transform 140ms ease;
}

.hero-orb--a {
  width: 160px;
  height: 160px;
  right: 0;
  top: 4%;
  background: radial-gradient(circle, rgba(255, 209, 94, 0.78), rgba(255, 209, 94, 0) 68%);
  animation: pulse 7s ease-in-out infinite;
}

.hero-orb--b {
  width: 230px;
  height: 230px;
  left: 4%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(52, 121, 255, 0.32), rgba(52, 121, 255, 0) 70%);
  animation: pulse 11s ease-in-out infinite reverse;
}

.hero-orb--c {
  width: 110px;
  height: 110px;
  right: 10%;
  bottom: 14%;
  background: radial-gradient(circle, rgba(31, 212, 191, 0.62), rgba(31, 212, 191, 0) 64%);
  animation: pulse 8s ease-in-out infinite;
}

.hero-frame {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 26px 52px rgba(4, 8, 16, 0.34);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.02);
}

.hero-frame--main {
  inset: 2% 0 6% 26%;
  border-radius: 34px 58px 64px 34px / 34px 50px 72px 34px;
  background: #161f35;
  animation: float 12s ease-in-out infinite;
}

.hero-frame--left {
  width: 34%;
  height: 23%;
  left: 3%;
  top: 12%;
  border-radius: 28px 40px 54px 24px / 28px 36px 52px 24px;
  animation: float 15s ease-in-out infinite reverse;
}

.hero-frame--right {
  width: 28%;
  height: 22%;
  right: 4%;
  top: 2%;
  border-radius: 28px 52px 26px 42px / 28px 44px 24px 32px;
  animation: float 14s ease-in-out infinite;
}

.hero-note {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 11, 18, 0.8);
  color: rgba(245, 248, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
}

.hero-note--a {
  left: 8%;
  top: 34%;
}

.hero-note--b {
  right: 8%;
  bottom: 14%;
}

.hero-note--c {
  left: 38%;
  top: 16%;
}

.hero-marquee {
  position: relative;
  z-index: 1;
  margin-top: -8px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(90deg, rgba(5, 9, 17, 0.76), rgba(9, 13, 23, 0.9));
}

.hero-marquee__track {
  display: inline-flex;
  gap: 28px;
  padding: 14px 0;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

.hero-marquee__track span {
  color: rgba(245, 248, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-marquee__track span::after {
  content: "•";
  margin-left: 28px;
  color: rgba(52, 121, 255, 0.9);
}

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

.service-tile {
  position: relative;
  grid-column: span 4;
  padding: 24px;
  border-radius: 40px 34px 52px 34px / 34px 34px 56px 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 8%, rgba(52, 121, 255, 0.14), transparent 34%),
    radial-gradient(circle at 84% 16%, rgba(31, 212, 191, 0.12), transparent 26%),
    color-mix(in srgb, var(--surface-strong) 94%, transparent);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  transform: translateY(0) rotate(0deg);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  animation: float 11s ease-in-out infinite;
}

.service-tile:nth-child(2n) {
  animation-delay: -2.1s;
}

.service-tile:nth-child(3n) {
  animation-delay: -4.2s;
}

.service-tile:nth-child(4n) {
  animation-delay: -6.3s;
}

.service-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent 48%),
    linear-gradient(315deg, transparent 0 72%, rgba(52, 121, 255, 0.12) 78%, transparent 84%);
  opacity: 0.72;
  pointer-events: none;
}

.service-tile:hover {
  transform: translateY(-4px) rotate(-0.8deg);
  box-shadow: 0 30px 72px rgba(16, 22, 36, 0.18);
}

.service-tile--wide {
  grid-column: span 8;
}

.service-tile--tall {
  grid-column: span 4;
  min-height: 100%;
}

.service-tile__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 18px 32px 18px 32px;
  background: linear-gradient(135deg, rgba(52, 121, 255, 0.18), rgba(31, 212, 191, 0.12));
  color: var(--accent);
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
}

.service-tile h3 {
  margin: 16px 0 10px;
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: clamp(1.34rem, 2vw, 1.82rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.service-tile p {
  font-size: 0.98rem;
}

.service-tile ul {
  margin: 16px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.service-tile li::marker {
  color: var(--accent);
}

.service-tile--dark {
  color: var(--ink-inverse);
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 209, 94, 0.16), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(52, 121, 255, 0.2), transparent 26%),
    linear-gradient(160deg, rgba(8, 12, 22, 0.96), rgba(14, 21, 37, 0.96));
  border-color: rgba(255, 255, 255, 0.1);
}

.service-tile--dark p,
.service-tile--dark ul {
  color: rgba(245, 248, 255, 0.75);
}

.service-tile--dark .service-tile__num {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 24px;
  align-items: start;
}

.orbital-stage {
  position: relative;
  min-height: 540px;
  border-radius: 42px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(52, 121, 255, 0.16), transparent 18%),
    radial-gradient(circle at 22% 18%, rgba(31, 212, 191, 0.18), transparent 20%),
    radial-gradient(circle at 86% 72%, rgba(255, 209, 94, 0.16), transparent 18%),
    color-mix(in srgb, var(--surface-strong) 96%, transparent);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.orbital-stage::before,
.orbital-stage::after {
  content: "";
  position: absolute;
  inset: 12% 8% auto auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  pointer-events: none;
}

.orbital-stage::before {
  background: radial-gradient(circle, rgba(52, 121, 255, 0.12), transparent 66%);
  transform: translate3d(calc((var(--pointer-x) - 0.5) * 18px), calc((var(--pointer-y) - 0.5) * 14px), 0);
}

.orbital-stage::after {
  left: 6%;
  bottom: 12%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(31, 212, 191, 0.12), transparent 66%);
  transform: translate3d(calc((var(--pointer-x) - 0.5) * -18px), calc((var(--pointer-y) - 0.5) * -10px), 0);
}

.orbital-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 220px;
  height: 220px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 50% 36%, rgba(52, 121, 255, 0.12), transparent 40%),
    radial-gradient(circle at 50% 62%, rgba(31, 212, 191, 0.12), transparent 46%),
    color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: 0 24px 44px rgba(10, 15, 26, 0.12);
  animation: pulse 8s ease-in-out infinite;
}

.orbital-core span {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
}

.orbit-chip {
  position: absolute;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 86%, transparent);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: var(--shadow-soft);
  animation: orbit 12s linear infinite;
}

.orbit-chip:nth-of-type(2) {
  animation-duration: 14s;
}

.orbit-chip:nth-of-type(3) {
  animation-duration: 16s;
}

.orbit-chip:nth-of-type(4) {
  animation-duration: 18s;
}

.orbit-chip--1 {
  left: 8%;
  top: 16%;
}

.orbit-chip--2 {
  right: 10%;
  top: 14%;
}

.orbit-chip--3 {
  left: 10%;
  bottom: 18%;
}

.orbit-chip--4 {
  right: 14%;
  bottom: 18%;
}

.orbit-chip--5 {
  left: 50%;
  top: 8%;
  transform: translateX(-50%);
}

.orbit-chip--6 {
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
}

.bundle-quote {
  display: grid;
  gap: 14px;
}

.bundle-quote strong {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: clamp(1.8rem, 2.7vw, 2.7rem);
  line-height: 1.02;
}

.bundle-quote p {
  max-width: 54ch;
}

.process-trace {
  position: relative;
  display: grid;
  gap: 18px;
}

.process-trace::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  opacity: 0.34;
}

.process-step {
  position: relative;
  display: grid;
  gap: 8px;
  padding-left: 56px;
}

.process-step::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 6px rgba(52, 121, 255, 0.08);
}

.process-step strong {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: 1.18rem;
  line-height: 1.1;
}

.process-step p {
  max-width: 54ch;
}

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

.stat-card {
  padding: 18px 18px 16px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 14% 14%, rgba(52, 121, 255, 0.1), transparent 26%),
    color-mix(in srgb, var(--surface-strong) 94%, transparent);
}

.section--dark .stat-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.stat-card strong {
  display: block;
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.section--dark .stat-card span {
  color: rgba(245, 248, 255, 0.72);
}

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

.mosaic-card {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border-radius: 38px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 96%, transparent);
  box-shadow: var(--shadow-soft);
}

.mosaic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosaic-card--wide {
  grid-column: span 7;
  min-height: 280px;
}

.mosaic-card--tall {
  grid-column: span 5;
  min-height: 280px;
}

.mosaic-card--small {
  grid-column: span 4;
}

.mosaic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(8, 11, 18, 0.32) 100%);
  pointer-events: none;
}

.footer {
  padding: 38px 0 28px;
  background: linear-gradient(180deg, var(--canvas) 0%, #070d18 100%);
  color: var(--ink-inverse);
}

.footer-shell {
  display: grid;
  gap: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 0.8fr));
  gap: 20px;
}

.footer-brand {
  display: grid;
  gap: 14px;
  max-width: 380px;
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand .brand img {
  width: 56px;
  height: 56px;
}

.footer-brand p,
.footer-links a,
.footer-note {
  color: rgba(245, 248, 255, 0.7);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links h3 {
  margin: 0 0 4px;
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a {
  width: fit-content;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(245, 248, 255, 0.62);
  font-size: 0.86rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: start;
}

.contact-panel {
  display: grid;
  gap: 18px;
}

.contact-methods {
  display: grid;
  gap: 12px;
}

.contact-method {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 95%, transparent);
}

.contact-method strong {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: 1.02rem;
}

.contact-method span {
  color: var(--ink-soft);
  line-height: 1.5;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 34px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 12%, rgba(52, 121, 255, 0.1), transparent 22%),
    color-mix(in srgb, var(--surface-strong) 96%, transparent);
  box-shadow: var(--shadow-soft);
}

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

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
}

.contact-form textarea {
  min-height: 160px;
  padding-top: 14px;
  resize: vertical;
}

.contact-form select {
  appearance: none;
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 2px),
    calc(100% - 16px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: color-mix(in srgb, var(--ink-soft) 68%, transparent);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

.form-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.form-note[data-state="success"] {
  color: #0f9b73;
}

.form-note[data-state="error"] {
  color: #c95151;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section--dark .reveal {
  transform: translateY(20px);
}

@keyframes ambient-drift {
  0% {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
  }
  100% {
    transform: translate3d(1.5%, 1.2%, 0) scale(1.04);
  }
}

@keyframes drift-slow {
  0% {
    transform: translate3d(-8px, -6px, 0);
  }
  100% {
    transform: translate3d(10px, 8px, 0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes trace {
  to {
    stroke-dashoffset: -140;
  }
}

@keyframes orbit {
  0% {
    transform: translate3d(0, 0, 0);
  }
  25% {
    transform: translate3d(3px, -4px, 0);
  }
  50% {
    transform: translate3d(0, 0, 0);
  }
  75% {
    transform: translate3d(-4px, 3px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1120px) {
  .nav-shell {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav {
    gap: 18px;
  }

  .nav-shell__cta {
    display: none;
  }

  .hero-shell,
  .split-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    gap: 24px;
  }

  .hero-canvas {
    min-height: 520px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-kpis,
  .stat-rail,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-grid,
  .mosaic {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .service-tile,
  .service-tile--wide,
  .service-tile--tall,
  .mosaic-card--wide,
  .mosaic-card--tall,
  .mosaic-card--small {
    grid-column: span 6;
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav-shell {
    grid-template-columns: auto 1fr auto;
    min-height: 76px;
    padding: 10px 14px;
    border-radius: 26px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand__subtitle {
    font-size: 0.66rem;
    letter-spacing: 0.22em;
  }

  .hero {
    padding-top: 10px;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 11vw, 4.2rem);
  }

  .hero-canvas {
    min-height: 440px;
  }

  .hero-frame--main {
    inset: 8% 0 8% 18%;
  }

  .hero-frame--left {
    width: 38%;
    height: 20%;
    left: 0;
    top: 10%;
  }

  .hero-frame--right {
    width: 34%;
    height: 18%;
    right: 0;
    top: 0;
  }

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

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

  .service-tile,
  .service-tile--wide,
  .service-tile--tall,
  .mosaic-card--wide,
  .mosaic-card--tall,
  .mosaic-card--small {
    grid-column: span 2;
  }

  .orbital-stage {
    min-height: 480px;
  }

  .orbital-core {
    width: 180px;
    height: 180px;
  }

  .orbital-core span {
    font-size: 3.2rem;
  }

  .contact-form,
  .panel,
  .soft-card,
  .detail-card,
  .contact-card,
  .service-detail {
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100%, calc(100% - 24px));
  }

  .hero-shell {
    padding: 28px 0 36px;
  }

  .hero-copy {
    gap: 14px;
  }

  .hero-actions,
  .hero-chips {
    gap: 10px;
  }

  .hero-kpis,
  .stat-rail,
  .grid--2,
  .grid--3,
  .grid--4,
  .flow-grid,
  .mosaic,
  .footer-grid,
  .contact-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .service-tile,
  .service-tile--wide,
  .service-tile--tall,
  .mosaic-card--wide,
  .mosaic-card--tall,
  .mosaic-card--small {
    grid-column: span 1;
  }

  .hero-canvas {
    min-height: 380px;
  }

  .hero-frame--main {
    inset: 12% 0 10% 10%;
    border-radius: 28px 42px 54px 28px / 28px 30px 48px 28px;
  }

  .hero-frame--left,
  .hero-frame--right,
  .hero-note--c {
    display: none;
  }

  .hero-note--a {
    left: 4%;
    top: 24%;
  }

  .hero-note--b {
    right: 4%;
    bottom: 10%;
  }

  .hero-copy h1 {
    font-size: clamp(2.4rem, 14vw, 3.4rem);
  }

  .desktop-nav,
  .nav-shell__cta {
    display: none;
  }

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

  .nav-panel {
    padding: 10px;
  }

  .nav-sheet {
    width: calc(100vw - 14px);
    max-height: calc(100dvh - 14px);
    border-radius: 28px;
  }

  .nav-sheet__header {
    padding: 14px 14px 10px;
  }

  .nav-sheet__brand strong {
    font-size: 1.16rem;
  }

  .nav-sheet__brand img {
    width: 36px;
    height: 36px;
  }

  .nav-links a {
    min-height: 52px;
    border-radius: 16px;
    font-size: 0.82rem;
  }

  .menu-close {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .section {
    padding: 28px 0;
  }

  .hero-marquee__track {
    padding: 12px 0;
  }

  .brand__subtitle {
    display: none;
  }

  .brand__title {
    font-size: 1.3rem;
  }

  .site-nav {
    padding-top: 8px;
  }
}

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