@font-face{font-family:Valor;src:url('assets/ValorTitle.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:Valor;src:url('assets/ValorSerif.ttf') format('truetype');font-weight:400;font-display:swap}
:root{color-scheme:dark;--teal:#043447;--deep:#022b3c;--cream:#fff1d0;--gold:#ffcf60;--ink:#263b38;--serif:Valor,Georgia,'Times New Roman',serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:22px}body{margin:0;background:var(--teal);color:var(--cream);font-family:var(--serif);line-height:1.5;overflow-x:clip}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default}a{color:inherit;text-decoration:none}img{display:block;max-width:100%;height:auto}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.04;letter-spacing:-.02em}h1,h2{font-weight:700}h1 em,h2 em{color:var(--gold);font-style:italic}button{border:0}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #ffdf70;outline-offset:6px}.paper button:focus-visible{outline-color:#154e64}::selection{background:#eab73b;color:#072a39}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}.skip-link{position:fixed;z-index:100;top:-100px;left:12px;padding:10px 20px;background:var(--gold);color:var(--deep)}.skip-link:focus{top:12px}.content-width{width:min(1420px,88%);margin-inline:auto}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:clamp(12px,1.2vw,19px);font-weight:700;line-height:1.5;color:#f6d78d;text-shadow:0 2px 5px #00202e}.button{position:relative;display:inline-flex;justify-content:center;align-items:center;gap:12px;min-height:60px;padding:12px 30px 14px;background-color:transparent;background-size:100% 100%;background-repeat:no-repeat;font:700 clamp(16px,1.5vw,24px)/1.2 var(--serif);white-space:nowrap;filter:drop-shadow(0 3px 2px #001c3f70);transition:filter .2s,transform .2s}.button.gold{background-image:url('assets/button-gold.svg');color:#172b28;text-shadow:0 1px #ffedac}.button.teal{background-image:url('assets/button-teal.svg');color:#fff3d4;text-shadow:0 2px 2px #001926}.button:hover{filter:drop-shadow(0 4px 7px #ffd97c40) brightness(1.08);transform:translateY(-2px)}.button:active{transform:translateY(0)}.button span{font-family:Georgia,serif}.play-triangle{color:var(--gold);font-size:.85em}.gold-rule{width:240px;height:2px;margin:20px 0 24px;background:linear-gradient(90deg,transparent,#e3b34d 10%,#fff3b1 95%);position:relative}.gold-rule:after{content:'◆';position:absolute;right:-6px;top:-12px;font-size:15px;color:#ffdd79;text-shadow:0 1px 3px #655522}
/* The desktop composition follows the approved 1663 x 946 hero. */
.site-header{position:absolute;top:18px;left:4%;right:3%;z-index:20;height:68px;display:flex;align-items:center;gap:30px}.brand{width:190px;flex-shrink:0;align-self:flex-start;margin-top:-6px;filter:drop-shadow(0 3px 3px #00192b55)}.brand img{width:100%}.site-header nav{display:flex;align-items:center;gap:38px;width:100%;height:100%;border-block:1px solid #bbd2c85c;background:linear-gradient(90deg,#063c4c00,#013e69a3 25%,#073f6d66);padding-left:38px;position:relative}.site-header nav:before{content:'';width:2px;height:32px;background:#e8bc54;position:absolute;left:0}.site-header nav>a:not(.button){font-size:clamp(17px,1.3vw,22px);font-weight:700;white-space:nowrap;text-shadow:0 2px 2px #082e4c}.site-header nav>a:hover{color:#ffda78}.header-cta{margin-left:auto;font-size:clamp(16px,1.3vw,22px);min-height:54px;padding-inline:28px}.menu-toggle{display:none;background:#07364ccf;border:1px solid #d0a34e;border-radius:4px;width:46px;height:46px;align-items:center;justify-content:center;flex-direction:column;gap:7px}.menu-toggle>span:not(.sr-only){height:2px;width:23px;background:#ffdc8c}
.parallax-scene{position:relative;isolation:isolate;overflow:hidden}.parallax-layer{will-change:transform;pointer-events:none}.hero{height:clamp(680px,50.6vw,960px);min-height:0}.hero-landscape,.hero-ground{position:absolute;inset:-36px 0;background:url('assets/hero-world.webp') center center/cover no-repeat;z-index:-3}.hero-ground{z-index:-1;mask-image:linear-gradient(transparent 63%,#000 84%)}.hero-copy{position:absolute;left:6.8%;top:24.8%;width:63%;z-index:4}.hero h1{font-size:clamp(63px,5.4vw,100px);line-height:.99;letter-spacing:-.025em;text-shadow:0 3px 8px #002c48a3}.hero h1 em{white-space:nowrap}.hero-description{font-family:Arial,Helvetica,sans-serif;font-size:clamp(16px,1.6vw,27px);line-height:1.32;color:#fff7e4;margin-top:24px;text-shadow:0 2px 6px #002f48;max-width:680px}.hero-actions{display:flex;gap:20px;align-items:center;margin-top:30px}.development-note{font-family:Arial,Helvetica,sans-serif;font-size:clamp(12px,1.13vw,18px);font-style:italic;color:#fff4d9;margin-top:17px;text-shadow:0 2px 5px #00334d}.kai-layer{position:absolute;height:81%;width:41%;right:5.4%;bottom:9%;z-index:2;transform-origin:50% 100%;filter:drop-shadow(2px 5px 7px #032c3a30)}.kai-layer img{height:100%;width:100%;object-fit:contain;object-position:bottom center}.sword-glint{position:absolute;top:5%;left:22%;width:11px;height:11px;background:#fff9c5;box-shadow:0 0 18px 7px #ffdd82aa;clip-path:polygon(50% 0,60% 42%,100% 50%,60% 58%,50% 100%,40% 58%,0 50%,40% 42%);animation:glint 7s ease-in-out infinite}.scroll-cue{position:absolute;bottom:3%;left:50%;transform:translateX(-50%);text-align:center;font:italic 700 clamp(13px,1.3vw,21px)/1.5 var(--serif);color:#fff3d4;text-shadow:0 2px 4px #002b3c;z-index:5}.scroll-cue span{display:block;color:#ffd063;font-size:40px;line-height:.9;font-style:normal}.hero-mobile-shade{display:none}.atmosphere{position:absolute;inset:0;z-index:3;pointer-events:none;overflow:hidden}.leaf{position:absolute;display:block;width:18px;height:8px;border-radius:80% 0 80% 0;background:linear-gradient(20deg,#b48018,#ffcf45 65%,#ffe383);box-shadow:inset 0 -1px #b47b18;animation:fall 15s linear infinite;opacity:0}.leaf-1{left:57%;top:4%;animation-delay:-7s}.leaf-2{left:90%;top:14%;animation-delay:-11s;animation-duration:19s}.leaf-3{left:68%;top:8%;animation-delay:-3s;animation-duration:22s}.mote{position:absolute;width:3px;height:3px;border-radius:50%;background:#fff1ae;box-shadow:0 0 10px 2px #ffdf7e80;opacity:0;animation:motes 10s ease-in-out infinite}.mote-1{left:53%;top:58%}.mote-2{left:81%;top:68%;animation-delay:-3s}.mote-3{left:40%;top:89%;animation-delay:-6s}.mote-4{left:92%;top:45%;animation-delay:-8s}@keyframes glint{0%,30%,55%,100%{opacity:.15;transform:scale(.5) rotate(0)}40%{opacity:.95;transform:scale(1.4) rotate(80deg)}}@keyframes fall{0%{opacity:0;transform:translate(0,0) rotate(-10deg)}15%,80%{opacity:.9}100%{opacity:0;transform:translate(-140px,520px) rotate(360deg)}}@keyframes motes{0%,100%{opacity:0;transform:translate(0,20px)}40%,60%{opacity:.7}90%{transform:translate(-25px,-60px)}}

/* Parchment, live text, and the original gameplay capture. */
.paper{background-color:#f8e6bd;background-image:radial-gradient(ellipse at center,#fff6deaa 20%,#d7a55a22 100%),url('assets/paper.svg');color:var(--ink)}.how-section{position:relative;padding:110px 0 57px;overflow:hidden;border-bottom:0}.how-grid{display:grid;grid-template-columns:.73fr 1.27fr;gap:50px;align-items:center}.how-copy{position:relative;z-index:1}.paper-label{font-size:clamp(12px,1.15vw,18px);line-height:1.2;font-weight:700;display:inline-block;padding:9px 16px 10px;background:url('assets/button-gold.svg') center/100% 100%;text-transform:uppercase;color:#263a2c}.how-copy h2{font-size:clamp(45px,4.8vw,79px);line-height:.97;margin:26px 0 22px;color:#293930}.how-copy h2 em{color:#ad711a}.how-copy>p:not(.paper-label){font-size:clamp(16px,1.5vw,24px);line-height:1.4;max-width:410px}.steps{display:grid;gap:11px;margin-top:35px;width:90%;max-width:370px}.step{display:flex;align-items:center;gap:15px;padding:5px 27px 7px 10px;width:100%;height:58px;background:url('assets/button-teal.svg') center/100% 100%;font-size:27px;font-weight:700;text-align:left;color:#ffefbf;position:relative;transition:filter .2s,transform .2s}.step:hover,.step.active{filter:brightness(1.16);transform:translateX(4px)}.step-icon{display:grid;place-items:center;width:53px;height:53px;flex-shrink:0;position:relative;background:linear-gradient(135deg,#fff0a3,#bc801c 40%,#ffe391);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);margin-left:5px;filter:drop-shadow(1px 2px #70501d)}.step-icon:before{content:'';position:absolute;inset:5px;background:#064454;clip-path:inherit}.step-icon svg{height:29px;width:29px;stroke:#ffd878;stroke-width:2;fill:none;position:relative}.how-copy .step-description{font-size:14px!important;min-height:42px;margin-top:17px;color:#5a614b;font-style:italic}.game-demo{position:relative;z-index:1}.game-frame{position:relative;display:block;width:100%;padding:7px;background:#064051;border:14px solid transparent;border-image:url('assets/frame.svg') 18 stretch;box-shadow:0 7px 14px #846b3040;filter:drop-shadow(1px 2px 1px #9c7433);overflow:hidden}.game-frame img{width:100%;height:auto;border:1px solid #b98424}.screenshot-zoom{position:absolute;right:13px;bottom:13px;background:#043447d9;width:30px;height:30px;display:grid;place-items:center;border:1px solid #e6bf65;color:#ffda76;border-radius:3px;opacity:0;transition:opacity .2s}.game-frame:hover .screenshot-zoom{opacity:1}.spell-example{display:flex;gap:22px;align-items:center;justify-content:center;margin-top:20px}.example-letters{display:flex;gap:8px;min-width:0}.letter{display:grid;place-items:center;width:clamp(40px,4.2vw,66px);height:clamp(48px,5.1vw,77px);font:700 clamp(25px,3.3vw,44px)/1 var(--serif);color:#234449;background:linear-gradient(120deg,#fff4d7,#f9e2ac);border:2px solid #d3a84e;border-bottom:4px solid #a87322;border-radius:6px;box-shadow:inset 0 0 0 3px #fff9dc,0 3px 4px #86612720;transition:transform .2s,filter .2s}.letter:hover{transform:translateY(-3px);filter:brightness(1.06)}.letter.marked{transform:translateY(-6px);background:#ffdc76}.attack-button{font-size:22px;min-width:156px;min-height:57px}.example-caption{font-size:12px;color:#6e6649;text-align:center;min-height:20px;margin-top:16px}.botanical{position:absolute;width:clamp(190px,18vw,280px);height:clamp(190px,18vw,280px);background:url('assets/botanical.svg') center/contain no-repeat;opacity:.8;pointer-events:none}.botanical.tl{top:26px;left:-15px}.botanical.tr{top:26px;right:-15px;transform:scaleX(-1)}.botanical.bl{bottom:-15px;left:-15px;transform:scaleY(-1);opacity:.55}.botanical.br{bottom:-15px;right:-15px;transform:scale(-1);opacity:.55}.attack-sweep{position:absolute;inset:10% 15% 33% 10%;border-top:8px solid #fff5b1;border-radius:50%;filter:drop-shadow(0 0 10px #ffbd32);opacity:0;pointer-events:none}.demo-impact{position:absolute;left:0;right:0;top:22%;font-size:clamp(24px,3vw,42px);font-weight:700;color:#fff1a1;text-shadow:0 3px #7b3a05,0 0 20px #ff9c21;opacity:0;pointer-events:none}.is-attacking .attack-sweep{animation:slash .65s ease-out}.is-attacking .demo-impact{animation:impact 1.1s ease-out}.is-attacking .letter{animation:tile-pop .6s ease-in-out}.is-attacking .letter:nth-child(2){animation-delay:.03s}.is-attacking .letter:nth-child(3){animation-delay:.06s}.is-attacking .letter:nth-child(4){animation-delay:.09s}.is-attacking .letter:nth-child(5){animation-delay:.12s}.is-attacking .letter:nth-child(6){animation-delay:.15s}@keyframes slash{0%{opacity:0;transform:scale(.4) rotate(-30deg)}40%{opacity:1}100%{opacity:0;transform:scale(1.25) rotate(50deg)}}@keyframes impact{0%,20%{opacity:0;transform:scale(.75)}35%,75%{opacity:1;transform:scale(1)}100%{opacity:0;transform:translateY(-15px)}}@keyframes tile-pop{0%,100%{transform:translateY(0)}40%{transform:translateY(-10px)}}
/* The realm panorama and gold-framed, keyboard accessible realm cards. */
.realms-section{min-height:760px;height:clamp(720px,62vw,1040px);border-bottom:0}.realm-landscape{position:absolute;inset:-55px 0;width:100%;height:calc(100% + 110px);object-fit:cover;object-position:50% 50%;z-index:-4}.realm-shade{position:absolute;inset:0;z-index:-3;background:linear-gradient(90deg,#00344055,transparent 70%),linear-gradient(0deg,#013340aa,transparent 45%)}.realm-copy{padding-top:8.4%;text-shadow:0 2px 8px #002c2b}.realm-copy h2{font-size:clamp(54px,5.8vw,96px);line-height:1.02;max-width:660px}.realm-copy>p:not(.eyebrow){font-size:clamp(18px,1.7vw,27px);line-height:1.4;margin-top:24px;color:#fff3d4}.realm-copy .realm-selected{font-size:16px!important;color:#eddba8!important;margin-top:24px!important;display:flex;align-items:center;gap:13px}.realm-selected>span{border:1px solid #e4c88070;padding:4px 8px;font-size:11px;letter-spacing:1px;color:#ffeab5;background:#073a40a1;font-family:Arial,sans-serif}.realm-browser{position:absolute;bottom:7%;left:0;right:0;display:flex;gap:24px;align-items:center;width:95%;max-width:1580px}.realm-cards{flex:1;min-width:0;display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.realm-card{position:relative;padding:0;background:#043e48;border:10px solid transparent;border-image:url('assets/frame.svg') 18 stretch;aspect-ratio:1.8;filter:drop-shadow(0 5px 4px #00242d99);transition:filter .2s,transform .2s}.realm-card>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.realm-card>span{position:absolute;left:8%;right:8%;bottom:-19px;padding:6px 8px 8px;background:url('assets/button-teal.svg') center/100% 100%;font-size:clamp(17px,1.7vw,26px);font-weight:700;white-space:nowrap;line-height:1.15;text-shadow:0 2px #033842}.realm-card:hover{transform:translateY(-5px);filter:drop-shadow(0 0 9px #ffdf7866)}.realm-card[aria-pressed=true]{filter:drop-shadow(0 0 7px #f5c55caa)}.circle-button{width:46px;height:46px;border:2px solid #ddb858;border-radius:50%;background:linear-gradient(#075065,#053c4b);color:#ffe29a;display:grid;place-items:center;font:36px/1 Georgia,serif;flex-shrink:0;box-shadow:0 2px 4px #05242170;transition:filter .2s,transform .2s}.circle-button:hover{filter:brightness(1.2);transform:scale(1.04)}.realm-mist{position:absolute;inset:15% -10% 25%;z-index:-2;pointer-events:none;background:radial-gradient(ellipse at 70% 65%,#e0ffff18,transparent 43%),radial-gradient(ellipse at 90% 72%,#d8ffff14,transparent 23%);animation:mist 23s ease-in-out infinite alternate}@keyframes mist{from{transform:translateX(-2%);opacity:.3}to{transform:translateX(2%);opacity:.75}}
/* The four illustrated modes stay in the same order as the approved design. */
.modes-section{position:relative;background:radial-gradient(ellipse at 50% 50%,#10576a55,transparent 70%),linear-gradient(105deg,#043548,#063c4e,#012b3e);padding:48px 0 64px;border-bottom:0}.modes-section>h2{text-align:center;font-size:clamp(36px,3.5vw,59px);margin:20px 20px 24px;color:#fff1d1;text-shadow:0 3px 4px #001e2d}.mode-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;width:95%;max-width:1570px}.mode{display:block;text-align:center;background:none;padding:0 3px 10px;min-width:0;color:#fff1d2;border-radius:8px;transition:transform .25s}.mode:hover{transform:translateY(-6px)}.mode-illustration{display:block;aspect-ratio:1;background-image:url('assets/mode-art.webp');background-size:400% auto;background-repeat:no-repeat;background-position-y:50%;filter:drop-shadow(0 4px 12px #001b2b70);transition:filter .25s}.mode:hover .mode-illustration{filter:drop-shadow(0 0 15px #efc66e35)}.journey-art{background-position-x:0}.daily-art{background-position-x:33.33333%}.time-art{background-position-x:66.66667%}.endless-art{background-position-x:100%}.mode h3{font-size:clamp(22px,2.15vw,36px);font-weight:700;letter-spacing:-.015em;white-space:nowrap;margin-top:-2px}.mode>p{font:italic clamp(15px,1.45vw,24px)/1.2 var(--serif);color:#f3e3c2;margin-top:12px;min-height:58px}.mode-link{display:inline-block;font:11px/1.3 Arial,sans-serif;text-transform:uppercase;letter-spacing:1.2px;color:#dbc78f;margin-top:15px}.mode-link>span{font-size:16px;margin-left:7px}
.closing-section{min-height:690px;height:clamp(620px,54vw,900px);display:grid;place-items:start center;text-align:center}.closing-landscape{position:absolute;inset:-45px 0;z-index:-3;background:url('assets/closing-world.webp') center/cover no-repeat}.closing-shade{position:absolute;inset:0;z-index:-2;background:radial-gradient(ellipse at 50% 25%,#032b5a50,transparent 65%)}.closing-content{padding:40px 20px 100px;position:relative;width:100%}.closing-content>img{width:clamp(200px,24vw,340px);margin:0 auto 8px;filter:drop-shadow(0 4px 5px #001c5399)}.closing-content h2{font-size:clamp(40px,4.7vw,79px);text-shadow:0 3px 8px #002644}.closing-content>p{font:italic clamp(18px,1.9vw,30px)/1.4 var(--serif);color:#fff4d8;margin-top:10px;text-shadow:0 2px 5px #00325d}.platform-list{display:flex;justify-content:center;gap:18px;margin:24px 0 30px}.platform-list>span{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(#0c4869cf,#0a364cd6);border:2px solid #eed086;border-radius:24px;padding:7px 17px;font:700 clamp(15px,1.5vw,23px)/1 var(--serif);color:#fff0c7;box-shadow:inset 0 0 0 2px #99803b40,0 3px 8px #00234c40}.platform-list svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.8}.closing-content>.button{min-width:290px}.closing-content .release-note{font:12px/1.5 Arial,sans-serif;margin-top:17px;color:#fff2d2;text-shadow:0 2px 5px #002a5b}footer{display:flex;align-items:center;gap:28px;padding:19px 5%;background:#023444;border-top:0;color:#f5e4bc;font-size:16px}footer>a{font-weight:700;white-space:nowrap}#motion-toggle{color:#f1dfb8;background:none;font:12px/1.5 Arial,sans-serif;border-bottom:1px solid #b49e6c55;padding:9px 2px;white-space:nowrap}footer>span{font-weight:700;white-space:nowrap}
dialog{width:min(1280px,94vw);max-width:none;max-height:94svh;overflow-y:auto;background:linear-gradient(140deg,#0a4053,#032a3b);color:#fff2d2;border:2px solid #dcb55d;border-radius:10px;padding:22px;box-shadow:0 20px 80px #0008;overscroll-behavior:contain}dialog::backdrop{background:#001523e8;backdrop-filter:blur(7px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.dialog-heading .eyebrow{font-size:10px;letter-spacing:2px}.dialog-heading h2{font-size:36px;line-height:1.1;margin-top:7px}#gallery-description{font-family:Arial,sans-serif;font-size:14px;line-height:1.6;margin:15px 0;color:#e2e4d0}.dialog-device-toggle{display:flex;gap:0;margin:12px 0 16px}.dialog-device-toggle button{background:#082f3e;border:1px solid #d6b16a70;padding:8px 18px;color:#eee4c9;font-family:Arial,sans-serif;font-size:12px}.dialog-device-toggle button[aria-pressed=true]{background:#eac16a;color:#153743}.dialog-device-toggle[hidden]{display:none}#gallery-image{max-height:65svh;max-width:100%;width:auto;height:auto;object-fit:contain;margin-inline:auto;border:1px solid #ad8c42}.dialog-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px}.dialog-bottom p{font:11px/1.5 Arial,sans-serif;text-align:center;color:#ced7cc}.dialog-bottom p span{color:#edce88;font-size:12px}.reduced-motion{scroll-behavior:auto}.reduced-motion *,.reduced-motion *:before,.reduced-motion *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.reduced-motion .parallax-layer{transform:none!important;will-change:auto}
@media(min-width:1800px){.hero-copy{left:calc((100vw - 1580px)/2)}.site-header{left:calc((100vw - 1700px)/2);right:calc((100vw - 1700px)/2)}.realm-copy{padding-top:110px}}
@media(max-width:1180px){.site-header{height:62px;gap:22px;left:3%;right:3%}.brand{width:150px}.site-header nav{gap:25px;padding-left:24px}.site-header nav>a:not(.button){font-size:17px}.header-cta{font-size:16px;min-height:49px;padding-inline:23px}.hero{height:650px}.hero-copy{left:5%;top:27%;width:69%}.hero h1{font-size:64px}.hero-description{font-size:18px}.hero-actions{gap:15px}.hero-actions .button{min-height:55px;font-size:19px;padding-inline:25px}.kai-layer{width:43%;right:2%;height:80%;bottom:7.5%}.hero-copy .eyebrow{font-size:12px;letter-spacing:.12em}.gold-rule{margin:17px 0 23px;width:200px}.development-note{font-size:13px}.how-section{padding-top:86px}.how-grid{gap:28px;grid-template-columns:.76fr 1.24fr;width:92%}.how-copy h2{font-size:53px}.paper-label{font-size:12px}.how-copy>p:not(.paper-label){font-size:18px}.step{height:52px;font-size:23px}.step-icon{height:47px;width:47px}.steps{margin-top:25px}.spell-example{gap:14px}.example-letters{gap:5px}.letter{width:41px;height:51px;font-size:29px}.attack-button{min-width:120px;min-height:48px;font-size:19px;padding-inline:20px}.realms-section{height:780px;min-height:0}.realm-copy{padding-top:85px}.realm-copy h2{font-size:64px}.realm-copy>p:not(.eyebrow){font-size:21px}.realm-browser{gap:15px;bottom:7%}.realm-cards{gap:19px}.realm-card>span{font-size:19px}.mode-grid{gap:4px}.mode h3{font-size:26px}.mode>p{font-size:18px}.modes-section>h2{font-size:43px}.closing-section{height:680px;min-height:0}.closing-content>img{width:260px}.closing-content h2{font-size:57px}.closing-content>p{font-size:24px}.platform-list>span{font-size:18px}}
@media(max-width:900px){.site-header nav{gap:20px}.site-header nav>a:not(.button){font-size:15px}.brand{width:125px}.header-cta{font-size:14px;padding-inline:18px;min-height:46px}.hero{height:630px}.hero-copy{top:26%}.hero h1{font-size:54px}.hero-description{font-size:16px;line-height:1.45}.hero-actions .button{font-size:17px;min-height:51px;padding-inline:23px}.hero-actions{gap:10px}.kai-layer{height:78%;right:1%;width:44%;bottom:8%}.scroll-cue{font-size:14px}.how-grid{width:90%;gap:30px;grid-template-columns:1fr}.how-copy{display:grid;grid-template-columns:1fr 1fr;column-gap:30px;align-items:start}.paper-label{justify-self:start;grid-column:1}.how-copy h2{font-size:58px;grid-column:1;margin-top:20px}.how-copy>p:not(.paper-label){grid-column:1}.how-copy .steps{grid-column:2;grid-row:1/4;margin-top:0;width:100%;align-self:center}.how-copy .step-description{grid-column:2;margin-top:0;align-self:start}.game-demo{max-width:760px;margin:auto;width:100%}.spell-example{gap:30px}.letter{width:57px;height:65px;font-size:37px}.attack-button{min-width:160px;min-height:57px;font-size:23px}.how-section{padding:80px 0 45px}.realm-copy h2{font-size:62px}.realms-section{height:740px}.realm-cards{gap:15px}.realm-card>span{font-size:16px;left:2%;right:2%}.circle-button{width:40px;height:40px;font-size:30px}.realm-browser{gap:13px;width:97%}.modes-section{padding-bottom:45px}.mode h3{font-size:21px}.mode>p{font-size:16px}.mode-link{font-size:9px;letter-spacing:.7px}.mode-illustration{margin-top:12px}.closing-content h2{font-size:50px}}
/* Mobile is an art-directed portrait composition, with the same content. */
@media(max-width:700px){.site-header{height:75px;top:0;left:0;right:0;padding:8px 20px;background:linear-gradient(#02344db3,#02344d15);gap:0}.brand{width:130px;margin-top:-2px}.menu-toggle{display:flex;margin-left:auto}.site-header nav{display:none;position:absolute;left:12px;right:12px;top:84px;width:auto;height:auto;flex-direction:column;align-items:stretch;padding:14px 18px 19px;border:1px solid #d3b367;background:#04364bf5;border-radius:8px;backdrop-filter:blur(14px);gap:0;box-shadow:0 12px 35px #00182680}.site-header nav.open{display:flex}.site-header nav:before{display:none}.site-header nav>a:not(.button){padding:13px 8px;font-size:19px}.header-cta{margin-top:10px;margin-left:0;font-size:18px}.hero{height:980px;min-height:0;max-height:none}.hero-landscape,.hero-ground{background-position:59% 50%;inset:-24px -150px;background-size:auto 100%}.hero-ground{mask-image:linear-gradient(transparent 65%,#000 88%)}.hero-mobile-shade{display:block;position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,#00314c70 0%,#00314cb8 22%,#00314c20 55%,transparent 70%)}.hero-copy{position:relative;left:auto;top:auto;width:100%;padding:142px 24px 0;text-align:center}.hero-copy .eyebrow{font-size:11px;letter-spacing:.12em;max-width:400px;margin:auto}.gold-rule{width:170px;margin:15px auto 22px}.hero h1{font-size:clamp(43px,8vw,64px);line-height:1.03}.hero h1 em{white-space:normal}.hero-description{font-size:16px;line-height:1.5;margin-top:21px}.hero-actions{justify-content:center;gap:10px;margin-top:24px;flex-wrap:wrap}.hero-actions .button{min-height:52px;font-size:18px;padding-inline:23px}.development-note{font-size:12px;margin-top:13px}.kai-layer{width:430px;height:440px;right:calc(50% - 245px);bottom:62px}.sword-glint{left:22%}.scroll-cue{bottom:16px;font-size:14px;left:50%;white-space:nowrap}.scroll-cue span{font-size:31px}.how-section{padding:76px 0 38px}.how-grid{width:calc(100% - 40px);gap:30px}.how-copy{display:block;text-align:center}.paper-label{font-size:12px;padding:9px 18px 10px}.how-copy h2{font-size:54px;line-height:1;max-width:none;margin:22px 0 17px}.how-copy>p:not(.paper-label){font-size:19px;max-width:430px;margin-inline:auto}.steps{grid-template-columns:repeat(3,1fr);width:100%;max-width:none;gap:7px;margin-top:25px!important}.step{height:52px;font-size:19px;padding:6px 10px;justify-content:center;gap:4px}.step-icon{width:30px;height:30px;margin-left:0}.step-icon:before{inset:3px}.step-icon svg{width:20px;height:20px}.step:hover,.step.active{transform:translateY(-2px)}.how-copy .step-description{font-size:13px!important;min-height:38px;margin-top:13px;max-width:none}.game-frame{border-width:10px;padding:3px}.spell-example{gap:12px;margin-top:17px;flex-wrap:wrap}.example-letters{gap:6px}.letter{width:44px;height:53px;font-size:31px}.attack-button{min-width:142px;min-height:51px;font-size:21px}.example-caption{font-size:11px;line-height:1.5;max-width:300px;margin:12px auto 0}.botanical{width:116px;height:116px;opacity:.6}.botanical.tl,.botanical.tr{top:10px}.botanical.bl,.botanical.br{opacity:.4}.realms-section{height:790px;min-height:0}.realm-landscape{object-position:60% center}.realm-shade{background:linear-gradient(90deg,#003640b0,transparent 90%),linear-gradient(0deg,#003444b0,transparent 55%)}.realm-copy{padding-top:64px;width:calc(100% - 44px)}.realm-copy .eyebrow{font-size:12px}.realm-copy .gold-rule{margin:18px 0 23px}.realm-copy h2{font-size:58px;max-width:390px}.realm-copy>p:not(.eyebrow){font-size:20px;margin-top:22px}.realm-copy .realm-selected{font-size:14px!important;margin-top:20px!important}.realm-browser{width:calc(100% - 18px);gap:9px;bottom:55px}.realm-cards{grid-template-columns:1fr;gap:0}.realm-card{display:none;max-width:450px;width:100%;margin:auto;aspect-ratio:1.65;border-width:10px}.realm-card:first-child{display:block}.realm-card>span{font-size:24px;left:10%;right:10%;bottom:-23px;padding-block:8px 10px}.circle-button{width:38px;height:38px;font-size:29px}.modes-section{padding:35px 0 40px}.modes-section>h2{font-size:37px;max-width:450px;margin:18px auto 12px;padding-inline:20px}.mode-grid{width:calc(100% - 26px);grid-template-columns:repeat(2,1fr);gap:24px 7px}.mode-illustration{margin-top:0}.mode h3{font-size:25px;white-space:normal;line-height:1.1;min-height:28px}.mode>p{font-size:18px;min-height:43px;margin-top:10px}.mode-link{font-size:9px;margin-top:10px}.closing-section{height:740px;min-height:0}.closing-landscape{background-position:63% center;inset:-25px -100px}.closing-shade{background:radial-gradient(ellipse at 50% 30%,#032c6277,transparent 80%)}.closing-content{padding:45px 22px 90px}.closing-content>img{width:240px;margin-bottom:16px}.closing-content h2{font-size:46px;max-width:500px;margin:auto}.closing-content>p{font-size:21px;max-width:370px;margin:14px auto 0}.platform-list{gap:10px;flex-wrap:wrap;max-width:370px;margin:25px auto 25px}.platform-list>span{font-size:18px;padding:9px 14px}.platform-list svg{width:20px;height:20px}.closing-content>.button{font-size:21px;min-height:58px;min-width:280px}.closing-content .release-note{font-size:11px;line-height:1.6;max-width:260px;margin-top:17px}footer{padding:17px 20px;gap:14px;flex-wrap:wrap;font-size:14px}#motion-toggle{font-size:11px}footer>span{font-size:12px}.dialog-heading h2{font-size:28px}.dialog-heading .eyebrow{font-size:9px}dialog{padding:16px;max-height:92svh;width:95vw}#gallery-description{font-size:12px}.dialog-bottom .circle-button{width:38px;height:38px}.parallax-layer{will-change:auto}}
@media(max-width:390px){.hero{height:940px}.hero-copy{padding-top:130px;padding-inline:17px}.hero h1{font-size:44px}.hero-copy .eyebrow{font-size:9px;letter-spacing:.1em}.hero-description{font-size:14px;line-height:1.5}.hero-actions{gap:7px}.hero-actions .button{font-size:16px;padding-inline:18px;min-height:49px}.development-note{font-size:11px}.kai-layer{height:410px;width:395px;right:calc(50% - 222px);bottom:60px}.how-copy h2{font-size:48px}.how-copy>p:not(.paper-label){font-size:17px}.how-grid{width:calc(100% - 30px)}.step{font-size:16px;gap:3px;padding-inline:4px}.step-icon{width:25px;height:25px}.step-icon svg{width:16px;height:16px}.letter{width:39px;height:48px;font-size:29px}.example-letters{gap:5px}.realms-section{height:740px}.realm-copy h2{font-size:52px}.realm-copy>p:not(.eyebrow){font-size:18px}.realm-copy .eyebrow{font-size:11px}.realm-card>span{font-size:21px}.realm-browser{bottom:45px}.circle-button{width:33px;height:33px;font-size:26px}.modes-section>h2{font-size:33px}.mode h3{font-size:21px}.mode>p{font-size:16px}.mode-link{font-size:8px}.closing-content h2{font-size:41px}.closing-content>img{width:220px}.closing-content>p{font-size:20px}.platform-list{max-width:290px}.platform-list>span{font-size:17px;padding:9px 15px}.closing-section{height:730px}.closing-content>.button{min-width:265px;font-size:19px}footer{gap:10px}footer>a{font-size:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.parallax-layer{transform:none!important;will-change:auto}}
/* Contrast and compact composition refinements from browser review. */
.hero-mobile-shade{display:block;position:absolute;inset:0;z-index:-2;pointer-events:none;background:linear-gradient(90deg,#00364c65,transparent 65%)}
.alternate-realm .realm-shade{background:linear-gradient(90deg,#002b3ace 0%,#002b3a83 39%,transparent 80%),linear-gradient(0deg,#013440bb,transparent 60%)}
.button:disabled{filter:saturate(.55);opacity:.7;transform:none}
@media(max-width:700px){
 .hero-mobile-shade{background:linear-gradient(180deg,#002e49a8 0%,#00334cda 30%,#00364c30 55%,transparent 72%)}
 .hero-actions{flex-wrap:nowrap;width:100%;max-width:410px;margin-inline:auto;gap:9px}
 .hero-actions .button{flex:1;min-width:0;padding-inline:10px;font-size:16px;gap:6px}
 .kai-layer{height:auto;width:100%;aspect-ratio:1.02;right:-2%;bottom:65px}


 .step{flex-direction:column;height:82px;padding:6px;font-size:18px;gap:1px;white-space:nowrap}
 .step-icon{width:31px;height:31px}.step-icon svg{width:19px;height:19px}
 .realm-card>span{font-size:clamp(16px,5.1vw,24px);white-space:normal}
}
@media(max-width:400px){
 .hero-copy{padding:130px 18px 0}.hero{height:920px}
 .hero h1{font-size:44px}.hero-copy .eyebrow{font-size:10px}
 .hero-description{font-size:14px}.hero-actions .button{font-size:15px;gap:5px;padding-inline:9px;min-height:50px}
 .kai-layer{bottom:62px}.development-note{font-size:11px}
 .step{font-size:16px}
 .realm-browser{gap:7px}.realm-browser .circle-button{width:38px;height:44px}
}
.game-frame{clip-path:polygon(12px 0,calc(100% - 12px) 0,100% 12px,100% calc(100% - 12px),calc(100% - 12px) 100%,12px 100%,0 calc(100% - 12px),0 12px)}
@media(max-width:700px){.hero-landscape,.hero-ground{background-image:url('assets/hero-world-1080.webp')}.realm-browser .circle-button{width:44px;height:44px}}
@media(max-width:360px){.how-copy h2{font-size:40px}.hero-actions .button{font-size:14px}.realm-browser{gap:5px}.realm-card>span{font-size:18px}}

/* A real mobile capture in an unbranded device, layered over the desktop battle. */
.device-showcase{position:relative;padding-left:52px;padding-bottom:64px;isolation:isolate}
.phone-preview{position:absolute;z-index:2;left:6px;bottom:4px;width:24%;min-width:120px;max-width:200px;padding:9px;border:2px solid #8c8b81;border-radius:29px;background:linear-gradient(125deg,#767e83 0%,#222b31 12%,#050c12 48%,#56636c 100%);box-shadow:0 22px 28px -12px #102b3c99,0 4px 10px #3d302d55,inset 0 0 0 2px #111b21;transform:rotate(-6deg);transform-origin:center 80%;transition:transform .25s,box-shadow .25s}
.phone-preview:hover{transform:rotate(-3deg) translateY(-4px);box-shadow:0 26px 32px -12px #102b3c99,0 5px 12px #3d302d55,inset 0 0 0 2px #111b21}
.phone-screen{display:block;overflow:hidden;border-radius:19px;background:#031e2c;border:1px solid #111b22}
.phone-screen img{display:block;width:100%;height:auto;aspect-ratio:1/2;object-fit:contain}
.phone-camera{position:absolute;top:6px;left:calc(50% - 13px);width:26px;height:4px;background:#04090e;border-radius:4px;box-shadow:0 1px #66747a66}
.phone-rail:before,.phone-rail:after{content:"";position:absolute;width:3px;left:-4px;background:linear-gradient(#9eabad,#33404b);border-radius:2px}
.phone-rail:before{top:48px;height:20px}.phone-rail:after{top:77px;height:37px}
.game-demo .spell-example{margin-top:12px}
.development-note{display:flex;align-items:center;gap:11px;flex-wrap:wrap}
.coming-soon{display:inline-flex;align-items:center;gap:8px;color:#ffe29b;font:700 13px/1.3 var(--serif);letter-spacing:1.3px;text-transform:uppercase;font-style:normal}
.coming-soon:before{content:"";width:6px;height:6px;transform:rotate(45deg);background:#ffe29b;box-shadow:0 0 10px #e9bd4b80}
.development-note>span{font-size:13px}
.closing-content>.closing-coming-soon{font:700 clamp(20px,2.5vw,32px)/1.2 var(--serif);color:#ffe29b;letter-spacing:3px;text-transform:uppercase;margin-top:22px}
.closing-content>.platform-intro{font-size:18px;margin-top:8px}
footer .contact-link{color:#f4d698;font-size:14px;padding:10px 0;white-space:nowrap;min-height:44px;display:inline-flex;align-items:center}
footer .contact-link:hover{text-decoration:underline;text-underline-offset:4px}
@media(max-width:1180px){.device-showcase{padding-left:35px;padding-bottom:56px}.phone-preview{left:2px;width:25%;padding:7px;border-radius:23px}.phone-screen{border-radius:15px}}
@media(min-width:701px) and (max-width:900px){.device-showcase{padding-left:58px}.phone-preview{width:23%;min-width:150px}}
@media(max-width:700px){.device-showcase{padding-left:26px;padding-bottom:100px}.phone-preview{width:31%;min-width:95px;max-width:155px;left:5px;bottom:9px;padding:5px;border-radius:17px}.phone-screen{border-radius:11px}.phone-camera{top:4px;height:3px;width:18px;left:calc(50% - 9px)}.phone-rail:before{top:30px;height:12px}.phone-rail:after{top:48px;height:23px}.development-note{justify-content:center;gap:8px}.development-note>span{font-size:11px}.coming-soon{font-size:11px;letter-spacing:.9px}.closing-content>.closing-coming-soon{font-size:24px}.closing-content>.platform-intro{font-size:17px}.closing-content{padding-top:35px}.closing-content>img{margin-bottom:10px}.platform-list{margin-top:20px}footer{flex-wrap:wrap;column-gap:18px;row-gap:3px}footer .contact-link{order:5;width:100%;justify-content:center;margin-top:1px}.game-demo .spell-example{margin-top:10px}}
@media(prefers-reduced-motion:reduce){.phone-preview{transition:none}.phone-preview:hover{transform:rotate(-6deg)}}
.reduced-motion .phone-preview{transition:none}.reduced-motion .phone-preview:hover{transform:rotate(-6deg)}

/* Keep the copy legible while the castle and Kai retain their bright colours. */
.hero-mobile-shade{background:linear-gradient(90deg,#031e2de8 0%,#042b3cc9 24%,#06364b80 44%,#07384b22 63%,transparent 78%)}
.hero-copy h1{color:#fff2cd;text-shadow:0 3px 9px #001622a6}
.hero-description{color:#fffaf0;text-shadow:0 2px 5px #001923cc}
.hero-copy .development-note{color:#fff6df;text-shadow:0 1px 4px #001923}
@media(max-width:700px){.hero-mobile-shade{background:linear-gradient(180deg,#032638b8 0%,#03283de8 31%,#032d42b8 45%,#04344730 60%,transparent 73%)}}

/* Selected concept: Kai's sword stroke reveals the parchment beneath the scene. */
.opening-chapter{--cut-height:clamp(128px,13.75vw,220px);background:#f8e6bd radial-gradient(ellipse at 50% 70%,#fff6deaa 20%,#d7a55a22 100%);position:relative;isolation:isolate}
/* A single texture spans the curved edge, stats and gameplay: no section seams. */
.opening-chapter:before{content:"";position:absolute;inset:0;z-index:-1;background:url('assets/paper.svg');opacity:.6;pointer-events:none}
.opening-chapter>.paper{background:transparent}
.hero-backdrop{position:absolute;inset:0;z-index:-1;isolation:isolate;overflow:hidden;mask-image:linear-gradient(#000,#000),url('assets/hero-curve-mask.svg');mask-size:100% calc(100% - var(--cut-height) + 1px),100% var(--cut-height);mask-position:top,bottom;mask-repeat:no-repeat}
.swordcut-transition{position:absolute;inset:auto 0 0;height:var(--cut-height);z-index:3;pointer-events:none}
.swordcut-transition>img{width:100%;height:100%;max-width:none}
.kai-layer{bottom:3.6%;z-index:4}
.cut-glint{position:absolute;left:10.3%;top:46%;width:26px;height:26px;transform:translate(-50%,-50%);background:#fff8c9;clip-path:polygon(48% 0,55% 42%,100% 49%,57% 56%,50% 100%,43% 58%,0 50%,42% 43%);filter:drop-shadow(0 0 8px #ffd256);animation:cut-glimmer 8s ease-in-out infinite}


.realm-stats{position:relative;z-index:6;display:flex;justify-content:center;align-items:center;gap:clamp(24px,3.5vw,58px);padding:22px 24px 31px;min-height:105px;color:#3d3424;font:700 clamp(18px,1.75vw,28px)/1.25 var(--serif);letter-spacing:.055em;text-transform:uppercase}
.realm-stats b{font-weight:700}.realm-stats i{font-size:14px;font-style:normal;color:#bd8625;text-shadow:0 1px #fff7cd}

.how-section{padding-top:72px}
@keyframes cut-glimmer{0%,70%,100%{opacity:.55;scale:.8}78%{opacity:1;scale:1.25}84%{opacity:.6;scale:.85}90%{opacity:.9;scale:1}}
@media(min-width:701px) and (max-width:1180px){.opening-chapter{--cut-height:140px}.kai-layer{bottom:3.8%}.realm-stats{font-size:19px;gap:32px;min-height:97px;padding-block:21px 29px}.how-section{padding-top:65px}}
@media(max-width:700px){.opening-chapter{--cut-height:85px}.kai-layer{bottom:29px}.cut-glint{width:17px;height:17px}.realm-stats{justify-content:space-evenly;gap:11px;padding:16px 17px 25px;min-height:93px;font-size:11px;letter-spacing:.055em;line-height:1.25}.realm-stats>span{flex:1;text-align:center}.realm-stats b{display:block;font-size:23px;line-height:1.2;margin-bottom:2px}.realm-stats i{font-size:9px}.how-section{padding-top:49px}}
@media(max-width:360px){.realm-stats{font-size:10px;gap:6px;padding-inline:13px}.realm-stats b{font-size:21px}}
@media(prefers-reduced-motion:reduce){.cut-glint{animation:none}}
.reduced-motion .cut-glint{animation:none}

/* A small trail of sword-light replaces the disconnected letter decoration. */
.cut-sparkles{position:absolute;right:6.8%;bottom:4%;width:105px;height:40px;overflow:visible;fill:#c99031;filter:drop-shadow(0 1px 0 #fff2c9)}
.spark-trail{fill:none;stroke:#d5a349;stroke-width:1;opacity:.55;stroke-linecap:round}
.spark-star{animation:spark-shimmer 7s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
.spark-star.small{animation-delay:-3s}
@keyframes spark-shimmer{0%,65%,100%{opacity:.55;scale:.85}80%{opacity:1;scale:1.08}}
@media(max-width:700px){.cut-sparkles{width:63px;height:25px;right:6%;bottom:3px}}
@media(prefers-reduced-motion:reduce){.spark-star{animation:none}}
.reduced-motion .spark-star{animation:none}

/* Painted chapter transitions: shared surfaces, transparent art and matched masks. */
:root{--chapter-overlap:33.333333vw;--night:#032f40}
.opening-chapter{z-index:2;mask-image:linear-gradient(#000,#000),url('assets/chapter-curve-mask.svg');mask-size:100% calc(100% - var(--chapter-overlap) + 1px),101% var(--chapter-overlap);mask-position:top,bottom;mask-repeat:no-repeat}
.how-section{padding-bottom:calc(var(--chapter-overlap) * .78 + 45px);border:0}
.atlas-seam{position:relative;height:0;z-index:3;pointer-events:none;overflow-x:clip;overflow-y:visible}
.atlas-seam>img{position:absolute;inset:auto auto 0 -.5%;width:101%;height:var(--chapter-overlap);max-width:none}
.world-chapter{position:relative;isolation:isolate;background:var(--night);margin-top:calc(-1 * var(--chapter-overlap))}
.realms-section{box-sizing:content-box;padding-top:calc(var(--chapter-overlap) * .6);border:0}
.realm-copy{position:relative;z-index:3}.realm-browser{z-index:3}
.realm-title-flourish{display:flex;align-items:center;gap:13px;height:12px;margin:14px 0 20px;color:#efcf84;font-size:14px}
.realm-title-flourish span:nth-child(2){font-size:8px}.realm-title-flourish span:nth-child(3){font-size:5px}
.chapter-link{position:absolute;left:50%;bottom:calc(var(--chapter-overlap) * .36);translate:-50% 0;display:flex;align-items:center;gap:10px;flex-direction:column;color:#6f592f;font:700 11px/1.2 var(--serif);text-transform:uppercase;letter-spacing:.2em;z-index:2;padding:8px}
.chapter-link svg{width:58px;height:58px;overflow:visible;fill:#f7e8c8;stroke:#ba9149;stroke-width:.8;filter:drop-shadow(0 4px 6px #97753822);transition:transform .3s}
.chapter-link .compass-inner{fill:none;stroke-dasharray:1 4;stroke-width:1.2}
.chapter-link .compass-star{fill:#b49350;stroke:#a98339;stroke-width:.65}
.chapter-link .compass-arrow{fill:none;stroke:#fff6d9;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.chapter-link:hover svg{transform:translateY(4px) rotate(6deg)}.chapter-link:hover{color:#243e3a}
.forest-transition{position:absolute;inset:auto 0 -1px;height:clamp(220px,25vw,420px);z-index:2;pointer-events:none;background:linear-gradient(180deg,#032f4000 0%,#032f4030 15%,#032f40b8 63%,var(--night) 95%)}
.forest-fringe{position:absolute;inset:auto 0 -1px;height:33.333333vw;background:url('assets/twilight-forest.webp') center bottom/100% auto no-repeat;mask-image:linear-gradient(#000 0%,#000 91%,transparent 100%)}
.boundary-mist{position:absolute;inset:35% -10% 1%;z-index:1;opacity:.8;background:radial-gradient(ellipse at 26% 65%,#9edbca1c,transparent 45%),radial-gradient(ellipse at 75% 40%,#afdccc12,transparent 40%);animation:boundary-drift 25s ease-in-out infinite alternate}
.firefly{position:absolute;width:3px;height:3px;background:#ffe8ac;border-radius:50%;box-shadow:0 0 9px 3px #dce88b33;animation:firefly-drift 11s ease-in-out infinite}
.firefly-one{left:14%;bottom:14%;animation-delay:-3s}.firefly-two{left:62%;bottom:21%;animation-delay:-8s}.firefly-three{right:7%;bottom:30%;animation-delay:-5s}
.modes-section{isolation:isolate;background:radial-gradient(ellipse at 50% 50%,#12647330,transparent 72%),var(--night);border:0;margin-top:-2px;padding-top:54px;padding-bottom:95px}
.modes-section>h2{margin-top:0}
.starlight-transition{position:absolute;inset:auto 0 -80px;height:180px;background:url('assets/starlight-trail.svg') center/100% 100% no-repeat;pointer-events:none;z-index:1;animation:starlight-breathe 14s ease-in-out infinite alternate}
.chapter-comet{position:absolute;left:15%;top:68%;width:130px;height:2px;opacity:0;background:linear-gradient(90deg,#a4ead600,#a6ecdd77,#ffedb5);transform:rotate(-12deg);border-radius:50%;animation:chapter-comet 19s ease-in-out infinite}
.chapter-comet:after{content:"";position:absolute;right:0;top:-1px;width:4px;height:4px;border-radius:50%;background:#fff7d2;box-shadow:0 0 9px 3px #f8daa155}
.closing-section{border:0;background:transparent}
.closing-backdrop{position:absolute;inset:0;z-index:-2;isolation:isolate;mask-image:linear-gradient(180deg,transparent,#000 24%,#000 76%,transparent 100%);pointer-events:none}
.closing-shade{background:radial-gradient(ellipse at 50% 25%,#032b5a50,transparent 65%)}
.closing-content{z-index:2;padding-top:50px}
footer{position:relative;background:var(--night);border:0;padding-top:12px;padding-bottom:24px}
.footer-sigil{display:flex;align-items:center;justify-content:center;gap:15px;flex:1;color:#c7cfa3;min-width:48px;font-size:9px;opacity:.75}
.footer-sigil span:nth-child(2){font-size:22px;color:#edcd8a}
@keyframes boundary-drift{from{transform:translate3d(-2%,0,0)}to{transform:translate3d(2%,8px,0)}}
@keyframes firefly-drift{0%,100%{opacity:.3;transform:translate3d(0,0,0)}50%{opacity:.9;transform:translate3d(8px,-14px,0)}}
@keyframes starlight-breathe{from{opacity:.6}to{opacity:1}}
@keyframes chapter-comet{0%,79%{left:15%;top:68%;opacity:0}81%{opacity:.9}88%{left:77%;top:12%;opacity:0}100%{left:77%;top:12%;opacity:0}}
@media(max-width:700px){
 .realm-copy{padding-top:48px}
 .chapter-link{font-size:9px;gap:6px;bottom:calc(var(--chapter-overlap) * .31);padding:3px}
 .chapter-link svg{width:38px;height:38px}
 .forest-transition{height:190px}
 .forest-fringe{height:210px;background-size:630px auto;background-position:center bottom}
 .modes-section{padding-top:38px;padding-bottom:65px}
 .starlight-transition{height:125px;bottom:-55px;background-size:auto 100%}
 .chapter-comet{width:75px}
 .closing-backdrop{mask-image:linear-gradient(180deg,transparent,#000 19%,#000 78%,transparent 100%)}
 .closing-content{padding-top:40px}.footer-sigil{gap:9px}
}
@media(prefers-reduced-motion:reduce){.boundary-mist,.firefly,.starlight-transition,.chapter-comet{animation:none}.chapter-comet{opacity:0}}
.reduced-motion .boundary-mist,.reduced-motion .firefly,.reduced-motion .starlight-transition,.reduced-motion .chapter-comet{animation:none}
.reduced-motion .chapter-comet{opacity:0}
