/* Phoenix AI — splash */
:root {
  --ink: #090909;
  --cream: #F8F4E9;
  --cream-muted: #c8c0b4;
  --purple: #6B4FC8;
  --purple-light: #E0D0FF;
  --blue: #4A7FD4;
  --sky: #5A9FD8;
  --wine: #A81830;
  --wine-deep: #480818;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --pad-x: clamp(1.25rem, 3vw, 2.5rem);
  --shell-max: 72rem;
}

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

html, body {
  min-height: 100%;
  background: var(--ink);
  color: var(--cream);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
}

/* Hybrid #2 — world JPG with Optimus baked in-scene (no overlay cutout / no WebGL) */
.world {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 48% at 76% 40%, rgba(74, 40, 160, 0.14), transparent 62%),
    url("../assets/world-bc-datacenter.jpg?v=1789118000") 82% 38% / cover no-repeat,
    #090909;
  opacity: 0.92;
  /* Light grade only — full saturate/contrast/brightness was a paint cost */
  filter: brightness(0.9);
}

/* Floating AI chips — Grok/OpenAI above lockup (left); Claude/Gemini/Cursor/Astra-6 ABOVE Optimus head (right) */
.chip-stage {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.model-nodes {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  list-style: none;
  margin: 0;
  padding: 0;
  /* Full viewport — chips positioned per-node */
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: auto;
  height: auto;
  transform: none;
  opacity: 0.96;
}

.model-node {
  position: absolute;
  width: auto;
  height: auto;
}

.model-node__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.65rem 0.4rem 0.45rem;
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(248, 244, 233, 0.14), rgba(9, 9, 9, 0.55)),
    rgba(18, 12, 28, 0.74);
  border: 1px solid rgba(168, 24, 48, 0.35);
  box-shadow:
    0 0 0 1px rgba(107, 79, 200, 0.18) inset,
    0 6px 18px rgba(9, 9, 9, 0.45),
    0 0 18px rgba(107, 79, 200, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--cream);
  font-size: clamp(0.58rem, 1.1vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.model-node__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.model-node__label {
  line-height: 1;
  opacity: 0.92;
}


/* Prominent: Grok Bot + OpenAI ≥75% larger than other chips */
.model-node--grok-bot .model-node__chip,
.model-node--openai .model-node__chip {
  gap: 0.55rem;
  padding: 0.7rem 1.05rem 0.7rem 0.75rem;
  font-size: clamp(1.015rem, 1.925vw, 1.26rem);
}
.model-node--grok-bot .model-node__icon,
.model-node--openai .model-node__icon {
  width: 2.1875rem;
  height: 2.1875rem;
}

/* Desktop: Grok Bot + OpenAI ABOVE Phoenix lockup (left/hero); others ABOVE Optimus head */
.model-node--grok-bot {
  top: 5.5%;
  left: 5.5%;
  right: auto;
  color: #c9b8ff;
  animation: model-float-a 5.6s ease-in-out infinite;
}
.model-node--grok-bot .model-node__chip {
  border-color: rgba(107, 79, 200, 0.55);
  box-shadow:
    0 0 0 1px rgba(107, 79, 200, 0.25) inset,
    0 6px 18px rgba(9, 9, 9, 0.45),
    0 0 20px rgba(107, 79, 200, 0.4);
  color: #e8e0ff;
}
/* Official mark = black disc + white eyes; cream plate so it reads on dark chips */
.model-node--grok-bot .model-node__icon {
  background: #F8F4E9;
  border-radius: 50%;
  padding: 0.14rem;
  box-sizing: border-box;
}

.model-node--openai {
  top: 12.5%;
  left: 24%;
  right: auto;
  color: #9ec5ff;
  animation: model-float-b 6.4s ease-in-out infinite;
}
.model-node--openai .model-node__chip {
  border-color: rgba(74, 127, 212, 0.55);
  box-shadow:
    0 0 0 1px rgba(74, 127, 212, 0.22) inset,
    0 6px 18px rgba(9, 9, 9, 0.45),
    0 0 20px rgba(74, 127, 212, 0.35);
  color: #dceaff;
}

/* Secondary chips: cluster ABOVE Optimus head (right bot zone; world cover 82%/38%) — Claude/Gemini/Cursor/Astra-6 */
.model-node--claude {
  top: 30%;
  left: 70%;
  right: auto;
  color: #f0b59a;
  animation: model-float-c 5.9s ease-in-out infinite;
}
.model-node--claude .model-node__chip {
  border-color: rgba(217, 119, 87, 0.55);
  box-shadow:
    0 0 0 1px rgba(217, 119, 87, 0.22) inset,
    0 6px 18px rgba(9, 9, 9, 0.45),
    0 0 20px rgba(217, 119, 87, 0.35);
  color: #ffe8dc;
}

.model-node--gemini {
  top: 24%;
  left: 78%;
  right: auto;
  color: #9fd4ff;
  animation: model-float-d 6.8s ease-in-out infinite;
}
.model-node--gemini .model-node__chip {
  border-color: rgba(90, 159, 216, 0.55);
  box-shadow:
    0 0 0 1px rgba(90, 159, 216, 0.22) inset,
    0 6px 18px rgba(9, 9, 9, 0.45),
    0 0 20px rgba(90, 159, 216, 0.35);
  color: #e0f2ff;
}

.model-node--cursor {
  top: 33%;
  left: 86%;
  right: auto;
  color: #e8e4dc;
  animation: model-float-e 6.1s ease-in-out infinite;
}
.model-node--cursor .model-node__chip {
  border-color: rgba(248, 244, 233, 0.42);
  box-shadow:
    0 0 0 1px rgba(248, 244, 233, 0.16) inset,
    0 6px 18px rgba(9, 9, 9, 0.45),
    0 0 18px rgba(248, 244, 233, 0.22);
  color: #f8f4e9;
}

.model-node--astra {
  top: 27%;
  left: 76%;
  right: auto;
  color: #c9b8ff;
  animation: model-float-f 6.5s ease-in-out infinite;
}
.model-node--astra .model-node__chip {
  border-color: rgba(107, 79, 200, 0.5);
  box-shadow:
    0 0 0 1px rgba(107, 79, 200, 0.2) inset,
    0 6px 18px rgba(9, 9, 9, 0.45),
    0 0 18px rgba(107, 79, 200, 0.32);
  color: #e8e0ff;
}

/* Soft free-float drift (no orbit around a cutout) */
@keyframes model-float-a {
  0%, 100% { transform: translate(0, 0) rotate(-2deg); }
  33% { transform: translate(6px, -8px) rotate(1deg); }
  66% { transform: translate(-4px, -12px) rotate(2deg); }
}
@keyframes model-float-b {
  0%, 100% { transform: translate(0, 0) rotate(2deg); }
  40% { transform: translate(-8px, -7px) rotate(-1deg); }
  70% { transform: translate(-3px, -14px) rotate(-3deg); }
}
@keyframes model-float-c {
  0%, 100% { transform: translate(0, 0) rotate(1deg); }
  35% { transform: translate(7px, 5px) rotate(-2deg); }
  65% { transform: translate(3px, 10px) rotate(-3deg); }
}
@keyframes model-float-d {
  0%, 100% { transform: translate(0, 0) rotate(-1deg); }
  30% { transform: translate(-6px, -5px) rotate(2deg); }
  60% { transform: translate(-10px, 3px) rotate(1deg); }
}
@keyframes model-float-e {
  0%, 100% { transform: translate(0, 0) rotate(1.5deg); }
  45% { transform: translate(7px, -9px) rotate(-2deg); }
  75% { transform: translate(-5px, -4px) rotate(2deg); }
}

@keyframes model-float-f {
  0%, 100% { transform: translate(0, 0) rotate(-1deg); }
  33% { transform: translate(5px, -9px) rotate(2deg); }
  66% { transform: translate(-6px, -5px) rotate(-2deg); }
}

/* Legacy Three.js stage unused */
#stage {
  display: none !important;
}

