/* ============================================================
   羽毛杯 · Feathercup
   一间开在万界之间的咖啡馆 —— 星夜、灯火、纸页与羽毛
   ============================================================ */

@font-face {
  font-family: "FC Serif";
  src: url("../fonts/gl-serif-sc.woff2") format("woff2-variations"),
       url("../fonts/gl-serif-sc.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "FC Display";
  src: url("../fonts/gl-display.woff2") format("woff2-variations"),
       url("../fonts/gl-display.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --serif: "FC Serif", "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
  --display: "FC Display", "FC Serif", Georgia, "Times New Roman", serif;
  --sans: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;

  --night-0: #06050f;
  --night-1: #0a0818;
  --night-2: #100d22;
  --ivory: #f5eddd;
  --ivory-2: #c0b6a9;
  --ivory-3: #857c93;

  --gold: #e2bd80;
  --gold-2: #f8e4b8;
  --moon: #a9c6e6;
  --rose: #e2a9b8;
  --teal: #8fd0c8;

  --line: rgba(226, 189, 128, .27);
  --line-2: rgba(226, 189, 128, .135);
  --panel: rgba(255, 244, 222, .055);
  --panel-hi: rgba(255, 244, 222, .095);

  --shell: 1140px;
  --gutter: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(.22, .68, .3, 1);
  --read-size: 17.5px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100%;
  background-color: var(--night-1);
  background-image:
    radial-gradient(1100px 620px at 50% 112%, rgba(214, 146, 76, .26), transparent 62%),
    radial-gradient(900px 700px at 86% -8%, rgba(118, 100, 232, .30), transparent 60%),
    radial-gradient(760px 620px at 6% 16%, rgba(88, 186, 186, .18), transparent 62%),
    linear-gradient(180deg, #06050f 0%, #0b0919 34%, #0a0816 100%);
  background-attachment: fixed;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: .014em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* 星尘颗粒 + 暗角 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .30;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='170' height='170' filter='url(%23n)' opacity='.30'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(125% 95% at 50% 40%, transparent 56%, rgba(4, 3, 12, .48) 100%);
}

main, .site-header, .site-footer, .read-bar { position: relative; z-index: 3; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(226, 189, 128, .28); color: #fff; }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 4px; border-radius: 4px; }

/* ------------------------------------------------------------ layout */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(66px, 9.5vw, 128px); position: relative; }
.section--tight { padding-block: clamp(44px, 6vw, 76px); }

/* -------------------------------------------------------------- type */
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: .05em; line-height: 1.4; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: 10.5px;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}
.kicker::before, .kicker::after {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
  opacity: .55;
}
.kicker::after { background: linear-gradient(90deg, currentColor, transparent); }

.sec-head { max-width: 44em; margin: 0 auto clamp(40px, 5vw, 66px); text-align: center; }
.sec-head h2 {
  font-size: clamp(27px, 3.6vw, 42px);
  letter-spacing: .1em;
  line-height: 1.42;
}
.sec-head h2 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold-2), #f2cfa0 40%, var(--rose) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sec-head .lede {
  margin: 20px auto 0;
  max-width: 33em;
  color: var(--ivory-2);
  font-size: 14.5px;
  line-height: 2.1;
}

.orn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--gold);
  opacity: .55;
  font-size: 11px;
  letter-spacing: .4em;
  margin-block: clamp(20px, 3vw, 30px);
}
.orn::before, .orn::after {
  content: "";
  width: clamp(50px, 12vw, 130px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line));
}
.orn::after { background: linear-gradient(90deg, var(--line), transparent); }

