/* ============================================================
   NOVIKOV DEVELOP — cosmic landing
   Fonts: Unbounded (display) · Manrope (body) · JetBrains Mono (tech)
   Accents: orange (launch/CTA) & blue (telemetry) — same L/C, diff hue
   ============================================================ */

:root {
  /* palette */
  --bg:        oklch(14% 0.022 265);
  --bg-2:      oklch(17% 0.026 265);
  --surface:   oklch(21% 0.028 265 / .55);
  --line:      oklch(82% 0.02 250 / .1);
  --line-soft: oklch(82% 0.02 250 / .06);
  --text:      oklch(94% 0.012 250);
  --muted:     oklch(74% 0.02 250);
  --faint:     oklch(58% 0.022 255);

  /* accents: identical lightness & chroma, different hue */
  --orange:      oklch(75% 0.155 55);
  --blue:        oklch(75% 0.155 235);
  --orange-soft: oklch(75% 0.155 55 / .16);
  --blue-soft:   oklch(75% 0.155 235 / .16);
  --orange-glow: oklch(75% 0.155 55 / .38);
  --blue-glow:   oklch(75% 0.155 235 / .38);
  --green:       oklch(78% 0.14 155);

  /* type */
  --font-d: "Unbounded", system-ui, sans-serif;
  --font-b: "Manrope", system-ui, sans-serif;
  --font-m: "JetBrains Mono", ui-monospace, monospace;

  --container: 1200px;
  --radius: 18px;
  --nav-h: 76px;
}

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

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  overflow-x: clip;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.mono { font-family: var(--font-m); }

h1, h2, h3 { font-family: var(--font-d); font-weight: 600; line-height: 1.18; }

a { color: inherit; }

::selection { background: var(--orange-soft); color: var(--text); }

/* ---------- background layers ---------- */
#stars {
  position: fixed;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
}

.nebula {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(52% 38% at 82% -6%, var(--blue-soft), transparent 70%),
    radial-gradient(44% 34% at -8% 32%, oklch(75% 0.155 55 / .08), transparent 70%),
    radial-gradient(60% 46% at 50% 112%, oklch(75% 0.155 235 / .07), transparent 70%);
}

/* ---------- text helpers ---------- */
.grad-orange {
  background: linear-gradient(92deg, var(--orange), oklch(80% 0.14 85));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grad-blue {
  background: linear-gradient(92deg, var(--blue), oklch(80% 0.12 200));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
}
.dot-g { background: var(--green);  box-shadow: 0 0 8px var(--green); }
.dot-o { background: var(--orange); box-shadow: 0 0 8px var(--orange-glow); }
.dot-b { background: var(--blue);   box-shadow: 0 0 8px var(--blue-glow); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-b);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), oklch(68% 0.17 40));
  color: oklch(16% 0.03 55);
  box-shadow: 0 0 0 0 var(--orange-glow), 0 10px 30px -12px var(--orange-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px 0 var(--orange-glow), 0 16px 36px -12px var(--orange-glow);
}