.veil {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  /* Softened left ink: logo readable, mountain/datacenter still clear on the right */
  background:
    linear-gradient(
      90deg,
      rgba(9, 9, 9, 0.88) 0%,
      rgba(9, 9, 9, 0.72) 16%,
      rgba(9, 9, 9, 0.42) 30%,
      rgba(9, 9, 9, 0.12) 46%,
      rgba(9, 9, 9, 0.02) 58%,
      rgba(9, 9, 9, 0) 72%,
      rgba(9, 9, 9, 0.06) 100%
    ),
    linear-gradient(180deg, rgba(9, 9, 9, 0.38) 0%, transparent 18%, transparent 62%, rgba(9, 9, 9, 0.78) 100%);
  transition: opacity 0.6s var(--ease-out);
}

body.empower-open .veil {
  opacity: 0.92;
}

.shell {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.shell a,
.shell button,
.shell input,
.shell textarea,
.shell label {
  pointer-events: auto;
}

/* Shared left column rail — topbar mark + hero lockup flush */
.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* Full shell width so CONTACT right inset == hero lockup left inset (--pad-x).
     Prior width:min(100%, shell-max) + margin:auto stacked centering gutter on top of --pad-x. */
  width: 100%;
  margin: 0;
  padding: 1rem var(--pad-x);
  opacity: 0;
  animation: rise-in 1.1s var(--ease-out) 0.35s forwards;
  box-sizing: border-box;
}

