/*
Theme Name: 蓝印环保 Lanyin Indigo
Theme URI: https://example.com/themes/lanyin-indigo
Author: 靛娘
Author URI: https://example.com/dianniang
Description: 为「绍兴蓝印环保科技有限公司」(虚构演示)裁制的中文主题。蓝印花布防染纹样语言:靛蓝大面积打底,防染白花点线断续(断刀不连线),布纹经纬肌理与两像素晕染柔边;白布卡片带缝线与角隅小花,吊染布签作按钮与标签,蓝白倒换如布之正反面,讲印染废气治理这门慢手艺。
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lanyin-indigo
Tags: blue, one-column, two-columns, custom-menu, custom-logo, featured-images, translation-ready
*/

/*--------------------------------------------------------------
目录
1. 变量:靛缸里的几味
2. 底子:重置与基础
3. 通用:容器 / 无障碍 / 入场
4. 纹样部件:白布卡片 / 布签 / 边饰带 / 花版徽
5. 天头:顶条与页头导航
6. 首屏:靛缸首页
7. 区块:花版图谱 / 一缸靛 / 布庄账本 / 坊规 / 坊间消息 / 来坊里坐
8. 内页:文章 / 页面 / 归档 / 搜索 / 404 / 产品
9. 侧栏与小部件
10. 下摆:页脚
11. WordPress 核心类
12. 响应式与动效兜底
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1. 变量:靛缸里的几味
--------------------------------------------------------------*/
:root {
	--dian: #274b8c;            /* 靛蓝:大面积底 */
	--dian-deep: #1c3766;       /* 深靛:重底 */
	--dian-ink: #16284a;        /* 夜靛:页脚 */
	--dian-wash: #e9edf6;       /* 靛水:极浅衬 */
	--bu-bai: #f4f1e8;          /* 布白:页底与反白 */
	--bu-card: #faf8f1;         /* 白布卡片 */
	--ink: #1f3055;             /* 正文墨靛 */
	--muted: #4c5b7e;           /* 次要墨 */
	--rev: #f4f1e8;             /* 蓝底反白 */
	--rev-muted: #c9d5eb;       /* 蓝底次白 */
	--line: #d9d2c0;            /* 白区细线 */
	--line-rev: rgba(244, 241, 232, 0.22); /* 蓝区细线 */
	--stitch: rgba(39, 75, 140, 0.45);     /* 缝线 */
	--serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", "FangSong", serif;
	--sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
	/* 布纹经纬:两向 1px 极淡织纹 */
	--weave-rev: repeating-linear-gradient(0deg, rgba(244, 241, 232, 0.03) 0, rgba(244, 241, 232, 0.03) 1px, transparent 1px, transparent 3px), repeating-linear-gradient(90deg, rgba(244, 241, 232, 0.03) 0, rgba(244, 241, 232, 0.03) 1px, transparent 1px, transparent 3px);
	/* 防染白花散点(梅花点两簇+鱼子散点,点线断续) */
	--pat-plum: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='132' height='132' viewBox='0 0 132 132'%3E%3Cg fill='%23f4f1e8' fill-opacity='.10'%3E%3Ccircle cx='33' cy='24' r='2.6'/%3E%3Ccircle cx='41.6' cy='30.2' r='2.6'/%3E%3Ccircle cx='38.3' cy='40.3' r='2.6'/%3E%3Ccircle cx='27.7' cy='40.3' r='2.6'/%3E%3Ccircle cx='24.4' cy='30.2' r='2.6'/%3E%3Ccircle cx='33' cy='33' r='1.6'/%3E%3Ccircle cx='99' cy='90' r='2.6'/%3E%3Ccircle cx='107.6' cy='96.2' r='2.6'/%3E%3Ccircle cx='104.3' cy='106.3' r='2.6'/%3E%3Ccircle cx='93.7' cy='106.3' r='2.6'/%3E%3Ccircle cx='90.4' cy='96.2' r='2.6'/%3E%3Ccircle cx='99' cy='99' r='1.6'/%3E%3Ccircle cx='90' cy='27' r='1.5'/%3E%3Ccircle cx='108' cy='45' r='1.5'/%3E%3Ccircle cx='24' cy='93' r='1.5'/%3E%3Ccircle cx='42' cy='111' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
	/* 鱼子纹(错行圆点) */
	--pat-roe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cg fill='%23f4f1e8' fill-opacity='.08'%3E%3Ccircle cx='5.5' cy='5.5' r='1.7'/%3E%3Ccircle cx='16.5' cy='16.5' r='1.7'/%3E%3C/g%3E%3C/svg%3E");
	/* 边饰带:短线-圆点-短线(白,用于蓝底) */
	--band-rev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='10' viewBox='0 0 34 10'%3E%3Cg fill='%23f4f1e8' fill-opacity='.5'%3E%3Crect x='2' y='4.2' width='9' height='1.6' rx='.8'/%3E%3Ccircle cx='17' cy='5' r='1.7'/%3E%3Crect x='23' y='4.2' width='9' height='1.6' rx='.8'/%3E%3C/g%3E%3C/svg%3E");
	/* 边饰带(靛,用于浅底) */
	--band-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='10' viewBox='0 0 34 10'%3E%3Cg fill='%23274b8c' fill-opacity='.5'%3E%3Crect x='2' y='4.2' width='9' height='1.6' rx='.8'/%3E%3Ccircle cx='17' cy='5' r='1.7'/%3E%3Crect x='23' y='4.2' width='9' height='1.6' rx='.8'/%3E%3C/g%3E%3C/svg%3E");
	/* 角隅小花(靛,白卡角上) */
	--corner-plum: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Cg fill='%23274b8c' fill-opacity='.5'%3E%3Ccircle cx='13' cy='5.5' r='2.4'/%3E%3Ccircle cx='20.1' cy='10.7' r='2.4'/%3E%3Ccircle cx='17.4' cy='19.1' r='2.4'/%3E%3Ccircle cx='8.6' cy='19.1' r='2.4'/%3E%3Ccircle cx='5.9' cy='10.7' r='2.4'/%3E%3Ccircle cx='13' cy='13' r='1.4'/%3E%3C/g%3E%3C/svg%3E");
	/* 角隅小花(布白,蓝底部件) */
	--corner-plum-rev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Cg fill='%23f4f1e8' fill-opacity='.85'%3E%3Ccircle cx='13' cy='5.5' r='2.4'/%3E%3Ccircle cx='20.1' cy='10.7' r='2.4'/%3E%3Ccircle cx='17.4' cy='19.1' r='2.4'/%3E%3Ccircle cx='8.6' cy='19.1' r='2.4'/%3E%3Ccircle cx='5.9' cy='10.7' r='2.4'/%3E%3Ccircle cx='13' cy='13' r='1.4'/%3E%3C/g%3E%3C/svg%3E");
}

