/* ==========================================================================
   唐河九味 — TANGHE NINE FLAVORS
   视觉参考：编辑式长页面（超大高对比衬线 / 章节编号 / 卡片浮岛 / 纸面）
   ========================================================================== */

/* ---------------------------------------------------------------- fonts */
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ---------------------------------------------------------------- tokens */
:root {
  --ink: #0b0a08;
  --ink-2: #12100c;
  --ink-3: #1a170f;
  --paper: #efe7d9;
  --paper-2: #e4dac7;
  --paper-3: #d5c7ad;
  --accent: #c1522b;
  --gold: #c2a15c;

  --muted-d: rgba(239, 231, 217, 0.55);
  --muted-d2: rgba(239, 231, 217, 0.32);
  --muted-l: rgba(11, 10, 8, 0.62);
  --muted-l2: rgba(11, 10, 8, 0.38);
  --rule-d: rgba(239, 231, 217, 0.16);
  --rule-l: rgba(11, 10, 8, 0.15);

  --font-cn: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei",
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Instrument Serif", "Times New Roman", var(--font-cn);

  --pad: clamp(20px, 4.4vw, 76px);
  --max: 1720px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0.05, 0.36, 1);
  --t: 1.05s;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.95;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, blockquote, figure { margin: 0; }
::selection { background: var(--accent); color: var(--paper); }

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

/* ---------------------------------------------------------------- helpers */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.72;
}

.display {
  font-family: var(--font-cn);
  font-weight: 300;
  letter-spacing: 0.005em;
  line-height: 0.94;
  margin: 0;
}
.display--xl { font-size: clamp(84px, 15.5vw, 300px); }
.display--l { font-size: clamp(56px, 9vw, 176px); }
.display--m { font-size: clamp(40px, 6vw, 104px); }

.prose {
  font-size: clamp(14px, 1.02vw, 15.5px);
  line-height: 2.05;
  color: inherit;
  opacity: 0.78;
  max-width: 40em;
}
.prose p + p { margin-top: 1.15em; }