.topbar__mark {
  width: 36px;
  height: 36px;
  display: block;
}

.topbar__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
}

.topbar__link,
.topbar__contact {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  opacity: 0.88;
  border-bottom: 1px solid color-mix(in srgb, var(--sky) 55%, transparent);
  padding-bottom: 0.15rem;
  transition: opacity 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.topbar__link:hover,
.topbar__contact:hover {
  opacity: 1;
  color: var(--sky);
  border-bottom-color: var(--sky);
}

/* Hero — left column aligned to topbar padding / mark */
.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  flex: 1 1 auto;
  width: min(100%, var(--shell-max));
  margin: 0 auto;
  /* Keep hero+topbar+foot inside one desktop viewport when possible */
  min-height: 0;
  padding: clamp(1rem, 4vh, 2.25rem) var(--pad-x) clamp(1rem, 3.5vh, 2rem);
  gap: 0;
  box-sizing: border-box;
}

.hero--split {
  width: min(100%, var(--shell-max));
  max-width: min(100%, 46rem);
  margin-left: 0;
  margin-right: auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  align-items: flex-start;
  text-align: left;
}

/* Shared left stack — lockup / tagline / CTAs optically aligned to artwork */
.hero__stack {
  --lockup-w: min(100%, 41.28rem);
  /* SVG bird/wordmark starts ~42/623 (~6.7%) after 0.9 scale ≈ 6% */
  --art-inset: calc(var(--lockup-w) * 0.06);
  width: var(--lockup-w);
  max-width: var(--lockup-w);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.hero--split .hero__lockup,
.hero--split .hero__line,
.hero--split .hero__actions {
  width: 100%;
  max-width: 100%;
  align-self: stretch;
  margin-left: 0;
  margin-right: 0;
}

.hero__lockup {
  width: var(--lockup-w, min(100%, 41.28rem));
  height: auto;
  display: block;
  margin-left: 0;
  margin-right: auto;
  filter: drop-shadow(0 12px 40px rgba(74, 40, 160, 0.35));
  opacity: 0;
  transform: translateY(28px);
  animation: rise-in 1.25s var(--ease-out) 0.55s forwards;
}

.hero__line {
  position: relative;
  isolation: isolate;
  /* Was 0.2rem; −25px tighter logo→rotator */
  margin-top: calc(0.2rem - 25px);
  padding-left: 0;
  max-width: 100%;
  min-height: 2.9em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* Prior clamp * 1.25 → ~1.97–2.4rem */
  font-size: clamp(2.27rem, 3.88vw, 2.76rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--cream);
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(20px);
  animation: rise-in 1.15s var(--ease-out) 0.85s forwards;
  /* readability wash; purple glyph glow is on .hero__rotate */
  text-shadow: 0 1px 14px rgba(9, 9, 9, 0.65);
  z-index: 1;
}

/* Ember glow lives on .hero__rotate so it hugs glyphs (H+V centered) */
.hero__line::before,
.hero__line::after {
  content: none;
  display: none;
}

@keyframes ember-flicker {
  0% {
    opacity: 0.525;
    filter: blur(9px) hue-rotate(0deg);
    transform: translate(-50%, -50%) scale(0.98);
  }
  50% {
    opacity: 0.712;
    filter: blur(10px) hue-rotate(-6deg);
    transform: translate(-50%, -50%) scale(1.03);
  }
  100% {
    opacity: 0.6;
    filter: blur(8px) hue-rotate(4deg);
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes ember-sparks {
  0% { opacity: 0.4; transform: translate(-50%, 0); }
  100% { opacity: 0.8; transform: translate(-50%, -0.3em); }
}

.hero__rotate {
  position: relative;
  display: inline-block;
  width: auto;
  max-width: 100%;
  text-align: center;
  transition: opacity 0.55s ease;
  opacity: 0;
  isolation: isolate;
  /* Very light purple glow — tight on glyphs (centered, not offset) */
  text-shadow:
    0 0 0.28em rgba(210, 195, 255, 0.7),
    0 0 0.55em rgba(190, 170, 245, 0.4),
    0 0 0.9em rgba(170, 150, 235, 0.25);
  filter: drop-shadow(0 0 0.12em rgba(215, 200, 255, 0.5));
}

/* Red/ember blur — perfectly centered H+V behind rotator glyphs */
.hero__rotate::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% + 1.1em);
  min-width: 5.5em;
  height: 1.45em;
  border-radius: 1.2em;
  pointer-events: none;
  background:
    radial-gradient(ellipse 72% 78% at 50% 50%, rgba(168, 24, 48, 0.58), transparent 70%),
    radial-gradient(ellipse 52% 68% at 46% 52%, rgba(200, 72, 24, 0.34), transparent 72%),
    radial-gradient(ellipse 48% 62% at 54% 48%, rgba(107, 79, 200, 0.3), transparent 74%);
  filter: blur(9px);
  opacity: 0.66;
  animation: ember-flicker 3.4s ease-in-out infinite alternate;
}

/* Soft spark cluster — centered under glyphs, not a side smudge */
.hero__rotate::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 0.05em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 180, 90, 0.8), rgba(168, 24, 48, 0.2) 60%, transparent 75%);
  box-shadow:
    1.1rem -0.2rem 0 -0.1rem rgba(255, 140, 60, 0.4),
    -1.15rem -0.15rem 0 -0.12rem rgba(168, 24, 48, 0.35),
    0.15rem -0.55rem 0 -0.14rem rgba(200, 90, 40, 0.28);
  filter: blur(1px);
  opacity: 0.49;
  transform: translate(-50%, 0);
  animation: ember-sparks 2.6s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero__rotate.is-visible {
  opacity: 1;
}


