/*------------------------------------------------------------------
[ AB Home v2 — Scalstrm at a Glance ]
Figma: 1025:6182 (components / assets) · approved export (layout, colours)
Desktop canvas 1200 × 1204 (coordinates from the design).
Below 1240px the blocks stack and the connectors are hidden.
*/

.ab-hv2-gl {
	padding: 89px 0 181px;
	background: transparent;
}

.ab-hv2-gl__canvas {
	position: relative;
	width: 1200px;
	height: 1204px;
	margin-left: 13px; /* the design diagram sits 13px right of the 1200 grid */
}

/* ── Shared blocks ───────────────────────────────── */
.ab-hv2-gl__block {
	position: absolute;
	z-index: 1;
}

.ab-hv2-gl__card,
.ab-hv2-gl__ssai {
	overflow: hidden;
	border: 1px solid rgba(101, 59, 243, 0.6);
	border-radius: 26px;
	background: #28252e;
	box-shadow: 0 0 22px rgba(101, 59, 243, 0.28), 0 8px 32px rgba(101, 59, 243, 0.12);
}

.ab-hv2-gl__card {
	padding: 28px;
}

/* Optional full-card link (overlay above the card content) */
.ab-hv2-gl__card.is-link {
	cursor: pointer;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ab-hv2-section .ab-hv2-gl__card-link {
	position: absolute;
	inset: 0;
	z-index: 5;
	border-radius: inherit;
	text-decoration: none;
	background: transparent;
}

.ab-hv2-section .ab-hv2-gl__card-link:focus-visible {
	outline: 2px solid #8c6bff;
	outline-offset: -4px;
}

.ab-hv2-gl__card.is-link:hover,
.ab-hv2-gl__card.is-link:focus-within {
	border-color: rgba(140, 107, 255, 0.95);
	box-shadow: 0 0 34px rgba(101, 59, 243, 0.5), 0 10px 40px rgba(101, 59, 243, 0.22);
}

.ab-hv2-section .ab-hv2-gl__label {
	display: block;
	position: relative;
	z-index: 2;
	font-family: var(--hv2-font-ui);
	font-weight: 600;
	font-size: 15px;
	line-height: 1.3;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: #6ed186;
}

.ab-hv2-section .ab-hv2-gl__label--muted { color: #9e9ea8; }

.ab-hv2-section .ab-hv2-gl__title {
	position: relative;
	z-index: 2;
	margin-top: 12px;
	font-family: var(--hv2-font-heading);
	font-weight: 500;
	font-size: 26px;
	line-height: 1.15;
	color: #f4f4f5;
}

.ab-hv2-section .ab-hv2-gl__title--sm { margin-top: 4px; font-size: 20px; line-height: 1.25; }
.ab-hv2-section .ab-hv2-gl__title--plain { margin-top: 3px; }

.ab-hv2-gl__hl { color: #653bf3; }

.ab-hv2-section .ab-hv2-gl__text {
	position: relative;
	z-index: 2;
	margin-top: 12px;
	font-family: var(--hv2-font-ui);
	font-weight: 400;
	font-size: 14.5px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.62);
}

.ab-hv2-section .ab-hv2-gl__text--lg { font-size: 15.37px; }

/* Chips */
.ab-hv2-section .ab-hv2-gl__chips {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.ab-hv2-gl__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 32px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.04);
	font-family: var(--hv2-font-ui);
	font-weight: 500;
	font-size: 12.5px;
	line-height: 1;
	color: rgba(255, 255, 255, 0.88);
	white-space: nowrap;
}

.ab-hv2-gl__chip.has-dot::before {
	content: '';
	flex: none;
	width: 14px;
	height: 14px;
	margin: 0 -4px;
	background: url('../img/chip-dot.svg') center / 14px 14px no-repeat;
}

.ab-hv2-gl__chips--lg .ab-hv2-gl__chip {
	height: 37px;
	padding: 0 14px;
	font-size: 14px;
}

/* Icon tile (glass, 92 × 92) */
.ab-hv2-gl__tile {
	position: absolute;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 92px;
	height: 92px;
	border: 1.3px solid rgba(163, 125, 255, 0.55);
	border-radius: 19.6px;
	background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0%, rgba(59, 20, 157, 0) 30%, rgba(163, 125, 255, 0.13) 100%), linear-gradient(90deg, rgba(94, 80, 135, 0.26), rgba(94, 80, 135, 0.26));
	background-color: #3a2f63;
	box-shadow: inset 0 -4px 13.4px rgba(163, 125, 255, 0.6), inset 0 2.7px 12px rgba(255, 255, 255, 0.3), 0 9.4px 12px rgba(163, 125, 255, 0.26);
}

