/* =========================================================
   拼豆小铺 · 主样式
   设计语言:钉板点阵 + 糖果豆色 + 像素字体 + 贴纸硬投影
   ========================================================= */

:root {
	/* 豆色板 */
	--board: #fffdf6;        /* 钉板米白 */
	--board-tint: #fff4dc;   /* 奶油底(强调区) */
	--ink: #33281e;          /* 豆墨深棕 */
	--ink-soft: #7a6a58;
	--cherry: #ff5470;
	--cherry-soft: #ffb3c7;
	--sky: #2e86e6;
	--butter: #ffc53d;
	--apple: #3ec272;
	--grape: #8e6ff7;
	--tangerine: #ff8a3d;

	/* 字体 */
	--font-display: "ZCOOL KuaiLe", "Noto Sans SC", "PingFang SC", sans-serif;
	--font-pixel: "Silkscreen", "Courier New", monospace;
	--font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;

	/* 结构 */
	--radius: 18px;
	--radius-sm: 12px;
	--line: 2px solid var(--ink);
	--peg-gap: 24px;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.75;
	color: var(--ink);
	background-color: var(--board);
	/* 钉板点阵纹理:整站背景就是一块大钉板 */
	background-image: radial-gradient(circle, rgba(51, 40, 30, 0.07) 1.4px, transparent 1.6px);
	background-size: var(--peg-gap) var(--peg-gap);
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--ink); }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.25;
	margin: 0 0 0.5em;
	letter-spacing: 0.01em;
}

p { margin: 0 0 1em; }

.wrap { max-width: 1160px; margin-inline: auto; padding-inline: 24px; }
.wrap--narrow { max-width: 780px; }

.pixel {
	font-family: var(--font-pixel);
	font-size: 0.82em;
	letter-spacing: 0.06em;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	clip-path: inset(50%);
	overflow: hidden;
	white-space: nowrap;
}

.skip-link:focus {
	clip-path: none;
	width: auto; height: auto;
	position: fixed; top: 12px; left: 12px;
	z-index: 999;
	background: var(--butter);
	border: var(--line);
	border-radius: 999px;
	padding: 0.5em 1.2em;
}

:focus-visible {
	outline: 3px solid var(--sky);
	outline-offset: 2px;
	border-radius: 4px;
}

/* ---------- 豆珠(带孔) ---------- */
.bead {
	--bead: var(--cherry);
	display: inline-block;
	width: 14px; height: 14px;
	border-radius: 50%;
	background: var(--bead);
	box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.14), inset 2px 2px 0 rgba(255, 255, 255, 0.35);
	position: relative;
	vertical-align: middle;
	flex: none;
}

.bead::after {
	content: "";
	position: absolute;
	inset: 31%;
	border-radius: 50%;
	background: rgba(43, 22, 10, 0.3);
	box-shadow: inset 0 1.5px 1.5px rgba(0, 0, 0, 0.35);
}

.bead--cherry { --bead: var(--cherry); }
.bead--sky { --bead: var(--sky); }
.bead--butter { --bead: var(--butter); }
.bead--apple { --bead: var(--apple); }
.bead--grape { --bead: var(--grape); }
.bead--tangerine { --bead: var(--tangerine); }
.bead--ink { --bead: var(--ink); }

.bead--empty {
	background: transparent;
	box-shadow: inset 0 0 0 2px rgba(51, 40, 30, 0.28);
}
.bead--empty::after { background: rgba(51, 40, 30, 0.12); box-shadow: none; }

.bead-rail { display: inline-flex; gap: 6px; align-items: center; }

/* ---------- 按钮:贴纸感 ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1;
	padding: 0.85em 1.6em;
	background: #fff;
	color: var(--ink);
	border: var(--line);
	border-radius: 999px;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 4px 4px 0 var(--ink);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

.btn--primary { background: var(--cherry); color: #fff; }

/* ---------- 公告条 ---------- */
.announce {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	padding: 8px 16px;
	background: var(--butter);
	border-bottom: var(--line);
	font-size: 0.88rem;
	font-weight: 500;
	text-align: center;
}

