.site-footer {
	--footer-purple: var(--wp--preset--color--purple, #43358b);
	--footer-pink: var(--wp--preset--color--pink, #e6007e);
	--footer-yellow: var(--wp--preset--color--yellow, #ffed00);
	--footer-white: var(--wp--preset--color--white, #eff1f2);
	--footer-font-weight: 900;
	position: relative;
	margin-block-start: 0;
	background: var(--footer-purple);
	color: var(--footer-white);
	font-family:
		"Roboto Condensed Header", "Roboto Condensed", sans-serif;
	font-style: normal;
}

.site-footer,
.site-footer *,
.site-footer *::before,
.site-footer *::after {
	box-sizing: border-box;
}

.site-footer :where(h2, p, ul) {
	margin-block: 0;
}

.site-footer :where(ul) {
	padding: 0;
	list-style: none;
}

.site-footer :where(button) {
	font: inherit;
}

.site-footer__inner {
	position: relative;
	width: min(100%, 2048px);
	margin-inline: auto;
	padding: clamp(3.5rem, 4vw, 5.125rem)
		clamp(1.5rem, 2.1vw, 2.6875rem);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(2rem, 2.65vw, 3.375rem);
	align-items: start;
}

.site-footer__section {
	min-width: 0;
}

.site-footer__heading {
	margin: 0 0 0.8rem;
	background: transparent !important;
	color: inherit !important;
	font-size: 1.125rem;
	font-weight: var(--footer-font-weight);
	line-height: 1.2;
	text-transform: uppercase;
}

.site-footer__toggle {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	text-align: left;
	text-transform: inherit;
}

.site-footer__toggle svg {
	display: none;
}

.site-footer__panel[hidden] {
	display: none;
}

.site-footer__links,
.site-footer__links ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__links ul {
	padding-inline-start: 0.95rem;
}

.site-footer__link {
	display: inline-flex;
	align-items: center;
	color: var(--footer-white);
	font-size: clamp(1.0625rem, 0.98vw, 1.25rem);
	font-weight: 400;
	line-height: 1.7;
	text-decoration: none;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.18em;
	transition:
		color 160ms ease,
		text-decoration-color 160ms ease;
}

a.site-footer__link:hover {
	color: var(--footer-white);
	text-decoration: underline;
}

.site-footer__link:focus-visible,
.site-footer__toggle:focus-visible,
.site-footer__social-link:focus-visible,
.site-footer__legal a:focus-visible {
	position: relative;
	z-index: 1;
	outline: 3px solid var(--footer-yellow);
	outline-offset: 3px;
}

.site-footer__social {
	display: flex;
	align-items: center;
	gap: clamp(2rem, 3.8vw, 4.875rem);
	margin-top: clamp(2.75rem, 3vw, 3.75rem);
}

.site-footer__social > p,
.site-footer__social-label {
	flex: 0 0 auto;
	color: var(--footer-white);
	font-size: clamp(1.0625rem, 0.98vw, 1.25rem);
	font-weight: var(--footer-font-weight);
	line-height: 1.25;
	white-space: nowrap;
}

.site-footer__social-links {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 0.625rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__social-link {
	display: inline-flex;
	width: 2.75rem;
	min-width: 2.75rem;
	height: 2.75rem;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: var(--footer-white);
	color: var(--footer-purple);
	text-decoration: none;
	transition:
		background-color 160ms ease,
		color 160ms ease,
		transform 160ms ease;
}

.site-footer__social-link svg {
	display: block;
	width: 1.375rem;
	height: 1.375rem;
	fill: currentcolor;
}

.site-footer__social-link--instagram svg {
	fill: none;
	stroke: currentcolor;
	stroke-width: 2;
}

.site-footer__social-link--instagram .site-footer__social-icon-dot {
	fill: currentcolor;
	stroke: none;
}

.site-footer__social-link:hover {
	background: var(--footer-pink);
	color: var(--footer-white);
	transform: translateY(-2px);
}

.site-footer__social-link:active {
	transform: translateY(0);
}

.site-footer__legal {
	color: var(--footer-white);
	font-size: clamp(1rem, 0.98vw, 1.25rem);
	font-weight: var(--footer-font-weight);
	line-height: 1.3;
	text-align: right;
}

.site-footer__legal p {
	margin: 0;
}

.site-footer__legal a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.18em;
	transition: color 160ms ease;
}

.site-footer__legal a:hover {
	color: var(--footer-white);
}

@media (min-width: 1201px) {
	.site-footer__inner {
		min-height: max(41rem, calc(100vh - 125px));
		min-height: max(41rem, calc(100dvh - 125px));
		padding-bottom: 5.125rem;
	}

	.site-footer__toggle {
		pointer-events: none;
	}

	.site-footer__social {
		position: absolute;
		top: 28.75rem;
		left: calc(25% + 2rem);
		margin-top: 0;
	}

	.site-footer__legal {
		position: absolute;
		right: clamp(1.5rem, 2.1vw, 2.6875rem);
		bottom: 5.125rem;
		max-width: min(58rem, 56%);
	}
}

@media (max-width: 1200px) {
	.site-footer__inner {
		display: flex;
		min-height: calc(100vh - 4rem);
		min-height: calc(100dvh - 4rem);
		flex-direction: column;
		padding: 2.5rem 1rem 2rem;
	}

	.site-footer__grid {
		display: block;
	}

	.site-footer__section,
	.site-footer__section:not(:first-child) {
		padding-inline-start: 0;
		border-bottom: 1px solid color-mix(in srgb, var(--footer-white) 28%, transparent);
	}

	.site-footer__heading {
		margin: 0;
		font-size: 1.0625rem;
	}

	.site-footer__toggle {
		display: flex;
		min-height: 3.5rem;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
		padding: 0.75rem 0.25rem;
		cursor: pointer;
		transition:
			background-color 160ms ease,
			color 160ms ease;
	}

	.site-footer__toggle:hover,
	.site-footer__toggle[aria-expanded="true"] {
		color: var(--footer-yellow);
	}

	.site-footer__toggle svg {
		display: block;
		width: 1.25rem;
		height: 1.25rem;
		flex: 0 0 auto;
		fill: none;
		stroke: currentcolor;
		stroke-linecap: round;
		stroke-linejoin: round;
		stroke-width: 2;
		transition: transform 200ms ease;
	}

	.site-footer__toggle[aria-expanded="true"] svg,
	.site-footer__section.is-open .site-footer__toggle svg {
		transform: rotate(180deg);
	}

	.site-footer__panel {
		display: grid;
		grid-template-rows: 0fr;
		visibility: hidden;
		transition:
			grid-template-rows 220ms ease,
			visibility 0s linear 220ms;
	}

	.site-footer__section.is-open > .site-footer__panel,
	.site-footer__section:has(
			.site-footer__toggle[aria-expanded="true"]
		)
		> .site-footer__panel {
		grid-template-rows: 1fr;
		visibility: visible;
		transition-delay: 0s;
	}

	.site-footer__panel[hidden] {
		display: none;
	}

	.site-footer__links {
		min-height: 0;
		overflow: hidden;
		padding: 0.25rem 0 0.85rem;
	}

	.site-footer__links ul {
		padding-inline-start: 1rem;
	}

	.site-footer__link {
		display: flex;
		min-height: 2.75rem;
		padding: 0.45rem 0.25rem;
		font-size: 1.0625rem;
		line-height: 1.25;
	}

	.site-footer__social {
		display: grid;
		gap: 1.25rem;
		margin-block: 1.75rem;
		padding-inline: 0.25rem;
	}

	.site-footer__social > p,
	.site-footer__social-label {
		font-size: 1.0625rem;
		white-space: normal;
	}

	.site-footer__social-links {
		gap: 0.75rem;
	}

	.site-footer__social-link {
		width: 3rem;
		min-width: 3rem;
		height: 3rem;
	}

	.site-footer__legal {
		margin-top: auto;
		padding-top: 1.5rem;
		border-top: 1px solid color-mix(in srgb, var(--footer-white) 28%, transparent);
		font-size: 0.9375rem;
		line-height: 1.45;
		text-align: left;
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-footer__link,
	.site-footer__toggle,
	.site-footer__toggle svg,
	.site-footer__panel,
	.site-footer__social-link,
	.site-footer__legal a {
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
	}
}
