/* ============================================================
   杭州文章科技 · Hangzhou Article Technology
   Brand: 枣红 #B22408 · 米白 · 墨黑 · 中间灰
   Style: 文人雅致 / 东方书卷
   ============================================================ */

/* -------- Fonts (locked: locally embedded so display is identical across machines) -------- */
@font-face {
  font-family: "FZ ShuSong";
  src: url("assets/fonts/fz-shusong.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "FZ XiaoBiaoSong";
  src: url("assets/fonts/fz-xiaobiao-song.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "FZ FangSong";
  src: url("assets/fonts/fz-fangsong.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "FZ QingKeYueSong";
  src: url("assets/fonts/fz-qingke-yuesong.ttf") format("truetype");
  font-display: swap;
}

:root {
  /* Colors */
  --jujube: #B22408;            /* 枣红 brand */
  --jujube-deep: #8A1B05;
  --jujube-soft: #C84A2E;
  --ink: #1A1512;               /* 墨黑 */
  --ink-soft: #3A312A;
  --paper: #F5EEDF;             /* 米白 */
  --paper-warm: #EFE5D2;
  --paper-mute: #E5D9C2;
  --gray: #8C8276;              /* 中间灰 */
  --gray-line: #C9BFAE;
  --gold: #9C7634;              /* 古金 */
  --gold-soft: #C9A66B;

  /* Typography stacks — restored to original; hero uses lighter ShuSong */
  --f-dahei: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "微软雅黑", "Source Han Sans SC", "Noto Sans SC", "Hiragino Sans GB", sans-serif;
  --f-biaosong: "FZ XiaoBiaoSong", "FZ ShuSong", "Songti SC", "STSong", "SimSun", serif;
  --f-xiaobiao: "FZ XiaoBiaoSong", "FZ ShuSong", "Songti SC", "STSong", serif;
  --f-shusong: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "微软雅黑", "Source Han Sans SC", "Noto Sans SC", "Hiragino Sans GB", sans-serif;
  --f-fangsong: "FZ FangSong", "FangSong", "STFangsong", "Songti SC", "STSong", serif;
  --f-en-serif: "Cormorant Garamond", "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --f-en-mono: "JetBrains Mono", "IBM Plex Mono", "SF Mono", ui-monospace, monospace;

  /* Layout */
  --container: 1280px;
  --container-wide: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-shusong);
  font-size: 17px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
/* 长标题 / 英文串在窄屏的兜底换行 */
h1, h2, h3, h4, h5, p, a, span, li, figcaption {
  overflow-wrap: break-word;
  word-break: break-word;
}
img { max-width: 100%; }

/* 移动端点击不显示蓝色高亮闪框 */
a, button, [role="button"], .nav-cta, .hi, .tl-item, summary {
  -webkit-tap-highlight-color: transparent;
}
/* 键盘导航焦点态（鼠标点击不出现，键盘 Tab 才出现）—— 无障碍 */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--jujube);
  outline-offset: 3px;
  border-radius: 2px;
}

body {
  background:
    radial-gradient(ellipse 60% 40% at 20% 0%, rgba(178,36,8,0.04), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(156,118,52,0.04), transparent 60%),
    var(--paper);
  background-attachment: fixed;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--jujube); color: var(--paper); }

h1, h2, h3, h4, h5, h6, strong, b { font-weight: 400; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============== Header / Nav ============== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 238, 223, 0.92);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid rgba(26, 21, 18, 0.08);
}
.site-header .nav {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 28px max(var(--gutter), env(safe-area-inset-right)) 20px max(var(--gutter), env(safe-area-inset-left));
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-right: auto;
}
.brand-seal {
  width: 50px;
  height: 50px;
  display: block;
  background: url("assets/logo-main.png") center/contain no-repeat;
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name .cn {
  display: inline-block;
  width: 230px;
  height: 22px;
  background: url("assets/brand-name-ink.png") no-repeat left center / contain;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: middle;
}
.brand-name .en {
  font-family: var(--f-en-serif);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--gray);
  text-transform: uppercase;
  margin-top: 3px;
}
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-family: var(--f-biaosong);
  font-size: 17px;
  letter-spacing: 0.08em;
  padding: 8px 18px;
  color: var(--ink);
  position: relative;
  transition: color .25s;
}
.nav-links a::before {
  content: "";
  position: absolute;
  left: 50%; bottom: 4px;
  width: 0; height: 1px;
  background: var(--jujube);
  transition: width .3s, left .3s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--jujube);
}
/* 仅手机下拉菜单出现的「报刊博览会」入口（桌面有独立 logo 按钮，故隐藏） */
.nav-mobile-only { display: none; }
.nav-mobile-only a { color: var(--jujube); }
@media (max-width: 1024px) {
  .nav-mobile-only { display: block; }
}
.nav-links a:hover::before, .nav-links a.active::before {
  width: calc(100% - 36px);
  left: 18px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-biaosong);
  font-size: 14px;
  padding: 8px 16px;
  border: 1px solid var(--jujube);
  color: var(--jujube);
  letter-spacing: 0.08em;
  transition: all .25s;
}
.nav-cta:hover { background: var(--jujube); color: var(--paper); }
.nav-cta .arrow { font-size: 12px; }

.nav-cta-logo {
  padding: 4px 6px;
  gap: 10px;
  border: none;
  background: transparent;
}
.nav-cta-logo:hover { background: transparent; color: var(--jujube); }
.nav-cta-logo img {
  display: block !important;
  height: 39px !important;
  width: auto !important;
  opacity: 1 !important;
  transition: filter .25s, transform .25s;
}
.nav-cta-logo:hover img {
  filter: none;
  transform: scale(1.04);
}
.nav-cta-logo .arrow {
  color: var(--jujube);
  font-size: 14px;
}

.menu-toggle {
  display: none;
  background: none; border: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.menu-toggle span {
  display: block;
  height: 1.5px; width: 22px;
  background: var(--ink);
  transition: all .3s;
}

/* ============== Hero ============== */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 76px 0;
}
.hero::before {
  /* Parchment / aged paper grain */
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0, transparent 38px,
      rgba(138, 27, 5, 0.025) 38px, rgba(138, 27, 5, 0.025) 39px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0, transparent 200px,
      rgba(26,21,18,0.04) 200px, rgba(26,21,18,0.04) 201px
    );
  pointer-events: none;
}
.hero::after {
  /* Soft vignette */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, transparent 40%, rgba(245,238,223,0.7) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: var(--container-wide);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: block;
}

/* ===== Hero feature (GIF showcase) ===== */
.hero-feature {
  margin: 0;
  position: relative;
}
.hero-feature-frame {
  position: relative;
  background: var(--paper);
  padding: 28px 28px 0;
  border: 1px solid var(--ink);
  box-shadow:
    0 1px 0 rgba(178, 36, 8, 0.5) inset,
    0 40px 80px -50px rgba(26, 21, 18, 0.35);
}
.hero-feature-frame::before {
  /* Inner stroke — newspaper double rule */
  content: "";
  position: absolute;
  inset: 8px;
  border: 0.5px solid rgba(26, 21, 18, 0.25);
  pointer-events: none;
}
.hero-feature-frame::after {
  /* Top jujube hairline */
  content: "";
  position: absolute;
  left: 28px; right: 28px; top: 0;
  height: 3px;
  background: var(--jujube);
  pointer-events: none;
}

/* Corner crop marks */
.hero-feature .cm {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--jujube);
  z-index: 2;
}
.hero-feature .cm-tl { top: -7px; left: -7px; border-right: none; border-bottom: none; }
.hero-feature .cm-tr { top: -7px; right: -7px; border-left: none; border-bottom: none; }
.hero-feature .cm-bl { bottom: -7px; left: -7px; border-right: none; border-top: none; }
.hero-feature .cm-br { bottom: -7px; right: -7px; border-left: none; border-top: none; }

/* Eyebrow row above the GIF */
.hero-feature-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gray-line);
  position: relative;
}
.hero-feature-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--jujube);
}
.hero-feature-eyebrow .label {
  flex: 1;
  font-family: var(--f-biaosong);
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 0.22em;
}
.hero-feature-eyebrow .live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-en-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--jujube);
  text-transform: uppercase;
}
.hero-feature-eyebrow .live .pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--jujube);
  animation: heroPulse 1.8s ease-in-out infinite;
}
@keyframes heroPulse {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50%      { opacity: 1; transform: scale(1.1); }
}

/* GIF media — fills the frame width */
.hero-feature-media {
  margin: 18px 0 0;
  position: relative;
  overflow: visible;
  background: transparent;
}
.hero-feature-media.laptop-mockup {
  background: url("assets/laptop-frame.png") center/contain no-repeat;
}
.hero-feature-media::before {
  content: none;
}
.hero-feature-media .laptop-screen { background: #0b0a09; }
.hero-feature-media .laptop-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Caption bar below the GIF */
.hero-feature-caption {
  margin: 0;
  padding: 18px 4px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--gray-line);
  margin-top: 18px;
}
.hero-feature-caption .cap-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-feature-caption .cap-title {
  font-family: var(--f-biaosong);
  font-size: 18px;
  color: var(--ink);
  letter-spacing: 0.16em;
}
.hero-feature-caption .cap-sub {
  font-family: var(--f-fangsong);
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.12em;
}
.hero-feature-caption .cap-right {
  display: flex;
  gap: 20px;
  font-family: var(--f-en-mono);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  color: var(--gray);
  text-transform: uppercase;
}
.hero-feature-caption .cap-right span {
  position: relative;
  padding-left: 14px;
}
.hero-feature-caption .cap-right span::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 6px;
  background: var(--jujube);
  transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 768px) {
  .hero-feature-frame { padding: 18px 18px 0; }
  .hero-feature-eyebrow { flex-wrap: wrap; gap: 8px; }
  .hero-feature-eyebrow .label { font-size: 12px; letter-spacing: 0.15em; }
  .hero-feature-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .hero-feature-caption .cap-title { font-size: 16px; }
  .hero-feature-caption .cap-right { flex-wrap: wrap; gap: 12px; }
}

.hero-meta {
  position: absolute;
  top: 24px;
  left: var(--gutter);
  right: var(--gutter);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  font-family: var(--f-en-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gray);
  text-transform: uppercase;
}
.hero-meta .dot {
  display: inline-block; width: 6px; height: 6px;
  background: var(--jujube); border-radius: 50%; margin: 0 8px 1px;
  vertical-align: middle;
}

.hero-title {
  margin: 0;
  font-family: "FZ QingKeYueSong", var(--f-biaosong);
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(64px, 11vw, 168px);
  line-height: 1;
  letter-spacing: 0.04em;
}
.hero-title .row {
  display: flex;
  gap: 0.18em;
  overflow: hidden;
}
.hero-title .ch {
  display: inline-block;
  position: relative;
  opacity: 0;
  transform: translateY(0.15em);
  animation: slogan-reveal 1.1s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-title .row:nth-child(2) { margin-top: 0.08em; }
.hero-title .ch:nth-child(1) { animation-delay: 0.25s; }
.hero-title .ch:nth-child(2) { animation-delay: 0.45s; }
.hero-title .ch:nth-child(3) { animation-delay: 0.65s; }
.hero-title .ch:nth-child(4) { animation-delay: 0.85s; }
.hero-title .row:nth-child(2) .ch:nth-child(1) { animation-delay: 1.15s; }
.hero-title .row:nth-child(2) .ch:nth-child(2) { animation-delay: 1.35s; }
.hero-title .row:nth-child(2) .ch:nth-child(3) { animation-delay: 1.55s; }
.hero-title .row:nth-child(2) .ch:nth-child(4) { animation-delay: 1.75s; }

.hero-title .accent {
  color: var(--jujube);
}

@keyframes slogan-reveal {
  0%   { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(0.18em); }
  60%  { opacity: 1; clip-path: inset(0 0 0 0); }
  100% { opacity: 1; clip-path: inset(0 0 0 0); transform: translateY(0); }
}

.hero-sub {
  margin-top: 36px;
  font-family: var(--f-fangsong);
  font-size: 19px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  max-width: 540px;
  opacity: 0;
  animation: fade-in 1.2s 2s forwards;
}
.hero-sub .divider {
  display: inline-block; vertical-align: middle;
  width: 36px; height: 1px; background: var(--jujube);
  margin: 0 12px;
}

.hero-tags {
  margin-top: 28px;
  display: flex; gap: 24px;
  font-family: var(--f-en-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gray);
  text-transform: uppercase;
  opacity: 0;
  animation: fade-in 1.2s 2.3s forwards;
}
.hero-tags span::before {
  content: "—";
  margin-right: 8px;
  color: var(--jujube);
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero side seal panel */
.hero-side {
  position: relative;
  width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.hero-seal-card {
  position: relative;
  width: 240px;
  aspect-ratio: 1;
  background:
    radial-gradient(ellipse at center, rgba(178,36,8,0.06), transparent 70%),
    var(--paper);
  border: 1px solid rgba(178,36,8,0.18);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.hero-seal-card::before {
  content: ""; position: absolute; top: 8px; left: 8px; right: 8px; bottom: 8px;
  border: 1px solid rgba(178,36,8,0.1);
  pointer-events: none;
}
.hero-seal-card img { width: 80%; }
.hero-side-caption {
  font-family: var(--f-fangsong);
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--gray);
  writing-mode: vertical-rl;
  text-orientation: upright;
  max-height: 200px;
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  font-family: var(--f-en-mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--gray);
  text-transform: uppercase;
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll-cue::after {
  content: "";
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--jujube), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ============== Section base ============== */
section {
  position: relative;
  padding: 120px 0;
}
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--f-en-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--jujube);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--jujube);
}
.section-title {
  font-family: var(--f-biaosong);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.22;
  letter-spacing: 0.015em;
  color: var(--ink);
  margin: 0 0 24px;
}
.section-title .accent { color: var(--jujube); }
.section-subtitle {
  font-family: var(--f-fangsong);
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 0 64px;
  line-height: 1.8;
}

/* Vertical chinese label on left edge */
.vertical-label {
  position: absolute;
  left: var(--gutter);
  top: 120px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--f-biaosong);
  font-size: 14px;
  letter-spacing: 0.5em;
  color: var(--gray);
}

