/* ============================================================
   sections.css — 论述 / 工艺 / 品牌 / 联系 / 页脚
   ============================================================ */

/* ---------- 通用小标题 ---------- */

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}

.sec-head__side {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.sec-head__title { max-width: 22ch; }

.sec-head__body { padding-top: 6px; }

@media (max-width: 900px) {
  .sec-head { grid-template-columns: 1fr; gap: 26px; }
  .sec-head__side { position: static; }
}

/* ---------- 论述（大字） ---------- */

.statement {
  background: var(--c-paper);
  color: var(--ink-on-light);
  padding-block: clamp(110px, 18vh, 220px);
  overflow: hidden;
}

.statement__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.statement__mark {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(29, 29, 31, 0.4);
  text-transform: uppercase;
  margin-bottom: clamp(30px, 6vh, 64px);
}

.statement__text {
  font-size: clamp(26px, 4.4vw, 62px);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.03em;
  color: var(--ink-on-light);
  max-width: 23ch;
}

.statement__text .accent { color: rgba(29, 29, 31, 0.3); }

.statement__text .line-mask > span { padding-bottom: 0.08em; }

.statement__foot {
  margin-top: clamp(36px, 6vh, 70px);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px 30px;
  flex-wrap: wrap;
}

/* 中文按全角字宽排，23em 可容纳整句，避免“心。”这类孤字换行 */
.statement__foot p {
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(29, 29, 31, 0.52);
  max-width: 23em;
}

/* 一条极细的分割线：单独占一行，完整贯穿版心 */
.statement__rule {
  order: 3;
  flex: 0 0 100%;
  height: 1px;
  margin-top: 18px;
  background: var(--line-on-light);
}

/* ---------- 工艺 ---------- */

.craft {
  background: var(--c-near-black);
  color: var(--ink-on-dark);
  padding-block: clamp(90px, 14vh, 170px);
}

.craft__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(48px, 8vh, 90px);
  border-top: 1px solid var(--line-on-dark);
}

.craft__item {
  position: relative;
  padding: clamp(28px, 3.4vw, 48px) clamp(18px, 2.4vw, 36px) clamp(36px, 5vw, 60px);
  border-bottom: 1px solid var(--line-on-dark);
  border-right: 1px solid var(--line-on-dark);
  transition: background var(--dur-m) var(--ease-soft),
    transform var(--dur-m) var(--ease-soft);
}

.craft__item:last-child { border-right: 0; }

.craft__item:hover {
  background: rgba(255, 255, 255, 0.035);
}

.craft__num {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--accent);
}

.craft__name {
  margin-top: 34px;
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.craft__text {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted-on-dark);
}

.craft__en {
  margin-top: 40px;
  font-size: 10px;
  letter-spacing: 0.26em;
  color: rgba(245, 245, 247, 0.26);
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .craft__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .craft__item:nth-child(2n) { border-right: 0; }
}

/* ---------- 品牌 ---------- */

.brand {
  background: var(--c-paper);
  color: var(--ink-on-light);
  overflow: hidden;
  padding-block: clamp(80px, 13vh, 160px);
}

.brand__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 96px);
  align-items: end;
}

.brand__year {
  font-size: clamp(84px, 15vw, 220px);
  line-height: 0.82;
  font-weight: 600;
  letter-spacing: -0.06em;
  color: var(--ink-on-light);
}

.brand__year span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.34em;
  font-weight: 500;
  color: rgba(29, 29, 31, 0.42);
  margin-top: 22px;
}

.brand__copy p {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.85;
  color: rgba(29, 29, 31, 0.68);
}

.brand__copy p + p { margin-top: 18px; }

.brand__facts {
  margin-top: clamp(34px, 5vh, 52px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  border-top: 1px solid var(--line-on-light);
  padding-top: 26px;
}

.brand__fact dt {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: rgba(29, 29, 31, 0.4);
  margin-bottom: 9px;
}

.brand__fact dd {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-on-light);
}

@media (max-width: 900px) {
  .brand__grid { grid-template-columns: 1fr; align-items: start; }
  .brand__facts { grid-template-columns: 1fr 1fr; }
}

/* ---------- 联系 ---------- */

.contact {
  background: #050506;
  color: var(--ink-on-dark);
  position: relative;
  overflow: hidden;
  padding-block: clamp(100px, 16vh, 190px);
}

