/* ==========================================================================
   DESIGN TOKENS
   Fonts: Clash Display (headings) + Satoshi (body) via Fontshare
   Palette: Near-black #070710 · Violet #6B4EFF · Warm white #E8E5F0
   ========================================================================== */
:root {
  --bg:          #070710;
  --bg-surface:  #0c0c1c;
  --bg-2:        #0f0d24;
  --accent:      #6B4EFF;
  --accent-2:    #9B7FFF;
  --accent-rgb:  107, 78, 255;
  --text:        #E8E5F0;
  --text-muted:  rgba(232, 229, 240, 0.52);
  --text-dim:    rgba(232, 229, 240, 0.26);
  --line:        rgba(255, 255, 255, 0.07);
  --line-2:      rgba(107, 78, 255, 0.22);

  --font-display: 'Clash Display', 'Syne', system-ui, sans-serif;
  --font-body:    'Satoshi', 'DM Sans', 'Inter', system-ui, sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --nav-h:       72px;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: clip;
  scrollbar-width: thin;
  scrollbar-color: rgba(107, 78, 255, 0.25) transparent;
}

body {
  overflow-x: clip;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
}

/* Subtle grain across the entire page */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; color: inherit; background: none; border: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

::selection { background: rgba(107, 78, 255, 0.4); color: var(--text); }

/* ==========================================================================
   CURSOR
   ========================================================================== */
.cursor { opacity: 0; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; }
.cursor.is-ready { opacity: 1; }

.cursor-dot {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-2);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  position: absolute;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(107, 78, 255, 0.45);
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease-out), height .3s var(--ease-out), border-color .3s;
}
.cursor.is-hover .cursor-dot  { width: 4px; height: 4px; background: var(--accent); }
.cursor.is-hover .cursor-ring { width: 52px; height: 52px; border-color: rgba(107, 78, 255, 0.85); }

@media (hover: none) { .cursor { display: none; } }

/* ==========================================================================
   MOUSE-REACTIVE GRADIENT MESH
   ========================================================================== */
.gradient-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle 700px at var(--mx, 30%) var(--my, 30%),
      rgba(107, 78, 255, 0.15) 0%, transparent 60%),
    radial-gradient(circle 900px at calc(var(--mx, 30%) + 15%) calc(var(--my, 30%) - 15%),
      rgba(155, 127, 255, 0.08) 0%, transparent 60%),
    radial-gradient(circle 500px at 80% 80%,
      rgba(107, 78, 255, 0.07) 0%, transparent 50%);
}

/* Subtle dot-grid texture — page-anchored, begins just below the hero */
.dot-grid {
  position: absolute;
  top: 100vh;
  left: 0; right: 0; bottom: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.055) 1px, transparent 1.6px);
  background-size: 30px 30px;
  /* soften the top edge so it eases in from the hero */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 6%, #000 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 6%, #000 100%);
}

/* Slow drifting aurora — fixed ambient glow, fades in below the hero */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.aurora.is-visible { opacity: 1; }

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  will-change: transform;
}
.aurora-1 {
  width: 58vw; height: 58vw;
  top: -8%; left: -12%;
  background: radial-gradient(circle, rgba(107, 78, 255, 0.20), transparent 68%);
  animation: auroraDrift1 36s ease-in-out infinite;
}
.aurora-2 {
  width: 50vw; height: 50vw;
  top: 28%; right: -14%;
  background: radial-gradient(circle, rgba(155, 127, 255, 0.16), transparent 70%);
  animation: auroraDrift2 44s ease-in-out infinite;
}
.aurora-3 {
  width: 46vw; height: 46vw;
  bottom: -14%; left: 16%;
  background: radial-gradient(circle, rgba(126, 87, 255, 0.15), transparent 70%);
  animation: auroraDrift3 52s ease-in-out infinite;
}
@keyframes auroraDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(10%, 8%) scale(1.12); }
}
@keyframes auroraDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-9%, 6%) scale(1.15); }
}
@keyframes auroraDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(6%, -8%) scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .aurora-blob { animation: none; }
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 6%;
  transition: background .4s var(--ease-out), border-color .4s, padding .3s;
  border-bottom: 1px solid transparent;
}

