/* AKNB footer — Chrome & Cobalt.
   Single source for the whole footer (markup: footer.php). Colours come from the --cc-* tokens, so light, dark and RTL need no overrides. */
/* Every selector sits under its root class and an "html body" prefix so it out-ranks the dark-mode blanket colour rule on p / li / h1-h6 in aknb-dark-overrides.css. */


html body .cc-footer {
	--f-ink: var(--cc-ink, #18181b);
	--f-ink-2: var(--cc-ink-2, #3f3f46);
	--f-ink-3: var(--cc-ink-3, #52525b);
	--f-line: var(--cc-border, #e4e4e7);
	--f-cobalt: var(--cc-cobalt, #2F7BFF);
	--f-glass: color-mix(in srgb, var(--f-ink) 4%, transparent);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	margin-top: 64px;
	padding-top: 56px;
	background: var(--cc-bg, #fff);
	color: var(--f-ink-2);
	font-family: var(--font-body);
}
/* Top edge: hairline that lights up cobalt in the middle, plus a soft glow falling from it. */
html body .cc-footer::before {
	content: '';
	position: absolute;
	inset: 0 0 auto;
	height: 1px;
	background: linear-gradient(90deg, var(--f-line), var(--f-cobalt) 50%, var(--f-line));
}
html body .cc-footer::after {
	content: '';
	position: absolute;
	inset: 0 0 auto;
	height: 340px;
	z-index: -1;
	pointer-events: none;
	background: radial-gradient(ellipse 55% 100% at 50% 0, color-mix(in srgb, var(--f-cobalt) 20%, transparent), transparent);
}
html body .cc-footer .cc-footer__inner {
	max-width: 1597px;
	margin-inline: auto;
	padding-inline: 32px; /* same band as the header */
	container-type: inline-size;
}
html body .cc-footer a:focus-visible,
html body .cc-footer button:focus-visible {
	outline: 2px solid var(--f-cobalt);
	outline-offset: 3px;
	border-radius: 6px;
}

/* Main grid */
html body .cc-footer .cc-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
	gap: 48px;
}

/* Brand: logo + tagline side by side, socials underneath */
html body .cc-footer .cc-footer__lockup {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 16px;
}
html body .cc-footer .cc-footer__logo { flex: none; margin: 0; line-height: 0; }
html body .cc-footer .cc-footer__logo .custom-logo-link { display: block; line-height: 0; }
html body .cc-footer .cc-footer__logo .custom-logo { display: block; height: 72px; width: auto; max-width: none; }
html body .cc-footer .cc-footer__logo-text {
	flex: none;
	font-weight: 800;
	font-size: 24px;
	letter-spacing: .01em;
	line-height: 1;
	white-space: nowrap;
	color: var(--f-ink);
	text-decoration: none;
}
html body .cc-footer .cc-footer__logo-text b { font-weight: inherit; color: var(--f-cobalt); }
html body .cc-footer .cc-footer__tagline {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: var(--f-ink-3);
}
html body .cc-footer .cc-footer__socials { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
html body .cc-footer .cc-footer__socials li { margin: 0; padding: 0; }
html body .cc-footer .cc-footer__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: var(--f-ink);
	background: var(--cc-surface-2, #f4f4f5);
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
html body .cc-footer .cc-footer__social:hover { color: #fff; background: var(--f-cobalt); transform: translateY(-2px); }
html body .cc-footer .cc-footer__social svg { width: 16px; height: 16px; }

/* Link columns */
html body .cc-footer .cc-footer__coltitle {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 20px;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--f-ink);
}
html body .cc-footer .cc-footer__coltitle::before {
	content: '';
	width: 14px;
	height: 2px;
	border-radius: 2px;
	background: var(--f-cobalt);
}
html body .cc-footer .cc-footer__menu { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
html body .cc-footer .cc-footer__menu li { margin: 0; padding: 0; }
html body .cc-footer .cc-footer__menu a {
	display: inline-flex;
	align-items: center;
	font-size: 14.5px;
	line-height: 1.4;
	color: var(--f-ink-2);
	text-decoration: none;
	transition: color .2s;
}
html body .cc-footer .cc-footer__menu a::before {
	content: '';
	width: 0;
	height: 1px;
	background: var(--f-cobalt);
	transition: width .2s, margin .2s;
}
html body .cc-footer .cc-footer__menu a:hover,
html body .cc-footer .cc-footer__menu a:focus-visible { color: var(--f-ink); }
html body .cc-footer .cc-footer__menu a:hover::before,
html body .cc-footer .cc-footer__menu a:focus-visible::before { width: 14px; margin-inline-end: 8px; }

/* Newsletter card (brand column, under the socials) */
html body .cc-footer .cc-footer__join {
	max-width: 340px;
	margin-top: 20px;
	padding: 14px 16px 12px;
	border: 1px solid var(--f-line);
	border-radius: 14px;
	background: linear-gradient(180deg, color-mix(in srgb, var(--f-cobalt) 9%, transparent), transparent 70%);
}
html body .cc-footer .cc-footer__join-eyebrow {
	margin: 0 0 3px;
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--f-cobalt);
}
html body .cc-footer .cc-footer__join-title {
	margin: 0 0 10px;
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--f-ink);
}
html body .cc-footer .aknb-newsletter__form { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
html body .cc-footer .aknb-newsletter__row { display: flex; gap: 8px; }
html body .cc-footer .aknb-newsletter__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 40px;
	padding: 0 12px;
	font: inherit;
	font-size: 13px;
	color: var(--f-ink);
	background: var(--f-glass);
	border: 1px solid var(--f-line);
	border-radius: 10px;
}
html body .cc-footer .aknb-newsletter__input::placeholder { color: var(--f-ink-3); opacity: 1; }
html body .cc-footer .aknb-newsletter__input:focus {
	outline: 0;
	border-color: var(--f-cobalt);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--f-cobalt) 25%, transparent);
}
html body .cc-footer .aknb-newsletter__submit {
	flex: none;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	color: #fff;
	background: var(--cc-cobalt-grad, var(--f-cobalt));
	border: 0;
	border-radius: 10px;
	box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--f-cobalt) 70%, transparent);
	cursor: pointer;
	transition: transform .2s, box-shadow .2s;
}
html body .cc-footer .aknb-newsletter__submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 24px -8px color-mix(in srgb, var(--f-cobalt) 80%, transparent);
}
html body .cc-footer .aknb-newsletter__submit-label {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}
html body .cc-footer .aknb-newsletter__status { margin: 8px 0 0; font-size: 12px; font-weight: 500; color: var(--f-ink-2); }
html body .cc-footer .aknb-newsletter__status.is-success { color: var(--cc-success, #10b981); }
html body .cc-footer .aknb-newsletter__status.is-error { color: var(--cc-danger, #e11d48); }
html body .cc-footer .aknb-newsletter__consent {
	margin: 8px 0 0;
	font-family: var(--font-mono);
	font-size: 10px;
	color: var(--f-ink-3);
}

/* Bottom bar */
html body .cc-footer .cc-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	margin-top: 56px;
	padding: 22px 0;
	border-top: 1px solid var(--f-line);
}
html body .cc-footer .cc-footer__copy { margin: 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: .02em; color: var(--f-ink-3); }
html body .cc-footer .cc-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
html body .cc-footer .cc-footer__legal a { font-size: 13px; color: var(--f-ink-3); text-decoration: none; transition: color .2s; }
html body .cc-footer .cc-footer__legal a:hover { color: var(--f-ink); }
html body .cc-footer .aknb-payments { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; list-style: none; }
html body .cc-footer .aknb-payments li { display: flex; margin: 0; }
html body .cc-footer .aknb-payments svg { width: auto; height: 26px; border-radius: 5px; }

/* Oversized brand wordmark, cropped by the footer edge. Decorative only. */
html body .cc-footer .cc-footer__wordmark {
	margin: 4px 0 -.12em;
	font-family: var(--font-display);
	font-size: clamp(3rem, 12.9vw, 14rem);
	font-size: min(14.2cqw, 14rem); /* scales so the word always fits the container, whichever display font loads */
	font-weight: 700;
	line-height: .95;
	letter-spacing: -.02em;
	text-align: center;
	white-space: nowrap;
	user-select: none;
	pointer-events: none;
	background: linear-gradient(180deg, color-mix(in srgb, var(--f-cobalt) 55%, transparent), transparent 80%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

/* RTL: mirror the arrow */
html[dir='rtl'] body .cc-footer .aknb-newsletter__submit svg { transform: scaleX(-1); }

/* Responsive */
@media (max-width: 1200px) {
	html body .cc-footer .cc-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
	html body .cc-footer .cc-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	html body .cc-footer { margin-top: 48px; padding-top: 40px; }
	html body .cc-footer .cc-footer__inner { padding-inline: 16px; }
	html body .cc-footer .cc-footer__grid { gap: 36px 24px; }
	html body .cc-footer .cc-footer__bottom { margin-top: 40px; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	html body .cc-footer a,
html body .cc-footer button,
html body .cc-footer .cc-footer__menu a::before { transition: none; }
}