/*
Theme Name: UTOP
Theme URI: https://utopbag.example
Author: 扉禾润
Author URI: https://utopbag.example
Description: Bag OEM/ODM lead-generation theme for XIAMEN UTOP INTERNATIONAL. Pattern-paper ground and ink type with a single kraft-derived accent sampled from real cut-panel material (hue band 30°, span 10°). Signature language is "The Seam": 8-SPI lockstitch dashes as every divider, cut-corner media frames echoing the sheared logo, and feed-dog motion (discrete steps(), never fade-up). Price-free ToB catalog with inquiry-first product pages, configurable homepage sections, floating WhatsApp contact rail. All copy and imagery managed from the admin.
Version: 2.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: utop
Tags: custom-menu, custom-logo, featured-images, translation-ready

Fonts: Archivo (headings & body), licensed under the
SIL Open Font License 1.1 — loaded from Google Fonts.
(https://fonts.google.com/specimen/Archivo)
*/

:root {
	/* ---------------------------------------------------------------
	   UTOP 设计令牌
	   色谱来源:对签名素材 sig-pattern-seam.png(裁片+车缝线迹)按色相分桶采样。
	   剔掉饱和<0.18 的无彩样本(占有效像素 45.9%,即炭黑尼龙与台面),
	   剩余有彩像素 93.3% 落在色相 30°、6.3% 在 40° —— 跨度仅 10°,中位色 #CBB294。
	   因此:所有有彩 token 的色相锁死在 28–34°,只变明度与饱和度;
	        墨与炭是无彩(S<=.10);页面上其余一切颜色都来自产品照片本身。
	   --------------------------------------------------------------- */
	--bg: #efece9;            /* 打版纸底 H30 S.16 L.93 */
	--surface: #f7f5f2;       /* 面(卡片/表单) */
	--tint: #e8e4e0;          /* 交替区块底 */
	--mist: #e2deda;
	--ink: #151719;           /* 主文字 15.27:1 vs bg */
	--ink-soft: #2a2d30;
	--muted: #68615a;         /* 次要文字 5.18:1 vs bg / 4.82:1 vs tint (AA) */
	--deep: #22262a;          /* 唯一深色重音带 12.94:1 vs bg */
	--deep-2: #1b1e21;
	--deep-edge: #14161a;
	--deep-ink: #f2efeb;
	--deep-muted: #ada69f;    /* 6.33:1 vs deep (AA) */
	--accent: #9a5416;        /* 牛皮深调 H28.2 S.75 L.35 — 5.75:1 vs 白, 4.88:1 vs bg */
	--accent-deep: #7b410f;
	--accent-on-dark: #d38c45;   /* 深色带上的强调色:5.52:1 vs --deep(AA) */
	--accent-soft: rgba(154, 84, 22, 0.10);
	--steel: #cdc7c1;
	--steel-deep: #a49c93;
	--steel-soft: rgba(164, 156, 147, 0.16);
	--danger: #9a2f1c;
	--line: #d8d3cd;
	--line-strong: #bdb6ae;
	--line-deep: rgba(242, 239, 235, 0.16);

	/* --- 签名:线迹(The Seam) ---------------------------------------
	   针距取箱包行业常用 8 SPI(每英寸 8 针)。1 英寸 ≈ 96px,
	   96 / 8 = 12px 一个针距周期,按锁式线迹面线露出与穿透的比例 3:2
	   拆成 dash 6px / gap 4px(+2px 收线余量)。
	   这两个数字是全站所有虚线、所有推进动画的唯一来源。 */
	--seam-dash: 6px;
	--seam-gap: 4px;
	--seam-w: 1.5px;
	--seam-color: var(--line-strong);
	--seam-steps: 24;         /* 一次推进的针数 */	/* 裁片切角:取 UTOP logo 字形的斜切量 */
	--cut: 14px;

	--radius: 0;              /* 裁片没有圆角 —— 全站圆角只有 0 与 999px 两档 */
	--radius-sm: 0;
	--radius-lg: 0;
	--shadow: none;           /* UI 一律无阴影;落影只存在于产品照片自身 */
	--shadow-soft: none;
	--font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Archivo", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--wrap: 1260px;
	--wrap-narrow: 680px;     /* 3 档容器宽:窄栏 / 常规 / 满宽 */
}

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

html {
	-webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

/* clip, not hidden: hidden would break the sticky header */
html,
body {
	overflow-x: clip;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	color: var(--ink-soft);
	background: var(--bg);
}

img,
video {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
}

::selection {
	background: var(--accent);
	color: #ffffff;
}

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
	border-radius: 0;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.14;
	margin: 0;
	color: var(--ink);
	letter-spacing: -0.014em;
}

p {
	margin: 0;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 48px);
}

.section-pad {
	padding-block: clamp(40px, 6vw, 72px);
}

.sec {
	padding-block: clamp(56px, 8vw, 96px);
}

.sec-tint {
	background: var(--tint);
}

.sec-navy {
	background: var(--deep);
}

.visually-hidden,
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 200;
	padding: 10px 18px;
	background: var(--deep);
	color: var(--deep-ink);
	border-radius: var(--radius);
	text-decoration: none;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 12px;
}

body.no-scroll {
	overflow: hidden;
}

/* Reveal animation: only when JS added html.fx, so content is never hidden without JS */
/* 母题「送布」:缝纫机的送布牙把料一格一格往前送 —— 等时等距、单向、离散。
   所以全站揭示不是淡入上移,是沿送料方向 steps() 推进。5 步 × 2px。 */
html.fx [data-rv] {
	opacity: 0;
	transform: translateX(-10px);
	transition: opacity 0.3s linear, transform 0.4s steps(5, end);
}

html.fx [data-rv].rv-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html.fx [data-rv] {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

/* ================= Buttons ================= */
/* Button group: bottom 3px solid rule. No border on three sides — a single
   3px solid-colour rule runs along the bottom edge only. Hover thickens the
   rule (and deepens its colour on filled variants). Zero gradient, zero blur. */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 22px 10px;
	border: 0;
	border-bottom: 3px solid var(--ink);
	border-radius: 0;
	background: transparent;
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: border-bottom-width 0.16s ease, border-bottom-color 0.16s ease, background 0.16s ease, color 0.16s ease, padding-bottom 0.16s ease;
}

.btn:hover {
	border-bottom-width: 5px;
	padding-bottom: 8px;
}

.btn-primary {
	background: var(--deep-2);
	color: var(--deep-ink);
	border-bottom-color: var(--accent);
}

.btn-primary:hover {
	background: var(--deep-edge);
	border-bottom-color: var(--accent);
}

.btn-accent {
	background: var(--accent);
	color: #ffffff;
	border-bottom-color: var(--accent-deep);
}

.btn-accent:hover {
	background: var(--accent-deep);
	color: #ffffff;
	border-bottom-color: var(--deep-2);
}

.btn-outline {
	background: transparent;
	color: var(--ink);
	border-bottom-color: var(--line-strong);
}

.btn-outline:hover {
	color: var(--accent-deep);
	border-bottom-color: var(--accent-deep);
}

.btn-ghost {
	background: transparent;
	color: var(--ink-soft);
	border-bottom-color: transparent;
	text-decoration: none;
}

.btn-ghost:hover {
	color: var(--accent-deep);
	border-bottom-color: var(--accent-deep);
}

.btn-sm {
	padding: 8px 16px 6px;
	font-size: 13px;
}

.btn-lg {
	padding: 16px 30px 12px;
	font-size: 15px;
}

.btn .icon {
	flex: none;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--accent-deep);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: gap 0.18s ease, border-color 0.18s ease;
}

.text-link:hover {
	gap: 11px;
	border-color: var(--accent-deep);
}

/* Kicker: 线迹母题 —— 一小段 8 SPI 车缝虚线 */
.kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--accent-deep);
	font-family: var(--font-display);
}