.nav-wrap.scrolled {
  background: rgba(7, 7, 16, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--line);
  padding: 14px 6%;
}

.nav {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.logo-icon { width: auto; height: 26px; }
.badge-logo { width: auto; height: 17px; }

.nav-links {
  display: flex;
  gap: 40px;
  margin-left: auto;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 3px;
  transition: color .2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .3s var(--ease-out);
}

.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }

.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  transition: background .2s, transform .2s var(--ease-out);
  flex-shrink: 0;
}
.btn-nav:hover { background: var(--accent-2); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 22px;
  margin-left: auto;
}
.nav-toggle span {
  display: block; height: 1.5px; width: 100%;
  background: var(--text); border-radius: 2px;
  transition: .25s var(--ease-out);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  letter-spacing: -0.01em;
  transition: background .25s, transform .25s var(--ease-out), box-shadow .25s;
}
.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(107, 78, 255, 0.38);
}
.btn-primary.btn-large { padding: 18px 44px; font-size: 1.05rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 15px 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--line);
  border-radius: 100px;
  transition: color .25s, border-color .25s, transform .25s var(--ease-out);
}
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.22); transform: translateY(-2px); }

/* ==========================================================================
   SECTION KICKER & BADGE
   ========================================================================== */
.section-kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255,255,255,0.02);
  margin-bottom: 32px;
}
.section-badge svg { width: 13px; height: 13px; color: var(--accent); }

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-split-words] { opacity: 1; transform: none; }

.split-word {
  opacity: 0;
  display: inline-block;
  transform: translateY(14px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.split-word.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   HERO  (shapes animation PRESERVED exactly)
   ========================================================================== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 60px) 6% 80px;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 52fr 48fr;
  align-items: center;
  gap: 48px;
}

/* Left column: all text */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Right column: animated ghost mascot */
.hero-3d {
  position: relative;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ghost-stage {
  position: relative;
  width: 100%;
  max-width: 360px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transition: transform .15s var(--ease-out);
  opacity: 0;
  animation: fadeIn 1.1s .5s var(--ease-out) forwards;
}

/* Pulsing violet aura behind the ghost */
.ghost-aura {
  position: absolute;
  left: 50%; top: 47%;
  width: 320px; height: 320px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(107, 78, 255, 0.45) 0%,
    rgba(107, 78, 255, 0.12) 42%,
    transparent 70%);
  filter: blur(22px);
  pointer-events: none;
  z-index: 0;
  animation: ghostAura 5s ease-in-out infinite;
}
@keyframes ghostAura {
  0%, 100% { opacity: .7;  transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.08); }
}

/* Float bob */
.ghost-float {
  position: relative;
  z-index: 1;
  animation: ghostFloat 5s ease-in-out infinite;
}
@keyframes ghostFloat {
  0%, 100% { transform: translateY(-9px); }
  50%      { transform: translateY(9px); }
}

.ghost {
  width: clamp(150px, 19vw, 215px);
  height: auto;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 20px 44px rgba(107, 78, 255, 0.38));
}

/* Eyes: blink (group) + track (pupils, via JS) */
.ghost-eyes {
  transform-box: fill-box;
  transform-origin: center;
  animation: ghostBlink 4.6s infinite;
}
@keyframes ghostBlink {
  0%, 91%, 100% { transform: scaleY(1); }
  95%           { transform: scaleY(0.12); }
}
.ghost-pupil { transition: transform .18s ease-out; }

/* Digital drip legs pulse */
.ghost-leg {
  transform-box: fill-box;
  transform-origin: 50% 0%;
  animation: ghostLeg 2.6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes ghostLeg {
  0%, 100% { transform: scaleY(1); }
  50%      { transform: scaleY(1.16); }
}

/* Detached pixels fall + fade */
.ghost-drop {
  transform-box: fill-box;
  animation: ghostDrop 2.8s ease-in infinite;
  animation-delay: var(--d, 0s);
}
@keyframes ghostDrop {
  0%   { opacity: 0; transform: translateY(-5px); }
  35%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(11px); }
}

