:root {
	--color-bg: #f4f1ea;
	--color-surface: #fffdf8;
	--color-surface-strong: #ffffff;
	--color-text: #25211d;
	--color-text-soft: #645d56;
	--color-border: rgba(37, 33, 29, 0.12);
	--color-brand: #bb4f2b;
	--color-brand-dark: #8e3115;
	--color-accent: #e4b35a;
	--shadow-soft: 0 22px 48px rgba(36, 24, 14, 0.08);
	--shadow-card: 0 16px 36px rgba(36, 24, 14, 0.1);
	--radius-lg: 28px;
	--radius-md: 20px;
	--radius-sm: 14px;
	--wrapper-width: min(1200px, calc(100% - 48px));
	--transition: 0.24s ease;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family:
		'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', 'Segoe UI', sans-serif;
	color: var(--color-text);
	background:
		radial-gradient(circle at top, rgba(228, 179, 90, 0.2), transparent 36%),
		linear-gradient(180deg, #f8f3ea 0%, #f4f1ea 55%, #efe8de 100%);
	line-height: 1.7;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
	transition:
		color var(--transition),
		border-color var(--transition),
		background-color var(--transition),
		transform var(--transition);
}

a:hover {
	color: var(--color-brand-dark);
}

button {
	font: inherit;
}

.clearfix::after {
	content: '';
	display: block;
	clear: both;
}

.wrapper {
	width: var(--wrapper-width);
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 120;
	backdrop-filter: blur(16px);
	background: rgba(255, 251, 245, 0.88);
	border-bottom: 1px solid rgba(37, 33, 29, 0.08);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 18px 0;
}

#site-branding {
	min-width: 0;
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
}

.site-brand__logo {
	width: 58px;
	height: 58px;
	flex: 0 0 auto;
}

.site-brand__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.site-brand__title {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--color-text);
}

.site-brand__subtitle {
	margin: 4px 0 0;
	font-size: 0.9rem;
	line-height: 1.4;
	color: var(--color-text-soft);
}

.main-navigation {
	margin-left: auto;
}

.primary-menu-wrap {
	display: block;
}

.primary-menu {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu-item {
	margin: 0;
}

.menu-item a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 18px;
	border-radius: 999px;
	color: var(--color-text-soft);
	font-size: 0.97rem;
	font-weight: 600;
}

.menu-item a:hover,
.menu-item.is-current a,
.menu-item.current-menu-item a,
.menu-item.current_page_item a {
	color: var(--color-brand-dark);
	background: rgba(187, 79, 43, 0.1);
}

.menu-toggle {
	display: none;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--color-border);
	border-radius: 14px;
	background: var(--color-surface-strong);
	cursor: pointer;
}

.menu-toggle::before {
	content: '';
	display: block;
	width: 18px;
	height: 2px;
	margin: 0 auto;
	background: var(--color-text);
	box-shadow:
		0 -6px 0 var(--color-text),
		0 6px 0 var(--color-text);
}

.page-main {
	padding-bottom: 72px;
	position: relative;
}

.page-hero {
	position: relative;
	overflow: hidden;
}

.page-hero--compact {
	padding: 44px 0 18px;
}

.page-hero--inner {
	padding: 28px 0 8px;
}

.page-hero__media {
	position: relative;
	min-height: 700px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.page-hero__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(25, 20, 16, 0.2) 0%,
		rgba(25, 20, 16, 0.58) 100%
	);
}

.page-hero__content {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	padding-bottom: 64px;
}

.page-hero__content--static {
	position: static;
	display: block;
	padding-bottom: 0;
}

.page-hero__content--feature {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
	gap: 28px;
	align-items: center;
}

.page-hero__panel {
	position: relative;
	z-index: 1;
	max-width: 700px;
	padding: 34px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--radius-lg);
	background: rgba(33, 22, 15, 0.52);
	box-shadow: var(--shadow-soft);
	color: #fff8f1;
}

.page-hero__panel--compact {
	width: 100%;
}

.page-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	font-size: 0.88rem;
	font-weight: 600;
	letter-spacing: 0;
}

