/* ==========================================================================
   COMMA 克默 — 官网样式
   内核：明心见性（思想，不外露）· 发心
   版面参照：SHANGXIA —— 大图编辑式、留白、克制的字
   ========================================================================== */

:root {
  --paper:      #FBFAF7;   /* 玉尘白 */
  --paper-2:    #F2EFE8;
  --paper-3:    #E8E4DA;
  --ink:        #191817;
  --ink-soft:   #4E4A44;
  --ink-faint:  #918B80;
  --line:       #E2DED4;

  /* 品牌强调色 · 暖墨金（原「凝光紫」已废止） */
  --accent:     #A8763A;
  --accent-dk:  #7A5426;
  /* 四季色 · 已核对古籍出处，勿改 */
  --spring:     #8F9F97;   /* 春 苍筤绿 ——《周易·说卦》「震为苍筤竹」 */
  --summer:     #6B3B38;   /* 夏 茜草红 ——《诗经》「缟衣茹藘」 */
  --autumn:     #F0E0C6;   /* 秋 缃叶黄 ——《释名》「如桑叶初生之色」 */
  --winter:     #F4F4F3;   /* 冬 玉尘白 —— 白居易「东风散玉尘」 */

  --serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC",
           "SimSun", "Times New Roman", serif;
  --sans:  "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
           -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --latin: "Optima", "Times New Roman", Georgia, serif;

  --ease: cubic-bezier(.19,1,.22,1);
  --gut: clamp(24px, 5.5vw, 88px);
  --maxw: 1560px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 2.05;
  letter-spacing: .045em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

/* ---------- 版心 ---------- */
.wrap  { width: min(100% - var(--gut) * 2, var(--maxw)); margin-inline: auto; }
.narrow{ width: min(100% - var(--gut) * 2, 680px);        margin-inline: auto; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--gut);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.3) blur(16px);
  -webkit-backdrop-filter: saturate(1.3) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .6s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); }

.nav__brand { display: flex; align-items: center; gap: 14px; }
.nav__mark  { width: 30px; height: 30px; flex: none; }
.nav__word  {
  font-family: var(--latin); font-size: 17px;
  letter-spacing: .42em; text-transform: uppercase; padding-left: .42em;
  line-height: 1;
}
.nav__cn {
  display: block; font-family: var(--sans); font-size: 9.5px;
  letter-spacing: .5em; color: var(--ink-faint);
  margin-top: 6px; padding-left: .1em;
}

.nav__links { display: flex; gap: clamp(16px, 2.6vw, 44px); }
.nav__links a {
  font-size: 13.5px; letter-spacing: .22em; color: var(--ink-soft);
  padding-block: 4px; position: relative; transition: color .4s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--ink); transition: width .5s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }
.nav__toggle { display: none; }

/* ---------- 满幅影像 ---------- */
.bleed { width: 100%; overflow: hidden; background: var(--paper-2); }
.bleed img { width: 100%; height: 100%; object-fit: cover; }
.bleed--hero  { height: 45.42vw; }   /* = 1090/2400，与首屏图同比例，永不裁切 */
.bleed--tall  { height: clamp(420px, 68vw, 860px); }
.bleed--mid   { height: clamp(340px, 46vw, 620px); }

/* 首屏叠加 */
.hero { position: relative; }
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,16,.20) 0%, rgba(20,18,16,0) 34%, rgba(20,18,16,.30) 100%);
}
.hero__plate {
  position: absolute; left: 0; right: 0; bottom: clamp(40px, 7vw, 90px);
  text-align: center; color: #fff;
}
.hero__mark { width: clamp(52px, 5.6vw, 74px); margin: 0 auto clamp(20px, 2.6vw, 30px); }
.hero__t {
  font-size: clamp(15px, 1.7vw, 19px); font-weight: 400;
  letter-spacing: .56em; text-indent: .56em;
  text-shadow: 0 1px 24px rgba(0,0,0,.32);
}
.hero__en {
  font-family: var(--latin); font-size: 11px; letter-spacing: .5em;
  text-indent: .5em; opacity: .8; margin-top: 14px;
}

/* ---------- 编辑式分栏 ---------- */
.ed { display: grid; gap: clamp(28px, 6vw, 96px); align-items: center; }
.ed--7-5 { grid-template-columns: 7fr 5fr; }
.ed--5-7 { grid-template-columns: 5fr 7fr; }
.ed--txt { align-items: start; }