/* 掩膜文字 */
.mask-group .mask { display: block; overflow: hidden; padding: 0.05em 0 0.12em; margin: -0.05em 0 -0.12em; }
.mask__in {
  display: block;
  transform: translateY(112%);
  transition: transform var(--t) var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.mask-group.is-in .mask__in,
.is-in .mask__in { transform: translateY(0); }

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.1s var(--ease), transform 1.2s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

.img-fallback {
  position: relative;
  display: grid !important;
  place-items: center;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(120% 80% at 30% 10%, rgba(239, 231, 217, 0.14), transparent 60%),
    linear-gradient(160deg, var(--ink-3), var(--ink));
  overflow: hidden;
}
.img-fallback span {
  font-family: var(--font-cn);
  font-size: clamp(64px, 12vw, 180px);
  color: rgba(239, 231, 217, 0.16);
  line-height: 1;
}

/* ---------------------------------------------------------------- grain + cursor */
.grain {
  position: fixed;
  inset: 0;
  z-index: 400;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='180' height='180' filter='url(%23n)' opacity='0.85'/></svg>");
}


.cursor {
  position: fixed;
  left: 0; top: 0;
  z-index: 600;
  pointer-events: none;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 0.3s;
  will-change: transform;
}
body.has-cursor .cursor { opacity: 1; }
body.has-cursor, body.has-cursor * { cursor: none; }
.cursor__dot {
  position: absolute;
  left: 0; top: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}
.cursor__ring {
  position: absolute;
  left: 0; top: 0;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  transition: width 0.45s var(--ease), height 0.45s var(--ease),
    background 0.35s, border-color 0.35s;
}
.cursor__ring em {
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
body.cursor-hover .cursor__ring {
  width: 74px; height: 74px;
  background: rgba(255, 255, 255, 0.92);
  border-color: transparent;
}
body.cursor-hover .cursor__ring em { opacity: 1; transform: none; color: #000; }
body.cursor-hover .cursor__dot { opacity: 0; }

/* ---------------------------------------------------------------- loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  background: var(--ink);
  transition: transform 1.15s var(--ease), opacity 0.6s ease 0.7s;
}
.loader.is-done { transform: translateY(-101%); }
.loader__inner { display: grid; justify-items: center; gap: 18px; }
.loader__count {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 110px);
  line-height: 1;
  color: var(--paper);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.loader__word {
  font-family: var(--font-cn);
  font-size: 15px;
  letter-spacing: 0.7em;
  margin-left: 0.7em;
  color: var(--muted-d);
}
.loader__line {
  width: min(240px, 40vw);
  height: 1px;
  background: rgba(239, 231, 217, 0.18);
  overflow: hidden;
}
.loader__line i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--paper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s linear;
}
.loader__meta { opacity: 0.4; }

/* ---------------------------------------------------------------- progress + topbar + rail */
.progress {
  position: fixed;
  left: 0; top: 0;
  z-index: 300;
  width: 100%;
  height: 2px;
  background: transparent;
  pointer-events: none;
}
.progress__bar {
  display: block;
  height: 100%;
  background: var(--paper);
  transform: scaleX(0);
  transform-origin: left;
  mix-blend-mode: difference;
}

.topfade {
  position: fixed;
  left: 0; top: 0;
  z-index: 150;
  width: 100%;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(to bottom, var(--bg, #0b0a08) 8%, transparent 100%);
  opacity: 0.92;
}

.topbar {
  position: fixed;
  left: 0; top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 22px var(--pad);
  color: var(--paper);
  pointer-events: none;
  transition: opacity 0.4s;
}
.topbar > * { pointer-events: auto; }
body[data-theme="light"] .topbar { color: var(--ink); }
.topbar.is-scrolled {
  background: color-mix(in srgb, var(--bg, #0b0a08) 80%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}
.topbar.is-hidden { transform: translateY(-108%); }
.topbar { transition: transform 0.55s var(--ease); }

.wordmark { display: grid; gap: 2px; line-height: 1; }
.wordmark__cn {
  font-family: var(--font-cn);
  font-size: 17px;
  letter-spacing: 0.16em;
}
.wordmark__en {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.22em;
  opacity: 0.55;
}
.topbar__note {
  font-size: 11px;
  letter-spacing: 0.2em;
  opacity: 0.6;
  text-align: center;
}
.topbar__right { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }

.topnav { display: flex; gap: 20px; }
.topnav a {
  font-size: 11px;
  letter-spacing: 0.16em;
  opacity: 0.62;
  transition: opacity 0.3s;
}
.topnav a:hover { opacity: 1; }

.chapter-now { display: flex; align-items: center; gap: 9px; font-size: 10px; letter-spacing: 0.16em; }
.chapter-now i {
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor;
  animation: pulse 2.6s ease-in-out infinite;
}
.chapter-now b { font-family: var(--font-display); font-weight: 400; font-size: 13px; }
.chapter-now em { font-style: normal; opacity: 0.6; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1;
  transition: transform 0.4s var(--ease), background 0.3s;
}
.pill:hover { transform: translateY(-2px); background: #fff; }
body[data-theme="light"] .pill { background: var(--ink); color: var(--paper); }
body[data-theme="light"] .pill:hover { background: #000; }
.pill--sm { padding: 10px 16px; }

.rail {
  position: fixed;
  right: clamp(8px, 1.1vw, 18px);
  top: 50%;
  z-index: 200;
  display: grid;
  gap: 16px;
  transform: translateY(-50%);
  color: var(--paper);
  mix-blend-mode: difference;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
.rail__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  height: 18px;
  font-size: 10px;
  letter-spacing: 0.14em;
}
.rail__num { font-family: var(--font-display); opacity: 0.45; transition: opacity 0.3s; }
.rail__label {
  position: absolute;
  right: calc(100% + 10px);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.3s, transform 0.3s;
}
.rail__dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: currentColor; opacity: 0.35;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.rail__item:hover .rail__label,
.rail__item.is-active .rail__label { opacity: 1; transform: none; }
.rail__item.is-active .rail__dot { opacity: 1; transform: scale(2); }
.rail__item.is-active .rail__num { opacity: 1; }

/* 目录按钮（≤1200 显示） */
.menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  line-height: 1;
  opacity: 0.92;
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
.menu-btn:hover { opacity: 1; transform: translateY(-1px); }
.menu-btn__bars { display: grid; gap: 3px; width: 12px; }
.menu-btn__bars i { display: block; height: 1px; background: currentColor; }
@media (max-width: 1200px) { .menu-btn { display: inline-flex; } }

.site-menu {
  position: fixed;
  inset: 0;
  z-index: 280;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: calc(20px + env(safe-area-inset-top)) var(--pad) calc(28px + env(safe-area-inset-bottom));
  background: var(--ink);
  color: var(--paper);
  opacity: 1;
  visibility: hidden;
}
body.menu-open .site-menu {
  visibility: visible;
}
.site-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-d);
}
.site-menu__close {
  padding: 9px 15px;
  border: 1px solid var(--rule-d);
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: inherit;
}
.site-menu__nav { display: grid; align-content: center; }
.site-menu__nav a {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: baseline;
  gap: 14px;
  padding: clamp(13px, 2.2vh, 22px) 0;
  border-bottom: 1px solid var(--rule-d);
  font-family: var(--font-cn);
}
.site-menu__nav a:first-child { border-top: 1px solid var(--rule-d); }
.site-menu__nav b { font-family: var(--font-display); font-weight: 400; font-size: 13px; opacity: 0.5; }
.site-menu__nav span { font-size: clamp(30px, 5.4vw, 54px); line-height: 1; }
.site-menu__nav em { font-style: normal; font-size: 9px; letter-spacing: 0.16em; opacity: 0.38; }
.site-menu__nav a:hover span { color: var(--accent); }
.site-menu__cta { justify-self: start; margin-top: 10px; }

/* 浮动胶囊 CTA */
.cta-float {
  position: fixed;
  left: 50%;
  bottom: clamp(16px, 2.6vh, 30px);
  z-index: 210;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: rgba(239, 231, 217, 0.94);
  color: var(--ink);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  line-height: 1;
  transform: translateX(-50%);
  box-shadow: 0 16px 50px -12px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  transition: background 0.3s;
}
.cta-float__glyph {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
  font-family: var(--font-cn);
  font-size: 14px;
}
.cta-float__text { white-space: nowrap; }
.cta-float__arrow { opacity: 0.55; transition: transform 0.4s var(--ease); }
.cta-float:hover .cta-float__arrow { transform: translateY(3px); }
body[data-theme="light"] .cta-float { background: var(--ink); color: var(--paper); }
body[data-theme="light"] .cta-float:hover { background: #000; }
.cta-float.is-hidden { opacity: 0; pointer-events: none; transform: translate(-50%, 16px); }
.cta-float { transition: opacity 0.5s, transform 0.5s var(--ease), background 0.3s; }

/* ==========================================================================
   HERO — 满幅巨字海报
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}

.hero__stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.hero__strip {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: var(--ink);
}
.hero__cell {
  position: relative;
  overflow: hidden;
  background: var(--ink-3);
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.5s ease, transform 2.2s var(--ease);
  transition-delay: calc(0.12s + var(--i, 0) * 0.09s);
}
body.is-loaded .hero__cell { opacity: 1; transform: none; }
.hero__cell-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(0.58) contrast(1.06) brightness(0.58);
  transition: opacity 0.75s ease, filter 0.9s ease, transform 1.8s var(--ease);
}
.hero__cell-img.is-ready { opacity: 1; }
.hero__cell:hover .hero__cell-img {
  filter: saturate(0.78) contrast(1.06) brightness(0.6);
  transform: scale(1.035);
}
.hero__cell figcaption {
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(136px, 15.5vh, 158px);
  z-index: 2;
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 0 14px;
  color: rgba(239, 231, 217, 0.66);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.85);
}
.hero__cell figcaption b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 13px;
  color: var(--accent);
  opacity: 0.95;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to bottom,
      rgba(11, 10, 8, 0.94) 0%,
      rgba(11, 10, 8, 0.34) 14%,
      rgba(11, 10, 8, 0.46) 26%,
      rgba(11, 10, 8, 0.7) 38%,
      rgba(11, 10, 8, 0.7) 62%,
      rgba(11, 10, 8, 0.4) 74%,
      rgba(11, 10, 8, 0.24) 84%,
      rgba(11, 10, 8, 0.94) 98%),
    radial-gradient(66% 58% at 50% 47%, rgba(11, 10, 8, 0.5) 0%, rgba(11, 10, 8, 0.08) 64%, rgba(11, 10, 8, 0) 100%);
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(92px, 12vh, 120px) var(--pad) clamp(26px, 4.6vh, 44px);
}
.hero__top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(239, 231, 217, 0.72);
}
.hero__top-right { opacity: 0.75; }

.hero__title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  margin: auto 0 0;
  font-family: var(--font-cn);
  font-weight: 300;
  font-size: clamp(64px, min(20vw, 32vh), 500px);
  line-height: 0.84;
  letter-spacing: 0;
  color: var(--paper);
}
.hero__char { display: block; overflow: hidden; padding: 0 0.02em 0.06em; }
.hero__char-in {
  display: block;
  transform: translateY(112%);
  transition: transform 1.3s var(--ease);
  transition-delay: calc(0.06s + var(--i, 0) * 0.085s);
}
body.is-loaded .hero__char-in { transform: translateY(0); }
.hero__char--outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(239, 231, 217, 0.94);
  filter: drop-shadow(0 2px 22px rgba(0, 0, 0, 0.55));
}

.hero__rule {
  height: 1px;
  margin-top: clamp(14px, 2.2vh, 26px);
  background: var(--rule-d);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.5s var(--ease) 0.55s;
}
body.is-loaded .hero__rule { transform: scaleX(1); }

.hero__under {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  color: var(--muted-d);
  opacity: 0;
  transition: opacity 1s ease 0.9s;
}
body.is-loaded .hero__under { opacity: 0.9; }

.hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 34ch) auto;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-top: auto;
  padding-top: clamp(28px, 5vh, 54px);
}
.hero__sub {
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.9;
  color: rgba(239, 231, 217, 0.84);
  max-width: 34ch;
}
.hero__meta {
  display: flex;
  gap: clamp(16px, 2.4vw, 40px);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted-d);
}

/* ==========================================================================
   CHAPTER HEADS
   ========================================================================== */
.chapter { position: relative; }
.chap-head {
  display: grid;
  gap: clamp(14px, 2vh, 24px);
  padding-top: clamp(80px, 12vh, 140px);
}
.chap-head__meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid currentColor;
  border-color: var(--rule-d);
}
.chapter--land .chap-head__meta,
.chapter--season .chap-head__meta,
.chapter--visit .chap-head__meta { border-color: var(--rule-l); }
.chap-head__lede {
  font-family: var(--font-cn);
  font-size: clamp(17px, 1.6vw, 23px);
  line-height: 1.8;
  max-width: 34em;
  opacity: 0.86;
}
.chap-head__side { display: grid; gap: 16px; max-width: 40em; }

/* ==========================================================================
   01 · LAND
   ========================================================================== */
.chapter--land {
  background: var(--paper);
  color: var(--ink);
  padding-bottom: clamp(70px, 10vh, 140px);
}
.chapter--land::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(11, 10, 8, 0.055) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.55;
  mix-blend-mode: multiply;
}
.chapter--land .prose { opacity: 0.72; }

.land__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(24px, 5vw, 90px);
  align-items: start;
  margin-top: clamp(40px, 7vh, 90px);
}
.land__text { display: grid; gap: clamp(22px, 3vh, 36px); align-content: start; }
.pullquote {
  font-family: var(--font-cn);
  font-size: clamp(20px, 2.1vw, 32px);
  line-height: 1.6;
  border-left: 1px solid var(--ink);
  padding-left: 18px;
  max-width: 20em;
  opacity: 0.9;
}
.land__fig { position: relative; margin: 0; }
.land__fig-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink-3);
}
.land__fig-frame img {
  width: 100%; height: 112%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
  transform: translateY(calc(-5% + var(--py, 0px)));
  will-change: transform;
}
.land__fig figcaption { margin-top: 10px; opacity: 0.6; }

/* 河流示意图 */
.river { margin-top: clamp(50px, 8vh, 110px); }
.river__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--rule-l);
  padding-top: 12px;
}
.river__hint { font-family: var(--font-cn); font-size: 12px; opacity: 0.55; }
.river__svg { width: 100%; height: auto; margin-top: 18px; overflow: visible; }
.river__grid line { stroke: var(--ink); stroke-width: 1; opacity: 0.06; }
.river__legend line { stroke: var(--ink); stroke-width: 1.2; opacity: 0.5; }
.river__legend text {
  fill: var(--ink);
  font-family: var(--font-cn);
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.42;
}
.river__path {
  stroke: var(--ink);
  stroke-width: 1.4;
  fill: none;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  transition: stroke-dashoffset 2.6s var(--ease);
}
.river.is-drawn .river__path { stroke-dashoffset: 0; }
.river__path--main { stroke-width: 2; opacity: 0.85; }
.river__path--side { stroke-width: 1.2; opacity: 0.55; }
.river__path--thin { stroke-width: 1; opacity: 0.38; stroke-dasharray: 3 6; stroke-dashoffset: 0; }
.river__dots circle { fill: var(--ink); opacity: 0; transition: opacity 0.8s ease 0.9s; }
.river.is-drawn .river__dots circle { opacity: 0.9; }
.river__dots text {
  fill: var(--ink);
  font-family: var(--font-cn);
  font-size: 14px;
  letter-spacing: 0.06em;
  opacity: 0;
  transition: opacity 0.8s ease 1.1s;
}
.river.is-drawn .river__dots text { opacity: 0.72; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(40px, 7vh, 90px);
  border-top: 1px solid var(--rule-l);
}
.stat {
  display: grid;
  gap: 2px;
  padding: 22px clamp(12px, 1.6vw, 26px) 10px 0;
  border-right: 1px solid var(--rule-l);
}
.stat:last-child { border-right: 0; }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.2vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.stat__unit {
  font-family: var(--font-cn);
  font-size: 12px;
  opacity: 0.55;
  margin-left: 2px;
}
.stat__label {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  opacity: 0.6;
}

/* ==========================================================================
   02 · NINE
   ========================================================================== */
.chapter--nine { background: var(--ink); padding-bottom: clamp(40px, 6vh, 80px); }
.chap-head--split {
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  align-items: end;
  column-gap: 5vw;
}
.chap-head--split .chap-head__meta { grid-column: 1 / -1; }
.chap-head--split .display { grid-column: 1; }
.chap-head--split .chap-head__side { grid-column: 2; padding-bottom: 10px; }

.nine-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: clamp(40px, 6vh, 70px);
  border-top: 1px solid var(--rule-d);
}
.nine-index li { flex: 1 1 18%; min-width: 150px; border-bottom: 1px solid var(--rule-d); }
.nine-index a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 12px 14px 0;
  font-family: var(--font-cn);
  font-size: 14px;
  opacity: 0.55;
  transition: opacity 0.35s, transform 0.5s var(--ease);
}
.nine-index b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 12px;
  opacity: 0.6;
}
.nine-index a:hover { opacity: 1; transform: translateX(4px); }