.btn-lg { padding: 16px 30px; font-size: 16px; }

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--blue); box-shadow: 0 0 18px -6px var(--blue-glow); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: oklch(14% 0.022 265 / .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.logo-mark { width: 30px; height: 30px; }
.logo-text {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-sub {
  font-family: var(--font-m);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: .34em;
  color: var(--blue);
  margin-top: 4px;
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 26px; flex-wrap: nowrap; }
.nav-links a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s ease;
  position: relative;
  white-space: nowrap;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--orange);
  transition: right .25s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { right: 0; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.burger span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 40px;
  align-items: center;
  width: 100%;
}

.hero-copy { position: relative; z-index: 2; }

.hero-title {
  font-size: clamp(1.7rem, 2.9vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 26px;
  text-wrap: balance;
}

.hero-sub {
  max-width: 460px;
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 34px;
}

.hero-actions { margin-bottom: 26px; }

.trust-line {
  font-size: 12.5px;
  color: var(--faint);
  letter-spacing: .06em;
}

/* --- mission-control composition --- */
.mission {
  position: relative;
  height: min(640px, 72vh);
  min-height: 480px;
}

.blueprint {
  position: absolute;
  inset: -6%;
  background:
    linear-gradient(var(--blue-soft) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, var(--blue-soft) 1px, transparent 1px) 0 0 / 44px 44px;
  opacity: .5;
  -webkit-mask-image: radial-gradient(65% 65% at 50% 50%, #000 40%, transparent 100%);
  mask-image: radial-gradient(65% 65% at 50% 50%, #000 40%, transparent 100%);
  animation: bp-drift 38s linear infinite;
}

@keyframes bp-drift { to { background-position: 44px 44px, 44px 44px; } }

.orbits {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbits svg { width: min(620px, 100%); height: auto; overflow: visible; }

.cross { stroke: var(--blue-soft); stroke-width: 1; }
.ring  { fill: none; stroke: oklch(75% 0.155 235 / .3); stroke-width: 1; }
.ring-dash  { stroke-dasharray: 6 8; }
.ring-faint { stroke: oklch(75% 0.155 235 / .14); stroke-dasharray: 2 10; }
.ticks line { stroke: var(--blue); stroke-width: 1.6; opacity: .5; }

.core-glow { fill: var(--orange-soft); filter: blur(2px); animation: core-pulse 4s ease-in-out infinite; }
.core-body { fill: oklch(22% 0.03 265); stroke: var(--orange); stroke-width: 1.4; }
.core-dot  { fill: var(--orange); }

@keyframes core-pulse {
  0%, 100% { opacity: .6; transform: scale(1); transform-origin: 320px 320px; }
  50%      { opacity: 1;  transform: scale(1.18); transform-origin: 320px 320px; }
}

.orbit-anim { transform-origin: 320px 320px; }
.orbit-a { animation: spin 26s linear infinite; }
.orbit-b { animation: spin-rev 38s linear infinite; }
.orbit-c { animation: spin 56s linear infinite; }
.orbit-d { animation: spin-rev 15s linear infinite; }

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

.sat-body  { fill: oklch(24% 0.03 265); stroke: var(--blue); stroke-width: 1.4; }
.sat-panel { fill: var(--blue-soft); stroke: var(--blue); stroke-width: 1; }
.sat-eye   { fill: var(--orange); }
.sat-strut { stroke: var(--blue); stroke-width: 1.6; }
.sat-cell  { stroke: var(--blue); stroke-width: .8; opacity: .5; fill: none; }
.sat-ant   { fill: var(--orange); }
.probe   { stroke-width: 1.2; }
.probe-o { fill: var(--orange); }
.probe-b { fill: var(--blue); }
.probe-halo { fill: none; stroke: var(--blue-glow); stroke-width: 1; }

/* radar pings from the core */
.ping {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: ping 4.2s ease-out infinite;
}
.ping.p2 { stroke: var(--orange); animation-delay: 2.1s; }

@keyframes ping {
  0%   { opacity: .7; transform: scale(.5); }
  70%  { opacity: 0;  transform: scale(2.1); }
  100% { opacity: 0;  transform: scale(2.1); }
}

/* shooting stars across the hero */
.shoot {
  position: absolute;
  top: 14%;
  left: -8%;
  width: 120px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, oklch(90% 0.02 250 / .9));
  transform: rotate(16deg);
  opacity: 0;
  pointer-events: none;
  animation: shoot 9s linear infinite;
  z-index: 1;
}
.shoot.s2 {
  top: 42%;
  width: 90px;
  animation-delay: 4.6s;
  animation-duration: 12s;
}

@keyframes shoot {
  0%  { transform: translate3d(0, 0, 0) rotate(16deg); opacity: 0; }
  2%  { opacity: .9; }
  13% { transform: translate3d(58vw, 17vw, 0) rotate(16deg); opacity: 0; }
  100% { transform: translate3d(58vw, 17vw, 0) rotate(16deg); opacity: 0; }
}

/* phone */
.phone {
  position: absolute;
  width: clamp(160px, 16vw, 200px);
  filter: drop-shadow(0 24px 40px oklch(5% 0.02 265 / .6));
}
.phone svg { width: 100%; height: auto; }
.phone-a { left: 10%; bottom: 4%; transform: rotate(-7deg); animation: float-a 7s ease-in-out infinite; }

@keyframes float-a {
  0%, 100% { transform: rotate(-7deg) translateY(0); }
  50%      { transform: rotate(-7deg) translateY(-14px); }
}

.ph-frame { fill: oklch(24% 0.028 265); stroke: oklch(40% 0.03 260); stroke-width: 1.5; }
.ph-notch { fill: oklch(10% 0.02 265); }



/* badges */
.badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .1em;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--text);
  background: oklch(20% 0.026 265 / .82);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
  box-shadow: 0 12px 30px -14px oklch(5% 0.02 265 / .9);
}
.b-1 { top: 9%;  left: 2%;  animation: badge-float 6s ease-in-out infinite; }
.b-2 { top: 55%; right: -3%; animation: badge-float 7.2s ease-in-out .6s infinite; }
.b-3 { bottom: 10%; left: 40%; animation: badge-float 6.6s ease-in-out 1.1s infinite; }
.b-4 { top: 2%; right: 12%; animation: badge-float 8s ease-in-out .3s infinite; }

@keyframes badge-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -9px; }
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--faint);
  animation: hint 2.4s ease-in-out infinite;
}