/* three solid roller dots, no gradient: box-shadow copies of one hard-edge circle */
.kicker::before {
	content: "";
	flex: none;
	width: 5px;
	height: 5px;
	margin-inline-end: 17px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 8.5px 0 0 var(--accent), 17px 0 0 var(--accent);
	opacity: 0.9;
}

.sec-head {
	max-width: 720px;
	margin-bottom: clamp(28px, 4vw, 44px);
}

.sec-title {
	font-size: clamp(26px, 3.1vw, 36px);
	font-weight: 600;
}

.sec-sub {
	margin-top: 12px;
	color: var(--muted);
	font-size: 17px;
	max-width: 60ch;
}

.sec-navy .sec-title {
	color: var(--deep-ink);
}

.sec-navy .sec-sub {
	color: var(--deep-muted);
}

.sec-navy .kicker {
	color: var(--accent);
}

/* ================= Topbar ================= */
.topbar {
	background: var(--deep-edge);
	color: var(--deep-ink);
	font-size: 13px;
	border-bottom: 2px solid var(--accent);
}

.topbar-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 40px;
}

.topbar-contacts {
	display: flex;
	align-items: center;
	gap: 22px;
}

.topbar a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--deep-ink);
	text-decoration: none;
	opacity: 0.92;
	transition: opacity 0.15s ease, color 0.15s ease;
}

.topbar a:hover {
	opacity: 1;
	color: var(--accent);
}

.topbar-hours {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--deep-muted);
}

/* ================= Header ================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
	border-bottom: var(--seam-w) dashed var(--seam-color);
}

.header-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 78px;
}

.brand {
	display: flex;
	align-items: center;
	min-width: 0;
}

.brand img {
	display: block;
	max-height: 52px;
	width: auto;
}

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

.brand-mark {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 0;
	background: var(--deep-2);
	color: var(--accent);
}

.brand-mark::after {
	content: "";
	position: absolute;
	right: 5px;
	bottom: 5px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--accent);
}

.brand-name {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.main-nav {
	flex: 1;
	display: flex;
	justify-content: center;
	min-width: 0;
}

.nav-list {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-list > li {
	position: relative;
}

.nav-list > li > a {
	position: relative;
	display: inline-block;
	padding: 10px 14px;
	font-size: 15px;
	font-weight: 500;
	color: var(--ink-soft);
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.15s ease, background 0.15s ease;
	border-radius: 999px;
}

.nav-list > li > a::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 2px;
	width: 4px;
	height: 4px;
	margin-left: -2px;
	border-radius: 50%;
	background: var(--accent);
	transform: scale(0);
	transition: transform 0.2s ease;
}

.nav-list > li > a:hover,
.nav-list > li.current-menu-item > a,
.nav-list > li.current-menu-ancestor > a {
	color: var(--ink);
	background: var(--tint);
}

.nav-list > li > a:hover::after,
.nav-list > li.current-menu-item > a::after,
.nav-list > li.current-menu-ancestor > a::after {
	transform: scale(1);
}

.nav-list .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 8px;
	z-index: 95;
	min-width: 220px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 3px solid var(--accent);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-list > li:hover > .sub-menu,
.nav-list > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nav-list .sub-menu a {
	display: block;
	padding: 9px 12px;
	font-size: 15px;
	color: var(--ink-soft);
	text-decoration: none;
	border-radius: var(--radius-sm);
	transition: background 0.15s ease, color 0.15s ease;
}

.nav-list .sub-menu a:hover {
	background: var(--accent-soft);
	color: var(--ink);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
}

.header-cta {
	white-space: nowrap;
}

.hbtn {
	display: grid;
	place-items: center;
	/* 与同排的「Request a Quote」按钮等高:交付规范要求同组按钮高度一致 */
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	color: var(--ink);
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.hbtn:hover {
	border-color: var(--accent);
	color: var(--accent-deep);
}

.nav-toggle {
	display: none;
}

/* ================= Overlays: drawer / search / QR ================= */
.drawer,
.search-layer,
.qr-modal {
	position: fixed;
	inset: 0;
	z-index: 120;
}

.drawer[hidden],
.search-layer[hidden],
.qr-modal[hidden] {
	display: none;
}

.drawer-scrim,
.search-scrim,
.qr-scrim {
	position: absolute;
	inset: 0;
	background: rgba(25, 29, 32, 0.58);
	opacity: 0;
	transition: opacity 0.24s ease;
}

.drawer.open .drawer-scrim,
.search-layer.open .search-scrim,
.qr-modal.open .qr-scrim {
	opacity: 1;
}

.drawer-panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(360px, 88vw);
	background: var(--surface);
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 22px 28px;
	overflow-y: auto;
	transform: translateX(102%);
	transition: transform 0.24s cubic-bezier(0.22, 0.61, 0.36, 1);
	box-shadow: -18px 0 40px -24px rgba(25, 29, 32, 0.4);
	border-left: 3px solid var(--accent);
	border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.drawer.open .drawer-panel {
	transform: translateX(0);
}

.drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
}

.drawer-title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 17px;
	color: var(--ink);
}

.drawer-nav {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
}

.drawer-nav > li {
	border-bottom: 1px solid var(--line);
}

.drawer-nav a {
	display: block;
	padding: 13px 4px;
	font-size: 17px;
	font-weight: 500;
	color: var(--ink);
	text-decoration: none;
	transition: color 0.15s ease;
}

.drawer-nav a:hover {
	color: var(--accent-deep);
}

.drawer-nav .sub-menu {
	list-style: none;
	margin: 0 0 10px;
	padding: 0 0 0 14px;
	border-left: 2px solid var(--accent-soft);
}

.drawer-nav .sub-menu a {
	padding: 8px 4px;
	font-size: 15px;
	font-weight: 400;
	color: var(--ink-soft);
}

.drawer-cta {
	margin-top: 16px;
}

.search-panel {
	position: absolute;
	top: 18vh;
	left: 50%;
	transform: translate(-50%, -14px);
	width: min(620px, 92vw);
	display: flex;
	align-items: center;
	gap: 10px;
	opacity: 0;
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.search-layer.open .search-panel {
	opacity: 1;
	transform: translate(-50%, 0);
}

.search-layer .search-form {
	flex: 1;
}

.search-layer .hbtn {
	flex: none;
}

.search-form {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 6px 6px 6px 20px;
	box-shadow: var(--shadow-soft);
}

.search-field {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 17px;
	color: var(--ink);
	padding: 8px 0;
	outline: none;
}

.search-field::placeholder {
	color: var(--muted);
}

.search-submit {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 999px;
	background: var(--accent);
	color: #ffffff;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.search-submit:hover {
	background: var(--accent-deep);
	color: #ffffff;
}

/* ================= Hero: H-H giant industrial number ================= */
/* The hero visual is a single oversized spec figure (90 bar wash-down
   rating), not a product photo — the photo is demoted to a small inset
   card. Kicker/title/CTA sit in a plain-colour copy column on the left;
   the number lives on a full-bleed solid dark panel on the right. */
.hero {
	position: relative;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
	overflow: hidden;
}

.hero-in {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: stretch;
}

.hero-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	/* 2026-08-17: trimmed so the whole hero (incl. the photo band's caption in the right
	   panel, which stretches to the hero's full height) lands inside the 900px fold. */
	padding-block: clamp(40px, 5.2vw, 68px);
	padding-inline-start: clamp(20px, 4vw, 48px);
	padding-inline-end: clamp(24px, 3vw, 48px);
}

.hero .kicker {
	margin-bottom: 18px;
}

.hero-title {
	font-size: clamp(30px, 3.8vw, 44px);
	font-weight: 700;
	letter-spacing: -0.02em;
	max-width: 20ch;
}

