/* KOCCHUB brand mark — KOCC gold + HUB white + Open Gate crown */
.kocchub-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  text-decoration: none;
  line-height: 1;
  font-family: Cinzel, "Cinzel Decorative", Georgia, serif;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.kocchub-mark img,
.kocchub-mark .kocchub-crown {
  display: block;
  width: 1.35em;
  height: 1.35em;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}
.kocchub-mark .kocchub-word {
  display: inline-flex;
  align-items: baseline;
}
.kocchub-mark .kocc {
  color: #FFD700;
  text-shadow:
    0 1px 0 #fff4b0,
    0 2px 0 #d4af37,
    0 0 12px rgba(255, 215, 0, 0.35);
}
.kocchub-mark .hub {
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

/* Open Gate hero crown — larger + dancing cursor-style motion */
.kocchub-crown-hero {
  width: 200px;
  max-width: 52vw;
  height: auto;
  margin: 8px auto 6px;
  display: block;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.28));
  transform-origin: 50% 72%;
  animation: kocchub-crown-dance 1.8s ease-in-out infinite;
  will-change: transform;
}
@keyframes kocchub-crown-dance {
  0% { transform: translate(0, 0) rotate(-6deg) scale(1); }
  15% { transform: translate(8px, -16px) rotate(7deg) scale(1.07); }
  30% { transform: translate(-10px, -6px) rotate(-8deg) scale(1.03); }
  45% { transform: translate(6px, -20px) rotate(5deg) scale(1.08); }
  60% { transform: translate(-8px, -4px) rotate(-5deg) scale(1.02); }
  75% { transform: translate(10px, -14px) rotate(8deg) scale(1.06); }
  100% { transform: translate(0, 0) rotate(-6deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .kocchub-crown-hero { animation: none; }
}


/* Crown must never sit on a black rectangle */
img.kocchub-crown,
img.kocchub-crown-hero,
img.hero.kocchub-crown-hero,
.kocchub-mark img,
.logo img.kocchub-crown,
.crown img {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}
