/* Original artwork supplies the decorative word layer; no generated replacements. */
.sv-header,.sv-footer,.sv-main{box-sizing:border-box;font-family:Arial,Helvetica,sans-serif;font-size:18px;line-height:1.6}
.sv-header *,.sv-footer *,.sv-main *{box-sizing:border-box}
.sv-header{background:#fff;color:#173526;padding:18px 24px 0;width:100%;text-align:center}
.sv-brand{display:block;max-width:624px;margin:auto}.sv-brand img{display:block;width:100%;height:auto}
.sv-nav{display:flex;justify-content:center;gap:clamp(12px,3vw,48px);flex-wrap:wrap;padding:18px 0 12px}
.sv-nav a{display:flex;flex-direction:column;align-items:center;min-width:95px;gap:5px;text-decoration:none;color:inherit;font-weight:700;font-size:20px;padding:8px 10px;border-bottom:4px solid transparent;border-radius:12px 12px 0 0}
.sv-nav img{display:block;width:58px;height:58px;object-fit:contain}.sv-nav a[aria-current=page]{border-bottom-color:currentColor;background:#eef4eb}.sv-nav a:hover{background:#eef4eb}
.sv-footer{display:block!important;background:#07552c!important;color:#fff8e9!important;padding:24px clamp(16px,4vw,48px)!important;text-align:center;width:100%;min-height:0}
.sv-footer .sv-nav img{filter:brightness(0) invert(96%) sepia(17%) saturate(421%) hue-rotate(325deg)}
.sv-footer .sv-nav a[aria-current=page],.sv-footer .sv-nav a:hover{background:#ffffff16}
.sv-tagline{font-size:21px;font-weight:700;color:inherit!important;margin:12px 0}.sv-secondary{display:flex;justify-content:center;align-items:center;gap:18px 28px;flex-wrap:wrap;margin:18px auto;max-width:1100px}
.sv-secondary a,.sv-secondary button{color:inherit;font:700 17px/1.4 Arial;text-decoration:underline;text-underline-offset:4px;background:none;border:0;cursor:pointer;padding:10px 4px}
.sv-universe{display:flex;align-items:center;gap:12px;max-width:300px;text-align:left}.sv-universe img{object-fit:contain;width:78px;height:54px}.sv-legal{font-size:16px;color:inherit!important;margin:20px 0 0}
.sv-interior{margin:0;background:var(--sv-accent);color:#182b24;font-family:Arial,Helvetica,sans-serif;position:relative;isolation:isolate}
.sv-interior:before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:#fff;opacity:.15;mask:url('/assets/october/concept-words.png') repeat 0 0/600px 600px;-webkit-mask:url('/assets/october/concept-words.png') repeat 0 0/600px 600px}
.sv-interior a{color:inherit}.sv-main{width:min(1400px,100%);margin:0 auto;padding:30px clamp(16px,4vw,52px) 28px}
.sv-title{text-align:center;color:white;margin:0 0 24px;text-shadow:0 2px 3px #0005}.sv-title h1{font:700 clamp(40px,5vw,68px)/1.15 Georgia,serif;margin:0}.sv-interior[style*="#c79920"] .sv-title{color:#282310;text-shadow:none}
.sv-card{background:#fff;border-radius:24px;padding:clamp(22px,3vw,34px);margin:0 0 22px;box-shadow:0 8px 24px #0002;border:1px solid #ffffff80;color:#182b24}
.sv-card h2,.sv-main h2{font:700 clamp(24px,2.5vw,32px)/1.25 Georgia,serif;color:#182b24;margin:0 0 16px}.sv-main h3{font:700 20px/1.35 Georgia,serif;margin:0 0 12px}.sv-card p{font-size:18px;line-height:1.65;margin:0 0 18px;color:#24372d}.sv-card p:last-child{margin-bottom:0}.sv-lead{font:700 clamp(23px,3vw,32px)/1.45 Georgia,serif!important}
.sv-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-bottom:22px}.sv-grid>.sv-card{margin:0}.sv-grid>.sv-card:last-child:nth-child(odd){grid-column:1/-1}
.sv-button{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:12px 22px;background:#07552c;color:#fff!important;text-decoration:none;border-radius:12px;font:700 18px/1.4 Arial;margin:6px 12px 0 0;border:2px solid #07552c}.sv-button:hover{background:#063e21}.sv-actions{display:flex;gap:12px;flex-wrap:wrap}
.sv-book-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin-bottom:24px}.sv-book{margin:0;padding:0;overflow:hidden}.sv-cover{display:block}.sv-cover img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#fff}.sv-book-body{padding:24px}.sv-book .sv-number{font-size:16px;font-weight:700;margin-bottom:9px}.sv-book h2{font-size:26px;min-height:2.5em}.sv-book .sv-audio-status{font-size:16px;margin:14px 0 0;color:#4b4d46}.sv-book-grid>.sv-book:last-child:nth-child(4n+3){grid-column:span 2}
.sv-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.sv-resource{border:1px solid #d1dbd3;border-radius:16px;overflow:hidden;margin:0;background:#fff}.sv-resource img{width:100%;height:auto;display:block;aspect-ratio:1;object-fit:contain}.sv-resource figcaption{padding:20px}.sv-resource a{display:inline-block;font-size:17px;font-weight:700;text-underline-offset:4px;min-height:44px}
.sv-cast-tools{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.sv-cast-tools p{font-weight:700;margin:0}.sv-cast-tools button{font:700 16px Arial;background:#07552c;color:#fff;border:0;border-radius:10px;padding:13px 16px;cursor:pointer}
.sv-cast-scroll{display:flex;overflow-x:auto;gap:18px;scrollbar-width:thin;padding:10px 0 16px;overscroll-behavior-x:contain}.sv-portrait{flex:0 0 180px;background:#f7faf6;border:1px solid #dae5d8;border-radius:16px;padding:14px;cursor:pointer;color:#173526;font:700 19px Arial}.sv-portrait img{display:block;width:100%;height:230px;object-fit:contain;margin-bottom:12px}
#character-dialog{border:0;border-radius:24px;padding:32px;width:min(480px,90vw);max-height:90vh;overflow:auto;color:#182b24;background:white}#character-dialog::backdrop{background:#07180ed4}#character-dialog h2{font:700 32px Georgia;margin:0 45px 20px 0}#character-dialog img{display:block;max-height:60vh;width:100%;object-fit:contain}.sv-dialog-close{position:absolute;right:16px;top:16px;border:0;background:#edf4eb;border-radius:50%;width:44px;height:44px;font-size:28px;cursor:pointer}
.sv-skip{position:absolute;left:16px;top:-100px;z-index:1000;background:#fff;padding:12px 18px;color:#173526}.sv-skip:focus{top:10px}:where(.sv-header,.sv-footer,.sv-main) :is(a,button,[tabindex]):focus-visible{outline:3px solid #99610b;outline-offset:4px}.sv-footer :is(a,button):focus-visible{outline-color:#fff8e9}
@media(max-width:1100px){.sv-book-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sv-book-grid>.sv-book:last-child:nth-child(4n+3){grid-column:auto}.sv-book-grid>.sv-book:last-child:nth-child(3n+2){grid-column:span 2}}
@media(max-width:780px){.sv-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:560px;margin:auto}.sv-nav a{min-width:0;font-size:18px;padding:8px 3px}.sv-nav img{width:48px;height:48px}.sv-header{padding:16px 12px 0}.sv-grid{grid-template-columns:1fr}.sv-book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.sv-book-grid>.sv-book:last-child:nth-child(3n+2){grid-column:auto}.sv-book-grid>.sv-book:last-child:nth-child(odd){grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-items:center}.sv-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sv-resource:last-child:nth-child(odd){grid-column:1/-1}.sv-interior:before{mask-size:850px 850px;-webkit-mask-size:850px 850px;opacity:.13}.sv-main{padding-top:24px}.sv-cast-tools{align-items:flex-start}.sv-secondary{gap:8px 20px}.sv-book-body{padding:18px}.sv-book h2{font-size:23px;min-height:0}}
@media(max-width:480px){.sv-book-grid,.sv-resource-grid{grid-template-columns:1fr}.sv-book-grid>.sv-book:last-child:nth-child(odd){display:block}.sv-cast-tools{flex-direction:column}.sv-portrait{flex-basis:160px}.sv-portrait img{height:210px}.sv-card{border-radius:18px}.sv-secondary{flex-direction:column}.sv-universe{text-align:center;flex-direction:column}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*:before,*:after{animation:none!important;transition:none!important}}

/* v016: accepted review-board palette, white title boxes and navy headings. */
.sv-header{padding:18px clamp(16px,3vw,40px);display:flex;align-items:center;justify-content:space-between;gap:32px;color:#0b2343}
.sv-brand{width:340px;flex:0 1 340px;margin:0;max-width:42%}.sv-brand img{width:100%;height:auto}
.sv-nav{flex:1;gap:clamp(8px,1.3vw,24px);padding:0;flex-wrap:nowrap}
.sv-nav a{min-width:68px;font-size:17px;line-height:1.3;border:2px solid transparent;border-radius:8px;padding:8px}
.sv-nav img{width:44px;height:44px}.sv-nav a[aria-current=page]{border-color:var(--sv-accent,#148f40);background:#fff}.sv-nav a:hover{background:#eef4eb}
.sv-main{padding-top:28px}.sv-title{display:table;min-width:280px;max-width:100%;margin:0 auto 26px;padding:10px 32px;background:#fff;border-radius:14px;color:#0b2343;text-shadow:none}
.sv-title h1{font:800 clamp(36px,4vw,54px)/1.15 Arial,Helvetica,sans-serif;color:#0b2343}
.sv-main h2,.sv-main h3,.sv-card h2,#character-dialog h2{font-family:Arial,Helvetica,sans-serif;font-weight:800;color:#0b2343}
.sv-card,.sv-book h2{color:#0b2343}.sv-card p{color:#172d44}.sv-lead{font-family:Arial,Helvetica,sans-serif!important;font-weight:800!important;color:#0b2343!important}
.sv-button{font-size:20px;background:var(--sv-accent,#148f40);border-color:transparent;border-radius:999px;color:#fff!important}.sv-interior[style*="#F7931E"] .sv-button,.sv-interior[style*="#77CCF6"] .sv-button,.sv-interior[style*="#F4C430"] .sv-button{color:#0b2343!important}.sv-button:hover{filter:brightness(.93);background:var(--sv-accent,#148f40)}
.sv-book h2{margin-bottom:8px}.sv-book .sv-number{font-weight:400}.sv-book-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.sv-book .sv-button{margin-right:0}.sv-cover img{aspect-ratio:1;object-fit:contain}
.sv-interior:before{background:#fff;opacity:.18}.sv-card{border-radius:18px}.sv-resource{border-radius:14px}.sv-cast-scroll{gap:12px;scroll-padding:8px}.sv-portrait{flex-basis:145px;background:#fff;border:0;border-radius:12px;padding:8px}.sv-portrait img{height:205px;margin-bottom:8px}.sv-cast-buttons{display:flex;gap:8px;align-items:center}.sv-cast-buttons button{min-width:44px;min-height:44px}.sv-cast-buttons button:not(#cast-pause){font-size:28px;padding:4px 14px;border-radius:50%}
.sv-footer-brand{display:block;width:min(400px,100%);margin:0 auto 22px;padding:14px 20px;background:#fff;border-radius:10px}.sv-footer-brand img{display:block;width:100%;height:auto;filter:none}
.sv-footer .sv-nav{flex-wrap:wrap;gap:12px 26px}.sv-footer .sv-nav a[aria-current=page]{background:transparent;border-color:#fff8e9}.sv-footer .sv-nav a:hover{background:#ffffff16}.sv-footer .sv-secondary a{font-size:16px}.sv-footer .sv-universe{max-width:300px}
@media(max-width:1100px){.sv-header{flex-direction:column;gap:16px}.sv-brand{flex:auto;width:min(480px,85%);max-width:85%}.sv-nav{width:100%}.sv-book-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){.sv-nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));max-width:none;gap:4px}.sv-nav a{min-width:0;font-size:clamp(11px,2vw,15px);padding:6px 2px}.sv-nav img{width:36px;height:36px}.sv-header{padding:18px 12px 12px;gap:14px}.sv-brand{width:min(420px,90%);max-width:90%}.sv-title{min-width:0;width:auto;padding:12px 24px}.sv-book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sv-footer .sv-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:500px;margin:auto}.sv-footer .sv-nav a{font-size:16px}.sv-footer .sv-nav img{width:40px;height:40px}.sv-interior:before{mask-size:1000px 1000px;-webkit-mask-size:1000px 1000px;opacity:.13}}
@media(max-width:480px){.sv-book-grid{grid-template-columns:1fr}.sv-title h1{font-size:36px}.sv-cast-tools{gap:12px}.sv-card{padding:22px}.sv-portrait{flex-basis:135px}.sv-portrait img{height:195px}.sv-secondary{gap:8px}.sv-lead{font-size:24px!important}}

/* v017: keep the final Books card at the same scale as its row. */
@media(min-width:781px){.sv-book-grid>.sv-book:last-child{grid-column:auto!important}}
@media(min-width:481px){.sv-resource:last-child:nth-child(odd){grid-column:auto}}



/* v018: legible supplied concept words; static decoration behind cards. */
.sv-interior:before{opacity:.90;mask-size:600px 600px;-webkit-mask-size:600px 600px}
@media(max-width:780px){.sv-interior:before{opacity:.95;mask-size:680px 680px;-webkit-mask-size:680px 680px}}


/* Duplicate review: five primary destinations and accessible portrait/guide views. */
@media(max-width:780px){.sv-header .sv-nav{grid-template-columns:repeat(5,minmax(0,1fr))}}
.browse-library{background:#064d27}.hero .actions{gap:16px}.hero .actions .primary{white-space:normal;text-align:center}
@media(max-width:560px){.hero .actions{width:100%;display:grid;grid-template-columns:1fr}.hero .actions .primary{margin:0}}
.portrait-detail{display:block;background:#fff;border:0;padding:0;width:100%;cursor:pointer;color:#0b2343;font:700 17px Arial}.portrait-detail[hidden],.character-synopsis[hidden]{display:none}.portrait-detail img{width:100%;height:auto;max-height:58vh;object-fit:contain}.portrait-detail span{display:block;text-decoration:underline;padding:12px}.portrait-detail:focus-visible{outline:3px solid #99610b}
.character-synopsis{display:grid;grid-template-columns:130px 1fr;gap:22px;align-items:start}.character-synopsis img{width:100%;max-height:250px!important;object-fit:contain}.character-synopsis p{font:18px/1.6 Arial;color:#172d44;margin:0 0 16px}#character-dialog:has(.character-synopsis:not([hidden])){width:min(680px,92vw)}
@media(max-width:560px){.character-synopsis{grid-template-columns:1fr}.character-synopsis img{height:160px;max-height:160px!important}.character-synopsis p{font-size:17px}#character-dialog{padding:24px;max-height:92dvh}}
#classroom-resources .sv-resource-grid{display:block;max-width:500px;margin:0 auto}.guide-preview{display:block;width:100%;border:0;padding:0;background:#fff;cursor:zoom-in}.guide-preview:focus-visible{outline:3px solid #99610b;outline-offset:4px}
#guide-dialog{width:fit-content;height:fit-content;max-width:96vw;max-height:94dvh;border:1px solid #bdc5ca;padding:1px;overflow:visible;background:#fff;border-radius:2px}#guide-dialog::backdrop{background:#07180ed4}#guide-dialog>img{display:block;width:auto;height:auto;max-width:calc(96vw - 2px);max-height:calc(94dvh - 2px);object-fit:contain}.guide-close{position:absolute;right:6px;top:6px;width:40px;height:40px;border:1px solid #a6b5bf;border-radius:50%;background:#fff;color:#0b2343;font-size:28px;cursor:pointer}
body:has(#narrationTimeline) .sv-header nav,body:has(#narrationTimeline) .sv-footer nav{height:auto;position:static;padding:0;background:transparent;border:0}
/* v021: six destinations with full School Partners wording. */
.sv-header{gap:20px}.sv-header .sv-brand{flex:0 1 270px;width:270px;max-width:30%}.sv-nav{display:grid;grid-template-columns:80px 90px minmax(175px,220px) 80px 80px 95px;gap:10px;justify-content:center;align-items:stretch}.sv-nav a{min-width:0;justify-content:center;font-size:16px;overflow-wrap:normal}.sv-nav a span{text-align:center}.sv-footer .sv-nav{display:grid;grid-template-columns:80px 90px minmax(175px,220px) 80px 80px 95px;gap:10px;max-width:850px;margin:auto}.sv-footer .sv-nav a{font-size:16px}.sv-main li{margin-bottom:10px}.sv-main ul,.sv-main ol{padding-left:25px}.sv-title h1{overflow-wrap:normal}.sv-title:has(h1){max-width:100%}
.store-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.store-products>.sv-card{margin:0 0 22px}.store-crew{display:block;width:min(700px,100%);height:auto;margin:0 auto 18px}.store-price{font-size:36px!important;font-weight:800;color:#0b2343!important;line-height:1.2!important}.store-price small{font-size:18px}.store-badge{display:inline-block;padding:4px 14px;background:#edf6e9;border-radius:999px;font-weight:700}#store-book{display:block;width:100%;max-width:100%;min-height:48px;font:17px Arial;padding:10px;border:1px solid #6c7882;border-radius:8px;margin:8px 0 18px;background:#fff;color:#0b2343}.store-selected{display:flex;align-items:center;gap:18px;margin-bottom:12px}.store-selected img{width:110px;height:110px;object-fit:contain}.store-selected p{font-weight:700}button.sv-button{cursor:pointer}button.sv-button:disabled{cursor:default;opacity:.65}.purchase-gate{position:relative;min-width:125px}.purchase-gate span{opacity:.45}.purchase-gate strong{position:absolute;inset:0;display:grid;place-items:center;font-size:18px;background:#d82430eF;border-radius:999px}.purchase-gate:hover strong{background:#bc1925}#purchase-dialog{box-sizing:border-box;width:min(560px,92vw);max-height:90dvh;overflow:auto;padding:32px;border:0;border-radius:18px;color:#0b2343;background:#fff;font:18px/1.6 Arial}#purchase-dialog h2{padding-right:40px;font-size:28px;line-height:1.2}#purchase-dialog::backdrop{background:#07180ed4}#purchase-price{font-size:28px;font-weight:800}#purchase-state{padding:14px;background:#f0f5ee;border-radius:10px}#purchase-dialog .sv-button{font-size:17px}#purchase-dialog :focus-visible{outline:3px solid #99610b;outline-offset:4px}
.sv-flip-card{flex:0 0 270px;height:490px;perspective:1000px;border-radius:14px;position:relative}.flip-inner{height:100%;position:relative;transform-style:preserve-3d;transition:transform .3s}.is-flipped .flip-inner{transform:rotateY(180deg)}.flip-front,.flip-back{position:absolute;inset:0;border:1px solid #d4dfd0;border-radius:14px;background:#f7faf6;backface-visibility:hidden;-webkit-backface-visibility:hidden}.flip-front{display:grid}.flip-open{background:transparent;border:0;padding:18px;display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;color:#0b2343;font:700 20px Arial;border-radius:14px}.flip-open img{width:100%;height:330px;object-fit:contain}.flip-name{display:block;margin:12px 0}.flip-cue{text-decoration:underline;font-size:17px}.flip-back{transform:rotateY(180deg);padding:22px;display:flex;flex-direction:column;overflow:auto}.flip-back h3{font-size:23px}.flip-back p{font:17px/1.5 Arial;margin:0 0 16px;color:#172d44}.flip-close{margin-top:auto;min-height:44px;padding:10px 18px;border:0;border-radius:999px;background:#07552c;color:#fff;font:700 17px Arial;cursor:pointer}.sv-flip-card :focus-visible{outline:3px solid #99610b;outline-offset:-4px}
@media(max-width:1200px){.sv-header{flex-direction:column;gap:14px}.sv-header .sv-brand{flex:auto;width:340px;max-width:90%}.sv-header .sv-nav{width:100%;grid-template-columns:1fr 1fr 2.2fr 1fr 1fr 1.1fr;gap:6px}.sv-footer .sv-nav{grid-template-columns:1fr 1fr 2.2fr 1fr 1fr 1.1fr;max-width:900px}.sv-nav a{font-size:15px}}
@media(max-width:700px){.sv-header .sv-nav,.sv-footer .sv-nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.sv-header .sv-nav a,.sv-footer .sv-nav a{font-size:14px;padding:8px 3px;min-height:108px}.sv-nav img{width:36px;height:36px}.sv-header{padding:16px 12px 12px}.store-products{grid-template-columns:1fr;gap:0}.sv-title h1{font-size:clamp(27px,6vw,36px)}.sv-title{padding:14px 18px}.store-price{font-size:32px!important}.sv-flip-card{flex-basis:265px}.store-selected{gap:12px}.store-selected img{width:90px;height:90px}}
@media(prefers-reduced-motion:reduce){.flip-inner{transition:none}}
/* STORYVERSE OCT: localized presentation; original approved page colors and media retained. */
.sv-header .sv-nav,.sv-footer .sv-nav{grid-template-columns:78px 88px minmax(175px,220px) 78px 78px 90px 95px;gap:8px}.sv-header .sv-brand{flex-basis:250px;width:250px}.sv-header{gap:18px}.sv-nav .oct-envelope{display:grid;place-items:center;width:44px;height:44px;font-family:'Segoe UI Symbol',Arial,sans-serif;font-style:normal;font-size:42px;line-height:1}.sv-footer .sv-nav{max-width:950px}.sv-nav a{transition:background-color .18s,border-color .18s}.sv-nav a:hover{border-color:currentColor}.oct-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,270px);gap:28px;align-items:center}.oct-feature-copy{min-width:0}.oct-feature-copy>:last-child{margin-bottom:0}.oct-character-art{display:flex;align-items:flex-end;justify-content:center;gap:6px;align-self:center;padding:18px 8px;border-radius:16px;background:#e9f7ff}.oct-character-art img{display:block;width:100%;max-width:220px;height:280px;object-fit:contain;min-width:0}.oct-character-art:has(img+img) img{width:50%;max-width:145px;height:250px}.oct-status{display:table;font:700 14px/1.5 Arial,Helvetica,sans-serif!important;padding:6px 12px;background:#e5f4ff;color:#0b2343!important;border:1px solid #b1d5eb;border-radius:999px;margin:0 0 18px!important}.oct-placeholder{border:2px dashed #a2bccc;box-shadow:none}.oct-placeholder h2{font-size:25px}.oct-placeholder p:last-child{font-size:17px;margin:0}.sv-cast.sv-card{background:#a9def6;border:1px solid #7cc8ed}.sv-cast .flip-front,.sv-cast .flip-back{background:#edf9ff;border-color:#6fbadf}.sv-cast .flip-open:hover{background:#dff2fc}.sv-cast .sv-flip-card{box-shadow:0 3px 10px #174b6a12}.oct-reading-after-purchase{grid-column:1/-1}.store-products>.sv-card{margin:0}.store-products{margin-bottom:22px}.store-products .sv-actions{margin-top:10px}.purchase-gate strong{font-size:16px}.sv-main a,.sv-main button{scroll-margin-top:20px}
@media(max-width:1200px){.sv-header .sv-brand{flex:auto;width:340px;max-width:90%}.sv-header .sv-nav,.sv-footer .sv-nav{grid-template-columns:1fr 1fr 2.2fr 1fr 1fr 1.1fr 1.1fr;gap:5px}.sv-nav a{font-size:15px}.oct-feature{grid-template-columns:minmax(0,1fr) 220px;gap:24px}.oct-character-art img{height:250px}.oct-character-art:has(img+img) img{height:210px}}
@media(max-width:780px){.sv-header .sv-nav a,.sv-footer .sv-nav a{font-size:14px}.sv-nav .oct-envelope{width:36px;height:36px;font-size:35px}.oct-feature{grid-template-columns:1fr}.oct-character-art{max-width:400px;width:100%;margin:0 auto;padding:12px}.oct-character-art img{height:210px;max-width:160px}.oct-character-art:has(img+img) img{height:210px;max-width:155px}.oct-feature-copy{order:1}.oct-character-art{order:0}}
@media(max-width:700px){.sv-header .sv-nav,.sv-footer .sv-nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.sv-header .sv-nav a,.sv-footer .sv-nav a{min-height:104px;font-size:14px}.sv-header .sv-nav a:last-child,.sv-footer .sv-nav a:last-child{grid-column:1/-1;flex-direction:row;min-height:52px;gap:10px}.sv-nav a:last-child img{width:32px;height:32px}.sv-header .sv-brand{width:min(420px,90%)}.oct-feature{gap:20px}.oct-character-art img{height:190px}.oct-character-art:has(img+img) img{height:190px}.oct-status{max-width:100%;white-space:normal}.purchase-gate{min-width:150px}.sv-main .oct-feature .sv-button{font-size:18px}.oct-placeholder h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){.sv-nav a{transition:none}}
/* Mike's annotated follow-up: distinct reading-slot pairings and an enlarged cover gallery. */
.oct-character-art.oct-reading-art{float:right;width:38%;max-width:400px;margin:0 0 22px 26px;padding:20px 12px}.oct-character-art.oct-reading-art img{height:340px;width:50%;max-width:175px}.oct-illustrated-reading:after{content:"";display:table;clear:both}.oct-illustrated-reading h3:last-of-type{clear:both}.oct-character-art.oct-support-art{margin:22px auto 0;width:100%;max-width:100%;padding:12px;min-height:200px}.oct-character-art.oct-support-art img{height:176px;width:50%;max-width:150px}.oct-cover-gallery{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:18px}.oct-cover-preview{flex:0 0 calc((100% - 54px)/4);min-width:0;border:1px solid #bed2df;border-radius:14px;background:#f1f9ff;padding:12px;display:flex;align-items:center;flex-direction:column;color:#0b2343;font:700 18px/1.35 Arial;cursor:zoom-in;box-shadow:0 4px 12px #0b23430d}.oct-cover-preview>img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border:1px solid #d8e4eb;background:#fff;border-radius:6px}.oct-cover-title{display:block;margin:14px 0 8px;min-height:2.7em;text-align:center}.oct-cover-cue{font-size:15px;text-decoration:underline;margin-top:auto}.oct-cover-preview:hover{border-color:#0b537e;background:#e3f3ff}.oct-cover-preview:focus-visible{outline:3px solid #99610b;outline-offset:4px}.oct-selected-preview{flex:0 0 110px;width:110px;padding:5px;border-radius:8px}.oct-selected-preview #store-cover{width:100%;height:100px}.oct-cover-dialog{box-sizing:border-box;width:min(1000px,96vw);height:min(94dvh,1100px);max-width:96vw;max-height:94dvh;border:1px solid #bed2df;padding:20px;border-radius:16px;background:#fff;color:#0b2343;overflow:hidden}.oct-cover-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px}.oct-cover-dialog::backdrop{background:#07180ee8}.oct-cover-dialog h2{font:800 24px/1.2 Arial;margin:0 56px 0 0}.oct-cover-close{position:absolute;right:12px;top:12px;width:44px;height:44px;border:1px solid #bed2df;border-radius:50%;background:#eff7fc;color:#0b2343;font:28px Arial;cursor:pointer}.oct-cover-stage{min-height:0;display:grid;place-items:center}.oct-cover-stage img{display:block;width:100%;height:100%;min-height:0;object-fit:contain}.oct-cover-dialog>p{font:15px/1.3 Arial;text-align:center;margin:0}.oct-cover-close:focus-visible{outline:3px solid #99610b;outline-offset:2px}
@media(max-width:1100px){.oct-cover-preview{flex-basis:calc((100% - 36px)/3)}}
@media(max-width:780px){.oct-character-art.oct-reading-art{float:none;width:100%;max-width:360px;margin:18px auto 24px}.oct-character-art.oct-reading-art img{height:220px;max-width:155px}.oct-cover-gallery{gap:12px}.oct-cover-preview{flex-basis:calc((100% - 24px)/3);padding:9px;font-size:16px}.oct-cover-title{min-height:4em}.oct-selected-preview{flex-basis:90px;width:90px}.oct-selected-preview #store-cover{height:85px}}
@media(max-width:480px){.oct-cover-preview{flex-basis:calc((100% - 12px)/2);font-size:15px;padding:8px}.oct-cover-title{min-height:4em;margin-top:10px}.oct-cover-cue{font-size:14px}.oct-selected-preview{flex-basis:90px;width:90px}.oct-cover-dialog{padding:14px;gap:8px}.oct-cover-dialog h2{font-size:19px}.oct-character-art.oct-support-art img{height:165px}}
/* Fit the preview frame to the uncropped cover instead of leaving a tall empty stage. */
.oct-cover-dialog{height:auto}.oct-cover-dialog[open]{grid-template-rows:auto auto auto}.oct-cover-stage img{width:auto;height:auto;max-width:100%;max-height:calc(94dvh - 130px)}


/* OCT REVISIONS (Paula notes): 8-item menu with Point of Mind, Talk to Us speech bubble, italic series title. */
.sv-nav .oct-talk{display:block;width:44px;height:44px;color:#148f40}
.sv-footer .sv-nav .oct-talk{color:#fff8e9}
.sv-footer .sv-nav .oct-talk path{fill:none}
.sv-footer .sv-nav img.pom-icon{filter:none}
em.kwya-title{font-style:italic}
.sv-header{flex-direction:column;gap:14px}
.sv-header .sv-brand{flex:auto;width:340px;max-width:90%}
.sv-nav img.pom-icon{width:68px;height:44px}
@media(max-width:780px){.sv-nav img.pom-icon{width:52px;height:36px}}
@media(min-width:701px){.sv-header .sv-nav,.sv-footer .sv-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.sv-nav a{flex:0 1 auto;max-width:150px}}
@media(max-width:780px){.sv-nav .oct-talk{width:36px;height:36px}}
@media(max-width:700px){.sv-header .sv-nav,.sv-footer .sv-nav{grid-template-columns:repeat(4,minmax(0,1fr))}
.sv-header .sv-nav a:last-child,.sv-footer .sv-nav a:last-child{grid-column:auto;flex-direction:column;min-height:104px;gap:5px}
.sv-nav a:last-child img{width:36px;height:36px}}

/* Approved: header wordmark510px,50% above original340px, with narrow-screen fit cap. */
.sv-header .sv-brand{width:510px;max-width:100%}
.doorway-copy span em.kwya-title{display:inline;font:inherit;font-style:italic;letter-spacing:normal;text-transform:none;color:inherit;margin:0}
.doorway-explore .doorway-copy{max-width:min(560px,calc(100% - 44px))}.doorway-explore .doorway-copy>strong{margin:0 0 8px;line-height:1.15}.doorway-explore .doorway-copy>span{max-width:46ch;line-height:1.45}.doorway-explore .doorway-copy>em{margin-top:12px;line-height:1.3}

/* Preserve the original intro while keeping Skip reachable on short landscape screens. */
@media(max-height:520px) and (orientation:landscape){.intro-inner{padding:14px 20px;width:min(720px,96vw)}.intro-logo,.intro-fallback{width:min(130px,25vh);height:min(130px,25vh);margin-bottom:8px}.intro-title{font-size:clamp(26px,5vh,38px);margin-bottom:6px}.intro-subtitle{font-size:16px;margin-bottom:10px}.intro-skip{margin-top:10px}}
