/**
 * Two Little Monkeys — footer.
 * A flat navy field, four columns on the shared content edge, and one
 * quiet legal bar. No badges, glows or gradients: the brand is the logo
 * and the information is the content.
 */
.tlm-footer {
	position: relative;
	background: var(--tlm-navy-dark);
	color: var(--tlm-cream);
	font-family: var(--tlm-font-body);
}

.tlm-footer a {
	color: inherit;
	text-decoration: none;
}

/* ------------------------------------------------------------------
 * Columns
 * ------------------------------------------------------------------ */
.tlm-footer__body {
	padding: var(--tlm-section-quiet) var(--tlm-section-px);
}

.tlm-footer__body-inner {
	max-width: var(--tlm-content-max, 1280px);
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 4vw, 4rem);
}

.tlm-footer__logo-link {
	display: inline-block;
	margin-bottom: 1rem;
}

.tlm-footer__logo-img {
	display: block;
	width: clamp(180px, 16vw, 220px);
	max-width: 100%;
	height: auto;
}

.tlm-footer__brand-text {
	font-family: var(--tlm-font-display);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--tlm-surface);
}

.tlm-footer__tagline {
	max-width: 32ch;
	margin: 0 0 1.25rem;
	font-size: 0.98rem;
	line-height: 1.6;
	color: rgba(247, 240, 226, 0.82);
}

.tlm-footer .tlm-footer__col-title {
	margin: 0 0 1rem;
	font-family: var(--tlm-font-display);
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--tlm-gold-soft);
}

.tlm-footer__col-text,
.tlm-footer__col-meta {
	margin: 0 0 1.1rem;
	font-size: 0.98rem;
	line-height: 1.6;
	color: rgba(247, 240, 226, 0.82);
}

.tlm-footer__col-text strong,
.tlm-footer__col-meta strong {
	color: var(--tlm-surface);
	font-weight: 700;
}

.tlm-footer__drive-time {
	font-size: 0.92rem;
	color: rgba(247, 240, 226, 0.68);
}

.tlm-footer__nav-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.tlm-footer__nav-list a {
	display: inline-flex;
	align-items: center;
	min-height: 2.5rem;
	font-size: 0.98rem;
	color: rgba(247, 240, 226, 0.88);
	border-bottom: 1px solid transparent;
	transition: color var(--tlm-v3-dur-short) var(--tlm-v3-ease-out);
}

.tlm-footer__nav-list a:hover,
.tlm-footer__nav-list a:focus-visible {
	color: var(--tlm-gold-soft);
}

.tlm-footer__nav-list a:focus-visible,
.tlm-footer__social-link:focus-visible,
.tlm-footer__logo-link:focus-visible,
.tlm-footer__legal-links a:focus-visible,
.tlm-footer__credits a:focus-visible {
	outline: 3px solid var(--tlm-gold);
	outline-offset: 3px;
}

/* The address is one unbroken string — never split it mid-word on
   desktop; on very narrow screens it may wrap at any character. */
.tlm-footer__email {
	white-space: nowrap;
}

.tlm-footer__highlight-link {
	color: var(--tlm-gold-soft) !important;
	font-weight: 700;
}

.tlm-footer__highlight-link:hover {
	color: var(--tlm-surface) !important;
}

/* Social + language */
.tlm-footer__social-row {
	margin: 0 0 1rem;
}

.tlm-footer__social {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.tlm-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(247, 240, 226, 0.4);
	border-radius: 50%;
	color: var(--tlm-cream);
	transition: color var(--tlm-v3-dur-short) var(--tlm-v3-ease-out), border-color var(--tlm-v3-dur-short) var(--tlm-v3-ease-out);
}

.tlm-footer__social-link svg {
	width: 18px;
	height: 18px;
}

.tlm-footer__social-link:hover,
.tlm-footer__social-link:focus-visible {
	color: var(--tlm-gold-soft);
	border-color: var(--tlm-gold-soft);
}

.tlm-footer__languages-notice {
	margin: 0;
	font-size: 0.92rem;
	color: rgba(247, 240, 226, 0.7);
}

/* ------------------------------------------------------------------
 * Legal and credits
 * ------------------------------------------------------------------ */
.tlm-footer__bottom {
	padding: 1.5rem var(--tlm-section-px);
	border-top: 1px solid rgba(247, 240, 226, 0.16);
}

.tlm-footer__bottom-inner {
	max-width: var(--tlm-content-max, 1280px);
	margin-inline: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	font-size: 0.9rem;
	color: rgba(247, 240, 226, 0.72);
}

.tlm-footer__copyright {
	margin: 0;
}

.tlm-footer__legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
}

.tlm-footer__legal-links a,
.tlm-footer__credits a {
	display: inline-flex;
	align-items: center;
	min-height: 2.5rem;
	color: rgba(247, 240, 226, 0.88);
	transition: color var(--tlm-v3-dur-short) var(--tlm-v3-ease-out);
}

.tlm-footer__legal-links a:hover,
.tlm-footer__credits a:hover {
	color: var(--tlm-gold-soft);
}

.tlm-footer__credits {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 1.5rem;
}

.tlm-footer__totop {
	gap: 0.35rem;
	color: var(--tlm-gold-soft) !important;
	font-weight: 700;
}

/* ------------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------------ */
@media (max-width: 1024px) {
	.tlm-footer__body-inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.tlm-footer__body-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 2.25rem;
	}

	.tlm-footer__email {
		white-space: normal;
		overflow-wrap: anywhere;
	}

	.tlm-footer__bottom-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.tlm-footer__credits {
		width: 100%;
		justify-content: space-between;
	}
}
