:root {
	--navbar-height: 5rem;   /* fixed navbar height */
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	background: #000000;
	color: #eef2ff;
	line-height: 1.4;
	min-height: 100vh;
	cursor: default;
	overflow-x: hidden;
	position: relative;
	display: flex;
	flex-direction: column;
}

.depth-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	background: #000000;
	overflow: hidden;
}

.distant-object {
	position: absolute;
	background: rgba(255, 255, 255, 0.03);
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
	animation: floatDepth 24s infinite ease-in-out;
}

.depth-ring {
	position: absolute;
	border: 1px solid rgba(255, 255, 255, 0.04);
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
	animation: slowDrift 32s infinite alternate;
}

.depth-line {
	position: absolute;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.02), transparent);
	height: 1px;
	width: 100%;
	pointer-events: none;
	animation: slideLine 40s infinite linear;
}

@keyframes floatDepth {
	0% { transform: translateY(0px) translateX(0px) scale(1); opacity: 0.2; }
	50% { transform: translateY(-25px) translateX(15px) scale(1.05); opacity: 0.4; }
	100% { transform: translateY(0px) translateX(0px) scale(1); opacity: 0.2; }
}

@keyframes slowDrift {
	0% { transform: translate(0, 0) scale(1); opacity: 0.1; }
	100% { transform: translate(25px, 15px) scale(1.1); opacity: 0.2; }
}

@keyframes slideLine {
	0% { transform: translateX(-100%); opacity: 0; }
	20% { opacity: 0.05; }
	80% { opacity: 0.05; }
	100% { transform: translateX(100%); opacity: 0; }
}

.navbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: var(--navbar-height);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 3rem;
	z-index: 1000;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	transition: all 0.2s ease;
}