.ab-hv2-section .ab-hv2-gl__tile-glyph {
	display: block;
	max-width: none;
	object-fit: contain;
}

.ab-hv2-section .ab-hv2-gl__tile-edge {
	position: absolute;
	top: 50%;
	width: 22px;
	height: 22px;
	max-width: none;
	margin-top: -11px;
}

.ab-hv2-section .ab-hv2-gl__tile-edge--l { left: -12px; }
.ab-hv2-section .ab-hv2-gl__tile-edge--r { right: -12px; }

/* Art layers */
.ab-hv2-gl__art {
	position: absolute;
	pointer-events: none;
}

.ab-hv2-section .ab-hv2-gl__art img {
	position: absolute;
	max-width: none;
	height: auto;
}

.ab-hv2-gl__horizon {
	position: absolute;
	height: 1px;
	background: linear-gradient(90deg, rgba(183, 148, 255, 0) 0%, rgba(183, 148, 255, 0.9) 50%, rgba(183, 148, 255, 0) 100%);
}

/* ── SSAI bridge ─────────────────────────────────── */
.ab-hv2-gl__ssai {
	left: 397px;
	top: 0;
	width: 803px;
	height: 76px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 0 28px;
	border-radius: 22px;
}

.ab-hv2-section .ab-hv2-gl__ssai .ab-hv2-gl__chips { margin-top: 0; flex-wrap: nowrap; }

/* ── Orbit clusters (Inputs / Devices) ───────────── */
.ab-hv2-gl__stage {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.ab-hv2-gl__orbit {
	position: relative;
	display: block;
	width: 210px;
	height: 180px;
	flex: none;
}

.ab-hv2-gl__orbit::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	width: 170px;
	height: 170px;
	margin: -85px 0 0 -85px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 55%, rgba(255, 255, 255, 0) 72%);
}

.ab-hv2-gl__orbit-main,
.ab-hv2-gl__orbit-sat {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.09);
}

