/* === XPLOREMINDS — Cosmic Command Deck === */
:root {
  --void: #05040d;
  --void-2: #0b0a1f;
  --void-3: #12102b;
  --indigo: #6366f1;
  --indigo-deep: #4f46e5;
  --cyan: #22d3ee;
  --cyan-deep: #0891b2;
  --gold: #fbbf24;
  --magenta: #d946ef;
  --text: #f5f3ff;
  --text-dim: #a5a3c4;
  --text-mute: #6b6890;
  --line: rgba(165, 163, 196, 0.12);
  --line-bright: rgba(99, 102, 241, 0.35);
  --glow-i: 0 0 40px rgba(99, 102, 241, 0.45);
  --glow-c: 0 0 40px rgba(34, 211, 238, 0.4);
  --ease-cinema: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--void); color: var(--text); scroll-behavior: smooth; }
/* overflow-x on html clips at viewport level without touching body.
   overflow-x on body would implicitly set overflow-y:auto, making body
   the scroll container — which breaks sticky's containing-block height
   calculation on some mobile browsers (nav releases at bottom of page). */
html { overflow-x: clip; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  cursor: none;
  min-height: 100vh;
  position: relative;
}

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  top: 0; left: 0;
  transform: translate3d(-50%, -50%, 0);
  mix-blend-mode: screen;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(99, 102, 241, 0.7);
  transition: width .25s, height .25s, border-color .25s, background .25s;
}
.cursor-ring.hover {
  width: 60px; height: 60px;
  border-color: var(--gold);
  background: rgba(251, 191, 36, 0.08);
}

/* ---------- Aurora + grid bg ---------- */
.bg-stack {
  position: fixed; inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.aurora {
  position: absolute; inset: -20%;
  background:
    radial-gradient(45% 40% at 20% 25%, rgba(99, 102, 241, 0.55), transparent 60%),
    radial-gradient(40% 35% at 80% 30%, rgba(34, 211, 238, 0.45), transparent 60%),
    radial-gradient(50% 45% at 50% 80%, rgba(217, 70, 239, 0.3), transparent 60%);
  filter: blur(60px);
  animation: aurora 30s ease-in-out infinite alternate;
  opacity: 0.7;
}
@keyframes aurora {
  0%   { transform: translate(0%, 0%) rotate(0deg) scale(1); }
  50%  { transform: translate(3%, -2%) rotate(15deg) scale(1.08); }
  100% { transform: translate(-2%, 2%) rotate(-10deg) scale(1); }
}
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
}
.stars {
  position: absolute; inset: 0;
}
.stars span {
  position: absolute;
  width: 2px; height: 2px;
  background: white;
  border-radius: 50%;
  animation: twinkle 6s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.7s);
}
@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Vignette */
.vignette {
  position: fixed; inset: 0;
  z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, transparent 50%, var(--void) 100%);
}

/* Cursor spotlight */
.spotlight {
  position: fixed;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18), transparent 60%);
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  transition: opacity .3s;
}

/* ---------- Layout ---------- */
.app { position: relative; z-index: 3; }
section { position: relative; padding: 140px 5%; }
.container { max-width: 1280px; margin: 0 auto; position: relative; }

/* ---------- Nav ---------- */
/* Desktop: wrapper is invisible — nav uses its own position:fixed */
.nav-wrap { display: contents; }

.nav {
  position: fixed;
  top: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px 20px 12px 22px;
  background: rgba(11, 10, 31, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav .brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--text);
  letter-spacing: 0.12em;
  text-decoration: none;
}
/* Rounded-pill treatment for the header wordmark — matches the .nav-cta
   pill radius (100px) so the left and right ends of the nav read as one
   consistent design language. CSS-only, no PNG regen. */
