/* ================= SetuAI ================= */
:root {
  --bg: #04060f;
  --bg-alt: #080d1c;
  --surface: rgba(255, 255, 255, 0.035);
  --border: rgba(127, 184, 217, 0.16);
  --text: #eaf2fb;
  --muted: #8fa1ba;
  --cyan: #00d4ff;
  --teal: #00ffc8;
  --amber: #ffc46b;
  --grad: linear-gradient(100deg, var(--cyan), var(--teal) 55%, var(--amber));
  --font-head: "Syne", sans-serif;
  --font-body: "Instrument Sans", sans-serif;
  --max: 1140px;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -0.01em; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-head);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: linear-gradient(100deg, var(--cyan), var(--teal));
  color: #03121c;
  box-shadow: 0 4px 30px rgba(0, 212, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 46px rgba(0, 212, 255, 0.55);
}
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(4, 6, 15, 0.45);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--cyan); }
.btn-small {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  background: linear-gradient(100deg, var(--cyan), var(--teal));
  color: #03121c;
}
.btn-large { padding: 1.05rem 2.5rem; font-size: 1.05rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(4, 6, 15, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; }
.logo-v3 { height: 58px; width: auto; display: block; }
.logo-v3-footer { height: 66px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.nav-links a:not(.btn):hover { color: var(--cyan); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

/* ================= Scroll-built canyon hero ================= */
.hero-scroll {
  position: relative;
  height: 340vh;
}
.hero-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1000px;
  text-align: center;
  padding: clamp(6rem, 19vh, 14rem) 1.5rem 0;
  will-change: opacity, transform;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(4, 6, 15, 0.5);
  backdrop-filter: blur(6px);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 1.7rem;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 200, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(0, 255, 200, 0); }
}

.hero-content h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  font-weight: 800;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 580px;
  margin: 1.3rem auto 2rem;
  color: #b6c5da;
  font-size: 1.04rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Canyon scene ---------- */
.scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  line-height: 0;
}
.canyon {
  width: 100%;
  height: 100%;
  display: block;
}

/* stars */
.star { animation: twinkle 4s ease-in-out infinite; }
.star:nth-child(2n) { animation-delay: 1.1s; animation-duration: 3.2s; }
.star:nth-child(3n) { animation-delay: 2s; animation-duration: 5s; }
.star:nth-child(5n) { animation-delay: 0.6s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.15; }
}

/* veil that keeps the scene behind the intro copy */
.scene-dim {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 15, 0.62);
  pointer-events: none;
  will-change: opacity;
}