/* 背景一束光 */
.contact::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -30%;
  width: 120%;
  height: 120%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(200, 169, 126, 0.13), transparent 72%);
  pointer-events: none;
}

.contact__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}

.contact__title {
  font-size: clamp(34px, 5.6vw, 76px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.contact__title em {
  font-style: normal;
  color: var(--accent);
}

.contact__note {
  margin-top: 24px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted-on-dark);
  max-width: 40ch;
}

.contact__actions {
  margin-top: 34px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact__card {
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-l);
  padding: clamp(24px, 3vw, 34px);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.contact__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: rgba(245, 245, 247, 0.42);
  text-transform: uppercase;
}

/* 二维码位：2x2 网格，图片就位自动显示 */
.contact__qrs {
  margin: 26px 0 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
}

.contact__qrslot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.contact__qr {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: #fff;
  display: grid;
  place-items: center;
  position: relative;
}

.contact__qr img { width: 100%; height: 100%; object-fit: cover; }

/* 二维码未就位时的占位 */
.contact__qr--empty {
  background:
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.045) 0 8px, transparent 8px 16px),
    #f2f2f4;
  border: 1px dashed rgba(0, 0, 0, 0.18);
}

.contact__qr--empty span {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: rgba(0, 0, 0, 0.4);
  text-align: center;
  line-height: 1.7;
  padding: 0 12px;
}

.contact__qrlabel {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(245, 245, 247, 0.56);
}

.contact__wxrow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line-on-dark);
}

.contact__wx {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.contact__wxid {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--muted-on-dark);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.contact__cardhint {
  margin-top: 12px;
  font-size: 11.5px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: rgba(245, 245, 247, 0.4);
}

/* 移动端：上下堆叠，卡片占满整行 */
@media (max-width: 900px) {
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 34px;
    align-items: start;
  }

  .contact__title { font-size: clamp(34px, 9.6vw, 46px); }
  .contact__note { max-width: none; }

  .contact__card { padding: 22px 20px 20px; }

  .contact__qrs {
    margin: 20px 0 16px;
    gap: 18px 14px;
  }

  /* 二维码位限制最大宽度，避免大屏上虚胖；小屏则撑满半行 */
  .contact__qrslot { max-width: 150px; width: 100%; margin: 0 auto; }

  .contact__qrlabel { white-space: nowrap; }

  .contact__wxrow {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .contact__wx { font-size: 14px; white-space: nowrap; }
  .contact__wxid {
    font-size: 11.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60%;
  }

  .contact__cardhint { font-size: 11px; }
}

/* ---------- 页脚 ---------- */

.footer {
  background: #000;
  color: var(--muted-on-dark);
  border-top: 1px solid var(--line-on-dark);
  padding: clamp(46px, 7vh, 72px) 0 clamp(30px, 5vh, 44px);
  font-size: 12.5px;
}

/* 悬浮导航条在底部时，给版权行让出高度 */
@media (max-width: 820px) {
  .footer { padding-bottom: calc(clamp(30px, 5vh, 44px) + 86px); }
}

.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(230px, 1.1fr) 3fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-on-dark);
}

/* 链接列在剩余宽度内均匀分布，不再挤在右边留个大空洞 */
.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(96px, 1fr));
  gap: clamp(20px, 3vw, 48px);
}

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr; row-gap: 38px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
}

.footer__logo {
  display: inline-block;
}

.footer__logo img {
  height: 48px;
  width: auto;
  display: block;
  transition: opacity var(--dur-s) var(--ease-soft);
}

.footer__logo:hover img { opacity: 0.75; }

.footer__slogan {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(245, 245, 247, 0.38);
  text-align: left;      /* 与 LOGO 左缘对齐 */
}



.footer__col h4 {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(245, 245, 247, 0.34);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.footer__col a,
.footer__col span {
  display: block;
  font-size: 12.5px;
  color: rgba(245, 245, 247, 0.62);
  padding: 4px 0;
  transition: color var(--dur-s) var(--ease-soft);
}

.footer__col a:hover { color: #fff; }

.footer__bottom {
  margin-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: rgba(245, 245, 247, 0.3);
  letter-spacing: 0.04em;
}

/* ICP 备案号：填了才出现，链接到工信部备案系统 */
.footer__icp {
  color: rgba(245, 245, 247, 0.3);
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer__icp:hover { color: rgba(245, 245, 247, 0.7); }