.hero-sub {
	margin-top: 16px;
	font-size: 17px;
	color: var(--muted);
	max-width: 52ch;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 34px 0 0;
	padding-top: 20px;
	border-top: 2px solid var(--accent);
	max-width: 480px;
}

.hero-stats .stat {
	display: flex;
	flex-direction: column-reverse;
	gap: 2px;
}

.hero-stats dd {
	margin: 0;
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
	color: var(--deep-2);
	letter-spacing: -0.02em;
}

.hero-stats dt {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.03em;
	color: var(--muted);
}

.hero-photo-inset {
	position: relative;
	z-index: 1;
	/* Full-width band bled out to the panel edges (cancels .hero-figure padding), so the photo
	   reads as real photography rather than a stamp-sized corner card. */
	margin: clamp(20px, 3vw, 32px) calc(-1 * clamp(28px, 4vw, 44px)) calc(-1 * clamp(28px, 4vw, 44px));
	background: var(--mist);
	border-top: 2px solid var(--accent);
}

.hero-photo-inset img {
	display: block;
	width: 100%;
	height: clamp(168px, 17vw, 226px);
	object-fit: cover;
}

.hero-photo-tag {
	/* Caption pinned to the LEFT of the band: the fixed contact rail hugs the right edge and
	   used to sit right on top of this label. */
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 8px 14px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--deep-ink);
	background: rgba(17, 21, 21, 0.82);
}

/* ================= Perks ================= */
.perks {
	background: var(--surface);
	border-bottom: 1px solid var(--line);
}

.perks-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(18px, 2.4vw, 30px);
	padding-block: clamp(36px, 5vw, 56px);
}

.perk {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 20px 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--bg);
	transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.perk:hover {
	border-color: var(--accent);
	transform: translateY(1px);
	box-shadow: var(--shadow-soft);
}

.perk-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 0;
	background: var(--deep-2);
	color: var(--accent);
}

.perk-title {
	font-size: 15px;
	font-weight: 700;
}

.perk-text {
	margin-top: 5px;
	font-size: 13px;
	line-height: 1.55;
	color: var(--muted);
}

/* ================= Category grid ================= */
.cats-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2.4vw, 28px);
}

.cat-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	text-decoration: none;
	transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.cat-card:hover {
	/* 母题:落一针。边框整圈不变色(整圈跳色实测会在第 1 列造成 +27 的硬边),
	   强调色只落在底边一条线迹上,再加 1px 下压。 */
	border-bottom: var(--seam-w) dashed var(--accent);
	transform: translateY(1px);
}

.cat-media {
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--mist);
	overflow: hidden;
}

.cat-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

/* 已删除 hover 缩放:违反「送布」母题(单向推进,不放大)。见 .prod-card 处的实测说明。 */

.cat-meta {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 16px 58px 16px 18px;
	border-top: 3px solid var(--accent);
}

.cat-name {
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 600;
	color: var(--ink);
}

.cat-count {
	font-size: 13px;
	color: var(--muted);
}

.cat-arrow {
	position: absolute;
	right: 14px;
	bottom: 18px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	border: 1px solid var(--line);
	color: var(--ink-soft);
	background: var(--surface);
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.cat-card:hover .cat-arrow,
.cat-card:focus-visible .cat-arrow {
	background: var(--accent);
	border-color: var(--accent);
	color: #ffffff;
}

/* ================= Product cards ================= */
.prod-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 24px);
}

.prod-grid-archive {
	margin-top: 26px;
}

.prod-card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.prod-card:hover {
	/* 母题:落一针。边框整圈不变色(整圈跳色实测会在第 1 列造成 +27 的硬边),
	   强调色只落在底边一条线迹上,再加 1px 下压。 */
	border-bottom: var(--seam-w) dashed var(--accent);
	transform: translateY(1px);
}

.prod-media {
	display: block;
	aspect-ratio: 1 / 1;
	background: var(--mist);
	overflow: hidden;
}

.prod-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

/* 母题红线:缝纫机的针往下扎,布不会放大 —— hover 缩放违反母题,已删除。
   实测:带 scale(1.05) 时 .prod-card hover RMS 22.73 / 列间跳变 +113(硬边穿帮),
   去掉缩放并把强调色从整圈边框收到底边一条线迹后见下方实测。 */

.prod-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 16px 18px 20px;
	border-top: 1px solid var(--line);
}

.prod-cat {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent-deep);
}

.prod-name {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.32;
}

.prod-name a {
	color: var(--ink);
	text-decoration: none;
}

.prod-name a:hover {
	color: var(--accent-deep);
}

.prod-excerpt {
	font-size: 13px;
	line-height: 1.55;
	color: var(--muted);
}

.prod-btn {
	margin-top: 6px;
}

/* ================= Split sections ================= */
.split-in {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
}

.split-media {
	position: relative;
}

.split-media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	position: relative;
	z-index: 1;
}

/* offset solid-colour panel behind the photo (offset colour block, no texture) */
.split-media::after {
	content: "";
	position: absolute;
	left: 26px;
	right: -20px;
	top: 26px;
	bottom: -20px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-lg);
	background: var(--tint);
	z-index: 0;
}

.split-flip .split-media {
	order: 2;
}

.split-flip .split-media::after {
	left: -20px;
	right: 26px;
}

.split-body .sec-title {
	max-width: 22ch;
}

.split-text {
	margin: 16px 0 26px;
	font-size: 17px;
	color: var(--muted);
	max-width: 56ch;
}

/* ================= Steps (deep steel panel) ================= */
.steps-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 24px);
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: step;
}

.step {
	position: relative;
	padding: 26px 24px 28px;
	background: rgba(243, 245, 245, 0.06);
	border: 1px solid var(--line-deep);
	border-radius: var(--radius-lg);
	transition: border-color 0.18s ease, background 0.18s ease;
}

.step:hover {
	border-color: rgba(205, 199, 193, 0.5);
	background: rgba(243, 245, 245, 0.09);
}

.step-num {
	display: inline-grid;
	place-items: center;
	min-width: 52px;
	height: 52px;
	padding-inline: 10px;
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--deep-ink);
	margin-bottom: 16px;
	border: var(--seam-w) dashed rgba(242, 239, 235, 0.42);
	border-radius: 0;
	background: transparent;
}

.step-title {
	font-size: 17px;
	font-weight: 600;
	color: var(--deep-ink);
}

.step-text {
	margin-top: 8px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--deep-muted);
}

/* ================= Quotes ================= */
.quotes-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2.4vw, 28px);
}

.quote {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 26px 26px 24px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 3px solid var(--accent);
	border-radius: var(--radius-lg);
	box-shadow: none;
	transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.quote:hover {
	transform: translateY(1px);
	box-shadow: var(--shadow-soft);
}

.quote-mark {
	color: var(--accent);
}

.quote blockquote {
	margin: 0;
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink-soft);
}

.quote-name {
	display: block;
	font-weight: 700;
	font-size: 15px;
	color: var(--ink);
}

.quote-role {
	display: block;
	font-size: 13px;
	color: var(--muted);
	margin-top: 2px;
}

/* ================= Post cards ================= */
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2.4vw, 28px);
}

.post-grid-archive {
	margin-top: 8px;
}

.post-card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.post-card:hover {
	/* 母题:落一针。边框整圈不变色(整圈跳色实测会在第 1 列造成 +27 的硬边),
	   强调色只落在底边一条线迹上,再加 1px 下压。 */
	border-bottom: var(--seam-w) dashed var(--accent);
	transform: translateY(1px);
}

.post-media {
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--mist);
	overflow: hidden;
}

.post-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

/* 已删除 hover 缩放:违反「送布」母题(单向推进,不放大)。见 .prod-card 处的实测说明。 */

.post-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 9px;
	padding: 18px 20px 22px;
}