.ab-hv2-gl__orbit-main {
	left: 50%;
	top: 50%;
	width: 104px;
	height: 104px;
	margin: -52px 0 0 -52px;
	background: radial-gradient(circle at 50% 35%, #2c2c2e 0%, #212121 70%);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
	color: rgba(255, 255, 255, 0.45);
}

.ab-hv2-gl__orbit-main svg { width: 30px; height: 30px; }

.ab-hv2-gl__orbit-sat {
	width: 44px;
	height: 44px;
	margin: -22px 0 0 -22px;
	background: #282828;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
	color: rgba(255, 255, 255, 0.7);
}

.ab-hv2-gl__orbit-sat svg { width: 20px; height: 20px; }
.ab-hv2-gl__orbit-sat--tr { left: calc(50% + 54px); top: calc(50% - 40px); }
.ab-hv2-gl__orbit-sat--bl { left: calc(50% - 55px); top: calc(50% + 34px); }
.ab-hv2-gl__orbit-sat--bl svg { width: 14px; height: 14px; }

/* Inputs */
.ab-hv2-gl__src { left: 0; top: 120px; width: 380px; height: 511px; }
.ab-hv2-gl__src .ab-hv2-gl__orbit { margin-top: 49px; }
.ab-hv2-section .ab-hv2-gl__src .ab-hv2-gl__label { margin-top: 14px; }
.ab-hv2-section .ab-hv2-gl__src .ab-hv2-gl__text { max-width: 290px; margin-top: 14px; }
.ab-hv2-section .ab-hv2-gl__src .ab-hv2-gl__chips,
.ab-hv2-section .ab-hv2-gl__dev .ab-hv2-gl__chips { justify-content: center; margin-top: 8px; }

.ab-hv2-gl__src .ab-hv2-gl__chip,
.ab-hv2-gl__dev .ab-hv2-gl__chip {
	height: 33px;
	padding: 0 14px 0 12px;
	font-size: 13px;
}

/* Devices */
.ab-hv2-gl__dev { left: 823px; top: 691px; width: 384px; height: 512px; }
.ab-hv2-gl__dev .ab-hv2-gl__orbit { margin-top: 73px; }
.ab-hv2-section .ab-hv2-gl__dev .ab-hv2-gl__label { margin-top: 0; }
.ab-hv2-section .ab-hv2-gl__dev .ab-hv2-gl__text { max-width: 340px; margin-top: 10px; }

/* ── Transcoder ──────────────────────────────────── */
.ab-hv2-gl__tr { left: 397px; top: 120px; width: 380px; height: 511px; }
.ab-hv2-section .ab-hv2-gl__tr .ab-hv2-gl__text { max-width: 309px; }

.ab-hv2-gl__art--tr { left: 29px; top: 272px; width: 536px; height: 210px; }
.ab-hv2-section .ab-hv2-gl__art--tr .ab-hv2-gl__art-glow { left: 52.4px; top: 122px; width: 431.2px; }
.ab-hv2-gl__art--tr .ab-hv2-gl__horizon { left: 42.88px; top: 209px; width: 450px; }
.ab-hv2-gl__art--tr .ab-hv2-gl__art-lines { position: absolute; left: 28px; top: 0; width: 480px; height: 210px; overflow: hidden; }
.ab-hv2-section .ab-hv2-gl__art--tr .tr-v1 { left: 150px; top: 45.4px; width: 180px; }
.ab-hv2-section .ab-hv2-gl__art--tr .tr-v2 { left: 150px; top: 109.4px; width: 180px; }
.ab-hv2-section .ab-hv2-gl__art--tr .tr-v3 { left: 150px; top: 109.4px; width: 180px; }
.ab-hv2-section .ab-hv2-gl__art--tr .tr-d1 { left: 155px; top: 107px; width: 6px; }
.ab-hv2-section .ab-hv2-gl__art--tr .tr-d2 { left: 259px; top: 55px;  width: 6px; }
.ab-hv2-section .ab-hv2-gl__art--tr .tr-d3 { left: 207px; top: 107px; width: 6px; }
.ab-hv2-section .ab-hv2-gl__art--tr .tr-d4 { left: 229px; top: 143px; width: 6px; }
.ab-hv2-gl__art--tr .ab-hv2-gl__tile { left: 78px; top: 59px; }

/* curve from the inputs arrow, through the card, into the tile */
.ab-hv2-section .ab-hv2-gl__tr-curve {
	position: absolute;
	left: 9.5px;
	top: 149px;
	width: 368px;
	max-width: none;
	height: auto;
	z-index: 0;
	pointer-events: none;
}

/* ── Origin ──────────────────────────────────────── */
.ab-hv2-gl__or { left: 793px; top: 120px; width: 407px; height: 511px; padding-top: 284px; padding-left: 26px; }
.ab-hv2-gl__art--or { left: 0; top: 0; width: 100%; height: 256px; }
.ab-hv2-section .ab-hv2-gl__art--or .ab-hv2-gl__art-glow { left: 55px; top: 142px; width: 289px; }
.ab-hv2-gl__art--or .ab-hv2-gl__horizon { left: 31px; top: 220px; width: 343px; }
.ab-hv2-gl__art--or .ab-hv2-gl__tile { left: 156px; top: 93px; }

/* ── Shield ──────────────────────────────────────── */
.ab-hv2-gl__sh { left: -3px; top: 691px; width: 433px; height: 511px; padding-top: 224px; padding-left: 26px; }
.ab-hv2-gl__art--sh { left: 0; top: 0; width: 100%; height: 200px; }
.ab-hv2-section .ab-hv2-gl__art--sh .ab-hv2-gl__art-glow { left: 47px; top: 128px; width: 340px; }
.ab-hv2-gl__art--sh .ab-hv2-gl__horizon { left: 38px; top: 168px; width: 395px; height: 2px; }
.ab-hv2-gl__art--sh .ab-hv2-gl__tile { left: 174px; top: 38px; }
.ab-hv2-section .ab-hv2-gl__sh .ab-hv2-gl__text { max-width: 330px; margin-top: 18px; line-height: 1.62; }
.ab-hv2-section .ab-hv2-gl__sh .ab-hv2-gl__chips { position: absolute; left: 18px; top: 429px; margin: 0; }

/* ── CDN ─────────────────────────────────────────── */
.ab-hv2-gl__cdn { left: 446px; top: 691px; width: 351px; height: 512px; }
.ab-hv2-section .ab-hv2-gl__cdn .ab-hv2-gl__text { max-width: 273px; }
.ab-hv2-section .ab-hv2-gl__cdn .ab-hv2-gl__chips { flex-wrap: nowrap; margin-right: -20px; }
.ab-hv2-gl__cdn .ab-hv2-gl__chip { font-size: 13px; color: #fff; }
.ab-hv2-gl__art--cdn { left: 0; top: 273px; width: 340px; height: 210px; overflow: hidden; }
.ab-hv2-section .ab-hv2-gl__art--cdn .ab-hv2-gl__art-glow { left: 25px; top: 122px; width: 289.3px; }
.ab-hv2-gl__art--cdn .ab-hv2-gl__horizon { left: 53px; top: 209px; width: 233px; }
.ab-hv2-section .cdn-ring--1 { left: 107.4px; top: 49.4px;  width: 125.2px; }
.ab-hv2-section .cdn-ring--2 { left: 81.4px;  top: 23.4px;  width: 177.2px; }
.ab-hv2-section .cdn-ring--3 { left: 57.4px;  top: -0.6px;  width: 225.2px; }
.ab-hv2-section .cdn-dot  { width: 5.6px; }
.ab-hv2-section .cdn-dot--1  { left: 57.2px;  top: 57.2px; }
.ab-hv2-section .cdn-dot--2  { left: 89.2px;  top: 167.2px; }
.ab-hv2-section .cdn-dot--3  { left: 277.2px; top: 55.2px; }
.ab-hv2-section .cdn-dot--4  { left: 297.2px; top: 147.2px; }
.ab-hv2-section .cdn-dot--5  { left: 115.2px; top: 31.2px; }
.ab-hv2-section .cdn-dot--6  { left: 233.2px; top: 181.2px; }
.ab-hv2-section .cdn-dot--7  { left: 43.2px;  top: 121.2px; }
.ab-hv2-section .cdn-dot--8  { left: 247.2px; top: 19.2px; }
.ab-hv2-section .cdn-dot--9  { left: 315.2px; top: 101.2px; }
.ab-hv2-section .cdn-dot--10 { left: 129.2px; top: 187.2px; }
.ab-hv2-gl__art--cdn .ab-hv2-gl__tile { left: 124px; top: 66px; }

/* ── Connectors (desktop) ────────────────────────── */
.ab-hv2-gl__links { position: absolute; inset: 0; pointer-events: none; }

.ab-hv2-section .ab-hv2-gl__links > * {
	position: absolute;
	display: block;
	max-width: none;
	height: auto;
	z-index: 0;
}

.ab-hv2-section .ab-hv2-gl__links .ab-hv2-gl__arrow,
.ab-hv2-section .ab-hv2-gl__links .ab-hv2-gl__dot,
.ab-hv2-section .ab-hv2-gl__links .ab-hv2-gl__runner,
.ab-hv2-section .ab-hv2-gl__links .ab-hv2-gl__curve-in { z-index: 3; }

.ab-hv2-gl__bridge {
	top: 76px;
	width: 1px;
	height: 60px;
	background: linear-gradient(180deg, rgba(101, 59, 243, 0.9), rgba(101, 59, 243, 0.15));
}

.ab-hv2-gl__bridge--1 { left: 586px; }
.ab-hv2-gl__bridge--2 { left: 996px; }
.ab-hv2-section .ab-hv2-gl__runner { width: 24px; }
.ab-hv2-section .ab-hv2-gl__runner--1 { left: 574.7px; top: 86px; }
.ab-hv2-section .ab-hv2-gl__runner--2 { left: 984.5px; top: 86px; }

.ab-hv2-gl__hline {
	height: 1px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.28));
}