#letters .container {
  max-width: 1360px;
}

/* ============== Letters Section ============== */
#letters {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%);
  padding: 70px 0 140px;
  border-top: 1px solid var(--gray-line);
  border-bottom: 1px solid var(--gray-line);
}

.letters-header {
  text-align: center;
  margin-bottom: 80px;
}
.letters-header .section-eyebrow { justify-content: center; }
.letters-header .section-eyebrow::before { display: none; }
.letters-header .section-eyebrow::after {
  content: "";
  width: 28px; height: 1px;
  background: var(--jujube);
}
.letters-header .section-eyebrow::before {
  display: inline-block;
  content: "";
  width: 28px; height: 1px;
  background: var(--jujube);
}
.letters-header .section-title { margin-bottom: 12px; }

.letters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.letter-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--gray-line);
  padding: 48px 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all .4s cubic-bezier(.2,.7,.2,1);
  cursor: pointer;
}
.letter-card::before {
  content: "";
  position: absolute;
  top: 8px; left: 8px; right: 8px; bottom: 8px;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color .4s;
}
.letter-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(26,21,18,0.18);
}
.letter-card:hover::before { border-color: rgba(178,36,8,0.2); }

.letter-stamp {
  position: absolute;
  top: 24px; right: 24px;
  width: 56px; height: 68px;
  transform: rotate(-4deg);
  filter: drop-shadow(0 3px 6px rgba(26,21,18,0.18));
  background: transparent;
  border: none;
  color: var(--jujube);
  font-family: var(--f-biaosong);
  display: block;
  /* perforated postage-stamp edge using radial gradient mask */
  -webkit-mask:
    radial-gradient(circle 3px at 50% 0%, transparent 96%, #000 100%) 0 0/8px 8px repeat-x,
    radial-gradient(circle 3px at 50% 100%, transparent 96%, #000 100%) 0 100%/8px 8px repeat-x,
    radial-gradient(circle 3px at 0% 50%, transparent 96%, #000 100%) 0 0/8px 8px repeat-y,
    radial-gradient(circle 3px at 100% 50%, transparent 96%, #000 100%) 100% 0/8px 8px repeat-y,
    linear-gradient(#000, #000);
  -webkit-mask-composite: source-over;
          mask:
    radial-gradient(circle 3px at 50% 0%, transparent 96%, #000 100%) 0 0/8px 8px repeat-x,
    radial-gradient(circle 3px at 50% 100%, transparent 96%, #000 100%) 0 100%/8px 8px repeat-x,
    radial-gradient(circle 3px at 0% 50%, transparent 96%, #000 100%) 0 0/8px 8px repeat-y,
    radial-gradient(circle 3px at 100% 50%, transparent 96%, #000 100%) 100% 0/8px 8px repeat-y,
    linear-gradient(#000, #000);
}
.letter-stamp svg {
  width: 100%;
  height: 100%;
  display: block;
}
.letter-stamp .stamp-paper {
  fill: rgba(178, 36, 8, 0.06);
  stroke: var(--jujube);
  stroke-width: 1.2;
}
.letter-stamp .stamp-inner {
  fill: none;
  stroke: var(--jujube);
  stroke-width: 0.6;
}
.letter-stamp .stamp-glyph {
  font-family: var(--f-biaosong);
  font-size: 22px;
  fill: var(--jujube);
}
.letter-stamp .stamp-top {
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
  font-size: 5.5px;
  letter-spacing: 1.2px;
  fill: var(--jujube);
  opacity: 0.7;
}
.letter-stamp .stamp-icon {
  fill: none;
  stroke: var(--jujube);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.letter-stamp .stamp-icon .ink-dot { fill: var(--jujube); stroke: none; }
.stamp-reader .stamp-paper { fill: rgba(178, 36, 8, 0.06); }
.stamp-editor .stamp-paper { fill: rgba(140, 102, 38, 0.08); }
.stamp-editor .stamp-paper { stroke: var(--gold); }
.stamp-editor .stamp-inner { stroke: var(--gold); }
.stamp-editor .stamp-glyph,
.stamp-editor .stamp-mini,
.stamp-editor .stamp-top,
.stamp-editor .stamp-value,
.stamp-editor .stamp-icon { fill: var(--gold); stroke: var(--gold); }
.stamp-editor .stamp-icon .ink-dot { fill: var(--gold); }
.stamp-editor { transform: rotate(2deg); }
.stamp-investor .stamp-paper { fill: rgba(26, 21, 18, 0.05); stroke: var(--ink); }
.stamp-investor .stamp-inner { stroke: var(--ink); }
.stamp-investor .stamp-glyph,
.stamp-investor .stamp-mini,
.stamp-investor .stamp-top,
.stamp-investor .stamp-value,
.stamp-investor .stamp-icon { fill: var(--ink); stroke: var(--ink); }
.stamp-investor .stamp-icon .ink-dot { fill: var(--ink); }
.stamp-investor { transform: rotate(-2deg); }
.letter-stamp .stamp-mini {
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
  font-size: 7px;
  letter-spacing: 1.2px;
  fill: var(--jujube);
}
.letter-stamp .stamp-value {
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
  font-size: 5.5px;
  letter-spacing: 0.6px;
  fill: var(--jujube-deep);
}
.letter-stamp .stamp-postmark circle {
  fill: none;
  stroke: var(--jujube);
  stroke-width: 0.8;
  stroke-dasharray: 2 1.6;
  opacity: 0.7;
}
.letter-stamp .stamp-postmark text {
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
  font-size: 6.5px;
  letter-spacing: 0.5px;
  fill: var(--jujube);
  opacity: 0.7;
}
.letter-num {
  font-family: var(--f-en-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gray);
}
.letter-to {
  font-family: var(--f-biaosong);
  font-size: 38px;
  color: var(--ink);
  line-height: 1.1;
  margin-top: -8px;
  letter-spacing: 0.32em;
}
.letter-to .verb { color: var(--jujube); }
.letter-tagline {
  font-family: var(--f-fangsong);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  line-height: 1.7;
  padding-top: 16px;
  border-top: 1px solid var(--gray-line);
}
.letter-excerpt {
  font-family: var(--f-shusong);
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.95;
  letter-spacing: 0.02em;
  flex: 1;
  margin: 0;
  /* drop cap-ish */
}
.letter-excerpt::first-letter {
  font-family: var(--f-biaosong);
  font-size: 3.2em;
  color: var(--gray);
  float: left;
  line-height: 0.86;
  padding-top: 0.22em;
  margin-right: 0.12em;
}
.letter-cta {
  font-family: var(--f-biaosong);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--jujube);
  margin-top: 4px;
  display: inline-flex; align-items: center; gap: 8px;
}
.letter-cta .arrow {
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--jujube);
  position: relative;
  transition: width .25s;
}
.letter-cta .arrow::after {
  content: "";
  position: absolute; right: 0; top: -2px;
  width: 5px; height: 5px;
  border-top: 1px solid var(--jujube);
  border-right: 1px solid var(--jujube);
  transform: rotate(45deg);
}
.letter-card:hover .letter-cta .arrow { width: 36px; }

/* ============== Products Section ============== */
#products {
  padding: 140px 0 80px;
}
.products-header {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: stretch;
  margin-bottom: 100px;
}
.products-header-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.products-header-text .section-eyebrow,
.products-header-text .section-title {
  flex-shrink: 0;
}
.products-header-text .products-rotator { margin-top: auto !important; }
.products-tagline-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.products-tagline {
  font-family: var(--f-fangsong);
  font-size: 16.5px;
  line-height: 1.95;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  margin: 0;
}
.products-tagline strong {
  font-family: var(--f-biaosong);
  color: var(--ink);
  font-weight: 400;
}
.products-rotator {
  max-width: 100% !important;
  width: 100% !important;
  aspect-ratio: 3 / 2 !important;
  margin: 6px 0 0 !important;
  padding: 14px !important;
}
/* Match elegant-frame "double line" treatment: 1px outer border + jujube top hairline + inner 0.5px stroke */
.products-rotator::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 0.5px solid rgba(26, 21, 18, 0.18);
  pointer-events: none;
  z-index: 1;
}
.products-rotator::before {
  /* override base top-hairline to span the new padding */
  top: 0; left: 14px; right: 14px;
}
.products-rotator .carousel-track {
  height: 100% !important;
}
.products-rotator-caption {
  font-family: var(--f-fangsong);
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.85;
  letter-spacing: 0.06em;
  margin: 0;
}
.products-rotator-caption .lbl {
  display: block;
  font-family: var(--f-en-mono);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  color: var(--jujube);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.products-rotator-caption strong {
  font-family: var(--f-biaosong);
  font-weight: 400;
  color: var(--ink);
}

.products-refs {
  margin-top: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-line);
}
.products-refs .refs-eyebrow {
  display: block;
  font-family: var(--f-en-mono);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  color: var(--jujube);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.products-refs ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.products-refs li {
  border-top: 1px solid var(--gray-line);
}
.products-refs li:first-child { border-top: none; }
.products-refs li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  text-decoration: none;
  transition: padding .25s;
}
.products-refs li a:not(.is-pending) { cursor: pointer; }
.products-refs li a:not(.is-pending):hover { padding-left: 8px; }
.products-refs .ref-meta-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.products-refs .ref-title {
  font-family: var(--f-biaosong);
  font-size: 15.5px;
  color: var(--ink);
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.products-refs li a:not(.is-pending):hover .ref-title { color: var(--jujube); }
.products-refs .ref-source {
  font-family: var(--f-fangsong);
  font-size: 12.5px;
  color: var(--gray);
  letter-spacing: 0.1em;
}
.products-refs .ref-meta {
  font-family: var(--f-en-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--jujube);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.products-refs li a.is-pending .ref-meta { color: var(--gray); }
.products-refs li a.is-pending { cursor: default; }
.products-refs .refs-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-biaosong);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--jujube);
  padding: 10px 0;
  border-bottom: 1px solid var(--jujube);
}
.products-refs .refs-cta:hover { color: var(--jujube-deep); }

@media (max-width: 1024px) {
  .products-header { grid-template-columns: 1fr; gap: 48px; }
  .products-refs li a,
  .products-refs li > .ref-row { flex-direction: column; align-items: flex-start; gap: 6px; }
}

.product {
  margin-bottom: 160px;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product:last-child { margin-bottom: 0; min-height: auto; }

.product-card {
  display: grid;
  gap: 60px;
  align-items: end;
}
.product-card.layout-left {
  grid-template-columns: 1.1fr 1fr;
}
.product-card.layout-right {
  grid-template-columns: 1fr 1.1fr;
}
.product-card.layout-right .product-text { order: 2; }
.product-card.layout-right .product-visual { order: 1; }

.product-index {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.product-index .num {
  font-family: var(--f-en-serif);
  font-size: 76px;
  line-height: 0.8;
  color: var(--jujube);
  flex: none;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}
.product-index .num-meta {
  display: flex; flex-direction: column;
  min-width: 0;
}
.product-index .num-meta .label {
  font-family: var(--f-en-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gray);
  text-transform: uppercase;
}
.product-index .num-meta .tier {
  font-family: var(--f-biaosong);
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--ink);
}

.product-name {
  font-family: var(--f-biaosong);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.35;
  margin: 0 0 16px;
  color: var(--ink);
}
.product-tag {
  font-family: var(--f-fangsong);
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--jujube);
  margin-bottom: 28px;
  display: block;
}
.product-desc {
  font-family: var(--f-shusong);
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-soft);
  margin-bottom: 36px;
  letter-spacing: 0.02em;
}

.product-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 36px;
  margin: 32px 0;
}
.product-features li {
  list-style: none;
  font-family: var(--f-shusong);
  font-size: 14.5px;
  color: var(--ink-soft);
  display: flex;
  gap: 12px;
  line-height: 1.6;
}
.product-features li::before {
  content: "";
  flex-shrink: 0;
  width: 6px; height: 6px;
  background: var(--jujube);
  margin-top: 8px;
}
.product-features li strong {
  display: block;
  font-family: var(--f-biaosong);
  font-weight: 400;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 2px;
}

.product-meta {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-line);
  margin-top: 24px;
}
.product-meta .meta-item {
  flex: 1;
}
.product-meta .label {
  font-family: var(--f-en-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.product-meta .value {
  font-family: var(--f-biaosong);
  font-size: 16px;
  color: var(--ink);
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-biaosong);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--jujube);
  padding: 12px 0;
  border-bottom: 1px solid var(--jujube);
  margin-top: 12px;
}

.carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--ink);
}
.carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity .7s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-slide figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 20px;
  font-family: var(--f-biaosong);
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--paper);
  background: linear-gradient(180deg, transparent 0%, rgba(26,21,18,0.85) 100%);
  z-index: 1;
}
.carousel-nav {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
}
.carousel-dot {
  width: 24px; height: 2px;
  background: rgba(245,238,223,0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .25s, width .25s;
}
.carousel-dot.is-active {
  background: var(--jujube);
  width: 36px;
}
.carousel-dot:hover { background: rgba(245,238,223,0.6); }
.carousel-dot.is-active:hover { background: var(--jujube); }
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px; height: 44px;
  border: 1px solid rgba(245,238,223,0.45);
  background: rgba(26,21,18,0.4);
  backdrop-filter: blur(6px);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s;
  padding: 0;
}
.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }
.carousel-arrow:hover {
  border-color: var(--jujube);
  background: var(--jujube);
}
.carousel-arrow span {
  display: block;
  width: 10px; height: 10px;
  border-top: 1.5px solid var(--paper);
  border-right: 1.5px solid var(--paper);
  transform: rotate(45deg);
  position: relative;
}
.carousel-arrow.prev span {
  transform: rotate(-135deg);
  left: 2px;
}
.carousel-arrow.next span { right: 2px; }
.carousel-counter {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  font-family: var(--f-en-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--paper);
  background: rgba(26,21,18,0.5);
  padding: 6px 10px;
  display: flex; align-items: center; gap: 8px;
}
.carousel-counter .sep {
  width: 14px; height: 1px;
  background: rgba(245,238,223,0.5);
  display: inline-block;
}
.carousel-counter .cur { color: var(--jujube); font-weight: 700; }

