/* ============================================================
   Back-to-top button — gold ring in the hero-cue style, fixed
   bottom-right, fades in after a screen of scrolling (totop.js)
   ============================================================ */
.k-totop {
  position: fixed;
  right: clamp(16px, 2.4vw, 32px);
  bottom: clamp(16px, 2.4vw, 32px);
  z-index: 200; /* under the modals (300), over everything else */
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--c-gold-lt);
  color: var(--c-gold-lt);
  background: rgba(32, 23, 19, .55);
  backdrop-filter: blur(3px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease),
    visibility var(--dur-fast), background var(--dur-fast) var(--ease);
}
.k-totop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.k-totop:hover {
  background: rgba(197, 154, 108, .3);
  color: var(--c-cream-lt);
}
.k-totop svg { display: block; }

@media (prefers-reduced-motion: reduce) {
  .k-totop { transition: none; }
}
