/* PickMe feature heroes (markup: site/content/pickme-heroes.mjs,
   timeline: assets/js/pickme-heroes.js). Layers move by transform and opacity only.
   Without JavaScript, or with reduced motion, the hero rests on a still frame. */

/* Part 4 · the card floats on the page, with no tinted stage behind it. */
/* .sf-design-preview--bare now lives in liquid.css, shared by every hero. */

/* Live stage ------------------------------------------------------------- */
.sf-design-preview .sf-preview-stage--live:has(> .pm-hero) {
  display:block;
  position:relative;
  height:clamp(320px, 42vw, 560px);
  min-height:0;
  padding:0;
  overflow:hidden;
  border-radius:20px;
  background:#ece6da;
  isolation:isolate;
}
.pm-hero { position:absolute; inset:0; overflow:hidden; border-radius:inherit; }

/* ======================================================================
   Part 2 · Know what a trip could pay (isometric, Three.js)
   ====================================================================== */
/* The card sits straight on the page: no tinted stage, no glow. */
.sf-design-preview .sf-preview-stage--live:has(> .pm-hero--iso) { background:none; box-shadow:none; }
.pm-iso__still,
.pm-iso__canvas { position:absolute; inset:0; width:100%; height:100%; display:block; }
.pm-iso__still { object-fit:contain; padding:clamp(24px, 5vw, 64px); box-sizing:border-box; transition:opacity .5s ease; }
.pm-iso__canvas { opacity:0; transition:opacity .7s cubic-bezier(.22, 1, .36, 1); }
.pm-hero--iso.is-ready .pm-iso__canvas { opacity:1; }
.pm-hero--iso.is-ready .pm-iso__still { opacity:0; }

@media (prefers-reduced-motion: reduce) {
  .pm-iso__still, .pm-iso__canvas { transition:none; }
}
