.datajoint-where-acceleration {
	position: relative;
	background: var(--wp--preset--color--bg-light-grey, #f4f7fa);
	color: var(--wp--preset--color--text-on-light, #011627);
	/* Reference nests two paddings: <section> 32px + inner .wa-pad 0/44px.
	   Combined here: 32px below 1024px, 76px (32+44) at >=1024px. */
	padding-block: 32px;
	scroll-margin-top: 72px;
	overflow: hidden;
}

@media (min-width: 1024px) {
	.datajoint-where-acceleration {
		padding-block: 76px;
	}
}

/* Subtle background grid (dark lines on the light surface). */
.datajoint-where-acceleration__grid {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(to right, rgba(1, 22, 39, 0.03) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(1, 22, 39, 0.03) 1px, transparent 1px);
	background-size: 80px 80px;
}

.datajoint-where-acceleration__inner {
	position: relative;
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 var(--dj-gutter, 48px);
}

.datajoint-where-acceleration__eyebrow {
	margin: 0 0 1.5rem;
	text-align: center;
	font-family: var(--wp--preset--font-family--sans, "Roboto", sans-serif);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brand-blue, #00a0df);
}

/* Statement block carries the decorative accent line + dot on its left edge. */
.datajoint-where-acceleration__statement {
	position: relative;
}

.datajoint-where-acceleration__lines {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.datajoint-where-acceleration__line {
	margin: 0;
}

.datajoint-where-acceleration__line--strong {
	font-family: var(--wp--preset--font-family--sans, "Roboto", sans-serif);
	font-weight: 700;
	font-size: 20px;
	line-height: 1.3;
	color: var(--wp--preset--color--text-on-light, #011627);
}

.datajoint-where-acceleration__line--accent {
	font-family: var(--wp--preset--font-family--serif, "Roboto Slab", serif);
	font-weight: 300;
	font-style: italic;
	font-size: 17px;
	line-height: 1.45;
	color: var(--wp--preset--color--brand-blue, #00a0df);
}

@media (min-width: 1024px) {
	.datajoint-where-acceleration__line--strong { font-size: 28px; }
	.datajoint-where-acceleration__line--accent { font-size: 22px; }
}

/* Decorative vertical accent line (desktop) at the left of the statement. */
.datajoint-where-acceleration__line-accent {
	position: absolute;
	left: -32px;
	top: 0;
	width: 4px;
	height: 100%;
	background: var(--wp--preset--color--brand-blue, #00a0df);
}

/* Glowing dot that travels down the accent line. */
.datajoint-where-acceleration__dot {
	position: absolute;
	left: -34px;
	top: 0;
	width: 8px;
	height: 8px;
	border-radius: 9999px;
	background: var(--wp--preset--color--brand-blue, #00a0df);
	box-shadow: 0 0 12px rgba(0, 160, 223, 0.9), 0 0 24px rgba(0, 160, 223, 0.5);
	pointer-events: none;
	opacity: 0;
}

@keyframes dj-wa-dot-travel {
	0%   { top: 0%; }
	50%  { top: calc(100% - 8px); }
	100% { top: 0%; }
}

/* On narrow screens the vertical line becomes a short horizontal bar and the
   traveling dot is dropped. */
@media (max-width: 767px) {
	.datajoint-where-acceleration__eyebrow {
		text-align: left;
	}
	.datajoint-where-acceleration__line-accent {
		position: relative;
		left: 0;
		top: 0;
		width: 60px;
		height: 4px;
		margin-bottom: 24px;
	}
	.datajoint-where-acceleration__dot {
		display: none;
	}
}

/*
 * Progressive enhancement: only when the view script flags JS support do we
 * hide the lines / collapse the accent line for the scroll reveal. Without JS
 * (or before hydration) everything is fully visible.
 */
.datajoint-where-acceleration.is-js .datajoint-where-acceleration__line {
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 300ms ease-out, transform 300ms ease-out;
	transition-delay: var(--dj-wa-delay, 0ms);
}

.datajoint-where-acceleration.is-js .datajoint-where-acceleration__line-accent {
	height: 0;
	transition: height 400ms ease-out;
}

@media (max-width: 767px) {
	.datajoint-where-acceleration.is-js .datajoint-where-acceleration__line-accent {
		width: 0;
		height: 4px;
		transition: width 400ms ease-out;
	}
}

/* Revealed state (added by the IntersectionObserver). */
.datajoint-where-acceleration.is-visible .datajoint-where-acceleration__line {
	opacity: 1;
	transform: none;
}

.datajoint-where-acceleration.is-visible .datajoint-where-acceleration__line-accent {
	height: 100%;
}

@media (max-width: 767px) {
	.datajoint-where-acceleration.is-visible .datajoint-where-acceleration__line-accent {
		width: 60px;
		height: 4px;
	}
}

.datajoint-where-acceleration.is-visible .datajoint-where-acceleration__dot {
	opacity: 1;
	animation: dj-wa-dot-travel 10s ease-in-out 600ms infinite;
}

@media (prefers-reduced-motion: reduce) {
	.datajoint-where-acceleration.is-js .datajoint-where-acceleration__line {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.datajoint-where-acceleration__dot {
		display: none;
	}
}
