/* Transparent artwork; rotation stays inside its header slot. */
.site-header .header-inner{height:82px}
.brand-home{display:flex;align-items:center;justify-content:center;flex:none;position:relative;width:112px;height:74px;perspective:650px;border-radius:8px;-webkit-tap-highlight-color:transparent}
.brand-emblem{display:block;position:relative;width:108px;height:70px;transform-origin:center;transform:rotateY(0);transition:filter .2s;filter:drop-shadow(0 1px 1px #0006)}
.brand-art{display:block;width:100%;height:100%}
.brand-art img{display:block;width:100%;height:100%;object-fit:contain}
.brand-home:hover .brand-emblem,.brand-home:focus-visible .brand-emblem{filter:brightness(1.08) drop-shadow(0 0 4px #65d9f22b)}
.brand-home:focus-visible{outline:2px solid #5ee8e2;outline-offset:3px}
.brand-home::after{content:"Back to home";position:absolute;top:calc(100% + 6px);left:0;white-space:nowrap;padding:7px 11px;border:1px solid #ffffff20;border-radius:8px;background:#11192b;color:#edf7ff;font-size:11px;line-height:1.3;letter-spacing:.3px;opacity:0;transition:opacity .2s;pointer-events:none}
.brand-home:hover::after,.brand-home:focus-visible::after{opacity:1}
.brand-home.is-spinning::after{opacity:0}
.brand-home.is-spinning .brand-emblem{animation:brand-turn-in-place 1s cubic-bezier(.4,0,.2,1) both;will-change:transform}
@keyframes brand-turn-in-place{from{transform:rotateY(0deg)}to{transform:rotateY(360deg)}}
@media(max-width:550px){.site-header .header-inner{height:72px}.brand-home{width:94px;height:64px}.brand-emblem{width:90px;height:60px}.brand-home::after{display:none}}
.motion-off .brand-emblem{animation:none!important;transition:none!important}
@media(prefers-reduced-motion:reduce){.brand-emblem{animation:none!important;transition:none!important}}

footer .brand img{width:72px;height:52px;object-fit:contain;border-radius:0}