.products { margin-top: clamp(30px, 5vh, 60px); }

.product {
  position: relative;
  padding: clamp(64px, 10vh, 120px) 0;
  background: var(--ink);
  isolation: isolate;
}
.product + .product { border-top: 1px solid var(--rule-d); }
.product[data-accent]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  opacity: 0.055;
  pointer-events: none;
}
.product__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 70px);
  align-items: center;
  min-height: min(72svh, 760px);
}
.product--a .product__copy { grid-column: 1 / span 5; }
.product--a .product__media { grid-column: 7 / span 6; }
.product--c .product__media { grid-column: 1 / span 6; grid-row: 1; }
.product--c .product__copy { grid-column: 8 / span 5; grid-row: 1; }

.product__copy { display: grid; gap: 18px; align-content: center; }
.product__kicker {
  display: flex;
  gap: 18px;
  align-items: baseline;
  color: var(--muted-d);
}
.product__kicker .label:first-child { color: var(--accent); opacity: 1; }
.product__name {
  font-family: var(--font-cn);
  font-size: clamp(44px, 5.8vw, 110px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin: 2px 0 0;
}
.product__tag {
  font-family: var(--font-cn);
  font-size: clamp(16px, 1.4vw, 21px);
  line-height: 1.7;
  color: var(--paper);
  opacity: 0.92;
}
.product__text { color: var(--muted-d); opacity: 1; max-width: 36em; }
.product__text p { font-size: 14px; line-height: 2; }
.product__quote {
  font-family: var(--font-cn);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.7;
  color: var(--paper);
  opacity: 0.55;
  border-top: 1px solid var(--rule-d);
  padding-top: 14px;
}
.product__meta {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badges li {
  padding: 5px 11px;
  border: 1px solid rgba(239, 231, 217, 0.28);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted-d);
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border-top: 1px solid var(--rule-d);
  padding-top: 12px;
}
.fact dt { font-size: 10px; letter-spacing: 0.14em; color: var(--muted-d2); }
.fact dd {
  font-family: var(--font-cn);
  font-size: 14px;
  margin-top: 3px;
  color: rgba(239, 231, 217, 0.85);
}

.product__media { margin: 0; display: grid; gap: 10px; width: 100%; max-width: min(100%, 540px); justify-self: end; }
.product--c .product__media { justify-self: start; }
.product__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink-3);
  will-change: transform;
}
.product__img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
  transform: translateY(var(--py, 0px)) scale(var(--sc, 1));
  transition: transform 1.2s var(--ease), filter 0.8s;
}
.product__frame:hover .product__img { --sc: 1.045; filter: saturate(1) contrast(1.06); }
.product__ghost {
  position: absolute;
  right: -0.06em;
  bottom: -0.24em;
  font-family: var(--font-cn);
  font-size: clamp(120px, 22vw, 340px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(239, 231, 217, 0.15);
  pointer-events: none;
  user-select: none;
}
.product__scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(239, 231, 217, 0.1) 48%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 1.5s var(--ease);
  pointer-events: none;
}
.product__media:hover .product__scan { transform: translateX(120%); }
.product__media figcaption { opacity: 0.48; }

