/* 天宫 · 云境。共享五页视觉系统，手机优先。 */
:root {
  --brown: #302018;
  --ink: #3f2d22;
  --paper: #f6eedf;
  --surface: #fffaf1;
  --gold: #dfbd7d;
  --muted: #705c49;
  --line: #d7c3a3;
  --on-dark: #f6eedf;
  --muted-dark: #dfccb0;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.75 "Microsoft YaHei", "PingFang SC", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}
button, summary, a {
  -webkit-tap-highlight-color: #dfbd7d33;
}
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #ac7736;
  outline-offset: 6px;
}
a:active {
  opacity: .72;
}
img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
h1, h2, h3, p, figure {
  margin: 0;
}
h1, h2, .imperial-lead {
  font-family: "Noto Serif CJK SC", "Songti SC", "SimSun", serif;
}
h1, h2 {
  font-weight: 500;
  line-height: 1.4;
  text-wrap: balance;
}
h1 {
  font-size: clamp(42px, 7vw, 88px);
}
h2 {
  font-size: clamp(30px, 4vw, 50px);
}
em {
  font-style: normal;
  color: #906429;
}
.container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}
.kicker {
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 16px;
}
.skip {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--paper);
  padding: 12px;
}
.skip:focus {
  top: 16px;
}
.site-header {
  position: relative;
  z-index: 20;
  background: var(--brown);
  color: var(--on-dark);
  border-bottom: 1px solid #7b5b384d;
}
.header-inner {
  width: min(1360px, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--gold);
  font: 900 27px/1.4 "YouYuan", "Yuanti SC", "Microsoft YaHei", sans-serif;
  letter-spacing: .12em;
  -webkit-text-stroke: .25px currentColor;
}
.brand > span {
  font: 10px/1.6 Georgia, serif;
  letter-spacing: .16em;
  -webkit-text-stroke: 0;
}
.desktop-nav {
  display: none;
}
.mobile-menu > summary {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  min-height: 48px;
  min-width: 88px;
}
.mobile-menu > summary::-webkit-details-marker {
  display: none;
}
.mobile-menu summary span {
  font-size: 24px;
}
.mobile-menu nav {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 20px;
  background: var(--brown);
  border-block: 1px solid #7b5b38;
  box-shadow: 0 16px 24px #30201822;
}
.mobile-menu a {
  display: block;
  padding: 12px 16px;
  min-height: 48px;
  border-bottom: 1px solid #7b5b3855;
}
nav a[aria-current="page"] {
  color: var(--gold);
}
nav a[aria-current="page"]::after {
  content: " ·";
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 52px;
  padding: 12px 24px;
  background: var(--gold);
  color: var(--brown);
  border: 1px solid var(--gold);
  transition: background-color 160ms, color 160ms;
  font-weight: 600;
}
.button:hover {
  background: var(--surface);
}
.button-dark {
  background: var(--brown);
  color: var(--gold);
  border-color: var(--brown);
}
.button-dark:hover {
  background: #59402a;
}
.hero-cta {
  gap: 20px;
}
.animated-arrow {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  overflow: visible;
}
.animated-arrow .arrow-corner, .animated-arrow .arrow-line {
  transition: transform 320ms var(--ease), stroke-dashoffset 320ms var(--ease);
}
.animated-arrow .arrow-line {
  stroke-dasharray: 12;
  stroke-dashoffset: 0;
}
.hero-cta:hover .arrow-corner, .hero-cta:focus-visible .arrow-corner {
  transform: translate(1px, -1px);
}
.hero-cta:hover .arrow-line, .hero-cta:focus-visible .arrow-line,
.icon-link:hover .arrow-line, .icon-link:focus-visible .arrow-line,
.chapter:hover .arrow-line {
  transform: translate(2px, -2px);
  stroke-dashoffset: 12;
  animation: arrow-redraw 360ms 80ms var(--ease) forwards;
}
.icon-link:hover .arrow-corner, .icon-link:focus-visible .arrow-corner,
.chapter:hover .arrow-corner {
  transform: translate(1px, -1px);
}
@keyframes arrow-redraw {
  to { stroke-dashoffset: 0; }
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 48px;
  border-bottom: 1px solid currentColor;
}
.journey {
  background: var(--brown);
}
.hero-scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 760px;
  min-height: min(920px, 110svh);
  color: var(--on-dark);
}
.hero-art {
  position: absolute;
  inset: 0;
  height: 100%;
  object-position: 85% center;
  transform: scale(calc(1.04 + var(--progress, 0) * .07));
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #302018 0%, #302018eb 28%, #30201811 72%);
}
.hero-copy {
  position: relative;
  padding-top: 48svh;
  padding-bottom: 120px;
  z-index: 2;
}
.hero-copy .kicker {
  color: var(--gold);
}
.hero-copy h1 {
  font-size: clamp(44px, 9vw, 112px);
  letter-spacing: .08em;
  margin-bottom: 24px;
}
.hero-copy h1 span {
  display: block;
}
.hero-copy > p:not(.kicker) {
  color: var(--muted-dark);
  margin-bottom: 24px;
}
.hero-bottom {
  position: absolute;
  bottom: 48px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted-dark);
  z-index: 3;
  gap: 16px;
}
.hero-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
.cloud-edge {
  position: absolute;
  left: -5%;
  bottom: -1px;
  width: 110%;
  height: 32px;
  border-radius: 50% 50% 0 0;
  background: var(--paper);
  z-index: 3;
}
.explore {
  padding-block: 64px 80px;
}
.section-heading {
  margin-bottom: 32px;
}
.section-heading > p:last-child:not(.kicker) {
  margin-top: 20px;
  color: var(--muted);
}
.chapter-grid {
  display: grid;
  gap: 24px;
}
.chapter {
  position: relative;
  border: 1px solid var(--line);
  background: var(--surface);
}
.chapter-art {
  overflow: hidden;
}
.chapter-art img {
  aspect-ratio: 4 / 3;
  transition: transform 700ms var(--ease);
}
.chapter-head img {
  object-position: 70% center;
}
.chapter:hover img {
  transform: scale(1.04);
}
.chapter-copy {
  padding: 24px;
}
.chapter-copy .kicker {
  font-size: 12px;
}
.chapter h3 {
  font-size: 27px;
  font-weight: 500;
  margin-block: 8px;
}
.chapter-copy p {
  color: var(--muted);
  font-size: 14px;
}
.chapter-arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 26px;
  height: 26px;
}
.imperial {
  display: grid;
  background: var(--brown);
  color: var(--on-dark);
  border: 1px solid #a78147;
  overflow: hidden;
}
.imperial-art {
  position: relative;
  overflow: hidden;
}
.imperial-art img {
  height: 100%;
  min-height: 300px;
  aspect-ratio: 4 / 3;
  object-position: 80% center;
}
.art-note, figcaption {
  font-size: 12px;
}
.art-note {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: #302018e8;
  color: var(--on-dark);
  padding: 4px 8px;
}
.imperial-copy {
  padding: 32px 24px;
  background: radial-gradient(ellipse at top right, #675031, var(--brown) 75%);
}
.imperial-copy .kicker {
  color: var(--gold);
}
.imperial h2 {
  font-size: 42px;
  letter-spacing: .1em;
}
.imperial-lead {
  color: var(--muted-dark);
  font-size: 22px;
  margin-block: 16px 24px;
}
.imperial-meta {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.price {
  display: inline-grid;
  grid-template-columns: 4ch 32px;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font: 500 32px/1.25 Georgia, serif;
  font-variant-numeric: tabular-nums lining-nums;
  color: #765022;
}
.price > span {
  text-align: right;
}
.price small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 48% 52% 40% 46%;
  background: #ead2a6;
  color: #594020;
  font: 900 18px/1.2 "YouYuan", "Microsoft YaHei", sans-serif;
}
.imperial .price {
  color: var(--gold);
  font-size: 42px;
}
.package-items {
  list-style: none;
  padding: 24px 0 0;
  margin: 24px 0;
  border-top: 1px solid #967445;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.package-items li {
  border-bottom: 1px solid #96744555;
  padding-bottom: 8px;
}
.fine-print {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}
.imperial .fine-print {
  color: var(--muted-dark);
}
.home-members {
  padding-block: 72px;
}
.home-members > p:not(.kicker) {
  color: var(--muted);
  margin-block: 24px;
}
.page-opening {
  padding-block: 56px;
}
.page-opening > p:not(.kicker) {
  margin-block: 24px;
  color: var(--muted);
}
.menu-section {
  padding-block: 64px;
}
.service-menu {
  display: grid;
  border-block: 1px solid var(--line);
}
.service {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.service:last-child {
  border-bottom: 0;
}
.service-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}
.service h3 {
  font-size: 20px;
  font-weight: 500;
}
.duration, .description {
  color: var(--muted);
  margin-top: 8px;
}
.split-opening {
  display: grid;
  background: var(--brown);
  color: var(--on-dark);
}
.opening-copy {
  padding: 40px 20px;
}
.opening-copy .kicker {
  color: var(--gold);
}
.opening-copy h1 em {
  color: var(--gold);
}
.opening-copy > p:not(.kicker) {
  color: var(--muted-dark);
  margin-block: 24px;
}
.opening-art {
  position: relative;
}
.opening-art img {
  height: 100%;
  min-height: 320px;
  aspect-ratio: 1 / 1;
}
.opening-art figcaption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 4px 8px;
  background: #302018e8;
}
.next-page {
  padding-block: 40px 64px;
  border-top: 1px solid var(--line);
}
.next-page p {
  color: var(--muted);
  font-size: 13px;
}
.next-page a {
  font: 500 36px/1.5 "Songti SC", "SimSun", serif;
  min-height: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.member-section {
  display: grid;
  gap: 20px;
}
.member {
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.member h2 {
  font: 500 54px/1.3 Georgia, serif;
  font-variant-numeric: tabular-nums;
}
.member h2 small {
  font: 16px "Microsoft YaHei", sans-serif;
  margin-left: 8px;
}
.gift {
  margin-top: 16px;
  color: var(--muted);
}
.gift strong {
  font-weight: 600;
  font-size: 24px;
}
.member-discount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.member-discount > strong {
  color: #765022;
  font: 500 42px Georgia, serif;
}
.member-discount small {
  font: 18px "Microsoft YaHei", sans-serif;
  margin-left: 8px;
}
.member-premium {
  background: var(--brown);
  color: var(--on-dark);
  border-color: #a78147;
}
.member-premium .kicker, .member-premium .gift, .member-premium .member-discount > strong {
  color: var(--gold);
}
.member-extra {
  margin-top: 24px;
  font-size: 15px;
}
.member-rules {
  padding-block: 64px;
}
.member-rules > p {
  color: var(--muted);
  margin-block: 24px;
  max-width: 42em;
}
.note-detail {
  border-bottom: 1px solid var(--line);
  margin-top: 16px;
}
.note-detail summary {
  padding-block: 16px;
  min-height: 48px;
  cursor: pointer;
}
.note-detail p {
  color: var(--muted);
  padding-bottom: 24px;
}
.store-figure img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border: 1px solid var(--line);
  background: var(--surface);
}
.store-figure {
  width: min(860px, calc(100% - 40px));
}
.store-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
}
.visit-contact {
  display: grid;
  gap: 32px;
  padding-block: 64px 88px;
}
.contact-copy h2 {
  margin-bottom: 32px;
}
.address-card, .contact-card {
  display: grid;
  gap: 6px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-style: normal;
}
.address-card span, .contact-card span, .qr-card figcaption > span {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .1em;
}
.address-card strong, .contact-card strong, .qr-card figcaption > strong {
  font: 500 24px/1.55 "Songti SC", "SimSun", serif;
}
.contact-card {
  margin-top: 16px;
  min-height: 112px;
  transition: transform 180ms var(--ease), background-color 180ms;
}
.contact-card:hover {
  transform: translateY(-3px);
  background: #f0e1c7;
}
.contact-card small {
  color: var(--muted);
}
.qr-card {
  position: relative;
  isolation: isolate;
  width: min(100%, 286px);
  margin-inline: auto;
  padding: 14px;
  overflow: hidden;
  border: 1px solid #a78147;
  border-radius: 160px 160px 20px 20px;
  background: var(--brown);
  color: var(--on-dark);
  box-shadow: 0 20px 44px #30201820;
}
.qr-card::before, .qr-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 160px;
  height: 70px;
  border: 1px solid #dfbd7d55;
  border-radius: 50%;
}
.qr-card::before {
  top: 52px;
  left: -88px;
}
.qr-card::after {
  right: -92px;
  bottom: 84px;
}
.qr-card-heading {
  display: grid;
  place-items: center;
  min-height: 76px;
  color: var(--gold);
  text-align: center;
}
.qr-card-heading span {
  font: 600 24px/1.4 "Songti SC", "SimSun", serif;
  letter-spacing: .12em;
}
.qr-card-heading b {
  font: 10px/1.5 Georgia, serif;
  letter-spacing: .28em;
}
.qr-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 230px;
  height: auto;
  margin-inline: auto;
  padding: 10px;
  border: 1px solid #d8bc87;
  border-radius: 18px;
  background: linear-gradient(145deg, #fffaf1, #ead9b9);
}
.qr-frame img {
  position: static;
  width: 100%;
  max-width: 100%;
  height: auto;
  transform: none;
  border-radius: 10px;
}
.qr-card figcaption {
  display: grid;
  gap: 6px;
  padding: 18px 4px 4px;
  text-align: center;
  justify-items: center;
}
.qr-card figcaption > span, .qr-card .copy-status {
  color: var(--muted-dark);
}
.copy-wechat {
  width: fit-content;
  min-height: 48px;
  margin-top: 12px;
  padding: 10px 18px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.copy-wechat:hover {
  background: var(--gold);
  color: var(--brown);
}
.copy-status {
  min-height: 1.75em;
  font-size: 13px;
}
.site-footer {
  background: var(--brown);
  color: var(--on-dark);
  padding: 40px 0 max(40px, env(safe-area-inset-bottom));
}
.footer-inner {
  display: grid;
  gap: 24px;
}
.footer-inner p {
  color: var(--muted-dark);
}
.footer-inner small {
  font-size: 12px;
}
.footer-actions {
  display: flex;
  gap: 8px;
}
.footer-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid #a78147;
  color: var(--gold);
  font-weight: 600;
}
.footer-actions a:first-child {
  background: var(--gold);
  color: var(--brown);
}
.page-curtain {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  z-index: 80;
  pointer-events: none;
  visibility: hidden;
}
.page-curtain > span:not(.curtain-name) {
  background-color: #f2f0e9;
  background-image: url("ink-transition.jpg");
  background-repeat: no-repeat;
  background-size: 300% 100%;
  border-right: 1px solid #1f1f1f26;
  transform: translateY(100%);
}
.page-curtain > span:nth-child(1) {
  background-position: left center;
}
.page-curtain > span:nth-child(2) {
  background-position: center center;
}
.page-curtain > span:nth-child(3) {
  background-position: right center;
}
.page-curtain .curtain-name {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #9b6a27;
  font: 500 64px/1.5 "Songti SC", "SimSun", serif;
  letter-spacing: .2em;
  opacity: 0;
  text-shadow: 0 2px 18px #fff, 0 0 4px #fff;
}
.curtain-name > span {
  font: 13px/2 "Microsoft YaHei", sans-serif;
  margin-top: 12px;
  letter-spacing: .1em;
}
@media (min-width: 768px) {
  .chapter-grid, .member-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .imperial {
    grid-template-columns: 1fr 1fr;
  }
  .imperial-copy {
    padding: 48px;
  }
  .page-opening {
    padding-block: 80px;
  }
  .split-opening {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .opening-copy {
    padding: 64px clamp(32px, 5vw, 96px);
  }
  .opening-art img {
    min-height: 560px;
  }
  .footer-inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 48px;
  }
  .visit-contact {
    grid-template-columns: minmax(0, 1fr) 286px;
    align-items: start;
    gap: clamp(48px, 8vw, 112px);
  }
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none;
  }
  .desktop-nav {
    display: flex;
    gap: 32px;
  }
  .desktop-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    font-size: 14px;
  }
  .desktop-nav a:hover {
    color: var(--gold);
  }
  .journey {
    height: 135svh;
  }
  .hero-scene {
    position: sticky;
    top: 0;
    min-height: 100svh;
  }
  .hero-shade {
    background: linear-gradient(90deg, #302018f5, #302018aa 32%, #30201800 70%), linear-gradient(0deg, #302018aa, transparent 24%);
  }
  .hero-copy {
    padding-block: 14svh;
  }
  .hero-copy > p:not(.kicker) {
    max-width: 32em;
  }
  .hero-bottom {
    left: max(20px, calc((100% - 1200px) / 2));
    right: max(20px, calc((100% - 1200px) / 2));
    bottom: 32px;
  }
  .cloud-edge {
    height: 24px;
  }
  .explore {
    padding-block: 100px;
  }
  .chapter-grid {
    gap: 32px;
  }
  .chapter-body {
    margin-top: 96px;
  }
  .chapter-art img {
    aspect-ratio: 5 / 4;
  }
  .member-section {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .service-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 64px;
  }
  .service.wide {
    grid-column: 1 / -1;
  }
  .hero-art {
    object-position: center;
  }
}
@media (max-width: 360px) {
  .brand {
    font-size: 24px;
  }
  .service h3 {
    font-size: 17px;
  }
  .price {
    font-size: 27px;
    grid-template-columns: 4ch 28px;
    gap: 6px;
  }
  .imperial .price {
    font-size: 34px;
  }
}
@media (max-width: 767px) {
  .site-footer {
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
  }
  .footer-actions {
    position: fixed;
    z-index: 18;
    left: 0;
    right: 0;
    bottom: 0;
    gap: 0;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: #302018f5;
    box-shadow: 0 -8px 24px #30201826;
  }
  .footer-actions a {
    flex: 1;
    min-height: 52px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-art {
    transform: none;
  }
  .chapter-art img, .button {
    transition: none;
  }
  .hero-cta:hover .arrow-line, .hero-cta:focus-visible .arrow-line,
  .icon-link:hover .arrow-line, .icon-link:focus-visible .arrow-line,
  .chapter:hover .arrow-line {
    animation: none;
  }
  .animated-arrow .arrow-corner, .animated-arrow .arrow-line {
    transition: none;
  }
}
