/*====== SOLAR SYSTEM - DESKTOP MAIN CONTENT ======*/
@media (min-width: 1024px) {
	.solar-system-container {
		position: relative;
		width: 100%;
		height: 100%;
		min-height: calc(100vh - 0px);
		display: flex;
		align-items: center;
		justify-content: center;
		overflow: hidden;
	}

	.solar-center {
		position: absolute;
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
		z-index: 10;
		pointer-events: none;
	}

	.center-dot {
		width: 12px;
		height: 12px;
		border-radius: 50%;
		background: #ff6037;
		opacity: 0.5;
	}

	.orbit {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		border-radius: 50%;
		border: 1px dashed #351e1c;
		opacity: 0.1;
		pointer-events: none;
	}

	.orbit1 {
		width: 340px;
		height: 340px;
	}
	.orbit2 {
		width: 540px;
		height: 540px;
	}
	.orbit3 {
		width: 740px;
		height: 740px;
	}

	.orbital-system {
		position: absolute;
		width: 100%;
		height: 100%;
		left: 0;
		top: 0;
	}

	.project-orbital {
		position: absolute;
		width: 160px;
		height: 160px;
		left: 50%;
		top: 50%;
		margin-left: -80px;
		margin-top: -80px;
	}

	.project-item {
		width: 100%;
		height: 100%;
		border-radius: 8px;
		display: flex;
		align-items: center;
		justify-content: center;
		text-decoration: none;
		background: #ddd;
		font-family: "IBM Plex Sans", sans-serif;
		font-size: 11px;
		color: #351e1c;
		font-weight: 500;
		cursor: pointer;
		transition:
			transform 0.3s ease,
			box-shadow 0.3s ease;
		position: relative;
		overflow: hidden;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	}

	.project-item picture {
		position: absolute;
		width: 100%;
		height: 100%;
	}

	.project-item img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.project-item-label {
		position: absolute;
		inset: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		background: rgba(0, 0, 0, 0);
		transition: background 0.3s ease;
		font-weight: 600;
		color: white;
		z-index: 5;
		text-align: center;
		padding: 4px;
	}

	.project-item:hover .project-item-label {
		background: rgba(0, 0, 0, 0.5);
	}

	.project-item:hover {
		transform: scale(1.15);
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	}

	.project-item:focus {
		outline: 3px solid #ff6037;
		outline-offset: 4px;
	}

	/* Orbital depth — driven by JS */
	.project-orbital {
		will-change: transform, opacity, z-index;
	}

	/* Tilt orbit guide rings to match 3D plane */
	.orbit {
		transform: translate(-50%, -50%) scaleY(0.38) !important;
	}
}

/*====== MOBILE STACKED BLOCKS ======*/
@media (max-width: 1023px) {
	.solar-system-container {
		display: none;
	}

	.project-item {
		background: #733635;
		color: white;
		padding: 2rem;
		text-align: center;
		font-family: "IBM Plex Sans", sans-serif;
		font-size: 16px;
		min-height: 100px;
		display: flex;
		align-items: center;
		justify-content: center;
		margin-bottom: 1rem;
		cursor: pointer;
		transition: background 0.3s ease;
		text-decoration: none;
	}

	.project-item picture,
	.project-item img {
		display: none;
	}

	.project-item-label {
		position: static;
		background: none;
		color: inherit;
	}

	.project-item:hover {
		background: #5d2a2b;
	}

	.project-item:focus {
		outline: 3px solid #ff6037;
		outline-offset: -3px;
	}
}