/* Twinkling sparkles */
.ghost-spark {
  position: absolute;
  color: var(--accent-2);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  animation: ghostSpark 3.2s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes ghostSpark {
  0%, 100% { opacity: 0; transform: scale(.4); }
  50%      { opacity: 1; transform: scale(1); }
}

/* Floating keyword tags */
.ghost-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  background: rgba(18, 16, 38, 0.72);
  border: 1px solid var(--line);
  border-radius: 100px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
  white-space: nowrap;
  z-index: 3;
  animation: ghostTagFloat 6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.ghost-tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
@keyframes ghostTagFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-13px); }
}

@media (prefers-reduced-motion: reduce) {
  .ghost-aura, .ghost-float, .ghost-eyes, .ghost-leg,
  .ghost-drop, .ghost-spark, .ghost-tag { animation: none; }
  .ghost-float { transform: none; }
}

/* Spotlight beam (left side, behind text) */
.hero-spotlight {
  position: absolute;
  top: 0; left: 0;
  width: 60%; height: 100%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(ellipse 80% 60% at 15% 55%,
    rgba(107, 78, 255, 0.20) 0%,
    rgba(107, 78, 255, 0.06) 40%,
    transparent 70%);
  opacity: 0;
  animation: spotlightIn 2s ease .5s forwards;
}

@keyframes spotlightIn {
  to { opacity: 1; }
}

/* ─── Elegant floating shapes ─── */
.hero-shapes {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
}
.hero-shapes::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom right,
    rgba(99, 102, 241, 0.055) 0%, transparent 45%, rgba(155, 127, 255, 0.055) 100%);
  filter: blur(40px);
}
.es {
  position: absolute;
  opacity: 0;
  transform: translateY(-150px) rotate(calc(var(--rot) - 15deg));
  animation:
    esEnter 2.4s cubic-bezier(0.23, 0.86, 0.39, 0.96) var(--delay) forwards,
    esFade 1.2s ease var(--delay) forwards;
}
.es-float {
  position: relative; width: var(--w); height: var(--h);
  animation: esFloat 12s ease-in-out infinite;
}
.es-pill {
  position: absolute; inset: 0; border-radius: 9999px;
  background: linear-gradient(to right, var(--c), transparent);
  border: 2px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 8px 32px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.es-pill::after {
  content: ''; position: absolute; inset: 0; border-radius: 9999px;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.16), transparent 70%);
}
@keyframes esEnter { to { transform: translateY(0) rotate(var(--rot)); } }
@keyframes esFade  { to { opacity: 1; } }
@keyframes esFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(15px); }
}
.es-1 { --w: 600px; --h: 140px; --rot: 12deg;  --delay: .3s; --c: rgba(99,102,241,0.18);  left: -8%;  top: 14%; }
.es-2 { --w: 500px; --h: 120px; --rot: -15deg; --delay: .5s; --c: rgba(236,72,153,0.13);  right: -4%; top: 72%; }
.es-3 { --w: 300px; --h: 80px;  --rot: -8deg;  --delay: .4s; --c: rgba(139,92,246,0.18);  left: 6%;   bottom: 8%; }
.es-4 { --w: 220px; --h: 64px;  --rot: 20deg;  --delay: .6s; --c: rgba(107,78,255,0.20);  right: 16%; top: 12%; }
.es-5 { --w: 150px; --h: 44px;  --rot: -25deg; --delay: .7s; --c: rgba(168,85,247,0.16);  left: 22%;  top: 7%; }

.hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(7,7,16,0.82) 0%, transparent 26%, transparent 68%, var(--bg) 100%);
}

@media (prefers-reduced-motion: reduce) { .es-float { animation: none; } }

/* Hero content */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255,255,255,0.025);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp .8s .1s var(--ease-out) forwards;
}
.hero-badge svg { width: 13px; height: 13px; color: var(--accent); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
  max-width: 16ch;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp .9s .25s var(--ease-out) forwards;
  color: var(--text);
}