/* When the visual is the carousel, drop the screenshot border padding */
.product-visual.screenshot.carousel {
  padding: 0;
  background: transparent;
  box-shadow: 0 40px 80px -40px rgba(26,21,18,0.4);
}
.product-visual.screenshot.carousel::before {
  top: 0; left: 0; right: 0; bottom: 0;
}

/* ===== Elegant frame (paper card with seal corners, for product-2) ===== */
.elegant-frame {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--gray-line);
  box-shadow:
    0 1px 0 rgba(178, 36, 8, 0.45) inset;
}
.elegant-frame::before {
  /* Top jujube hairline accent */
  content: "";
  position: absolute;
  top: 0; left: 18px; right: 18px;
  height: 2px;
  background: var(--jujube);
  pointer-events: none;
}
.elegant-frame::after {
  /* Inner stroke */
  content: "";
  position: absolute;
  inset: 6px;
  border: 0.5px solid rgba(26, 21, 18, 0.18);
  pointer-events: none;
}
.elegant-frame .ef-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid var(--jujube);
  z-index: 3;
}
.elegant-frame .ef-tl { top: -6px; left: -6px; border-right: none; border-bottom: none; }
.elegant-frame .ef-tr { top: -6px; right: -6px; border-left: none; border-bottom: none; }
.elegant-frame .ef-bl { bottom: -6px; left: -6px; border-right: none; border-top: none; }
.elegant-frame .ef-br { bottom: -6px; right: -6px; border-left: none; border-top: none; }

.elegant-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0b0a09;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
.elegant-screen > .carousel-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  background: #0b0a09;
}
/* Hide carousel arrows + counter inside the elegant frame — captions/dots already live outside */
.elegant-screen .carousel-arrow,
.elegant-screen .carousel-counter {
  display: none !important;
}
.elegant-screen .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.elegant-screen .carousel-slide figcaption {
  /* Caption rendered outside the frame in .elegant-caption */
  display: none;
}
.elegant-screen .carousel-counter {
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  font-size: 10px;
}
.elegant-screen .carousel-arrow {
  width: 34px;
  height: 34px;
}
.elegant-screen .carousel-arrow.prev { left: 10px; }
.elegant-screen .carousel-arrow.next { right: 10px; }
.elegant-screen .carousel-slide figcaption {
  /* duplicate rule kept for compat */
  display: none;
}

/* ===== Caption below the frame ===== */
.elegant-stage {
  position: relative;
}
.elegant-caption {
  margin-top: 22px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}
.elegant-caption .cap-num {
  font-family: var(--f-en-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--jujube);
}
.elegant-caption .cap-divider {
  height: 1px;
  background: linear-gradient(90deg, var(--gray-line) 0%, transparent 100%);
}
.elegant-caption .cap-text {
  font-family: var(--f-biaosong);
  font-size: 13.5px;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  text-align: right;
}
.elegant-caption .carousel-nav {
  position: static;
  transform: none;
  grid-column: 1 / -1;
  justify-content: center;
  margin-top: 6px;
}

.product-visual.elegant-frame > .product-visual-label {
  top: -28px;
  right: 0;
}

@media (max-width: 1024px) {
  .elegant-frame { max-width: 100%; }
}
.single-rotator {
  position: relative;
  aspect-ratio: 1299 / 1837;
  background: var(--paper);
  overflow: hidden;
  border: 1px solid var(--gray-line);
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  max-width: 380px;
  width: 100%;
  margin-left: auto;
  margin-right: 0;
  padding: 14px;
}
.single-rotator::before {
  content: "";
  position: absolute;
  top: 0; left: 14px; right: 14px;
  height: 2px;
  background: var(--jujube);
  pointer-events: none;
  z-index: 2;
}
.single-rotator::after {
  /* Inner double stroke to match elegant-frame style */
  content: "";
  position: absolute;
  inset: 6px;
  border: 0.5px solid rgba(26, 21, 18, 0.18);
  pointer-events: none;
  z-index: 1;
}
.single-rotator .carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  background: transparent;
}
.single-rotator .carousel-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.single-rotator .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}
.single-rotator .carousel-slide figcaption,
.single-rotator .carousel-arrow,
.single-rotator .carousel-counter,
.single-rotator .carousel-nav {
  display: none !important;
}

/* ===== Laptop mockup frame ===== */
/* Wraps any media (img or carousel) inside a flat MacBook-Air style outline. */
.laptop-mockup {
  position: relative;
  width: 100%;
  aspect-ratio: 941 / 439;
  background: url("assets/laptop-frame.png") center/contain no-repeat;
  filter: drop-shadow(0 30px 40px rgba(26, 21, 18, 0.18));
  isolation: isolate;
}
.laptop-mockup.in-screenshot {
  background-color: transparent;
  padding: 0 !important;
  box-shadow: none !important;
}
.laptop-mockup.in-screenshot::before { display: none; }

.laptop-screen {
  position: absolute;
  /* Inner screen rectangle measured against 941×439 frame */
  left: 19.23%;
  top: 9.11%;
  width: 62.38%;
  height: 75.63%;
  background: #0b0a09;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}
.laptop-screen > img,
.laptop-screen > video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* When a carousel lives inside .laptop-screen, fill the screen */
.laptop-screen .carousel-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  background: #0b0a09;
}
.laptop-screen .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0b0a09;
}
.laptop-screen .carousel-slide figcaption {
  font-size: 11.5px;
  padding: 10px 16px;
  letter-spacing: 0.22em;
}
.laptop-screen .carousel-counter {
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  font-size: 10px;
}
.laptop-screen .carousel-arrow {
  width: 32px;
  height: 32px;
}
.laptop-screen .carousel-arrow.prev { left: 8px; }
.laptop-screen .carousel-arrow.next { right: 8px; }
.laptop-screen .carousel-nav { bottom: 10px; }
.laptop-screen .carousel-dot { width: 18px; }
.laptop-screen .carousel-dot.is-active { width: 28px; }

/* The product visual label sits above the laptop nicely */
.product-visual.laptop-mockup > .product-visual-label {
  top: -28px;
}

.product-visual {
  position: relative;
}
.product-visual.screenshot {
  background: var(--ink);
  padding: 16px;
  box-shadow: 0 40px 80px -40px rgba(26,21,18,0.4);
}
.product-visual.screenshot::before {
  content: "";
  position: absolute;
  top: -10px; left: -10px; right: -10px; bottom: -10px;
  border: 1px solid var(--gray-line);
  z-index: -1;
}
.product-visual img {
  width: 100%;
  display: block;
}
.product-visual-label {
  position: absolute;
  top: -32px;
  right: 0;
  font-family: var(--f-en-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gray);
  text-transform: uppercase;
}

/* Product 3 - single print - stacked layout */
.single-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 60px;
}
.single-grid .item {
  position: relative;
  overflow: hidden;
  background: var(--paper-mute);
}
.single-grid .item img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.single-grid .item:hover img { transform: scale(1.04); }
.single-grid .item-1 { grid-column: span 5; aspect-ratio: 4/5; }
.single-grid .item-2 { grid-column: span 4; aspect-ratio: 1; }
.single-grid .item-3 { grid-column: span 3; aspect-ratio: 3/4; }
.single-grid .item-4 { grid-column: span 4; aspect-ratio: 4/3; }
.single-grid .item-5 { grid-column: span 5; aspect-ratio: 16/10; }
.single-grid .item-6 { grid-column: span 3; aspect-ratio: 3/4; }
.single-grid .item caption {
  display: block;
  position: absolute;
  bottom: 12px; left: 12px;
  padding: 4px 10px;
  background: rgba(26,21,18,0.7);
  color: var(--paper);
  font-family: var(--f-biaosong);
  font-size: 12px;
  letter-spacing: 0.1em;
  pointer-events: none;
}

.product-series {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 80px;
}
.series-card {
  background: var(--paper);
  border: 1px solid var(--gray-line);
  padding: 36px 32px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .4s, box-shadow .4s;
}
.series-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 50px -28px rgba(26,21,18,0.2);
}
.series-card .series-num {
  font-family: var(--f-en-serif);
  font-size: 36px;
  color: var(--jujube);
  line-height: 1;
}
.series-card .series-title {
  font-family: var(--f-biaosong);
  font-size: 26px;
  color: var(--ink);
  margin: 18px 0 8px;
  letter-spacing: 0.06em;
}
.series-card .series-sub {
  font-family: var(--f-fangsong);
  font-size: 14px;
  color: var(--jujube);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.series-card .series-desc {
  font-family: var(--f-shusong);
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.95;
  margin: 0 0 14px;
}
.series-card .series-desc + .series-desc {
  margin-bottom: 24px;
}
.series-card .series-pic {
  margin-top: auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: transparent;
  border: none;
  user-select: none;
  -webkit-user-select: none;
  padding: 0;
}
.series-card .series-pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.series-card:hover .series-pic img { transform: scale(1.04); }


/* ============== Tianxia Section (videos + articles) ============== */
#tianxia {
  background: var(--ink);
  color: var(--paper);
  padding: 70px 0 140px;
  overflow: hidden;
}
#tianxia .section-eyebrow { color: var(--gold-soft); }
#tianxia .section-eyebrow::before { background: var(--gold-soft); }
#tianxia .section-title { color: var(--paper); }
#tianxia .section-title .accent { color: var(--gold-soft); }
#tianxia .section-subtitle { color: rgba(245,238,223,0.7); }

.tianxia-videos {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  margin-bottom: 100px;
}
.video-card {
  position: relative;
  overflow: hidden;
  background: #2a221d;
  border: 1px solid rgba(245,238,223,0.1);
}
.video-card.featured {
  grid-row: span 2;
  grid-column: 1;
}
.video-card .video-frame {
  position: relative;
  aspect-ratio: 9/16;
  background: #1a1512;
  overflow: hidden;
}
.video-card.featured .video-frame { aspect-ratio: 9/14; }

.video-card video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.video-poster {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity .3s;
}
.video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26,21,18,0.92) 100%);
  pointer-events: none;
}
.video-info {
  position: absolute;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 2;
}
.video-info .person {
  font-family: var(--f-en-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold-soft);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.video-info .title {
  font-family: var(--f-biaosong);
  font-size: 18px;
  color: var(--paper);
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.video-card.featured .video-info .title {
  font-size: 24px;
}
.play-icon {
  position: absolute;
  left: 20px; top: 20px;
  z-index: 2;
  width: 44px; height: 44px;
  border: 1px solid var(--paper);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s;
  cursor: pointer;
}
.play-icon::before {
  content: "";
  width: 0; height: 0;
  border-left: 10px solid var(--paper);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  margin-left: 3px;
}
.video-card:hover .play-icon {
  background: var(--jujube);
  border-color: var(--jujube);
  transform: scale(1.1);
}

.video-link {
  position: absolute;
  top: 20px; right: 20px;
  z-index: 2;
  font-family: var(--f-en-mono);
  font-size: 10px;
  color: var(--paper);
  letter-spacing: 0.2em;
  padding: 4px 10px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(245,238,223,0.3);
  text-transform: uppercase;
  transition: all .25s;
}
.video-link:hover { background: var(--jujube); border-color: var(--jujube); }


/* Articles list */
.tianxia-articles {
  border-top: 1px solid rgba(245,238,223,0.15);
  scroll-margin-top: 100px;
}
.articles-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 36px 0 24px;
  border-bottom: 1px solid rgba(245,238,223,0.15);
  margin-bottom: 0;
}
.articles-header .header-title {
  font-family: var(--f-biaosong);
  font-size: 26px;
  font-weight: 400;
  color: var(--paper);
  letter-spacing: 0.08em;
  margin: 0;
}
.articles-header .header-meta {
  font-family: var(--f-en-mono);
  font-size: 11px;
  color: var(--gold-soft);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  align-self: flex-end;
  margin-bottom: -10px;
}
.article-row {
  display: grid;
  grid-template-columns: 60px 1fr 200px 120px 24px;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid rgba(245,238,223,0.1);
  transition: padding .3s;
  cursor: pointer;
}
.article-row:hover {
  padding-left: 16px;
}
.article-row .a-num {
  font-family: var(--f-en-serif);
  font-size: 24px;
  color: var(--gold-soft);
}
.article-row .a-title {
  font-family: var(--f-biaosong);
  font-size: 20px;
  color: var(--paper);
  letter-spacing: 0.04em;
  transition: color .25s;
}
.article-row:hover .a-title { color: var(--gold-soft); }
.article-row .a-source {
  font-family: var(--f-fangsong);
  font-size: 13px;
  color: rgba(245,238,223,0.6);
  letter-spacing: 0.1em;
}
.article-row .a-date {
  font-family: var(--f-en-mono);
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.15em;
}
.article-row .a-arrow {
  font-family: var(--f-en-serif);
  color: var(--gold-soft);
  font-size: 18px;
  text-align: right;
  transition: transform .25s;
}
.article-row:hover .a-arrow { transform: translateX(4px); }

.crawl-note {
  margin-top: 32px;
  font-family: var(--f-shusong);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--gray);
  text-transform: none;
  line-height: 1.85;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.crawl-note::before {
  content: "";
  width: 3px;
  align-self: stretch;
  background: var(--gold-soft);
  border-radius: 0;
  flex-shrink: 0;
  margin-right: 6px;
  animation: pulse 2s ease-in-out infinite;
  transform-origin: center;
}
@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ============== Juzhen Section (timeline) ============== */
#juzhen {
  background: var(--paper);
  padding: 140px 0;
  position: relative;
}
#juzhen::before {
  /* Mist of historical figures pattern */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(178,36,8,0.05) 0, transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(156,118,52,0.05) 0, transparent 30%);
  pointer-events: none;
}

