/* Logo seal effect: rotating rings, light sheen, pointer tilt. */
.badge{left:clamp(-104px,-7vw,-40px);top:clamp(-70px,-4.6vw,-30px);width:clamp(176px,15vw,214px);perspective:700px}
.badge svg.badge-text{animation:spin 40s linear infinite}
.badge .badge-orbit{position:absolute;inset:-7%;width:114%;height:114%;overflow:visible;animation:spin 26s linear infinite reverse}
.badge .badge-orbit circle.track{fill:none;stroke:var(--gold-line,#c9a96a);stroke-width:1;stroke-dasharray:2 7;opacity:.85}
.badge .badge-orbit circle.dot{fill:#b08a3c}
.badge .badge-logo{position:absolute;inset:17%;border-radius:50%;transform-style:preserve-3d;
  transition:transform .5s cubic-bezier(.2,.8,.2,1);will-change:transform}
.badge .badge-logo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;
  filter:drop-shadow(var(--sx,0px) var(--sy,8px) 14px rgba(43,38,34,.26)) drop-shadow(0 1px 1px rgba(43,38,34,.18))}
/* a band of light that passes across the badge every few seconds, kept inside the circle */
.badge .badge-sheen{position:absolute;inset:3%;border-radius:50%;overflow:hidden;pointer-events:none;mix-blend-mode:soft-light}
.badge .badge-sheen::before{content:"";position:absolute;top:-20%;bottom:-20%;left:0;width:38%;
  background:linear-gradient(100deg,transparent 0%,rgba(255,250,235,.0) 20%,rgba(255,250,235,.95) 50%,rgba(255,250,235,0) 80%,transparent 100%);
  transform:translateX(-140%) rotate(12deg);animation:sl2Sheen 5.5s cubic-bezier(.45,.05,.25,1) 1.2s infinite}
@keyframes sl2Sheen{0%{transform:translateX(-140%) rotate(12deg)}38%{transform:translateX(330%) rotate(12deg)}100%{transform:translateX(330%) rotate(12deg)}}
.top .logo img{filter:drop-shadow(0 4px 10px rgba(43,38,34,.14))}

@media (max-width:860px){.badge{left:24px;top:-58px;width:132px}}
/* phones: keep the slow turn (it is only a rotate, cheap to draw) so the seal still feels alive */
@media (max-width:700px){.badge svg.badge-text{animation:spin 40s linear infinite}}
@media (prefers-reduced-motion:reduce){
  .badge svg.badge-text,.badge .badge-orbit,.badge .badge-sheen::before{animation:none!important}
  .badge .badge-sheen{display:none}.badge .badge-logo{transition:none}
}
