/* =========================================================
   黄梅戏 · 一曲黄梅
   宣纸 / 朱砂 / 墨色 / 金线
   ========================================================= */

:root {
  --paper: #f3e9d6;
  --paper-light: #f8f1e2;
  --paper-deep: #e7d9be;
  --ink: #191612;
  --ink-2: #3d352c;
  --ink-3: #776a59;
  --red: #a52a24;
  --red-deep: #7e1b18;
  --gold: #b08a4f;
  --line: rgba(25, 22, 18, 0.14);

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-kai: "Kaiti SC", "STKaiti", "KaiTi", "楷体", var(--font-serif);
  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --font-en: "Cormorant Garamond", "Georgia", "Times New Roman", serif;

  --wrap: min(1280px, 90vw);
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-curtain: cubic-bezier(0.77, 0, 0.18, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html.is-loading {
  overflow: hidden;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--paper-deep);
}

::-webkit-scrollbar-thumb {
  background: #b7a482;
  border: 2px solid var(--paper-deep);
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--red);
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

main section[id] {
  scroll-margin-top: 88px;
}

.container {
  width: var(--wrap);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -120%;
  left: 1.2rem;
  z-index: 10001;
  padding: 0.7rem 1.2rem;
  background: var(--red);
  color: var(--paper-light);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 1.2rem;
}

/* =========================================================
   开场幕布
   ========================================================= */

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: var(--red-deep);
}

.loader__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  background:
    repeating-linear-gradient(90deg,
      rgba(0, 0, 0, 0.17) 0px,
      rgba(0, 0, 0, 0.17) 1px,
      rgba(255, 255, 255, 0.035) 2px,
      transparent 5px,
      transparent 30px),
    linear-gradient(90deg, #761814 0%, #a52a24 38%, #94231f 68%, #6e1612 100%);
  transition: transform 1.15s var(--ease-curtain) 0.25s;
  will-change: transform;
}

.loader__panel--left {
  left: 0;
  box-shadow: inset -40px 0 80px rgba(0, 0, 0, 0.32);
}

.loader__panel--right {
  right: 0;
  background:
    repeating-linear-gradient(90deg,
      rgba(0, 0, 0, 0.17) 0px,
      rgba(0, 0, 0, 0.17) 1px,
      rgba(255, 255, 255, 0.035) 2px,
      transparent 5px,
      transparent 30px),
    linear-gradient(270deg, #761814 0%, #a52a24 38%, #94231f 68%, #6e1612 100%);
  box-shadow: inset 40px 0 80px rgba(0, 0, 0, 0.32);
}

.loader__seal {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 118px;
  height: 150px;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(243, 233, 214, 0.78);
  outline: 1px solid rgba(243, 233, 214, 0.28);
  outline-offset: 6px;
  color: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  font-family: var(--font-kai);
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: 0.12em;
  transition: opacity 0.45s ease, transform 0.45s ease;
  animation: sealIn 0.9s var(--ease-out) both;
}

.loader__seal small {
  margin-top: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.48rem;
  letter-spacing: 0.24em;
  opacity: 0.7;
}

body.is-ready .loader__panel--left {
  transform: translateX(-101%);
}

body.is-ready .loader__panel--right {
  transform: translateX(101%);
}

body.is-ready .loader__seal {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0s 0.5s;
}

@keyframes sealIn {
  from { opacity: 0; transform: translate(-50%, -46%) scale(0.94); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* =========================================================
   全局装饰
   ========================================================= */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1100;
  pointer-events: none;
}

.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--red-deep), var(--red), #c95b45);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

.petals {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: 0.5;
}

.cursor {
  display: none;
}

html.has-cursor,
html.has-cursor a,
html.has-cursor button {
  cursor: none;
}

html.has-cursor .cursor {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
}

.cursor__dot,
.cursor__ring {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  will-change: transform;
}

.cursor__dot {
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  background: var(--red);
}

.cursor__ring {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(165, 42, 36, 0.55);
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out),
    margin 0.35s var(--ease-out), border-color 0.35s ease, background 0.35s ease;
}

.cursor.is-hover .cursor__ring {
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border-color: rgba(165, 42, 36, 0.9);
  background: rgba(165, 42, 36, 0.05);
}

.cursor.is-hidden .cursor__dot,
.cursor.is-hidden .cursor__ring {
  opacity: 0;
}

/* =========================================================
   顶部导航
   ========================================================= */

.site-head {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  transition: background 0.45s ease, box-shadow 0.45s ease, backdrop-filter 0.45s ease;
}

.site-head__inner {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: height 0.4s var(--ease-out);
}