.ab-hv2-gl__hline--in { left: 234px; top: 259px; width: 92px; }
.ab-hv2-gl__hline--out { left: 837px; top: 855px; width: 126px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08)); }

.ab-hv2-section .ab-hv2-gl__dot { width: 14px; }
.ab-hv2-section .ab-hv2-gl__dot--in  { left: 323px;  top: 252px; }
.ab-hv2-section .ab-hv2-gl__dot--r   { left: 1155px; top: 657px; }
.ab-hv2-section .ab-hv2-gl__dot--l   { left: 221px;  top: 657px; }
.ab-hv2-section .ab-hv2-gl__dot--out { left: 823px;  top: 848px; }

.ab-hv2-section .ab-hv2-gl__wrap { left: 230px; top: 260.5px; width: 994.5px; }
.ab-hv2-section .ab-hv2-gl__hook { left: 211.5px; top: 663.5px; width: 24.5px; }
.ab-hv2-section .ab-hv2-gl__curve-in { left: 390px; top: 257.5px; width: 17.5px; }

.ab-hv2-section .ab-hv2-gl__arrow { width: 44px; }
.ab-hv2-section .ab-hv2-gl__arrow--1    { left: 353px;  top: 237px; }
.ab-hv2-section .ab-hv2-gl__arrow--2    { left: 757px;  top: 237px; }
.ab-hv2-section .ab-hv2-gl__arrow--down { left: 1202px; top: 343px; transform: rotate(90deg); }
.ab-hv2-section .ab-hv2-gl__arrow--3    { left: 415px;  top: 834px; }
.ab-hv2-section .ab-hv2-gl__arrow--4    { left: 780px;  top: 833px; }