/*--------------------------------------------------------------
2. 底子:重置与基础
--------------------------------------------------------------*/
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 92px;
}

body {
	margin: 0;
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.9;
	color: var(--ink);
	background-color: var(--bu-bai);
	word-break: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--serif);
	font-weight: 600;
	line-height: 1.45;
	color: inherit;
	margin: 0 0 0.6em;
	letter-spacing: 0.04em;
}

p {
	margin: 0 0 1.1em;
}

ul,
ol {
	margin: 0 0 1.1em;
	padding-left: 1.6em;
}

img {
	max-width: 100%;
	height: auto;
	border: 0;
}

svg {
	display: block;
}

a {
	color: var(--dian);
	text-decoration: underline;
	text-decoration-style: dotted;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--dian-deep);
	text-decoration-style: solid;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
	outline: 2px dashed currentColor;
	outline-offset: 3px;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.4em;
}

th,
td {
	padding: 0.6em 0.8em;
	text-align: left;
	border-bottom: 1px dashed var(--line);
}

th {
	font-family: var(--serif);
	color: var(--dian-deep);
}

blockquote {
	margin: 1.4em 0;
	padding: 1em 1.4em;
	background: var(--bu-card);
	border: 1px dashed var(--stitch);
	border-radius: 4px;
	font-family: var(--serif);
	color: var(--dian-deep);
}

blockquote p:last-child {
	margin-bottom: 0;
}

code,
pre,
kbd {
	font-family: "SF Mono", "Menlo", "Consolas", monospace;
	font-size: 0.9em;
	background: rgba(39, 75, 140, 0.08);
	border-radius: 3px;
}

code {
	padding: 0.15em 0.4em;
}

pre {
	padding: 1em 1.2em;
	overflow-x: auto;
	line-height: 1.7;
}

pre code {
	background: none;
	padding: 0;
}

hr {
	border: 0;
	border-top: 1px dashed var(--stitch);
	margin: 2.2em 0;
}