.hero-title-grad {
  background: linear-gradient(to right, var(--accent-2) 0%, #ffffff 55%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 400;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp .9s .4s var(--ease-out) forwards;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-start;
  opacity: 0;
  animation: fadeUp .9s .55s var(--ease-out) forwards;
}

.scroll-hint {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s 1.2s var(--ease-out) forwards;
}
.scroll-line {
  width: 1px; height: 30px;
  background: linear-gradient(to bottom, transparent, var(--text-dim));
  animation: scrollPulse 2s 1.5s ease-in-out infinite;
}
.scroll-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; }
  50%       { opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ==========================================================================
   MARQUEE STRIP
   ========================================================================== */
.marquee-strip {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  background: rgba(7, 7, 16, 0.6);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.m-item {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0 28px;
  white-space: nowrap;
  transition: color .2s;
}

.m-sep {
  font-size: 0.45rem;
  color: var(--accent);
  opacity: 0.6;
  flex-shrink: 0;
}

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

@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ==========================================================================
   MANIFESTO
   ========================================================================== */
.manifesto {
  position: relative;
  z-index: 1;
  padding: 140px 6%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.manifesto::before {
  content: '\201C';
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  color: var(--accent);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.8vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  max-width: 48ch;
  letter-spacing: -0.025em;
  text-wrap: balance;
  position: relative;
  z-index: 1;
  color: var(--text);
}

.manifesto-halo {
  position: absolute; inset: -20% -10%;
  background: radial-gradient(ellipse at 50% 50%, rgba(107,78,255,0.1) 0%, transparent 65%);
  filter: blur(70px);
  pointer-events: none; z-index: 0;
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.stats-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 60px 6%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-surface);
  max-width: 100%;
}

.stat {
  flex: 1;
  text-align: center;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition-delay: calc(var(--i, 0) * 120ms);
}

.stat:nth-child(1) { --i: 0; }
.stat:nth-child(3) { --i: 1; }
.stat:nth-child(5) { --i: 2; }

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.stat-plus {
  font-size: 0.55em;
  color: var(--accent);
  vertical-align: super;
  margin-left: 2px;
}

.stat-unit {
  font-size: 0.5em;
  color: var(--accent);
  margin-left: 3px;
}

/* Center credential column */
.stat-cred {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  letter-spacing: -0.02em;
}

.stat-check {
  width: clamp(34px, 4vw, 46px);
  height: clamp(34px, 4vw, 46px);
  color: var(--accent);
  flex-shrink: 0;
}

.stat-cred-word { color: var(--text); }

.stat-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--line);
  flex-shrink: 0;
}

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process {
  position: relative;
  z-index: 1;
  padding: 140px 6%;
  max-width: 1140px;
  margin: 0 auto;
}

.process-header { margin-bottom: 80px; }

.process-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: 18px;
  color: var(--text);
}

.process-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 440px;
  line-height: 1.7;
}

/* ── Radial orbital timeline ─────────────────────────────── */
.orbital { position: relative; }

