@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@400;450;500;550;600;650;700&display=swap');

:root{--ink:#0a1112;--panel:#101a1b;--panel-soft:#142122;--cream:#f1eadc;--muted:#9daaa5;--gold:#c9ad75;--gold-light:#e1c58e;--green:#235d50;--green-light:#7eaa95;--line:rgba(201,173,117,.2);--serif:'Cormorant Garamond',Georgia,'Times New Roman',serif;--sans:'DM Sans',Arial,sans-serif;--reader-size:19px}
*{box-sizing:border-box}html{scroll-behavior:smooth;color-scheme:dark}body{margin:0;background:var(--ink);color:var(--cream);font-family:var(--sans);font-size:14px;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{cursor:pointer}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--gold-light);outline-offset:5px}button:disabled{cursor:not-allowed}button svg{pointer-events:none}a{color:inherit}button{background:none;border:0}svg{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}button[hidden],[hidden]{display:none!important}::selection{background:#b79855;color:#101615}.skip-link{position:fixed;top:10px;left:10px;padding:12px;z-index:1000;transform:translateY(-150%);background:var(--gold);color:var(--ink)}.skip-link:focus{transform:none}
.site-header{height:99px;position:absolute;inset:0 0 auto;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:0 5.2%;border-bottom:1px solid rgba(230,220,192,.09);background:linear-gradient(180deg,rgba(7,15,16,.7),transparent);gap:28px}.brand{display:flex;align-items:center;gap:12px;padding:0;text-align:left;min-width:170px}.brand svg{height:43px;width:43px;color:var(--gold);stroke-width:1.1}.brand span{font-family:var(--serif);font-size:13px;line-height:1.12;letter-spacing:2.3px}.brand strong{font-size:21px;font-weight:500;letter-spacing:4.8px}.site-header nav{display:flex;gap:36px;margin-left:auto;margin-right:5%}.nav-link{font-size:12px;color:#d2d4c9;padding:10px 0;position:relative;transition:color .2s}.nav-link:after{content:'';position:absolute;bottom:2px;left:0;right:0;height:1px;background:var(--gold);transform:scaleX(0);transform-origin:left;transition:transform .2s}.nav-link:hover{color:var(--gold-light)}.nav-link:hover:after{transform:scaleX(1)}.header-tools{display:flex;gap:9px;align-items:center}.icon-button{width:37px;height:37px;display:grid;place-items:center;color:#b6bcb1;border:1px solid transparent;border-radius:50%;transition:border .2s,color .2s}.icon-button:hover{border-color:var(--line);color:var(--gold-light)}.icon-button[aria-pressed=true]{color:var(--gold)}.sound-icon{width:19px;height:19px;stroke-width:1.3}.sound-button[aria-pressed=false]{opacity:.55}.type-icon{font-family:var(--serif);font-size:19px}.resume-button{padding:11px 18px;border:1px solid #6e7057;font-size:12px;color:var(--gold-light);margin-left:12px;display:flex;gap:22px;align-items:center}.resume-button:hover{background:#c9ad7514}
.home-view{position:relative;min-height:940px;height:100svh;max-height:1250px;overflow:hidden;background:#101c1c}.hero-art{position:absolute;inset:0 0 0 23%;background-image:url('assets/hero.webp');background-size:cover;background-position:57% 39%;opacity:.9;animation:artReveal 1.8s ease-out both}.hero-vignette{position:absolute;inset:0;background:linear-gradient(90deg,#0a1415 0%,rgba(10,20,21,.97) 15%,rgba(10,20,21,.86) 29%,rgba(10,20,21,.31) 52%,rgba(10,20,21,.02) 76%),linear-gradient(0deg,#091314 0%,rgba(9,19,20,.9) 7%,rgba(9,19,20,.1) 40%,rgba(9,19,20,.1) 70%,rgba(9,19,20,.2) 100%)}.hero-content{position:relative;z-index:2;width:560px;max-width:48%;padding-top:158px;margin-left:9.5%;animation:contentReveal .9s .1s both}.eyebrow{font-size:10px;font-weight:500;letter-spacing:2.7px;color:var(--gold);display:flex;align-items:center;gap:13px;line-height:1.6}.small-line{width:29px;height:1px;background:var(--gold);opacity:.65}.eyebrow-diamond{font-size:12px;margin-left:2px;opacity:.5}.hero-content h1{font-family:var(--serif);font-size:clamp(80px,7.5vw,126px);font-weight:500;line-height:.78;letter-spacing:-3px;margin:37px 0 22px;text-shadow:0 2px 30px #06101190}.hero-content h1>span:not(.title-period){color:var(--gold-light);font-weight:400}.title-period{font-family:var(--serif);color:var(--gold)}.title-ornament{display:flex;align-items:center;gap:13px;color:var(--gold);width:126px;font-size:20px;margin:28px 0 23px}.title-ornament span{height:1px;background:linear-gradient(90deg,rgba(201,173,117,.1),var(--gold));flex:1}.title-ornament span:last-child{transform:scaleX(-1)}.hero-hook{font-family:var(--serif);font-weight:500;font-size:30px;line-height:1.14;letter-spacing:-.3px;margin:0 0 18px;color:#f1e9d9}.hero-description{font-size:13px;line-height:1.85;font-weight:400;color:#b0b9b2;max-width:343px;margin:0 0 30px}.hero-actions{display:flex;align-items:center;gap:23px}.primary-button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:27px;padding:17px 25px;min-height:53px;background:linear-gradient(110deg,#a98e58,#d7bc82 55%,#b99b61);border:1px solid #e2c98c;box-shadow:0 0 0 4px rgba(172,146,89,.04),inset 0 0 0 2px #0b171914;color:#19201a;font-size:12px;font-weight:700;letter-spacing:.3px;transition:filter .2s,transform .2s;white-space:nowrap}.primary-button:hover{filter:brightness(1.12);transform:translateY(-2px)}.primary-button:active{transform:translateY(0)}.button-arrow{font-size:23px;line-height:15px;font-weight:400}.text-button{display:inline-flex;align-items:center;gap:13px;color:var(--gold);padding:9px 0;font-size:11px;font-weight:500;white-space:nowrap}.text-button:hover{color:var(--gold-light)}.hero-save-note{font-size:9px;letter-spacing:.2px;color:#84958d;margin:22px 0 0;display:flex;gap:8px;align-items:center}.save-dot{display:inline-block;width:4px;height:4px;background:#86aa85;border-radius:50%;box-shadow:0 0 6px #7f9f6930;flex:none}.hero-caption{position:absolute;right:6.2%;bottom:174px;display:flex;align-items:center;gap:16px;color:#c5c8b7;z-index:2}.caption-line{height:1px;width:40px;background:#c9ad7570}.hero-caption>span:nth-child(2){font-size:8px;letter-spacing:1.7px;line-height:2.1}.hero-caption strong{font-size:11px;font-weight:400;color:#ebead8;letter-spacing:.1px}.caption-number{font-family:var(--serif);font-size:45px;color:#c8ae756b;line-height:1}.hero-side-label{position:absolute;top:44%;left:33px;writing-mode:vertical-rl;transform:rotate(180deg);font-size:8px;letter-spacing:3px;color:#85948a;z-index:3}.hero-bottom{position:absolute;bottom:0;left:5.2%;right:5.2%;height:118px;display:flex;align-items:center;gap:5.8%;border-top:1px solid var(--line);z-index:3}.story-feature{display:flex;align-items:center;gap:14px;min-width:170px}.feature-icon{font-family:var(--serif);font-size:33px;color:var(--gold);opacity:.8;line-height:1}.story-feature>div{display:flex;flex-direction:column;gap:7px}.story-feature strong{font-family:var(--serif);font-weight:500;font-size:18px;letter-spacing:.1px;color:#dfdfce}.story-feature>div>span{color:#81938a;font-size:9px;letter-spacing:.2px}.episode-seal{margin-left:auto;display:flex;flex-direction:column;gap:7px;text-align:right;border-left:1px solid var(--line);padding-left:28px}.episode-seal>span{font-size:8px;letter-spacing:2px;color:#7e9186}.episode-seal strong{font-family:var(--serif);font-size:20px;color:var(--gold);font-weight:400}.floating-embers{position:absolute;inset:0;pointer-events:none;overflow:hidden}.floating-embers i{position:absolute;bottom:-30px;left:63%;width:2px;height:2px;box-shadow:0 0 10px #dfb460;background:#d3a65d;border-radius:50%;animation:embers 12s linear infinite}.floating-embers i:nth-child(2){left:71%;animation-delay:-5s;animation-duration:17s}.floating-embers i:nth-child(3){left:54%;animation-delay:-2s;animation-duration:20s}.floating-embers i:nth-child(4){left:86%;animation-delay:-8s;animation-duration:15s}.floating-embers i:nth-child(5){left:91%;animation-delay:-10s;animation-duration:19s}.floating-embers i:nth-child(6){left:42%;animation-delay:-6s;animation-duration:22s}
.story-view{padding-top:100px;min-height:100svh;position:relative;background:#0b1415}.story-art{position:absolute;inset:0 0 auto;height:590px;background-image:url('assets/hero.webp');background-size:cover;background-position:50% 35%;opacity:.65;transition:background-image .5s}.scene-shade{position:absolute;inset:0;background:linear-gradient(0deg,#0b1415 0%,rgba(11,20,21,.66) 30%,rgba(11,20,21,.15) 100%),linear-gradient(90deg,#0b14157a,transparent 60%)}.scene-art-grain{position:absolute;inset:0;opacity:.07;background:repeating-linear-gradient(0deg,transparent 0 2px,#071212 2px 3px)}.story-topline{position:relative;z-index:2;display:flex;justify-content:space-between;padding:30px 6%;align-items:center}.back-link{font-size:10px;color:#c6c9b9;display:flex;gap:13px;align-items:center;padding:0}.back-link span{color:var(--gold);font-size:18px}.autosave-note{display:flex;align-items:center;gap:7px;color:#aeb8a7;font-size:9px}.reader-layout{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,760px) 260px;gap:76px;margin:125px auto 0;padding:0 6% 65px;max-width:1280px}.reader-main{min-width:0}.scene-eyebrow{display:flex;gap:14px;align-items:center;flex-wrap:wrap;font-size:9px;letter-spacing:2.1px;color:var(--gold);font-weight:500}.scene-divider{color:#7f8d80;font-size:12px}.scene-eyebrow #location-label{color:#bac5b6;letter-spacing:1.9px}.chapter-track{display:flex;gap:5px;margin:17px 0 0;min-height:3px}.chapter-track>*{height:2px;width:28px;background:#63756c40}.chapter-track .active,.chapter-track .complete,.chapter-track .completed{background:#c9ad75}.scene-title{font-family:var(--serif);font-size:clamp(38px,4vw,57px);font-weight:500;letter-spacing:-.8px;line-height:1.05;margin:22px 0 25px;color:#f5eedf;text-shadow:0 2px 20px #051516}.scene-title:focus{outline:none}.speaker-chip{display:inline-flex;align-items:center;gap:8px;font-size:9px;color:#a8c5b4;background:#1a332caa;border:1px solid #5c877345;padding:7px 12px;letter-spacing:1px;margin-bottom:16px}.story-prose{font-family:var(--serif);font-size:var(--reader-size);font-weight:400;line-height:1.65;color:#c7d0c4;letter-spacing:.02px}.story-prose p{margin:0 0 20px}.story-prose p:first-child:first-letter{font-size:1.4em;color:#ece2c7}.story-prose em{color:#f1e6d1;font-style:italic}.story-prose strong{color:var(--gold-light);font-weight:600}.choice-heading{display:flex;align-items:center;gap:14px;margin:35px 0 20px}.choice-heading>span{height:1px;background:linear-gradient(90deg,#b39b633b,transparent);flex:1}.choice-heading>span:first-child{transform:scaleX(-1)}.choice-heading>p{font-family:var(--sans);font-size:8px;letter-spacing:2.4px;color:#9f9d80;margin:0}.story-choices{display:flex;flex-direction:column;gap:10px}.choice{width:100%;display:flex;align-items:center;gap:17px;padding:17px 19px;text-align:left;border:1px solid #5f78604a;background:linear-gradient(110deg,#162622bf,#10211d7d);position:relative;transition:background .2s,border-color .2s,transform .2s;color:#d7dccb;min-height:76px}.choice:before{content:'';position:absolute;inset:0 auto 0 0;width:2px;background:#bb9a56;opacity:0;transition:opacity .2s}.choice:hover:not(:disabled){background:linear-gradient(110deg,#25372ad9,#142b22c9);border-color:#ac945f94;transform:translateX(3px)}.choice:hover:before{opacity:1}.choice:disabled{opacity:.45;background:#0e1717;border-color:#5b61592b}.choice-key{font-family:var(--serif);font-size:21px;border:1px solid #8a91674d;min-width:31px;height:31px;display:grid;place-items:center;color:var(--gold);font-weight:400}.choice-copy{display:flex;flex-direction:column;gap:5px;flex:1}.choice-copy strong{font-family:var(--serif);font-size:20px;font-weight:500;line-height:1.2;color:#e2e6d8}.choice-copy small{font-family:var(--sans);font-size:10px;line-height:1.5;color:#8fa494;letter-spacing:.1px}.choice-arrow{font-size:19px;color:#a9b08b}.choice-requires{font-size:9px;color:var(--gold);line-height:1.5}.reader-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:20px}.undo-button{font-size:9px;color:#788f80}.undo-button span{font-size:20px}.scene-count{font-size:8px;letter-spacing:1.3px;color:#718b7c}.reader-sidebar{padding-top:35px}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.sidebar-heading .eyebrow{font-size:8px;letter-spacing:2.1px}.sidebar-heading svg{height:23px;width:23px;color:#a18c5d}.stats-panel{display:flex;flex-direction:column;gap:21px}.stat-top{display:flex;justify-content:space-between;margin-bottom:9px;font-size:11px;color:#c1c9b7}.stat-top span:last-child{font-family:var(--serif);font-size:16px;color:#cdb174}.stat-bar{height:3px;background:#67836b29;overflow:hidden}.stat-bar span{display:block;height:100%;background:linear-gradient(90deg,#4f7960,#b49e68);transition:width .6s}.sidebar-rule{height:1px;background:var(--line);margin:30px 0 25px}.sidebar-section-title{font-size:8px;font-weight:500;letter-spacing:2px;color:#a29c76;margin:0 0 20px}.allies-panel{display:flex;flex-direction:column;gap:19px}.ally{display:flex;gap:11px;align-items:center}.ally-avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(140deg,#354c3a,#11271f);color:#c5b47f;font-family:var(--serif);font-size:21px;box-shadow:inset 0 0 0 1px #a58c4a5c;border:3px solid #0d1a17;overflow:hidden;flex:none}.ally-avatar img{width:100%;height:100%;object-fit:cover}.ally-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.ally-copy strong{font-family:var(--serif);font-size:17px;font-weight:500;color:#cbd5c2}.ally-copy small{font-size:8px;color:#819a87}.ally-value{font-family:var(--serif);font-size:14px;color:#9faa81}.journal-button{width:100%;margin-top:30px;padding:16px 13px;display:flex;align-items:center;gap:12px;border:1px solid #a9966247;color:#c2b080;background:#121f1c}.journal-button>svg{width:22px;height:24px;color:#b59c61;flex:none;stroke-width:1.1}.journal-button>span:first-of-type{display:flex;flex-direction:column;text-align:left;gap:5px;font-family:var(--serif);font-size:17px}.journal-button small{font-family:var(--sans);font-size:8px;letter-spacing:.1px;color:#829387}.journal-button>span:last-of-type{margin-left:auto;color:#8b9875}.journal-button:hover{border-color:#bfa6669c;background:#192a22}.sidebar-progress{margin-top:32px}.sidebar-progress>div:first-child{display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:1.8px;color:#718d7c}.progress-symbol{font-size:17px;line-height:10px;color:var(--gold)}.progress-track{height:2px;background:#4e70593b;margin:12px 0 13px}#progress-fill{width:0;height:100%;background:#b8a26a;transition:width .5s}.sidebar-progress p{font-family:var(--serif);font-size:14px;font-style:italic;color:#748e7c;margin:0;line-height:1.5}.mobile-journal{display:none}
.ending-view{min-height:100svh;position:relative;padding:155px 24px 80px;isolation:isolate}.ending-art{position:absolute;inset:0;background-image:url('assets/vault.webp');background-size:cover;background-position:center;z-index:-2}.ending-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#091314 0%,#091314e0 40%,#091314b0 80%,#091314d9)}.ending-content{max-width:720px;margin:auto;text-align:center}.ending-sigil{font-family:var(--serif);font-size:65px;color:var(--gold);margin-bottom:20px;text-shadow:0 0 40px #c9ad755a}.ending-content>.eyebrow{justify-content:center}.ending-content h1{font-family:var(--serif);font-size:clamp(45px,7vw,80px);line-height:.99;font-weight:500;letter-spacing:-1px;color:#f1e8cf;margin:25px 0 20px}.ending-subtitle{font-family:var(--serif);font-size:26px;color:#c3caba;line-height:1.35;margin:0}.ending-content .title-ornament{margin:26px auto}.ending-body{font-family:var(--serif);font-size:20px;line-height:1.65;color:#afc0ad;max-width:580px;margin:auto}.ending-body p{margin:0 0 20px}.ending-actions{display:flex;gap:13px;align-items:center;justify-content:center;flex-wrap:wrap;margin-top:32px}.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:14px 22px;border:1px solid #8e8a5d7a;color:#c3b27e;font-size:11px;font-weight:500;background:#0b171769;transition:background .2s,border-color .2s}.secondary-button:hover{background:#a5986620;border-color:#b7a56b}.secondary-button:disabled{opacity:.4}.muted{color:var(--muted)}
dialog{position:fixed;background:#101c1c;color:var(--cream);border:1px solid #ac95614f;max-width:650px;width:calc(100% - 36px);max-height:calc(100svh - 52px);padding:36px;box-shadow:0 40px 100px #000b,0 0 0 5px #b3985710;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#6c7658 #101c1c}dialog::backdrop{background:#030c10cf;backdrop-filter:blur(10px)}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:21px}.modal-head h2{font-family:var(--serif);font-size:36px;line-height:1.05;font-weight:500;letter-spacing:-.5px;margin:0}.modal-head p,.modal-head .eyebrow{margin:0 0 11px}.modal-head>div{flex:1}.modal-close{padding:0;width:28px;height:28px;display:grid;place-items:center;font-size:24px;line-height:1;color:#c5b17b;flex:none}.modal-close:hover{background:#a9955522}.modal-intro{font-family:var(--serif);font-size:20px;line-height:1.5;color:#aebfae;margin:0 0 23px}dialog p{line-height:1.7}dialog>div>p{font-size:12px;color:#a1b4a5}.field-label{display:block;font-size:9px;letter-spacing:1.5px;text-transform:uppercase;color:#c7b37e;margin:22px 0 10px}.field-label small{color:#829c8b;font-size:8px;margin-left:7px;letter-spacing:.2px;text-transform:none}input[type=text],dialog input:not([type]),dialog select{display:block;width:100%;padding:13px 15px;border:1px solid #66806760;background:#091515;color:#e0e8d7;border-radius:0;outline-offset:3px}input::placeholder{color:#657e6b}.option-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.origin-option,.pronoun-option{border:1px solid #6680674a;padding:14px 12px;background:#0d1918;color:#b4c4b3;text-align:left;transition:border-color .2s,background .2s}.origin-option strong{font-family:var(--serif);font-size:22px;font-weight:500;color:#d7dbbd;display:block;margin-bottom:7px}.origin-option small{font-size:10px;line-height:1.5;display:block;color:#829b87}.origin-option>span{display:block;font-size:9px;color:#b8a56e;margin-top:10px}.pronoun-option{font-size:11px;text-align:center;padding:12px 8px}.origin-option.selected,.pronoun-option.selected,.option-grid .selected{border-color:#bd9e5f;background:linear-gradient(135deg,#3443317a,#14291f);color:#e5cf9c;box-shadow:inset 0 0 0 1px #bc9e5718}.origin-option:hover,.pronoun-option:hover{border-color:#a9965d8f}.modal-actions{display:flex;gap:12px;align-items:center;justify-content:flex-end;margin-top:30px;flex-wrap:wrap}.modal-note{font-size:9px!important;color:#7f9885!important;margin:18px 0 0}.journal-entry{padding:18px 0;border-bottom:1px solid #64826730}.journal-entry h3{font-family:var(--serif);font-size:24px;font-weight:500;color:#dac78e;margin:0 0 8px}.journal-entry p{font-family:var(--serif);font-size:18px;color:#afc0ab;margin:0}.journal-entry small{font-size:8px;letter-spacing:1.5px;color:#829f89}.empty-state{padding:28px 15px;text-align:center;border:1px dashed #6e855247;margin:22px 0;color:#8ca38d;font-family:var(--serif);font-size:21px;line-height:1.5}.character-card{padding:22px 0;border-bottom:1px solid var(--line);display:flex;gap:20px;align-items:flex-start}.character-card>img{width:95px;height:115px;object-fit:cover;border:1px solid #a18e5d5a}.character-card .ally-avatar{width:58px;height:58px;font-size:27px}.character-card h3{font-family:var(--serif);font-size:28px;font-weight:500;color:#d7c68d;margin:0 0 3px}.character-card p{font-size:11px;color:#9fb19f;margin:10px 0 0;line-height:1.75}.character-card small{font-size:8px;letter-spacing:1.4px;color:#839d88}.ending-card{border:1px solid #9d89524a;padding:20px;margin:12px 0;background:linear-gradient(110deg,#2b35222e,transparent)}.ending-card h3{font-family:var(--serif);font-size:25px;font-weight:500;color:#dfc68b;margin:0 0 7px}.ending-card p{font-size:11px;color:#99b09c;margin:0}.ending-card small{font-size:9px;color:#b4a16d}.ending-card.locked{opacity:.5;background:none;border-color:#6e81542e}.ending-card.locked h3{color:#9eb099}.settings-row{padding:16px 0;border-bottom:1px solid #697f5b33;display:flex;align-items:center;justify-content:space-between;gap:20px}.settings-row span{font-size:12px;color:#c1cbb8}.settings-row button{border:1px solid #a18b5366;padding:9px 14px;font-size:10px;color:#d2bb7c}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);background:#193025f2;border:1px solid #ba9d5869;box-shadow:0 12px 35px #0006;padding:13px 22px;color:#e0d8b2;font-size:11px;max-width:min(430px,calc(100% - 30px));z-index:100;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;text-align:center;line-height:1.5}.toast.show,.toast.visible{opacity:1;transform:translate(-50%,0)}html[data-font=large]{--reader-size:23px}html[data-font=large] .choice-copy strong{font-size:23px}html[data-font=large] .choice-copy small{font-size:12px}
@keyframes embers{0%{transform:translate(0,0);opacity:0}12%{opacity:.5}80%{opacity:.4}100%{transform:translate(70px,-750px);opacity:0}}@keyframes artReveal{from{opacity:0;transform:scale(1.035)}to{opacity:.9;transform:scale(1)}}@keyframes contentReveal{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1550px){.hero-content{padding-top:190px;margin-left:11%;}.home-view{min-height:1000px}.hero-content h1{font-size:142px}.hero-hook{font-size:34px}.hero-description{font-size:14px;max-width:375px}.hero-bottom{gap:7.5%}.hero-art{inset:0 0 0 26%}}
@media(max-height:900px) and (min-width:1000px){.home-view{min-height:800px}.hero-content{padding-top:140px}.hero-content h1{font-size:94px;margin:25px 0 15px}.hero-content .title-ornament{margin:20px 0}.hero-hook{font-size:27px}.hero-description{font-size:12px;line-height:1.75;margin-bottom:23px}.hero-bottom{height:100px}.hero-caption{bottom:140px}.hero-save-note{margin-top:17px}}
@media(max-width:1150px){.site-header{padding:0 4%;height:88px}.site-header nav{gap:25px;margin-right:2%}.hero-content{margin-left:8%;max-width:49%;padding-top:155px}.hero-content h1{font-size:104px}.hero-hook{font-size:28px}.hero-description{max-width:320px}.hero-actions{gap:20px}.text-button{font-size:10px}.primary-button{padding:16px 20px;gap:22px}.hero-side-label{left:22px}.hero-bottom{left:4%;right:4%;gap:4%}.story-feature{min-width:140px;gap:10px}.story-feature strong{font-size:16px}.story-feature>div>span{font-size:8px}.feature-icon{font-size:29px}.episode-seal{padding-left:18px}.episode-seal>span{font-size:7px}.episode-seal strong{font-size:17px}.reader-layout{gap:40px;grid-template-columns:minmax(0,1fr) 225px;padding-left:5%;padding-right:5%}.reader-sidebar{padding-top:20px}}
@media(max-width:900px){.home-view{min-height:890px}.hero-content{max-width:55%;margin-left:7%;padding-top:158px}.hero-content h1{font-size:94px}.hero-art{inset:0 -15% 0 20%;background-position:56% 50%}.hero-vignette{background:linear-gradient(90deg,#0a1415 0%,#0a1415e6 20%,#0a141588 50%,#0a14151a 80%),linear-gradient(0deg,#091314 0%,#091314dd 8%,transparent 50%,#09131426 100%)}.hero-caption{right:5%;bottom:162px}.hero-side-label{left:15px;font-size:7px}.hero-bottom{justify-content:space-between;gap:10px}.episode-seal{display:none}.site-header nav{gap:22px;margin-right:0}.header-tools{gap:2px}.resume-button{margin-left:5px;padding:9px 12px;font-size:11px;gap:10px}.reader-layout{grid-template-columns:minmax(0,1fr);max-width:730px;margin-top:112px}.reader-sidebar{display:none}.story-topline{padding-left:5%;padding-right:5%}.mobile-journal{display:block;position:fixed;bottom:20px;right:20px;z-index:10}.mobile-journal button{display:flex;align-items:center;gap:10px;background:#183026f5;border:1px solid #9b895b70;box-shadow:0 4px 20px #0004;padding:12px 16px;font-size:10px;color:#d7c487}.mobile-journal svg{width:15px;height:17px}.reader-layout{padding-bottom:95px}.reader-main{padding:0 2%}.story-prose{font-size:21px}}
@media(max-width:650px){.site-header{height:79px;padding:0 6%;gap:10px}.brand{min-width:0;gap:8px}.brand svg{width:31px;height:34px}.brand span{font-size:9px;letter-spacing:1.8px}.brand strong{font-size:16px;letter-spacing:3.3px}.site-header nav{display:none}.header-tools{gap:2px}.icon-button{width:32px;height:32px}.sound-icon{height:17px;width:17px}.type-icon{font-size:18px}.resume-button{font-size:9px;padding:8px 11px;gap:10px;margin-left:4px}.home-view{min-height:1000px;height:auto;max-height:none;display:flex;flex-direction:column;padding-top:0}.hero-art{inset:79px -22% auto -22%;height:590px;background-position:56% 19%;background-size:cover;opacity:1}.hero-vignette{background:linear-gradient(0deg,#0a1415 0%,#0a1415 18%,#0a1415e6 39%,#0a14156e 58%,#0a141508 79%,#0a141547 100%);inset:0}.hero-content{width:auto;max-width:none;margin:0;padding:397px 7% 0}.hero-content>.eyebrow{font-size:8px;letter-spacing:2.5px;gap:11px}.hero-content>.eyebrow .small-line{width:22px}.hero-content h1{font-size:82px;line-height:.79;letter-spacing:-1px;margin:25px 0 18px}.hero-content h1>br:first-child{display:none}.hero-content h1>span:not(.title-period){display:block}.hero-content h1>span:not(.title-period)+br{display:none}.hero-content h1{max-width:350px}.hero-content .title-ornament{margin:20px 0 18px;width:110px}.hero-hook{font-size:27px;margin-bottom:17px;line-height:1.12}.hero-description{font-size:12px;line-height:1.8;max-width:365px;margin-bottom:24px;color:#a5b6a9}.hero-actions{gap:23px;flex-wrap:nowrap}.primary-button{padding:15px 19px;min-height:51px;font-size:11px;gap:26px}.hero-actions .text-button{font-size:10px;gap:9px}.hero-save-note{font-size:8px;margin-top:19px;gap:7px}.hero-caption{right:7%;top:323px;bottom:auto;align-items:center;gap:10px}.caption-line{width:22px}.hero-caption>span:nth-child(2){font-size:6px;letter-spacing:1.3px}.hero-caption strong{font-size:8px}.caption-number{font-size:31px}.hero-side-label{top:135px;left:15px;font-size:6px;letter-spacing:2px;opacity:.7}.hero-bottom{position:relative;height:auto;left:auto;right:auto;bottom:auto;margin:35px 7% 0;padding:23px 0 27px;display:grid;grid-template-columns:1fr 1fr;gap:22px}.story-feature{min-width:0;gap:9px}.story-feature:last-of-type{display:none}.story-feature strong{font-size:16px}.story-feature>div{gap:5px}.story-feature>div>span{font-size:7px}.feature-icon{font-size:25px}.floating-embers{height:650px}.story-view{padding-top:79px}.story-art{height:460px;background-position:55% 25%}.story-topline{padding:22px 7%;gap:10px}.back-link{font-size:9px;gap:9px}.autosave-note{font-size:7px;gap:5px}.autosave-note .save-dot{width:3px;height:3px}.reader-layout{margin:115px auto 0;padding:0 7% 95px;display:block}.reader-main{padding:0}.scene-eyebrow{font-size:7px;letter-spacing:1.8px;gap:10px}.scene-eyebrow #location-label{font-size:7px;letter-spacing:1.4px}.scene-title{font-size:42px;line-height:1.02;margin-top:20px;margin-bottom:23px;letter-spacing:-.5px}.chapter-track{margin-top:13px}.chapter-track>*{width:22px}.story-prose{font-size:20px;line-height:1.6}.story-prose p{margin-bottom:19px}.speaker-chip{font-size:8px;padding:6px 10px}.choice-heading{gap:10px;margin:29px 0 18px}.choice-heading>p{font-size:7px;letter-spacing:2.2px}.choice{gap:12px;padding:15px 12px;min-height:78px}.choice-key{min-width:26px;height:28px;font-size:18px}.choice-copy strong{font-size:19px}.choice-copy small{font-size:9px;line-height:1.5}.choice-arrow{font-size:16px}.reader-bottom{margin-top:17px;gap:8px}.undo-button{font-size:8px;gap:8px}.scene-count{font-size:7px;letter-spacing:.8px}.mobile-journal{right:7%;bottom:18px}.mobile-journal button{font-size:9px;padding:11px 13px}.ending-view{padding:129px 7% 80px}.ending-sigil{font-size:51px;margin-bottom:18px}.ending-content>.eyebrow{font-size:7px;letter-spacing:2px}.ending-content h1{font-size:54px;margin-top:22px}.ending-subtitle{font-size:23px}.ending-body{font-size:19px;line-height:1.65}.ending-actions{gap:10px;margin-top:25px}.ending-actions button{flex:1;font-size:10px;padding-left:14px;padding-right:14px}.ending-art{background-position:55% 25%}.ending-shade{background:linear-gradient(0deg,#091314,#091314d1 60%,#091314b0)}dialog{padding:25px 22px;max-height:calc(100svh - 30px);width:calc(100% - 26px)}.modal-head h2{font-size:31px}.modal-head{gap:10px}.modal-intro{font-size:18px}.option-grid{gap:7px}.origin-option{padding:13px 9px}.origin-option strong{font-size:20px}.origin-option small{font-size:9px}.origin-option>span{font-size:8px}.pronoun-option{font-size:9px;padding:11px 5px}.modal-actions{margin-top:25px;gap:9px}.modal-actions button{min-width:0;padding-left:18px;padding-right:18px}.character-card{gap:14px;padding:20px 0}.character-card h3{font-size:25px}.character-card .ally-avatar{width:46px;height:46px;font-size:23px}.character-card p{font-size:10px}.character-card>img{width:75px;height:95px}.journal-entry h3{font-size:23px}.journal-entry p{font-size:17px}.toast{bottom:77px;font-size:10px;padding:12px 17px}html[data-font=large] .story-prose{font-size:23px}html[data-font=large] .choice-copy strong{font-size:21px}html[data-font=large] .choice-copy small{font-size:11px}}
@media(max-width:370px){.hero-content{padding-left:6%;padding-right:6%;padding-top:360px}.hero-art{height:550px}.hero-content h1{font-size:74px}.hero-caption{top:300px}.hero-actions{gap:17px}.hero-actions .text-button{font-size:9px;gap:5px}.primary-button{gap:17px;padding:15px 17px}.hero-bottom{margin-left:6%;margin-right:6%}.story-feature strong{font-size:14px}.story-feature>div>span{font-size:6px}.story-feature{gap:7px}.header-tools{gap:0}.site-header{padding-left:5%;padding-right:5%}.resume-button{padding:8px;margin-left:0;gap:6px}.option-grid{grid-template-columns:1fr}.origin-option{display:flex;align-items:center;gap:11px;padding:12px}.origin-option strong{margin:0;min-width:65px}.origin-option small{flex:1}.origin-option>span{margin:0}.pronoun-option{padding:11px}.reader-layout{padding-left:6%;padding-right:6%}.scene-title{font-size:38px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.floating-embers{display:none}}

/* Story engine components. */
.save-summary{font-size:9px;color:#c5b27d;margin:10px 0 0;letter-spacing:.3px}.chapter-track{gap:12px;margin:20px 0 4px}.chapter-track>span{background:none;flex:1;width:auto;height:auto;min-height:24px;padding:0 0 8px;border-bottom:1px solid #5f78603b;color:#688373;font-size:7px;letter-spacing:.7px;line-height:1.4;text-transform:uppercase;white-space:nowrap}.chapter-track>span b{font-family:var(--serif);font-size:10px;font-weight:400;margin-right:4px}.chapter-track>span.active{background:none;color:#d0b781;border-bottom:1px solid #c9ad75}.chapter-track>span.complete{background:none;color:#95aa8f;border-bottom:1px solid #799874}.stat-top span{text-transform:capitalize}.stat-top strong{font-family:var(--serif);font-size:17px;color:#cdb174;font-weight:500}.ally{width:100%;text-align:left;padding:0}.ally:hover .ally-copy strong{color:#e0c68d}.ally-caelan{background:linear-gradient(145deg,#5d6958,#162d2a)}.ally-isolde{background:linear-gradient(145deg,#684442,#231a20)}.ally-elara{background:linear-gradient(145deg,#657677,#1b3133)}.speaker-dot{height:4px;width:4px;background:#9fb485;border-radius:50%}.origin-grid{display:flex;flex-direction:column;gap:9px}.origin-grid .origin-option{display:flex;align-items:center;gap:16px;padding:16px 18px}.origin-grid .origin-icon{font-size:25px;font-family:var(--serif);color:#bcaa74;width:26px;flex:none;margin:0}.origin-grid .origin-option>span:last-child{margin:0;flex:1}.origin-grid .origin-option strong{font-size:24px;margin:0 0 4px}.origin-grid .origin-option small{font-size:10px;line-height:1.65;max-width:380px}.origin-grid .origin-option em{display:block;color:#b7a56a;font-style:normal;font-size:9px;margin-top:8px;text-transform:capitalize}.pronoun-grid{margin-bottom:7px}.modal-footnote{font-size:9px!important;line-height:1.75;color:#718d7c!important;border-top:1px solid #7a8d5b2e;padding-top:17px;margin:23px 0 0}.save-notice{border-left:2px solid #b99b5e6b;padding:10px 13px;margin:20px 0 0;color:#bca879;font-size:10px;background:#a18e5210;line-height:1.7}.empty-state>span{font-family:var(--serif);font-size:35px;color:#bda56b}.empty-state h3{font-family:var(--serif);font-size:25px;font-weight:500;color:#c6cdb4;margin:12px 0 10px}.empty-state p{font-family:var(--sans);font-size:11px;line-height:1.8;max-width:350px;margin:auto;color:#89a28b}.journal-entry{display:flex;gap:18px}.entry-number{font-family:var(--serif);font-size:24px;color:#6c846a;line-height:1.2}.journal-entry>div{flex:1}.character-portrait{width:96px;height:125px;flex:none;background-size:auto 430%;background-repeat:no-repeat;border:1px solid #a18e5d5a;position:relative;box-shadow:0 5px 20px #0004}.character-portrait:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0c1a1c60,transparent 50%)}.character-portrait>span{position:absolute;bottom:8px;left:9px;z-index:1;color:#ded6b9;font-family:var(--serif);font-size:15px;letter-spacing:2px}.character-card>div:last-child{min-width:0;flex:1}.character-card .eyebrow{font-size:7px;letter-spacing:1.5px;margin-bottom:8px;line-height:1.7}.relationship-note{font-size:9px!important;display:block;margin-top:12px;color:#b6a171!important;letter-spacing:.3px!important}.ending-grid{display:flex;flex-direction:column;gap:10px}.ending-card{display:flex;gap:16px;margin:0;align-items:flex-start}.ending-number{font-family:var(--serif);font-size:27px;color:#b5a067;min-width:28px;line-height:1.1}.ending-card>div{flex:1}.ending-card .eyebrow{font-size:7px;letter-spacing:1.8px;margin:0 0 7px}.ending-card h3{font-size:26px}.ending-card small{display:block;margin-top:9px;font-size:8px}.ending-mark{font-size:20px;color:#bda366}.ending-card.locked .ending-number,.ending-card.locked .ending-mark{color:#607c68}.ending-summary{font-family:var(--sans);display:flex;align-items:center;justify-content:center;gap:22px;border-top:1px solid #a1894c40;border-bottom:1px solid #a1894c40;padding:18px 0;margin-top:25px;font-size:9px;letter-spacing:.5px;color:#b9ab77}.settings-row h3{font-family:var(--serif);font-size:24px;font-weight:500;color:#d0d5bd;margin:0 0 5px}.settings-row p{font-size:10px;color:#819d89;margin:0;line-height:1.6}.settings-row>div{flex:1}.settings-row .toggle{position:relative;width:40px;height:22px;border:1px solid #7f946047;border-radius:20px;background:#091514;padding:0;flex:none}.toggle>span{position:absolute;left:4px;top:4px;border-radius:50%;width:12px;height:12px;background:#6f866d;transition:transform .2s,background .2s}.toggle.on{border-color:#baa2618a;background:#60794740}.toggle.on>span{transform:translateX(18px);background:#d3b779}.ending-content h1:focus{outline:none}html.reduce-motion{scroll-behavior:auto}html.reduce-motion *,html.reduce-motion *:before,html.reduce-motion *:after{animation:none!important;transition:none!important}.reduce-motion .floating-embers{display:none}
@media(max-width:650px){.chapter-track{gap:10px;margin-top:16px}.chapter-track>span{font-size:0;min-height:21px;white-space:normal;padding-bottom:6px}.chapter-track>span b{font-size:11px;display:block}.origin-grid .origin-option{padding:13px 12px;gap:13px}.origin-grid .origin-option strong{font-size:22px}.origin-grid .origin-option small{font-size:9px}.origin-grid .origin-option em{font-size:8px;margin-top:6px}.character-portrait{width:77px;height:112px;background-size:auto 430%}.character-card .eyebrow{font-size:6px;letter-spacing:1px;margin-bottom:5px}.character-card h3{font-size:25px}.ending-card{padding:17px 13px;gap:12px}.ending-card h3{font-size:23px}.ending-number{font-size:23px;min-width:23px}.ending-card p{font-size:10px}.ending-mark{font-size:17px}.ending-summary{gap:15px;font-size:8px}.journal-entry{gap:13px}.entry-number{font-size:20px}.hero-bottom .story-feature:nth-child(3){display:none}.settings-row h3{font-size:22px}.settings-row p{font-size:9px}.save-summary{font-size:8px}}
@media(max-width:650px){.home-view{min-height:100svh}.hero-content{padding-top:300px}.hero-content h1{font-size:72px;margin-top:23px;margin-bottom:20px}.hero-content .title-ornament{display:none}.hero-hook{font-size:25px;line-height:1.12;margin-top:19px;margin-bottom:14px}.hero-description{font-size:11px;line-height:1.75;margin-bottom:23px;max-width:350px}.hero-caption{top:250px}.hero-bottom{margin-top:31px}.hero-save-note{margin-top:17px}}
@media(max-width:370px){.hero-content{padding-top:282px}.hero-content h1{font-size:66px}.hero-hook{font-size:24px}.hero-description{font-size:10px}.hero-caption{top:232px}}

.journal-profile{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0;margin-bottom:12px}.journal-stats{display:flex;gap:22px;flex-wrap:wrap}.journal-stats>span{text-transform:capitalize;font-size:11px;color:var(--muted)}.journal-stats strong{color:var(--gold-light);margin-left:8px;font-weight:500}.journal-profile .text-button{margin-top:8px}
.hero-bottom button.story-feature{display:flex;padding:0;text-align:left}.hero-bottom button.story-feature:hover strong{color:var(--gold-light)}

.character-card p{font-size:12px;line-height:1.75}@media(max-width:650px){.character-card p{font-size:11px}}

/* Illustrated edition: each chapter beat has its own visible artwork. */
.story-art{height:800px;opacity:.14;filter:blur(12px);background-position:center top}.scene-art-grain{display:none}.scene-shade{background:linear-gradient(0deg,#0b1415,rgba(11,20,21,.5))}.reader-layout{margin:18px auto 0;max-width:1320px;grid-template-columns:minmax(0,790px)250px;gap:54px}.reader-sidebar{align-self:start;position:sticky;top:30px;margin-top:16px}.scene-title{margin-top:20px;margin-bottom:24px}.scene-illustration,.ending-illustration{margin:0 0 27px;border:1px solid #a78c514d;background:#0a1112;box-shadow:0 18px 60px #0003}.illustration-button{display:block;position:relative;width:100%;padding:0;overflow:hidden;line-height:0;cursor:zoom-in}.illustration-button img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:#0a1112}.art-expand{position:absolute;right:12px;bottom:12px;width:33px;height:33px;display:grid;place-items:center;color:#f0dfb8;font-size:23px;line-height:1;border:1px solid #ceb87a70;background:#0d1a1acc;backdrop-filter:blur(8px);transition:background .2s}.illustration-button:hover .art-expand{background:#385244e0}.scene-illustration figcaption{display:flex;gap:10px;justify-content:space-between;align-items:center;padding:11px 14px;color:#92a599;font-size:9px;letter-spacing:.4px}.scene-illustration figcaption button{font-size:9px;color:var(--gold);padding:0;white-space:nowrap}#speaker-chip{display:inline-flex;gap:12px;padding:6px 15px 6px 6px;min-height:65px;max-width:100%;margin-bottom:21px;text-align:left;letter-spacing:0}#speaker-chip img{width:52px;height:58px;object-fit:cover;object-position:center 25%;border:1px solid #b6a07040}#speaker-chip>span:nth-child(2){display:flex;flex-direction:column;gap:5px}#speaker-chip small{font-size:8px;letter-spacing:.7px;color:#93ac9b;font-weight:400}#speaker-chip strong{font-family:var(--serif);font-size:22px;font-weight:500;color:#e4e3d0}#speaker-chip .speaker-more{color:var(--gold);margin-left:8px;font-size:15px}.ally-avatar{overflow:hidden;position:relative}.ally-avatar img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 24%}.character-portrait{padding:0;overflow:hidden;background:none;width:112px;height:151px;cursor:zoom-in}.character-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 20%}.character-portrait:after{display:none}.character-portrait>span{bottom:7px;left:auto;right:7px;font-size:21px;letter-spacing:0;color:#e4d4ac;text-shadow:0 1px 5px #000}.portrait-link{padding-bottom:0;font-size:10px}.character-card{align-items:flex-start}.ending-art{opacity:.18;filter:blur(8px)}.ending-shade{background:linear-gradient(0deg,#091314,#091314b3)}.ending-content{max-width:900px}.ending-illustration{margin:30px 0 32px}.ending-illustration .illustration-button img{aspect-ratio:3/2}.ending-thumbnail{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;border:1px solid #b4a57036;border-radius:1px}.ending-card.unlocked{display:grid;grid-template-columns:32px 1fr 23px}.ending-card.unlocked .ending-thumbnail{grid-column:1/-1;margin-bottom:8px}#dialog.art-dialog{width:calc(100% - 40px);max-width:1120px;max-height:94svh;padding:25px 28px;background:#0c1818}#dialog.art-dialog .modal-head{margin-bottom:21px}#dialog.art-dialog .modal-head h2{font-size:36px}.lightbox-image{display:block;width:100%;height:auto;max-height:70svh;object-fit:contain;background:#081111}.artwork-description{font-size:12px;line-height:1.7;color:#a9b9ac;margin:17px 0 0}.portrait-study{display:flex;justify-content:center;gap:25px}.portrait-study figure{margin:0;max-width:390px;min-width:0;flex:1}.portrait-study img{width:100%;display:block;max-height:66svh;object-fit:contain;background:#081111}.portrait-study figcaption{text-align:center;font-family:var(--serif);font-size:22px;color:#c2b780;margin-top:14px}.story-prose{color:#d0d7ca}.ending-body{color:#d0d7ca}
@media(max-width:1000px){.reader-layout{gap:30px;grid-template-columns:minmax(0,1fr)220px}.reader-sidebar{position:static}.scene-title{font-size:46px}}
@media(max-width:900px){.reader-layout{display:block;margin-top:18px;max-width:790px}.reader-sidebar{display:none}}
@media(max-width:650px){.reader-layout{margin-top:12px;padding-left:6%;padding-right:6%}.story-topline{padding-bottom:20px}.scene-title{font-size:39px;margin:17px 0 23px}.scene-illustration{margin-left:-1%;margin-right:-1%;margin-bottom:22px}.scene-illustration figcaption{padding:10px;font-size:8px;letter-spacing:0}.scene-illustration figcaption button{font-size:8px}.art-expand{right:9px;bottom:9px;width:29px;height:29px;font-size:20px}#speaker-chip{margin-bottom:18px;padding-right:12px;gap:10px;min-height:60px}#speaker-chip img{width:44px;height:50px}#speaker-chip small{font-size:7px}#speaker-chip strong{font-size:21px}.character-portrait{width:84px;height:118px}.character-card{gap:15px}.ending-view{padding-top:125px;padding-left:6%;padding-right:6%}.ending-content h1{font-size:49px}.ending-illustration{margin:24px -1% 27px}.ending-thumbnail{margin-bottom:7px}#dialog.art-dialog{width:calc(100% - 20px);padding:20px 16px}#dialog.art-dialog .modal-head h2{font-size:29px}.artwork-description{font-size:11px}.portrait-study{gap:12px}.portrait-study figcaption{font-size:18px;line-height:1.15}.portrait-study.has-variation{display:block}.portrait-study.has-variation figure{max-width:320px;margin:0 auto 24px}.portrait-study img{max-height:65svh}.portrait-study.has-variation figure:last-child{margin-bottom:0}.character-card .portrait-link{font-size:9px}}
.art-download{margin-top:10px;text-decoration:none;font-size:12px}