.nav .brand picture {
  display: inline-flex;
  border-radius: 100px;
  overflow: hidden;
  line-height: 0;
}
.nav .brand picture img {
  display: block;
  border-radius: inherit;
}
.nav .brand-mark {
  width: 22px; height: 22px;
  position: relative;
}
.nav .brand-mark::before, .nav .brand-mark::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--cyan);
}
.nav .brand-mark::after {
  border-color: var(--indigo);
  transform: scale(0.55) rotate(45deg);
  border-style: dashed;
  animation: spin 8s linear infinite;
}
@keyframes spin { to { transform: scale(0.55) rotate(405deg); } }
.nav-links { display: flex; gap: 22px; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--cyan); }
.nav-cta {
  display: inline-flex; align-items: center;
  padding: 8px 16px;
  background: var(--text);
  color: var(--void);
  border-radius: 100px;
  font-weight: 600;
  border: none;
  cursor: none;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  white-space: nowrap;
  text-decoration: none;
}

/* ---------- Headline / type ---------- */
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 500; letter-spacing: -0.02em; line-height: 1.04; }
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--cyan);
}
.eyebrow.indigo { color: var(--indigo); }
.eyebrow.indigo::before { background: var(--indigo); }
.eyebrow.gold { color: var(--gold); }
.eyebrow.gold::before { background: var(--gold); }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; padding-top: 18vh; padding-bottom: 8vh; }
.hero-grid {
  display: grid;
  /* minmax(0, …) not plain fr: an fr track's automatic minimum is min-content,
     so the nowrap headline below would widen the text column — and since the
     typed word cycles, the hero-stage would resize on every word change. */
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
  position: relative;
}
.hero h1 {
  font-size: clamp(54px, 7.5vw, 104px);
  letter-spacing: -0.035em;
}
/* Typed line: the cycled word and its caret must stay on one line together.
   The h1 column is ~0.49vw wide while the font scales at 7.5vw, so the longest
   words ("Intelligence.", "Automation.") plus the caret exceed the column and
   the caret alone was wrapping onto a 4th line — worst between 768–1000px and
   again above 1440px, where the container caps at 1280 but the font kept
   growing. nowrap keeps them glued; the 104px cap keeps the pair inside the
   column at the largest sizes. */