/* ---------- 页头 ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--board);
	border-bottom: var(--line);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 68px;
}

.site-brand__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.brand-beads { display: inline-flex; gap: 4px; }
.brand-beads .bead { width: 16px; height: 16px; }

.site-brand__name {
	font-family: var(--font-display);
	font-size: 1.5rem;
	letter-spacing: 0.02em;
}

.site-nav__list {
	list-style: none;
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
}

.site-nav__list a {
	display: inline-block;
	padding: 0.45em 0.9em;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 500;
	border: 2px solid transparent;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.site-nav__list a:hover { background: var(--butter); border-color: var(--ink); }

.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a {
	border-color: var(--ink);
	background: #fff;
	box-shadow: 3px 3px 0 var(--cherry);
}

.site-nav__list .sub-menu {
	list-style: none;
	margin: 0;
	padding: 8px;
	position: absolute;
	background: #fff;
	border: var(--line);
	border-radius: var(--radius-sm);
	box-shadow: 5px 5px 0 var(--sky);
	display: none;
	min-width: 180px;
	z-index: 60;
}

.site-nav__list li { position: relative; }
.site-nav__list li:hover > .sub-menu,
.site-nav__list li:focus-within > .sub-menu { display: block; }
.site-nav__list .sub-menu a { display: block; }

.nav-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: var(--line);
	border-radius: 999px;
	padding: 0.5em 1em;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 3px 3px 0 var(--ink);
}

.nav-toggle__beads { display: inline-flex; gap: 4px; }
.nav-toggle__beads .bead { width: 10px; height: 10px; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 48px; overflow: hidden; }

.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 48px;
	align-items: center;
}

.eyebrow {
	font-family: var(--font-pixel);
	font-size: 0.78rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ink-soft);
	margin: 10px 0 6px;
}

.hero__title {
	font-size: clamp(2.4rem, 5.4vw, 4rem);
	margin: 0.1em 0 0.35em;
}

.hero__subtitle {
	font-size: 1.12rem;
	color: var(--ink-soft);
	max-width: 30em;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 18px; }

.hero__hint { font-size: 0.85rem; color: var(--ink-soft); }
.hero__hint .pixel {
	background: var(--ink);
	color: var(--butter);
	padding: 2px 8px;
	border-radius: 6px;
	margin-right: 6px;
}

/* ---------- 钉板(签名元素) ---------- */
.hero__board { justify-self: center; width: min(100%, 480px); }

.pegboard {
	display: grid;
	gap: 3px;
	background: #fff;
	border: var(--line);
	border-radius: 22px;
	padding: 18px;
	box-shadow: 9px 9px 0 var(--sky);
	transform: rotate(1.6deg);
}

.pegboard--mini {
	padding: 12px;
	border-radius: 16px;
	box-shadow: 6px 6px 0 var(--butter);
	width: min(100%, 260px);
	margin-inline: auto;
}

.pegboard__caption {
	text-align: center;
	color: var(--ink-soft);
	margin-top: 16px;
	font-size: 0.72rem;
	letter-spacing: 0.2em;
}

.peg {
	aspect-ratio: 1;
	border-radius: 50%;
	position: relative;
	/* 空钉:板上的小凸点 */
	background: radial-gradient(circle, rgba(51, 40, 30, 0.16) 22%, transparent 26%);
}

.peg.is-filled {
	background: var(--peg-color, var(--cherry));
	box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.15), inset 2px 2px 0 rgba(255, 255, 255, 0.35);
	animation: bead-pop 0.4s cubic-bezier(0.2, 1.5, 0.4, 1) both;
	animation-delay: var(--d, 0s);
	animation-play-state: paused;
}

.is-live .peg.is-filled { animation-play-state: running; }

.peg.is-filled::after {
	content: "";
	position: absolute;
	inset: 31%;
	border-radius: 50%;
	background: rgba(43, 22, 10, 0.28);
	box-shadow: inset 0 1.5px 1.5px rgba(0, 0, 0, 0.35);
}

.pegboard[data-interactive] .peg:not(.is-filled) { cursor: pointer; }

.peg.is-user { animation-delay: 0s; }

@keyframes bead-pop {
	0% { transform: scale(0); }
	62% { transform: scale(1.28); }
	100% { transform: scale(1); }
}

/* ---------- 跑马灯 ---------- */
.marquee {
	border-top: var(--line);
	border-bottom: var(--line);
	background: #fff;
	overflow: hidden;
	padding: 12px 0;
}

