/* Constantine One · Simplified Chinese (zh-CN) Overrides & WeChat Modal */
:root {
  --serif: 'Noto Serif Display', 'Songti SC', 'STSong', 'SimSun', Georgia, serif;
  --sans: 'Manrope', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', system-ui, sans-serif;
}

.hl .w {
  white-space: normal;
}

.hl,
.h2,
.sub-h1 {
  line-height: 1.14;
  letter-spacing: 0.01em;
}

.hs-h {
  line-height: 1.16;
  letter-spacing: 0.01em;
}

button.nav-cta {
  background: transparent;
}

button.nav-cta:hover {
  background: var(--accent);
}

/* WeChat QR Modal (#wx-modal) */
.wx-modal {
  margin: auto;
  padding: 0;
  border: 1px solid rgba(243, 236, 227, 0.18);
  border-radius: 20px;
  background: var(--panel, #1d1a17);
  color: var(--ink, #f3ece3);
  width: min(420px, calc(100vw - 32px));
  max-width: 100%;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.78), 0 0 0 1px rgba(172, 75, 24, 0.2);
  overflow: visible;
}

.wx-modal::backdrop {
  background: rgba(12, 9, 7, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.wx-box {
  position: relative;
  padding: 36px 28px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.wx-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(243, 236, 227, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink, #f3ece3);
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.wx-close:hover {
  background: var(--accent, #ac4b18);
  border-color: var(--accent, #ac4b18);
}

.wx-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--accent-t, #f09c74);
  margin-bottom: 10px;
}

.wx-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.25;
  color: var(--ink, #f3ece3);
  margin-bottom: 20px;
}

.wx-qr-wrap {
  padding: 12px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  margin-bottom: 18px;
}

.wx-qr-wrap img {
  display: block;
  width: min(260px, 64vw);
  height: auto;
  aspect-ratio: 1 / 1;
}

.wx-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2, #cdc1b4);
  margin-bottom: 20px;
  max-width: 32ch;
}

.wx-mail-row {
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid var(--line, rgba(243, 236, 227, 0.16));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.wx-mail-label {
  font-size: 12px;
  color: var(--ink-3, #c4b7a9);
}

.wx-mail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.wx-mail-link {
  font-size: 14px;
  color: var(--ink, #f3ece3);
  text-decoration: none;
  border-bottom: 1px solid var(--accent, #ac4b18);
  padding-bottom: 2px;
}

.wx-copy {
  padding: 7px 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  background: transparent;
  color: var(--accent-t, #f09c74);
  border: 1px solid rgba(240, 156, 116, 0.45);
  border-radius: 0;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.wx-copy:hover {
  background: var(--accent, #ac4b18);
  border-color: var(--accent, #ac4b18);
  color: var(--accent-ink, #fff8f2);
}

@media (max-width: 420px) {
  .wx-box {
    padding: 32px 20px 24px;
  }
  .wx-title {
    font-size: 22px;
  }
}
