/* HEADER / TOP NAV */
nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.1rem 2.5rem;
	border-bottom: 0.5px solid var(--border);
	position: sticky;
	top: 0;
	background: var(--bg);
	z-index: 100;
	backdrop-filter: blur(10px);
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

nav:hover {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	backdrop-filter: blur(15px);
}

.nav-logo {
	font-family: var(--serif);
	font-size: 1.15rem;
	letter-spacing: -0.01em;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-logo:hover {
	color: var(--gold);
	transform: scale(1.05);
}

.nav-logo span {
	font-style: italic;
	color: var(--gold);
}

.nav-links {
	display: flex;
	gap: 1.4rem;
	list-style: none;
}

.nav-links a {
	text-decoration: none;
	color: var(--mute);
	font-size: 14px;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	display: inline-block;
	padding: 0.4rem 0;
	position: relative;
}

.nav-links a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: currentColor;
	transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-links a:hover {
	transform: translateY(-2px);
}

.nav-links a:hover::after {
	width: 100%;
}

.nav-ham {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--ink);
	font-size: 1.4rem;
	line-height: 1;
}

@media (max-width: 800px) {
	.nav-links { display: none; }
	.nav-ham { 
		display: block; 
		position: relative; 
		z-index: 101; 
		width: auto;
		min-width: 44px;
		min-height: 44px;
		padding: 8px 12px; 
	}
	.nav-links.open {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--bg);
		border-bottom: 0.5px solid var(--border);
		padding: 1.25rem 2.5rem;
		gap: 1rem;
		z-index: 100;
		max-height: calc(100vh - 70px);
		overflow-y: auto;
		animation: slideDown 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	}
}

@media (max-width: 600px) {
	nav {
		padding: 1rem 1.25rem;
	}
}

@keyframes slideDown {
	from { opacity: 0; transform: translateY(-20px); }
	to { opacity: 1; transform: translateY(0); }
}