.marquee__track {
	display: inline-flex;
	align-items: center;
	gap: 28px;
	white-space: nowrap;
	animation: marquee 26s linear infinite;
	padding-left: 28px;
	will-change: transform;
}

.marquee__item {
	font-family: var(--font-display);
	font-size: 1.35rem;
	letter-spacing: 0.05em;
}

@keyframes marquee {
	to { transform: translateX(-50%); }
}

/* ---------- 章节 ---------- */
.section { padding: 72px 0; }

.section--tinted {
	background: var(--board-tint);
	border-top: var(--line);
	border-bottom: var(--line);
	background-image: radial-gradient(circle, rgba(51, 40, 30, 0.07) 1.4px, transparent 1.6px);
	background-size: var(--peg-gap) var(--peg-gap);
}

.section-head { margin-bottom: 40px; }

.section-title {
	font-size: clamp(1.7rem, 3.4vw, 2.4rem);
	margin: 0;
}

.section__more { margin-top: 36px; text-align: center; }
.section__note { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- 网格与卡片 ---------- */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
	background: #fff;
	border: var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	position: relative;
}

.card--shadow-cherry { box-shadow: 6px 6px 0 var(--cherry); }
.card--shadow-sky { box-shadow: 6px 6px 0 var(--sky); }
.card--shadow-butter { box-shadow: 6px 6px 0 var(--butter); }
.card--shadow-apple { box-shadow: 6px 6px 0 var(--apple); }
.card--shadow-grape { box-shadow: 6px 6px 0 var(--grape); }
.card--shadow-tangerine { box-shadow: 6px 6px 0 var(--tangerine); }

.card--work,
.card--post { transition: transform 0.2s ease; }
.card--work:hover,
.card--post:hover { transform: translate(-3px, -3px) rotate(-0.6deg); }

.card__link { text-decoration: none; display: block; height: 100%; }

.card__media { border-bottom: var(--line); background: var(--board-tint); }
.card__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.card__body { padding: 20px 22px 22px; }

.card__title { font-size: 1.3rem; margin: 0 0 0.4em; }

.card__desc { color: var(--ink-soft); font-size: 0.95rem; }
.card__desc p { margin: 0; }

.card__more {
	display: inline-block;
	margin-top: 12px;
	font-weight: 700;
	font-size: 0.9rem;
}

.card--service { padding: 28px 26px; }

/* 服务图标:纯 CSS 小像素画 */
.service-icon {
	display: block;
	width: 44px; height: 44px;
	margin-bottom: 18px;
	border: var(--line);
	border-radius: var(--radius-sm);
	position: relative;
	background: var(--board);
}

.service-icon::before {
	content: "";
	position: absolute;
	inset: 8px;
	border-radius: 4px;
}

.service-icon--kit::before {
	background:
		radial-gradient(circle 4px at 25% 25%, var(--cherry) 98%, transparent),
		radial-gradient(circle 4px at 75% 25%, var(--butter) 98%, transparent),
		radial-gradient(circle 4px at 25% 75%, var(--sky) 98%, transparent),
		radial-gradient(circle 4px at 75% 75%, var(--apple) 98%, transparent);
}

.service-icon--custom::before {
	background:
		linear-gradient(var(--sky), var(--sky)) 0 0 / 50% 50%,
		linear-gradient(var(--cherry), var(--cherry)) 100% 0 / 50% 50%,
		linear-gradient(var(--butter), var(--butter)) 0 100% / 50% 50%,
		linear-gradient(var(--grape), var(--grape)) 100% 100% / 50% 50%;
	background-repeat: no-repeat;
}

.service-icon--class::before {
	background:
		linear-gradient(var(--apple), var(--apple)) 50% 0 / 34% 100%,
		linear-gradient(var(--tangerine), var(--tangerine)) 0 50% / 100% 34%;
	background-repeat: no-repeat;
}

/* ---------- 作品参数 ---------- */
.work-meta {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin: 10px 0 0;
	padding: 0;
	color: var(--ink-soft);
	font-size: 0.88rem;
}

.work-meta__num {
	font-family: var(--font-pixel);
	font-size: 1rem;
	color: var(--ink);
	margin-right: 3px;
}

.difficulty { display: inline-flex; gap: 4px; align-items: center; }
.difficulty .bead { width: 12px; height: 12px; }

