:root {
	--sw-paper: #f5f1e9;
	--sw-paper-2: #ebe4d8;
	--sw-ink: #17211d;
	--sw-muted: #5f6863;
	--sw-red: #a44837;
	--sw-gold: #b79b68;
	--sw-line: rgba(23, 33, 29, .15);
	--sw-serif: "Songti SC", STSong, "Noto Serif CJK SC", "Source Han Serif SC", serif;
	--sw-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

html { scroll-behavior: smooth; }
body {
	background: var(--sw-paper);
	color: var(--sw-ink);
	font-family: var(--sw-sans);
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}
a { text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
	outline: 2px solid var(--sw-red);
	outline-offset: 3px;
}

.site-header {
	background: rgba(245, 241, 233, .96) !important;
	border-bottom: 1px solid var(--sw-line);
	box-shadow: none !important;
	backdrop-filter: blur(18px);
}
.main-header-bar { min-height: 78px; }
.ast-primary-header-bar .site-primary-header-wrap {
	max-width: 1380px;
	padding-inline: 28px;
}
.custom-logo { max-width: 224px; }
.main-header-menu > .menu-item > a {
	color: var(--sw-ink);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .01em;
	padding-inline: 18px;
}
.main-header-menu > .menu-item > a:hover,
.main-header-menu > .current-menu-item > a { color: var(--sw-red); }
.ast-site-header-cart .ast-addon-cart-wrap { color: var(--sw-ink); }

.home .site-content .ast-container,
.elementor-page .site-content .ast-container { max-width: none; padding: 0; }
.home .entry-content { margin: 0; }
.home .entry-header { display: none; }
.sw-page h1, .sw-page h2, .sw-page h3 {
	font-family: var(--sw-serif);
	font-weight: 500;
	letter-spacing: -.035em;
}
.sw-page h1 { font-size: clamp(68px, 7.2vw, 110px); line-height: .98; }
.sw-page h2 { font-size: clamp(38px, 4vw, 60px); line-height: 1.15; }
.sw-page h3 { font-size: 24px; }
.sw-page p { color: var(--sw-muted); font-size: 16px; line-height: 1.9; }
.sw-page .eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .22em;
	margin-bottom: 22px;
}
.sw-btn {
	min-height: 50px;
	padding-inline: 26px;
	border-radius: 0;
	font-size: 14px;
	transition: background .2s ease, color .2s ease, transform .2s ease;
}
.sw-btn:hover { transform: translateY(-2px); }

.sw-hero {
	min-height: 760px;
	grid-template-columns: minmax(0, 48%) minmax(0, 52%);
	border-bottom: 1px solid var(--sw-line);
}
.sw-hero-copy {
	justify-content: flex-start;
	padding: 92px clamp(40px, 6.5vw, 104px);
}
.sw-hero .lead { max-width: 600px; font-size: 18px !important; }
.sw-hero .actions { margin: 30px 0 46px; gap: 28px; }
.hero-stats { gap: 18px; padding-top: 22px; }
.hero-stats b { font-size: 14px; }
.hero-stats span { font-size: 12px; }
.sw-hero-visual {
	margin: 0;
	min-height: 760px;
	background: #30453c;
}
.sw-hero-visual img {
	filter: saturate(.72) contrast(1.05);
	mix-blend-mode: luminosity;
	opacity: .88;
}
.sw-hero-visual:after { font-size: 176px; opacity: .7; }

.sw-intro { padding: 112px 7vw; gap: 8vw; }
.sw-intro > div:last-child { padding-top: 12px; }
.sw-dark { padding: 112px 7vw 104px; }
.sw-dark .section-head { max-width: 820px; margin-bottom: 54px; }
.service-grid a { padding-top: 34px; min-height: 250px; }
.service-grid h3 { margin: 62px 0 14px; }
.sw-evidence { padding: 108px 7vw; gap: 6vw; }
.evidence-card {
	padding: clamp(38px, 4.4vw, 66px);
	box-shadow: 0 18px 50px rgba(23, 33, 29, .05);
}
.sw-products { padding: 110px 7vw 104px; }
.sw-products .section-head { max-width: none; }
.woocommerce ul.products { gap: 18px; }
.woocommerce ul.products li.product {
	background: transparent;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--sw-line);
	overflow: visible;
}
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .sw-product-image {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	opacity: 1 !important;
	margin: 0 0 18px !important;
	background: #e8dfd1 !important;
	transition: transform .35s ease, filter .35s ease;
}
.woocommerce ul.products li.product:hover a img { transform: translateY(-4px); filter: contrast(1.02); }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price {
	margin-left: 0;
	margin-right: 0;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	color: var(--sw-ink);
	font-family: var(--sw-serif);
	font-size: 18px;
	font-weight: 500;
}
.woocommerce ul.products li.product .price { color: var(--sw-red); font-size: 14px; }
.woocommerce div.product div.images img {
	width: 100%;
	height: auto;
	min-height: 0 !important;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	opacity: 1 !important;
	background: none !important;
}
.woocommerce-product-gallery { opacity: 1 !important; }
.sw-cta { padding: 74px 7vw; }
.sw-cta h2 { font-size: clamp(36px, 3.8vw, 58px); }

