/**
 * Service hub orbit — nucleus + crossed ellipses (brand prototype)
 */

.sh-lead__copy {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.sh-lead__orbit {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	margin-top: 0.35rem;
	min-height: 0;
	width: 100%;
}

.sh-orbit {
	flex: 1;
	width: 100%;
	min-height: 0;
	display: flex;
}

/* —— Rectangular slot; square graphic scales inside —— */
.sh-orbit__stage {
	flex: 1;
	width: 100%;
	min-height: 10.5rem;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	overflow: visible;
}

.sh-orbit__canvas {
	position: relative;
	height: min(100%, 26rem);
	width: auto;
	max-width: 100%;
	aspect-ratio: 1;
	flex-shrink: 0;
	isolation: isolate;
}

.sh-orbit__svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.sh-orbit__ring {
	fill: none;
	stroke: rgba(26, 74, 110, 0.28);
	stroke-width: 1.25;
	stroke-dasharray: 10 8;
	vector-effect: non-scaling-stroke;
	animation: sh-orbit-dash 6s linear infinite;
}

@keyframes sh-orbit-dash {
	to {
		stroke-dashoffset: -36;
	}
}

.sh-orbit__satellite {
	pointer-events: none;
}

.sh-orbit__electron {
	fill: var(--sh-gold, #ffaa01);
	stroke: #fff;
	stroke-width: 1.5;
	filter: drop-shadow(0 0 5px rgba(255, 170, 1, 0.55));
}

/* —— Floating tags (HTML layer, always horizontal) —— */
.sh-orbit__tags {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 3;
}

.sh-orbit__tag {
	position: absolute;
	left: 0;
	top: 0;
	transform: translateX(-50%);
	pointer-events: auto;
	max-width: 6.25rem;
	padding: 0.18rem 0.48rem;
	border-radius: 999px;
	border: 1px solid rgba(26, 74, 110, 0.14);
	background: rgba(255, 255, 255, 0.94);
	color: var(--sh-blue-ink, #1a4a6e);
	font-size: 0.62rem;
	font-weight: 650;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 1px 4px rgba(11, 34, 56, 0.07);
	transition:
		border-color 0.2s ease,
		background 0.2s ease,
		color 0.2s ease;
}

.sh-orbit__tag:hover {
	border-color: var(--sh-gold, #ffaa01);
	background: var(--sh-gold, #ffaa01);
	color: #0b2238;
}

.sh-orbit__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* —— Nucleus (sun) —— */
.sh-orbit__core {
	position: absolute;
	inset: 50% auto auto 50%;
	transform: translate(-50%, -50%);
	display: grid;
	place-items: center;
	width: 34%;
	height: 34%;
	min-width: 5.25rem;
	min-height: 5.25rem;
	max-width: 6.5rem;
	max-height: 6.5rem;
	pointer-events: none;
	z-index: 2;
}

.sh-orbit__core-glow {
	position: absolute;
	inset: -0.35rem;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 170, 1, 0.35) 0%, rgba(255, 170, 1, 0) 68%);
	animation: sh-orbit-pulse 3.2s ease-in-out infinite;
}

.sh-orbit__core-label {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	padding: 0.35rem;
	border-radius: 50%;
	background: linear-gradient(145deg, #1a4a6e, #0b2238);
	color: #fff;
	font-size: clamp(0.68rem, 2.8vw, 0.78rem);
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
	box-shadow:
		0 0 0 3px rgba(255, 170, 1, 0.45),
		0 8px 24px rgba(11, 34, 56, 0.22);
}

@keyframes sh-orbit-pulse {
	0%,
	100% {
		transform: scale(1);
		opacity: 0.85;
	}
	50% {
		transform: scale(1.08);
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sh-orbit__ring {
		animation: none;
	}

	.sh-orbit__core-glow {
		animation: none;
	}
}

@media (max-width: 899px) {
	.sh-orbit__canvas {
		width: min(100%, 20rem);
		height: auto;
	}
}

@media (max-width: 420px) {
	.sh-orbit__canvas {
		width: min(100%, 18rem);
	}

	.sh-orbit__tag {
		font-size: 0.52rem;
		max-width: 4.8rem;
		padding: 0.12rem 0.36rem;
	}
}