.ed__media img { width: 100%; }
.ed__media--tint { background: var(--paper-2); }

/* 文字栏 */
.label {
  font-family: var(--sans); font-size: 10.5px;
  letter-spacing: .52em; text-transform: uppercase;
  color: var(--ink-faint); margin: 0 0 clamp(20px, 2.4vw, 30px);
}
.label--cn { letter-spacing: .5em; text-transform: none; font-size: 11.5px; }

.h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 400; letter-spacing: .12em; line-height: 1.62; margin: 0; }
.h2 { font-size: clamp(23px, 2.9vw, 34px); font-weight: 400; letter-spacing: .11em; line-height: 1.72; margin: 0; }
.h3 { font-size: clamp(17px, 1.7vw, 20px); font-weight: 400; letter-spacing: .2em;  line-height: 1.8;  margin: 0; }

.prose p {
  margin: 0; font-size: clamp(15px, 1.35vw, 16.5px);
  line-height: 2.3; letter-spacing: .06em; color: var(--ink-soft);
}
.prose p + p { margin-top: 1.55em; }
.prose strong { font-weight: 400; color: var(--ink); }
.prose { margin-top: clamp(22px, 2.6vw, 34px); }

/* 链接 */
.more {
  display: inline-block; margin-top: clamp(28px, 3.2vw, 44px);
  font-family: var(--sans); font-size: 12px; letter-spacing: .34em;
  color: var(--ink); padding-bottom: 7px; border-bottom: 1px solid var(--ink);
  transition: opacity .4s var(--ease);
}
.more:hover { opacity: .5; }

/* ---------- 段落节奏 ---------- */
.sec      { padding-block: clamp(84px, 11vw, 172px); }
.sec--sm  { padding-block: clamp(56px, 7vw, 108px); }
.sec--tint{ background: var(--paper-2); }
.sec--tight-top { padding-top: 0; }

/* ---------- 三联 / 四联 ---------- */
.trio, .quad { display: grid; gap: clamp(14px, 2vw, 34px); }
.trio { grid-template-columns: repeat(3, 1fr); }
.quad { grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 26px); }
.trio figure, .quad figure { margin: 0; }
.trio img, .quad img { width: 100%; background: var(--paper-2); }
.trio figure > img { aspect-ratio: 3 / 4; object-fit: cover; }
.trio figcaption, .quad figcaption {
  margin-top: 18px; font-size: 14px; letter-spacing: .16em; color: var(--ink);
  display: flex; justify-content: space-between; gap: 12px;
}
.trio figcaption span, .quad figcaption span {
  font-family: var(--sans); font-size: 11.5px; letter-spacing: .2em; color: var(--ink-faint);
}
.quad figcaption { font-size: 13px; letter-spacing: .14em; }
.quad figcaption span { font-size: 11px; letter-spacing: .16em; }