input,
textarea,
select,
button {
	font: inherit;
	color: inherit;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea,
select {
	width: 100%;
	padding: 0.55em 0.8em;
	background: #ffffff;
	color: var(--ink);
	border: 1px solid #cbc4b1;
	border-radius: 4px;
}

textarea {
	min-height: 7em;
}

::selection {
	background: var(--dian);
	color: var(--bu-bai);
}

/*--------------------------------------------------------------
3. 通用:容器 / 无障碍 / 入场
--------------------------------------------------------------*/
.wrap {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	clip: auto !important;
	clip-path: none;
	height: auto;
	width: auto;
	display: block;
	font-size: 0.9rem;
	padding: 12px 20px;
	background: var(--bu-bai);
	color: var(--dian-deep);
	z-index: 100000;
	left: 8px;
	top: 8px;
	text-decoration: none;
	border: 1px dashed var(--stitch);
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
}

.skip-link:focus {
	left: 8px;
	top: 8px;
}

.reveal {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

.no-js .reveal {
	opacity: 1;
	transform: none;
}

/* 区块通用 */
.section {
	padding: 88px 0;
}

.section--indigo {
	position: relative;
	background-color: var(--dian);
	background-image: var(--weave-rev), var(--pat-plum);
	color: var(--rev);
}

.section--indigo::before,
.section--indigo::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 10px;
	background-image: var(--band-rev);
	background-repeat: repeat-x;
	opacity: 0.55;
	pointer-events: none;
}

.section--indigo::before {
	top: 14px;
}

.section--indigo::after {
	bottom: 14px;
}

.section--indigo a {
	color: var(--rev);
}

.section--deep {
	background-color: var(--dian-deep);
	background-image: var(--weave-rev), var(--pat-roe);
	color: var(--rev);
}

.section-head {
	max-width: 720px;
	margin-bottom: 44px;
}

.section-head--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.section-kicker {
	font-size: 0.82rem;
	letter-spacing: 0.32em;
	color: var(--muted);
	margin-bottom: 0.9em;
	display: flex;
	align-items: center;
	gap: 0.7em;
}

.section-head--center .section-kicker {
	justify-content: center;
}

.section--indigo .section-kicker,
.section--deep .section-kicker {
	color: var(--rev-muted);
}

.section-no {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2em;
	height: 2em;
	border: 1px dashed currentColor;
	border-radius: 50%;
	font-family: var(--serif);
	font-size: 0.95em;
	letter-spacing: 0;
	flex: none;
}

.section-title {
	font-size: clamp(1.55rem, 3.2vw, 2.25rem);
	letter-spacing: 0.06em;
	margin-bottom: 0.4em;
}

.section-note {
	color: var(--muted);
	font-size: 0.95rem;
	margin: 0;
}

.section--indigo .section-note,
.section--deep .section-note {
	color: var(--rev-muted);
}

.section-more {
	margin: 40px 0 0;
	text-align: center;
}

/* 按钮:吊染布签(梯形布标+缝线) */
.btn-tag,
.btn-line {
	display: inline-block;
	font-family: var(--serif);
	font-size: 0.95rem;
	letter-spacing: 0.18em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-tag {
	padding: 0.8em 2.1em;
	background-color: var(--dian);
	color: var(--bu-bai);
	clip-path: polygon(5% 0, 95% 0, 100% 100%, 0 100%);
	background-image: repeating-linear-gradient(90deg, rgba(244, 241, 232, 0.55) 0, rgba(244, 241, 232, 0.55) 5px, transparent 5px, transparent 10px);
	background-size: calc(100% - 26px) 1px;
	background-position: 13px 6px;
	background-repeat: no-repeat;
	border: 0;
}

.btn-tag:hover {
	background-color: var(--dian-deep);
	color: var(--bu-bai);
	transform: translateY(-1px);
}

.btn-tag:focus-visible {
	outline: none;
	background-color: var(--dian-ink);
	text-decoration: underline;
	text-decoration-style: dashed;
	text-underline-offset: 4px;
}

.btn-tag--light {
	background-color: var(--bu-bai);
	color: var(--dian-deep);
	background-image: repeating-linear-gradient(90deg, rgba(39, 75, 140, 0.5) 0, rgba(39, 75, 140, 0.5) 5px, transparent 5px, transparent 10px);
}

.btn-tag--light:hover {
	background-color: #ffffff;
	color: var(--dian);
}

.btn-tag--light:focus-visible {
	background-color: var(--dian-wash);
	color: var(--dian-deep);
}

.btn-line {
	padding: 0.72em 1.7em;
	border: 1px dashed currentColor;
	border-radius: 4px;
	color: var(--dian);
	background: transparent;
}

.btn-line:hover {
	background: rgba(39, 75, 140, 0.08);
	color: var(--dian-deep);
}

.section--indigo .btn-line,
.section--deep .btn-line {
	color: var(--rev);
}

.section--indigo .btn-line:hover,
.section--deep .btn-line:hover {
	background: rgba(244, 241, 232, 0.12);
	color: var(--rev);
}

/*--------------------------------------------------------------
4. 纹样部件:白布卡片 / 布签 / 花版徽
--------------------------------------------------------------*/
/* 白布卡片:一块白布,四边缝线,角上一枚小花;下缘 2px 晕染 */
.bu-card {
	position: relative;
	background: var(--bu-card);
	border-radius: 6px;
	padding: 30px 26px 26px;
	box-shadow: 0 1px 0 rgba(28, 55, 102, 0.28), 0 2px 0 rgba(28, 55, 102, 0.1);
}

.bu-card::before {
	content: "";
	position: absolute;
	inset: 7px;
	border: 1px dashed var(--stitch);
	border-radius: 3px;
	pointer-events: none;
}

.bu-card::after {
	content: "";
	position: absolute;
	top: 15px;
	right: 15px;
	width: 22px;
	height: 22px;
	background-image: var(--corner-plum);
	background-size: 22px 22px;
	background-repeat: no-repeat;
	pointer-events: none;
}

/* 布签:小梯形吊牌 */
.bu-tag {
	display: inline-block;
	padding: 0.3em 1.05em;
	background-color: var(--dian);
	color: var(--bu-bai);
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%);
	background-image: repeating-linear-gradient(90deg, rgba(244, 241, 232, 0.5) 0, rgba(244, 241, 232, 0.5) 4px, transparent 4px, transparent 8px);
	background-size: calc(100% - 16px) 1px;
	background-position: 8px 4px;
	background-repeat: no-repeat;
}

a.bu-tag {
	text-decoration: none;
}

.bu-tag--light {
	background-color: var(--bu-bai);
	color: var(--dian-deep);
	background-image: repeating-linear-gradient(90deg, rgba(39, 75, 140, 0.5) 0, rgba(39, 75, 140, 0.5) 4px, transparent 4px, transparent 8px);
}

/* 花版纹样徽(SVG 用 currentColor) */
.pattern-badge {
	width: 78px;
	height: 78px;
	color: var(--dian);
	margin: 0 auto 18px;
}

.section--indigo .pattern-badge,
.section--deep .pattern-badge {
	color: var(--rev);
}

/*--------------------------------------------------------------
5. 天头:顶条与页头导航
--------------------------------------------------------------*/
.topline {
	background-color: var(--dian-deep);
	background-image: var(--weave-rev);
	color: var(--rev-muted);
	font-size: 0.8rem;
	letter-spacing: 0.14em;
}

.topline-inner {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-top: 7px;
	padding-bottom: 7px;
}

.topline-slogan {
	color: var(--rev);
	font-family: var(--serif);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: var(--bu-bai);
	border-bottom: 1px solid var(--line);
	transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
	box-shadow: 0 2px 0 rgba(28, 55, 102, 0.12), 0 8px 22px rgba(28, 55, 102, 0.08);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 26px;
	min-height: 74px;
}

.brand {
	margin-right: auto;
}

.brand-link {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--ink);
}

