*, *::before, *::after {
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

body {
	background: linear-gradient(
		160deg,
		#000305 0%,
		#00080f 20%,
		#010e1c 40%,
		#011428 60%,
		#000a18 80%,
		#000205 100%
	);
	color: #fff;
	font-family: 'Dosis', system-ui, sans-serif;
	font-size: 13px;
	line-height: 24px;
	overscroll-behavior: none;
}

/* ── Scene wrapper (always in DOM, fades in after load) ─────── */
#scene-wrap {
	position: fixed;
	inset: 0;
	opacity: 0;
	pointer-events: none;
}

#scene-wrap.ready {
	/* pointer-events intentionally left on none — canvas uses body-level listeners */
}

canvas {
	display: block;
	width: 100% !important;
	height: 100% !important;
	pointer-events: none;
}

/* ── Loading Screen ─────────────────────────────────────────── */
#loading-screen {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: linear-gradient(
		160deg,
		#000305 0%,
		#00080f 20%,
		#010e1c 40%,
		#011428 60%,
		#000a18 80%,
		#000205 100%
	);
	pointer-events: none;
}

#loading-stage {
	position: relative;
	width: 300px;
	height: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#loading-body {
	position: relative;
	z-index: 2;
	width: 260px;
	height: 260px;
	object-fit: contain;
	opacity: 0;
}

.loading-cube {
	position: absolute;
	object-fit: contain;
	opacity: 0;
	will-change: transform, opacity;
}

/* Individual cube sizes */
#cube-1 { width: 57px; height: 57px; }
#cube-2 { width: 67px; height: 67px; }
#cube-3 { width: 43px; height: 43px; }
#cube-4 { width: 49px; height: 49px; }

/* ── Progress bar ───────────────────────────────────────────── */
#loading-bar-wrap {
	margin-top: 16px;
	width: 220px;
	height: 3px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.08);
	overflow: hidden;
	opacity: 0;
}

#loading-bar {
	height: 100%;
	width: 0%;
	border-radius: 2px;
	background: linear-gradient(
		90deg,
		#000305,
		#012a50,
		#9dd8f5,
		#d6f0ff,
		#9dd8f5,
		#012a50,
		#000305
	);
	background-size: 300% 100%;
	animation: barShimmer 2.2s linear infinite;
}

@keyframes barShimmer {
	0%   { background-position: 100% 0; }
	100% { background-position: -100% 0; }
}

/* ── Navigation Bar ─────────────────────────────────────────── */
#main-nav {
	position: fixed;
	top: 16px;
	left: 50%;
	z-index: 200;
	width: max-content;
	border-radius: 100px;
	background: rgba(255, 255, 255, 0.04);
	backdrop-filter: blur(3px) saturate(160%);
	-webkit-backdrop-filter: blur(3px) saturate(160%);
	border: 1px solid rgba(255, 255, 255, 0.09);
	box-shadow: 0 4px 40px rgba(0, 8, 20, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
	overflow: visible;
	opacity: 0;
	pointer-events: none;
}

#main-nav.nav-ready {
	pointer-events: auto;
}

.nav-inner {
	display: flex;
	align-items: center;
	gap: 40px;
	padding: 0 28px;
	height: 46px;
}

.nav-logo {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.nav-logo img {
	height: 64px;
	width: auto;
	display: block;
	position: relative;
	z-index: 1;
	opacity: 0;
	transform: translateY(16px);
	filter: drop-shadow(0 4px 18px rgba(120, 200, 255, 0.245)) drop-shadow(0 2px 6px rgba(0, 10, 30, 0.7));
}

.nav-links {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 40px;
}

.nav-links a {
	display: inline-block;
	color: rgba(180, 210, 240, 0.8);
	text-decoration: none;
	font-family: 'Dosis', system-ui, sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.05em;
	transition: color 0.2s ease, transform 0.4s , text-shadow 0.4s;
}

.nav-links a:hover {
	/* color is handled by GSAP after the flip animation completes */
}

.nav-links a.active {
	color: #b8e8ff !important;
	transform: scale(1.1) translateY(4px) !important;
	text-shadow: 0 0 18px rgba(120, 200, 255, 0.6), 0 0 6px rgba(180, 230, 255, 0.3);
}

.nav-links a .letter {
	display: inline-block;
	will-change: transform;
}

/* ── Section Interaction Gate ──────────────────────────────── */
/* Single source of truth: inactive sections never capture events;
   only the one section carrying .s-active is interactive + on top. */
section[data-section] {
	pointer-events: none !important;
}
section[data-section].s-active {
	pointer-events: auto !important;
	z-index: 11; /* always above inactive z-index:10 siblings */
}

/* ── Home Section (Radar Scan) ──────────────────────────────── */
#home-section {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 56px;
	opacity: 0;
	pointer-events: none;
	overflow: hidden;
}

/* Radar rings — absolute from center */
#home-radar-rings {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.home-ring {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 180px;
	height: 180px;
	transform: translate(-50%, -50%) scale(0);
	border-radius: 50%;
	border: 1px solid rgba(34, 211, 238, 0.75);
	box-shadow:
		0 0 16px rgba(34, 211, 238, 0.18),
		inset 0 0 16px rgba(34, 211, 238, 0.06);
	opacity: 0;
}

/* Center origin orb */
#home-center-dot {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #22d3ee;
	box-shadow:
		0 0 10px rgba(34, 211, 238, 0.9),
		0 0 28px rgba(34, 211, 238, 0.4),
		0 0 60px rgba(34, 211, 238, 0.15);
	pointer-events: none;
	opacity: 0;
}

/* Identity block */
#home-identity {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
	position: relative;
	z-index: 1;
}

#home-name {
	font-size: clamp(32px, 4vw, 52px);
	font-weight: 600;
	line-height: normal;
	letter-spacing: 0.14em;
	color: #e8f4f8;
	text-shadow:
		0 0 50px rgba(34, 211, 238, 0.22),
		0 0 100px rgba(34, 211, 238, 0.08);
	opacity: 0;
	filter: blur(10px);
}

#home-role {
	font-size: clamp(11px, 1.35vw, 14px);
	font-weight: 600;
	letter-spacing: 0.32em;
	color: rgba(34, 211, 238, 0.8);
	text-transform: uppercase;
	opacity: 0;
	filter: blur(6px);
}

#home-oneliner {
	font-size: clamp(11px, 1.1vw, 13px);
	font-weight: 400;
	letter-spacing: 0.07em;
	color: rgba(130, 185, 205, 0.5);
	margin-top: 2px;
	opacity: 0;
	filter: blur(4px);
}

/* Signal cards row */
#home-cards {
	display: flex;
	gap: 20px;
	position: relative;
	z-index: 3;
}

/* ── Base card ── */
.home-card {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 16px;
	padding: 16px 46px 16px 18px;
	border-radius: 14px;
	border: 1px solid rgba(34, 211, 238, 0.1);
	background: rgba(4, 14, 22, 0.65);
	backdrop-filter: blur(22px);
	-webkit-backdrop-filter: blur(22px);
	cursor: pointer;
	pointer-events: auto;
	min-width: 190px;
	opacity: 0;
	overflow: hidden;
	transition:
		border-color 0.4s ease,
		box-shadow   0.4s ease,
		transform    0.38s cubic-bezier(0.2, 0, 0, 1);
}