/* 全出血版式 */
.product--b { padding: 0; min-height: 100svh; display: grid; }
.product--b .product__grid {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  align-items: end;
  padding-bottom: clamp(60px, 10vh, 110px);
  padding-top: clamp(120px, 18vh, 200px);
}
.product--b .product__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  grid-column: 1 / -1;
}
.product--b .product__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 10, 8, 0.92) 4%, rgba(11, 10, 8, 0.4) 42%, rgba(11, 10, 8, 0.25) 70%, rgba(11, 10, 8, 0.6));
}
.product--b .product__frame {
  aspect-ratio: auto;
  height: 100%;
  position: absolute;
  inset: 0;
}
.product--b .product__img { filter: saturate(0.8) contrast(1.05) brightness(0.92); }
.product--b .product__ghost { -webkit-text-stroke-color: rgba(239, 231, 217, 0.22); bottom: -0.12em; }
.product--b .product__media figcaption {
  position: absolute;
  top: clamp(86px, 11vh, 118px);
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  color: var(--paper);
  opacity: 0.55;
}
.product--b .product__copy {
  grid-column: 1 / span 6;
  position: relative;
  max-width: 560px;
}
.product--b .product__name { font-size: clamp(48px, 6.6vw, 124px); }
.product--b .facts { max-width: 420px; }

/* 插页：倾斜的纸 */
.interlude {
  position: relative;
  background: var(--ink);
  padding: clamp(46px, 8vh, 96px) 0;
  overflow: hidden;
}
.interlude__sheet {
  position: relative;
  margin: 0 calc(var(--pad) * 0.55);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(38px, 7vh, 84px) clamp(28px, 5vw, 76px);
  background: var(--paper);
  color: var(--ink);
  transform: rotate(-1.3deg);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.85);
}
.interlude__sheet::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11, 10, 8, 0.06) 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.interlude__copy { position: relative; display: grid; gap: 18px; }
.interlude__title {
  font-family: var(--font-cn);
  font-weight: 300;
  font-size: clamp(44px, 6.4vw, 110px);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.interlude__title span {
  color: transparent;
  -webkit-text-stroke: 1px var(--ink);
}
.interlude__text {
  font-size: 14px;
  line-height: 2;
  max-width: 30em;
  opacity: 0.72;
}
.interlude__fig { position: relative; margin: 0; transform: rotate(2.2deg); }
.interlude__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.03);
}