.hero h1 .typed-line {
  display: inline-block;
  white-space: nowrap;
}
.hero h1 .gradient {
  background: linear-gradient(120deg, var(--cyan) 0%, var(--indigo) 50%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hero h1 .glitch {
  position: relative;
  display: inline-block;
}
.hero-sub {
  margin-top: 32px;
  font-size: 19px;
  color: var(--text-dim);
  max-width: 560px;
  line-height: 1.6;
}
.hero-meta {
  margin-top: 36px;
  display: flex;
  gap: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  flex-wrap: wrap;
}
.hero-meta span { display: flex; align-items: center; gap: 8px; }
.hero-meta .dot { width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 10px var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }

.hero-cta-row { margin-top: 44px; display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  border: none;
  cursor: none;
  transition: transform .3s ease, box-shadow .3s ease;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary {
  background: linear-gradient(120deg, var(--indigo), var(--cyan));
  color: var(--void);
  box-shadow: var(--glow-i);
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, var(--cyan), var(--indigo), var(--magenta));
  opacity: 0;
  transition: opacity .3s;
  z-index: -1;
}
.btn-primary:hover::before { opacity: 1; }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn .arrow {
  display: inline-block;
  transition: transform .3s;
}
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero stage (right column) ---------- */
.hero-stage {
  aspect-ratio: 1 / 1;
  width: 100%;
  position: relative;
}
.hero-stage-img {
  position: absolute; inset: 0;
  background: url('img/hero-main.jpg') center/cover;
  border-radius: 24px;
  opacity: 0.55;
  filter: brightness(0.75) saturate(1.1);
  z-index: 0;
}
.hero-stage-overlay {
  position: absolute; inset: 0;
  border-radius: 24px;
  background:
    radial-gradient(ellipse at center, transparent 18%, rgba(5,4,13,0.9) 78%),
    linear-gradient(135deg, rgba(99,102,241,0.15), transparent 55%);
  z-index: 1;
  pointer-events: none;
}
.orbit-rings {
  position: absolute; inset: 0;
  z-index: 2;
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed var(--line-bright);
  inset: 0;
  animation: spin 30s linear infinite;
}
.orbit-ring:nth-child(2) { inset: 12%; animation-duration: 45s; animation-direction: reverse; border-style: dotted; border-color: rgba(34,211,238,0.25); }
.orbit-ring:nth-child(3) { inset: 24%; animation-duration: 60s; }
.orbit-ring:nth-child(4) { inset: 36%; animation-duration: 25s; animation-direction: reverse; border-color: rgba(217,70,239,0.2); }
.orbit-ring:nth-child(5) { inset: 48%; }
.orbit-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  top: -4px; left: 50%;
  transform: translateX(-50%);
}

.core-readout {
  position: absolute;
  bottom: -10px; right: -10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: right;
  line-height: 1.6;
  z-index: 3;
}
.core-readout .val { color: var(--cyan); }

/* ---------- Sections ---------- */
.section-head {
  margin-bottom: 80px;
  max-width: 900px;
}
.section-head h2 {
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -0.03em;
}
.section-head .sub {
  margin-top: 24px;
  font-size: 18px;
  color: var(--text-dim);
  max-width: 700px;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  background: linear-gradient(180deg, rgba(99,102,241,0.05), rgba(11,10,31,0.4));
  backdrop-filter: blur(8px);
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.stat {
  padding: 24px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
}
.stat .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 38px;
  font-weight: 500;
  background: linear-gradient(120deg, var(--cyan), var(--indigo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ---------- Service Cards (Domains) ---------- */
.domains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.domain-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  background: linear-gradient(160deg, rgba(99,102,241,0.06), rgba(11,10,31,0.6));
  backdrop-filter: blur(10px);
  overflow: hidden;
  min-height: 380px;
  transition: transform .3s ease, border-color .3s;
  transform-style: preserve-3d;
  cursor: none;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.card-img {
  width: calc(100% + 56px);
  height: 180px;
  margin: -28px -28px 24px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-bright);
  background: #070512;
}
.card-img > svg {
  width: 100%;
  height: 100%;
  display: block;
}
.card-img::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11,10,31,0) 50%, rgba(11,10,31,0.85) 100%);
}
.card-img.sm { height: auto; }
.card-img, .card-img.sm { height: auto; aspect-ratio: 400 / 240; }
.chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 6px 10px;
  border: 1px solid var(--line-bright);
  border-radius: 100px;
  color: var(--cyan);
}
.chip.magenta { border-color: rgba(217,70,239,0.4); color: var(--magenta); }
.domain-card:hover { border-color: var(--cyan); }
.domain-card:target {
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px var(--cyan), 0 0 32px rgba(34,211,238,0.55), 0 0 80px rgba(34,211,238,0.25);
  animation: domain-target-pulse 1.6s ease-out 2;
  scroll-margin-top: 96px;
}
.domain-card:target .glow { opacity: 1; }
@keyframes domain-target-pulse {
  0%   { box-shadow: 0 0 0 2px var(--cyan), 0 0 0 0 rgba(34,211,238,0.55); }
  60%  { box-shadow: 0 0 0 2px var(--cyan), 0 0 0 14px rgba(34,211,238,0); }
  100% { box-shadow: 0 0 0 2px var(--cyan), 0 0 0 0 rgba(34,211,238,0); }
}
.domain-card .glow {
  position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(34,211,238,0.4), transparent 60%);
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.domain-card:hover .glow { opacity: 1; }
.domain-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.2em;
}
.domain-icon {
  width: 64px; height: 64px;
  margin: 24px 0;
  position: relative;
}
.domain-card h3 {
  font-size: 26px;
  margin-bottom: 12px;
}
.domain-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
}
.domain-card .more {
  margin-top: auto;
  padding-top: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.domain-card .corner {
  position: absolute;
  width: 16px; height: 16px;
  border: 1px solid var(--cyan);
  opacity: 0.4;
}
.domain-card .corner.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.domain-card .corner.tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.domain-card .corner.bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.domain-card .corner.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

/* Featured big card (spans 2) */
.domain-card.featured {
  grid-column: span 1;
  background: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(34,211,238,0.08));
  border-color: var(--line-bright);
  min-height: 380px;
}

