/* GrowthMotif v4 — crew: small tagged agent cursors doing one visible job per section.
   Same look as the cursors in the About scene and the footer wordmark. Decorative only. */
.gm-crew {
  position: absolute; left: 0; top: 0; z-index: 4;
  display: flex; align-items: flex-start; gap: 2px;
  pointer-events: none;
  opacity: 0; transition: opacity .35s ease;
  will-change: transform;
  font-size: 0; letter-spacing: 0; line-height: 1;
}
.gm-crew.is-on { opacity: 1; }
.gm-crew svg { width: 12px; height: 18px; flex: none; overflow: visible; }
.gm-crew path { fill: var(--agent, var(--ink)); stroke: var(--paper); stroke-width: 1.2; stroke-linejoin: round; }
.gm-crew i {
  margin-top: 13px; padding: 0 5px; border-radius: 4px;
  font-family: var(--f-mono); font-style: normal; font-weight: 500; font-size: 11px; line-height: 1.6;
  background: var(--agent, var(--ink)); color: var(--paper); white-space: nowrap;
}
@media (max-width: 700px) { .gm-crew i { display: none; } }

/* the copy editor is placed in page coordinates and glides to the end of the selection */
.gm-crew--float { z-index: 60; transition: opacity .35s ease, transform .55s cubic-bezier(.22, 1, .36, 1); }

/* hero: the full stop the agent carries in */
.gm-crew-carry { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; margin: 0; white-space: nowrap; will-change: transform; }

/* the hero makes its direct children position:relative; these two must stay out of the flow */
[data-gm="seed"] > .gm-crew { position: absolute; z-index: 4; }
[data-gm="seed"] > .gm-crew-carry { position: absolute; z-index: 3; }

/* statement: the proofreader needs a positioned parent */
.statement { position: relative; }

/* status line: the agent's second form. Same chip as a tag, with a six-dot spinner and a verb. */
.gm-status {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 0 6px 0 5px; border-radius: 4px;
  background: var(--agent, var(--ink)); color: var(--paper);
  font-family: var(--f-mono); font-weight: 500; font-size: 12px; line-height: 1.6; letter-spacing: 0;
  white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity .35s ease;
}
.gm-status.is-on { opacity: 1; }
.gm-status i { font-style: normal; }
.gm-status svg { width: 9px; height: 9px; flex: none; }
.gm-status circle { fill: currentColor; opacity: .28; animation: gm-status-spin .9s steps(1, end) infinite; }
.gm-status circle:nth-child(1) { animation-delay: -.9s; }
.gm-status circle:nth-child(2) { animation-delay: -.75s; }
.gm-status circle:nth-child(3) { animation-delay: -.6s; }
.gm-status circle:nth-child(4) { animation-delay: -.45s; }
.gm-status circle:nth-child(5) { animation-delay: -.3s; }
.gm-status circle:nth-child(6) { animation-delay: -.15s; }
@keyframes gm-status-spin { 0% { opacity: 1; } 16.67% { opacity: .28; } 100% { opacity: .28; } }

/* footer: beside whichever city is asleep */
.gm-finale-clocks li { position: relative; }
.gm-status--night { position: absolute; right: 2px; top: 33px; }
@media (max-width: 560px) {
  .gm-status--night { top: auto; bottom: 0; right: 0; }
}
/* footer: sits after the "Where our team is" label while the weather is being looked up */
.gm-status--inline { margin-left: 6px; }

@media (prefers-reduced-motion: reduce) { .gm-crew, .gm-crew-carry, .gm-status { display: none; } }