.page-hero__title {
	margin: 16px 0 12px;
	font-size: clamp(2rem, 4vw, 3.6rem);
	line-height: 1.15;
	font-weight: 800;
}

.page-hero__summary {
	margin: 0;
	font-size: 1rem;
	line-height: 1.85;
	color: rgba(255, 248, 241, 0.88);
}

.section-shell {
	padding-top: 72px;
}

.section-shell--inner {
	padding-top: 28px;
}

.section-shell--overlap {
	margin-top: -92px;
	position: relative;
	z-index: 2;
}

.section-shell--home-gallery {
	margin-top: -180px;
	position: relative;
	z-index: 3;
}

.section-heading {
	margin-bottom: 28px;
}

.section-heading h2,
.section-heading h1 {
	margin: 0 0 10px;
	font-size: clamp(1.8rem, 3vw, 2.8rem);
	line-height: 1.2;
}

.section-heading p {
	margin: 0;
	max-width: 760px;
	color: var(--color-text-soft);
}

.content-panel {
	padding: 40px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	background: rgba(255, 253, 248, 0.92);
	box-shadow: var(--shadow-soft);
}

.content-panel--split {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
	gap: 28px;
	align-items: start;
}

.content-split {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
	gap: 28px;
	align-items: start;
}

.page-hero__aside {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.page-hero__thumb {
	width: min(100%, 360px);
	aspect-ratio: 16 / 9;
	object-fit: contain;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
}

.rich-text > *:first-child {
	margin-top: 0;
}

.rich-text > *:last-child {
	margin-bottom: 0;
}

.rich-text h2 {
	margin: 0 0 16px;
	font-size: 1.55rem;
	line-height: 1.3;
}

.rich-text h3 {
	margin: 28px 0 12px;
	font-size: 1.2rem;
	line-height: 1.35;
}

.rich-text p {
	margin: 0 0 16px;
	color: var(--color-text-soft);
}

.rich-text strong {
	color: var(--color-text);
}

.rich-text a {
	color: var(--color-brand);
	border-bottom: 1px solid rgba(187, 79, 43, 0.25);
}

.rich-text a:hover {
	border-bottom-color: var(--color-brand-dark);
}

.home-showcase__grid,
.info-grid,
.steps-grid {
	display: grid;
	gap: 24px;
}

.home-showcase__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.steps-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.showcase-card,
.info-card,
.step-card {
	height: 100%;
	padding: 24px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	background: var(--color-surface-strong);
	box-shadow: var(--shadow-card);
}

.showcase-card--image-only {
	padding: 0;
	overflow: hidden;
}

.showcase-card__media {
	overflow: hidden;
	border-radius: 18px;
	aspect-ratio: 16 / 10;
	margin-bottom: 18px;
}

.showcase-card--image-only .showcase-card__media {
	margin-bottom: 0;
	border-radius: 0;
	aspect-ratio: 39 / 22;
}

.showcase-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.showcase-card h3,
.info-card h3,
.step-card h3 {
	margin: 0 0 10px;
	font-size: 1.18rem;
	line-height: 1.35;
}

.showcase-card p,
.info-card p,
.step-card p {
	margin: 0;
	color: var(--color-text-soft);
}

.step-card__index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin-bottom: 14px;
	border-radius: 999px;
	background: rgba(187, 79, 43, 0.12);
	color: var(--color-brand-dark);
	font-weight: 700;
}

.contact-card {
	padding: 24px;
	border-radius: var(--radius-md);
	/* background: linear-gradient(180deg, #2b1e16 0%, #1f1510 100%); */
	/* color: #fff8f1; */
	background-color: white;
	color: var(--color-text-soft);
}

.contact-card h3 {
	margin: 0 0 12px;
	font-size: 1.18rem;
}

.contact-card p {
	margin: 0 0 10px;
	/* color: rgba(255, 248, 241, 0.84); */
}

.contact-card a {
	color: #ffd18a;
}

.page-copy {
	margin: 0;
	font: inherit;
	font-size: 1rem;
	line-height: 1.75;
	white-space: pre-wrap;
	color: inherit;
	background: transparent;
	border: 0;
}

.site-footer {
	padding: 20px 0;
	background: #211913;
	color: rgba(255, 248, 241, 0.78);
}