/* ---------- How it works ---------- */
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.process-track::before {
  content: '';
  position: absolute;
  top: 30px; left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg, var(--indigo), var(--cyan), var(--magenta));
  opacity: 0.4;
}
.process-step {
  text-align: left;
  position: relative;
}
.process-node {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--void-2);
  border: 1px solid var(--line-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
}
.process-node::before {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  opacity: 0.3;
  animation: pulse-ring 3s infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 0; }
}
.process-step h4 {
  font-size: 22px;
  margin-bottom: 8px;
}
.process-step p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
}

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.testimonial {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  background: rgba(255,255,255,0.02);
  position: relative;
}
.testimonial .quote-mark {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 80px;
  line-height: 1;
  color: var(--cyan);
  opacity: 0.5;
  position: absolute;
  top: 16px; right: 24px;
}
.testimonial blockquote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}
.testimonial .author {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}
.testimonial .author strong { color: var(--text); display: block; margin-bottom: 4px; font-weight: 500; }

/* ---------- Contact / CTA ---------- */
.cta-block {
  position: relative;
  border: 1px solid var(--line-bright);
  border-radius: 32px;
  padding: 80px 60px;
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(34,211,238,0.05));
  text-align: center;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(34,211,238,0.25), transparent 60%);
  pointer-events: none;
}
.cta-block h2 {
  font-size: clamp(40px, 5vw, 72px);
  position: relative;
  margin-bottom: 24px;
}
.cta-block p {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 40px;
  position: relative;
}
.cta-block .btn-row {
  display: flex; gap: 16px; justify-content: center;
  position: relative;
  flex-wrap: wrap;
}
.contact-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.contact-item {
  text-align: left;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(5,4,13,0.4);
}
.contact-item .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}
.contact-item .val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  color: var(--text);
}
.contact-item .val a,
.footer address a {
  color: inherit;
  text-decoration: none;
  transition: color .25s;
}
.contact-item .val a:hover,
.footer address a:hover { color: var(--cyan); }
/* Keep the number itself from breaking mid-digits when the track is narrow */
.contact-item .val a[href^="tel:"],
.footer address a[href^="tel:"] { white-space: nowrap; }

/* ---------- Footer ---------- */
.footer {
  padding: 60px 5% 40px;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 5;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}
.footer h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-mute);
  margin-bottom: 18px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--text-dim); text-decoration: none; font-size: 14px; }
.footer ul a:hover { color: var(--cyan); }
.footer-bottom {
  max-width: 1280px;
  margin: 60px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
/* version + copyright sit on the left as a build-info group;
   the EST. line floats to the right via auto margin. */
.footer-bottom > span:last-child {
  margin-left: auto;
}
.footer-bottom .version-stamp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px 3px 8px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--text-mute);
  font-size: 10px;
  letter-spacing: 0.18em;
  line-height: 1;
}
.footer-bottom .version-stamp::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-mute);
  opacity: 0.7;
}
@media (max-width: 720px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    /* breathing room above the fixed MUTED pill at bottom-right */
    padding-bottom: 8px;
  }
  .footer-bottom > span:last-child {
    margin-left: 0;
  }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.4s; }