/* Shimmer sweep on hover */
.home-card::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(
		112deg,
		transparent 15%,
		rgba(34, 211, 238, 0.07) 50%,
		transparent 85%
	);
	background-size: 220% 100%;
	background-position: 160% 0;
	transition: background-position 0.65s ease;
	pointer-events: none;
}
.home-card:hover::before {
	background-position: -60% 0;
}

/* Scan line at bottom */
.home-card::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: -40px;
	height: 1px;
	width: 0;
	background: linear-gradient(90deg, rgba(238, 190, 34, 0.8), rgba(34, 211, 238, 0.2));
	border-radius: 0 2px 2px 0;
	transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.home-card:hover::after {
	width: 100%;
}

.home-card:hover {
	border-color: rgba(34, 211, 238, 0.42);
	box-shadow:
		0 0 0 1px rgba(34, 211, 238, 0.07),
		0 14px 52px rgba(34, 211, 238, 0.16),
		inset 0 1px 0 rgba(34, 211, 238, 0.1);
	transform: translateY(-7px);
}

/* Corner bracket (top-left) */
.home-card-corner {
	position: absolute;
	top: 0;
	left: 0;
	width: 160px;
	height: 160px;
}
.home-card-corner::before,
.home-card-corner::after {
	content: '';
	position: absolute;
	background: rgba(110, 148, 5, 0);
	transition: background 0.35s ease;
}
.home-card-corner::before {
	top: 0; left: 0;
	width: 100%; height: .5px;
}
.home-card-corner::after {
	top: 0; left: 0;
	width: .5px; height: 100%;
}
.home-card:hover .home-card-corner::before,
.home-card:hover .home-card-corner::after {
	background: rgba(34, 88, 189, 0.63);
}

/* Glyph — sits on the left */
.home-card-glyph {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	font-size: 20px;
	line-height: 1;
	color: rgba(34, 211, 238, 0.45);
	transition:
		color       0.35s ease,
		text-shadow 0.35s ease,
		transform   0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Text column — sits on the right */
.home-card-body {
	display: flex;
	flex-direction: column;
	/*gap: 3px;*/
}
.home-card:hover .home-card-glyph {
	color: #22d3ee;
	text-shadow:
		0 0 16px rgba(34, 211, 238, 0.8),
		0 0 40px rgba(34, 211, 238, 0.3);
}
[data-target="stack"]:hover .home-card-glyph {
	transform: rotate(45deg) scale(1.12);
}
[data-target="call"]:hover .home-card-glyph {
	transform: scale(1.2);
}

/* Verb */
.home-card-verb {
	display: block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.22em;
	color: rgba(200, 230, 240, 0.82);
	text-transform: uppercase;
	transition: color 0.3s ease;
}
.home-card:hover .home-card-verb {
	color: #e8f4f8;
}

/* Sub teaser */
.home-card-sub {
	display: block;
	font-size: 10.5px;
	font-weight: 400;
	letter-spacing: 0.06em;
	color: rgba(95, 150, 175, 0.48);
	transition: color 0.3s ease;
}
.home-card:hover .home-card-sub {
	color: rgba(130, 185, 205, 0.72);
}

/* Arrow — slides in */
.home-card-arrow {
	position: absolute;
	top: 50%;
	right: 16px;
	font-size: 16px;
	color: rgba(34, 211, 238, 0.35);
	opacity: 0;
	transform: translateY(-50%) translate(-4px, 4px);
	transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}
.home-card:hover .home-card-arrow {
	opacity: 1;
	transform: translateY(-50%) translate(0, 0);
	color: rgba(34, 211, 238, 0.9);
}

/* Ambient flare orb */
.home-card-flare {
	position: absolute;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	bottom: -50px;
	right: -40px;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.45s ease, transform 0.45s ease;
}
[data-target="stack"] .home-card-flare {
	background: radial-gradient(circle, rgba(34, 211, 238, 0.14) 0%, transparent 70%);
}
[data-target="call"] .home-card-flare {
	background: radial-gradient(circle, rgba(34, 211, 238, 0.12) 0%, transparent 70%);
}
.home-card:hover .home-card-flare {
	opacity: 1;
	transform: scale(0.935);
}

/* ── The Stack Section ──────────────────────────────────────── */
#stack-section {
	position: fixed;
	top: 80px;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10;
	padding: 64px 140px 0px 140px;
	display: flex;
	flex-direction: column;
	opacity: 0;
	pointer-events: none;
	isolation: isolate;
}

/* ── Tab Navigation ─────────────────────────────────────────── */
.stack-tabs-nav {
	display: flex;
	justify-content: center;
	gap: 36px;
	margin-bottom: 0px;
}

.stack-tab-btn {
	position: relative;
	padding: 6px 0 8px;
	background: none;
	border: none;
	color: rgba(180, 210, 240, 0.35);
	font-family: 'Dosis', system-ui, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
	transition: color 0.35s ease;
}

.stack-tab-btn::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, #38bdf8, #7dd3fc, transparent);
	transform: scaleX(0);
	transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.stack-tab-btn.active {
	color: #b8e8ff;
}

.stack-tab-btn.active::after {
	transform: scaleX(1);
}

.stack-tab-btn:hover:not(.active) {
	color: rgba(180, 210, 240, 0.7);
}

/* ── Panels Wrapper ─────────────────────────────────────────── */
.stack-panels-wrap {
	flex: 1;
	position: relative;
	/*overflow: hidden;*/
}

/* ── Individual Panel ───────────────────────────────────────── */
.stack-panel {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	gap: 60px;
	pointer-events: none;
}

.stack-panel.active {
	pointer-events: auto;
}

/* Hide all animatable children by default; GSAP reveals them */
.stack-panel .stack-img,
.stack-panel .stack-label,
.stack-panel .stack-slogan,
.stack-panel .stack-desc,
.stack-panel .badge {
	opacity: 0;
}

/* ── Left (Content) ─────────────────────────────────────────── */
.stack-panel-left {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* ── Right (Image) ──────────────────────────────────────────── */
.stack-panel-right {
	flex: 0 0 44%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.stack-img {
	width: 100%;
	max-height: 420px;
	object-fit: contain;
	filter: drop-shadow(0 10px 50px rgba(30, 120, 220, 0.22)) drop-shadow(0 2px 10px rgba(0, 8, 30, 0.55));
}

.stack-label {
	display: inline-block;
	align-self: flex-start;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: #22d3ee;
	/* Transparent background that covers exactly the label's own box, blocking canvas
	   GPU compositing bleed without any visible fill */
	background: transparent;
	/* A 1px inset shadow trick that covers the element's own box with the page bg:
	   this fills the GPU composited layer opaquely so snowflakes can't show through */
	-webkit-text-fill-color: #22d3ee;
}

.stack-label::before {
	content: '—\00A0';
	color: #22d3ee;
	-webkit-text-fill-color: #22d3ee;
}

.stack-slogan {
	font-size: clamp(26px, 3.2vw, 46px);
	font-weight: 700;
	line-height: 1.15;
	color: #eaf5ff;
	margin: 0;
	letter-spacing: -0.01em;
}

.stack-desc {
	font-size: 15px;
	font-weight: 300;
	line-height: 1.85;
	color: rgba(180, 210, 240, 0.62);
	max-width: 500px;
	margin: 0;

    background: rgba(38, 144, 158, 0.015);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    padding: 12px;
    border-radius: 10px;
}

/* ── Badges ─────────────────────────────────────────────────── */
.stack-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 6px;
}

.badge {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 14px;
	border-radius: 100px;
	/* Solid glass pill — avoiding backdrop-filter which conflicts with GSAP opacity animation */
	border: 1px solid rgba(120, 200, 255, 0.18);
	background: rgba(29, 125, 170, 0.14);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.05),
		0 2px 10px rgba(0, 8, 30, 0.3);
	color: rgba(180, 210, 240, 0.72);
	font-family: 'Dosis', system-ui, sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.04em;
	cursor: default;
	transition: color 0.5s ease, border-color 0.5s ease, background 0.5s ease, box-shadow 0.5s ease;
}