@keyframes hint {
  0%, 100% { transform: translateY(0); opacity: .7; }
  50%      { transform: translateY(6px); opacity: 1; }
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: oklch(16% 0.024 265 / .7);
  overflow: hidden;
  padding: 14px 0;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  animation: ticker 36s linear infinite;
}
.ticker-inner span { white-space: nowrap; }
.ticker-inner i { color: var(--orange); font-style: normal; font-size: 11px; }

@keyframes ticker { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section { padding: 130px 0; position: relative; }

.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head h2 {
  font-size: clamp(1.6rem, 3.1vw, 2.5rem);
  letter-spacing: -0.01em;
}
.section-sub {
  margin-top: 18px;
  color: var(--muted);
  max-width: 560px;
  font-size: 16px;
}

/* reveal on scroll: fade + scale + blur */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(.965);
  filter: blur(10px);
  transition:
    opacity .9s cubic-bezier(.22,.6,.2,1),
    transform .9s cubic-bezier(.22,.6,.2,1),
    filter .9s cubic-bezier(.22,.6,.2,1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform, filter;
}
.reveal.in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 56px;
  align-items: start;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 22px;
  font-size: 17.5px;
}

.about-statuses {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 30px;
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--faint);
}
.about-statuses span { display: inline-flex; align-items: center; gap: 8px; }

.telemetry {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(var(--line-soft) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px) 0 0 / 36px 36px,
    var(--surface);
  padding: 30px 34px 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.telemetry-title {
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--blue);
  margin-bottom: 18px;
}

.metric {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px dashed var(--line);
}
.metric:first-of-type { border-top: 0; }

.metric-num {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 36px;
  min-width: 108px;
  color: var(--orange);
  line-height: 1;
}
.metric:nth-child(odd) .metric-num { color: var(--blue); }
.metric-num b { font-weight: inherit; }

.metric-label { color: var(--muted); font-size: 14.5px; line-height: 1.45; }