body.blog .site-content { padding: 0; }
body.blog .site-content > .ast-container {
	display: block;
	max-width: 1280px;
	padding: 0 28px 110px;
}
body.blog #primary { width: 100%; margin: 0; }
body.blog #main {
	display: block;
}
body.blog #main > .ast-row {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 28px;
	margin: 0;
}
.sw-archive-hero {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: end;
	gap: 80px;
	padding: 104px 0 72px;
	border-bottom: 1px solid var(--sw-line);
}
.sw-archive-hero > div > p {
	margin: 0 0 18px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .22em;
}
.sw-archive-hero h1 {
	margin: 0;
	font-family: var(--sw-serif);
	font-size: clamp(60px, 7vw, 94px);
	font-weight: 500;
	letter-spacing: -.04em;
}
.sw-archive-hero > p {
	max-width: 520px;
	margin: 0 0 10px;
	color: var(--sw-muted);
	font-size: 17px;
	line-height: 1.85;
}
body.blog article.ast-article-post {
	grid-column: span 4;
	width: auto !important;
	margin: 0 !important;
	padding: 0 0 28px !important;
	background: transparent !important;
	border-bottom: 1px solid var(--sw-line);
}
.sw-news-thumb { display: block; overflow: hidden; margin-bottom: 26px; }
.sw-news-thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform .4s ease;
}
body.blog article:hover .sw-news-thumb img { transform: scale(1.025); }
body.blog .post-content { padding: 0; }
body.blog .entry-title {
	margin: 0 0 14px;
	font-family: var(--sw-serif);
	font-size: 28px;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: -.025em;
}
body.blog .entry-title a { color: var(--sw-ink); }
body.blog .entry-meta { display: none; }
body.blog .entry-content p {
	color: var(--sw-muted);
	font-size: 15px;
	line-height: 1.8;
}
body.blog .read-more a {
	color: var(--sw-ink);
	font-size: 14px;
	font-weight: 650;
	border-bottom: 1px solid currentColor;
}

.single-post .site-content { padding: 0; background: var(--sw-paper); }
.single-post .site-content > .ast-container { display: block; max-width: none; padding: 0; }
.single-post #primary { width: 100%; margin: 0; }
.single-post article.ast-article-single { margin: 0; padding: 0; background: transparent; }
.single-post article > .ast-post-format- { padding: 0; }
.single-post .entry-content { margin: 0; }
.sw-article-hero { padding: 92px 28px 0; }
.sw-article-heading { max-width: 1120px; margin: 0 auto 42px; }
.sw-article-label {
	margin: 0 0 20px;
	color: var(--sw-red);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .18em;
}
.sw-article-heading h1 {
	max-width: 940px;
	margin: 0 0 24px;
	color: var(--sw-ink);
	font-family: var(--sw-serif);
	font-size: clamp(46px, 5.2vw, 78px);
	font-weight: 500;
	line-height: 1.13;
	letter-spacing: -.045em;
}
.sw-article-deck {
	max-width: 760px;
	margin: 0 0 24px;
	color: var(--sw-muted);
	font-size: 18px;
	line-height: 1.8;
}
.sw-article-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; color: #747b77; font-size: 13px; }
.sw-article-meta span { position: relative; }
.sw-article-meta span:before {
	content: "";
	position: absolute;
	top: .45em;
	left: -15px;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--sw-red);
}
.sw-article-hero figure {
	max-width: 1180px;
	margin: 0 auto;
	overflow: hidden;
}
.sw-article-hero img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 8.2;
	object-fit: cover;
}
.sw-article-body {
	max-width: 760px;
	margin: 62px auto 80px;
	padding: 0 28px;
}
.sw-article-body p, .sw-article-body li {
	color: #303b36;
	font-size: 18px;
	line-height: 2;
}
.sw-article-body p { margin: 0 0 1.55em; }
.sw-article-body a { color: var(--sw-red); font-weight: 600; }
.single-post .post-navigation {
	max-width: 1120px;
	margin: 0 auto;
	padding: 34px 28px;
	border-top: 1px solid var(--sw-line);
	border-bottom: 1px solid var(--sw-line);
}
.single-post .post-navigation a { color: var(--sw-ink); font-size: 14px; }
.single-post .comments-area {
	max-width: 760px;
	margin: 0 auto;
	padding: 72px 28px 110px;
	border: 0;
}
.single-post .comments-title,
.single-post .comment-reply-title {
	font-family: var(--sw-serif);
	font-size: 30px;
	font-weight: 500;
}
.single-post input[type="text"],
.single-post input[type="email"],
.single-post input[type="url"],
.single-post textarea {
	border: 1px solid var(--sw-line);
	border-radius: 0;
	background: rgba(255,255,255,.55);
	font-size: 15px;
}
.single-post input[type="submit"] {
	border-radius: 0;
	background: var(--sw-red) !important;
	color: #fff !important;
	font-size: 14px;
}