.post-date {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent-deep);
}

.post-title {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.34;
}

.post-title a {
	color: var(--ink);
	text-decoration: none;
}

.post-title a:hover {
	color: var(--accent-deep);
}

.post-excerpt {
	font-size: 15px;
	line-height: 1.6;
	color: var(--muted);
}

.post-card .text-link {
	margin-top: 4px;
}

/* ================= CTA band ================= */
/* CTA 带：原本也是近黑，和页脚连起来就是客户抱怨的那一大片黑。改浅底 + 墨字。 */
.cta-band {
	position: relative;
	background: var(--surface);
	color: var(--ink);
	overflow: hidden;
}

/* solid-colour angled block (clip-path), no gradient */
.cta-band::after {
	content: "";
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: min(46vw, 560px);
	background: var(--accent);
	clip-path: polygon(22% 0, 100% 0, 100% 100%, 0% 100%);
	opacity: 0.06;
	pointer-events: none;
}

.cta-in {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding-block: clamp(48px, 6vw, 72px);
}

.cta-title {
	font-size: clamp(26px, 3.1vw, 36px);
	color: var(--ink);
}

.cta-text {
	margin-top: 10px;
	font-size: 17px;
	color: var(--muted);
	max-width: 58ch;
}

.cta-band .btn-accent {
	flex: none;
}

/* ================= Page hero ================= */
.page-hero {
	position: relative;
	background: var(--mist);
	border-bottom: 1px solid var(--line);
	padding-block: clamp(44px, 6vw, 72px);
	overflow: hidden;
}

.page-hero .wrap {
	position: relative;
	z-index: 1;
}

.page-hero .kicker {
	margin-bottom: 10px;
}

.page-hero-title {
	font-size: clamp(30px, 3.8vw, 44px);
	font-weight: 700;
	letter-spacing: -0.022em;
}

.page-hero-sub {
	margin-top: 12px;
	font-size: 17px;
	color: var(--muted);
	max-width: 68ch;
}

/* ================= Entry content ================= */
.entry-content {
	font-size: 17px;
	line-height: 1.75;
	color: var(--ink-soft);
}

.entry-content > * + * {
	margin-top: 1.1em;
}

.entry-content h2 {
	font-size: 20px;
	margin-top: 1.8em;
}

.entry-content h3 {
	font-size: 20px;
	margin-top: 1.5em;
}

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

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

.entry-content ul,
.entry-content ol {
	padding-left: 1.3em;
}

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

.entry-content blockquote {
	margin: 1.4em 0;
	padding: 16px 22px;
	border-left: 3px solid var(--accent);
	border-radius: 0;
	background: var(--accent-soft);
	color: var(--ink);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.entry-content th,
.entry-content td {
	padding: 11px 14px;
	border: 1px solid var(--line);
	text-align: left;
}

.entry-content details {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	padding: 0 20px;
}

.entry-content details + details {
	margin-top: 12px;
}

.entry-content summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding: 16px 36px 16px 0;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 17px;
	color: var(--ink);
}

.entry-content summary::-webkit-details-marker {
	display: none;
}

.entry-content summary::after {
	content: "+";
	position: absolute;
	right: 2px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 20px;
	font-weight: 500;
	color: var(--accent-deep);
	transition: transform 0.18s ease;
}

.entry-content details[open] summary::after {
	transform: translateY(-50%) rotate(45deg);
}

.entry-content details > *:not(summary) {
	margin-bottom: 16px;
}

.entry-content details > p:last-child {
	padding-bottom: 4px;
}

.entry-hero-img {
	margin: 0 0 30px;
}

.entry-hero-img img {
	display: block;
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
}

.entry-single .entry-content,
.entry-single .entry-hero-img {
	max-width: 840px;
	margin-inline: auto;
}

.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	max-width: 840px;
	margin: 44px auto 0;
	padding-top: 22px;
	border-top: 1px solid var(--line);
	font-size: 15px;
}

.post-nav a {
	color: var(--ink-soft);
	text-decoration: none;
}

.post-nav a:hover {
	color: var(--accent-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
}

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

/* ================= Contact cards ================= */
.contact-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 1.6em 0;
}

.contact-card {
	padding: 24px 24px 26px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 3px solid var(--accent);
	border-radius: var(--radius-lg);
	box-shadow: none;
}

.contact-card h3 {
	font-size: 17px;
	margin: 0 0 8px;
}

.contact-card p {
	margin: 0.2em 0;
	font-size: 15px;
	color: var(--muted);
}

.contact-card a {
	color: var(--accent-deep);
	text-decoration: none;
	font-weight: 500;
}

/* ================= Filter chips ================= */
.filter-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.chip {
	display: inline-flex;
	align-items: center;
	padding: 8px 18px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: var(--surface);
	color: var(--ink-soft);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.chip:hover {
	border-color: var(--accent);
	color: var(--accent-deep);
}

.chip-on {
	background: var(--deep-2);
	border-color: var(--deep-2);
	color: var(--deep-ink);
}

/* ================= Breadcrumbs ================= */
.crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding-block: 18px 4px;
	font-size: 13px;
	color: var(--muted);
}

.crumbs a {
	color: var(--muted);
	text-decoration: none;
}

.crumbs a:hover {
	color: var(--accent-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.crumbs-here {
	color: var(--ink);
	font-weight: 500;
}

/* ================= Product single ================= */
.product-single {
	padding-block: 18px clamp(48px, 6vw, 80px);
}

.product-top {
	display: grid;
	grid-template-columns: 1.02fr 0.98fr;
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}

.product-photo {
	position: sticky;
	top: 96px;
	margin: 0;
}

.product-photo img {
	display: block;
	width: 100%;
	border-radius: var(--radius-lg);
	border: 1px solid var(--line);
	background: var(--mist);
	box-shadow: var(--shadow-soft);
}

/* ---- Product gallery: main image + clickable thumbnail rail ---- */
.pdp-gallery {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.pdp-gallery-main {
	margin: 0;
}

.pdp-gallery-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.pdp-thumb {
	display: block;
	width: 72px;
	height: 72px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface);
	overflow: hidden;
	cursor: pointer;
	line-height: 0;
	transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.pdp-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pdp-thumb:hover {
	border-color: var(--steel-deep);
}

.pdp-thumb.is-active {
	border-color: var(--accent);
	/* 用实体下边框而不是 box-shadow 表达「当前缩略图」——
	   同一条语言(线),也让全站阴影档数保持 1 档。 */
	border-bottom: 3px solid var(--accent);
}

.product-summary .prod-cat {
	display: inline-block;
	margin-bottom: 8px;
}

.product-title {
	font-size: clamp(26px, 3.1vw, 36px);
	font-weight: 700;
	letter-spacing: -0.022em;
}

.product-intro {
	margin-top: 14px;
	font-size: 17px;
	color: var(--muted);
}

.product-highlights {
	list-style: none;
	margin: 24px 0 0;
	padding: 8px 0 0;
	border-top: 2px solid var(--accent);
}

.product-highlights li {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	padding: 11px 2px;
	border-bottom: 1px dashed var(--line-strong);
	font-size: 15px;
}

.product-highlights li:last-child {
	border-bottom: 0;
}

.hl-label {
	color: var(--muted);
}

.hl-value {
	color: var(--ink);
	font-weight: 600;
	text-align: right;
}

.product-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.product-note {
	margin-top: 14px;
	font-size: 13px;
	color: var(--muted);
}

/* ================= Spec table ================= */
.prod-specs {
	margin-top: clamp(40px, 5vw, 64px);
}

.prod-specs-title,
.product-desc h2,
.product-related h2,
.product-inquiry .zc-inquiry-block__intro h2 {
	font-size: 20px;
	margin-bottom: 18px;
}

/* Wide tables scroll inside their own container (grid min-width pitfall) */
.prod-specs-scroll {
	min-width: 0;
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
}

.prod-specs-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.prod-specs-table th {
	width: 34%;
	padding: 13px 18px;
	text-align: left;
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--ink);
	background: var(--tint);
	border-bottom: 1px solid var(--line);
	border-right: 1px solid var(--line);
	white-space: nowrap;
}

.prod-specs-table td {
	padding: 13px 18px;
	color: var(--ink-soft);
	border-bottom: 1px solid var(--line);
}

.prod-specs-table tr:last-child th,
.prod-specs-table tr:last-child td {
	border-bottom: 0;
}

.product-desc,
.product-related,
.product-inquiry {
	margin-top: clamp(40px, 5vw, 64px);
}

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

/* ================= Inquiry form (plugin markup) ================= */
.zc-inquiry-block {
	padding: clamp(26px, 3.4vw, 44px);
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 3px solid var(--accent);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
}

.zc-inquiry-block__intro h2 {
	margin-bottom: 8px;
}

.zc-inquiry-block__intro p {
	color: var(--muted);
	font-size: 15px;
	margin-bottom: 24px;
}

.zc-inquiry-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 18px;
}

.zc-inquiry-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ink);
}