/* ------------------------------------------------------------ header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 70px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .45s var(--ease), border-color .45s var(--ease), backdrop-filter .45s;
}
.site-header.is-stuck, body.nav-open .site-header {
  background: rgba(8, 6, 18, .78);
  border-bottom-color: var(--line-2);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.site-header .shell { display: flex; align-items: center; justify-content: space-between; gap: 22px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand svg { width: 20px; height: 20px; flex: none; color: var(--gold); opacity: .9; }
.brand__cn { font-size: 17px; letter-spacing: .26em; padding-left: .26em; }
.brand__en {
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ivory-3);
}
@media (max-width: 620px) { .brand__en { display: none; } }

.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 32px); }
.nav__link {
  position: relative;
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--ivory-2);
  padding-block: 8px;
  transition: color .35s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform .45s var(--ease);
}
.nav__link:hover { color: var(--ivory); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--gold); }

.nav-toggle { display: none; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line-2); border-radius: 3px; }
.nav-toggle span { display: block; width: 16px; height: 1px; background: var(--ivory); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1px; background: var(--ivory);
  transition: transform .35s var(--ease);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

@media (max-width: 880px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px var(--gutter) 22px;
    background: rgba(8, 6, 18, .96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav__link { padding-block: 15px; border-bottom: 1px solid var(--line-2); font-size: 15px; }
  .nav__link::after { display: none; }
}

/* ----------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  padding: 14px 30px;
  border-radius: 2px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  letter-spacing: .2em;
  line-height: 1;
  color: var(--ivory);
  background: rgba(255, 244, 222, .03);
  transition: background .4s var(--ease), border-color .4s, color .4s, transform .4s, box-shadow .4s;
}
.btn__arrow { font-family: var(--display); transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--gold {
  border-color: rgba(226, 189, 128, .55);
  color: #1a1206;
  background: linear-gradient(100deg, #f2d7a2, #e2bd80 46%, #d9a968);
  box-shadow: 0 12px 34px -16px rgba(226, 189, 128, .75);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(226, 189, 128, .9); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--gold);
  transition: gap .4s var(--ease);
}
.link-more::after { content: "→"; font-family: var(--display); }
.link-more:hover { gap: 1em; }

/* -------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(104px, 14vh, 150px) var(--gutter) clamp(80px, 11vh, 110px);
  text-align: center;
  overflow: hidden;
}
#sky {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(56% 40% at 50% 56%, rgba(232, 190, 122, .16), transparent 72%),
    radial-gradient(30% 22% at 50% 80%, rgba(226, 169, 184, .10), transparent 76%);
}

.hero__inner { position: relative; z-index: 2; width: 100%; max-width: 900px; }

/* 悬吊招牌 */
.sign {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(26px, 4.2vh, 44px);
  transform-origin: 50% 0;
  animation: swing 11s ease-in-out infinite;
}
.sign__chains { position: relative; width: 190px; height: 46px; }
.sign__chains::before, .sign__chains::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(226, 189, 128, .8));
}
.sign__chains::before { left: 14px; }
.sign__chains::after { right: 14px; }
.sign__board {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 48px 20px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: linear-gradient(170deg, rgba(28, 23, 51, .82), rgba(12, 9, 28, .9));
  box-shadow:
    0 0 0 1px rgba(255, 240, 210, .04) inset,
    0 24px 60px -30px rgba(0, 0, 0, .9),
    0 0 46px -10px rgba(226, 189, 128, .22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.sign__board::before, .sign__board::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px 2px rgba(226, 189, 128, .7);
  opacity: .8;
}
.sign__board::before { left: 9px; }
.sign__board::after { right: 9px; }
.sign__en {
  font-family: var(--display);
  font-size: 8.5px;
  letter-spacing: .46em;
  text-transform: uppercase;
  color: var(--ivory-3);
  padding-left: .46em;
}
.sign__cn {
  font-size: clamp(26px, 3.2vw, 34px);
  letter-spacing: .34em;
  padding-left: .34em;
  line-height: 1.1;
  background: linear-gradient(100deg, #f8e4b8, #e2bd80 52%, #c9a05e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes swing {
  0%, 100% { transform: rotate(-.7deg); }
  50% { transform: rotate(.7deg); }
}

.hero__title {
  margin: 0;
  font-size: clamp(26px, 4.1vw, 46px);
  font-weight: 300;
  letter-spacing: .14em;
  line-height: 1.55;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold-2), #f0c79a 42%, var(--rose) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lede {
  margin: 1.35em auto 0;
  max-width: 32em;
  color: var(--ivory-2);
  font-size: clamp(13.5px, 1.05vw, 15px);
  line-height: 2.15;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  justify-content: center;
  margin-top: clamp(26px, 4vh, 40px);
}
.hero__stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 12px clamp(16px, 3.2vw, 40px);
  margin: clamp(30px, 4.6vh, 52px) auto 0;
  padding: clamp(16px, 2.4vh, 22px) 0 0;
  max-width: 42em;
  border-top: 1px solid var(--line-2);
}
.hero__stats li {
  display: flex;
  align-items: baseline;
  gap: .5em;
  white-space: nowrap;
}
.hero__stats b {
  font-family: var(--display);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--gold-2);
}
.hero__stats span {
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--ivory-2);
}

