/* 山海绘卷 · 宣传页
   开场是暗处的一卷画：展开是水墨，落墨才有颜色。往下是纸、墨、朱砂。 */

@property --b1 { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --b2 { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --b3 { syntax: '<percentage>'; inherits: false; initial-value: 0%; }

:root {
  --paper: #f1e8d6;
  --paper-2: #e8dcc5;
  --paper-3: #d6c8aa;
  --ink: #1c1814;
  --ink-2: #4b4138;
  --ink-3: #8a7c6c;
  --seal: #b3352a;
  --night: #100d0b;
  --moon: #efe6d3;
  --dusk: #a99c89;
  --gut: clamp(20px, 5vw, 72px);
  --brush: "Ma Shan Zheng", "STKaiti", "Kaiti SC", "KaiTi", serif;
  --song: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --latin: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --display: var(--latin);
  --text: "EB Garamond", Georgia, "Noto Serif SC", serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
.lang-zh { --display: var(--brush); --text: var(--song); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; background: var(--night); }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--text);
  font-size: 20px;
  line-height: 1.6;
  overflow-x: clip;
  background-color: var(--paper);
  /* 宣纸：一层细颗粒，一层横向的纸筋 */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .27 0 0 0 0 .17 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='400'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006 .28' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .35 0 0 0 0 .22 0 0 0 .16 -.03'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
}
.lang-zh body { font-size: 17px; line-height: 2; }

img, video { max-width: 100%; }
a { color: inherit; }
em { font-style: italic; }
.lang-zh em { font-style: normal; }
h1, h2, h3, p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--seal); outline-offset: 5px; border-radius: 2px; }

#petals { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
main, .foot { position: relative; z-index: 2; }

/* ───────── 页眉（开场在暗处，过了开场落到纸上） ───────── */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gut);
  color: var(--moon);
  pointer-events: none;
  transition: color .5s;
}
.top::before, .top::after { content: ""; position: absolute; inset: 0; z-index: -1; transition: opacity .5s; }
.top::before { background: linear-gradient(rgba(241, 232, 214, .98), rgba(241, 232, 214, .94) 62%, rgba(241, 232, 214, 0)); opacity: 0; bottom: -14px; }
.top::after { background: linear-gradient(rgba(16, 13, 11, .8), rgba(16, 13, 11, 0)); }
.top.on-paper { color: var(--ink); }
.top.on-paper::before { opacity: 1; }
.top.on-paper::after { opacity: 0; }
.top a { pointer-events: auto; text-decoration: none; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-name { font-family: var(--display); font-size: 21px; letter-spacing: .04em; }
.lang-zh .brand-name { font-size: 23px; letter-spacing: .12em; }
.seal-mini {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 5px;
  background: var(--seal); color: #f8efdd;
  font: 400 14px/1 var(--brush); writing-mode: vertical-rl;
  filter: url(#rough);
}
.top nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 22px); }
.wl-nav {
  padding: 6px 14px; border: 1px solid currentColor; border-radius: 3px;
  font-family: var(--latin); font-size: 16px; letter-spacing: .08em;
  transition: background .3s, color .3s, border-color .3s;
}
.lang-zh .wl-nav { font-family: var(--song); font-size: 14px; letter-spacing: .2em; padding-left: 16px; }
.top .wl-nav:hover { background: var(--seal); border-color: var(--seal); color: #f8efdd; }
.lang {
  font-family: var(--latin); font-size: 17px; letter-spacing: .08em;
  padding: 6px 2px; border-bottom: 1px solid currentColor;
  transition: color .3s;
}
.lang-en .lang { font-family: var(--song); font-size: 15px; }
.lang:hover { color: #e0705f; }
.top.on-paper .lang:hover { color: var(--seal); }

/* ───────── 一 · 开卷 ───────── */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--night); color: var(--moon);
  padding-bottom: 26vh;   /* 画外是夜，往下是月下的山，再往下才是纸 */
}
.hero::before {   /* 灯下的一团暖光，四角压暗 */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 62% 46% at 50% 44vh, rgba(214, 160, 92, .17), rgba(214, 160, 92, 0) 70%),
    radial-gradient(ellipse 120% 90% at 50% 40vh, rgba(16, 13, 11, 0) 40%, rgba(0, 0, 0, .55));
}
.night { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.fog {
  position: absolute; width: 110vw; height: 70vh; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(226, 212, 184, .075), rgba(226, 212, 184, 0));
}
.fog-a { left: -40vw; top: 4vh; animation: drift 46s ease-in-out infinite alternate; }
.fog-b { right: -46vw; top: 34vh; animation: drift 62s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translateX(-9vw); } to { transform: translateX(9vw); } }
/* 暗处有东西在走 */
.ghost {
  position: absolute; left: 0; width: auto; max-width: none; opacity: 0;
  filter: invert(1) blur(1.6px);
  animation: prowl 52s linear infinite;
}
.g1 { top: 9vh; height: min(46vh, 420px); animation-delay: -3s; }
.g2 { top: 50vh; height: min(30vh, 280px); animation-duration: 74s; animation-delay: -44s; animation-direction: reverse; }
.g3 { top: 30vh; height: min(38vh, 340px); animation-duration: 88s; animation-delay: -58s; }
@keyframes prowl {
  0% { transform: translateX(104vw); opacity: 0; }
  10% { opacity: .085; }
  86% { opacity: .085; }
  100% { transform: translateX(-70vw); opacity: 0; }
}
.ridge {
  position: absolute; aspect-ratio: 1482 / 533;
  background: url(img/ridge.jpg) center / 100% 100% no-repeat;
  -webkit-mask: url(img/ridge-m.png) center / 100% 100% no-repeat;
          mask: url(img/ridge-m.png) center / 100% 100% no-repeat;
  translate: 0 calc(var(--sy, 0) * .05px);
}
.ridge-a { left: -6%; bottom: -1vh; width: min(46vw, 66vh); opacity: .5; }
.ridge-b { right: -8%; bottom: 3vh; width: min(32vw, 48vh); opacity: .3; transform: scaleX(-1); translate: 0 calc(var(--sy, 0) * .09px); }
.mist {
  position: absolute; inset: auto 0 0 0; height: 34vh;
  background: linear-gradient(to top, var(--paper) 10%, rgba(241, 232, 214, .86) 34%, rgba(241, 232, 214, .32) 66%, rgba(241, 232, 214, 0));
}