.site-head.is-scrolled {
  background: rgba(243, 233, 214, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  backdrop-filter: blur(14px) saturate(1.08);
  box-shadow: 0 1px 0 rgba(25, 22, 18, 0.1);
}

.site-head.is-scrolled .site-head__inner {
  height: 72px;
}

.brand {
  position: relative;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand__seal {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0.26rem;
  background: var(--red);
  color: var(--paper-light);
  font-family: var(--font-kai);
  font-size: 1rem;
  line-height: 1.06;
  letter-spacing: 0.06em;
  writing-mode: vertical-rl;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  transform: rotate(-2deg);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.brand__text strong {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.brand__text small {
  margin-top: 0.25rem;
  font-family: var(--font-sans);
  font-size: 0.5rem;
  letter-spacing: 0.26em;
  color: var(--ink-3);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.4vw, 2.4rem);
}

.nav a {
  position: relative;
  padding: 0.35rem 0;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  color: var(--ink-2);
  transition: color 0.3s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}

.nav a:hover,
.nav a.is-active {
  color: var(--red);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-btn {
  position: relative;
  z-index: 1100;
  display: none;
  width: 46px;
  height: 46px;
  margin-right: -8px;
}

.menu-btn span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out);
}

.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 27px; }

body.menu-open .menu-btn span:nth-child(1) {
  top: 23px;
  transform: rotate(45deg);
}

body.menu-open .menu-btn span:nth-child(2) {
  top: 23px;
  transform: rotate(-45deg);
}

/* 右侧章节点 */

.rail {
  position: fixed;
  right: 1.7rem;
  top: 50%;
  z-index: 850;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.rail::before {
  content: "";
  position: absolute;
  right: 7px;
  top: -1.2rem;
  bottom: -1.2rem;
  width: 1px;
  background: rgba(25, 22, 18, 0.16);
}

.rail a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 14px;
  color: var(--ink-3);
  font-family: var(--font-kai);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  transition: color 0.35s ease;
}

.rail a::after {
  content: "";
  width: 15px;
  height: 1px;
  margin-left: 0.6rem;
  background: currentColor;
  opacity: 0.55;
  transition: width 0.4s var(--ease-out), opacity 0.35s ease;
}

.rail a span {
  position: absolute;
  right: 2rem;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.35s ease, transform 0.35s var(--ease-out);
  pointer-events: none;
}

.rail a:hover span,
.rail a.is-active span {
  opacity: 1;
  transform: none;
}

.rail a:hover,
.rail a.is-active {
  color: var(--red);
}

.rail a.is-active::after {
  width: 26px;
  opacity: 1;
}

.rail.is-light::before {
  background: rgba(243, 233, 214, 0.22);
}

.rail.is-light a {
  color: rgba(243, 233, 214, 0.55);
}

.rail.is-light a:hover,
.rail.is-light a.is-active {
  color: #cba06a;
}

/* =========================================================
   首屏
   ========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 8rem 0 7rem;
  overflow: hidden;
  background: var(--paper);
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.04);
  animation: heroDrift 28s ease-in-out infinite alternate;
}

.hero__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(243, 233, 214, 0.72) 0%,
      rgba(243, 233, 214, 0) 17%,
      rgba(243, 233, 214, 0) 64%,
      rgba(243, 233, 214, 0.9) 93%,
      var(--paper) 100%),
    linear-gradient(90deg,
      rgba(243, 233, 214, 0.98) 0%,
      rgba(243, 233, 214, 0.9) 24%,
      rgba(243, 233, 214, 0.38) 52%,
      rgba(243, 233, 214, 0.04) 76%,
      rgba(243, 233, 214, 0) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero__main {
  max-width: 780px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.hero__eyebrow i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  flex: 0 0 auto;
}

.hero__title-row {
  display: flex;
  align-items: flex-end;
  gap: clamp(1.2rem, 3vw, 2.8rem);
  margin-top: 1.1rem;
}

.hero__title {
  display: flex;
  flex-direction: column;
  font-size: clamp(4.6rem, 10.5vw, 9.4rem);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.hero__title .char {
  display: block;
  overflow: hidden;
}

.hero__title .char > span {
  display: block;
  transition: transform 1.05s var(--ease-out);
}

.hero__vertical {
  margin-bottom: 0.8rem;
  padding-bottom: 0.2rem;
  writing-mode: vertical-rl;
  font-family: var(--font-kai);
  font-size: 0.9rem;
  line-height: 1.9;
  letter-spacing: 0.34em;
  color: var(--ink-3);
}

.hero__tagline-row {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2.5rem;
}

.hero__tagline {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-kai);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  letter-spacing: 0.2em;
  color: var(--ink-2);
}

.hero__tagline::before {
  content: "";
  width: 2.8rem;
  height: 1px;
  background: var(--red);
  flex: 0 0 auto;
}

.hero__stamp {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 2px solid var(--red);
  color: var(--red);
  font-family: var(--font-kai);
  font-size: 0.88rem;
  line-height: 1.1;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
  transform: rotate(-4deg);
  opacity: 0.92;
}

.hero__lyric {
  position: absolute;
  right: 5.5vw;
  bottom: 18vh;
  z-index: 2;
  writing-mode: vertical-rl;
  padding: 1.8rem 1.2rem 1.5rem;
  background: rgba(248, 241, 226, 0.78);
  border: 1px solid rgba(176, 138, 79, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 22px 50px rgba(60, 40, 20, 0.14);
}

.hero__lyric p {
  font-family: var(--font-kai);
  font-size: 1rem;
  line-height: 2.4;
  letter-spacing: 0.2em;
  color: var(--ink-2);
}

.hero__lyric cite {
  margin-top: 1rem;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--red);
}

.hero__lyric::after {
  content: "梅";
  position: absolute;
  left: 0.9rem;
  bottom: 0.8rem;
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--paper-light);
  font-family: var(--font-kai);
  font-size: 0.76rem;
  writing-mode: horizontal-tb;
}

.hero__foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.1rem;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 0.63rem;
  letter-spacing: 0.28em;
  color: var(--ink-2);
}

.scroll-cue::before {
  content: "";
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, var(--red), rgba(165, 42, 36, 0.05));
  animation: cuePulse 2.6s ease-in-out infinite;
}

.hero__caption {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--ink-3);
}

.hero__caption span {
  display: inline-block;
  margin-left: 0.55rem;
  padding: 0.12rem 0.36rem;
  border: 1px solid rgba(165, 42, 36, 0.45);
  font-family: var(--font-sans);
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  color: var(--red);
  vertical-align: 0.08em;
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-0.8%, -0.8%, 0); }
}

@keyframes cuePulse {
  0%, 100% { opacity: 0.45; transform: scaleY(0.85); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* 首屏入场 */

.js .hero__eyebrow,
.js .hero__tagline-row,
.js .hero__lyric,
.js .hero__foot {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s ease, transform 1s var(--ease-out);
}

body.is-ready .hero__eyebrow {
  opacity: 1;
  transform: none;
  transition-delay: 0.35s;
}

body.is-ready .hero__tagline-row {
  opacity: 1;
  transform: none;
  transition-delay: 0.62s;
}

body.is-ready .hero__lyric {
  opacity: 1;
  transform: none;
  transition-delay: 0.84s;
}

body.is-ready .hero__foot {
  opacity: 1;
  transform: none;
  transition-delay: 1s;
}

.js .hero__title .char > span {
  transform: translateY(115%);
}

body.is-ready .hero__title .char:nth-child(1) > span {
  transform: none;
  transition-delay: 0.15s;
}

body.is-ready .hero__title .char:nth-child(2) > span {
  transform: none;
  transition-delay: 0.25s;
}

body.is-ready .hero__title .char:nth-child(3) > span {
  transform: none;
  transition-delay: 0.35s;
}

/* =========================================================
   通用章节 / 文字
   ========================================================= */

.section {
  position: relative;
  padding: clamp(6rem, 11vw, 10rem) 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.section-label span {
  color: var(--red);
  font-weight: 600;
}

.section-label i {
  width: 2.8rem;
  height: 1px;
  background: var(--gold);
}

.display {
  max-width: 18em;
  margin-top: 1.35rem;
  font-size: clamp(2.3rem, 4.6vw, 4.4rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0.02em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  position: relative;
  margin-top: 2.3rem;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  color: var(--red);
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}

.text-link i {
  font-style: normal;
  transition: transform 0.35s var(--ease-out);
}

.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.text-link:hover i {
  transform: translateX(6px);
}

/* 滚动显现 */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.95s ease, transform 0.95s var(--ease-out);
  transition-delay: var(--d, 0s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.js [data-split] .char > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 0.05s);
}

.js [data-split].is-visible .char > span {
  transform: none;
}

.char {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.split-break {
  display: none;
}

/* =========================================================
   序
   ========================================================= */

.preface {
  padding-bottom: 0;
  overflow: hidden;
}

.preface::before {
  content: "戏";
  position: absolute;
  top: 5%;
  right: -3vw;
  z-index: 0;
  font-family: var(--font-kai);
  font-size: clamp(16rem, 30vw, 30rem);
  line-height: 1;
  color: rgba(25, 22, 18, 0.025);
  -webkit-text-stroke: 1px rgba(25, 22, 18, 0.055);
  pointer-events: none;
  user-select: none;
}

.preface .container {
  position: relative;
  z-index: 1;
}

.section-head {
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.preface__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.72fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.preface__copy p {
  max-width: 38em;
  margin-bottom: 1.35rem;
  color: var(--ink-2);
  font-size: 1.01rem;
  line-height: 2.08;
  text-align: justify;
}

.preface__lead {
  margin-bottom: 1.8rem !important;
  color: var(--ink) !important;
  font-family: var(--font-kai);
  font-size: clamp(1.32rem, 2vw, 1.75rem) !important;
  line-height: 1.8 !important;
  text-align: left !important;
}

.preface__aside {
  padding-left: clamp(1.4rem, 3vw, 2.4rem);
  border-left: 1px solid var(--line);
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.8rem;
  margin-bottom: clamp(2.2rem, 4vw, 3.4rem);
}

.facts div {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  margin-bottom: 0.35rem;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  color: var(--ink-3);
}

.facts dd {
  font-size: 0.94rem;
  letter-spacing: 0.06em;
}

.pullquote p {
  font-family: var(--font-kai);
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  line-height: 1.72;
  color: var(--red);
}

.pullquote cite {
  display: block;
  margin-top: 0.9rem;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--ink-3);
}

.marquee {
  margin-top: clamp(4rem, 8vw, 7rem);
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__track span {
  font-family: var(--font-kai);
  font-size: 0.92rem;
  letter-spacing: 0.24em;
  color: var(--ink-3);
  white-space: nowrap;
}

.marquee__track b {
  font-size: 0.42rem;
  font-weight: 400;
  color: var(--red);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   三折剧目
   ========================================================= */

.act {
  position: relative;
  padding: clamp(5rem, 9vw, 8rem) 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.act::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(72% 62% at 76% 28%, var(--accent-soft), transparent 72%);
  pointer-events: none;
}

.act .container {
  position: relative;
  z-index: 1;
}

.act__ghost {
  position: absolute;
  top: 1rem;
  right: 3vw;
  z-index: 0;
  font-family: var(--font-kai);
  font-size: clamp(10rem, 22vw, 20rem);
  line-height: 1;
  color: rgba(25, 22, 18, 0.025);
  -webkit-text-stroke: 1px rgba(25, 22, 18, 0.085);
  pointer-events: none;
  user-select: none;
}

.act--reverse .act__ghost {
  right: auto;
  left: 3vw;
}

.act__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.6rem, 5vw, 4rem);
  position: relative;
  z-index: 2;
}

.act__index {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  color: var(--ink-3);
}

.act__index span:first-child {
  color: var(--accent);
  font-weight: 600;
}

.act__index i {
  width: 2.4rem;
  height: 1px;
  background: var(--accent);
  opacity: 0.55;
}

.act__title {
  font-size: clamp(3.1rem, 7vw, 6.4rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: 0.04em;
}

.act__en {
  margin-top: 0.85rem;
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  color: var(--ink-3);
}

.act__year {
  padding-right: 0.9rem;
  border-right: 1px solid var(--accent);
  writing-mode: vertical-rl;
  font-family: var(--font-sans);
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  color: var(--ink-3);
}

.act__body {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.72fr);
  gap: clamp(2.8rem, 6vw, 6rem);
  align-items: start;
}

.act--reverse .act__body {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.18fr);
}

.act--reverse .act__figure { order: 2; }
.act--reverse .act__text { order: 1; }

.act__figure {
  position: relative;
  margin: 0;
}

.frame {
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
  box-shadow: 0 34px 70px -38px rgba(52, 36, 20, 0.55);
}

.frame::before {
  content: "";
  position: absolute;
  inset: 13px;
  z-index: 2;
  border: 1px solid rgba(248, 241, 226, 0.55);
  pointer-events: none;
}

.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 1px solid rgba(176, 138, 79, 0.55);
  pointer-events: none;
}

.frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: scale(1.12);
  transition: clip-path 1.3s var(--ease-out), filter 0.6s ease;
  will-change: transform;
}

