/* HOW HAS SOMETHING READY: one pulse for every kind (2026-12-02). Logic: static/js/screens/how/how-pulse.js (the
   helper, app.howPulse(el, on)) and static/js/screens/home/key-move-pulse.js (the Key Move kind).

   The colour is How Horizon's approved far dot, golden orange #E9A84C (Alison, 2026-11-22: "approve with orange glow
   being the background of the suggestions"), and the wash is that approval's own: radial, .30 / .10 / 0 over #FBF8F1
   in light, .22 / .07 / 0 over #1F272F in dark. The DD door's existing hz-breathe glow is terracotta
   (rgba(181,101,79)), not the approved gold, so it is NOT reused here; this file carries the approved values.
   A glow, never a number. With reduced motion the glow holds still: it still says "ready", it just does not move. */
:root {
  --how-pulse-gold: #E9A84C;
  --how-pulse-ring: rgba(233, 168, 76, 0.55);
  --how-pulse-ring-soft: rgba(233, 168, 76, 0.12);
  --how-pulse-wash: radial-gradient(120% 140% at 85% 0%, rgba(233, 168, 76, 0.30), rgba(233, 168, 76, 0.10) 55%,
    rgba(233, 168, 76, 0) 100%), #FBF8F1;
}
:root[data-theme="dark"] {
  --how-pulse-wash: radial-gradient(120% 140% at 85% 0%, rgba(233, 168, 76, 0.22), rgba(233, 168, 76, 0.07) 55%,
    rgba(233, 168, 76, 0) 100%), #1F272F;
}

/* An HTML thing that is ready (a destination card, later a project card or an article): the wash and a ring. */
.how-pulse:not(g) { background: var(--how-pulse-wash); box-shadow: 0 0 0 2px var(--how-pulse-ring); }
/* An SVG thing that is ready (a Key Move on the Impact Model): a golden glow round the circle, nothing else moves. */
g.how-pulse { filter: drop-shadow(0 0 6px var(--how-pulse-gold)); }

@media (prefers-reduced-motion: no-preference) {
  .how-pulse:not(g) { animation: how-pulse 2.8s ease-in-out infinite; }
  g.how-pulse { animation: how-pulse-svg 2.8s ease-in-out infinite; }
}
@keyframes how-pulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--how-pulse-ring); }
  50% { box-shadow: 0 0 0 7px var(--how-pulse-ring-soft); }
}
@keyframes how-pulse-svg {
  0%, 100% { filter: drop-shadow(0 0 3px var(--how-pulse-gold)); }
  50% { filter: drop-shadow(0 0 10px var(--how-pulse-gold)); }
}

/* The draft, opened from a ready card (Horizon's peek look, .hz-peek, reused). */
#how-ready-peek .hrp-why { margin: 0; font-family: 'Montserrat', 'Inter', sans-serif; font-size: 13.5px; line-height: 1.55;
  color: var(--dkt-5b6b7aff, #5B6B7A); overflow-wrap: anywhere; }
#how-ready-peek .hrp-sig { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; }
#how-ready-peek textarea { width: 100%; box-sizing: border-box; min-height: 220px; resize: vertical;
  font-family: 'Montserrat', 'Inter', sans-serif; font-size: 14.5px; line-height: 1.6; padding: 14px; border-radius: 12px;
  border: 1px solid var(--dkl-e3e8edff, #E3E8ED); background: var(--dkb-f4f1ecff, #F4F1EC); color: var(--dkt-1f3a5fff, #1F3A5F); }
#how-ready-peek .hrp-note { margin: 0; font-size: 12px; color: var(--dkt-5b6b7aff, #5B6B7A); }
