/* Back-to-top floating button — top left, appears on scroll */
.back-to-top {
  position: fixed;
  top: 5.5rem;
  left: 1.5rem;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--cream-soft);
  border: none;
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, box-shadow 0.2s ease;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(176, 130, 44, 0.35);
  white-space: nowrap;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: linear-gradient(135deg, var(--gold-deep) 0%, #8a6420 100%);
  box-shadow: 0 12px 32px rgba(176, 130, 44, 0.5);
}
.back-to-top svg {
  width: 14px;
  height: 14px;
  stroke: #faf3e4;
  stroke-width: 2.5;
  fill: none;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .back-to-top {
    top: 4.5rem;
    left: 1rem;
    padding: 0.5rem 1.1rem;
    font-size: 0.76rem;
  }
  .back-to-top svg {
    width: 12px;
    height: 12px;
  }
}