/* Curtain reveal — sweeps a glowing bar across element on appear */
.curtain {
  position: relative;
}
.curtain.unveiled::after {
  animation: curtainSweep 1.2s ease forwards;
}
.curtain::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--indigo), var(--cyan), transparent);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
}
@keyframes curtainSweep {
  0% { transform: scaleX(0); transform-origin: left; opacity: 0.7; }
  50% { transform: scaleX(1); transform-origin: left; opacity: 0.7; }
  51% { transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 24px 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  background: var(--void-2);
}
.marquee-track {
  display: inline-flex;
  gap: 60px;
  padding-right: 60px;
  animation: marquee 40s linear infinite;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 60px; color: var(--text-dim); }
.marquee-track .accent { color: var(--gold); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Live ops ticker (under marquee, fake real-time telemetry) ---------- */
.ops-ticker {
  border-bottom: 1px solid var(--line);
  background: rgba(11, 10, 31, 0.55);
  backdrop-filter: blur(8px);
}
.ops-ticker .ops-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 5%;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
}
.ticker-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4afaa7;
  box-shadow: 0 0 12px #4afaa7, 0 0 4px #4afaa7;
  animation: tickerPulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes tickerPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.ticker-label {
  color: #4afaa7;
  font-weight: 600;
  letter-spacing: 0.18em;
  flex-shrink: 0;
}
.ticker-feed {
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  transition: opacity 0.35s ease;
}
.ticker-feed .caret {
  display: inline-block;
  animation: tickerBlink 0.9s steps(1) infinite;
  color: var(--cyan);
  margin-left: 2px;
}
@keyframes tickerBlink { 50% { opacity: 0; } }

/* ---------- ORI Bot ---------- */
.ori {
  position: fixed;
  width: 120px; height: 120px;
  z-index: 9000;
  filter: drop-shadow(0 0 24px rgba(0,247,255,0.6)) drop-shadow(0 0 70px rgba(212,175,55,0.22));
  pointer-events: none;
  /* Transform is JS-driven (tick() in ori.js). Opacity is the entry handle:
     ORI starts hidden; stage.js adds .entered after hero choreography lands. */
  transition: opacity 500ms ease-out;
  will-change: transform, opacity;
  opacity: 0;
}
.ori.entered { opacity: 1; }
.ori::after {
  /* soft halo behind ORI to give it more visual weight */
  content: '';
  position: absolute;
  inset: -25%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,247,255,0.18) 0%, rgba(0,247,255,0.06) 35%, transparent 65%);
  filter: blur(8px);
  z-index: -1;
  animation: oriHalo 4s ease-in-out infinite;
}
@keyframes oriHalo {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.15); opacity: 1; }
}
.ori-core {
  position: absolute; inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, #04060e 0%, #081020 45%, #0d2847 70%, #12d8ff 100%);
  box-shadow:
    0 0 20px rgba(18, 216, 255, 0.6),
    0 0 50px rgba(18, 216, 255, 0.3),
    0 0 80px rgba(124, 77, 255, 0.2);
  animation: oriBreathe 3s ease-in-out infinite;
}
.ori-core::after {
  content: '';
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  background: url('img/ori-ray@2x.webp') center / contain no-repeat;
  z-index: 1;
  pointer-events: none;
}
@keyframes oriBreathe {
  0%, 100% { transform: scale(1); filter: hue-rotate(0deg); }
  50% { transform: scale(1.1); filter: hue-rotate(30deg); }
}
.ori-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  opacity: 0.4;
  animation: oriRing 2s ease-out infinite;
}
.ori-ring.r2 { animation-delay: 0.7s; }
.ori-ring.r3 { animation-delay: 1.4s; }
@keyframes oriRing {
  0% { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(1.4); opacity: 0; }
}
.ori-tooltip {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) translateY(8px);
  background: rgba(11,10,31,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--cyan);
  border-radius: 14px;
  padding: 14px 18px;
  white-space: nowrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0;
  transition: opacity .35s ease, transform .35s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
  box-shadow: 0 0 24px rgba(34,211,238,0.4), 0 8px 30px rgba(0,0,0,0.5);
  max-width: 320px;
  white-space: normal;
  text-align: left;
  line-height: 1.5;
  font-weight: 500;
}
.ori-tooltip.pos-bottom { top: 130%; left: 50%; transform: translate(-50%, 8px); }
.ori-tooltip.pos-bottom.show { transform: translate(-50%, 0); }
.ori-tooltip.pos-top { top: -30%; left: 50%; transform: translate(-50%, calc(-100% + 8px)); }
.ori-tooltip.pos-top.show { transform: translate(-50%, -100%); }
.ori-tooltip.pos-left { top: 50%; left: -10px; transform: translate(calc(-100% + 8px), -50%); }
.ori-tooltip.pos-left.show { transform: translate(-100%, -50%); }
.ori-tooltip.pos-right { top: 50%; left: 110%; transform: translate(8px, -50%); }
.ori-tooltip.pos-right.show { transform: translate(0, -50%); }
.ori-tooltip.show { opacity: 1; }
.ori-tooltip::before {
  content: '> ';
  color: var(--gold);
}

/* ORI click ping — burst at click point when user taps empty area */
.ori-click-ping {
  position: fixed;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan), 0 0 32px var(--cyan);
  pointer-events: none;
  z-index: 8999;
  transform: translate(-50%, -50%);
  animation: oriClickPing 0.9s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes oriClickPing {
  0%   { transform: translate(-50%, -50%) scale(0.4); opacity: 1; }
  60%  { transform: translate(-50%, -50%) scale(3.5); opacity: 0.6; border: 1px solid var(--cyan); background: transparent; }
  100% { transform: translate(-50%, -50%) scale(6); opacity: 0; background: transparent; border: 1px solid var(--cyan); }
}