.juzhen-intro {
  display: grid;
  grid-template-columns: clamp(220px, 22vw, 336px) 1fr;
  gap: 24px;
  margin-bottom: 80px;
  align-items: end;
}
.juzhen-intro-right {
  display: block;
  margin-top: 16px;
}
.juzhen-intro-text em.juzhen-foot {
  display: block;
  margin-top: 14px;
}
.juzhen-intro-right {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.juzhen-intro-text {
  font-family: var(--f-fangsong);
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.juzhen-timeline {
  position: relative;
  padding-left: 0;
}
.juzhen-timeline::before { display: none; }

/* ===== 聚善藏真 pagination ===== */
.juzhen-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: clamp(40px, 5vw, 64px);
}
.juzhen-pager:empty { display: none; }
.jp-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 6px;
  border: 1px solid var(--gray-line);
  background: transparent;
  color: var(--ink-soft);
  font-family: "Source Han Sans SC", "Noto Sans SC", var(--f-dahei);
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.jp-btn:hover:not(:disabled) {
  border-color: var(--jujube);
  color: var(--jujube);
}
.jp-btn.is-active {
  background: var(--jujube);
  border-color: var(--jujube);
  color: var(--paper);
}
.jp-btn.jp-arrow {
  font-size: 18px;
  line-height: 1;
  color: var(--gray);
}
.jp-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: clamp(220px, 22vw, 336px) 110px 1fr;
  gap: 24px;
  padding: 32px 0 48px;
  border-bottom: 1px dashed var(--gray-line);
  cursor: pointer;
  transition: all .4s;
  align-items: stretch;
}
.tl-item::before { display: none; }
.tl-content { padding-left: 0; }
/* 中小平板：三栏过挤时提前堆叠为单栏 */
@media (min-width: 769px) and (max-width: 900px) {
  .tl-item { grid-template-columns: 120px 1fr; gap: 20px 28px; }
  .tl-item .tl-pic { grid-column: 1; grid-row: 1 / span 2; }
  .tl-item .tl-year-block { grid-column: 2; text-align: left; }
  .tl-item .tl-year { font-size: 44px; }
  .tl-item .tl-content { grid-column: 2; }
}
.tl-pic {
  margin: 0;
  background: #ffffff;
  border: 1px solid var(--gray-line);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  align-self: stretch;
  width: 100%;
  float: none;
  padding: 8px;
  box-shadow: 0 4px 10px -6px rgba(26, 21, 18, 0.18);
}
.tl-pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.tl-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tl-source {
  margin-top: 10px;
  font-family: var(--f-fangsong);
  font-size: 13.5px;
  letter-spacing: 0.1em;
  color: var(--gray);
  padding-top: 12px;
  border-top: 1px solid var(--gray-line);
}
.tl-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tl-source {
  margin-top: 10px;
  font-family: var(--f-fangsong);
  font-size: 13.5px;
  letter-spacing: 0.1em;
  color: var(--gray);
  padding-top: 12px;
  border-top: 1px solid var(--gray-line);
}
.tl-item::before {
  content: "";
  position: absolute;
  left: -49px; top: 44px;
  width: 14px; height: 14px;
  border: 1px solid var(--jujube);
  background: var(--paper);
  transform: rotate(45deg);
  transition: background .3s;
}
.tl-item:hover::before {
  background: var(--jujube);
}

.tl-year-block {
  text-align: center;
}
.tl-year {
  font-family: var(--f-en-serif);
  font-size: 52px;
  line-height: 0.9;
  color: var(--jujube);
  letter-spacing: 0.02em;
  text-align: center;
}
.tl-year-cn {
  font-family: var(--f-biaosong);
  font-size: 14px;
  text-align: center;
  color: var(--gray);
  letter-spacing: 0.3em;
  margin-top: 8px;
  display: block;
}
.tl-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tl-content .tl-title {
  font-family: var(--f-biaosong);
  font-size: 24px;
  color: var(--ink);
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin: 0;
}
.tl-content .tl-desc {
  font-family: var(--f-shusong);
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin: 0;
}
.tl-content .tl-tags {
  display: flex; gap: 8px;
  margin-top: 8px;
}
.tl-content .tl-tags span {
  font-family: var(--f-en-mono);
  font-size: 10px;
  color: var(--jujube);
  letter-spacing: 0.15em;
  padding: 3px 8px;
  border: 1px solid var(--jujube);
  text-transform: uppercase;
}

/* ============== About Section ============== */
#about {
  background: var(--paper-warm);
  border-top: 1px solid var(--gray-line);
  padding: 140px 0 120px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 100px;
  align-items: start;
}
.about-text p {
  font-family: var(--f-shusong);
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-soft);
  margin: 0 0 20px;
  letter-spacing: 0.02em;
}
.about-text p:first-of-type::first-letter {
  /* removed — first character is now wrapped in .ink-hang for a neutral-gray drop cap */
}
.about-text .ink-hang {
  font-family: var(--f-biaosong);
  font-size: 3.2em;
  float: left;
  line-height: 0.9;
  margin: 6px 12px 0 0;
  color: var(--gray);
}

/* About-section rotator (reuse single-rotator frame) */
.about-rotator {
  position: relative;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--gray-line);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: 0 1px 0 rgba(178, 36, 8, 0.45) inset;
}
.about-rotator::before {
  content: "";
  position: absolute;
  top: 0; left: 18px; right: 18px;
  height: 2px;
  background: var(--jujube);
  pointer-events: none;
  z-index: 2;
}
.about-rotator::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 0.5px solid rgba(26, 21, 18, 0.18);
  pointer-events: none;
  z-index: 1;
  display: block;
}
.about-rotator .carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: transparent;
}
.about-rotator .carousel-slide {
  position: absolute;
  inset: 0;
  display: block;
  background: transparent;
}
.about-rotator .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
  display: block;
}
.about-rotator .carousel-slide figcaption,
.about-rotator .carousel-arrow,
.about-rotator .carousel-counter,
.about-rotator .carousel-nav {
  display: none !important;
}

.about-honors {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  border-top: 1px solid var(--gray-line);
  padding-top: 24px;
}
.about-honors li {
  list-style: none;
  font-family: var(--f-shusong);
  font-size: 14px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
}
.about-honors li::before {
  content: "✦";
  color: var(--jujube);
  font-size: 12px;
}

.about-visuals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.about-visuals .av {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}
.about-visuals .av img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.about-visuals .av:hover img { transform: scale(1.03); }
.about-visuals .av-tall {
  grid-row: span 2;
  aspect-ratio: 3/5;
}
.about-visuals .av-square { aspect-ratio: 1; }
.about-visuals .av-wide {
  aspect-ratio: 4/3;
}

