.site-header {
	position: fixed;
	top: 14px;
	left: 0;
	width: 100%;
	z-index: 1200;
	opacity: 0;
	transform: translateY(-16px);
	pointer-events: none;
	transition: opacity 0.26s ease, transform 0.26s ease;
}

.site-header.is-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.site-header.is-in-hero {
	opacity: 0;
	transform: translateY(-16px);
	pointer-events: none;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 64px;
	padding: 8px 12px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(8, 8, 8, 0.84);
	backdrop-filter: blur(14px);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.site-header__brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0 10px;
	height: 44px;
	border-radius: 10px;
	color: var(--text);
	white-space: nowrap;
}

.site-header__brand-logo {
	display: block;
	height: 28px;
	width: auto;
	object-fit: contain;
}

.site-header__brand:hover {
	background: rgba(255, 255, 255, 0.08);
}

.site-header__nav {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.site-header__group,
.mobile-sidebar__group {
	position: relative;
}

.site-header__group summary,
.mobile-sidebar__group summary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 42px;
	padding: 0 16px;
	border-radius: 10px;
	font-size: 0.86rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(247, 244, 238, 0.84);
	cursor: pointer;
	list-style: none;
	transition: background-color 0.22s ease, color 0.22s ease;
}

.site-header__group summary::-webkit-details-marker,
.mobile-sidebar__group summary::-webkit-details-marker {
	display: none;
}

.site-header__group summary::after,
.mobile-sidebar__group summary::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-1px);
	transition: transform 0.22s ease;
}

.site-header__group[open] summary::after,
.mobile-sidebar__group[open] summary::after {
	transform: rotate(-135deg) translateY(-1px);
}

.site-header__group summary:hover,
.mobile-sidebar__group summary:hover,
.site-header__group[open] summary,
.mobile-sidebar__group[open] summary {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
}

.site-header__dropdown-menu {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	min-width: 220px;
	padding: 8px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(8, 8, 8, 0.96);
	backdrop-filter: blur(12px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
	display: grid;
	gap: 4px;
	z-index: 20;
}

.site-header__dropdown-menu a,
.mobile-sidebar__submenu a {
	display: flex;
	align-items: center;
	min-height: 42px;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 0.84rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: rgba(247, 244, 238, 0.84);
	transition: background-color 0.22s ease, color 0.22s ease;
}

.site-header__dropdown-menu a:hover,
.mobile-sidebar__submenu a:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
}

.mobile-sidebar__submenu {
	display: grid;
	gap: 8px;
	padding: 8px 0 0 12px;
}

.site-header__nav a,
.mobile-sidebar__nav a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	padding: 0 16px;
	border-radius: 10px;
	font-size: 0.86rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(247, 244, 238, 0.84);
	transition: background-color 0.22s ease, color 0.22s ease;
}

.site-header__nav a:hover,
.mobile-sidebar__nav a:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
}

.site-header__menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.08);
	padding: 10px;
	cursor: pointer;
}

.site-header__menu-toggle span {
	display: block;
	width: 100%;
	height: 2px;
	border-radius: 999px;
	background: #ffffff;
	margin: 4px 0;
}

.mobile-sidebar-backdrop {
	position: fixed;
	inset: 0;
	z-index: 1240;
	background: rgba(0, 0, 0, 0.52);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.22s ease;
}

.mobile-sidebar-backdrop.is-open {
	opacity: 1;
	pointer-events: auto;
}

.mobile-sidebar {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 1250;
	width: min(86vw, 340px);
	height: 100vh;
	padding: 24px;
	border-left: 1px solid rgba(255, 255, 255, 0.12);
	background: #0b0b0b;
	transform: translateX(106%);
	transition: transform 0.25s ease;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.mobile-sidebar.is-open {
	transform: translateX(0);
}

.mobile-sidebar__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.mobile-sidebar__title {
	font-family: "Cormorant Garamond", serif;
	font-size: 1.55rem;
	letter-spacing: 0.03em;
}

.mobile-sidebar__close {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--text);
	font-size: 1rem;
	cursor: pointer;
}

.mobile-sidebar__nav {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 8px;
}

.mobile-sidebar__nav a,
.mobile-sidebar__group summary {
	justify-content: flex-start;
	font-size: 0.9rem;
	height: 44px;
}

body.mobile-menu-open {
	overflow: hidden;
}

@media (min-width: 1440px) {
	.site-header {
		top: 18px;
	}

	.site-header__inner {
		min-height: 70px;
		padding: 10px 14px;
	}

	.site-header__brand {
		height: 48px;
	}

	.site-header__brand-logo {
		height: 31px;
	}

	.site-header__nav a {
		height: 44px;
		padding: 0 18px;
		font-size: 0.9rem;
	}
}

@media (max-width: 960px) {
	.site-header {
		top: 10px;
	}

	.site-header__inner {
		min-height: 58px;
		padding: 7px 10px;
		border-radius: 12px;
	}

	.site-header__brand {
		height: 40px;
		padding: 0 8px;
	}

	.site-header__brand-logo {
		height: 24px;
	}

	.site-header__nav {
		display: none;
	}

	.site-header__menu-toggle {
		display: block;
	}
}

@media (max-width: 560px) {
	.site-header {
		top: 8px;
	}

	.site-header__inner {
		min-height: 54px;
		padding: 6px 8px;
		border-radius: 10px;
	}

	.site-header__brand {
		height: 36px;
		padding: 0 6px;
	}

	.site-header__brand-logo {
		height: 21px;
	}

	.site-header__menu-toggle {
		width: 40px;
		height: 40px;
		padding: 9px;
	}

	.mobile-sidebar {
		width: min(92vw, 320px);
		padding: 20px;
	}
}
