:root{color-scheme:dark;--night:#06112c;--panel:#081b43;--blue:#28caff;--pink:#ff36ae;--gold:#ffda8a;--ink:#eef4ff}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--night);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.6}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid var(--gold);outline-offset:5px}button:disabled{opacity:.4;cursor:default}.skip{position:fixed;top:-100px;z-index:100;background:white;color:#06112c;padding:12px}.skip:focus{top:0}header{display:flex;align-items:center;gap:30px;padding:10px max(4vw,20px);min-height:93px;background:#040d24ed;border-bottom:1px solid #1d3660;position:relative;z-index:10}.brand{width:190px;height:74px;display:block;overflow:hidden;flex-shrink:0}.brand img{width:100%;height:100%;object-fit:contain}nav{display:flex;gap:35px;margin:auto;font-size:1rem}nav a:hover{color:var(--gold)}.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #ffffff80;border-radius:999px;padding:10px 23px;color:white;font-weight:700;font-size:1rem;box-shadow:0 0 20px #ff2aa22b;transition:transform .2s,filter .2s}.button:hover{transform:translateY(-2px);filter:brightness(1.12)}.pink{background:linear-gradient(135deg,#ff39b0,#db007e)}.blue{background:linear-gradient(135deg,#039be9,#005bbe);box-shadow:0 0 20px #00bfff25}.hero{min-height:640px;position:relative;overflow:hidden;background:#0b224b url('assets/mountain-night.png') center/cover no-repeat}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#020b20cf,transparent 65%),linear-gradient(0deg,#06112c,transparent 20%)}.hero-inner{max-width:1440px;margin:auto;min-height:640px;display:grid;grid-template-columns:42% 58%;align-items:center;padding:40px 5% 12px;position:relative;z-index:2}.eyebrow{font-size:.75rem;letter-spacing:.2em;color:#adc8ef;font-weight:700;margin:0 0 15px}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;line-height:1.07;margin:0 0 20px;letter-spacing:-.035em}h1{font-size:clamp(2.9rem,5.1vw,5.5rem)}em{color:var(--gold);font-style:normal}h2{font-size:clamp(2rem,3.5vw,3.4rem)}h3{font-size:2.3rem}.hero-copy>p:not(.eyebrow){font-size:1.15rem;max-width:350px;line-height:1.55;margin:24px 0}.text-link{display:block;font-size:.9rem;margin-top:20px;color:#c1d6f4}.text-link:hover{text-decoration:underline}.hero-cast{display:flex;align-items:flex-end;position:relative;min-height:555px;gap:0}.hero-person{width:50%;position:relative;filter:drop-shadow(0 8px 12px #020716);align-self:flex-end}.sprite{width:100%;aspect-ratio:1/1;background-image:url('assets/character-atlas.png');background-size:300% 200%;background-position:100% 0%;background-repeat:no-repeat;transition:filter .2s}.jase .sprite{background-position:100% 100%}.outfit-controls{display:flex;gap:10px;justify-content:center;padding:8px 0 32px}.outfit-controls button{width:12px;height:12px;padding:0;border:1px solid white;border-radius:50%;background:#0c244f}.outfit-controls button[aria-pressed=true]{background:var(--pink);box-shadow:0 0 15px var(--pink)}.jase .outfit-controls button[aria-pressed=true]{background:var(--blue);box-shadow:0 0 15px var(--blue)}.motion-control{position:absolute;bottom:0;left:50%;transform:translateX(-50%);white-space:nowrap;border:0;background:#041027b8;color:#cce2ff;padding:5px 12px;border-radius:20px;font-size:.75rem}.glitch{animation:glitch .42s steps(2,end)}@keyframes glitch{0%,100%{transform:none;filter:none}20%{transform:translateX(-7px);filter:drop-shadow(8px 0 #05dcff) hue-rotate(40deg)}45%{transform:translateX(6px);filter:drop-shadow(-8px 0 #ff34af)}65%{transform:translateX(-3px);opacity:.6}}.stars{position:absolute;inset:0;pointer-events:none;z-index:1}.star{position:absolute;background:white;border-radius:50%;animation:twinkle 3s ease-in-out infinite alternate}@keyframes twinkle{from{opacity:.15;transform:scale(.6)}to{opacity:1;transform:scale(1.4);box-shadow:0 0 8px #afd9ff}}.stories-section{display:grid;grid-template-columns:40% 60%;max-width:1440px;margin:auto;border-top:1px solid #315084;border-bottom:1px solid #284473}.reading-panel{position:relative;min-height:350px;overflow:hidden}.crop{position:relative;overflow:hidden;width:100%;background:#0b2240}.crop img{position:absolute;max-width:none;display:block}.reading-panel .crop{height:100%;aspect-ratio:auto}.reading-caption{position:absolute;top:18px;right:20px;font-family:Georgia,serif;font-size:1.45rem;font-style:italic;text-shadow:0 2px 10px black;line-height:1.15;text-align:right}.story-shelf{padding:35px 30px;background:linear-gradient(145deg,#102855,#05102c)}.story-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.story-card{border:1px solid #258ddd;border-radius:10px;overflow:hidden;background:#061738;box-shadow:0 0 15px #159dea20;transition:transform .2s}.story-card:hover{transform:translateY(-5px)}.story-card .crop{aspect-ratio:1/1.05}.story-card-content{padding:13px}.story-card h3{font-family:Arial,sans-serif;font-size:1rem;letter-spacing:0;line-height:1.3;margin:0 0 7px}.story-card small{font-size:.75rem;color:#b4c4dc;display:block;margin-bottom:12px}.story-card .button{font-size:.8rem;width:100%;padding:7px 8px}.section-wrap{max-width:1280px;margin:auto;padding:65px 5%}.world-section{display:grid;grid-template-columns:1fr 1.25fr;gap:60px}.world-section p{margin-top:0;color:#c5d5ee}.values{display:flex;flex-wrap:wrap;gap:12px}.values span{border:1px solid #315e96;border-radius:999px;padding:4px 13px;font-size:.85rem;color:var(--gold)}.characters{padding-top:25px}.characters>h2,.characters>.eyebrow{text-align:center}.character-cards{display:grid;grid-template-columns:1fr 1fr;gap:25px}.character-card{position:relative;display:grid;grid-template-columns:45% 55%;border:1px solid var(--blue);box-shadow:0 0 18px #15b8ff40,inset 0 0 20px #117eb21a;border-radius:16px;overflow:hidden;background:linear-gradient(140deg,#092d60,#06132f);min-height:350px}.character-card.pink-card{border-color:var(--pink);box-shadow:0 0 18px #ff20ae40;background:linear-gradient(140deg,#321443,#091331)}.character-portrait{align-self:end}.character-copy{padding:25px 17px 22px 0;align-self:center}.character-copy h3{font-size:2.25rem}.character-copy h3 span{color:var(--blue)}.pink-card h3 span{color:#ff8ad4}.character-copy p{font-size:.9rem;line-height:1.5;margin:0 0 15px}.character-copy .button{font-size:.85rem;padding:8px 16px}.activity-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:20px}.activity-thumb{padding:0;border:1px solid #70bcec;border-radius:7px;overflow:hidden;background:none}.activity-thumb:hover{border-color:var(--gold);transform:translateY(-2px)}.activity-thumb .crop{aspect-ratio:.65}.milo-panel{display:grid;grid-template-columns:26% 32% 42%;align-items:center;border:1px solid #297caf;border-radius:15px;overflow:hidden;margin-top:25px;background:linear-gradient(120deg,#153a68,#05102b)}.milo-copy{padding:25px}.milo-copy h3{font-size:2.6rem}.milo-copy h3 span{color:var(--blue)}.milo-copy p{font-size:.95rem;line-height:1.5}.milo-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:20px}.milo-gallery .crop{aspect-ratio:.75;border:7px solid white;border-bottom-width:24px;transform:rotate(-5deg)}.milo-gallery .crop:nth-child(2){transform:rotate(2deg)}.milo-gallery .crop:nth-child(3){transform:rotate(6deg)}footer{border-top:1px solid #213955;padding:25px 5%;display:flex;align-items:center;flex-wrap:wrap;gap:25px;background:#030b1c}footer .brand{width:150px}footer p{font-size:.8rem;color:#a8bedd;max-width:230px}dialog{border:1px solid #378ece;border-radius:18px;padding:0;background:#081936;color:white;width:min(940px,92vw);max-height:90dvh;overflow:auto;box-shadow:0 0 70px #009bff25}dialog::backdrop{background:#000b1fdd;backdrop-filter:blur(7px)}.close{position:absolute;right:12px;top:10px;z-index:5;background:#06112ce0;border:1px solid #7493be;width:38px;height:38px;border-radius:50%;color:white;font-size:1.5rem}.reader-layout{display:grid;grid-template-columns:36% 64%}.reader-layout>.crop{height:100%;min-height:460px}.reader-text{padding:55px 40px 35px}.reader-text>p:not(.eyebrow){font-family:Georgia,serif;font-size:1.3rem;line-height:1.7;min-height:210px}.reader-nav{display:flex;gap:15px;align-items:center;justify-content:space-between;margin-top:30px}.reader-nav .button{padding:8px 15px;font-size:.9rem}#reader-prompt{color:var(--gold);border-left:2px solid var(--pink);padding-left:15px}#reader-prompt:empty{display:none}#page-count{font-size:.8rem;white-space:nowrap}.profile-layout{display:grid;grid-template-columns:35% 65%}.profile-info{padding:55px 35px}.profile-info p{color:#d0ddf1}.profile-info h2{margin-bottom:15px}.profile-info h4{color:var(--gold);margin:25px 0 7px}.profile-activities{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:25px}.profile-activities .crop{aspect-ratio:.7;border-radius:10px}.profile-layout>.crop{height:100%;min-height:540px}.sheet-link{display:inline-block;margin-top:24px;color:var(--blue);text-decoration:underline}@media(min-width:1450px){.hero-person .sprite{aspect-ratio:1/1}.hero-cast{min-height:620px}.hero-inner{min-height:700px}}@media(max-width:1000px){header{gap:15px}.brand{width:150px}nav{gap:22px}.hero-inner{padding:35px 4% 10px;grid-template-columns:40% 60%;min-height:550px}.hero{min-height:550px}.hero-cast{min-height:460px}.eyebrow{font-size:.7rem;letter-spacing:.12em}.hero-copy>p:not(.eyebrow){font-size:1rem}.stories-section{grid-template-columns:38% 62%}.story-shelf{padding:25px 20px}.story-cards{gap:10px}.reading-caption{font-size:1.1rem}.section-wrap{padding:45px 4%}.world-section{gap:30px}.character-card{min-height:290px;grid-template-columns:40% 60%}.character-copy h3{font-size:1.8rem}.character-copy{padding:20px 12px 20px 8px}.milo-copy{padding:15px}.milo-copy h3{font-size:2rem}.milo-gallery{padding:12px}}@media(max-width:700px){header{padding:10px 15px;flex-wrap:wrap;justify-content:space-between;gap:8px}.brand{width:132px;height:58px}header nav{order:3;width:100%;justify-content:center;gap:32px;padding:6px 0;font-size:.9rem}.header-read{padding:8px 16px;font-size:.85rem}.hero-inner{display:flex;flex-direction:column;padding:38px 18px 12px;min-height:auto}.hero-copy{text-align:center;width:100%}h1{font-size:3.05rem}.hero-copy>p:not(.eyebrow){margin:18px auto;max-width:310px}.hero-copy .text-link{margin-top:14px}.hero-cast{width:min(480px,100%);min-height:0;margin-top:15px}.hero-person{width:50%}.hero .sprite{aspect-ratio:1/1}.outfit-controls{padding-bottom:37px}.stories-section{display:block}.reading-panel{height:330px;min-height:0}.reading-caption{font-size:1.4rem}.story-shelf{padding:30px 18px}.story-cards{gap:9px}.story-card-content{padding:9px}.story-card h3{font-size:.85rem}.story-card .button{font-size:.75rem;padding:7px 5px}.story-card small{font-size:.7rem}.world-section{display:block;padding:40px 22px}.world-section h2{margin-bottom:25px}.characters{padding:25px 18px 40px}.character-cards{grid-template-columns:1fr;gap:20px}.character-card{grid-template-columns:44% 56%;min-height:335px}.character-copy h3{font-size:2rem}.character-copy p{font-size:.95rem}.milo-panel{grid-template-columns:42% 58%}.milo-gallery{grid-column:1/-1;padding:15px 35px}.milo-copy h3{font-size:2rem}.milo-copy p{font-size:.9rem}footer{justify-content:center;text-align:center}footer nav{margin:0;gap:23px;font-size:.9rem}footer p{max-width:none;width:100%;margin:0}.reader-layout,.profile-layout{display:block}.reader-layout>.crop{height:180px;min-height:0}.reader-text{padding:28px 22px}.reader-text>p:not(.eyebrow){font-size:1.1rem;min-height:190px}.profile-layout>.crop{height:250px;min-height:0;width:180px;margin:20px auto 0}.profile-info{padding:25px}.reader-nav{gap:8px}.reader-nav .button{font-size:.8rem;padding:8px 12px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.star,.glitch{animation:none!important}*,*:before,*:after{transition:none!important}}

.crop svg{display:block;width:100%;height:100%;position:absolute;inset:0}.hero-cast{min-height:460px}.hero-inner{min-height:600px}.hero{min-height:600px}
@media(max-width:700px){.hero-inner{min-height:0}.hero-cast{min-height:0}.hero{min-height:0}}
.brand img{object-fit:contain;object-position:center}.jase .sprite{transform:scale(.95);transform-origin:50% 100%}

/* Approved static superhero hero. */
.hero-person{margin-bottom:20px}.hero-cast{align-items:flex-end}

/* Match the approved full-width hero art and keep character facts on-page. */
.hero{background-image:url('assets/approved-hero.png');background-position:center;background-size:cover;min-height:0;aspect-ratio:1024/480}
.hero:before{display:none}.hero-inner{min-height:0;height:100%;display:flex;align-items:center;padding:30px 5%;margin:0}.hero-copy{width:35%}.hero-copy h1{font-size:clamp(2rem,4.7vw,5rem)}.hero-copy>p:not(.eyebrow){font-size:clamp(.95rem,1.6vw,1.3rem);margin:22px 0;max-width:340px}.character-card{min-height:440px}.character-facts{padding-left:18px;margin:12px 0 20px;font-size:.88rem;line-height:1.5;color:#cddcf4}.character-facts li+li{margin-top:7px}.character-copy{padding-right:20px}.activity-thumb:hover{transform:none;border-color:#70bcec}.milo-panel{grid-template-columns:27% 34% 39%}.section-wrap.world-section{padding-top:40px;padding-bottom:40px}
@media(max-width:1000px){.hero-copy{width:36%}.hero-inner{padding:20px 4%}.hero-copy>p:not(.eyebrow){font-size:.95rem;margin:15px 0}.hero-copy .button{font-size:.85rem;padding:8px 15px}.character-card{min-height:430px}}
@media(max-width:700px){.hero{aspect-ratio:auto;background-size:auto 340px;background-position:center top;background-repeat:no-repeat;padding-top:340px;background-color:#06112c}.hero-inner{display:block;padding:28px 20px}.hero-copy{width:100%;text-align:center}.hero-copy h1{font-size:2.8rem}.hero-copy>p:not(.eyebrow){margin:18px auto;font-size:1rem}.character-card{min-height:420px}.character-facts{font-size:.85rem}.milo-panel{grid-template-columns:42% 58%}.milo-copy{padding:20px 15px}.milo-copy .character-facts{font-size:.85rem}}

@media(max-width:700px){.hero{background-position:65% top}}

/* Contain every Meet-section image within its own frame. */
.character-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.character-card{grid-template-columns:minmax(0,42%) minmax(0,58%);min-height:0;align-items:center}
.character-card>*{min-width:0}.character-portrait{align-self:center;margin:16px 0;max-width:100%;overflow:hidden;isolation:isolate}
.character-copy{min-width:0;padding:24px 18px 24px 12px;overflow-wrap:anywhere}
.activity-thumbs{width:100%;min-width:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.activity-thumb{min-width:0;max-width:100%;overflow:hidden;position:relative;isolation:isolate}
.activity-thumb .crop{width:100%;max-width:100%;overflow:hidden}
.crop svg{overflow:hidden!important;max-width:100%;max-height:100%}
.milo-panel>*{min-width:0}.milo-gallery{min-width:0;grid-template-columns:repeat(3,minmax(0,1fr));padding:24px 18px;gap:10px;overflow:hidden}
.milo-gallery .crop,.milo-gallery .crop:nth-child(2),.milo-gallery .crop:nth-child(3){transform:none;max-width:100%;overflow:hidden;isolation:isolate}
@media(max-width:850px){.character-cards{grid-template-columns:minmax(0,1fr)}.character-card{grid-template-columns:minmax(0,38%) minmax(0,62%)}.character-portrait{max-height:440px;aspect-ratio:auto!important;height:440px}.character-copy{padding:28px 22px 28px 12px}}
@media(max-width:420px){.character-card{grid-template-columns:minmax(0,1fr)}.character-portrait{width:62%;height:300px;max-height:300px;justify-self:center;margin:18px 0 0}.character-copy{padding:18px 20px 24px}.character-copy h3{text-align:center}.activity-thumbs{max-width:320px;margin:20px auto 0}.milo-gallery{padding:18px 12px}}

/* Even, separate frames keep Milo's photo borders clear of the artwork. */
.milo-photo{min-width:0;overflow:hidden;border:1px solid #639bc3;border-radius:9px;padding:6px;background:#102340;box-shadow:0 3px 10px #0003}
.milo-gallery .milo-photo .crop{border:0;border-radius:4px;transform:none;aspect-ratio:4/5!important;width:100%;overflow:hidden}
.milo-gallery{align-items:start}

/* Keep the story shelf proportions while using larger source illustrations. */
.story-card .crop{aspect-ratio:1/1.05!important}

/* Compact character cards with complete, text-free activity artwork. */
.character-portrait{height:260px;max-height:260px;aspect-ratio:auto!important;margin:14px 0}
.character-copy{padding:20px 18px 14px 12px}
.character-facts{margin-bottom:10px}
.character-card>.activity-thumbs{grid-column:1/-1;margin:0;padding:0 16px 16px;gap:10px}
.activity-thumb,.milo-photo{height:160px;padding:5px;border:1px solid #639bc3;border-radius:8px;background:#102340;box-shadow:none;transform:none}
.activity-thumb .crop,.milo-gallery .milo-photo .crop{width:100%;height:100%;aspect-ratio:auto!important;border:0;border-radius:3px;background:#102340}
.milo-panel{grid-template-columns:minmax(0,22%) minmax(0,34%) minmax(0,44%);align-items:center}
.milo-panel>.crop{height:250px;aspect-ratio:auto!important}
.milo-gallery{align-items:stretch;padding:16px;gap:10px}
@media(max-width:850px){.character-portrait{height:260px;max-height:260px}.character-copy{padding:18px 20px 14px 12px}}
@media(max-width:700px){.milo-panel{grid-template-columns:minmax(0,38%) minmax(0,62%)}.milo-gallery{grid-column:1/-1;max-width:540px;width:100%;justify-self:center}.milo-panel>.crop{height:230px}.activity-thumb,.milo-photo{height:150px}}
@media(max-width:420px){.character-portrait{height:240px;max-height:240px}.character-card>.activity-thumbs{max-width:none}.activity-thumb,.milo-photo{height:140px}}

/* Display the complete logo and let each activity image keep its own shape. */
.brand{width:210px;height:auto;aspect-ratio:1282/710;overflow:visible}
.brand img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
footer .brand{width:185px;height:auto}
.activity-thumbs,.milo-gallery{align-items:center;justify-items:center}
.activity-thumb,.milo-photo{width:auto;max-width:100%;height:170px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;justify-self:center}
.activity-thumb:hover{border:0}
.activity-thumb .crop,.milo-gallery .milo-photo .crop{background:transparent;border:0;border-radius:7px}
.character-portrait,.milo-panel>.crop{background:transparent}
@media(max-width:1000px){header .brand{width:170px}}
@media(max-width:700px){header .brand{width:155px}.activity-thumb,.milo-photo{height:160px}}
@media(max-width:420px){.activity-thumb,.milo-photo{height:145px}}