/* ---------- 占位钉板(无图作品) ---------- */
.placeholder-board {
	aspect-ratio: 1;
	display: grid;
	gap: 3px;
	padding: 14%;
	align-content: center;
}

/* ---------- 定制流程 ---------- */
.steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
	counter-reset: step;
}

.step {
	background: #fff;
	border: var(--line);
	border-radius: var(--radius);
	padding: 24px 22px;
	position: relative;
}

.step__num {
	display: inline-block;
	font-size: 1.4rem;
	padding: 2px 10px;
	border: var(--line);
	border-radius: 8px;
	margin-bottom: 14px;
	background: var(--board);
}

.step:nth-child(1) { box-shadow: 6px 6px 0 var(--cherry); }
.step:nth-child(2) { box-shadow: 6px 6px 0 var(--butter); }
.step:nth-child(3) { box-shadow: 6px 6px 0 var(--sky); }
.step:nth-child(4) { box-shadow: 6px 6px 0 var(--apple); }

.step:nth-child(1) .step__num { color: var(--cherry); }
.step:nth-child(2) .step__num { color: var(--tangerine); }
.step:nth-child(3) .step__num { color: var(--sky); }
.step:nth-child(4) .step__num { color: var(--apple); }

.step__title { font-size: 1.15rem; margin-bottom: 0.3em; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.93rem; }

/* ---------- CTA ---------- */
.section--cta { padding-bottom: 88px; }

.cta {
	display: grid;
	grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
	background: var(--butter);
	border: var(--line);
	border-radius: 26px;
	box-shadow: 10px 10px 0 var(--grape);
	padding: 44px;
}

.cta__title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.4em; }
.cta p { margin-bottom: 1.4em; }

/* ---------- 跑马灯 / 通用列表章节结束,进入内页 ---------- */

/* 系列筛选 chips */
.series-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }

.chip {
	display: inline-block;
	padding: 0.4em 1em;
	border: var(--line);
	border-radius: 999px;
	background: #fff;
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 500;
	transition: transform 0.15s ease;
}

.chip:hover { background: var(--butter); transform: translateY(-2px); }
.chip.is-active { background: var(--ink); color: var(--board); }

/* ---------- 作品详情 ---------- */
.work-single {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

.work-single__media { transform: rotate(-1deg); }
.work-single__media img { width: 100%; }

.work-single__title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0.2em 0 0.3em; }

.work-single__series { color: var(--ink-soft); font-size: 0.9rem; }

.work-single__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ---------- 文章 / 页面 ---------- */
.entry-header { margin-bottom: 28px; }

.entry-title { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 0.2em 0 0.2em; }

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	color: var(--ink-soft);
	font-size: 0.86rem;
}

.entry-meta a { color: inherit; }

.entry-thumb { margin-bottom: 32px; }
.entry-thumb img { width: 100%; }

.entry-content { font-size: 1.05rem; }

.entry-content h2,
.entry-content h3 { margin-top: 1.6em; }

.entry-content a { color: var(--sky); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.entry-content blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 22px;
	border-left: 6px dotted var(--cherry);
	color: var(--ink-soft);
}

.entry-content img { border: var(--line); border-radius: var(--radius-sm); }

.entry-content code {
	font-family: var(--font-pixel);
	font-size: 0.85em;
	background: var(--board-tint);
	border: 1px solid rgba(51, 40, 30, 0.25);
	border-radius: 6px;
	padding: 1px 6px;
}

.entry-tags a {
	display: inline-block;
	margin: 0 6px 8px 0;
	padding: 0.2em 0.8em;
	border: var(--line);
	border-radius: 999px;
	font-size: 0.82rem;
	text-decoration: none;
	background: #fff;
}

.entry-tags a:hover { background: var(--butter); }

/* WordPress 对齐类 */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--ink-soft); text-align: center; margin-top: 6px; }
.sticky { display: block; }
.bypostauthor { display: block; }

/* 上一篇 / 下一篇 */
.post-navigation { margin-top: 48px; border-top: var(--line); padding-top: 24px; }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.post-navigation a { text-decoration: none; font-weight: 500; }
.post-navigation .pixel { display: block; color: var(--ink-soft); font-size: 0.7rem; letter-spacing: 0.2em; }

