.site-footer {
	flex-shrink: 0;
	background: var(--color-navy-deep);
	color: var(--color-white);
	padding-block: 2.5rem;
}

.site-footer__inner {
	width: 100%;
}

.site-footer__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	column-gap: 2.5rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__brand {
	justify-self: start;
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: inherit;
	transition: color 0.2s ease;
}

.site-footer__brand:hover {
	color: var(--color-white);
}

.site-footer__brand-text,
.site-footer__logo + .site-footer__brand-text {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	white-space: nowrap;
}

.site-footer__logo {
	max-height: 2rem;
	width: auto;
}

.site-footer__links {
	justify-self: center;
}

.site-footer__company-list,
.site-footer__menu {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 2.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__company-list li,
.site-footer__menu li {
	margin: 0;
	padding: 0;
	line-height: 1.2;
}

.site-footer__company-list a,
.site-footer__menu a {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding-block: 0.25rem;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--color-text-muted);
	white-space: nowrap;
	transition: color 0.2s ease;
}

.site-footer__company-list a::after,
.site-footer__menu a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: var(--btn-link-border-width);
	background: var(--color-gold);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	pointer-events: none;
}

.site-footer__company-list a:hover,
.site-footer__company-list a:focus-visible,
.site-footer__company-list a:active,
.site-footer__menu a:hover,
.site-footer__menu a:focus-visible,
.site-footer__menu a:active,
.site-footer__menu .current-menu-item > a,
.site-footer__menu .current-menu-ancestor > a,
.site-footer__menu .current_page_item > a,
.site-footer__menu a[aria-current="page"] {
	color: var(--color-gold);
}

.site-footer__company-list a:hover::after,
.site-footer__company-list a:focus-visible::after,
.site-footer__company-list a:active::after,
.site-footer__menu a:hover::after,
.site-footer__menu a:focus-visible::after,
.site-footer__menu a:active::after,
.site-footer__menu .current-menu-item > a::after,
.site-footer__menu .current-menu-ancestor > a::after,
.site-footer__menu .current_page_item > a::after,
.site-footer__menu a[aria-current="page"]::after {
	transform: scaleX(1);
}

.site-footer__copyright {
	justify-self: end;
	max-width: 28rem;
	text-align: right;
	font-size: 0.75rem;
	color: var(--color-text-faint);
	letter-spacing: 0.02em;
}

.site-footer__copyright p {
	margin: 0;
}

.site-footer__copyright p + p {
	margin-top: 0.35rem;
}

.site-footer__copyright a {
	color: var(--color-white);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.site-footer__copyright a:hover,
.site-footer__copyright a:focus-visible {
	color: var(--color-gold);
}

.site-footer__bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-top: 2rem;
	font-size: 0.75rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--color-text-faint);
	text-align: center;
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__bottom p + p {
	margin-top: 0.35rem;
}

.site-footer__bottom a,
.site-footer__bottom-link {
	position: relative;
	display: inline-block;
	padding-bottom: 0.15em;
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	color: var(--color-white);
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-footer__bottom a::after,
.site-footer__bottom-link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: var(--btn-link-border-width);
	background: var(--color-gold);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	pointer-events: none;
}

.site-footer__bottom a:hover,
.site-footer__bottom a:focus-visible,
.site-footer__bottom a:active,
.site-footer__bottom-link:hover,
.site-footer__bottom-link:focus-visible,
.site-footer__bottom-link:active {
	color: var(--color-gold);
}

.site-footer__bottom a:hover::after,
.site-footer__bottom a:focus-visible::after,
.site-footer__bottom a:active::after,
.site-footer__bottom-link:hover::after,
.site-footer__bottom-link:focus-visible::after,
.site-footer__bottom-link:active::after {
	transform: scaleX(1);
}

@media (max-width: 1100px) {
	.site-footer {
		padding-block: 1.5rem;
	}

	.site-footer__row {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		row-gap: 0.75rem;
		column-gap: 0;
		padding-bottom: 0.85rem;
	}

	.site-footer__brand,
	.site-footer__links,
	.site-footer__copyright {
		justify-self: center;
		width: 100%;
		max-width: none;
	}

	.site-footer__brand {
		display: flex;
		justify-content: center;
	}

	.site-footer__brand-text {
		white-space: normal;
		line-height: 1.2;
	}

	.site-footer__company-list,
	.site-footer__menu {
		flex-wrap: wrap;
		justify-content: center;
		gap: 0.35rem 1.25rem;
	}

	.site-footer__company-list a,
	.site-footer__menu a {
		letter-spacing: 0.08em;
		line-height: 1.2;
	}

	.site-footer__copyright {
		text-align: center;
	}

	.site-footer__bottom {
		padding-top: 0.75rem;
		gap: 0.2rem;
	}
}

@media (max-width: 640px) {
	.site-footer {
		padding-block: 1.25rem;
	}

	.site-footer__row {
		row-gap: 0.5rem;
		padding-bottom: 0.7rem;
	}

	.site-footer__company-list,
	.site-footer__menu {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: center;
		gap: 0.3rem;
	}

	.site-footer__company-list a,
	.site-footer__menu a {
		letter-spacing: 0.08em;
	}

	.site-footer__bottom {
		line-height: 1.4;
		padding-inline: 0.5rem;
		padding-top: 0.65rem;
	}

	.site-footer__bottom p + p {
		margin-top: 0.2rem;
	}
}
