/* ---------- Hero motion: Minnesota constellation and rotating proof notes ---------- */

/* A. Constellation: the Minnesota mark draws itself behind the hero, network lights up */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-constellation {
  position: absolute; z-index: -1; pointer-events: none;
  right: auto; left: max(1rem, calc((100vw - 75rem) / 2 + 19rem)); top: 50%;
  height: min(96%, 38rem); aspect-ratio: 82.47 / 108; transform: translateY(-51%);
  opacity: 1;
}
.hero-constellation .mn-outline { fill: none; stroke: var(--accent); stroke-opacity: 0.16; stroke-width: 0.6; stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s var(--ease-out) 0.2s forwards; }
.hero-constellation .mn-link { fill: none; stroke: var(--accent); stroke-opacity: 0.22; stroke-width: 0.45; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease-out) forwards; }
.hero-constellation .mn-link:nth-of-type(1) { animation-delay: 1.5s; }
.hero-constellation .mn-link:nth-of-type(2) { animation-delay: 1.75s; }
.hero-constellation .mn-link:nth-of-type(3) { animation-delay: 2s; }
.hero-constellation .mn-link:nth-of-type(4) { animation-delay: 2.25s; }
.hero-constellation .mn-link:nth-of-type(5) { animation-delay: 2.5s; }
.hero-constellation .mn-pulse { fill: none; stroke: var(--accent); stroke-width: 0.9; stroke-linecap: round; stroke-opacity: 0.6;
  stroke-dasharray: 0.06 1; stroke-dashoffset: 1.06; opacity: 0; animation: pulse 3.6s linear 3.4s infinite; }
.hero-constellation .mn-pulse:nth-of-type(2) { animation-delay: 4.6s; }
.hero-constellation .mn-pulse:nth-of-type(3) { animation-delay: 5.8s; }
.hero-constellation .mn-node { fill: var(--accent); opacity: 0; transform-box: fill-box; transform-origin: center; animation: node 0.6s var(--ease-out) forwards; }
.hero-constellation .mn-node:nth-of-type(1) { animation-delay: 1.4s; }
.hero-constellation .mn-node:nth-of-type(2) { animation-delay: 1.7s; }
.hero-constellation .mn-node:nth-of-type(3) { animation-delay: 1.95s; }
.hero-constellation .mn-node:nth-of-type(4) { animation-delay: 2.3s; }
.hero-constellation .mn-node:nth-of-type(5) { animation-delay: 2.6s; }
.hero-constellation .mn-halo { fill: var(--accent); opacity: 0; transform-box: fill-box; transform-origin: center; animation: halo 3.2s ease-out 3s infinite; }
.hero-constellation .mn-star { fill: var(--accent); opacity: 0; --star-o: 0.5; transform-box: fill-box; transform-origin: center;
  animation: star-in 0.9s var(--ease-out) 0.9s forwards, twinkle 4s ease-in-out 2s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes node { from { opacity: 0; transform: scale(0.2); } to { opacity: 0.4; transform: scale(1); } }
@keyframes halo { 0% { opacity: 0.18; transform: scale(1); } 100% { opacity: 0; transform: scale(4.5); } }
@keyframes star-in { from { opacity: 0; transform: scale(0.3) rotate(-45deg); } to { opacity: 0.5; transform: none; } }
@keyframes twinkle { 0%, 100% { filter: none; transform: scale(1); } 50% { transform: scale(1.18); } }
@keyframes pulse { 0% { opacity: 0; stroke-dashoffset: 1.06; } 8% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: 0; } }
@media (max-width: 64rem) { .hero-constellation { left: 58%; top: 34%; height: min(52%, 30rem); transform: translate(-50%, -50%); opacity: 0.55; } }

.hero-art .proofs { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
/* B. Proof toasts: three small cards float in around the ticket */
.hero-art { position: relative; }
.proof { position: absolute; z-index: 2; display: flex; gap: 0.625rem; align-items: center;
  padding: 0.625rem 0.875rem 0.625rem 0.625rem; max-width: 17rem;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: var(--shadow-toast);
  font-size: 0.8125rem; line-height: 1.35; color: var(--ink);
  opacity: 0; transform: translateY(10px) scale(0.98);
  animation: proof-in 0.6s var(--ease-out) forwards, proof-float 6s ease-in-out infinite; }
.proof b { display: block; font-weight: 600; }
.proof span { color: var(--ink-3); }
.proof-ico { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 9px;
  background: color-mix(in oklab, var(--accent) 13%, var(--surface)); color: var(--accent); }
.proof-ico svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.proof { left: -2.25rem; top: -1.6rem; animation: proof-cycle 12s var(--ease-out) infinite; }
.proof--a { animation-delay: 2.6s; }
.proof--b { animation-delay: 6.6s; }
.proof--c { animation-delay: 10.6s; }
@keyframes proof-in { to { opacity: 1; transform: none; } }
@keyframes proof-cycle { 0% { opacity: 0; transform: translateY(10px) scale(0.98); } 4% { opacity: 1; transform: none; } 30% { opacity: 1; transform: none; } 34% { opacity: 0; transform: translateY(-6px) scale(0.99); } 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes proof-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@media (max-width: 64rem) { .proof { left: 0.75rem; top: -1.4rem; } }

@media (prefers-reduced-motion: reduce) {
  .hero-constellation *, .proof { animation: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; transform: none !important; }
  .hero-constellation .mn-pulse, .hero-constellation .mn-halo { display: none; }
}
