/**
 * Site footer (ADR-030): brand line, link columns, large wordmark, legal row.
 */

.pc-footer {
	padding-block: var(--wp--preset--spacing--80) var(--wp--preset--spacing--60);
	padding-inline: max(var(--wp--style--root--padding-left), calc((100% - var(--wp--style--global--wide-size)) / 2));
}

.pc-footer > *,
.pc-footer .pc-footer__top > *,
.pc-footer .pc-footer__brand > *,
.pc-footer .pc-footer__column > *,
.pc-footer .pc-footer__legal > * {
	margin: 0;
}

.pc-footer .pc-footer__top {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--70) var(--wp--preset--spacing--60);
}

.pc-footer .pc-footer__brand {
	grid-column: 1 / -1;
}

.pc-footer .pc-footer__strap {
	max-width: 9em;
	margin-top: var(--wp--preset--spacing--50);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.75rem;
	line-height: 1.15;
	letter-spacing: 0.04em;
}

.pc-footer .pc-footer__heading {
	margin-bottom: var(--wp--preset--spacing--50);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	line-height: 1.4;
	text-transform: uppercase;
	letter-spacing: 0;
}

.pc-footer .pc-footer__nav {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 400;
}

.pc-footer .pc-footer__nav .wp-block-navigation__container {
	gap: 0.875rem;
}

/* One line: "PETITE CHARMER" in Cinzel capitals is about 9.2em wide. */
.pc-footer .pc-footer__wordmark {
	margin-block: var(--wp--preset--spacing--80) var(--wp--preset--spacing--60);
	font-size: clamp(1.75rem, 9vw, 8.75rem);
	line-height: 1;
	text-align: center;
}

.pc-footer .pc-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 2rem;
	justify-content: space-between;
	padding-top: var(--wp--preset--spacing--50);
	font-size: var(--wp--preset--font-size--small);
	border-top: 1px solid var(--wp--preset--color--contrast);
}

.pc-footer .pc-footer__legal a {
	text-decoration: none;
}

.pc-footer .pc-footer__legal a:hover {
	text-decoration: underline;
}

@media (min-width: 1024px) {

	.pc-footer .pc-footer__top {
		grid-template-columns: 2fr 1fr 1fr 1fr;
	}

	.pc-footer .pc-footer__brand {
		grid-column: auto;
	}
}
