:root {
	--siwei-ivory: #f8f3ea;
	--siwei-stone: #fffdf8;
	--siwei-paper: #f1eadf;
	--siwei-graphite: #24211d;
	--siwei-muted: #716a60;
	--siwei-walnut: #765943;
	--siwei-gold: #b89a62;
	--siwei-forest: #415948;
	--siwei-navy: #1f2f3a;
	--siwei-line: rgba(36, 33, 29, 0.14);
	--siwei-shadow: 0 24px 70px rgba(55, 45, 34, 0.09);
}

body.siwei-home-template {
	margin: 0;
	background: var(--siwei-ivory);
	color: var(--siwei-graphite);
}

.siwei-home,
.siwei-home * {
	box-sizing: border-box;
}

.siwei-home {
	min-height: 100vh;
	background:
		linear-gradient(180deg, rgba(255, 253, 248, 0.9) 0%, rgba(248, 243, 234, 0.92) 44%, rgba(255, 253, 248, 0.96) 100%),
		var(--siwei-ivory);
	color: var(--siwei-graphite);
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1.65;
}

.siwei-home a {
	color: inherit;
	text-decoration: none;
}

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

.siwei-container {
	width: min(100% - 48px, 1320px);
	margin-inline: auto;
}

.siwei-header {
	position: sticky;
	top: 0;
	z-index: 20;
	border-bottom: 1px solid var(--siwei-line);
	background: rgba(248, 243, 234, 0.92);
	backdrop-filter: blur(18px);
}

.siwei-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 78px;
	gap: 24px;
}

.siwei-header__brand {
	display: inline-grid;
	gap: 2px;
	min-width: max-content;
}

.siwei-header__brand-mark {
	font-size: 1.4rem;
	font-weight: 600;
	letter-spacing: 0;
}

.siwei-header__brand-subtitle {
	color: var(--siwei-muted);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.72rem;
	line-height: 1.2;
}

.siwei-header__nav-list {
	display: flex;
	align-items: center;
	gap: clamp(12px, 1.25vw, 22px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.siwei-header__nav a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding-bottom: 2px;
	color: var(--siwei-muted);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.96rem;
	font-weight: 400;
	line-height: 1.35;
	transition: color 180ms ease;
}

.siwei-header__nav a::after {
	position: absolute;
	right: 0;
	bottom: 7px;
	left: 0;
	height: 1px;
	background: rgba(31, 47, 58, 0.64);
	content: "";
	opacity: 0;
	transform: scaleX(0.48);
	transform-origin: center;
	transition: opacity 180ms ease, transform 180ms ease;
}

.siwei-header__nav a:hover,
.siwei-header__nav a:focus-visible {
	color: var(--siwei-navy);
}

.siwei-header__nav a:hover::after,
.siwei-header__nav a:focus-visible::after,
.siwei-header__nav .current-menu-item > a::after,
.siwei-header__nav .current_page_item > a::after,
.siwei-home-template .siwei-header__nav-list > li:first-child > a::after {
	opacity: 0.72;
	transform: scaleX(0.82);
}

.siwei-header__nav .current-menu-item > a,
.siwei-header__nav .current_page_item > a,
.siwei-home-template .siwei-header__nav-list > li:first-child > a {
	color: var(--siwei-navy);
}

.siwei-text-link:hover,
.siwei-text-link:focus-visible {
	color: var(--siwei-forest);
}

.siwei-header__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 8px;
	border: 1px solid var(--siwei-line);
	border-radius: 4px;
	background: var(--siwei-stone);
	color: var(--siwei-graphite);
}

.siwei-header__toggle-line {
	display: block;
	width: 18px;
	height: 1px;
	background: currentColor;
}

.siwei-header__toggle-line + .siwei-header__toggle-line {
	margin-left: -18px;
	transform: translateY(6px);
}

.siwei-header__toggle-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.siwei-hero {
	padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 120px);
}

.siwei-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
	align-items: center;
	gap: clamp(36px, 6vw, 96px);
}

.siwei-hero__content {
	max-width: 620px;
}

.siwei-eyebrow {
	margin: 0 0 16px;
	color: var(--siwei-forest);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: uppercase;
}

.siwei-home h1,
.siwei-home h2,
.siwei-home h3,
.siwei-home p {
	margin-top: 0;
}

