.lang-switch {
	margin-left: 14px;
	/* Always visible, aligns with nav links */
}

@media (max-width: 699px) {
	.lang-switch {
		margin-left: 10px;
		margin-right: 0;
		order: 3;
	}
}

@media (min-width: 700px) {
	.lang-switch {
		margin-left: 14px;
		margin-right: 0;
		order: 5;
	}
	.links {
		/* No extra margin needed */
	}
}
/* assets/styles.css */
:root {
	--bg: #fffdf9;
	--text: #1f1d1a;
	--muted: #6b6b6b;
	--primary: #8b6f47;
	--primary-contrast: #ffffff;
	--accent: #f5efe6;
	--alt: #faf7f2;
	--card: #ffffff;
}

* { box-sizing: border-box; }

html, body {
	margin: 0;
	padding: 0;
	background: var(--bg);
	color: var(--text);
	font-family: Inter, "Noto Sans SC", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
	line-height: 1.6;
}

.zh body, body.zh {
	font-family: "Noto Sans SC", Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

.container {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 20px;
}

.nav {
	position: sticky;
	top: 0;
	background: rgba(255, 253, 249, 0.9);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid #eee5d8;
	z-index: 10;
	padding: 0 20px;
}
.nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
	position: relative;
}
.brand {
	font-family: "Playfair Display", "Noto Serif SC", serif;
	font-weight: 600;
	font-size: 20px;
	letter-spacing: 0.3px;
}
.links {
	display: flex;
	align-items: center;
}
.links a {
	margin-left: 14px;
	text-decoration: none;
	color: var(--text);
}
.links a:hover { opacity: 0.85; }

/* Mobile nav toggle (hamburger) */
.nav__toggle {
	display: none;
	background: transparent;
	border: 0;
	padding: 10px;
	margin-left: auto;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
}
.nav__bar {
	display: block;
	width: 28px;
	height: 2px;
	background: var(--text);
	margin: 0;
	transition: transform 0.25s ease, opacity 0.2s ease;
	transform-origin: 50% 50%;
}

.btn {
	display: inline-block;
	padding: 10px 16px;
	border-radius: 999px;
	border: 1px solid var(--text);
	text-decoration: none;
	color: var(--text);
}
.btn--primary {
	background: var(--primary);
	border-color: var(--primary);
	color: var(--primary-contrast);
}
.btn--ghost {
	background: #e7dbc7;
}

.hero {
	position: relative;
	min-height: 72vh;
	display: grid;
	align-items: center;
	background-color: darkolivegreen;
}
.hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.85);
	opacity: 1;
	transition: opacity 1s ease;
}
.hero__bg.is-hidden { opacity: 0; }
.hero__content {
	position: relative;
	padding: 72px 40px;
	color: var(--primary-contrast);
	text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.eyebrow {
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 12px;
	opacity: 0.95;
	margin: 0 0 8px;
}
.hero__title {
	font-family: "Playfair Display", "Noto Serif SC", serif;
	font-size: 56px;
	line-height: 1.1;
	margin: 0 0 8px;
}
.hero__subtitle { margin: 0 0 10px; font-size: 18px; }
.hero__meta { margin: 0; font-weight: 600; }
.hero__cta { margin-top: 18px; }
.hero__cta .btn { margin-right: 10px; }

.section {
	padding: 64px 0;
}
.section--alt {
	background: var(--alt);
}
.section--accent {
	background: var(--accent);
}

.grid-2 {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}
@media (min-width: 800px) {
	.grid-2 { grid-template-columns: 1.1fr 0.9fr; }
}

.card {
	background: var(--card);
	border: 1px solid #efe6d6;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.keylist {
	list-style: none;
	padding: 0;
	margin: 10px 0 0;
}
.keylist li {
	padding: 8px 0;
	border-bottom: 1px dashed #e7dbc7;
}
.keylist li:last-child { border-bottom: none; }

.timeline {
	border-left: 2px solid #e7dbc7;
	margin-left: 8px;
	padding-left: 16px;
}
.timeline__item { margin: 12px 0; }
.timeline .time { font-weight: 600; }
.timeline .desc { color: var(--muted); }

.form {
	display: grid;
	gap: 12px;
}
.form__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}
@media (min-width: 680px) {
	.form__row { grid-template-columns: 1fr 1fr; }
}
input, select, textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d9cdb9;
	border-radius: 10px;
	font: inherit;
	background: #fff;
}
input:focus, select:focus, textarea:focus {
	outline: 2px solid #c9b29133;
}
.form__actions { margin-top: 8px; }
.hidden { display: none; }

.footer {
	border-top: 1px solid #eee5d8;
	background: #fff;
	color: var(--muted);
	padding: 0 20px;
}
.footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 0;
}

.link { color: var(--primary); text-decoration: none; }
.link:hover { text-decoration: underline; }

/* Responsive navigation */
@media (max-width: 720px) {
	.nav__toggle { display: inline-flex; }
	.links {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		background: rgba(255, 253, 249, 0.98);
		backdrop-filter: blur(8px);
		display: none;
		flex-direction: column;
		padding: 12px 20px 16px;
		border-bottom: 1px solid #eee5d8;
	}
	.nav.menu-open .links { display: flex; }
	.links a { margin: 8px 0; }
	.links .btn { width: 100%; text-align: center; }
}