/* Inscriptions */
.inscriptions {
  margin-top: 100px;
}
/* ===== Inscriptions — three calligraphies + studio intro ===== */
/* ===== Inscriptions — three calligraphies + studio intro ===== */
.cz-inline {
  display: inline-block;
  vertical-align: -0.18em;
  height: 1.05em;
  width: auto;
  margin-left: 0.18em;
}
.inscriptions-layout {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr 0.9fr;
  gap: 36px;
  margin-top: 48px;
  align-items: stretch;
}
.inscriptions-layout figure {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.inscriptions-layout figcaption {
  margin-top: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.inscriptions-layout figcaption .by {
  font-family: var(--f-biaosong);
  font-size: 15px;
  color: var(--ink);
  letter-spacing: 0.32em;
}
.inscriptions-layout figcaption .by-en {
  font-family: var(--f-en-mono);
  font-size: 10px;
  color: var(--gray);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.inscriptions-layout .ins-pic {
  background: transparent;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
.inscriptions-layout .ins-pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Col 1 — tall couplet (朱炳仁) */
.ins-tall {
  height: 100%;
}
.ins-tall .ins-pic {
  flex: 1;
  min-height: 0;
  background: transparent;
}
.ins-tall .ins-pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}

/* Col 2 — stack: top horizontal (斯舜威), bottom fan (朱维明) */
.ins-stack {
  display: flex;
  flex-direction: column;
  gap: 36px;
  height: 100%;
}
.ins-wide {
  flex: 1;
}
.ins-wide .ins-pic {
  aspect-ratio: 2834 / 1417;
  background: transparent;
}
.ins-fan {
  flex: 1;
}
.ins-fan .ins-pic {
  aspect-ratio: 2338 / 1117;
  background: transparent;
}

/* Col 3 — studio intro */
.ins-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 4px 0;
}
.ins-intro-eyebrow {
  font-family: var(--f-en-mono);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  color: var(--jujube);
  text-transform: uppercase;
}
.ins-intro-title {
  margin: 0 0 6px;
  font-family: var(--f-biaosong);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.35;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.ins-intro p {
  margin: 0;
  font-family: var(--f-shusong);
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.ins-intro p strong {
  font-family: var(--f-biaosong);
  font-weight: 400;
  color: var(--jujube);
}

@media (max-width: 1024px) {
  .inscriptions-layout { grid-template-columns: 1fr; gap: 48px; }
}

/* Keep inscriptions block on light paper background even when nested inside dark #tianxia */
#tianxia .inscriptions {
  background: var(--paper);
  color: var(--ink);
  margin: 80px calc(-1 * var(--gutter)) 0;
  padding: 100px var(--gutter);
  position: relative;
}
#tianxia .inscriptions .section-eyebrow { color: var(--jujube); }
#tianxia .inscriptions .section-eyebrow::before { background: var(--jujube); }
#tianxia .inscriptions .section-title { color: var(--ink); }
#tianxia .inscriptions .section-title .accent { color: var(--jujube); }
#tianxia .inscriptions p,
#tianxia .inscriptions .ins-intro p { color: var(--ink-soft); }
#tianxia .inscriptions .ins-intro-eyebrow { color: var(--jujube); }
#tianxia .inscriptions .ins-intro-title { color: var(--ink); }
#tianxia .inscriptions figcaption .by { color: var(--ink); }
#tianxia .inscriptions figcaption .by-en { color: var(--gray); }

/* Address & contact */
.address-block {
  margin-top: 120px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}
.address-content h3 {
  font-family: var(--f-biaosong);
  font-size: 32px;
  margin: 0 0 24px;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.address-content p {
  font-family: var(--f-shusong);
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.contact-card {
  background: var(--ink);
  color: var(--paper);
  padding: 40px;
  position: relative;
}
.contact-card h4 {
  font-family: var(--f-biaosong);
  font-size: 22px;
  margin: 0 0 24px;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
}
.contact-list {
  list-style: none;
  margin: 0; padding: 0;
}
.contact-list li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(245,238,223,0.1);
  font-family: var(--f-shusong);
  font-size: 15px;
}
.contact-list li:first-child { border-top: none; padding-top: 0; }
.contact-list .ck {
  flex-shrink: 0;
  width: 60px;
  font-family: var(--f-en-mono);
  font-size: 10px;
  color: var(--gold-soft);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-top: 4px;
}
.contact-list .cv {
  color: var(--paper);
  letter-spacing: 0.04em;
}
.qr-block {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(245,238,223,0.1);
  display: flex;
  gap: 20px;
  align-items: center;
}
.qr-block .qr {
  width: 96px; height: 96px;
  background: var(--paper);
  padding: 6px;
  flex-shrink: 0;
}
.qr-block .qr img { width: 100%; height: 100%; object-fit: contain; }
.qr-block .qr-text {
  font-family: var(--f-fangsong);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245,238,223,0.7);
}
.qr-block .qr-text strong {
  display: block;
  color: var(--gold-soft);
  font-family: var(--f-biaosong);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

/* Park grid — 2x2 layout for 4 经纬天地 images */
.park-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  user-select: none;
  -webkit-user-select: none;
}
.park-grid .pg-item {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--gray-line);
}
.park-grid .pg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.park-grid .pg-item:hover img { transform: scale(1.04); }
.park-grid .pg-4 img { object-fit: contain; background: var(--paper); }
.park-grid figcaption {
  position: absolute;
  left: 14px; bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 12px;
  background: rgba(26, 21, 18, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.park-grid figcaption .num {
  font-family: var(--f-en-mono);
  font-size: 10px;
  color: var(--jujube-soft);
  letter-spacing: 0.24em;
}
.park-grid figcaption .cap {
  font-family: var(--f-biaosong);
  font-size: 12.5px;
  color: var(--paper);
  letter-spacing: 0.18em;
}
.park-grid .pg-4 figcaption { background: rgba(245, 238, 223, 0.92); }
.park-grid .pg-4 figcaption .num { color: var(--jujube); }
.park-grid .pg-4 figcaption .cap { color: var(--ink); }

@media (max-width: 640px) {
  .park-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Address spread — editorial layout for 公司地址 + 联络我们
   ============================================================ */
.address-spread {
  margin-top: 120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
  align-items: start;
}
.as-top-left { grid-column: 1 / span 2; display: flex; flex-direction: column; gap: 14px; padding-right: 10em; }
.as-right-col { grid-column: 3 / span 1; margin-top: 0; justify-self: end; width: 100%; }

/* Contact moved up — sub line under title */
.as-contact-sub {
  margin: 0 0 6px;
  font-family: var(--f-fangsong);
  font-size: 13px;
  color: var(--jujube) !important;
  background: transparent;
  border: none;
  letter-spacing: 0.1em;
  padding: 0;
  display: inline-block;
  align-self: flex-start;
}
.as-contact-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--gray-line);
}
.as-contact-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.as-contact-lines li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  white-space: nowrap;
}
.as-contact-lines .ck {
  width: 64px;
  flex-shrink: 0;
  font-family: var(--f-en-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--jujube);
  text-transform: uppercase;
}
.as-contact-lines .cv {
  font-family: var(--f-shusong);
  font-size: 15.5px;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.as-contact-lines .cv small {
  color: var(--jujube);
  font-size: 12.5px;
  letter-spacing: 0.2em;
  margin-left: 8px;
}

/* Right column = map + QR stack */
.as-right-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-self: end;
  width: 100%;
  margin-top: 110px;
}
.as-right-col .as-map-fig { margin: 0; width: 100%; }
.as-contact-row .as-qr-block {
  padding: 0 28px 0 0;
  border-top: none;
  border-left: none;
  border-right: 1px solid var(--gray-line);
}
.as-qr-block {
  padding-top: 18px;
  border-top: 1px solid var(--gray-line);
  display: flex;
  gap: 14px;
  align-items: center;
}
.as-qr-block .qr {
  width: 96px; height: 96px;
  background: var(--paper);
  padding: 5px;
  border: 1px solid var(--gray-line);
  flex-shrink: 0;
}
.as-qr-block .qr img { width: 100%; height: 100%; object-fit: contain; }
.as-qr-block .qr-text { display: flex; flex-direction: column; gap: 6px; }
.as-qr-block .qr-text strong {
  font-family: var(--f-biaosong);
  font-size: 15px;
  color: var(--jujube);
  letter-spacing: 0.24em;
}
.as-qr-block .qr-text span {
  font-family: var(--f-fangsong);
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  line-height: 1.7;
}
@media (max-width: 1024px) {
  .as-right-col { margin-top: 0; }
  .as-contact-lines li { white-space: normal; }
}

/* Pull thumbnails up, push map down so they roughly align */
.as-thumbs { grid-column: 1 / 2; margin-top: -40px; }
.as-map-fig { margin-top: 60px; }

/* Top-right map figure becomes a 1:1 thumb, aligned to right edge */
.as-map-fig {
  margin: 0;
  position: relative;
  justify-self: end;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: transparent;
  border: none;
  overflow: hidden;
}
.as-map-fig img {
  width: 100%; height: 100%;
  object-fit: contain;
  background: var(--paper);
  display: block;
}
.as-top-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.as-title {
  margin: 12px 0 18px;
  font-family: var(--f-biaosong);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: 0.06em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 18px;
}
.as-title-teapot {
  margin-left: auto;
  height: 1.9em;
  width: auto;
  flex: none;
  object-fit: contain;
  align-self: center;
}
.as-title .accent { color: var(--jujube); }
.as-top-left p {
  margin: 0;
  font-family: var(--f-shusong);
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

/* Top-left: text block (original layout) */
.as-contact-light {
  margin-top: 28px;
  padding: 28px 0 0;
  border-top: 1px solid var(--gray-line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px 36px;
  align-items: start;
}
.as-contact-light .acl-head {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gray-line);
}
.as-contact-light .acl-head h4 {
  margin: 0;
  font-family: var(--f-biaosong);
  font-size: 26px;
  color: var(--jujube);
  letter-spacing: 0.22em;
}
.as-contact-light .acl-head .acl-sub {
  font-family: var(--f-fangsong);
  font-size: 14px;
  color: var(--gray);
  letter-spacing: 0.14em;
}
.as-contact-light .acl-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
  align-self: center;
}
.as-contact-light .acl-grid li {
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.as-contact-light .acl-grid .ck {
  width: 60px;
  flex-shrink: 0;
  font-family: var(--f-en-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--jujube);
  text-transform: uppercase;
}
.as-contact-light .acl-grid .cv {
  font-family: var(--f-shusong);
  font-size: 16.5px;
  color: var(--ink);
  letter-spacing: 0.04em;
  line-height: 1.55;
}
.as-contact-light .acl-grid .cv small {
  color: var(--jujube);
  font-size: 12px;
  letter-spacing: 0.2em;
  margin-left: 6px;
}
.as-contact-light .acl-qr {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-left: 28px;
  border-left: 1px solid var(--gray-line);
  align-self: center;
}
.as-contact-light .acl-qr .qr {
  width: 104px;
  height: 104px;
  background: var(--paper);
  padding: 5px;
  border: 1px solid var(--gray-line);
  flex-shrink: 0;
}
.as-contact-light .acl-qr .qr img {
  width: 100%; height: 100%; object-fit: contain;
}
.as-contact-light .acl-qr .qr-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.as-contact-light .acl-qr .qr-text strong {
  font-family: var(--f-biaosong);
  font-size: 17px;
  color: var(--jujube);
  letter-spacing: 0.24em;
}
.as-contact-light .acl-qr .qr-text span {
  font-family: var(--f-fangsong);
  font-size: 14px;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  line-height: 1.7;
}
@media (max-width: 640px) {
  .as-contact-light { grid-template-columns: 1fr; }
  .as-contact-light .acl-qr { padding-left: 0; border-left: none; padding-top: 18px; border-top: 1px dashed var(--gray-line); }
  .as-contact-light .acl-grid { grid-template-columns: 1fr; }
}

/* Middle: 3 square photos, no captions, 1:1 contain */
.as-thumbs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 4px;
}
.as-thumb {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--gray-line);
}
.as-thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
  background: var(--paper);
  display: block;
}

/* Bottom: contact dark bar */
.as-contact {
  grid-column: 1 / -1;
  margin-top: 24px;
  padding: 48px 48px 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  background: var(--ink);
  color: var(--paper);
  position: relative;
}
.as-contact::before {
  content: "";
  position: absolute;
  top: 0; left: 48px; right: 48px;
  height: 2px;
  background: var(--jujube);
}
.as-contact .cc-head {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(245, 238, 223, 0.15);
  gap: 24px;
}
.as-contact .cc-head h4 {
  margin: 0;
  font-family: var(--f-biaosong);
  font-size: 22px;
  color: var(--gold-soft);
  letter-spacing: 0.18em;
}
.as-contact .cc-head .cc-sub {
  font-family: var(--f-fangsong);
  font-size: 13px;
  color: rgba(245, 238, 223, 0.6);
  letter-spacing: 0.14em;
}
.cc-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 36px;
  align-self: center;
}
.cc-grid li {
  border-top: none;
  padding: 0;
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.cc-grid .ck {
  width: 60px;
  flex-shrink: 0;
  font-family: var(--f-en-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--gold-soft);
  text-transform: uppercase;
}
.cc-grid .cv {
  font-family: var(--f-shusong);
  font-size: 15px;
  color: var(--paper);
  letter-spacing: 0.06em;
  line-height: 1.55;
}
.cc-grid .cv small {
  color: var(--gold-soft);
  font-size: 11px;
  letter-spacing: 0.2em;
  margin-left: 6px;
}

.cc-qr {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-left: 36px;
  border-left: 1px solid rgba(245, 238, 223, 0.15);
}
.cc-qr .qr {
  width: 104px;
  height: 104px;
  background: var(--paper);
  padding: 6px;
  flex-shrink: 0;
}
.cc-qr .qr img { width: 100%; height: 100%; object-fit: contain; }
.cc-qr .qr-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cc-qr .qr-text strong {
  font-family: var(--f-biaosong);
  font-size: 16px;
  color: var(--gold-soft);
  letter-spacing: 0.2em;
}
.cc-qr .qr-text span {
  font-family: var(--f-fangsong);
  font-size: 13px;
  color: rgba(245, 238, 223, 0.7);
  letter-spacing: 0.1em;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .address-spread { grid-template-columns: 1fr; }
  .as-top-left { grid-column: 1 / -1; padding-right: 0; }
  .as-right-col { grid-column: 1 / -1; justify-self: stretch; }
  .as-thumbs { grid-template-columns: 1fr; }
  .as-contact { padding: 32px 24px; }
  .as-contact .cc-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cc-grid { grid-template-columns: 1fr; }
  .cc-qr { padding-left: 0; border-left: none; padding-top: 24px; border-top: 1px solid rgba(245, 238, 223, 0.15); }
}

/* Park visuals (legacy) */
.park-strip {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
}
.park-strip .ps {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.park-strip .ps img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.park-strip .ps:hover img { transform: scale(1.04); }
.park-strip .ps-tall { aspect-ratio: 3/4; grid-row: span 2; }
.park-strip .ps-cap {
  position: absolute;
  left: 12px; bottom: 12px;
  font-family: var(--f-en-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--paper);
  text-transform: uppercase;
  background: rgba(26,21,18,0.6);
  padding: 4px 10px;
}

/* ============== Footer ============== */
.site-footer {
  background: var(--ink);
  color: rgba(245,238,223,0.7);
  padding: 48px 0 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(245,238,223,0.1);
}
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(245,238,223,0.1);
}
.footer-brand .seal {
  width: 44px; height: 44px;
  background: url("assets/logo-main.png") center/contain no-repeat;
  filter: brightness(1.1);
  margin-bottom: 16px;
}
.footer-brand .name {
  display: inline-block;
  width: 220px;
  height: 21px;
  background: url("assets/brand-name-cream.png") no-repeat left center / contain;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
}
.footer-brand .en {
  font-family: var(--f-en-serif);
  font-size: 11px;
  color: var(--gold-soft);
  letter-spacing: 0.2em;
  margin: 6px 0 16px;
  text-transform: uppercase;
}
.footer-brand .slogan {
  font-family: var(--f-fangsong);
  font-size: 15px;
  letter-spacing: 0.15em;
  color: rgba(245,238,223,0.8);
}
.footer-col h5 {
  font-family: var(--f-biaosong);
  font-size: 14px;
  color: var(--gold-soft);
  letter-spacing: 0.2em;
  margin: 0 0 20px;
}
.footer-col ul {
  list-style: none; margin: 0; padding: 0;
}
.footer-col li {
  padding: 6px 0;
  font-family: var(--f-dahei);
  font-size: 14px;
  color: rgba(245,238,223,0.6);
  letter-spacing: 0.04em;
  transition: color .25s;
  cursor: pointer;
}
.footer-col li a {
  color: inherit;
  text-decoration: none;
  transition: color .25s;
}
.footer-col li:hover a,
.footer-col li a:hover { color: var(--gold-soft); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-family: var(--f-en-mono);
  font-size: 11px;
  color: rgba(245,238,223,0.4);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .icp-line {
  display: flex;
  gap: 24px;
  font-family: var(--f-shusong);
  text-transform: none;
  letter-spacing: 0.05em;
  font-size: 13px;
}
.footer-bottom .icp-line a {
  color: inherit;
  text-decoration: none;
  transition: color .25s;
}
.footer-bottom .icp-line a:hover {
  color: var(--paper);
}

/* Decorative — Newspaper masthead bar */
.masthead-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1.5px solid var(--ink);
  border-bottom: 0.5px solid var(--ink);
  margin: 4px 0 12px;
  font-family: var(--f-shusong);
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.1em;
}
.masthead-bar .center {
  font-family: "FZ QingKeYueSong", var(--f-biaosong);
  font-size: 17px;
  color: var(--ink-soft);
  letter-spacing: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  padding: 0;
}
.masthead-bar .center::before,
.masthead-bar .center::after {
  content: none;
}
.masthead-bar .center .ch {
  display: inline-block;
  padding: 0 0.42em;
  border-right: 1px solid var(--gray-line);
  line-height: 1.1;
}
.masthead-bar .center .ch.last {
  border-right: none;
}
.masthead-bar .center .gap {
  display: inline-block;
}

/* ============== Responsive ============== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-side { display: none; }
  .letters-grid { grid-template-columns: 1fr; }
  .product-card.layout-left, .product-card.layout-right {
    grid-template-columns: 1fr;
  }
  .product-card.layout-right .product-text { order: 1; }
  .product-card.layout-right .product-visual { order: 2; }
  .product-features { grid-template-columns: 1fr; }
  .product-series { grid-template-columns: 1fr; }
  .tianxia-videos { grid-template-columns: repeat(2, 1fr); }
  .video-card.featured { grid-column: span 2; grid-row: auto; }
  .article-row { grid-template-columns: 40px 1fr; }
  .article-row .a-source, .article-row .a-date, .article-row .a-arrow { display: none; }
  .juzhen-intro, .about-grid, .address-block, .products-header {
    grid-template-columns: 1fr; gap: 40px;
  }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .inscriptions-grid { grid-template-columns: 1fr; }
  .park-strip { grid-template-columns: 1fr; }
  .park-strip .ps-tall { grid-row: auto; aspect-ratio: 4/3; }
  .tl-item { grid-template-columns: 1fr; gap: 12px; }
  .tl-year { font-size: 56px; }
  section { padding: 80px 0; }
  .single-grid > .item { grid-column: span 6 !important; aspect-ratio: 4/3 !important; }
}

@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; }
  .nav .nav-cta { display: none; }
  /* 页脚版权 / ICP / 公网安备 三项分三行 */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-bottom .icp-line { flex-direction: column; gap: 6px; }
  .hero { min-height: 80vh; min-height: 80dvh; padding: 30px 0 60px; }
  .hero-title { font-size: clamp(50px, 16vw, 88px); }
  .hero-sub { font-size: 15px; }
  .single-grid > .item { grid-column: span 12 !important; }
}