/* ---------- 四栏（字库） ---------- */
.quartet { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.q { padding: clamp(28px, 3.4vw, 46px) clamp(18px, 2vw, 30px); border-top: 1px solid var(--line); }
.q + .q { border-left: 1px solid var(--line); }
.q__n { font-size: clamp(38px, 4.2vw, 58px); line-height: 1.2; letter-spacing: .12em; margin: 0 0 18px; }
.q__t { font-size: 15px; letter-spacing: .3em; margin: 0 0 12px; }
.q__d { font-family: var(--sans); font-size: 13px; letter-spacing: .1em; color: var(--ink-faint); margin: 0; line-height: 2; }

/* ---------- 引句 ---------- */
.quote {
  margin: clamp(56px, 7vw, 96px) 0 0; text-align: center;
  font-size: clamp(19px, 2.3vw, 27px); letter-spacing: .3em;
  text-indent: .3em; line-height: 2.1; color: var(--ink);
}

/* ---------- 说明小字 ---------- */
.note {
  margin-top: clamp(28px, 3.4vw, 44px);
  font-family: var(--sans); font-size: 11.5px;
  letter-spacing: .08em; color: var(--ink-faint); line-height: 2;
}

/* ---------- 按钮 ---------- */
.btn-line {
  display: inline-block; padding: 15px 42px;
  border: 1px solid var(--ink); font-family: var(--sans);
  font-size: 12px; letter-spacing: .34em; color: var(--ink);
  transition: background .5s var(--ease), color .5s var(--ease);
}
.btn-line:hover { background: var(--ink); color: var(--paper); }

/* ---------- 页脚 ---------- */
.foot {
  border-top: 1px solid var(--line);
  padding-block: clamp(56px, 7vw, 92px) clamp(30px, 4vw, 46px);
}
.foot__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 4vw, 64px); align-items: start;
}
.foot__id { display: flex; align-items: center; gap: 16px; }
.foot__mark { width: 34px; }
.foot__brand { font-size: 14px; letter-spacing: .3em; }
.foot__meta { font-family: var(--sans); font-size: 12px; line-height: 2.1; color: var(--ink-faint); letter-spacing: .08em; }
.foot__links { display: flex; flex-direction: column; gap: 12px; }
.foot__links a { font-size: 13px; letter-spacing: .22em; color: var(--ink-soft); }
.foot__links a:hover { color: var(--ink); }
.foot__base {
  margin-top: clamp(44px, 5.5vw, 72px); padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--sans); font-size: 11px; letter-spacing: .18em;
  color: var(--ink-faint); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ---------- 入场 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 移动 ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: 0; padding: 8px; cursor: pointer;
  }
  .nav__toggle span { display: block; width: 22px; height: 1px; background: var(--ink); }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--paper);
    padding: 26px var(--gut) 34px; gap: 22px; border-bottom: 1px solid var(--line);
  }
  .ed--7-5, .ed--5-7 { grid-template-columns: 1fr; }
  .trio { grid-template-columns: 1fr; }
  .quad { grid-template-columns: repeat(2, 1fr); }
  .quartet { grid-template-columns: repeat(2, 1fr); }
  .q:nth-child(3) { border-left: 0; }
  .foot__grid { grid-template-columns: 1fr; }
  .bleed--hero { height: 125vw; }
  .hero__t { letter-spacing: .3em; text-indent: .3em; }
}