.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 9.5px;
  letter-spacing: .34em;
  color: var(--ivory-3);
  z-index: 2;
}
.hero__cue::after {
  content: "";
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: cue 2.8s var(--ease) infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleY(.3); opacity: .3; }
  50% { transform: scaleY(1); opacity: .9; }
}

/* ------------------------------------------------------- world cards */
.world-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}
@media (max-width: 780px) { .world-grid { grid-template-columns: 1fr; } }

.world {
  --accent: var(--gold);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background:
    linear-gradient(165deg, rgba(255, 244, 222, .075), rgba(255, 244, 222, .018)),
    rgba(10, 8, 22, .35);
  box-shadow: inset 0 1px 0 rgba(255, 240, 210, .06);
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
}
.world::before {
  content: "";
  position: absolute;
  inset: -40% 40% 40% -40%;
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 68%);
  opacity: .62;
  transition: opacity .6s, transform .8s var(--ease);
  pointer-events: none;
}
.world::after {
  content: "";
  position: absolute;
  left: 0; top: 22px; bottom: 22px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  opacity: .45;
  transition: opacity .5s;
}
.world:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .9), 0 0 40px -18px color-mix(in srgb, var(--accent) 60%, transparent);
}
.world:hover::before { opacity: 1; transform: scale(1.08); }
.world:hover::after { opacity: .9; }

.world__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; position: relative; }
.world__no {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: .26em;
  color: color-mix(in srgb, var(--accent) 82%, var(--ivory));
}
.world__type {
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--ivory-3);
  border: 1px solid var(--line-2);
  padding: 4px 11px;
  border-radius: 2px;
  white-space: nowrap;
}
.world__title {
  position: relative;
  font-size: clamp(21px, 2.2vw, 27px);
  letter-spacing: .07em;
  line-height: 1.5;
}
.world__title small {
  display: block;
  margin-top: .55em;
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: .27em;
  text-transform: uppercase;
  color: var(--ivory-3);
}
.world__desc {
  position: relative;
  margin: 0;
  color: var(--ivory-2);
  font-size: 13.5px;
  line-height: 2.05;
}
.world__foot {
  position: relative;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.world__status { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .14em; color: var(--ivory-3); }
.world__status i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px 1px color-mix(in srgb, var(--accent) 70%, transparent);
  font-style: normal;
}
.world__go { font-family: var(--display); font-size: 11px; letter-spacing: .22em; color: var(--accent); transition: transform .4s var(--ease); }
.world:hover .world__go { transform: translateX(4px); }

/* --------------------------------------------------------- chapter */
.latest {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background:
    linear-gradient(165deg, rgba(255, 244, 222, .055), rgba(255, 244, 222, .012)),
    radial-gradient(600px 300px at 100% 0%, rgba(226, 169, 184, .12), transparent 70%);
  overflow: hidden;
}
@media (max-width: 820px) { .latest { grid-template-columns: 1fr; } }
.latest__no {
  font-family: var(--serif);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: clamp(48px, 7vw, 86px);
  line-height: .9;
  letter-spacing: .04em;
  background: linear-gradient(150deg, var(--gold-2), rgba(226, 189, 128, .35));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.latest__label { margin: 12px 0 0; font-size: 11px; letter-spacing: .26em; color: var(--ivory-3); }
.latest__title { margin: 14px 0 0; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: .07em; line-height: 1.5; }
.latest__meta { margin: 12px 0 0; font-size: 11.5px; letter-spacing: .16em; color: var(--ivory-3); }
.latest__excerpt {
  margin: 0 0 22px;
  color: var(--ivory-2);
  font-size: 14px;
  line-height: 2.2;
}
.latest__excerpt::before {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  margin-bottom: 18px;
  background: var(--line);
}

/* -------------------------------------------------------- downloads */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
}
.dl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background:
    linear-gradient(165deg, rgba(255, 244, 222, .07), rgba(255, 244, 222, .016)),
    rgba(10, 8, 22, .35);
  box-shadow: inset 0 1px 0 rgba(255, 240, 210, .05);
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
}
.dl-card:hover {
  transform: translateY(-4px);
  border-color: rgba(226, 189, 128, .32);
  box-shadow: 0 26px 60px -40px rgba(0, 0, 0, .9);
}
.dl-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dl-card__tag {
  font-family: var(--display);
  font-size: 9.5px;
  letter-spacing: .24em;
  color: var(--night-1);
  background: var(--gold);
  padding: 3px 8px;
  border-radius: 2px;
}
.dl-card__size { font-family: var(--display); font-size: 11px; letter-spacing: .16em; color: var(--ivory-3); }
.dl-card__title { font-size: 17px; letter-spacing: .06em; line-height: 1.55; }
.dl-card__desc { margin: 0; font-size: 12.5px; line-height: 2; color: var(--ivory-2); }
.dl-card__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 4px 0 0; padding-top: 14px; border-top: 1px solid var(--line-2); }
.dl-card__meta div { display: flex; gap: 8px; align-items: baseline; }
.dl-card__meta dt { font-size: 10px; letter-spacing: .18em; color: var(--ivory-3); }
.dl-card__meta dd { margin: 0; font-size: 11.5px; color: var(--ivory-2); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .02em; font-size: 11px !important; }
.dl-card__btn {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: 10px 20px;
  border: 1px solid rgba(226, 189, 128, .4);
  border-radius: 2px;
  font-size: 11.5px;
  letter-spacing: .2em;
  color: var(--gold-2);
  transition: background .4s, color .4s, border-color .4s;
}
.dl-card__btn:hover { background: var(--gold); color: var(--night-1); border-color: var(--gold); }

