/* ==========================================================================
   AFOLAOLA — Hero: "one mark resolves into three products"
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem var(--container-pad) 6rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 20%, rgba(91,95,239,0.16), transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 85%, rgba(45,212,167,0.10), transparent 60%),
    var(--color-bg);
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: var(--ls-wider);
  color: var(--color-honor);
  margin-bottom: var(--space-lg);
}

.hero__mark-stage {
  position: relative;
  width: min(90vw, 640px);
  height: min(60vw, 340px);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__glyph {
  position: relative;
  z-index: 2;
  width: clamp(72px, 14vw, 120px);
  height: clamp(72px, 14vw, 120px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.hero__node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translate(0, 0) scale(0.6);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
  pointer-events: none;
}

.hero__node .dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--color-honor);
  box-shadow: 0 0 20px rgba(45,212,167,0.6);
}

.hero__node span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: var(--ls-wide);
  color: var(--color-text-muted);
  white-space: nowrap;
}

.hero__node--purse { --tx: -220px; --ty: -70px; }
.hero__node--time  { --tx: 0px;    --ty: 120px; }
.hero__node--inv   { --tx: 220px;  --ty: -70px; }

.hero__mark-stage.is-resolved .hero__node {
  opacity: 1;
  transform: translate(var(--tx), var(--ty)) scale(1);
}

.hero__mark-stage.is-resolved .hero__glyph {
  opacity: 0.55;
  transform: scale(0.82);
}

.hero__connectors {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: visible;
}

.hero__connectors path {
  stroke: var(--color-line);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 4 6;
  opacity: 0;
  transition: opacity 900ms var(--ease-out) 200ms;
}
.hero__mark-stage.is-resolved .hero__connectors path { opacity: 1; }

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.hero h1 .accent { color: var(--color-honor); }

.hero__sub {
  margin-top: var(--space-lg);
  max-width: 46rem;
  font-size: var(--fs-lead);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
}

.hero__ctas {
  margin-top: var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.hero__micro {
  margin-top: var(--space-lg);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-faint);
  letter-spacing: 0.02em;
}

.hero__scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-faint);
  animation: bob 2.4s ease-in-out infinite;
}
.hero__scroll-cue svg { width: 18px; height: 18px; }

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

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

@media (max-width: 640px) {
  .hero { padding-top: 7rem; }
  .hero__node--purse { --tx: -95px; --ty: -100px; }
  .hero__node--time  { --tx: 0px;   --ty: 130px; }
  .hero__node--inv   { --tx: 95px;  --ty: -100px; }
}
