:root {
  color-scheme: dark;
  --bg: #080806;
  --text: #f4f0e6;
  --muted: #b0aa9c;
  --gold: #d8b56a;
  --gold-bright: #f2d89a;
  --line: rgba(224, 190, 116, .22);
  --content: 1320px;
  --gutter: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.2, .75, .2, 1);
  --display: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", SimSun, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  background: var(--bg);
}
body {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }
::selection { background: rgba(216, 181, 106, .3); color: #fff; }
:where(a, button):focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 5px;
}

.shell {
  width: min(calc(100% - var(--gutter) - var(--gutter)), var(--content));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 0;
  left: var(--gutter);
  padding: 10px 16px;
  transform: translateY(-160%);
  background: var(--gold-bright);
  color: #141006;
}
.skip-link:focus { transform: translateY(16px); }
.page-backdrop {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 84% 4%, rgba(160, 112, 39, .09), transparent 42%),
    radial-gradient(ellipse at 8% 58%, rgba(216, 181, 106, .035), transparent 38%);
}
.page-backdrop__line {
  position: absolute;
  width: 120vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 181, 106, .09), transparent);
  transform: rotate(-18deg);
}
.page-backdrop__line--one { top: 22%; left: -12%; }
.page-backdrop__line--two { top: 74%; left: -4%; opacity: .55; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(244, 240, 230, .07);
  background: rgba(8, 8, 6, .8);
  backdrop-filter: blur(20px);
}
.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 88px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.brand img { width: 36px; height: 36px; }
.site-nav {
  display: flex;
  justify-self: center;
  align-items: center;
  gap: 34px;
}
.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
  transition: color .25s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold);
  transition: transform .25s var(--ease);
}
.site-nav a:hover { color: var(--gold-bright); }
.site-nav a:hover::after { transform: scaleX(1); }
.motion-toggle {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 9px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 0 8px 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}
.motion-toggle__mark {
  position: relative;
  width: 25px;
  height: 13px;
  flex: none;
  border: 1px solid #665a40;
  border-radius: 20px;
  transition: border-color .25s ease;
}
.motion-toggle__mark::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8c8578;
  transition: transform .25s var(--ease), background .25s ease;
}
.motion-toggle[aria-pressed="true"] .motion-toggle__mark { border-color: var(--gold); }
.motion-toggle[aria-pressed="true"] .motion-toggle__mark::after {
  transform: translateX(12px);
  background: var(--gold-bright);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  align-items: center;
  gap: clamp(32px, 4vw, 80px);
  min-height: calc(100svh - 88px);
  padding-block: clamp(72px, 8vw, 128px);
}
.hero__copy { position: relative; z-index: 1; min-width: 0; }
.hero__copy::before {
  content: "";
  display: block;
  width: 58px;
  height: 1px;
  margin-bottom: 32px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.hero h1 {
  max-width: 5.2em;
  font-family: var(--display);
  font-size: clamp(52px, 8.2vw, 124px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.075em;
  text-wrap: balance;
}
.hero__lede {
  max-width: 34em;
  margin-top: 32px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.9;
  letter-spacing: .015em;
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hero__actions { margin-top: 44px; }
.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 52px;
  padding: 12px 0;
  color: var(--text);
  font-size: 15px;
  white-space: nowrap;
  cursor: pointer;
  transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s var(--ease);
}
.action--primary {
  padding: 14px 22px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  background: var(--gold);
  color: #141006;
  font-weight: 600;
}
.action--primary:hover { transform: translateY(-2px); background: var(--gold-bright); border-color: var(--gold-bright); }
.action--line { border-bottom: 1px solid var(--line); }
.action--line:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.action__arrow { font-size: 16px; line-height: 1; transition: transform .25s var(--ease); }
.action:hover .action__arrow, .footer__link:hover .action__arrow { transform: translate(2px, -2px); }

.hero__art { position: relative; min-width: 0; overflow: clip; isolation: isolate; }
.orbital {
  position: relative;
  width: min(100%, 680px);
  max-width: 100%;
  aspect-ratio: 1;
  margin-inline: auto;
}
.orbital::before {
  content: "";
  position: absolute;
  inset: 19%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 181, 106, .09), transparent 68%);
  filter: blur(24px);
  animation: orbital-breathe 7s ease-in-out infinite;
}
.orbital__svg { width: 100%; height: auto; }
.orbital__ring {
  transform-box: view-box;
  transform-origin: 360px 360px;
  animation: orbital-rotate 48s linear infinite;
}
.orbital__ring--inner { animation-duration: 31s; animation-direction: reverse; }
.orbital__band {
  stroke-dasharray: 14 18;
  animation: orbital-light 11s linear infinite;
}
.orbital__band--ghost { animation-duration: 17s; animation-direction: reverse; }
.orbital__core {
  transform-box: fill-box;
  transform-origin: center;
  animation: orbital-core 4.5s ease-in-out infinite;
}
.orbital__spark { animation: orbital-spark 4s ease-in-out infinite; }