/* ── Responsive: stack below 1240px ──────────────── */
@media (max-width: 1239px) {
	.ab-hv2-gl { padding: 60px 0 80px; }
	.ab-hv2-gl__canvas {
		display: flex;
		flex-direction: column;
		gap: 24px;
		width: 100%;
		max-width: 560px;
		height: auto;
		margin: 0 auto;
	}
	.ab-hv2-gl__links { display: none; }
	.ab-hv2-gl__block { position: relative; left: auto !important; top: auto !important; width: 100% !important; }
	.ab-hv2-gl__src { order: 1; height: auto; }
	.ab-hv2-gl__tr  { order: 2; }
	.ab-hv2-gl__ssai { order: 3; }
	.ab-hv2-gl__or  { order: 4; }
	.ab-hv2-gl__sh  { order: 5; }
	.ab-hv2-gl__cdn { order: 6; }
	.ab-hv2-gl__dev { order: 7; height: auto; }
	.ab-hv2-gl__src .ab-hv2-gl__orbit,
	.ab-hv2-gl__dev .ab-hv2-gl__orbit { margin-top: 0; }
	.ab-hv2-gl__ssai {
		height: auto;
		flex-direction: column;
		align-items: flex-start;
		padding: 22px 24px;
	}
	.ab-hv2-section .ab-hv2-gl__ssai .ab-hv2-gl__chips { flex-wrap: wrap; }
	.ab-hv2-gl__art--or .ab-hv2-gl__tile,
	.ab-hv2-gl__art--sh .ab-hv2-gl__tile { left: 50%; margin-left: -46px; }
	.ab-hv2-gl__art--or .ab-hv2-gl__horizon,
	.ab-hv2-gl__art--sh .ab-hv2-gl__horizon { left: 8%; width: 84%; }
	.ab-hv2-section .ab-hv2-gl__art--or .ab-hv2-gl__art-glow,
	.ab-hv2-section .ab-hv2-gl__art--sh .ab-hv2-gl__art-glow { left: 50%; transform: translateX(-50%); }
	.ab-hv2-gl__art--cdn { left: 50%; margin-left: -170px; }
	.ab-hv2-gl__sh { height: auto; padding-bottom: 28px; }
	.ab-hv2-section .ab-hv2-gl__sh .ab-hv2-gl__chips { position: relative; left: auto; top: auto; margin-top: 18px; }
	.ab-hv2-section .ab-hv2-gl__tr-curve { display: none; }
}

