@charset "utf-8";

.page-home {
	padding: 0;
}

.home-scene {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	isolation: isolate;
}

.home-scene__glow {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	filter: blur(1px);
	z-index: 0;
}

.home-scene__glow--a {
	width: min(40vw, 520px);
	height: min(40vw, 520px);
	left: -10vw;
	top: 8vh;
	background: radial-gradient(circle, rgba(84, 220, 255, 0.32), transparent 70%);
}

.home-scene__glow--b {
	width: min(38vw, 500px);
	height: min(38vw, 500px);
	right: -8vw;
	top: -2vh;
	background: radial-gradient(circle, rgba(255, 224, 162, 0.32), transparent 68%);
}

.home-scene__glow--c {
	width: min(46vw, 560px);
	height: min(46vw, 560px);
	left: 24vw;
	bottom: -24vh;
	background: radial-gradient(circle, rgba(118, 235, 208, 0.24), transparent 72%);
}

.home-core {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 4;
	text-align: center;
	width: min(540px, 90vw);
}

.home-core__portrait {
	width: clamp(250px, 28vw, 340px);
	height: clamp(250px, 28vw, 340px);
	margin: 0 auto 1.45rem;
	border-radius: 50%;
	padding: 11px;
	background: linear-gradient(150deg, rgba(246, 253, 255, 0.94), rgba(220, 244, 255, 0.58));
	box-shadow: 0 22px 54px rgba(0, 14, 27, 0.34);
}

.home-core__portrait-link {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.1);
}

.home-core__hover {
	position: absolute;
	left: 50%;
	bottom: 14px;
	transform: translateX(-50%) translateY(8px);
	padding: 0.34rem 0.62rem;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 700;
	background: rgba(10, 38, 57, 0.76);
	color: #f5fcff;
	opacity: 0;
	transition: opacity 0.22s ease, transform 0.22s ease;
	white-space: nowrap;
	z-index: 3;
}

.home-core__portrait-link:hover .home-core__hover,
.home-core__portrait-link:focus-visible .home-core__hover {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.home-title {
	font-size: clamp(2rem, 4vw, 3.2rem);
	line-height: 1.1;
	margin: 0;
	letter-spacing: 0.01em;
	text-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.home-title span {
	font-size: 0.66em;
	font-weight: 400;
	opacity: 0.95;
}

.home-core p {
	margin: 0.58rem 0 0;
	font-size: clamp(0.98rem, 1.55vw, 1.2rem);
	color: rgba(232, 248, 255, 0.95);
}

.orbit-nav {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
}

.orbit-node {
	--size: 160px;
	position: absolute;
	left: 50%;
	top: 50%;
	width: var(--size);
	height: var(--size);
	border-radius: 50%;
	overflow: hidden;
	pointer-events: auto;
	text-decoration: none;
	border: 1.8px solid rgba(240, 250, 255, 0.9);
	box-shadow:
		0 18px 34px rgba(0, 0, 0, 0.28),
		inset 0 1px 2px rgba(255, 255, 255, 0.52),
		inset 0 -14px 24px rgba(2, 20, 33, 0.2);
	transform: translate(-50%, -50%);
	transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, filter 0.24s ease;
	background:
		radial-gradient(circle at 26% 18%, rgba(255, 255, 255, 0.4), rgba(173, 229, 255, 0.1) 33%, rgba(8, 35, 54, 0.22) 65%, rgba(8, 35, 54, 0.38) 100%);
	backdrop-filter: blur(2px) saturate(115%);
	will-change: transform;
}

.orbit-node.is-pending {
	opacity: 0;
	pointer-events: none;
}

.orbit-node.is-hidden {
	display: none;
}

.orbit-node::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 30%),
		linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.52) 100%);
	z-index: 1;
}

.orbit-node::after {
	content: '';
	position: absolute;
	top: 12%;
	left: 16%;
	width: 46%;
	height: 18%;
	border-radius: 999px;
	background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.08) 70%, rgba(255, 255, 255, 0) 100%);
	filter: blur(0.3px);
	z-index: 2;
	pointer-events: none;
}

