/**
 * Site footer — theme controlled, deep purple, gold accents.
 */

.sh-footer {
	position: relative;
	background: var(--sh-footer-bg);
	color: var(--sh-footer-text);
	overflow: hidden;
	padding-block: var(--sh-space-9) var(--sh-space-6);
	margin-top: var(--sh-space-9);
}

.sh-footer__glow {
	position: absolute;
	top: -20%;
	left: 50%;
	width: 900px;
	height: 900px;
	max-width: 140vw;
	transform: translateX(-50%);
	background: radial-gradient(circle, var(--sh-secondary) 0%, transparent 70%);
	opacity: 0.25;
	pointer-events: none;
}

.sh-footer__inner {
	position: relative;
	z-index: 1;
}

.sh-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: var(--sh-space-8);
	padding-bottom: var(--sh-space-8);
	border-bottom: 1px solid var(--sh-border);
}

.sh-footer__brand {
	display: flex;
	flex-direction: column;
	gap: var(--sh-space-3);
}

.sh-footer__logo img {
	width: 140px;
	height: auto;
}

.sh-footer__site-name {
	font-family: var(--sh-font-heading);
	font-size: 1.5rem;
	color: var(--sh-heading);
	margin-top: var(--sh-space-2);
}

.sh-footer__tagline {
	color: var(--sh-footer-accent);
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.sh-footer__description {
	color: var(--sh-footer-text);
	max-width: 40ch;
	margin-top: var(--sh-space-2);
}

.sh-footer__cta {
	margin-top: var(--sh-space-4);
	align-self: flex-start;
}

.sh-footer__heading {
	font-family: var(--sh-font-heading);
	font-size: 1.125rem;
	color: var(--sh-heading);
	margin-bottom: var(--sh-space-5);
}

.sh-footer__nav-list {
	display: flex;
	flex-direction: column;
	gap: var(--sh-space-3);
}

.sh-footer__nav-list a {
	color: var(--sh-footer-text);
}

.sh-footer__nav-list a:hover,
.sh-footer__nav-list a:focus-visible {
	color: var(--sh-footer-accent);
}

.sh-contact-links {
	display: flex;
	flex-direction: column;
	gap: var(--sh-space-3);
	margin-bottom: var(--sh-space-5);
}

.sh-contact-links__link {
	display: inline-flex;
	align-items: center;
	gap: var(--sh-space-3);
	color: var(--sh-footer-text);
	word-break: break-word;
}

.sh-contact-links__link .sh-icon {
	flex-shrink: 0;
}

.sh-contact-links__link:hover,
.sh-contact-links__link:focus-visible {
	color: var(--sh-footer-accent);
}

.sh-social-links {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sh-space-4);
}

.sh-social-links__item {
	display: flex;
}

.sh-social-links__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--sh-radius-pill);
	border: 1px solid var(--sh-border);
	color: var(--sh-footer-text);
	transition: color var(--sh-transition-fast), border-color var(--sh-transition-fast);
}

.sh-social-links__link:hover,
.sh-social-links__link:focus-visible {
	color: var(--sh-footer-accent);
	border-color: var(--sh-footer-accent);
}

.sh-footer__closing {
	width: 100%;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-family: var(--sh-font-heading);
	font-size: clamp(1.75rem, 1.3rem + 2vw, 3.25rem);
	color: var(--sh-heading);
	padding-top: var(--sh-space-8);
	margin-bottom: var(--sh-space-4);
}

.sh-footer__disclaimer {
	width: 100%;
	margin-bottom: var(--sh-space-6);
	text-align: center;
	font-size: 0.75rem;
	line-height: 1.7;
	color: var(--sh-footer-text);
	opacity: 0.75;
}

.sh-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sh-space-4);
	flex-wrap: nowrap;
	font-size: 0.8125rem;
	color: var(--sh-footer-text);
}

.sh-footer__credits,
.sh-footer__copyright {
	margin: 0;
	white-space: nowrap;
}

.sh-footer__credits a {
	color: var(--sh-footer-text);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.sh-footer__credits a:hover,
.sh-footer__credits a:focus-visible {
	color: var(--sh-footer-accent);
}