.brand-mark {
	width: 44px;
	height: 44px;
	flex: none;
}

.brand-mark svg {
	width: 100%;
	height: 100%;
}

.brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.brand-name {
	font-family: var(--serif);
	font-size: 1.22rem;
	letter-spacing: 0.14em;
	color: var(--dian-deep);
}

.brand-sub {
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	color: var(--muted);
}

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

.custom-logo {
	max-height: 52px;
	width: auto;
}

/* 导航 */
.site-nav .menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 6px;
}

.site-nav .menu li {
	position: relative;
}

.site-nav .menu a {
	display: block;
	padding: 0.55em 0.65em;
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	color: var(--ink);
	text-decoration: none;
	background-image: repeating-linear-gradient(90deg, var(--dian) 0, var(--dian) 6px, transparent 6px, transparent 11px);
	background-size: 0 2px;
	background-position: 0.65em calc(100% - 4px);
	background-repeat: no-repeat;
	transition: background-size 0.25s ease, color 0.2s ease;
}

.site-nav .menu a:hover,
.site-nav .menu .current-menu-item > a,
.site-nav .menu .current_page_item > a {
	color: var(--dian);
	background-size: calc(100% - 1.3em) 2px;
}

.site-nav .menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 8px;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 170px;
	background: var(--bu-card);
	border: 1px dashed var(--stitch);
	border-radius: 4px;
	box-shadow: 0 10px 26px rgba(28, 55, 102, 0.14);
	display: none;
	z-index: 70;
}

.site-nav .menu li:hover > .sub-menu,
.site-nav .menu li:focus-within > .sub-menu {
	display: block;
}

.site-nav .menu .sub-menu a {
	background-image: none;
	padding: 0.45em 0.7em;
}

.site-nav .menu .sub-menu a:hover {
	background: rgba(39, 75, 140, 0.08);
}

/* 汉堡 */
.nav-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	background: transparent;
	border: 1px dashed var(--stitch);
	border-radius: 4px;
	padding: 8px 12px;
	cursor: pointer;
	color: var(--dian-deep);
}

.nav-toggle-box {
	display: inline-flex;
	flex-direction: column;
	gap: 5px;
}

.nav-toggle-bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--dian);
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle-label {
	font-size: 0.82rem;
	letter-spacing: 0.2em;
	font-family: var(--serif);
}

.nav-open .nav-toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle-bar:nth-child(2) {
	opacity: 0;
}