.siwei-home h1 {
	margin-bottom: 22px;
	font-size: clamp(3rem, 5.4vw, 5.25rem);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.02;
}

.siwei-home h2 {
	margin-bottom: 18px;
	font-size: clamp(2.1rem, 4vw, 4.1rem);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.05;
}

.siwei-home h3 {
	margin-bottom: 12px;
	font-size: 1.35rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.2;
}

.siwei-hero__subtitle,
.siwei-section__header p,
.siwei-wholesale__content p,
.siwei-footer__brand p {
	color: var(--siwei-muted);
	font-size: 1.08rem;
}

.siwei-hero__subtitle {
	max-width: 560px;
	margin-bottom: 34px;
	font-size: 1.16rem;
	line-height: 1.72;
}

.siwei-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.siwei-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: 4px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.1;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.siwei-button--primary {
	background: var(--siwei-forest);
	color: #fffdf8;
}

.siwei-button--primary:hover,
.siwei-button--primary:focus-visible {
	background: #33483a;
	color: #fffdf8;
}

.siwei-button--secondary {
	border-color: var(--siwei-line);
	background: rgba(255, 253, 248, 0.72);
	color: var(--siwei-graphite);
}

.siwei-button--secondary:hover,
.siwei-button--secondary:focus-visible {
	border-color: rgba(65, 89, 72, 0.45);
	color: var(--siwei-forest);
}

.siwei-hero__media {
	position: relative;
	order: 2;
}

.siwei-hero__media img,
.siwei-card__image img {
	width: 100%;
	border-radius: 6px;
	background: var(--siwei-paper);
	object-fit: cover;
	box-shadow: var(--siwei-shadow);
}

.siwei-hero__media img {
	aspect-ratio: 4 / 3;
}

.siwei-image-note,
.siwei-card__image span {
	color: var(--siwei-muted);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.73rem;
}

.siwei-image-note {
	margin: 10px 0 0;
}

.siwei-section {
	padding: clamp(56px, 8vw, 112px) 0;
}

.siwei-section--stone {
	background: rgba(255, 253, 248, 0.68);
	border-block: 1px solid var(--siwei-line);
}

.siwei-section__header {
	max-width: 760px;
	margin-bottom: clamp(32px, 5vw, 56px);
}

.siwei-section__header--wide {
	max-width: 900px;
}

.siwei-section__header--with-action {
	display: flex;
	align-items: end;
	justify-content: space-between;
	max-width: none;
	gap: 32px;
}

.siwei-section__header--with-action > div {
	max-width: 760px;
}

.siwei-material-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

.siwei-collection-grid,
.siwei-story-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.siwei-card,
.siwei-story-card {
	border: 1px solid var(--siwei-line);
	border-radius: 6px;
	background: rgba(255, 253, 248, 0.78);
	overflow: hidden;
}

.siwei-card__image {
	position: relative;
	background: var(--siwei-paper);
}

.siwei-card__image img {
	aspect-ratio: 4 / 3;
	border-radius: 0;
	box-shadow: none;
}

.siwei-card__image--wide img {
	aspect-ratio: 3 / 2;
}

.siwei-card__image span {
	position: absolute;
	left: 14px;
	bottom: 12px;
	padding: 4px 8px;
	border-radius: 3px;
	background: rgba(255, 253, 248, 0.82);
}

.siwei-card__body,
.siwei-story-card {
	padding: 24px;
}

.siwei-card__body p,
.siwei-story-card p {
	color: var(--siwei-muted);
	font-size: 0.98rem;
}

.siwei-text-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--siwei-walnut);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.88rem;
	font-weight: 700;
}

.siwei-component-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
}

.siwei-component-card {
	display: grid;
	align-content: space-between;
	min-height: 154px;
	padding: 18px;
	border: 1px solid var(--siwei-line);
	border-radius: 6px;
	background: var(--siwei-stone);
	color: var(--siwei-graphite);
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 700;
}

.siwei-component-card:hover,
.siwei-component-card:focus-visible {
	border-color: rgba(65, 89, 72, 0.4);
	color: var(--siwei-forest);
}

.siwei-component-card__icon,
.siwei-wholesale__feature span {
	width: 34px;
	height: 34px;
	border: 1px solid rgba(184, 154, 98, 0.7);
	border-radius: 50%;
	background:
		radial-gradient(circle at 38% 36%, rgba(255, 253, 248, 0.9) 0 18%, transparent 19%),
		linear-gradient(135deg, rgba(184, 154, 98, 0.46), rgba(65, 89, 72, 0.16));
}

