/* Neon-sign logo panel. Shared by header/footer on home, /menu/, and /draft2/.
   Base (black + white wordmark) stays steady; only the pink-red tube layer flickers. */
.nk-neon {
	display: inline-block;
	box-sizing: border-box;
	padding: 4px 6px;
	background-color: #000000;
	border-radius: 0;
	box-shadow: none;
	line-height: 0;
	vertical-align: middle;
}
.nk-neon__stack {
	position: relative;
	display: block;
	line-height: 0;
	background-color: #000000;
	border-radius: 0;
}
.nk-neon img,
.nk-neon__base,
.nk-neon__tube {
	display: block;
	width: auto;
	max-width: none;
	height: 56px;
	padding: 0;
	border-radius: 0;
}
.nk-neon__base {
	background-color: #000000;
}
.nk-neon__tube {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: fill;
	pointer-events: none;
	background-color: transparent;
	animation: nk-neon-flicker 5.4s linear infinite;
}
.nk-logo {
	line-height: 0;
}
.nk-logo .nk-neon {
	height: 64px;
}
.nk-logo .nk-neon img,
.nk-logo .nk-neon__base {
	height: 56px;
}

/* Footer: slightly larger panel, no white card behind the black sign. */
footer.foot .brand .nk-neon,
.nk-foot .nk-neon {
	height: 90px;
	padding: 5px 7px;
	margin: 0 0 14px;
}
footer.foot .brand .nk-neon img,
footer.foot .brand .nk-neon__base,
.nk-foot .nk-neon img,
.nk-foot .nk-neon__base {
	height: 80px;
	width: auto;
	margin: 0;
}
footer.foot .brand img {
	background: none;
	padding: 0;
	border-radius: 0;
}

@media (max-width: 980px) {
	.nk-logo .nk-neon {
		height: 48px;
		padding: 3px 4px;
	}
	.nk-logo .nk-neon img,
	.nk-logo .nk-neon__base {
		height: 42px;
	}
}
@media (max-width: 1000px) {
	footer.foot .brand .nk-neon {
		height: 80px;
		padding: 4px 6px;
		margin-bottom: 0;
	}
	footer.foot .brand .nk-neon img,
	footer.foot .brand .nk-neon__base {
		height: 72px;
	}
}

/* Occasional tube blinks — mostly a steady glow. Dim frames keep a faint 'off' tube, never vanish. */
@keyframes nk-neon-flicker {
	0%, 8% {
		opacity: 1;
		filter: brightness(1) drop-shadow(0 0 5px rgba(220, 30, 40, .55));
	}
	8.4% {
		opacity: .28;
		filter: brightness(.7) drop-shadow(0 0 1px rgba(220, 30, 40, .18));
	}
	8.8%, 12.2% {
		opacity: 1;
		filter: brightness(1) drop-shadow(0 0 5px rgba(220, 30, 40, .55));
	}
	12.5% {
		opacity: .22;
		filter: brightness(.6) drop-shadow(0 0 1px rgba(220, 30, 40, .1));
	}
	12.9%, 16% {
		opacity: 1;
		filter: brightness(1.06) drop-shadow(0 0 8px rgba(220, 30, 40, .7));
	}
	16.4% {
		opacity: .72;
		filter: brightness(.82) drop-shadow(0 0 3px rgba(220, 30, 40, .3));
	}
	16.9%, 68% {
		opacity: 1;
		filter: brightness(1) drop-shadow(0 0 5px rgba(220, 30, 40, .55));
	}
	68.4% {
		opacity: .25;
		filter: brightness(.65) drop-shadow(0 0 1px rgba(220, 30, 40, .12));
	}
	68.9%, 100% {
		opacity: 1;
		filter: brightness(1) drop-shadow(0 0 5px rgba(220, 30, 40, .55));
	}
}

@media (prefers-reduced-motion: reduce) {
	.nk-neon__tube {
		animation: none;
		opacity: 1;
		filter: drop-shadow(0 0 5px rgba(220, 30, 40, .45));
	}
}