.orbital-stage {
  position: relative;
  width: 100%;
  height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

/* Orbit rings */
.orbital-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.orbital-ring--outer {
  width: 490px; height: 490px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.orbital-ring--inner {
  width: 350px; height: 350px;
  border: 1px dashed rgba(107, 78, 255, 0.14);
}

/* Central core */
.orbital-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 32% 28%, var(--accent-2), var(--accent) 58%, #4733b8 100%);
  box-shadow: 0 0 40px rgba(107, 78, 255, 0.55), 0 0 110px rgba(107, 78, 255, 0.25);
  z-index: 20;
  transition: opacity .4s;
}
.orbital-core-orb { display: flex; }
.orbital-core svg { width: 30px; height: 30px; color: #fff; }

.orbital-core-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(155, 127, 255, 0.45);
  animation: orbPing 2.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes orbPing {
  0%   { transform: scale(0.92); opacity: 0.75; }
  80%, 100% { transform: scale(2.1); opacity: 0; }
}

.orbital-core-label {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  transition: opacity .4s;
}
.orbital.is-engaged .orbital-core { opacity: 0.4; }
.orbital.is-engaged .orbital-core-label { opacity: 0; }

/* Orbiting nodes */
.orbital-node {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  transition: transform .7s var(--ease-out), opacity .5s var(--ease-out);
}

.orbital-node-glow {
  position: absolute;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  width: 112px; height: 112px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 78, 255, 0.30) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}

.orbital-dot {
  position: absolute;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  color: var(--text-muted);
  transition: background .35s var(--ease-out), border-color .35s, color .35s, box-shadow .35s, transform .45s var(--ease-out);
}
.orbital-dot svg { width: 22px; height: 22px; }
.orbital-dot:hover {
  border-color: var(--accent-2);
  color: var(--text);
  box-shadow: 0 0 22px rgba(107, 78, 255, 0.35);
}

.orbital-label {
  position: absolute;
  top: 40px; left: 0;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .3s, opacity .3s;
  pointer-events: none;
}

/* Related (connected) node */
.orbital-node.is-related .orbital-dot {
  border-color: rgba(155, 127, 255, 0.7);
  color: var(--text);
  box-shadow: 0 0 16px rgba(107, 78, 255, 0.3);
}
.orbital-node.is-related .orbital-label { color: var(--text); }

/* Active node */
.orbital-node.is-active .orbital-dot {
  background: var(--accent);
  border-color: #fff;
  color: #fff;
  transform: translate(-50%, -50%) scale(1.35);
  box-shadow: 0 0 30px rgba(107, 78, 255, 0.6);
}
.orbital-node.is-active .orbital-node-glow { opacity: 1; }
.orbital-node.is-active .orbital-label { opacity: 0; }

/* Expanding info card */
.orbital-card {
  position: absolute;
  top: 56px; left: 0;
  transform: translateX(-50%) translateY(10px);
  width: 290px;
  padding: 20px 22px;
  text-align: left;
  background: rgba(12, 12, 28, 0.92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(107, 78, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), visibility .4s;
  z-index: 60;
}
.orbital-card::before {
  content: '';
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 11px;
  background: rgba(107, 78, 255, 0.55);
}
.orbital-node.is-active .orbital-card {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.orbital-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.orbital-card-step {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  padding: 3px 9px;
  border: 1px solid rgba(107, 78, 255, 0.4);
  border-radius: 999px;
}
.orbital-card-tag {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.orbital-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 9px;
}
.orbital-card-body {
  font-family: var(--font-body);
  font-size: 0.86rem;
  line-height: 1.62;
  color: var(--text-muted);
}
.orbital-card-next {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding-top: 14px;
  width: 100%;
  border-top: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-2);
  transition: color .2s, gap .2s;
}
.orbital-card-next svg { width: 15px; height: 15px; flex-shrink: 0; }
.orbital-card-next:hover { color: var(--text); gap: 11px; }

/* Hint */
.orbital-hint {
  text-align: center;
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: opacity .4s;
}
.orbital.is-engaged .orbital-hint { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .orbital-core-pulse { animation: none; }
  .orbital-node { transition: opacity .3s; }
}

@media (max-width: 900px) {
  .orbital-stage { height: 560px; }
  .orbital-ring--outer { width: 410px; height: 410px; }
  .orbital-ring--inner { width: 300px; height: 300px; }
}

/* ── Fallback / mobile: clean stacked phase list (no JS or small screens) ── */
.orbital:not(.is-ready) .orbital-stage {
  display: block;
  height: auto;
  perspective: none;
}
.orbital:not(.is-ready) .orbital-ring,
.orbital:not(.is-ready) .orbital-core,
.orbital:not(.is-ready) .orbital-node-glow,
.orbital:not(.is-ready) .orbital-label,
.orbital:not(.is-ready) .orbital-hint { display: none; }

.orbital:not(.is-ready) .orbital-node {
  position: relative;
  top: auto; left: auto;
  width: auto; height: auto;
  transform: none !important;
  opacity: 1 !important;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.orbital:not(.is-ready) .orbital-node:first-of-type { border-top: none; }
.orbital:not(.is-ready) .orbital-dot {
  position: relative;
  top: auto; left: auto;
  transform: none;
}
.orbital:not(.is-ready) .orbital-card {
  position: relative;
  top: auto; left: auto;
  transform: none;
  width: 100%;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.orbital:not(.is-ready) .orbital-card::before { display: none; }
.orbital:not(.is-ready) .orbital-card-next { width: auto; }

/* ==========================================================================
   WHO IS THIS FOR?
   ========================================================================== */
.for-who {
  position: relative;
  z-index: 1;
  padding: 140px 6%;
  max-width: 1140px;
  margin: 0 auto;
}

.for-who-header { margin-bottom: 72px; }

.for-who-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.06;
  max-width: 18ch;
  color: var(--text);
}

/* ── Bento grid (who is this for) ────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  overflow: hidden;
  /* includes opacity + transform so the .reveal fade-in still works */
  transition: opacity .6s var(--ease-out), transform .5s var(--ease-out), border-color .3s, background .3s;
}
.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 80% at 50% -10%, rgba(107, 78, 255, 0.10), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.bento-card:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
}
.bento-card:hover::after { opacity: 1; }

@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento-card--2 { grid-column: span 2; }
  .bento-card--3 { grid-column: span 3; }
}