[data-reveal] { opacity: 1; transform: none; }
.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.motion-ready [data-reveal].is-visible { opacity: 1; transform: none; }

.account {
  padding-block: clamp(104px, 12vw, 180px);
  border-top: 1px solid rgba(244, 240, 230, .08);
}
.account__inner {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(42px, 7vw, 112px);
}
.account h2 {
  font-family: var(--display);
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.06em;
}
.account__copy {
  max-width: 20em;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -.035em;
}
.account__link { margin-top: 40px; }

.finale {
  padding-block: clamp(110px, 14vw, 210px);
  border-top: 1px solid rgba(244, 240, 230, .08);
  background: radial-gradient(ellipse at 50% 58%, rgba(169, 121, 43, .09), transparent 62%);
  text-align: center;
}
.finale h2 {
  font-family: var(--display);
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.finale__actions { justify-content: center; margin-top: 56px; }
.site-footer { border-top: 1px solid rgba(244, 240, 230, .08); }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 30px;
  color: var(--muted);
  font-size: 14px;
}
.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  color: var(--gold-bright);
  white-space: nowrap;
}

@keyframes orbital-rotate { to { transform: rotate(360deg); } }
@keyframes orbital-light { to { stroke-dashoffset: -320; } }
@keyframes orbital-breathe { 50% { opacity: .45; transform: scale(.92); } }
@keyframes orbital-core { 50% { opacity: .48; transform: scale(.94); } }
@keyframes orbital-spark { 50% { opacity: .25; } }

@media (max-width: 900px) {
  .header__inner { gap: 20px; min-height: 76px; }
  .site-nav { gap: 24px; }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 84px 64px;
  }
  .hero__copy { max-width: 680px; }
  .hero h1 { font-size: clamp(58px, 11vw, 92px); }
  .hero__art { width: min(100%, 600px); margin: 8px auto 0; }
  .account__inner { grid-template-columns: 1fr; }
  .account__details { max-width: 680px; }
}

@media (max-width: 520px) {
  html { scroll-padding-top: 88px; }
  .header__inner { gap: 12px; min-height: 70px; }
  .brand { gap: 9px; font-size: 17px; }
  .brand img { width: 31px; height: 31px; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 12px; }
  .motion-toggle { padding-left: 8px; }
  .motion-toggle [data-motion-label] { display: none; }
  .hero { gap: 40px; padding-block: 64px 48px; }
  .hero__copy::before { margin-bottom: 26px; }
  .hero h1 { font-size: clamp(50px, 13.5vw, 68px); letter-spacing: -.08em; }
  .hero__lede { margin-top: 26px; font-size: 16px; }
  .hero__actions { align-items: stretch; gap: 12px 22px; margin-top: 34px; }
  .action { gap: 18px; font-size: 14px; }
  .action--primary { padding-inline: 18px; }
  .hero__art { margin-top: 0; }
  .account { padding-block: 88px; }
  .account__inner { gap: 34px; }
  .account__copy { font-size: 25px; }
  .account__link { margin-top: 28px; }
  .finale { padding-block: 100px; }
  .finale h2 { font-size: clamp(45px, 13vw, 64px); }
  .finale__actions { gap: 12px 22px; margin-top: 40px; }
  .footer__inner { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-ready [data-reveal] { opacity: 1; transform: none; }
}
html[data-motion=off] { scroll-behavior: auto; }
html[data-motion=off] *, html[data-motion=off] *::before, html[data-motion=off] *::after {
  animation: none !important;
  transition: none !important;
}
html[data-motion=off] [data-reveal] { opacity: 1; transform: none; }
html[data-page-hidden=true] *, html[data-page-hidden=true] *::before, html[data-page-hidden=true] *::after {
  animation-play-state: paused !important;
}