.badge:hover {
	color: #22d3ee;
	border-color: rgba(34, 211, 238, 0.45);
	background: rgba(29, 125, 170, 0.14);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.08),
		0 2px 18px rgba(34, 211, 238, 0.12);
}

.badge i {
	font-size: 14px;
	color: rgba(180, 210, 240, 0.8);
	transition: color 0.5s ease;
}

.badge:hover i {
	color: #22d3ee;
}

.badge-icon {
	font-size: 10px;
	color: rgba(180, 210, 240, 0.5);
	transition: color 0.5s ease;
}

.badge:hover .badge-icon {
	color: #22d3ee;
}

/* ══════════════════════════════════════════════════════════════
   ── The Work Section
   ══════════════════════════════════════════════════════════════ */
#work-section {
	position: fixed;
	top: 80px;
	left: 0;
	right: 0;
	bottom: 0;
	/*z-index: 10;*/
	padding: 40px 60px 40px 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	opacity: 0;
	pointer-events: none;
	isolation: isolate;
}

/* ── Left: Scrollable project list ─────────────────────────── */
#work-list-wrap {
	position: relative;
	
	padding-right: 10px;
	width: 240px;
	flex-shrink: 0;
	height: calc(100vh - 180px);
	max-height: 450px;
	display: flex;
	gap: 6px;
}

#work-list {
	display: flex;
	flex-direction: column;
	gap: 4px;
	overflow-y: scroll;
	padding-right: 10px;
	padding-left: 30px;
	flex: 1;
	height: 100%;
	/* hide native scrollbar in all browsers */
	scrollbar-width: none;
	-ms-overflow-style: none;
}

#work-list::-webkit-scrollbar { display: none; }

/* custom scrollbar track */
#work-scrollbar-track {
	width: 1px;
	height: 100%;
	border-radius: 2px;
	background: rgba(78, 159, 173, 0.06);
	position: relative;
	flex-shrink: 0;
}

/* custom scrollbar thumb */
#work-scrollbar-thumb {
	width: 100%;
	border-radius: 2px;
	background: rgba(78, 159, 173, 0.19);
	position: absolute;
	top: 0;
	transition: background 0.2s ease;
}

#work-scrollbar-track:hover #work-scrollbar-thumb {
	background: rgba(120, 200, 255, 0.6);
}

.work-list-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0px;
	padding: 10px 14px;
	border-radius: 10px;
	cursor: pointer;
	border: 1px solid transparent;
	color: rgba(180, 210, 240, 0.45);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.03em;
	transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, font-size 0.3s ease;
	user-select: none;
}

.work-list-item:hover {
	color: rgba(180, 210, 240, 0.8);
	background: rgba(120, 200, 255, 0.05);
	border-color: rgba(120, 200, 255, 0.1);
}

.work-list-item.active {
	color: #b8e8ff;
	background: rgba(34, 211, 238, 0.07);
	border-color: rgba(34, 211, 238, 0.22);
	font-size: 15.5px;
}

@keyframes work-icon-beam {
	from { opacity: 1; transform: scale(.6) rotateY(-360deg); }
	to   { opacity: 0.85; transform: scale(1.03) rotateY(360deg); }
}

.work-item-icon {
	display: inline-block;
	font-size: 14px;
	color: #22d3ee;
	flex-shrink: 0;
	opacity: 0.7;
	transition: opacity 0.3s ease, font-size 0.3s ease;
}

.work-list-item.active .work-item-icon,
.work-list-item:hover .work-item-icon {
	opacity: 1;
}

.work-list-item.active .work-item-icon {
	font-size: 18px;
	animation: work-icon-beam 1.6s  infinite alternate;
}
.work-item-name{
	color: #c9c9c9fa;
	font-size: 15px;
	transition: .3s;
}
.work-list-item.active .work-item-name{
	color: #f0f4fcfa;
	font-size: 18px;
	margin-top: -4px;
}
.work-item-sub{
	font-size: 10px;
	margin-top: -8px;
	color: rgb(138, 138, 138);
}
.work-list-item.active .work-item-sub{
	margin-top: -4px;
}
/* ── Center: Project card ───────────────────────────────────── */
#work-card-wrap {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible;
	flex-shrink: 0;
	width: 460px;
	height: calc(100vh - 200px);
}

.work-card {
	position: absolute;
	width: 100%;
	display: flex;
	flex-direction: column;
	border-radius: 18px;
	border: 1px solid rgba(120, 200, 255, 0.14);
	background: rgba(1, 13, 36, 0.017);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 8px 48px rgba(0, 8, 30, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.005);
	overflow: visible;
	/* hidden by default — JS/GSAP controls opacity & y */
	opacity: 0;
	pointer-events: none;
}

.work-card.active {
	pointer-events: auto;
}

.work-card-img-wrap {
	position: absolute;
	top: -80px;
	left: 50%;
	transform: translateX(-50%);
	width: 380px;
	height: 340px;
	pointer-events: none;
	z-index: 2;
}

.work-card-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	filter: drop-shadow(0 20px 48px rgba(34, 211, 238, 0.22)) drop-shadow(0 4px 20px rgba(0, 150, 200, 0.15));
	animation: workImgFloat 6s ease-in-out infinite;
}

@keyframes workImgFloat {
	0%, 100% {
		transform: translateY(0px) translateX(0px) scale(1);
	}
	35% {
		transform: translateY(-16px) translateX(3px) scale(1.018);
	}
	70% {
		transform: translateY(-8px) translateX(-2px) scale(1.009);
	}
}

.work-card-body {
	margin-top: 210px;
	padding: 20px 22px 28px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.work-card-name {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: #eaf5ff;
	letter-spacing: -0.01em;
}

.work-card-desc {
	margin: 0;
	font-size: 13px;
	font-weight: 300;
	line-height: 1.75;
	color: rgba(180, 210, 240, 0.6);
}

.work-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 4px;
}

.work-card-link {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-decoration: none;
	color: #22d3ee;
	transition: color 0.25s ease;
}

.work-card-link:hover {
	color: #b8e8ff;
}

.work-card-link.unavailable {
	color: rgba(180, 210, 240, 0.35);
	cursor: default;
	font-style: italic;
}