/* ============================================================
   CASES
   ============================================================ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.case-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.case-card:hover {
  transform: translateY(-6px);
  border-color: oklch(75% 0.155 235 / .45);
  box-shadow: 0 24px 50px -24px var(--blue-glow);
}

.case-visual {
  position: relative;
  background:
    linear-gradient(var(--line-soft) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px) 0 0 / 28px 28px,
    oklch(17% 0.028 270);
  border-bottom: 1px solid var(--line-soft);
}
.case-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.case-visual img.fit-contain { object-fit: contain; }

.nda-plate {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--orange);
  background: oklch(20% 0.03 55 / .85);
  border: 1px solid oklch(75% 0.155 55 / .4);
  border-radius: 6px;
  padding: 5px 9px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.case-body { padding: 22px 24px 26px; }
.case-id {
  font-size: 10.5px;
  letter-spacing: .2em;
  color: var(--faint);
}
.case-body h3 {
  font-size: 16.5px;
  font-weight: 600;
  margin: 10px 0 16px;
  line-height: 1.35;
}

.case-meta { display: grid; gap: 7px; }
.case-meta div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 11.5px;
}
.case-meta dt { color: var(--faint); letter-spacing: .06em; text-transform: uppercase; }
.case-meta dd { color: var(--muted); text-align: right; }

.st    { font-weight: 600; }
.st-g  { color: var(--green) !important; }
.st-b  { color: var(--blue) !important; }
.st-o  { color: var(--orange) !important; }


/* ============================================================
   SERVICES — light glass section
   ============================================================ */
.section.light {
  background:
    linear-gradient(oklch(60% 0.06 245 / .1) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, oklch(60% 0.06 245 / .1) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(180deg, oklch(93% 0.012 250), oklch(88% 0.018 250));
  color: oklch(24% 0.03 265);
}

.section.light .kicker { color: oklch(52% 0.14 245); }
.section.light h2 { color: oklch(20% 0.03 265); }

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

.service-card {
  position: relative;
  border-radius: var(--radius);
  padding: 30px 28px;
  background: oklch(100% 0 0 / .55);
  border: 1px solid oklch(100% 0 0 / .75);
  box-shadow: 0 18px 44px -26px oklch(30% 0.05 260 / .5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .35s ease, box-shadow .35s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 54px -26px oklch(30% 0.05 260 / .65);
}

.svc-id {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 10.5px;
  letter-spacing: .18em;
  color: oklch(55% 0.05 250);
}

.svc-icon {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: oklch(55% 0.16 45);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 18px;
}
.service-card:nth-child(even) .svc-icon { stroke: oklch(52% 0.14 245); }

.service-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: oklch(22% 0.03 265);
}
.service-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: oklch(40% 0.03 260);
}

/* ============================================================
   PROCESS — launch sequence
   ============================================================ */
.seq {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 0 20px;
}

.seq-track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 27px;
  width: 2px;
}
.seq-track::before {
  content: "";
  position: absolute;
  inset: 0;
  border-left: 2px dashed var(--line);
}

.seq-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: calc(var(--p, 0) * 100%);
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange-glow);
}

.seq-dot {
  position: absolute;
  top: calc(var(--p, 0) * 100%);
  left: 1px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  translate: -50% -50%;
  box-shadow:
    0 0 0 5px oklch(75% 0.155 55 / .2),
    0 0 20px var(--orange-glow);
}
.seq-dot::after {
  content: "";
  position: absolute;
  inset: -11px;
  border-radius: 50%;
  border: 1px dashed oklch(75% 0.155 55 / .5);
  animation: spin 8s linear infinite;
}

.seq-steps { list-style: none; display: grid; gap: 34px; }

.seq-step {
  position: relative;
  margin-left: 76px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color .4s ease, box-shadow .4s ease, opacity .4s ease;
  opacity: .55;
}
.seq-step::before {
  content: "";
  position: absolute;
  left: -54px;
  top: 38px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 2px solid var(--faint);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.seq-step::after {
  content: "";
  position: absolute;
  left: -43px;
  top: 42px;
  width: 43px;
  height: 2px;
  background: linear-gradient(90deg, var(--line), transparent);
}

.seq-step.is-active { opacity: 1; border-color: oklch(75% 0.155 55 / .4); }
.seq-step.is-active::before {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 0 12px var(--orange-glow);
}

.seq-t {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--blue);
}
.seq-step.is-active .seq-t { color: var(--orange); }

