/* The Data Garden plant ornaments and their sun shadow, shared by the
   landing page and the workspace home (W01, Daniel 2026-10-28: the same
   image and mechanics everywhere). sun-cursor.js drives --sun-shadow-*. */

/* ---------- Ornament stage: sun-cursor drop shadow ---------- */
/*
 * Wraps an ornament <img>. Picks up --sun-shadow-* custom properties driven
 * by /static/js/sun-cursor.js. Falls back to a quiet baseline shadow when
 * the JS hasn't loaded or prefers-reduced-motion is set (the JS no-ops
 * under reduced-motion, and the fallback values stay neutral).
 */
/*
 * Apply the filter to each inline <svg> child rather than the wrapper. If
 * applied to the wrapper, any background/border on the wrapper would put the
 * filter onto a filled rectangle and produce a rectangular shadow instead of
 * one tracing the plant silhouettes.
 */
.ornament-stage svg {
  filter: drop-shadow(
    var(--sun-shadow-x, 0px)
    var(--sun-shadow-y, 0.75px)
    var(--sun-shadow-blur, 1px)
    rgba(var(--sun-shadow-rgb, 26, 24, 20), var(--sun-shadow-opacity, 0))
  );
}

/*
 * Reduced-motion does NOT strip the filter. A static drop-shadow doesn't
 * violate the preference; only the cursor-tracking is disabled (in the JS).
 */

/* ---------- ornament divider ---------- */
.entry-divider {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: var(--space-6);
  max-width: 64rem;
  margin: var(--space-10) auto;
  padding: 0 var(--space-3);
}
.entry-divider__rule {
  flex: 1;
  height: 1px;
  background: var(--color-border);
  margin-bottom: 6px; /* ride the ornament's baseline */
}
.entry-divider__ornament {
  height: 6rem;
  color: var(--color-ornament);
  flex-shrink: 0;
  line-height: 0;
}
.entry-divider__ornament svg {
  height: 100%;
  width: auto;
  display: block;
}
