:root {
  color-scheme: dark;
  --page: #171914; --surface: #20211a; --gold: #ddbe83; --cream: #f4e8cc;
  --line: #95815545; --muted: #beb7a4; --serif: "Noto Serif CJK SC","Songti SC","STSong","SimSun",serif;
  --font: "Microsoft YaHei","PingFang SC",system-ui,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:86px}
body{margin:0;min-width:280px;background:var(--page);color:var(--cream);font:15px/1.65 var(--font)}
button,a{font:inherit;color:inherit;-webkit-tap-highlight-color:transparent}
button{cursor:pointer;border:0;background:none}
button:focus-visible,a:focus-visible{outline:2px solid #f1c575;outline-offset:5px}
a{text-decoration:none}
h1,h2,h3,p{margin:0}
button:disabled{cursor:wait}
.ico{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round;flex:none}
.icon-bank{position:absolute;width:0;height:0;overflow:hidden}
.wrap{width:min(1216px,calc(100% - clamp(48px,9vw,148px)));margin-inline:auto}
.skip{position:fixed;z-index:15;left:18px;top:-90px;color:#171914;background:var(--gold);padding:8px 16px}
.skip:focus{top:12px}
.masthead{position:sticky;top:0;z-index:12;background:#161912f2;border-bottom:1px solid #93825e44;backdrop-filter:blur(14px)}
.top-bar{height:70px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:inline-flex;gap:10px;align-items:center;white-space:nowrap;color:var(--cream);font:600 23px/1 var(--serif);letter-spacing:3px}
.brand-mark{width:34px;height:35px;display:grid;place-items:center;border:1px solid #b99a62;border-radius:8px 3px 8px 3px;transform:rotate(-2deg);color:var(--gold)}
.brand-mark .ico{width:25px;height:25px}
.top-nav,.tools{display:flex;align-items:center}
.top-nav{height:100%;gap:clamp(15px,2.15vw,35px)}
.top-nav a,.top-nav button{position:relative;display:inline-flex;align-items:center;gap:5px;padding:0;height:100%;color:#c6c4b4;font-size:14px;letter-spacing:.5px}
.top-nav a:hover,.top-nav .current,.top-nav button:hover{color:#ebc994}
.top-nav .current:after{content:"";position:absolute;bottom:13px;left:50%;width:14px;height:2px;background:#c9a468;transform:translateX(-50%)}
.top-nav .ico{width:11px;height:11px}
.tools{gap:8px}.icon-tool,.profile{display:inline-flex;align-items:center;justify-content:center;border:1px solid #94815b44;color:#d4c5a3;background:#e5c48004;height:33px;transition:background .2s,border-color .2s}.icon-tool{width:34px;border-radius:50%}.icon-tool .ico{width:16px;height:16px}.icon-tool:hover,.profile:hover{background:#d4b27416;border-color:#a18a5d}.profile{gap:7px;border-radius:20px;padding:0 12px;font-size:12px}.profile .ico{width:14px;height:14px}.icon-tool[aria-pressed="true"]{color:#efcc89;border-color:#ab8f5b80}
.scene{position:relative;isolation:isolate;overflow:hidden;height:clamp(540px,69vh,765px);background:#322a20;border-bottom:1px solid #ae946435}
.plane,.embers,.scene-tone{pointer-events:none;position:absolute}
.plane{transform:translate3d(var(--mx,0px),var(--my,0px),0)}
.scene-art,.temple-front{inset:-29px -34px;background-image:url("assets/mountain-temple.webp");background-size:cover;background-position:50% 53%;will-change:transform}
.temple-front{mask-image:linear-gradient(90deg,transparent 54%,#000 78%);-webkit-mask-image:linear-gradient(90deg,transparent 54%,#000 78%)}
.scene-tone{inset:0;background:linear-gradient(90deg,#141712c9 0%,#171a14a8 28%,#1619111f 62%,transparent 83%),linear-gradient(0deg,#151814ed 0%,#1f201313 24%,transparent 80%,#20221935)}
.mist{inset:10% -12% -25%;background:radial-gradient(ellipse at 65% 62%,#edc99815 0,transparent 40%);mix-blend-mode:screen}
.compass{width:clamp(230px,27vw,405px);aspect-ratio:1;left:4.8%;top:50%;margin-top:clamp(-202px,-13.5vw,-115px);opacity:.43;color:#bda574}
.compass-shell,.orbit{position:absolute;inset:0;border:1px solid #d1b78755;border-radius:50%}
.compass-shell{transform:rotate(-8deg)}.compass-shell:before,.compass-shell:after{content:"";position:absolute;inset:6%;border:1px solid #c5ac7b70;border-radius:50%}.compass-shell:after{inset:11%;opacity:.65}
.compass-shell i{position:absolute;inset:0;transform:rotate(var(--a))}.compass-shell i:before{content:"";position:absolute;top:0;left:50%;width:1px;height:var(--l);background:#cab080}
.orbit{inset:17%;transform:rotate(-19deg) scaleX(.52);opacity:.42}.orbit-b{transform:rotate(54deg) scaleX(.52)}
.embers{inset:0;width:100%;height:100%;z-index:1}
.hero-wrap{position:relative;z-index:2;height:100%;display:flex;align-items:center;pointer-events:none}
.hero-copy{padding-bottom:24px;margin-left:clamp(0px,2.4vw,38px);text-shadow:0 3px 24px #140f09a8}
.hero-eyebrow{display:flex;align-items:center;gap:12px;color:#e0c695;font:500 15px/1.6 var(--serif);letter-spacing:4px}
.hero-eyebrow i{width:27px;border-top:1px solid #d4b47d}
.title-lock{display:flex;align-items:flex-start;gap:13px;margin:17px 0 14px}
.title-lock h1{font-family:"STXingkai","华文行楷","KaiTi","STKaiti",var(--serif);font-size:clamp(68px,7.4vw,119px);font-weight:400;line-height:1.2;letter-spacing:.065em;color:#f6e7bf}
.seal{border:1px solid #e1b58b85;transform:rotate(-5deg);color:#f3c6a6;background:#873d2dc9;font:14px/1 var(--serif);padding:4px 2px;margin-top:15px;box-shadow:inset 0 0 0 2px #5c281c}
.hero-copy p{font:400 clamp(17px,1.35vw,23px)/1.95 var(--serif);letter-spacing:2px;color:#e8dfcb}
.hero-buttons{display:flex;gap:14px;margin-top:30px;pointer-events:auto;width:max-content;max-width:100%}
.action{display:inline-flex;justify-content:center;align-items:center;gap:11px;padding:11px 25px;min-height:47px;border-radius:5px;font:600 17px/1.4 var(--serif);letter-spacing:2px;transition:background .2s,transform .22s,border-color .2s}
.action .ico{width:19px;height:19px}.action:hover{transform:translateY(-2px)}.action:active{transform:translateY(1px)}
.primary{background:#9d4738;color:#fff1d7;border:1px solid #bf6953;box-shadow:0 8px 24px #120b0840}.primary:hover{background:#aa5040}
.secondary{border:1px solid #b99b6dba;background:#1f2118ad;color:#eed4a4}.secondary:hover{background:#423825d9}
.scene-foot{position:absolute;inset:auto 0 23px;display:flex;justify-content:space-between;align-items:center;z-index:2;color:#d2c6af}
.scroll-link,.date-link{display:inline-flex;align-items:center;gap:10px;font-size:12px;letter-spacing:1.4px}
.scroll-link i{height:20px;border-left:1px solid #c8ac79}.scroll-link .ico{width:12px;height:12px}.date-link{padding:4px 0;color:#e2d7bd}.date-link .ico{width:15px;height:15px}
.directory{padding-top:45px;padding-bottom:20px}
.section-head,.section-head>div{display:flex;align-items:center}.section-head{justify-content:space-between;margin-bottom:23px}.section-head>div{gap:15px}
.rule{display:inline-block;position:relative;width:5px;height:24px;border-left:2px solid #d09362;border-right:1px solid #a27c49}.section-head h2,.archive h2{font:600 clamp(28px,2.45vw,40px)/1.25 var(--serif);letter-spacing:.13em}
.text-link{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:#c5ae82}.text-link .ico{width:16px;height:16px}
.entries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.entry{position:relative;isolation:isolate;min-width:0;min-height:105px;text-align:left;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;padding:20px;overflow:hidden;border:1px solid #9f8e633b;border-radius:7px;background:linear-gradient(115deg,#26281f,#22241c 72%,#28291d);transform:perspective(850px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:border-color .22s,box-shadow .22s,opacity .32s}
.entry:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(200px circle at var(--hx,50%) var(--hy,50%),#cba86b15,transparent 90%);opacity:0;transition:opacity .2s}
.entry:hover,.entry:focus-visible{border-color:#bda5749e;box-shadow:0 4px 14px #090b082e}.entry:hover:before,.entry:focus-visible:before{opacity:1}
.entry-icon{height:49px;width:49px;border:1px solid #a38e594d;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle,#c1a46514,#b2945503);color:#dbbc84}.entry-icon .ico{width:26px;height:26px;stroke-width:1.25}
.entry-body{min-width:0}.entry-body strong{display:block;color:#f0e4c9;font:600 21px/1.45 var(--serif);letter-spacing:2px}.entry-body>span{display:block;color:#b9b5a5;margin-top:4px;font-size:12px;line-height:1.6}.entry-arrow{color:#c1a77588;display:flex;transition:transform .22s}.entry-arrow .ico{width:16px}.entry:hover .entry-arrow{transform:translateX(3px);color:#e7cda0}
.reading{margin-top:25px}.archive{border-block:1px solid var(--line);display:flex;justify-content:space-between;gap:24px;align-items:center;padding:36px clamp(22px,4vw,65px);background:radial-gradient(ellipse at 85% 50%,#38332677,transparent 60%),#1c1e17}
.archive-copy .rule{height:15px;margin-bottom:9px}.archive h2{font-size:28px}.archive-copy p{font-size:14px;color:var(--muted);margin-top:9px}.book-row{display:flex;gap:12px;align-items:center;perspective:550px}
.book{position:relative;height:116px;width:78px;border:1px solid #9480649c;border-left:4px double #bba581;background:repeating-linear-gradient(0deg,#6b61421a 0 1px,transparent 1px 3px),#4a4e3e;box-shadow:3px 3px #c5bfa36e,6px 6px #0b0c0980;transform:rotate(-4deg);transition:transform .2s}.book:nth-child(2){background-color:#574335;transform:rotate(3deg)}.book:nth-child(3){background-color:#424447;transform:rotate(-2deg)}.book:hover{transform:translateY(-6px)}.book strong{position:absolute;top:10px;right:10px;writing-mode:vertical-rl;letter-spacing:3px;font:600 17px var(--serif);color:#42372a;background:#d6c5a4;border:1px solid #a89573;padding:5px 2px}.book span:last-child{position:absolute;bottom:7px;left:8px;font:10px var(--serif);color:#e2d7b7}
.rituals{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:25px;margin-bottom:45px}
.ritual{display:flex;align-items:center;gap:12px;text-align:left;padding:20px;border:1px solid var(--line);border-radius:5px;background:#21231c}
.ritual span{display:flex;color:var(--gold)}.ritual strong{font:600 18px var(--serif)}.ritual em{font-size:13px;font-style:normal;color:var(--muted)}.ritual>.ico{margin-left:auto;width:16px;color:var(--gold)}
.footer{padding-block:23px 35px;border-top:1px solid var(--line);display:flex;align-items:center;gap:18px;color:#b4b19f;font-size:12px}.footer-brand{font-size:17px}.footer-brand .brand-mark{width:26px;height:27px}.footer-brand .ico{width:20px;height:20px}.footer a{margin-left:auto}.mobile-nav{display:none}
[data-reveal].is-waiting:not(.is-visible){opacity:0}
:root[data-motion="off"] *,:root[data-motion="off"] *:before,:root[data-motion="off"] *:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
:root[data-motion="off"]{scroll-behavior:auto}
@media(max-width:1080px){.top-nav{gap:15px}.top-nav button,.top-nav a{font-size:13px}.entry{padding:16px;gap:12px}.wrap{width:calc(100% - 64px)}.entry-icon{width:41px;height:41px}.entry-body strong{font-size:19px}.hero-copy{margin-left:1vw}}
@media(max-width:820px){.top-nav{display:none}.top-bar{height:61px}.mobile-nav{z-index:11;position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(6,1fr);padding:7px 2px max(7px,env(safe-area-inset-bottom));background:#181b14f5;backdrop-filter:blur(10px);border-top:1px solid var(--line)}.mobile-nav>*{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#d1c7ae;font-size:10px}.mobile-nav .ico{height:19px;width:19px}.mobile-nav .active{color:#f5d18e}.footer{padding-bottom:88px}.entries{grid-template-columns:repeat(2,minmax(0,1fr))}.scene{height:clamp(490px,66vh,630px)}.scene-art,.temple-front{background-position:65% center}.scene-tone{background:linear-gradient(90deg,#171a13b5,#171a1350 55%,#171a130d),linear-gradient(0deg,#161913ed,transparent 52%)}.ritual em{display:none}}
@media(max-width:560px){.wrap{width:calc(100% - 36px)}.top-bar{height:57px;gap:10px}.brand{font-size:20px;gap:8px;letter-spacing:2px}.brand-mark{width:29px;height:29px}.brand-mark .ico{height:22px;width:22px}.tools{gap:6px}.icon-tool,.profile{width:31px;height:31px;padding:0}.profile span{display:none}.profile{border-radius:50%}.scene{height:clamp(490px,66svh,620px)}.scene-art,.temple-front{background-position:72% center}.scene-tone{background:linear-gradient(90deg,#11160fc2 0%,#13170f74 47%,transparent 100%),linear-gradient(0deg,#161913f7 0%,#171a1355 39%,#171a1306 100%)}.hero-copy{margin-left:3px;padding-bottom:2px}.compass{width:215px;left:-18%;margin-top:-108px;opacity:.34}.hero-eyebrow{font-size:12px;letter-spacing:3px}.hero-copy p{font-size:16px;letter-spacing:1.2px}.title-lock{margin:11px 0 13px;gap:5px}.title-lock h1{font-size:clamp(50px,14vw,75px);letter-spacing:.015em}.seal{font-size:11px;margin-top:7px}.action{min-height:43px;font-size:15px;padding:9px 17px;gap:8px}.action .ico{width:17px;height:17px}.hero-buttons{margin-top:24px;gap:10px}.scene-foot{bottom:18px}.scroll-link,.date-link{gap:5px;font-size:10px;letter-spacing:.3px}.date-link>.ico:last-child{display:none}.directory{padding-top:27px;padding-bottom:8px}.entries{grid-template-columns:1fr;gap:9px}.section-head{margin-bottom:15px}.section-head h2{font-size:25px}.section-head>div{gap:10px}.text-link{font-size:12px}.entry{min-height:78px;padding:13px 17px}.entry-icon{height:43px;width:43px}.entry-body strong{font-size:19px}.entry-body>span{margin-top:2px}.reading{margin-top:20px}.archive{flex-direction:column;align-items:flex-start;gap:21px;padding:24px 18px}.book-row{align-self:center}.archive-copy p{font-size:13px}.rituals{grid-template-columns:1fr;gap:8px;margin:15px auto 25px}.ritual{padding:14px}.ritual em{display:block;font-size:12px}.footer{gap:10px;flex-wrap:wrap;font-size:11px}.footer-brand{font-size:15px}}
@media(prefers-reduced-motion:reduce){html:not([data-motion="on"]){scroll-behavior:auto}:root:not([data-motion="on"]) *,:root:not([data-motion="on"]) *:before,:root:not([data-motion="on"]) *:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}:root:not([data-motion="on"]) [data-reveal]{opacity:1!important}}

/* Keep the copy still as the panorama and its foreground shift around it. */
.hero-wrap{justify-content:center}
.hero-copy{margin-inline:0;text-align:center}
.hero-eyebrow,.title-lock,.hero-buttons{justify-content:center}
.hero-eyebrow:after{content:"";width:27px;border-top:1px solid #d4b47d}
.hero-buttons{margin-inline:auto}
.compass{left:50%;margin-left:clamp(-202px,-13.5vw,-115px);opacity:.28}
.scene-tone{background:radial-gradient(ellipse at 50% 49%,#1c1b14a8 0%,#1d1c1577 27%,transparent 60%),linear-gradient(0deg,#151814ee 0%,#1e20153d 27%,#191c1424 77%,#16191035)}
.scene{height:clamp(550px,73vh,800px)}
.top-nav .wide-only{display:none}
@media(min-width:1320px){.top-bar{width:calc(100% - 64px);max-width:1480px}.top-nav{gap:18px}.top-nav .wide-only{display:inline-flex}}
@media(max-width:820px){.scene{height:clamp(490px,69svh,640px)}}
@media(max-width:560px){.compass{left:50%;margin-left:-107px;opacity:.4}.scene-tone{background:radial-gradient(ellipse at 50% 48%,#17180fb5 0%,#14170f7d 36%,#1819122e 72%),linear-gradient(0deg,#161913ee 0%,#191b1330 55%,#1719101f)}.hero-buttons{flex-direction:column;gap:9px;width:min(216px,100%);margin-top:22px}.hero-copy{padding-bottom:16px}.hero-eyebrow:after,.hero-eyebrow i{width:18px}.action{min-height:41px}.scene{height:clamp(520px,69svh,620px)}}