@import url('/assets/css/variables.css');



/* --------------------------------
   Header
-------------------------------- */


.logo {
	text-decoration: none;
	color: var(--text);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.logo-mark {
	width: 10px;
	height: 10px;
	background: var(--gold);
	border-radius: 50%;
	margin-right: 10px;
}

/* --------------------------------
   404 Layout
-------------------------------- */

.error-page {
	min-height: calc(100vh - 90px);
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
}

.error-content {
	width: 50%;
	padding: 5% 0 8% 10%;
	position: relative;
	z-index: 2;
}

.error-number {
	font-family: 'Roboto Slab';
	font-size: clamp(7rem, 14vw, 13rem);
	line-height: .8;
	font-weight: 800;
	letter-spacing: -0.08em;
	color: var(--gold);
	margin-bottom: 40px;
}

.eyebrow {
	font-size: .8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .16em;
	color: var(--muted);
	margin-bottom: 14px;
}

h1 {
	font-family: 'Roboto Slab';
	font-size: clamp(2.2rem, 4vw, 4rem);
	line-height: 1.05;
	letter-spacing: -0.04em;
	font-weight: 700;
	margin-bottom: 22px;
	max-width: 550px;
}

.message {
	font-family: 'Noto Sans';
	font-size: 1.1rem;
	line-height: 1.7;
	color: var(--muted);
	max-width: 500px;
	margin-bottom: 35px;
}

/* --------------------------------
   Button
-------------------------------- */

.home-button {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 14px 22px;
	background: var(--text);
	color: var(--white);
	text-decoration: none;
	font-size: .9rem;
	font-weight: 600;
	border-radius: 3px;
	transition: all .25s ease;
}

.home-button:hover {
	background: var(--gold);
	color: var(--text);
	transform: translateY(-2px);
}

.home-button span {
	font-size: 1.1rem;
	transition: transform .25s ease;
}

.home-button:hover span {
	transform: translateX(4px);
}

/* --------------------------------
   Butterfly
-------------------------------- */

.butterfly-container {
	position: absolute;
	right: -5%;
	top: 50%;
	transform: translateY(-50%);
	width: 62%;
	max-width: 900px;
	z-index: 1;
	pointer-events: none;
}

.butterfly-container img {
	display: block;
	height: auto;
}

/* --------------------------------
   Decorative gold detail
-------------------------------- */

.accent-line {
	width: 55px;
	height: 4px;
	background: var(--gold);
	margin-bottom: 28px;
}

/* --------------------------------
   Responsive
-------------------------------- */

@media (max-width: 900px) {

	.error-page {
		min-height: calc(100vh - 80px);
	}

	.error-content {
		width: 65%;
		padding-left: 7%;
	}

	.butterfly-container {
		width: 65%;
		right: -15%;
		opacity: .22;
	}

	.error-number {
		font-size: clamp(6rem, 16vw, 9rem);
	}
}

@media (max-width: 650px) {

	header {
		padding: 22px 6%;
	}

	.error-page {
		display: block;
		min-height: calc(100vh - 70px);
	}

	.error-content {
		width: 100%;
		padding: 12vh 7% 40px;
	}

	.error-number {
		font-size: 7rem;
		margin-bottom: 30px;
	}

	h1 {
		font-size: 2.5rem;
	}

	.message {
		font-size: 1rem;
	}

	.butterfly-container {
		width: 100%;
		right: -30%;
		top: auto;
		bottom: -5%;
		transform: none;
		opacity: .15;
	}
}