/* ------------------------------------------------------------ footer */
.site-footer {
  border-top: 1px solid var(--line-2);
  margin-top: clamp(40px, 6vw, 80px);
  padding-block: clamp(38px, 5vw, 56px) 28px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 60px);
  padding-bottom: clamp(24px, 3.4vw, 38px);
  border-bottom: 1px solid var(--line-2);
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand__mark { font-size: 20px; letter-spacing: .3em; padding-left: .3em; color: var(--gold-2); }
.footer-brand p { margin: 0; max-width: 26em; font-size: 12px; line-height: 2; color: var(--ivory-3); }
.footer-nav { display: flex; gap: clamp(28px, 4vw, 60px); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ivory-3);
  font-weight: 500;
  margin-bottom: 2px;
}
.footer-col a { font-size: 12.5px; color: var(--ivory-2); letter-spacing: .06em; transition: color .35s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding-top: 22px;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--ivory-3);
}

/* ------------------------------------------------------- page hero */
.page-hero {
  padding-block: clamp(122px, 16vh, 176px) clamp(30px, 4vw, 46px);
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(32px, 5.2vw, 60px);
  font-weight: 300;
  letter-spacing: .14em;
  line-height: 1.3;
}
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold-2), #f0c79a 44%, var(--rose) 98%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero .lede {
  margin: 20px auto 0;
  max-width: 32em;
  color: var(--ivory-2);
  font-size: 14.5px;
  line-height: 2.15;
}

/* --------------------------------------------------------- project */
.proj {
  --accent: var(--gold);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 238px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 54px);
  padding-block: clamp(46px, 6vw, 80px);
  border: 0;
  background-image: radial-gradient(
    54% 46% at 4% 0%,
    color-mix(in srgb, var(--accent) 15%, transparent),
    transparent 72%
  );
  background-repeat: no-repeat;
}
/* 项目之间的分隔：中间留空给一颗星 */
.proj + .proj::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0;
  width: min(600px, 78%);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(226, 189, 128, .32) 22%,
    rgba(226, 189, 128, .32) 46%,
    transparent 46%,
    transparent 54%,
    rgba(226, 189, 128, .32) 54%,
    rgba(226, 189, 128, .32) 78%,
    transparent 100%
  );
}
.proj + .proj::before {
  content: "✦";
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% -50%;
  font-size: 9px;
  line-height: 1;
  color: var(--gold);
  opacity: .85;
  text-shadow: 0 0 12px rgba(226, 189, 128, .8);
}
@media (max-width: 820px) { .proj { grid-template-columns: 1fr; } }

.proj__aside { position: sticky; top: 104px; align-self: start; }
@media (max-width: 820px) { .proj__aside { position: static; } }
.proj__no {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--gold-2);
  background: radial-gradient(circle at 50% 26%, rgba(255, 244, 222, .12), transparent 72%);
  box-shadow:
    0 0 28px -12px color-mix(in srgb, var(--accent) 90%, transparent),
    inset 0 0 18px -10px rgba(255, 240, 210, .6);
}
.proj__title { margin: 12px 0 0; font-size: clamp(21px, 2.2vw, 27px); letter-spacing: .06em; line-height: 1.5; }
.proj__type { margin: 10px 0 0; font-size: 11px; letter-spacing: .2em; color: var(--ivory-3); }
.proj__state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 5px 12px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--ivory-2);
}
.proj__state i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px 1px rgba(226, 189, 128, .6); font-style: normal; }

