.footer.showcases-footer {
  padding-block: var(--sp-xl);
  border-top: var(--border-medium) solid rgb(255 255 255 / 8%);
  background: var(--ink-soft);
  color: var(--paper);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-lg);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wide);
  text-decoration: none;
  text-transform: uppercase;
}

.footer-logo {
  width: auto;
  height: clamp(2.6rem, 4vw, 3.6rem);
  opacity: 0.85;
}

.footer-tagline {
  margin: 0;
  color: rgb(245 239 227 / 45%);
  font-size: var(--text-sm);
}

.footer-nav {
  display: flex;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu a {
  color: rgb(245 239 227 / 70%);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
}

.footer-menu a:hover,
.footer-menu a:focus {
  color: var(--rose-mid);
}

.footer-copy {
  margin: 0;
  color: rgb(245 239 227 / 25%);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
}


/* ============================================
Back to Top Button 
============================================ */
.back-to-top {
  position: fixed;
  bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  right: 12px;
  width: 40px;
  height: 40px;
  background-color: var(--rose);
  border: 2px solid var(--rose);
  color: var(--color-white);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1150; /* above contact FAB (1100), below modal (>=1200) */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--color-mauve);
  border: 2px solid var(--color-mauve);
  color: var(--color-white);
  transform: translateY(-3px);
}

.back-to-top .arrow-up {
  font-size: var(--font-size-xl);
  line-height: 1;
}

@media (max-width: 760px) {
  .footer-logo {
    height: clamp(2.4rem, 11vw, 3.2rem);
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
