/* The static SVG bar remains available until the motion enhancement is ready. */
header.et-l--header.ptt-brand-accent-enhanced::after,
body:not(:has(header.et-l--header)) #main-header.ptt-brand-accent-enhanced::after,
body.ptt-brand-accent-enhanced:not(:has(header.et-l--header, #main-header))::before {
	display: none;
}

.ptt-brand-accent-bar {
	display: block;
	position: relative;
	width: 100%;
	height: 4px;
	background: url("../brand-accent-bar.svg") center / 100% 100% no-repeat;
	pointer-events: none;
}

.ptt-brand-accent-lane {
	position: absolute;
	inset: -30px 0;
	overflow: hidden;
}

.ptt-brand-accent-runner {
	position: absolute;
	inset: 0;
	opacity: 0;
	animation: ptt-brand-accent-travel 1.5s linear 1 both;
}

.ptt-brand-accent-light {
	position: absolute;
	left: 0;
	top: 50%;
	width: 7px;
	height: 5px;
	margin: -2.5px -3.5px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 4px 2px #fff, 0 0 12px 4px #ccefff, 0 0 26px 9px #9dd7ff77;
}

.ptt-brand-accent-light::before,
.ptt-brand-accent-light::after {
	content: "";
	position: absolute;
	right: 0;
}

.ptt-brand-accent-light::before {
	right: 2px;
	top: 0;
	width: 108px;
	height: 5px;
	background: linear-gradient(90deg, transparent, #d8f4ff15 25%, #dbf5ff99 78%, #fff);
	border-radius: 100% 0 0 100%;
}

.ptt-brand-accent-light::after {
	top: -5px;
	width: 80px;
	height: 15px;
	background: linear-gradient(90deg, transparent, #d4eeff66);
	filter: blur(5px);
}

@keyframes ptt-brand-accent-travel {
	0% { transform: translateX(-12%); opacity: 0; }
	9% { opacity: 1; }
	88% { opacity: 1; }
	100% { transform: translateX(112%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.ptt-brand-accent-runner { animation: none; }
}