.proj__body { min-width: 0; }
.proj__body p { margin: 0 0 1.25em; color: var(--ivory-2); font-size: 14.5px; line-height: 2.15; }
.proj__body p:last-child { margin-bottom: 0; }
.proj__body strong { color: var(--ivory); font-weight: 500; }
.proj__body em { color: var(--gold-2); font-style: normal; }

.facts {
  list-style: none;
  margin: clamp(20px, 2.8vw, 30px) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px 10px;
  border: 0;
  background: none;
}
.facts li {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 17px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: linear-gradient(160deg, rgba(255, 244, 222, .06), rgba(255, 244, 222, .015));
  transition: border-color .45s, transform .45s var(--ease), box-shadow .45s;
}
.facts li:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  box-shadow: 0 12px 26px -20px color-mix(in srgb, var(--accent) 90%, transparent);
}
.facts dt, .facts b {
  display: inline;
  font-family: var(--display);
  font-size: 9.5px;
  letter-spacing: .2em;
  color: var(--ivory-3);
  margin: 0;
}
.facts dd, .facts span { margin: 0; font-size: 12.5px; color: var(--ivory); letter-spacing: .03em; }

.quote-line {
  margin: 1.7em 0 0;
  padding: 18px 0 18px 22px;
  border-left: 1px solid var(--gold);
  color: var(--ivory);
  font-size: 15px;
  line-height: 2;
  letter-spacing: .04em;
}
.quote-line cite {
  display: block;
  margin-top: 10px;
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ivory-3);
  font-style: normal;
}

/* ------------------------------------------------------ planned grid */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
}
.plan {
  --accent: var(--gold);
  position: relative;
  padding: 26px;
  border: 1px dashed rgba(226, 189, 128, .22);
  border-radius: 4px;
  background-color: rgba(255, 244, 222, .018);
  background-image: radial-gradient(
    66% 62% at 100% 0%,
    color-mix(in srgb, var(--accent) 13%, transparent),
    transparent 72%
  );
  background-repeat: no-repeat;
  transition: border-color .45s, background-color .45s, transform .45s var(--ease);
}
.plan::after {
  content: "✦";
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 9px;
  color: var(--gold);
  opacity: .45;
  transition: opacity .45s;
}
.plan:hover { border-color: rgba(226, 189, 128, .45); background-color: rgba(255, 244, 222, .04); transform: translateY(-3px); }
.plan:hover::after { opacity: 1; }
.plan__tag { font-family: var(--display); font-size: 9.5px; letter-spacing: .24em; color: var(--ivory-3); }
.plan h3 { margin: 12px 0 0; font-size: 17px; letter-spacing: .06em; line-height: 1.55; }
.plan p { margin: 10px 0 0; font-size: 12.5px; line-height: 2; color: var(--ivory-2); }

/* ----------------------------------------------------------- novel */
.novel-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(116px, 15vh, 164px) clamp(30px, 4vw, 50px);
}
@media (max-width: 880px) { .novel-hero { grid-template-columns: 1fr; } }