.js .act__figure .frame img {
  clip-path: inset(0 100% 0 0);
}

.js .act__figure.is-visible .frame img {
  clip-path: inset(0 0 0 0);
}

.act__figure:hover .frame img {
  filter: saturate(1.04) contrast(1.02);
}

.corner {
  position: absolute;
  width: 1.55rem;
  height: 1.55rem;
  z-index: 4;
  border: 1px solid var(--gold);
  pointer-events: none;
  opacity: 0.8;
}

.corner--tl { top: -8px; left: -8px; border-right: 0; border-bottom: 0; }
.corner--tr { top: -8px; right: -8px; border-left: 0; border-bottom: 0; }
.corner--bl { bottom: -8px; left: -8px; border-right: 0; border-top: 0; }
.corner--br { bottom: -8px; right: -8px; border-left: 0; border-top: 0; }

.act__figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.15rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--ink-3);
}

.act__figcaption > span:last-child {
  flex: 0 0 auto;
  padding: 0.14rem 0.4rem;
  border: 1px solid rgba(165, 42, 36, 0.4);
  font-family: var(--font-sans);
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  color: var(--red);
}

.zoom-btn {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  z-index: 6;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(248, 241, 226, 0.72);
  border-radius: 50%;
  background: rgba(25, 22, 18, 0.42);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--paper-light);
  font-size: 1.05rem;
  line-height: 1;
  opacity: 0;
  transform: scale(0.86);
  transition: opacity 0.35s ease, transform 0.35s var(--ease-out),
    background 0.35s ease, border-color 0.35s ease;
}

