/* FurEver atelier — 第 4 版：大标题 Sinhala MN，其余文字沿用现有黑体。 */
:root {
  --ivory: #f8f5ee;
  --paper: #fdfbf7;
  --sand: #ebe3d6;
  --ink: #54493e;
  --heading: #79654f;
  --muted: #756b60;
  --gold: #95774d;
  --line: #ded6ca;
  --dark: #39332b;
  --serif: var(--sans);
  --display: "Sinhala MN", var(--sans);
  --sans: Arial, Helvetica, sans-serif;
  --page-gutter: clamp(24px, 7vw, 128px);
  --ease-editorial: cubic-bezier(.22, 1, .36, 1);
  --motion-reveal: 760ms;
  --motion-menu: 360ms;
  --motion-control: 220ms;
  --site-header-height: 76px;
}
body {
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { color: var(--heading); font-family: var(--display); font-weight: 400; }
h1 { font-size: clamp(32px, 3.5vw, 48px); line-height: 1.24; }
h2 { font-size: clamp(30px, 3.1vw, 44px); line-height: 1.25; letter-spacing: -.035em; }
h3 { font-size: 24px; line-height: 1.3; }
h4 { font-family: var(--sans); }
h2 em { font-weight: 400; }
p { line-height: 1.8; }
/* 收尾打磨：.chapter-index 全仓库（app/lib/tests/标记）已无引用，从组合选择器中移除。 */
.eyebrow, .micro, .step-number, .mini-steps,
.step-nav button, .total strong, .metrics strong, .order-id {
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
}
.eyebrow { font-size: 11px; letter-spacing: .18em; color: var(--muted); }
.micro { font-size: 13px; }
.section { padding-left: var(--page-gutter); padding-right: var(--page-gutter); }
.button, .text-link { font-family: var(--sans); font-size: 14px; letter-spacing: .01em; }
.button {
  min-height: 50px;
  padding: 14px 23px;
  gap: 30px;
  background: var(--heading);
  border-color: var(--heading);
  transition: background var(--motion-control), border-color var(--motion-control), color var(--motion-control);
}
.button:hover:not(:disabled) { background: #66533f; border-color: #66533f; }
.button.light { background: var(--heading); border-color: var(--heading); color: var(--paper); }
.button.light:hover:not(:disabled) { background: #e8dccb; border-color: #e8dccb; color: #493724; }
.button span, .text-link span { display: inline-block; font-family: var(--sans); transition: transform var(--motion-control); }
.button:hover span, .text-link:hover span { transform: translateX(3px); }
.text-link { position: relative; border: 0; padding: 10px 0 9px; }
.text-link::after {
  content: ''; position: absolute; height: 1px; bottom: 3px; left: 0; right: 0;
  background: currentColor; opacity: .4; transform: scaleX(.45); transform-origin: left;
  transition: transform 380ms var(--ease-editorial), opacity 380ms;
}
.text-link:hover::after { transform: scaleX(1); opacity: .8; }
.text-link.dark { color: var(--heading); }
.secondary { border-color: var(--line); font-size: 14px; }

/* The menu is a restrained directory, not another hero heading. */

/* 反馈 S1-S4：抬头改用客户 SVG Logo；首屏完全透明，滚动后由实底导航栏在同一位置接管 Logo。 */
/* 透明态：无底色、无描边、无阴影；1px 边框始终占位（透明色），避免滚动时高度跳动。 */
.site-header {
  height: 76px; padding: 0 var(--page-gutter);
  background: transparent; border-bottom: 1px solid transparent; box-shadow: none;
  transition: background var(--motion-control) var(--ease-editorial),
    border-color var(--motion-control) var(--ease-editorial),
    box-shadow var(--motion-control) var(--ease-editorial);
}
/* 实底态：象牙白实底 + 1px 暖色分隔线 + 极轻单层投影（规范允许的低强度层次，非阴影堆叠）。 */
.site-header.is-solid {
  background: var(--ivory); border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(84,73,62,.06);
}

/* 品牌 Logo：绝对定位于导航栏正中，两个版本叠放，靠透明度互斥切换，位置与尺寸绝不跳动。 */
.site-header .brand {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: block; height: 50px; aspect-ratio: 700 / 463;
}
/* 覆盖 globals.css 的全局 img{display:block;width:100%;object-fit:cover}，保持 700:463 固有比例。 */
.site-header .brand .brand-logo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; margin: 0;
  transition: opacity var(--motion-control) var(--ease-editorial);
}
/* 首屏（透明态，压在深色 Hero 上）：只显示浅色版。 */
.site-header .brand .brand-logo-light { opacity: 1; }
.site-header .brand .brand-logo:not(.brand-logo-light) { opacity: 0; }
/* 滚动后（实底态）：只显示深色版，同一位置接管，不重复展示。 */
.site-header.is-solid .brand .brand-logo-light { opacity: 0; }
.site-header.is-solid .brand .brand-logo:not(.brand-logo-light) { opacity: 1; }

/* 五条导航链接：首屏不可见（且不可点），滚动后淡入。
   客户确认版式（2026-09-18）：目录在左侧，账户入口独占右侧，品牌居中。
   间距 26px → 20px：1151px 最紧一档下目录总宽约 424px，
   右侧保留给居中 Logo（约 537px 起）余量充足，无需上调汉堡断点。 */
.header-links {
  font-family: var(--sans); font-size: 12px; gap: 20px; color: var(--dark);
  opacity: 0; visibility: hidden;
  transition: opacity var(--motion-control) var(--ease-editorial),
    visibility var(--motion-control) var(--ease-editorial);
}
.site-header.is-solid .header-links { opacity: 1; visibility: visible; }
/* 收尾打磨（可点区域）：链接容器纵向拉满导航栏高度（76px），
   让每条链接的可点盒从「只有文字那一行」撑到整条导航栏高；
   导航栏高度、Logo 居中定位、文字字号与视觉位置均不变。 */
.header-links { align-self: stretch; }
.header-links>a { display: flex; align-items: center; align-self: stretch; }

/* Doco 反馈：Contact 放到 Sign in 前，平衡居中 Logo 两侧的目录。 */
.header-actions { display: flex; align-self: stretch; margin-left: auto; gap: 20px; }
.header-contact {
  display: flex; align-items: center; font: 12px var(--sans);
  color: var(--paper); opacity: 0; visibility: hidden;
}
.site-header.is-solid .header-contact { color: var(--dark); opacity: 1; visibility: visible; }
.header-contact:hover { color: var(--heading); }
@media (max-width: 1200px) { .header-contact { display: none; } }

/* 右侧唯一账户入口（客户确认版式：登录 / 我的账户独占右侧）。
   客户反馈（去掉竖线、与目录同一排对齐）：原左侧 1px 分隔线太突兀，整条删除，
   不再用任何分隔手段补偿——它就读作同一排导航的最后一项，仅靠 margin-left:auto 区分左右。
   与目录项完全同一排版口径：font-family/font-size/line-height 均同 .header-links
   （sans 12px、继承全局行高），同为 flex + align-items:center + align-self:stretch，
   文字垂直中心线天然重合；触控高度与目录项一致（撑满导航栏 ≥44px）。 */
.header-account {
  margin-left: auto;
  display: flex; align-items: center; align-self: stretch;
  /* 透明态对比度修正：浅色文字压在深色 Hero 上可读，
     取色与透明态 .menu-button span（--paper）同一口径。 */
  /* 去掉 border-left 与 padding-left:22px 后：左侧 20px 内边距对齐目录项 gap 节奏，
     右侧 4px 微调；右缘另有 --page-gutter 兜底，不会贴视口边缘。 */
  padding: 0 4px 0 20px;
  font-family: var(--sans); font-size: 12px; letter-spacing: .06em;
  color: var(--paper); text-decoration: none;
  transition: color var(--motion-control) var(--ease-editorial);
}
.header-account:hover { color: var(--paper); }
/* 实底态对比度修正：使用 --dark 深色文字令牌，hover 保留 --heading 品牌层级（竖线已删）。 */
.site-header.is-solid .header-account { color: var(--dark); }
.site-header.is-solid .header-account:hover { color: var(--heading); }
/* 合并登录 / 注册入口在手机上限宽，给居中的 Logo 留出空间。 */
@media (max-width: 767px) {
  .header-account { max-width: 104px; padding: 0; font-size: 11px; letter-spacing: 0; line-height: 1.4; text-align: right; }
}
@media (max-width: 380px) {
  .header-account { max-width: 72px; }
}

/* 三条横线菜单按钮：仅手机端显示；透明态浅色线、实底态深色线；触控目标 ≥44px。
   客户确认版式：手机端汉堡按钮在左侧（与桌面目录同侧），账户入口仍在右侧。 */
.menu-button {
  display: none; /* 桌面端隐藏，手机断点内再打开 */
  min-width: 44px; min-height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 9px;
}
.menu-button span {
  display: block; width: 24px; height: 1px;
  background: var(--paper); /* 透明态：浅色横线，压在深色 Hero 上可读 */
  transition: background var(--motion-control) var(--ease-editorial);
}
.site-header.is-solid .menu-button span { background: var(--heading); } /* 实底态：深色横线 */
.menu-button small { font-family: var(--sans); font-size: 10px; color: var(--paper); letter-spacing: .13em; transition: color var(--motion-control) var(--ease-editorial); }
.site-header.is-solid .menu-button small { color: var(--muted); }

.inner-page { padding-top: 76px; }
.menu-dialog {
  width: 430px; max-width: 92vw; padding: 32px 38px 40px;
  background: var(--ivory); color: var(--heading); border-right: 1px solid rgba(117,107,96,.12);
}
.menu-dialog[open] { animation: atelier-menu-in var(--motion-menu) var(--ease-editorial) both; }
.menu-dialog::backdrop { background: rgba(55,47,36,.3); backdrop-filter: blur(2px); }
.menu-dialog[open]::backdrop { animation: atelier-shade-in var(--motion-menu) ease both; }
.menu-top { margin-bottom: 65px; font-size: 10px; letter-spacing: .12em; color: var(--muted); }
.menu-top button { color: var(--muted); font-family: var(--sans); font-size: 12px; min-height: 44px; }
.menu-kicker { margin: 0 0 20px; color: var(--muted); font: 10px/1.5 var(--sans); letter-spacing: .19em; }
.menu-item {
  font-family: var(--sans); font-size: 16px; line-height: 1.4;
  min-height: 54px; padding: 15px 0; gap: 12px; border-bottom: 1px solid rgba(117,107,96,.14);
  color: var(--heading); transition: color var(--motion-control), padding var(--motion-control);
}
.menu-item>span:last-child { font: 14px var(--sans); opacity: .45; transition: transform var(--motion-control), opacity var(--motion-control); }
/* 收尾打磨：.menu-current 全仓库（app/lib/tests/标记）已无引用，仅保留 :hover。 */
.menu-item:hover { color: #655039; padding-left: 4px; }
.menu-item:hover>span:last-child { transform: translateX(3px); opacity: 1; }
/* 抽屉二级项（Laboratory）：小一号、缩进，明确从属于 Technology。 */
.menu-item.menu-subitem {
  font-size: 13px; min-height: 46px; padding: 12px 0 12px 22px;
  color: var(--muted); border-bottom-color: rgba(117,107,96,.09);
}
.menu-item.menu-subitem>span:last-child { font-size: 12px; }
.menu-signature { font-family: var(--sans); font-size: 21px; line-height: 2; margin: 66px 0 0; color: var(--gold); white-space: nowrap; }

/* Full-width scenes. Static layout remains usable without JavaScript. */
.hero-scroll { position: relative; background: #31251a; }
.hero-scroll.is-scrubbed { height: 138svh; }
.editorial-home .hero { height: 100svh; min-height: 680px; max-height: none; }
.hero-scroll.is-scrubbed .hero { position: sticky; top: 0; }
.hero-photograph { position: absolute; inset: 0; overflow: hidden; }
.hero-photograph img {
  width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%;
  transform: scale(var(--hero-scale, 1.025)); transform-origin: 64% 52%;
}
/* Doco 反馈：首页保留原图亮度，仅在字形边缘增加局部对比，不压暗整张照片。 */
.editorial-home .hero-copy, .editorial-home .scroll-cue, .editorial-home .hero-caption {
  text-shadow: 0 1px 2px rgba(38,27,18,.9), 0 2px 8px rgba(38,27,18,.8);
}
.editorial-home .hero-brand { top: 27px; font: 20px/1.15 var(--sans); letter-spacing: .06em; color: #f0e5d3; }
.editorial-home .hero-brand img { width: 24px; height: 29px; margin-bottom: 11px; }
.editorial-home .hero-brand>span { font: 8px var(--sans); letter-spacing: .46em; }
.editorial-home .hero-copy {
  left: var(--page-gutter); top: 32%; max-width: 760px;
  transform: translate3d(0,var(--copy-drift,0px),0);
}
.editorial-home .hero-copy .eyebrow { font-size: 10px; letter-spacing: .17em; color: #e2ceb1; margin-bottom: 30px; }
.editorial-home .hero-copy h1 { font: clamp(54px,4.8vw,72px)/1.48 var(--display); color: #f2e8d7; margin-bottom: 24px; white-space: nowrap; }
.editorial-home .hero-copy>p:not(.eyebrow) { color: #eee0ca; font-size: 14px; line-height: 1.9; margin-bottom: 30px; }
.editorial-home .hero-actions { gap: 27px; }
.editorial-home .hero-primary-cta {
  box-shadow: none;
  text-shadow: none;
  transition: background var(--motion-control), border-color var(--motion-control), color var(--motion-control);
}
.editorial-home .hero-primary-cta:hover,
.editorial-home .hero-primary-cta:focus-visible {
  background: #d8c4a6;
  border-color: #d8c4a6;
  color: #30281f;
  box-shadow: none;
  text-shadow: none;
}
.editorial-home .hero-primary-cta span { transition: none; }
.editorial-home .hero-primary-cta:hover span,
.editorial-home .hero-primary-cta:focus-visible span { transform: none; }
.editorial-home .hero-actions .text-link { font-size: 13px; color: #d6c5a8; transition: color var(--motion-control); }
.editorial-home .hero-actions .text-link:hover { color: #fff4e5; }
.editorial-home .scroll-cue { bottom: 38px; left: var(--page-gutter); gap: 15px; padding: 0; min-height: 44px; font: 11px var(--sans); color: #e6d8c2; }
.scroll-stroke { width: 1px; height: 37px; background: rgba(238,224,202,.7); }
.editorial-home .hero-caption { bottom: 55px; right: var(--page-gutter); font: 10px var(--sans); letter-spacing: .18em; }

/* 第 3 栏（原「品牌叙事」）已于 2026-09-21 客户复核后整栏撤下，
   对应样式（.story-section / .story-lede / .story-whisper）一并删除，避免留下死规则。 */

/* 第 4 栏：Technology — 停留 + 旋转场景，结构同 hero / craft。 */
.technology-scroll { position: relative; background: var(--ivory); }
.technology-stage {
  position: relative; min-height: 100svh; padding: 0 var(--page-gutter);
  overflow: clip; isolation: isolate;
  display: flex; align-items: center; justify-content: flex-end;
}
.technology-word {
  position: absolute; z-index: -1; left: 18%; top: 50%; pointer-events: none; user-select: none;
  color: #e9e1d5; font: italic clamp(140px, 24vw, 400px)/1 var(--display); letter-spacing: -.08em;
  transform: translate3d(var(--word-x,0px), var(--word-y,0px), 0) translateY(-50%);
}
.technology-gem {
  position: absolute; z-index: 1; left: 6%; top: 50%;
  width: clamp(320px, 38vw, 620px); aspect-ratio: 1; pointer-events: none;
  transform: translate3d(var(--gem-x,34px), calc(-50% + var(--gem-y,120px)), 0)
    rotate(var(--gem-rotate,-22deg)) scale(var(--gem-scale,.82));
}
.gem-cutout { position: relative; width: 100%; height: 100%; }
/* The generated stone has a real alpha channel; oversize it to fill the scene. */
.gem-cutout img {
  position: absolute; width: 132%; height: 132%; max-width: none; left: -16%; top: -16%;
  object-fit: contain;
}
.technology-gem .gem-cutout { transform: translateY(var(--image-drift,0px)); }
.technology-copy {
  position: relative; z-index: 2; display: block; max-width: 460px; margin-left: auto;
  color: var(--ink); text-decoration: none; cursor: pointer;
  opacity: var(--copy-opacity,1); transform: translateY(var(--copy-y,0px));
}
.technology-copy .eyebrow { font-size: 11px; letter-spacing: .2em; color: var(--muted); margin-bottom: 30px; }
.technology-copy h2 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.22; margin-bottom: 26px; }
.technology-copy>p:not(.eyebrow) { font-size: 16px; line-height: 1.85; color: var(--ink); max-width: 400px; margin-bottom: 22px; }
.technology-copy .text-link { margin-top: 14px; font-size: 13px; }
.technology-copy:hover .technology-link-label::after,
.technology-copy:focus-visible .technology-link-label::after { transform: scaleX(1); opacity: .8; }
.technology-copy:hover .technology-link-label>span,
.technology-copy:focus-visible .technology-link-label>span { transform: translateX(3px); }
.technology-scroll.is-scrubbed { height: 160svh; }
.technology-scroll.is-scrubbed .technology-stage { position: sticky; top: 0; height: 100svh; min-height: 0; padding: 0 var(--page-gutter); }

/* Aligned collection frames; movement lives inside the photograph, never in broken edges. */
/* 反馈 S6：Start your Diamonds 改为停留场景。
   JS 在 section.collections-scroll 上写 --heading-rise（+18 → 0px）与 --card-1…--card-4（0 → 1，依次就位）；
   无 JS / 手机 / prefers-reduced-motion 时变量缺席或恒为 1，卡片直接呈现就位态，不留空白。
   2026-10 版式重做（编辑式分栏）：
   - 桌面：标题退到左侧窄栏并垂直居中，两张竖幅卡片在右侧错落；整组内容按视口高度收敛，
     钉住时标题、照片、文案、入口全部在一屏内（此前内容比 100svh 高，钉住时文案与入口被裁掉）。
   - 入场：照片始终完整可见（不做遮挡式揭开——半遮的照片读起来像缺了一块），
     只是整卡略微靠下、略微透明地升起，照片同时从 1.34 缓缓收回 1.2；文案的金色短线随之画出。
   - 钉住：第二张卡片随滚动上浮，错落由 56px 收到 0，离开本栏前两张照片顶边齐平。
   - 悬停：照片内缘浮出一圈细线画框，另一张卡片轻微退后，入口下划线画满。 */
.collections-scroll { position: relative; z-index: 3; background: var(--ivory); }
.collections-stage {
  padding: 110px var(--page-gutter) 120px;
  display: grid; align-items: center;
  grid-template-columns: minmax(250px, .74fr) 2fr;
  column-gap: clamp(44px, 5.4vw, 104px);
}
.collections-stage .section-heading { grid-column: 1; grid-row: 1; display: block; margin-bottom: 0; }
.collections-stage .collection-grid { grid-column: 2; grid-row: 1; }
/* 桌面 scrubbed：整栏拉长到 160svh，舞台 sticky 钉住一屏，形成「停留」。
   上内边距让出固定抬头，保证整组内容落在抬头以下的可视区内。 */
.collections-scroll.is-scrubbed { height: 160svh; }
.collections-scroll.is-scrubbed .collections-stage {
  position: sticky; top: 0; height: 100svh; min-height: 640px;
  padding-top: calc(var(--site-header-height) + 28px); padding-bottom: 44px;
}
/* 标题随 --heading-rise 轻微上移（+18 → 0px），钉住前已归位。 */
.collections-stage .section-heading { transform: translate3d(0, var(--heading-rise, 0px), 0); }
/* 眉题前的小菱形与认证栏的印章框同一母题（旋转 45° 的细线方框）。 */
.collections-stage .eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; letter-spacing: .2em; }
.collections-stage .eyebrow::before {
  content: ''; flex: none; width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg);
}
.collections-stage .section-heading h2 { font-size: clamp(34px, 3.5vw, 54px); line-height: 1.14; text-wrap: balance; }
.collection-intro { max-width: 320px; margin: 26px 0 0; font: italic 18px/1.6 var(--sans); color: var(--muted); text-wrap: pretty; }

.collection-card { display: block; }
.collections-stage .collection-card:nth-child(1) { --card-in: var(--card-1, 1); }
.collections-stage .collection-card:nth-child(2) { --card-in: var(--card-2, 1); }
.collections-stage .collection-card:nth-child(3) { --card-in: var(--card-3, 1); }
.collections-stage .collection-card:nth-child(4) { --card-in: var(--card-4, 1); }
/* 两卡同宽，偶数卡下沉 --stagger：同宽、竖长、一高一低。
   钉住阶段 JS 写 --settle（0 → 1，在钉住段 85% 处走完），偶数卡上浮整整一个 --stagger，
   于是离开本栏前两张照片顶边齐平；奇数卡不动，作为对齐的基准。
   无 JS / 手机 / reduced-motion 时 --settle 缺席，卡片停在静止的错落态。 */
.collections-stage { --stagger: 56px; }
.collections-stage .collection-card:nth-child(even) { --settle-y: calc(var(--stagger) * -1); margin-top: var(--stagger); }
.collections-stage .collection-card {
  --card-in: 1;
  opacity: calc(.55 + .45 * var(--card-in));
  transform: translate3d(0, calc((1 - var(--card-in)) * 48px + var(--settle, 0) * var(--settle-y, 0px)), 0);
}
.collections-scroll.is-scrubbed .collection-grid {
  transform: translate3d(0, calc(var(--hold, 0) * -18px), 0);
}
.section-heading { align-items: end; margin-bottom: 50px; }
.section-heading>.text-link { margin-bottom: 4px; }
/* 反馈 P1：卡片数量会在 2/3 之间变化，容器 auto-fit 自适应，不写死列数。 */
.collection-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: clamp(24px, 2.6vw, 44px); align-items: start; padding-bottom: 0;
}
.collection-card:nth-child(2), .collection-card:nth-child(3) { margin-top: 0; }
.collection-card .image-wrap { overflow: hidden; background: var(--sand); }
.collection-card .image-wrap>img {
  aspect-ratio: .84; object-fit: cover;
  transform: translate3d(0,var(--image-drift,0px),0) scale(1.16);
  transition: scale 700ms var(--ease-editorial);
}
.collection-card:hover .image-wrap>img { scale: 1.02; }
.collection-card:nth-child(3) .image-wrap>img { object-position: 45% center; }
/* 首页舞台内的照片：竖幅 .76，并按视口高度封顶，保证钉住时整张卡片（含文案）都在一屏内。
   340px = 抬头 76 + 上下内边距 72 + 错落 56 + 文案区约 126 + 余量。 */
.collections-stage .collection-card .image-wrap>img {
  aspect-ratio: .76; max-height: max(300px, calc(100svh - 340px));
  /* 框内浮动分两段：--image-drift 管入场/离场（卡片在视口里移动时照片慢半拍）；
     --pan 管钉住段（卡片不动了，照片仍随 --hold 在框内缓缓下移，第二张幅度略大，和它的上浮呼应）。
     --pan 用百分比（相对照片自身高度），底图放大到 1.2 留出余量，任何尺寸下都不会露出衬底。 */
  transform: translate3d(0, calc(var(--image-drift,0px) + var(--hold, 0) * var(--pan, 0%)), 0)
    scale(calc(1.2 + (1 - var(--card-in, 1)) * .14));
  transition: scale 1100ms var(--ease-editorial), filter 600ms ease;
}
.collections-stage .collection-card:nth-child(odd) { --pan: 2.5%; }
.collections-stage .collection-card:nth-child(even) { --pan: 4%; }
.collections-stage .collection-card:hover .image-wrap>img,
.collections-stage .collection-card:focus-visible .image-wrap>img { scale: 1.035; }
/* 画框：悬停时在照片内缘浮出一圈细线。 */
.collections-stage .image-wrap::after {
  content: ''; position: absolute; inset: 14px; z-index: 2; pointer-events: none;
  border: 1px solid rgba(253,251,247,.72); opacity: 0; transform: scale(1.035);
  transition: opacity 500ms ease, transform 900ms var(--ease-editorial);
}
.collections-stage .collection-card:hover .image-wrap::after,
.collections-stage .collection-card:focus-visible .image-wrap::after { opacity: 1; transform: none; }
/* 悬停其中一张时，另一张照片轻微退后，视线自然落到被选中的那一条线。 */
.collections-stage .collection-grid:has(.collection-card:hover) .collection-card:not(:hover) .image-wrap>img {
  filter: saturate(.72) brightness(.97);
}
.collection-label, .collection-card:nth-child(2) .collection-label { padding: 25px 0 0; gap: 15px; }
.collection-label h3 { font: 19px/1.4 var(--sans); color: var(--heading); margin-bottom: 9px; }
.collection-label p { font-size: 13px; line-height: 1.7; }
.collection-label .collection-subtitle { margin-bottom: 9px; font: italic 20px/1.3 var(--sans); color: var(--heading); }
.collection-label .collection-description { max-width: 390px; margin-bottom: 18px; }
.collection-label>span { font: 18px var(--sans); color: var(--gold); }
/* 首页舞台内的文案（2026-10 第二轮，收敛层级）：只留一条左对齐轴线和一条通栏细线。
   第一行：系列名在左、入口在右，共用一条基线；
   细线：通栏 1px，把两端连成一行，悬停时一条金线从左画满（入口不再自带下划线）；
   细线下：材质（斜体）与说明依次左对齐堆叠。
   文案容器用 display:contents，让标题、材质、说明与入口进入同一张网格。 */
.collections-stage .collection-label,
.collections-stage .collection-card:nth-child(2) .collection-label {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0 24px; padding: 20px 0 0;
}
.collections-stage .collection-label>div { display: contents; }
.collections-stage .collection-label h3 { grid-column: 1; grid-row: 1; margin-bottom: 0; font-size: 17px; line-height: 1.3; letter-spacing: .08em; }
.collections-stage .collection-label::before,
.collections-stage .collection-label::after {
  content: ''; grid-column: 1 / -1; grid-row: 2; align-self: start; height: 1px; margin-top: 13px;
  transform-origin: left;
}
.collections-stage .collection-label::before { background: var(--line); transform: scaleX(var(--card-in, 1)); }
.collections-stage .collection-label::after {
  background: var(--gold); transform: scaleX(0);
  transition: transform 700ms var(--ease-editorial);
}
.collections-stage .collection-card:hover .collection-label::after,
.collections-stage .collection-card:focus-visible .collection-label::after { transform: none; }
.collections-stage .collection-label .collection-subtitle { grid-column: 1 / -1; grid-row: 3; margin: 14px 0 0; font-size: 19px; }
.collections-stage .collection-label .collection-description { grid-column: 1 / -1; grid-row: 4; max-width: none; margin: 5px 0 0; text-wrap: pretty; }
/* 入口：黑体 + 箭头，与全站 .text-link 同一语言；下划线由上面的通栏细线承担。 */
.collection-arrow { display: inline-block; transition: transform 220ms var(--ease-editorial), color 220ms ease; }
.collection-card .collection-arrow {
  display: inline-flex; align-items: baseline; gap: 10px; flex: none;
  color: var(--ink); font: 13px/1.3 var(--sans); letter-spacing: .01em; white-space: nowrap;
}
.collections-stage .collection-arrow { grid-column: 2; grid-row: 1; }
.collection-card .collection-arrow>i { font: normal 12px var(--sans); transition: translate 300ms var(--ease-editorial); }
.collection-card:hover .collection-arrow { color: var(--gold); transform: translate3d(0,-1px,0); }
.collection-card:focus-visible .collection-arrow { color: var(--gold); transform: translate3d(0,-1px,0); }
.collection-card:hover .collection-arrow>i,
.collection-card:focus-visible .collection-arrow>i { translate: 2px -2px; }

.faq-section { position: relative; z-index: 2; background: var(--ivory); gap: 12vw; padding-top: 112px; padding-bottom: 112px; }
.faq-list summary { font: 18px/1.6 var(--sans); color: var(--heading); padding: 21px 0; }
.faq-list summary>span { font: 18px var(--sans); }
.faq-list details p { font-size: 15px; }
.closing { background: #eee8dd; padding: 102px 24px 116px; border: 0; }
.closing h2 { font-size: clamp(30px,3vw,42px); }
.closing .eyebrow { margin-bottom: 18px; }

/* 反馈 P15：客户提供的认证标志，保留透明背景与原始横向比例。 */
.certification-band { background: var(--sand); padding-top: 72px; padding-bottom: 76px; }
.certification-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.certification-inner .eyebrow { letter-spacing: .2em; margin-bottom: 34px; }
/* 列宽按原始宽高比分配；整体收小后，IGI 再按视觉重量缩小，保持水平中心对齐。 */
.certification-marks { display: grid; align-items: center; gap: 56px; max-width: 820px; margin: 0 auto; }
.certification-mark { display: flex; align-items: center; justify-content: center; min-width: 0; }
.certification-mark>img { display: block; width: 85%; height: auto; }
.certification-mark>img.certification-logo-igi { width: 80%; }

/* 反馈 P16：页脚社媒入口。待确认态（span.is-pending）只是展示中的品牌行——
   无 pointer 光标、无下划线、颜色保持页脚正文的暖灰；URL 到位变成 a.social-channel 后才给 hover 反馈。
   P16 观感打磨：1440px 下页脚第 4 列约 355px，四项一行需要约 420px，挤不下会意外换行。
   改为有意的 2×2 网格（两列 max-content、左对齐），行距由 grid gap + 每项 44px 行高叠加，
   换行从此是版式而不是意外；≤1100px 列宽太窄时降级为单列纵向（见下方媒体查询）。 */
.footer-social {
  display: grid; grid-template-columns: repeat(2, max-content); justify-content: start;
  gap: 6px 34px; margin-top: 26px;
}
.social-channel {
  display: inline-flex; align-items: center; gap: 9px;
  /* 用 padding 把触控目标撑到 ≥44px 高，不放大字号。 */
  min-height: 44px; padding: 12px 2px; box-sizing: border-box;
  color: #c5b69f; /* 与 globals.css 页脚正文同色 */
  font: 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
}
.social-channel svg { flex: none; display: block; }
.social-channel.is-pending { cursor: default; }
/* 链接态：hover 转暖金，图标位移 ≤2px。 */
a.social-channel { transition: color var(--motion-control) var(--ease-editorial); }
a.social-channel svg { transition: transform var(--motion-control) var(--ease-editorial); }
a.social-channel:hover { color: var(--gold); }
a.social-channel:hover svg { transform: translate3d(1px, -1px, 0); }

@media (min-width: 768px) and (max-width: 1100px) {
  /* 反馈 P16 打磨：768–1100 页脚第 4 列约 174–259px，2×2 网格一行两项（约 220–234px）在窄端放不下，
     这一区间降级为单列纵向排列，避免网格项溢出列宽造成横向滚动。 */
  .footer-social { grid-template-columns: max-content; gap: 0; }
  .technology-gem { width: 36vw; left: 2%; }
  .technology-copy { max-width: 380px; }
  .technology-word { left: 8%; font-size: 20vw; }
  .collection-grid { gap: 23px; }
  .collection-label h3 { font-size: 17px; }
  /* 平板：左栏放不下标题，标题回到上方通栏，照片高度按「标题 + 文案」重新封顶，钉住时仍在一屏内。 */
  .collections-stage { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: center; row-gap: 34px; }
  .collections-stage .collection-grid { grid-column: 1; grid-row: 2; }
  .collections-stage .section-heading h2 { font-size: 34px; }
  .collections-stage .eyebrow { margin-bottom: 16px; }
  .collection-intro { max-width: none; margin-top: 12px; font-size: 17px; }
  .collections-stage { --stagger: 36px; }
  .collections-stage .collection-card .image-wrap>img { aspect-ratio: .9; max-height: max(240px, calc(100svh - 455px)); }
}
@media (max-width: 767px) {
  .editorial-home .hero { height: 94svh; min-height: 700px; }
  .hero-scroll.is-scrubbed { height: auto; }
  .hero-photograph img { object-position: 40% center; }
  .editorial-home .hero-copy { left: 28px; top: 31%; max-width: calc(100vw - 52px); }
  .editorial-home .hero-copy h1 { font-size: clamp(30px,8.4vw,53px); line-height: 1.55; margin-bottom: 26px; }
  .editorial-home .hero-copy .eyebrow { font-size: 9px; letter-spacing: .13em; margin-bottom: 27px; }
  .editorial-home .hero-copy>p:not(.eyebrow) { font-size: 13px; max-width: 310px; }
  .editorial-home .hero-actions { gap: 16px; flex-wrap: wrap; }
  .editorial-home .hero-actions .button { font-size: 13px; padding: 13px 17px; gap: 20px; }
  .editorial-home .hero-actions .text-link { font-size: 12px; }
  .editorial-home .scroll-cue { bottom: 32px; left: 28px; font-size: 10px; }
  .editorial-home .hero-caption { display: none; }
  .technology-scroll { height: auto; }
  .technology-stage { min-height: 0; padding: 70px 26px 72px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
  .technology-word { display: none; }
  .technology-gem {
    position: relative; order: 1; top: auto; left: auto;
    width: 220px; max-width: 62vw; margin: 0 auto 36px;
    transform: none;
  }
  .technology-gem .gem-cutout { transform: translateY(var(--image-drift,0px)); }
  .technology-copy { order: 2; max-width: 100%; margin: 0; text-align: center; opacity: 1; transform: none; }
  .technology-copy .eyebrow { font-size: 10px; margin-bottom: 22px; }
  .technology-copy h2 { font-size: 30px; line-height: 1.28; margin-bottom: 18px; }
  .technology-copy>p:not(.eyebrow) { font-size: 15px; max-width: 100%; margin-bottom: 18px; }
  .technology-copy .text-link { margin-top: 10px; }
    /* 反馈 S6：手机端取消长停驻——高度 auto、舞台不 sticky；--card-N 此时恒为 1，卡片静态单列。
     第二轮：网格层 --hold 位移也复位，确保无 scrub 时完全静止。
     第三轮：单列时把灵动错落全部清掉——margin-top、aspect-ratio 都回统一值，
     避免一列里突兀下沉或高矮不一。 */
  .collections-scroll { height: auto; }
  .collections-stage { position: static; height: auto; min-height: 0; padding: 50px var(--page-gutter) 72px; }
  .collections-stage .section-heading { transform: none; }
  .collections-stage .collection-card { opacity: 1; transform: none; }
  .collections-stage .collection-card:nth-child(even) { margin-top: 0; }
  .collections-stage { display: block; }
  .collections-stage .section-heading { margin-bottom: 34px; }
  .collections-stage .section-heading h2 { font-size: 32px; }
  .collections-stage .eyebrow { margin-bottom: 18px; }
  .collection-intro { max-width: none; margin-top: 14px; font-size: 17px; }
  .collections-stage .collection-card .image-wrap>img { aspect-ratio: 1.02; max-height: 480px; }
  .collections-stage .collection-label,
  .collections-stage .collection-card:nth-child(2) .collection-label { padding-top: 18px; }
  .collections-stage .collection-label h3 { font-size: 17px; }
  .collections-stage .image-wrap::after { inset: 10px; }
  .collection-grid { transform: none; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading>.text-link { margin-top: 7px; }
  .collection-grid { grid-template-columns: 1fr; gap: 37px; }
  .collection-card .image-wrap>img { aspect-ratio: 1.02; max-height: 480px; }
  .collection-label, .collection-card:nth-child(2) .collection-label { padding: 21px 0 0; }
  .collection-label h3 { font-size: 19px; }
  .collection-label>span { display: block; }
  .collection-card .collection-arrow { display: inline-flex; }
  .faq-section { padding-top: 65px; padding-bottom: 65px; gap: 30px; }
  .faq-list summary { font-size: 17px; }
  .closing { padding: 70px 24px 80px; }
  .closing h2 { font-size: 31px; }
  /* 手机端三个标志保持一行，按可用宽度等比缩小。 */
  .certification-band { padding: 56px 16px 60px; }
  .certification-inner .eyebrow { margin-bottom: 28px; }
  .certification-marks { gap: 12px; }
  /* 反馈 P16 手机端（打磨）：≤767px 时页脚第 4 列宽约 158px，两列网格放不下两项，
     改为单列纵向排列（每项一行、左对齐、44px 行高），像目录列表，不拥挤不溢出。 */
  .footer-social { grid-template-columns: max-content; gap: 0; margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal].reveal-pending { opacity: 1; translate: none; }
  .hero-photograph img, .editorial-home .hero-copy, [data-drift] img,
  .technology-word { transform: none!important; scale: 1!important; }
  .menu-dialog[open], .menu-dialog[open]::backdrop { animation: none; }
  .technology-gem { transform: none!important; }
  .technology-gem .gem-cutout { transform: none; }
  .technology-copy { opacity: 1!important; transform: none!important; }
  /* 反馈 S1-S4 新增动效：抬头底色、Logo 切换、链接淡入、菜单按钮变色一律瞬时完成。 */
  .site-header, .site-header .brand .brand-logo, .header-links, .header-account,
  .menu-button span, .menu-button small { transition: none; }
  /* 反馈 S6：停留场景降级——取消长停驻与卡片错落，内容直接就位（--card-N 此时恒为 1）。
     第二轮：网格层 --hold 位移同样复位。 */
  .collections-scroll.is-scrubbed { height: auto; }
  .collections-scroll.is-scrubbed .collections-stage { position: static; height: auto; min-height: 0; padding-top: 110px; padding-bottom: 120px; }
  .collections-stage .section-heading { transform: none!important; }
  .collections-stage .collection-card { opacity: 1!important; transform: none!important; }
  .collections-scroll.is-scrubbed .collection-grid { transform: none!important; }
  /* 反馈 P16：社媒链接 hover 位移瞬时完成。 */
  a.social-channel, a.social-channel svg { transition: none; }
}

/* Shared inner-page hierarchy: dense where decisions happen, airy where stories unfold. */
.page-title { padding-top: 74px; padding-bottom: 58px; }
.page-title h1 { font-size: clamp(32px, 3.2vw, 45px); }
.page-title>p:last-child:not(.eyebrow) { font-size: 16px; }
.collection-detail { min-height: 580px; padding: 44px var(--page-gutter) 70px; gap: 7vw; align-items: center; }
.collection-detail-copy { padding: 28px 0; }
.collection-detail-copy h1 { font: clamp(28px, 2.6vw, 38px)/1.3 var(--display); }
.collection-detail-copy h2 { font: italic 25px/1.5 var(--display); }
.collection-detail-copy p { max-width: 420px; }
.collection-detail>img { height: 530px; }
.story-split { background: var(--sand); }
.story-copy { padding: 64px 10%; }
.story-copy h2 { font-size: 35px; }
.timeline article h2 { font-size: 27px; }
.timeline .step-number { font-size: 13px; }
.shape-gallery span { font: 16px/1.4 var(--sans); }
.config-form>h1 { font-size: 32px; }
.config-image-label h2 { font-size: 26px; }
.step-nav button span { font: 13px var(--sans); }
.options strong { font: 20px var(--sans); }
.options.shapes span { font: 15px/1.5 var(--sans); }
.options.stacked strong { font-size: 18px; }
.options button { background: var(--paper); }
.options button.selected { background: #eee8dd; box-shadow: inset 0 0 0 1px #a89172; border-color: #a89172; }
.summary { background: var(--sand); }
.summary h3 { font: 20px var(--sans); }
.total strong { font-size: 20px; }
.callout { background: #eee8dd; border-left-color: #b29c7e; }
.notice { background: #635344; }
.review-product h2 { font-size: 27px; }
.admin-main h1 { font-size: 34px; }
/* 反馈：页脚品牌位从 44px 文字改为客户 SVG Logo 图片。
   桌面高约 60px（保持 700:463，宽约 91px）；与页脚第一列左对齐（grid 第一格默认 justify-self:start）。 */
.footer-brand { display: block; height: 60px; aspect-ratio: 700 / 463; align-self: start; }
.footer-brand>img { width: 100%; height: 100%; object-fit: contain; object-position: left center; margin: 0; }
footer { background: var(--dark); padding-top: 75px; }
.footer-top .eyebrow { color: #c4ad8a; }
/* 收尾打磨（可点区域）：页脚链接实测盒高约 21px，低于 44px 触控建议。
   竖向内边距 12px 把可点盒撑到约 45px；原 10px 的 margin-bottom 并入 padding，
   行与行的视觉间距略宽于从前（触控达标的必要代价），链接文字位置不变。 */
.footer-top>div>a { font-size: 13px; padding: 12px 0; margin-bottom: 0; }
.footer-bottom { font-size: 11px; color: #d1c0a7; }

/* ==================== Diamonds 选品页（/diamonds 一族） ====================
   范围：/diamonds 总览、/diamonds/[collection] 商品列表、/diamonds/configure 配置器入口。
   原则：选品场景信息密度可高于首页，但仍是同一套暖色编辑气质——
   细线分层、衬线标题、大字距小标签；不新增颜色与字体，过渡走已有 --motion-* / --ease-editorial。 */

/* —— /diamonds 总览：两格系列卡 + 六格钻形 —— */
/* 这里的 .collection-card 不在 .collections-stage 停留场景里：
   atelier 的透明度/位移规则都挂在 .collections-stage 作用域下，此处的卡片天然是最终态（opacity 1 / 无位移），
   只需放宽网格最大列宽，让两张卡在大屏不至于拉得过大。 */
.inner-page > .section .collection-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 560px));
}
/* 钻形画廊：globals 的 .shape-gallery 网格（6/3/2 列断点）与 img{aspect-ratio:1} 已就位，
   这里改为不可点击的 .shape-cell（div + img + span），补统一承载与标签排版。 */
.shape-cell { display: block; }
/* 六张钻形图同一主体尺寸：统一 1:1 框（globals 已给 aspect-ratio:1），
   object-fit:contain + 固定 18% 内边距，保证不同切工的视觉主体等大、居中，不一张大一张小。 */
.shape-cell>img {
  object-fit: contain; background: var(--paper);
  padding: 18%; box-sizing: border-box;
  border: 1px solid var(--line);
}
/* 标签沿用 globals 的 .shape-gallery span 排版，这里只对齐 atelier 的 display 字体节奏。 */
.shape-cell>span { display: block; padding-top: 13px; text-align: center; }
.shape-section .micro { max-width: 460px; margin-top: 34px; }

/* —— /diamonds/[collection]：SPU 商品网格 —— */
/* 桌面 3 列（1440/1280），细线 + 留白分层，无阴影无圆角。 */
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0 28px;
}
.product-card {
  display: flex; flex-direction: column;
  padding: 0 0 30px; margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
/* 每款 piece 有独立的 1254×1254 暖色示意插画；SVG 自带留白与画布底色，卡片完整展示。 */
.product-shot {
  overflow: hidden; background: var(--paper);
  border: 1px solid var(--line);
}
/* 商品图同时给了 width/height 属性（防 CLS），而这两个属性在 HTML 里是 height 的
   presentational hint——不写 height:auto 时它会盖过 aspect-ratio，把 1254px 的原图高度
   直接当成卡片高度（实测 389×1256 的长条）。height:auto 让 aspect-ratio 重新说了算。 */
.product-shot>img {
  aspect-ratio: 1; height: auto; object-fit: contain;
  padding: 0; box-sizing: border-box;
  transition: scale var(--motion-control) var(--ease-editorial);
}
/* hover 反馈克制：1.02 缩放，走已有 --motion-control（220ms）。 */
.product-card:hover .product-shot>img { scale: 1.02; }
.product-card:focus-visible .product-shot>img { scale: 1.02; }
.product-meta { padding-top: 22px; }
.product-meta h3 { font: 19px/1.4 var(--sans); color: var(--heading); margin-bottom: 9px; }
.product-meta p { font-size: 13px; line-height: 1.7; color: var(--muted); margin-bottom: 16px; }
/* 「Price upon request」：显眼但克制——11px 大写 + 宽字距，不像折扣标签。 */
.product-price {
  display: inline-block;
  font: 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
}

/* —— /diamonds/[collection]：成品横向条目 —— */
.product-list { border-top: 1px solid var(--line); }
.product-row {
  display: grid; grid-template-columns: 96px 1fr max-content 24px;
  align-items: center; gap: 26px;
  padding: 22px 0; min-height: 44px;
  border-bottom: 1px solid var(--line);
}
/* 行内小方图：与商品卡同一承载语言（纸面 + contain + 内边距），88–110px 区间内取 96px。 */
.product-row>img {
  width: 96px; height: 96px; aspect-ratio: 1;
  object-fit: contain; background: var(--paper);
  padding: 12px; box-sizing: border-box;
  border: 1px solid var(--line);
}
.product-row h3 { font: 18px/1.4 var(--sans); color: var(--heading); margin-bottom: 6px; }
.product-row p { font-size: 13px; line-height: 1.65; color: var(--muted); margin-bottom: 0; max-width: 520px; }
/* 右侧形式标签（Ring / Pendant…）：与 .product-price 同一克制语言。 */
.product-form {
  font: 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.product-arrow {
  font: 16px var(--sans); color: var(--gold);
  transition: transform var(--motion-control) var(--ease-editorial), color var(--motion-control) ease;
}
/* hover 箭头位移 ≤4px。 */
.product-row:hover .product-arrow { transform: translate3d(3px, -3px, 0); color: var(--heading); }
.product-row:focus-visible .product-arrow { transform: translate3d(3px, -3px, 0); color: var(--heading); }
.jewellery-section .micro { max-width: 460px; margin-top: 30px; }

/* —— /diamonds/[collection]：收尾轻声 CTA —— */
/* var(--sand) 底、居中，节奏呼应首页 .closing（大留白 + eyebrow + 衬线题），
   但用更浅的 sand 与更紧的留白，保持「内页收尾」而非「首页章节」。 */
.quote-section {
  background: var(--sand);
  padding-top: 84px; padding-bottom: 92px;
  text-align: center;
}
.quote-section .eyebrow { margin-bottom: 20px; }
.quote-section h2 { font-size: clamp(28px, 2.8vw, 38px); margin-bottom: 18px; }
.quote-section>p:not(.eyebrow) { max-width: 440px; margin: 0 auto 34px; font-size: 15px; }

/* —— /diamonds/configure：配置器入口在内页语境下的衔接 —— */
/* globals 的 .config-layout 两列 + sticky visual 已就位；这里收敛与 .page-title 的垂直衔接，
   并让 sticky 偏移对齐 76px 固定抬头（globals 写的是旧抬头 112px）。 */
.inner-page .config-layout { padding-top: 8px; }
.inner-page .config-visual { top: 108px; }
/* 「STEP 1 OF 4 · YOUR PRODUCT」进度提示：克制处理——
   字距略收、金色，底部加 1px 细线与正文拉开节奏，不做成步骤条。 */
.config-form>.eyebrow {
  color: var(--gold); letter-spacing: .22em;
  padding-bottom: 16px; margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

/* ==================== 配置器 / 订单复核（/diamonds/configure + /checkout） ====================
   反馈 P3 / P4：「商品选定之后再选规格，规格选完就成为可交付的产品（SKU）」。
   视觉原则：像选电脑一样清楚——四项规格一眼可辨为一组可选项；
   选中态克制（细边线 + 暖色描边 + 极轻底色，无粗边框、无投影、无胶囊、无勾选图标）；
   密度允许高于首页，但仍是同一套暖色编辑气质。
   本区块覆盖 globals.css 同名旧原型规则；只作用于配置器与复核页语境，
   不影响订单列表 / 后台等其它使用 .summary 的页面。 */

/* —— 页眉带：CONFIGURE + 原型提示 —— */
.inner-page .config-heading {
  padding: 34px var(--page-gutter) 30px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
}
.config-heading .eyebrow { margin-bottom: 0; color: var(--gold); letter-spacing: .24em; }
.prototype-note {
  font: 10px/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}

/* —— 整体两栏：左预览右表单 —— */
.inner-page .config-layout {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(48px, 6vw, 96px);
  padding: 0 var(--page-gutter) 110px;
  align-items: start;
}

/* —— 左栏：sticky 成品预览 —— */
/* 固定抬头 76px，sticky top 给到 108px：抬头之下再留 32px 呼吸位，不被压住。 */
.inner-page .config-visual { position: sticky; top: 108px; }
/* 1:1 显示所选 piece 的示意图；画布自带留白，不再额外缩小主体。 */
.config-visual>img {
  width: 100%; aspect-ratio: 1; max-height: none;
  object-fit: contain; background: var(--paper);
  padding: 0; box-sizing: border-box;
  border: 1px solid var(--line);
}
/* 图下标签：左钻形名（Sinhala MN）、右「1.0 ct · Ring」小字，基线对齐、细线分隔上下。 */
.config-image-label {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  margin-top: 0; padding: 18px 0 16px;
  border-bottom: 1px solid var(--line);
}
.config-image-label h2 {
  font: 26px/1.25 var(--display); color: var(--heading);
  letter-spacing: -.01em; margin: 0;
}
.config-image-label>span {
  font: 12px/1.5 var(--sans); letter-spacing: .1em;
  color: var(--muted); white-space: nowrap;
}
.config-visual>.micro { margin: 16px 0 0; max-width: 380px; }
/* 「Price upon request / Personal quotation」：与 .product-price 同一克制语言——
   小号大写 + 宽字距 + 金色，不做成价格签、不用红色。 */
.config-visual-price {
  margin: 22px 0 0; padding-top: 18px;
  border-top: 1px solid var(--line);
  font: 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
}

/* —— 右栏：表单头部 —— */
.config-form>h1 {
  font: clamp(26px, 2.4vw, 34px)/1.3 var(--display);
  color: var(--heading); letter-spacing: -.01em;
  margin: 0 0 14px;
}
.config-intro { font-size: 14px; line-height: 1.8; max-width: 520px; margin-bottom: 46px; }

/* —— 规格分组 fieldset：清掉浏览器默认边框与内边距，组间距统一 48px（40–56 区间中值） —— */
.config-step {
  border: 0; padding: 0; margin: 0 0 48px;
  min-inline-size: 0; /* 防止 fieldset 默认 min-width 撑出横向滚动 */
}
.config-step:last-of-type { margin-bottom: 0; }
/* legend：序号金色 + 名称 display 大写小字（13px），
   legend 默认 padding 也清掉，底部留白交给 margin。 */
.config-step>legend {
  padding: 0; margin: 0 0 18px;
  font: 13px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--heading);
}
.config-step>legend>span {
  color: var(--gold); margin-right: 10px;
  font-family: var(--sans); font-size: 12px; letter-spacing: .05em;
}

/* —— 选项按钮共性：细线 + 纸面底，选中 = 暖金描边双线 + 极轻暖底 —— */
/* 底色沿用文件中已出现的 #eee8dd（globals 覆盖层与 .callout 同款暖米），不引入新颜色。 */
.config-form .options { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.config-form .options button {
  border: 1px solid var(--line); border-radius: 0;
  background: var(--paper); color: var(--ink);
  text-align: left; padding: 16px 18px; min-height: 44px;
  transition: border-color var(--motion-control) var(--ease-editorial),
    background-color var(--motion-control) var(--ease-editorial),
    box-shadow var(--motion-control) var(--ease-editorial);
}
.config-form .options button:hover { border-color: var(--gold); }
/* 选中态：1px 金边 + inset 1px 金线（双线铭牌感）+ 极轻暖底；无投影、无图标。 */
.config-form .options button.selected,
.config-form .options button[aria-pressed="true"] {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold);
  background: #eee8dd;
}

/* ① 钻形：桌面 3 列 × 2 行，每格 1:1 纸面框 + contain 图 + 下方名称。 */
.config-form .options.shapes { grid-template-columns: repeat(3, 1fr); gap: 14px; }
.config-form .options.shapes button { padding: 0; overflow: hidden; }
.config-form .options.shapes img {
  width: 100%; aspect-ratio: 1; object-fit: contain;
  padding: 16%; box-sizing: border-box;
  border-bottom: 1px solid var(--line);
  transition: scale var(--motion-control) var(--ease-editorial);
}
.config-form .options.shapes button:hover img { scale: 1.03; }
.config-form .options.shapes span {
  display: block; padding: 12px 6px 13px;
  font: 13px/1.4 var(--sans); letter-spacing: .02em;
  color: var(--heading); text-align: center;
}
.config-form .options.shapes button.selected span,
.config-form .options.shapes button[aria-pressed="true"] span { color: var(--heading); }

/* ② 大小：桌面 2 列，最后一个（Above 2.0 ct）占满整行；strong 规格名 + span 一句说明。 */
.config-form .options.sizes { grid-template-columns: 1fr 1fr; gap: 12px; }
.config-form .options.sizes button:last-child:nth-child(odd) { grid-column: 1 / -1; }
.config-form .options strong {
  display: block; font: 18px/1.3 var(--sans); color: var(--heading);
}
.config-form .options button>span {
  display: block; font-size: 12px; line-height: 1.6;
  color: var(--muted); margin-top: 5px;
}

/* ③ 形式 / ④ 证书：横向按钮，左 strong 右 span；说明文字右对齐、限宽不挤名称。 */
.config-form .options.stacked { grid-template-columns: 1fr; gap: 10px; }
.config-form .options.stacked button {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 56px; padding: 13px 18px;
}
.config-form .options.stacked strong { font-size: 16px; }
.config-form .options.stacked button>span {
  max-width: 55%; margin: 0; text-align: right;
}

/* —— 实时汇总 .config-summary：页面核心反馈 —— */
/* sand 底 + 上方 1px 金线收头，与规格区拉开层级但克制。 */
.config-summary {
  margin-top: 52px; padding: 30px 30px 28px;
  background: var(--sand);
  border-top: 1px solid var(--gold);
}
.config-summary .eyebrow { color: var(--gold); letter-spacing: .2em; margin-bottom: 12px; }
.config-summary h3 {
  font: 21px/1.35 var(--sans); color: var(--heading);
  margin: 0 0 22px; padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
/* dl 每行左右对齐、细线分隔。 */
.config-summary dl { margin: 0; }
.config-summary dl>div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 9px 0; margin: 0;
  border-bottom: 1px solid rgba(117, 107, 96, .16);
  font-size: 13px; line-height: 1.6;
}
.config-summary dl>div:last-child { border-bottom: 0; }
.config-summary dt { color: var(--muted); min-width: 0; }
.config-summary dd { margin: 0; text-align: right; color: var(--ink); }
/* 产品编号「铭牌」：sans + 宽字距 + 深色，稍小一号，等宽数字。 */
.sku-code {
  font: 11px/1.6 var(--sans); letter-spacing: .12em;
  color: var(--dark); font-variant-numeric: tabular-nums;
}
/* 合计行：金额位显示 Price upon request / Personal quotation，走衬线暖色，不红不折扣。 */
.config-summary .total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  margin-top: 16px; padding-top: 18px;
  border-top: 1px solid var(--gold);
}
.config-summary .total>span {
  font: 12px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--heading);
}
.config-summary .total>strong {
  font: 18px/1.3 var(--sans); color: var(--muted); letter-spacing: .04em;
}
.config-summary>.micro { margin: 18px 0 0; font-size: 12px; max-width: 420px; }

/* —— 底部动作行 —— */
.config-actions {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 36px; padding-top: 26px;
  border-top: 1px solid var(--line);
}
.config-actions .button { min-height: 50px; }

/* ==================== 订单复核（/checkout） ==================== */
/* 桌面两栏：左信息右汇总，右侧 aside sticky（对齐 76px 抬头 + 呼吸位）。 */
.checkout-layout {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
  padding-bottom: 110px;
}
.checkout-layout>aside { position: sticky; top: 108px; }

/* review-card：细线分层，不用卡片投影。 */
.review-card {
  border-top: 1px solid var(--line);
  padding: 30px 0 32px; margin: 0;
}
.checkout-layout .review-card:first-child { border-top: 0; padding-top: 6px; }
.review-card .section-heading { margin-bottom: 24px; align-items: baseline; }
.review-card .section-heading h2 { font: 22px/1.3 var(--display); color: var(--heading); }

/* 商品行：左 1:1 图（同一承载语言）右名称 / 系列 / 产品编号。 */
.review-product { display: flex; align-items: center; gap: 28px; }
.review-product>img {
  width: 132px; aspect-ratio: 1; flex: none;
  object-fit: contain; background: var(--paper);
  padding: 14px; box-sizing: border-box;
  border: 1px solid var(--line);
}
.review-product h2 { font: 24px/1.3 var(--display); color: var(--heading); margin: 0 0 6px; }
.review-product p { font-size: 13px; margin: 0 0 6px; }
/* .order-id 与 .sku-code 同一「铭牌」语言。 */
.order-id {
  font: 11px/1.6 var(--sans); letter-spacing: .12em;
  color: var(--dark); font-variant-numeric: tabular-nums;
}

/* 规格列表：与汇总 dl 同一左右对齐 + 细线语言。 */
.review-list { margin: 0; }
.review-list>div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(117, 107, 96, .16);
  font-size: 14px; line-height: 1.6;
}
.review-list>div:last-child { border-bottom: 0; }
.review-list dt { color: var(--muted); }
.review-list dd { margin: 0; text-align: right; color: var(--ink); }

/* 「What happens next」声明卡：同细线分层，标题小一号、正文收敛。 */
.review-card.declaration h3 { font: 18px/1.4 var(--sans); color: var(--heading); margin: 0 0 10px; }
.review-card.declaration p { font-size: 14px; line-height: 1.8; max-width: 520px; margin-bottom: 0; }

/* 右侧订单汇总：与配置器汇总同一语言。 */
.checkout-layout .summary {
  padding: 30px 30px 28px;
  background: var(--sand);
  border-top: 1px solid var(--gold);
}
.checkout-layout .summary .eyebrow { color: var(--gold); letter-spacing: .2em; margin-bottom: 12px; }
.checkout-layout .summary h3 {
  font: 21px/1.35 var(--sans); color: var(--heading);
  margin: 0 0 20px; padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.checkout-layout .summary dl { margin: 0; }
.checkout-layout .summary dl>div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 9px 0; margin: 0;
  border-bottom: 1px solid rgba(117, 107, 96, .16);
  font-size: 13px; line-height: 1.6;
}
.checkout-layout .summary dl>div:last-child { border-bottom: 0; }
.checkout-layout .summary dt { color: var(--muted); min-width: 0; }
.checkout-layout .summary dd { margin: 0; text-align: right; color: var(--ink); }
.checkout-layout .summary .total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  margin-top: 16px; padding-top: 18px;
  border-top: 1px solid var(--gold);
}
.checkout-layout .summary .total>span {
  font: 12px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--heading);
}
.checkout-layout .summary .total>strong {
  font: 18px/1.3 var(--sans); color: var(--muted); letter-spacing: .04em;
}
.checkout-layout .summary>.micro { margin: 18px 0 0; font-size: 12px; }
.checkout-layout aside .button.full {
  display: flex; width: 100%; margin-top: 20px;
}

/* ==================== 结账表单 / 订单确认（反馈 P5 / P6 / P7） ====================
   范围：/checkout 新增的 .checkout-form（联系信息 + 付款方式 + 声明 + 提交行）
         与 /order/success 订单确认页（.success-head / .status-pill / .next-step / .success-actions）。
   本区块覆盖 globals.css 旧原型的同名规则（.fields / .field / .field-error / .check /
   .callout / .success / .success-mark / .next-step / .status-pill），
   语言与配置器同一套：细线分层、暖纸面、金色选中态、无圆角无投影。
   不新增颜色与字体；过渡走已有 --motion-control / --ease-editorial。 */

/* —— 结账表单整体：与上方复核卡保持同一细线分层节奏 —— */
.checkout-form {
  margin-top: 4px;
  border-top: 1px solid var(--line);
  padding-top: 38px;
}
/* 三个 fieldset 直接复用配置器 .config-step / legend 序号样式（上方区块已定义）；
   这里只把表单内的组距与上方 .review-card 的节奏对齐。 */
.checkout-form .config-step { margin-bottom: 46px; }
.checkout-form .config-step:last-of-type { margin-bottom: 0; }
.checkout-form .config-step>.micro { margin: 20px 0 0; max-width: 480px; }

/* —— ① Your details：两列字段格（电话占满一行），≤767px 单列 —— */
/* 覆盖 globals 的 .fields（旧原型两列 gap 0 20px、字段上下 margin 22px）。 */
.checkout-form .fields {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6px 28px; margin: 0;
}
/* 电话一行占满：姓名 / 邮箱并排，电话独占第二行，移动端自然回落单列。 */
.checkout-form .field:last-child { grid-column: 1 / -1; }
.checkout-form .field {
  display: flex; flex-direction: column; gap: 9px;
  margin: 14px 0 0;
  font: 12px/1.5 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
/* 输入框：暖色纸面 + 1px 细线 + 无圆角；focus 描边转金（无蓝 outline、无阴影）。 */
.checkout-form .field input {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 0;
  font: 15px/1.5 var(--sans); letter-spacing: .02em; color: var(--ink);
  transition: border-color var(--motion-control) var(--ease-editorial),
    background-color var(--motion-control) var(--ease-editorial);
}
.checkout-form .field input::placeholder { color: var(--muted); opacity: .55; }
.checkout-form .field input:hover { border-color: var(--gold); }
/* focus：描边转金，无蓝色 outline、无阴影。
   键盘 focus-visible 时 globals 的全站规则（2px var(--gold) outline + 5px offset）自然生效，
   与按钮 / 链接的键盘焦点一致，这里不覆盖也不重复。 */
.checkout-form .field input:focus {
  border-color: var(--gold);
  background: var(--paper);
}
/* 校验失败：暖红描边（var(--error) 来自 globals :root），不红底不图标。 */
.checkout-form .field input[aria-invalid="true"] { border-color: var(--error); }
/* select 与 input 同一外壳：统一高度/边框，原生箭头替换为居中的自绘 chevron（截图里箭头贴顶偏歪）。 */
.checkout-form .field select {
  width: 100%; min-height: 48px; padding: 12px 40px 12px 14px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23736553' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px;
  border: 1px solid var(--line); border-radius: 0;
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  font: 15px/1.5 var(--sans); letter-spacing: .02em; color: var(--ink);
  transition: border-color var(--motion-control) var(--ease-editorial),
    background-color var(--motion-control) var(--ease-editorial);
}
.checkout-form .field select:hover { border-color: var(--gold); }
.checkout-form .field select:focus { border-color: var(--gold); background-color: var(--paper); }
.checkout-form .field select[aria-invalid="true"] { border-color: var(--error); }

/* —— 错误信息：紧贴字段下方，暖红小字 —— */
/* 覆盖 globals 的 .field-error（13px 已有，这里补齐行高与间距节奏）。 */
.checkout-form .field-error {
  display: block; margin-top: 2px;
  font: 12px/1.55 var(--sans); letter-spacing: .02em; text-transform: none;
  color: var(--error);
}
/* 声明区的错误条独立于字段，与勾选行拉开一点距离。 */
.checkout-form .config-step>.field-error { margin-top: 10px; }

/* —— ② Payment method：三个 .options.stacked 按钮，名称 + 一句说明 —— */
/* 配置器的选项按钮规则都挂在 .config-form 作用域下，结账表单不在其中，
   这里把同一套基础语言（细线纸面按钮 + stacked 横排 + 选中双线铭牌）在 .checkout-form 下重述一次，
   保证选中态与配置器逐像素一致：1px 金边 + inset 1px 金线 + #eee8dd 极轻暖底。 */
.checkout-form .options { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.checkout-form .options button {
  border: 1px solid var(--line); border-radius: 0;
  background: var(--paper); color: var(--ink);
  text-align: left; padding: 15px 20px; min-height: 64px;
  transition: border-color var(--motion-control) var(--ease-editorial),
    background-color var(--motion-control) var(--ease-editorial),
    box-shadow var(--motion-control) var(--ease-editorial);
}
.checkout-form .options button:hover { border-color: var(--gold); }
.checkout-form .options button.selected,
.checkout-form .options button[aria-pressed="true"] {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold);
  background: #eee8dd;
}
.checkout-form .options strong {
  display: block; font: 16px/1.3 var(--sans); color: var(--heading);
}
.checkout-form .options button>span {
  display: block; font-size: 12px; line-height: 1.6;
  color: var(--muted); margin-top: 5px;
}
/* stacked 横排：左名称右说明；说明右对齐、限宽放宽（付款说明比配置器长），避免两行半。 */
.checkout-form .options.stacked { grid-template-columns: 1fr; }
.checkout-form .payment-options button {
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
}
.checkout-form .payment-options strong { flex: none; }
.checkout-form .payment-options button>span {
  /* 桌面：名称 flex:none，说明吃掉全部剩余宽度并右对齐——
     名称短（Bank transfer），说明最长约 120 字符也能从容排成两行，不会两行半；
     line-height 收紧到 1.55，两行排满。 */
  flex: 1; margin: 0; text-align: right;
  line-height: 1.55; font-size: 12.5px;
}
/* 银行转账提示条：安静的提示，不是警告——sand 底 + 左侧金线 + 与付款按钮同一圆角零。 */
/* 覆盖 globals 的 .callout（2px 金线偏醒目，这里收为 1px 并加大留白）。 */
.checkout-form .callout {
  margin: 18px 0 0; padding: 18px 22px;
  background: var(--sand); border-left: 1px solid var(--gold);
  font-size: 13px; line-height: 1.75; color: var(--ink);
  max-width: 560px;
}

/* —— ③ Declaration：暖色复选框 + 14px 可读文字 —— */
/* 覆盖 globals 的 .check（20px 复选框 + 25px 上下距），对齐配置器密度。 */
.checkout-form .check {
  display: flex; align-items: flex-start; gap: 14px;
  margin: 4px 0 0;
  font-size: 14px; line-height: 1.7; color: var(--ink);
  cursor: pointer;
}
.checkout-form .check input {
  accent-color: var(--gold);
  width: 19px; height: 19px; flex: none;
  margin: 2px 0 0; /* 与首行文字基线对齐 */
}

/* —— 提交行 .checkout-submit：左 TOTAL 右主按钮，桌面一行两端 —— */
.checkout-submit {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  margin-top: 48px; padding-top: 28px;
  border-top: 1px solid var(--gold); /* 与汇总卡 .total 同一根金线收头 */
}
.checkout-submit .eyebrow { margin-bottom: 8px; color: var(--gold); letter-spacing: .22em; }
/* 金额位：「Price upon request」衬线暖色大字，不红不折扣，与配置器合计行同一语言。 */
.checkout-total {
  margin: 0;
  font: 22px/1.3 var(--sans); letter-spacing: .03em;
  color: var(--muted);
}
.checkout-submit .button { flex: none; min-height: 52px; }
/* 提交行下的原型说明：与上方 micro 节奏一致，居中不偏。 */
.checkout-form>.micro { margin: 22px 0 0; max-width: 520px; }

/* ==================== 订单确认页（/order/success） ====================
   整页比结账页更安静：居中页眉、细线圆环对勾、三条「接下来」说明块用细线分层。 */

/* —— 页眉：居中 + 细线圆环对勾 —— */
.success-head { text-align: center; padding-bottom: 46px; }
.success-head .eyebrow { margin-bottom: 18px; }
.success-head h1 { margin-left: auto; margin-right: auto; max-width: 640px; }
.success-head>p:last-child:not(.eyebrow) { max-width: 520px; margin-left: auto; margin-right: auto; }
/* 覆盖 globals 的 .success-mark：65px 金框圆环已接近目标，
   这里收小一点、线条更细、对勾更小，克制不大面积铺色。 */
.success-mark {
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; margin: 0 auto 30px;
  border: 1px solid var(--gold); border-radius: 50%;
  font-size: 20px; line-height: 1; color: var(--gold);
}

/* —— 内容栏：比结账页更窄，居中带来仪式感 —— */
/* 覆盖 globals 的 .success（max-width 1000px），收到 760px——单栏阅读节奏。 */
.success { max-width: 760px; margin: 0 auto; padding-bottom: 110px; }
/* 确认页复用 .review-card 细线分层；首卡去掉顶线，与页眉拉开。 */
.success .review-card { border-top: 1px solid var(--line); }
.success .review-card:first-child { border-top: 0; padding-top: 0; }
.success .review-card h2 {
  font: 22px/1.3 var(--display); color: var(--heading);
  margin: 0 0 22px;
}
/* 「Your diamond」卡：商品行在上、规格列表在下，中间细线分隔。 */
.success .review-product { margin-bottom: 26px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.success .review-product h3 { font: 20px/1.35 var(--sans); color: var(--heading); margin: 0 0 6px; }
.success .review-product p { font-size: 13px; margin: 0 0 6px; }

/* 状态小丸 .status-pill：小、克制、暖色——细线框 + 金字，不填满色块。 */
/* 覆盖 globals 的 .status-pill（sand 实底块），改为线框铭牌。 */
.status-pill {
  display: inline-block; padding: 6px 13px;
  border: 1px solid var(--gold); background: transparent;
  font: 10px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); white-space: nowrap;
}

/* —— 「What happens next」三条说明：细线分层，不是步骤条 —— */
/* 覆盖 globals 的 .next-step（sand 实底大卡 + 居中限宽），
   改为左对齐纵向条目：序号感交给标题，条与条之间一根细线。 */
.next-step {
  background: transparent; max-width: none;
  margin: 0; padding: 20px 0 22px;
  border-bottom: 1px solid rgba(117, 107, 96, .16);
}
.next-step:first-of-type { padding-top: 4px; }
.next-step:last-of-type { border-bottom: 0; padding-bottom: 4px; }
.next-step h3 {
  font: 17px/1.4 var(--sans); color: var(--heading);
  margin: 0 0 7px;
}
.next-step p { font-size: 14px; line-height: 1.8; color: var(--ink); margin: 0; max-width: 560px; }

/* —— 收尾动作行 —— */
.success-actions {
  display: flex; align-items: center; gap: 34px;
  margin-top: 44px; padding-top: 30px;
  border-top: 1px solid var(--line);
}
.success-actions .text-link { font-size: 13px; }

/* —— 确认邮件预览 + Invoice 附件入口（P6） ——
   信封式容器：纸面底色 + 1px 暖色边线 + 圆角，一眼可读「这是一封信」。
   容器内左侧暖色竖线把信头（Subject / Attachment）与正文轻轻分开。 */
.email-preview {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 30px 30px;
  margin-bottom: 26px;
  position: relative;
}
/* 左侧暖色竖线：从信头顶部到正文底部，极轻层次。 */
.email-preview::before {
  content: '';
  position: absolute; left: 0; top: 28px; bottom: 30px;
  width: 2px;
  background: var(--gold);
  opacity: .28;
  border-radius: 0 1px 1px 0;
}

/* 信头两行：标签 + 值，行间 1px 极浅分隔线。 */
.email-preview-line {
  display: flex; align-items: baseline; gap: 14px;
  margin: 0; padding: 10px 0 10px 18px;
  font-size: 14px; line-height: 1.6;
  color: var(--dark);
  border-bottom: 1px solid rgba(117, 107, 96, .1);
  overflow-wrap: break-word; /* 长订单号 / 文件名不溢出 */
}
.email-preview-line:last-of-type { border-bottom: 0; }
.email-label {
  flex: none; min-width: 72px;
  font: 10px/1.5 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}

/* 正文：问候与结尾用衬线带温度；section 标题用 display 大写宽字距。 */
.email-body { padding: 22px 0 0 18px; }
.email-greeting, .email-closing {
  font-family: var(--sans); font-size: 15px; line-height: 1.75;
  color: var(--ink); margin: 0;
}
.email-greeting { margin-bottom: 26px; }
.email-closing { margin-top: 26px; }
.email-section { margin-bottom: 24px; }
.email-section:last-of-type { margin-bottom: 0; }
.email-section h3 {
  font: 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--heading); margin: 0 0 12px;
}
.email-section p {
  font-size: 13px; line-height: 1.75; color: var(--muted);
  margin: 0 0 4px;
}
.email-section p:last-child { margin-bottom: 0; }

/* 附件动作行：按钮 + 文件名说明，桌面一行两端对齐。 */
.invoice-actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  margin-bottom: 18px;
}
.invoice-actions .secondary {
  min-height: 44px;
  transition: background var(--motion-control) var(--ease-editorial);
}
.invoice-actions .micro { margin: 0; }

/* 原型说明：安静、不警告。 */
.success .review-card>.micro:last-child {
  margin: 0; max-width: 520px;
  font-size: 12px; line-height: 1.7; color: var(--muted);
}

/* —— 结账 / 确认页断点 —— */
/* 768–1100：表单两列保持；左栏此时约 440–560px，横排会把说明挤成三行以上，
   付款按钮提前降级为「名称在上、说明在下」的纵向排（与 ≤767 同一语言），说明一行至多两行。
   确认页宽度同步收紧。 */
@media (min-width: 768px) and (max-width: 1100px) {
  .checkout-form .payment-options button { display: block; }
  .checkout-form .payment-options button>span {
    display: block; margin-top: 5px; text-align: left;
  }
  .success { max-width: 680px; }
}
/* ≤767：表单单列、按钮全宽、确认页节奏收紧，触控目标 ≥44px，无横向滚动。 */
@media (max-width: 767px) {
  .checkout-form { padding-top: 30px; }
  .checkout-form .config-step { margin-bottom: 40px; }
  /* 字段单列：电话的 grid-column 归位，一行一个字段。 */
  .checkout-form .fields { grid-template-columns: 1fr; gap: 0; }
  .checkout-form .field:last-child { grid-column: auto; }
  .checkout-form .field { margin-top: 16px; }
  .checkout-form .field input { min-height: 48px; font-size: 16px; /* iOS 防自动放大 */ }
  /* 付款按钮：名称在上说明在下（配置器 ≤767 stacked 规则只作用于 .config-form，
     这里在结账作用域重述同一降级），说明不限宽、左对齐，三行说明也排得开。 */
  .checkout-form .payment-options button {
    display: block; min-height: 44px; padding: 14px 16px;
  }
  .checkout-form .payment-options button>span {
    display: block; max-width: none; margin-top: 5px; text-align: left; font-size: 12px;
  }
  .checkout-form .callout { padding: 15px 16px; font-size: 13px; }
  /* 提交行：纵向，主按钮全宽。 */
  .checkout-submit {
    flex-direction: column; align-items: stretch; gap: 18px;
    margin-top: 40px; padding-top: 24px;
  }
  .checkout-submit .button { width: 100%; justify-content: space-between; min-height: 52px; }
  /* 确认页：页眉与内容同步收窄，动作行纵向全宽按钮。 */
  .success-head { padding-bottom: 36px; }
  .success-mark { width: 52px; height: 52px; margin-bottom: 24px; font-size: 18px; }
  .success { padding-bottom: 72px; }
  .success .review-card h2 { font-size: 20px; }
  .success .review-product { margin-bottom: 20px; padding-bottom: 20px; }
  .next-step { padding: 16px 0 18px; }
  .success-actions {
    flex-direction: column; align-items: stretch; gap: 14px;
    margin-top: 34px; padding-top: 24px;
  }
  .success-actions .button { width: 100%; justify-content: space-between; }
  .success-actions .text-link { align-self: center; min-height: 44px; display: inline-flex; align-items: center; }
  /* 确认邮件预览：内边距收紧，信头标签在上值在下，动作行纵向按钮全宽。 */
  .email-preview { padding: 20px 20px 22px; border-radius: 12px; }
  .email-preview::before { top: 20px; bottom: 22px; }
  .email-preview-line {
    flex-direction: column; align-items: flex-start; gap: 2px;
    padding: 10px 0 10px 14px;
  }
  .email-label { min-width: 0; }
  .email-body { padding: 18px 0 0 14px; }
  .email-greeting { margin-bottom: 20px; }
  .email-closing { margin-top: 20px; }
  .email-section { margin-bottom: 20px; }
  .invoice-actions {
    flex-direction: column; align-items: stretch; gap: 12px;
  }
  .invoice-actions .secondary { width: 100%; }
  .invoice-actions .micro { text-align: center; }
}
/* 减少动效：本区块新增的输入框 / 付款按钮 / 发票按钮过渡全部关闭。 */
@media (prefers-reduced-motion: reduce) {
  .checkout-form .field input,
  .checkout-form .options button,
  .invoice-actions .secondary { transition: none; }
}

/* —— 配置器 / 订单复核断点 —— */
/* 768–1100：两栏保持，列距与内边距收紧，形状格仍 3 列。 */
@media (min-width: 768px) and (max-width: 1100px) {
  .inner-page .config-layout { gap: 40px; }
  .checkout-layout { gap: 40px; }
  .config-summary, .checkout-layout .summary { padding: 24px 22px; }
  .config-form .options.shapes { gap: 10px; }
  .config-form .options.stacked button>span { max-width: 48%; }
  .review-product>img { width: 112px; }
  .review-product h2 { font-size: 21px; }
}
/* ≤767：单栏——预览取消 sticky 并排在规格之前；形状格 2 列
   （3 列在 390px 宽度下每格约 105px、内边距后主体仅约 72px，六种切工差异难辨；
   2 列每格约 160px，主体约 110px，可读且触控面充足）。
   stacked 按钮改上下两行（名称在上说明在下），触控目标 ≥44px。 */
@media (max-width: 767px) {
  .inner-page .config-heading { padding: 26px 24px 22px; }
  .inner-page .config-layout {
    display: block; padding: 0 24px 72px;
  }
  .inner-page .config-visual { position: static; margin-bottom: 44px; }
  .config-visual>img { padding: 0; }
  .config-image-label h2 { font-size: 22px; }
  .config-form>h1 { font-size: 27px; }
  .config-intro { font-size: 13px; margin-bottom: 38px; }
  .config-step { margin-bottom: 42px; }
  .config-form .options.shapes { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .config-form .options.shapes img { padding: 14%; }
  .config-form .options.sizes { grid-template-columns: 1fr; gap: 10px; }
  .config-form .options.sizes button:last-child { grid-column: auto; }
  .config-form .options.sizes button { min-height: 44px; }
  /* stacked：上下两行，说明左对齐不再限宽。 */
  .config-form .options.stacked button {
    display: block; padding: 14px 16px; min-height: 44px;
  }
  .config-form .options.stacked button>span {
    display: block; max-width: none; margin-top: 5px; text-align: left;
  }
  .config-summary { margin-top: 44px; padding: 24px 20px; }
  .config-actions {
    flex-direction: column; align-items: stretch; gap: 14px;
  }
  .config-actions .text-link { align-self: center; order: 2; }
  .config-actions .button { order: 1; width: 100%; justify-content: space-between; }
  /* 订单复核：单栏，汇总跟随内容流不再 sticky。 */
  .checkout-layout { display: block; padding-bottom: 72px; }
  .checkout-layout>aside { position: static; margin-top: 40px; }
  .review-card { padding: 24px 0 26px; }
  .review-product { gap: 20px; }
  .review-product>img { width: 104px; padding: 12px; }
  .review-product h2 { font-size: 20px; }
  .review-card .section-heading { margin-bottom: 18px; }
}
/* 减少动效：配置器与复核页新增的 hover / 过渡全部关闭。 */
@media (prefers-reduced-motion: reduce) {
  .config-form .options button,
  .config-form .options.shapes img { transition: none; }
  .config-form .options.shapes button:hover img { scale: 1; }
}

/* —— Diamonds 选品页断点 —— */
/* 1024：product-grid 仍 3 列，收紧列距与卡片下距。 */
@media (min-width: 768px) and (max-width: 1100px) {
  .product-grid { gap: 0 20px; }
  .product-card { padding-bottom: 24px; margin-bottom: 28px; }
  .product-meta h3 { font-size: 17px; }
  .product-row { grid-template-columns: 88px 1fr max-content 20px; gap: 18px; }
  .product-row>img { width: 88px; height: 88px; }
  .quote-section { padding-top: 64px; padding-bottom: 70px; }
}
/* ≤767：product-grid 单列——钻形图 1:1 承载下两列会把主体压得过小、
   说明文字也难排，单列保证图与文字都可读，且无半张卡片、无横向滚动。 */
@media (max-width: 767px) {
  .product-grid { grid-template-columns: 1fr; gap: 0; }
  .product-card { padding-bottom: 26px; margin-bottom: 30px; }
  .product-meta h3 { font-size: 19px; }
  /* product-list 改为紧凑纵向卡片：图在上、信息在下，形式标签与箭头收进同一行。 */
  .product-list { border-top: 1px solid var(--line); }
  .product-row {
    grid-template-columns: 1fr max-content 20px;
    grid-template-areas: "shot shot shot" "meta form arrow";
    gap: 14px 16px; padding: 20px 0;
  }
  .product-row>img {
    grid-area: shot; width: 100%; height: auto; max-width: 220px;
    padding: 14px;
  }
  .product-row>div { grid-area: meta; }
  .product-row h3 { font-size: 17px; }
  .product-row p { font-size: 13px; }
  .product-form { grid-area: form; align-self: start; padding-top: 5px; }
  .product-arrow { grid-area: arrow; align-self: start; padding-top: 4px; }
  .shape-cell>img { padding: 14%; }
  .shape-cell>span { font-size: 14px; padding-top: 10px; }
  .shape-section .micro, .jewellery-section .micro { margin-top: 24px; }
  .quote-section { padding-top: 56px; padding-bottom: 62px; }
  .quote-section h2 { font-size: 27px; }
  .inner-page .config-visual { position: static; }
}
/* 减少动效：本族页面新增的 hover 缩放 / 箭头位移全部关闭。 */
@media (prefers-reduced-motion: reduce) {
  .product-shot>img, .product-arrow { transition: none; }
  .product-card:hover .product-shot>img,
  .product-card:focus-visible .product-shot>img { scale: 1; }
  .product-row:hover .product-arrow,
  .product-row:focus-visible .product-arrow { transform: none; }
}

/* Progressive enhancement: the document is visible before/without JavaScript. */
[data-reveal] {
  transition: opacity 800ms cubic-bezier(.22,1,.36,1), translate 800ms cubic-bezier(.22,1,.36,1);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal-delay='100'] { --reveal-delay: 100ms; }
[data-reveal-delay='200'] { --reveal-delay: 200ms; }
/* 待播放状态直接就位，避免首屏从 opacity:1 反向淡出后立即折返，吞掉首次入场。 */
[data-reveal].reveal-pending { opacity: 0; translate: 0 20px; transition: none; }
[data-reveal]:focus-within { opacity: 1; translate: none; transition-duration: 0ms; transition-delay: 0ms; }
@media (max-width: 767px) {
  [data-reveal].reveal-pending { translate: 0 14px; }
  [data-reveal='initial'] { --initial-reveal-distance: 14px; }
}
/* 首屏从首次绘制即入场，不等待 React 初始化，也不与滚动观察器同时运行。
   无 JS 或减少动态效果时保持默认可见；结束后使用普通样式，不会随滚动淡出。 */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  [data-reveal='initial'] {
    animation: atelier-initial-reveal 800ms cubic-bezier(.22,1,.36,1) backwards;
    animation-delay: var(--reveal-delay, 0ms);
  }
  [data-reveal='initial']:focus-within { animation: none; }
}
@keyframes atelier-initial-reveal {
  from { opacity: 0; translate: 0 var(--initial-reveal-distance, 20px); }
  to { opacity: 1; translate: 0 0; }
}
@keyframes atelier-menu-in { from { transform: translateX(-35px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes atelier-shade-in { from { opacity: 0; } to { opacity: 1; } }

/* 反馈 P10：断点收敛——导航显隐切换统一到 1200px，消除 768–1200px 缺口。
   >1200px：显示五条文字链接，隐藏汉堡按钮（由上方 .menu-button{display:none} 保证）。
   ≤1200px：容器级隐藏整条 .header-links（压过 globals.css 的子项 display 规则），
             显示汉堡按钮，导航经抽屉完整可达。
   按实测坐标修正（2025-01）：目录真实总宽 439px（原估算 341px 偏小约 100px），
   1151px 下目录与 Logo 间距仅 10px，过于紧凑。断点上调至 1200px 后，
   1201px 起走桌面目录，推算间距约 32–40px，观感安全。 */
@media (max-width: 1200px) {
  /* 容器 display:none 会压过 globals.css 中 .header-links>a:first-child{display:none}
     等子项规则，确保整组链接不可见。 */
  .header-links { display: none; }
  .menu-button { display: flex; }
}

@media (max-width: 767px) {
  :root { --page-gutter: 24px; --site-header-height: 68px; }
  .site-header { height: 68px; }
  .inner-page { padding-top: 68px; }
  /* 反馈 S4：手机端 Logo 约 52–64px 高，保持 700:463，不溢出 68px 导航栏。 */
  .site-header .brand { height: 56px; }
  /* 反馈 S3：手机端五条链接全部隐藏，左侧显示三条横线菜单按钮，右侧保留账户入口。 */
  .header-links, .header-links>a { display: none; }
  .menu-button { display: flex; }
  .menu-dialog { width: 390px; padding: 24px 28px 30px; }
  .menu-top { margin-bottom: 36px; }
  .menu-item { font-size: 15px; min-height: 51px; padding: 14px 0; }
  .menu-item.menu-subitem { font-size: 13px; min-height: 44px; padding: 11px 0 11px 20px; }
  .menu-signature { font-size: 19px; margin-top: 40px; }
  .editorial-home .scroll-cue { bottom: 78px; left: 28px; font-size: 10px; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading>.text-link { margin-top: 7px; }
  .faq-list summary { font-size: 17px; }
  .page-title { padding: 50px 24px 44px; }
  .page-title h1 { font-size: 34px; }
  .collection-detail { grid-template-columns: 1fr; padding: 26px 24px 50px; gap: 24px; }
  .collection-detail-copy { padding: 15px 0 0; }
  .collection-detail-copy h1 { font-size: 30px; }
  .collection-detail>img { height: 420px; }
  .config-form>h1 { font-size: 29px; }
  .config-image-label h2 { font-size: 23px; }
  .summary h3 { font-size: 19px; }
  /* 手机端页脚 Logo 高约 50px，保持 700:463。 */
  .footer-brand { height: 50px; }
}
@media (max-width: 380px) {
  .menu-dialog { padding-left: 24px; padding-right: 24px; }
  .menu-item { font-size: 14px; }
  .menu-signature { font-size: 17px; }
}

/* ==================== 账户与订单（反馈 P8 / P9 / P17 / P18） ====================
   范围：/account/login 登录、/account/orders 订单列表、/account/orders/[id] 订单详情。
   原则：账户页是「回访」场景，比选品页更安静——与订单确认页同一节奏：
   单栏收窄居中、细线分层、无插画无投影；只复用已有色板 / 字体 / --motion-* / --ease-editorial。
   本区块覆盖 globals.css 旧原型的 .order-list / .order-row / .status-pill 等同名规则。 */

/* —— 整页骨架：比选品页更窄的居中栏（900–1000 区间取 960），留白更大 —— */
.account-layout {
  max-width: 960px; margin: 0 auto;
  padding-bottom: 110px;
}
/* 详情页 section 没有 .no-top（自带上方留白），这里统一收敛与 page-title 的衔接。 */
.inner-page>.section.account-layout:not(.no-top) { padding-top: 8px; }

/* ==================== A) 登录页 /account/login ====================
   单栏居中，输入与操作等宽；第三方说明置于按钮下方，避免窄列逐词换行。 */
.signin-page>.page-title { max-width: 640px; padding: 56px 24px 32px; }
.signin-page>.page-title .eyebrow { margin-bottom: 16px; }
.signin-page>.page-title h1 { font-size: clamp(36px, 3.2vw, 48px); margin-bottom: 16px; text-wrap: balance; }
.signin-page>.page-title>p:last-child { max-width: 520px; margin: 0 auto; font-size: 15px; line-height: 1.75; text-wrap: balance; }
.signin-page>.signin-layout { max-width: 560px; padding: 0 40px 80px; }
.signin {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
/* 邮箱表单：字段语言与结账表单逐像素一致（暖纸面 + 1px 细线 + focus 转金）。 */
.signin-form .config-step { margin-bottom: 18px; }
.signin-form .config-step>legend { margin-bottom: 20px; }
.signin-form .field {
  display: flex; flex-direction: column; gap: 9px;
  margin: 0;
  font: 12px/1.5 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
.signin-form .field input {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 0;
  font: 15px/1.5 var(--sans); letter-spacing: .02em; color: var(--ink);
  transition: border-color var(--motion-control) var(--ease-editorial),
    background-color var(--motion-control) var(--ease-editorial);
}
.signin-form .field input::placeholder { color: var(--muted); opacity: .55; }
.signin-form .field input:hover { border-color: var(--gold); }
.signin-form .field input:focus { border-color: var(--gold); background: var(--paper); }
.signin-form .field input[aria-invalid="true"] { border-color: var(--error); }
.signin-form .field-error {
  display: block; margin-top: 2px;
  font: 12px/1.55 var(--sans); letter-spacing: .02em; text-transform: none;
  color: var(--error);
}
.signin-form>.signin-note { margin: 16px 0 0; font-size: 12px; line-height: 1.75; }
.signin-form>.button { width: 100%; min-height: 50px; justify-content: space-between; }
/* 提交中/回调处理中：保持按钮占位，只降到不可点的静默态。 */
.signin-form>.button:disabled { background: var(--muted); border-color: var(--muted); cursor: default; }
.signin-form>.button:disabled:hover { background: var(--muted); border-color: var(--muted); }

/* OR 居中分隔；按钮等宽、说明居下，沿用暖纸面与细线。 */
.signin-providers { min-width: 0; }
.signin-providers>.eyebrow {
  display: flex; align-items: center; gap: 16px;
  margin: 0 0 24px;
  letter-spacing: .22em;
}
.signin-providers>.eyebrow::before,
.signin-providers>.eyebrow::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.provider-row {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 8px; margin-top: 18px;
}
/* 待开通态：存在但还不能用——比主按钮更浅的纸面底 + var(--muted) 文字 + 细线边，
   不灰到看不见，也不像可点主按钮；aria-disabled 不给 pointer 光标与 hover 变色。 */
.provider-row .secondary {
  width: 100%; min-height: 50px; padding: 12px 20px;
  background: var(--paper); border-color: var(--line);
  color: var(--muted);
  font-size: 14px;
}
.provider-row .secondary[aria-disabled="true"] { cursor: default; }
.provider-row .secondary[aria-disabled="true"]:hover { background: var(--paper); }
/* 已开通的谷歌登录：与待开通态同一形状，但文字转深、描边转金，一眼可点。 */
.provider-row .secondary.is-live {
  background: var(--paper); border-color: var(--gold);
  color: var(--ink);
  transition: background var(--motion-control), border-color var(--motion-control);
}
.provider-row .secondary.is-live:hover:not(:disabled) { background: var(--sand); }
.provider-row .secondary:disabled { cursor: default; opacity: .6; }
.provider-row>.micro { margin: 0; font-size: 12px; line-height: 1.6; text-align: center; }
/* 点击待开通按钮后的提示条：与结账 .callout 同一安静语言（sand 底 + 1px 金线）。 */
.signin-providers>.callout {
  margin: 22px 0 0; padding: 16px 20px;
  background: var(--sand); border-left: 1px solid var(--gold);
  font-size: 13px; line-height: 1.75; color: var(--ink);
}

/* ==================== B) 订单列表 /account/orders ==================== */

/* 空状态：居中、安静、一个主按钮；不用插画。 */
.account-empty {
  max-width: 560px; margin: 0 auto;
  padding: 64px 24px 70px;
  text-align: center;
}
.account-empty h2 {
  font: clamp(24px, 2.4vw, 30px)/1.35 var(--display);
  color: var(--heading); letter-spacing: -.01em;
  margin: 0 0 14px;
}
.account-empty p { font-size: 14px; line-height: 1.8; max-width: 420px; margin: 0 auto 30px; }
.account-empty .button { margin: 0 auto; }
/* 详情页打不开订单时的双动作（主按钮 + 文字链），居中一行。 */
.account-empty-actions {
  display: flex; align-items: center; justify-content: center; gap: 30px;
  flex-wrap: wrap;
}
.account-empty-actions .button { margin: 0; }
.account-empty-actions .text-link { min-height: 44px; align-items: center; }

/* 已登录工具行：细线分隔的「已登录邮箱 + 退出」，克制不抢眼。 */
.account-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 0 16px; margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.account-bar>.micro { margin: 0; }
/* 退出按钮：覆盖 globals 的 .quiet-help（20px 上下 padding 偏大），
   收紧为工具行里的克制小按钮，仍保 44px 触控目标。 */
.account-bar .quiet-help {
  padding: 10px 2px; min-height: 44px;
  font: 12px/1.5 var(--sans); letter-spacing: .08em;
  color: var(--muted); text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--motion-control) var(--ease-editorial),
    border-color var(--motion-control) var(--ease-editorial);
}
.account-bar .quiet-help:hover { color: var(--heading); border-bottom-color: var(--gold); }

/* 订单行：与 /diamonds 的 .product-row 同一语言——细线分层、96px 纸面小方图、
   箭头 hover 位移 ≤4px；信息层级更清楚：铭牌 .order-id 在上、display 标题居中、
   次要信息 .micro，右侧状态列右对齐。 */
.order-list { border-top: 1px solid var(--line); }
.order-row {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) max-content 24px;
  align-items: center; gap: 26px;
  padding: 22px 0; min-height: 44px;
  border-bottom: 1px solid var(--line);
}
.order-row>img {
  width: 96px; height: 96px; aspect-ratio: 1;
  object-fit: contain; background: var(--paper);
  padding: 12px; box-sizing: border-box;
  border: 1px solid var(--line);
}
.order-row .order-id { margin: 0 0 5px; }
.order-row h3 {
  font: 18px/1.4 var(--sans); color: var(--heading);
  margin: 0 0 6px;
}
.order-row p { font-size: 13px; line-height: 1.65; color: var(--muted); margin: 0; }
/* 右侧状态列：状态小丸在上、下单日期 micro 在下，右对齐。 */
.order-row>div:last-of-type { text-align: right; }
.order-row>div:last-of-type .micro { margin: 8px 0 0; white-space: nowrap; }
.order-row .product-arrow {
  font: 16px var(--sans); color: var(--gold);
  transition: transform var(--motion-control) var(--ease-editorial), color var(--motion-control) ease;
}
.order-row:hover .product-arrow { transform: translate3d(3px, -3px, 0); color: var(--heading); }
.order-row:focus-visible .product-arrow { transform: translate3d(3px, -3px, 0); color: var(--heading); }
/* 列表脚下的原型说明：与工具行同一安静节奏。 */
.account-panel>.micro { margin: 26px 0 0; max-width: 520px; font-size: 12px; }

/* ==================== C) 订单详情 /account/orders/[id] ==================== */

/* 页眉行：ORDER 编号 eyebrow + display 标题，右侧状态小丸；与 .section-heading 同一骨架。 */
.order-detail>.section-heading { margin-bottom: 40px; }
.order-detail>.section-heading h2 {
  font: clamp(26px, 2.6vw, 34px)/1.3 var(--display);
  color: var(--heading); letter-spacing: -.01em;
}
.order-detail>.section-heading .eyebrow { margin-bottom: 12px; color: var(--gold); letter-spacing: .2em; }

/* 桌面两栏：左信息（7fr）+ 右进度/实验室（5fr，稍窄）；aside sticky 给足 76px 抬头 + 呼吸位。 */
.order-detail-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.order-detail-grid>aside {
  position: sticky; top: 108px;
  display: flex; flex-direction: column;
}
/* 两栏各自的首张卡去顶线，与页眉拉开、两栏顶缘对齐。 */
.order-detail-grid .review-card:first-child,
.order-detail-grid aside .review-card:first-child { border-top: 0; padding-top: 6px; }
.order-detail-grid aside .review-card h3 {
  font: 18px/1.4 var(--sans); color: var(--heading);
  margin: 0 0 22px;
}
/* 左栏产品卡：商品行与规格列表之间细线分隔（与确认页同一手法）。 */
.order-detail-grid .review-product {
  margin-bottom: 24px; padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.order-detail-grid .review-product h3 {
  font: 20px/1.35 var(--sans); color: var(--heading);
  margin: 0 0 6px;
}
.order-detail-grid .review-product p { font-size: 13px; margin: 0 0 6px; }

/* —— 生产进度 .stage-list：本页重点 ——
   7 个阶段纵向排列，每行「序号圆点 + 标题 + 一句说明」；
   阶段之间用圆点背后的 1px 竖线连接，不做彩色进度条。 */
.stage-list { margin: 4px 0 0; }
.stage-row {
  position: relative;
  display: grid; grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 0 0 26px;
}
.stage-row:last-child { padding-bottom: 4px; }
/* 连接竖线：从当前圆点底部到下一圆点顶部，极浅暖色。 */
.stage-row:not(:last-child)::before {
  content: '';
  position: absolute; left: 21.5px; top: 48px; bottom: 2px;
  width: 1px;
  background: rgba(117, 107, 96, .18);
}
/* 序号圆点：默认低对比（细线 + muted 数字），44px 与 globals .step-number 同族。 */
.stage-row .step-number {
  width: 44px; height: 44px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 50%;
  font: 13px/1 var(--sans); color: var(--muted);
  background: var(--ivory); /* 压住背后的连接竖线 */
  position: relative; z-index: 1;
}
.stage-row h4 {
  font: 15px/1.45 var(--sans); color: var(--muted);
  margin: 0 0 4px; padding-top: 2px;
  font-weight: 400;
}
.stage-row p { font-size: 12.5px; line-height: 1.65; color: var(--muted); margin: 0; opacity: .85; }
/* 未到达阶段整体再低半档。 */
.stage-row:not(.is-done):not(.is-current) { opacity: .62; }
/* 已走过：金色实心圆点（金底纸面数字），标题回到墨色。 */
.stage-row.is-done .step-number {
  background: var(--gold); border-color: var(--gold);
  color: var(--paper);
}
.stage-row.is-done h4 { color: var(--ink); }
/* 当前阶段：描边加粗（1px 金边 + inset 1px 金线）+ 标题 var(--heading) + 左侧竖线高亮。 */
.stage-row.is-current { opacity: 1; }
.stage-row.is-current .step-number {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold);
  color: var(--gold);
}
.stage-row.is-current h4 { color: var(--heading); }
.stage-row.is-current p { opacity: 1; }
/* 当前阶段左侧竖线高亮：贴着行左缘的 2px 金线，不与圆点连线混淆（圆点连线在行内 21.5px 处）。 */
.stage-row.is-current::after {
  content: '';
  position: absolute; left: -16px; top: 6px; bottom: 20px;
  width: 2px;
  background: var(--gold);
}
.stage-row.is-current:last-child::after { bottom: 6px; }
/* 进度卡脚下的说明（P17：不做物流追踪）：与卡片拉开一点距离。 */
.order-detail-grid aside .review-card>.micro { margin: 20px 0 0; font-size: 12px; max-width: 400px; }

/* —— 实验室卡 .lab-card：二维码预留位 ——
   方形细线框 + 极简四角定位标，
   暗示「这里会放二维码」，不画假二维码点阵。桌面 132px，左对齐（与卡片文字同一左缘）。 */
.lab-qr-slot {
  position: relative;
  width: 132px; height: 132px;
  margin: 2px 0 24px;
  border: 1px solid var(--line);
  background: var(--paper);
}
/* 四角定位标：每个 L 形角由一对相邻 border 组成，分布在四个伪元素上
   （容器 ::before/::after + 内部 span 的 ::before/::after），1px 金色，安静可读。 */
.lab-qr-slot::before, .lab-qr-slot::after,
.lab-qr-slot>span::before, .lab-qr-slot>span::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border: 0 solid var(--gold);
}
.lab-qr-slot::before { left: 12px; top: 12px; border-top-width: 1px; border-left-width: 1px; }
.lab-qr-slot::after { right: 12px; top: 12px; border-top-width: 1px; border-right-width: 1px; }
.lab-qr-slot>span::before { left: 12px; bottom: 12px; border-bottom-width: 1px; border-left-width: 1px; }
.lab-qr-slot>span::after { right: 12px; bottom: 12px; border-bottom-width: 1px; border-right-width: 1px; }
/* 实验室卡的信息列表与说明沿用 .review-list / .micro，只收节奏。 */
.lab-card .review-list { margin-bottom: 18px; }

/* —— 账户页断点 —— */
/* 768–1100：两栏保持，列距收紧；订单行与详情列同步收。 */
@media (min-width: 768px) and (max-width: 1100px) {
  .order-detail-grid { gap: 40px; }
  .order-row { grid-template-columns: 88px minmax(0, 1fr) max-content 20px; gap: 18px; }
  .order-row>img { width: 88px; height: 88px; }
  .account-layout { padding-bottom: 90px; }
}
/* ≤767：全部单栏；订单行改紧凑两行；触控目标 ≥44px；无横向滚动。 */
@media (max-width: 767px) {
  .account-layout { padding-bottom: 72px; }
  .signin-page>.page-title { padding: 40px 24px 28px; }
  .signin-page>.signin-layout { padding: 0 24px 64px; }
  /* 空状态收紧。 */
  .account-empty { padding: 48px 8px 54px; }
  .account-empty .button { width: 100%; justify-content: space-between; }
  .account-empty-actions {
    flex-direction: column; align-items: stretch; gap: 14px;
  }
  .account-empty-actions .text-link { align-self: center; }
  /* 订单行：紧凑两行——第一行「图 + 信息 + 箭头」，第二行「状态 + 日期」占满图右整宽。 */
  .order-row {
    grid-template-columns: 72px minmax(0, 1fr) 20px;
    grid-template-areas:
      "shot meta arrow"
      "shot status status";
    gap: 6px 16px;
    padding: 18px 0;
  }
  .order-row>img {
    grid-area: shot;
    width: 72px; height: 72px;
    padding: 9px;
    align-self: start;
  }
  .order-row>div:first-of-type { grid-area: meta; }
  .order-row h3 { font-size: 17px; margin-bottom: 4px; }
  .order-row p { font-size: 12.5px; }
  .order-row>div:last-of-type {
    grid-area: status;
    display: flex; align-items: center; justify-content: space-between; gap: 6px 14px;
    flex-wrap: wrap; /* 长状态丸 + 日期在窄屏可换行，不溢出 */
    text-align: left;
    padding-top: 8px;
  }
  .order-row>div:last-of-type .micro { margin: 0; white-space: normal; }
  .order-row .product-arrow { grid-area: arrow; align-self: start; padding-top: 4px; }
  /* 详情页：单栏，aside 取消 sticky 跟随内容流。 */
  .order-detail>.section-heading { margin-bottom: 30px; }
  .order-detail-grid { display: block; }
  .order-detail-grid>aside { position: static; margin-top: 8px; }
  .order-detail-grid .review-card:first-child { border-top: 1px solid var(--line); padding-top: 24px; }
  .order-detail-grid aside .review-card:first-child { border-top: 1px solid var(--line); padding-top: 24px; }
  /* 阶段列表：保持纵向，序号圆点缩到 34px，竖线随之中移。 */
  .stage-row { grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding-bottom: 22px; }
  .stage-row .step-number { width: 34px; height: 34px; font-size: 11px; }
  .stage-row:not(:last-child)::before { left: 16.5px; top: 38px; }
  .stage-row.is-current::after { left: -12px; }
  .stage-row h4 { font-size: 14px; }
  .stage-row p { font-size: 12px; }
  /* 二维码位：手机 112px，仍左对齐与卡片文字同缘。 */
  .lab-qr-slot { width: 112px; height: 112px; margin-bottom: 20px; }
  .lab-qr-slot::before, .lab-qr-slot::after,
  .lab-qr-slot>span::before, .lab-qr-slot>span::after { width: 15px; height: 15px; }
}
/* 减少动效：本区块新增的输入框 / 退出按钮 / 箭头过渡全部关闭。 */
@media (prefers-reduced-motion: reduce) {
  .signin-form .field input,
  .account-bar .quiet-help,
  .order-row .product-arrow { transition: none; }
  .order-row:hover .product-arrow,
  .order-row:focus-visible .product-arrow { transform: none; }
}

/* ==================== 旅程流程图 / Technology / Laboratory（反馈 P10 / P12） ====================
   范围：/how-it-works（六步流程总览 + 详细流程图）、/technology（钻石图 + 三步 + 边界说明）、
         /laboratory（面包屑 + 三模块 + 进度说明）。
   原则：总览的连接线与箭头用 CSS 画，详细流程为六步各配一张手绘感 SVG 插画；
   owner 区分只到细线 / 字距 / 小圆点的程度（色板仍限 --gold / --heading / --muted 一族），
   不做三种色块；与站内其它内页同一节奏（.page-title / .quote-section 复用已有规则）。
   JSX 没有给 owner 输出类名，owner 映射靠 JOURNEY 固定顺序：
   步骤 1/6 = You，2/3 = Our team，4/5 = The laboratory。 */

/* —— A1) /how-it-works：.flow-map 横向六节点流程总览 —— */
/* section.no-top 已把顶部 padding 清零；这里重新给 44px 顶距 + 细线，把流程图从页眉轻轻分开。 */
.flow-section {
  padding-top: 44px; padding-bottom: 84px;
  border-top: 1px solid var(--line);
}
/* ol 本体即「图」：六列网格，节点等分；列距留给连接线与箭头。
   限宽 1150 居中，与 .page-title（globals max-width:1150px）同一阅读宽度。 */
.flow-map {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0; margin: 0 auto; padding: 0; list-style: none;
  max-width: 1150px;
}
/* 每个节点：序号 / 标题 / 归属 纵向叠放，居中；相对定位供连接线穿插。 */
.flow-map-node {
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 12px;
}
.flow-map-link {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  width: 100%; color: inherit; text-decoration: none;
}
.flow-map-link:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 5px; border-radius: 2px;
}
.flow-map-link:hover .flow-map-index,
.flow-map-link:focus-visible .flow-map-index {
  background: var(--gold); color: var(--ivory);
}
.flow-map-link:hover .flow-map-label,
.flow-map-link:focus-visible .flow-map-label { color: var(--gold); }
/* 序号：金色小圆点 + 宽字距数字——图上的「站点」。 */
.flow-map-index {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--gold); border-radius: 50%;
  background: var(--ivory); /* 压住横向连接线 */
  font: 11px/1 var(--sans); letter-spacing: .08em; color: var(--gold);
  font-variant-numeric: tabular-nums;
  position: relative; z-index: 1;
  margin-bottom: 18px;
}
/* 标题：display 衬线，节点主体。
   P12 对齐修正（第二次）：min-height 预留三行高度（15px×1.4×3=63px）。
   上次只预留两行（42px），实测 1440 下节点 4「Your diamond begins to grow」
   在 max-width:130px 内折成三行（63px），归属行整体下移 21px 破环同线。
   本次改按「最大行数」预留：六列标题无论 2 行还是 3 行，归属行都落在同一水平线。
   （未选放宽 max-width 的 B 方案：768–1100 断点列内仅约 112px，无放宽空间。） */
.flow-map-label {
  font: 15px/1.4 var(--sans); color: var(--heading);
  max-width: 130px; margin-bottom: 8px;
  min-height: 63px;
}
/* 归属：宽字距大写小字，按 owner 区分色温（见下方 data-owner 映射）。
   P12 对齐修正：字距 .2em→.12em 并禁止换行——「THE LABORATORY」在 1440 六列
   （列内约 168px）下原会溢出换行掉到第二行；收紧后估算约 115px，六列归属同一水平线。 */
.flow-map-owner {
  font: 9px/1.5 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  white-space: nowrap;
}
/* owner 区分（克制到文字色温与小圆点，不给色块）：
   You = --gold（客户在动）、Our team = --heading、The laboratory = --muted。 */
/* 归属色按 data-owner 映射：调整步骤顺序时颜色不会跟着错位（反馈 P12）。 */
.flow-map-node[data-owner="You"] .flow-map-owner { color: var(--gold); }
.flow-map-node[data-owner="Our team"] .flow-map-owner { color: var(--heading); }
.flow-map-node[data-owner="The laboratory"] .flow-map-owner { color: var(--muted); }
/* 横向连接线：除最后一个节点外，每个节点 ::before 从自己圆点右缘画到下一节点圆点左缘。
   定位：top 对齐圆点中线（20px），left/right 各探出 50% 再让出圆点半径 + 12px 呼吸位。 */
.flow-map-node:not(:last-child)::before {
  content: '';
  position: absolute; top: 19px;
  left: calc(50% + 32px); right: calc(-50% + 32px);
  height: 1px;
  background: rgba(117, 107, 96, .3);
}
/* 箭头：连接线上的实心小三角，指向下一节点，用 border 三角画（纯 CSS）。
   放在线段右端（贴近下一节点圆点左缘之前）。 */
.flow-map-node:not(:last-child)::after {
  content: '';
  position: absolute; top: 15px;
  right: calc(-50% + 24px);
  width: 0; height: 0;
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
  border-left: 8px solid var(--gold);
}
/* 归属小圆点：图例级提示——owner 文字前的 5px 圆点，颜色同步 owner 色温。 */
.flow-map-owner::before {
  content: ''; display: inline-block;
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor;
  margin-right: 7px; vertical-align: 1px;
}

/* —— A2) .flow-hands：三方分工图例 —— */
/* 桌面横向三项，顶部一根细线把它从流程图收为图例；每项「名称 + 一句说明」。 */
.flow-hands {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 56px auto 0; padding: 26px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  max-width: 1150px; /* 与 .flow-map 同宽对齐 */
}
.flow-hands li { display: flex; flex-direction: column; gap: 7px; }
.flow-hands strong {
  font: 11px/1.5 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  font-weight: 400;
}
/* 图例名称与流程图 owner 同一色温：You 金 / Our team heading / The laboratory muted。 */
.flow-hands li:nth-child(1) strong { color: var(--gold); }
.flow-hands li:nth-child(2) strong { color: var(--heading); }
.flow-hands li:nth-child(3) strong { color: var(--muted); }
.flow-hands strong::before {
  content: ''; display: inline-block;
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor;
  margin-right: 8px; vertical-align: 1px;
}
.flow-hands span { font-size: 12.5px; line-height: 1.7; color: var(--muted); }

/* —— A3) /how-it-works：.flow 展开后的详细流程图 —— */
/* 左侧序号圆点 + 连贯竖线，右侧 owner / 标题 / 摘要 / 正文；
   步骤之间留白 56–72px（取 64px），最后一步下方不留多余连线。 */
.flow-detail-section { padding-top: 20px; padding-bottom: 110px; }
.flow { margin: 0; padding: 0; list-style: none; max-width: 860px; }
.flow-step {
  position: relative;
  display: grid; grid-template-columns: 44px minmax(0, 1fr);
  gap: 30px;
  padding: 0 0 64px;
  scroll-margin-top: 110px;
}
.flow-step:last-child { padding-bottom: 4px; }
/* 竖直连接线：从当前圆点底部到下一圆点顶部，1px 暖色，连贯穿过步骤间隙。
   left 对齐圆点中线（44/2 - 0.5 = 21.5px），top 从圆点底（44px）开始，bottom 到步骤底。 */
.flow-step:not(:last-child) .flow-marker::after {
  content: '';
  position: absolute; left: 21.5px; top: 44px; bottom: 0;
  width: 1px;
  background: rgba(117, 107, 96, .22);
}
/* 箭头：竖线末端的小三角，指向下方步骤（贴在下一圆点顶部上方）。 */
.flow-step:not(:last-child) .flow-marker::before {
  content: '';
  position: absolute; left: 17.5px; bottom: 18px;
  width: 0; height: 0;
  border-left: 4.5px solid transparent;
  border-right: 4.5px solid transparent;
  border-top: 8px solid var(--gold);
  z-index: 1;
}
.flow-marker { position: relative; }
/* 序号圆点：与总览同一语言（金细线圆），底色压住竖线，不断线。 */
.flow-node {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--gold); border-radius: 50%;
  background: var(--ivory);
  font: 12px/1 var(--sans); letter-spacing: .05em; color: var(--gold);
  font-variant-numeric: tabular-nums;
  position: relative; z-index: 1;
}
/* 归属小标签：宽字距大写，色温与总览 owner 一致。 */
.flow-owner {
  margin: 0 0 10px;
  font: 10px/1.5 var(--sans); letter-spacing: .22em; text-transform: uppercase;
}
.flow-owner::before {
  content: ''; display: inline-block;
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor;
  margin-right: 8px; vertical-align: 1px;
}
.flow-step[data-owner="You"] .flow-owner { color: var(--gold); }
.flow-step[data-owner="Our team"] .flow-owner { color: var(--heading); }
.flow-step[data-owner="The laboratory"] .flow-owner { color: var(--muted); }
/* 标题 / 摘要 / 正文：标题 display 衬线，摘要衬线 italic（题中说明），正文标准行宽。 */
.flow-body h2 {
  font: clamp(24px, 2.4vw, 30px)/1.3 var(--display);
  color: var(--heading); letter-spacing: -.01em;
  margin: 0 0 12px;
}
.flow-summary {
  font: italic 16px/1.7 var(--sans); color: var(--ink);
  margin: 0 0 14px; max-width: 560px;
}
.flow-body {
  display: grid; grid-template-columns: 190px minmax(0, 1fr);
  align-items: center; gap: 32px;
}
.flow-illustration {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 11;
}
.flow-copy { min-width: 0; }
.flow-copy>p:last-child { font-size: 14px; line-height: 1.8; color: var(--muted); max-width: 560px; margin: 0; }

/* —— B) /technology —— */
.technology-page .page-title { max-width: 960px; padding: 64px 24px 48px; }
.technology-page .page-title h1 { max-width: 820px; margin-inline: auto; font-size: clamp(32px, 3.2vw, 42px); text-wrap: balance; }
.technology-page .page-title>p:last-child { max-width: 720px; margin-inline: auto; }
.technology-content { width: calc(100% - 64px); max-width: 1120px; margin-inline: auto; }
.technology-content>.section { padding-inline: 0; }
/* 桌面两栏：左 HPHT 腔体与参考参数，右七阶段工艺说明。 */
.technology-detail {
  display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding-top: 8px; padding-bottom: 96px;
}
/* Technology 详情页照片容器，粘性布局在腔体组件样式中定义。 */
.technology-scene {
  position: relative; width: 100%; max-width: 520px; aspect-ratio: 1;
  margin: 0 auto;
}
/* 七阶段以细线分层，圆点编号配工艺标题、正文与术语说明。 */
.technology-steps { margin: 0; padding: 0; list-style: none; }
.technology-steps li {
  display: grid; grid-template-columns: 47px minmax(0, 1fr);
  gap: 26px;
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--line);
}
.technology-steps li:first-child { padding-top: 6px; }
.technology-steps li:last-child { border-bottom: 0; padding-bottom: 4px; }
/* .step-number 用全局样式（1px 细线圆 + 金数字），这里只补右栏标题与正文节奏。 */
.technology-steps h2 {
  font: 21px/1.35 var(--display); color: var(--heading);
  margin: 0 0 8px; padding-top: 4px;
}
.technology-steps p { font-size: 14px; line-height: 1.8; color: var(--ink); margin: 0; max-width: 520px; }
.technology-overview {
  border-block: 1px solid var(--line);
  padding-block: 32px 36px; margin-bottom: 48px;
}
.technology-overview h2 { font: 26px/1.4 var(--display); margin-bottom: 22px; text-wrap: balance; }
.technology-overview>div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.technology-overview p { font-size: 15px; line-height: 1.85; margin-bottom: 0; }
.technology-stage-details { margin: 20px 0 0; max-width: 520px; }
.technology-stage-details>div { border-left: 1px solid var(--line); padding-left: 16px; margin-top: 14px; }
.technology-stage-details dt { font: 600 12px/1.6 var(--sans); color: var(--heading); }
.technology-stage-details dd { margin: 4px 0 0; font: 13px/1.75 var(--sans); color: var(--muted); }
@media (max-width: 1023px) {
  .technology-page .technology-detail { display: block; }
  .technology-page .technology-detail .technology-scene { position: static; max-width: 480px; margin: 0 auto 44px; }
}
@media (max-width: 767px) {
  .technology-content { width: calc(100% - 48px); }
  .technology-page .page-title { padding: 50px 24px 36px; }
  .technology-overview { padding-block: 24px 28px; margin-bottom: 32px; }
  .technology-overview h2 { font-size: 23px; margin-bottom: 18px; }
  .technology-overview>div { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

/* —— B/C 共用）.boundary-section：安静的长句说明区 —— */
/* sand 底、居中、行宽控制在 60–70 字（英文约 66ch），上下细线收边，不做卡片。 */
.boundary-section {
  background: var(--sand);
  padding-top: 72px; padding-bottom: 76px;
  text-align: center;
}
.boundary-section .eyebrow { margin-bottom: 22px; letter-spacing: .22em; }
.boundary-copy {
  max-width: 66ch; margin: 0 auto;
  font: italic clamp(17px, 1.6vw, 20px)/1.85 var(--sans);
  color: var(--heading);
}
/* Laboratory 页 boundary 里的追加说明（.micro）：与长句拉开一行呼吸位。 */
.boundary-section .micro {
  max-width: 52ch; margin: 22px auto 0;
  font-size: 12.5px; line-height: 1.75;
}

/* —— C) /laboratory —— */
/* 面包屑：弱化细字，「Technology / Laboratory」，左缘与 .section 的 page-gutter 对齐。 */
.breadcrumb {
  margin: 0;
  padding: 28px var(--page-gutter) 0;
  font: 10px/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb a {
  color: var(--muted); text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--motion-control) var(--ease-editorial),
    border-color var(--motion-control) var(--ease-editorial);
}
.breadcrumb a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.breadcrumb span { margin: 0 10px; color: var(--line); }
/* 面包屑之下 page-title 顶部留白收敛（原 74px 会给双层空隙）。 */
.breadcrumb + .page-title { padding-top: 34px; }

/* 三列模块：eyebrow 序号 + h2 + 正文，上边框细线分层，不做卡片。 */
.laboratory-modules {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px;
  padding-top: 8px; padding-bottom: 100px;
}
.laboratory-module {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.laboratory-module .eyebrow {
  margin-bottom: 18px; color: var(--gold); letter-spacing: .22em;
}
.laboratory-module h2 {
  font: 22px/1.35 var(--display); color: var(--heading);
  letter-spacing: -.01em; margin: 0 0 12px;
}
.laboratory-module p:last-child { font-size: 14px; line-height: 1.8; margin: 0; }

/* —— 本区块断点 —— */
/* 768–1100：流程总览收紧（节点标题字号略收、连接线让位同步），
    Technology 两栏保持但列距收紧，Laboratory 三列收紧。 */
@media (min-width: 768px) and (max-width: 1100px) {
  /* P12（第二次）：与基准规则同步改为预留三行——13.5px×1.4×3=56.7≈57px；
     上次的两行预留（38px）在本断点同样会被三行标题撑破。
     归属字距再收（列更窄），nowrap 下 1024 仍不溢出列宽。 */
  .flow-map-label { font-size: 13.5px; max-width: 110px; min-height: 57px; }
  .flow-map-owner { font-size: 8.5px; letter-spacing: .08em; }
  .flow-map-node { padding: 0 8px; }
  .flow-map-node:not(:last-child)::before { left: calc(50% + 28px); right: calc(-50% + 28px); }
  .flow-map-node:not(:last-child)::after { right: calc(-50% + 20px); }
  .flow-hands { gap: 24px; }
  .technology-detail { gap: 40px; }
  .technology-scene { max-width: 400px; }
  .laboratory-modules { gap: 36px; }
  .laboratory-module h2 { font-size: 20px; }
}
/* ≤767：流程总览改纵向（竖直连线、箭头向下），详细流程图保持纵向，
   Technology 单栏（钻石图在上），Laboratory 单列；触控目标 ≥44px，无横向滚动。 */
@media (max-width: 767px) {
  .flow-section { padding-top: 34px; padding-bottom: 60px; }
  /* 纵向流程：一列六段，每个节点「圆点左 + 文字右」，竖线穿圆点中线，箭头向下。 */
  .flow-map { grid-template-columns: 1fr; gap: 0; max-width: 340px; margin: 0 auto; }
  /* 节点改两行网格：左列圆点（跨两行），右列上标题下归属。 */
  .flow-map-node {
    display: block;
    text-align: left;
    padding: 0 0 40px;
  }
  .flow-map-link {
    display: grid; grid-template-columns: 36px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 16px; align-items: center;
    text-align: left;
  }
  .flow-map-node:last-child { padding-bottom: 0; }
  .flow-map-index {
    grid-row: 1 / 3; grid-column: 1;
    width: 36px; height: 36px; margin-bottom: 0; font-size: 10px;
  }
  /* P12：纵向布局无需预留两行标题高度（min-height 会让每个节点标题下空一块），
     归属恢复自然换行，避免极窄屏（<320px）nowrap 溢出。 */
  .flow-map-label { grid-row: 1; grid-column: 2; max-width: none; margin-bottom: 3px; font-size: 15px; min-height: 0; }
  .flow-map-owner { grid-row: 2; grid-column: 2; white-space: normal; }
  /* 竖直连线：从当前圆点底部到下一圆点顶部，穿圆点中线（36/2-0.5=17.5）。 */
  .flow-map-node:not(:last-child)::before {
    top: 36px; bottom: 0;
    left: 17.5px; right: auto;
    width: 1px; height: auto;
  }
  /* 箭头向下。 */
  .flow-map-node:not(:last-child)::after {
    top: auto; bottom: 8px;
    left: 13px; right: auto;
    border-top: 8px solid var(--gold);
    border-left: 4.5px solid transparent;
    border-right: 4.5px solid transparent;
    border-bottom: 0;
  }
  /* 图例：纵向，每项一行。 */
  .flow-hands { grid-template-columns: 1fr; gap: 18px; margin-top: 44px; padding-top: 22px; }
  .flow-hands li { gap: 4px; }
  /* 详细流程图：圆点与连线收窄，步骤间距收 56px。 */
  .flow-detail-section { padding-top: 12px; padding-bottom: 72px; }
  .flow-step { grid-template-columns: 34px minmax(0, 1fr); gap: 18px; padding-bottom: 56px; }
  .flow-node { width: 34px; height: 34px; font-size: 10px; }
  .flow-step:not(:last-child) .flow-marker::after { left: 16.5px; top: 34px; }
  .flow-step:not(:last-child) .flow-marker::before { left: 12.5px; bottom: 16px; }
  .flow-body h2 { font-size: 23px; }
  .flow-summary { font-size: 15px; }
  .flow-body { grid-template-columns: minmax(0, 1fr) 92px; align-items: start; gap: 14px; }
  .flow-illustration { grid-column: 2; grid-row: 1; margin-top: 4px; }
  .flow-copy { grid-column: 1; grid-row: 1; }
  /* Technology：单栏，钻石图在上。 */
  .technology-detail { display: block; padding-bottom: 64px; }
  .technology-scene { max-width: 280px; margin-bottom: 44px; }
  .technology-steps li { grid-template-columns: 40px minmax(0, 1fr); gap: 18px; padding: 20px 0 22px; }
  .technology-steps .step-number { width: 40px; height: 40px; font-size: 14px; }
  .technology-steps h2 { font-size: 19px; padding-top: 2px; }
  /* boundary 收窄。 */
  .boundary-section { padding-top: 52px; padding-bottom: 56px; }
  .boundary-copy { font-size: 16px; }
  /* 面包屑收紧。 */
  .breadcrumb { padding-top: 20px; }
  .breadcrumb + .page-title { padding-top: 26px; }
  /* Laboratory：单列。 */
  .laboratory-modules { grid-template-columns: 1fr; gap: 40px; padding-bottom: 64px; }
  .laboratory-module h2 { font-size: 20px; }
}
/* 减少动效：本区块新增的面包屑 hover 过渡关闭（其余无新增过渡/动画）。 */
@media (prefers-reduced-motion: reduce) {
  .breadcrumb a { transition: none; }
}

@media print {
  [data-reveal] { opacity: 1!important; translate: none!important; }
  [data-drift] img, .hero-photograph img { transform: none; }
}

/* ==================== 选品流程改版（客户 2026-09-21） ====================
   范围：/diamonds/[collection] 的商品分区展示 + 页内导航 + 每件底价，
         /diamonds/configure 的三步配置（形制 → 大小 → 证书）与实时价格明细。
   口径：Collection → 商品（SPU）→ 形制 → 大小 → 证书 → 订单。
   语言沿用同一套暖色编辑气质：细线分层、衬线标题、大字距小标签、金色选中态；
   不新增颜色与字体，过渡走已有 --motion-control / --ease-editorial。 */

/* —— 选品流程三步说明（Collection 页顶部：先讲清楚接下来会发生什么） —— */
.choice-section { padding-top: 0; padding-bottom: 44px; }
.choice-steps {
  list-style: none; margin: 0 0 24px; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  border-top: 1px solid var(--line);
}
.choice-steps li {
  display: grid; grid-template-columns: 26px 1fr; gap: 4px 14px;
  align-items: baseline; padding-top: 20px;
}
/* 序号跨两行，与 h3 / 说明同一条基线起头。 */
.choice-steps li>span {
  grid-row: 1 / 3; font: 12px/1.6 var(--sans); letter-spacing: .14em;
  color: var(--gold); font-variant-numeric: tabular-nums;
}
.choice-steps h3 { font: 17px/1.4 var(--sans); color: var(--heading); margin: 0 0 2px; }
.choice-steps p { font-size: 13px; line-height: 1.7; margin: 0; }
.choice-section .micro { max-width: 620px; margin-bottom: 0; }

/* —— 页内导航：粘在固定抬头下方，滚动高亮当前分区 —— */
.category-nav {
  position: sticky; top: 76px; z-index: 20;
  padding: 0 var(--page-gutter);
  background: var(--ivory);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.category-nav ul {
  list-style: none; display: flex; gap: 32px; margin: 0; padding: 0;
  overflow-x: auto; scrollbar-width: none;
}
.category-nav ul::-webkit-scrollbar { display: none; }
.category-nav a {
  display: flex; align-items: baseline; gap: 8px;
  padding: 14px 0 12px; min-height: 44px;
  font: 13px/1.4 var(--sans); color: var(--muted); white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--motion-control) var(--ease-editorial), border-color var(--motion-control) var(--ease-editorial);
}
.category-nav a:hover { color: var(--heading); }
.category-nav a.is-active { color: var(--heading); border-bottom-color: var(--gold); }
.category-nav a>span { font: 11px/1 var(--sans); color: var(--gold); font-variant-numeric: tabular-nums; }

/* —— 分区：标题行 + 分组说明 + 商品网格 —— */
.category-section {
  padding-top: 62px; padding-bottom: 24px;
  /* 锚点跳转时把标题留在粘性抬头 + 页内导航之下。 */
  scroll-margin-top: 136px;
}
.category-section .section-heading { margin-bottom: 12px; align-items: baseline; }
.category-section .eyebrow { margin-bottom: 8px; }
.category-section h2 { font-size: clamp(26px, 2.6vw, 36px); }
.section-note {
  font: 12px/1.5 var(--sans); letter-spacing: .1em;
  color: var(--muted); white-space: nowrap;
}
.category-blurb { font-size: 14px; line-height: 1.8; max-width: 520px; margin-bottom: 34px; }
.category-section:last-of-type { padding-bottom: 76px; }

/* 商品卡底价与口径说明沿用黑体，金额使用等宽数字。 */
/* 选择器要带 .product-meta：旧规则 `.product-meta p`（0,2,1）会盖掉裸类选择器（0,1,0），
   把价格压回 13px 灰字。 */
.product-card .product-meta .product-price {
  display: block; margin: 0 0 6px;
  font: 17px/1.3 var(--sans); letter-spacing: 0; text-transform: none;
  color: var(--heading); font-variant-numeric: tabular-nums;
}
/* 一句话卖点下的补充描述：比 subtitle 更小一号、更弱，紧贴上一行。 */
.product-meta .product-desc {
  font-size: 12px; line-height: 1.6; margin: -10px 0 16px; color: var(--muted);
}
/* 议价卡片：价格位显示金色小号大写，与配置页 .config-visual-price 同一语言。 */
.product-card .product-meta .product-price--request {
  font: 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin: 8px 0 6px;
}
.product-card .product-meta .product-base {
  font: 12px/1.65 var(--sans); color: var(--muted); margin: 0 0 14px;
}
.product-choose {
  display: inline-flex; align-items: center; gap: 9px;
  font: 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold);
  transition: color var(--motion-control) var(--ease-editorial);
}
.product-card:hover .product-choose { color: var(--heading); }

/* 饰品占位插画：统一的透明圆钻 + 按大类的镶嵌线稿。
   供货商画册到位后替换 lib/catalogue.ts 的 JEWELLERY_IMAGE，本组规则即可整段删除。
   .product-shot 必须自己是定位上下文，否则伪元素会按最近的定位祖先铺满整页。 */
.product-shot { position: relative; }
.product-shot::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
}
.product-shot>img { position: relative; z-index: 1; }
/* 戒指：钻下方一圈金属托。 */
.product-shot[data-form="ring"]::before {
  left: 31%; right: 31%; top: 64%; height: 17%;
  border: 1px solid var(--line); border-radius: 50%;
}
/* 项链 / 吊坠：自上而下的细链。 */
.product-shot[data-form="necklace"]::before,
.product-shot[data-form="pendant"]::before {
  left: calc(50% - .5px); top: 6%; width: 1px; height: 24%;
  background: linear-gradient(var(--line), rgba(222, 214, 202, .25));
}
.product-shot[data-form="pendant"]::before { top: 12%; height: 18%; }
/* 手链：更扁的托形，读起来是腕上的弧。 */
.product-shot[data-form="bracelet"]::before {
  left: 23%; right: 23%; top: 68%; height: 13%;
  border: 1px solid var(--line); border-radius: 50%;
}
/* 耳饰：一对，左右各一颗小钻位。 */
.product-shot[data-form="earrings"]::before {
  left: 22%; top: 30%; width: 13%; height: 13%;
  border: 1px solid var(--line); border-radius: 50%;
}
.product-shot[data-form="earrings"]::after {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  right: 22%; top: 30%; width: 13%; height: 13%;
  border: 1px solid var(--line); border-radius: 50%;
}

/* ==================== 分步配置（/diamonds/configure） ==================== */

/* —— 左栏：实时价格明细 + 合计 —— */
.price-breakdown { margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.price-breakdown>div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 22px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(117, 107, 96, .16);
  font-size: 13px; line-height: 1.6;
}
.price-breakdown dt { color: var(--muted); }
.price-breakdown dt em { font-style: normal; color: var(--muted); opacity: .85; }
.price-breakdown dd {
  margin: 0; text-align: right; color: var(--ink);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.config-total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  margin-top: 14px; padding-top: 16px;
  border-top: 1px solid var(--gold);
}
.config-total>span {
  font: 12px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--heading);
}
.config-total>strong {
  /* 金额与价格说明统一使用黑体。 */
  font: 26px/1.2 var(--sans); color: var(--heading);
  font-variant-numeric: tabular-nums;
}
.price-demo { margin: 16px 0 0; font-size: 11px; line-height: 1.7; max-width: 400px; }
.sku-line { margin: 14px 0 0; }

/* —— 右栏：折叠式分步（已选内容留在标题行，点回去随时可改） —— */
.build-steps { list-style: none; margin: 0; padding: 0; }
.build-step { border-top: 1px solid var(--line); }
.build-step:last-child { border-bottom: 1px solid var(--line); }
.build-step-head { margin: 0; font-size: inherit; }
.build-step-head>button {
  display: grid; grid-template-columns: 26px 1fr auto; align-items: baseline; gap: 16px;
  width: 100%; padding: 22px 2px; min-height: 44px; text-align: left;
}
.build-step-number {
  font: 12px/1.6 var(--sans); letter-spacing: .14em;
  color: var(--gold); font-variant-numeric: tabular-nums;
}
.build-step-title { font: 18px/1.4 var(--sans); color: var(--heading); }
.build-step-value {
  display: flex; align-items: baseline; gap: 18px;
  font: 12px/1.6 var(--sans); letter-spacing: .06em; color: var(--muted);
  text-align: right;
}
.build-step-change {
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}
.build-step-head>button:hover .build-step-title { color: var(--ink); }
.build-step.is-open .build-step-title { color: var(--heading); }
.build-step-body { padding: 2px 0 34px; }

/* —— 每个选项都带价格（Apple 选购的读法：选它会是多少钱） —— */
.config-form .options .option-price {
  display: block; margin-top: 12px;
  font: 15px/1.4 var(--sans); color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.config-form .options .option-note { display: block; margin-top: 5px; font-size: 12px; line-height: 1.6; color: var(--muted); }

/* ① 形制：图 + 名称 + 一句说明 + 价格。 */
.config-form .options.shapes .option-label {
  display: block; padding: 12px 6px 0;
  font: 13px/1.4 var(--sans); color: var(--heading); text-align: center;
}
/* 形制说明与大小、证书的说明统一为黑体。 */
.config-form .options.shapes .option-note {
  padding: 0 10px; font: 11px/1.6 var(--sans); color: var(--muted); text-align: center;
}
/* 形制价格显式使用黑体，与大小、证书和总价保持一致。 */
.config-form .options.shapes .option-price {
  margin-top: 9px; padding: 0 6px 14px;
  font: 14px/1.4 var(--sans); color: var(--gold); text-align: center;
  font-variant-numeric: tabular-nums;
}

/* ② 大小：名称 + 说明 + 价格。 */
.config-form .options.sizes .option-price { margin-top: 12px; }

/* ③ 证书：左名称说明、右价格，横向一行。 */
.config-form .options.selects { grid-template-columns: 1fr; gap: 12px; }
.config-form .options.selects button {
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
}
.config-form .options.selects .option-text { display: block; }
.config-form .options.selects .option-text>strong {
  display: block; font: 16px/1.4 var(--sans); color: var(--heading);
}
.config-form .options.selects .option-text .option-note { max-width: 330px; }
.config-form .options.selects .option-price { margin: 0; white-space: nowrap; }

/* —— 响应式：中窄屏与手机 —— */
@media (min-width: 768px) and (max-width: 1100px) {
  .choice-steps { gap: 22px; }
  .category-nav ul { gap: 24px; }
}
@media (max-width: 767px) {
  .choice-steps { grid-template-columns: 1fr; gap: 18px; }
  .category-nav { top: 68px; }
  .category-nav ul { gap: 20px; }
  .category-section { padding-top: 48px; scroll-margin-top: 124px; }
  .category-section .section-heading { display: block; margin-bottom: 10px; }
  .section-note { display: block; margin-top: 6px; }
  .category-blurb { margin-bottom: 26px; }
  /* 分步标题行：说明与「Change」换到第二行，避免窄屏挤压。 */
  .build-step-head>button { grid-template-columns: 22px 1fr; gap: 4px 12px; padding: 18px 0; }
  .build-step-value { grid-column: 2; text-align: left; margin-top: 2px; }
  .config-total>strong { font-size: 23px; }
}
/* 减少动效：本区块新增的页内导航与可选区过渡关闭。 */
@media (prefers-reduced-motion: reduce) {
  .category-nav a, .product-choose { transition: none; }
}

/* Doco 草图：上方通栏标题 + 左 PET / 右 PEOPLE。手机完整区域依次排列。
   首页第二栏至少占满导航以下的一屏，剩余高度交给照片，保留标题和双栏排版。 */
.collections-stage {
  display: flex; flex-direction: column;
  background: linear-gradient(90deg, #ede0cf 50%, #e4e8dd 50%);
  min-height: calc(100svh - var(--site-header-height));
  padding: clamp(28px, 5svh, 64px) 0 0; --stagger: 0px;
}
.collections-stage .section-heading {
  flex: none; margin: 0 24px 36px; text-align: center; transform: none;
}
.collections-stage .eyebrow { justify-content: center; margin-bottom: 16px; }
.collections-stage .collection-intro { max-width: none; margin: 16px 0 0; }
.collections-stage .section-heading h2 { font-size: clamp(34px,3.5vw,50px); }
.collections-scroll.is-scrubbed { height: calc(160svh - var(--site-header-height)); }
.collections-scroll.is-scrubbed .collections-stage {
  position: sticky; top: var(--site-header-height); height: calc(100svh - var(--site-header-height));
  min-height: calc(100svh - var(--site-header-height)); padding: clamp(28px, 5svh, 64px) 0 0;
}
.journey-grid.collection-grid, .collections-stage .journey-grid.collection-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch;
  transform: none;
}
.journey-grid .collection-card, .collections-stage .journey-grid .collection-card {
  display: flex; flex-direction: column; margin: 0; opacity: 1; transform: none;
  background: #ede0cf;
}
.journey-grid .collection-card[data-collection="wedding"] { background: #e4e8dd; }
.journey-grid .collection-card .image-wrap { flex: none; }
.journey-grid .collection-card .image-wrap>img,
.collections-stage .journey-grid .collection-card .image-wrap>img {
  height: clamp(240px,34svh,380px); aspect-ratio: auto; max-height: none;
  transform: none; object-position: center 55%;
}
/* 只让首页照片填满本栏余下的高度，Diamonds 入口继续使用自身的卡片尺寸。 */
.collections-stage .journey-grid.collection-grid { flex: 1; width: 100%; }
.collections-stage .journey-grid .collection-card .image-wrap {
  flex: 1; min-height: clamp(150px, 22svh, 280px);
}
.collections-stage .journey-grid .collection-card .image-wrap>img {
  position: absolute; inset: 0; height: 100%;
}
.journey-grid .collection-card .collection-label,
.collections-stage .journey-grid .collection-card .collection-label {
  display: flex; flex: 1; flex-direction: column; align-items: center;
  padding: 26px 24px 30px; text-align: center; gap: 0;
}
.journey-grid .collection-label::before, .journey-grid .collection-label::after { content: none; }
.collections-stage .journey-grid .collection-card .collection-label { flex: none; }
.journey-grid .collection-card h3 { font: 32px/1.2 var(--display); margin: 0 0 10px; letter-spacing: .05em; }
.journey-grid .collection-card .collection-subtitle { font: 22px/1.4 var(--display); margin: 0 0 18px; }
.journey-grid .collection-card .collection-description { max-width: 330px; margin: 0 0 24px; font: 14px/1.8 var(--sans); text-wrap: wrap; }
.journey-grid .collection-card .collection-arrow {
  display: inline-flex; align-items: center; gap: 16px; margin-top: auto;
  padding: 10px 0; min-height: 44px; color: var(--heading);
  border-bottom: 1px solid currentColor; font: 16px var(--sans);
}
.journey-grid .collection-card:focus-visible { outline: 2px solid var(--heading); outline-offset: -4px; }
.journey-grid .collection-card:hover .collection-arrow { transform: translateX(3px); }
.journey-next { padding: 28px 24px; text-align: center; font-size: 14px; }
.journey-title { padding: 40px 24px 32px; }
/* 停留时只移动框内照片与文字，双栏外沿保持齐平；放大余量覆盖照片平移，避免露底。 */
.collections-scroll.is-scrubbed .section-heading {
  transform: translate3d(0, calc(var(--hold, 0) * -8px), 0);
}
.collections-scroll.is-scrubbed .journey-grid .collection-card .image-wrap>img {
  transform: translate3d(0, calc((var(--hold, 0) * 4% - 2%) * var(--journey-pan, 1)), 0)
    scale(calc(1.08 + var(--hold, 0) * .035));
}
.collections-scroll.is-scrubbed .journey-grid .collection-card:nth-child(even) { --journey-pan: -1; }
@media (max-width: 767px) {
  .collections-stage, .collections-scroll.is-scrubbed .collections-stage { display: block; padding: 48px 0 0; background: var(--ivory); }
  .collections-stage .journey-grid .collection-card .collection-label { flex: none; }
  .collections-stage .journey-grid .collection-card .image-wrap { flex: none; min-height: 0; }
  .collections-stage .journey-grid .collection-card .image-wrap>img { position: static; }
  .journey-grid.collection-grid, .collections-stage .journey-grid.collection-grid { grid-template-columns: 1fr; }
  .journey-grid .collection-card, .collections-stage .journey-grid .collection-card {
    min-height: 0;
  }
  .journey-grid .collection-card .image-wrap>img,
  .collections-stage .journey-grid .collection-card .image-wrap>img { height: clamp(230px, 38svh, 380px); max-height: none; }
  .journey-grid .collection-card .collection-label,
  .collections-stage .journey-grid .collection-card .collection-label { justify-content: flex-start; padding: 24px 24px 36px; }
  .journey-grid .collection-card .collection-arrow { margin-top: 0; }
  .journey-title h1 { font-size: clamp(32px,8vw,42px); }
}

/* Technology：背景腔体保持静止，独立合成单元作小幅三维转动。 */
.carbon-chamber { margin: 0; width: 100%; min-width: 0; }
.carbon-chamber-image { position: relative; overflow: hidden; background: #242721; }
.carbon-chamber-image>img { display: block; width: 100%; height: auto; }
.carbon-cell { position: absolute; inset: 0; pointer-events: none; }
.carbon-cell-shadow {
  position: absolute; left: 49.5%; top: 72%; width: 26%; height: 6%;
  transform: translateX(-50%); border-radius: 50%; background: #090b08;
  filter: blur(8px); opacity: .25; visibility: hidden;
}
.carbon-cube-stage {
  position: absolute; left: 49.7%; top: 48.2%; width: 21.8%; aspect-ratio: 1;
  transform: translate(-50%, -50%); perspective: 1000px;
  container-type: inline-size; visibility: hidden;
}
.carbon-cell.is-ready .carbon-cell-shadow { visibility: visible; }
.carbon-cell.is-ready .carbon-cube-stage { visibility: visible; }
.carbon-cube {
  position: relative; width: 100%; height: 100%; transform-style: preserve-3d;
  transform: rotateX(-31deg) rotateY(-45deg);
  animation: carbon-turn 6s ease-in-out infinite;
}
.carbon-cube-face { position: absolute; inset: 0; backface-visibility: hidden; }
.carbon-cube-face canvas { display: block; width: 100%; height: 100%; }
.carbon-cube-front { transform: translateZ(50cqw); }
.carbon-cube-right { transform: rotateY(90deg) translateZ(50cqw); }
.carbon-cube-top { transform: rotateX(90deg) translateZ(50cqw); }
/* Only the foot of each side blends into the photographed pressure seat. */
.carbon-cube-front::before, .carbon-cube-right::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2%; height: 5%;
  background: linear-gradient(transparent, #04080b66 48%, transparent);
  filter: blur(clamp(1px, .5cqw, 2px)); z-index: -1;
}
.carbon-cube-face::after {
  content: ''; position: absolute; inset: 0; background: #101517;
  box-shadow: none;
  animation: carbon-face-light 6s ease-in-out infinite;
}
.carbon-cube-front::after, .carbon-cube-right::after {
  mask-image: linear-gradient(#000 96.5%, transparent);
}
.carbon-cube-right::after { animation-direction: reverse; }
.carbon-cube-top::after { background: #101517; opacity: .02; animation: none; }
.carbon-cell .carbon-cube, .carbon-cell .carbon-cube-face::after { animation-play-state: paused; }
.carbon-cell.is-visible:not(.is-page-hidden) .carbon-cube,
.carbon-cell.is-visible:not(.is-page-hidden) .carbon-cube-face::after { animation-play-state: running; }
@keyframes carbon-turn {
  0%, 100% { transform: rotateX(-31deg) rotateY(-49deg); }
  50% { transform: rotateX(-31deg) rotateY(-41deg); }
}
@keyframes carbon-face-light {
  0%, 100% { opacity: .02; }
  50% { opacity: .035; }
}
.carbon-outline { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.carbon-outline-base { stroke: #fdfbf7; stroke-width: 1; opacity: .35; }
.carbon-outline-trace {
  stroke: #d4ad71; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: carbon-trace 8s ease-in-out infinite;
}
@keyframes carbon-trace {
  0%, 8% { stroke-dashoffset: 1; opacity: .3; }
  65%, 85% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
.carbon-symbol { position: absolute; top: 22px; left: 22px; color: var(--paper); font: 42px/1 var(--sans); }
.carbon-symbol small { display: block; font: 12px var(--sans); margin-bottom: 6px; }
.carbon-symbol>span { display: block; font: 8px var(--sans); letter-spacing: .2em; margin-top: 8px; }
.carbon-chamber figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 16px 0; font: 10px/1.6 var(--sans); letter-spacing: .08em; color: var(--muted); }
.technology-detail { align-items: start; }
.technology-detail .technology-scene { position: sticky; top: 104px; aspect-ratio: auto; max-width: none; }
.technology-reference-values { margin: 22px 0; border-top: 1px solid var(--line); }
.technology-reference-values>div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.technology-reference-values dt { font: 12px var(--sans); color: var(--muted); }
.technology-reference-values dd { margin: 0; font: 19px var(--sans); color: var(--heading); }
.technology-lab-stage,
.technology-scroll.is-scrubbed .technology-lab-stage {
  display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); gap: clamp(36px,5vw,80px);
  padding: 110px var(--page-gutter) 80px; align-items: center;
}
.technology-lab-stage .technology-copy { max-width: 360px; margin-left: 0; }
.technology-lab-stage .technology-copy .eyebrow { margin-bottom: 24px; }
.technology-lab-stage .technology-copy h2 { line-height: 1.16; margin-bottom: 24px; }
.technology-lab-stage .technology-copy>p:not(.eyebrow) { max-width: 34ch; font-size: 15px; line-height: 1.8; margin-bottom: 0; }
.technology-lab-stage .technology-copy .text-link { margin-top: 28px; }
@media (max-width: 767px) {
  .technology-detail .technology-scene { position: static; width: 100%; margin-bottom: 44px; }
  .technology-lab-stage,
  .technology-scroll.is-scrubbed .technology-lab-stage {
    display: flex; flex-direction: column; min-height: 0; height: auto;
    padding: 64px 24px; gap: 36px;
  }
  .technology-lab-stage .technology-copy { max-width: 100%; }
  .technology-lab-stage .technology-copy>p:not(.eyebrow) { margin-inline: auto; }
  .carbon-symbol { top: 16px; left: 16px; font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .carbon-cell .carbon-cube { animation: none; transform: rotateX(-31deg) rotateY(-45deg); }
  .carbon-cell .carbon-cube-face::after { animation: none; opacity: .06; }
  .carbon-outline-trace { animation: none; stroke-dashoffset: 0; opacity: 1; }
}

/* Contact：联系方式与留言表单，使用同一暖色纸面、细线与品牌字体。 */
.contact-page-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(40px,7vw,100px); padding-bottom: 100px; }
.contact-details h2 { font-size: clamp(28px,3vw,40px); }
.contact-details>p:not(.eyebrow) { max-width: 420px; }
.contact-details dl { margin: 32px 0 40px; border-top: 1px solid var(--line); }
.contact-details dl>div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-details dt { font: 11px var(--sans); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.contact-details dd { margin: 0; overflow-wrap: anywhere; font-size: 15px; }
.contact-details dd small { display: block; color: var(--muted); margin-top: 8px; font-size: 12px; }
.contact-details .footer-social { margin: 20px 0; grid-template-columns: repeat(2,max-content); }
.contact-details .social-channel { color: var(--heading); }
.contact-form { padding: 32px; background: var(--paper); border: 1px solid var(--line); min-width: 0; }
.contact-form h2 { font-size: 28px; margin-bottom: 12px; }
.contact-form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-field { display: flex; flex-direction: column; gap: 10px; margin: 22px 0; font: 13px/1.5 var(--sans); }
.contact-field input, .contact-field select, .contact-field textarea {
  width: 100%; min-height: 48px; padding: 12px; border: 1px solid var(--line); border-radius: 0;
  background: var(--ivory); color: var(--ink); font: 15px/1.5 var(--sans);
}
.contact-field textarea { resize: vertical; }
.contact-field input:focus-visible, .contact-field select:focus-visible, .contact-field textarea:focus-visible { outline: 2px solid var(--heading); outline-offset: 2px; }
.contact-field [aria-invalid="true"] { border-color: #995b42; }
.contact-field-error { color: #995b42; font-size: 12px; }
.contact-form-notice { min-height: 26px; margin: 20px 0 0; font: 13px/1.8 var(--sans); color: #995b42; }
.contact-form-notice.is-saved { color: #536149; }
@media (max-width: 900px) { .contact-form-pair { grid-template-columns: 1fr; gap: 0; } }
@media (max-width: 767px) {
  .contact-page-layout { grid-template-columns: 1fr; padding-bottom: 64px; gap: 36px; }
  .contact-form { padding: 24px 18px; }
}