.novel-hero__art {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  overflow: hidden;
  box-shadow:
    0 0 90px -26px rgba(226, 189, 128, .38),
    0 40px 90px -50px rgba(0, 0, 0, .95);
}
.novel-hero__art img { width: 100%; height: auto; }
.novel-hero__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(6, 5, 15, .75));
  pointer-events: none;
}
.novel-hero h1 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 300;
  letter-spacing: .08em;
  line-height: 1.34;
}
.novel-hero h1 small {
  display: block;
  margin-top: .5em;
  font-size: .42em;
  letter-spacing: .3em;
  color: var(--ivory-3);
}
.novel-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}
.tagpill {
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--ivory-2);
  border: 1px solid var(--line-2);
  padding: 5px 12px;
  border-radius: 2px;
}
.novel-hero__lede {
  margin: 24px 0 0;
  color: var(--ivory-2);
  font-size: 14.5px;
  line-height: 2.2;
  max-width: 34em;
}
.novel-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* 卷纲 */
.volumes { display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.volume {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: clamp(14px, 2.4vw, 30px);
  align-items: baseline;
  padding: 20px 22px;
  background: var(--night-1);
  transition: background .4s;
}
.volume:hover { background: rgba(255, 244, 222, .035); }
.volume__no { font-family: var(--display); font-size: 20px; color: var(--gold); letter-spacing: .1em; }
.volume__title { font-size: 15.5px; letter-spacing: .05em; line-height: 1.6; }
.volume__sub { display: block; margin-top: 6px; font-size: 12px; color: var(--ivory-3); letter-spacing: .06em; }
.volume__stage { font-size: 10.5px; letter-spacing: .18em; color: var(--ivory-3); white-space: nowrap; }
@media (max-width: 660px) {
  .volume { grid-template-columns: 56px minmax(0, 1fr); }
  .volume__stage { grid-column: 2; }
}

/* 章节列表 */
.ch-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.ch-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: clamp(10px, 2vw, 24px);
  align-items: center;
  padding: 18px 6px;
  border-bottom: 1px solid var(--line-2);
  transition: background .4s, padding .4s var(--ease);
}
.ch-row:hover { background: rgba(255, 244, 222, .03); padding-left: 14px; }
.ch-row__no { font-family: var(--display); font-size: 15px; letter-spacing: .16em; color: var(--ivory-3); }
.ch-row__main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ch-row__title { font-size: 15.5px; letter-spacing: .04em; color: var(--ivory); }
.ch-row__meta { font-size: 11.5px; letter-spacing: .1em; color: var(--ivory-3); }
.ch-row__arrow { font-family: var(--display); color: var(--gold); opacity: .5; transition: opacity .4s, transform .4s var(--ease); }
.ch-row:hover .ch-row__arrow { opacity: 1; transform: translateX(4px); }
.ch-row.is-locked { opacity: .45; }
.ch-row.is-locked:hover { background: none; padding-left: 6px; }

/* ------------------------------------------------------- cast portrait */
.cast-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}
@media (max-width: 560px) {
  .cast-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cast-portrait { max-width: 132px; border-radius: 4px; }
}
.cast-portrait {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  box-shadow: 0 18px 44px -28px rgba(0, 0, 0, .9);
}

/* ---------------------------------------------------------- shot grid */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: clamp(20px, 2.6vw, 28px) 0 0;
}
.shot-grid figure {
  margin: 0;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  overflow: hidden;
  background: rgba(4, 3, 12, .5);
  transition: border-color .4s, transform .4s var(--ease);
}
.shot-grid figure:hover { border-color: rgba(226, 189, 128, .35); transform: translateY(-3px); }
.shot-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.shot-grid figcaption {
  padding: 8px 11px;
  border-top: 1px solid var(--line-2);
  font-size: 10.5px;
  letter-spacing: .08em;
  line-height: 1.6;
  color: var(--ivory-3);
}
@media (max-width: 760px) {
  .shot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .shot-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ----------------------------------------------------------- about */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .8fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-body p { margin: 0 0 1.3em; color: var(--ivory-2); font-size: 14.5px; line-height: 2.2; }
.about-body p:last-child { margin-bottom: 0; }
.about-body em { color: var(--gold-2); font-style: normal; }

.side-card {
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: linear-gradient(165deg, rgba(255, 244, 222, .05), rgba(255, 244, 222, .012));
}
.side-card__label {
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ivory-3);
  margin: 0 0 16px;
}
.side-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-block: 11px;
  border-top: 1px solid var(--line-2);
  font-size: 12.5px;
}
.side-row:first-of-type { border-top: 0; padding-top: 0; }
.side-row dt { color: var(--ivory-3); letter-spacing: .12em; }
.side-row dd { margin: 0; color: var(--ivory); letter-spacing: .04em; text-align: right; }
.side-row dd a:hover { color: var(--gold); }

/* ------------------------------------------------------- timeline */
.log { list-style: none; margin: 0; padding: 0; }
.log li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: clamp(14px, 3vw, 30px);
  padding-block: 16px;
  border-top: 1px solid var(--line-2);
  font-size: 13.5px;
  color: var(--ivory-2);
  line-height: 2;
}
.log li:first-child { border-top: 0; }
.log time { font-family: var(--display); font-size: 11.5px; letter-spacing: .14em; color: var(--gold); }