/* ==========================================================================
   03 · SEASON
   ========================================================================== */
.chapter--season {
  background: var(--paper-2);
  color: var(--ink);
  height: 320vh;
}
.chapter--season::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 80% 8%, rgba(255, 255, 255, 0.4), transparent 60%),
    radial-gradient(50% 40% at 12% 92%, rgba(11, 10, 8, 0.06), transparent 60%);
}
.season__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  padding-top: clamp(70px, 9vh, 96px);
}
.season__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 40px;
  align-items: end;
}
.season__head .chap-head__meta { grid-column: 1 / -1; }
.season__head .display { grid-column: 1; }
.season__head .chap-head__lede {
  grid-column: 1;
  max-width: 30em;
  margin-top: 10px;
}
.season__progress {
  grid-column: 2;
  grid-row: 2 / span 2;
  align-self: end;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
}
.season__progress i {
  display: block;
  width: clamp(60px, 10vw, 150px);
  height: 1px;
  background: var(--rule-l);
  position: relative;
  margin-right: 12px;
  align-self: center;
}
.season__progress i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}
.season__progress span { font-size: clamp(30px, 3vw, 46px); line-height: 1; font-variant-numeric: tabular-nums; }
.season__progress em { font-style: normal; font-size: 12px; letter-spacing: 0.1em; opacity: 0.45; }

.season__viewport {
  overflow: hidden;
  align-self: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.season__track {
  display: flex;
  gap: clamp(16px, 2.4vw, 40px);
  padding-inline: var(--pad);
  width: max-content;
  will-change: transform;
}
.month {
  width: clamp(228px, 21vw, 320px);
  flex: 0 0 auto;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 22px 0 0;
  border-top: 1px solid var(--rule-l);
  min-height: clamp(270px, 40vh, 430px);
  position: relative;
  transition: background 0.4s;
}
.month:hover { background: rgba(11, 10, 8, 0.035); }
.month__num {
  font-family: var(--font-display);
  font-size: clamp(58px, 6.4vw, 108px);
  line-height: 0.82;
  letter-spacing: -0.02em;
  opacity: 0.88;
}
.month__name {
  font-family: var(--font-cn);
  font-size: 13px;
  letter-spacing: 0.2em;
  opacity: 0.5;
  margin-top: 4px;
}
.month__line {
  font-family: var(--font-cn);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.7;
  margin-top: 8px;
  max-width: 12em;
}
.month__items {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}
.month__items li {
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border: 1px solid var(--rule-l);
  border-radius: 999px;
  opacity: 0.6;
}
.month__bar {
  position: absolute;
  left: 0; top: -1px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.month.is-active .month__bar { transform: scaleX(1); }
.season__hint {
  justify-self: center;
  margin-bottom: 18px;
  opacity: 0.4;
}

/* ==========================================================================
   04 · CRAFT
   ========================================================================== */
.chapter--craft {
  background: #131d16;
  color: var(--paper);
  padding-block: clamp(80px, 12vh, 150px) clamp(80px, 12vh, 150px);
}
.chapter--craft::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 50% at 80% 0%, rgba(194, 161, 92, 0.09), transparent 60%);
  pointer-events: none;
}
.craft__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(30px, 6vw, 110px);
  align-items: start;
}
.craft__pin { position: sticky; top: 22vh; display: grid; gap: 18px; }
.craft__pin .chap-head__meta { border-color: var(--rule-d); }
.craft__counter {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-display);
  color: var(--gold);
}
.craft__counter span { font-size: clamp(40px, 5vw, 72px); line-height: 1; font-variant-numeric: tabular-nums; }
.craft__counter em { font-style: normal; font-size: 13px; letter-spacing: 0.1em; opacity: 0.5; }
.craft__fig {
  margin-top: clamp(20px, 4vh, 40px);
  display: grid;
  gap: 8px;
  max-width: 320px;
}
.craft__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.05) brightness(0.9);
}
.craft__fig figcaption { opacity: 0.4; }

.steps { display: grid; }
.step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  padding: clamp(30px, 6.2vh, 64px) 0;
  border-top: 1px solid var(--rule-d);
  opacity: 0.55;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.step:last-child { border-bottom: 1px solid var(--rule-d); }
.step.is-active { opacity: 1; transform: translateX(6px); }
.step__num {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.step__body h3 {
  font-family: var(--font-cn);
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 300;
  line-height: 1.2;
}
.step__body p {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted-d);
  margin-top: 6px;
  max-width: 32em;
}

/* ==========================================================================
   05 · VISIT
   ========================================================================== */
.chapter--visit {
  background: var(--paper);
  color: var(--ink);
  padding-block: clamp(80px, 12vh, 150px);
}
.chapter--visit::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(11, 10, 8, 0.05) 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: multiply;
}
.visit__band {
  position: relative;
  margin-top: clamp(40px, 6vh, 76px);
  display: grid;
  gap: 10px;
}
.visit__band-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 6;
  background: var(--ink-3);
}
.visit__band-img {
  width: 100%; height: 112%;
  object-fit: cover;
  transform: translateY(calc(-5% + var(--py, 0px)));
  filter: saturate(0.82) contrast(1.02);
}
.visit__band-inset {
  position: absolute;
  right: clamp(16px, 4vw, 60px);
  bottom: calc(-1 * clamp(30px, 6vh, 64px));
  width: clamp(140px, 15vw, 230px);
  padding: 7px 7px 22px;
  background: var(--paper);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.5);
  transform: rotate(3deg);
  display: grid;
  gap: 4px;
}
.visit__band-market {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.03);
}
.visit__band-inset .label { opacity: 0.55; padding-left: 2px; }

.visit__closing {
  margin-top: clamp(70px, 12vh, 150px);
  display: grid;
  gap: 10px;
}
.visit__closing-frame {
  overflow: hidden;
  aspect-ratio: 21 / 8;
  background: var(--ink-3);
}
.visit__closing-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.05) brightness(0.92);
}
.visit__closing figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  opacity: 0.6;
}

.visit__band figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  opacity: 0.6;
}