.zoom-btn:hover {
  background: var(--red);
  border-color: var(--red);
}

.act__figure:hover .zoom-btn,
.act__figure:focus-within .zoom-btn {
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .zoom-btn {
    opacity: 1;
    transform: none;
    background: rgba(25, 22, 18, 0.5);
  }
}

/* 竖排唱词卡片 */

.lyric-card {
  position: absolute;
  right: -2.2rem;
  bottom: 3.2rem;
  z-index: 5;
  padding: 1.35rem 1.25rem 1.15rem;
  background: rgba(248, 241, 226, 0.97);
  border: 1px solid rgba(176, 138, 79, 0.55);
  border-left: 3px solid var(--accent);
  box-shadow: 0 26px 55px -22px rgba(52, 36, 20, 0.48);
  transform: rotate(0.55deg);
}

.act--reverse .lyric-card {
  right: auto;
  left: -2.2rem;
  transform: rotate(-0.55deg);
}

.lyric-card__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-right: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.54rem;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  white-space: nowrap;
}

.lyric-card__label span:last-child {
  color: var(--accent);
}

.lyric-card__verse {
  writing-mode: vertical-rl;
  height: 16.2rem;
  font-family: var(--font-kai);
  font-size: 0.96rem;
  line-height: 1.72;
  letter-spacing: 0.14em;
  color: var(--ink-2);
}