.hero__actions {
  margin-top: 2.15rem;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1rem;
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 1.1s var(--ease-out) 1.1s forwards;
}

.hero__cta {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.95rem;
  border: 1px solid color-mix(in srgb, var(--purple) 55%, transparent);
  border-radius: 999px;
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--purple) 38%, transparent),
      color-mix(in srgb, var(--blue) 26%, transparent));
  color: var(--cream);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--sky) 18%, transparent),
    0 18px 48px rgba(74, 127, 212, 0.2),
    inset 0 1px 0 rgba(248, 244, 233, 0.14);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.hero__cta--empower {
  letter-spacing: 0.14em;
}

.hero__cta--connect {
  letter-spacing: 0.12em;
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--wine) 32%, transparent),
      color-mix(in srgb, var(--purple) 28%, transparent));
  border-color: color-mix(in srgb, var(--wine) 45%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--wine) 16%, transparent),
    0 16px 40px rgba(168, 24, 48, 0.18),
    inset 0 1px 0 rgba(248, 244, 233, 0.12);
}

.hero__cta:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--sky) 70%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--sky) 28%, transparent),
    0 22px 56px rgba(107, 79, 200, 0.3),
    inset 0 1px 0 rgba(248, 244, 233, 0.18);
}

.hero__cta:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

.hero__cta-arrow {
  display: inline-block;
  letter-spacing: 0;
  transition: transform 0.35s var(--ease-out);
}