.visit__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 48px);
  margin-top: clamp(44px, 7vh, 90px);
}
.vcard {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 26px 0 0;
  border-top: 1px solid var(--ink);
  align-content: start;
}
.vcard:nth-child(2) { transform: translateY(clamp(20px, 5vh, 60px)); }
.vcard:nth-child(3) { transform: translateY(clamp(40px, 10vh, 120px)); }
.vcard__num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.14em;
  opacity: 0.45;
}
.vcard__title {
  font-family: var(--font-cn);
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 300;
  line-height: 1.25;
}
.vcard__line {
  font-family: var(--font-cn);
  font-size: 14px;
  opacity: 0.6;
}
.vcard__body {
  font-size: 13.5px;
  line-height: 1.95;
  opacity: 0.72;
  max-width: 28em;
  margin-top: 4px;
}
.vcard:hover .vcard__title { color: var(--accent); transition: color 0.3s; }

.take {
  margin-top: clamp(80px, 14vh, 180px);
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(24px, 5vw, 80px);
  border-top: 1px solid var(--ink);
  padding-top: 22px;
}
.take__head { display: grid; gap: 14px; align-content: start; }
.take__title {
  font-family: var(--font-cn);
  font-size: clamp(28px, 3.2vw, 52px);
  font-weight: 300;
  line-height: 1.1;
}
.take__note { font-size: 13px; line-height: 1.9; opacity: 0.6; max-width: 24em; }
.take__list { display: grid; }
.take__list li { border-bottom: 1px solid var(--rule-l); }
.take__list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  font-family: var(--font-cn);
  font-size: clamp(17px, 1.6vw, 24px);
  transition: padding 0.5s var(--ease), opacity 0.3s;
}
.take__list b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 13px;
  opacity: 0.45;
  width: 24px;
  flex: 0 0 auto;
}
.take__list span { transition: transform 0.5s var(--ease); }
.take__list i { margin-left: auto; font-style: normal; opacity: 0; transition: opacity 0.3s, transform 0.4s var(--ease); }
.take__list a:hover { padding-left: 12px; }
.take__list a:hover i { opacity: 0.6; transform: translateX(4px); }

.visit__preview {
  position: fixed;
  z-index: 150;
  width: clamp(150px, 14vw, 210px);
  aspect-ratio: 3 / 4;
  border-radius: 2px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  transition: opacity 0.35s, transform 0.5s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
  background: var(--ink-3);
  background-size: cover;
  background-position: center;
}
.visit__preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(50px, 8vh, 90px);
  overflow: hidden;
}
.footer__marquee {
  overflow: hidden;
  border-block: 1px solid var(--rule-d);
  padding: 12px 0;
  margin-bottom: clamp(50px, 9vh, 110px);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.footer__marquee-track {
  display: flex;
  gap: 26px;
  width: max-content;
  animation: marquee 42s linear infinite;
  font-family: var(--font-cn);
  font-size: clamp(15px, 1.4vw, 20px);
  letter-spacing: 0.1em;
  color: var(--muted-d);
}
.footer__marquee-track i { font-style: normal; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

.footer__big {
  display: grid;
  justify-items: start;
  line-height: 0.9;
  font-family: var(--font-cn);
  font-weight: 300;
  pointer-events: none;
}
.footer__big-cn {
  font-size: clamp(110px, 22vw, 380px);
  letter-spacing: 0.02em;
}
.footer__big-cn--2 {
  color: transparent;
  -webkit-text-stroke: 1px rgba(239, 231, 217, 0.42);
  font-size: clamp(80px, 13.5vw, 240px);
  margin-top: 0.42em;
  margin-left: 0.04em;
}

.footer__meta {
  display: grid;
  gap: clamp(26px, 4vh, 44px);
  padding-block: clamp(40px, 7vh, 80px) 26px;
}
.footer__note {
  font-family: var(--font-cn);
  font-size: clamp(16px, 1.4vw, 21px);
  line-height: 1.8;
  max-width: 38em;
  color: rgba(239, 231, 217, 0.78);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  border-top: 1px solid var(--rule-d);
  padding-top: 20px;
}
.footer__links { display: grid; gap: 6px; margin-top: 12px; }
.footer__links a { font-size: 12.5px; color: var(--muted-d); transition: color 0.3s; }
.footer__links a:hover { color: var(--paper); }
.footer__small { font-size: 12px; line-height: 1.9; color: var(--muted-d); margin-top: 10px; }
.credits { margin-top: 12px; font-size: 11px; color: var(--muted-d2); }
.credits summary { cursor: pointer; letter-spacing: 0.14em; transition: color 0.3s; }
.credits summary:hover { color: var(--paper); }
.credits ul { display: grid; gap: 7px; margin-top: 10px; }
.credits li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px dashed rgba(239, 231, 217, 0.1);
  padding-bottom: 6px;
  line-height: 1.65;
}
.credits a { overflow-wrap: anywhere; }
.credits li span { display: inline-flex; gap: 6px; align-items: baseline; }
.credits li em { font-style: normal; color: rgba(239, 231, 217, 0.32); font-size: 9px; letter-spacing: 0.06em; }
.footer__cc { color: rgba(239, 231, 217, 0.45); max-width: 36em; }
.credits a { text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--rule-d);
  padding-top: 16px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--muted-d2);
}
.footer__bottom a { color: var(--muted-d); }
.footer__bottom a:hover { color: var(--paper); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
  .topbar__note { display: none; }
  .topnav { display: none; }
  .chap-head--split { grid-template-columns: 1fr; }
  .chap-head--split .display,
  .chap-head--split .chap-head__side { grid-column: 1; }
}
@media (max-width: 1024px) {
  .product__grid { min-height: auto; padding-block: 20px; }
  .product--a .product__copy,
  .product--a .product__media,
  .product--c .product__copy,
  .product--c .product__media {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .product--c .product__media { order: -1; }
  .product__media { justify-self: center; max-width: 100%; }
  .product--b .product__copy { grid-column: 1 / -1; }
  .land__grid { grid-template-columns: 1fr; }
  .land__fig { order: -1; }
  .craft__grid { grid-template-columns: 1fr; }
  .craft__pin { position: static; }
  .craft__counter { display: none; }
  .take { grid-template-columns: 1fr; }
  .visit__band {
  position: relative;
  margin-top: clamp(40px, 6vh, 76px);
  display: grid;
  gap: 10px;
}
.visit__band-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 6;
  background: var(--ink-3);
}
.visit__band-img {
  width: 100%; height: 112%;
  object-fit: cover;
  transform: translateY(calc(-5% + var(--py, 0px)));
  filter: saturate(0.82) contrast(1.02);
}
.visit__band-inset {
  position: absolute;
  right: clamp(16px, 4vw, 60px);
  bottom: calc(-1 * clamp(30px, 6vh, 64px));
  width: clamp(140px, 15vw, 230px);
  padding: 7px 7px 22px;
  background: var(--paper);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.5);
  transform: rotate(3deg);
  display: grid;
  gap: 4px;
}
.visit__band-market {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.03);
}
.visit__band-inset .label { opacity: 0.55; padding-left: 2px; }

