/*
Theme Name: Yi Lantern
Author: Yi Lantern
Description: Dark editorial homepage and illustrative I Ching report preview. Presentation only; live readings and payments are not connected.
Version: 0.2.0
Requires at least: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yilantern
*/
:root{--bg:#111914;--panel:#19221c;--ink:#f1eee3;--muted:#adb5a9;--gold:#c9b27b;--line:rgba(204,197,168,.19);--serif:Georgia,'Times New Roman',serif;--sans:Arial,Helvetica,sans-serif;color-scheme:dark}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:35px}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:15px;line-height:1.65}body:has(dialog[open]){overflow:hidden}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer}button,a,summary,textarea{outline-offset:6px}button:focus-visible,a:focus-visible,summary:focus-visible,textarea:focus-visible{outline:2px solid var(--gold)}button{color:inherit}button:disabled{cursor:not-allowed}::selection{background:#c9b27b;color:#111914}.wrap{width:min(1240px,calc(100% - 100px));margin-inline:auto}.preview-note{text-align:center;padding:7px 18px;background:#233027;color:#d2c7a8;font-size:9px;letter-spacing:1.8px}.preview-note span{margin-left:16px;letter-spacing:.5px;color:#b7bcae}.site-header{height:112px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:inline-flex;gap:14px;align-items:center;font-family:var(--serif);font-size:23px;letter-spacing:3px}.brand small{display:block;margin-top:2px;font-family:var(--sans);font-size:7px;letter-spacing:2px;color:var(--muted)}.brand-seal{font-size:27px;line-height:44px;width:43px;height:45px;text-align:center;letter-spacing:0;color:var(--gold);border:1px solid #927c50;border-radius:2px}.site-header nav{display:flex;gap:36px;font-size:12px;color:#c4c9bd}.site-header nav a:hover,.text-link:hover{color:var(--gold)}.account-link{border:0;background:none;font-size:12px}.account-link span{margin-left:12px;color:var(--gold)}.hero{min-height:620px;display:grid;grid-template-columns:1.06fr 1fr;gap:38px;align-items:center;padding-top:40px;padding-bottom:55px}.eyebrow{font-size:10px;letter-spacing:2.1px;color:var(--gold);font-weight:normal;margin:0 0 24px}.small-line{display:inline-block;width:25px;height:1px;background:var(--gold);vertical-align:middle;margin-right:10px}h1,h2,h3,h4{font-family:var(--serif);font-weight:400;line-height:1.08;margin-top:0}h1{font-size:clamp(48px,4.6vw,69px);letter-spacing:-2.5px;margin-bottom:25px}em{font-weight:400;color:var(--gold)}.hero-description{max-width:410px;color:var(--muted);font-size:14px;line-height:1.9;margin:0 0 32px}.hero-actions{display:flex;align-items:center;gap:30px}.button{padding:15px 23px;display:inline-flex;align-items:center;justify-content:space-between;gap:28px;font-size:12px;line-height:1.5;border:1px solid transparent;border-radius:2px;transition:background .2s,transform .2s}.button:hover{transform:translateY(-2px)}.primary{background:var(--gold);color:#172019}.primary:hover{background:#e0ca95}.outline{background:transparent;border-color:#7b816d}.outline:hover{background:#263126}.text-link{font-size:12px;border-bottom:1px solid var(--line);padding:8px 0}.text-link span{margin-left:10px}.quiet-note{font-size:10px;color:#8d998b;margin-top:19px;letter-spacing:.3px}.oracle-art{position:relative;color:#b69b64;align-self:center;isolation:isolate}.oracle-wheel{width:100%;display:block;animation:none}.wheel-orbits{opacity:.28;stroke-width:1}.orbit-label{position:absolute;top:3%;left:50%;transform:translateX(-50%);font-size:8px;letter-spacing:3px;white-space:nowrap;color:#a69469}.art-caption{text-align:center;margin-top:-2px}.art-caption>span[lang]{font-family:var(--serif);font-size:14px;letter-spacing:6px;color:#c6b88e}.art-caption small{display:block;font-size:7px;letter-spacing:2.2px;margin-top:9px;color:#8a947f}.caption-rule{display:block;width:28px;height:1px;background:#6d7152;margin:0 auto 18px}.principles{display:flex;justify-content:space-between;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:23px 0;font-size:11px;letter-spacing:.4px;color:#c0c7ba}.principles i{font-style:normal;color:#8e9b84;margin-right:15px;font-family:var(--serif);font-size:14px}.section-space{padding-top:100px;padding-bottom:100px}h2{font-size:clamp(33px,3.2vw,45px);letter-spacing:-1.3px;margin-bottom:24px}p{margin-top:0}.reading-section{margin-top:10px;background:linear-gradient(160deg,transparent,#15201955,transparent)}.reading-layout{display:grid;grid-template-columns:.95fr 1.05fr;gap:100px;align-items:center}.section-intro>p:not(.eyebrow){max-width:365px;color:var(--muted);font-size:13px;line-height:1.9}.section-intro .sample-question{font-family:var(--serif);font-size:23px!important;line-height:1.5!important;color:#d7d9c9!important;margin-top:34px}.sample-question span{font-family:var(--sans);font-size:8px;letter-spacing:1.8px;display:block;color:#8f9c8a;margin-bottom:13px}.section-intro .subtle{font-size:10px!important;max-width:300px!important;color:#8c9888!important}.sample-report{background:#1c261e;border:1px solid #45503c;border-radius:3px;padding:28px 32px;box-shadow:0 25px 80px #0002;transform:rotate(-1deg)}.report-top{display:flex;justify-content:space-between;font-size:8px;letter-spacing:2px;color:#9eab91;border-bottom:1px solid var(--line);padding-bottom:20px}.hexagram-heading{display:flex;gap:25px;align-items:center;padding:25px 0}.hexagram{width:48px;display:grid;gap:6px;flex-shrink:0}.hexagram b{height:4px;background:linear-gradient(to right,var(--gold) 42%,transparent 42% 58%,var(--gold) 58%)}.hexagram b.solid{background:var(--gold)}.hexagram-heading p{font-size:11px;color:var(--gold);letter-spacing:2px;margin:0 0 6px}.hexagram-heading h3{font-size:35px;margin:0 0 8px}.hexagram-heading>div>span{font-size:9px;color:var(--muted)}.report-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line)}.report-tabs button{font-size:10px;padding:12px 0;border:none;background:none;color:#9fac96;border-bottom:1px solid transparent}.report-tabs button[aria-selected=true]{color:var(--gold);border-bottom-color:var(--gold)}.report-panel{padding:25px 0 12px;min-height:240px}.report-panel h4{font-size:22px;line-height:1.3;margin:0 0 15px}.report-panel p,.report-panel ol{font-size:12px;color:#bac4b0;line-height:1.9;margin-bottom:14px}.report-panel ol{padding-left:17px}.report-panel li{margin-bottom:8px}.report-bottom{border-top:1px solid var(--line);padding-top:17px;font-size:8px;color:#8e9e83;display:flex;align-items:center;gap:10px}.tiny-symbol{font-size:17px}.how-section{border-bottom:1px solid var(--line)}.section-heading{display:flex;align-items:start;justify-content:space-between}.section-heading h2{width:60%;margin-bottom:45px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:65px}.steps article>span{font-size:9px;color:#8d9e82;letter-spacing:2px}.steps h3{font-size:24px;line-height:1.25;margin:22px 0 15px}.steps p{font-size:12px;line-height:1.9;color:var(--muted);margin:0}.question-section{padding-block:70px;display:grid;grid-template-columns:1fr 1fr;gap:80px;border-bottom:1px solid var(--line)}.question-section h2{font-size:35px}.question-options button{display:flex;align-items:center;gap:20px;width:100%;padding:18px 0;border:0;border-bottom:1px solid var(--line);background:transparent;font-family:var(--serif);font-size:21px;text-align:left}.question-options button:first-child{padding-top:0}.question-options button span:first-child{font-family:var(--sans);font-size:9px;color:var(--gold)}.question-options button span:last-child{margin-left:auto;color:var(--gold);font-size:19px}.question-options button:hover{color:var(--gold)}.pricing-heading{text-align:center;margin-bottom:45px}.pricing-heading>p:last-child{font-size:11px;color:var(--muted)}.pricing-grid{max-width:930px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:25px}.price-plan{border:1px solid #3f4b38;padding:35px;background:#172019}.price-plan.monthly{background:#212b20;border-color:#747859}.plan-label{font-size:9px;color:var(--gold);letter-spacing:2px;margin-bottom:20px}.price-plan h3{font-size:25px;line-height:1.3;max-width:280px;margin-bottom:24px}.price{font-family:var(--serif);font-size:43px;line-height:1.2}.price span{font-family:var(--sans);font-size:10px;color:var(--muted);margin-left:7px}.price-plan ul{padding:23px 0 25px;list-style:none;border-top:1px solid var(--line);margin:25px 0 0;min-height:160px}.price-plan li{font-size:11px;color:#bdc6b5;position:relative;padding-left:19px;margin-bottom:13px;line-height:1.6}.price-plan li:before{content:'✓';position:absolute;left:0;color:var(--gold);font-size:10px}.price-plan .button{width:100%}.pricing-note{max-width:840px;margin:23px auto 0;text-align:center;font-size:10px;line-height:1.9;color:#8d9b87}.faq-section{display:grid;grid-template-columns:.9fr 1.1fr;gap:75px;border-top:1px solid var(--line)}.faq-section h2{font-size:35px}.faqs details{border-bottom:1px solid var(--line)}.faqs summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:20px;padding:20px 0;font-size:12px}.faqs summary::-webkit-details-marker{display:none}.faqs summary>span{color:var(--gold);font-size:18px;line-height:1}.faqs details[open] summary>span{transform:rotate(45deg)}.faqs details p{font-size:12px;color:var(--muted);line-height:1.9;padding-bottom:10px;max-width:440px}.site-footer{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:30px;padding-block:35px}.site-footer .brand{font-size:18px}.site-footer .brand small{font-size:6px}.site-footer .brand-seal{width:35px;height:37px;line-height:35px;font-size:22px}.site-footer p{font-size:9px;color:#8d9b87;margin:0;line-height:1.9}.site-footer>a:last-child{font-size:10px;color:var(--muted)}dialog{width:min(540px,calc(100% - 32px));max-height:90dvh;overflow:auto;border:1px solid #596044;background:#1b261e;color:var(--ink);padding:44px;box-shadow:0 30px 100px #0008}dialog::backdrop{background:#070d09c9;backdrop-filter:blur(6px)}dialog h2{font-size:36px}dialog p{font-size:13px;line-height:1.8}.dialog-description{color:var(--muted)}.dialog-close{position:absolute;right:17px;top:10px;border:0;background:transparent;font-size:26px;font-weight:300;color:var(--muted)}dialog label{display:block;font-size:11px;margin:20px 0 9px}dialog label span{color:var(--muted)}dialog textarea{display:block;width:100%;background:#131d16;color:var(--ink);border:1px solid #4f5c44;resize:vertical;padding:12px;font-size:13px;line-height:1.7;min-height:100px}dialog .dialog-privacy{font-size:10px;color:#a3af99;margin-top:15px}dialog .button{width:100%;margin-top:5px}[hidden]{display:none!important}.oracle-art.revisited .oracle-wheel{animation:none}@media(min-width:1500px){.hero{min-height:690px}.oracle-art{padding:15px}}@media(max-width:1050px){.wrap{width:calc(100% - 60px)}.hero{gap:15px;min-height:560px}.hero-actions{gap:18px}.button{padding:13px 17px;gap:20px}.reading-layout{gap:50px}.sample-report{padding:22px}.section-space{padding-block:75px}.steps{gap:35px}.question-section{gap:40px}.faq-section{gap:40px}}@media(max-width:760px){.wrap{width:calc(100% - 40px)}.preview-note{font-size:8px;letter-spacing:1px}.preview-note span{display:block;margin:0;letter-spacing:0}.site-header{height:90px}.brand{font-size:19px}.brand small{font-size:6px}.brand-seal{width:36px;height:39px;line-height:37px;font-size:24px}.site-header nav{display:none}.account-link{font-size:11px}.hero{grid-template-columns:1fr;padding-top:43px;padding-bottom:30px;gap:15px}.eyebrow{font-size:8px;letter-spacing:1.5px;margin-bottom:23px}h1{font-size:clamp(44px,9.2vw,64px);letter-spacing:-1.8px;line-height:1.06}.hero-description{font-size:13px;max-width:370px}.hero-actions{gap:24px;flex-wrap:wrap}.hero-actions .button{font-size:11px}.text-link{font-size:11px}.oracle-art{width:min(370px,90%);margin:10px auto 0}.orbit-label{font-size:6px}.art-caption{display:none}.principles{gap:12px;padding-block:20px;font-size:9px;letter-spacing:0}.principles>span{max-width:30%;line-height:1.6}.principles i{display:block;font-size:12px;margin:0 0 5px}.section-space{padding-block:60px}.reading-layout{grid-template-columns:1fr;gap:30px}.section-intro>p:not(.eyebrow){max-width:none}.section-intro .sample-question{margin-top:22px}.sample-report{transform:none;padding:24px}.report-panel{min-height:245px}.report-tabs{gap:25px}h2{font-size:35px}.section-heading{display:block}.section-heading h2{width:auto;margin-bottom:35px}.steps{grid-template-columns:1fr;gap:28px}.steps article{border-top:1px solid var(--line);padding-top:23px}.steps h3{margin-top:12px;margin-bottom:9px}.steps p{max-width:420px}.question-section{grid-template-columns:1fr;gap:10px;padding-block:45px}.question-section h2{font-size:31px}.question-options button{font-size:21px}.pricing-heading{text-align:left;margin-bottom:30px}.pricing-grid{grid-template-columns:1fr;gap:20px}.price-plan{padding:28px}.price-plan ul{min-height:0}.pricing-note{text-align:left}.faq-section{grid-template-columns:1fr;gap:8px}.faq-section h2{font-size:31px}.site-footer{flex-wrap:wrap;gap:25px}.site-footer p{max-width:210px}.site-footer>a:last-child{width:100%}dialog{padding:35px 25px}dialog h2{font-size:31px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.sample-report{transform:none}.button:hover{transform:none}}

/* Yi Lantern 0.2 readability and full-page entrance */
body{font-size:16px;line-height:1.75}
.preview-note{font-size:12px;line-height:1.6;letter-spacing:1px;padding:9px 18px}
.brand small{font-size:9px;letter-spacing:1.5px}
.site-header nav,.account-link,.text-link{font-size:15px}
.eyebrow{font-size:12px;line-height:1.7}
.hero{min-height:690px}.hero-description{font-size:17px;line-height:1.85;max-width:470px}
.button{font-size:15px;min-height:48px;padding:15px 22px}
.quiet-note{font-size:14px;line-height:1.7;max-width:460px}
.principles{font-size:14px;gap:24px}
.reading-layout{gap:65px}.section-intro>p:not(.eyebrow){font-size:17px;line-height:1.85}
.section-intro .subtle{font-size:14px!important;line-height:1.8!important;max-width:390px!important}
.sample-question span,.report-top{font-size:12px;letter-spacing:1.3px}
.hexagram-heading>div>span{font-size:13px;line-height:1.65;display:block}
.report-tabs{gap:26px}.report-tabs button{font-size:15px;min-height:48px;padding:12px 0}
.report-panel{min-height:355px;padding-top:25px}.report-panel h4{font-size:26px}
.report-panel p,.report-panel ol{font-size:17px;line-height:1.85}
.report-bottom{font-size:13px;line-height:1.7}
.steps article>span{font-size:12px}.steps p{font-size:16px;line-height:1.85}
.question-options button{min-height:60px}.question-options button span:first-child{font-size:12px}
.pricing-heading>p:last-child{font-size:15px}.plan-label{font-size:12px}
.price span{font-size:15px;display:inline-block}.price-plan ul{min-height:220px}
.price-plan li{font-size:16px;line-height:1.8;padding-left:23px}.price-plan li:before{font-size:14px}
.pricing-note{font-size:15px;line-height:1.85}.faqs summary{font-size:17px;min-height:58px}
.faqs details p{font-size:16px;line-height:1.85}.site-footer{flex-wrap:wrap}
.site-footer p{font-size:13px}.site-footer .brand small{font-size:8px}
.footer-actions{display:flex;align-items:center;gap:17px;flex-wrap:wrap}
.footer-actions button{background:none;border:0;border-bottom:1px solid var(--line);padding:10px 0;color:var(--muted);font-size:14px;min-height:44px}
.footer-actions a{font-size:14px;color:var(--muted)}
dialog{width:min(600px,calc(100% - 32px))}dialog p{font-size:16px;line-height:1.8}
.preview-example{border-block:1px solid var(--line);padding:20px 0;margin:24px 0}
.preview-example span{font-size:12px;letter-spacing:1.4px;color:var(--gold)}
.preview-example p{font-family:var(--serif);font-size:24px;margin:12px 0 0;line-height:1.5}
.page-content{min-height:60vh;padding-block:70px;max-width:900px}.page-content h1{font-size:45px}.page-content a{text-decoration:underline}.page-content img{max-width:100%;height:auto}
/* The entrance is hidden by default, including when JavaScript is unavailable. */
.site-entrance{position:fixed;inset:0;z-index:1000000;overflow:hidden;background:transparent;isolation:isolate}
.entrance-panel{position:absolute;top:0;bottom:0;width:50%;overflow:hidden;background:radial-gradient(ellipse at var(--disc-edge) 50%,#263023 0%,#141d16 48%,#0b120e 100%);will-change:transform}
.entrance-panel-left{left:0;--disc-edge:100%;border-right:1px solid #8b784d;animation:entrance-left 1.15s cubic-bezier(.65,0,.2,1) .9s both}
.entrance-panel-right{right:0;--disc-edge:0%;border-left:1px solid #8b784d;animation:entrance-right 1.15s cubic-bezier(.65,0,.2,1) .9s both}
.entrance-disc-mount{position:absolute;top:50%;width:min(76vw,560px);height:min(76vw,560px);transform:translate(-50%,-50%);color:#c9b27b}
.entrance-panel-left .entrance-disc-mount{left:100%}.entrance-panel-right .entrance-disc-mount{left:0}
.site-entrance .entrance-disc{display:block;width:100%;height:100%;animation:entrance-turn .85s cubic-bezier(.2,.6,.3,1) both}
.entrance-wordmark{position:absolute;left:0;right:0;top:12%;text-align:center;pointer-events:none;animation:entrance-label .45s ease .95s both}
.entrance-wordmark p{font-family:var(--serif);font-size:clamp(30px,4vw,46px);letter-spacing:6px;margin:0 0 9px}
.entrance-wordmark span{font-size:12px;letter-spacing:2px;color:var(--gold)}
.entrance-caption{position:absolute;bottom:12%;left:0;right:0;text-align:center;font-family:var(--serif);font-style:italic;font-size:22px;color:var(--gold);pointer-events:none;animation:entrance-label .45s ease .95s both}
.entrance-actions{position:absolute;right:28px;top:26px;display:flex;gap:12px}
.entrance-actions button,.entrance-review button{border:1px solid #a38e5c;background:#132018;color:var(--ink);padding:11px 17px;border-radius:2px;font-size:15px;min-height:46px}
.entrance-actions button:hover,.entrance-review button:hover{background:#34402b}
.entrance-review{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);width:max-content;padding:12px 16px;background:#111914f2;border:1px solid #a38e5c;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px}
.entrance-review>span{font-size:13px;color:var(--gold);padding-inline:5px}
html.entrance-playing{overflow:hidden}
@keyframes entrance-turn{from{transform:rotate(-55deg)}to{transform:rotate(0)}}
@keyframes entrance-left{from{transform:translateX(0)}to{transform:translateX(-100%)}}
@keyframes entrance-right{from{transform:translateX(0)}to{transform:translateX(100%)}}
@keyframes entrance-label{from{opacity:1}to{opacity:0}}
@media(max-width:1050px){.site-header nav{gap:23px}.reading-layout{gap:35px}.steps{gap:30px}.hero-actions{flex-wrap:wrap}.site-footer{row-gap:25px}}
@media(max-width:760px){
  .brand{font-size:18px;letter-spacing:1.5px}.brand small{font-size:8px;letter-spacing:1px}
  .account-link{font-size:14px}.hero{min-height:0}.hero-description{font-size:17px}.hero-actions .button,.text-link{font-size:15px}
  .eyebrow{font-size:11px}.quiet-note{font-size:14px}.principles{font-size:12px;gap:12px}
  .reading-layout{gap:30px}.sample-report{padding:23px 20px}.report-panel{min-height:0}
  .report-panel p,.report-panel ol{font-size:17px}.report-tabs{gap:25px}.report-tabs button{font-size:15px}
  .hexagram-heading{gap:20px}.hexagram-heading>div>span{font-size:13px}.report-top{font-size:11px}
  .steps p{font-size:16px}.pricing-heading>p:last-child{font-size:15px}.price-plan{padding:27px 23px}
  .price-plan li{font-size:16px}.price-plan ul{min-height:0}.pricing-note{font-size:15px}
  .faqs summary{font-size:17px}.faqs details p{font-size:16px}.site-footer p{font-size:13px}
  .footer-actions{gap:18px}.site-footer>a:last-child{width:auto}
  .entrance-wordmark{top:17%}.entrance-wordmark span{font-size:10px;letter-spacing:1.5px}
  .entrance-caption{bottom:18%;font-size:18px;padding-inline:20px}
  .entrance-actions{top:20px;right:16px;left:16px;justify-content:flex-end}
  .entrance-actions button{font-size:14px;padding:10px 12px}
  .entrance-review{bottom:15px;gap:8px;width:calc(100% - 30px)}.entrance-review>span{width:100%;text-align:center}
  .entrance-review button{font-size:12px;padding:9px 10px;min-height:42px}
}
@media(prefers-reduced-motion:reduce){.site-entrance{display:none!important}.oracle-wheel{animation:none!important}}
