/* Back-to-top button (injected by /assets/nav.js).
   Colours: header charcoal #161616 (.site-header) + gold accent #f2c230 (--gold, outline buttons / focus). */
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60; /* above sticky header (50) */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 2px solid #f2c230;
  border-radius: 50%;
  background: #161616;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .45);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s, background-color .2s ease, color .2s ease;
}
.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear 0s, background-color .2s ease, color .2s ease;
}
.scroll-top svg { display: block; width: 24px; height: 24px; pointer-events: none; }
.scroll-top:hover,
.scroll-top:focus-visible {
  background: #f2c230;
  color: #161616;
}
.scroll-top:focus-visible {
  outline: 3px solid #f2c230;
  outline-offset: 3px;
}
@media (max-width: 767px) {
  .scroll-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-top, .scroll-top.is-visible { transition: none; transform: none; }
}
@media print {
  .scroll-top { display: none; }
}
