/* The road: native, readable signboards over a separately generated environment. */
#sc-mondo[data-stage=strada] .scene-frame{background:#dbe5d7}
#sc-mondo[data-stage=strada] .scene-frame:after{display:none}
#sc-mondo[data-stage=strada] .scene-caption{padding:18px 24px 20px;gap:7px;z-index:4;background:var(--caption-surface)}
#sc-mondo[data-stage=strada] .scene-caption h1{font-size:clamp(30px,2.7vw,42px);max-width:1100px}
#sc-mondo[data-stage=strada] .scene-caption>p:last-child{font-size:20px}
#sc-mondo[data-stage=strada] .world-viewport{height:clamp(600px,calc(100svh - 300px),780px);overflow:visible}
#sc-mondo[data-stage=strada] .world-plane{position:relative;inset:auto;transform:none;min-height:0;min-width:0;width:100%;height:100%;aspect-ratio:auto}
#sc-mondo[data-stage=strada] .world-art img{object-position:center 50%}
.school-architrave{display:none}
#sc-mondo[data-stage=strada] .school-architrave{display:flex;flex-direction:column;align-items:center;justify-content:center;position:absolute;top:8%;left:50%;transform:translateX(-50%);width:40%;padding:7px 14px;background:#f3e7d5ed;color:#17484b;text-align:center;border:1px solid #e8d5b8;border-radius:2px;box-shadow:0 4px 7px #4d3a2524;line-height:1.2;z-index:1;letter-spacing:.14em}
.school-architrave span{font-size:clamp(14px,1.05vw,18px)}
.school-architrave strong{font-size:clamp(19px,1.55vw,27px);font-weight:600}
#sc-mondo[data-stage=strada] .world-person{top:var(--y);height:var(--h);max-width:18%;filter:drop-shadow(4px 8px 3px #1a37334f)}
#sc-mondo[data-stage=strada] .world-person-1{left:41%}
#sc-mondo[data-stage=strada] .world-person-2{left:59%}
#sc-mondo[data-stage=strada] .world-hotspot,
#sc-mondo[data-stage=strada] .world-hotspot:nth-child(n){width:24%;height:28%;min-height:170px;padding:16px 20px 14px;gap:8px;display:grid;grid-template-columns:34px 1fr;grid-template-rows:30px 1fr auto;align-content:start;align-items:center;justify-items:start;text-align:left;background:#fffaf0;color:#193d40;border:3px solid #285b5d;border-bottom-width:8px;border-radius:5px;box-shadow:5px 9px 0 #174d4b55,0 12px 20px #19342a3b;opacity:1;filter:none;line-height:1.35;transition:box-shadow .2s ease,background .2s ease}
#sc-mondo[data-stage=strada] .world-hotspot:before{content:'';position:absolute;left:calc(50% - 5px);top:100%;height:24px;width:10px;background:#285b5d;z-index:-1}
#sc-mondo[data-stage=strada] .world-hotspot:after{display:none}
#sc-mondo[data-stage=strada] .hotspot-number{font-size:15px;color:#4b6260;letter-spacing:.04em;position:absolute;top:16px;right:18px}
#sc-mondo[data-stage=strada] .hotspot-symbol{grid-row:1;grid-column:1}
#sc-mondo[data-stage=strada] .hotspot-symbol svg{width:28px;height:28px;stroke-width:1.8}
#sc-mondo[data-stage=strada] .hotspot-title,
#sc-mondo[data-stage=strada] .world-hotspot:nth-child(n) .hotspot-title{grid-row:1;grid-column:2;font-size:18px;font-weight:600;max-width:none;padding-right:22px}
#sc-mondo[data-stage=strada] .board-copy{grid-row:2;grid-column:1/-1;font-size:16px;font-weight:600;line-height:1.4;letter-spacing:.005em;max-width:32ch}
#sc-mondo[data-stage=strada] .board-status{grid-row:3;grid-column:1/-1;font-size:14px;font-weight:400;color:#355956;border-top:1px solid #d4d8c8;padding-top:6px;width:100%}
#sc-mondo[data-stage=strada] .world-hotspot.is-locked{background:#e8ede2;border-color:#496760;box-shadow:3px 6px 0 #174d4b40,0 10px 18px #19342a26;color:#3d5650}
#sc-mondo[data-stage=strada] .world-hotspot.is-current-lesson{background:#fff6d8;border-color:#946600;outline:2px solid #ffe19b;outline-offset:3px;box-shadow:0 0 0 8px #f5cf6d66,0 0 30px 10px #f4ce6b70,4px 9px 0 #6b4f2b66;animation:lesson-beacon 2.4s ease-in-out 2}
#sc-mondo[data-stage=strada] .world-hotspot.is-current-lesson .board-status{color:#6a4800;border-color:#d5bc7f;font-weight:600}
#sc-mondo[data-stage=strada] .world-hotspot.is-read{border-color:#0b6570;background:#f6fffa}
#sc-mondo[data-stage=strada] .world-hotspot.is-read .board-status{color:#07535e}
#sc-mondo[data-stage=strada] .world-hotspot:not(:disabled):hover{background:#fff;box-shadow:0 0 0 5px #fff9,4px 12px 20px #143b3b55}
.road-guide{pointer-events:auto;position:absolute;left:50%;top:29%;transform:translateX(-50%);z-index:5;width:35%;padding:18px 22px 12px;border:2px solid #285b5d;border-radius:19px;background:#fffffff2;color:#173c40;box-shadow:0 12px 24px #173b3830}
.road-guide:after{content:'';position:absolute;bottom:-16px;left:29%;width:24px;height:24px;background:#fff;border-right:2px solid #285b5d;border-bottom:2px solid #285b5d;transform:skewY(28deg) rotate(21deg);clip-path:polygon(0 0,100% 100%,0 100%)}
#sc-mondo[data-guide-speaker=m] .road-guide:after{left:67%;transform:skewY(-28deg) rotate(69deg)}
.guide-heading{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:#315b5d;line-height:1.4;margin-bottom:9px}
.guide-dot{width:8px;height:8px;border-radius:50%;background:#b47b23;flex-shrink:0}
#guide-position{margin-left:auto;font-size:13px;color:#4e6563;font-weight:400;text-align:right}
#guide-text{font-size:18px;line-height:1.55;min-height:84px;text-wrap:pretty}
.guide-controls{display:flex;align-items:center;gap:10px;margin-top:8px}
.guide-controls button{min-height:44px;min-width:44px;font-size:15px;border-radius:6px;padding:6px 9px;color:#07535e}
.guide-controls button:hover:not(:disabled){background:#eaf2ec}
.guide-controls button:disabled{color:#6b7e7a}
#guide-prev{border:1px solid #b8cdc4;font-size:22px}
#guide-next{margin-left:auto;display:flex;gap:10px;align-items:center;font-weight:600}
#guide-repeat{font-size:13px;text-decoration:underline;text-underline-offset:3px;line-height:1.4;padding-inline:2px}
#sc-mondo[data-stage=strada] .place-stamp,#sc-mondo[data-stage=strada] .pan-hint{display:none}
#sc-mondo .scene-frame>.scene-controls{position:relative;inset:auto;display:grid;grid-template-columns:auto 1fr auto;background:var(--surface);color:var(--ink);border:0;border-top:1px solid var(--line);border-radius:0;backdrop-filter:none;padding:14px 22px;margin:0;gap:24px}
#sc-mondo .scene-frame>.scene-controls #stage-instruction{color:var(--muted);font-size:16px;max-width:600px;justify-self:center;text-align:center}
#sc-mondo[data-stage=strada] .scene-controls .previous-button{display:none}
#sc-mondo[data-stage=strada] .scene-controls{grid-template-columns:1fr auto}
#sc-mondo[data-stage=strada] .scene-controls #stage-instruction{justify-self:start;text-align:left}
#sc-mondo[data-stage=strada] #stop-list{display:none}
#sc-mondo[data-stage=strada] .explore-dock{padding-top:18px}
.road-notes{margin:0 4px 20px;border:1px solid var(--line);border-radius:9px;background:var(--surface);font-size:16px}
.road-notes summary{cursor:pointer;padding:14px 18px;min-height:52px;font-weight:600;color:var(--teal)}
.road-notes>div{padding:0 22px 20px;max-width:90ch;line-height:1.75}
.road-notes p+p{margin-top:12px}
#sc-mondo:not([data-stage=strada]) .road-notes{display:none}
#sc-mondo[data-theme=night][data-stage=strada] .scene-frame{background:#142e33}
#sc-mondo[data-theme=night] .road-guide{background:#182f38f5;color:#edf5f2;border-color:#a6d2cd}
#sc-mondo[data-theme=night] .road-guide:after{background:#182f38;border-color:#a6d2cd}
#sc-mondo[data-theme=night] .guide-heading,#sc-mondo[data-theme=night] #guide-position{color:#bdd8d3}
#sc-mondo[data-theme=night] .guide-controls button{color:#d1ece7}
#sc-mondo[data-theme=night] .guide-controls button:hover:not(:disabled){background:#284950}
#sc-mondo[data-theme=night] .guide-controls button:disabled{color:#93aca9}
.reading-sequence-note{font-size:16px;color:var(--muted);margin-top:20px;line-height:1.65}
@media(min-width:1800px){#sc-mondo[data-stage=strada] .world-hotspot:nth-child(n){width:25%;padding:20px 26px}.road-guide{top:31%}#sc-mondo[data-stage=strada] .board-copy{font-size:18px}#guide-text{font-size:20px}}
@media(min-width:1001px) and (max-width:1300px){
 #sc-mondo[data-stage=strada] .world-hotspot:nth-child(n){width:26%;padding:12px 14px;min-height:180px;grid-template-columns:27px 1fr;gap:6px}
 #sc-mondo[data-stage=strada] .world-hotspot:nth-child(n) .hotspot-title{font-size:16px}
 #sc-mondo[data-stage=strada] .board-copy{font-size:15px}
 .road-guide{width:40%;padding:16px;top:26%}#guide-text{font-size:17px}
}
/* On narrow screens the same signs become a readable path, without horizontal hunting. */
@media(max-width:1000px){
 #sc-mondo[data-stage=strada] .world-viewport{height:auto;overflow:visible}
 #sc-mondo[data-stage=strada] .world-plane{height:auto;display:flex;flex-direction:column;min-width:0;width:100%;padding:0 14px 20px}
 #sc-mondo[data-stage=strada] .world-art{height:340px;z-index:-2}
 #sc-mondo[data-stage=strada] .world-art img{object-fit:cover;object-position:center 48%}
 #sc-mondo[data-stage=strada] .world-plane:after{content:'';position:absolute;inset:300px 0 0;background:var(--raised);z-index:-3}
 #sc-mondo[data-stage=strada] .school-architrave{top:36px;width:55%;padding:7px;max-width:440px}
 #sc-mondo[data-stage=strada] .school-architrave strong{font-size:23px}
 #sc-mondo[data-stage=strada] .school-architrave span{font-size:15px}
 #sc-mondo[data-stage=strada] .world-actors{height:320px}
 #sc-mondo[data-stage=strada] .world-person{top:97%;height:44%;max-width:27%}
 #sc-mondo[data-stage=strada] .world-person-1{left:40%}
 #sc-mondo[data-stage=strada] .world-person-2{left:60%}
 .road-guide{position:relative;left:auto;top:auto;transform:none;width:min(620px,100%);align-self:center;margin-top:330px;margin-bottom:26px;padding:20px 22px 14px;order:1}
 .road-guide:after{bottom:auto;top:-15px;left:35%;transform:rotate(201deg)}
 #sc-mondo[data-guide-speaker=m] .road-guide:after{left:62%;transform:rotate(201deg)}
 #guide-text{font-size:18px;min-height:84px}
 #guide-repeat{display:block}
 #sc-mondo[data-stage=strada] .world-stops{position:relative;inset:auto;display:grid;grid-template-columns:1fr 1fr;gap:24px 18px;order:2}
 #sc-mondo[data-stage=strada] .world-hotspot:nth-child(n){position:relative;left:auto;top:auto;transform:none;min-width:0;width:100%;height:auto;min-height:205px;padding:16px 18px;gap:10px;grid-template-columns:28px 1fr;grid-template-rows:30px 1fr auto}
 #sc-mondo[data-stage=strada] .world-hotspot:before{display:none}
 #sc-mondo[data-stage=strada] .world-hotspot:nth-child(n) .hotspot-title{font-size:18px}
 #sc-mondo[data-stage=strada] .board-copy{font-size:16px;max-width:none}
 #sc-mondo .scene-frame>.scene-controls{display:grid;grid-template-columns:1fr 1fr;padding:16px;gap:14px}
 #sc-mondo .scene-frame>.scene-controls #stage-instruction{grid-column:1/-1;grid-row:2;text-align:left;max-width:none;justify-self:start}
 #sc-mondo[data-stage=strada] .scene-controls{grid-template-columns:1fr}
 #sc-mondo[data-stage=strada] .scene-controls #stage-instruction{grid-row:1;grid-column:1}
 #sc-mondo[data-stage=strada] .scene-controls .next-button{grid-row:2;width:100%;justify-self:stretch}
}
@media(max-width:600px){
 #sc-mondo[data-stage=strada] .scene-caption{padding:20px 18px}
 #sc-mondo[data-stage=strada] .scene-caption h1{font-size:31px}
 #sc-mondo[data-stage=strada] .scene-caption>p:last-child{font-size:18px}
 #sc-mondo[data-stage=strada] .world-plane{padding-inline:12px}
 #sc-mondo[data-stage=strada] .world-stops{grid-template-columns:minmax(0,1fr);gap:22px}
 #sc-mondo[data-stage=strada] .world-hotspot:nth-child(n){min-height:180px;padding:17px 20px}
 #sc-mondo[data-stage=strada] .world-art{height:280px}
 #sc-mondo[data-stage=strada] .world-actors{height:272px}
 #sc-mondo[data-stage=strada] .world-person{height:43%;max-width:35%}
 #sc-mondo[data-stage=strada] .world-person-1{left:34%}
 #sc-mondo[data-stage=strada] .world-person-2{left:66%}
 #sc-mondo[data-stage=strada] .school-architrave{top:26px;width:78%;max-width:370px}
 #sc-mondo[data-stage=strada] .school-architrave strong{font-size:19px}
 #sc-mondo[data-stage=strada] .school-architrave span{font-size:14px}
 .road-guide{margin-top:284px;padding:17px 18px 10px;border-radius:15px}
 #guide-text{font-size:18px;min-height:112px}
 .guide-heading{font-size:14px}#guide-position{font-size:13px}
 .guide-controls{gap:7px;flex-wrap:wrap}#guide-repeat{order:3;width:100%;text-align:center;font-size:14px}
 #sc-mondo .school-header{flex-wrap:wrap}.school-brand{margin-right:auto}
}
@media(prefers-reduced-motion:reduce){#sc-mondo[data-stage=strada] .world-hotspot.is-current-lesson{animation:none}}
/* The name is inscribed on the gate lintel, rather than floating above it. */
@media(min-width:1001px){
 #sc-mondo[data-stage=strada] .school-architrave{top:20%;flex-direction:row;gap:9px;padding:3px 10px;background:#f1e4cfe8;border:0;box-shadow:none;width:41%;line-height:1.4;letter-spacing:.1em}
 #sc-mondo[data-stage=strada] .school-architrave :is(span,strong){font-size:clamp(16px,1.35vw,23px);font-weight:600}
}
@media(min-width:1001px) and (max-width:1300px){
 #sc-mondo[data-stage=strada] .world-viewport{height:680px}
}
/* Follow the physical lintel when the cover image is cropped at different widths. */
@media(min-width:1001px){
 #sc-mondo[data-stage=strada] .world-plane{container-type:size}
 #sc-mondo[data-stage=strada] .school-architrave{top:calc(50% - max(24.1cqh,13.56cqw) - 12px);width:min(85%,max(41cqw,72.9cqh));background:transparent;line-height:1;padding:2px 10px}
 #sc-mondo[data-stage=strada] .school-architrave :is(span,strong){font-size:clamp(16px,1.2vw,21px)}
}
/* The welcome comes first: guides in the light, signs waiting in the shade. */
#sc-mondo[data-stage=strada] .world-hotspot.is-guide-locked{filter:brightness(.64) saturate(.5);box-shadow:3px 7px 0 #173b3a33;outline:none;animation:none;cursor:default}
#sc-mondo[data-stage=strada][data-guide-complete=false] .road-guide{background:#fffffff9;border-color:#0b6570;box-shadow:0 0 0 5px #fff7,0 15px 30px #123e3d45}
#sc-mondo[data-stage=strada][data-guide-complete=false] #guide-next{background:#0b6570;color:#fff;padding-inline:15px}
#sc-mondo[data-stage=strada][data-guide-complete=false] #guide-next:hover:not(:disabled){background:#084f58}
#sc-mondo[data-theme=night][data-stage=strada][data-guide-complete=false] .road-guide{background:#182f38fa;border-color:#a6d2cd;box-shadow:0 0 0 5px #a6d2cd22,0 15px 30px #041e2345}
#sc-mondo[data-theme=night][data-stage=strada][data-guide-complete=false] #guide-next{background:#a6d2cd;color:#183138}
#sc-mondo[data-theme=night][data-stage=strada][data-guide-complete=false] #guide-next:hover:not(:disabled){background:#ceeee9}
#sc-mondo .school-brand>span{font-size:18px;letter-spacing:.055em}
#sc-mondo .school-brand small{font-size:15px;letter-spacing:.13em}
@media(max-width:760px){#sc-mondo .school-brand>span{font-size:16px;letter-spacing:.025em}#sc-mondo .school-brand small{font-size:14px;letter-spacing:.09em}}
@media(max-width:400px){#sc-mondo .school-header{flex-wrap:wrap}#sc-mondo .header-tools{margin-left:auto}}