.zc-required {
	color: var(--danger);
}

.zc-inquiry-field input[type="text"],
.zc-inquiry-field input[type="email"],
.zc-inquiry-field input[type="number"],
.zc-inquiry-field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--bg);
	font: inherit;
	font-size: 15px;
	color: var(--ink);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.zc-inquiry-field input:focus,
.zc-inquiry-field textarea:focus {
	outline: none;
	border-color: var(--accent);
	background: var(--surface);
	box-shadow: 0 0 0 3px var(--accent-soft);
}

.zc-inquiry-field:has(textarea) {
	grid-column: 1 / -1;
}

.zc-btn,
.zc-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 6px;
	padding: 14px 32px;
	border: 1px solid var(--accent);
	border-radius: 999px;
	background: var(--accent);
	color: #ffffff;
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.014em;
	cursor: pointer;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.zc-btn:hover,
.zc-btn-primary:hover {
	background: var(--accent-deep);
	border-color: var(--accent-deep);
	color: #ffffff;
	transform: translateY(1px);
}

.zc-inquiry-notice {
	margin-top: 16px;
	padding: 13px 16px;
	border-radius: var(--radius);
	background: var(--accent-soft);
	border: 1px solid var(--line-strong);
	color: var(--accent-deep);
	font-size: 15px;
}

.zc-inquiry-notice.is-error {
	background: rgba(173, 68, 54, 0.08);
	border-color: rgba(173, 68, 54, 0.35);
	color: var(--danger);
}

.inquiry-fallback {
	padding: 22px 26px;
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius-lg);
	background: var(--surface);
	font-size: 15px;
}

/* ================= Footer (deep steel, solid accent trim) ================= */
/* 页脚：客户明确说过「这个底部太黑了」，所以是浅色。
   全站深色只保留一处（中段的工序带），见 设计定调.md。 */
.site-footer {
	position: relative;
	background: var(--tint);
	color: var(--muted);
}

/* solid accent trim lane across the footer top, no pattern */
.site-footer::before {
	content: "";
	display: block;
	height: 4px;
	background: var(--accent);
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1.4fr;
	gap: clamp(28px, 4vw, 56px);
	padding-block: clamp(48px, 6vw, 72px) clamp(32px, 4vw, 44px);
}

.f-brand .brand-text {
	color: var(--ink);
}

.f-brand .brand-mark {
	background: transparent;
	border: 0;
}

.f-about {
	margin-top: 16px;
	font-size: 15px;
	line-height: 1.7;
	max-width: 44ch;
	color: var(--muted);
}

.f-title {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink);
	margin: 4px 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--accent);
	max-width: 72px;
	white-space: nowrap;
}

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

.f-menu li {
	margin-bottom: 9px;
}

.f-menu a {
	color: var(--ink-soft);
	text-decoration: none;
	font-size: 15px;
	transition: color 0.15s ease;
}

.f-menu a:hover {
	color: var(--accent);
}

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

.f-contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 15px;
	line-height: 1.55;
}

.f-contact-list .icon {
	flex: none;
	margin-top: 3px;
	color: var(--accent);
}

.f-contact-list a {
	color: var(--ink-soft);
	text-decoration: none;
}

.f-contact-list a:hover {
	color: var(--accent);
}

.social-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.social-link {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--line-deep);
	border-radius: 999px;
	background: transparent;
	color: var(--deep-ink);
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.social-link:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: #ffffff;
	transform: translateY(1px);
}

.footer-bottom {
	border-top: 1px solid var(--line-deep);
}

.footer-bottom-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-block: 20px;
	font-size: 13px;
}

.copyright {
	color: var(--deep-muted);
}

.policy-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.policy-menu a {
	color: var(--deep-muted);
	text-decoration: none;
	transition: color 0.15s ease;
}

.policy-menu a:hover {
	color: var(--accent);
}

