/* ==========================================================================
   home-float.css — the one way back home, everywhere in the portfolio
   The inflatable house from the beach's floatie bar with its "Home" pill
   under it, so every page and the game return home the same way.
   Markup:
     <a class="jx-home" href="/"><img src="/img/floaties/home.webp" alt=""><span>Home</span></a>
   ========================================================================== */
.jx-home{display:inline-flex;flex-direction:column;align-items:center;gap:2px;text-decoration:none;color:#EAF6F4;-webkit-tap-highlight-color:transparent}
.jx-home img{display:block;width:46px;height:46px;object-fit:contain;filter:drop-shadow(0 6px 8px rgba(0,20,30,.35));transition:transform .25s cubic-bezier(.2,.9,.3,1.2)}
.jx-home span{font:600 13px/1.3 "Hanken Grotesk",system-ui,sans-serif;white-space:nowrap;color:#EAF6F4;background:rgba(3,34,46,.8);border:1px solid rgba(94,242,200,.28);border-radius:999px;padding:4px 12px}
.jx-home:hover img{transform:translateY(-3px) rotate(-3deg)}
.jx-home:hover span{border-color:rgba(94,242,200,.6)}
.jx-home:focus-visible{outline:none}
.jx-home:focus-visible span{outline:3px solid #5EF2C8;outline-offset:2px}
@media (prefers-reduced-motion:reduce){.jx-home img{transition:none}.jx-home:hover img{transform:none}}
html[data-jux-motion="calm"] .jx-home img{transition:none}
html[data-jux-motion="calm"] .jx-home:hover img{transform:none}
html[data-jux-contrast="high"] .jx-home span{background:#000;color:#fff;border:2px solid #fff}
