:root{font-family:Arial,Helvetica,sans-serif;color:#173f42;background:#f6f2e8;--ink:#173f42;--paper:#fffdf6;--orange:#ba5237;--gold:#edc778;--line:#d8d9c9;--mint:#cee4d8}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;background:var(--ink);color:#fff;border:1px solid transparent;border-radius:12px;padding:12px 18px;min-height:46px;font-weight:600}button:hover{filter:brightness(1.1)}button:disabled{opacity:.5;cursor:not-allowed}.quiet{color:var(--ink);background:#fff9;border-color:#c2cfc5}.danger{background:#9a3d2b}button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:4px solid #b94d32;outline-offset:4px}a{color:inherit;text-underline-offset:4px}h1,h2,h3{font-family:Georgia,serif;font-weight:normal;line-height:1.05}h1{font-size:clamp(40px,6vw,80px);letter-spacing:-2px;margin:15px 0 24px}h2{font-size:clamp(28px,3vw,42px);margin:0 0 18px}h3{font-size:25px;margin:0 0 16px}p{line-height:1.55}small,.muted{color:#586d67}.topbar{height:88px;padding:18px 4vw;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px;background:var(--paper);position:relative;z-index:2}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-family:Georgia,serif;font-size:29px;letter-spacing:3px}.brand small{font:9px Arial;letter-spacing:2px;display:block;margin-top:5px}.brand-symbol{border:1px solid #99b0a8;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;color:var(--orange)}nav{display:flex;gap:10px}nav button{background:none;color:var(--ink);border:1px solid #cdd6cd;padding:10px 16px;font-size:14px}.skip{position:absolute;top:-100px;left:10px;z-index:10;padding:12px;background:white}.skip:focus{top:10px}.eyebrow{font-size:11px;letter-spacing:2px;text-transform:uppercase;font-weight:700;color:var(--orange)}.hero{min-height:calc(100svh - 88px);position:relative;display:grid;grid-template-columns:42% 58%;overflow:hidden;background:#e8ecdf}.hero-art{position:absolute;inset:0;background:url('../assets/nova/phare.webp') center/cover}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#f8f3eafa 0%,#f8f3eae8 28%,#f8f3ea99 45%,transparent 65%);pointer-events:none}.hero-copy{position:relative;z-index:1;align-self:center;padding:7vh 0 8vh 6vw;max-width:650px}.hero-copy p{font-size:19px;max-width:350px}.hero-copy h1 em{color:var(--orange);font-style:normal}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:26px 0}.hero-actions button{padding:17px 26px}.hero-chips{display:flex;gap:10px;flex-wrap:wrap;font-size:12px}.hero-chips span{padding:9px 12px;border:1px solid #bac4b4;border-radius:30px;background:#fff8}.hero-caption{position:absolute;bottom:26px;right:4vw;z-index:1;color:white;text-shadow:0 2px 8px #000;font:italic 20px Georgia}.chapter-strip{display:flex;gap:6px;padding:17px 4vw 13px;background:var(--paper)}.chapter-dot{flex:1;background:#e7e9dd;border:0;color:var(--ink);border-radius:8px;min-height:7px;padding:0;height:7px;position:relative}.chapter-dot.active{background:var(--orange)}.chapter-dot.done{background:#55907b}.stage{position:relative;min-height:calc(100svh - 125px);isolation:isolate;padding:24px 4vw 30px;background:#bdc6b7}.scene-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.scene-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0d292d55,transparent 55%,#112d2f33)}.stage-header{display:flex;justify-content:space-between;align-items:center;gap:20px;color:white;margin-bottom:20px;text-shadow:0 1px 5px #163c3f}.stage-header .eyebrow{color:#fff5c8}.stage-header h1{font-size:36px;margin:7px 0 0;letter-spacing:-.7px}.stage-meta{font-size:13px;background:#173f42df;border:1px solid #ffffff55;padding:12px 16px;border-radius:30px;white-space:nowrap}.workspace{width:min(930px,100%);margin:auto;background:#fffdf6ed;border:1px solid #fffb;border-radius:22px;box-shadow:0 18px 60px #082b3440;backdrop-filter:blur(10px);overflow:hidden}.mission-head{padding:24px 28px 18px;border-bottom:1px solid #ced7ce;display:flex;align-items:center;justify-content:space-between;gap:16px}.mission-head h2{font:600 clamp(21px,2.3vw,28px)/1.25 Arial;margin:0}.mission-head small{display:block;font-size:12px;font-weight:normal;margin-top:9px;line-height:1.4}.listen{flex:0 0 46px;width:46px;padding:10px;background:#e4e9dc;color:var(--ink)}.activity{padding:28px;min-height:300px;position:relative}.gesture-hint{display:flex;align-items:center;justify-content:center;gap:10px;font-size:13px;color:#536e63;margin-bottom:22px}.mouse-icon{width:25px;height:32px}.targets{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:24px;min-height:185px;padding:12px}.target,.object,.file-tile,.drop-zone,.order-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--ink);background:#f7f1dc;border:1px solid #c3cbba;border-radius:18px;padding:18px;min-width:115px;min-height:125px;font-size:15px;position:relative;box-shadow:0 6px 0 #bec6b84d;overflow-wrap:anywhere}.glyph{width:58px;height:58px;display:block;flex-shrink:0}.target:nth-child(3n+2),.object:nth-child(3n+2){background:#dce9e3}.target:nth-child(3n){background:#f6dfd1}.target.hit{background:#d3e5d0;border-color:#5a9473;box-shadow:none}.target.hit:after{content:'✓';position:absolute;right:8px;top:5px;font-size:22px}.targets.small .target{min-width:70px;min-height:90px;padding:12px;max-width:110px;font-size:12px}.targets.small .glyph{width:40px;height:40px}.sequence{display:flex;justify-content:center;gap:10px;margin:0 0 20px}.sequence span{display:flex;gap:6px;align-items:center;background:#e7ecdf;padding:7px 10px;border-radius:9px}.sequence .glyph{width:22px;height:22px}.shelf{height:220px;overflow-y:auto;overscroll-behavior:contain;border:2px solid #a8bba6;padding:12px;border-radius:12px;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.shelf .target{min-width:0;min-height:112px}.shelf .target .glyph{width:38px;height:38px}.drag-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px}.objects,.destinations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.object,.drop-zone{min-width:0;min-height:122px;padding:14px;font-size:14px}.draggable{touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab}.draggable:active{cursor:grabbing}.object.placed{opacity:.3;pointer-events:none;box-shadow:none}.drop-zone{background:#e8eee1;border:2px dashed #a4b9a5;box-shadow:none}.drop-zone.filled{border-style:solid;background:#d4e7c9}.drop-zone.over,[data-drop].over{outline:4px solid var(--gold);outline-offset:2px}.drag-grid.small .drop-zone{padding:10px;min-height:100px}.drag-grid.small .drop-zone .glyph{width:36px;height:36px}.drag-ghost{position:fixed;z-index:30;pointer-events:none;opacity:.9;transform:rotate(-5deg);box-shadow:0 12px 25px #172e3c44}.selected{outline:4px solid #b55c34!important;outline-offset:2px;background:#ffebbd!important}.order-row{display:flex;gap:16px;justify-content:center;padding:30px 0}.order-tile{min-width:90px;min-height:105px;font:44px Georgia}.toolbar{display:flex;flex-wrap:wrap;gap:9px;align-items:center;padding:16px 24px;border-top:1px solid #ced7ce;background:#fff9}.toolbar button{font-size:13px;padding:10px 13px}.toolbar .count{margin-left:auto;font-size:13px;color:#486358}.assist-on{background:#fae6b8!important}.success{padding:45px 28px;text-align:center}.success .seal{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;background:#d7e8cd;margin:0 auto 22px;font-size:40px}.success h2{font-size:38px}.success p{font-size:18px}.success button{margin-top:16px;padding:15px 30px}.stage-footer{margin:18px auto 0;max-width:930px;display:flex;justify-content:space-between;align-items:center;gap:15px;color:white;font-size:13px;text-shadow:0 1px 6px #001b1d}.stage-footer a{color:white}.robot-note{background:#173f42df;padding:10px 15px;border-radius:30px;border:1px solid #ffffff40}.explorer{border:1px solid #b9cbbd;border-radius:12px;overflow:hidden;background:#fffdf9}.explorer-nav{display:flex;align-items:center;gap:8px;background:#e6eddf;padding:10px;min-height:60px}.explorer-nav button{padding:7px 10px;min-height:36px;font-size:13px}.crumb{font-size:14px;overflow-wrap:anywhere;flex:1}.file-actions{display:flex;flex-wrap:wrap;gap:6px;padding:10px;border-bottom:1px solid #e0e3d6}.file-actions button{padding:8px 10px;font-size:13px;min-height:38px}.files{min-height:190px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;gap:14px;padding:18px}.file-tile{min-width:0;min-height:130px;padding:12px;font-size:14px;background:#fff;border-color:transparent;box-shadow:none}.file-tile:hover{background:#f3f0de;border-color:#d9d9c5}.file-tile .glyph{width:55px;height:55px}.file-tile .ext{font-size:11px;color:#69766d}.empty{grid-column:1/-1;text-align:center;color:#6e7c71;padding:36px 10px}.goals{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px;font-size:12px}.goal{padding:9px 11px;border:1px solid #ccd4c4;border-radius:8px;background:#f5f4e9}.goal.met{background:#dcebd4;border-color:#91b492}.clipboard{font-size:12px;padding:10px 15px;background:#fcf0d3;margin:0}.context-menu{position:fixed;z-index:40;min-width:190px;max-width:calc(100vw - 24px);padding:6px;background:#fffdf6;border:1px solid #bacbbb;border-radius:12px;box-shadow:0 10px 40px #123b3a44}.context-menu button{display:block;width:100%;background:transparent;color:var(--ink);text-align:left;border-radius:6px;font-size:14px}.context-menu button:hover{background:#e9eedf}.map,.report{max-width:1300px;margin:auto;padding:42px 4vw 70px}.map-head,.report-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.map-head h1,.report-head h1{font-size:48px;margin:16px 0 22px}.map-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:30px}.district{position:relative;padding:0;background:var(--paper);border:1px solid #d1d7c6;color:var(--ink);text-align:left;overflow:hidden;border-radius:17px;box-shadow:0 6px 25px #29493c0a}.district img{width:100%;height:155px;object-fit:cover;display:block}.district .district-body{display:block;padding:18px}.district strong{font:25px Georgia;display:block;margin:10px 0}.district .dots{font:18px Arial;letter-spacing:6px;color:#548769}.district:disabled{opacity:.7}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:25px 0}.report-card{padding:24px;background:var(--paper);border:1px solid var(--line);border-radius:15px}.report-card h2{font-size:27px}.report-card ul{list-style:none;padding:0;margin:0}.report-card li{display:flex;gap:12px;justify-content:space-between;padding:10px 0;border-top:1px solid #e2e5d7;font-size:14px}.report-card li span{font-size:12px;text-align:right;color:#4b685e}.practice{background:#e6ecdd;border:1px solid #bfcdb4;padding:30px;border-radius:18px;margin-top:30px}.practice label{display:flex;gap:10px;align-items:flex-start;margin:16px 0;line-height:1.4}.practice input{width:22px;height:22px;flex-shrink:0;accent-color:#315e50}.action-row{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.micro{font-size:12px;line-height:1.5;color:#50665f}.notice{padding:16px;background:#f6e5b4;border-radius:10px}#notice{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:60;max-width:calc(100vw - 32px);padding:0;background:#173f42;color:white;border-radius:12px;box-shadow:0 6px 25px #0003;font-size:15px;line-height:1.4}#notice:not(:empty){padding:14px 22px}#storage-alert{background:#f5dca6;padding:15px 4vw;font-size:14px;line-height:1.6}#storage-alert button{font-size:12px;padding:6px 10px;min-height:36px;margin-left:12px}dialog{width:min(560px,calc(100vw - 28px));max-height:90svh;overflow:auto;border:1px solid #c2cdb7;border-radius:20px;padding:36px;background:#fffdf6;color:var(--ink);box-shadow:0 25px 120px #001c32aa}dialog::backdrop{background:#112e3966;backdrop-filter:blur(4px)}dialog .close{position:absolute;right:10px;top:8px;background:transparent;color:var(--ink);font-size:26px;min-height:40px;padding:0;width:40px}dialog h2{font-size:32px;padding-right:18px}dialog p{font-size:16px}dialog .action-row{margin-bottom:0}input[type=text]{width:100%;padding:15px;font-size:20px;border:1px solid #9bb4a1;border-radius:10px;color:var(--ink);margin:12px 0;background:#fff}.rename-line{display:flex;align-items:center;gap:10px}.rename-line input{min-width:0}.preview-image{width:100%;border-radius:12px;display:block;margin:16px 0}.demo-scene{height:210px;border-radius:14px;background:#e7edde;position:relative;overflow:hidden;margin:20px 0;display:flex;align-items:center;justify-content:space-around}.demo-object,.demo-destination{display:grid;place-items:center;width:85px;height:90px;background:#f5dfab;border-radius:12px;border:1px solid #b7bea2}.demo-destination{background:#c9ddc5;border:2px dashed #8ea487}.demo-pointer{position:absolute;left:15%;top:65%;font-size:40px;color:#173f42;filter:drop-shadow(1px 2px 0 white);animation:point-demo 4s infinite}.demo-pointer:after{content:'';position:absolute;left:0;top:2px;width:28px;height:28px;border:3px solid #b45532;border-radius:50%;animation:click-demo 4s infinite}.demo-scene.drag .demo-pointer{animation:drag-demo 4s infinite}.demo-scene.double .demo-pointer:after{animation:double-demo 4s infinite}.demo-step{background:#fffdf1;border-radius:8px;padding:8px;font-size:13px;position:absolute;bottom:12px;left:12px;right:12px;text-align:center}.demo-menu{position:absolute;top:32px;left:48%;background:#fff;padding:12px;border:1px solid #9fb6a4;border-radius:8px;font-size:13px;animation:menu-demo 4s infinite}.reduce-demo{display:none}@keyframes point-demo{0%,100%{transform:translate(0,0)}30%,75%{transform:translate(18px,-70px)}}@keyframes click-demo{0%,35%,70%,100%{opacity:0;transform:scale(.6)}45%,55%{opacity:1;transform:scale(1.3)}}@keyframes double-demo{0%,35%,48%,62%,100%{opacity:0}40%,54%{opacity:1}}@keyframes drag-demo{0%,100%{left:15%;top:65%}20%,35%{left:23%;top:36%}70%,85%{left:70%;top:36%}}@keyframes menu-demo{0%,40%,100%{opacity:0}50%,85%{opacity:1}}[hidden]{display:none!important}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.demo-pointer,.demo-pointer:after,.demo-menu{animation:none}.demo-pointer{left:23%;top:36%}.reduce-demo{display:block}.demo-menu{opacity:1}}@media(min-width:1500px){.stage{padding-top:35px}.workspace{margin-top:40px}.activity{min-height:340px}}@media(max-width:1000px){.map-grid{grid-template-columns:repeat(2,1fr)}.hero{grid-template-columns:60% 40%}.hero:after{background:linear-gradient(90deg,#f8f3eafa,#f8f3eac9 45%,transparent)}.hero-copy{padding-left:5vw}.stage-header h1{font-size:30px}.files{grid-template-columns:repeat(3,minmax(0,1fr))}.activity{padding:22px}.targets{gap:16px}}@media(max-width:600px){.topbar{height:auto;min-height:80px;padding:14px 16px;gap:10px}.brand{font-size:24px;gap:7px}.brand-symbol{width:35px;height:35px;font-size:23px}.brand small{font-size:7px;letter-spacing:1px}nav{gap:5px}nav button{font-size:11px;min-height:40px;padding:7px 9px}#tools-button span{display:none}.hero{min-height:calc(100svh - 80px);display:block;padding-top:210px}.hero-art{bottom:auto;height:350px;background-position:62% center}.hero:after{background:linear-gradient(0deg,#f6f2e8 0%,#f6f2e8 45%,transparent 80%)}.hero-copy{padding:30px 24px 55px;max-width:none}.hero h1{font-size:48px;max-width:360px}.hero-copy p{font-size:17px}.hero-caption{display:none}.hero-chips{font-size:11px;gap:7px}.hero-chips span{padding:7px 9px}.chapter-strip{padding:12px 16px;gap:4px}.stage{padding:18px 12px 28px;min-height:calc(100svh - 110px)}.stage-header{gap:10px;align-items:flex-start;padding:0 5px;margin-bottom:18px}.stage-header h1{font-size:26px}.stage-meta{font-size:11px;padding:9px 10px}.stage-header .eyebrow{font-size:9px;letter-spacing:1px}.workspace{border-radius:16px}.mission-head{padding:20px 18px;gap:10px}.mission-head h2{font-size:21px}.activity{padding:20px 14px;min-height:270px}.targets{gap:14px;padding:4px;min-height:180px}.target{min-width:90px;min-height:105px;max-width:135px;font-size:13px;padding:14px}.glyph{width:46px;height:46px}.targets.small{gap:12px}.targets.small .target{min-width:64px;max-width:90px}.toolbar{padding:14px;gap:8px}.toolbar button{font-size:12px;padding:9px 10px;min-height:44px}.toolbar .count{font-size:11px}.drag-grid{gap:18px}.objects,.destinations{grid-template-columns:1fr;gap:13px}.object,.drop-zone{min-height:90px;font-size:12px;padding:10px;flex-direction:row;gap:8px}.drag-grid .glyph{width:30px;height:30px}.order-row{gap:8px}.order-tile{min-width:55px;min-height:80px;font-size:36px;padding:8px}.stage-footer{align-items:flex-start;font-size:11px;padding:0 4px}.robot-note{padding:9px 12px;max-width:230px}.files{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:8px}.file-tile{min-height:120px;padding:10px;font-size:13px}.explorer-nav{flex-wrap:wrap}.file-actions button{font-size:12px;padding:8px;min-height:40px}.goals{gap:6px}.goal{font-size:11px;padding:7px}.map,.report{padding:28px 18px 50px}.map-head,.report-head{align-items:flex-start}.map-head h1,.report-head h1{font-size:36px}.map-grid{gap:13px}.district img{height:115px}.district .district-body{padding:13px}.district strong{font-size:22px}.district small{font-size:11px}.district .dots{font-size:15px;letter-spacing:3px}.report-grid{grid-template-columns:1fr}.report-card{padding:20px}.practice{padding:22px}.success{padding:36px 20px}.success h2{font-size:32px}.shelf{grid-template-columns:repeat(2,1fr)}dialog{padding:30px 22px}.demo-object,.demo-destination{width:70px;height:80px}}@media(max-width:360px){nav button{padding:6px;font-size:10px}.brand-symbol{display:none}.hero h1{font-size:43px}.stage-header h1{font-size:23px}.stage-meta{font-size:10px}.sequence{gap:5px}.sequence span{padding:5px}.object,.drop-zone{flex-direction:column}.map-grid{grid-template-columns:1fr 1fr}.district strong{font-size:20px}.mission-head h2{font-size:19px}}

.listen .glyph{width:24px;height:24px}.button-link{display:inline-block;background:var(--ink);color:white;padding:14px 20px;border-radius:10px;text-decoration:none;font-weight:600;line-height:1.5}

.scene-links{display:flex;gap:16px;align-items:center}.scene-links button{background:#173f42cc;border:1px solid #fff6;color:#fff;font-size:12px;padding:8px 12px;min-height:36px}.panorama{width:min(1250px,calc(100vw - 28px))}.panorama-image{display:block;width:100%;border-radius:14px;margin-bottom:20px}.file-demo{height:250px;position:relative;background:#e7edde;border-radius:14px;overflow:hidden;margin:20px 0}.demo-phase{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:25px;text-align:center;opacity:0;animation:file-phase var(--duration) infinite;animation-delay:calc(var(--phase)*2.5s)}.demo-phase .glyph{width:70px;height:70px}.demo-phase strong{padding:10px 20px;background:#fffaf0;border:1px solid #aebd9f;border-radius:8px;font-size:20px}.demo-phase p{margin:0;font-size:14px}.phase-number{position:absolute;top:15px;left:18px;font-size:12px}.demo-list{font-size:14px;line-height:1.7;padding-left:22px}@keyframes file-phase{0%,20%{opacity:1}24%,100%{opacity:0}}@media(prefers-reduced-motion:reduce){.file-demo{height:auto;display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:15px}.demo-phase{animation:none;opacity:1;position:relative;padding:30px 10px 10px}.demo-phase .glyph{width:45px;height:45px}.demo-phase strong{font-size:13px;padding:8px}.phase-number{top:5px;left:10px}.demo-phase p{font-size:12px}}@media(max-width:600px){.scene-links{flex-direction:column;gap:9px;align-items:flex-end}.scene-links button{font-size:11px}.panorama{padding:25px 15px}.scene-links a{font-size:10px}}

.demo-phase{animation:none}.demo-phase.active{opacity:1}

@media(max-width:600px){.hero:after{background:linear-gradient(180deg,transparent 160px,#f6f2e8 270px)}}