.hero__cta:hover .hero__cta-arrow {
  transform: translateX(3px);
}

/* ── Empower (gated — hidden until GET EMPOWERED) ── */
.empower[hidden],
.empower[aria-hidden="true"]:not(.is-revealed) {
  display: none !important;
}

.empower {
  width: min(100% - 2.5rem, 68rem);
  margin: 0 auto 4.5rem;
  padding: 2.75rem clamp(1.25rem, 3vw, 2rem) 1.75rem;
  pointer-events: auto;
  scroll-margin-top: 2rem;
  position: relative;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(9, 9, 9, 0.88), rgba(9, 9, 9, 0.94));
  border: 1px solid color-mix(in srgb, var(--purple) 22%, transparent);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.42);
  opacity: 0;
  transform: translateY(24px);
}

.empower.is-revealed {
  display: block;
  animation: empower-in 0.7s var(--ease-out) forwards;
}

@keyframes empower-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.empower__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

.empower__showcase {
  min-width: 0;
}

.empower__caption {
  margin-top: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--cream-muted);
  opacity: 0.7;
  text-align: center;
}

.empower__title {
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--purple-light);
  margin-bottom: 1.5rem;
  max-width: 28rem;
}

/* One capability line at a time */
.empower__fader {
  position: relative;
  list-style: none;
  min-height: 3.6em;
  margin: 0 0 1.75rem;
  padding: 0;
}

.empower__fader li {
  position: absolute;
  inset: 0 auto auto 0;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 550;
  line-height: 1.35;
  color: var(--cream);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
  text-shadow: 0 0 28px color-mix(in srgb, var(--purple) 28%, transparent);
}

.empower__fader li.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.empower__fader li::before {
  content: "";
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45em;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff8aa0, var(--wine) 55%, #6B4FC8);
  box-shadow:
    0 0 12px color-mix(in srgb, var(--wine) 70%, transparent),
    0 0 22px color-mix(in srgb, var(--purple) 45%, transparent);
}

.empower__fader li.is-visible {
  position: static;
  opacity: 0.85;
  transform: none;
  pointer-events: auto;
  margin-bottom: 0.65rem;
}

/* AI logos card */
.empower__logos {
  margin: 0 0 1.5rem;
  padding: 1.1rem 1.15rem 1.05rem;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(248, 244, 233, 0.06), rgba(9, 9, 9, 0.35)),
    rgba(14, 12, 20, 0.82);
  border: 1px solid color-mix(in srgb, var(--purple) 28%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--wine) 10%, transparent),
    0 18px 40px rgba(0, 0, 0, 0.35);
}

.empower__logos-label {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-muted);
}

.empower__logos-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem 1.05rem;
  margin: 0;
  padding: 0;
}

.empower__logos-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.92;
}

.empower__logos-row img {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 8px rgba(107, 79, 200, 0.35));
}

.empower__learn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.55rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--sky) 45%, transparent);
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--blue) 28%, transparent),
      color-mix(in srgb, var(--purple) 22%, transparent));
  color: var(--cream);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--purple) 16%, transparent),
    0 14px 36px rgba(74, 127, 212, 0.18);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}

.empower__learn:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--sky) 70%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--sky) 22%, transparent),
    0 18px 42px rgba(74, 127, 212, 0.28);
}

.empower__learn-arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}

.empower__learn:hover .empower__learn-arrow {
  transform: translateX(3px);
}

/* ── Multi-bot army stage ── */
.army {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 15% 0%, color-mix(in srgb, var(--wine) 24%, transparent), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 100%, color-mix(in srgb, var(--purple) 30%, transparent), transparent 50%),
    #0e0c12;
  border: 1px solid color-mix(in srgb, var(--purple) 34%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--wine) 12%, transparent),
    0 28px 64px rgba(0, 0, 0, 0.48),
    0 0 56px color-mix(in srgb, var(--purple) 16%, transparent);
}

.army__chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: rgba(9, 9, 9, 0.55);
  border-bottom: 1px solid color-mix(in srgb, var(--cream) 8%, transparent);
}