/* ---------- 定制流程 ---------- */
.steps { margin-top: clamp(28px,3.4vw,44px); }
.step {
  padding-block: clamp(20px,2.4vw,28px);
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__t { font-size: 16px; font-weight: 400; letter-spacing: .24em; margin: 0 0 9px; }
.step__d { font-family: var(--sans); font-size: 13.5px; line-height: 2.05; letter-spacing: .06em; color: var(--ink-faint); margin: 0; }

/* ---------- 包装色 ---------- */
.boxes { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(14px,2vw,34px); margin-top: clamp(36px,4.4vw,60px); }
.boxes figure { margin: 0; }
.boxes img { width: 100%; background: var(--paper-2); }
.boxes figcaption { margin-top: 16px; font-size: 14px; letter-spacing: .18em; color: var(--ink-soft); }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.contact-cell { padding: clamp(30px,4vw,54px); border-top: 1px solid var(--line); }
.contact-cell + .contact-cell { border-left: 1px solid var(--line); }
.contact-cell .k {
  font-family: var(--sans); font-size: 10.5px; letter-spacing: .5em;
  text-transform: uppercase; color: var(--ink-faint); margin: 0 0 16px;
}
.contact-cell .v { font-size: clamp(18px,2vw,23px); letter-spacing: .14em; margin: 0; color: var(--ink); }

/* ---------- 表单 ---------- */
.field { display: block; }
.field span {
  display: block; font-family: var(--sans); font-size: 11.5px;
  letter-spacing: .3em; color: var(--ink-faint); margin-bottom: 12px;
}
.field input, .field textarea {
  width: 100%; background: transparent; border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 0; font-family: var(--serif); font-size: 16px;
  letter-spacing: .06em; color: var(--ink); outline: none;
  transition: border-color .4s var(--ease);
}
.field input:focus, .field textarea:focus { border-bottom-color: var(--ink); }
.field textarea { resize: vertical; line-height: 2; }

@media (max-width: 900px) {
  .boxes { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-cell + .contact-cell { border-left: 0; }
}

/* 首屏遮罩加强（浅色产品图上压白字） */
.hero__veil {
  background:
    linear-gradient(180deg, rgba(16,14,12,.34) 0%, rgba(16,14,12,.04) 30%, rgba(16,14,12,.10) 55%, rgba(16,14,12,.52) 100%);
}
.hero__t { text-shadow: 0 2px 30px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.35); }
.hero__en { text-shadow: 0 1px 16px rgba(0,0,0,.5); }

/* ---------- 首屏 · 左右分栏（甲） ---------- */
.hero--split .hero__side { position: absolute; top: 50%; transform: translateY(-50%); max-width: 27%; }
.hero__side--l { left: var(--gut); text-align: left; }
.hero__side--r { right: var(--gut); text-align: right; }
.hero__side p { margin: 0; font-size: clamp(13px, 1.15vw, 17px); line-height: 1.9; letter-spacing: .06em; color: #fff; }
.hero__side p + p { color: rgba(255,255,255,.72); }

.hero--split .hero__plate { display: none; }

.hero__foot {
  position: absolute; left: var(--gut); right: var(--gut);
  bottom: clamp(28px, 4.4vw, 58px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.hero__brand .hero__t { font-size: clamp(17px, 1.9vw, 27px); letter-spacing: .16em; color: #fff; margin: 0; }
.hero__brand .hero__en { margin-top: 11px; font-family: var(--latin); font-size: 10.5px; letter-spacing: .42em; color: rgba(255,255,255,.68); }
.hero__mark--br { width: clamp(26px, 2.4vw, 34px); margin: 0; opacity: .96; flex: none; }

.hero--split .hero__veil {
  background:
    linear-gradient(90deg, rgba(16,12,12,.60) 0%, rgba(16,12,12,0) 27%,
                    rgba(16,12,12,0) 73%, rgba(16,12,12,.60) 100%),
    linear-gradient(180deg, rgba(20,18,16,.14) 0%, rgba(20,18,16,0) 32%,
                    rgba(16,12,12,.46) 100%);
}

@media (max-width: 760px) {
  .hero--split .hero__side { position: static; max-width: none; transform: none; padding: 0 var(--gut); text-align: center; }
  .hero--split .hero__side--r { display: none; }
  .hero--split .hero__side--l { position: absolute; top: auto; bottom: 34%; left: 0; right: 0; }
  .hero__foot { flex-direction: column; align-items: center; text-align: center; }
}

/* 首屏 · 莲花灯：标记在下，作为品牌签名 */
.hero__plate { bottom: clamp(22px, 2.8vw, 40px); }
.hero__plate .hero__mark { width: clamp(44px, 4.3vw, 62px); }

/* 首屏 · 标记下的中文名 */
.hero__plate .hero__cn {
  font-family: var(--serif); font-size: clamp(17px, 1.65vw, 24px);
  letter-spacing: .28em; text-indent: .28em; color: #fff; margin-top: 15px;
}
.hero__plate .hero__en {
  margin-top: 10px; font-size: clamp(10.5px, 0.78vw, 12px); letter-spacing: .42em;
}

/* 页脚 · 法定信息 */
.foot__legal {
  margin-top: 12px; padding-top: 0;
  font-family: var(--sans); font-size: 11px; letter-spacing: .14em;
  color: var(--ink-faint); display: flex; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}

/* ---------- 系列入口（首页用：是"门"，不是"房间"） ---------- */
.lines { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3.2vw, 52px); }
.line-card { display: block; color: inherit; }
.line-card__media { overflow: hidden; background: var(--paper-2); }
.line-card__media img { width: 100%; display: block; transition: transform .9s var(--ease); }
.line-card:hover .line-card__media img { transform: scale(1.025); }
.line-card__no { font-family: var(--sans); font-size: 10.5px; letter-spacing: .5em;
  text-transform: uppercase; color: var(--ink-faint); margin: 22px 0 8px; }
.line-card__t { font-family: var(--serif); font-size: clamp(21px, 2.1vw, 30px);
  letter-spacing: .16em; color: var(--ink); margin: 0 0 12px; }
.line-card__d { font-size: 14px; line-height: 1.95; color: var(--ink-soft); margin: 0 0 18px; max-width: 30em; }
.line-card__go { font-size: 11.5px; letter-spacing: .28em; color: var(--ink-faint);
  border-bottom: 1px solid var(--line); padding-bottom: 6px; }
@media (max-width: 760px) { .lines { grid-template-columns: 1fr; } }

/* ---------- 首页三个入口（满幅三等分，长方块） ---------- */
.gates { width: min(100% - var(--gut) * 2, 1240px); margin-inline: auto;
         display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 30px); }
.gate { position: relative; display: block; overflow: hidden; background: #1A1512;
        aspect-ratio: 3 / 2; color: #fff; text-decoration: none; }
.gate img { position: absolute; inset: 0; width: 100%; height: 100%;
        object-fit: cover; opacity: .92; transition: transform 1.1s var(--ease), opacity .6s var(--ease); }
.gate:hover img { transform: scale(1.035); opacity: 1; }
.gate::after { content: ""; position: absolute; inset: 0;
        background: linear-gradient(180deg, rgba(16,12,10,0) 38%, rgba(16,12,10,.62) 100%); }
.gate__in { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
        padding: clamp(22px, 2.6vw, 42px) clamp(20px, 2.4vw, 40px); }
.gate__en { font-family: var(--sans); font-size: 10px; letter-spacing: .48em;
        text-transform: uppercase; color: rgba(255,255,255,.62); margin: 0 0 10px; }
.gate__t { font-family: var(--serif); font-size: clamp(19px, 1.9vw, 27px);
        letter-spacing: .2em; margin: 0; color: #fff; font-weight: 400; }
@media (max-width: 860px) {
  .gates { grid-template-columns: 1fr; }
  .gate { aspect-ratio: 16 / 10; }
}

/* 两个系列并列（器物页）：两块更大 */
.gates--two { grid-template-columns: repeat(2, 1fr); width: min(100% - var(--gut) * 2, 1400px); }
.gates--two .gate { aspect-ratio: 16 / 11; }
@media (max-width: 860px) { .gates--two { grid-template-columns: 1fr; } }

/* ---------- 系列轮播（左图右文，自动切换） ---------- */
.rot { display: grid; }
.rot__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden;
  transition: opacity 1s var(--ease), visibility 1s var(--ease);
  display: grid; grid-template-columns: 7fr 5fr; gap: clamp(26px, 4.2vw, 72px); align-items: center; }
.rot__slide.is-on { opacity: 1; visibility: visible; }
.rot__media { overflow: hidden; background: var(--paper-2); }
.rot__media img { width: 100%; display: block; }
.rot__dots { display: flex; gap: 10px; justify-content: center; margin-top: clamp(28px, 3.4vw, 46px); }
.rot__dot { width: 34px; height: 2px; background: var(--line); border: 0; padding: 0;
  cursor: pointer; transition: background .4s var(--ease); }
.rot__dot.is-on { background: var(--ink-soft); }
@media (max-width: 860px) {
  .rot__slide { grid-template-columns: 1fr; gap: 22px; }
}

/* ---------- 系列行（每系列一行；左图自动轮换，右文） ---------- */
.srow { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4.4vw, 76px); align-items: center; }
.srow__media { position: relative; overflow: hidden; background: var(--paper-2); aspect-ratio: 3 / 4; }   /* = 照片原生比例，零裁切 */
.srow__media img { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; opacity: 0; transition: opacity .9s var(--ease); }
.srow__media img.is-on { opacity: 1; }
@media (max-width: 860px) { .srow { grid-template-columns: 1fr; gap: 22px; } }



/* ---------- 祥云纹底（定制页） ---------- */
.sec--cloud {
  background:
    linear-gradient(rgba(252,250,245,.80), rgba(252,250,245,.86)),
    url("pattern-cloud.jpg") center / cover no-repeat;
}

/* ---------- 祥云纹 · 全站覆盖层 ---------- */
/* 固定铺满整个视口，包括边角；multiply 混合：白底显纹理，暗底与图片上自动隐去 */
body::after {
  content: "";
  position: fixed; inset: 0;
  background: url("pattern-cloud.jpg") center / cover no-repeat;
  mix-blend-mode: multiply;
  opacity: .13;
  pointer-events: none;
  z-index: 9999;
}
@media (prefers-reduced-motion: no-preference) { body::after { will-change: auto; } }

/* ---------- 首屏 · 流水 ---------- */
/* ① 画面极缓起伏（灯在水上漂） */
.hero .bleed--hero img {
  /* 起伏动画已停用（回到最初静止状态）；如需启用，取消下一行注释 */
  /* animation: heroBob 11s ease-in-out infinite alternate; transform-origin: 50% 60%; */
}
@keyframes heroBob {
  from { transform: translateY(0) scale(1); }
  to   { transform: translateY(-7px) scale(1.004); }
}

/* ② 两层水光，不同速度与方向，叠出深度 */
.hero__water { position: absolute; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.hero__water::before,
.hero__water::after {
  content: ""; position: absolute; inset: -10%;
  background-image: url("caustics.png");
  background-repeat: repeat;
  mix-blend-mode: screen;
}
.hero__water::before { display: none; }   /* 程序水光不可用，改走视频方案 */
.hero__water::after { display: none; }
@keyframes waterFlowA {
  from { background-position: 0 0; }
  to   { background-position: -1000px 60px; }
}
@keyframes waterFlowB {
  from { background-position: 0 0; }
  to   { background-position: 640px -40px; }
}
/* 无障碍：整幅画面位移（易致不适）在减弱动态时停用；
   水光流动是低对比、极缓慢的背景纹理，保留 */
@media (prefers-reduced-motion: reduce) {
  .hero .bleed--hero img { animation: none; }
  .hero__water::before { animation-duration: 48s; }
  .hero__water::after  { animation-duration: 34s; }
}

/* ---------- 双杯陈列（器物页） ---------- */
.duo { display: grid; grid-template-columns: repeat(2, 1fr);
       gap: clamp(16px, 2.6vw, 46px); }
.duo figure { margin: 0; }
.duo img { width: 100%; display: block; aspect-ratio: 3 / 4; object-fit: cover; }
.duo figcaption { margin-top: 16px; font-family: var(--serif);
                  font-size: clamp(15px, 1.35vw, 19px); letter-spacing: .14em; color: var(--ink); }
.duo figcaption span { display: inline-block; margin-left: 12px;
                       font-family: var(--sans); font-size: 12px; letter-spacing: .08em; color: var(--ink-faint); }
@media (max-width: 780px) { .duo { grid-template-columns: 1fr; } }

/* 预留格（未定，占位但不显示） */
.slot { width: 100%; aspect-ratio: 3 / 4; background: transparent; }

/* ---------- 三个平台（品牌页底部） ---------- */
.plats { display: flex; justify-content: center; gap: clamp(20px, 4vw, 56px);
         margin-top: clamp(34px, 4vw, 56px); flex-wrap: wrap; }
.plats a { display: block; text-align: center; text-decoration: none; }
.plats img { width: clamp(96px, 11vw, 132px); height: auto; display: block;
             border-radius: 6px; }
.plats span { display: block; margin-top: 14px; font-family: var(--sans);
              font-size: 12px; letter-spacing: .18em; color: var(--ink-faint); }

/* ---------- 三个系列 · 倒三角（上2 下1） ---------- */
.gates--tri { grid-template-columns: repeat(2, 1fr); }
.gates--tri .gate { aspect-ratio: 16 / 11; }
.gates--tri .gate:nth-child(3) {
  grid-column: 1 / -1;
  width: calc(50% - (clamp(14px, 1.8vw, 30px)) / 2);
  margin-inline: auto;
}
@media (max-width: 860px) {
  .gates--tri { grid-template-columns: 1fr; }
  .gates--tri .gate:nth-child(3) { width: 100%; }
}

/* ---------- 定制选配器 ---------- */
.cfg { margin-top: clamp(34px, 4vw, 52px); border-top: 1px solid var(--line); }
.cfg__row { display: grid; grid-template-columns: 76px 1fr; gap: clamp(14px,2.4vw,34px);
            align-items: start; padding: clamp(18px,2.2vw,26px) 0; border-bottom: 1px solid var(--line); }
.cfg__k { font-family: var(--sans); font-size: 12px; letter-spacing: .28em; color: var(--ink-faint); padding-top: 7px; }
.cfg__opts { display: flex; flex-wrap: wrap; gap: 10px; }
.cfg__opt { font-family: var(--serif); font-size: 15px; letter-spacing: .06em;
            padding: 8px 16px; border: 1px solid var(--line); background: none; cursor: pointer;
            color: var(--ink-soft); transition: all .35s var(--ease); border-radius: 2px; }
.cfg__opt:hover { border-color: var(--ink-faint); color: var(--ink); }
.cfg__opt.is-on { border-color: var(--ink); color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.cfg__opt small { font-family: var(--sans); font-size: 10.5px; letter-spacing: .1em;
                  color: var(--accent); margin-left: 6px; }
.cfg__note { font-family: var(--sans); font-size: 12px; color: var(--ink-faint); margin-top: 10px; letter-spacing: .06em; }
@media (max-width: 640px) { .cfg__row { grid-template-columns: 1fr; gap: 10px; } .cfg__k { padding-top: 0; } }

/* ---------- 选配单 · 顶奢版（竖排 / 细线 / 大字） ---------- */
.cfg { margin-top: clamp(30px,4vw,48px); }
.cfg__row { padding: clamp(24px,3.2vw,42px) 0; border-top: 1px solid var(--line); }
.cfg__row:last-child { border-bottom: 1px solid var(--line); }
.cfg__k { font-family: var(--sans); font-size: 11px; letter-spacing: .42em;
          color: var(--ink-faint); margin: 0 0 clamp(14px,1.8vw,22px); }
.cfg__opts { display: flex; flex-wrap: wrap; gap: clamp(20px,3vw,52px); }
.cfg__opt { font-family: var(--serif); font-size: clamp(17px,1.6vw,21px);
            letter-spacing: .1em; background: none; border: 0; padding: 0 0 6px;
            color: var(--ink-faint); cursor: pointer; position: relative;
            transition: color .4s var(--ease); }
.cfg__opt::after { content:""; position:absolute; left:0; bottom:0; height:1px; width:0;
                   background: var(--ink); transition: width .45s var(--ease); }
.cfg__opt:hover { color: var(--ink-soft); }
.cfg__opt.is-on { color: var(--ink); }
.cfg__opt.is-on::after { width: 100%; }
.cfg__opt small { font-family: var(--sans); font-size: 10.5px; letter-spacing: .12em;
                  color: var(--accent); margin-left: 8px; vertical-align: 2px; }

.cfg__opt.sw { display:inline-flex; align-items:center; gap:9px; }
.cfg__opt.sw i { width:15px; height:15px; border-radius:50%; display:inline-block;
                 border:1px solid rgba(0,0,0,.12); flex:none; }

/* ---------- 门内文字：三行，全部贴左下，无缩进 ---------- */
.gate__en { font-family: var(--sans); font-size: 10px; letter-spacing: .48em;
            text-transform: uppercase; color: rgba(255,255,255,.62);
            margin: 0 0 10px; text-align: left; text-indent: 0; }
.gate__t { font-family: var(--serif); font-size: clamp(19px, 1.9vw, 27px);
           letter-spacing: .2em; margin: 0; color: #fff; font-weight: 400;
           text-align: left; text-indent: 0; }
.gate__sub { font-family: var(--serif); font-size: clamp(13px, 1.05vw, 15px);
             letter-spacing: .34em; color: rgba(240,236,228,.62);
             margin: 8px 0 0; text-indent: 0; text-align: left;
             text-shadow: 0 1px 14px rgba(0,0,0,.55); }


/* ---------- 首页 · 克默其人 · 五棱（黑底 + 斜光 + 心莲） ---------- */
#gateMaison { background: #050505; }
.gate .cut { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.gate .cut span { position:absolute; top:-32%; width:1px; height:164%;
  background:linear-gradient(180deg, transparent, rgba(236,243,252,.82), transparent);
  transform: rotate(26deg) translateX(-60vw); opacity:0;
  transition: transform 1.55s cubic-bezier(.2,.7,.3,1), opacity .5s ease; }
.gate.is-on .cut span { transform: rotate(26deg) translateX(0); opacity:1; }
.gate .cut span:nth-child(1){ left:36%; transition-delay:.04s }
.gate .cut span:nth-child(2){ left:48%; transition-delay:.12s }
.gate .cut span:nth-child(3){ left:59%; transition-delay:.20s }
.gate .cut span:nth-child(4){ left:71%; transition-delay:.28s }
.gate .cut span:nth-child(5){ left:85%; transition-delay:.36s }

.gate .logo { position:absolute; left:0; top:50%; width:46%; aspect-ratio:1;
  transform:translate(-40%,-50%) rotate(0deg); pointer-events:none; z-index:3;
  transition:transform 2.6s cubic-bezier(.55,.06,.35,1); will-change:transform; }
.gate .logo img { width:100%; height:100%; object-fit:contain; display:block;
  filter:drop-shadow(0 0 26px rgba(206,222,244,.40)); opacity:.9; }
.gate.is-on .logo { transform:translate(-40%,-50%) rotate(360deg); }