.siwei-wholesale {
	background: var(--siwei-forest);
	color: #fffdf8;
}

.siwei-wholesale__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
	align-items: center;
	gap: clamp(32px, 6vw, 80px);
}

.siwei-wholesale .siwei-eyebrow,
.siwei-wholesale__content p {
	color: rgba(255, 253, 248, 0.78);
}

.siwei-wholesale .siwei-button--primary {
	background: #fffdf8;
	color: var(--siwei-forest);
}

.siwei-wholesale__features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.siwei-wholesale__feature {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 92px;
	padding: 18px;
	border: 1px solid rgba(255, 253, 248, 0.2);
	border-radius: 6px;
	background: rgba(255, 253, 248, 0.08);
}

.siwei-wholesale__feature p {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 700;
}

.siwei-story-card__type {
	margin-bottom: 18px;
	color: var(--siwei-forest) !important;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.73rem !important;
	font-weight: 700;
	text-transform: uppercase;
}

.siwei-footer {
	padding: 64px 0 32px;
	background: #24211d;
	color: #fffdf8;
}

.siwei-footer__inner {
	display: grid;
	grid-template-columns: minmax(240px, 430px) minmax(0, 1fr);
	align-items: start;
	row-gap: 42px;
	column-gap: clamp(36px, 6vw, 96px);
}

.siwei-footer__brand {
	max-width: 430px;
}

.siwei-footer__logo {
	display: inline-flex;
	margin-bottom: 10px;
	font-size: 1.65rem;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.1;
}

.siwei-footer__brand p,
.siwei-footer a,
.siwei-footer__copyright {
	color: rgba(221, 211, 195, 0.72);
}

.siwei-footer__nav {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	width: min(100%, 1040px);
	max-width: 1040px;
	justify-self: center;
}

.siwei-footer__column h2 {
	margin: 0 0 14px;
	color: #c3b59d;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.siwei-footer__column ul {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.siwei-footer__column a {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.9rem;
	transition: color 180ms ease;
}

.siwei-footer__column a:hover,
.siwei-footer__column a:focus-visible {
	color: rgba(255, 253, 248, 0.92);
}

.siwei-footer__copyright {
	grid-column: 1 / -1;
	margin: 0;
	padding-top: 26px;
	border-top: 1px solid rgba(255, 253, 248, 0.16);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.82rem;
}

@media (max-width: 1199px) {
	.siwei-header__nav-list {
		gap: 11px;
	}

	.siwei-header__nav a {
		font-size: 0.9rem;
	}

	.siwei-hero__inner {
		grid-template-columns: 1fr 1.05fr;
	}

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

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

@media (max-width: 767px) {
	.siwei-container {
		width: min(100% - 32px, 1320px);
	}

	.siwei-header__inner {
		min-height: 68px;
	}

	.siwei-header__toggle {
		display: inline-flex;
	}

	.siwei-header__nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		padding: 12px 16px 18px;
		border-bottom: 1px solid var(--siwei-line);
		background: var(--siwei-ivory);
	}

	.siwei-header.is-open .siwei-header__nav {
		display: block;
	}

	.siwei-header__nav-list {
		display: grid;
		gap: 2px;
	}

	.siwei-header__nav a {
		width: 100%;
		padding: 4px 0;
	}

	.siwei-hero {
		padding-top: 24px;
	}

	.siwei-hero__inner,
	.siwei-wholesale__inner,
	.siwei-footer__inner {
		grid-template-columns: 1fr;
	}

	.siwei-hero__media {
		order: 0;
	}

	.siwei-home h1 {
		font-size: clamp(2.45rem, 12vw, 3.7rem);
		line-height: 1.04;
	}

	.siwei-actions,
	.siwei-section__header--with-action {
		display: grid;
		align-items: start;
	}

	.siwei-button {
		width: 100%;
	}

	.siwei-material-grid,
	.siwei-collection-grid,
	.siwei-story-grid,
	.siwei-wholesale__features,
	.siwei-footer__nav {
		grid-template-columns: 1fr;
	}

	.siwei-footer__nav {
		justify-self: stretch;
	}

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

	.siwei-component-card {
		min-height: 126px;
		padding: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.siwei-home *,
	.siwei-home *::before,
	.siwei-home *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