.visit__closing {
  margin-top: clamp(70px, 12vh, 150px);
  display: grid;
  gap: 10px;
}
.visit__closing-frame {
  overflow: hidden;
  aspect-ratio: 21 / 8;
  background: var(--ink-3);
}
.visit__closing-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.05) brightness(0.92);
}
.visit__closing figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  opacity: 0.6;
}

.visit__band figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  opacity: 0.6;
}

.visit__cards { gap: 18px; }
  .vcard:nth-child(2), .vcard:nth-child(3) { transform: none; }
  .visit__band-inset { display: none; }
  .interlude__sheet { grid-template-columns: 1fr; transform: rotate(-1deg); }
  .interlude__fig { transform: rotate(1.5deg); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  body { font-size: 14.5px; }
  .rail { display: none; }
  .hero__title { font-size: clamp(66px, 21vw, 180px); }
  .hero__under span:last-child { display: none; }
  .hero__top-right { display: none; }
  .hero__foot { grid-template-columns: 1fr; gap: 16px; padding-top: 22px; }
  .hero__meta { flex-wrap: wrap; gap: 8px 18px; }
  .hero__strip { grid-template-columns: repeat(3, 1fr); }
  .hero__cell:nth-child(n + 4) { display: none; }
  .hero__cell figcaption { display: none; }
  .display--l { font-size: clamp(44px, 11vw, 90px); }
  .display--m { font-size: clamp(34px, 8.4vw, 60px); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--rule-l); }
  .product__name { font-size: clamp(38px, 11vw, 66px); }
  .product--b { min-height: 88svh; }
  .product--b .product__grid { min-height: 88svh; }
  .chapter--season { height: auto; }
  .season__sticky { position: static; height: auto; padding-bottom: 40px; }
  .season__viewport { overflow: visible; }
  .season__track {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 28px;
    width: auto;
    padding-inline: var(--pad);
  }
  .month { width: auto; min-height: 0; padding-top: 16px; margin-bottom: 26px; }
  .month__num { font-size: 44px; }
  .season__progress { display: none; }
  .season__head { grid-template-columns: 1fr; }
  .season__hint { display: none; }
  .visit__band {
  position: relative;
  margin-top: clamp(40px, 6vh, 76px);
  display: grid;
  gap: 10px;
}
.visit__band-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 6;
  background: var(--ink-3);
}
.visit__band-img {
  width: 100%; height: 112%;
  object-fit: cover;
  transform: translateY(calc(-5% + var(--py, 0px)));
  filter: saturate(0.82) contrast(1.02);
}
.visit__band-inset {
  position: absolute;
  right: clamp(16px, 4vw, 60px);
  bottom: calc(-1 * clamp(30px, 6vh, 64px));
  width: clamp(140px, 15vw, 230px);
  padding: 7px 7px 22px;
  background: var(--paper);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.5);
  transform: rotate(3deg);
  display: grid;
  gap: 4px;
}
.visit__band-market {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.03);
}
.visit__band-inset .label { opacity: 0.55; padding-left: 2px; }

.visit__closing {
  margin-top: clamp(70px, 12vh, 150px);
  display: grid;
  gap: 10px;
}
.visit__closing-frame {
  overflow: hidden;
  aspect-ratio: 21 / 8;
  background: var(--ink-3);
}
.visit__closing-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.05) brightness(0.92);
}
.visit__closing figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  opacity: 0.6;
}

.visit__band figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  opacity: 0.6;
}

.visit__cards { grid-template-columns: 1fr; }
  .vcard { padding-top: 20px; }
  .footer__cols { grid-template-columns: 1fr; }
  .cta-float { left: auto; right: 16px; transform: none; font-size: 11px; padding: 6px 14px 6px 6px; }
  .cta-float:hover .cta-float__arrow { transform: none; }
  .footer__big { justify-items: start; }
}

@media (max-width: 560px) {
  .topfade {
  position: fixed;
  left: 0; top: 0;
  z-index: 150;
  width: 100%;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(to bottom, var(--bg, #0b0a08) 8%, transparent 100%);
  opacity: 0.92;
  transition: background 0.6s var(--ease);
}

.topbar { padding: 16px var(--pad); }
  .topbar__right .pill { display: none; }
  .hero { min-height: 100svh; }
  .hero__inner { min-height: 100svh; padding-top: 84px; }
  .hero__title { font-size: clamp(60px, 21.5vw, 140px); }

  .season__track { grid-template-columns: 1fr; }
  .month { border-top: 1px solid var(--rule-l); }
  .take__list a { font-size: 18px; }
  .footer__big-cn { font-size: 34vw; }
  .cta-float { display: none; }
  body[data-theme="dark"] .cta-float { background: rgba(239, 231, 217, 0.92); }
  .cursor { display: none; }
}

@media (max-width: 1200px) {
  .cta-float { display: none; }
}

section[id], article[id] { scroll-margin-top: 84px; }

/* 跳转链接 */
.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.12em;
  border-radius: 2px;
  transform: translateY(-220%);
  transition: transform 0.35s var(--ease);
}
.skip:focus-visible { transform: none; }

/* ---------------------------------------------------------------- a11y */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .mask__in, .hero__line-in { transform: none !important; }
}

/* 矮屏与横屏手机（height < 520） */
@media (max-height: 520px) {
  .hero__inner { padding-top: 66px; padding-bottom: 16px; }
  .hero__title { font-size: min(19vw, 34vh); }
  .hero__cell figcaption { display: none; }
  .hero__under { margin-top: 6px; }
  .hero__foot { padding-top: 12px; gap: 14px; }
  .hero__scroll { display: none; }
  .hero__cell { grid-template-rows: 1fr; }
}