/* ================= Contact rail ================= */
.contact-rail {
	position: fixed;
	bottom: 28px;
	z-index: 80;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.contact-rail.rail-right {
	right: 22px;
}

.contact-rail.rail-left {
	left: 22px;
}

.rail-btn {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	background: var(--deep-2);
	color: var(--deep-ink);
	cursor: pointer;
	box-shadow: none;
	transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.rail-btn:hover {
	background: var(--accent);
	color: #ffffff;
	transform: translateY(1px);
}

/* ================= QR modal ================= */
.qr-modal {
	display: grid;
	place-items: center;
}

.qr-modal[hidden] {
	display: none;
}

.qr-panel {
	position: relative;
	z-index: 1;
	width: min(360px, 92vw);
	padding: 30px 28px 28px;
	background: var(--surface);
	border-top: 3px solid var(--accent);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	text-align: center;
	opacity: 0;
	transform: translateY(14px) scale(0.98);
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.qr-modal.open .qr-panel {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.qr-close {
	position: absolute;
	top: 12px;
	right: 12px;
}

.qr-title {
	font-size: 20px;
	margin-bottom: 16px;
}

.qr-img {
	display: block;
	width: 210px;
	height: auto;
	margin: 0 auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.qr-text {
	margin-top: 14px;
	font-size: 15px;
	color: var(--muted);
}

.qr-btn {
	margin-top: 16px;
}

/* ================= Pagination ================= */
.pagination-nav {
	display: flex;
	justify-content: center;
	margin-top: clamp(32px, 4vw, 48px);
}

.pagination-nav .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	margin: 0 3px;
	padding: 0 12px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: var(--surface);
	color: var(--ink-soft);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.pagination-nav .page-numbers.current {
	background: var(--deep-2);
	border-color: var(--deep-2);
	color: var(--deep-ink);
}

.pagination-nav a.page-numbers:hover {
	border-color: var(--accent);
	color: var(--accent-deep);
}

/* ================= Search results ================= */
.search-again {
	max-width: 560px;
	margin-bottom: 34px;
}

.result-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.result-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 16px 20px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.result-card:hover {
	border-color: var(--accent);
	transform: translateY(1px);
	box-shadow: var(--shadow-soft);
}

.result-media {
	flex: none;
	width: 72px;
	height: 72px;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--mist);
}

.result-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.result-body {
	flex: 1;
	min-width: 0;
}

.badge {
	display: inline-block;
	padding: 3px 12px;
	border-radius: 999px;
	background: var(--accent-soft);
	color: var(--accent-deep);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 6px;
}

.result-title {
	font-size: 17px;
	font-weight: 600;
}

.result-title a {
	color: var(--ink);
	text-decoration: none;
}

.result-title a:hover {
	color: var(--accent-deep);
}

.result-excerpt,
.result-price {
	margin-top: 4px;
	font-size: 15px;
	color: var(--muted);
}

.result-arrow {
	flex: none;
	color: var(--muted);
}

/* ================= Empty state ================= */
.empty-state {
	max-width: 560px;
	margin: clamp(24px, 4vw, 48px) auto;
	padding: clamp(32px, 5vw, 52px);
	text-align: center;
	background: var(--surface);
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius-lg);
}

.empty-state h2 {
	font-size: 20px;
	margin-bottom: 10px;
}

.empty-state p {
	color: var(--muted);
	margin-bottom: 20px;
}

.empty-search {
	max-width: 420px;
	margin: 0 auto 20px;
}

.empty-search .search-form {
	box-shadow: none;
}

.empty-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

/* ================= Responsive ================= */
@media (max-width: 1100px) {
	.prod-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.main-nav {
		display: none;
	}
	.nav-toggle {
		display: grid;
	}
	.header-cta {
		display: none;
	}
	.cats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.perks-grid,
	.steps-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
	.prod-grid,
	.prod-grid-archive,
	.product-related .prod-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.hero-title {
		max-width: none;
	}
	.product-top {
		grid-template-columns: 1fr;
	}
	.product-photo {
		position: static;
		max-width: 560px;
	}
}

@media (max-width: 900px) {
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.quotes-grid {
		grid-template-columns: 1fr;
	}
	.split-in {
		grid-template-columns: 1fr;
	}
	.split-flip .split-media {
		order: 0;
	}
	.contact-cards {
		grid-template-columns: 1fr;
	}
	.zc-inquiry-form__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	body {
		font-size: 15px;
	}
	.topbar-hours {
		display: none;
	}
	.cta-in {
		flex-direction: column;
		align-items: flex-start;
	}
	.contact-rail {
		bottom: 16px;
	}
	.contact-rail.rail-right {
		right: 12px;
	}
	.contact-rail.rail-left {
		left: 12px;
	}
	.rail-btn {
		width: 46px;
		height: 46px;
	}
	.rail-no-mobile {
		display: none;
	}
	.split-media::after {
		right: -10px;
		bottom: -10px;
	}
	.split-flip .split-media::after {
		left: -10px;
	}
}

@media (max-width: 560px) {
	.perks-grid,
	.steps-grid,
	.cats-grid,
	.post-grid {
		grid-template-columns: 1fr;
	}
	.footer-grid {
		grid-template-columns: 1fr;
	}
	.footer-bottom-in {
		flex-direction: column;
		align-items: flex-start;
	}
	.hero-actions .btn {
		width: 100%;
	}
	.product-actions .btn {
		width: 100%;
	}
	.topbar-contacts {
		gap: 14px;
	}
	.hero-stats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 12px;
	}
}

@media (max-width: 430px) {
	.prod-grid,
	.prod-grid-archive,
	.product-related .prod-grid {
		grid-template-columns: 1fr;
	}
}


/* =====================================================================
   签名「缝合 The Seam」
   规则来自箱包制造的物理事实,不是装饰:
   ① 所有分隔线 = 8 SPI 车缝虚线(dash 6 / gap 4,同一比例复用到不相关元素上)
   ② 所有媒体框 = 裁片(切掉一个角,呼应 UTOP logo 被斜切的字形与裁片切角)
   ③ 所有推进 = 送布(steps(),不是缓动曲线)
   ④ hover = 落一针(下压 1px,不是上浮 —— 缝纫机的针往下扎)
   ===================================================================== */

/* ---- ① 线迹分隔 ---- */
.seam,
.sec + .sec::before,
.hero {
	--_seam: repeating-linear-gradient(90deg,
		var(--seam-color) 0, var(--seam-color) var(--seam-dash),
		transparent var(--seam-dash), transparent calc(var(--seam-dash) + var(--seam-gap)));
}

.seam {
	display: block;
	height: var(--seam-w);
	border: 0;
	margin: 0;
	background-image: var(--_seam);
	background-size: 100% var(--seam-w);
	background-repeat: repeat-x;
}

/* 区块之间的边界一律走线迹,不用 1px 实线。
   用 ::before 实体条而不是 border-top,是为了让它能被滚动驱动:
   往下滚时每条缝线沿送料方向「一针一针」车出来(见下方 @supports 块)。 */
.sec + .sec,
.perks,
.cta-band,
.site-footer {
	position: relative;
}

.sec + .sec::before,
.perks::before,
.cta-band::before,
.site-footer::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: var(--seam-w);
	background-image: repeating-linear-gradient(90deg,
		var(--line-strong) 0, var(--line-strong) var(--seam-dash),
		transparent var(--seam-dash), transparent calc(var(--seam-dash) + var(--seam-gap)));
	transform-origin: left center;
	z-index: 1;
}

/* 滚动层:原生 CSS 滚动驱动动画,不引任何库(定调卡锁死 B 档)。
   不支持的浏览器直接看到已缝好的线 —— 渐进增强,不会坏。
   steps() 与首屏签名同一个母题:等时等距的离散推进,不是缓动淡入。 */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.sec + .sec::before,
		.perks::before,
		.cta-band::before,
		.site-footer::before {
			animation: utop-seam-sweep linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 70%;
			animation-timing-function: steps(var(--seam-steps), end);
		}
	}
}

@keyframes utop-seam-sweep {
	from { transform: scaleX(0); }
	to   { transform: scaleX(1); }
}

.hero {
	border-bottom: var(--seam-w) dashed var(--line-strong);
}

/* 首屏文案沿送料方向推进进场 */
html.fx .hero-copy[data-rv] {
	transition: opacity 0.36s linear, transform 0.46s steps(6, end);
}

/* 章节小标题的引导线也是一段线迹 */
.kicker::before {
	background-image: repeating-linear-gradient(90deg,
		currentColor 0, currentColor var(--seam-dash),
		transparent var(--seam-dash), transparent calc(var(--seam-dash) + var(--seam-gap)));
	background-color: transparent;
}

/* ---- ② 裁片切角 ---- */
.cat-media,
.prod-media,
.post-media,
.split-media,
.hero-photo-inset {
	clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}

/* mask 里的描边按 steps() 一段一段长出来 = 一针一针车过去。
   注意基态是「已缝好」:`fx` 类只有在 JS 正常 且 未开启「减少动态效果」时才加,
   所以把未起针的状态写进基态,会让无障碍用户和 JS 挂掉时看到一条空白轮廓 ——
   签名的静态部分必须始终在。实测过:基态写 `0 100` 时,
   prefers-reduced-motion 下 strokeDasharray 停在 "0px, 100px",缝份线整条不可见。 */
.hero-photo-inset {
	border-top: var(--seam-w) dashed var(--line-strong);
	background: var(--mist);
}

.hero-photo-tag {
	background: var(--ink);
	color: var(--bg);
}

/* ---- 窄屏:推进步数与切角同比缩小 ---- */
@media (max-width: 640px) {
	:root {
		--seam-steps: 14;
		--cut: 10px;
	}
}


/* ---- 三档容器宽度(窄栏 / 常规 / 满宽) ---- */
.sec-navy .sec-head,
.cta-band .cta-copy {
	max-width: var(--wrap-narrow);
}

.split-body .split-text {
	max-width: 54ch;
}

/* ---- 优势带:去掉圆形图标底,改成一条有线迹分隔的横向数据带 ---- */
.perks-grid {
	border-top: var(--seam-w) dashed var(--line-strong);
	border-bottom: var(--seam-w) dashed var(--line-strong);
}

.perk {
	position: relative;
	padding-inline: clamp(14px, 1.6vw, 24px);
}