.seq-step h3 { font-size: 17px; margin: 12px 0 10px; }
.seq-step p { color: var(--muted); font-size: 15px; }

/* ============================================================
   TECH MARQUEE
   ============================================================ */
.marquee {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 26px 0;
  overflow: hidden;
  position: relative;
}

.marquee-label {
  max-width: var(--container);
  margin: 0 auto 14px;
  padding: 0 32px;
  font-size: 10.5px;
  letter-spacing: .24em;
  color: var(--faint);
}

.marquee-track { overflow: hidden; }
.marquee-inner {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--muted);
  animation: ticker 46s linear infinite reverse;
}
.marquee-inner span { white-space: nowrap; transition: color .2s; }
.marquee-inner span:hover { color: var(--blue); }
.marquee-inner i { color: var(--blue); font-style: normal; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 40px;
  align-items: start;
}

.intake {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 38px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  gap: 22px;
}

/* honeypot: скрытая ловушка для спам-ботов */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

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

.field-label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--faint);
}

.intake input[type="text"],
.intake input[type="email"],
.intake select,
.intake textarea {
  font-family: var(--font-b);
  font-size: 15.5px;
  color: var(--text);
  background: oklch(15% 0.022 265 / .7);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
  width: 100%;
  resize: vertical;
}
.intake input:focus,
.intake select:focus,
.intake textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}
.intake ::placeholder { color: var(--faint); }

.intake input:-webkit-autofill,
.intake input:-webkit-autofill:hover,
.intake input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px oklch(15% 0.022 265) inset;
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  border: 1px solid var(--line);
  transition: background-color 9999s ease-out 0s;
}

.intake select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238b93a8' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.field-radios { border: 0; }
.field-radios legend { margin-bottom: 14px; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radios label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.radios input { position: absolute; opacity: 0; pointer-events: none; }
.radios span {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  transition: all .25s ease;
}
.radios input:checked + span {
  color: var(--text);
  border-color: var(--orange);
  background: var(--orange-soft);
}
.radios input:focus-visible + span { box-shadow: 0 0 0 3px var(--blue-soft); }

/* согласие на обработку ПД */
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.consent input { position: absolute; opacity: 0; pointer-events: none; }
.consent-box {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: oklch(15% 0.022 265 / .7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.consent input:checked + .consent-box {
  background: var(--orange);
  border-color: var(--orange);
  color: oklch(16% 0.03 55);
}
.consent input:focus-visible + .consent-box { box-shadow: 0 0 0 3px var(--blue-soft); }
.consent a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px dashed oklch(75% 0.155 235 / .4);
}
.consent a:hover { border-bottom-style: solid; }

.btn-submit { justify-self: start; border: 0; }

.form-note { font-size: 13px; color: var(--faint); line-height: 1.55; }

.intake-success {
  border: 1px solid oklch(78% 0.14 155 / .4);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 48px 38px;
  text-align: center;
  display: grid;
  gap: 14px;
  justify-items: center;
}
.success-code { color: var(--green); font-size: 11px; letter-spacing: .22em; }
.intake-success h3 { font-size: 22px; }
.intake-success p { color: var(--muted); max-width: 380px; }

/* aside */
.intake-aside {
  display: grid;
  gap: 26px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.aside-title {
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--blue);
}

.aside-list { list-style: none; display: grid; gap: 20px; }
.aside-list li { display: flex; gap: 16px; align-items: flex-start; }
.aside-num {
  font-size: 12px;
  color: var(--orange);
  border: 1px solid oklch(75% 0.155 55 / .4);
  border-radius: 8px;
  padding: 6px 9px;
  line-height: 1;
  flex: none;
}
.aside-list b { color: var(--text); }
.aside-list div { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.aside-nda {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.aside-nda p:first-child {
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--orange);
  margin-bottom: 8px;
}
.aside-nda p:last-child { color: var(--muted); font-size: 14px; }

.aside-contacts { display: grid; gap: 8px; font-size: 13.5px; }
.aside-contacts a {
  color: var(--blue);
  text-decoration: none;
  width: fit-content;
  border-bottom: 1px dashed oklch(75% 0.155 235 / .4);
  transition: border-color .2s;
}
.aside-contacts a:hover { border-bottom-style: solid; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line-soft);
  background: oklch(12% 0.02 265 / .85);
  padding: 60px 0 28px;
}

.footer-grid {
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-soft);
}

.footer-req {
  font-size: 12px;
  color: var(--faint);
  display: grid;
  gap: 6px;
  align-content: start;
  letter-spacing: .04em;
  margin-top: 26px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--faint);
}
.footer-bottom span { display: inline-flex; align-items: center; gap: 9px; }