.site-footer { display: none !important; }
.siwen-site-footer {
	background: var(--sw-ink);
	color: #f3eee5;
	padding: 70px max(28px, 7vw) 28px;
}
.siwen-footer-main {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 80px;
	padding-bottom: 54px;
}
.siwen-footer-brand .custom-logo-link { display: inline-block; background: #f5f1e9; padding: 8px 12px; }
.siwen-footer-brand .custom-logo { width: 190px; max-height: 58px; object-fit: contain; }
.siwen-footer-brand > p { max-width: 410px; margin: 24px 0 0; color: #aeb7b2; line-height: 1.8; }
.siwen-footer-main nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; }
.siwen-footer-main nav div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.siwen-footer-main nav strong { margin-bottom: 8px; color: #fff; font-size: 14px; }
.siwen-footer-main nav a { color: #aeb7b2; font-size: 14px; }
.siwen-footer-main nav a:hover { color: #fff; }
.siwen-footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding-top: 24px;
	border-top: 1px solid rgba(255,255,255,.14);
	color: #8f9994;
	font-size: 12px;
}
.siwen-footer-bottom a { margin-left: 22px; color: inherit; }

@media (max-width: 980px) {
	.ast-primary-header-bar .site-primary-header-wrap { padding-inline: 20px; }
	.sw-hero { grid-template-columns: 1fr; }
	.sw-hero-copy { padding: 78px 7vw 58px; }
	.sw-hero-visual { min-height: 560px; margin: 0 20px 20px; }
	body.blog article.ast-article-post { grid-column: span 6; }
	.sw-archive-hero { gap: 40px; }
	.siwen-footer-main { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
	.main-header-bar { min-height: 68px; }
	.custom-logo { max-width: 180px; }
	.sw-page h1 { font-size: 52px; }
	.sw-page h2 { font-size: 36px; }
	.sw-hero-copy { padding: 64px 24px 44px; }
	.sw-hero .lead { max-width: 100%; overflow-wrap: anywhere; }
	.sw-hero-visual { min-height: 420px; }
	.sw-intro, .sw-dark, .sw-evidence, .sw-products { padding: 74px 24px; }
	.sw-archive-hero { grid-template-columns: 1fr; padding: 72px 0 48px; gap: 24px; }
	body.blog .site-content > .ast-container { padding-inline: 20px; }
	body.blog article.ast-article-post { grid-column: 1 / -1; }
	.sw-article-hero { padding: 68px 20px 0; }
	.sw-article-heading h1 { font-size: 42px; }
	.sw-article-deck { font-size: 16px; }
	.sw-article-hero img { aspect-ratio: 4 / 3; }
	.sw-article-body { margin-top: 44px; padding-inline: 22px; }
	.sw-article-body p, .sw-article-body li { font-size: 17px; line-height: 1.9; }
	.siwen-site-footer { padding-inline: 24px; }
	.siwen-footer-main nav { grid-template-columns: 1fr 1fr; gap: 28px; }
	.siwen-footer-bottom { flex-direction: column; }
	.siwen-footer-bottom a { margin: 0 18px 0 0; }
}