.orbit-node--icon {
	background: radial-gradient(circle at 30% 24%, rgba(109, 227, 255, 0.44), rgba(8, 40, 59, 0.9));
}

.orbit-node--icon::before {
	background:
		radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 36%),
		linear-gradient(180deg, rgba(255, 255, 255, 0) 46%, rgba(0, 0, 0, 0.34) 100%);
}

.orbit-node:hover,
.orbit-node:focus-visible {
	transform: translate(-50%, -50%) scale(1.072);
	box-shadow:
		0 24px 46px rgba(0, 0, 0, 0.34),
		inset 0 1px 2px rgba(255, 255, 255, 0.58),
		inset 0 -18px 28px rgba(2, 20, 33, 0.24);
	border-color: rgba(255, 255, 255, 1);
	filter: saturate(1.08);
}

.orbit-node:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.95);
	outline-offset: 4px;
}

.orbit-node__image {
	position: relative;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: 0;
	transition: opacity 0.46s cubic-bezier(0.2, 0.72, 0.22, 1);
}

.orbit-node.is-ready .orbit-node__image {
	opacity: 1;
}

.orbit-node__icon {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: clamp(1.7rem, 3.1vw, 2.5rem);
	color: rgba(245, 252, 255, 0.98);
	z-index: 2;
	text-shadow: 0 8px 18px rgba(0, 0, 0, 0.34);
}

.orbit-node__label {
	position: absolute;
	left: 50%;
	bottom: 12px;
	transform: translateX(-50%) translateY(10px);
	padding: 0.32rem 0.58rem;
	border-radius: 999px;
	background: rgba(10, 36, 54, 0.84);
	color: #f5fcff;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	opacity: 0;
	transition: opacity 0.2s ease, transform 0.2s ease;
	z-index: 4;
	white-space: nowrap;
}

.orbit-node:hover .orbit-node__label,
.orbit-node:focus-visible .orbit-node__label {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.orbit-node--s {
	--size: 138px;
}

.orbit-node--m {
	--size: 158px;
}

.orbit-node--l {
	--size: 178px;
}

.orbit-node--xl {
	--size: 205px;
}

@media (max-width: 960px) {
	.home-scene {
		padding: 1.25rem 0.9rem 1.8rem;
		min-height: 100svh;
	}

	.home-core {
		position: relative;
		left: auto;
		top: auto;
		transform: none;
		z-index: 4;
	}

	.home-scene.is-mobile .orbit-nav {
		position: relative;
		margin-top: 1.25rem;
		display: grid;
		grid-template-columns: repeat(2, minmax(120px, 1fr));
		gap: 12px;
		justify-items: center;
	}

	.home-scene.is-mobile .orbit-node {
		position: relative;
		left: auto;
		top: auto;
		transform: none !important;
		animation: none;
		margin: 0 !important;
	}

	.home-scene.is-mobile .orbit-node:hover,
	.home-scene.is-mobile .orbit-node:focus-visible {
		transform: scale(1.05) !important;
	}

	.home-scene.is-mobile .orbit-node--xl {
		--size: min(45vw, 195px);
	}

	.home-scene.is-mobile .orbit-node--l {
		--size: min(40vw, 172px);
	}

	.home-scene.is-mobile .orbit-node--m {
		--size: min(35vw, 148px);
	}

	.home-scene.is-mobile .orbit-node--s {
		--size: min(33vw, 132px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.orbit-node {
		animation: none;
		margin: 0 !important;
	}
}

@media (max-width: 620px) {
	.home-core__portrait {
		width: clamp(230px, 66vw, 300px);
		height: clamp(230px, 66vw, 300px);
	}

	.home-title {
		font-size: clamp(1.68rem, 8vw, 2.45rem);
	}

	.home-core p {
		font-size: 0.96rem;
	}
}