/* particle trail */
.ori-particle {
  position: fixed;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  pointer-events: none;
  z-index: 39;
  animation: particleFade 1.2s ease-out forwards;
}
@keyframes particleFade {
  to { opacity: 0; transform: scale(0); }
}

/* ---------- Imagery showcase ---------- */
.imagery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 14px;
  margin-top: 60px;
}
.imagery-tile {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #070512;
}
.imagery-tile > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.imagery-tile::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 40%, rgba(5,4,13,0.95) 100%);
}
.imagery-tile .label {
  position: absolute;
  bottom: 20px; left: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  z-index: 2;
}
.imagery-tile .title {
  position: absolute;
  bottom: 38px; left: 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  color: var(--text);
  z-index: 2;
  max-width: 80%;
  line-height: 1.2;
}
.imagery-tile.big { grid-row: span 2; }
.imagery-tile.big .title { font-size: 32px; bottom: 56px; }
.imagery-tile { background-size: cover; background-position: center; }

/* Mobile fix: imagery-grid was 3-col regardless of viewport — would crush on phones */
@media (max-width: 700px) {
  .imagery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: 240px;
    gap: 12px;
  }
  .imagery-tile.big { grid-row: span 1; }
  .imagery-tile.big .title { font-size: 22px; bottom: 38px; }
}

/* ---------- TOUR ---------- */
.tour-overlay {
  position: fixed; inset: 0;
  z-index: 100;
  background: transparent;
  display: none;
  pointer-events: auto;
}
.tour-overlay.active { display: block; }
.tour-card {
  position: fixed;
  z-index: 101;
  width: 360px;
  max-width: calc(100vw - 40px);
  background: linear-gradient(180deg, rgba(11,10,31,0.95), rgba(5,4,13,0.95));
  border: 1px solid var(--cyan);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 0 40px rgba(34,211,238,0.4), 0 20px 60px rgba(0,0,0,0.5);
  display: none;
}
.tour-card.active { display: block; }
.tour-card .step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}
.tour-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.tour-card p { color: var(--text-dim); font-size: 14px; line-height: 1.55; }
.tour-card .row {
  margin-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.tour-card .progress {
  display: flex; gap: 4px;
}
.tour-card .progress span {
  width: 18px; height: 3px;
  border-radius: 2px;
  background: var(--line);
}
.tour-card .progress span.done { background: var(--cyan); }
.tour-card .actions { display: flex; gap: 8px; }
.tour-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-dim);
  cursor: none;
}
.tour-btn.primary {
  background: var(--cyan);
  color: var(--void);
  border-color: var(--cyan);
}
.tour-btn:hover { color: var(--text); border-color: var(--cyan); }
.tour-spotlight {
  position: fixed;
  z-index: 100;
  border-radius: 16px;
  box-shadow: 0 0 0 9999px rgba(5,4,13,0.7), 0 0 30px var(--cyan);
  border: 2px solid var(--cyan);
  pointer-events: none;
  transition: all .5s cubic-bezier(.5,0,.2,1);
  display: none;
}
.tour-spotlight.active { display: block; }
.section-divider {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 20px;
  position: relative;
}
.section-divider::before, .section-divider::after {
  content: '';
  position: absolute;
  top: 50%; width: 30%;
  height: 1px;
  background: var(--line);
}
.section-divider::before { left: 5%; }
.section-divider::after { right: 5%; }

/* ---------- Word-by-word reveal ---------- */
.split-words .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotateX(-90deg);
  transform-origin: 50% 100%;
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.split-words.visible .word { opacity: 1; transform: translateY(0) rotateX(0); }
.split-words .word + .word { margin-left: 0.28em; }

/* ---------- Letter shimmer / scramble in ---------- */
.split-chars .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(8px);
  transition: opacity .6s, transform .6s, filter .6s;
}
.split-chars.visible .char { opacity: 1; transform: translateY(0); filter: blur(0); }