/* ===== WeChat article cards ===== */
.wechat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 32px 0 24px;
}
.wechat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(245, 238, 223, 0.04);
  border: 1px solid rgba(245, 238, 223, 0.12);
  text-decoration: none;
  transition: transform .4s, background .25s, border-color .25s;
}
.wechat-card:hover {
  transform: translateY(-3px);
  background: rgba(178, 36, 8, 0.08);
  border-color: var(--gold-soft);
}
.wechat-card .wc-pic {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink);
}
.wechat-card .wc-pic img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.wechat-card:hover .wc-pic img { transform: scale(1.04); }
.wechat-card .wc-meta {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.wechat-card .wc-num {
  font-family: var(--f-en-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold-soft);
  text-transform: uppercase;
}
.wechat-card .wc-title {
  margin: 0;
  font-family: var(--f-biaosong);
  font-size: 18px;
  color: var(--paper);
  letter-spacing: 0.08em;
  line-height: 1.55;
}
.wechat-card .wc-arr {
  margin-top: auto;
  font-family: var(--f-en-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--jujube-soft);
  text-transform: uppercase;
}
.wechat-card:hover .wc-title { color: var(--gold-soft); }

@media (max-width: 1024px) {
  .wechat-cards { grid-template-columns: 1fr; gap: 24px; }
}
.tianxia-videos-phones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-bottom: 80px;
}
.phone-video {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
.phone-shell {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 50 / 87;
  background: transparent;
  margin: 0 auto;
  filter: drop-shadow(0 30px 40px rgba(26, 21, 18, 0.25));
}
.phone-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/phone-frame.png") center/100% 100% no-repeat;
  pointer-events: none;
  z-index: 3;
}
.phone-screen {
  position: absolute;
  left: 6.6%;
  right: 6.6%;
  top: 6.0%;
  bottom: 5.7%;
  background: #0b0a09;
  overflow: hidden;
  border-radius: 6px;
  user-select: none;
  -webkit-user-select: none;
}
.phone-screen video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #0b0a09;
}
.phone-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}
.play-button {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(178, 36, 8, 0.92);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -10px rgba(178, 36, 8, 0.6);
  transition: transform .25s, background .25s;
  pointer-events: none;
}
.play-button::before {
  content: "";
  width: 0; height: 0;
  border-left: 13px solid var(--paper);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 4px;
}
.play-button.big {
  width: 72px; height: 72px;
}
.play-button.big::before {
  border-left: 18px solid var(--paper);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 6px;
}
.phone-video:hover .play-button,
.wide-video:hover .play-button {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--jujube);
}
.phone-caption {
  margin-top: 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .2s;
}
a.phone-caption:hover { opacity: 0.82; }
a.phone-caption:hover .cap-link { color: var(--gold-soft); }
.phone-caption .cap-num {
  font-family: var(--f-en-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold-soft);
  text-transform: uppercase;
}
.phone-caption .cap-title {
  font-family: var(--f-biaosong);
  font-size: 20px;
  color: var(--paper);
  letter-spacing: 0.1em;
  margin: 0;
  line-height: 1.3;
}
.phone-caption .cap-sub {
  font-family: var(--f-fangsong);
  font-size: 12px;
  color: rgba(245, 238, 223, 0.55);
  letter-spacing: 0.18em;
}
.phone-caption .cap-link {
  margin-top: 6px;
  font-family: var(--f-en-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--jujube);
  text-transform: uppercase;
  transition: color .2s;
  align-self: center;
}
.phone-caption .cap-link:hover { color: var(--gold-soft); }

/* Horizontal video 04 */
.wide-video {
  margin: 0 auto 80px;
  width: 100%;
  cursor: pointer;
  display: block;
}
.wide-video-frame {
  position: relative;
  width: 100%;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--gray-line);
  box-shadow: 0 1px 0 rgba(178, 36, 8, 0.45) inset, 0 40px 70px -40px rgba(0,0,0,0.55);
}
.wide-video-frame::before {
  content: "";
  position: absolute;
  top: 0; left: 14px; right: 14px;
  height: 2px;
  background: var(--jujube);
  pointer-events: none;
}
.wide-video-frame .ef-corner {
  position: absolute;
  width: 12px; height: 12px;
  border: 1px solid var(--jujube);
  z-index: 3;
}
.wide-video-frame .ef-tl { top: -6px; left: -6px; border-right: none; border-bottom: none; }
.wide-video-frame .ef-tr { top: -6px; right: -6px; border-left: none; border-bottom: none; }
.wide-video-frame .ef-bl { bottom: -6px; left: -6px; border-right: none; border-top: none; }
.wide-video-frame .ef-br { bottom: -6px; right: -6px; border-left: none; border-top: none; }
.wide-video-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b0a09;
  overflow: hidden;
}
.wide-video-screen video,
.wide-video-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.wide-video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}
.wide-video-meta {
  position: absolute;
  left: 36px; bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.wide-video-meta .meta-num {
  font-family: var(--f-en-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold-soft);
  text-transform: uppercase;
}
.wide-video-meta .meta-title {
  margin: 0;
  font-family: var(--f-biaosong);
  font-size: 28px;
  color: var(--paper);
  letter-spacing: normal;
}
.wide-video-meta .meta-sub {
  font-family: var(--f-fangsong);
  font-size: 14px;
  color: rgba(245, 238, 223, 0.7);
  letter-spacing: 0.18em;
}

@media (max-width: 1024px) {
  .tianxia-videos-phones { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  /* 宽屏视频上的覆盖文字（番号/标题/副题）手机端全部隐藏 */
  .wide-video-meta { display: none; }
}


/* ===== Local video modal ===== */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(11,10,9,0.92);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.video-modal.open { display: flex; }

/* ===== Honor links + certificate lightbox ===== */
.honor-link {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  position: relative;
  transition: color .2s;
}
.honor-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--jujube);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s cubic-bezier(.2,.7,.2,1);
}
.honor-link:hover { color: var(--jujube); }
.honor-link:hover::after { transform: scaleX(1); }
.about-honors li > .honor-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.about-honors li > .honor-link::before {
  content: "";
  width: 12px; height: 12px;
  flex: none;
  border: 1px solid currentColor;
  border-radius: 1px;
  opacity: .45;
  -webkit-mask: no-repeat center / 8px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4'%3E%3Cpath d='M9 21H3v-6M21 9V3h-6M3 21 10 14M21 3l-7 7'/%3E%3C/svg%3E");
  mask: no-repeat center / 8px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4'%3E%3Cpath d='M9 21H3v-6M21 9V3h-6M3 21 10 14M21 3l-7 7'/%3E%3C/svg%3E");
  background: currentColor;
  border: none;
  border-radius: 0;
}
.honor-modal {
  position: fixed;
  inset: 0;
  background: rgba(11,10,9,0.92);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 48px;
  opacity: 0;
  transition: opacity .3s ease;
}
.honor-modal.open { display: flex; opacity: 1; }
.honor-modal-figure {
  margin: 0;
  max-width: min(92vw, 1100px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: scale(.94);
  transition: transform .34s cubic-bezier(.2,.7,.2,1);
}
.honor-modal.open .honor-modal-figure { transform: scale(1); }
.honor-modal-figure img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #fff;
  padding: 10px;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.7);
}
.honor-modal-figure figcaption {
  font-family: var(--f-biaosong);
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--paper);
  text-align: center;
}
.honor-modal-close {
  position: absolute;
  top: 26px; right: 30px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(245,238,223,0.4);
  background: rgba(245,238,223,0.08);
  color: var(--paper);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background .2s, border-color .2s;
}
.honor-modal-close:hover { background: var(--jujube); border-color: var(--jujube); }
@media (max-width: 768px) {
  .honor-modal { padding: 20px; }
  .honor-modal-close { top: 14px; right: 16px; }
}
.video-modal-inner.phone-modal-shell {
  position: relative;
  background: transparent;
  border: none;
  width: auto;
  max-width: 92vw;
  max-height: 92vh;
}
.phone-modal-frame {
  position: relative;
  width: min(46vh, 86vw);
  aspect-ratio: 50 / 87;
  background: transparent;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55));
}
.phone-modal-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/phone-frame.png") center/100% 100% no-repeat;
  pointer-events: none;
  z-index: 3;
}
.phone-modal-screen {
  position: absolute;
  left: 6.6%;
  right: 6.6%;
  top: 6.0%;
  bottom: 5.7%;
  background: #000;
  overflow: hidden;
  border-radius: 8px;
}
.phone-modal-screen video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}
.video-modal-close {
  position: absolute;
  top: -42px;
  right: 0;
  background: none;
  border: 1px solid rgba(245,238,223,0.4);
  color: var(--paper);
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-family: var(--f-en-mono);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  z-index: 2;
}
.video-modal-close:hover { background: var(--jujube); border-color: var(--jujube); }


/* ============================================================
   Letter modal (信笺纸 lightbox)
   ============================================================ */