.nav-open .nav-toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/*--------------------------------------------------------------
6. 首屏:靛缸首页
--------------------------------------------------------------*/
.hero {
	position: relative;
	background-color: var(--dian);
	background-image: var(--weave-rev), var(--pat-plum), radial-gradient(ellipse at 18% -12%, rgba(74, 106, 165, 0.55), transparent 55%), linear-gradient(160deg, #2c5397 0%, var(--dian) 46%, var(--dian-deep) 100%);
	color: var(--rev);
	overflow: hidden;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: 48px;
	align-items: center;
	padding-top: 84px;
	padding-bottom: 72px;
}

.hero-kicker {
	font-size: 0.84rem;
	letter-spacing: 0.34em;
	color: var(--rev-muted);
	margin-bottom: 1.4em;
}

.hero-title {
	font-size: clamp(2.1rem, 5vw, 3.4rem);
	letter-spacing: 0.1em;
	line-height: 1.5;
	margin-bottom: 0.55em;
	text-shadow: 0 2px 0 rgba(22, 40, 74, 0.4);
}

.hero-lede {
	max-width: 34em;
	color: var(--rev-muted);
	font-size: 1.02rem;
	margin-bottom: 2.1em;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
}

.hero-art {
	justify-self: center;
	width: min(100%, 360px);
}

.tower-svg {
	width: 100%;
	height: auto;
}

/* 数字带:深靛+鱼子纹 */
.hero-stats {
	background-color: var(--dian-deep);
	background-image: var(--weave-rev), var(--pat-roe);
	border-top: 1px dashed var(--line-rev);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	padding-top: 30px;
	padding-bottom: 30px;
}

.stat {
	text-align: center;
}

.stat-num {
	display: block;
	font-family: var(--serif);
	font-size: 1.9rem;
	letter-spacing: 0.08em;
	color: var(--rev);
	line-height: 1.3;
}

.stat-label {
	display: block;
	font-size: 0.8rem;
	letter-spacing: 0.16em;
	color: var(--rev-muted);
	margin-top: 4px;
}

/*--------------------------------------------------------------
7. 区块:花版图谱 / 一缸靛 / 布庄账本 / 坊规 / 坊间消息 / 来坊里坐
--------------------------------------------------------------*/
/* 花版图谱(产品) */
.product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.product-card {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.product-name {
	font-size: 1.28rem;
	letter-spacing: 0.14em;
	margin-bottom: 0.5em;
}

.product-name a {
	color: var(--dian-deep);
	text-decoration: none;
}

.product-name a:hover {
	color: var(--dian);
	text-decoration: underline;
	text-decoration-style: dashed;
}

.product-desc {
	color: var(--muted);
	font-size: 0.92rem;
	text-align: left;
	margin: 14px 0 10px;
}

.product-more {
	margin: auto 0 0;
	font-size: 0.9rem;
}

.product-more a {
	letter-spacing: 0.12em;
}

.demo-note {
	font-size: 0.8rem;
	color: var(--muted);
	letter-spacing: 0.08em;
}

/* 一缸靛(工艺对照) */
.craft-legend {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	margin-bottom: 10px;
	font-family: var(--serif);
	letter-spacing: 0.3em;
	color: var(--rev-muted);
	font-size: 0.92rem;
}

.craft-legend-dye {
	text-align: right;
}

.craft-legend-mid {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: 0 auto;
	border: 1px dashed var(--line-rev);
	border-radius: 50%;
	letter-spacing: 0;
	color: var(--rev);
}

.craft-list {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: craft;
}

.craft-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
	grid-template-areas: "dye mid gas";
	gap: 18px;
	padding: 22px 0;
	border-bottom: 1px dashed var(--line-rev);
}

.craft-row:last-child {
	border-bottom: 0;
}

.craft-cell--dye {
	grid-area: dye;
	text-align: right;
}

.craft-cell--gas {
	grid-area: gas;
}

.craft-cell b {
	display: block;
	font-family: var(--serif);
	font-weight: 600;
	font-size: 1.12rem;
	letter-spacing: 0.22em;
	margin-bottom: 0.25em;
	color: var(--rev);
}

.craft-cell span {
	display: block;
	font-size: 0.88rem;
	line-height: 1.8;
	color: var(--rev-muted);
}

.craft-mid {
	grid-area: mid;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.craft-mid::before {
	content: "";
	position: absolute;
	top: -22px;
	bottom: -22px;
	left: 50%;
	border-left: 1px dashed var(--line-rev);
}

.craft-row:first-child .craft-mid::before {
	top: 0;
}

.craft-row:last-child .craft-mid::before {
	bottom: 0;
}

.craft-step {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--bu-bai);
	color: var(--dian-deep);
	font-family: var(--serif);
	font-size: 0.95rem;
	box-shadow: 0 0 0 2px rgba(244, 241, 232, 0.22);
}

.craft-coda {
	margin: 34px 0 0;
	text-align: center;
	font-family: var(--serif);
	letter-spacing: 0.2em;
	color: var(--rev-muted);
}

/* 布庄账本(案例) */
.ledger-list {
	display: grid;
	gap: 0;
}

.ledger-entry {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	gap: 26px;
	align-items: start;
	padding: 30px 0;
	border-bottom: 1px dashed var(--line);
}

.ledger-entry:last-child {
	border-bottom: 0;
}

.ledger-era {
	writing-mode: vertical-rl;
	font-family: var(--serif);
	font-size: 0.9rem;
	letter-spacing: 0.32em;
	color: var(--dian);
	border: 1px dashed var(--stitch);
	border-radius: 3px;
	padding: 10px 7px;
	justify-self: center;
}

.ledger-title {
	font-size: 1.22rem;
	letter-spacing: 0.1em;
	margin-bottom: 0.6em;
	color: var(--dian-deep);
}

.ledger-lines {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ledger-lines li {
	display: flex;
	gap: 12px;
	align-items: baseline;
	padding: 5px 0;
	font-size: 0.93rem;
	color: var(--muted);
}

.ledger-lines b {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75em;
	height: 1.75em;
	border-radius: 50%;
	background: var(--dian);
	color: var(--bu-bai);
	font-size: 0.78rem;
	font-weight: 400;
	transform: translateY(0.2em);
}

.ledger-side {
	align-self: center;
}

.ledger-entry .bu-tag {
	white-space: nowrap;
}

/* 坊规(金浩丰) */
.supplier {
	padding: 72px 0;
	text-align: center;
}

.supplier-mark {
	width: 30px;
	height: 30px;
	margin: 0 auto 20px;
	background-image: var(--corner-plum-rev);
	background-size: 26px 26px;
	background-position: center;
	background-repeat: no-repeat;
}

.supplier-quote {
	margin: 0 auto;
	max-width: 780px;
	background: transparent;
	border: 0;
	padding: 0;
	color: var(--rev);
}

.supplier-quote p {
	font-family: var(--serif);
	font-size: clamp(1.15rem, 2.4vw, 1.5rem);
	line-height: 2.1;
	letter-spacing: 0.08em;
	margin-bottom: 1em;
}

.supplier-quote cite {
	font-style: normal;
	font-size: 0.82rem;
	letter-spacing: 0.34em;
	color: var(--rev-muted);
}

/* 坊间消息(新闻) */
.section--news {
	border-top: 1px dashed var(--line);
}

.news-list {
	max-width: 860px;
	margin: 0 auto;
}

.news-item {
	display: grid;
	grid-template-columns: 128px minmax(0, 1fr);
	gap: 22px;
	padding: 22px 0;
	border-bottom: 1px dashed var(--line);
}

.news-item:last-child {
	border-bottom: 0;
}

.news-date {
	font-size: 0.82rem;
	letter-spacing: 0.1em;
	color: var(--muted);
	padding-top: 5px;
}

.news-title {
	font-size: 1.08rem;
	letter-spacing: 0.06em;
	margin-bottom: 0.3em;
}

.news-title a {
	color: var(--dian-deep);
	text-decoration: none;
}

.news-title a:hover {
	color: var(--dian);
	text-decoration: underline;
	text-decoration-style: dashed;
}

.news-excerpt {
	font-size: 0.9rem;
	color: var(--muted);
	margin: 0;
}

/* 来坊里坐(联系) */
.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 48px;
	align-items: start;
}

.contact-lede {
	color: var(--rev-muted);
	max-width: 30em;
}

.contact-list {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
}

.contact-list li {
	display: flex;
	gap: 14px;
	padding: 10px 0;
	border-bottom: 1px dashed var(--line-rev);
	font-size: 0.95rem;
	color: var(--rev-muted);
}

.contact-list li:last-child {
	border-bottom: 0;
}

.contact-list b {
	flex: none;
	font-family: var(--serif);
	font-weight: 600;
	letter-spacing: 0.3em;
	color: var(--rev);
}

.contact-list a {
	color: var(--rev);
}

/*--------------------------------------------------------------
8. 内页:文章 / 页面 / 归档 / 搜索 / 404 / 产品
--------------------------------------------------------------*/
.page-hero {
	background-color: var(--dian);
	background-image: var(--weave-rev), var(--pat-plum), linear-gradient(160deg, #2c5397 0%, var(--dian) 55%, var(--dian-deep) 100%);
	color: var(--rev);
	padding: 60px 0 54px;
	position: relative;
}

.page-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 8px;
	height: 10px;
	background-image: var(--band-rev);
	background-repeat: repeat-x;
	opacity: 0.5;
	pointer-events: none;
}

.page-kicker {
	font-size: 0.8rem;
	letter-spacing: 0.34em;
	color: var(--rev-muted);
	margin-bottom: 0.8em;
}

.page-title {
	font-size: clamp(1.6rem, 3.6vw, 2.4rem);
	letter-spacing: 0.08em;
	margin: 0;
}

.page-hero .archive-description {
	color: var(--rev-muted);
	font-size: 0.95rem;
	max-width: 640px;
	margin-top: 0.8em;
}

.page-hero .archive-description p {
	margin: 0;
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin-top: 14px;
	font-size: 0.84rem;
	letter-spacing: 0.1em;
	color: var(--rev-muted);
}

.entry-meta a {
	color: var(--rev);
}

.content-area {
	padding: 64px 0 88px;
}

.layout-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 52px;
	align-items: start;
}

