/**
 * Site footer: branding, optional contact strip, Footer Menu 1/2, legal row.
 */

.gather-site-footer {
	background-color: var(--gather-chalk);
	border-top: 1px solid var(--gather-border-subtle);
}

.gather-site-footer__inner {
	display: grid;
	gap: clamp(2.25rem, 5vw, 3.5rem);
	column-gap: clamp(2rem, 4.5vw, 3rem);
	padding: clamp(2.5rem, 5vw, 4rem) var(--gather-page-gutter-x) clamp(1.75rem, 3vw, 2.25rem);
}

.gather-site-footer__brand {
	min-width: 0;
}

.gather-site-footer__identity > * + * {
	margin-top: clamp(0.65rem, 1.8vw, 0.95rem);
}

/** Stronger separation for “reach us” vs address / branding. */
.gather-site-footer__identity > * + .gather-site-footer__contact {
	margin-top: clamp(1.25rem, 3vw, 1.85rem);
}

.gather-site-footer__logo .custom-logo-link {
	display: inline-block;
	line-height: 0;
	text-decoration: none;
}

.gather-site-footer__logo .custom-logo {
	display: block;
	height: auto;
	max-height: 2.1rem;
	width: auto;
}

.gather-site-footer__wordmark {
	font-family: var(--gather-font-headline);
	font-size: clamp(1.15rem, 2.5vw, 1.35rem);
	font-weight: 500;
	letter-spacing: 0.38em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--gather-charcoal);
	display: inline-block;
	padding: 0.15em 0;
}

.gather-site-footer__wordmark:hover,
.gather-site-footer__wordmark:focus-visible {
	color: var(--gather-charcoal);
	text-decoration: none;
}

.gather-site-footer__tagline {
	font-size: clamp(0.8125rem, 1.05vw, 0.875rem);
	font-weight: 500;
	line-height: 1.45;
	max-width: 28rem;
	margin: 0;
}

.gather-site-footer__address {
	font-style: normal;
	font-size: 0.875rem;
	line-height: 1.55;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	margin: 0;
	max-width: 28rem;
}

.gather-site-footer__address-line {
	display: block;
}

.gather-site-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 0.42rem;
	max-width: 28rem;
	min-width: 0;
}

.gather-site-footer__contact-row {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.5;
}

.gather-site-footer__contact .gather-site-footer__contact-link {
	font-weight: 500;
	text-decoration: none;
	text-underline-offset: 0.15em;
	color: var(--gather-terra);
}

.gather-site-footer__contact .gather-site-footer__contact-link:hover,
.gather-site-footer__contact .gather-site-footer__contact-link:focus-visible {
	color: var(--gather-charcoal);
	text-decoration: underline;
	text-decoration-thickness: 0.07em;
}

.gather-site-footer__col {
	min-width: 0;
}

@media (min-width: 768px) {
	.gather-site-footer__col {
		max-width: min(17.5rem, 100%);
		padding-block-start: 0.15rem;
	}
}

/** Slightly weightier section title than muted body text. */
.gather-site-footer__col-heading {
	font-family: var(--gather-font-body);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1.35;
	text-transform: uppercase;
	color: var(--gather-charcoal);
	opacity: 0.68;
	margin: 0 0 1.05rem;
}

.gather-site-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.72rem;
	font-family: var(--gather-font-body);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.45;
}

.gather-site-footer__menu a {
	color: var(--gather-charcoal);
	text-decoration: none;
	display: inline-block;
	padding-block: 0.12rem;
}

.gather-site-footer__menu a:hover,
.gather-site-footer__menu a:focus-visible {
	color: var(--gather-terra);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.gather-site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem 2rem;
	padding-block: clamp(1.2rem, 2.35vw, 1.55rem);
	padding-inline: var(--gather-page-gutter-x);
	padding-bottom: clamp(1.5rem, 3vw, 2rem);
	border-top: 1px solid var(--gather-border-subtle);
	font-family: var(--gather-font-body);
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.45;
}

.gather-site-footer__copyright,
.gather-site-footer__uen {
	margin: 0;
}

.gather-site-footer__uen {
	letter-spacing: 0.04em;
	font-variant-numeric: tabular-nums;
}

@media (max-width: 767.98px) {
	/**
	 * Two footer menus: brand full-width row; both nav columns share one row below.
	 */
	.gather-site-footer__inner--menus-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: clamp(1rem, 4vw, 1.5rem);
		row-gap: clamp(1.45rem, 4vw, 2.1rem);
	}

	.gather-site-footer__inner--menus-2 .gather-site-footer__brand {
		grid-column: 1 / -1;
		border-bottom: 1px solid var(--gather-border-subtle);
		padding-bottom: clamp(1.2rem, 3.2vw, 1.6rem);
	}

	/** Full-width divider under brand replaces per-column top borders. */
	.gather-site-footer__inner--menus-2 .gather-site-footer__brand + .gather-site-footer__col,
	.gather-site-footer__inner--menus-2 .gather-site-footer__col + .gather-site-footer__col {
		border-top: none;
		padding-top: 0;
	}

	.gather-site-footer__inner--menus-2 .gather-site-footer__col--studio {
		border-inline-start: 1px solid var(--gather-border-subtle);
		padding-inline-start: clamp(0.85rem, 3.5vw, 1.2rem);
	}

	/** Not two menus: stacked layout with separators between blocks. */
	.gather-site-footer__inner:not(.gather-site-footer__inner--menus-2) .gather-site-footer__brand + .gather-site-footer__col {
		padding-top: clamp(1.25rem, 3vw, 1.65rem);
		border-top: 1px solid var(--gather-border-subtle);
	}

	.gather-site-footer__inner:not(.gather-site-footer__inner--menus-2) .gather-site-footer__col + .gather-site-footer__col {
		padding-top: clamp(1.25rem, 3vw, 1.65rem);
		border-top: 1px solid var(--gather-border-subtle);
	}
}

@media (min-width: 768px) {
	.gather-site-footer__inner--menus-2 {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
		align-items: start;
	}

	.gather-site-footer__inner--menus-1 {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
		align-items: start;
	}

	.gather-site-footer__inner--menus-0 {
		grid-template-columns: minmax(0, 1fr);
	}
}