/* 分页 */
.pagination { margin-top: 44px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	min-width: 42px;
	justify-content: center;
	padding: 0.45em 0.9em;
	border: var(--line);
	border-radius: 999px;
	background: #fff;
	text-decoration: none;
	font-family: var(--font-pixel);
	font-size: 0.85rem;
}

.pagination .page-numbers.current { background: var(--cherry); color: #fff; box-shadow: 3px 3px 0 var(--ink); }
.pagination a.page-numbers:hover { background: var(--butter); }

/* ---------- 表单 ---------- */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="number"],
textarea {
	font: inherit;
	width: 100%;
	padding: 0.7em 1em;
	border: var(--line);
	border-radius: var(--radius-sm);
	background: #fff;
	color: var(--ink);
}

textarea { min-height: 140px; resize: vertical; }

input:focus,
textarea:focus { outline: 3px solid var(--sky); outline-offset: 1px; }

.search-form { display: flex; gap: 12px; max-width: 460px; }
.search-form .search-field { flex: 1; border-radius: 999px; }

.comment-form input[type="submit"],
button[type="submit"] {
	font: inherit;
	font-weight: 700;
	padding: 0.75em 1.6em;
	background: var(--cherry);
	color: #fff;
	border: var(--line);
	border-radius: 999px;
	cursor: pointer;
	box-shadow: 4px 4px 0 var(--ink);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.comment-form input[type="submit"]:hover,
button[type="submit"]:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }

/* ---------- 评论 ---------- */
.comments-area { margin-top: 56px; border-top: var(--line); padding-top: 36px; }

.comment-list { list-style: none; margin: 0 0 32px; padding: 0; }

.comment-list .comment-body {
	background: #fff;
	border: var(--line);
	border-radius: var(--radius);
	padding: 18px 20px;
	margin-bottom: 18px;
}

.comment-list .children { list-style: none; padding-left: 28px; }

.comment-list .avatar { border-radius: 50%; border: 2px solid var(--ink); }

.comment-meta { font-size: 0.85rem; color: var(--ink-soft); }

.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }

.reply a {
	font-size: 0.82rem;
	text-decoration: none;
	border: var(--line);
	border-radius: 999px;
	padding: 0.15em 0.8em;
	background: var(--board);
}

/* ---------- 无结果 / 404 ---------- */
.no-results,
.error-404 { text-align: center; padding: 24px 0; }

.no-results .pegboard,
.error-404 .pegboard { margin-bottom: 28px; }

.no-results .search-form,
.error-404 .search-form { margin: 20px auto 24px; justify-content: center; }

.error-404__title { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.error-404__title .pixel { color: var(--cherry); margin-right: 8px; }

/* ---------- 页脚 ---------- */
.site-footer { margin-top: 40px; background: var(--ink); color: var(--board); }

/* 豆珠轨道:一整条彩豆分隔线 */
.footer-rail {
	height: 26px;
	border-top: var(--line);
	border-bottom: var(--line);
	background-color: var(--board);
	background-image:
		radial-gradient(circle 6px at 13px 13px, var(--cherry) 97%, transparent),
		radial-gradient(circle 6px at 39px 13px, var(--butter) 97%, transparent),
		radial-gradient(circle 6px at 65px 13px, var(--sky) 97%, transparent),
		radial-gradient(circle 6px at 91px 13px, var(--apple) 97%, transparent),
		radial-gradient(circle 6px at 117px 13px, var(--grape) 97%, transparent),
		radial-gradient(circle 6px at 143px 13px, var(--tangerine) 97%, transparent);
	background-size: 156px 26px;
	background-repeat: repeat-x;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 36px;
	padding-top: 52px;
	padding-bottom: 36px;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-size: 1.4rem;
	margin-bottom: 8px;
}

.footer-desc { color: rgba(255, 253, 246, 0.7); font-size: 0.92rem; }

.footer-title {
	font-size: 1.05rem;
	color: var(--butter);
	margin-bottom: 14px;
}

.footer-list { list-style: none; margin: 0; padding: 0; font-size: 0.92rem; }
.footer-list li { margin-bottom: 10px; color: rgba(255, 253, 246, 0.82); }
.footer-list a { color: inherit; text-decoration-color: var(--cherry); text-underline-offset: 3px; }
.footer-list a:hover { color: #fff; }
.footer-list .pixel { color: var(--butter); margin-left: 4px; }

.site-footer .widget-title { font-size: 1.05rem; color: var(--butter); font-family: var(--font-display); font-weight: 400; }
.site-footer .widget { font-size: 0.92rem; color: rgba(255, 253, 246, 0.82); }
.site-footer .widget a { color: inherit; }

.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	padding-top: 18px;
	padding-bottom: 26px;
	border-top: 1px dashed rgba(255, 253, 246, 0.3);
	font-size: 0.82rem;
	color: rgba(255, 253, 246, 0.65);
}

.site-footer__bottom p { margin: 0; }

/* ---------- WooCommerce 轻适配 ---------- */
.woocommerce-wrap ul.products {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.woocommerce-wrap ul.products li.product {
	background: #fff;
	border: var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	padding: 0 0 18px;
	text-align: center;
}

.woocommerce-wrap ul.products li.product:nth-child(6n + 1) { box-shadow: 6px 6px 0 var(--cherry); }
.woocommerce-wrap ul.products li.product:nth-child(6n + 2) { box-shadow: 6px 6px 0 var(--sky); }
.woocommerce-wrap ul.products li.product:nth-child(6n + 3) { box-shadow: 6px 6px 0 var(--butter); }
.woocommerce-wrap ul.products li.product:nth-child(6n + 4) { box-shadow: 6px 6px 0 var(--apple); }
.woocommerce-wrap ul.products li.product:nth-child(6n + 5) { box-shadow: 6px 6px 0 var(--grape); }
.woocommerce-wrap ul.products li.product:nth-child(6n + 6) { box-shadow: 6px 6px 0 var(--tangerine); }

.woocommerce-wrap ul.products li.product img { border-bottom: var(--line); }

.woocommerce-wrap ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--font-display);
	font-size: 1.15rem;
	padding: 14px 16px 0;
}