/* Visual strip at the top of persona cards */
.bento-visual {
  position: relative;
  height: 104px;
  margin: -28px -28px 22px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(120% 100% at 50% 0%, rgba(107, 78, 255, 0.07), transparent 72%);
  overflow: hidden;
}

.bento-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: rgba(107, 78, 255, 0.10);
  border: 1px solid var(--line-2);
  color: var(--accent-2);
  margin-bottom: 16px;
}
.bento-icon svg { width: 18px; height: 18px; }

.bento-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 9px;
}
.bento-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.62;
  color: var(--text-muted);
}

/* P1 — volatile spark */
.bento-spark { width: 100%; height: 100%; }
.bs-views {
  fill: none;
  stroke: var(--accent-2);
  stroke-width: 2.5;
  opacity: 0.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bs-rev {
  stroke: var(--text-dim);
  stroke-width: 2;
  stroke-dasharray: 3 5;
  stroke-linecap: round;
}

/* P2 — audience cluster */
.avatar-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ac-av {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  margin-left: -11px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 0 0 3px var(--bg-surface);
  flex-shrink: 0;
}
.ac-av:first-child { margin-left: 0; }
.ac-av svg { width: 19px; height: 19px; opacity: 0.92; }
.ac-av--1 { background: linear-gradient(135deg, #6B4EFF, #9B7FFF); }
.ac-av--2 { background: linear-gradient(135deg, #7C5CFF, #B79BFF); }
.ac-av--3 { background: linear-gradient(135deg, #5A3FE0, #8A6BFF); }
.ac-av--4 { background: linear-gradient(135deg, #6B4EFF, #7C5CFF); }
.ac-av--more {
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  color: var(--accent-2);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
}

/* P3 — blueprint roadmap */
.bento-blueprint { width: 100%; height: 100%; }
.bp-grid path { stroke: rgba(255, 255, 255, 0.05); stroke-width: 1; }
.bp-path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-dasharray: 4 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bp-node { fill: var(--bg-surface); stroke: var(--accent-2); stroke-width: 2; }
.bp-node--end { fill: var(--accent); stroke: #fff; }

/* Payoff — smooth rising area chart */
.bento-card--chart { padding-top: 0; }
.bento-chart {
  position: relative;
  margin: 0 -28px 6px;
  height: 180px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent);
  mask-image: linear-gradient(to bottom, #000 74%, transparent);
}
.bento-area {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ba-area { fill: url(#bcGrad); }
.ba-line { fill: none; stroke: var(--accent-2); stroke-width: 2.5; }
.ba-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px rgba(107, 78, 255, 0.18);
}
.ba-dot--end {
  width: 11px; height: 11px;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(107, 78, 255, 0.35), 0 0 18px rgba(107, 78, 255, 0.6);
}

/* Recognition / CTA bridge card */
.bento-card--cta { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 760px) {
  .bento-card--cta { grid-template-columns: 1.05fr 1fr; align-items: center; }
}
.bento-card--cta .bento-body { align-self: center; }
.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent-2);
  transition: color .2s, gap .2s;
}
.bento-link svg { width: 16px; height: 16px; }
.bento-link:hover { color: var(--text); gap: 12px; }

/* Dashboard mockup window */
.bento-window {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px 12px 0 0;
  border-bottom: none;
  background: rgba(255, 255, 255, 0.015);
  padding: 40px 18px 0;
  margin: 4px -28px -28px 0;
  overflow: hidden;
}
.bw-dots { position: absolute; top: 13px; left: 16px; display: flex; gap: 6px; }
.bw-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.13); }
.bw-trend {
  position: absolute;
  top: 11px; right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: rgba(107, 78, 255, 0.12);
  border: 1px solid var(--line-2);
  color: var(--accent-2);
}
.bw-trend svg { width: 15px; height: 15px; }
.bw-screen { padding: 6px 4px 0; }
.bw-bars { display: flex; align-items: flex-end; gap: 9px; height: 132px; }
.bw-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, rgba(107, 78, 255, 0.22), var(--accent));
}

/* ==========================================================================
   TEAM
   ========================================================================== */
.team {
  position: relative;
  z-index: 1;
  padding: 140px 6%;
  max-width: 1140px;
  margin: 0 auto;
}

.team-header {
  text-align: center;
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.team-header .section-badge { margin-bottom: 22px; }

.team-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 20px;
}

.team-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 540px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 720px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
}

/* Card: outer is the perspective container, inner tilts */
.team-card { perspective: 1000px; }

.team-card-inner {
  position: relative;
  height: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 30px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .5s var(--ease-out), border-color .4s, box-shadow .4s;
  will-change: transform;
}
.team-card-inner:hover {
  border-color: var(--line-2);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(107, 78, 255, 0.12);
}

/* gradient wash on hover */
.team-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 0%, rgba(107, 78, 255, 0.16), transparent 62%);
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
}
.team-card-inner:hover .team-glow { opacity: 1; }

/* sparkle top-right */
.team-sparkle {
  position: absolute;
  top: 18px; right: 18px;
  color: var(--accent-2);
  opacity: 0;
  transform: scale(0.6) rotate(-20deg);
  transition: opacity .4s, transform .4s var(--ease-out);
  pointer-events: none;
}
.team-sparkle svg { width: 18px; height: 18px; }
.team-card-inner:hover .team-sparkle { opacity: 1; transform: scale(1) rotate(0); }

.team-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Avatar */
.team-avatar {
  position: relative;
  width: 112px; height: 112px;
  margin-bottom: 20px;
}
.team-avatar-frame {
  position: relative;
  z-index: 1;
  display: block;
  width: 112px; height: 112px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(107, 78, 255, 0.28);
  background: var(--bg-2);
}
.team-avatar-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.3);
  transform-origin: center 20%;
}
.team-avatar-halo {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(107,78,255,0.0), rgba(155,127,255,0.55), rgba(107,78,255,0.0));
  opacity: 0;
  filter: blur(7px);
  transition: opacity .5s;
  pointer-events: none;
}
.team-card-inner:hover .team-avatar-halo {
  opacity: 1;
  animation: teamHalo 4s linear infinite;
}
@keyframes teamHalo { to { transform: rotate(360deg); } }