/* ── Right: Auto-scrolling skills ticker ────────────────────── */
#work-skills-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: hidden;
	position: relative;
	width: 200px;
	flex-shrink: 0;
	height: calc(100vh - 180px);
	max-height: 450px;
	/* fade top and bottom */
	mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
	-webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
}

.work-skills-ticker {
	/* layout controlled entirely by GSAP — per-badge absolute positioning */
}

.work-skill-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 18px;
	border-radius: 100px;
	border: 1px solid rgba(120, 200, 255, 0.16);
	background: rgba(8, 28, 60, 0.52);
	color: rgba(180, 210, 240, 0.65);
	font-family: 'Dosis', system-ui, sans-serif;
	font-size: 13.5px;
	font-weight: 500;
	letter-spacing: 0.04em;
	white-space: nowrap;
	flex-shrink: 0;
}

.work-skill-badge i {
	font-size: 17px;
	color: rgba(180, 210, 240, 0.75);
}

/* ══════════════════════════════════════════════════════════════
   ── Gallery Modal
   ══════════════════════════════════════════════════════════════ */

/* ── Gallery trigger button on card ────────────────────────── */
.work-card-gallery-btn {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 7px;
	background: rgba(120, 200, 255, 0.06);
	border: 1px solid rgba(120, 200, 255, 0.14);
	color: rgba(180, 210, 240, 0.55);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.work-card-gallery-btn:hover {
	background: rgba(34, 211, 238, 0.13);
	border-color: rgba(34, 211, 238, 0.42);
	color: #22d3ee;
}

/* ── Modal overlay ──────────────────────────────────────────── */
#gallery-modal {
	position: fixed;
	inset: 0;
	z-index: 500;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
}

#gallery-modal.open {
	pointer-events: auto;
}

#gallery-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 4, 16, 0.0);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}

/* ── Glass container ────────────────────────────────────────── */
#gallery-container {
	position: relative;
	z-index: 1;
	width: min(820px, 90vw);
	background: rgba(56, 56, 56, 0);
	backdrop-filter: blur(150px);
	-webkit-backdrop-filter: blur(150px);
	border: 1px solid rgba(120, 200, 255, 0.13);
	border-radius: 22px;
	box-shadow:
		0 24px 90px rgba(0, 6, 24, 0.75),
		inset 0 1px 0 rgba(255, 255, 255, 0.06),
		inset 0 -1px 0 rgba(0, 0, 0, 0.2);
	padding: 28px 28px 22px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* ── Header ─────────────────────────────────────────────────── */
#gallery-header {
	display: flex;
	width: 0;
	min-width: 83%;
	max-width: 83%;
	margin: 0 auto;
	align-items: center;
	justify-content: space-between;
}

#gallery-title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: #eaf5ff;
	letter-spacing: -0.01em;
}

#gallery-counter {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	color: rgba(120, 180, 220, 0.45);
}

/* ── Close button ───────────────────────────────────────────── */
#gallery-close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(120, 200, 255, 0.06);
	border: 1px solid rgba(120, 200, 255, 0.14);
	color: rgba(180, 210, 240, 0.6);
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

#gallery-close:hover {
	background: rgba(34, 211, 238, 0.12);
	border-color: rgba(34, 211, 238, 0.4);
	color: #22d3ee;
}

/* ── Stage (arrows + image) ─────────────────────────────────── */
#gallery-stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	/* padding reserves space so the centered wrap never slides under the absolute buttons */
	padding: 0 56px;
}

.gallery-nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	border-radius: 11px;
	background: rgba(120, 200, 255, 0.06);
	border: 1px solid rgba(120, 200, 255, 0.13);
	color: rgba(180, 210, 240, 0.6);
	font-size: 26px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

#gallery-prev { left: 0; }
#gallery-next { right: 0; }

.gallery-nav-btn:hover:not(:disabled) {
	background: rgba(34, 211, 238, 0.12);
	border-color: rgba(34, 211, 238, 0.38);
	color: #22d3ee;
}

.gallery-nav-btn:disabled {
	opacity: 0.18;
	cursor: default;
}

/* ── Image ──────────────────────────────────────────────────── */
#gallery-img-wrap {
	/* sizes to its content — wraps the image exactly */
	overflow: hidden;
	border-radius: 13px;
	border: 1px solid rgba(120, 200, 255, 0.08);
	box-shadow: 0 6px 30px rgba(0, 6, 24, 0.4);
	line-height: 0;
}

#gallery-img {
	display: block;
	/* container width (820px or 90vw) minus side padding (56px) minus two buttons (84px) minus three gaps (42px) */
	max-width: calc(min(820px, 90vw) - 182px);
	max-height: 62vh;
	width: auto;
	height: auto;
}

/* ── Dot indicators ─────────────────────────────────────────── */
#gallery-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.gallery-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: rgba(120, 200, 255, 0.2);
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background 0.25s ease, transform 0.25s ease;
}

.gallery-dot.active {
	background: #22d3ee;
	transform: scale(1.4);
}

.gallery-dot:hover:not(.active) {
	background: rgba(120, 200, 255, 0.45);
}

/* ═══════════════════════════════════════════════════════════════
   THE JOURNEY SECTION
   ═══════════════════════════════════════════════════════════════ */

#journey-section {
	position: fixed;
	top: 80px;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10;
	padding: 40px 80px;
	display: flex;
	justify-content: center;
	gap: 32px;
	opacity: 0;
	pointer-events: none;
	isolation: isolate;
}

/* ── Left column ────────────────────────────────────────────── */
#journey-left {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
	max-width: 680px;
}

/* ── Header card ────────────────────────────────────────────── */
#journey-header {
	flex-shrink: 0;
	padding: 16px 20px;
	margin-bottom: 16px;
	background: rgba(255, 255, 255, 0.028);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	border: 1px solid rgba(78, 159, 173, 0.13);
	border-radius: 14px;
}

#journey-name {
	font-size: 26px;
	font-weight: 700;
	color: #e2f4f8;
	letter-spacing: -0.02em;
	margin: 0 0 7px;
}

#journey-slogan {
	font-size: 11px;
	font-weight: 700;
	color: rgba(78, 159, 173, 0.85);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin: 0 0 10px;
}

#journey-desc {
	font-size: 12.5px;
	color: rgba(180, 220, 230, 0.55);
	line-height: 1.7;
	margin: 0;
}

/* ── Scroll stage outer: flex container holding path panel + feed ── */
#jn-stage-outer {
	flex: 1 1 0;
	min-height: 0;
	display: flex;
	position: relative;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.018);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	border: 1px solid rgba(78, 159, 173, 0.11);
	border-radius: 18px;
}

/* ── Left path panel: holds scroll-capture + visual canvas ──────── */
#jn-path-panel {
	flex: 0 0 52%;
	position: relative;
	overflow: hidden;
}

/* ── Vertical divider between path panel and feed ─────────── */
#jn-divider {
	flex: 0 0 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	border-left:  1px solid rgba(78, 159, 173, 0.08);
	border-right: 1px solid rgba(78, 159, 173, 0.08);
	background: linear-gradient(
		to bottom,
		transparent 0%,
		rgba(34, 211, 238, 0.03) 40%,
		rgba(34, 211, 238, 0.03) 60%,
		transparent 100%
	);
	transform-origin: center center;
	transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1),
	            border-color 0.4s ease,
	            background 0.4s ease;
	cursor: default;
	z-index: 2;
}

