/* ==========================================================================
   SILVER-DUST RHYTON — the hero's levitating signature piece, drawn in
   particles by /js/particles.js. Replaces the floating rhyton photo while
   keeping its levitation (vitality.css: .float-art + @keyframes levitate),
   glow, ground shadow, sparkles and pointer depth (--px/--py from motion.js).
   ========================================================================== */
.hero-float .float-art.float-dust{
  width:min(100%, 700px);max-height:none;aspect-ratio:1.42/1;
  filter:none;               /* no drop-shadow: it would re-rasterise every frame */
  cursor:crosshair;
  touch-action:pan-y;        /* vertical swipes still scroll the page */
  -webkit-tap-highlight-color:transparent;
  /* tiny breathing room so scattered grains can fly past the silhouette */
  margin-block:-2%;
}
.float-dust canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.float-dust:not(.is-ready){opacity:0}
.float-dust.is-ready{opacity:1;transition:opacity .9s ease}

/* caption under the piece becomes the interaction hint; never blocks the pointer */
.hero-float .hero-caption{pointer-events:none}
.dust-hint .hint-touch{display:none}
@media (hover:none),(pointer:coarse){
  .dust-hint .hint-fine{display:none}
  .dust-hint .hint-touch{display:inline}
}
@media (max-width:900px){
  .hero-float .float-art.float-dust{width:min(100%, 560px);aspect-ratio:1.3/1}
  /* the dust piece has a fixed aspect, so the tall photo-era min-height only left a gap */
  .hero-float:has(.float-dust){min-height:0;padding-bottom:44px}
}
@media (prefers-reduced-motion:reduce){
  .dust-hint{display:none!important}
  .float-dust{cursor:default}
}