.lyric-card__verse span {
  display: block;
}

.lyric-card__verse span + span {
  margin-right: 0.88rem;
}

@media (min-width: 721px) {
  .lyric-card--short .lyric-card__verse {
    height: 12.2rem;
  }
}

.lyric-card__stamp {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 2.15rem;
  height: 3.7rem;
  display: grid;
  place-items: center;
  padding: 0.2rem;
  background: var(--red);
  color: var(--paper-light);
  font-family: var(--font-kai);
  font-size: 0.72rem;
  line-height: 1.1;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
  transform: rotate(3deg);
  box-shadow: 0 6px 14px rgba(80, 20, 16, 0.24);
  opacity: 0.95;
}

.act__text {
  display: flex;
  flex-direction: column;
  padding-top: 0.4rem;
}

.act__summary {
  margin-bottom: 2.3rem;
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 2.1;
  text-align: justify;
}

.act__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 2rem;
  border-top: 1px solid var(--line);
}

.act__meta div {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.act__meta div:nth-child(odd) {
  padding-right: 1rem;
}

.act__meta dt {
  margin-bottom: 0.32rem;
  font-family: var(--font-sans);
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  color: var(--ink-3);
}

.act__meta dt::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 0.12em;
}

.act__meta dd {
  font-size: 0.94rem;
  letter-spacing: 0.05em;
}

.act__note {
  margin-bottom: 2.4rem;
  padding-left: 1.15rem;
  border-left: 2px solid var(--accent);
  font-family: var(--font-kai);
  font-size: 0.92rem;
  line-height: 2;
  color: var(--ink-3);
}

.act__next {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-top: auto;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  transition: color 0.35s ease;
}

.act__next-label {
  font-family: var(--font-sans);
  font-size: 0.56rem;
  letter-spacing: 0.24em;
  color: var(--ink-3);
}

.act__next-title {
  font-family: var(--font-kai);
  font-size: 1.12rem;
  letter-spacing: 0.12em;
}

.act__next-arrow {
  margin-left: auto;
  color: var(--accent);
  transition: transform 0.4s var(--ease-out);
}

.act__next:hover {
  color: var(--accent);
}

.act__next:hover .act__next-arrow {
  transform: translateX(8px);
}

/* =========================================================
   四功五法
   ========================================================= */

.craft {
  position: relative;
  padding: clamp(6rem, 11vw, 10rem) 0;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.craft::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(52% 68% at 50% 0%, rgba(165, 42, 36, 0.24), transparent 68%);
  pointer-events: none;
}

.craft::after {
  content: "戏";
  position: absolute;
  right: 1vw;
  bottom: -5rem;
  font-family: var(--font-kai);
  font-size: clamp(14rem, 30vw, 30rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 233, 214, 0.045);
  pointer-events: none;
}

.craft .container {
  position: relative;
  z-index: 2;
}

.craft__head {
  max-width: 760px;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.craft .section-label {
  color: rgba(243, 233, 214, 0.55);
}

.craft .section-label span {
  color: #cba06a;
}

.craft .section-label i {
  background: rgba(203, 160, 106, 0.55);
}

.craft__head h2 {
  margin-top: 1.2rem;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 600;
  line-height: 1.22;
}

.craft__head > p:last-child {
  max-width: 34em;
  margin-top: 1.4rem;
  color: rgba(243, 233, 214, 0.62);
  font-size: 0.96rem;
  line-height: 2;
}

.craft__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid rgba(243, 233, 214, 0.16);
  border-left: 1px solid rgba(243, 233, 214, 0.16);
}

.craft-card {
  position: relative;
  padding: 1.9rem 1.55rem 2.2rem;
  border-right: 1px solid rgba(243, 233, 214, 0.16);
  border-bottom: 1px solid rgba(243, 233, 214, 0.16);
  overflow: hidden;
  transition: background 0.5s ease;
}

.craft-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease-out);
}

.craft-card:hover {
  background: rgba(243, 233, 214, 0.035);
}

.craft-card:hover::after {
  transform: scaleX(1);
}

.craft-card__top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.54rem;
  letter-spacing: 0.2em;
  color: rgba(243, 233, 214, 0.38);
}