.content-narrow {
	max-width: 820px;
}

/* 列表条目(索引/归档/搜索) */
.entry-item {
	display: grid;
	grid-template-columns: 128px minmax(0, 1fr);
	gap: 22px;
	padding: 24px 0;
	border-bottom: 1px dashed var(--line);
}

.entry-item:first-child {
	padding-top: 0;
}

.entry-date {
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	color: var(--muted);
	padding-top: 6px;
}

.entry-title {
	font-size: 1.18rem;
	letter-spacing: 0.05em;
	margin-bottom: 0.35em;
}

.entry-title a {
	color: var(--dian-deep);
	text-decoration: none;
}

.entry-title a:hover {
	color: var(--dian);
	text-decoration: underline;
	text-decoration-style: dashed;
}

.entry-excerpt {
	font-size: 0.92rem;
	color: var(--muted);
	margin: 0;
}

.list-empty {
	padding: 30px 0;
}

/* 正文排版 */
.entry-content {
	font-size: 1.02rem;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content h2 {
	font-size: 1.42rem;
	margin-top: 1.8em;
	padding-left: 30px;
	position: relative;
}

.entry-content h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.42em;
	width: 20px;
	height: 20px;
	background-image: var(--corner-plum);
	background-size: 20px 20px;
	background-repeat: no-repeat;
}

.entry-content h3 {
	font-size: 1.2rem;
	margin-top: 1.6em;
}

.entry-content a {
	text-decoration-style: dashed;
}

.entry-content li {
	margin-bottom: 0.35em;
}

.entry-thumb {
	margin: 0 0 30px;
}

.entry-thumb img {
	border-radius: 6px;
	border: 1px dashed var(--stitch);
	padding: 6px;
	background: var(--bu-card);
}

.page-links {
	margin: 1.6em 0;
	font-size: 0.92rem;
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 30px 0 0;
}

