.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #000;
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

body.home .site-header {
	position: fixed;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.21);
	border-bottom-color: transparent;
}

body.home .site-header.is-shrunk {
	background: #000;
	border-bottom-color: rgba(255, 255, 255, 0.14);
}

.site-header a,
.site-header button {
	color: #fff;
}

.site-header.is-hidden {
	transform: translateY(-100%);
}

.site-header__row,
.site-nav__inner,
.site-header__tools,
.header-tool,
.logo {
	display: flex;
	align-items: center;
}

.site-header__row {
	justify-content: space-between;
	gap: 1.25rem;
	min-height: 84px;
}

@media (min-width: 981px) {
	.site-header__row {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
	}

	.site-nav {
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
		flex: none;
	}

	.logo {
		grid-column: 2;
		grid-row: 1;
		justify-self: center;
	}

	.site-header__tools {
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
	}
}

.site-nav {
	flex: 1;
	min-width: 0;
}

.site-nav__inner {
	justify-content: flex-start;
}

.site-header.is-shrunk .site-header__row {
	min-height: 70px;
}

.logo {
	color: inherit;
	text-decoration: none;
	line-height: 0;
}

.logo img {
	display: block;
	height: 107px;
	width: auto;
}

.site-header.is-shrunk .logo img {
	height: 64px;
}

.site-header__tools {
	gap: 0.85rem;
}

.header-side {
	display: flex;
	align-items: center;
	gap: 0.15rem;
}

.header-side a {
	display: inline-flex;
	padding: 0.45rem 0.35rem;
	color: inherit;
	text-decoration: none;
	font-size: 0.7rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-weight: 600;
	white-space: nowrap;
}

.header-side a:hover,
.header-side a.is-current {
	color: #e4c07a;
}

.header-tool {
	gap: 0.4rem;
	padding: 0.45rem 0.7rem;
	color: inherit;
	text-decoration: none;
	font-size: 0.82rem;
}

.header-tool--accent {
	background: #fff;
	border: 1px solid #fff;
	color: #000;
}

.header-tool--accent:hover {
	background: transparent;
	color: #fff;
}

.icon-button,
.nav-expand,
.nav-close {
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.nav-toggle,
.nav-close,
.nav-expand {
	display: none;
}

.nav-list {
	display: flex;
	gap: 0.05rem;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: flex-start;
	flex-wrap: nowrap;
}

.nav-item {
	position: static;
}

.nav-item > a,
.nav-item__row > a {
	display: inline-flex;
	padding: 0.45rem 0.35rem;
	color: inherit;
	text-decoration: none;
	font-size: 0.7rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-weight: 600;
	white-space: nowrap;
}

.nav-item.is-current > a,
.nav-item:hover > a,
.nav-item__row > a:hover {
	color: #e4c07a;
}

.mega {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	background: #111;
	color: #fff;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: var(--shadow);
	padding: 1.8rem 0 2rem;
}

.nav-item:hover > .mega,
.nav-item:focus-within > .mega,
.nav-item.is-open > .mega {
	display: block;
}

.mega__grid {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr;
	gap: 2rem;
	align-items: start;
}

.mega__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.35rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.mega-item a {
	color: inherit;
	text-decoration: none;
	display: inline-block;
	padding: 0.35rem 0;
}

.mega-item a:hover {
	color: #e4c07a;
}

.mega__card,
.mega__card-title,
.mega__card-more {
	color: var(--color-ink);
}

.mega__card {
	display: block;
	position: relative;
	min-height: 220px;
	overflow: hidden;
	background: var(--color-paper);
	color: inherit;
	text-decoration: none;
}

.mega__card-img,
.mega__card img {
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.mega__card img.is-logo-mark {
	object-fit: contain;
	background: transparent;
}

.mega__card-body {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 0.9rem 0 0;
}

.mega__card-title {
	font-family: var(--font-serif);
	font-size: 1.8rem;
}

.mega__card-more {
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.search-panel {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	padding: 1rem 0 1.2rem;
	background: #000;
	color: #fff;
}

.search-panel__form {
	display: flex;
	gap: 0.6rem;
	align-items: center;
}

.search-panel__form input {
	flex: 1;
	border: 0;
	border-bottom: 1px solid #fff;
	padding: 0.7rem 0;
	background: transparent;
	color: #fff;
	outline: none;
}

.search-panel__form input::placeholder {
	color: rgba(255, 255, 255, 0.62);
}

body.nav-open,
body.search-open {
	overflow: hidden;
}

@media (max-width: 980px) {
	.header-tool span {
		display: none;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.site-nav {
		position: fixed;
		inset: 0;
		background: #000;
		transform: translateX(100%);
		transition: transform 0.35s var(--ease);
		overflow: auto;
		padding: 1rem 0 3rem;
	}

	body.nav-open .site-nav {
		transform: none;
	}

	.site-nav__inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.nav-close {
		display: inline-flex;
		margin-left: auto;
	}

	.nav-list {
		flex-direction: column;
		width: 100%;
	}

	.nav-item__row {
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 100%;
	}

	.nav-expand {
		display: inline-flex;
		padding: 0.8rem;
	}

	.nav-item.is-open .nav-expand svg {
		transform: rotate(180deg);
	}

	.mega,
	.nav-item:hover > .mega,
	.nav-item:focus-within > .mega {
		display: none;
		position: static;
		box-shadow: none;
		padding: 0 0 0.6rem;
	}

	.nav-item.is-open > .mega {
		display: block;
	}

	.mega__grid,
	.mega__list {
		grid-template-columns: 1fr;
	}
}
