/* =========================================================
   FI-600 — THE FOUNDRY FOOTER
   Revision 1.1 · Approved
   ========================================================= */

.fds-footer-cta,
.fds-site-footer {
	--fds-footer-ivory: #e9e3d6;
	--fds-footer-coal: #171918;
	--fds-footer-deep: #111312;
	--fds-footer-rule: rgba(198, 203, 199, .32);
	--fds-footer-copper: var(--fds-copper, #b56a3a);
	font-family: var(--fds-font-body);
}

.fds-footer-cta {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(5.5rem, 8vw, 8rem) 0;
	border-top: 1px solid rgba(181, 106, 58, .62);
	border-bottom: 1px solid rgba(181, 106, 58, .82);
	background:
		radial-gradient(circle at 8% 10%, rgba(255,255,255,.025), transparent 24rem),
		linear-gradient(180deg, #1d201e, var(--fds-footer-coal));
	color: #e9e3d6;
	text-align: center;
}

.fds-footer-cta::before,
.fds-footer-cta::after {
	content: "";
	position: absolute;
	z-index: -1;
	width: min(32vw, 31rem);
	aspect-ratio: 1;
	pointer-events: none;
	opacity: .17;
}

.fds-footer-cta::before {
	top: -9rem;
	left: -8rem;
	background:
		repeating-radial-gradient(circle at center, transparent 0 27px, var(--fds-steel-500) 28px 29px),
		linear-gradient(90deg, transparent 49.8%, var(--fds-steel-500) 50%, transparent 50.2%),
		linear-gradient(transparent 49.8%, var(--fds-steel-500) 50%, transparent 50.2%);
}

.fds-footer-cta::after {
	top: -4rem;
	right: 1rem;
	border: 1px solid var(--fds-steel-500);
	background:
		linear-gradient(var(--fds-steel-500) 1px, transparent 1px),
		linear-gradient(90deg, var(--fds-steel-500) 1px, transparent 1px);
	background-size: 42px 42px;
	transform: rotate(2deg);
}

.fds-footer-cta__inner {
	width: min(calc(100% - 3rem), 900px);
	margin-inline: auto;
}

.fds-footer-cta__eyebrow {
	margin: 0 0 1.2rem;
	color: #5e8b80;
	font-family: var(--fds-font-heading);
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.fds-footer-cta__eyebrow::after {
	content: "";
	display: block;
	width: 4.5rem;
	height: 1px;
	margin: .9rem auto 0;
	background: var(--fds-footer-copper);
}

.fds-footer-cta__title {
	margin: 0;
	color: var(--fds-footer-ivory);
	font-family: var(--fds-font-heading);
	font-size: clamp(2.8rem, 5.4vw, 5.7rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -.045em;
}

.fds-footer-cta__copy {
	max-width: 48rem;
	margin: 1.7rem auto 2.25rem;
	color: rgba(233, 227, 214, .82);
	font-size: clamp(1rem, 1.45vw, 1.22rem);
	line-height: 1.65;
}

.fds-footer-cta__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1.25rem;
	min-height: 62px;
	padding: 1rem 2.25rem;
	border: 1px solid var(--fds-copper-dark, #8d4d29);
	border-radius: 4px;
	background:
		linear-gradient(180deg, rgba(255,224,195,.22), rgba(181,106,58,.08) 38%, rgba(86,38,16,.28)),
		url("../images/home/hammered-copper.webp");
	background-position: center;
	background-size: 420px auto;
	box-shadow:
		inset 0 1px 0 rgba(255,238,220,.35),
		inset 0 -2px 0 rgba(79,31,11,.35),
		0 8px 18px rgba(0,0,0,.34);
	color: #e9e3d6;
	font-family: var(--fds-font-heading);
	font-size: .85rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-decoration: none;
	text-transform: uppercase;
	transition: transform var(--fds-transition-fast), box-shadow var(--fds-transition-fast);
}

.fds-footer-cta__button:hover,
.fds-footer-cta__button:focus {
	color: #e9e3d6;
	transform: translateY(-2px);
	box-shadow:
		inset 0 1px 0 rgba(255,245,230,.45),
		inset 0 -2px 0 rgba(79,31,11,.28),
		0 12px 24px rgba(0,0,0,.4);
}

.fds-site-footer {
	position: relative;
	padding: 2.4rem 0 1.25rem;
	background: var(--fds-footer-deep);
	color: var(--fds-footer-ivory);
}

.fds-site-footer__frame {
	width: min(calc(100% - 3rem), var(--fds-site-width, 1440px));
	margin-inline: auto;
	border: 1px solid rgba(181, 106, 58, .58);
}

.fds-site-footer__main {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(14rem, .75fr) minmax(12rem, .65fr);
	min-height: 270px;
}

.fds-site-footer__brand,
.fds-site-footer__nav,
.fds-site-footer__connect {
	padding: clamp(2rem, 4vw, 3.2rem);
}

.fds-site-footer__nav,
.fds-site-footer__connect {
	border-left: 1px solid var(--fds-footer-rule);
}

.fds-site-footer__lockup {
	display: flex;
	align-items: center;
	gap: 1.1rem;
}

.fds-site-footer__anvil {
	width: clamp(90px, 10vw, 150px);
	height: auto;
	object-fit: contain;
}

.fds-site-footer__wordmark {
	font-family: var(--fds-font-heading);
	font-size: clamp(1.55rem, 2.6vw, 2.8rem);
	font-weight: 800;
	letter-spacing: .12em;
	line-height: .92;
	text-transform: uppercase;
}

.fds-site-footer__wordmark span,
.fds-site-footer__wordmark strong {
	display: block;
}

.fds-site-footer__wordmark span {
	color: var(--fds-footer-ivory);
}

.fds-site-footer__wordmark strong {
	margin-top: .35rem;
	color: var(--fds-footer-copper);
}

.fds-site-footer__tagline {
	margin: 1.7rem 0 0;
	color: #5e8b80;
	font-family: var(--fds-font-heading);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .16em;
	line-height: 1.9;
	text-transform: uppercase;
}

.fds-site-footer__tagline span,
.fds-site-footer__heading {
	color: var(--fds-footer-copper);
}

.fds-site-footer__heading {
	margin: 0 0 1.4rem;
	font-family: var(--fds-font-heading);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .17em;
	text-transform: uppercase;
}

.fds-site-footer__heading::after {
	content: "";
	display: block;
	width: 2.4rem;
	height: 1px;
	margin-top: .65rem;
	background: var(--fds-footer-copper);
}

.fds-site-footer__nav ul,
.fds-site-footer__connect ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fds-site-footer__nav li {
	border-bottom: 1px solid rgba(198, 203, 199, .24);
}

.fds-site-footer__nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: .7rem 0;
	color: var(--fds-footer-ivory);
	font-family: var(--fds-font-heading);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-decoration: none;
	text-transform: uppercase;
}

.fds-site-footer__nav a span {
	color: var(--fds-footer-copper);
	font-size: 1.45em;
	transition: transform var(--fds-transition-fast);
}

.fds-site-footer__nav a:hover span,
.fds-site-footer__nav a:focus span {
	transform: translateX(4px);
}

.fds-site-footer__connect li + li {
	margin-top: 1rem;
}

.fds-site-footer__connect a {
	display: inline-flex;
	align-items: center;
	gap: .85rem;
	color: var(--fds-footer-ivory);
	font-family: var(--fds-font-heading);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-decoration: none;
	text-transform: uppercase;
}

.fds-site-footer__connect-mark {
	display: inline-grid;
	place-items: center;
	width: 2.2rem;
	height: 2.2rem;
	border: 1px solid var(--fds-footer-copper);
	color: var(--fds-footer-copper);
	font-family: var(--fds-font-heading);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

.fds-site-footer__titleblock {
	display: grid;
	grid-template-columns: 1.25fr 1.1fr .62fr .55fr 1.15fr .75fr;
	border-top: 1px solid var(--fds-footer-rule);
}

.fds-titleblock__cell {
	display: grid;
	align-content: center;
	min-height: 112px;
	padding: .9rem 1rem;
	border-left: 1px solid var(--fds-footer-rule);
}

.fds-titleblock__cell:first-child {
	border-left: 0;
}

.fds-titleblock__cell span,
.fds-titleblock__cell small {
	color: rgba(233, 227, 214, .58);
	font-family: var(--fds-font-heading);
	font-size: .52rem;
	font-weight: 600;
	letter-spacing: .13em;
	line-height: 1.7;
	text-transform: uppercase;
}

.fds-titleblock__cell strong {
	color: var(--fds-footer-ivory);
	font-family: var(--fds-font-heading);
	font-size: .67rem;
	font-weight: 600;
	letter-spacing: .11em;
	line-height: 1.7;
	text-transform: uppercase;
}

.fds-titleblock__cell small {
	margin-top: .8rem;
}

.fds-titleblock__target {
	position: relative;
	overflow: hidden;
}

.fds-titleblock__target::before,
.fds-titleblock__target::after,
.fds-titleblock__target span::before,
.fds-titleblock__target span::after {
	content: "";
	position: absolute;
	inset: 50%;
	transform: translate(-50%, -50%);
}

.fds-titleblock__target::before {
	width: 4.5rem;
	height: 4.5rem;
	border: 1px solid var(--fds-footer-copper);
	border-radius: 50%;
}

.fds-titleblock__target::after {
	width: 2.4rem;
	height: 2.4rem;
	border: 1px solid var(--fds-footer-copper);
	border-radius: 50%;
}

.fds-titleblock__target span::before {
	width: 6rem;
	height: 1px;
	background: var(--fds-footer-copper);
}

.fds-titleblock__target span::after {
	width: 1px;
	height: 6rem;
	background: var(--fds-footer-copper);
}

.fds-site-footer__legal {
	display: flex;
	justify-content: flex-end;
	gap: .6rem;
	padding: .8rem 1rem;
	border-top: 1px solid var(--fds-footer-rule);
	color: rgba(233,227,214,.54);
	font-family: var(--fds-font-heading);
	font-size: .58rem;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.fds-site-footer__legal a {
	color: inherit;
	text-decoration: none;
}

@media (max-width: 960px) {
	.fds-site-footer__main {
		grid-template-columns: 1fr 1fr;
	}

	.fds-site-footer__brand {
		grid-column: 1 / -1;
		border-bottom: 1px solid var(--fds-footer-rule);
	}

	.fds-site-footer__nav {
		border-left: 0;
	}

	.fds-site-footer__titleblock {
		grid-template-columns: repeat(3, 1fr);
	}

	.fds-titleblock__cell:nth-child(4) {
		border-left: 0;
	}

	.fds-titleblock__cell:nth-child(n+4) {
		border-top: 1px solid var(--fds-footer-rule);
	}
}

@media (max-width: 620px) {
	.fds-footer-cta__title {
		font-size: clamp(2.4rem, 12vw, 3.8rem);
	}

	.fds-footer-cta__button {
		width: 100%;
		padding-inline: 1rem;
	}

	.fds-site-footer__frame {
		width: calc(100% - 1.5rem);
	}

	.fds-site-footer__main {
		grid-template-columns: 1fr;
	}

	.fds-site-footer__brand,
	.fds-site-footer__nav,
	.fds-site-footer__connect {
		border-left: 0;
		border-bottom: 1px solid var(--fds-footer-rule);
		padding: 1.75rem 1.3rem;
	}

	.fds-site-footer__titleblock {
		grid-template-columns: repeat(2, 1fr);
	}

	.fds-titleblock__cell {
		border-top: 1px solid var(--fds-footer-rule);
	}

	.fds-titleblock__cell:nth-child(odd) {
		border-left: 0;
	}

	.fds-titleblock__cell:nth-child(-n+2) {
		border-top: 0;
	}

	.fds-site-footer__legal {
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fds-footer-cta__button,
	.fds-site-footer__nav a span {
		transition: none;
	}
}
