/* 善诚制服 · B 版设计演示 —— 钉住海报方向（Barlow Condensed / Barlow，品牌海军蓝 + 信号红） */
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(../fonts/barlowcond-700.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(../fonts/barlowcond-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(../fonts/barlow-400.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(../fonts/barlow-500.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(../fonts/barlow-600.woff2) format("woff2"); }

:root {
  /* 颜色：一个底、一个墨、一个强调；色块取自制服本身 */
  --bg: #f1f2f4;
  --surface: #e3e6eb;
  --ink: #0c1a30;
  --navy: #12305a;
  --navy-deep: #0a1830;
  --accent: #d0101b;
  --accent-strong: #a80c15;
  --paper: #ffffff;
  --shirt: #cdd9e8;      /* 校服衬衫蓝 */
  --scrub: #cfe2dc;      /* 医护服薄荷绿 */
  --guard: #d7d9de;      /* 保安服灰 */
  --suit: #e1ddd6;       /* 西装暖灰 */
  --work: #d3dbe6;       /* 工装蓝灰 */
  --muted: #3e4a5c;
  /* 字号：五级 */
  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.75rem, 1.2rem + 5.4vw, 6.5rem);
  --step-display: clamp(5.5rem, 1rem + 15vw, 16.5rem);
  --step-title: clamp(1.75rem, 1.3rem + 1.2vw, 2.25rem);
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --text: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;
  --m: 32px;            /* 页边距 */
  --gap: 24px;
  --bar: 64px;          /* 顶栏高 */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  color-scheme: light;
}
@media (max-width: 700px) { :root { --m: 16px; --gap: 16px; --bar: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--bar); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: var(--step-body); line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.vh { font-size: 15px !important; position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -60px; z-index: 2000; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 8px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 0.9; margin: 0; text-transform: uppercase; }
p { margin: 0; max-width: 68ch; }

/* 按钮：一种形状（直角），一种实色 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; background: var(--accent); color: #fff; font-weight: 600; font-size: var(--step-body); text-decoration: none; cursor: pointer; border-radius: 0;
  transition: transform 140ms var(--ease-out), background-color 180ms ease, color 180ms ease; }
.btn:active { transform: scale(0.97); }
.btn--ink { background: var(--ink); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--small { min-height: 42px; padding: 0 18px; font-size: var(--step-small); }
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.22em; text-decoration-thickness: 0.08em; transition: text-decoration-color 180ms ease; }
.link--on { text-decoration-color: currentColor; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--accent-strong); }
  .btn--ink:hover { background: var(--navy); }
  .btn--paper:hover { background: var(--shirt); }
  .link:hover { text-decoration-color: currentColor; }
}

/* ========== 顶栏 ========== */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 700; height: var(--bar); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--m); padding-top: env(safe-area-inset-top, 0px); background: var(--bg); }
.mark { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: 0.02em; line-height: 1; text-decoration: none; color: var(--navy); }
.mark b { color: var(--accent); font-weight: 700; }
.bar nav { display: flex; align-items: center; gap: 28px; font-size: var(--step-small); font-weight: 500; }
.bar nav a { text-decoration: none; }
.bar nav a[aria-current="true"] { text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 2px; }
.bar__menu { display: none; background: none; border: 0; font-weight: 600; min-height: 44px; padding: 0 4px; cursor: pointer; }
.qcount[hidden] { display: none; }
.qcount { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; background: #fff; color: var(--accent); font-size: 13px; font-weight: 700; }
@media (max-width: 900px) {
  .bar nav .bar__links, .bar nav .bar__quote { display: none; }
  .bar__menu { display: inline-flex; align-items: center; }
}
.bar__links { display: flex; gap: 28px; }

/* ========== 首屏：一句话被画框劈开，胶片走带 ========== */
.hero { position: relative; background: var(--bg); }
.hero [data-reel-stage] { height: 100svh; padding-top: var(--bar); position: relative; }
.hero__grid { position: relative; height: 100%; display: grid; grid-template-columns: 1fr 30vw 1fr; grid-template-rows: 1fr auto; column-gap: var(--gap); padding: 0 var(--m) 32px; }
.hero h1 { grid-column: 1 / -1; grid-row: 1; align-self: center; display: grid; grid-template-columns: 1fr 30vw 1fr; column-gap: var(--gap); font-size: var(--step-head); color: var(--navy); position: relative; z-index: 2; }
.hero h1 .h-l { grid-column: 1; }
.hero h1 .h-r { grid-column: 3; text-align: right; }
.hero h1 .h-line { display: block; white-space: nowrap; }
.reel-window { grid-column: 2; grid-row: 1 / -1; align-self: center; justify-self: center; width: 30vw; height: calc(30vw * 1.25 + 2 * 84px); max-height: calc(100svh - var(--bar) - 24px); overflow: hidden; position: relative; z-index: 1; }
.reel-strip { display: flex; flex-direction: column; gap: 24px; padding-top: 84px; }
.reel-strip figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.reel-strip img { width: 100%; height: 100%; object-fit: cover; animation: drift 14s var(--ease-in-out) infinite alternate; }
@keyframes drift { from { transform: scale(1.0); } to { transform: scale(1.06); } }
.hero__foot { grid-column: 1; grid-row: 2; align-self: end; display: flex; flex-direction: column; gap: 20px; max-width: 30ch; position: relative; z-index: 2; }
.hero__foot p { font-size: var(--step-body); }
.hero__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero__note { grid-column: 3; grid-row: 2; align-self: end; justify-self: end; text-align: right; font-size: var(--step-small); color: var(--muted); max-width: 26ch; z-index: 2; }
.hero__cap { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); font-size: var(--step-small); color: var(--muted); white-space: nowrap; z-index: 2; }
@media (max-width: 1000px) {
  .hero [data-reel-stage] { height: auto; min-height: 100svh; }
  .reel-on.hero [data-reel-stage] { height: 100svh; }
  .hero__grid { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 12px var(--m) 20px; }
  .hero h1 { display: contents; }
  .hero h1 .h-l, .hero h1 .h-r { font-size: 9.4vw; display: block; white-space: nowrap; }
  .hero h1 .h-line { display: inline; }
  .hero h1 .h-r { order: 3; align-self: flex-end; }
  .hero h1 .h-l { order: 1; }
  .reel-window { order: 2; width: 100%; height: calc((100vw - 2 * var(--m)) * 0.75 + 2 * 36px); max-height: calc(100svh - var(--bar) - 9.4vw * 2.4 - 150px); }
  .reel-strip { gap: 8px; padding-top: 28px; }
  .reel-strip figure { aspect-ratio: 4 / 3; }
  .hero__foot { order: 4; max-width: none; gap: 14px; }
  .hero__foot p { font-size: 16px; }
  .hero__note, .hero__cap { display: none; }
}

/* ========== 一个工厂，五条线（钉住标题） ========== */
.lines { position: relative; }
/* 电脑：钉住层有真实高度（负外边距抵消），段尾时标题带随段落离开；标题带只占标题宽度，右侧的数量和按钮不会滑到它下面 */
.lines__pin { position: sticky; top: var(--bar); z-index: 6; --band-h: calc(var(--step-display) * 0.84 + 28px); height: var(--band-h); margin-bottom: calc(var(--band-h) * -1); pointer-events: none; }
.lines__pin .lines__band { pointer-events: auto; }
@media (max-width: 700px) { .lines__pin { height: 0; margin-bottom: 0; } }
/* 标题带取当前那一屏的底色：图片滑到标题下面时被同色带盖住，标题永远压在纯色上 */
.lines__band { --band-h: calc(var(--step-display) * 0.84 + 28px); height: var(--band-h); width: max-content; max-width: 100%; padding-right: 40px !important; display: flex; align-items: flex-start; justify-content: space-between; gap: var(--gap); padding: 16px var(--m) 0; background: var(--band, var(--shirt)); transition: background-color 360ms ease; }
.lines__band h2 { font-size: var(--step-display); line-height: 0.82; color: var(--navy); white-space: nowrap; }
.lines__band p { max-width: 22ch; font-size: var(--step-lead); line-height: 1.3; padding-top: 0.5em; font-weight: 500; }
.line { min-height: 92svh; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; padding: calc(var(--bar) + var(--step-display) * 0.84 + 28px + 24px) var(--m) 40px; }
.line--school { background: var(--shirt); } .line--hospital { background: var(--scrub); } .line--security { background: var(--guard); } .line--business { background: var(--suit); } .line--work { background: var(--work); }
.line figure { grid-column: 5 / 9; margin: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; }
.line .ph { aspect-ratio: 4 / 5; height: calc(92svh - var(--bar) - var(--step-display) * 0.84 - 52px - 120px); max-width: 100%; margin: 0 auto; overflow: hidden; }
.line .ph img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.line figcaption { text-align: center; font-size: var(--step-body); }
.line figcaption strong { font-weight: 600; }
.line__go { grid-column: 10 / 13; justify-self: end; align-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.line__go .n { font-family: var(--display); font-weight: 700; font-size: var(--step-head); line-height: 0.9; color: var(--navy); }
.line__go small { font-size: var(--step-small); color: var(--muted); }
@media (max-width: 700px) {
  .lines__band { --band-h: calc(19vw * 0.84 + 20px); padding-top: 10px; }
  .lines__band h2 { font-size: 19vw; }
  .lines__band p { display: none; }
  .line { display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; padding: calc(var(--bar) + 19vw * 0.84 + 20px + 16px) var(--m) 28px; }
  .line figure { gap: 10px; }
  .line .ph { width: auto; height: min(56svh, calc(100svh - var(--bar) - 19vw - 230px)); aspect-ratio: 4 / 5; }
  .line figcaption { text-align: left; font-size: 16px; }
  .line__go { flex-direction: row; justify-content: space-between; align-items: center; width: 100%; }
  .line__go .n { font-size: 44px; }
}

/* ========== 特写 + 深色竖卡 ========== */
.close { position: relative; min-height: 100svh; display: grid; grid-template-columns: repeat(4, 1fr); column-gap: var(--gap); align-items: center; padding: calc(var(--bar) + 24px) var(--m) 40px; overflow: hidden; }
.close__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.close__bg img { width: 100%; height: 100%; object-fit: cover; }
.close__card { position: relative; z-index: 1; grid-column: 2; background: var(--ink); color: #fff; padding: 28px 26px; min-height: 52svh; display: flex; flex-direction: column; gap: 14px; }
.close--b .close__card { grid-column: 3; }
.close__card h2, .close__card h3 { font-size: var(--step-title); line-height: 0.95; text-transform: none; }
.close__card .v { font-size: var(--step-body); }
.close__card .k { font-weight: 600; }
.close__card .whole { aspect-ratio: 3 / 2; background: #fff; overflow: hidden; margin-top: auto; }
.close__card .whole img { width: 100%; height: 100%; object-fit: contain; }
.close__card .btn { width: 100%; }
.close__src { position: absolute; z-index: 1; right: var(--m); bottom: 20px; font-size: var(--step-small); color: var(--ink); background: rgba(255,255,255,.82); padding: 4px 10px; }
@media (max-width: 1100px) { .close__card { grid-column: 2 / 4; } .close--b .close__card { grid-column: 3 / 5; } }
@media (max-width: 700px) {
  .close { display: flex; flex-direction: column; justify-content: flex-end; padding: 0; min-height: 100svh; }
  .close__card, .close--b .close__card { width: 100%; min-height: 46svh; display: grid; grid-template-columns: 1fr 96px; grid-template-rows: auto auto auto 1fr auto; column-gap: 14px; padding: 20px; }
  .close__card > * { grid-column: 1; }
  .close__card .whole { grid-column: 2; grid-row: 1 / 4; margin: 0; align-self: start; }
  .close__card .btn { grid-column: 1 / -1; grid-row: 5; align-self: end; }
  .close__card .whole { width: 96px; }
  .close__src { display: none; }
}

/* ========== 目录：筛选 + 网格 ========== */
.cat { padding: 160px var(--m) 140px; }
.cat__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; margin-bottom: 40px; }
.cat__head h2 { grid-column: 1 / 8; font-size: var(--step-head); color: var(--navy); }
.cat__head p { grid-column: 8 / 13; max-width: 46ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chips button { min-height: 46px; padding: 0 18px; border: 0; background: var(--surface); font-weight: 500; cursor: pointer; border-radius: 0; transition: background-color 180ms ease, color 180ms ease, transform 140ms var(--ease-out); }
.chips button:active { transform: scale(0.97); }
.chips button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.chips button span { opacity: 0.7; margin-left: 4px; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .chips button:hover { background: #d3d8e0; } .chips button[aria-pressed="true"]:hover { background: var(--navy); } }
.cat__status { font-size: var(--step-small); color: var(--muted); margin-bottom: 28px; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px var(--gap); --hc-surface: #fff; --hc-surface-2: #f7f8fa; }
.grid li[hidden], .grid li.is-more { display: none; }
.grid .hcard__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: var(--step-body); line-height: 1.35; }
.grid .hcard__meta { font-size: var(--step-small); color: var(--muted); opacity: 1; }
.grid .qv-btn { margin-top: 8px; background: none; border: 0; padding: 6px 0; font-weight: 600; font-size: var(--step-small); cursor: pointer; text-decoration: underline; text-underline-offset: 0.22em; }
.grid .qv-btn:active { transform: scale(0.97); }
.cat__more { margin-top: 48px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) {
  .cat { padding: 96px var(--m) 88px; }
  .cat__head { display: block; margin-bottom: 24px; }
  .cat__head p { margin-top: 14px; }
  .chips button { flex: 1 0 auto; min-height: 44px; padding: 0 14px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .grid .hcard__name { font-size: 15px; }
}

/* ========== 一个数字占一屏 ========== */
.fig { min-height: 96svh; background: var(--navy); color: #fff; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto 1fr auto; column-gap: var(--gap); padding: 120px var(--m) 72px; }
.fig h2 { grid-column: 1 / 8; font-size: var(--step-head); }
.fig__num { grid-column: 1 / 8; grid-row: 3; align-self: end; }
.fig__num .big { font-family: var(--display); font-weight: 700; font-size: var(--step-display); line-height: 0.8; letter-spacing: -0.03em; display: flex; align-items: flex-start; }
.fig__num .big sup { font-size: 0.33em; line-height: 1; margin-left: 0.06em; margin-top: 0.06em; }
.fig__num p { max-width: 34ch; margin-top: 22px; }
.fig__cap { grid-column: 9 / 13; grid-row: 3; align-self: end; display: flex; flex-direction: column; gap: 22px; }
.fig__cap div { display: flex; flex-direction: column; }
.fig__cap strong { font-family: var(--display); font-weight: 700; font-size: var(--step-head); line-height: 0.95; }
.fig__cap div > span { font-size: var(--step-small); }
.fig__cap small { font-size: var(--step-small); opacity: 0.85; }
@media (max-width: 700px) {
  .fig { display: flex; flex-direction: column; gap: 32px; min-height: 80svh; padding: 88px var(--m) 56px; }
  .fig h2 { font-size: 15vw; line-height: 0.9; }
  .fig__num { margin-top: 12vh; }
  .fig__num .big { font-size: 34vw; }
}

/* ========== 五个动词（工序） ========== */
.verbs { background: var(--navy-deep); }
.verb { --verb-margin: var(--m); --verb-note-top: calc(var(--bar) + 24px); }
.verb__img { filter: brightness(0.58) saturate(0.9); }
.verb__word { font-family: var(--display); font-weight: 700; text-transform: uppercase; --verb-size: var(--step-display); }
.verb__note { font-size: var(--step-body); max-width: 40ch; }
.verb__note strong { display: block; font-weight: 600; }

/* ========== 交期规划器（活的东西） ========== */
.plan { background: var(--shirt); padding: 150px var(--m) 140px; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 40px; }
.plan__intro { grid-column: 1 / 6; display: flex; flex-direction: column; gap: 24px; }
.plan__intro h2 { font-size: var(--step-head); color: var(--navy); }
.plan__form { grid-column: 1 / 6; display: flex; flex-direction: column; gap: 4px; }
.plan__form label.d { display: flex; flex-direction: column; gap: 8px; font-weight: 600; margin-bottom: 20px; }
.plan__form input[type="date"], .plan__form input[type="number"] { font: inherit; font-size: var(--step-lead); padding: 10px 14px; border: 2px solid var(--navy); background: #fff; color: var(--ink); border-radius: 0; min-height: 56px; width: 100%; max-width: 320px; }
.plan__form .opt { --opt-ink: var(--navy); --opt-surface: #fff; --opt-hover: #eef2f7; margin-bottom: 14px; }
.plan__form .opt legend { font-weight: 600; }
.plan__fd { display: flex; align-items: center; gap: 12px; font-size: var(--step-small); }
.plan__fd input { max-width: 110px !important; font-size: var(--step-body) !important; min-height: 46px !important; }
.plan__out { grid-column: 7 / 13; grid-row: 1 / 3; align-self: start; background: var(--paper); padding: 36px 36px 32px; display: flex; flex-direction: column; gap: 18px; }
.plan__out dl { margin: 0; display: grid; gap: 4px 24px; grid-template-columns: 1fr auto; align-items: baseline; }
.plan__out dt { font-size: var(--step-body); padding: 10px 0; }
.plan__out dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: var(--step-title); text-align: right; color: var(--navy); font-variant-numeric: tabular-nums; }
.plan__out dl > *:nth-child(4n+1), .plan__out dl > *:nth-child(4n+2) { background: var(--bg); }
.plan__out dt, .plan__out dd { padding: 10px 14px; }
.plan__bar { display: flex; height: 18px; background: var(--bg); }
.plan__bar i { display: block; height: 100%; transition: width 400ms var(--ease-out); }
.plan__bar i:nth-child(1) { width: var(--seg-sample, 15%); background: #8ea3c2; }
.plan__bar i:nth-child(2) { width: var(--seg-approve, 8%); background: #c2cfe0; }
.plan__bar i:nth-child(3) { width: var(--seg-bulk, 40%); background: var(--navy); }
.plan__bar i:nth-child(4) { width: var(--seg-ship, 37%); background: var(--accent); }
.plan__key { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--step-small); }
.plan__key span::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; background: var(--c); }
.plan__status { font-weight: 600; font-size: var(--step-lead); line-height: 1.3; }
.is-late .plan__status { color: var(--accent); }
.plan__fine { font-size: var(--step-small); color: var(--muted); }
@media (max-width: 900px) {
  .plan { display: flex; flex-direction: column; padding: 96px var(--m) 88px; gap: 28px; }
  .plan__out { padding: 22px 18px; }
  .plan__out dd { font-size: 22px; }
  .plan__out dt { font-size: 15px; }
}

/* ========== 车间进度照（横向画廊） ========== */
.floor { background: var(--ink); color: #fff; --hg-gap: 16px; }
.floor [data-hgallery-stage] { display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: calc(var(--bar) + 24px) 0 40px; }
.floor__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding: 0 var(--m); align-items: end; }
.floor__head h2 { grid-column: 1 / 9; font-size: var(--step-head); }
.floor__head p { grid-column: 9 / 13; max-width: 40ch; }
.floor [data-hgallery-track] { padding: 0 var(--m); }
.floor figure { margin: 0; width: clamp(200px, 17vw, 280px); }
.floor figure img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #1b2a44; }
.floor figcaption { margin-top: 10px; font-size: var(--step-small); }
.floor__bar { margin: 0 var(--m); height: 4px; background: #24344f; }
.floor__bar i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(var(--hg-p, 0)); }
@media (max-width: 767px) {
  .floor [data-hgallery-stage] { padding: calc(var(--bar) + 16px) 0 28px; gap: 20px; }
  .floor__head { display: block; }
  .floor__head h2 { font-size: 15vw; }
  .floor__head p { margin-top: 12px; font-size: 16px; }
  .floor figure { width: 52vw; }
  .floor figure img, .floor figure video { max-height: 52svh; }
}

/* ========== 12 种工艺（固定画框） ========== */
.crest { padding: 170px var(--m); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: center; }
.crest__txt { grid-column: 1 / 7; display: flex; flex-direction: column; gap: 24px; }
.crest__txt h2 { font-size: var(--step-head); color: var(--navy); }
.crest__list { list-style: none; margin: 8px 0 0; padding: 0; columns: 2; column-gap: 24px; }
.crest__list button { background: none; border: 0; padding: 7px 0; text-align: left; cursor: pointer; font-size: var(--step-lead); font-weight: 500; color: var(--muted); transition: color 180ms ease; }
.crest__list button[aria-current="true"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.25em; text-decoration-color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .crest__list button:hover { color: var(--ink); } }
.crest figure { grid-column: 8 / 12; margin: 0; cursor: pointer; }
.crest .xf-frame { aspect-ratio: 1; width: 100%; max-width: 440px; background: var(--surface); }
.crest figcaption { margin-top: 16px; font-size: var(--step-small); }
@media (max-width: 800px) {
  .crest { display: flex; flex-direction: column; align-items: stretch; gap: 28px; padding: 96px var(--m); }
  .crest figure { order: 2; align-self: center; width: 78vw; }
  .crest__list { columns: 2; }
  .crest__list button { font-size: 17px; padding: 6px 0; }
}

/* ========== 认证名跑马灯 + 证书 ========== */
.proof { background: var(--bg); }
.proof .marquee { background: var(--navy); color: #fff; min-height: 34vh; display: flex; align-items: center; font-family: var(--display); font-weight: 700; font-size: var(--step-head); line-height: 1; text-transform: uppercase; --mq-dot: var(--accent); --mq-gap: 0.45em; }
.proof__body { padding: 40px var(--m) 150px; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 40px; }
.proof__body > p { grid-column: 1 / 7; font-size: var(--step-lead); line-height: 1.35; font-weight: 500; }
.certs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(9, 1fr); gap: 16px; }
.certs a { min-width: 0; display: flex; flex-direction: column; gap: 8px; text-decoration: none; font-size: var(--step-small); }
.certs img { width: 100%; aspect-ratio: 600 / 820; object-fit: cover; background: var(--surface); transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .certs a:hover img { transform: translateY(-4px); } }
@media (max-width: 700px) { .proof .marquee { min-height: 22vh; font-size: 15vw; } .proof__body { display: block; padding: 28px var(--m) 96px; } .certs { margin-top: 28px; grid-template-columns: repeat(5, 1fr); gap: 16px 8px; } .certs a { font-size: 13px; line-height: 1.25; } }

/* ========== FAQ：像节目单背面的说明 ========== */
.faq { background: var(--surface); padding: 160px var(--m); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
.faq__side { grid-column: 1 / 5; display: flex; flex-direction: column; gap: 24px; align-self: start; position: sticky; top: calc(var(--bar) + 24px); }
.faq__side h2 { font-size: var(--step-head); line-height: 0.9; color: var(--navy); }
.faq__side figure { margin: 0; }
.faq__side figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.faq__side figcaption { font-size: var(--step-small); margin-top: 10px; }
.faq__text { grid-column: 6 / 13; columns: 2; column-gap: 56px; font-size: var(--step-body); line-height: 1.55; }
.faq__text p { break-inside: avoid; margin: 0 0 22px; }
.faq__text b { font-weight: 600; }
@media (max-width: 900px) {
  .faq { display: flex; flex-direction: column; gap: 32px; padding: 96px var(--m); }
  .faq__side { position: static; }
  .faq__side h2 { font-size: 15vw; }
  .faq__text { columns: 1; font-size: 16px; }
  .faq__text p { margin-bottom: 18px; }
}

/* ========== 联系：邮箱就是大字 ========== */
.contact { min-height: 100svh; background: var(--navy-deep); color: #fff; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto auto; padding: 120px var(--m) 40px; column-gap: var(--gap); }
.contact__lead { grid-column: 1 / 2; font-size: var(--step-lead); line-height: 1.4; max-width: 34ch; }
.contact__mail { grid-column: 1 / -1; grid-row: 3; align-self: end; font-family: var(--display); font-weight: 600; font-size: clamp(3rem, 11.4vw, 14rem); line-height: 1; padding-bottom: 0.16em; letter-spacing: -0.02em; text-decoration: none; margin-bottom: 7vh; white-space: nowrap; transition: color 200ms ease; }
.contact__mail .at { display: inline; }
@media (hover: hover) and (pointer: fine) { .contact__mail:hover { color: var(--accent); } }
.contact__l, .contact__r { grid-row: 4; font-size: var(--step-small); display: flex; flex-direction: column; gap: 6px; }
.contact__r { align-items: flex-end; text-align: right; }
.contact__r .acts { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; margin-bottom: 10px; }
.contact a.plain { text-decoration: none; }
@media (max-width: 700px) {
  .contact { display: flex; flex-direction: column; min-height: 86svh; padding: 88px var(--m) 32px; gap: 0; }
  .contact__lead { font-size: 18px; }
  .contact__mail { font-size: 15.5vw; white-space: normal; margin: auto 0 40px; padding-top: 48px; align-self: flex-start; }
  .contact__mail .at { display: block; }
  .contact__l, .contact__r { align-items: flex-start; text-align: left; font-size: 15px; gap: 12px; }
  .contact__r { margin-top: 24px; }
  .contact__r .acts { justify-content: flex-start; }
}

/* ========== 页脚：红色收尾，名字铺满 ========== */
.foot { background: var(--accent); color: #fff; padding: 96px var(--m) 0; overflow: hidden; }
.foot__row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 32px; }
.foot__places { grid-column: 1 / 6; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.foot__places a, .foot__places span { font-family: var(--display); font-weight: 600; font-size: var(--step-title); line-height: 1.1; text-decoration: none; }
.foot__cols { grid-column: 7 / 13; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; font-size: var(--step-small); }
.foot__cols h3 { font-family: var(--text); text-transform: none; letter-spacing: 0; font-weight: 600; font-size: var(--step-small); line-height: 1.4; margin-bottom: 10px; }
.foot__cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.foot__cols a { text-decoration: none; }
.foot__legal { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-top: 96px; font-size: 13px; line-height: 1.5; }
.foot__legal .concept { font-weight: 600; }
.foot__name { font-family: var(--display); font-weight: 700; font-size: 48.5vw; line-height: 0.74; letter-spacing: -0.02em; margin: 40px 0 -0.1em -0.04em; white-space: nowrap; text-transform: uppercase; user-select: none; }
@media (max-width: 700px) {
  .foot { padding-top: 64px; }
  .foot__row { display: flex; flex-direction: column; }
  .foot__places a, .foot__places span { font-size: 26px; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__legal { margin-top: 56px; font-size: 13px; flex-direction: column; }
  .foot__name { font-size: 46vw; }
}

/* ========== 快速预览弹窗 ========== */
dialog.qv { border: 0; padding: 0; width: min(980px, 94vw); max-height: 92svh; background: var(--paper); color: var(--ink); overflow: auto; overscroll-behavior: contain; }
dialog.qv::backdrop { background: rgba(6, 12, 24, 0.6); }
dialog.qv[open] { animation: qv-in 320ms var(--ease-out); }
@keyframes qv-in { from { opacity: 0; transform: translateY(18px); } }
.qv__in { display: grid; grid-template-columns: 1fr 1fr; }
.qv__img { background: #fff; aspect-ratio: 1; }
.qv__img img { width: 100%; height: 100%; object-fit: contain; }
.qv__b { padding: 32px 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.qv__b h3 { font-family: var(--text); text-transform: none; letter-spacing: 0; font-size: var(--step-lead); line-height: 1.25; font-weight: 600; }
.qv__cat { font-size: var(--step-small); color: var(--muted); }
.qv__b .opt { --opt-ink: var(--navy); --opt-surface: var(--surface); margin-bottom: 6px; }
.qv__b .opt legend { font-size: var(--step-small); }
.qv__b .opt label > span { min-height: 40px; font-size: 15px; padding: 0 13px; }
.qv__moq { font-size: var(--step-small); }
.qv__x { position: absolute; top: 10px; right: 10px; border: 0; background: var(--ink); color: #fff; min-height: 42px; padding: 0 16px; cursor: pointer; font-weight: 600; }
@media (max-width: 700px) { .qv__in { grid-template-columns: 1fr; } .qv__img { aspect-ratio: 4 / 3; } .qv__b { padding: 20px 18px 24px; } }
@media (prefers-reduced-motion: reduce) { dialog.qv[open] { animation: none; } }

/* ========== 询盘抽屉 ========== */
.drawer { --drawer-bg: var(--paper); }
.drawer__panel { padding: 28px 32px 40px; display: flex; flex-direction: column; gap: 18px; }
.drawer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.drawer__top h2 { font-size: var(--step-title); color: var(--navy); }
.drawer__x { border: 0; background: var(--surface); min-height: 44px; padding: 0 16px; font-weight: 600; cursor: pointer; }
.drawer p.sub { font-size: var(--step-small); color: var(--muted); }
.drawer form { display: flex; flex-direction: column; gap: 14px; }
.drawer .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.drawer label.f { display: flex; flex-direction: column; gap: 6px; font-size: var(--step-small); font-weight: 600; }
.drawer input:not([type=checkbox]):not([type=radio]), .drawer select, .drawer textarea { font: inherit; font-size: 16px; padding: 12px 12px; border: 1px solid #b8c0cc; background: #fff; color: var(--ink); border-radius: 0; width: 100%; }
.drawer textarea { min-height: 110px; resize: vertical; }
.drawer [aria-invalid="true"] { border-color: var(--accent) !important; border-width: 2px !important; }
.drawer .opt { --opt-ink: var(--navy); --opt-surface: var(--surface); margin: 0; }
.drawer .opt legend { font-size: var(--step-small); font-weight: 600; }
.drawer .opt label > span { min-height: 40px; font-size: 15px; padding: 0 12px; }
[data-inquiry-error] { color: var(--accent); font-weight: 600; min-height: 1.4em; font-size: var(--step-small); }
[data-inquiry-basket] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
[data-inquiry-basket] li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; background: var(--surface); padding: 10px 12px; font-size: 15px; }
[data-inquiry-basket] .b-name { font-weight: 600; line-height: 1.3; }
[data-inquiry-basket] .b-opt { font-size: 14px; color: var(--muted); grid-column: 1; }
[data-inquiry-basket] .b-del { grid-row: 1 / 3; grid-column: 2; align-self: center; border: 0; background: none; text-decoration: underline; cursor: pointer; font-size: 14px; }
[data-inquiry-done] { background: var(--shirt); padding: 14px 16px; font-size: 15px; }
@media (max-width: 700px) { .drawer__panel { padding: 20px 16px 32px; } .drawer .two { grid-template-columns: 1fr; } }

/* ========== 手机菜单 / 底部询盘条 ========== */
.msheet { --msheet-bg: var(--navy-deep); }
.msheet__top { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.msheet__top .mark { color: #fff; }
.msheet__x { border: 0; background: none; color: #fff; font-weight: 600; min-height: 44px; cursor: pointer; }
.msheet nav { margin-top: 40px; display: flex; flex-direction: column; }
.msheet nav a { font-family: var(--display); font-weight: 700; font-size: 15vw; line-height: 1.02; text-transform: uppercase; }
.msheet .msheet__c { margin-top: 32px; font-size: 16px; display: flex; flex-direction: column; gap: 8px; }
.mbar { --mbar-accent: var(--accent); --mbar-ink: var(--ink); --mbar-gap: #c9ced6; }

/* ========== 进场动效的补充（主体来自 assets/lib） ========== */
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 .h-line { clip-path: inset(0 0 100% 0); transform: translateY(30%); animation: h-in 1s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
  .js .hero .reel-window { clip-path: inset(50% 0 50% 0); animation: frame-in 1.2s var(--ease-in-out) 0.25s forwards; }
  .js .hero__foot, .js .hero__note { opacity: 0; transform: translateY(18px); animation: rise 0.8s var(--ease-out) 0.7s forwards; }
}
@keyframes h-in { to { clip-path: inset(0 0 -10% 0); transform: none; } }
@keyframes frame-in { to { clip-path: inset(0 0 0 0); } }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reel-strip img { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* 目录卡片是按钮：去掉按钮默认样式 */
button.hcard { width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: inherit; }
button.hcard:active .hcard__media { transform: scale(0.985); }
.hcard__media { transition: background-color .2s ease, transform 140ms var(--ease-out); }

.floor figure video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #1b2a44; display: block; }
video.verb__img { object-fit: cover; }
.plan__out dt { max-width: none; }
@media (max-width: 1000px) { .hero__note, .hero__cap { display: none; } }
/* 快速预览：图片列钉住，选项区紧凑，按钮不被挤出首屏 */
.qv__img { position: sticky; top: 0; align-self: start; max-height: 92svh; }
.qv__b { gap: 10px; }
.qv__b .opt label { margin: 0 6px 6px 0; }
@media (max-width: 700px) { .qv__img { position: relative; max-height: 46svh; } }
/* 顶栏：往下读时收起，往上滚时出现；钉住的"ONE FACTORY"段里保持显示 */
.bar { transition: transform 300ms var(--ease-out); }
.bar.bar--up { transform: translate3d(0, -100%, 0); }
@media (prefers-reduced-motion: reduce) { .bar { transition: none; } }
