/* Brooklane Cafe — animated Black B logo */

.logo--animated {
  position: relative;
}

.logo-mark-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
  transition: transform 0.35s var(--ease-out);
}

.logo--animated:hover .logo-mark-wrap {
  transform: scale(1.06);
}

.logo-mark-wrap--footer {
  width: 72px;
  height: 72px;
}

.logo-mark-ring {
  display: none;
}

.logo-mark-wrap--footer .logo-mark-ring {
  display: none;
}

.logo-img--mark {
  display: block;
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  /* no float/glow — avoids leftover pixels under the mark */
}

.logo-img--footer-mark {
  display: block;
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  animation: logo-mark-float 6s ease-in-out infinite, logo-mark-glow 4s ease-in-out infinite;
}

/* Nav: Black B mark everywhere; wordmark never shown in header */
.logo-img--wordmark {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  visibility: hidden !important;
}

.logo-mark-wrap--hero {
  width: 88px;
  height: 88px;
}

.logo-img--hero {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  animation: logo-mark-float 5s ease-in-out infinite, logo-mark-glow 3.5s ease-in-out infinite;
}

body.home .header.scrolled .logo-mark-wrap {
  opacity: 1;
  visibility: visible;
  width: 44px;
  pointer-events: auto;
}

@keyframes logo-ring-spin {
  to { transform: rotate(360deg); }
}

@keyframes logo-ring-fade {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.9; }
}

@keyframes logo-mark-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes logo-mark-glow {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(212, 168, 83, 0.15));
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(212, 168, 83, 0.45));
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-mark-ring,
  .logo-img--mark,
  .logo-img--hero,
  .logo-img--footer-mark {
    animation: none !important;
  }

  .logo-mark-ring {
    opacity: 0.5;
  }
}

@media (max-width: 768px) {
  .logo-mark-wrap--hero,
  .logo-img--hero {
    width: 72px;
    height: 72px;
  }
}