.hero-stack {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(10px, 2vh, 22px);
  padding: 70px var(--gut) 62px;
}

/* 开场的两句话：先只有字，字退下去，卷轴才出现 */
.prelude { display: none; }
.js .prelude { display: block; position: absolute; z-index: 2; left: 0; right: 0; top: 46%; translate: 0 -50%; padding: 0 var(--gut); text-align: center; transition: opacity 1s; pointer-events: none; }
.pl { font-family: var(--display); font-size: clamp(21px, 2.5vw, 34px); line-height: 1.6; letter-spacing: .02em; opacity: 0; transform: translateY(8px); transition: opacity 1.4s, transform 1.4s var(--ease); }
.lang-zh .pl { letter-spacing: .16em; line-height: 1.9; }
.pl-2 { color: var(--dusk); }
.hero.p1 .pl-1, .hero.p2 .pl-2 { opacity: 1; transform: none; }
.hero.open .prelude { opacity: 0; }

/* 卷轴在左，竖排的题签在右 */
.scroll-row { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.6vw, 46px); max-width: 100%; }
.js .handscroll { opacity: 0; transition: opacity 1.1s .3s; }
.js .hero.open .handscroll { opacity: 1; }
.hero-title { flex: none; display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 10px; }
.ht-main { writing-mode: vertical-rl; font: 400 clamp(46px, calc(var(--h, 420px) / 5.1), 118px)/1.07 var(--brush); letter-spacing: .03em; text-shadow: 0 0 34px rgba(255, 214, 150, .18); }
.ht-main b { display: inline-block; font-weight: 400; }
.ht-latin { writing-mode: vertical-rl; padding-top: .8em; font: 500 12px/1 var(--latin); letter-spacing: .56em; text-transform: uppercase; color: var(--dusk); }
.js .ht-main b { opacity: 0; filter: blur(14px); transform: scale(1.3); }
.js .hero.open .ht-main b { animation: inkin 1.3s calc(1.1s + var(--i) * .3s) var(--ease) forwards; }
.js .ht-latin { opacity: 0; }
.js .hero.open .ht-latin { animation: rise 1.2s 2.6s var(--ease) forwards; }
@keyframes inkin { to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* 卷轴 */
.handscroll { display: flex; align-items: center; justify-content: center; max-width: 100%; }
.roller {
  flex: none; position: relative; width: 15px; height: calc(var(--h, 300px) + 50px); border-radius: 8px;
  background: linear-gradient(90deg, #2e2016, #7b5a3c 32%, #a98157 50%, #5c4129 78%, #291c13);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .5);
}
.roller::before, .roller::after {
  content: ""; position: absolute; left: -3px; right: -3px; height: 15px; border-radius: 4px;
  background: linear-gradient(90deg, #1d130d, #5d4129 50%, #1d130d);
}
.roller::before { top: -5px; }
.roller::after { bottom: -5px; }
.sheet {
  position: relative; flex: none; overflow: hidden;
  width: min(100%, 900px);
  border-top: 12px solid var(--paper-3); border-bottom: 12px solid var(--paper-3);
  background: var(--paper-2);
  box-shadow: 0 0 90px rgba(255, 200, 130, .15), 0 22px 50px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(60, 40, 20, .25);
  touch-action: pan-y;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M27 3 13 19' stroke='%237b5a3c' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M13 19c-4 1-7 5-9 10 5-1 9-4 11-8z' fill='%231c1814' stroke='%23efe6d3' stroke-width='1'/%3E%3C/svg%3E") 4 29, crosshair;
}
/* 没有脚本时：直接是一张上了色的画 */
.scene .ink, .scene canvas { display: none; }
.scene .full { display: block; width: 100%; height: auto; }
.js .sheet { width: var(--r, 4px); height: calc(var(--h, 300px) + 24px); }
.js .scene { position: absolute; top: 0; left: 50%; width: var(--w, 533px); height: var(--h, 300px); margin-left: calc(var(--v, 533px) / -2); }
.js .scene > * { display: block; position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; user-select: none; -webkit-user-drag: none; }
.js .scene .ink { filter: grayscale(1) sepia(.3) contrast(1.08) brightness(.86); }
.js .scene .full { opacity: 0; transition: opacity 2.8s ease-in-out; pointer-events: none; }
.js .scene.complete .full { opacity: 1; }
.scene.pan { animation: pan 20s ease-in-out .6s infinite alternate; }
@keyframes pan { to { transform: translateX(calc(var(--panmax, 0px) * -1)); } }

.scroll-hint { min-height: 1.5em; font-size: 14px; letter-spacing: .14em; color: var(--dusk); text-align: center; transition: opacity 1s; }
.lang-zh .scroll-hint { font-size: 13px; letter-spacing: .34em; }
.js .scroll-hint { opacity: 0; }
.js .hero.ready .scroll-hint { opacity: 1; }
.js .hero.ready .scroll-hint.swap { opacity: 0; }

.hero-copy {
  width: min(100%, var(--cw, 900px));
  display: flex; align-items: center; justify-content: space-between; gap: 20px 48px; flex-wrap: wrap;
}
h1 { font-family: var(--display); font-weight: 500; font-size: clamp(32px, 3.5vw, 52px); line-height: 1.05; letter-spacing: -.01em; }
.lang-zh h1 { font-weight: 400; font-size: clamp(32px, 3.4vw, 50px); line-height: 1.3; letter-spacing: .08em; }
.sub { margin-top: 8px; color: var(--dusk); font-size: 19px; line-height: 1.4; }
.lang-zh .sub { font-size: 15px; letter-spacing: .08em; line-height: 1.8; }
.cta-row { display: flex; align-items: center; gap: 20px; }
.cta-text { display: flex; flex-direction: column; gap: 8px; }
.cta-text strong { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: .16em; text-transform: uppercase; }
.lang-zh .cta-text strong { font-weight: 400; font-size: 26px; letter-spacing: .3em; }
/* 等候名单的按钮：朱砂底，全页最显眼的一处 */
.btn-wl {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 9px 18px; border-radius: 3px;
  background: var(--seal); color: #f8efdd; text-decoration: none;
  font-family: var(--latin); font-weight: 600; font-size: 18px; letter-spacing: .06em; line-height: 1.2;
  transition: background .3s, transform .3s;
  animation: wlpulse 2.8s ease-out infinite;
}
.lang-zh .btn-wl { font-family: var(--song); font-weight: 600; font-size: 15px; letter-spacing: .22em; padding: 10px 18px 10px 20px; }
.btn-wl:hover { background: #c9483b; transform: translateY(-1px); }
.btn-wl span { display: inline-block; transition: transform .3s; }
.btn-wl:hover span { transform: translateX(4px); }
@keyframes wlpulse { 0% { box-shadow: 0 0 0 0 rgba(201, 72, 59, .55); } 70%, 100% { box-shadow: 0 0 0 14px rgba(201, 72, 59, 0); } }
.js .hero-copy { opacity: 0; }
.js .hero.open .hero-copy { animation: rise 1.2s 2.6s var(--ease) forwards; }

/* 印章 */
.stamp {
  flex: none;
  display: inline-grid; grid-template-rows: 1fr 1fr; grid-auto-flow: column; direction: rtl; place-items: center;
  width: 66px; height: 66px; padding: 7px 6px; border-radius: 7px;
  background: var(--seal); color: #f8efdd;
  font: 400 23px/1 var(--brush);
  filter: url(#rough);
  rotate: -5deg;
}
.stamp b { font-weight: 400; }
.stamp.big { width: 104px; height: 104px; font-size: 37px; padding: 10px 8px; border-radius: 10px; }
.js .hero .stamp { opacity: 0; }
.js .hero.stamped .stamp { animation: thump .5s cubic-bezier(.3, 1.5, .5, 1) forwards; }
@keyframes thump { from { opacity: 0; scale: 1.9; } 60% { opacity: 1; } to { opacity: 1; scale: 1; } }

.cue {
  position: absolute; left: 50%; bottom: 14px; translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: var(--display); font-size: 13px; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; color: var(--dusk);
}
.lang-zh .cue { font-size: 16px; letter-spacing: .4em; padding-left: .4em; }
.cue i { width: 1px; height: 26px; background: linear-gradient(var(--dusk), transparent); animation: cue 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.js .cue { opacity: 0; }
.js .hero.ready .cue { animation: rise 1s var(--ease) forwards; }

/* ───────── 通用段落 ───────── */
.sec { position: relative; padding: clamp(84px, 12vw, 170px) var(--gut); }
.wrap { max-width: 1180px; margin: 0 auto; }
.kicker {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
  font-family: var(--latin); font-size: 15px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--seal);
}
.kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.lang-zh .kicker { font-family: var(--song); font-weight: 400; font-size: 14px; letter-spacing: .5em; }
h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(32px, 4.3vw, 58px); line-height: 1.08; letter-spacing: -.01em;
  max-width: 17em; text-wrap: balance;
}
.lang-zh h2 { font-weight: 400; font-size: clamp(30px, 3.9vw, 54px); line-height: 1.35; letter-spacing: .03em; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--d, 0ms) var(--ease), transform 1s var(--d, 0ms) var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ───────── 二 · 这是什么游戏 ───────── */
.about { padding-top: clamp(40px, 6vw, 90px); }
.book-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(44px, 8vw, 130px); align-items: center; }
.quote { margin: 0; display: flex; flex-direction: column; align-items: center; }
.vert {
  margin: 0; writing-mode: vertical-rl;
  font: 400 clamp(23px, 2.35vw, 33px)/2.15 var(--brush); letter-spacing: .14em;
  height: 14.2em;
  padding: 0 .5em; border-left: 1px solid rgba(28, 24, 20, .18); border-right: 1px solid rgba(28, 24, 20, .18);
}
.vert .col { display: block; }
.vert cite { font-style: normal; font-size: .6em; color: var(--seal); text-align: end; letter-spacing: .2em; line-height: 2.6; }
.js [data-write] i { font-style: normal; opacity: 0; filter: blur(5px); transition: opacity .55s calc(var(--c) * 60ms), filter .55s calc(var(--c) * 60ms); }
.js .in [data-write] i { opacity: 1; filter: none; }
.quote figcaption { margin-top: 30px; max-width: 21em; font-style: italic; font-size: 18px; line-height: 1.5; color: var(--ink-2); text-align: center; }
.quote figcaption small { display: block; margin-top: 10px; font-style: normal; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.prose h2 { margin-bottom: .7em; }
.prose p { max-width: 33em; color: var(--ink-2); }
.prose .lead { margin-top: 1.3em; font-family: var(--display); font-size: clamp(25px, 2.5vw, 34px); line-height: 1.25; color: var(--ink); font-style: italic; }
.lang-zh .prose .lead { font-style: normal; line-height: 1.6; letter-spacing: .04em; }

/* 三句话：读 → 走进去，猎 → 画下来，看 → 骑上去 */
.pillars { list-style: none; padding: 0; margin-top: clamp(64px, 9vw, 120px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.pillar { border-top: 1px solid rgba(28, 24, 20, .22); padding-top: 22px; }
.pillar-line span { display: block; font-family: var(--latin); font-style: italic; font-size: 21px; color: var(--ink-3); }
.lang-zh .pillar-line span { font-family: var(--song); font-style: normal; font-size: 15px; letter-spacing: .3em; }
.pillar-line b { display: block; margin-top: 2px; font-family: var(--display); font-weight: 500; font-size: clamp(34px, 3.9vw, 54px); line-height: 1.05; }
.lang-zh .pillar-line b { font-weight: 400; font-size: clamp(40px, 4.4vw, 62px); line-height: 1.25; letter-spacing: .08em; }
.pillar-line b::after { content: ""; display: block; width: 0; height: 3px; margin-top: 10px; background: var(--seal); border-radius: 2px; transition: width 1.1s calc(var(--d, 0ms) + .5s) var(--ease); }
.pillar.in .pillar-line b::after { width: 44px; }
.pillar-p { margin-top: 14px; color: var(--ink-2); font-size: 18px; line-height: 1.5; }
.lang-zh .pillar-p { font-size: 15px; line-height: 1.9; }

/* ───────── 三 · 怎么玩 ───────── */
.play { padding-top: clamp(40px, 6vw, 90px); }
.play h2 { margin-bottom: clamp(36px, 5vw, 64px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.8vw, 44px); counter-reset: step; }
.step { position: relative; border-top: 1px solid rgba(28, 24, 20, .22); padding-top: 20px; counter-increment: step; }
.step::before { content: counter(step, cjk-ideographic); position: absolute; right: 0; top: 14px; font: 400 13px/1 var(--song); color: var(--ink-3); }
.step-zh { display: block; font: 400 clamp(34px, 3.4vw, 46px)/1.1 var(--brush); letter-spacing: .08em; }
.step:last-child .step-zh { color: var(--seal); }
.step h3 { margin-top: 8px; font-family: var(--latin); font-weight: 600; font-size: 15px; letter-spacing: .22em; text-transform: uppercase; color: var(--seal); }
.step p { margin-top: 12px; color: var(--ink-2); font-size: 18px; line-height: 1.5; }
.lang-zh .step p { font-size: 15px; line-height: 1.9; }
.pigments { display: flex; gap: 9px; margin-top: 16px; }
.pigments i { width: 15px; height: 15px; border-radius: 50%; background: var(--c); box-shadow: inset 0 -2px 3px rgba(0, 0, 0, .22), 0 0 0 1px rgba(28, 24, 20, .12); }

.mounts-head { margin: clamp(64px, 9vw, 116px) 0 30px; display: flex; align-items: baseline; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; }
.mounts-head h3 { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.1; }
.lang-zh .mounts-head h3 { font-weight: 400; letter-spacing: .08em; }
.hint { display: flex; align-items: center; gap: 12px; font-family: var(--latin); font-style: italic; font-size: 21px; color: var(--ink-2); }
.lang-zh .hint { font-family: var(--song); font-style: normal; font-size: 15px; letter-spacing: .24em; }
.hint-drop { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--seal); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(179, 53, 42, .5); } 100% { box-shadow: 0 0 0 16px rgba(179, 53, 42, 0); } }

/* 异兽：黑影 → 上色 */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.beast {
  position: relative; display: block; width: 100%;
  aspect-ratio: 1.12;
  padding: 0; border: 0; background: none; color: inherit; font: inherit;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transform-origin: 50% 96%;
}
.beast .shadow {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; pointer-events: none; user-select: none;
  transition: transform .6s var(--ease);
}
.beast .paint-wrap {
  position: absolute; inset: 0; pointer-events: none;
  /* 黑影的形状写在标签的 style 里（图片地址要相对页面，不能相对这个样式表） */
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.beast .paint {
  position: absolute; inset: 0;
  background: center / contain no-repeat;
  /* 三团墨从落笔处晕开 */
  --blobs:
    radial-gradient(circle at var(--x, 50%) var(--y, 58%), #000 calc(var(--b1) - 16%), transparent var(--b1)),
    radial-gradient(circle at calc(var(--x, 50%) + 24%) calc(var(--y, 58%) - 20%), #000 calc(var(--b2) - 11%), transparent var(--b2)),
    radial-gradient(circle at calc(var(--x, 50%) - 27%) calc(var(--y, 58%) + 14%), #000 calc(var(--b3) - 11%), transparent var(--b3));
  -webkit-mask-image: var(--blobs);
          mask-image: var(--blobs);
}
.beast.painted .paint {
  --b1: 175%; --b2: 175%; --b3: 175%;
  transition: --b1 1.7s cubic-bezier(.3, .6, .3, 1), --b2 1.9s .14s cubic-bezier(.3, .6, .3, 1), --b3 2.1s .26s cubic-bezier(.3, .6, .3, 1);
}
.beast:not(.painted) .shadow { animation: lurk 5.5s ease-in-out infinite; }
.beast:not(.painted):hover .shadow { transform: scale(1.04); }
@keyframes lurk { 0%, 100% { opacity: 1; } 50% { opacity: .84; } }
/* 活过来之后，各有各的动法：陆上的小跑，水里的浮沉，天上的起落 */
.m-land.alive { animation: trot .9s ease-in-out infinite; }
.m-water.alive { animation: bobble 4.6s ease-in-out infinite; }
.m-air.alive { animation: soar 3.4s ease-in-out infinite; }
@keyframes trot { 0%, 100% { transform: translate(0, 0) rotate(-.6deg); } 50% { transform: translate(1.2%, -2.6%) rotate(.9deg); } }
@keyframes bobble { 0%, 100% { transform: translateY(0) rotate(-1.1deg); } 50% { transform: translateY(2.4%) rotate(1.1deg); } }
@keyframes soar { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-8%) scale(1.03) rotate(-1.5deg); } }

.card-text { position: relative; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(28, 24, 20, .16); }
.unknown { position: absolute; left: 0; top: 18px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); transition: opacity .5s; }
.lang-zh .unknown { letter-spacing: .4em; font-size: 13px; }
.known { opacity: 0; transform: translateY(8px); transition: opacity .9s .7s, transform .9s .7s var(--ease); }
.card.done .unknown { opacity: 0; }
.card.done .known { opacity: 1; transform: none; }
.card h3 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; font-weight: 400; }
.name-zh { font: 400 36px/1.15 var(--brush); letter-spacing: .06em; }
.name-sub { font-family: var(--latin); font-style: italic; font-size: 19px; color: var(--ink-3); }
.tr { margin-top: 8px; font-size: 17px; line-height: 1.45; color: var(--ink-2); }
.lang-zh .tr { font-size: 14.5px; line-height: 1.85; }
.gift-line { margin-top: 14px; display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 22px; line-height: 1.2; }
.lang-zh .gift-line { font-size: 23px; letter-spacing: .06em; }
.gift-line small { display: block; font-family: var(--text); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
.lang-zh .gift-line small { letter-spacing: .3em; }
.tag {
  flex: none; display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 7px; border-radius: 5px;
  background: var(--seal); color: #f8efdd; font: 400 21px/1 var(--brush); filter: url(#rough);
  scale: 0; transition: scale .5s 1.5s cubic-bezier(.3, 1.6, .5, 1);
}
.lang-en .tag { font: 600 11px/1 var(--latin); letter-spacing: .14em; text-transform: uppercase; }
.card.done .tag { scale: 1; }

/* 实机短片，裱成一小幅 */
.clip { margin: clamp(70px, 9vw, 124px) auto 0; max-width: 1180px; }
.clip-frame {
  border-top: 12px solid var(--paper-3); border-bottom: 12px solid var(--paper-3);
  background: var(--paper-2);
  box-shadow: 0 16px 40px rgba(40, 25, 10, .25), inset 0 0 0 1px rgba(60, 40, 20, .25);
}
.clip video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.clip figcaption { margin-top: 14px; text-align: center; font-size: 14px; letter-spacing: .1em; color: var(--ink-3); }
.lang-zh .clip figcaption { font-size: 13px; letter-spacing: .26em; }

.wl-band { margin-top: clamp(40px, 5vw, 64px); display: flex; align-items: center; justify-content: center; gap: 16px 28px; flex-wrap: wrap; text-align: center; }
.wl-band p { font-family: var(--display); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; }
.lang-zh .wl-band p { letter-spacing: .08em; }

/* ───────── 四 · 等候名单 ───────── */
.wl-wrap { margin-top: 34px; width: min(100%, 640px); }
.wl-form {
  display: flex; border: 1.5px solid var(--ink); background: rgba(255, 252, 244, .7);
  box-shadow: 0 12px 34px rgba(40, 25, 10, .14);
}
.wl-form:focus-within { outline: 2px solid var(--seal); outline-offset: 3px; }
.wl-form input[type=email] {
  flex: 1; min-width: 0; border: 0; background: none; padding: 17px 20px;
  font: inherit; font-size: 21px; color: var(--ink); outline: none;
}
.lang-zh .wl-form input[type=email] { font-size: 18px; letter-spacing: .04em; }
.wl-form input::placeholder { color: var(--ink-3); opacity: .8; }
.wl-form button {
  flex: none; border: 0; padding: 0 28px; cursor: pointer;
  background: var(--seal); color: #f8efdd;
  font-family: var(--latin); font-weight: 600; font-size: 20px; letter-spacing: .06em;
  transition: background .3s;
}
.lang-zh .wl-form button { font-family: var(--song); font-size: 16px; letter-spacing: .22em; padding-left: 30px; }
.wl-form button:hover { background: #c9483b; }
.wl-form button[disabled] { opacity: .6; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl-ok { display: none; align-items: center; justify-content: center; gap: 16px; text-align: left; font-family: var(--display); font-size: clamp(22px, 2.3vw, 28px); line-height: 1.3; }
.lang-zh .wl-ok { letter-spacing: .06em; }
.wl-ok .tag { scale: 1; transition: none; min-width: 52px; height: 52px; font: 400 28px/1 var(--brush); letter-spacing: 0; text-transform: none; }
.wl-wrap.done .wl-form, .wl-wrap.done .wl-note { display: none; }
.wl-wrap.done .wl-ok { display: flex; }
.wl-wrap.done .wl-ok .tag { animation: thump .5s cubic-bezier(.3, 1.5, .5, 1) both; }
.wl-msg { min-height: 1.6em; margin-top: 12px; font-size: 17px; color: var(--seal); }
.lang-zh .wl-msg { font-size: 14.5px; letter-spacing: .08em; }
.wl-wrap.done .wl-msg { display: none; }
.wl-note { font-size: 14px; letter-spacing: .06em; color: var(--ink-3); }
.lang-zh .wl-note { font-size: 13px; letter-spacing: .2em; }
.follow-line { margin-top: clamp(44px, 6vw, 70px); max-width: 30em; color: var(--ink-2); font-size: 18px; }
.lang-zh .follow-line { font-size: 15px; }
.follow { padding-bottom: 0; }
.follow-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.follow .kicker { margin-top: 34px; }
.follow .kicker::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.follow-p { margin-top: 22px; max-width: 30em; color: var(--ink-2); }
.js .stamp.big.reveal { transform: none; scale: 1.9; transition: opacity .25s, scale .5s cubic-bezier(.3, 1.5, .5, 1); }
.js .stamp.big.reveal.in { scale: 1; }
.follow-actions { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 18px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  font-family: var(--latin); font-size: 20px; letter-spacing: .06em; text-decoration: none;
  transition: background .3s, color .3s, border-color .3s;
}
.lang-zh .btn { font-family: var(--song); font-size: 16px; letter-spacing: .2em; }
.btn:hover { background: var(--seal); border-color: var(--seal); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.domain { flex-basis: 100%; margin-top: 6px; font-family: var(--latin); font-size: 17px; letter-spacing: .34em; color: var(--ink-3); }

.frieze {
  margin-top: clamp(64px, 9vw, 124px); overflow: hidden;
  border-bottom: 1px solid rgba(28, 24, 20, .28);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.frieze-track { display: flex; width: max-content; animation: walk 170s linear infinite; }
.frieze-set { display: flex; align-items: flex-end; gap: clamp(30px, 4.4vw, 70px); padding-right: clamp(30px, 4.4vw, 70px); }
.frieze img { height: clamp(64px, 9.5vw, 118px); width: auto; max-width: none; transform-origin: 50% 100%; animation: bob 4.4s ease-in-out infinite; animation-delay: calc(var(--k) * -.9s); }
@keyframes walk { to { transform: translateX(-50%); } }
@keyframes bob { 0%, 100% { transform: none; } 50% { transform: translateY(-3px) rotate(-.6deg); } }
.frieze-cap { padding: 24px var(--gut) 0; text-align: center; font-family: var(--display); font-style: italic; font-size: 21px; color: var(--ink-2); }
.lang-zh .frieze-cap { font-style: normal; font-size: 24px; letter-spacing: .14em; }

/* ───────── 页脚 ───────── */
.foot { padding: 70px var(--gut) 54px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-size: 15px; color: var(--ink-3); }
.lang-zh .foot { font-size: 13px; letter-spacing: .08em; }
.foot-small { font-size: 13px; letter-spacing: .06em; }
.foot a { text-underline-offset: 3px; }

/* ───────── 窄屏 ───────── */
@media (max-width: 860px) {
  body { font-size: 19px; }
  .hero-stack { padding: 70px var(--gut) 60px; gap: 12px; }
  .scroll-row { flex-direction: column-reverse; gap: 14px; }
  .hero-title { flex-direction: column; align-items: center; gap: 8px; }
  .ht-main { writing-mode: horizontal-tb; font-size: clamp(44px, 13vw, 72px); letter-spacing: .2em; padding-left: .2em; }
  .ht-latin { writing-mode: horizontal-tb; padding: 0 0 0 .56em; }
  .pl { font-size: 20px; }
  .hero-copy { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .cta-row { text-align: left; }
  .sub { font-size: 17px; }
  .roller { width: 11px; height: calc(var(--h, 300px) + 40px); }
  .ridge-a { width: min(110vw, 60vh); left: -24%; }
  .ridge-b { display: none; }
  .cue { display: none; }
  .g1 { height: 26vh; top: 12vh; }
  .g2 { height: 20vh; }
  .g3 { display: none; }

  .book-grid { grid-template-columns: 1fr; }
  .vert { font-size: 22px; }
  .pillars { grid-template-columns: 1fr; gap: 30px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
  .step p { font-size: 17px; }
  .gallery { grid-template-columns: 1fr; gap: 44px; max-width: 420px; margin: 0 auto; }
  .brand-name { display: none; }
  .wl-form { flex-direction: column; }
  .wl-form button { padding: 15px 20px; }
  .wl-ok { flex-direction: column; text-align: center; }
}

/* ───────── 少动画 ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .ht-main b, .js .ht-latin, .js .hero-copy, .js .cue, .js .hero .stamp, .js .scroll-hint, .js [data-write] i { opacity: 1; transform: none; filter: none; scale: 1; }
  .ghost { display: none; }
  #petals { display: none; }
}