/* ==========================================================================
   多页：九味卡片 / 产品详情页
   ========================================================================== */
.nine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 44px) clamp(16px, 2.2vw, 34px);
  width: 100%;
  max-width: var(--max);
  margin: clamp(34px, 5.5vh, 64px) auto 0;
  padding-inline: var(--pad);
}
.nine-grid--tail { margin-top: clamp(34px, 5.5vh, 64px); }
.ncard { display: block; position: relative; }
.ncard__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink-3);
}
.ncard__img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
  transition: transform 1.1s var(--ease), filter 0.7s;
}
.ncard:hover .ncard__img { transform: scale(1.045); filter: saturate(1) contrast(1.05); }
.ncard__num {
  position: absolute;
  left: 14px; top: 12px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: rgba(239, 231, 217, 0.82);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.ncard__body { display: grid; gap: 5px; padding-top: 14px; }
.ncard__name {
  font-family: var(--font-cn);
  font-weight: 300;
  font-size: clamp(22px, 2vw, 31px);
  line-height: 1.22;
}
.ncard__tag { font-size: 13px; line-height: 1.8; color: var(--muted-d); }
.ncard__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted-d2);
  transition: color 0.3s;
}
.ncard__more i { font-style: normal; transition: transform 0.45s var(--ease); }
.ncard:hover .ncard__more { color: var(--paper); }
.ncard:hover .ncard__more i { transform: translateX(5px); }

/* ---------- 产品页 ---------- */
.page-product { background: var(--ink); }
.p-hero {
  position: relative;
  padding: clamp(96px, 13vh, 150px) 0 clamp(48px, 8vh, 96px);
  overflow: hidden;
}
.p-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 60% at 80% 20%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%);
}
.p-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(30px, 5vw, 84px);
  align-items: center;
}
.p-hero__copy { display: grid; gap: 14px; align-content: center; }
.p-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: baseline;
  opacity: 0.55;
}
.p-crumb a:hover { opacity: 1; }
.p-hero__kicker { color: var(--accent); opacity: 1; }
.p-hero__title {
  font-family: var(--font-cn);
  font-weight: 300;
  font-size: clamp(48px, 7vw, 118px);
  line-height: 1.02;
  letter-spacing: 0.01em;
}
.p-hero__en {
  font-family: var(--font-display);
  font-size: clamp(12px, 1vw, 15px);
  letter-spacing: 0.24em;
  color: var(--muted-d);
  margin-top: -4px;
}
.p-hero__tag {
  font-family: var(--font-cn);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.7;
  opacity: 0.86;
}
.p-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border-top: 1px solid var(--rule-d);
  padding-top: 16px;
  margin-top: 8px;
}
.p-hero__media { display: grid; gap: 10px; margin: 0; }
.p-hero__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-3);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.9);
}
.p-hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.03);
}
.p-hero__media figcaption { opacity: 0.5; }

.p-story {
  background: var(--paper);
  color: var(--ink);
  padding-block: clamp(66px, 10vh, 126px);
}
.p-story .chap-head__meta,
.p-uses .chap-head__meta { border-color: var(--rule-l); }
.p-story__title, .p-uses__title, .p-related__title { margin-top: 8px; }
.p-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(30px, 5vw, 80px);
  margin-top: clamp(30px, 5vh, 58px);
}
.p-story__text .prose, .p-story__text { opacity: 0.78; color: var(--ink); }
.p-story__quote {
  font-family: var(--font-cn);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.65;
  border-left: 1px solid var(--ink);
  padding-left: 18px;
  opacity: 0.9;
  align-self: start;
}
.p-story__band { margin: clamp(38px, 6vh, 72px) 0 0; display: grid; gap: 10px; }
.p-story__band-frame { overflow: hidden; aspect-ratio: 16 / 7; background: var(--ink-3); }
.p-story__band-img {
  width: 100%; height: 112%;
  object-fit: cover;
  transform: translateY(-5%);
  filter: saturate(0.82) contrast(1.02);
}

.p-uses {
  background: var(--paper-2);
  color: var(--ink);
  padding-block: clamp(58px, 9vh, 112px);
}
.p-uses__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 42px);
  margin-top: clamp(28px, 4.5vh, 52px);
  border-top: 1px solid var(--rule-l);
}
.p-use { display: grid; gap: 9px; padding-top: 22px; }
.p-use__num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  opacity: 0.45;
}
.p-use h3 {
  font-family: var(--font-cn);
  font-weight: 300;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.25;
}
.p-use p { font-size: 13.5px; line-height: 1.95; opacity: 0.7; max-width: 24em; }

.p-season {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(64px, 9vh, 110px);
  text-align: center;
}
.p-season__inner { display: grid; justify-items: center; gap: 12px; }
.p-season__title {
  font-family: var(--font-cn);
  font-weight: 300;
  font-size: clamp(30px, 4.2vw, 62px);
  line-height: 1.25;
}
.p-season__text {
  max-width: 34em;
  font-size: 15px;
  line-height: 2;
  color: var(--muted-d);
}

.p-related {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(56px, 8vh, 100px) clamp(64px, 9vh, 120px);
  border-top: 1px solid var(--rule-d);
}
.p-related__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
  margin-top: clamp(28px, 4.5vh, 48px);
  max-width: 880px;
}
.ncard--sm .ncard__name { font-size: clamp(20px, 1.9vw, 27px); }
.p-related__back { margin-top: clamp(30px, 4.5vh, 48px); }

@media (max-width: 1024px) {
  .nine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-hero__grid { grid-template-columns: 1fr; }
  .p-hero__media { order: -1; max-width: 520px; }
  .p-story__grid { grid-template-columns: 1fr; }
  .p-uses__list { grid-template-columns: 1fr; }
  .p-related__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .p-hero { padding-top: 88px; }
  .p-hero__title { font-size: clamp(44px, 12vw, 72px); }
  .p-hero__facts { grid-template-columns: 1fr 1fr; }
  .p-related__grid { grid-template-columns: 1fr; }
  .nine-grid { gap: 22px 14px; }
  .ncard__name { font-size: 21px; }
  .ncard__tag { font-size: 12px; }
}
