:root {
  color-scheme: dark;
  --night: #0a0b12;
  --ink: #f6efdf;
  --muted: #bbb3af;
  --gold: #eac68e;
  --line: #ffffff23;
  --serif: "Songti SC", "Noto Serif CJK SC", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.wrap { width: min(1200px, 100% - 104px); margin-inline: auto; }
.skip-link { position: absolute; top: 12px; left: 12px; transform: translateY(-160%); z-index: 3; background: var(--ink); color: var(--night); padding: 12px; }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); position: relative; z-index: 1; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand-mark { color: var(--gold); font-size: 25px; line-height: 1; }
.wordmark { font: 600 22px/1 Georgia, serif; letter-spacing: .19em; }
.brand-name { color: var(--muted); margin-left: 6px; font-size: 11px; letter-spacing: .15em; }
nav { display: flex; gap: clamp(16px, 3vw, 38px); font-size: 14px; color: var(--muted); }
nav a:hover, .text-link:hover, .footer-inner > a:last-child:hover { color: var(--gold); }
.button { display: inline-flex; gap: 17px; align-items: center; justify-content: center; padding: 13px 20px; min-height: 46px; border: 1px solid transparent; border-radius: 4px; font-size: 14px; font-weight: 650; white-space: nowrap; transition: background .2s, color .2s; }
.button-outline { border-color: #eac68e66; color: var(--gold); }
.button-outline:hover { background: #eac68e16; }
.button-gold { background: var(--gold); color: #211608; box-shadow: 0 8px 35px #eac68e24; }
.button-gold:hover { background: #f7daa9; }
.hero { border-bottom: 1px solid var(--line); overflow: clip; background: radial-gradient(ellipse at 77% 44%, #171827 0, transparent 57%); }
.hero-inner { min-height: 586px; display: grid; align-items: center; position: relative; isolation: isolate; }
.hero-copy { padding-block: 52px 66px; position: relative; z-index: 1; }
.eyebrow { color: var(--gold); letter-spacing: .2em; font-size: 12px; margin-bottom: 24px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; }
h1 { font-size: clamp(47px, 5.25vw, 80px); line-height: 1.18; letter-spacing: -.065em; text-wrap: nowrap; }
h1 span { color: var(--gold); }
.hero-description { color: #d0c8c1; font-size: 16px; line-height: 1.95; margin-block: 24px 28px; max-width: 27em; }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.text-link { display: inline-flex; gap: 10px; font-size: 14px; color: var(--ink); padding-block: 12px; }
.hero-art { position: absolute; z-index: -1; inset: 0 -32px 0 auto; width: min(57%, 670px); display: grid; place-items: center; pointer-events: none; }
.hero-art img { width: 100%; height: 100%; object-fit: contain; object-position: center; mask-image: radial-gradient(ellipse 48% 64% at 50% 49%, #000 50%, transparent 100%); }
.section { padding-block: 88px 96px; scroll-margin-top: 16px; }
.section-heading { margin-bottom: 34px; }
h2 { font-size: clamp(32px, 4vw, 54px); letter-spacing: -.04em; line-height: 1.22; }
.section-heading p { color: var(--muted); line-height: 1.75; font-size: 15px; margin-top: 12px; }
.closing { text-align: center; background: linear-gradient(#0a0b12 0%, #0a0b125e 44%, #0a0b12e8 96%), url("assets/path.webp") center 55% / cover; }
.closing-inner { padding-block: 104px 124px; }
.closing h2 { text-shadow: 0 2px 25px #000; margin-bottom: 27px; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { min-height: 82px; padding-block: 16px; font-size: 12px; }
.footer-inner .wordmark { color: var(--ink); font-size: 16px; }
.footer-inner .brand-mark { font-size: 19px; }


dl, dd, blockquote { margin: 0; }
.screen { border: 1px solid #eac68e40; border-radius: 6px; background: #0b0d15; overflow: hidden; }
.screen img { width: 100%; height: auto; }
.screen figcaption { padding: 11px 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.5; }
.walkthrough { width: min(100%, 980px); margin: 0 auto clamp(30px, 5vw, 56px); scroll-margin-top: 22px; }
.walkthrough figcaption { margin-bottom: 14px; }
.walkthrough h3 { color: var(--ink); font-size: clamp(23px, 3vw, 33px); margin-bottom: 6px; }
.walkthrough p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.walkthrough video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 1px solid #eac68e40; border-radius: 6px; background: #08090e; }
.walkthrough-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 10px; }
.walkthrough-tools p { flex: 1 1 220px; font-size: 13px; }
.walkthrough-tools button { font: inherit; border: 0; padding: 0; background: transparent; cursor: pointer; }
.walkthrough-tools button:disabled { color: var(--muted); cursor: wait; }
.walkthrough-tools button { color: var(--gold); font-size: 13px; }
.walkthrough-tools button:hover:not(:disabled) { text-decoration: underline; }
.journey-steps { list-style: none; counter-reset: step; margin: 0 0 46px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.journey-steps li { counter-increment: step; padding-top: 17px; border-top: 1px solid #eac68e5c; }
.journey-steps li::before { content: '0' counter(step); color: var(--gold); font: 500 14px Georgia, serif; }
.journey-steps h3 { margin: 10px 0 7px; font-size: clamp(18px, 2vw, 25px); }
.journey-steps p, .traveler-copy p, .feature-copy p, .about-copy p { color: var(--muted); line-height: 1.8; font-size: 15px; }
.traveler-panel { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: clamp(25px, 6vw, 76px); }
.traveler-copy h3, .about-copy h3 { font-size: clamp(25px, 3vw, 36px); margin-bottom: 10px; }
.traveler-copy dl { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px 12px; }
.traveler-copy dt, .gesture-list dt { color: var(--gold); font-weight: 650; font-size: 15px; }
.traveler-copy dd, .gesture-list dd { color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 4px; }

.realms-section, .reading-section { background: #10111b; border-block: 1px solid var(--line); }
.realm-nav { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.realm-nav a { border: 1px solid var(--line); background: #11121c; position: relative; border-radius: 6px; overflow: hidden; isolation: isolate; min-height: 134px; display: grid; align-items: end; text-align: left; transition: border-color .2s, background .2s; }
.realm-nav img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 43%; z-index: -2; }
.realm-nav a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 22%, #080911 100%); z-index: -1; }
.realm-nav span { font: 700 20px/1.24 var(--serif); padding: 14px; }
.realm-nav a:nth-child(5) span { font-size: 17px; }
.realm-nav a:hover, .realm-nav a[aria-selected="true"] { color: var(--gold); border-color: var(--gold); }
.realm-nav a[aria-selected="true"] { box-shadow: inset 0 -3px var(--gold); }
.realm-detail { display: grid; align-items: center; grid-template-columns: 1.05fr 1fr; gap: clamp(25px, 5vw, 64px); padding: clamp(20px, 4vw, 48px); border: 1px solid #eac68e3d; border-radius: 6px; background: radial-gradient(ellipse at 90% 0%, #211d2a, #10101a 67%); scroll-margin-top: 22px; }
.realm-detail[hidden] { display: none; }
.realm-detail + .realm-detail:not([hidden]) { margin-top: 14px; }
.realm-detail[hidden] + .realm-detail:not([hidden]) { margin-top: 0; }
.realm-detail h3 { margin-bottom: 13px; font-size: clamp(28px, 3vw, 42px); line-height: 1.15; }
.realm-detail h3 small { display: block; margin-top: 8px; color: var(--muted); font: 500 14px/1.4 var(--sans); }
.realm-detail p { color: var(--muted); font-size: 15px; line-height: 1.85; }
.realm-detail .sample-question { color: var(--gold); font-size: 17px; line-height: 1.6; margin-bottom: 12px; text-indent: -.5em; }
.realm-detail .detail-note { margin-top: 12px; padding-left: 13px; border-left: 1px solid var(--gold); }
.realm-detail figure { min-width: 0; }
.realm-detail .cropped img { max-height: 340px; object-fit: contain; }
.spread-details { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--line); }
summary { cursor: pointer; color: var(--gold); font-weight: 600; }
.spread-details dl { margin: 12px 0 0; display: grid; gap: 8px; font-size: 13px; line-height: 1.6; }
.spread-details dl > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 10px; }
.spread-details dd { color: var(--muted); }

.gestures { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: clamp(24px, 6vw, 82px); }
.feature-copy h2 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 13px; }
.gesture-list { margin-block: 21px; display: grid; gap: 14px; }
.feature-copy .feature-note { color: var(--gold); font-size: 13px; }
.reading-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(26px, 5vw, 66px); align-items: start; }
.reading-example { border: 1px solid #eac68e49; border-radius: 6px; background: linear-gradient(150deg, #201b28, #14141e 67%); padding: clamp(19px, 3.2vw, 38px); }
.reading-example .eyebrow { margin-bottom: 16px; letter-spacing: .11em; }
.reading-example blockquote { font: 700 clamp(23px, 3vw, 36px)/1.4 var(--serif); letter-spacing: -.025em; margin-inline: -.35em; margin-bottom: 23px; }
.reading-example dl { display: grid; gap: 15px; }
.reading-example dl > div { display: grid; grid-template-columns: 4.4em 1fr; gap: 12px; font-size: 14px; line-height: 1.7; }
.reading-example dt { color: var(--gold); font-weight: 650; }
.reading-example dd { color: var(--muted); }
.report-features { margin: 20px 0 0; list-style: none; padding: 0; display: grid; gap: 11px; }
.report-features li { display: grid; grid-template-columns: 5.6em 1fr; gap: 14px; font-size: 14px; line-height: 1.7; }
.report-features span { color: var(--muted); }
.theme-pair, .about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 5vw, 64px); }
.theme-pair { gap: 18px; margin-bottom: 48px; }
.about-copy p + p { margin-top: 10px; }
.faq details { border-top: 1px solid var(--line); padding-block: 14px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq p { color: var(--muted); margin-top: 9px; font-size: 14px; line-height: 1.8; }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .hero-inner { min-height: 525px; }
  .section { padding-block: 68px 72px; }
  .realm-nav img { object-position: center 45%; }
  .realm-nav a { min-height: 116px; }
  .realm-nav span { padding: 12px 8px; font-size: 17px; }
  .realm-nav a:nth-child(5) span { font-size: 14px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 60px; gap: 10px; flex-wrap: wrap; padding-top: 10px; }
  .header-inner nav { flex: 1 0 100%; order: 1; justify-content: space-between; gap: 8px; padding: 3px 0 10px; font-size: 12px; }
  .header-cta { padding: 8px 12px; min-height: 38px; }
  .hero-inner { min-height: 555px; align-items: end; }
  .hero-art { inset: 0 -18px auto; width: auto; height: 384px; }
  .hero-art img { mask-image: radial-gradient(ellipse 52% 66% at 50% 40%, #000 38%, transparent 100%); }
  .hero-copy { padding-block: 24px 41px; text-align: center; background: linear-gradient(transparent, #0a0b12 36%); }
  .eyebrow { font-size: 11px; margin-bottom: 14px; }
  h1 { font-size: clamp(34px, 8.7vw, 55px); }
  .hero-description { margin: 15px auto 20px; font-size: 14px; max-width: 23em; }
  .hero-actions { justify-content: center; gap: 18px; }
  .section { padding-block: 54px 58px; }
  .section-heading { margin-bottom: 23px; }
  .journey-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
  .traveler-panel, .realm-detail, .gestures, .reading-grid, .about-grid { grid-template-columns: 1fr; gap: 22px; }
  .realm-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .realm-nav a { min-height: 90px; }
  .realm-nav span { padding: 9px; }
  .realm-detail .cropped img { max-height: 290px; }
  .spread-details dl > div { grid-template-columns: 1fr; gap: 2px; }
  .gestures .feature-copy { grid-row: 1; }
  .theme-pair { margin-bottom: 28px; gap: 10px; }
  .closing-inner { padding-block: 80px 90px; }
  .footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
  .footer-inner p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 375px) {
  .brand-name { display: none; }
  .realm-nav span { font-size: 16px; }
  .realm-nav a:nth-child(5) span { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .realm-nav a { transition: none; }
}