.logo {
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: -0.01em;
	text-decoration: none;
	font-family: 'Inter', monospace;
	background: linear-gradient(135deg, #e2e8f0 0%, #b9c7d9 100%);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	opacity: 0.9;
}

.hamburger {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 1001;
	background: transparent;
	border: none;
	padding: 4px;
}

.hamburger span {
	display: block;
	height: 1px;
	border-radius: 1px;
	background: #FFFFFF;
	transform-origin: center;
	transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
				opacity 0.25s ease,
				width 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.hamburger span:nth-child(1) { width: 100%; }
.hamburger span:nth-child(2) { width: 62%; margin-left: auto; }
.hamburger span:nth-child(3) { width: 38%; margin-left: auto; }

.hamburger:hover span:nth-child(1) { background: linear-gradient(90deg, #2563eb, #7c3aed, #b45309); }
.hamburger:hover span:nth-child(2) { width: 78%; background: linear-gradient(90deg, #4f46e5, #b45309); }
.hamburger:hover span:nth-child(3) { width: 55%; background: linear-gradient(90deg, #7c3aed, #b45309); }

.hamburger.open span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
	width: 100%;
	background: linear-gradient(90deg, #4f46e5, #b45309);
}
.hamburger.open span:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
	width: 100%;
	background: linear-gradient(90deg, #4f46e5, #b45309);
}

.menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	backdrop-filter: blur(62px);
	-webkit-backdrop-filter: blur(32px);
	z-index: 999;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding-left: clamp(2.5rem, 8vw, 8rem);
	visibility: hidden;
	opacity: 0;
	transition: visibility 0.45s, opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-overlay.active {
	visibility: visible;
	opacity: 1;
}

/* thin left accent bar */
.menu-overlay::before {
	content: '';
	position: absolute;
	left: clamp(2rem, 6vw, 6rem);
	top: 20%;
	bottom: 20%;
	width: 1px;
	background: linear-gradient(180deg, transparent, rgba(79,70,229,0.5), rgba(180,83,9,0.4), transparent);
}

.menu-links {
	list-style: none;
	padding: 0;
	padding-left: clamp(1.5rem, 4vw, 3rem);
}

.menu-links li {
	margin: 0;
	overflow: hidden;
}

.menu-links li + li { margin-top: 0.05rem; }

.menu-item-inner {
	padding: 0.6rem 0;
	transform: translateX(-24px);
	opacity: 0;
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
				opacity 0.5s ease;
}

.menu-overlay.active .menu-item-inner { transform: translateX(0); opacity: 1; }
.menu-overlay.active li:nth-child(1) .menu-item-inner { transition-delay: 0.04s; }
.menu-overlay.active li:nth-child(2) .menu-item-inner { transition-delay: 0.10s; }
.menu-overlay.active li:nth-child(3) .menu-item-inner { transition-delay: 0.16s; }
.menu-overlay.active li:nth-child(4) .menu-item-inner { transition-delay: 0.22s; }

.menu-links a {
	font-size: clamp(2.4rem, 5.5vw, 3.2rem);
	font-weight: 200;
	letter-spacing: -0.04em;
	font-family: 'Inter', monospace;
	text-decoration: none;
	position: relative;
	display: inline-block;
	background: linear-gradient(135deg, rgba(148,163,184,0.6) 0%, rgba(148,163,184,0.4) 100%);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	transition: all 0.3s ease;
}

.menu-links a:hover {
	background: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #b45309 100%);
	background-clip: text;
	-webkit-background-clip: text;
	letter-spacing: -0.03em;
}

.menu-overlay.active .menu-footer { opacity: 1; }

.hero-center {
	flex: 1;                        
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 2rem;
	margin-top: var(--navbar-height); /* push below fixed navbar */
	position: relative;
	z-index: 2;
}

.reactive-text {
	max-width: 900px;
	width: 100%;
	margin: 0 auto;
	cursor: default;
}

.animated-gradient-paragraph {
	font-size: 2rem;
	font-weight: 550;
	line-height: 1.35;
	letter-spacing: -0.01em;
	background: radial-gradient(circle at 40% 50%, #2563eb, #4f46e5, #ea580c, #7c3aed, #c2410c, #1d4ed8);
	background-size: 400% 400%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: honeyLavaFlow 16s ease infinite;
	transition: background 0.15s cubic-bezier(0.2, 0.9, 0.4, 1.1);
	text-shadow: none;
	/* Make text unselectable */
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

@keyframes honeyLavaFlow {
	0% {
		background-position: 0% 0%;
		background-size: 450% 450%;
	}
	20% {
		background-position: 30% 20%;
		background-size: 480% 480%;
	}
	40% {
		background-position: 70% 50%;
		background-size: 420% 420%;
	}
	60% {
		background-position: 50% 80%;
		background-size: 500% 500%;
	}
	80% {
		background-position: 20% 70%;
		background-size: 460% 460%;
	}
	100% {
		background-position: 0% 0%;
		background-size: 450% 450%;
	}
}

.site-footer {
	position: relative;
	z-index: 2;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(5px);
	border-top: 1px solid rgba(255, 255, 255, 0.04);
	padding: 1.8rem 2rem;
	text-align: center;
	font-size: 0.8rem;
	color: #9ca3af;
	letter-spacing: 0.2px;
}

.footer-content {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}

.footer-links a {
	color: #b9c7d9;
	text-decoration: none;
	margin: 0 1rem;
	transition: color 0.2s;
	font-size: 0.85rem;
}

.footer-links a:hover {
	color: #e2e8f0;
	text-decoration: underline;
}

.copyright {
	opacity: 0.7;
	font-size: 0.75rem;
}

@media (max-width: 768px) {
	:root {
		--navbar-height: 4.5rem; 
	}
	.navbar { padding: 0 1.5rem; }
	.animated-gradient-paragraph { font-size: 1.7rem; line-height: 1.4; }
	.menu-links a { font-size: 1.5rem; }
	.footer-content { flex-direction: column; gap: 0.7rem; }
}

@media (max-width: 550px) {
	.animated-gradient-paragraph { font-size: 1.35rem; }
}

body.menu-open { overflow: hidden; }