.woocommerce-wrap .price {
	display: block;
	font-family: var(--font-pixel);
	color: var(--cherry);
	padding: 6px 16px 10px;
}

.woocommerce-wrap .button,
.woocommerce-wrap .add_to_cart_button {
	display: inline-block;
	font-weight: 700;
	padding: 0.6em 1.4em;
	background: var(--cherry);
	color: #fff;
	border: var(--line);
	border-radius: 999px;
	text-decoration: none;
	box-shadow: 3px 3px 0 var(--ink);
}

.woocommerce-wrap .onsale {
	position: absolute;
	background: var(--butter);
	border: var(--line);
	border-radius: 999px;
	padding: 0.3em 0.9em;
	font-weight: 700;
	margin: 10px;
	z-index: 2;
}

.woocommerce-wrap ul.products li.product { position: relative; }

/* ---------- 滚动浮现 ---------- */
.will-reveal { opacity: 0; transform: translateY(14px); }

.is-revealed {
	opacity: 1;
	transform: none;
	transition: opacity 0.5s ease var(--d, 0s), transform 0.5s ease var(--d, 0s);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
	.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
	.hero { padding: 44px 0 40px; }
	.hero__inner { grid-template-columns: 1fr; gap: 40px; }
	.hero__board { width: min(100%, 420px); }

	.work-single { grid-template-columns: 1fr; }

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

	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--board);
		border-bottom: var(--line);
		padding: 12px 24px 20px;
		box-shadow: 0 12px 0 rgba(51, 40, 30, 0.08);
	}

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

	.site-nav__list { flex-direction: column; gap: 6px; }
	.site-nav__list a { display: block; }
	.site-nav__list .sub-menu {
		display: block;
		position: static;
		box-shadow: none;
		border: none;
		border-left: 3px dotted var(--cherry);
		border-radius: 0;
		margin-left: 12px;
	}
}

@media (max-width: 640px) {
	body { font-size: 15px; }
	.section { padding: 52px 0; }
	.grid--3 { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr; }
	.cta { grid-template-columns: 1fr; padding: 30px 24px; text-align: center; }
	.cta__board .pegboard { margin-inline: auto; }
	.site-footer__inner { grid-template-columns: 1fr; gap: 28px; }
	.site-footer__bottom { justify-content: center; text-align: center; }
	.woocommerce-wrap ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.marquee__item { font-size: 1.1rem; }
}

/* ---------- 动效减弱 ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	.marquee__track { animation: none; }

	.peg.is-filled { animation: none; }

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

	.btn,
	.card--work,
	.card--post,
	.chip { transition: none; }
}
