/* Review requested 22 November: keep the journal, clarify its entrance and use. */
:root{--brand-blue:#111A37;--brand-violet:#111A37;--brand-peach:#E8B494;--brand-blue-on-dark:#F7F5EE}
.site-brand .brand-on-dark{display:none}
.site-brand>span>span{color:var(--brand-blue)}
body[data-dark-world="true"] .site-brand img,
body[data-chrome-light="true"] .site-brand img,
.is-zoomed .site-brand img{filter:none}
body[data-chrome-light="true"] .site-brand .brand-on-light,
.is-zoomed .site-brand .brand-on-light{display:none}
body[data-chrome-light="true"] .site-brand .brand-on-dark,
.is-zoomed .site-brand .brand-on-dark{display:block}
body[data-chrome-light="true"] .site-brand>span>span,
.is-zoomed .site-brand>span>span{color:var(--brand-blue-on-dark)}
.site-header nav>#tour-help{padding:8px 13px;border:1px solid currentColor;border-radius:4px;min-height:44px}
#tour-help:hover,#tour-help:focus-visible{background:#E8B49424}
#tour-invite,#tour-card{box-sizing:border-box}
#tour-invite h2,#tour-card h2{font:600 22px/1.4 Heebo,Arial,sans-serif}
#tour-card #tour-progress{padding:0;margin-top:8px}
#tour-steps{display:flex;gap:14px;list-style:none;padding:0;margin:14px 0 18px;font:13px/1.5 Heebo;color:#111A37}
#tour-steps li{flex:1;padding-top:7px;border-top:3px solid #E8B494}
#tour-steps li[aria-current]{border-color:#111A37;font-weight:700}
#tour-steps li.is-complete{border-color:#b98365}
.tour-actions{display:flex;align-items:center;gap:12px;justify-content:space-between}
#tour-card #tour-action{background:#111A37;color:#f7f5ee;min-height:44px;font-weight:600}
#tour-card #tour-action:disabled{opacity:.65;cursor:wait}
#tour-card #tour-exit{position:static;padding-inline:6px;font-size:13px}
#tour-card button:active,#tour-invite button:active{transform:translateY(1px)}
#tour-card button:focus-visible,#tour-invite button:focus-visible{outline:3px solid #111A37;outline-offset:3px}
.process-step{display:flow-root}
.process-symbol{float:left;width:96px;height:96px;object-fit:contain;margin:0 18px 12px 0}
#journal-intro .intro-film{background:#151529}
#journal-intro .intro-film video{object-fit:contain}
#journal-intro .intro-copy{bottom:max(28px,7vh);left:50%;right:auto;transform:translateX(-50%);width:max-content;max-width:calc(100% - 40px);padding:14px 26px;background:#17172bef;color:#f7f5ee;border-radius:4px;font:600 clamp(25px,3vw,42px)/1.5 Heebo,Arial,sans-serif;text-shadow:none;text-wrap:balance;box-sizing:border-box}
@media(max-width:800px){
 #tour-invite{bottom:100px;right:16px;padding:18px}
 #tour-card{padding:16px 18px}
 #tour-card h2,#tour-invite h2{font-size:20px}
 #tour-card p{font-size:14px;line-height:1.65;margin-bottom:10px}
 #tour-steps{gap:10px;margin:10px 0 14px}
 .process-symbol{width:76px;height:76px;margin-right:12px}
 #journal-intro .intro-copy{bottom:max(28px,10vh);padding:12px 18px;font-size:26px}
}
@media(max-width:360px){.tour-actions{gap:8px}#tour-card button{padding:8px 10px}#tour-card #tour-exit{font-size:12px}}
@media(max-height:550px){#tour-card h2{font-size:18px}#tour-card p{font-size:13px}#tour-steps{margin:8px 0 10px}#journal-intro .intro-copy{bottom:16px;font-size:24px;padding:9px 18px}}

/* One family: violet signature, blue message, peach connection. */
.site-brand .brand-connection{font-style:normal;color:#996044}
body[data-chrome-light="true"] .site-brand .brand-connection,.is-zoomed .site-brand .brand-connection{color:var(--brand-peach)}
body:not(.is-open) #chapter-world:after{background:none;}

/* Higgsfield-authored listening space; live journal and lights remain in Three.js. */
.world-listening{position:absolute;inset:0;background:url('worlds/listening-space-higgsfield.png') center 56%/cover no-repeat;transform:scale(1.035);transform-origin:center;pointer-events:none}
#chapter-world:after{background:none}
@media(prefers-reduced-motion:reduce){.world-listening{transform:none!important}}

@media(max-width:800px){.world-listening{background-image:url("worlds/listening-space-mobile-clean.png");background-position:center center}}
