/* 精信鑫官网
   一个形状管全页：金属卡片的圆角矩形（85×54 / 80×50mm，圆角约为短边的 6%）。
   它在不同尺度上反复出现：首屏视频的框、卡面预览、每张照片的遮罩、按钮、列表的小图、询价卡券。 */

@font-face { font-family: "Chillax"; src: url("/site/fonts/chillax-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Chillax"; src: url("/site/fonts/chillax-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Chillax"; src: url("/site/fonts/chillax-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* 颜色：灰色是不锈钢板，深红是朱红卡和红色氧化铝 */
  --bg: #e2e2e2;
  --surface: #d6d6d6;
  --surface-2: #c8c8c8;
  --ink: #7d0c14;
  --ink-deep: #5a0810;
  --muted: #7a4a4e;
  --accent: #7d0c14;
  --accent-ink: #e2e2e2;
  --field-1: #7d0c14;
  --field-1-ink: #e2e2e2;
  --steel: #d9dcde;

  --font: "Chillax", "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Noto Sans CJK HK", system-ui, sans-serif;

  /* 五级字号 */
  --step-small: 0.875rem;
  --step-body: clamp(1.125rem, 1.08rem + 0.2vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 2.6vw, 3.75rem);
  --step-display: clamp(2.75rem, 1rem + 5.4vw, 6.25rem);

  /* 卡片圆角的三个尺度 */
  --r-xl: clamp(20px, 2.6vw, 38px);
  --r-l: clamp(12px, 1.4vw, 20px);
  --r-s: 4px;

  --margin: clamp(16px, 2vw, 28px);
  --gutter: clamp(16px, 2vw, 28px);
  --section: clamp(96px, 12vw, 200px);
  --nav-h: 68px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, ul, ol, dl, dd, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
ul, ol { padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:target { scroll-margin-top: 24px; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }

h1, h2, h3 { font-weight: 600; text-wrap: balance; }
.display { font-size: var(--step-display); line-height: 1.0; letter-spacing: -0.03em; }
.head { font-size: var(--step-head); line-height: 1.05; letter-spacing: -0.03em; }
[data-lang="zh"] .display, [data-lang="zh"] .head { letter-spacing: 0; line-height: 1.12; }
p { text-wrap: pretty; }

.wrap { padding-inline: var(--margin); }

/* ---------- controls ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: var(--r-s);
  background: var(--accent); color: var(--accent-ink);
  font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.button:hover { background: var(--ink-deep); }
.button:active { transform: scale(0.97); }
.button--small { min-height: 42px; padding: 0 18px; font-size: var(--step-small); }
.button--light { background: var(--bg); color: var(--ink); }
.button--light:hover { background: var(--surface); }

.textlink { text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.25em; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); transition: text-decoration-color var(--t-hover) ease; }
.textlink:hover { text-decoration-color: currentColor; }

/* ---------- nav ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: var(--step-body); }
.brand__chip { display: grid; place-items: center; width: 44px; aspect-ratio: 85.6 / 54; border-radius: var(--r-s); background: var(--accent); color: var(--accent-ink); font-size: var(--step-small); line-height: 1; }
.nav__links { display: flex; gap: clamp(16px, 2.4vw, 36px); font-size: var(--step-body); }
.nav__links a { padding: 8px 0; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.4em; text-decoration-color: transparent; transition: text-decoration-color var(--t-hover) ease; }
.nav__links a:hover { text-decoration-color: currentColor; }
.nav__end { display: flex; align-items: center; gap: 16px; }
.lang { display: inline-flex; align-items: center; text-decoration: none; min-height: 42px; padding: 0 6px; font-size: var(--step-small); font-weight: 500; transition: opacity var(--t-hover) ease; }
.lang:hover { opacity: 0.7; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px;
  height: calc(100svh - var(--nav-h)); min-height: 620px; max-height: 1100px;
  overflow: clip;
}
.hero__card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  margin-bottom: var(--margin);
  padding: 0 clamp(24px, 3.4vw, 56px) clamp(24px, 3vw, 44px);
  background: var(--surface); border-radius: var(--r-xl);
}
/* 卡片坯料排成一排，跟 UV 机台面上的一样 */
.blanks { min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(34px, 3.2vw, 46px), 1fr)); grid-template-rows: auto; grid-auto-rows: 0; column-gap: 8px; row-gap: 0; padding-top: clamp(20px, 2.4vw, 32px); overflow: hidden; }
.blanks i { aspect-ratio: 85.6 / 54; border-radius: 3px; background: var(--accent); }
.blanks i:nth-child(3n+2) { background: var(--ink-deep); }
.hero__text { display: grid; gap: 0; }
.hero h1 { max-width: 11em; }
[data-lang="en"] .hero h1 { max-width: 9.5em; }
.hero__lead { margin-top: 36px; max-width: 34em; font-size: var(--step-body); color: var(--ink); }
[data-lang="en"] .hero__lead { max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.hero__specs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px clamp(24px, 3vw, 48px); }
.hero__specs dt { font-size: var(--step-small); color: var(--muted); }
.hero__specs dd { font-size: var(--step-lead); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }

.hero__media { position: relative; overflow: clip; border-radius: var(--r-xl) var(--r-xl) 0 0; height: calc(100% + 80px); background: var(--surface-2); }
.hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero__media figcaption { position: absolute; left: 20px; bottom: 100px; padding: 6px 12px; border-radius: var(--r-s); background: var(--bg); color: var(--ink); font-size: var(--step-small); }

/* ---------- 做一张卡 ---------- */
.build { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter); min-height: 88svh; margin-top: var(--section); align-items: stretch; }
.build__stage {
  position: relative; display: grid; place-items: center; align-content: center; gap: 40px;
  aspect-ratio: 1; align-self: center; justify-self: start; width: min(100%, 82svh);
  background: var(--surface); border-radius: var(--r-xl);
  padding: 8%;
}
.metal {
  --tex: url("/site/assets/img/finish/red.jpg");
  --t: 0.8;
  --edge: #3a0509;
  position: relative; width: 84%; aspect-ratio: 85.6 / 54;
  container-type: inline-size;
  border-radius: 3.7% / 5.9%;
  background: #9c1c22 var(--tex) center / cover;
  transition: aspect-ratio var(--t-ui) var(--ease-out), width var(--t-ui) var(--ease-out);
}
.metal[data-size="80×50"] { aspect-ratio: 80 / 50; width: 79%; }
/* 卡的厚度：卡下沿露出的一条边，跟着 0.3 / 0.5 / 0.8mm 变 */
.metal::after { content: ""; position: absolute; left: 1.5%; right: 1.5%; top: calc(100% - 4px); height: calc(var(--t) * 14px + 4px); border-radius: 0 0 3.7% 3.7% / 0 0 40% 40%; background: var(--edge); z-index: -1; transition: height var(--t-ui) var(--ease-out); }
.metal { isolation: isolate; }
.metal__text {
  position: absolute; left: 7.5%; bottom: 13%; right: 7.5%;
  font-size: 8.4cqi; font-weight: 600; line-height: 1.1; letter-spacing: 0.01em;
  color: var(--steel); overflow-wrap: anywhere;
}
.metal__no { position: absolute; right: 7.5%; top: 11%; font-size: 3.6cqi; font-weight: 500; letter-spacing: 0.08em; color: var(--steel); opacity: 0.9; font-variant-numeric: tabular-nums; }
.metal[data-alu] .metal__text, .metal[data-alu] .metal__no { color: #eef0f1; }
.build__spec { font-size: var(--step-lead); font-weight: 500; font-variant-numeric: tabular-nums; }

.build__panel { display: flex; flex-direction: column; justify-content: center; gap: 36px; padding-block: 8px; }
.build__lead { margin-top: 24px; max-width: 34em; }
[data-lang="en"] .build__lead { max-width: 44ch; }
.build__form { display: grid; gap: 18px; }
.finishes__row { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.finish { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: var(--step-body); color: var(--muted); cursor: pointer; transition: color var(--t-hover) ease; }
.finish input { position: absolute; opacity: 0; pointer-events: none; }
.finish__sw { width: 34px; aspect-ratio: 85.6 / 54; border-radius: 3px; background-size: cover; background-position: center; transition: transform var(--t-ui) var(--ease-out); }
.finish:hover { color: var(--ink); }
.finish:hover .finish__sw { transform: translateY(-2px); }
.finish:has(input:checked) { color: var(--ink); font-weight: 600; }
.finish:has(input:checked) .finish__sw { outline: 2px solid var(--ink); outline-offset: 3px; }
.finish:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--r-s); }
.build__finish { max-width: 40em; }
.build__finish strong { font-weight: 600; }
.field-label, .seg legend { font-size: var(--step-small); color: var(--muted); margin-bottom: -10px; }
.field { width: 100%; min-height: 56px; padding: 0 18px; border: 0; border-radius: var(--r-s); background: var(--surface); font-size: var(--step-lead); font-weight: 500; color: var(--ink); transition: background-color var(--t-hover) ease; }
.field:hover { background: var(--surface-2); }
.field::placeholder { color: var(--muted); }
.build__opts { display: flex; flex-wrap: wrap; gap: 18px 40px; }
.seg legend { margin-bottom: 8px; }
.seg__row { display: flex; gap: 6px; }
.seg__opt { position: relative; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg__opt span { display: grid; place-items: center; min-height: 48px; min-width: 64px; padding: 0 16px; border-radius: var(--r-s); background: var(--surface); font-weight: 500; font-variant-numeric: tabular-nums; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.seg__opt:hover span { background: var(--surface-2); }
.seg__opt input:checked + span { background: var(--ink); color: var(--accent-ink); }
.seg__opt input:active + span { transform: scale(0.96); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.seg__opt input:disabled + span { opacity: 0.45; cursor: not-allowed; }
.build__note { font-size: var(--step-small); color: var(--muted); }

.cells { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cell { display: flex; align-items: center; padding: 0 22px; min-height: 72px; border-radius: var(--r-s); text-decoration: none; font-weight: 500; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.cell:active { transform: scale(0.98); }
.cell--ink { background: var(--ink); color: var(--accent-ink); }
.cell--ink:hover { background: var(--ink-deep); }
.cell--tone { background: var(--surface); color: var(--ink); }
.cell--tone:hover { background: var(--surface-2); }

/* ---------- 产品目录 ---------- */
.catalog { margin-top: var(--section); }
.catalog__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; }
.catalog__head h2 { grid-column: 1 / 7; }
.catalog__head p { grid-column: 8 / 13; max-width: 34em; }
.cat { margin-top: clamp(64px, 7vw, 96px); }
.cat__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-bottom: 32px; }
.cat__head h3 { font-size: var(--step-head); line-height: 1.05; letter-spacing: -0.02em; }
[data-lang="zh"] .cat__head h3 { letter-spacing: 0; }
.cat__count { font-size: var(--step-body); color: var(--muted); font-variant-numeric: tabular-nums; }
.cat__items { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 64px; }
.item { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; width: 100%; text-align: left; border-radius: var(--r-s); }
.item__pic { width: 96px; aspect-ratio: 85.6 / 54; border-radius: var(--r-s); overflow: clip; background: var(--surface); }
.item__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-soft); }
.item:hover .item__pic img { transform: scale(1.08); }
.item__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.item__name { font-weight: 600; font-size: var(--step-body); }
.item:hover .item__name { text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.22em; }
.item__spec { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; }
.item__spec--custom { color: var(--muted); font-weight: 400; }
.item__body, .item__desc { display: block; }
.item__desc { margin-top: 2px; max-width: 38ch; color: var(--muted); }

/* ---------- 分隔带 ---------- */
.band { margin-top: var(--section); overflow: clip; }
.band__track { display: flex; gap: 12px; width: max-content; padding-inline: var(--margin); }
.band__track figure { flex: 0 0 auto; height: clamp(180px, 22vw, 320px); aspect-ratio: 85.6 / 54; border-radius: var(--r-l); overflow: clip; background: var(--surface); }
.band__track img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 工艺 ---------- */
.process { margin-top: var(--section); }
.process__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 10px; row-gap: 20px; align-items: end; }
.process__head { grid-column: 1 / 6; grid-row: 1; align-self: start; padding-right: 24px; }
.process__head p { margin-top: 20px; max-width: 26em; }
.tile { grid-row: 1; border-radius: var(--r-l); overflow: clip; background: var(--surface-2); }
.tile video { width: 100%; height: 100%; object-fit: cover; }
.tile--1 { grid-column: 1 / 3; height: 30vh; }
.tile--2 { grid-column: 3 / 6; height: 40vh; }
.tile--3 { grid-column: 6 / 9; height: 50vh; }
.tile--4 { grid-column: 9 / 13; height: 64vh; }
.tile, .stage { min-height: 0; }
.stage { grid-row: 2; align-self: start; padding-right: 12px; }
.stage--1 { grid-column: 1 / 3; } .stage--2 { grid-column: 3 / 6; } .stage--3 { grid-column: 6 / 9; } .stage--4 { grid-column: 9 / 13; }
.stage h3 { font-size: var(--step-body); font-weight: 500; letter-spacing: 0; }
.stage p { margin-top: 6px; color: var(--muted); font-size: var(--step-body); max-width: 30em; }

/* ---------- 数字 ---------- */
.stats { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; margin-top: var(--section); align-items: start; }
.stat { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(20px, 2vw, 32px); border-radius: var(--r-l); }
.stat__n { font-size: var(--step-display); font-weight: 600; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat__c { font-size: var(--step-body); max-width: 22em; }
.stat--big { grid-column: 1 / 6; grid-row: 1 / 3; height: 70vh; min-height: 460px; background: var(--field-1); color: var(--field-1-ink); }
.stats__title { grid-column: 6 / 13; grid-row: 1; height: 18vh; min-height: 120px; padding: 0 8px; font-size: var(--step-head); line-height: 1.05; letter-spacing: -0.03em; }
[data-lang="zh"] .stats__title { letter-spacing: 0; }
.stat--mid { grid-column: 6 / 10; grid-row: 2; height: 44vh; min-height: 300px; background: var(--ink-deep); color: var(--field-1-ink); align-self: start; }
.stat--low { grid-column: 10 / 13; grid-row: 2; height: 34vh; min-height: 240px; margin-top: 12vh; background: var(--surface-2); color: var(--ink); align-self: start; }
.stat--mid .stat__n, .stat--low .stat__n { font-size: var(--step-head); }

/* ---------- 工厂 ---------- */
.factory { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); margin-top: var(--section); align-items: center; }
.factory__frame { grid-column: 1 / 6; }
.factory__window { position: relative; display: block; width: 100%; aspect-ratio: 54 / 85.6; max-height: 82vh; border-radius: var(--r-xl); overflow: clip; background: var(--surface-2); cursor: pointer; }
.factory__window img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1200ms ease; filter: grayscale(1) contrast(1.06); }
.factory__window img.is-on { opacity: 1; }
.factory__cap { margin-top: 16px; font-size: var(--step-small); color: var(--muted); min-height: 1.5em; }
.factory__cap strong { color: var(--ink); font-weight: 600; }
.factory__pause { min-height: 44px; font-size: var(--step-small); color: var(--muted); text-decoration: underline; text-underline-offset: 0.25em; transition: color var(--t-hover) ease; }
.factory__pause:hover { color: var(--ink); }
.factory__text { grid-column: 7 / 13; display: grid; gap: 48px; }
.factory__text header p { margin-top: 20px; max-width: 32em; }
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.place { display: block; width: 100%; padding: 12px 0; text-align: left; color: var(--muted); transition: color var(--t-hover) ease; }
.place:hover { color: var(--ink); }
.place b { display: block; font-size: var(--step-lead); font-weight: 500; line-height: 1.25; }
.place span { display: block; font-size: var(--step-body); }
.place[aria-current="true"] { color: var(--ink); }
.place[aria-current="true"] b { font-weight: 600; }
.place b::before { content: ""; display: inline-block; width: 0.9em; aspect-ratio: 85.6 / 54; margin-right: 0.45em; border-radius: 2px; background: currentColor; opacity: 0.25; vertical-align: 0.05em; transition: opacity var(--t-ui) ease; }
.place[aria-current="true"] b::before { opacity: 1; }

/* ---------- 问答 ---------- */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); margin-top: var(--section); }
.faq > h2 { grid-column: 3 / 11; }
.faq__stack { grid-column: 3 / 11; padding-top: 56px; }
.fcard { position: relative; border-radius: 0 var(--r-l) 0 0; background: var(--c, var(--surface)); color: var(--ci, var(--ink)); }
.fcard:last-child { border-radius: 0 var(--r-l) var(--r-l) var(--r-l); }
.fcard__tab { position: absolute; bottom: 100%; left: calc((100% - 200px) * var(--x, 0) / 5); display: flex; align-items: center; height: 40px; width: 200px; padding: 0 20px; border-radius: var(--r-l) var(--r-l) 0 0; background: inherit; font-size: var(--step-body); font-weight: 500; }
.fcard:first-child { border-top-left-radius: 0; }
.fcard__q { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; min-height: 96px; padding: 20px 28px 56px; text-align: left; font-size: var(--step-body); font-weight: 500; }
.fcard__q::after { content: "+"; font-size: var(--step-lead); line-height: 1; transition: transform var(--t-ui) var(--ease-out); }
.fcard__q[aria-expanded="true"]::after { transform: rotate(45deg); }
.fcard__q[aria-expanded="true"] { padding-bottom: 12px; }
.fcard__a { padding: 0 28px 72px; }
.fcard__a p { max-width: 50ch; font-size: var(--step-body); }
.fcard:last-child .fcard__q { padding-bottom: 28px; }
.fcard:last-child .fcard__a { padding-bottom: 32px; }