#jn-divider:hover {
	transform: rotate(90deg);
	border-color: rgba(34, 211, 238, 0.18);
	background: linear-gradient(
		to bottom,
		transparent 0%,
		rgba(34, 211, 238, 0.07) 40%,
		rgba(34, 211, 238, 0.07) 60%,
		transparent 100%
	);
}

#jn-divider-text {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(78, 159, 173, 0.68);
	user-select: none;
	white-space: nowrap;
	pointer-events: none;
}

#jn-divider-text strong {
	font-weight: 800;
	color: rgba(34, 211, 238, 0.65);
	animation: jn-freelance-glow 5s ease-in-out infinite;
	text-shadow: 0 0 8px rgba(34, 211, 238, 0.2);
}

@keyframes jn-freelance-glow {
	0%, 100% {
		color: rgba(34, 211, 238, 0.5);
		text-shadow: 0 0 6px rgba(34, 211, 238, 0.15);
	}
	50% {
		color: rgba(34, 211, 238, 1);
		text-shadow: 0 0 12px rgba(34, 211, 238, 0.8), 0 0 24px rgba(34, 211, 238, 0.35);
	}
}

/* ── Scroller: transparent scroll-capture surface (z above canvas) ── */
#jn-scroller {
	position: absolute;
	inset: 0;
	overflow-y: scroll;
	z-index: 5;
	scrollbar-width: none;
	background: transparent;
}
#jn-scroller::-webkit-scrollbar { display: none; }

/* Spacer inside scroller — height set by JS to make area scrollable */
#jn-spacer {
	width: 100%;
}

/* ── Canvas: stationary visual overlay behind the scroll surface ──── */
#jn-canvas {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	overflow: hidden;
}

/* ── "Scroll to Explore" CTA ────────────────────────────────── */
#jn-cta {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	z-index: 4;
	pointer-events: none;
	will-change: opacity;
}

#jn-cta-text {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(78, 159, 173, 0.72);
}

#jn-cta-arrow {
	animation: jn-bounce 1.6s ease-in-out infinite;
}

@keyframes jn-bounce {
	0%, 100% { transform: translateY(0); }
	50%       { transform: translateY(5px); }
}

/* ── SVG path fills the full canvas ─────────────────────────── */
#jn-path-svg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1;
}

/* ── Actor: centered via xPercent/yPercent -50 in GSAP ──────── */
#jn-actor {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 3;
	will-change: transform;
	pointer-events: none;
}

/* Particle trail dots */
.jn-trail {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: rgba(34, 211, 238, 0.55);
	transform: translate(-50%, -50%) scale(0);
	animation: jn-trail-pulse 1.2s ease-out infinite;
	animation-delay: calc(var(--d) * 0.18s);
	pointer-events: none;
}
#jn-actor.jn-stopped .jn-trail { animation-play-state: paused; }

@keyframes jn-trail-pulse {
	0%   { transform: translate(-50%, -50%) scale(1);   opacity: 0.6; }
	100% { transform: translate(-50%, -50%) scale(2.8); opacity: 0; }
}

/* ── Milestone markers: HTML divs, always perfect circles ────── */
.jn-milestone-wrap {
	position: absolute;
	width: 0;
	height: 0;
	pointer-events: none;
	z-index: 2;
}

.jn-dot {
	position: absolute;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(34, 211, 238, 0);
	transform: translate(-50%, -50%);
	will-change: background;
}

.jn-ring {
	position: absolute;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 1.5px solid rgba(34, 211, 238, 0);
	transform: translate(-50%, -50%);
	will-change: border-color;
}

/* ── Small milestone labels (on left canvas, appear at each arrival) ─ */
.jn-label {
	position: absolute;
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(34, 211, 238, 0.68);
	opacity: 0;
	pointer-events: none;
	z-index: 2;
	white-space: nowrap;
	will-change: opacity, transform;
	transition: color 0.18s ease;
}
.jn-label.jn-lbl-hovered {
	color: #22d3ee;
}

/* ── Right feed panel: scrollable detail log ────────────────── */
#jn-feed {
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 14px 14px 14px 16px;
	scrollbar-width: none;
	mask-image: linear-gradient(to bottom, transparent 0%, black 9%, black 100%);
	-webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 9%, black 100%);
}
#jn-feed::-webkit-scrollbar { display: none; }

/* Feed entry */
.jf-entry {
	opacity: 0;
	will-change: opacity, transform;
	padding-bottom: 0;
	cursor: default;
	text-align: center;
}
.jf-entry:hover .jf-etitle {
	color: rgba(34, 211, 238, 0.9);
	transition: color 0.18s;
}

.jf-etitle {
	font-size: 11.5px;
	font-weight: 700;
	color: #e2f4f8;
	margin-bottom: 5px;
	letter-spacing: -0.01em;
	transition: color 0.18s ease;
}

.jf-detail {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 3px;
}

.jf-line {
	font-size: 10.5px;
	color: rgba(180, 220, 230, 0.52);
	line-height: 1.5;
}

.jf-role {
	color: rgba(34, 211, 238, 0.78);
	font-weight: 600;
}

.jf-period {
	color: rgba(78, 159, 173, 0.65);
	font-weight: 600;
	font-size: 10px;
	letter-spacing: 0.04em;
}

.jf-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 6px;
}

.jf-badges span {
	font-size: 9px;
	font-weight: 600;
	color: rgba(34, 211, 238, 0.72);
	background: rgba(34, 211, 238, 0.07);
	border: 1px solid rgba(34, 211, 238, 0.18);
	border-radius: 3px;
	padding: 1px 5px;
}

/* Separator between feed entries */
.jf-sep {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 0;
	opacity: 0;
	will-change: opacity;
}

.jf-sep-line {
	flex: 1;
	height: 1px;
	background: rgba(78, 159, 173, 0.18);
	display: block;
	transform: scaleX(0);
}

/* Left line grows from the dot outward to the left */
.jf-sep > .jf-sep-line:first-child {
	transform-origin: right;
}

/* Right line grows from the dot outward to the right */
.jf-sep > .jf-sep-line:last-child {
	transform-origin: left;
}

.jf-sep-dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: rgba(34, 211, 238, 0.35);
	flex-shrink: 0;
	display: block;
	transform: scale(0);
}

/* ── Right column: sticky profile card ─────────────────────── */
#journey-right {
	flex: 0 0 280px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding-top: 2px;
}

#journey-card {
	background: rgba(255, 255, 255, 0.022);
	border: 1px solid rgba(78, 159, 173, 0.11);
	border-radius: 18px;
	padding: 24px 18px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

#journey-avatar-wrap {
	width: 92px;
	height: 92px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid rgba(78, 159, 173, 0.28);
	box-shadow: 0 0 28px rgba(34, 211, 238, 0.1);
	flex-shrink: 0;
}