/* --------------------------------------------------------- reader */
.page-read { background-attachment: fixed; }
.read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold), var(--rose));
  z-index: 70;
}
.read-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-inline: clamp(16px, 4vw, 34px);
  background: rgba(7, 6, 16, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.read-bar__back { font-size: 12px; letter-spacing: .18em; color: var(--ivory-2); display: inline-flex; gap: .5em; align-items: center; }
.read-bar__back:hover { color: var(--gold); }
.read-bar__now { font-family: var(--display); font-size: 11px; letter-spacing: .24em; color: var(--ivory-3); }
.read-tools { display: flex; gap: 6px; }
.read-tools button {
  width: 34px; height: 32px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  font-family: var(--display);
  font-size: 12px;
  color: var(--ivory-2);
  transition: color .3s, border-color .3s, background .3s;
}
.read-tools button:hover { color: var(--gold); border-color: var(--gold); }

.read-main { padding: clamp(92px, 13vh, 128px) var(--gutter) 40px; }
.reader {
  max-width: 720px;
  margin-inline: auto;
  font-size: var(--read-size);
  line-height: 2.05;
  letter-spacing: .02em;
}
.reader__kicker {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ivory-3);
  text-align: center;
}
.reader__title {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 400;
  letter-spacing: .1em;
  line-height: 1.45;
  text-align: center;
}
.reader__meta { margin: 14px 0 0; text-align: center; font-size: 11.5px; letter-spacing: .14em; color: var(--ivory-3); }
.reader__rule {
  width: 60px;
  height: 1px;
  margin: clamp(28px, 4vw, 40px) auto clamp(30px, 4.5vw, 46px);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.reader__body p {
  margin: 0 0 1.05em;
  color: #e8dfd0;
  text-align: justify;
  text-justify: inter-ideograph;
  hanging-punctuation: allow-end;
}
.reader__body p:last-child { margin-bottom: 0; }
.reader__body blockquote {
  margin: 1.3em 0;
  padding: 4px 0 4px 20px;
  border-left: 1px solid var(--line);
  color: var(--ivory-2);
}
.reader__body blockquote p { margin: 0 0 .6em; }
.scene-break {
  width: 100%;
  border: 0;
  height: auto;
  margin: 2em 0;
  text-align: center;
}
.scene-break::before {
  content: "· · ·";
  color: var(--ivory-3);
  letter-spacing: .6em;
  font-size: .8em;
}

.read-nav {
  max-width: 720px;
  margin: clamp(50px, 7vw, 76px) auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--line-2);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
}
.read-nav__link { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.read-nav__link span { font-size: 11px; letter-spacing: .18em; color: var(--ivory-3); }
.read-nav__link strong { font-size: 14px; font-weight: 400; letter-spacing: .04em; color: var(--ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.read-nav__link:hover strong { color: var(--gold-2); }
.read-nav__link--r { text-align: right; align-items: flex-end; }
.read-nav__link.is-empty { opacity: .38; }
.read-nav__home {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--ivory-3);
  border: 1px solid var(--line-2);
  padding: 8px 14px;
  border-radius: 2px;
}
.read-nav__home:hover { color: var(--gold); border-color: var(--gold); }

.read-foot {
  max-width: 720px;
  margin: 0 auto;
  padding: 30px var(--gutter) 60px;
  text-align: center;
  font-size: 11.5px;
  line-height: 2;
  color: var(--ivory-3);
}
.read-foot a { color: var(--gold); }

/* ---------------------------------------------------------- reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

/* ---------------------------------------------------------- utility */
.center { text-align: center; }
.mt-l { margin-top: clamp(30px, 4.4vw, 52px); }
.section .sec-head--l { text-align: left; margin-inline: 0; }
.section .sec-head--l .lede { margin-inline: 0; }

/* ------------------------------------------------------ responsive */
@media (max-width: 720px) {
  .plan-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    gap: 14px clamp(24px, 8vw, 52px);
  }
  .hero__stats li { justify-content: flex-start; }
  .hero__title { letter-spacing: .1em; }
  .hero__stats { gap: 24px 30px; }
  .sign__board { padding: 15px 30px 17px; }
  .sign__chains { width: 150px; }
  .ch-row { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .read-bar__now { display: none; }
}

/* -------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  .sign, .hero__cue::after { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  body { background-attachment: scroll; }
  html { scroll-behavior: auto; }
}

@media print {
  #sky, .site-header, .hero__cue, .read-bar, .read-progress, body::before, body::after { display: none !important; }
  body { background: #fff; color: #111; }
  .reader__body p { color: #111; }
}