.team-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}

.team-role {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(107, 78, 255, 0.10);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 14px;
}

.team-cert {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  color: var(--text-dim);
  margin-bottom: 16px;
  line-height: 1.3;
}
.team-cert svg { width: 14px; height: 14px; color: var(--accent-2); flex-shrink: 0; }

.team-bio {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 38ch;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-bottom: 22px;
}
.team-tag {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 10px;
  transition: background .2s, color .2s, border-color .2s;
}
.team-card-inner:hover .team-tag { border-color: var(--line-2); color: var(--text); }

.team-socials { display: flex; gap: 10px; }
.team-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.team-social svg { width: 16px; height: 16px; }
.team-social:hover {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(107, 78, 255, 0.12);
  transform: translateY(-2px);
}

/* Work-with-us CTA */
.team-cta {
  margin-top: 36px;
  text-align: center;
  background: var(--bg-2);
  border: 1px solid rgba(107, 78, 255, 0.2);
  border-radius: 24px;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.team-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 12px;
}
.team-cta-sub {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 28px;
}

/* ==========================================================================
   FAQS
   ========================================================================== */
.faqs {
  position: relative;
  z-index: 1;
  padding: 140px 6%;
  max-width: 860px;
  margin: 0 auto;
}

.faqs-header {
  margin-bottom: 72px;
}

.faqs-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: var(--text);
}

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }

.faq-row {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 26px 0;
  text-align: left;
  transition: color .2s;
}
.faq-row:hover { color: var(--text); }
.faq-row[aria-expanded="true"] { color: var(--accent); }

.faq-q {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
  flex: 1;
  color: var(--text);
  transition: color .2s;
}
.faq-row[aria-expanded="true"] .faq-q { color: var(--accent); }