/* 翻页 */
.pagination,
.nav-links {
	margin-top: 40px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.nav-links .page-numbers {
	display: inline-block;
	padding: 0.4em 0.95em;
	border: 1px dashed var(--stitch);
	border-radius: 3px;
	font-size: 0.9rem;
	color: var(--dian);
	text-decoration: none;
}

.nav-links .page-numbers.current {
	background: var(--dian);
	border-style: solid;
	border-color: var(--dian);
	color: var(--bu-bai);
}

.nav-links .page-numbers:hover {
	background: rgba(39, 75, 140, 0.08);
}

.nav-links .page-numbers.dots {
	border: 0;
}

/* 前后篇 */
.post-navigation {
	margin-top: 44px;
	border-top: 1px dashed var(--line);
	padding-top: 24px;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-top: 0;
}

.post-navigation a {
	text-decoration: none;
	color: var(--dian-deep);
	font-family: var(--serif);
	letter-spacing: 0.05em;
}

.post-navigation a:hover {
	color: var(--dian);
	text-decoration: underline;
	text-decoration-style: dashed;
}

.post-navigation .nav-next {
	text-align: right;
}

/* 搜索页 / 404 */
.error-page {
	padding: 96px 0 110px;
	text-align: center;
}

.error-inner {
	max-width: 560px;
	margin: 0 auto;
}

.error-badge {
	margin-bottom: 26px;
}

.error-page .page-kicker {
	color: var(--muted);
}

.error-page h1 {
	font-size: clamp(1.6rem, 3.4vw, 2.2rem);
	letter-spacing: 0.1em;
	color: var(--dian-deep);
}

.error-page p {
	color: var(--muted);
}

.error-search {
	max-width: 420px;
	margin: 26px auto 30px;
}

/* 搜索表单:翻账 */
.search-form {
	display: flex;
	gap: 10px;
}

.search-form .search-field {
	flex: 1 1 auto;
	min-width: 0;
}

.search-form .search-submit {
	flex: none;
	padding: 0.55em 1.3em;
	background: var(--dian);
	color: var(--bu-bai);
	border: 0;
	border-radius: 4px;
	font-family: var(--serif);
	letter-spacing: 0.2em;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.search-form .search-submit:hover {
	background: var(--dian-deep);
}

/* 产品单页 */
.product-hero-badge {
	margin: 0 0 18px;
}

.product-hero-badge .pattern-badge {
	margin: 0;
	width: 64px;
	height: 64px;
	color: var(--rev);
}

.product-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.spec-table {
	margin: 34px 0;
}

.spec-table caption {
	caption-side: top;
	text-align: left;
	font-family: var(--serif);
	font-size: 1.05rem;
	letter-spacing: 0.14em;
	color: var(--dian-deep);
	padding-bottom: 10px;
}

.spec-table th {
	width: 128px;
	background: rgba(39, 75, 140, 0.06);
	border-bottom: 1px dashed var(--line);
	letter-spacing: 0.1em;
	font-weight: 600;
}

.spec-table td {
	color: var(--muted);
}

.material-note {
	margin: 30px 0;
	padding: 20px 24px;
	border: 1px dashed var(--stitch);
	border-radius: 4px;
	background: var(--bu-card);
	font-family: var(--serif);
	color: var(--dian-deep);
	line-height: 2.1;
}

.material-note p {
	margin: 0;
}

/* 询价卡:一块蓝布 */
.inquiry-card {
	position: relative;
	margin: 40px 0 10px;
	padding: 34px 30px;
	background-color: var(--dian);
	background-image: var(--weave-rev), var(--pat-plum);
	color: var(--rev);
	border-radius: 6px;
	overflow: hidden;
}

.inquiry-card::before {
	content: "";
	position: absolute;
	inset: 7px;
	border: 1px dashed rgba(244, 241, 232, 0.45);
	border-radius: 3px;
	pointer-events: none;
}

.inquiry-card::after {
	content: "";
	position: absolute;
	top: 15px;
	right: 15px;
	width: 22px;
	height: 22px;
	background-image: var(--corner-plum-rev);
	background-size: 22px 22px;
	background-repeat: no-repeat;
	pointer-events: none;
}

.inquiry-title {
	font-size: 1.3rem;
	letter-spacing: 0.16em;
	margin-bottom: 0.5em;
}

.inquiry-card p {
	color: var(--rev-muted);
	max-width: 36em;
}

.inquiry-list {
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
	color: var(--rev-muted);
	font-size: 0.95rem;
}

.inquiry-list li {
	padding: 4px 0;
}

.inquiry-list a {
	color: var(--rev);
}

.back-link {
	margin-top: 26px;
	font-size: 0.9rem;
}

/* 产品归档网格复用 product-grid;归档页留白 */
.archive-products {
	padding: 64px 0 88px;
}

/*--------------------------------------------------------------
9. 侧栏与小部件
--------------------------------------------------------------*/
.widget-area {
	display: grid;
	gap: 26px;
}

.widget {
	position: relative;
	background: var(--bu-card);
	border-radius: 6px;
	padding: 24px 22px;
	box-shadow: 0 1px 0 rgba(28, 55, 102, 0.22), 0 2px 0 rgba(28, 55, 102, 0.08);
}

.widget::before {
	content: "";
	position: absolute;
	inset: 6px;
	border: 1px dashed var(--stitch);
	border-radius: 3px;
	pointer-events: none;
}

.widget > * {
	position: relative;
}

.widget-title {
	font-size: 1rem;
	letter-spacing: 0.24em;
	color: var(--dian-deep);
	margin-bottom: 0.9em;
	padding-bottom: 0.5em;
	background-image: repeating-linear-gradient(90deg, var(--stitch) 0, var(--stitch) 5px, transparent 5px, transparent 10px);
	background-size: 100% 1px;
	background-position: 0 100%;
	background-repeat: no-repeat;
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget ul li {
	padding: 7px 0;
	border-bottom: 1px dashed var(--line);
	font-size: 0.92rem;
}

.widget ul li:last-child {
	border-bottom: 0;
}

.widget a {
	text-decoration: none;
}

.widget a:hover {
	text-decoration: underline;
	text-decoration-style: dashed;
}

.widget p {
	font-size: 0.92rem;
	color: var(--muted);
	margin-bottom: 0;
}

.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
10. 下摆:页脚
--------------------------------------------------------------*/
.site-footer {
	background-color: var(--dian-ink);
	background-image: var(--weave-rev), var(--pat-roe);
	color: var(--rev-muted);
}

.footer-band {
	height: 10px;
	background-image: var(--band-rev);
	background-repeat: repeat-x;
	opacity: 0.5;
	margin-top: 18px;
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 1.1fr);
	gap: 44px;
	padding-top: 44px;
	padding-bottom: 40px;
}

.footer-brand {
	font-family: var(--serif);
	font-size: 1.2rem;
	letter-spacing: 0.16em;
	color: var(--rev);
	margin-bottom: 0.7em;
}

.footer-brand span {
	display: block;
	font-size: 0.74rem;
	letter-spacing: 0.12em;
	color: var(--rev-muted);
	margin-top: 4px;
}

.footer-text {
	font-size: 0.9rem;
	line-height: 2;
}

.footer-slogan {
	font-family: var(--serif);
	letter-spacing: 0.2em;
	color: var(--rev);
	margin: 0;
}

.footer-title {
	font-size: 0.92rem;
	letter-spacing: 0.3em;
	color: var(--rev);
	margin-bottom: 1em;
}

.footer-menu,
.footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu li,
.footer-list li {
	padding: 6px 0;
	font-size: 0.9rem;
	border-bottom: 1px dashed rgba(244, 241, 232, 0.14);
}

.footer-menu li:last-child,
.footer-list li:last-child {
	border-bottom: 0;
}

.site-footer a {
	color: var(--rev);
	text-decoration: none;
}

.site-footer a:hover {
	text-decoration: underline;
	text-decoration-style: dashed;
}

.footer-supplier {
	border-top: 1px dashed rgba(244, 241, 232, 0.16);
	border-bottom: 1px dashed rgba(244, 241, 232, 0.16);
}

.footer-supplier p {
	margin: 0;
	padding: 18px 0;
	font-family: var(--serif);
	font-size: 0.92rem;
	letter-spacing: 0.06em;
	line-height: 2;
	color: var(--rev-muted);
	text-align: center;
}

.footer-legal-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 24px;
	padding-top: 18px;
	padding-bottom: 22px;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
}

.footer-legal p {
	margin: 0;
}

/*--------------------------------------------------------------
11. WordPress 核心类
--------------------------------------------------------------*/
.alignleft {
	float: left;
	margin: 0.4em 1.4em 1em 0;
}

.alignright {
	float: right;
	margin: 0.4em 0 1em 1.4em;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 100%;
	background: var(--bu-card);
	border: 1px dashed var(--stitch);
	border-radius: 4px;
	padding: 6px;
	margin-bottom: 1.4em;
}

.wp-caption img {
	display: block;
	margin: 0 auto;
}

.wp-caption-text,
.gallery-caption {
	font-size: 0.82rem;
	color: var(--muted);
	text-align: center;
	padding: 6px 4px 2px;
	margin: 0;
}

.sticky .entry-title::after {
	content: "置顶";
	display: inline-block;
	margin-left: 10px;
	padding: 0.1em 0.7em;
	background: var(--dian);
	color: var(--bu-bai);
	font-family: var(--sans);
	font-size: 0.66em;
	letter-spacing: 0.16em;
	clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%);
	vertical-align: 0.2em;
}

