/* Demo sites only: a fixed "back to Fiumara Designs" pill, top-left, that
   slides in once the visitor has scrolled past the demo's own header
   (demo-back.js adds html.demo-back-on). Fully visible with no JS. */
.demo-back {
  position: fixed; top: 14px; left: 14px; z-index: 90;
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px; padding: .55rem .95rem .55rem .8rem;
  border-radius: 999px; background: #12141a; color: #f5f4f0;
  font: 600 .9rem/1 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: .01em;
  text-decoration: none; box-shadow: 0 8px 24px -10px rgba(0,0,0,.5);
  transition: transform 320ms cubic-bezier(.16,1,.3,1), opacity 240ms ease;
}
.demo-back svg { width: 16px; height: 16px; flex: none; }
.demo-back:hover { background: #2b5bff; }
.demo-back:focus-visible { outline: 3px solid #6690ff; outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  html.demo-back-js .demo-back { transform: translateY(-140%); opacity: 0; }
  html.demo-back-js.demo-back-on .demo-back { transform: none; opacity: 1; }
}
@media (max-width: 600px) {
  .demo-back { top: auto; bottom: 14px; left: 14px; }
  .demo-back span { display: none; }
  .demo-back { padding: .55rem .8rem; }
}