.faq-toggle {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--text-dim);
  transition: transform .35s var(--ease-out), color .2s;
  min-width: 20px;
  text-align: right;
  margin-top: 1px;
}
.faq-row[aria-expanded="true"] .faq-toggle { transform: rotate(45deg); color: var(--accent); }

.faq-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s var(--ease-out);
}
.faq-body p {
  padding: 0 0 24px 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.cta-section {
  position: relative;
  z-index: 1;
  padding: 0 6% 140px;
  overflow: hidden;
}

.cta-grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.68' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.cta-wordmark {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 14rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--accent);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-2);
  border: 1px solid rgba(107, 78, 255, 0.2);
  border-radius: 28px;
  padding: 100px 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-inner::before {
  content: '';
  position: absolute;
  inset: -40% -10%;
  background: radial-gradient(ellipse at 50% 0%, rgba(107,78,255,0.18) 0%, transparent 60%);
  filter: blur(50px);
  pointer-events: none;
}

.cta-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  color: var(--text);
}

.cta-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 380px;
  line-height: 1.68;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.cta-note {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 14px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  position: relative;
  z-index: 1;
  padding: 60px 6% 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto 60px;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.footer-brand { flex: 1; }

.footer-logo {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 360px;
  margin-bottom: 24px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text-muted);
  transition: color .2s, border-color .2s, transform .2s;
}
.footer-social svg { width: 17px; height: 17px; }
.footer-social:hover { color: var(--text); border-color: var(--accent); transform: translateY(-2px); }

.footer-nav-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.footer-nav ul { display: flex; flex-direction: column; gap: 14px; }

.footer-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 2px;
  transition: color .2s;
}
.footer-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .3s var(--ease-out);
}
.footer-link:hover { color: var(--text); }
.footer-link:hover::after { width: 100%; }

/* Large decorative wordmark */
.footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--text);
  opacity: 0.03;
  text-align: center;
  width: 100%;
  line-height: 0.9;
  user-select: none;
  pointer-events: none;
  padding-top: 20px;
}

.footer-copy {
  max-width: 1140px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-dim);
  padding: 24px 0 40px;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   DESKTOP LINEBREAK
   ========================================================================== */
.desktop-br { display: inline; }
@media (max-width: 640px) { .desktop-br { display: none; } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) and (min-width: 760px) {
  /* On tablets, drop the bento to a clean 2-column layout */
  .bento-card--2 { grid-column: span 3; }
  .bento-card--3 { grid-column: span 6; }
}

@media (max-width: 768px) {
  /* Hero: collapse to single centered column, hide 3D scene */
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { align-items: center; }
  .hero-actions { justify-content: center; }
  .hero-3d { display: none; }
  .hero-spotlight { width: 100%; }

  .nav-links, .btn-nav { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(7, 7, 16, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 32px 6%;
    gap: 24px;
    z-index: 99;
  }
  .nav-links.is-open .nav-link { font-size: 1.2rem; padding: 8px 0; }

  .nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .es-5 { display: none; }
  .es-1 { --w: 360px; --h: 96px; }
  .es-2 { --w: 300px; --h: 84px; }
  .es-4 { --w: 140px; --h: 48px; }

  .stats-bar { flex-wrap: wrap; gap: 0; }
  .stat { flex: 0 0 50%; padding: 32px 20px; }
  .stat-divider { display: none; }
  /* certification becomes a full-width banner on top */
  .stat:nth-child(3) { flex: 0 0 100%; order: -1; border-bottom: 1px solid var(--line); }
  .stat-cred { font-size: clamp(1.7rem, 8vw, 2.3rem); }

  .bento-card { padding: 24px; }
  .bento-visual { margin: -24px -24px 20px; }
  .bento-chart { margin: 0 -24px 6px; }
  .bento-window { margin: 4px -24px -24px 0; }

  .orbital-card-body { font-size: 0.92rem; }

  .team { padding: 100px 6%; }
  .team-card-inner { padding: 30px 24px; }
  .team-cta { padding: 40px 24px; }

  .cta-inner { padding: 60px 28px; border-radius: 20px; }
  .footer-inner { flex-direction: column; gap: 48px; }
  .footer-nav ul { flex-direction: row; flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; width: 100%; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .hero-title { letter-spacing: -0.03em; }
  .hero-sub { text-align: center; }
}
