*{box-sizing:border-box}
:root{--night:#152d39;--teal:#174e50;--raspberry:#822e50;--butter:#ffda8b;--paper:#fbf5e5;--ink:#232e32;--sans:"Atkinson Hyperlegible Next",Arial,sans-serif;--display:"Bricolage Grotesque","Trebuchet MS",Arial,sans-serif}
body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.48 var(--sans)}
a{color:var(--teal);text-underline-offset:.17em}a:hover{text-decoration-thickness:2px}a:focus-visible,button:focus-visible,select:focus-visible{outline:3px solid #e09a24;outline-offset:4px}
button,select{font:inherit}[hidden]{display:none!important}.sr,.skip:not(:focus){position:absolute;clip-path:inset(50%);overflow:hidden;white-space:nowrap;width:1px;height:1px}
.mast,.end,.kit-tools,.story-controls,.story-exit{display:flex;align-items:center;flex-wrap:wrap;gap:20px}
.mast{justify-content:space-between;padding:15px clamp(18px,5vw,76px);background:#fcf3d9}.mast strong{font-family:var(--display);font-size:1.2em}.mast nav{display:flex;gap:22px}
.opening{background:var(--night);color:var(--paper);display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);align-items:center;gap:clamp(26px,4vw,70px);padding:clamp(22px,3vw,48px) clamp(20px,5vw,80px)}
.opening h1{font:900 clamp(3.1rem,6.5vw,7.6rem)/.97 var(--display);letter-spacing:-.06em;margin:0;max-width:8ch}.opening p{font-size:clamp(1.08rem,1.6vw,1.55rem);max-width:32ch;line-height:1.35;margin:18px 0 25px}
.opening picture,.opening img{display:block;width:100%;height:auto}.button{display:inline-block;background:var(--butter);color:#322735;padding:12px 18px;font-weight:700;text-decoration:none}.button:hover{text-decoration:underline}
.choice,.bundle{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(30px,7vw,105px);padding:clamp(36px,5.3vw,82px) clamp(20px,6vw,92px)}.choice h2,.bundle h2{font:800 clamp(2rem,3.5vw,3.4rem)/1.05 var(--display);letter-spacing:-.045em;margin:0}.choice p,.bundle p{max-width:44ch;margin:12px 0 0}.item{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:19px}.item:last-child{margin:0}.item h3{font-size:1.16rem;margin:0}.item p{margin:3px 0;font-size:.97rem}.adult{background:#e4efeb}.bundle{background:var(--teal);color:var(--paper);align-items:center}.bundle .button{justify-self:start}.end{padding:23px clamp(20px,6vw,92px)}
.kit-tools,.story-controls,.story-exit{justify-content:center;gap:15px;padding:11px 15px;line-height:1.25;background:var(--paper)}.kit-tools a,.story-exit a{font-weight:700}.kit-tools button,.kit-tools select,.story-controls button{border:1px solid #8e9990;background:white;color:var(--ink);font:inherit;padding:7px 12px}.story-controls button:not(:disabled),.kit-tools button{cursor:pointer}button:disabled{opacity:.52}.story-exit{background:#eee4d5}
.theatre{background:var(--night)}.reader{max-width:1500px;margin:0 auto}.plate{position:relative;background:var(--night);color:var(--paper);display:flex;flex-direction:column;align-items:stretch;padding:0 0 32px}.stage{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 16px 0;height:clamp(340px,41vw,585px);background:#132b35}.stage picture{display:block;max-width:100%;height:100%;min-width:0}.stage img{display:block;max-width:100%;width:100%;height:100%;object-fit:contain}.stage.pair picture{width:min(48%,750px)}.voice{display:grid;grid-template-columns:minmax(0,.62fr) minmax(0,1fr);gap:clamp(28px,5vw,84px);align-items:center;max-width:1200px;width:100%;margin:auto;padding:clamp(23px,3vw,42px) clamp(24px,5vw,68px)}.voice h2{font:900 clamp(2.9rem,6.2vw,6rem)/.98 var(--display);letter-spacing:-.055em;margin:0;text-wrap:balance;color:#ffdc8f}.voice p{font-size:clamp(1.3rem,2.2vw,1.9rem);line-height:1.31;margin:0;max-width:43ch}
.folio{position:absolute;bottom:10px;left:22px;right:22px;display:flex;justify-content:space-between;gap:10px;align-items:baseline;font:12px/1.2 var(--sans)}.folio a{color:inherit}
.paper{max-width:810px;margin:22px auto}.sheet{position:relative;background:white;padding:34px 38px 55px;margin:20px 0}.sheet h1{color:var(--teal);font:800 clamp(2.1rem,4vw,3.2rem)/1.03 var(--display);letter-spacing:-.04em;margin:0 0 12px}.sheet h2{font:700 1.25rem/1.15 var(--sans);margin:1em 0 .28em}.sheet p{margin:.55em 0}.sheet .lead{font-size:1.13rem}.sheet .folio{left:38px;right:38px}.sheet code{overflow-wrap:anywhere}
@media(max-width:780px){.opening,.choice,.bundle{grid-template-columns:1fr;gap:22px}.opening h1{max-width:none;font-size:clamp(3rem,9vw,5rem)}.opening p{margin:10px 0 16px}.stage{height:auto;min-height:0;padding:8px 0 0}.stage picture{width:100%;height:auto}.stage img{width:100%;height:auto}.stage.pair{gap:6px;align-items:center}.stage.pair picture{width:calc(50% - 3px)}.voice{display:block;padding:19px 20px 14px}.voice h2{font-size:clamp(2.5rem,9vw,4.2rem);margin:0 0 9px}.voice p{font-size:1.35rem}.paper{margin:0}.sheet{margin:0 0 12px;padding:22px 17px 50px}.sheet .folio{left:17px;right:17px}.mast nav{gap:12px}.mast{gap:8px}.folio{left:14px;right:14px}}
@media(max-width:440px){.mast,.kit-tools,.story-controls,.story-exit{font-size:.94rem;gap:8px}.mast strong{font-size:1.06rem}.voice p{font-size:1.24rem}.folio{font-size:.67rem}.story-controls button{padding:8px}.opening{padding:22px 18px}}
@media print{
*{-webkit-print-color-adjust:exact;print-color-adjust:exact}.kit-tools,.story-controls,.story-exit,.mast,.skip{display:none!important}.reader,.paper{margin:0;max-width:none;width:100%}.plate,.plate[hidden]{display:flex!important;flex-direction:column;width:12in;height:6.75in;padding:0 0 .32in;margin:0;break-after:page}.stage{flex:none;width:100%;height:4.68in;padding:.09in .22in 0}.stage picture{height:100%;width:auto;max-width:100%}.stage img{width:100%;height:100%;object-fit:contain}.stage.pair{gap:.18in}.stage.pair picture{width:49%;height:100%}.voice{flex:1;display:grid;grid-template-columns:3.24in 1fr;gap:.4in;padding:.15in .45in;margin:0;width:100%;max-width:none}.voice h2{font-size:39pt;line-height:.96;margin:0}.voice p{font-size:17pt;line-height:1.25;margin:0;max-width:none}.folio{left:.24in;right:.24in;bottom:.1in;font-size:8pt}
.sheet{height:254mm;padding:4mm 5mm 10mm;margin:0;break-after:page;font:11pt/1.37 var(--sans)}.sheet h1{font-size:29pt}.sheet h2{font-size:14pt}.sheet .lead{font-size:12pt}.sheet .folio{left:5mm;right:5mm;bottom:1.5mm}.plate:last-of-type,.sheet:last-of-type{break-after:auto}}
