:root { --ink:#172620; --forest:#183b31; --jade:#316654; --moss:#63856d; --paper:#f5f0e4; --paper-deep:#e8dfc9; --gold:#b99456; --line:rgba(24,59,49,.16); --serif:"Songti SC","STSong","Noto Serif CJK SC",serif; --sans:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:var(--sans); line-height:1.65; }
button,input { font:inherit; }
button { color:inherit; }
a { color:inherit; }
.site-header { height:72px; display:flex; align-items:center; justify-content:space-between; max-width:1200px; margin:auto; padding:0 32px; position:relative; z-index:5; }
.brand { display:flex; align-items:center; gap:10px; color:var(--forest); text-decoration:none; font-family:var(--serif); font-size:21px; font-weight:700; }
.brand-mark,.book-seal { display:grid; place-items:center; color:var(--paper); background:var(--forest); border-radius:50%; font-family:var(--serif); }
.brand-mark { width:34px; height:34px; font-size:18px; }
.site-header nav { display:flex; gap:28px; }
.site-header nav a { color:#365146; font-size:14px; text-decoration:none; }
.site-header nav a:hover { color:var(--forest); }
.menu-button { display:none; border:0; background:transparent; padding:8px; }
.menu-button span { display:block; width:22px; height:1px; background:var(--forest); margin:5px; }
.hero { min-height:610px; max-width:1440px; margin:0 auto; position:relative; overflow:hidden; color:#fff9e9; }
.hero-image,.hero-shade { position:absolute; inset:0; }
.hero-image { background:url("assets/hero-mountains.png") center/cover no-repeat; transform:scale(1.005); }
.hero-shade { background:linear-gradient(90deg,rgba(11,27,21,.78) 0%,rgba(11,27,21,.48) 43%,rgba(11,27,21,.08) 74%), linear-gradient(0deg,rgba(7,20,15,.5),transparent 55%); }
.hero-content { position:relative; z-index:1; max-width:600px; padding:126px 72px 110px; }
.eyebrow { margin:0 0 12px; color:var(--jade); font-size:12px; font-weight:700; letter-spacing:2px; text-transform:uppercase; }
.hero .eyebrow { color:#e6d2a2; }
h1,h2,h3,p { margin-top:0; }
h1,h2,h3 { font-family:var(--serif); letter-spacing:0; }
h1 { font-size:68px; line-height:1; margin:0 0 22px; font-weight:700; }
h2 { color:var(--forest); font-size:38px; line-height:1.25; margin-bottom:14px; }
h3 { font-size:20px; margin-bottom:8px; }
.hero-copy { color:rgba(255,249,233,.9); max-width:520px; font-size:17px; line-height:1.85; }
.hero-actions { display:flex; gap:12px; margin-top:30px; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 20px; text-decoration:none; font-size:14px; border:1px solid transparent; }
.button-primary { background:#e6d2a2; color:#1a352b; }
.button-primary:hover { background:#fff0c8; }
.button-quiet { border-color:rgba(255,255,255,.5); color:#fff9e9; }
.hero-note { position:absolute; right:36px; bottom:20px; z-index:1; color:rgba(255,249,233,.72); font-size:12px; }
.stats-band { display:grid; grid-template-columns:repeat(4,1fr); max-width:1120px; margin:-42px auto 0; position:relative; z-index:2; background:#fffdf6; box-shadow:0 12px 35px rgba(26,54,42,.13); }
.stats-band div { padding:25px 30px; border-right:1px solid var(--line); }
.stats-band div:last-child { border:0; }
.stats-band strong,.stats-band span { display:block; }
.stats-band strong { font-family:var(--serif); color:var(--forest); font-size:25px; line-height:1.2; }
.stats-band span { color:#698076; font-size:12px; margin-top:4px; }
.section { max-width:1120px; margin:0 auto; padding:110px 32px; }
.section-heading { max-width:720px; }
.section-heading > p:last-child { color:#52655d; }
.section-heading.compact { max-width:none; display:flex; align-items:baseline; justify-content:space-between; }
.section-heading.compact h2 { margin:0; }
.history-section { display:grid; grid-template-columns: .95fr 1.05fr; gap:80px; }
.timeline { padding-top:10px; }
.timeline-entry { display:block; position:relative; padding:0 0 25px 34px; border-left:1px solid var(--line); text-decoration:none; }
.timeline-entry:before { content:""; position:absolute; width:9px; height:9px; border:2px solid var(--jade); border-radius:50%; background:var(--paper); left:-6px; top:5px; }
.timeline-entry:last-child { padding-bottom:0; }
.timeline-entry:hover h3,.timeline-entry:focus-visible h3 { color:var(--jade); }
.timeline-entry:focus-visible { outline:2px solid var(--jade); outline-offset:5px; }
.timeline-entry .period { color:var(--moss); font-size:12px; font-weight:700; letter-spacing:1px; }
.timeline-entry p { color:#52655d; font-size:14px; margin-bottom:0; }
.timeline-link { display:inline-flex; align-items:center; gap:5px; margin-top:10px; color:var(--jade); font-size:12px; font-weight:700; }
.timeline-link b { font-size:16px; font-weight:400; transition:transform .2s; }
.timeline-entry:hover .timeline-link b { transform:translateX(3px); }
.featured-section { padding-top:0; }
.featured-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr; min-height:320px; margin-top:28px; }
.featured-book { text-align:left; border:1px solid var(--line); background:#ecdfc5; padding:34px; cursor:pointer; transition:transform .2s, box-shadow .2s; display:flex; flex-direction:column; align-items:flex-start; }
.featured-book:nth-child(3) { background:#dce5d9; }
.featured-book:hover,.book-card:hover { transform:translateY(-3px); box-shadow:0 14px 30px rgba(22,51,41,.12); }
.featured-main { background:var(--forest); color:#f8f0dd; border-color:var(--forest); }
.book-seal { width:34px; height:34px; font-size:17px; flex:0 0 auto; }
.featured-main .book-seal { background:#e6d2a2; color:var(--forest); }
.book-meta { font-size:12px; color:#62766b; margin-top:32px; }
.featured-main .book-meta { color:#d4c8a8; }
.featured-book strong { font-family:var(--serif); font-size:27px; line-height:1.25; margin-top:6px; }
.featured-book em { font-family:var(--serif); font-size:16px; margin-top:12px; font-style:normal; color:#d6c69f; }
.book-link,.open-book { margin-top:auto; padding-top:30px; font-size:13px; }
.book-link b,.open-book b { font-size:18px; font-weight:400; margin-left:4px; }
.library-section { background:#efe8d8; max-width:none; padding-left:max(32px,calc((100vw - 1056px)/2)); padding-right:max(32px,calc((100vw - 1056px)/2)); }
.library-heading { max-width:1056px; margin:auto; display:flex; align-items:end; justify-content:space-between; gap:24px; }
.library-heading h2 { margin:0; }
.search-box { position:relative; width:310px; }
.search-box input { width:100%; height:44px; border:1px solid var(--line); background:#faf7ee; padding:0 38px 0 14px; outline:none; font-size:14px; }
.search-box input:focus { border-color:var(--jade); box-shadow:0 0 0 3px rgba(49,102,84,.12); }
.search-box span:last-child { position:absolute; right:14px; top:8px; color:var(--jade); font-size:24px; }
.filter-bar { max-width:1056px; margin:30px auto 24px; display:flex; gap:8px; flex-wrap:wrap; }
.filter-bar button { min-height:34px; border:1px solid var(--line); background:transparent; padding:0 13px; color:#51665c; cursor:pointer; font-size:13px; }
.filter-bar button.is-active,.filter-bar button:hover { border-color:var(--forest); background:var(--forest); color:#fffaf0; }
.book-grid { max-width:1056px; margin:auto; display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.book-card { min-height:228px; text-align:left; border:1px solid var(--line); background:#faf7ee; padding:23px; cursor:pointer; transition:transform .2s,box-shadow .2s; display:flex; flex-direction:column; align-items:flex-start; }
.book-card-top { width:100%; display:flex; justify-content:space-between; align-items:center; color:#74877c; font-size:11px; }
.book-card-top .book-seal { width:30px; height:30px; background:#dce5d9; color:var(--forest); }
.book-card strong { font-family:var(--serif); color:var(--forest); font-size:23px; margin-top:22px; line-height:1.2; }
.book-card small { color:#7a8a80; font-size:11px; margin-top:7px; }
.book-card p { color:#506359; font-size:13px; line-height:1.65; margin:13px 0 0; }
.empty-state { grid-column:1/-1; color:#63786d; }
.collection-note { max-width:1056px; margin:24px auto 0; color:#6b7d72; font-size:12px; }
.guide-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:36px; margin-top:32px; }
.guide-grid article { border-top:1px solid var(--forest); padding-top:20px; }
.guide-grid span { display:block; color:var(--gold); font-family:var(--serif); font-size:18px; }
.guide-grid p { color:#5e6d65; font-size:14px; }
.pathway-section { padding-top:96px; }
.pathway-section .section-heading>p { max-width:390px; margin:0; color:#687a70; font-size:13px; }
.pathway-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:0; margin-top:34px; border-top:1px solid var(--forest); border-bottom:1px solid var(--line); }
.pathway-grid article { min-height:300px; padding:30px 28px; border-right:1px solid var(--line); display:flex; flex-direction:column; align-items:flex-start; }
.pathway-grid article:last-child { border-right:0; }
.path-number { color:var(--gold); font-family:var(--serif); font-size:13px; }
.pathway-grid h3 { margin-top:42px; color:var(--forest); font-size:25px; }
.pathway-grid p { color:#596d62; font-size:14px; }
.pathway-grid a,.pathway-grid button { margin-top:auto; padding:0; border:0; background:transparent; color:var(--jade); text-decoration:none; font-size:13px; cursor:pointer; }
.pathway-grid b,.answer-panel b { margin-left:5px; font-size:17px; font-weight:400; }
.ask-section { padding:100px max(32px,calc((100vw - 1056px)/2)); background:var(--forest); color:#f7eedb; }
.ask-inner { max-width:1056px; margin:auto; }
.ask-heading { max-width:660px; }
.ask-heading .eyebrow { color:#d3bc83; }
.ask-heading h2 { color:#fff7e6; }
.ask-heading>p:last-child { color:#b9c8bd; }
.ask-layout { display:grid; grid-template-columns:.92fr 1.08fr; gap:56px; margin-top:42px; }
.question-list { display:grid; align-content:start; }
.question-list button { display:grid; grid-template-columns:34px 1fr; gap:12px; padding:20px 0; border:0; border-bottom:1px solid rgba(255,255,255,.16); background:transparent; color:#c9d4ca; text-align:left; cursor:pointer; }
.question-list button span { color:#9ab1a2; font-size:11px; }
.question-list button:hover,.question-list button.is-active { color:#fff5df; }
.answer-panel { min-height:340px; padding:42px; border:1px solid rgba(230,210,162,.34); background:#f3ecd9; color:var(--ink); }
.answer-label { color:var(--moss); font-size:11px; font-weight:700; }
.answer-panel h3 { margin-top:28px; color:var(--forest); font-size:28px; }
.answer-panel p { color:#4c6055; line-height:1.9; }
.answer-panel button { margin-top:32px; padding:0; border:0; background:transparent; color:var(--jade); cursor:pointer; }
.quiet-preview { min-height:580px; max-width:1440px; margin:0 auto; position:relative; overflow:hidden; color:#fff7e6; }
.quiet-preview-image,.quiet-preview-shade { position:absolute; inset:0; }
.quiet-preview-image { background:url("assets/quiet-temple-night-v1.png") center/cover no-repeat; }
.quiet-preview-shade { background:linear-gradient(90deg,rgba(4,15,14,.86),rgba(4,15,14,.46) 55%,rgba(4,15,14,.14)); }
.quiet-preview-content { position:relative; z-index:1; max-width:600px; padding:140px 72px 110px; }
.quiet-preview-content .eyebrow { color:#d9c28c; }
.quiet-preview-content h2 { color:#fff7e6; font-size:45px; }
.quiet-preview-content p { max-width:480px; color:#ccd8d0; font-size:15px; line-height:1.9; }
.faq-section { padding-top:96px; }
.faq-list { margin-top:28px; border-top:1px solid var(--forest); }
.faq-list details { border-bottom:1px solid var(--line); }
.faq-list summary { padding:22px 4px; color:var(--forest); font-family:var(--serif); font-size:20px; cursor:pointer; }
.faq-list p { max-width:760px; padding:0 4px 22px; margin:0; color:#596b62; font-size:14px; }
.support-band { display:flex; align-items:center; justify-content:space-between; gap:40px; max-width:1120px; margin:0 auto 110px; padding:48px; background:#e5dac0; }
.support-band h2 { margin-bottom:7px; font-size:31px; }
.support-band p { margin:0; color:#5d6e65; font-size:14px; }
.support-band .button-primary { flex:0 0 auto; background:var(--forest); color:#fff7e6; }
.footer-links { display:flex; flex-wrap:wrap; gap:20px; margin-top:18px; }
.footer-links a { color:#e8d39f; text-decoration:none; }
footer { background:var(--forest); color:#d8dece; padding:46px max(32px,calc((100vw - 1056px)/2)); font-size:12px; }
.footer-brand { display:flex; align-items:center; gap:9px; color:#f7eedb; font-family:var(--serif); font-size:17px; margin-bottom:15px; }
.footer-brand span { border:1px solid #d2bc84; display:grid; place-items:center; width:28px; height:28px; color:#e6d2a2; }
footer p { max-width:730px; margin-bottom:8px; }
.record-slot { color:#e8d39f; }
.reader { width:min(1500px,calc(100vw - 24px)); height:calc(100dvh - 24px); max-height:calc(100dvh - 24px); max-width:none; padding:0; border:0; background:transparent; color:var(--ink); }
.reader::backdrop { background:rgba(11,27,21,.68); backdrop-filter:blur(3px); }
.reader-shell { background:#fbf7ec; height:100%; max-height:inherit; overflow:auto; }
.reader-header { display:flex; justify-content:space-between; align-items:flex-start; padding:30px 36px 20px; border-bottom:1px solid var(--line); }
.reader-header p { color:var(--moss); font-size:12px; font-weight:700; margin-bottom:3px; }
.reader-header h2 { margin:0; font-size:30px; }
.reader-tools { display:flex; gap:7px; }
.icon-button { width:36px; height:36px; border:1px solid var(--line); background:transparent; color:var(--forest); font-size:25px; line-height:1; cursor:pointer; }
.icon-button:hover { background:var(--forest); color:#fffaf0; }
.type-button { font-family:var(--sans); font-size:12px; font-weight:700; }
.reader-modebar { display:flex; align-items:center; gap:8px; padding:12px 36px; border-bottom:1px solid var(--line); background:#f4eddd; }
.reader-modebar button { min-height:31px; border:1px solid var(--line); background:transparent; color:#52655d; padding:0 12px; font-size:12px; cursor:pointer; }
.reader-modebar button.is-active,.reader-modebar button:hover { color:#fffaf0; border-color:var(--forest); background:var(--forest); }
.reader-info-toggle { display:none; }
.reader-modebar span { margin-left:auto; color:#728378; font-size:11px; }
.reader-body { display:grid; grid-template-columns:260px minmax(0,1fr); min-height:calc(100% - 199px); }
.reader-aside { background:#eee4ce; padding:30px; color:#506359; font-size:14px; }
.reader-aside dl { border-top:1px solid var(--line); margin:25px 0; padding-top:16px; }
.reader-aside dl div { margin-bottom:13px; }
.reader-aside dt { color:#74877c; font-size:11px; }
.reader-aside dd { margin:2px 0 0; }
.bookmark-button,.inline-reader-button,.source-link { display:flex; width:100%; justify-content:space-between; align-items:center; border:1px solid var(--forest); color:var(--forest); min-height:42px; padding:0 12px; background:transparent; text-decoration:none; font-size:13px; text-align:left; cursor:pointer; }
.bookmark-button { margin-bottom:6px; border-color:#9fb8a7; color:#315f4f; }
.bookmark-button span { font-size:16px; }
.bookmark-button.is-saved { background:#dce9da; border-color:#6e947c; }
.bookmark-hint { color:#77867e; font-size:11px; line-height:1.45; margin:0 0 16px; }
.inline-reader-button { margin-bottom:8px; background:var(--forest); color:#fffaf0; }
.inline-reader-button:hover,.source-link:hover { color:#fffaf0; background:var(--jade); }
.reader-text { padding:48px clamp(36px,5vw,80px) 72px; font-family:var(--serif); font-size:var(--reader-font-size,18px); line-height:2.05; }
.reader-text > * { width:min(100%,920px); margin-left:auto; margin-right:auto; }
.reader-text p { margin:0 0 18px; }
.reader-lead { font-family:var(--sans); color:var(--moss); font-size:11px; font-weight:700; letter-spacing:1px; }
.comparison-heading { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:18px; }
.comparison-heading p { margin:0; }
.comparison-heading span { color:#7a887f; font-family:var(--sans); font-size:11px; }
.comparison-pair { margin:0 0 24px; border:1px solid var(--line); background:#fffaf0; }
.comparison-pair>div { padding:18px 20px; }
.comparison-pair>div+div { border-top:1px solid var(--line); }
.comparison-pair span { display:block; margin-bottom:7px; color:var(--jade); font-family:var(--sans); font-size:10px; font-weight:800; }
.comparison-pair p { margin:0; }
.classical-text p { color:#1d332b; font-weight:600; }
.modern-text { background:#f1f5ea; }
.modern-text p { color:#41554c; font-family:var(--sans); font-size:.86em; line-height:1.85; }
.reader-callout { margin-top:32px; padding:22px; background:#e7efdf; color:#40584b; font-family:var(--sans); font-size:13px; line-height:1.7; }
.reader-callout p { margin:5px 0 0; }
.embedded-notice { margin-bottom:16px; padding:11px 13px; background:#e7efdf; color:#40584b; font-family:var(--sans); font-size:12px; line-height:1.6; }
.source-frame { display:block; width:100%; height:680px; border:1px solid var(--line); background:#fff; }
.reader-footer { display:flex; justify-content:space-between; align-items:center; min-height:58px; padding:0 36px; border-top:1px solid var(--line); background:#f4eddd; }
.reader-footer button { display:flex; align-items:center; gap:8px; border:0; background:transparent; color:var(--forest); padding:10px 0; font-size:13px; cursor:pointer; }
.reader-footer button:hover { color:var(--jade); }
.reader-footer span { color:#738278; font-size:11px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (max-width:760px) { .site-header { height:62px; padding:0 18px; } .site-header nav { display:none; position:absolute; left:0; right:0; top:62px; padding:18px; background:#fbf7ec; border-bottom:1px solid var(--line); box-shadow:0 12px 20px rgba(22,51,41,.12); } .site-header.menu-open nav { display:grid; gap:14px; } .menu-button { display:block; } .hero { min-height:570px; } .hero-image { background-position:61% center; } .hero-shade { background:linear-gradient(90deg,rgba(11,27,21,.78),rgba(11,27,21,.42)),linear-gradient(0deg,rgba(7,20,15,.6),transparent 60%); } .hero-content { padding:105px 24px 104px; } h1 { font-size:54px; } h2 { font-size:30px; } .hero-copy { font-size:15px; } .hero-note { left:24px; right:24px; bottom:18px; } .stats-band { grid-template-columns:repeat(2,1fr); margin:0; box-shadow:none; } .stats-band div { padding:18px; border-bottom:1px solid var(--line); } .stats-band div:nth-child(2) { border-right:0; } .section { padding:72px 24px; } .history-section { display:block; } .timeline { margin-top:34px; } .featured-section { padding-top:0; } .featured-grid { grid-template-columns:1fr; } .featured-book { min-height:195px; } .featured-main { min-height:245px; } .library-section { padding-left:24px; padding-right:24px; } .library-heading { display:block; } .search-box { width:100%; margin-top:22px; } .book-grid { grid-template-columns:1fr; } .guide-grid { grid-template-columns:1fr; gap:20px; } .pathway-section .section-heading { display:block; } .pathway-section .section-heading>p { margin-top:12px; } .pathway-grid { grid-template-columns:1fr; } .pathway-grid article { min-height:235px; border-right:0; border-bottom:1px solid var(--line); } .pathway-grid h3 { margin-top:25px; } .ask-section { padding:72px 24px; } .ask-layout { grid-template-columns:1fr; gap:30px; } .answer-panel { min-height:0; padding:28px 24px; } .quiet-preview { min-height:580px; } .quiet-preview-image { background-position:62% center; } .quiet-preview-content { padding:125px 24px 100px; } .quiet-preview-content h2 { font-size:38px; } .support-band { display:block; margin:0 24px 72px; padding:30px 24px; } .support-band .button { margin-top:22px; } .reader { width:100vw; height:100dvh; max-height:100dvh; margin:0; inset:0; } .reader-shell { height:100%; } .reader-header { min-height:72px; padding:13px 16px 11px; align-items:center; position:sticky; top:0; background:#fbf7ec; z-index:3; } .reader-header h2 { font-size:23px; } .reader-header p { font-size:10px; } .reader-tools { gap:5px; } .icon-button { width:34px; height:34px; } .reader-modebar { min-height:48px; padding:8px 16px; position:sticky; top:72px; z-index:3; overflow-x:auto; } .reader-modebar button { flex:0 0 auto; min-height:32px; padding:0 10px; } .reader-info-toggle { display:block; } .reader-info-toggle[aria-expanded="true"] { color:#fffaf0; border-color:var(--jade); background:var(--jade); } .reader-modebar span { display:none; } .reader-body { display:block; min-height:0; } .reader-aside { display:none; padding:20px; border-bottom:1px solid var(--line); } .show-reader-info .reader-aside { display:block; } .reader-text { padding:26px 16px 72px; font-size:var(--reader-font-size,18px); } .comparison-heading { display:block; margin-bottom:14px; } .comparison-heading span { display:block; margin-top:4px; } .comparison-pair { margin-bottom:18px; } .comparison-pair>div { padding:17px 16px; } .modern-text p { font-size:.92em; line-height:1.9; } .source-frame { height:calc(100dvh - 220px); } .reader-footer { min-height:56px; padding:0 16px; position:sticky; bottom:0; z-index:3; } }