#bottom {
	border-top: 1px solid rgba(255, 248, 241, 0.08);
}

.site-footer__inner {
	display: grid;
	gap: 8px;
	text-align: center;
}

.site-footer__inner p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.7;
}

.site-footer__inner a {
	color: #ffd18a;
}

@media (max-width: 1100px) {
	.content-panel--split,
	.content-split {
		grid-template-columns: 1fr;
	}

	.home-showcase__grid,
	.steps-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	:root {
		--wrapper-width: min(calc(100% - 32px), 1200px);
		--radius-lg: 24px;
		--radius-md: 18px;
	}

	.site-header__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 16px;
		align-items: center;
	}

	#site-branding {
		min-width: 0;
	}

	.main-navigation {
		margin-left: 0;
		justify-self: end;
		position: relative;
		z-index: 40;
	}

	.menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.primary-menu {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		padding: 0;
	}

	.primary-menu li,
	.primary-menu a {
		width: 100%;
	}

	.primary-menu-wrap {
		display: none;
		position: absolute;
		top: calc(100% + 12px);
		right: 0;
		width: min(280px, calc(100vw - 32px));
		padding: 14px;
		border: 1px solid var(--color-border);
		border-radius: 20px;
		background: rgba(255, 251, 245, 0.98);
		box-shadow: var(--shadow-card);
		z-index: 160;
	}

	.main-navigation.is-open {
		z-index: 170;
	}

	.main-navigation.is-open .primary-menu-wrap {
		display: block;
	}

	.page-hero__media {
		min-height: 900px;
	}

	.page-hero__content {
		padding-bottom: 40px;
	}

	.page-hero__content--feature {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.page-hero__panel,
	.content-panel {
		padding: 28px;
	}

	.page-hero--compact {
		padding-top: 32px;
	}

	.page-hero--inner {
		padding-top: 18px;
		padding-bottom: 0;
	}

	.section-shell--home-gallery {
		margin-top: -40px;
	}

	.section-shell--inner {
		padding-top: 18px;
	}

	.home-showcase__grid,
	.info-grid,
	.steps-grid {
		grid-template-columns: 1fr;
	}

	.content-split {
		grid-template-columns: 1fr;
	}

	.page-hero__aside {
		justify-content: center;
	}
}

@media (max-width: 640px) {
	.site-header {
		position: relative;
		z-index: 220;
		overflow: visible;
	}

	.site-header__inner {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 12px;
		padding: 14px 0;
	}

	.custom-logo-link {
		align-items: center;
		gap: 12px;
	}

	.site-brand__logo {
		width: 52px;
		height: 52px;
	}

	.site-brand__title {
		font-size: 0.98rem;
		line-height: 1.35;
	}

	.site-brand__subtitle {
		font-size: 0.8rem;
		line-height: 1.45;
		max-width: 220px;
	}

	.menu-toggle {
		width: 46px;
		height: 46px;
		border-radius: 14px;
	}

	.primary-menu-wrap {
		width: min(260px, calc(100vw - 32px));
	}

	.page-main {
		padding-bottom: 56px;
	}

	.page-hero__media {
		min-height: 460px;
	}

	.page-hero__panel {
		padding: 22px;
	}

	.page-hero--compact {
		padding-top: 24px;
		padding-bottom: 8px;
	}

	.page-hero--inner {
		padding-top: 14px;
		padding-bottom: 0;
	}

	.page-hero__title {
		font-size: 1.9rem;
	}

	.section-shell {
		padding-top: 52px;
	}

	.section-shell--inner {
		padding-top: 14px;
	}

	.section-shell--overlap {
		margin-top: -48px;
	}

	.section-shell--home-gallery {
		margin-top: -16px;
	}

	.content-panel,
	.showcase-card,
	.info-card,
	.step-card {
		padding: 20px;
	}

	.page-hero__thumb {
		width: 100%;
		max-width: 540px;
	}

	.page-copy {
		font-size: 0.98rem;
		line-height: 1.7;
	}

	.site-footer {
		padding: 24px 0 28px;
	}

	.site-footer__inner p {
		font-size: 0.9rem;
	}
}