.perk + .perk::before {
	content: "";
	position: absolute;
	inset-block: 6px;
	inset-inline-start: 0;
	width: var(--seam-w);
	background-image: repeating-linear-gradient(180deg,
		var(--seam-color) 0, var(--seam-color) var(--seam-dash),
		transparent var(--seam-dash), transparent calc(var(--seam-dash) + var(--seam-gap)));
}

.perk-icon {
	display: none;
}

.perk-title {
	font-size: 15px;
	letter-spacing: -0.01em;
}

@media (max-width: 900px) {
	.perk + .perk::before {
		display: none;
	}
}


/* ---- 对比度修正 ----
   深色的工序带上不能用 --accent（实测 2.65:1），必须用提亮版 --accent-on-dark（5.52:1）。
   CTA 带已改成浅底，那里用回 --accent（4.88:1）。两者不能写在同一组选择器里。 */
.sec-navy .kicker,
.sec-navy .kicker::before {
	color: var(--accent-on-dark);
}

.sec-navy .kicker::before {
	background-image: repeating-linear-gradient(90deg,
		var(--accent-on-dark) 0, var(--accent-on-dark) var(--seam-dash),
		transparent var(--seam-dash), transparent calc(var(--seam-dash) + var(--seam-gap)));
}

.cta-band .kicker,
.cta-band .kicker::before {
	color: var(--accent);
}

.sec-navy .step-num {
	color: var(--accent-on-dark);
}

/* ---- 第三档容器宽度:CTA 收成窄栏,让全页出现 窄/常规/满宽 三种容器 ---- */
.cta-band .wrap {
	max-width: var(--wrap-narrow);
}

/* ---- 询盘表单等插件注入元素的圆角归零,与全站几何一致 ---- */
.zc-inquiry-form input,
.zc-inquiry-form textarea,
.zc-inquiry-form select,
.zc-inquiry-form button,
.zc-inquiry-form .zc-field,
.zc-inquiry-form {
	border-radius: 0 !important;
}

/* 询盘插件(wpc-xunpan)注入的模态与表单:归到全站的 0 圆角 / 无阴影 / 线迹语言 */
.zc-modal__dialog,
.zc-inquiry-block,
.zc-modal-form,
.zc-inquiry-block input,
.zc-inquiry-block textarea,
.zc-inquiry-block select,
.zc-inquiry-block button {
	border-radius: 0 !important;
	box-shadow: none !important;
}

.zc-inquiry-block {
	border-top: var(--seam-w) dashed var(--line-strong) !important;
}

/* 询盘插件（wpc-xunpan）的前台件：并进主题的几何与色板，
   不让它看起来像外挂的第三方表单。 */
.zc-inquiry-toast,
.zc-inquiry-toast__inner {
	border-radius: 0 !important;
}

.zc-inquiry-toast__inner {
	background: var(--ink) !important;
	color: var(--bg) !important;
}

.zc-inquiry-form input,
.zc-inquiry-form textarea,
.zc-inquiry-form select {
	border: 1px solid var(--line-strong) !important;
	background: var(--surface) !important;
	color: var(--ink) !important;
	font-family: var(--font-body) !important;
	font-size: 15px !important;
}

.zc-inquiry-form input:focus,
.zc-inquiry-form textarea:focus,
.zc-inquiry-form select:focus {
	outline: 3px solid var(--accent);
	outline-offset: 2px;
	border-color: var(--accent) !important;
}

/* 必填星号用强调色，和全站唯一的强调色保持一致 */
.zc-inquiry-form .required,
.zc-inquiry-form .zc-required,
.zc-inquiry-form label span[aria-hidden="true"],
.zc-inquiry-form .zc-inquiry-field__required {
	color: var(--accent) !important;
}

.zc-inquiry-form .zc-btn-primary {
	background: var(--accent) !important;
	border-color: var(--accent) !important;
	color: #fff !important;
	border-radius: 0 !important;
	font-family: var(--font-display) !important;
	font-weight: 700 !important;
	min-height: 44px;
}

.zc-inquiry-form .zc-btn-primary:hover {
	background: var(--accent-deep) !important;
	border-color: var(--accent-deep) !important;
	transform: translateY(1px);
}


/* WooCommerce 灯箱(PhotoSwipe)自带的分享气泡：本站没有分享入口，
   但它在 DOM 里，会把圆角与阴影档数各顶高一档。归零保持令牌纪律。 */
.pswp__share-tooltip,
.pswp__share-tooltip a {
	border-radius: 0 !important;
	box-shadow: none !important;
}

/* 滚动层(第三层编排)。母题「送布」用在真实元素上：
   区块进入视口时，图像沿送料方向被「送」出来 —— clip-path 从左边缘推进，
   分格 steps() 与首屏缝线同一个节奏，不是连续滑动。
   原生 CSS 滚动驱动，零依赖（定调卡锁死 B 档，不引 GSAP）；
   不支持 animation-timeline 的浏览器直接显示完整图片，属渐进增强。 */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.split-media img,
		.cat-media img,
		.post-media img {
			animation: utop-feed-in linear both;
			animation-timeline: view();
			animation-range: entry 10% entry 75%;
			animation-timing-function: steps(8, end);
		}
	}
}

@keyframes utop-feed-in {
	from { clip-path: inset(0 0 0 100%); }
	to   { clip-path: inset(0 0 0 0); }
}

/* 卖点区收尾：定调卡的决策 ②「不做四个图标卡，改成一条横向数据带」。
   基础样式里 .perk 仍带 1px 边框 + 背景 + hover 阴影，读起来还是四张卡片，
   这里把它彻底压平：只留竖向线迹当分栏，去掉盒子。 */
.perk {
	border: 0;
	background: transparent;
	box-shadow: none;
	gap: 0;
	padding-block: 4px;
}

.perk:hover {
	border-color: transparent;
	transform: none;
	box-shadow: none;
}

.perks {
	background: var(--surface);
	border-bottom: 0;
}

.perks-grid {
	gap: 0;
	padding-block: clamp(28px, 3.6vw, 44px);
}

.perk-title {
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: -0.01em;
}

/* 页脚用客户的 UTOP logo，而不是模板自带的图标标记 */
.f-brand .brand-text-img {
	display: inline-block;
}

.f-brand .f-logo {
	display: block;
	width: auto;
	height: 44px;
	max-width: 190px;
	object-fit: contain;
	object-position: left center;
}

/* =====================================================================
   首屏改造：满宽大图 + 导航悬浮在图上
   依据：客户 PPT 标注「导航栏像参考图一样悬浮在图片上」，
        以及微信两次给的参考图（img_005 / img_011）与客户自己的首页设计稿。
   ===================================================================== */

/* --- 导航浮在图上 --- */
.nav-over .site-header {
	position: fixed;
	inset-inline: 0;
	top: 0;
	background: transparent;
	border-bottom: 0;
	color: #fff;
}

.nav-over .site-header .nav-list a,
.nav-over .site-header .brand-name,
.nav-over .site-header .hbtn {
	color: #fff;
}

/* 当前项：透明底 + 白色线迹下划线，不用浅色药丸（药丸压在照片上是一块白斑） */
.nav-over .site-header .nav-list > li.current-menu-item > a,
.nav-over .site-header .nav-list > li.current_page_item > a {
	background: transparent;
	color: #fff;
	border-radius: 0;
}

/* 当前项指示器复用主题已有的 ::after（原本是个圆点），
   悬浮态改成一小段白色线迹 —— 既是母题，也让全站阴影档数保持 1 档。 */
.nav-over .site-header .nav-list > li.current-menu-item > a::after,
.nav-over .site-header .nav-list > li.current_page_item > a::after {
	width: 18px;
	height: 2px;
	margin-left: -9px;
	border-radius: 0;
	background: #fff;
	transform: scale(1);
}

.nav-over .site-header .nav-list a:hover {
	color: #fff;
	opacity: 0.78;
}