/* ---------- 询价卡券 ---------- */
.contact { margin-top: var(--section); }
.coupon {
  position: relative; display: grid; grid-template-columns: 46fr 54fr;
  margin-inline: calc(100% / 12);
  border-radius: var(--r-xl); background: var(--field-1); color: var(--field-1-ink);
}
.coupon::before, .coupon::after { content: ""; position: absolute; left: 46%; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; background: var(--bg); }
.coupon::before { top: -14px; }
.coupon::after { bottom: -14px; }
.coupon__left { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: clamp(28px, 3.4vw, 52px); }
.coupon__title { font-size: var(--step-head); line-height: 1.05; letter-spacing: -0.03em; max-width: 9em; }
[data-lang="zh"] .coupon__title { letter-spacing: 0; line-height: 1.15; }
[data-lang="en"] .coupon__title { max-width: 10em; }
.coupon__lead { margin-top: 20px; max-width: 30em; }
.coupon__label { font-size: var(--step-small); }
.coupon__phone { display: inline-block; font-size: var(--step-head); font-weight: 600; line-height: 1.1; text-decoration: none; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; white-space: nowrap; }
.coupon__phone:hover { text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.15em; }
.flow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.flow li { padding: 6px 12px; border-radius: var(--r-s); background: var(--ink-deep); font-size: var(--step-small); }
.coupon__form { display: grid; gap: 10px; align-content: center; padding: clamp(28px, 3.4vw, 52px); border-left: 5px dotted var(--bg); }
.cfield { width: 100%; min-height: 54px; padding: 0 18px; border: 0; border-radius: var(--r-s); background: #95343b; color: var(--field-1-ink); font-size: var(--step-body); transition: background-color var(--t-hover) ease; }
.cfield::placeholder { color: #ecd6d8; }
.cfield:hover, .cfield:focus { background: #a2444b; }
.cfield:focus-visible { outline: 2px solid var(--bg); outline-offset: 2px; }
.csubmit { min-height: 58px; border-radius: var(--r-s); background: var(--bg); color: var(--ink); font-weight: 600; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.csubmit:hover { background: #fff; }
.csubmit:active { transform: scale(0.98); }
.csubmit:focus-visible { outline-color: var(--bg); }
.coupon__status { min-height: 1.5em; font-size: var(--step-body); }
.coupon__sms { justify-self: start; font-size: var(--step-body); }
.channels { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; font-size: var(--step-body); }
.foot__contact .channels a { font-size: inherit; font-weight: inherit; text-decoration: underline; }

/* ---------- footer ---------- */
.foot { margin-top: clamp(72px, 7vw, 100px); padding: clamp(28px, 3vw, 40px) 0 28px; background: var(--field-1); color: var(--field-1-ink); }
.mark { display: flex; align-items: flex-end; gap: 4px; height: 34svh; min-height: 220px; }
.mark__b { position: relative; flex: 1 1 0; display: flex; align-items: flex-end; justify-content: flex-start; height: var(--h); padding: 0 0 0 clamp(12px, 1.6vw, 24px); border-radius: var(--r-l) var(--r-l) var(--r-s) var(--r-s); background: var(--bg); color: var(--field-1); font-weight: 600; font-size: min(26svh, 20vw); line-height: 0.86; overflow: clip; }
.mark__g { position: absolute; top: clamp(12px, 1.4vw, 20px); right: clamp(12px, 1.6vw, 24px); text-align: right; font-size: var(--step-body); font-weight: 500; line-height: 1.2; }
.mark__b:nth-child(2) { background: var(--surface-2); }
.mark__b:nth-child(3) { background: var(--steel); }
.foot__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gutter); margin-top: 56px; }
.foot__grid > div { grid-column: span 2; }
.foot__grid > .foot__contact { grid-column: 9 / 13; }
.foot__h { font-size: var(--step-small); opacity: 0.8; margin-bottom: 10px; }
.foot__list li + li { margin-top: 6px; }
.foot__grid a { text-decoration: none; }
.foot__grid a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.foot__contact p + p { margin-top: 6px; }
.foot__contact a { font-size: var(--step-lead); font-weight: 600; font-variant-numeric: tabular-nums; }
.foot__last { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 56px; font-size: var(--step-small); }

/* ---------- 大图查看 ---------- */
.viewer { width: min(1100px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 0; border-radius: var(--r-l); background: var(--bg); color: var(--ink); box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35); /* taste-skill-ignore: dialog floats */ overflow: clip; }
.viewer::backdrop { background: rgba(40, 6, 9, 0.72); }
.viewer img { width: 100%; max-height: calc(100svh - 140px); object-fit: contain; background: var(--surface); }
.viewer__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; }
.viewer__bar strong { font-weight: 600; margin-right: 8px; }

/* ---------- 平板 ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .hero { display: flex; flex-direction: column-reverse; justify-content: flex-end; height: auto; min-height: 0; max-height: none; gap: 0; overflow: visible; }
  .hero__media { height: min(46svh, 560px); border-radius: var(--r-xl); }
  .hero__media figcaption { bottom: 40px; left: 12px; }
  .hero__card { position: relative; z-index: 1; margin-top: -24px; margin-bottom: 0; gap: 28px; }
  .build { grid-template-columns: 1fr; min-height: 0; }
  .build__stage { max-width: 640px; }
  .catalog__head h2, .catalog__head p { grid-column: 1 / -1; }
  .stats { grid-template-columns: 1fr 1fr; gap: 6px; }
  .stats__title { grid-column: 1 / -1; grid-row: 1; height: auto; min-height: 0; padding: 0 0 16px; font-size: var(--step-head); }
  .stat--big { grid-column: 1 / -1; grid-row: 2; height: 56vw; min-height: 240px; max-height: 520px; }
  .stat--mid { grid-column: 1; grid-row: 3; height: 46vw; min-height: 0; max-height: 400px; }
  .stat--low { grid-column: 2; grid-row: 3; height: 46vw; min-height: 0; max-height: 400px; margin-top: 32px; }
  .factory__frame { grid-column: 1 / 6; }
  .factory__text { grid-column: 6 / 13; }
  .places { grid-template-columns: 1fr; }
  .faq > h2, .faq__stack { grid-column: 1 / -1; }
  .coupon { margin-inline: 0; }
  .foot__grid > div { grid-column: span 3; }
  .foot__grid > .foot__contact { grid-column: 1 / -1; }
}

/* ---------- 手机 ---------- */
@media (max-width: 900px) {
  .cat__items { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --nav-h: 60px; --section: 96px; }
  .brand__name { display: none; }
  .blanks { padding-top: 18px; }
  .hero__lead { margin-top: 24px; }
  .hero__actions { margin-top: 24px; }
  .hero__specs { grid-template-columns: 1fr 1fr; }
  .hero__specs div:last-child { grid-column: 1 / -1; }

  .build { gap: 28px; }
  .build__panel { gap: 28px; }
  .cells { grid-template-columns: 1fr; }
  .cell { min-height: 60px; }

  .cat__items { grid-template-columns: 1fr; gap: 24px; }
  .item { grid-template-columns: 72px 1fr; gap: 16px; }
  .item__pic { width: 72px; }
  .cat__head h3 { font-size: 8.5vw; }

  .process__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .process__head { padding: 0 0 32px; }
  .tile { height: auto !important; }
  .tile--1 { aspect-ratio: 16 / 9; width: 72%; }
  .tile--2 { aspect-ratio: 16 / 9; width: 84%; }
  .tile--3 { aspect-ratio: 16 / 9; width: 92%; }
  .tile--4 { aspect-ratio: 4 / 3; width: 100%; }
  .stage { padding: 12px 0 32px; }


  .stat--mid, .stat--low { grid-column: 1 / -1; height: 40vw; }
  .stat--mid { grid-row: 3; }
  .stat--low { grid-row: 4; margin-top: 0; width: 84%; justify-self: end; }

  .factory { display: flex; flex-direction: column-reverse; gap: 32px; }
  .factory__text { gap: 24px; }
  .factory__frame { width: 72vw; align-self: center; }
  .places { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .place b { font-size: var(--step-body); }
  .place span { display: none; }
  .factory__cap { text-align: center; }
  .factory__pause { align-self: center; display: block; margin-inline: auto; }

  .fcard__tab { width: 120px; padding: 0 14px; left: calc((100% - 120px) * var(--x, 0) / 5); }
  .fcard__q { padding: 18px 20px 56px; font-size: var(--step-body); }
  .fcard__a { padding: 0 20px 64px; }
  .fcard__a p { font-size: var(--step-body); }

  .coupon { grid-template-columns: 1fr; }
  .coupon::before, .coupon::after { top: auto; bottom: auto; left: auto; margin: 0; }
  .coupon::before { left: -14px; top: var(--perf, 60%); margin-top: -14px; }
  .coupon::after { right: -14px; top: var(--perf, 60%); margin-top: -14px; }
  .coupon__form { border-left: 0; border-top: 5px dotted var(--bg); }

  .mark { height: 22svh; min-height: 150px; }
  .mark__b { font-size: min(18svh, 24vw); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid > div { grid-column: span 1; }
  .foot__grid > .foot__contact { grid-column: 1 / -1; }
}

/* ---------- 动效（脚本失效时内容照常显示） ---------- */
.lines .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.lines [data-line] { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-line] { transform: translateY(105%); animation: rise-line 900ms var(--ease-expo) forwards; animation-delay: calc(120ms + var(--i) * 90ms); }
  .js .hero [data-load] { opacity: 0; transform: translateY(14px); animation: rise 560ms var(--ease-out) forwards; animation-delay: var(--d); }
  .js .hero [data-open] { clip-path: inset(100% 0 0 0 round var(--r-xl)); animation: open 1100ms var(--ease-in-out) 120ms forwards; }
  .js .hero [data-open] video { transform: scale(1.1); animation: settle 1400ms var(--ease-expo) 100ms forwards; }
  @supports (animation-timeline: view()) {
    .mark__b { animation: block-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
  }
  .js .blanks i { opacity: 0; transform: translateY(-10px); animation: rise 420ms var(--ease-out) forwards; animation-delay: calc(var(--n, 0) * 32ms + 200ms); }

  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-expo); transition-delay: calc(var(--k, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .item[data-reveal], .js .place[data-reveal] { transform: translateY(16px); }
  .js .tile[data-reveal] { opacity: 1; transform: none; background: transparent; }
  .js .tile[data-reveal] > video { clip-path: inset(100% 0 0 0); transform: scale(1.08); transition: clip-path 1100ms var(--ease-in-out), transform 1500ms var(--ease-soft); transition-delay: calc(var(--k, 0) * 90ms); }
  .js .tile[data-reveal].is-in > video { clip-path: inset(0); transform: none; }

  .metal__text.is-etching { animation: etch 900ms var(--ease-in-out); }
  .metal.is-swap { animation: swap 380ms var(--ease-out); }

  @supports (animation-timeline: view()) {
    .band__track { animation: drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
}
@keyframes rise-line { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes open { to { clip-path: inset(0 0 0 0 round var(--r-xl)); } }
@keyframes settle { to { transform: none; } }
@keyframes etch { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes swap { from { transform: translateY(6px) scale(0.985); } to { transform: none; } }
@keyframes block-rise { from { transform: translateY(35%); } to { transform: none; } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(calc(-100% + 100vw)); } }
