/* Canonical footer geometry, independent of page-specific adapters and rem scales. */
#brx-footer {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: #efeae2;
}

#brx-footer #brxe-norah-footer {
	display: block;
	width: 100%;
	margin: 0;
	padding: 32px 0 56px;
	border: 0;
	border-radius: 48px 48px 0 0;
	background: #efeae2;
	color: #474b48;
	font-family: "Barlow Semi Condensed", sans-serif;
}

#brx-footer #brxe-norah-footer * { box-sizing: border-box; min-width: 0; }

#brx-footer #brxe-norah-footer-shell {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 24px 32px;
	width: min(calc(100% - clamp(20px, 4vw, 64px) * 2), 1280px);
	max-width: 100%;
	margin: 0 auto;
	padding: 0;
}

#brx-footer #brxe-norah-footer-brand-link {
	display: flex;
	align-items: center;
	grid-area: 1 / 1;
	justify-self: start;
	width: clamp(190px, 19vw, 240px);
	max-width: 100%;
	min-height: 52px;
	padding: 0;
	text-decoration: none;
}

#brx-footer #brxe-norah-footer-logo {
	display: block;
	width: 220px;
	max-width: 100%;
	height: auto;
	margin: 0;
	object-fit: contain;
	filter: none;
	opacity: 1;
	translate: -2.7083333333% 0;
}

#brx-footer #brxe-norah-footer-nav {
	display: flex;
	grid-area: 1 / 2;
	align-items: center;
	justify-self: end;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 8px 24px;
	width: auto;
	margin: 0;
	padding: 0;
}

#brx-footer #brxe-norah-footer .norah-footer__link,
#brx-footer #brxe-norah-footer-copyright,
#brx-footer #brxe-norah-boundary,
#brx-footer #brxe-norah-boundary p {
	margin: 0;
	padding: 0;
	color: #474b48;
	font: 400 13px/1.65 "Barlow Semi Condensed", sans-serif;
	overflow-wrap: break-word;
}

#brx-footer #brxe-norah-footer .norah-footer__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	text-decoration: none;
}

#brx-footer #brxe-norah-footer .norah-footer__link:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3.5px;
}

#brx-footer #brxe-norah-footer a:focus-visible {
	outline: 2px solid #474b48;
	outline-offset: 4px;
}

#brx-footer #brxe-norah-footer-copyright {
	display: flex;
	align-items: center;
	grid-area: 2 / 1;
	justify-self: start;
	gap: 5.2px;
}

#brx-footer #brxe-norah-footer-copyright .norah-icon {
	display: inline-block;
	width: 11.7px;
	height: 11.7px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}

#brx-footer #brxe-norah-boundary {
	display: block;
	grid-area: 2 / 2;
	justify-self: end;
	width: 100%;
	max-width: 70ch;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #807c73;
	text-align: right;
}

#brx-footer #brxe-norah-boundary p { text-align: right; }

@media (max-width: 1023.98px) {
	#brx-footer #brxe-norah-footer-shell { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
	#brx-footer #brxe-norah-footer-brand-link,
	#brx-footer #brxe-norah-footer-nav,
	#brx-footer #brxe-norah-footer-copyright,
	#brx-footer #brxe-norah-boundary { grid-area: auto; justify-self: start; text-align: left; }
	#brx-footer #brxe-norah-footer-brand-link { order: 0; }
	#brx-footer #brxe-norah-footer-nav { order: 1; justify-content: flex-start; }
	#brx-footer #brxe-norah-footer-copyright { order: 2; }
	#brx-footer #brxe-norah-boundary { order: 3; }
	#brx-footer #brxe-norah-boundary p { text-align: left; }
}

@media (max-width: 600px) {
	#brx-footer #brxe-norah-footer-brand-link { width: 220px; }
}

/* Short pages (Calendly): the footer sits at the viewport bottom. The Bricks
 * body is already a flex column; the footer just takes the remaining space. */
body.brx-body { min-height: 100vh; min-height: 100dvh; }
body.brx-body > #brx-footer { margin-top: auto; }