#journey-avatar {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#journey-card-name {
	font-size: 14px;
	font-weight: 700;
	color: #e2f4f8;
	letter-spacing: -0.01em;
	text-align: center;
	margin-top: 2px;
}

#journey-card-title {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: rgba(78, 159, 173, 0.72);
	text-align: center;
}

#journey-card-body {
	font-size: 11.5px;
	color: rgba(180, 220, 230, 0.5);
	line-height: 1.68;
	text-align: center;
	margin: 0;
}

/* ── Badges ─────────────────────────────────────────────────── */
#journey-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	margin-top: 6px;
}

.journey-badge {
	font-size: 10px;
	font-weight: 500;
	text-transform: uppercase;
	padding: 2px 12px;
	border-radius: 20px;
	background: rgba(78, 159, 173, 0.09);
	border: 1px solid rgba(78, 159, 173, 0.2);
	color: rgba(78, 159, 173, 0.88);
	cursor: default;
	white-space: nowrap;
	text-decoration: none;
}

/* ── Resume download card ────────────────────────────────────── */
#journey-resume-card {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
	padding: 11px 14px;
	background: rgba(255, 255, 255, 0.022);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	border: 1px solid rgba(78, 159, 173, 0.11);
	border-radius: 12px;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

#journey-resume-card:hover {
	background: rgba(34, 211, 238, 0.09);
	border-color: rgba(34, 211, 238, 0.38);
	transform: translateY(-1px);
}

#journey-resume-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

#journey-resume-label {
	font-size: 12px;
	font-weight: 600;
	color: #e2f4f8;
	letter-spacing: -0.01em;
}

#journey-resume-sub {
	font-size: 10px;
	color: rgba(78, 159, 173, 0.65);
	letter-spacing: 0.04em;
}

#journey-resume-arrow {
	flex-shrink: 0;
	opacity: 0.55;
	transition: opacity 0.22s ease, transform 0.22s ease;
}

#journey-resume-card:hover #journey-resume-arrow {
	opacity: 1;
	transform: translateY(2px);
}

/* ── Hire CTA card ───────────────────────────────────────────── */
@keyframes jt-hire-glow {
	0%, 100% {
		box-shadow: 0 10px 18px -0px rgba(34, 211, 238, 0.08), inset 0 0 0 1px rgba(78, 159, 173, 0.13);
		border-color: rgba(78, 159, 173, 0.16);
	}
	50% {
		box-shadow: 0 15px 36px -5px rgba(34, 211, 238, 0.22), inset 0 0 0 1px rgba(34, 211, 238, 0.28);
		border-color: rgba(34, 211, 238, 0.46);
	}
}

@keyframes jt-hire-float {
	0%, 100% { transform: translateY(0px) rotate(-1deg); }
	50%       { transform: translateY(-9px) rotate(1deg); }
}

#journey-hire-card {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
	padding: 12px 10px 12px 14px;
	background: rgba(255, 255, 255, 0.018);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(78, 159, 173, 0.16);
	border-radius: 18px;
	text-decoration: none;
	cursor: pointer;
	position: relative;
	animation: jt-hire-glow 3s ease-in-out infinite;
	transition: transform 0.28s ease, background 0.28s ease;
}

#journey-hire-card:hover {
	transform: translateY(-3px) scale(1.012);
	background: rgba(34, 211, 238, 0.06);
}

#journey-hire-char {
	position:absolute;
	left: 70%;
	width: 120px;
	height: 120px;
	object-fit: contain;
	flex-shrink: 0;
	order: 2;  /* image on the right */
	filter: drop-shadow(0 4px 14px rgba(34, 211, 238, 0.35));
	animation: jt-hire-float 3.6s ease-in-out infinite;
	pointer-events: none;
}

#journey-hire-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	flex: 1;
	order: 1;  /* text on the left */
	text-align: left;
}

#journey-hire-heading {
	font-size: 12.5px;
	font-weight: 700;
	color: #e2f4f8;
	letter-spacing: -0.01em;
}

#journey-hire-sub {
	font-size: 10.5px;
	color: rgba(78, 159, 173, 0.65);
	line-height: 1.45;
}

#journey-hire-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 6px;
	padding: 4px 12px;
	background: rgba(34, 211, 238, 0.1);
	border: 1px solid rgba(34, 211, 238, 0.32);
	border-radius: 30px;
	font-size: 10.5px;
	font-weight: 500;
	color: #22d3ee;
	letter-spacing: 0.04em;
	transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

#journey-hire-card:hover #journey-hire-btn {
	background: rgba(34, 211, 238, 0.18);
	border-color: rgba(34, 211, 238, 0.60);
	color: #fff;
}
/* ══════════════════════════════════════════════════════════════
   ── THE CALL SECTION
   ══════════════════════════════════════════════════════════════ */

#call-section {
	position: fixed;
	top: 80px;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10;
	padding: 32px 60px 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
	opacity: 0;
	pointer-events: none;
	isolation: isolate;
}

/* ── Header ─────────────────────────────────────────────────── */
#call-header {
	flex-shrink: 0;
	text-align: center;
}

#call-label {
	display: block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: #22d3ee;
	margin-bottom: 8px;
}

#call-heading {
	font-size: clamp(24px, 3vw, 40px);
	font-weight: 700;
	color: #eaf5ff;
	letter-spacing: -0.02em;
	margin: 0 0 8px;
	line-height: 1.15;
}

#call-subtext {
	font-size: 13px;
	font-weight: 300;
	color: rgba(180, 220, 230, 0.5);
	margin: 0;
}

/* ── Body: 3-zone row ───────────────────────────────────────── */
#call-body {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 32px;
	width: 100%;
	flex: 1;
	min-height: 0;
}

/* ══════════════════════════════════════════════════════════════
   ── Left: Beacon
   ══════════════════════════════════════════════════════════════ */
#call-beacon {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	flex-shrink: 0;
	width: 240px;
}

/* 3D rings container */
#call-rings-wrap {
	position: relative;
	width: 190px;
	height: 190px;
	display: flex;
	align-items: center;
	justify-content: center;
	perspective: 420px;
}

/* Each orbit wrapper is centered, full size, preserve-3d */
.call-orbit-wrap {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transform-style: preserve-3d;
}

/* The visible ring inside each orbit */
.call-ring {
	width: 170px;
	height: 170px;
	border-radius: 50%;
	border: 1.5px solid rgba(34, 211, 238, 0.5);
	box-shadow:
		0 0 10px rgba(34, 211, 238, 0.2),
		inset 0 0 10px rgba(34, 211, 238, 0.08);
	opacity: 0.55;
	transition: opacity 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

/* Y-axis orbit: rotates around vertical axis (coin spin) */
#call-orbit-y {
	animation: call-orbit-y 4s linear infinite;
}

/* X-axis orbit: rotates around horizontal axis (ferris wheel) */
#call-orbit-x {
	animation: call-orbit-x 6.5s linear infinite;
}

@keyframes call-orbit-y {
	from { transform: rotateY(0deg); }
	to   { transform: rotateY(360deg); }
}
@keyframes call-orbit-x {
	from { transform: rotateX(0deg); }
	to   { transform: rotateX(360deg); }
}