.craft-card h3 {
  margin: 2rem 0 1.5rem;
  font-size: clamp(3.4rem, 5.6vw, 5.1rem);
  font-weight: 500;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 233, 214, 0.52);
  transition: color 0.5s ease, -webkit-text-stroke-color 0.5s ease;
}

.craft-card:hover h3 {
  color: var(--red);
  -webkit-text-stroke-color: var(--red);
}

.craft-card p {
  font-size: 0.86rem;
  line-height: 1.95;
  color: rgba(243, 233, 214, 0.6);
}

.craft__five {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2.3rem;
  border-top: 1px solid rgba(243, 233, 214, 0.16);
}

.craft__five-chars {
  display: flex;
  gap: clamp(1rem, 3vw, 2.6rem);
}

.craft__five-chars span {
  position: relative;
  font-family: var(--font-kai);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--paper);
}

.craft__five-chars span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.7rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  transform: translateX(-50%);
}

.craft__five p {
  font-family: var(--font-kai);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: rgba(243, 233, 214, 0.48);
}

/* =========================================================
   年表
   ========================================================= */

.chronicle {
  overflow: hidden;
}

.chronicle__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: clamp(3.4rem, 6vw, 5.2rem);
}

.chronicle__intro {
  max-width: 26em;
  padding-bottom: 0.5rem;
  color: var(--ink-3);
  font-size: 0.9rem;
  line-height: 2;
  text-align: right;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.4rem;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}

.chrono {
  position: relative;
  padding-top: 2rem;
}

.chrono::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  border: 1px solid var(--red);
  border-radius: 50%;
  background: var(--paper);
  transition: background 0.35s ease;
}

.chrono::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--red);
}

.chrono__year {
  margin-bottom: 0.55rem;
  font-family: var(--font-en);
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  color: var(--red);
}

.chrono h3 {
  margin-bottom: 0.6rem;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: color 0.35s ease;
}

.chrono p:last-child {
  font-size: 0.79rem;
  line-height: 1.9;
  color: var(--ink-3);
}

.chrono:hover::before {
  background: var(--red);
}

.chrono:hover h3 {
  color: var(--red);
}

/* =========================================================
   尾声
   ========================================================= */

.finale {
  position: relative;
  padding: clamp(6rem, 12vw, 10rem) 0 7rem;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.finale::before,
.finale::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(28px, 7vw, 110px);
  pointer-events: none;
}

.finale::before {
  left: 0;
  background: linear-gradient(90deg, rgba(94, 17, 14, 0.7), rgba(94, 17, 14, 0));
}

.finale::after {
  right: 0;
  background: linear-gradient(270deg, rgba(94, 17, 14, 0.7), rgba(94, 17, 14, 0));
}

.finale__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.finale .section-label {
  justify-content: center;
  color: rgba(243, 233, 214, 0.48);
}

.finale .section-label span {
  color: #cba06a;
}

.finale .section-label i {
  background: rgba(203, 160, 106, 0.5);
}

.finale__title {
  margin: 1.7rem 0 2rem;
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.finale__copy {
  max-width: 35em;
  color: rgba(243, 233, 214, 0.62);
  font-size: 0.98rem;
  line-height: 2.1;
}

.return-btn {
  position: relative;
  width: 9.6rem;
  height: 9.6rem;
  margin-top: clamp(2.8rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid rgba(243, 233, 214, 0.34);
  border-radius: 50%;
  transition: background 0.45s ease, border-color 0.45s ease, transform 0.45s var(--ease-out);
}

.return-btn::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(203, 160, 106, 0.24);
  border-radius: 50%;
  transition: border-color 0.45s ease;
}

.return-btn span {
  font-family: var(--font-kai);
  font-size: 1.4rem;
  letter-spacing: 0.2em;
}

.return-btn small {
  font-family: var(--font-sans);
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  color: rgba(243, 233, 214, 0.48);
}

.return-btn:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-4px);
}

.return-btn:hover::before {
  border-color: rgba(243, 233, 214, 0.26);
}

/* =========================================================
   看大图
   ========================================================= */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.2rem, 4vw, 4rem);
  background: rgba(15, 13, 10, 0.91);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox[hidden] {
  display: none;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.05rem;
  max-width: min(1180px, 92vw);
  max-height: 88vh;
  transform: scale(0.96);
  transition: transform 0.5s var(--ease-out);
}

.lightbox.is-open .lightbox__inner {
  transform: none;
}

.lightbox img {
  width: auto;
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border: 1px solid rgba(176, 138, 79, 0.4);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
}

.lightbox figcaption {
  font-family: var(--font-kai);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  color: rgba(243, 233, 214, 0.7);
}

.lightbox__close {
  position: absolute;
  top: clamp(1rem, 3vw, 2.2rem);
  right: clamp(1rem, 3vw, 2.2rem);
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 233, 214, 0.35);
  border-radius: 50%;
  color: var(--paper);
  font-size: 1.55rem;
  line-height: 1;
  transition: background 0.35s ease, border-color 0.35s ease;
}