.army__dots {
  display: inline-flex;
  gap: 5px;
}
.army__dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
  background: color-mix(in srgb, var(--cream) 18%, transparent);
}
.army__dots i:nth-child(1) { background: color-mix(in srgb, var(--wine) 70%, #333); }
.army__dots i:nth-child(2) { background: color-mix(in srgb, var(--purple) 55%, #444); }
.army__dots i:nth-child(3) { background: color-mix(in srgb, var(--sky) 45%, #444); }

.army__title {
  flex: 1;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cream-muted);
}

.army__live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cream) 75%, var(--wine));
}

.army__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wine);
  box-shadow: 0 0 8px var(--wine);
  animation: army-pulse 1.6s ease-in-out infinite;
}

.army__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 22rem;
}

.army__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.army-agent {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.65rem;
  row-gap: 0.35rem;
  align-items: start;
  padding: 0.85rem 0.8rem;
  border-radius: 12px;
  background: rgba(18, 14, 28, 0.72);
  border: 1px solid color-mix(in srgb, var(--cream) 8%, transparent);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease, transform 0.4s var(--ease-out);
  min-height: 5.1rem;
}

.army-agent:nth-child(5) {
  grid-column: 1 / -1;
}

.army-agent.is-active {
  border-color: color-mix(in srgb, var(--sky) 42%, transparent);
  background: color-mix(in srgb, var(--purple) 14%, rgba(18, 14, 28, 0.9));
  box-shadow: 0 0 28px color-mix(in srgb, var(--purple) 22%, transparent);
  transform: translateY(-2px);
}

.army-agent__avatar {
  grid-row: 1 / span 2;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cream);
  background: linear-gradient(135deg, var(--agent-a, var(--wine)), var(--agent-b, var(--purple)));
  box-shadow: 0 0 18px color-mix(in srgb, var(--wine) 30%, transparent);
}

.army-agent__meta strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--cream);
}

.army-agent__status {
  display: block;
  position: relative;
  height: 1.2em;
  margin-top: 0.2rem;
  font-style: normal;
  font-size: 0.72rem;
  color: var(--sky);
  overflow: hidden;
}

.army-agent__status span {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.army-agent__status span.is-on {
  opacity: 1;
  transform: translateY(0);
}

.army-agent:not(.is-active) .army-agent__status {
  color: var(--cream-muted);
  opacity: 0.7;
}

.army-agent__tag {
  grid-column: 2;
  justify-self: start;
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-muted);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--cream) 10%, transparent);
}

.army-agent.is-active .army-agent__tag {
  color: var(--cream);
  border-color: color-mix(in srgb, var(--sky) 40%, transparent);
  background: color-mix(in srgb, var(--blue) 16%, transparent);
}

.army-feed {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(9, 9, 9, 0.4);
  border: 1px solid color-mix(in srgb, var(--cream) 7%, transparent);
  min-height: 7.5rem;
}

.army-feed__item {
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--cream-muted);
  opacity: 0.35;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  transition: opacity 0.4s ease, background 0.4s ease, color 0.4s ease;
}

.army-feed__item.is-active {
  opacity: 1;
  color: var(--cream);
  background: color-mix(in srgb, var(--purple) 18%, transparent);
}

@keyframes army-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

@media (max-width: 900px) {
  .empower__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .empower__title {
    max-width: none;
  }
}

@media (max-width: 520px) {
  .army__grid {
    grid-template-columns: 1fr;
  }
  .army-agent:nth-child(5) {
    grid-column: auto;
  }
  .army__body {
    min-height: 0;
  }
}

/* Footer */
.foot {
  padding: 0.65rem var(--pad-x) 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-muted);
  opacity: 0;
  animation: fade-in 1.2s ease 1.5s forwards;
}

.foot__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--wine);
  opacity: 0.8;
}

.foot__connect {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: uppercase;
  color: var(--cream);
  cursor: pointer;
  opacity: 0.9;
  border-bottom: 1px solid color-mix(in srgb, var(--sky) 50%, transparent);
  padding-bottom: 0.1rem;
  transition: color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}
.foot__connect:hover {
  color: var(--sky);
  border-bottom-color: var(--sky);
  opacity: 1;
}

/* Connect — gated modal overlay */
.connect[hidden],
.connect[aria-hidden="true"]:not(.is-open) {
  display: none !important;
}

