/* Language switcher — Lowhill Cassia i18n */
.topbar .right {
	gap: 18px;
}

.lang-switch {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--sans);
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	flex-shrink: 0;
}

.lang-switch__item {
	color: var(--ink-2);
	text-decoration: none;
	transition: color 0.3s;
	line-height: 1;
}

.lang-switch__item:hover {
	color: var(--ink);
}

.lang-switch__item.is-active {
	color: var(--ink);
	font-weight: 500;
	pointer-events: none;
}

.lang-switch__sep {
	color: var(--faint);
	font-size: 9px;
	user-select: none;
}

/* Home hero only — light text over dark image */
body.home .topbar:not(.scrolled) .lang-switch__item {
	color: rgba(244, 240, 232, 0.85);
}

body.home .topbar:not(.scrolled) .lang-switch__item:hover,
body.home .topbar:not(.scrolled) .lang-switch__item.is-active {
	color: #f4f0e8;
}

body.home .topbar:not(.scrolled) .lang-switch__sep {
	color: rgba(244, 240, 232, 0.5);
}

/* Inner pages — always readable (beats home hero rules above) */
body.lh-not-front .topbar .lang-switch__item {
	color: var(--ink-2);
}

body.lh-not-front .topbar .lang-switch__item:hover,
body.lh-not-front .topbar .lang-switch__item.is-active {
	color: var(--ink);
}

body.lh-not-front .topbar .lang-switch__sep {
	color: var(--faint);
}

@media (max-width: 1080px) {
	.topbar .right .lang-switch {
		display: inline-flex;
		margin-right: 2px;
	}
}

/* Fullscreen overlay — dark background, light switcher */
.overlay .ov-lang {
	padding: 0 clamp(24px, 5vw, 48px) 28px;
	margin-top: 72px;
}

.overlay .ov-lang .lang-switch {
	font-size: 11px;
	letter-spacing: 0.24em;
}

.overlay .ov-lang .lang-switch__item {
	color: rgba(244, 240, 232, 0.72);
}

.overlay .ov-lang .lang-switch__item:hover,
.overlay .ov-lang .lang-switch__item.is-active {
	color: #f4f0e8;
}

.overlay .ov-lang .lang-switch__sep {
	color: rgba(244, 240, 232, 0.4);
}

/* Footer — visible on every page */
.foot-lang {
	margin-top: 20px;
}

.foot-lang .lang-switch {
	font-size: 10px;
	letter-spacing: 0.2em;
}