/* ---------- Underline draw ---------- */
.draw-underline {
  position: relative;
  display: inline-block;
}
.draw-underline::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--indigo), var(--magenta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(.7,0,.3,1) .3s;
}
.draw-underline.visible::after { transform: scaleX(1); }

/* ---------- Highlight sweep ---------- */
.text-shimmer {
  background: linear-gradient(90deg, var(--text) 0%, var(--text) 40%, var(--cyan) 50%, var(--text) 60%, var(--text) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Float in ---------- */
.float-in { opacity: 0; transform: translateY(60px) scale(0.96); filter: blur(10px); transition: opacity 1s, transform 1s, filter 1s; }
.float-in.visible { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.glitch-wrap { position: relative; display: inline-block; }
.glitch-wrap.glitching::before,
.glitch-wrap.glitching::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.glitch-wrap.glitching::before {
  color: var(--cyan);
  transform: translate(-2px, -1px);
  clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
  opacity: 0.7;
}
.glitch-wrap.glitching::after {
  color: var(--magenta);
  transform: translate(2px, 1px);
  clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
  opacity: 0.7;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring, .spotlight, .ori { display: none; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .domains-grid { grid-template-columns: 1fr; }
  .domain-card.featured { grid-column: span 1; }
  .domain-card { min-height: 0; }
  .process-track { grid-template-columns: 1fr; }
  .process-track::before { display: none; }
  .testimonials { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-item .val { word-break: break-word; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }

  /* Mobile nav: nav-wrap is a normal sticky block (no display:contents — that
     breaks pointer events on some Android browsers). Nav is in the flow of
     nav-wrap (position:relative, margin:auto centering — no transform drift).
     Nav-wrap height = auto (~72px), so the sticky release threshold =
     body.scrollHeight - 72px, which is always beyond max scroll.
     html { overflow-x:visible } prevents the global clip rule from causing
     the browser to miscalculate sticky's scroll-reference height. */
  html { overflow-x: visible; }
  .nav-wrap {
    display: block;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    overflow: visible;
    z-index: 50;
    pointer-events: auto;
    padding: 12px 0;
  }
  .app { overflow-x: hidden; margin-top: 0; }
  .nav {
    display: flex;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: max-content;
    max-width: calc(100vw - 40px);
    margin: 0 auto;
    z-index: 50;
    pointer-events: auto;
    gap: 12px;
    padding: 8px 13px;
    background: rgba(11, 10, 14, 0.95);
    backdrop-filter: none;
    font-family: system-ui, -apple-system, sans-serif;
    transition: none;
    animation: none;
    will-change: auto;
  }
  .nav .brand picture {
    width: 144px;
    height: 36px;
    flex: 0 0 144px;
  }
  .nav .brand picture img {
    height: 36px;
    width: 144px;
    display: block;
  }
  .nav-cta {
    font-size: 13px;
    padding: 7px 14px;
  }
  .nav-cta-full { display: none; }
  section { padding: 80px 5%; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }

  /* Hero — reduce oversized font and paragraph on narrow screens */
  .hero h1 { font-size: clamp(36px, 10vw, 54px); }
  .hero-sub { font-size: 16px; }
  .hero-meta { font-size: 11px; gap: 14px; }
  /* Stack hero CTA buttons full-width so they don't wrap awkwardly */
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn { justify-content: center; text-align: center; }

  /* Section headings — tighten clamp floor */
  .section-head h2 { font-size: clamp(32px, 8vw, 48px); }

  /* Stat numbers — too large for 2-column grid on mobile */
  .stat .num { font-size: 28px; }
  .about-card { padding: 20px; }

  /* CTA block — 60px horizontal padding crushes content on phones */
  .cta-block { padding: 48px 24px; }
  .cta-block h2 { font-size: clamp(30px, 8vw, 48px); }
  .cta-block p { font-size: 16px; }

  /* Marquee — 28px is too large on narrow screens */
  .marquee { font-size: 20px; }
  .marquee-track { gap: 36px; padding-right: 36px; }
  .marquee-track span { gap: 36px; }

  /* Buttons — slightly reduce padding on mobile */
  .btn { padding: 13px 22px; }
}

/* =============================================================
   FLY-FROM-ORI — content materializes from ORI's screen position
   ============================================================= */
.fly-from-ori {
  opacity: 0;
  transform: translate(var(--fx, 0px), var(--fy, 0px)) scale(0.05) rotate(var(--fr, 0deg));
  filter: blur(14px) hue-rotate(40deg);
  transform-origin: center center;
  transition:
    transform 1.1s cubic-bezier(0.18, 0.9, 0.22, 1.05),
    opacity 0.7s ease-out,
    filter 0.9s ease-out;
  will-change: transform, opacity, filter;
}
.fly-from-ori.flown {
  opacity: 1;
  transform: translate(0, 0) scale(1) rotate(0deg);
  filter: blur(0) hue-rotate(0);
}

/* Stagger fly-from-ori children for cascade effect */
.fly-stagger > * { transition-delay: var(--d, 0s); }

/* Conjure burst — radial flash that emits from ORI when revealing */
.conjure-burst {
  position: fixed;
  width: 6px; height: 6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 28;
  background: radial-gradient(circle, #fff 0%, #22d3ee 30%, #a855f7 60%, transparent 80%);
  box-shadow: 0 0 40px #22d3ee, 0 0 80px #a855f7;
  transform: translate(-50%, -50%);
  animation: conjure-burst 0.85s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}
@keyframes conjure-burst {
  0%   { width: 6px; height: 6px; opacity: 0; }
  20%  { opacity: 1; }
  60%  { width: 220px; height: 220px; opacity: 0.9; }
  100% { width: 360px; height: 360px; opacity: 0; }
}

/* Conjure ring — secondary expanding ring */
.conjure-ring {
  position: fixed;
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid #22d3ee;
  pointer-events: none;
  z-index: 27;
  transform: translate(-50%, -50%);
  animation: conjure-ring 1.1s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}
@keyframes conjure-ring {
  0%   { width: 10px; height: 10px; opacity: 0; border-width: 3px; }
  10%  { opacity: 1; }
  100% { width: 480px; height: 480px; opacity: 0; border-width: 1px; }
}

/* ORI charge state — when about to emit */
.ori.charging .ori-core {
  animation: ori-charge 0.5s ease-out;
}
@keyframes ori-charge {
  0%   { transform: scale(1); filter: brightness(1); }
  50%  { transform: scale(1.4); filter: brightness(2.2) saturate(1.5); }
  100% { transform: scale(1); filter: brightness(1); }
}

/* Streaming particles from ORI to target during conjure */
.conjure-stream {
  position: fixed;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 8px #22d3ee, 0 0 14px #a855f7;
  pointer-events: none;
  z-index: 26;
  transform: translate(-50%, -50%);
}

.process-track { grid-template-columns: 1fr; gap: 28px; }
.process-step { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start; }
.process-step .process-node { grid-row: 1 / 3; margin: 0; }
.process-step h4 { align-self: center; margin-bottom: 4px; }
.process-step p { grid-column: 2; }


/* ---------- Contact form ---------- */
.contact-form { max-width: 640px; margin: 40px auto 8px; text-align: left; display: flex; flex-direction: column; gap: 18px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cf-field { display: flex; flex-direction: column; gap: 8px; }
.cf-field label { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-mute); }
.cf-field input, .cf-field textarea { background: rgba(11,10,31,0.7); border: 1px solid var(--line-bright); border-radius: 12px; padding: 13px 16px; color: var(--text); font-family: 'Inter', system-ui, sans-serif; font-size: 14px; outline: none; transition: border-color .25s, box-shadow .25s; resize: vertical; }
.cf-field input::placeholder, .cf-field textarea::placeholder { color: var(--text-mute); }
.cf-field input:focus, .cf-field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,211,238,0.12); }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cf-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cf-actions .btn { cursor: pointer; border: 0; font: inherit; }
.cf-status { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.08em; color: var(--cyan); min-height: 1em; }
.cf-status.error { color: #f87171; }
.contact-form.sending .btn { opacity: 0.6; pointer-events: none; }
.contact-form.sent .btn { display: none; }
@media (max-width: 767px) { .cf-row { grid-template-columns: 1fr; } }