.bypostauthor {
	outline: 0;
}

/*--------------------------------------------------------------
12. 响应式与动效兜底
--------------------------------------------------------------*/
@media (max-width: 1000px) {
	.hero-grid {
		grid-template-columns: 1fr;
		padding-top: 64px;
	}

	.hero-art {
		order: -1;
		width: min(70%, 300px);
	}

	.layout-grid {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.product-grid {
		grid-template-columns: 1fr 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	html {
		scroll-padding-top: 76px;
	}

	.topline-meta {
		display: none;
	}

	.topline-inner {
		justify-content: center;
	}

	.header-inner {
		min-height: 64px;
		gap: 14px;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background-color: var(--dian-deep);
		background-image: var(--weave-rev), var(--pat-plum);
		border-bottom: 1px dashed var(--line-rev);
		box-shadow: 0 18px 34px rgba(22, 40, 74, 0.35);
	}

	.nav-open .site-nav {
		display: block;
	}

	.site-nav .menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 14px 22px 22px;
	}

	.site-nav .menu a {
		color: var(--rev);
		font-family: var(--serif);
		font-size: 1.05rem;
		letter-spacing: 0.18em;
		padding: 0.8em 0.2em;
		border-bottom: 1px dashed var(--line-rev);
		background-image: none;
	}

	.site-nav .menu li:last-child > a {
		border-bottom: 0;
	}

	.site-nav .menu a:hover,
	.site-nav .menu .current-menu-item > a,
	.site-nav .menu .current_page_item > a {
		color: var(--rev);
		background-size: 0 0;
	}

	.site-nav .menu .sub-menu {
		display: block;
		position: static;
		background: transparent;
		border: 0;
		box-shadow: none;
		padding: 0 0 0 1.2em;
		min-width: 0;
	}

	.site-nav .menu .sub-menu a {
		font-size: 0.92rem;
		letter-spacing: 0.12em;
	}

	.section {
		padding: 60px 0;
	}

	.stats-grid {
		grid-template-columns: 1fr 1fr;
		gap: 22px 12px;
	}

	.product-grid {
		grid-template-columns: 1fr;
	}

	.craft-legend {
		display: none;
	}

	.craft-row {
		grid-template-columns: 48px minmax(0, 1fr);
		grid-template-areas:
			"mid dye"
			"mid gas";
		gap: 8px 16px;
	}

	.craft-cell--dye {
		text-align: left;
	}

	.craft-cell--dye b::after {
		content: " · 染布";
		font-size: 0.72em;
		letter-spacing: 0.1em;
		color: var(--rev-muted);
	}

	.craft-cell--gas b::after {
		content: " · 治气";
		font-size: 0.72em;
		letter-spacing: 0.1em;
		color: var(--rev-muted);
	}

	.craft-mid {
		align-items: flex-start;
		padding-top: 4px;
	}

	.ledger-entry {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.ledger-era {
		writing-mode: horizontal-tb;
		justify-self: start;
		padding: 4px 12px;
		letter-spacing: 0.2em;
	}

	.ledger-side {
		align-self: start;
	}

	.news-item,
	.entry-item {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.contact-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.footer-legal-inner {
		justify-content: center;
		text-align: center;
	}

	.post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

	.post-navigation .nav-next {
		text-align: left;
	}
}

@media (max-width: 560px) {
	.wrap {
		padding: 0 18px;
	}

	.hero-actions .btn-tag,
	.hero-actions .btn-line {
		width: 100%;
		text-align: center;
	}

	.stat-num {
		font-size: 1.5rem;
	}

	.bu-card {
		padding: 26px 20px 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}
}
