/*
 * Site footer.
 */

.wm-footer {
	background: var(--wm-dusk);
	color: var(--wm-muted-on-dark);
	padding-top: clamp(48px, 6vw, 80px);
}

.wm-footer__grid {
	display: grid;
	gap: 40px;
}

@media (min-width: 640px) {
	.wm-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wm-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (min-width: 1024px) {
	.wm-footer__grid {
		grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr));
	}

	.wm-footer__brand {
		grid-column: auto;
	}
}

.wm-footer__tagline {
	margin: 16px 0 8px;
	font-weight: 700;
	color: var(--wm-capiz);
}

.wm-footer__about {
	max-width: 38ch;
	margin: 0;
	font-family: var(--wm-font-text);
	font-size: 1.05rem;
	line-height: 1.55;
}

.wm-footer__heading {
	margin: 0 0 14px;
	font-size: var(--wm-step-0);
	letter-spacing: 0;
	color: var(--wm-capiz);
}

.wm-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}

.wm-footer a {
	color: var(--wm-muted-on-dark);
	text-decoration: none;
}

.wm-footer a:hover {
	color: var(--wm-mango);
	text-decoration: underline;
}

.wm-footer .wm-brand__word {
	font-size: 1.9rem;
}

.wm-footer__base {
	margin-top: clamp(40px, 5vw, 64px);
	padding-bottom: 24px;
	font-size: var(--wm-step--1);
}

/* Rule sits on the paragraph so it aligns with the content edge, not the gutter. */
.wm-footer__base p {
	margin: 0;
	padding-top: 24px;
	border-top: 1px solid var(--wm-line-dark);
}