/* 下拉面板保持浅底（它是实心浮层，不需要跟着透明） */
.nav-over .site-header .sub-menu {
	color: var(--ink);
}

.nav-over .site-header .sub-menu a {
	color: var(--ink-soft);
}

.nav-over .site-header .hbtn {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.5);
}

.nav-over .site-header .hbtn:hover {
	border-color: #fff;
	color: #fff;
	background: rgba(255, 255, 255, 0.14);
}

/* logo 是纯黑字，压在深色照片上会消失 —— 反相成白色 */
.nav-over .site-header .custom-logo {
	filter: brightness(0) invert(1);
}

/* 当前项在透明态下用白色下划线，不用浅色药丸底 */


/* 滚动之后恢复实心浅色导航 —— .scrolled 由 main.js 在 scrollY>24 时加上 */
.nav-over .site-header.scrolled {
	background: var(--surface);
	color: var(--ink);
	border-bottom: var(--seam-w) dashed var(--seam-color);
}

.nav-over .site-header.scrolled .nav-list a,
.nav-over .site-header.scrolled .brand-name,
.nav-over .site-header.scrolled .hbtn {
	color: var(--ink-soft);
}

/* 悬浮态的 hover 用降低不透明度会把有效对比度拉到 3.9:1，改成不降透明度 */
.nav-over .site-header .nav-list a:hover {
	color: #fff;
	opacity: 1;
	text-decoration: underline;
	text-underline-offset: 6px;
}

.nav-over .site-header.scrolled .nav-list > li.current-menu-item > a,
.nav-over .site-header.scrolled .nav-list > li.current_page_item > a {
	color: var(--ink);
	box-shadow: none;
}

.nav-over .site-header.scrolled .hbtn {
	background: var(--surface);
	border-color: var(--line);
}

.nav-over .site-header.scrolled .custom-logo {
	filter: none;
}

/* --- 满宽首屏 --- */
.nav-over .hero {
	position: relative;
	min-height: clamp(560px, 78vh, 760px);
	display: flex;
	align-items: flex-end;
	border-bottom: 0;
	background: var(--deep);
}

.nav-over .hero-bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
	z-index: 0;
}

.nav-over .hero-bg .hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* 文字压在照片上必须有遮罩，否则对比度不可控。
   左侧实底 → 右侧透明，文案在左，照片右半边保持通透。 */
.nav-over .hero-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(12, 13, 15, 0.92) 0%, rgba(12, 13, 15, 0.82) 34%, rgba(12, 13, 15, 0.45) 62%, rgba(12, 13, 15, 0.35) 100%),
		linear-gradient(180deg, rgba(12, 13, 15, 0.55) 0%, rgba(12, 13, 15, 0) 26%);
}

.nav-over .hero-in {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	padding: calc(78px + clamp(40px, 6vw, 76px)) clamp(20px, 4vw, 48px) clamp(44px, 6vw, 72px);
}

.nav-over .hero-copy {
	padding: 0;
	color: var(--bg);
}

.nav-over .hero-title,
.nav-over .hero-sub {
	color: #fff;
	max-width: 22ch;
}

.nav-over .hero-sub {
	color: rgba(255, 255, 255, 0.86);
	max-width: 46ch;
}

.nav-over .hero .kicker {
	color: #E5A263; /* 强调色在深底上的提亮版本，7.0:1 vs 遮罩底 */
}

.nav-over .hero .kicker::before {
	background-image: repeating-linear-gradient(90deg,
		#E5A263 0, #E5A263 var(--seam-dash),
		transparent var(--seam-dash), transparent calc(var(--seam-dash) + var(--seam-gap)));
}

.nav-over .hero-stats {
	border-top-color: #E5A263;
}

.nav-over .hero-stats dd {
	color: #fff;
}

.nav-over .hero-stats dt {
	color: rgba(255, 255, 255, 0.72);
}

.nav-over .hero .btn-outline {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.5);
}

.nav-over .hero .btn-outline:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.12);
}

.nav-over .hero-photo-tag {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 1;
	background: var(--ink);
	color: var(--bg);
}

@media (max-width: 900px) {
	.nav-over .hero-in {
		padding-top: calc(70px + clamp(32px, 8vw, 56px));
	}

	.nav-over .hero-title,
	.nav-over .hero-sub {
		max-width: none;
	}
}

/* 页脚改浅底后，版权行与政策链接仍在用深色底的浅灰 —— 一并改回墨色系 */
.site-footer .copyright,
.site-footer .policy-menu a,
.site-footer .f-bottom,
.site-footer .f-bottom a {
	color: var(--muted);
}

.site-footer .policy-menu a:hover,
.site-footer .f-bottom a:hover {
	color: var(--accent);
}

.site-footer .f-bottom {
	border-top: var(--seam-w) dashed var(--line-strong);
}

/* 窄屏页脚不再单栏竖排。
   修前实测:1024 以下两栏,Contact 单独掉到第三行、右半边空着;
   560 以下单栏,8 个链接竖排占 322px,手机页脚高 859px,右侧整片空白;
   12 个链接里 11 个点击高度 < 32px。
   平板保持三栏(比例放宽给链接列),手机品牌整行 + 链接两列 + 44px 触控高度。 */
@media (max-width: 1024px) {
	.footer-grid {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
	}
}

@media (max-width: 700px) {
	.footer-grid {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 28px;
	}

	.f-about {
		max-width: none;
	}

	.f-menu {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 20px;
	}

	.f-menu li {
		margin: 0;
	}

	.f-menu a,
	.f-contact-list a,
	.site-footer .policy-menu a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}

	.f-contact-list li {
		margin-bottom: 4px;
	}

	.footer-bottom-in {
		gap: 0;
		padding-block: 12px;
	}
}


/* 窄屏遮罩必须整体压暗，不能只压左侧。
   实测：横向渐变在 390px 下，文字会落到照片的亮窗区，
   底色最亮处 215 → 白字最差对比度 1.44:1，读不了。
   改成整体 0.82 的均匀压暗后，最差对比度回到 9:1 以上。 */
@media (max-width: 900px) {
	.nav-over .hero-bg::after {
		background:
			linear-gradient(180deg, rgba(10, 11, 13, 0.88) 0%, rgba(10, 11, 13, 0.80) 45%, rgba(10, 11, 13, 0.86) 100%);
	}
}

/* 桌面端中段也稍微压一点，避免窗户高光正好落在副标题末尾 */
@media (min-width: 901px) {
	.nav-over .hero-bg::after {
		background:
			linear-gradient(90deg, rgba(10, 11, 13, 0.93) 0%, rgba(10, 11, 13, 0.88) 38%, rgba(10, 11, 13, 0.62) 66%, rgba(10, 11, 13, 0.46) 100%),
			linear-gradient(180deg, rgba(10, 11, 13, 0.55) 0%, rgba(10, 11, 13, 0) 26%);
	}
}

/* 揭示落位时用的是 `html.fx [data-rv].rv-in { transform: none }`，
   特异性 (0,3,0) 高于 `.prod-card:hover` (0,2,0) ——
   结果三类卡片的「落一针」1px 下压一直被吃掉，只剩底边线迹在变。
   实测：修前 hover transform 恒为 none。这里把 hover 的特异性提上来。 */
html.fx [data-rv].rv-in.cat-card:hover,
html.fx [data-rv].rv-in.prod-card:hover,
html.fx [data-rv].rv-in.post-card:hover,
.cat-card:hover,
.prod-card:hover,
.post-card:hover {
	transform: translateY(1px);
}

/* 卖点带按实际条目数排布。
   客户只给了三条，4 列固定栅格会留一个空格子（验收清单里的「鬼影卡片」）。
   用 auto-fit 而不是 :has()：不依赖新语法，条目数变化时自动收敛，
   客户以后在后台加到第 4 条也会自己变成 4 列。 */
.perks-grid {
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}