.footer-privacy {
  color: var(--faint);
  text-decoration: none;
  border-bottom: 1px dashed var(--line);
  transition: color .2s ease;
}
.footer-privacy:hover { color: var(--blue); }

/* legal page (privacy policy) */
.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 60px) 32px 100px;
}
.legal h1 {
  font-size: clamp(1.3rem, 2.6vw, 2.1rem);
  margin-bottom: 14px;
  overflow-wrap: break-word;
  hyphens: auto;
}
.legal-date { color: var(--faint); font-size: 12px; letter-spacing: .08em; margin-bottom: 40px; }
.legal h2 {
  font-size: 18px;
  margin: 36px 0 14px;
}
.legal p, .legal li { color: var(--muted); font-size: 15.5px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal a { color: var(--blue); }
.legal-back {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--blue);
  text-decoration: none;
  font-size: 13px;
}
.legal-back:hover { text-decoration: underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) and (min-width: 721px) {
  .nav-inner { gap: 18px; }
  .nav-links { gap: 15px; }
  .nav-links a { font-size: 13.5px; }
  .nav-cta { padding: 10px 16px; font-size: 14px; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hero { min-height: auto; padding-bottom: 40px; }
  .hero-copy { text-align: left; }
  .mission { height: 520px; max-width: 620px; margin: 0 auto; width: 100%; }

  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .intake-aside { position: static; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .section { padding: 90px 0; }

  .nav-inner { padding: 0 20px; gap: 16px; }
  .nav-cta { display: none; }
  .burger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: oklch(14% 0.022 265 / .96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 10px 20px 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
  }
  .nav.open .nav-links {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav-links a { padding: 13px 0; font-size: 16px; border-bottom: 1px solid var(--line-soft); }
  .nav.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .burger span:nth-child(2) { opacity: 0; }
  .nav.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding-top: calc(var(--nav-h) + 28px); }
  .hero-title br, .section-head h2 br { display: none; }
  .hero-sub { font-size: 16.5px; }
  .mission { height: 440px; min-height: 0; }
  .phone { width: 148px; }
  .phone-a { left: 4%; }
  .badge { font-size: 9px; padding: 7px 11px; }
  .b-2 { right: 0; }
  .b-3 { left: 0; }
  .scroll-hint { display: none; }

  .section-head { margin-bottom: 44px; }
  .cases-grid { grid-template-columns: minmax(0, 1fr); }
  .services-grid { grid-template-columns: minmax(0, 1fr); }

  .metric-num { font-size: 28px; min-width: 86px; }
  .telemetry { padding: 24px 22px 8px; }

  .seq-track { left: 15px; }
  .seq-step { margin-left: 48px; padding: 22px; }
  .seq-step::before { left: -38px; top: 34px; }
  .seq-step::after { left: -27px; top: 38px; width: 27px; }

  .intake { padding: 26px 20px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }

  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
  .shoot, .comet, .ping { display: none !important; }
}