.letter-modal {
  position: fixed;
  inset: 0;
  background: rgba(26, 21, 18, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  cursor: pointer;
  opacity: 1;
  transition: opacity 1.2s ease;
}
.letter-modal.is-closing {
  display: flex;
  opacity: 0;
  pointer-events: none;
}
.letter-modal.is-closing .letter-sheet {
  animation: lm-fall 1.8s cubic-bezier(.4,0,.6,1) forwards;
}
@keyframes lm-fall {
  0%   { transform: scale(1) translateY(0); opacity: 1; }
  40%  { opacity: 1; }
  100% { transform: scale(0.74) translateY(48px); opacity: 0; }
}
.letter-modal.open {
  display: flex;
  animation: lm-fade 1.2s ease;
}
@keyframes lm-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.letter-sheet {
  position: relative;
  width: min(1280px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: #faf3e1;
  box-shadow:
    0 60px 100px -40px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(178, 36, 8, 0.18);
  transform: scale(0.74) translateY(48px);
  opacity: 0;
  animation: lm-rise 1.8s cubic-bezier(.2,.7,.2,1) forwards;
  cursor: default;
  border-top: 2px solid var(--jujube);
}
@keyframes lm-rise {
  0%   { transform: scale(0.74) translateY(48px); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.letter-sheet-inner {
  position: relative;
  padding: 56px 80px 64px;
  background-image: none;
}
.letter-sheet-inner::before,
.letter-sheet-inner::after {
  display: none;
}
.letter-sheet-content {
  position: relative;
  font-family: var(--f-shusong);
  font-size: 17px;
  line-height: 44px;
  color: var(--ink);
  letter-spacing: 0.02em;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 41px,
    rgba(178, 36, 8, 0.15) 41px,
    rgba(178, 36, 8, 0.15) 42px,
    transparent 42px,
    transparent 44px
  );
  background-position: 0 0;
}
.letter-sheet-content h2 {
  margin: 0 0 0;
  font-family: var(--f-biaosong);
  font-weight: 400;
  font-size: 36px;
  letter-spacing: 0.32em;
  color: var(--ink);
  line-height: 80px;
  text-align: center;
}
.letter-sheet-content .lt-sub {
  margin: 0 0 40px;
  font-family: var(--f-fangsong);
  font-size: 15px;
  color: var(--jujube);
  letter-spacing: 0.18em;
  line-height: 40px;
  text-align: center;
}
.letter-sheet-content p {
  margin: 0;
  line-height: 44px;
  text-indent: 2em;
}
.letter-sheet-content p:first-of-type,
.letter-sheet-content p.lt-sign,
.letter-sheet-content p.lt-date,
.letter-sheet-content p.lt-hi,
.letter-sheet-content .lt-sub {
  text-indent: 0;
  text-align: left;
}
.letter-sheet-content p.lt-sign,
.letter-sheet-content p.lt-date {
  text-align: right !important;
}
.letter-sheet-content .lt-sign {
  margin-top: 0;
  text-align: right;
  text-indent: 0;
  font-family: var(--f-shusong);
  letter-spacing: 0.02em;
  color: var(--ink);
}
.letter-sheet-content .lt-compact .lt-sign {
  margin-top: 0;
}
.letter-sheet-content .lt-date {
  text-align: right;
  text-indent: 0;
  font-family: var(--f-shusong);
  letter-spacing: 0.02em;
  color: var(--ink);
}

@media (max-width: 640px) {
  .letter-sheet-inner { padding: 40px 24px 48px; background-position: 0 40px; }
  .letter-sheet-inner::before { left: 18px; }
  .letter-sheet-inner::after { right: 18px; }
  .letter-sheet-content h2 { font-size: 28px; line-height: 60px; }
}


/* ============================================================
   Doc modal — pages on the left, text on the right, white paper
   ============================================================ */
.doc-modal { padding: 32px; }
.doc-sheet {
  position: relative;
  width: min(1320px, 100%);
  height: 92vh;
  height: 92dvh;
  max-height: 92vh;
  max-height: 92dvh;
  background: #FBF7EE;
  box-shadow:
    0 60px 100px -40px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(178, 36, 8, 0.18);
  transform: scale(0.74) translateY(48px);
  opacity: 0;
  animation: lm-rise 1.8s cubic-bezier(.2,.7,.2,1) forwards;
  cursor: default;
  border-top: 2px solid var(--jujube);
  overflow: hidden;
  display: flex;
}
.letter-modal.is-closing .doc-sheet {
  animation: lm-fall 1.8s cubic-bezier(.4,0,.6,1) forwards;
}
.doc-grid {
  display: grid;
  grid-template-columns: minmax(280px, 38%) 1fr;
  width: 100%;
  height: 100%;
}
.doc-pages {
  background: #efe9d8;
  border-right: 1px solid var(--gray-line);
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  user-select: none;
  -webkit-user-select: none;
}
.doc-pages img {
  width: 100%;
  height: auto;
  display: block;
  background: #ffffff;
  box-shadow: 0 8px 16px -10px rgba(26, 21, 18, 0.4);
  -webkit-user-drag: none;
}
.doc-pages-source {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin-top: 2px;
  text-align: center;
}
.doc-pages-source .dps-rule {
  width: 34px;
  height: 2px;
  background: var(--jujube);
  opacity: 0.9;
}
.doc-pages-source .dps-name {
  font-family: "FZ XiaoBiaoSong", "FZ ShuSong", var(--f-biaosong);
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--jujube-deep, var(--jujube));
}
.doc-pages-source .dps-meta {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Source Han Sans SC", "Noto Sans SC", var(--f-dahei);
}
.doc-pages-source .dps-date {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.doc-pages-source .dps-sep {
  width: 1px;
  height: 11px;
  background: var(--gray-line);
}
.doc-pages-source .dps-edition {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--jujube-deep, var(--jujube));
  padding-left: 1px;
}
.doc-text {
  padding: 56px 64px 64px;
  overflow-y: auto;
  font-family: var(--f-shusong);
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink);
  letter-spacing: 0.02em;
  background: #FBF7EE;
}
.doc-header { margin-bottom: 32px; padding-bottom: 0; border-bottom: none; }
.doc-header h2 {
  margin: 0 0 6px;
  font-family: "FZ XiaoBiaoSong", "FZ ShuSong", var(--f-biaosong);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: normal !important;
  color: var(--ink);
  text-align: center;
}
.doc-source-base {}
.doc-source {
  margin: 0;
  font-family: var(--f-dahei);
  font-size: 16px;
  line-height: 2.1;
  letter-spacing: normal;
  color: var(--ink);
}
.doc-text .doc-source,
.doc-source {
  text-indent: 0 !important;
  text-align: center !important;
}

.doc-header h2 {
  letter-spacing: normal !important;
}
.doc-text h2.tl-doc-title {
  font-size: 22px;
}
.doc-lede {
  background: rgba(178, 36, 8, 0.04);
  border-left: 3px solid var(--jujube);
  padding: 18px 22px;
  font-size: 15px;
  line-height: 1.85;
  margin: 0 0 32px;
  color: var(--ink-soft);
}
.doc-text h3 {
  margin: 36px 0 18px;
  font-family: var(--f-dahei);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.12em;
  color: var(--ink);
  text-align: center;
}
.doc-text p { margin: 0 0 18px; text-indent: 2em; }
.doc-text p.doc-lede { text-indent: 0; }
.doc-text p.doc-note {
  text-indent: 0;
  text-align: left;
  color: var(--gray);
  font-size: 13px;
  margin-top: 36px;
  letter-spacing: 0.1em;
  line-height: 1.95;
  padding-left: 2em;
  border-top: 1px solid var(--gray-line);
  padding-top: 18px;
}
.doc-text ol { margin: 0 0 18px; padding-left: 32px; }
.doc-text ol li { margin: 0 0 8px; padding-left: 4px; }
.doc-text strong { font-family: inherit; font-weight: inherit; color: inherit; }

@media (max-width: 1024px) {
  .doc-grid { grid-template-columns: 1fr; display: block; height: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .doc-pages { max-height: none; flex-direction: column; overflow: visible; }
  .doc-pages img { width: 100%; height: auto; }
  .doc-pages-source { margin-bottom: 4px; }
  .doc-text { padding: 28px 22px 40px; overflow: visible; }
}


/* Doc modal — h4 sub-section style */
.doc-text h4 {
  margin: 22px 0 12px;
  font-family: var(--f-dahei);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-indent: 2em;
}
.doc-placeholder {
  text-indent: 0 !important;
  text-align: center;
  color: var(--gray);
  font-family: var(--f-fangsong);
  letter-spacing: 0.32em;
  padding: 36px 0;
}


/* Doc modal — close button */
.doc-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border: 1px solid var(--gray-line);
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-en-mono);
  transition: all .25s;
}
.doc-close:hover {
  background: var(--jujube);
  border-color: var(--jujube);
  color: var(--paper);
  transform: rotate(90deg);
}


.products-refs li > .ref-row,
.products-refs li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  margin: 0;
  min-height: 0;
  text-decoration: none;
  transition: padding .25s;
  line-height: 1.4;
}
.products-refs li > .ref-row .ref-meta-row {
  gap: 4px;
}
.products-refs li:hover > .ref-row { padding-left: 8px; }
.products-refs .ref-title-link {
  display: block;
  font-family: var(--f-biaosong);
  font-size: 15.5px;
  color: var(--ink);
  letter-spacing: 0.06em;
  line-height: 1.4;
  margin: 0;
  padding: 0;
  text-decoration: none;
  transition: color .25s;
}
.products-refs li:hover .ref-title-link { color: var(--jujube); }
.products-refs .ref-cta {
  cursor: pointer;
  transition: color .25s;
}
.products-refs .ref-cta:hover { color: var(--jujube-deep); }


/* Doc-pages — center single image vertically, give it paper padding */
.doc-pages:has(img:only-of-type) {
  justify-content: center;
}
.doc-pages img {
  background: #ffffff;
  padding: 16px;
}


/* ===== Back-to-top button ===== */
.back-to-top {
  position: fixed;
  right: calc(28px + env(safe-area-inset-right));
  bottom: calc(36px + env(safe-area-inset-bottom));
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--jujube);
  color: var(--paper);
  font-size: 22px;
  line-height: 44px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 28px -10px rgba(178, 36, 8, 0.6);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all .35s cubic-bezier(.2,.7,.2,1);
  z-index: 90;
  font-family: var(--f-en-mono);
}
.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--jujube-deep);
  transform: translateY(-4px);
}
@media (max-width: 640px) {
  .back-to-top { right: 18px; bottom: 22px; width: 44px; height: 44px; line-height: 44px; font-size: 18px; }
}


/* ===== Data eyebrow bar (above 核心产品) ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 80px;
  padding: 36px 0;
  border-top: 1px solid var(--gray-line);
  border-bottom: 1px solid var(--gray-line);
}
.stats-bar .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  position: relative;
}
.stats-bar .stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14%;
  bottom: 14%;
  width: 1px;
  background: var(--gray-line);
}
.stats-bar .stat-num {
  font-family: "FZ XiaoBiaoSong", var(--f-biaosong);
  font-size: clamp(44px, 4.4vw, 64px);
  color: var(--jujube);
  line-height: 1;
  letter-spacing: 0.02em;
}
.stats-bar .stat-num sup {
  font-size: 0.34em;
  vertical-align: super;
  margin-left: 4px;
  font-family: var(--f-shusong);
  color: var(--ink-soft);
}
.stats-bar .stat-label {
  font-family: var(--f-fangsong);
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--gray);
}

@media (max-width: 1024px) {
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 28px 0; padding: 28px 0; }
  .stats-bar .stat + .stat::before { display: none; }
}
@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr; }
}


/* ===== Section divider (引语分隔条) ===== */
.section-divider {
  max-width: var(--container-wide);
  margin: 60px auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}
.section-divider .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-line) 40%, var(--gray-line) 60%, transparent);
}
.section-divider .quote {
  font-family: "FZ QingKeYueSong", var(--f-biaosong);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.32em;
  color: var(--ink);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .section-divider { margin: 40px auto; }
  .section-divider .quote {
    font-size: 13px;
    letter-spacing: 0.14em;
    white-space: normal;
    text-align: center;
  }
  /* 报头条：手机端竖向堆叠；对联在中缝断为两行居中，标签上下排列 */
  .masthead-bar { flex-direction: column; gap: 9px; text-align: center; }
  .masthead-bar .center { flex-wrap: wrap; justify-content: center; }
  .masthead-bar .center .gap { flex-basis: 100%; height: 0; padding: 0; }
  /* 联络我们标题：允许换行 + 字号缩小，杜绝一字一行 */
  .as-title { flex-wrap: wrap; font-size: 24px; gap: 10px 14px; }
  .as-title-teapot { height: 1.7em; }
}


/* ===== Single-print rotator with paper-frame ===== */
.single-rotator.paper-frame {
  border: 1px solid var(--gray-line);
  background: var(--paper) !important;
  position: relative;
}
.single-print-stage .single-rotator { margin: 0 auto; }
.single-print-stage .elegant-caption { margin-left: auto; margin-right: auto; justify-content: center; }
.about-stage .elegant-caption { max-width: 100%; justify-content: center; }
.single-rotator.paper-frame::after {
  content: "";
  position: absolute;
  top: 0; left: 18px; right: 18px;
  height: 2px;
  background: var(--jujube);
  pointer-events: none;
  z-index: 2;
}


/* ===== Series card CTA (matches refs "阅读全文 ↗" style) ===== */
.series-card {
  cursor: default;
}
.series-card[data-clickable="true"] {
  cursor: pointer;
}
.series-card .series-cta {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-en-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--jujube);
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0;
  border: none;
  align-self: flex-end;
  transition: color .25s;
}
.series-card[data-clickable="true"]:hover .series-cta { color: var(--jujube-deep); }
.series-card .series-cta .arr {
  display: inline;
  border: none;
  width: auto; height: auto;
  border-radius: 0;
  font-family: inherit;
  font-size: 12px;
}

/* ===== Series modal ===== */
.series-modal { padding: 40px 24px; }
.series-sheet {
  position: relative;
  width: min(880px, 100%);
  max-height: 92vh;
  background: #fcf5e6;
  box-shadow:
    0 60px 100px -40px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(178, 36, 8, 0.18);
  transform: scale(0.84) translateY(28px);
  opacity: 0;
  animation: lm-rise 0.9s cubic-bezier(.2,.7,.2,1) forwards;
  cursor: default;
  border-top: 2px solid var(--jujube);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.letter-modal.is-closing .series-sheet {
  animation: lm-fall 0.9s cubic-bezier(.4,0,.6,1) forwards;
}
.series-body {
  padding: 56px 64px 64px;
  overflow-y: auto;
  font-family: var(--f-shusong);
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.series-doc-header {
  text-align: center;
  margin-bottom: 32px;
}
.series-doc-eyebrow {
  margin: 0 0 14px;
  font-family: "FZ QingKeYueSong", var(--f-biaosong);
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--jujube);
  text-indent: 0 !important;
}
.series-body h2 {
  margin: 0;
  font-family: "FZ XiaoBiaoSong", var(--f-biaosong);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.series-body h3 {
  margin: 32px 0 14px;
  font-family: var(--f-dahei);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-align: center;
}
.series-body p {
  margin: 0 0 16px;
  text-indent: 2em;
}
.series-body p strong {
  font-family: var(--f-biaosong);
  font-weight: 400;
  color: var(--jujube);
}
.series-quote {
  margin: 0 0 28px;
  padding: 20px 24px;
  background: rgba(220, 165, 50, 0.14);
  border-left: 3px solid var(--gold);
  font-family: var(--f-fangsong);
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink-soft);
  text-indent: 2em !important;
  text-align: left;
  letter-spacing: 0.02em;
}
.series-body p.series-pricing,
.series-body p.series-contact {
  text-indent: 2em !important;
  text-align: left;
  padding: 16px 24px;
  background: rgba(220, 165, 50, 0.14);
  border-left: 3px solid var(--gold);
  font-family: var(--f-biaosong);
  font-size: 16px;
  margin: 24px 0;
  color: var(--ink);
  letter-spacing: 0.06em;
}
.series-body p.series-pricing strong,
.series-body p.series-contact strong {
  color: var(--jujube);
  font-size: 18px;
  margin: 0 2px;
}
.series-body p.series-tip {
  text-indent: 2em !important;
  text-align: left;
  font-family: var(--f-biaosong);
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 0.14em;
  margin-top: 28px;
  padding: 18px 24px;
  border-top: 1px solid var(--gray-line);
  border-left: 3px solid var(--jujube);
  background: rgba(178, 36, 8, 0.05);
}


/* Carousel dots inside light captions (elegant-caption / about-rotator nav) */
.elegant-caption .carousel-dot,
.products-header .carousel-dot,
.about-rotator .carousel-dot {
  background: var(--gray-line);
}
/* Fixed line length — active state only changes color, not width */
.elegant-caption .carousel-dot {
  width: 30px;
  cursor: pointer;
  position: relative;
}
/* Larger invisible hit area so the thin line is easy to click */
.elegant-caption .carousel-dot::after {
  content: "";
  position: absolute;
  inset: -10px -3px;
}
.elegant-caption .carousel-dot.is-active {
  width: 30px;
}
.elegant-caption .carousel-dot.is-active,
.products-header .carousel-dot.is-active,
.about-rotator .carousel-dot.is-active {
  background: var(--jujube);
}


/* Juzhen heading — keep on two lines, never auto-wrap mid-phrase */
.juzhen-title {
  font-size: clamp(34px, 4vw, 56px);
  white-space: nowrap;
}
.juzhen-title .accent { white-space: nowrap; }

/* About heading — small kicker line + emphatic accent line */
.about-title { line-height: 1.18; }
.about-title .at-small {
  display: inline-block;
  font-size: 0.56em;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-bottom: 0.18em;
}
.about-title .accent { letter-spacing: 0.02em; }



/* Letter key-phrase emphasis — break visual monotony */
.letter-sheet-content .lt-em {
  font-style: normal;
  font-family: "FZ XiaoBiaoSong", "FZ ShuSong", serif;
  font-size: 1.18em;
  color: var(--jujube);
  letter-spacing: 0.04em;
  padding: 0 0.08em;
}


/* ============== Hero (modern editorial — v2) ============== */
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---- Masthead rule (newspaper front-page line) ---- */
.hero-masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.4vw, 34px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gray-line);
  margin-top: -2.1em;
  opacity: 0;
  animation: heroFade 1s ease .15s forwards;
}
.hero-masthead .hm-rule { display: none; }
.hero-masthead .hm-bar {
  display: inline-block;
  width: 1px;
  height: 0.95em;
  background: currentColor;
  opacity: 0.3;
  flex: none;
}
.hero-masthead .hm-l,
.hero-masthead .hm-r {
  font-family: var(--f-en-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gray);
  white-space: nowrap;
}
.hero-masthead .hm-l { color: var(--jujube); }
.hero-masthead .hm-rule { flex: 1; height: 1px; background: var(--gray-line); }

