:root{color-scheme:dark;--navy:#142d50;--deep:#101d36;--gold:#f3c75f;--ivory:#fff4dc;--white:#fffdf7;--ink:#251f3b;--green:#174c39;--red:#b72835;--goldline:#f3c75f75;--muted:#d9dbe6;--display:Georgia,'Times New Roman',serif;--body:system-ui,sans-serif}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 80% 15%,#28385b 0,transparent 50%),var(--deep);color:var(--ivory);font-family:var(--body);font-size:16px;min-height:100svh}button,input,select,textarea{font:inherit}button{cursor:pointer}img,video{display:block;width:100%;height:auto}figure,p{margin:0}p{line-height:1.65}h1,h2,h3{font-family:var(--display);margin:0;line-height:1.08}h1{font-size:clamp(2.35rem,5.5vw,4.25rem);letter-spacing:-.045em}h2{font-size:clamp(1.7rem,4vw,2.5rem);letter-spacing:-.03em}h3{font-size:1.4rem}a{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,svg [role=button]:focus-visible{outline:3px solid #8acbe3;outline-offset:4px}main:focus,.chapter-body:focus{outline:none}[hidden]{display:none!important}
.skip{position:absolute;left:.75rem;top:-80px;background:var(--ivory);color:var(--ink);padding:12px;z-index:5}.skip:focus{top:.75rem}.top{display:flex;justify-content:space-between;align-items:center;gap:.75rem;width:min(1230px,100%);margin:auto;padding:1rem clamp(1rem,4vw,3rem);border-bottom:1px solid #f3c75f33}.brand{background:none;border:0;color:var(--ivory);font-family:var(--display);font-size:1.06rem;text-align:left;display:flex;align-items:center;gap:.57rem;min-height:48px;padding:0}.brand>span:first-child{color:var(--gold);font-size:1.55rem}.brand i{color:var(--gold);white-space:nowrap}.top nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.3rem}.button{min-height:48px;border:1px solid transparent;border-radius:12px;padding:.65rem 1.05rem;font-weight:720;text-align:center;line-height:1.2;color:var(--ivory);background:#253955}.primary{background:var(--gold);color:#29233b;border-color:#ffe395;box-shadow:0 4px 0 #a67c34}.primary:hover{background:#ffd87d}.secondary{border-color:var(--goldline);background:transparent;color:inherit}.secondary:hover{background:#cfa75722}.nav-item{padding:.4rem .65rem;background:transparent;font-size:.86rem;color:var(--ivory)}.nav-item:hover{background:#ffffff13}
main{width:min(1160px,100%);margin:auto;padding:clamp(1rem,3.4vw,2.7rem) clamp(1rem,4.5vw,3rem) 1.5rem;min-height:70svh}.footer{text-align:center;font-size:.86rem;color:var(--muted);padding:1.3rem 1rem 2rem}.footer>span:first-child{margin-right:.42rem;color:var(--gold)}.eyebrow{font-weight:800;font-size:.72rem;letter-spacing:.115em;text-transform:uppercase;color:var(--gold);margin-bottom:.6rem}.actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.cover{position:relative;isolation:isolate;display:grid;grid-template-columns:43% 57%;border-radius:24px;overflow:hidden;border:1px solid var(--goldline);background:#182843;min-height:450px;box-shadow:0 20px 55px #080d1c65}.cover-copy{z-index:1;padding:clamp(1.4rem,4vw,3.4rem);align-self:center}.cover-copy .eyebrow{margin-bottom:1.35rem}.cover .wordmark{display:grid;font-size:clamp(2.1rem,4vw,3.4rem);line-height:.94}.wordmark strong{color:var(--gold);font-size:clamp(3.25rem,6.4vw,5.8rem);letter-spacing:-.065em}.wordmark i{color:var(--ivory);font-weight:400}.cover-copy .lede{color:var(--muted);margin:1rem 0 1.25rem;font-size:1.08rem}.cover figure{height:100%;position:relative;min-width:0}.cover figure:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#182843 0%,#18284349 18%,transparent 45%);pointer-events:none}.cover figure img{height:100%;object-fit:cover;object-position:56% center}.cover-bottom{padding:1.7rem 0 .6rem;display:flex;justify-content:center;align-items:center;gap:.85rem;text-align:center}.cover-bottom span{color:var(--gold)}.cover-bottom p{font-family:var(--display);font-size:1.15rem}
.paper{background:var(--ivory);color:var(--ink);border:1px solid #f2cb85;border-radius:20px;padding:clamp(1.15rem,4vw,2.6rem);max-width:900px;margin:auto;box-shadow:0 15px 44px #090b1a60}.paper .eyebrow,.gift-letter .eyebrow{color:#7c4e2f}.paper h1,.paper h2{margin-bottom:.8rem}.paper>p,.paper>.actions,.paper form{margin-bottom:1.05rem}.paper p{max-width:70ch}.paper .secondary,.gift-letter .secondary{border-color:#8767418f}.paper .primary,.gift-letter .primary{background:var(--green);color:var(--white);border-color:#276349;box-shadow:0 4px 0 #113e34}.paper .primary:hover,.gift-letter .primary:hover{background:#24644d}.footnote{font-size:.88rem;color:#5e4552;line-height:1.5}.form-paper{max-width:650px}form{display:grid;gap:.95rem}form label{display:grid;gap:.33rem;font-weight:720}form input,form select,form textarea{width:100%;border:1px solid #907759;border-radius:10px;background:#fffdf6;color:#2c2540;padding:.65rem;min-height:48px;font-weight:400}textarea{resize:vertical}form button{justify-self:start}.gift-card{max-width:720px;margin:auto;background:var(--ivory);color:var(--ink);border-radius:24px;overflow:hidden;box-shadow:0 17px 48px #070d1a80;border:1px solid var(--gold)}.gift-art{aspect-ratio:16/9;object-fit:cover}.gift-letter{padding:clamp(1.3rem,4.4vw,2.5rem);text-align:center}.gift-letter h1,.gift-letter strong,.gift-letter .message,.share-status{overflow-wrap:anywhere}.giver{margin:.65rem 0}.message{font:1.2rem/1.58 var(--display);white-space:pre-wrap;margin:.8rem auto 1.4rem;max-width:48ch}.gift-letter .actions{justify-content:center}.gift-letter .footnote{margin-top:1rem}.share-status:not(:empty){margin-top:1rem}.video-paper video{aspect-ratio:16/9;background:#101a2e;object-fit:contain;border-radius:12px;margin:1.2rem auto}.caption{margin-bottom:1.15rem;font-size:.9rem}.caption summary,.color-model summary{cursor:pointer;min-height:44px;padding:.6rem 0}
.age-options{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}.age{color:var(--ink);background:#fffbeb;border:1px solid #bb8b4b;border-radius:14px;display:grid;gap:.2rem;place-items:center;min-height:126px;padding:.55rem;line-height:1.14}.age strong{font-family:var(--display);font-size:clamp(1.4rem,4vw,2.2rem)}.age>span:first-child{color:#9c5b3e;font-size:1.45rem}.age:hover{background:#fff0be}
.trail-head,.chapter-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:center;gap:1.4rem;margin-bottom:1.4rem}.trail-head p,.chapter-head p{margin:.6rem 0 1rem;color:var(--muted)}.story-art{aspect-ratio:16/9;object-fit:cover;border:1px solid var(--goldline);border-radius:18px}.trail-map{padding:1.1rem 1.1rem 2.2rem;border:1px solid var(--goldline);border-radius:19px;background:radial-gradient(ellipse at 50% 20%,#3b4f7b,#1b2944 62%)}.trail-map ol{list-style:none;margin:auto;padding:1.3rem 0;display:flex;flex-direction:column;gap:1.15rem;max-width:590px;position:relative}.trail-map ol:before{content:'';position:absolute;left:50%;height:100%;border-left:2px dashed #efc66d86;top:0}.trail-map li{position:relative;display:flex;align-items:center;gap:.65rem;width:52%;color:var(--ivory)}.trail-map li:nth-child(odd){margin-left:calc(50% - 22px)}.trail-map li:nth-child(even){flex-direction:row-reverse;text-align:right;margin-right:calc(50% - 22px);align-self:flex-end}.star-sign{display:grid;place-items:center;flex:0 0 44px;height:44px;background:#273a5e;border:1px solid #c8a953;border-radius:50%;color:var(--gold);font-size:1.4rem}.trail-map .active .star-sign{background:var(--gold);color:#352443;box-shadow:0 0 22px #f3c75f75}.trail-map li div{display:grid;gap:.22rem}.trail-map li small,.future-label{font-size:.8rem;color:#e9d9b8}.trail-map li strong{font-family:var(--display);font-size:1.15rem}.trail-map li .button{margin-top:.4rem;justify-self:start}
.chapter-nav{display:grid;grid-template-columns:repeat(6,1fr);gap:.55rem;margin-bottom:1rem}.chapter-nav button{min-height:65px;padding:.45rem .25rem;border-radius:10px;border:1px solid var(--goldline);color:var(--ivory);background:#223753;display:grid;place-items:center;gap:.25rem;font-size:.81rem;font-weight:720}.chapter-nav button span{color:var(--gold);font-size:1.3rem}.chapter-nav button[aria-pressed=true]{color:var(--ink);background:var(--ivory)}.chapter-nav button[aria-pressed=true] span{color:#915926}.chapter-body{max-width:none}.story-text{max-width:65ch;margin-top:1rem}.story-text p{margin:.85rem 0;font-size:1.07rem}.next-line{font-style:italic;font-family:var(--display);color:#614735;border-left:3px solid #a7733b;padding:.5rem .7rem}.chapter-body h3,.chapter-body .game-note{margin-bottom:.65rem}.sky-game{max-width:620px;display:grid;gap:.45rem;grid-template-columns:repeat(3,1fr);padding:clamp(.55rem,2vw,1rem);border-radius:14px;background:radial-gradient(ellipse at 60% 10%,#464f7a,#19294f)}.sky-game.level-1{grid-template-columns:repeat(4,1fr)}.sky-game.level-2{grid-template-columns:repeat(6,1fr)}.sky-game button{padding:0;min-height:46px;aspect-ratio:1.45;border-radius:10px;background:#eef0fc0e;color:#f4e5ba;border:1px solid #d6c58968;font-size:clamp(1.4rem,4vw,2.3rem)}.sky-game button.found{color:#2f2442;background:var(--gold);opacity:1}.game-result{margin:.65rem 0;font-weight:760}.palette{display:flex;gap:.5rem;flex-wrap:wrap;margin:1rem 0}.swatch{border:2px solid #6e5873;border-radius:50%;width:45px;height:45px}.swatch[aria-pressed=true]{outline:3px solid var(--ink);outline-offset:2px}.gold{background:#ffd46e}.coral{background:#f78583}.cyan{background:#7ccad1}.green{background:#68b38b}.lilac{background:#9a85d8}.orange{background:#f8af63}.navy{background:#353b7e}.red{background:#cf4f67}.cream{background:#fff0b1}.lime{background:#9ed983}.pink{background:#e390b9}.blue{background:#4984a8}.paint-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.68fr);gap:1rem;margin-bottom:1rem}.paint-grid svg{display:block;width:100%;border-radius:16px;border:1px solid #705675}.coloring-canvas [role=button]{cursor:pointer}.coloring-canvas [role=button]:hover{stroke:#262134;stroke-width:4}.undo:disabled{opacity:.55;cursor:default}.reflection{display:flex;align-items:center;gap:1rem;padding:1rem;background:#f5e4bc;border-radius:12px;margin-bottom:1rem}.reflection span{font-size:2rem;color:#9d3d45}.reward{display:grid;place-items:center;text-align:center;padding:1rem;gap:.5rem;margin-bottom:1rem}.reward>span{font-size:clamp(5rem,14vw,8rem);color:#9c642b;line-height:1}.reward.earned>span{color:#bc7d26;animation:star-shine .6s ease-out both}.check{display:flex;align-items:center;gap:.45rem;min-height:44px}.check input{width:20px;height:20px;accent-color:var(--green)}
@keyframes star-shine{from{transform:scale(.82)}60%{transform:scale(1.11)}to{transform:scale(1)}}.reduce-motion *,.reduce-motion *::before,.reduce-motion *::after{animation:none!important;transition:none!important}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media(max-width:720px){.cover{grid-template-columns:1fr;min-height:0}.cover-copy{padding:1.4rem;grid-row:2}.cover figure{grid-row:1}.cover figure img{height:auto;object-fit:contain}.cover figure:after{background:linear-gradient(0deg,#182843 0%,transparent 26%)}.cover-copy .eyebrow{margin-bottom:.75rem}.cover-copy .lede{margin:.8rem 0 1rem}.trail-head,.chapter-head{grid-template-columns:1fr;gap:.75rem}.trail-head>img,.chapter-head>img{grid-row:1}.chapter-nav{grid-template-columns:repeat(3,1fr)}.paint-grid{grid-template-columns:1fr}.model-image{max-width:320px}}
@media(max-width:370px){.top{padding-inline:.75rem}.brand{font-size:.88rem}.nav-item{padding-inline:.38rem}.top nav{gap:0}.sky-game{gap:.27rem}.age-options{gap:.4rem}.swatch{width:43px;height:43px}}
@media(max-width:720px){.top nav{flex-wrap:nowrap}.nav-item{padding-inline:.45rem;white-space:nowrap}}
.sky-game button{min-width:0;aspect-ratio:auto;height:clamp(46px,8vw,74px)}
.sky-game{grid-template-columns:repeat(3,minmax(0,1fr))}
.sky-game.level-1{grid-template-columns:repeat(4,minmax(0,1fr))}
.sky-game.level-2{grid-template-columns:repeat(6,minmax(0,1fr))}
.chapter-body>.actions:has(.restart){margin-bottom:1rem}
@media(max-width:470px){.sky-game.level-2{grid-template-columns:repeat(4,minmax(0,1fr))}}
.story-audio{background:#f8ebca;border:1px solid #be974f;border-radius:12px;padding:.94rem;margin:1rem 0 1.2rem}
.story-audio h3{margin:0 0 .6rem}
.story-audio audio{display:block;width:100%;max-width:465px}
.story-back{margin-top:1.1rem}
.trail-map li:has(button){color:var(--ivory)}
.trail-map li:has(button) .star-sign{border-color:var(--gold)}
.tile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.48rem;margin:.7rem 0;max-width:560px}.tile-grid.n2{grid-template-columns:repeat(2,minmax(0,1fr))}.tile-grid.n3{grid-template-columns:repeat(3,minmax(0,1fr))}.tile-grid.n5{grid-template-columns:repeat(5,minmax(0,1fr))}.tile-grid.n6{grid-template-columns:repeat(6,minmax(0,1fr))}.game-instructions,.game-question{margin:.6rem 0}.game-question{font-weight:750;font-size:1.15rem}.game-item,.scene-tile{min-width:0;min-height:46px;border:1px solid #a98851;border-radius:8px;background:#fff7e3;color:#302144;display:grid;place-items:center;text-align:center;padding:.22rem;overflow-wrap:anywhere}.game-item{font-size:clamp(.95rem,2.7vw,1.45rem)}.scene-tile{font-size:clamp(.8rem,3vw,1.36rem)}.game-item[aria-pressed=true]{outline:2px solid #694f34;outline-offset:2px}.game-item.found,.memory-grid .game-item:disabled{background:#dcbea0;color:#382040}.puzzle-piece{aspect-ratio:1.25;background-repeat:no-repeat;background-position:center}.maze-grid .scene-tile{min-height:38px}.empty-slot{opacity:.48;background:#ffeece}.star-collection,.nativity-scene{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:.65rem;margin:1rem 0 1.45rem}.star-collection li,.nativity-scene li{border:1px solid #be995c;background:#fff8e5;border-radius:11px;padding:.65rem;min-height:55px;display:flex;align-items:center;gap:.4rem}.star-collection li span,.nativity-scene li span{font-size:1.32rem;color:#885b24}.nativity-scene{background:#233b58;padding:.8rem;border-radius:16px;color:#251f3b}.diploma-name{display:grid;gap:.35rem;margin:.9rem 0;max-width:430px;font-weight:700}.diploma-name input{width:100%;border:1px solid #927444;border-radius:10px;background:#fffdf6;color:#2c2540;padding:.65rem;min-height:48px;font-weight:400}.diploma-status{margin-top:1rem}.story-audio .save-story{margin-top:.68rem}.story-audio .audio-save-status{font-size:.88rem;margin:.5rem 0 0}
@media(max-width:370px){.tile-grid{gap:.25rem}.game-item{min-height:44px}.maze-grid .scene-tile{min-height:33px}}
.gift-card.gift-opening{animation:open-gift .33s ease-in both}
@keyframes open-gift{0%{transform:scale(1);filter:brightness(1)}72%{transform:scale(1.02);filter:brightness(1.17)}100%{transform:scale(1.015);opacity:.72}}
.nativity-stage{position:relative;isolation:isolate;margin-bottom:1.1rem;background:#233b58;border-radius:16px}
.nativity-stage .story-art{border-bottom-left-radius:0;border-bottom-right-radius:0}
.nativity-stage .nativity-scene{margin:0;color:#251f3b;background:transparent}
.nativity-stage .nativity-scene li{font-size:.85rem}