.connect {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  pointer-events: auto;
  margin: 0;
  width: auto;
  border: 0;
  background: transparent;
  border-radius: 0;
}

.connect.is-open {
  display: flex !important;
}

.connect__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 9, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.connect__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 28rem);
  max-height: min(92vh, 40rem);
  overflow: auto;
  padding: 2rem 1.35rem 1.6rem;
  border-radius: 18px;
  background: rgba(12, 10, 18, 0.96);
  border: 1px solid color-mix(in srgb, var(--purple) 28%, transparent);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.55),
    0 0 48px color-mix(in srgb, var(--purple) 18%, transparent);
  animation: connect-panel-in 0.35s var(--ease-out);
}

@keyframes connect-panel-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.connect__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cream) 8%, transparent);
  color: var(--cream);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.connect__close:hover {
  background: color-mix(in srgb, var(--wine) 35%, transparent);
  color: #fff;
}

body.connect-open {
  overflow: hidden;
}

.connect__label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.65rem;
}

.connect__title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.connect__lead {
  color: var(--cream-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.connect__form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.connect__form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cream-muted);
}

.connect__form input,
.connect__form textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--purple) 35%, transparent);
  background: rgba(18, 14, 28, 0.72);
  color: var(--cream);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 400;
}

.connect__form input:focus-visible,
.connect__form textarea:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}

.connect__submit {
  margin-top: 0.35rem;
  align-self: flex-start;
  min-width: 7.5rem;
  min-height: 2.85rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--purple) 55%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--purple) 40%, transparent), color-mix(in srgb, var(--blue) 28%, transparent));
  color: var(--cream);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
}

.connect__submit:disabled,
.connect__submit.is-loading {
  cursor: wait;
  pointer-events: none;
}

.connect__spinner {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  border: 2.5px solid transparent;
  border-top-color: #ffffff;
  border-right-color: var(--wine);
  border-bottom-color: var(--blue);
  border-left-color: var(--purple);
  animation: px-spin 0.7s linear infinite;
  box-shadow: 0 0 12px rgba(168, 24, 48, 0.35);
}

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

.connect__error {
  margin: 0;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--wine) 45%, transparent);
  background: color-mix(in srgb, var(--wine-deep) 55%, transparent);
  color: #f0c4c8;
  font-size: 0.86rem;
  font-weight: 500;
  text-align: left;
}

.connect__sent {
  text-align: left;
  padding: 1rem 0;
  animation: px-sent-in 0.45s var(--ease-out);
}

.connect__sent-mark {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 0 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  color: #090909;
  background: linear-gradient(135deg, var(--wine) 0%, var(--purple) 50%, var(--blue) 100%);
  box-shadow: 0 0 24px rgba(107, 79, 200, 0.35);
}

.connect__sent h2 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.connect__sent p {
  color: var(--cream-muted);
}

@keyframes px-sent-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__lockup,
  .hero__line,
  .hero__actions,
  .hero__cta,
  .topbar,
  .foot,
  .empower.is-revealed {
    opacity: 1;
    transform: none;
  }
  .hero__rotate::before,
  .hero__rotate::after {
    animation: none !important;
  }
  .hero__rotate::before {
    opacity: 0.585;
    filter: blur(9px);
    transform: translate(-50%, -50%);
  }
  .hero__rotate::after {
    opacity: 0.375;
    transform: translate(-50%, 0);
  }
  .connect__panel {
    animation: none !important;
  }
  .hero__rotate {
    opacity: 1 !important;
    transition: none !important;
  }
  .model-node--grok-bot,
  .model-node--openai,
  .model-node--claude,
  .model-node--gemini,
  .model-node--cursor,
  .model-node--astra {
    animation: none !important;
  }
  .empower__fader li {
    position: static !important;
    opacity: 0 !important;
    transform: none !important;
    pointer-events: none !important;
    margin-bottom: 0 !important;
  }
  .empower__fader li.is-active {
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .empower__fader li.is-visible {
    position: static !important;
    opacity: 0.9 !important;
    margin-bottom: 0.55rem !important;
    pointer-events: auto !important;
  }
  .army__pulse {
    animation: none !important;
  }
  .army-agent__status span {
    position: static;
    display: none;
  }
  .army-agent__status span.is-on,
  .army-agent.is-active .army-agent__status span:first-child {
    display: block;
    opacity: 1 !important;
    transform: none !important;
  }
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  to { opacity: 0.55; }
}