/* On hover — rings brighten further */
#call-beacon:hover .call-ring {
	opacity: 0.75;
	border-color: rgba(34, 211, 238, 0.75);
	box-shadow:
		0 0 18px rgba(34, 211, 238, 0.38),
		inset 0 0 14px rgba(34, 211, 238, 0.14);
}

/* Avatar centered on top of rings */
#call-avatar-wrap {
	position: absolute;
	width: 110px;
	height: 110px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid rgba(78, 159, 173, 0.35);
	box-shadow:
		0 0 24px rgba(34, 211, 238, 0.14),
		0 4px 18px rgba(0, 8, 30, 0.55);
	z-index: 2;
	transition: box-shadow 0.5s ease, border-color 0.5s ease;
}

#call-beacon:hover #call-avatar-wrap {
	border-color: rgba(34, 211, 238, 0.55);
	box-shadow:
		0 0 36px rgba(34, 211, 238, 0.3),
		0 4px 18px rgba(0, 8, 30, 0.55);
}

#call-avatar {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Beacon info panel */
#call-beacon-info {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	text-align: center;
}

#call-name {
	font-size: 15px;
	font-weight: 700;
	color: #e2f4f8;
	letter-spacing: -0.01em;
}

#call-title {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(78, 159, 173, 0.7);
}

#call-available {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-top: 4px;
	padding: 4px 12px;
	border-radius: 20px;
	background: rgba(34, 200, 80, 0.07);
	border: 1px solid rgba(34, 200, 80, 0.22);
	font-size: 11px;
	font-weight: 600;
	color: rgba(80, 230, 120, 0.9);
	letter-spacing: 0.04em;
}

/* Pulsing green dot */
#call-available-dot {
	position: relative;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #4ade80;
	flex-shrink: 0;
}

#call-available-dot::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: #4ade80;
	animation: call-ping 2s ease-out infinite;
}

@keyframes call-ping {
	0%   { transform: scale(1);   opacity: 0.7; }
	100% { transform: scale(2.8); opacity: 0; }
}

#call-meta {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 10.5px;
	color: rgba(120, 170, 190, 0.5);
	margin-top: 2px;
}

.call-meta-sep {
	opacity: 0.4;
}

/* ══════════════════════════════════════════════════════════════
   ── Center: Portal cards grid
   ══════════════════════════════════════════════════════════════ */
#call-portals-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: repeat(3, auto);
	gap: 10px;
	width: 380px;
	flex-shrink: 0;
}

.call-portal-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 18px 14px 16px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.022);
	border: 1px solid rgba(120, 200, 255, 0.12);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 4px 24px rgba(0, 8, 30, 0.35);
	text-decoration: none;
	cursor: pointer;
	transition:
		transform 0.28s cubic-bezier(0.2, 0, 0, 1),
		border-color 0.28s ease,
		box-shadow 0.28s ease,
		background 0.28s ease;
	overflow: hidden;
}

/* Phone card: spans full width (last item, col 1/-1) */
.call-portal-phone {
	grid-column: 1 / -1;
	flex-direction: row;
	justify-content: center;
	gap: 12px;
	padding: 14px 24px;
}

/* Default platform border colors */
.call-portal-card[data-platform="linkedin"] { border-color: rgba(10, 102, 194, 0.28); }
.call-portal-card[data-platform="github"]   { border-color: rgba(240, 246, 252, 0.15); }
.call-portal-card[data-platform="email"]    { border-color: rgba(34, 211, 238, 0.22); }
.call-portal-card[data-platform="whatsapp"] { border-color: rgba(37, 211, 102, 0.22); }
.call-portal-card[data-platform="phone"]    { border-color: rgba(34, 211, 238, 0.22); }

.call-portal-card:hover {
	transform: translateY(-4px);
}

/* Platform-specific hover glows */
.call-portal-card[data-platform="linkedin"]:hover {
	border-color: rgba(10, 102, 194, 0.6);
	box-shadow: 0 8px 36px rgba(10, 102, 194, 0.22), 0 0 0 1px rgba(10, 102, 194, 0.18);
	background: rgba(10, 102, 194, 0.06);
}
.call-portal-card[data-platform="github"]:hover {
	border-color: rgba(240, 246, 252, 0.3);
	box-shadow: 0 8px 36px rgba(240, 246, 252, 0.1), 0 0 0 1px rgba(240, 246, 252, 0.14);
	background: rgba(240, 246, 252, 0.04);
}
.call-portal-card[data-platform="email"]:hover {
	border-color: rgba(34, 211, 238, 0.45);
	box-shadow: 0 8px 36px rgba(34, 211, 238, 0.18), 0 0 0 1px rgba(34, 211, 238, 0.18);
	background: rgba(34, 211, 238, 0.05);
}
.call-portal-card[data-platform="whatsapp"]:hover {
	border-color: rgba(37, 211, 102, 0.45);
	box-shadow: 0 8px 36px rgba(37, 211, 102, 0.18), 0 0 0 1px rgba(37, 211, 102, 0.18);
	background: rgba(37, 211, 102, 0.05);
}
.call-portal-card[data-platform="phone"]:hover {
	border-color: rgba(34, 211, 238, 0.45);
	box-shadow: 0 8px 36px rgba(34, 211, 238, 0.18), 0 0 0 1px rgba(34, 211, 238, 0.18);
	background: rgba(34, 211, 238, 0.05);
}

/* Icon */
.call-portal-icon {
	font-size: 26px;
	color: rgba(180, 210, 240, 0.7);
	transition: color 0.28s ease, transform 0.28s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}
