/* Adi Mega Menu — reveal footer */

.adi-ft,
.adi-ft * { box-sizing: border-box; }

.adi-ft {
	background: var(--adi-ft-bg, #140d0d);
	color: var(--adi-ft-text, #f4f1ec);
}

/* The page scrolls up and uncovers this. z-index 0 keeps it under the
   content wrapper, which the plugin sets to z-index 1. */
.adi-ft--reveal {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 0;
}

/* Fallback while JS measures, and whenever the footer is taller than the
   viewport — revealing something taller than the screen never finishes. */
.adi-ft--reveal.is-static {
	position: relative;
	z-index: 1;
}

.adi-ft__inner {
	max-width: 1560px;
	margin: 0 auto;
	padding: clamp(44px, 6vw, 86px) clamp(20px, 4vw, 56px) clamp(26px, 3vw, 40px);
	padding-bottom: calc(clamp(26px, 3vw, 40px) + env(safe-area-inset-bottom, 0px));
}

.adi-ft a { color: inherit; text-decoration: none; }
.adi-ft ul { list-style: none; margin: 0; padding: 0; }
.adi-ft :focus-visible { outline: 2px solid var(--adi-ft-accent, #e03127); outline-offset: 4px; }

/* ---------- wordmark ---------- */

.adi-ft__mark {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px 26px;
	padding-bottom: clamp(30px, 4vw, 54px);
}

.adi-ft__wordmark img { display: block; height: clamp(28px, 3.2vw, 46px); width: auto; }
.adi-ft__wordmark span {
	font-family: var(--adi-ft-display, inherit);
	font-size: clamp(34px, 6vw, 86px);
	line-height: 1;
	letter-spacing: .01em;
	text-transform: uppercase;
}

.adi-ft__byline {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--adi-ft-muted, #8c8580);
}

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

.adi-ft__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: clamp(26px, 3vw, 48px);
	padding: clamp(26px, 3vw, 44px) 0;
	border-top: 1px solid rgba(255, 255, 255, .12);
}

.adi-ft__heading {
	margin: 0 0 14px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--adi-ft-muted, #8c8580);
}

.adi-ft__lines {
	margin: 0;
	font-size: 15px;
	line-height: 1.75;
}
.adi-ft__lines a { border-bottom: 1px solid rgba(255, 255, 255, .22); }
.adi-ft__lines a:hover { border-color: var(--adi-ft-accent, #e03127); color: var(--adi-ft-accent, #e03127); }

.adi-ft__nav a {
	display: inline-block;
	padding: 3px 0;
	font-size: 15px;
	color: #cfc9c3;
}
.adi-ft__nav a:hover { color: var(--adi-ft-text, #f4f1ec); }

.adi-ft__block--form input[type="text"],
.adi-ft__block--form input[type="email"] {
	width: 100%;
	padding: 10px 0;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, .3);
	background: none;
	color: inherit;
	font: inherit;
}
.adi-ft__block--form input::placeholder { color: var(--adi-ft-muted, #8c8580); }
.adi-ft__block--form input[type="submit"],
.adi-ft__block--form button {
	margin-top: 12px;
	padding: 10px 20px;
	border: 0;
	border-radius: 2px;
	background: var(--adi-ft-accent, #e03127);
	color: #fff;
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	cursor: pointer;
}

/* ---------- base row ---------- */

.adi-ft__base {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 26px;
	padding-top: clamp(20px, 2vw, 30px);
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: 13px;
	color: var(--adi-ft-muted, #8c8580);
}

.adi-ft__copy { margin: 0; }

.adi-ft__legal { display: flex; gap: 18px; }
.adi-ft__legal a:hover { color: var(--adi-ft-text, #f4f1ec); }

.adi-ft__social { display: flex; gap: 8px; margin-left: auto; }
.adi-ft__social a {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 50%;
	color: #cfc9c3;
	transition: border-color .16s ease, color .16s ease;
}
.adi-ft__social a:hover { border-color: var(--adi-ft-accent, #e03127); color: var(--adi-ft-accent, #e03127); }
.adi-ft__social svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- small screens ---------- */

@media (max-width: 782px) {
	.adi-ft__base { justify-content: flex-start; }
	.adi-ft__social { margin-left: 0; }
}
