/* THE HERO AT PLAY and THE SECOND CURSOR, one owner for both pages that use them (2026-10-14): website/adaptive.html, the
   current home, and the Website project's Concept 1 (Eden2.1/business/eden/projects/proj-website/concept-open.html). Moved here
   from adaptive.html unchanged, except that the site's own variables (--ink, --ink-3, --flow) fall back to Eden's tokens, so a
   page that doesn't declare them still draws the same. Scripts: src/js/eden-hand.js (the cursor), src/js/hero-play.js. */
/* the second cursor */
.ghost, .ghost__sh { position: absolute; left: 0; top: 0; z-index: 20; pointer-events: none; will-change: transform; }
/* Studio's own adaptive cursor, not an arrow (Josh, 2026-10-01: "lets show our adaptive cursor from eden studio which is
   just the colored dot"): the 8px dot in the cursor colour (#716cff, Studio's --cursor) */
.ghost > svg:not(.ghost__hold) { display: none; }
.ghost::before { content: ""; position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: conic-gradient(#9ee7ff, #c9b7ff, #f6c7e7, #fff4c2, #9ee7ff);   /* the spectrum (Josh, 2026-10-01) */ box-shadow: 0 0 0 1px rgba(0,0,0,.18); }
.ghost__sh { width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: rgba(0,0,0,.7); filter: blur(3px); }
.ghost__ring { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; padding: 1.5px; opacity: 0;
  background: conic-gradient(var(--flow, #9ee7ff, #c9b7ff, #f6c7e7, #fff4c2, #9ee7ff)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.ghost__ring.is-go { animation: ping .55s ease-out; }
@keyframes ping { from { opacity: 1; transform: scale(.3); } to { opacity: 0; transform: scale(1.5); } }

/* THE HERO AT PLAY (src/js/hero-play.js): real pieces of Studio at their real size, worked by three cursors */
.hplay { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hplay .ghost { transition: opacity .2s; } .hplay .ghost.is-away { opacity: 0; } .hplay .ghost__sh { display: none; }
.hv-slot { position: absolute; transition: opacity .4s ease, transform .4s ease; } .hv-slot.is-out { opacity: 0; transform: translateY(6px) scale(.97); }
/* closer to the headline (Josh, 2026-10-03: "too far out to the top and side edges... bring them all in a bit"): placed from
   the centre, so they stay round the text however wide the window; the sides never closer than 24px to its edge */
.s1 { left: calc(50% - 560px); top: 19%; } .s2 { left: calc(50% - 300px); top: 14%; } .s3 { left: calc(50% + 60px); top: 17%; } .s4 { left: calc(50% + 330px); top: 15%; }
.s5 { right: min(calc(50% + 500px), calc(100% - 224px)); top: 40%; } .s6 { left: min(calc(50% + 500px), calc(100% - 274px)); top: 42%; }
.hv { position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 10px; --r: 4px; }
/* Button / Primary Fill, to its contract: 48 high, 12 in, 12 between, 24px icons, Button / Default */
.hbtn { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 16px; border-radius: var(--r); background: #f2f2f2; color: #111; font-size: 16px; font-weight: 600; letter-spacing: .01em;
  box-shadow: 0 20px 40px -14px rgba(0,0,0,.95); transition: border-radius .35s cubic-bezier(.3,.7,.2,1); outline: 1px solid transparent; outline-offset: 4px; }
.hbtn--sm { height: 36px; padding: 0 12px; gap: 8px; font-size: 13px; box-shadow: none; }
.hic { display: inline-grid; place-items: center; width: 24px; height: 24px; font-style: normal; } .hic svg { width: 24px; height: 24px; display: block; }
.hbtn--sm .hic, .hbtn--sm .hic svg { width: 18px; height: 18px; }
.hv.is-sel .hbtn, .hv.is-sel .htype, .hv.is-sel .hmesh, .hv.is-sel .himg, .hv.is-sel .hblk { outline: 1px solid #716cff; outline-offset: 4px; }
/* a component's settings show only while it is being worked, and only as the options */
.hpop { position: absolute; left: 0; top: calc(100% + 10px); background: #161618; border-radius: 12px; padding: 5px; opacity: 0; transform: translateY(-4px); pointer-events: none;
  transition: opacity .18s, transform .18s; box-shadow: 0 20px 40px -14px rgba(0,0,0,.95), inset 0 0 0 1px rgba(255,255,255,.08); white-space: nowrap; z-index: 3; }
.hv.is-on .hpop { opacity: 1; transform: none; }
.hpop--icons { left: 0; top: calc(100% + 10px); display: grid; grid-template-columns: repeat(4, 40px); gap: 2px; }
.hpop--icons b { display: grid; place-items: center; height: 40px; border-radius: 8px; color: #e6e6e9; } .hpop--icons b.is-hl { background: #2a2a2e; color: #fff; }
.hpop--chips { display: inline-flex; gap: 2px; }
.hpop--chips b { font-size: 11.5px; font-weight: 600; color: #8b8b90; padding: 7px 10px; border-radius: 8px; transition: background .2s, color .2s; } .hpop--chips b.on { background: #2a2a2e; color: #fff; }
.hblk { width: 250px; padding: 18px; border-radius: 12px; background: #c8c8cb; color: #111; display: flex; flex-direction: column; align-items: flex-start; box-shadow: 0 24px 48px -16px rgba(0,0,0,.95); outline: 1px solid transparent; }
.hblk > * { overflow: hidden; max-height: 80px; transition: max-height .35s ease, opacity .3s, margin .35s; }
.hblk__eb { font-size: 9.5px; font-weight: 700; letter-spacing: .12em; color: #444; margin-bottom: 8px; }
.hblk__h { font-size: 20px; line-height: 24px; font-weight: 600; margin-bottom: 8px; } .hblk__p { font-size: 13px; line-height: 18px; color: #333; margin-bottom: 14px; }
.hblk.no-eb .hblk__eb, .hblk.no-p .hblk__p, .hblk.no-btn .hbtn { max-height: 0; opacity: 0; margin: 0; }
.hpop--bools { left: auto; right: 0; top: calc(100% + 10px); display: grid; gap: 2px; min-width: 160px; }
.hbool { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 12px; color: #e6e6e9; padding: 7px 8px 7px 10px; border-radius: 8px; }
.hbool i { position: relative; width: 30px; height: 18px; border-radius: 999px; background: #3a3a40; transition: background .2s; }
.hbool i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: left .2s; }
.hbool.on i { background: #716cff; } .hbool.on i::after { left: 15px; }
.htype { font-size: 44px; line-height: 1; font-weight: 600; color: var(--ink, var(--eden-ink)); transition: font-weight .3s; outline: 1px solid transparent; }
.hlabel { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3, var(--eden-ink-3)); }
.hmesh { position: relative; width: 170px; height: 120px; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 40px -14px rgba(0,0,0,.95); outline: 1px solid transparent; }
.hpop--mesh { display: flex; align-items: center; gap: 12px; padding: 8px 10px; }
.hsl { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #8b8b90; } .hsl em { font-style: normal; }
.hsl__t { position: relative; width: 90px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, #f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00); }
.hsl__k { position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.6); }
.hsw { display: flex; gap: 5px; } .hsw b { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.hsw b[data-p="borealis"] { background: linear-gradient(135deg, #ff9a5b, #6c52ff, #20dba8); } .hsw b[data-p="ember"] { background: linear-gradient(135deg, #ffcf70, #ff6534, #351665); } .hsw b[data-p="electric"] { background: linear-gradient(135deg, #ff4fc8, #286cff, #f4ff77); }
.himg { position: relative; width: 170px; height: 120px; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px -14px rgba(0,0,0,.95);
  background: repeating-conic-gradient(#a9a9ae 0 25%, #c7c7ca 0 50%) 0 0 / 12px 12px; outline: 1px solid transparent; }
.hv--star { width: 110px; } .hv--star svg { width: 110px; height: 110px; overflow: visible; }
.hs__p { fill: transparent; stroke: #716cff; stroke-width: 1.4; transition: fill .6s; } .hs__p.is-shut { fill: url(#hs-g); }
.hs__v rect { fill: #fff; stroke: #716cff; stroke-width: 1; }
.htag { font-size: 9px; font-weight: 700; color: #fff; background: #716cff; padding: 2px 6px; border-radius: 3px; white-space: nowrap; }
.hv--card { width: 200px; height: 210px; display: block; }
.hc { position: absolute; left: 0; top: 0; width: 160px; height: 168px; border-radius: 12px; transition: background .35s, box-shadow .35s; }
.hc__img { position: absolute; left: 8px; top: 8px; width: 144px; height: 76px; border-radius: 7px; background: repeating-conic-gradient(#a9a9ae 0 25%, #c7c7ca 0 50%) 0 0 / 10px 10px; box-shadow: 0 16px 30px -12px rgba(0,0,0,.9); }
.hc__tag { position: absolute; left: -1px; top: -18px; opacity: 0; transition: opacity .3s; }
.hv--card.is-wrap .hc { background: #c8c8cb; outline: 1.5px solid #716cff; outline-offset: 2px; box-shadow: 0 24px 48px -16px rgba(0,0,0,.95); } .hv--card.is-wrap .hc__tag { opacity: 1; } .hv--card.is-wrap .hc__img { box-shadow: none; }
.ha { position: absolute; white-space: nowrap; z-index: 1; transition: left .4s cubic-bezier(.3,.7,.2,1), top .4s cubic-bezier(.3,.7,.2,1); }
.ha--new { font-size: 8px; font-weight: 800; letter-spacing: .06em; background: #111; color: #fff; padding: 2px 5px; }
.ha--name { font-size: 12px; color: #111; background: #c8c8cb; padding: 1px 4px; border-radius: 3px; } .ha--price { font-size: 12px; font-weight: 700; color: #111; background: #c8c8cb; padding: 1px 4px; border-radius: 3px; }
.ha--btn { width: 136px; height: 26px; display: grid; place-items: center; background: #111; color: #fff; font-size: 11px; font-weight: 600; border-radius: 4px; box-shadow: 0 10px 20px -8px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.2); }   /* seen on the dark page while loose */
.hv--card.is-wrap .ha--name, .hv--card.is-wrap .ha--price { background: none; }
@media (max-width: 1180px) { .s5, .s6 { display: none; } }
@media (max-width: 900px) { .hplay { display: none; } }
