:root{font-family:Arial,Helvetica,sans-serif;color:#e8e4d8;background:#0b1110;color-scheme:dark;font-synthesis:none;--gold:#cab384;--muted:#9ca69b;--line:#d9d3b523}
*{box-sizing:border-box}body{margin:0}button,textarea{font:inherit}button{appearance:none;cursor:pointer;color:inherit}button:disabled{cursor:default}a{color:inherit}[hidden]{display:none!important}button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--gold);outline-offset:4px}.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.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}.skip-link{position:fixed;top:-70px;left:20px;z-index:10;padding:12px;background:#28382e}.skip-link:focus{top:12px}
.site-header{height:90px;margin:0 5%;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line);position:relative;z-index:2}.brand{display:flex;align-items:center;gap:15px;text-decoration:none}.brand-mark{font:36px Georgia,serif;letter-spacing:-2px}.brand-mark>span{color:var(--gold);padding-left:3px}.brand-name{font:18px/1.25 Georgia,serif;color:#ddd5c1}.site-header nav{display:flex;align-items:center;gap:28px}.about-button{border:0;background:none;font-size:12px;padding:12px 0;color:#c8c9bb}.about-button:hover{color:var(--gold)}.buy-button{display:inline-flex;align-items:center;justify-content:center;gap:14px;border:1px solid #c6b28775;border-radius:6px;background:#cfbb8e;color:#142017;text-decoration:none;padding:12px 17px;font-size:12px;line-height:1.4;font-weight:500;transition:background .2s}.buy-button:hover{background:#e6cea0}
.encounter{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,520px);align-items:center;gap:36px;min-height:630px;height:calc(100svh - 90px);max-height:1200px;padding:27px 5% 35px;overflow:hidden}.portrait{position:absolute;inset:0 28% 0 0;margin:0;z-index:-1}.portrait img{width:100%;height:100%;object-fit:cover;object-position:50% 0;display:block}.portrait-shade{position:absolute;inset:-1px;background:linear-gradient(90deg,#0b111065,transparent 25%,transparent 64%,#0b1110 100%),linear-gradient(0deg,#0b1110 0%,transparent 26%,transparent 88%,#0b111035 100%)}
.conversation{grid-column:2;position:relative;padding:25px 25px 19px;border:1px solid #c1bea527;border-radius:23px;background:linear-gradient(140deg,#17201ced,#101916f2);box-shadow:0 18px 80px #0005;backdrop-filter:blur(20px);display:flex;flex-direction:column;height:calc(100svh - 153px);max-height:1060px;min-height:540px;min-width:0}.conversation-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px;flex-shrink:0}.conversation-heading h2{font:21px/1.3 Georgia,serif;font-weight:400;letter-spacing:-.3px;margin:0;color:#e1d8c0}.quiet-button{background:none;border:0;color:#a4af9b;min-height:34px;min-width:34px;font-size:24px;line-height:1}.quiet-button:hover{color:var(--gold)}
.messages{overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;scrollbar-width:thin;scrollbar-color:#5b6655 transparent;padding:10px 5px 5px 1px;margin-bottom:18px}.message{margin:0 0 27px;animation:appear .25s ease-out}.message:last-child{margin-bottom:14px}.message-text{font-size:14px;line-height:1.85;color:#d3d9ca;margin:0;white-space:pre-line;overflow-wrap:anywhere}.welcome .message-text{font:22px/1.65 Georgia,serif;color:#e4dfd0}.visitor-message{padding:13px 17px;background:#c9c7ae0d;border:1px solid #c9c7ae16;border-radius:18px 18px 4px 18px;margin-left:34px;color:#e0e2d5}.visitor-message .message-text{color:#e0e2d5}.response-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 19px;margin-top:12px}.response-action{display:flex;align-items:center;gap:6px;background:transparent;border:0;padding:4px 0;color:#c9b78e;font-size:11px;min-height:28px}.response-action:hover{color:#f0dfbc}.response-action .icon{width:14px;height:14px}.reading .message-text{color:#efe6d0}.response-action[aria-pressed=true]{color:#f0dfbc}.jump-latest{align-self:center;border:1px solid #c1bea536;background:#213023;border-radius:20px;padding:7px 13px;margin:-8px 0 9px;font-size:11px;flex-shrink:0}
.composer{display:flex;flex-direction:column;gap:3px;border:1px solid #a7b39b38;border-radius:20px;background:#0b1310b0;padding:13px 12px 10px;flex-shrink:0;transition:border-color .2s,box-shadow .2s}.composer:focus-within{border-color:#c6b68d8c;box-shadow:0 0 0 3px #c6b68d08}.composer textarea{width:100%;background:none;border:0;resize:none;min-height:45px;max-height:160px;line-height:1.65;padding:4px 5px 8px;font-size:14px;color:#e4e4d9;outline:none}.composer textarea::placeholder{color:#aeb7a5}.composer-toolbar{display:flex;align-items:center;justify-content:flex-end}.composer-toolbar #send{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:50%;border:0;background:#d1bc8e;color:#101a13;transition:background .2s}.composer-toolbar #send:hover:not(:disabled){background:#ead2a2}.composer-toolbar #send:disabled{opacity:.3}.composer-toolbar .icon{width:18px;height:18px}.conversation-status{font-size:11px;line-height:1.6;color:#d1c59f;margin:10px 3px 0;overflow-wrap:anywhere;flex-shrink:0}.conversation-status:empty{display:none}#reading-audio{width:100%;height:32px;margin-bottom:12px;flex-shrink:0}
.thinking-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--gold);margin:0 4px 3px 0;animation:thinking 1.2s ease-in-out infinite}.thinking-dot:nth-child(2){animation-delay:.2s}.thinking-dot:nth-child(3){animation-delay:.4s}
.literary-dialog{width:min(650px,calc(100vw - 36px));max-height:85svh;overflow-y:auto;border:1px solid #c2b68b45;border-radius:16px;padding:45px 32px 30px;background:#152019;color:#c4cdbb;box-shadow:0 25px 100px #0008}.literary-dialog::backdrop{background:#050b08bc;backdrop-filter:blur(8px)}.dialog-close{position:absolute;right:12px;top:12px;display:grid;place-items:center;width:34px;height:34px;border:0;background:transparent;color:#c8c4ad}.literary-dialog h2{font:29px/1.25 Georgia,serif;letter-spacing:-.6px;color:#e8e4d5;margin:0 0 15px}.literary-dialog h2 em{color:#cfb98c;font-weight:400}.literary-dialog p{font-size:13px;line-height:1.8}.literary-dialog .dialog-author{font:16px Georgia,serif;color:var(--gold);margin-bottom:23px}.book-details{display:grid;grid-template-columns:145px 1fr;align-items:center;gap:25px;margin-bottom:26px}.book-cover{width:100%;height:auto;display:block;box-shadow:0 10px 30px #0006}.book-details .buy-button{padding:10px 14px}.experience-details{border-top:1px solid var(--line);margin-top:25px;padding-top:18px;font-size:11px;color:#a4b099}.experience-details summary{cursor:pointer}.experience-details p{font-size:12px}.source-excerpt{border-left:1px solid var(--gold);padding-left:17px;margin:25px 0}.source-excerpt p{font:18px/1.6 Georgia,serif;color:#e0dfcf;margin-bottom:8px}.source-excerpt cite{font-style:normal;font-size:11px;line-height:1.7;color:#b7a77f;display:block}
.embed .site-header{display:none}.embed .encounter{height:100svh;max-height:none}.embed .conversation{height:calc(100svh - 60px)}
@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes thinking{0%,70%,100%{opacity:.25;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}
@media(min-width:1600px){.encounter{grid-template-columns:1fr 560px;padding-left:7%;padding-right:7%}.conversation{padding:29px}.portrait{inset:0 25% 0 4%}}
@media(max-width:1050px) and (min-width:701px){.site-header{margin:0 4%}.encounter{grid-template-columns:1fr minmax(350px,430px);padding-left:4%;padding-right:4%;gap:15px}.portrait{inset:0 40% 0 -10%}.conversation{padding:22px 20px}.welcome .message-text{font-size:21px}}
@media(max-width:700px){.site-header{height:76px;margin:0 5%;gap:10px}.brand-mark{display:none}.brand-name{font-size:15px}.site-header nav{gap:13px}.about-button{font-size:11px}.buy-button{font-size:11px;padding:10px 12px;gap:7px}.encounter{height:auto;max-height:none;min-height:0;display:block;overflow:hidden;padding:330px 5% 26px}.portrait{inset:0 -5% auto;height:535px}.portrait-shade{background:linear-gradient(0deg,#0b1110 0%,#0b1110dd 10%,transparent 48%),linear-gradient(90deg,#0b111040,transparent 20%,transparent 80%,#0b111040)}.conversation{width:100%;padding:20px 18px 16px;min-height:480px;height:620px;max-height:85svh;border-radius:21px}.conversation-heading{margin-bottom:12px}.conversation-heading h2{font-size:20px}.welcome .message-text{font-size:20px}.message-text{font-size:14px}.composer textarea{font-size:16px;min-height:45px}.literary-dialog{padding:43px 23px 25px}.literary-dialog h2{font-size:25px}.book-details{grid-template-columns:105px 1fr;gap:17px}.book-details h2{font-size:22px}.embed .encounter{display:block;min-height:0;padding:330px 5% 26px;height:auto}.embed .conversation{height:620px;max-height:85svh}}
@media(max-width:380px){.brand-name{font-size:13px}.site-header nav{gap:9px}.about-button{font-size:10px}.site-header .buy-button{font-size:10px;padding:9px}.conversation{padding:18px 15px}.book-details{grid-template-columns:85px 1fr}.book-details h2{font-size:20px}}
@media(max-width:700px){.encounter{padding-top:290px;padding-bottom:20px}.conversation{height:calc(100svh - 386px);min-height:420px;max-height:none}.welcome .message-text{font-size:18px}.embed .conversation{height:calc(100svh - 350px)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.conversation-tools{display:flex;align-items:center;gap:9px}.auto-read{display:grid;place-items:center}.auto-read[aria-pressed=true]{color:var(--gold)}.auto-read[aria-pressed=false]{opacity:.45}.auto-read[aria-pressed=false]::after{content:'';position:absolute;width:23px;border-top:1px solid currentColor;transform:rotate(-45deg)}.awaiting-speech:empty::after{content:'…';color:var(--gold)}.enable-sound{align-self:flex-start;border:1px solid #c6b28775;border-radius:20px;background:#cfbb8e;color:#142017;padding:9px 16px;margin:0 0 12px;font-size:12px}.reading .response-action[aria-pressed=true] .icon{animation:speaking 1.5s ease-in-out infinite}
.site-footer{min-height:80px;display:flex;align-items:center;justify-content:center;padding:18px 5%;border-top:1px solid var(--line);background:#101814;color:#d3d9ca;text-align:center;position:relative;z-index:2}.site-footer p{max-width:950px;margin:0;font-size:13px;line-height:1.7}.site-footer strong{color:#efe6d0;font-weight:600}.site-footer span{color:#e2d7bd}.encounter{height:calc(100svh - 170px);min-height:590px}.conversation{height:calc(100svh - 233px);min-height:500px}
@keyframes speaking{50%{opacity:.45}}@media(max-width:700px){.encounter{height:auto;min-height:0}.conversation{height:calc(100svh - 426px);min-height:380px}.site-footer{padding:17px 7%;min-height:110px}.site-footer p{font-size:12px}}@media(prefers-reduced-motion:reduce){.reading .response-action[aria-pressed=true] .icon{animation:none}}
.site-footer{flex-direction:column;gap:12px}.historical-note{width:min(100%,850px);font-size:13px;line-height:1.75}.historical-note summary{color:var(--gold);cursor:pointer;padding:3px 0;list-style-position:inside}.historical-note[open] summary{margin-bottom:14px}.historical-note-content{text-align:left;border-top:1px solid var(--line);padding-top:5px}.historical-note-content p{margin:12px 0}.historical-note-content .historical-note-source{color:#aeb9a8;font-size:12px}
.author-link{text-decoration:underline;text-underline-offset:3px;text-decoration-color:#cab38480}.author-link:hover{text-decoration-color:var(--gold)}.author-link:hover strong{color:var(--gold)}
/* Keep the whole torso visible beside the conversation on laptop screens. */
@media(min-width:1100px){.portrait{inset:0 42% 0 2%}.portrait img{width:auto;max-width:100%;margin-inline:auto;object-fit:contain;object-position:50% 100%;mask-image:linear-gradient(90deg,transparent,black 12%,black 88%,transparent)}.portrait-shade{background:linear-gradient(0deg,#0b1110 0%,transparent 9%,transparent 92%,#0b111055 100%)}}

.brand-copy{min-width:0}.brand-name{margin:0;font-size:25px;font-weight:400;line-height:1.2}.brand-subtitle{max-width:680px;margin:3px 0 0;font-size:12px;line-height:1.5;color:#b9bcae}.site-header .brand{min-width:0}.site-header nav{flex-shrink:0}
@media(max-width:1050px){.brand-name{font-size:22px}.brand-subtitle{font-size:11px}}
@media(max-width:700px){.site-header{height:auto;display:grid;grid-template-columns:minmax(0,1fr);gap:14px;padding:18px 0 15px}.brand-name{font-size:24px}.brand-subtitle{font-size:12px;line-height:1.5}.site-header nav{justify-content:flex-end;gap:20px}}

.brand-name a{text-decoration:none}

.brand-subtitle{font-family:Georgia,serif;font-size:13px;color:#adb3a4}.brand-subtitle em{color:#d4c39f;font-style:italic}.brand-subtitle .author-link{color:#d4c39f;text-decoration-color:#cab38455}


.historical-note summary{display:flex;align-items:center;justify-content:center;gap:13px;list-style:none;padding:7px 0;font:21px/1.45 Georgia,serif;color:#decca3;letter-spacing:.1px}.historical-note summary::-webkit-details-marker{display:none}.historical-note summary::before{content:"";width:8px;height:8px;flex-shrink:0;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(-45deg);transition:transform .2s}.historical-note[open] summary::before{transform:rotate(45deg)}.historical-note summary:hover{color:#f0dfbc}
@media(max-width:700px){.historical-note summary{font-size:16px;line-height:1.5;gap:10px}.site-footer{min-height:84px;padding:18px 7%}}

/* Extend the painted blue atmosphere only around the portrait. */
.encounter{background:linear-gradient(0deg,#0b1110,transparent 16%,transparent 92%,#0b111044),radial-gradient(ellipse at 28% 45%,#31565d60,transparent 65%),linear-gradient(90deg,#19363d 0%,#19363d 40%,#0b1110 75%)}
@media(max-width:700px){.encounter{background:linear-gradient(180deg,#19363d 0%,#19363d 280px,#0b1110 550px)}}
