/* Phone header: rotating "Open to work" badge that links home. Shown below 1024px only. */
.m-head { display: none; }
@media (max-width: 1023px) {
	.m-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; position: sticky; top: 0; z-index: 55; background: rgba(255,255,255,0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
	.dark .m-head { background: rgba(9,9,11,0.9); }
	.m-head .nav-back-btn { margin: 0; }
	.m-hide { display: none !important; }
}
.m-badge { position: relative; display: block; width: 72px; height: 72px; flex: none; color: #000; }
.dark .m-badge { color: #fff; }
.m-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: mBadgeSpin 15s linear infinite; }
.m-badge img { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; object-fit: cover; background: #f3f4f6; }
@keyframes mBadgeSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .m-badge svg { animation: none; } }
@media (min-width: 1024px) { .m-only { display: none !important; } }