/* ---- Body: lead column + literary aside ---- */
.hero-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  column-gap: 0;
  padding: clamp(40px, 5.5vw, 72px) 0 clamp(44px, 6.5vw, 84px);
}
.hero-lead { grid-column: 1 / 3; padding-right: clamp(40px, 5vw, 80px); }
.hero-aside { grid-column: 3 / 4; }

/* Lead eyebrow — top anchor that aligns with the aside caption */
.hero-eyebrow {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 clamp(22px, 2.6vw, 32px);
  opacity: 0;
  animation: heroFade 1s ease .3s forwards;
}
.hero-eyebrow .he-cn {
  font-family: var(--f-biaosong);
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--ink);
}
.hero-eyebrow .he-en {
  font-family: var(--f-en-mono);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray);
}
.hero-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--ink);
  align-self: center;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(22px, 3vw, 34px);
  opacity: 0;
  animation: heroFade 1s ease .35s forwards;
}
.hero-kicker .k-mark {
  font-family: var(--f-dahei);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--paper);
  background: var(--jujube);
  padding: 5px 11px;
  white-space: nowrap;
}
.hero-kicker .k-desc {
  font-family: var(--f-en-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
}

.hero-display {
  margin: 0;
  font-family: "FZ QingKeYueSong", var(--f-biaosong);
  font-weight: 400;
  font-size: clamp(48px, 7.4vw, 104px);
  line-height: 1.06;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.hero-display .row { display: block; }
.hero-display .row + .row { margin-top: 0.12em; }
.hero-display .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.42em);
  animation: heroChar 0.95s cubic-bezier(.2,.74,.24,1) forwards;
}
.hero-display .accent { color: var(--jujube); }
.hero-display.hero-display--statement {
  font-family: "FZ ShuSong", "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(30px, 4.4vw, 60px);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.hero-display.hero-display--statement .row + .row { margin-top: 0.06em; }
.hero-display .row:nth-child(1) .ch:nth-child(1) { animation-delay: .50s; }
.hero-display .row:nth-child(1) .ch:nth-child(2) { animation-delay: .58s; }
.hero-display .row:nth-child(1) .ch:nth-child(3) { animation-delay: .66s; }
.hero-display .row:nth-child(1) .ch:nth-child(4) { animation-delay: .74s; }
.hero-display .row:nth-child(1) .ch:nth-child(5) { animation-delay: .82s; }
.hero-display .row:nth-child(2) .ch:nth-child(1) { animation-delay: .96s; }
.hero-display .row:nth-child(2) .ch:nth-child(2) { animation-delay: 1.04s; }
.hero-display .row:nth-child(2) .ch:nth-child(3) { animation-delay: 1.12s; }
.hero-display .row:nth-child(2) .ch:nth-child(4) { animation-delay: 1.20s; }
.hero-display .row:nth-child(2) .ch:nth-child(5) { animation-delay: 1.28s; }
.hero-display .row:nth-child(2) .ch:nth-child(6) { animation-delay: 1.36s; }

.hero-deck {
  max-width: 52em;
  margin: clamp(26px, 3.4vw, 38px) 0 0;
  font-family: var(--f-shusong);
  font-weight: 500;
  font-size: clamp(14px, 1.05vw, 16.5px);
  line-height: 1.96;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  text-wrap: pretty;
  opacity: 0;
  animation: heroFade 1.1s ease 1.5s forwards;
}
.hero-deck strong {
  font-weight: 400;
  font-family: var(--f-biaosong);
  color: var(--jujube);
  letter-spacing: 0.04em;
}
.hero-deck .hd-line {
  display: block;
  text-align: left;
  text-wrap: balance;
}
.hero-deck .hd-line + .hd-line { margin-top: 0.2em; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(30px, 3.6vw, 42px);
  opacity: 0;
  animation: heroFade 1.1s ease 1.72s forwards;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-biaosong);
  font-size: 16px;
  letter-spacing: 0.14em;
  padding: 15px 28px;
  border: 1px solid var(--jujube);
  transition: background .28s, color .28s, transform .28s;
}
.hero-btn .ar { font-size: 14px; transition: transform .28s; }
.hero-btn--solid { background: var(--jujube); color: var(--paper); }
.hero-btn--solid:hover { background: var(--jujube-deep); border-color: var(--jujube-deep); }
.hero-btn--solid:hover .ar { transform: translateX(4px); }
.hero-btn--ghost { color: var(--jujube); background: transparent; }
.hero-btn--ghost:hover { background: var(--jujube); color: var(--paper); }
.hero-btn--ghost:hover .ar { transform: translate(3px, -3px); }

/* ---- Literary aside (captioned horizontal inscription) ---- */
.hero-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 26px);
  align-self: stretch;
  padding-left: clamp(30px, 4vw, 56px);
  transform: translateY(-0.2em);
  opacity: 0;
  animation: heroFade 1.2s ease 1.1s forwards;
}
.aside-cap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  text-align: right;
  margin-top: clamp(8px, 1vw, 13px);
  margin-bottom: clamp(-20px, -1.9vw, -13px);
}
.aside-cap-cn {
  font-family: var(--f-biaosong);
  font-size: 17px;
  letter-spacing: 0.2em;
  color: var(--ink);
}
.aside-cap-en {
  font-family: var(--f-en-mono);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray);
}
.hero-couplet {
  display: flex;
  flex-direction: row-reverse;
  gap: clamp(10px, 1vw, 16px);
}
.hero-couplet .cp {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: "FZ QingKeYueSong", var(--f-biaosong);
  font-size: clamp(26px, 2.4vw, 36px);
  letter-spacing: 0.28em;
  color: var(--ink);
  line-height: 1;
}
.hero-couplet .cp:first-child { color: var(--gold); }

/* Verse variant — long manifesto as a multi-column vertical inscription */
.hero-couplet--verse {
  flex-direction: column;
  gap: clamp(13px, 1.7vw, 20px);
  align-items: flex-end;
  margin-right: 0;
}
.hero-couplet--verse .cp {
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  font-family: var(--f-shusong);
  font-weight: 500;
  font-size: clamp(15px, 1.45vw, 19px);
  letter-spacing: normal;
  line-height: 1;
  color: var(--ink-soft);
}
.hero-couplet--verse .cp:first-child { color: var(--ink-soft); }
.aside-rule {
  display: block;
  height: 1px;
  width: 200px;
  max-width: 100%;
  background: var(--jujube);
}
.hero-couplet--verse .cp i {
  font-style: normal;
  font-family: var(--f-shusong);
  font-weight: 600;
  font-weight: 400;
  color: var(--ink);
}
.hero-couplet--verse .cp--coda { color: var(--ink); }
.hero-couplet--verse .cp--coda b {
  font-weight: 400;
  color: var(--jujube);
  letter-spacing: 0.18em;
}
.hero-seal {
  display: block;
  width: clamp(58px, 5vw, 76px);
  opacity: 0.92;
}
.hero-seal img { width: 100%; height: auto; }

/* ---- Bottom index strip: three product layers ---- */
.hero-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--gray-line);
  opacity: 0;
  animation: heroFade 1.1s ease 1.95s forwards;
}
.hero-index .hi {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 26px clamp(20px, 2.4vw, 36px) 4px 0;
  position: relative;
  transition: transform .3s;
}
.hero-index .hi + .hi { padding-left: clamp(20px, 2.4vw, 36px); }
.hero-index .hi + .hi::before {
  content: "";
  position: absolute;
  left: 0; top: 22px; bottom: 8px;
  width: 1px;
  background: var(--gray-line);
}
.hero-index .hi-no {
  font-family: var(--f-en-serif);
  font-size: 30px;
  color: var(--gold);
  line-height: 1;
}
.hero-index .hi-tx { display: flex; flex-direction: column; gap: 5px; }
.hero-index .hi-cn {
  font-family: var(--f-biaosong);
  font-size: clamp(17px, 1.5vw, 21px);
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: color .25s;
}
.hero-index .hi-en {
  font-family: var(--f-shusong);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gray);
  text-transform: uppercase;
}
.hero-index .hi:hover { transform: translateY(-3px); }
.hero-index .hi:hover .hi-cn { color: var(--jujube); }

@keyframes heroFade { to { opacity: 1; } }
@keyframes heroChar { to { opacity: 1; transform: translateY(0); } }



@media (max-width: 1024px) {
  .hero-display { font-size: clamp(46px, 8.6vw, 78px); }
  .hero-aside { display: none; }
  .hero-body { grid-template-columns: 1fr; padding-top: clamp(40px, 6vw, 64px); }
  .hero-lead { grid-column: auto; padding-right: 0; }
}
@media (max-width: 760px) {
  .hero-masthead .hm-r { display: none; }
  .hero-index { grid-template-columns: 1fr; gap: 0; }
  .hero-index .hi { padding: 20px 0; border-top: 1px solid var(--gray-line); }
  .hero-index .hi:first-child { border-top: none; }
  .hero-index .hi + .hi { padding-left: 0; }
  .hero-index .hi + .hi::before { display: none; }
  .hero-actions { gap: 12px; }
  .hero-btn { flex: 1; justify-content: center; }
}
/* 手机端：核心主张缩小字号 + 去字距，确保两行各自不折行 */
@media (max-width: 640px) {
  .hero-display.hero-display--statement {
    font-size: clamp(21px, 6.3vw, 27px);
    letter-spacing: 0;
    line-height: 1.32;
  }
  /* 顶部「一家致力于…」整行自动换行，完整可见 */
  .hero-masthead { flex-wrap: wrap; margin-top: 1.4em; }
  .hero-masthead .hm-l {
    flex-wrap: wrap !important;
    margin-left: 0 !important;
    row-gap: 4px;
  }
  /* 核心产品 01/02/03 序号缩小 */
  .product-index .num { font-size: 40px; line-height: 1; }
  /* 02/03 副标过长会折行，缩小字号 + 收紧字距，确保一行放下（与 01 一致）*/
  .product-index .num-meta .tier { font-size: 12px; letter-spacing: 0.06em; }
  /* 关于我们「只为报刊的火种不灭」缩小 + 两行行距拉开 */
  .about-title { font-size: 28px; }
  .about-title .at-small { margin-bottom: 0.5em; }
  /* 单印本三类标题缩小，确保《品牌宣传与报道汇编》一行放下；弹窗标题同步缩小 */
  .series-card .series-title { font-size: 19px; letter-spacing: 0.02em; }
  .series-body h2 { font-size: 22px; letter-spacing: 0.02em; }
}
/* 超窄屏（≤380px，如 iPhone SE 一代）：报头一行可换行、字号略缩，杜绝溢出 */
@media (max-width: 380px) {
  .hero-masthead { flex-wrap: wrap; gap: 8px; }
  .hero-masthead .hm-l { font-size: 16px !important; flex-wrap: wrap; margin-left: 0 !important; }
  .hero-masthead .hm-l .hm-bar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-masthead, .hero-kicker, .hero-deck, .hero-actions,
  .hero-aside, .hero-index, .hero-display .ch {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   跨浏览器降级 — 微信/QQ(X5)内核、旧版 Safari 等
   毛玻璃不支持时改用更不透明底色，保证文字可读
   ============================================================ */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(245, 238, 223, 0.985); }
  .park-grid figcaption { background: rgba(26, 21, 18, 0.92); }
  .letter-modal, .doc-modal, #docModal,
  .honor-modal, #honorModal { background: rgba(20, 17, 15, 0.97); }
  .product-fab, .pv-fab { background: rgba(26, 21, 18, 0.78); }
}
/* 纸张噪点叠加：mix-blend 不支持则隐藏，避免出现灰色色块 */
@supports not (mix-blend-mode: multiply) {
  .paper-grain { display: none !important; }
}