@media (max-width: 575px) {
	.ab-hv2-gl__card { padding: 24px 20px; }
	.ab-hv2-gl__or { padding-top: 270px; }
	.ab-hv2-gl__sh { padding-top: 214px; }
	.ab-hv2-section .ab-hv2-gl__title { font-size: 23px; }
	.ab-hv2-gl__tr, .ab-hv2-gl__cdn, .ab-hv2-gl__or { height: auto !important; min-height: 511px; }
}

/*------------------------------------------------------------------
[ Motion details ]
*/
.ab-hv2-section .ab-hv2-gl__wrap,
.ab-hv2-section .ab-hv2-gl__tr-curve { height: auto; overflow: visible; }

/* light pulses travelling along the connectors (path normalised to 100) */
.ab-hv2-gl__flow-light {
	stroke: #d6c6ff;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-dasharray: 7 100;
	stroke-dashoffset: 107;
	filter: drop-shadow(0 0 4px rgba(183, 148, 255, .95)) drop-shadow(0 0 10px rgba(101, 59, 243, .7));
	animation: ab-hv2-gl-flow 6s linear infinite;
}

.ab-hv2-gl__tr-curve .ab-hv2-gl__flow-light { animation-duration: 4s; animation-delay: -1.5s; stroke-dasharray: 10 100; stroke-dashoffset: 110; }

@keyframes ab-hv2-gl-flow {
	0%   { stroke-dashoffset: 107; opacity: 0; }
	6%   { opacity: 1; }
	92%  { opacity: 1; }
	100% { stroke-dashoffset: 0; opacity: 0; }
}

/* runners drop down the SSAI bridge links */
.ab-hv2-section .ab-hv2-gl__runner { animation: ab-hv2-gl-runner 2.6s ease-in-out infinite; }
.ab-hv2-section .ab-hv2-gl__runner--2 { animation-delay: 1.3s; }

@keyframes ab-hv2-gl-runner {
	0%   { transform: translateY(-14px); opacity: 0; }
	20%  { opacity: 1; }
	80%  { opacity: 1; }
	100% { transform: translateY(26px); opacity: 0; }
}

/* purple node dots + flow arrows breathe */
.ab-hv2-section .ab-hv2-gl__dot { animation: ab-hv2-gl-dot 2.8s ease-in-out infinite; }
.ab-hv2-section .ab-hv2-gl__dot--r   { animation-delay: .7s; }
.ab-hv2-section .ab-hv2-gl__dot--l   { animation-delay: 1.4s; }
.ab-hv2-section .ab-hv2-gl__dot--out { animation-delay: 2.1s; }

@keyframes ab-hv2-gl-dot {
	0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(101, 59, 243, 0)); }
	50%      { transform: scale(1.3); filter: drop-shadow(0 0 6px rgba(101, 59, 243, .9)); }
}

.ab-hv2-section .ab-hv2-gl__arrow { animation: ab-hv2-gl-arrow 3.2s ease-in-out infinite; }
.ab-hv2-section .ab-hv2-gl__arrow--2    { animation-delay: .6s; }
.ab-hv2-section .ab-hv2-gl__arrow--down { animation-delay: 1.2s; }
.ab-hv2-section .ab-hv2-gl__arrow--3    { animation-delay: 1.8s; }
.ab-hv2-section .ab-hv2-gl__arrow--4    { animation-delay: 2.4s; }

@keyframes ab-hv2-gl-arrow {
	0%, 100% { filter: drop-shadow(0 0 0 rgba(163, 125, 255, 0)); }
	50%      { filter: drop-shadow(0 0 8px rgba(163, 125, 255, .85)); }
}

/* the down arrow keeps its rotation */
.ab-hv2-section .ab-hv2-gl__arrow--down { transform: rotate(90deg); }

