/*
 * The site footer's four columns (Place Pages 0.60.0; includes/footer.php). The footer is the style
 * reference's dark chrome (Ink Deep, set on Kadence's footer rows), so this takes the header's colours:
 * Cream text, Rust on Ink for focus rings, the button a Rust fill with a Paper label (Rust Deep on hover)
 * (docs/site-style-reference.html). Four columns from 1024px, two from 640px, one on phones.
 */

.pf-footer {
	--pf-ft-cream: #E8E2D6;
	--pf-ft-cream-soft: rgba(232, 226, 214, .78);
	--pf-ft-cream-body: rgba(232, 226, 214, .86);
	--pf-ft-cream-muted: rgba(232, 226, 214, .62);
	--pf-ft-field-edge: rgba(232, 226, 214, .32);
	--pf-ft-raised: #1B1E24;
	--pf-ft-rust: #B4552B;
	--pf-ft-rust-deep: #A24C27;
	--pf-ft-rust-on-ink: #D06837;
	--pf-ft-paper: #FAF7F1;
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	color: var(--pf-ft-cream-body);
	font-size: 16px;
	line-height: 1.6;
	text-align: left;
}

@media (min-width: 640px) {
	.pf-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
}

@media (min-width: 1024px) {
	.pf-footer { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr); gap: 40px; }
}

.pf-footer__col { min-width: 0; }

.pf-footer a.pf-footer__home { display: inline-block; line-height: 0; text-decoration: none; }
.pf-footer img.pf-footer__logo { display: block; width: 229px; max-width: 100%; height: auto; }
.pf-footer__name { color: var(--pf-ft-cream); font-size: 20px; font-weight: 600; line-height: 1.3; }
.pf-footer p.pf-footer__statement { max-width: 34ch; margin: 16px 0 0; }

.pf-footer h2.pf-footer__heading {
	margin: 0 0 8px;
	color: var(--pf-ft-cream);
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	line-height: 1.4;
	text-transform: uppercase;
}

.pf-footer ul.pf-footer__links { margin: 0; padding: 0; list-style: none; }
.pf-footer ul.pf-footer__links li { margin: 0; padding: 0; }
.pf-footer ul.pf-footer__links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--pf-ft-cream-soft);
	font-size: 15px;
	line-height: 1.4;
	text-decoration: none;
}
.pf-footer ul.pf-footer__links a:hover,
.pf-footer ul.pf-footer__links .current-menu-item > a { color: var(--pf-ft-cream); }

.pf-footer p.pf-footer__intro { margin: 0 0 12px; font-size: 15px; }

.pf-footer form.pf-footer__form { display: flex; gap: 8px; margin: 0; }
.pf-footer input.pf-footer__email {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 44px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid var(--pf-ft-field-edge);
	border-radius: 2px;
	background: var(--pf-ft-raised);
	box-shadow: none;
	color: var(--pf-ft-cream);
	font-family: inherit;
	font-size: 16px; /* 16px keeps iOS from zooming in on focus */
}
.pf-footer input.pf-footer__email::placeholder { color: var(--pf-ft-cream-muted); opacity: 1; }
.pf-footer input.pf-footer__email:focus { border-color: var(--pf-ft-cream-soft); outline: none; }

.pf-footer button.pf-footer__submit {
	flex: 0 0 auto;
	min-height: 44px;
	margin: 0;
	padding: 0 16px;
	border: 0;
	border-radius: 2px;
	background: var(--pf-ft-rust);
	color: var(--pf-ft-paper);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background-color 200ms ease-out;
}
.pf-footer button.pf-footer__submit:hover { background: var(--pf-ft-rust-deep); }

.pf-footer a:focus-visible,
.pf-footer input.pf-footer__email:focus-visible,
.pf-footer button.pf-footer__submit:focus-visible {
	outline: 2px solid var(--pf-ft-rust-on-ink);
	outline-offset: 2px;
}

.pf-footer p.pf-footer__note { margin: 8px 0 0; color: var(--pf-ft-cream-soft); font-size: 14px; line-height: 1.5; }
.pf-footer p.pf-footer__note:empty { display: none; }

@media (prefers-reduced-motion: reduce) {
	.pf-footer button.pf-footer__submit { transition: none; }
}