.call-portal-svg {
	width: 26px;
	height: 26px;
}
/* Default icon colors per platform */
.call-portal-card[data-platform="linkedin"] .call-portal-icon { color: rgba(10, 102, 194, 0.75); }
.call-portal-card[data-platform="github"] .call-portal-icon   { color: rgba(240, 246, 252, 0.6); }
.call-portal-card[data-platform="email"] .call-portal-icon    { color: rgba(34, 211, 238, 0.75); }
.call-portal-card[data-platform="whatsapp"] .call-portal-icon { color: rgba(37, 211, 102, 0.75); }
.call-portal-card[data-platform="phone"] .call-portal-icon    { color: rgba(34, 211, 238, 0.75); }
.call-portal-card:hover .call-portal-icon {
	transform: scale(1.12);
}
.call-portal-card[data-platform="linkedin"]:hover .call-portal-icon { color: #0a66c2; }
.call-portal-card[data-platform="github"]:hover .call-portal-icon   { color: #f0f6fc; }
.call-portal-card[data-platform="email"]:hover .call-portal-icon    { color: #22d3ee; }
.call-portal-card[data-platform="whatsapp"]:hover .call-portal-icon { color: #25d366; }
.call-portal-card[data-platform="phone"]:hover .call-portal-icon    { color: #22d3ee; }

/* Platform name */
.call-portal-name {
	font-size: 13px;
	font-weight: 700;
	color: rgba(180, 210, 240, 0.85);
	letter-spacing: 0.03em;
}

/* Handle: hidden by default, slides up on hover */
.call-portal-handle {
	font-size: 10.5px;
	color: rgba(120, 170, 190, 0.5);
	letter-spacing: 0.03em;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.25s ease, transform 0.25s ease;
	white-space: nowrap;
}
.call-portal-card:hover .call-portal-handle {
	opacity: 1;
	transform: translateY(0);
}

/* Copy button — top-right corner, hidden until card hover */
.call-copy-btn {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 24px;
	height: 24px;
	border-radius: 6px;
	background: rgba(120, 200, 255, 0.06);
	border: 1px solid rgba(120, 200, 255, 0.14);
	color: rgba(180, 210, 240, 0.45);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
	padding: 0;
}
.call-portal-card:hover .call-copy-btn   { opacity: 1; }
.call-copy-btn:hover { background: rgba(34, 211, 238, 0.14); color: #22d3ee; }
.call-copy-btn.copied {
	color: #4ade80;
	border-color: rgba(74, 222, 128, 0.4);
	background: rgba(74, 222, 128, 0.08);
}

/* ══════════════════════════════════════════════════════════════
   ── Right: Freelancing portals
   ══════════════════════════════════════════════════════════════ */
#call-freelance {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 200px;
	flex-shrink: 0;
}

#call-freelance-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(78, 159, 173, 0.55);
	margin-bottom: 2px;
	padding-left: 4px;
}

/* ── Active Signal Cards ── */
.call-freelance-card {
	position: relative;
	overflow: visible;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 16px;
	border-radius: 12px;
	border: 1px solid rgba(120, 200, 255, 0.09);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	text-decoration: none;
	cursor: pointer;
	transition:
		transform 0.25s ease,
		background 0.25s ease,
		box-shadow 0.25s ease;
}
/* Default platform backgrounds */
.call-freelance-card[data-platform="upwork"]     { background: rgba(12, 12, 12, 0.55); }
.call-freelance-card[data-platform="fiverr"]     { background: rgba(29, 191, 115, 0.07); }
.call-freelance-card[data-platform="freelancer"] { background: rgba(41, 178, 254, 0.07); }
.call-freelance-card:hover {
	transform: translateY(-2px);
}
.call-freelance-card[data-platform="upwork"]:hover {
	background: rgba(8, 8, 8, 0.72);
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}
.call-freelance-card[data-platform="fiverr"]:hover {
	background: rgba(29, 191, 115, 0.13);
	box-shadow: 0 6px 22px rgba(29, 191, 115, 0.18);
}
.call-freelance-card[data-platform="freelancer"]:hover {
	background: rgba(41, 178, 254, 0.13);
	box-shadow: 0 6px 22px rgba(41, 178, 254, 0.18);
}

/* Pulsing signal dot — pinned to left of card */
.call-frl-dot {
	position: absolute;
	left: 14px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
}
.call-frl-dot::after {
	content: '';
	position: absolute;
	inset: -2px;
	border-radius: 50%;
	animation: call-frl-ping 2s ease-out infinite;
	opacity: 0;
}
.call-freelance-card[data-platform="upwork"] .call-frl-dot {
	background: radial-gradient(circle at 35% 35%, #dee2dc, #a4ada3);
	box-shadow: 0 0 6px rgba(175, 175, 175, 0.8), 0 0 12px rgba(183, 184, 183, 0.35);
}
.call-freelance-card[data-platform="upwork"] .call-frl-dot::after {
	background: rgba(169, 170, 169, 0.5);
}
.call-freelance-card[data-platform="fiverr"] .call-frl-dot {
	background: radial-gradient(circle at 35% 35%, #5df5a8, #1dbf73);
	box-shadow: 0 0 6px rgba(29, 191, 115, 0.8), 0 0 12px rgba(29, 191, 115, 0.35);
}
.call-freelance-card[data-platform="fiverr"] .call-frl-dot::after {
	background: rgba(29, 191, 115, 0.5);
}
.call-freelance-card[data-platform="freelancer"] .call-frl-dot {
	background: radial-gradient(circle at 35% 35%, #88d8ff, #29b2fe);
	box-shadow: 0 0 6px rgba(41, 178, 254, 0.8), 0 0 12px rgba(41, 178, 254, 0.35);
}
.call-freelance-card[data-platform="freelancer"] .call-frl-dot::after {
	background: rgba(41, 178, 254, 0.5);
}
@keyframes call-frl-ping {
	0%   { transform: scale(1);   opacity: 0.65; }
	100% { transform: scale(2.0); opacity: 0; }
}

/* Name + icon group — centered */
.call-frl-info {
	display: flex;
	align-items: center;
	gap: 7px;
}

/* Platform name */
.call-frl-name {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.03em;
}
.call-freelance-card[data-platform="upwork"] .call-frl-name    { color: rgba(241, 245, 240, 0.85); }
.call-freelance-card[data-platform="fiverr"] .call-frl-name    { color: rgba(29, 191, 115, 0.85); }
.call-freelance-card[data-platform="freelancer"] .call-frl-name { color: rgba(41, 178, 254, 0.85); }

/* Platform icon */
.call-frl-icon {
	font-size: 15px;
	display: flex;
	align-items: center;
	opacity: 0.8;
}
.call-frl-icon svg { width: 15px; height: 15px; }
.call-freelance-card[data-platform="upwork"] .call-frl-icon    { color: #aeafae; }
.call-freelance-card[data-platform="fiverr"] .call-frl-icon    { color: #1dbf73; }
.call-freelance-card[data-platform="freelancer"] .call-frl-icon { color: #29b2fe; }

/* Arrow — appears inside info group on hover */
.call-frl-arrow {
	font-size: 12px;
	opacity: 0;
	transform: translate(-3px, 3px);
	transition: opacity 0.22s ease, transform 0.22s ease;
}
.call-freelance-card[data-platform="upwork"] .call-frl-arrow    { color: #c7c9c7; }
.call-freelance-card[data-platform="fiverr"] .call-frl-arrow    { color: #1dbf73; }
.call-freelance-card[data-platform="freelancer"] .call-frl-arrow { color: #29b2fe; }
.call-freelance-card:hover .call-frl-arrow {
	opacity: 1;
	transform: translate(0, 0);
}

/* Platform logo — floats right, half overflowing the card edge */
.call-frl-logo {
	position: absolute;
	right: -16px;
	top: 50%;
	transform: translateY(-50%) rotateY(0deg);
	width: 42px;
	/*height: 42px;*/
	min-width: 42px;
	/*min-height: 42px;*/
	border-radius: 10px;
	object-fit: cover;
	pointer-events: none;
}
.call-freelance-card:hover .call-frl-logo {
	transform: translateY(-50%) rotateY(360deg);
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scan line — sweeps left to right on hover */
.call-frl-scan {
	position: absolute;
	bottom: 0;
	left: 10%;
	right: 10%;
	margin:auto;
	height: 1px;
	width: 0;
	transition: width 0.4s ease;
	border-radius: 0 2px 2px 0;
}
.call-freelance-card[data-platform="upwork"] .call-frl-scan    { background: rgba(218, 218, 218, 0.7); }
.call-freelance-card[data-platform="fiverr"] .call-frl-scan    { background: rgba(29, 191, 115, 0.7); }
.call-freelance-card[data-platform="freelancer"] .call-frl-scan { background: rgba(41, 178, 254, 0.7); }
.call-freelance-card:hover .call-frl-scan {
	width: 80%;
}