.lightbox__close:hover {
  background: var(--red);
  border-color: var(--red);
}

body.lightbox-open {
  overflow: hidden;
}

/* =========================================================
   页脚
   ========================================================= */

.footer {
  position: relative;
  padding: 3.4rem 0 2.2rem;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid rgba(243, 233, 214, 0.12);
}

.footer__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 1.4fr 0.7fr;
  gap: 3rem;
  align-items: start;
}

.footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.footer__brand p {
  font-family: var(--font-kai);
  font-size: 1.02rem;
  line-height: 1.6;
}

.footer__brand small {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.48rem;
  letter-spacing: 0.18em;
  color: rgba(243, 233, 214, 0.35);
}

.footer__info p,
.footer__meta p {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  line-height: 2;
  letter-spacing: 0.08em;
  color: rgba(243, 233, 214, 0.38);
}

.footer__meta {
  text-align: right;
}

.footer__watermark {
  position: absolute;
  left: 50%;
  bottom: -3.2rem;
  transform: translateX(-50%);
  font-family: var(--font-kai);
  font-size: clamp(8rem, 19vw, 17rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 233, 214, 0.05);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* =========================================================
   响应式
   ========================================================= */

@media (max-width: 1500px) {
  .rail {
    display: none;
  }
}

@media (max-width: 1100px) {
  .hero__lyric {
    right: 3vw;
  }

  .lyric-card {
    right: -1rem;
  }

  .act--reverse .lyric-card {
    left: -1rem;
  }
}

@media (max-width: 980px) {
  .site-head__inner {
    height: 80px;
  }

  .site-head.is-scrolled .site-head__inner {
    height: 68px;
  }

  .site-head.is-scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(243, 233, 214, 0.97);
  }

  .menu-btn {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.9rem;
    background: var(--paper);
    visibility: hidden;
    transform: translateY(-100%);
    transition: transform 0.75s var(--ease-curtain), visibility 0s 0.75s;
  }

  .nav::before {
    content: "戏 单";
    position: absolute;
    top: 7.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-kai);
    font-size: 0.7rem;
    letter-spacing: 0.5em;
    color: var(--ink-3);
  }

  .nav.is-open {
    visibility: visible;
    transform: translateY(0);
    transition: transform 0.75s var(--ease-curtain), visibility 0s;
  }

  .nav a {
    opacity: 0;
    transform: translateY(18px);
    font-family: var(--font-kai);
    font-size: clamp(1.5rem, 6vw, 2rem);
    letter-spacing: 0.22em;
    color: var(--ink);
    transition: opacity 0.5s ease, transform 0.5s var(--ease-out), color 0.3s ease;
  }

  .nav a::after {
    bottom: 3px;
  }

  .nav.is-open a {
    opacity: 1;
    transform: none;
  }

  .nav.is-open a:nth-child(1) { transition-delay: 0.16s; }
  .nav.is-open a:nth-child(2) { transition-delay: 0.22s; }
  .nav.is-open a:nth-child(3) { transition-delay: 0.28s; }
  .nav.is-open a:nth-child(4) { transition-delay: 0.34s; }
  .nav.is-open a:nth-child(5) { transition-delay: 0.4s; }
  .nav.is-open a:nth-child(6) { transition-delay: 0.46s; }

  body.menu-open {
    overflow: hidden;
  }

  .hero__lyric {
    position: static;
    writing-mode: horizontal-tb;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem 1.4rem;
    width: var(--wrap);
    margin: 2rem auto 0;
    padding: 0.7rem 1rem;
    background: rgba(248, 241, 226, 0.68);
    border: 0;
    border-left: 2px solid var(--red);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    box-shadow: 0 12px 28px -18px rgba(52, 36, 20, 0.28);
  }

  .hero {
    flex-direction: column;
    justify-content: center;
  }

  .hero__lyric p {
    font-size: 0.85rem;
    line-height: 1.8;
    letter-spacing: 0.1em;
  }

  .hero__lyric cite {
    margin: 0;
    font-size: 0.6rem;
  }

  .hero__lyric::after {
    display: none;
  }

  .preface__grid {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }

  .preface__aside {
    padding-left: 0;
    padding-top: 2rem;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .preface::before {
    display: none;
  }

  .act__body,
  .act--reverse .act__body {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .act--reverse .act__figure { order: 0; }
  .act--reverse .act__text { order: 0; }

  .act__figure {
    max-width: 780px;
  }

  .act__text {
    max-width: 680px;
  }

  .act__year {
    display: none;
  }

  .lyric-card {
    right: 1rem;
    bottom: 1.5rem;
  }

  .act--reverse .lyric-card {
    left: 1rem;
    right: auto;
  }

  .craft__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chronicle__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
  }

  .chronicle__intro {
    max-width: 36em;
    text-align: left;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 1.7rem;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 5px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .chrono {
    padding: 0 0 2.2rem 1.2rem;
  }

  .chrono::before {
    top: 0.4rem;
    left: -1.7rem;
  }

  .chrono::after {
    top: 0.8rem;
    left: calc(-1.7rem + 4px);
  }

  .chrono p:last-child {
    max-width: 36em;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer__meta {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 7rem 0 6.5rem;
  }

  .hero__wash {
    background:
      linear-gradient(180deg,
        rgba(243, 233, 214, 0.94) 0%,
        rgba(243, 233, 214, 0.8) 42%,
        rgba(243, 233, 214, 0.55) 68%,
        var(--paper) 100%);
  }

  .hero__media img {
    object-position: 46% center;
  }

  .hero__eyebrow {
    flex-wrap: wrap;
    gap: 0.5rem 0.8rem;
    font-size: 0.58rem;
    letter-spacing: 0.18em;
  }

  .hero__title-row {
    gap: 1.2rem;
  }

  .hero__vertical {
    font-size: 0.8rem;
    letter-spacing: 0.24em;
  }

  .hero__tagline-row {
    margin-top: 1.8rem;
  }

  .hero__stamp {
    width: 46px;
    height: 46px;
    font-size: 0.78rem;
  }

  .hero__caption {
    display: none;
  }

  .hero__foot {
    padding-bottom: 1.3rem;
  }

  .lyric-card,
  .act--reverse .lyric-card {
    position: relative;
    right: auto;
    left: auto;
    bottom: auto;
    width: calc(100% - 2rem);
    margin: 1.1rem auto 0;
    padding: 1.2rem 1.2rem 1.1rem;
    transform: none;
  }

  .lyric-card__label {
    padding-right: 2.9rem;
  }

  .lyric-card__verse {
    writing-mode: horizontal-tb;
    height: auto;
    font-size: 0.92rem;
    line-height: 2.05;
    letter-spacing: 0.08em;
  }

  .lyric-card__verse span + span {
    margin-right: 0;
  }

  .lyric-card__stamp {
    top: -0.85rem;
    right: 0.9rem;
    transform: rotate(2deg);
  }

  .act__figcaption {
    flex-wrap: wrap;
    font-size: 0.64rem;
  }

  .act__ghost {
    top: 1.4rem;
    font-size: 11rem;
  }

  .act__title {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .marquee__track {
    gap: 1.7rem;
  }

  .marquee__track span {
    font-size: 0.82rem;
  }

  .preface .display {
    max-width: none;
  }

  .split-break {
    display: block;
    width: 100%;
    height: 0;
  }

  .chrono p:last-child {
    font-size: 0.82rem;
  }

  .footer__info p,
  .footer__meta p {
    font-size: 0.7rem;
  }

  .craft__head h2 {
    font-size: clamp(2.1rem, 9vw, 2.9rem);
  }

  .craft__five {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.2rem;
  }

  .finale {
    padding-bottom: 5rem;
  }

  .return-btn {
    width: 8.2rem;
    height: 8.2rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .footer__meta {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .brand__text small {
    display: none;
  }

  .brand__seal {
    width: 38px;
    height: 38px;
    font-size: 0.92rem;
  }

  .hero__title {
    font-size: clamp(3.9rem, 19vw, 5.4rem);
  }

  .hero__vertical {
    display: none;
  }

  .hero__tagline {
    font-size: 0.92rem;
    letter-spacing: 0.14em;
  }

  .hero__tagline::before {
    width: 1.8rem;
  }

  .hero__lyric {
    margin-top: 1.5rem;
    gap: 0.2rem 1rem;
  }

  .hero__lyric p {
    font-size: 0.82rem;
  }

  .hero__lyric cite {
    display: none;
  }

  .facts {
    gap: 0 1.2rem;
  }

  .acts .container,
  .act .container {
    width: 92vw;
  }

  .act__meta {
    grid-template-columns: 1fr;
  }

  .act__meta div:nth-child(odd) {
    padding-right: 0;
  }

  .act__meta div:nth-child(even) {
    border-top: 0;
  }

  .craft__grid {
    grid-template-columns: 1fr;
  }

  .craft-card {
    padding: 1.6rem 1.3rem 1.8rem;
  }

  .craft-card h3 {
    margin: 1.4rem 0 1rem;
  }

  .craft__five-chars {
    gap: 1.4rem;
  }

  .return-btn {
    width: 7.4rem;
    height: 7.4rem;
  }

  .return-btn span {
    font-size: 1.2rem;
  }
}

/* =========================================================
   动效偏好
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .hero__media img {
    animation: none;
    transform: scale(1.02);
  }

  .marquee__track {
    animation: none;
  }

  .petals,
  .cursor,
  .grain {
    display: none !important;
  }

  html.has-cursor,
  html.has-cursor a,
  html.has-cursor button {
    cursor: auto;
  }

  .js [data-reveal],
  .js [data-split] .char > span,
  .js .hero__eyebrow,
  .js .hero__tagline-row,
  .js .hero__lyric,
  .js .hero__foot,
  .js .hero__title .char > span {
    opacity: 1 !important;
    transform: none !important;
  }

  .js .act__figure .frame img {
    clip-path: none !important;
  }
}