@media (max-width: 960px) {
  .hero {
    align-items: flex-start;
    text-align: left;
    justify-content: flex-end;
    min-height: 0;
  }
  .veil {
    background:
      linear-gradient(
        180deg,
        rgba(9, 9, 9, 0.62) 0%,
        rgba(9, 9, 9, 0.42) 28%,
        rgba(9, 9, 9, 0.68) 58%,
        rgba(9, 9, 9, 0.9) 100%
      ),
      linear-gradient(
        90deg,
        rgba(9, 9, 9, 0.78) 0%,
        rgba(9, 9, 9, 0.4) 55%,
        rgba(9, 9, 9, 0.22) 100%
      );
  }
  .world {
    opacity: 0.9;
    /* Keep baked Optimus in right midground under cover */
    background-position: 84% 40%;
  }
  .model-nodes {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: auto;
    height: auto;
  }
  .model-node--grok-bot { top: 7%; left: 4%; right: auto; }
  .model-node--openai { top: 14%; left: 42%; right: auto; }
  .model-node--claude { top: 32%; left: 66%; right: auto; }
  .model-node--gemini { top: 26%; left: 74%; right: auto; }
  .model-node--cursor { top: 35%; left: 82%; right: auto; }
  .model-node--astra { top: 28%; left: 70%; right: auto; }
  /* connect is fixed overlay — no page margin */
}

@media (max-width: 640px) {
  /* Chips stay on right half; compact icon-only pills */
  .model-nodes {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0.92;
  }
  /* Compact: Grok/OpenAI above lockup; others above Optimus head (right) */
  .model-node--grok-bot { top: 8%; left: 3%; right: auto; }
  .model-node--openai { top: 8%; left: auto; right: 4%; }
  .model-node--claude { top: 28%; left: 62%; right: auto; bottom: auto; }
  .model-node--gemini { top: 22%; left: 72%; right: auto; bottom: auto; }
  .model-node--cursor { top: 31%; left: 82%; right: auto; }
  .model-node--astra { top: 24%; left: 66%; right: auto; bottom: auto; }
  .model-node__label {
    display: none;
  }
  .model-node__chip {
    padding: 0.35rem;
    border-radius: 50%;
  }
  .model-node__icon {
    width: 1.05rem;
    height: 1.05rem;
  }

  .model-node--grok-bot .model-node__icon,
  .model-node--openai .model-node__icon {
    width: 1.84rem;
    height: 1.84rem;
  }
  .model-node--grok-bot .model-node__chip,
  .model-node--openai .model-node__chip {
    padding: 0.55rem;
  }

  .hero {
    justify-content: flex-end;
    padding-bottom: 3.25rem;
  }
  .hero__stack {
    /* 100% of padded content box (was 92vw) so L/R margins == --pad-x;
       92vw overflowed right and left the lockup optically shifted right. */
    --lockup-w: min(100%, 26.4rem);
    /* Pull lockup/tagline/CTAs up toward CONTACT (~75px). */
    margin-top: -175px;
  }
  .hero__lockup {
    width: var(--lockup-w);
    /* SVG ink is ~5.9% left / ~3.2% right transparent — nudge so optical
       L/R whitespace matches inside the balanced content box. */
    margin-left: calc(var(--lockup-w) * -0.014);
    margin-right: auto;
  }
  .hero__actions {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .topbar__nav {
    gap: 0.95rem;
  }
}

.connect__form[hidden],
#connect-form[hidden] {
  display: none !important;
}
.connect__sent:not([hidden]) {
  display: block;
}

.connect.is-complete .connect__form {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* Official Grok Bot mark on dark empower card — cream plate */
.empower__logos-row img.model-logo--grok-bot {
  background: #F8F4E9;
  border-radius: 50%;
  padding: 0.12rem;
  box-sizing: border-box;
  filter: none;
}