/* icon tiles: soft glow pulse */
.ab-hv2-gl__tile { animation: ab-hv2-gl-tile 4s ease-in-out infinite; }
.ab-hv2-gl__or  .ab-hv2-gl__tile { animation-delay: 1s; }
.ab-hv2-gl__sh  .ab-hv2-gl__tile { animation-delay: 2s; }
.ab-hv2-gl__cdn .ab-hv2-gl__tile { animation-delay: 3s; }

@keyframes ab-hv2-gl-tile {
	0%, 100% { box-shadow: inset 0 -4px 13.4px rgba(163, 125, 255, 0.6), inset 0 2.7px 12px rgba(255, 255, 255, 0.3), 0 9.4px 12px rgba(163, 125, 255, 0.26); }
	50%      { box-shadow: inset 0 -4px 16px rgba(163, 125, 255, 0.8), inset 0 2.7px 12px rgba(255, 255, 255, 0.35), 0 10px 26px rgba(163, 125, 255, 0.55); }
}

/* twinkling dots (transcoder fan, CDN orbit) */
.ab-hv2-section .ab-hv2-gl__art--tr [class^="tr-d"],
.ab-hv2-section .ab-hv2-gl__art--cdn .cdn-dot { animation: ab-hv2-gl-twinkle 3s ease-in-out infinite; }
.ab-hv2-section .tr-d2, .ab-hv2-section .cdn-dot--2, .ab-hv2-section .cdn-dot--6, .ab-hv2-section .cdn-dot--10 { animation-delay: .75s; }
.ab-hv2-section .tr-d3, .ab-hv2-section .cdn-dot--3, .ab-hv2-section .cdn-dot--7 { animation-delay: 1.5s; }
.ab-hv2-section .tr-d4, .ab-hv2-section .cdn-dot--4, .ab-hv2-section .cdn-dot--8 { animation-delay: 2.25s; }

@keyframes ab-hv2-gl-twinkle {
	0%, 100% { opacity: 1; }
	50%      { opacity: .25; }
}

/* CDN rings turn slowly (alternate directions) */
.ab-hv2-section .cdn-ring { animation: ab-hv2-gl-spin 40s linear infinite; }
.ab-hv2-section .cdn-ring--2 { animation-direction: reverse; animation-duration: 55s; }
.ab-hv2-section .cdn-ring--3 { animation-duration: 70s; }

@keyframes ab-hv2-gl-spin { to { transform: rotate(360deg); } }

/* CDN dots orbit around the icon (centre of the rings = 170, 112).
   The static wrapper fades the dots out at the top/bottom of the art so they don't get cut hard. */
.ab-hv2-gl__art--cdn .cdn-dots {
	position: absolute;
	inset: 0;
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 78%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 78%, transparent 100%);
}

.ab-hv2-gl__art--cdn .cdn-orbit {
	position: absolute;
	inset: 0;
	transform-origin: 170px 112px;
	animation: ab-hv2-gl-spin 50s linear infinite;
}

.ab-hv2-gl__art--cdn .cdn-orbit--out { animation-duration: 80s; animation-direction: reverse; }

/* orbit clusters: satellites float gently */
.ab-hv2-gl__orbit-sat--tr { animation: ab-hv2-gl-float 5s ease-in-out infinite; }
.ab-hv2-gl__orbit-sat--bl { animation: ab-hv2-gl-float 5s ease-in-out -2.5s infinite; }

@keyframes ab-hv2-gl-float {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
	.ab-hv2-gl__flow-light { display: none; }
	.ab-hv2-section .ab-hv2-gl__runner,
	.ab-hv2-section .ab-hv2-gl__dot,
	.ab-hv2-section .ab-hv2-gl__arrow,
	.ab-hv2-gl__tile,
	.ab-hv2-section .ab-hv2-gl__art--tr [class^="tr-d"],
	.ab-hv2-section .ab-hv2-gl__art--cdn .cdn-dot,
	.ab-hv2-section .cdn-ring,
	.ab-hv2-gl__art--cdn .cdn-orbit,
	.ab-hv2-gl__orbit-sat--tr,
	.ab-hv2-gl__orbit-sat--bl { animation: none; }
}