/* cliff labels — hidden while the intro copy is up */
.cliff-label {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.labels-on .cliff-label { opacity: 1; }
.label-chaos { fill: #8d97ab; }
.label-growth { fill: #6fe3ff; }

/* chaos side details */
.led-red { animation: led-blink 1.6s ease-in-out infinite; }
@keyframes led-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
.crt { animation: crt-flicker 3.5s steps(1) infinite; }
@keyframes crt-flicker {
  0%, 100% { fill: #1c1114; }
  12% { fill: #2a1418; }
  14% { fill: #1c1114; }
  56% { fill: #241216; }
  58% { fill: #1c1114; }
}
.f-card { animation: bob 5s ease-in-out infinite; }
.fc-2 { animation-delay: 1.2s; animation-duration: 6s; }
.fc-3 { animation-delay: 2.4s; }
.fc-4 { animation-delay: 0.7s; animation-duration: 5.5s; }
@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

/* automated vs competitors race chart */
.race-label {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.race-label-you { fill: #9dffe4; }
.race-label-them { fill: #6b7488; }
.race-you {
  stroke-dasharray: 6 5;
  animation: race-run 1.6s linear infinite;
  filter: drop-shadow(0 0 4px rgba(0, 255, 200, 0.5));
}
@keyframes race-run {
  to { stroke-dashoffset: -22; }
}

/* moon wanders around the upper sky — two offset oscillations */
.moon-g { animation: moon-drift 90s ease-in-out infinite alternate; }
@keyframes moon-drift {
  from { transform: translateX(0); }
  to { transform: translateX(840px); }
}
.moon-y { animation: moon-bob 23s ease-in-out infinite alternate; }
@keyframes moon-bob {
  from { transform: translateY(0); }
  to { transform: translateY(52px); }
}

/* ---------- Bridge construction ---------- */
#arch {
  filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.55));
}
.seg {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.25);
  will-change: transform, opacity;
}
.seg.built { opacity: 1; transform: translateY(0); }

.susp {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.susp.built { opacity: 1; }

/* busywork cards migrating across into the node */
.migrant {
  opacity: 0;
  offset-path: path("M340 246 C 520 320, 760 330, 1186 316");
}
.running .mg1, .complete .mg1 { animation: migrate 4.5s ease-in-out infinite 1s; }
.running .mg2, .complete .mg2 { animation: migrate 4.5s ease-in-out infinite 2.5s; }
.running .mg3, .complete .mg3 { animation: migrate 4.5s ease-in-out infinite 4s; }
@keyframes migrate {
  0% { offset-distance: 0%; opacity: 0; transform: scale(1); }
  8% { opacity: 1; }
  78% { opacity: 1; transform: scale(1); }
  100% { offset-distance: 100%; opacity: 0; transform: scale(0.25); }
}

.dpulse {
  opacity: 0;
  offset-path: path("M446 374 Q740 128 1034 370");
  filter: drop-shadow(0 0 6px currentColor);
}
.complete .dpulse { animation: ride 6s linear infinite; }
.dp1 { color: #00d4ff; }
.dp2 { color: #00ffc8; animation-delay: 2s !important; }
.dp3 { color: #8fd8ff; animation-delay: 4s !important; }
@keyframes ride {
  0% { offset-distance: 0%; opacity: 0; }
  6% { opacity: 1; }
  94% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* ---------- Build caption & final CTA ---------- */
.build-caption {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(4, 6, 15, 0.55);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 1.3rem;
  backdrop-filter: blur(6px);
  white-space: nowrap;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.build-caption.done { color: var(--teal); border-color: rgba(0, 255, 200, 0.4); }
.build-caption { transition: color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease; }

@media (max-height: 840px) {
  .hero-final h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 1rem; }
  .hero-final .btn-large { padding: 0.8rem 1.9rem; font-size: 0.95rem; }
}

.hero-final {
  position: absolute;
  top: 67%;
  left: 50%;
  transform: translate(-50%, 20px);
  z-index: 3;
  text-align: center;
  width: min(760px, calc(100% - 3rem));
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}
.hero-final h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 800;
  margin-bottom: 1.4rem;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.7);
}
.hero-final.on { pointer-events: auto; }

/* ---------- Phase step rail — sky band between the cliffs ---------- */
.phase-rail {
  position: absolute;
  left: 50%;
  top: 14%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  width: min(900px, calc(100% - 3rem));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.phase-rail.show { opacity: 1; }
.phase-item {
  position: relative;
  max-width: 540px;
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 1.6rem;
}
.phase-item.active { display: flex; animation: phase-in 0.5s ease; }
@keyframes phase-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.ghost {
  position: absolute;
  top: -2.8rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-head);
  font-size: 8rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(0, 212, 255, 0.09);
  pointer-events: none;
  user-select: none;
}
.phase-item h4 {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 800;
  margin: 0.45rem 0 0.4rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.phase-item p {
  color: #b6c5da;
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 480px;
  text-shadow: 0 2px 14px rgba(4, 6, 15, 0.9);
}

/* ---------- no-JS fallback: bridge fully built ---------- */
.no-js .hero-scroll { height: auto; }
.no-js .hero-pin { position: relative; }
.no-js .build-caption { display: none; }
.no-js #bridge .seg, .no-js #bridge .susp { opacity: 1; transform: none; }
.no-js .phase-rail { display: none; }
.no-js .scene-dim { display: none; }
.no-js .cliff-label { opacity: 1; }

/* ---------- Stats ---------- */
.stats {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
}
.stat {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  padding: 1.6rem 1.4rem;
  text-align: center;
}
.stat-num, .stat-plus {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat p { color: var(--muted); font-size: 0.88rem; margin-top: 0.35rem; }

/* ---------- Sections ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.5rem 1.5rem;
}
.section-alt {
  max-width: none;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-alt > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 3.2rem; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.9rem;
}
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 1rem; }
.section-head p { color: var(--muted); }

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
}
.card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  padding: 1.9rem 1.7rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow: 0 14px 44px rgba(0, 212, 255, 0.1);
}
.card-icon { font-size: 1.9rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.94rem; margin-bottom: 1.1rem; }
.card-tag {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  color: var(--cyan);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.28rem 0.8rem;
}

/* ---------- Process steps ---------- */
.steps {
  display: flex;
  align-items: stretch;
  padding: 0 1.5rem;
}
.step {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  padding: 2rem 1.7rem;
}
.step-num {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cyan);
  border: 1px solid var(--border);
  border-radius: 999px;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.6rem; }
.step p { color: var(--muted); font-size: 0.94rem; }
.step-connector {
  width: 56px;
  align-self: center;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  opacity: 0.5;
  flex-shrink: 0;
}

/* ---------- Case studies ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.4rem;
}
.work-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(0, 212, 255, 0.05), rgba(255, 196, 107, 0.03));
  padding: 1.9rem 1.7rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.work-card:hover { transform: translateY(-5px); border-color: rgba(0, 212, 255, 0.45); }
.work-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  margin-bottom: 1rem;
}
.work-status { color: var(--teal); }
.work-domain { color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.work-card h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 0.6rem; }
.work-card p { color: var(--muted); font-size: 0.93rem; margin-bottom: 1.1rem; }
.work-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.work-tags span {
  font-size: 0.74rem;
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.08);
  border-radius: 999px;
  padding: 0.24rem 0.7rem;
}

/* ---------- Marquee ---------- */
.marquee-section {
  padding: 2.2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee { overflow: hidden; }
.marquee-track {
  display: flex;
  gap: 2.2rem;
  width: max-content;
  animation: scroll 32s linear infinite;
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--muted);
  white-space: nowrap;
}
.marquee-track span:nth-child(odd) { color: var(--text); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Founder ---------- */
.founder {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  padding: 0 1.5rem;
}
.founder-visual { flex-shrink: 0; }
.founder-ring {
  width: 220px; height: 220px;
  border-radius: 50%;
  padding: 3px;
  background: var(--grad);
  animation: spin 10s linear infinite;
}
.founder-avatar {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 3.4rem;
  font-weight: 800;
  animation: spin 10s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
.founder-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 700; margin-bottom: 1.1rem; }
.founder-text p { color: var(--muted); margin-bottom: 1rem; }
.founder-text strong { color: var(--text); }
.founder-links { display: flex; gap: 1.4rem; margin-top: 1.3rem; }
.founder-links a {
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.92rem;
}
.founder-links a:hover { text-decoration: underline; }

/* ---------- CTA ---------- */
.cta-box {
  position: relative;
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(0, 212, 255, 0.08), rgba(255, 196, 107, 0.05));
  padding: 4.2rem 2rem;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.orb-3 {
  width: 300px; height: 300px;
  background: var(--cyan);
  top: -100px; right: -60px;
  opacity: 0.22;
}
.cta-box h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700; margin-bottom: 1rem; }
.cta-box p { color: var(--muted); max-width: 560px; margin: 0 auto 2rem; }
.cta-form {
  max-width: 640px;
  margin: 0 auto 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  text-align: left;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.cta-form input,
.cta-form textarea {
  width: 100%;
  background: rgba(4, 6, 15, 0.55);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}
.cta-form input::placeholder,
.cta-form textarea::placeholder { color: #6d7d95; }
.cta-form input:focus,
.cta-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
}
.cta-form button {
  margin-top: 0.3rem;
  align-self: center;
  border: 0;
  cursor: pointer;
}
.cta-form button:disabled { opacity: 0.6; cursor: wait; transform: none; }
.form-status {
  display: none;
  text-align: center;
  font-size: 0.92rem;
  padding: 0.7rem 1rem;
  border-radius: 12px;
}
.form-status.ok {
  display: block;
  color: var(--teal);
  background: rgba(0, 255, 200, 0.08);
  border: 1px solid rgba(0, 255, 200, 0.3);
}
.form-status.err {
  display: block;
  color: #ff9a8a;
  background: rgba(255, 90, 90, 0.08);
  border: 1px solid rgba(255, 90, 90, 0.3);
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cta-or { color: var(--muted); font-size: 0.9rem; }
.cta-email { color: var(--cyan); font-weight: 600; }
.cta-email:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 3rem 1.5rem 2.4rem; }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.footer-tag {
  border-left: 1px solid var(--border);
  padding-left: 1.4rem;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.9;
}
.footer-links { display: flex; gap: 1.6rem; font-size: 0.9rem; color: var(--muted); }
.footer-links a:hover { color: var(--cyan); }
.footer-copy { width: 100%; text-align: center; color: var(--muted); font-size: 0.8rem; margin-top: 1.6rem; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .star, .led-red, .crt, .f-card, .race-you, .moon-g, .moon-y,
  .founder-ring, .founder-avatar, .marquee-track, .pulse-dot,
  .complete .dpulse, .complete .migrant { animation: none !important; }
  .dpulse, .migrant { display: none; }
  .phase-rail, .phase-item, .pcopy p { transition: none; }
  .seg, .susp { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .phase-rail {
    top: auto;
    bottom: 5.2rem;
  }
  .phase-item:not(.active) { display: none; }
  .steps { flex-direction: column; gap: 1.2rem; }
  .step-connector { width: 2px; height: 40px; align-self: center; }
  .founder { flex-direction: column; text-align: center; }
  .founder-links { justify-content: center; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .logo-v3 { height: 46px; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links {
    position: fixed;
    top: 66px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(4, 6, 15, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 1.6rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .hero-scroll { height: 280vh; }
  .hero-final { top: 65%; width: 100%; padding: 0 1.5rem; }
}
