/**
 * Digicore site footer.
 * Light footer on the page ground, separated by a hairline rather than a block
 * of colour, so it closes the page without competing with the hero.
 */

.dc-footer {
	--dc-orange: #d8592e;
	--dc-ink: #1a1d21;
	--dc-grey: #6b7280;
	--dc-line: #d5d8dc;
	--dc-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--dc-display: "Circular Std", "Inter", system-ui, sans-serif;

	max-width: var(--dc-max, 1440px);
	margin-inline: auto;
	padding: 56px 20px 28px;
	border-top: 1px solid var(--dc-line);
	color: var(--dc-ink);
	font-family: var(--dc-ui);
}

.dc-footer *,
.dc-footer *::before,
.dc-footer *::after { box-sizing: border-box; }

.dc-footer__inner {
	display: grid;
	grid-template-columns: minmax(260px, 1fr) 2.2fr;
	gap: 48px;
	align-items: start;
}

/* ---- Brand column ---- */

.dc-footer__logo {
	display: inline-block;
	color: var(--dc-ink);
}

.dc-footer__logo svg {
	width: 148px;
	height: auto;
}

.dc-footer__blurb {
	max-width: 46ch;
	margin: 18px 0 0;
	color: var(--dc-grey);
	font-size: 14px;
	line-height: 1.55;
}

.dc-footer__contact {
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 1.6;
}

.dc-footer__contact a {
	color: var(--dc-ink);
	text-decoration: none;
}

.dc-footer__contact a:hover { color: var(--dc-orange); }

/* ---- Link columns ---- */

.dc-footer__nav {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 32px 24px;
}

.dc-footer__col-title {
	margin: 0 0 12px;
	color: var(--dc-orange);
	font-family: var(--dc-display);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.dc-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.dc-footer__links li + li { margin-top: 8px; }

.dc-footer__links a {
	color: var(--dc-ink);
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
}

.dc-footer__links a:hover { color: var(--dc-orange); }

/* A label whose destination has not been supplied yet. It still reads as part
   of the list rather than looking broken. */
.dc-footer__pending {
	color: var(--dc-grey);
	font-size: 14px;
	line-height: 1.4;
}

/* ---- Legal bar ---- */

.dc-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-top: 48px;
	padding-top: 20px;
	border-top: 1px solid var(--dc-line);
}

.dc-footer__copy {
	margin: 0;
	color: var(--dc-grey);
	font-size: 13px;
}

.dc-footer__social {
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dc-footer__social a {
	color: var(--dc-grey);
	font-size: 13px;
	text-decoration: none;
}

.dc-footer__social a:hover { color: var(--dc-orange); }

@media (max-width: 1024px) {
	.dc-footer { padding: 40px 20px 24px; }
	.dc-footer__inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 600px) {
	.dc-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dc-footer__legal { justify-content: flex-start; }
}
