:root{color-scheme:dark;--bg:#0c161b;--ink:#eee5d5;--muted:#afb8b5;--gold:#c8a478;--rule:rgba(218,199,158,.2)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse 65% 600px at 75% 0,#1d353b60,transparent 80%),var(--bg);color:var(--ink);font-family:Georgia,'Times New Roman',serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:hover{color:var(--gold)}a:focus-visible,summary:focus-visible{outline:2px solid var(--gold);outline-offset:7px}h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-weight:400}p{line-height:1.75}img{display:block;width:100%;object-fit:cover}.shell{max-width:1260px;margin:auto;padding:0 38px}.header{height:92px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--rule);gap:24px}.brand{font-size:26px;letter-spacing:.19em;line-height:1}.brand span{display:block;margin-top:9px;font:9px/1.5 Arial,sans-serif;letter-spacing:.24em;color:var(--gold)}.header nav{display:flex;gap:38px;font:13px/1.5 Arial,sans-serif;color:var(--muted)}.header nav a{position:relative;padding:12px 0}.header nav [aria-current]{color:var(--ink)}.header nav [aria-current]:after{position:absolute;content:'';height:1px;background:var(--gold);bottom:3px;left:0;right:0}.eyebrow{font:10px/1.5 Arial,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:var(--gold)}.library-head{padding:56px 0 26px}.library-head h1{font-size:26px}.chapters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.chapter{border:1px solid var(--rule);background:#0e1b21;display:flex;flex-direction:column;overflow:hidden;transition:transform .2s,border-color .2s}@media(hover:hover) and (pointer:fine){.chapter:hover{transform:translateY(-4px);border-color:#c8a47888;color:var(--ink)}}.cover{height:340px;position:relative;overflow:hidden}.cover .art{width:100%;height:100%;margin:0}.cover img{height:100%;object-position:50% 35%}.cover .art:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0e1b21,transparent 60%)}.cover figcaption{position:absolute;bottom:24px;left:24px;right:24px;z-index:1}.cover .brief{font:12px/1.5 Arial,sans-serif;color:#d1d7cf;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:6px}.chapter-copy{padding:22px 24px 25px;flex:1;display:flex;flex-direction:column}.chapter h2{font-size:30px;line-height:1.15;letter-spacing:-.02em;max-width:260px}.chapter-copy p{color:var(--muted);font-size:15px;margin-top:15px}footer{border-top:1px solid var(--rule);padding:23px 0 32px;margin-top:74px;display:flex;justify-content:space-between;gap:20px;color:#a1aeac;font:10px/1.6 Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase}.back{font:12px Arial,sans-serif;color:var(--gold);display:inline-block}.chapter-top{max-width:1040px;margin:auto;padding:35px 0 46px}.chapter-meta{display:flex;gap:20px;align-items:center;margin-top:46px;color:var(--muted);font:11px Arial,sans-serif}.chapter-top h1{font-size:clamp(42px,5vw,64px);line-height:1.12;letter-spacing:-.035em;margin:18px 0}.subtitle{font-size:19px;color:var(--muted)}.story{max-width:1040px;margin:auto;display:flow-root;font-size:19px;line-height:1.78}.story p{max-width:72ch;margin:0 auto 24px;line-height:1.78}.story>p:first-child em{color:var(--muted);font-size:16px}.story h2{clear:both;max-width:72ch;font-size:30px;line-height:1.2;padding-top:30px;margin:18px 0 26px}.art{position:relative;isolation:isolate}.story .art{width:42%;min-height:280px;shape-outside:margin-box;margin-top:12px;margin-bottom:26px}.story .art.right{float:right;margin-left:42px;margin-right:-15px}.story .art.left{float:left;margin-right:42px;margin-left:-15px}.story .art img{height:320px;mask-image:radial-gradient(ellipse 65% 65% at 50% 48%,#000 25%,transparent 83%)}.story .art figcaption{position:absolute;left:40px;right:40px;bottom:43px;text-align:center}.story .art figcaption strong{display:block;font-size:20px;font-weight:400;line-height:1.3;margin:10px 0}.story .brief{display:block;font:12px/1.6 Arial,sans-serif;color:var(--muted)}.story .art.wide{clear:both;float:none;width:100%;max-width:950px;margin:34px auto 40px;min-height:330px}.story .art.wide img{height:350px;mask-image:radial-gradient(ellipse 65% 70% at center,#000 20%,transparent 80%)}.story .art.wide figcaption{max-width:510px;margin:auto;bottom:60px}.story .final-art img{height:auto;max-height:560px;object-fit:contain}.chapter-nav{max-width:1040px;margin:60px auto 0;clear:both;border-top:1px solid var(--rule);padding-top:28px;display:flex;justify-content:space-between;gap:24px}.chapter-nav a{font-size:20px;max-width:48%;line-height:1.4}.chapter-nav a:last-child{text-align:right}.chapter-nav .eyebrow{display:block;margin-bottom:8px}.text-page{max-width:740px;margin:70px auto 0}.text-page h1,.people-heading h1{font-size:clamp(38px,5vw,56px);letter-spacing:-.035em;margin:16px 0 26px}.intro{font-size:21px;color:var(--ink)}.text-page section{margin-top:42px}.text-page h2{font-size:27px;margin-bottom:17px}.text-page p,.text-page li,.text-page dd{font-size:18px;color:var(--muted);line-height:1.75}.text-page p+p{margin-top:16px}.text-page ul{padding-left:22px;margin:0}.text-page li{padding-left:7px;margin-bottom:14px}.text-page li::marker{color:var(--gold)}.objectives{margin:0}.objectives>div{padding:17px 0;border-bottom:1px solid var(--rule)}.objectives dt{font-size:19px;margin-bottom:7px}.objectives dd{margin:0}.closing{font-style:italic;margin-top:40px;padding-top:25px;border-top:1px solid var(--rule)}.people-heading{padding-top:60px}.people{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px}.character-mark{height:180px;display:grid;place-items:center;background:radial-gradient(ellipse at center,#32606855,transparent 65%);color:#b9cfc8}.character-mark span{font-size:76px;font-weight:400}.mark-1{background:radial-gradient(ellipse at center,#80547744,transparent 65%);color:#c2a4b8}.mark-2{background:radial-gradient(ellipse at center,#ad854c33,transparent 65%);color:#c8a478}.person h2{font-size:31px;margin:15px 0 8px}.person .eyebrow{font-size:9px;letter-spacing:.11em}.person .player{font:12px Arial,sans-serif;color:var(--gold);margin-bottom:24px}.person p{font-size:17px;color:var(--muted)}.person h3{font-size:21px;margin:26px 0 12px}.person details{margin-top:28px;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);padding:20px 0}.person summary{cursor:pointer;font-size:18px}.person summary span{display:block;margin:9px 0 0 17px;font:11px Arial,sans-serif;color:var(--muted)}.person .sheet-note{font-size:14px;margin-top:20px}.sheet{font:13px/1.6 Arial,sans-serif}.sheet div{padding:10px 0;border-bottom:1px solid var(--rule)}.sheet dd{margin:4px 0 0;color:var(--muted)}.not-found{padding:100px 0;max-width:700px}.not-found h1{font-size:48px;margin:24px 0}.not-found p{color:var(--muted);margin-bottom:25px}.skip{position:absolute;left:20px;top:-100px;padding:12px;background:var(--ink);color:var(--bg);z-index:10;font:14px Arial}.skip:focus{top:12px}
@media(min-width:1500px){.library-head{padding-top:64px}.cover{height:390px}}
@media(max-width:1000px){.shell{padding:0 26px}.cover{height:290px}.chapter h2{font-size:26px}.people{gap:24px}.person h2{font-size:27px}.story .art.right{margin-right:0;margin-left:28px}.story .art.left{margin-left:0;margin-right:28px}.story .art figcaption{left:22px;right:22px}.chapter-copy{padding:20px}.header nav{gap:25px}}
@media(max-width:680px){.shell{padding:0 18px}.header{height:79px;gap:14px}.brand{font-size:21px}.brand span{font-size:7px;letter-spacing:.18em}.header nav{gap:14px;font-size:11px}.header nav a{white-space:nowrap}.library-head{padding:38px 0 22px}.library-head h1{font-size:24px}.chapters,.people{grid-template-columns:1fr;gap:22px}.cover{height:280px}.chapter-copy{padding:21px 24px 24px}.chapter h2{font-size:31px;max-width:100%}.chapter-copy p{font-size:15px;max-width:32ch}.chapter-top{padding:27px 0 28px}.chapter-meta{margin-top:34px;gap:15px;font-size:10px}.chapter-top h1{margin:18px 0;font-size:42px}.subtitle{font-size:17px}.story{font-size:18px}.story p{line-height:1.75;margin-bottom:23px}.story h2{font-size:27px;margin-top:12px;padding-top:22px}.story .art.right,.story .art.left,.story .art.wide{float:none;width:100%;margin:20px auto 28px;min-height:255px;clear:both}.story .art img,.story .art.wide img{height:280px}.story .art figcaption,.story .art.wide figcaption{left:28px;right:28px;bottom:40px}.story .art figcaption strong{font-size:20px}.story .brief{font-size:12px}.chapter-nav{margin-top:35px;gap:25px}.chapter-nav a{font-size:17px}footer{margin-top:48px;font-size:8px;letter-spacing:.09em}.text-page{margin-top:42px}.text-page h1{font-size:39px}.text-page p,.text-page li,.text-page dd{font-size:17px}.text-page .intro{font-size:20px}.people-heading{padding-top:40px}.person{padding-bottom:28px;border-bottom:1px solid var(--rule)}.person h2{font-size:32px}.person .eyebrow{font-size:10px}.character-mark{height:140px}.people{gap:15px}.not-found{padding:70px 0}.not-found h1{font-size:39px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
.story p{margin-left:0;margin-right:0}.story .art{clear:both}

/* Single reading flow: generous paintings, safe wrapping, full-width continuation. */
.illustrated-story{max-width:900px;font-size:19px}
.illustrated-story .story-part{margin-bottom:38px}
.illustrated-story p{max-width:none;width:auto;margin:0 0 22px}
.illustrated-story h2{max-width:none}
.illustrated-story .story-scene{display:flow-root;margin-bottom:26px}
.illustrated-story .art.scene-art.left,.illustrated-story .art.scene-art.right,.illustrated-story .art.scene-art.wide{float:none;clear:none;width:100%;max-width:none;min-height:0;margin:0 0 18px;shape-outside:none}
.illustrated-story .painting{padding:0;position:relative}
.illustrated-story .art.scene-art .scene-image{width:100%;height:auto;max-height:none;object-fit:contain;filter:none;mask-image:none;-webkit-mask-image:none}
.illustrated-story .art.scene-art .painting{overflow:hidden;mask-image:var(--art-mask-mobile,var(--art-mask,url('/art/masks/mobile-full.svg')));-webkit-mask-image:var(--art-mask-mobile,var(--art-mask,url('/art/masks/mobile-full.svg')));mask-size:100% 100%;-webkit-mask-size:100% 100%;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat}
.illustrated-story .scene-prose{display:contents;columns:auto}
@media(min-width:980px){
 body:has(.illustrated-story) .shell{max-width:none;padding-inline:clamp(28px,3vw,80px)}
 body:has(.illustrated-story) .chapter-top,body:has(.illustrated-story) .chapter-nav{max-width:none}
 body:has(.illustrated-story) .chapter-top{padding-bottom:34px}
 body:has(.illustrated-story) .chapter-top h1{font-size:clamp(60px,6.2vw,116px)}
 .illustrated-story{max-width:none;width:100%;font-size:clamp(19px,1.4vw,24px)}
 .illustrated-story .story-part>h2{font-size:clamp(34px,3vw,56px);line-height:1.15;margin:0 0 22px;padding-top:12px}
 .illustrated-story .story-part{margin-bottom:42px}
 .illustrated-story .story-scene{margin-bottom:24px}
 .illustrated-story .art.scene-art.right,.illustrated-story .art.scene-art.left{width:66%;margin-bottom:12px;shape-outside:var(--art-contour,inset(0));shape-margin:18px}
 .illustrated-story .art.scene-art.right{float:right;margin-left:0;margin-right:0}
 .illustrated-story .art.scene-art.left{float:left;margin-right:0;margin-left:0}
 .illustrated-story .art.scene-art .painting{mask-image:var(--art-mask,url('/art/masks/mobile-full.svg'));-webkit-mask-image:var(--art-mask,url('/art/masks/mobile-full.svg'))}
 .illustrated-story .art.scene-art.wide{margin:6px 0 22px;width:100%}
 .illustrated-story .scene-wide .scene-prose{columns:auto}
}
@media(min-width:1600px){.illustrated-story .art.scene-art.right,.illustrated-story .art.scene-art.left{width:68%}}

/* The painted window stays still; only its source artwork moves behind the mask. */
.illustrated-story .painting[data-paint-motion] .scene-image{transform:translate3d(0,var(--paint-shift,0px),0) scale(1.20);transform-origin:center}
@media(max-width:979px){.illustrated-story .painting[data-paint-motion] .scene-image{transform:translate3d(0,var(--paint-shift,0px),0) scale(1.18)}}
@media(prefers-reduced-motion:reduce){.illustrated-story .painting[data-paint-motion] .scene-image{transform:none!important}}

/* Planned art occupies the same scene slot and reading flow as a delivered painting. */
.illustrated-story .scene-art.planned-art figcaption{inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:clamp(20px,4vw,56px);max-width:none;margin:0}
.illustrated-story .scene-art.planned-art figcaption strong{color:#eae5d7;font-size:clamp(22px,2.4vw,34px)}
.illustrated-story .scene-art.planned-art .eyebrow{color:#d9b88c}
.illustrated-story .scene-art.planned-art .brief{color:#eae5d7;max-width:54ch}

/* Preserve figures near the scenery edges as their painted windows move. */
.illustrated-story .art[data-art-id="s01-chickens"] .painting[data-paint-motion] .scene-image{transform-origin:15% center}
.illustrated-story .art[data-art-id="s01-stageway"] .painting[data-paint-motion] .scene-image{transform-origin:65% center}
.illustrated-story .art[data-art-id="s01-wall"] .painting[data-paint-motion] .scene-image{transform-origin:25% center}
.illustrated-story .art[data-art-id="s01-performance"] .painting[data-paint-motion] .scene-image{transform-origin:center top}
.illustrated-story .art[data-art-id="s01-butter-brew"] .painting[data-paint-motion] .scene-image{transform-origin:center 15%}
/* Consistent square cover frames on desktop and mobile. */
.chapter .cover{height:auto;aspect-ratio:1}
.cover .art[data-art-id="cover-00"] img{object-fit:cover;object-position:center}

.chapter-copy .session-nickname{font-size:20px;line-height:1.35;margin-top:12px}

/* The entire session card is one link; the inset chevron signals that action. */
.chapter{cursor:pointer;-webkit-tap-highlight-color:transparent}
.chapter-copy{display:grid;grid-template-columns:minmax(0,1fr) 38px;column-gap:16px;align-content:center}
.chapter-copy h2,.chapter-copy .session-nickname{grid-column:1;min-width:0}
.chapter-chevron{grid-column:2;grid-row:1/3;align-self:center;display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--deon-border);border-radius:50%;color:var(--deon-link);transition:background-color .2s,color .2s,border-color .2s}
.chapter-chevron svg{width:20px;height:20px;transition:transform .2s}
.chapter:focus-visible .chapter-chevron{background:var(--deon-accent);border-color:var(--deon-accent);color:var(--deon-switch-active-ink)}
.chapter:focus-visible .chapter-chevron svg{transform:translateX(2px)}
.chapter:focus-visible{outline:2px solid var(--deon-link);outline-offset:4px}
/* Touch browsers can retain :hover after scrolling; only real hover pointers use it. */
@media(hover:hover) and (pointer:fine){
 .chapter:hover .chapter-chevron{background:var(--deon-accent);border-color:var(--deon-accent);color:var(--deon-switch-active-ink)}
 .chapter:hover .chapter-chevron svg{transform:translateX(2px)}
}
.chapter:active{transform:translateY(0) scale(.99)}
@media(prefers-reduced-motion:reduce){.chapter,.chapter-chevron,.chapter-chevron svg{transition:none}.chapter:hover,.chapter:active,.chapter:is(:hover,:focus-visible) .chapter-chevron svg{transform:none}}

/* Square editorial crop: keep Kai’thos, the binding spell and Dobson together. */
.cover .art[data-art-id="cover-01"] img{object-fit:cover;object-position:60% center}
