
:root{--ink:#31483f;--muted:#7a887d;--accent:#548d79;--paper:#f7f3e8;--coral:#d88673;--gold:#d6aa56}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif;min-height:100vh}button{font:inherit;color:inherit;cursor:pointer}.topbar{height:82px;padding:0 clamp(20px,5.5vw,90px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dfe2d5;background:rgba(250,248,240,.94);position:relative;z-index:5}.brand{display:flex;gap:12px;align-items:center;color:inherit;text-decoration:none;min-width:210px}.brand-mark{display:grid;place-items:center;width:39px;height:39px;border-radius:50%;background:#e0eee0;color:var(--accent);font-size:23px}.brand b{font-size:14px;letter-spacing:.02em}.brand small{display:block;color:#9a9c86;font-size:8px;letter-spacing:.15em;margin-top:3px}.top-nav{display:flex;gap:5px;align-items:center}.nav-pill{border:0;background:none;border-radius:24px;padding:10px 15px;font-size:11px;color:#758178;transition:.2s}.nav-pill:hover,.nav-pill.active{background:#e7eee2;color:#426d5b}.nav-pill#vaultButton{color:#987949}.tiny-star{color:#d4a84f;margin-left:3px}.audio-control{display:flex;align-items:center;gap:8px;color:#728276;font-size:11px}.audio-note{color:var(--accent);font-size:17px}.audio-control button{border:0;background:#e8eee5;border-radius:20px;padding:7px 12px;font-size:10px}.audio-control #muteToggle{padding:7px 9px}.audio-control input{width:65px;accent-color:var(--accent)}.menu-button{display:none;border:0;background:none;font-size:20px}main{max-width:1440px;margin:auto;padding:0 clamp(22px,7.8vw,130px)}.intro{display:flex;justify-content:space-between;align-items:center;padding:47px 1px 30px}.eyebrow{font-size:9px;letter-spacing:.19em;color:#a48a5d;font-weight:700;margin:0 0 10px}.intro h1{font:600 clamp(37px,4.4vw,60px)/1.1 'Playfair Display',Georgia,serif;letter-spacing:-.04em;margin:0;color:#355348}.intro h1 em{color:var(--coral);font-weight:600}.intro-copy{font-size:13px;line-height:1.7;color:#7d887e;margin:13px 0 0}.intro-stamp{height:77px;width:77px;border-radius:50%;border:1px solid #dfc787;display:grid;place-content:center;text-align:center;transform:rotate(9deg);color:#8d8057;font-size:10px;line-height:1.35;position:relative;margin-right:2.2vw}.intro-stamp span{position:absolute;top:-10px;left:31px;color:#d9ae5d;font-size:20px}.explore-wrap{position:relative}.explore-hint{position:absolute;z-index:2;top:15px;left:20px;border-radius:30px;background:rgba(255,252,242,.9);padding:10px 16px;color:#718476;font-size:10px;box-shadow:0 4px 18px #49645015}.hint-icon{font-size:16px;color:var(--accent);vertical-align:-1px;margin-right:5px}.hint-dot{padding:0 7px;color:#c0ae84}.garden-frame{height:clamp(390px,45vw,570px);overflow-x:auto;overflow-y:hidden;border-radius:8px;box-shadow:0 17px 40px #44694b20;scrollbar-width:none;cursor:grab;touch-action:pan-x}.garden-frame::-webkit-scrollbar{display:none}.garden-frame.dragging{cursor:grabbing;user-select:none}.garden{position:relative;width:max(200%,1800px);height:100%;background:url('assets/approved/class-garden-panorama.webp') center/cover no-repeat;overflow:hidden}.scene-label{position:absolute;display:flex;align-items:center;gap:10px;z-index:1;border:1px solid #ffffffaa;background:#fffaf0de;border-radius:8px;padding:9px 13px;box-shadow:0 5px 14px #305d4315;white-space:nowrap}.scene-label b{display:block;font:600 13px 'Playfair Display',serif}.scene-label small{display:block;font-size:8px;color:#829084;margin-top:2px}.label-icon{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#e1efe1;color:#579071;font-size:15px}.label-school{left:37%;top:22%}.label-play{left:13%;top:35%}.label-kinder{left:65%;top:32%}.label-vault{left:87%;top:39%}.label-vault .label-icon{background:#f5ead0;color:#b18d4f}.student-layer{position:absolute;inset:0}.student{position:absolute;bottom:16%;transform:translateX(-50%);width:clamp(72px,8vw,105px);height:195px;display:flex;align-items:flex-end;justify-content:center;border:0;background:transparent;padding:0;transition:transform .25s,filter .2s;filter:drop-shadow(0 4px 3px #305c4930);animation:bob 3.2s ease-in-out infinite;animation-delay:var(--delay)}.student:hover,.student:focus-visible{transform:translateX(-50%) translateY(-9px) scale(1.055);filter:drop-shadow(0 8px 5px #305c4950);outline:0}.student img{height:100%;width:100%;object-fit:contain;object-position:bottom;pointer-events:none}.student-name{position:absolute;bottom:-28px;left:50%;transform:translateX(-50%);background:#fffaf0ed;border:1px solid #fff;border-radius:20px;padding:5px 11px;font-size:10px;color:#496456;white-space:nowrap;box-shadow:0 3px 10px #2c654321}.student:nth-child(even){animation-delay:-1.5s}.ground-flower{position:absolute;color:#fff1bf;font-size:24px;bottom:12%;opacity:.9}.flower-a{left:9%}.flower-b{left:55%}.scroll-track{height:3px;background:#dbe3d7;margin:15px 3px 0;position:relative}.scroll-track span{height:3px;width:26%;background:#7eac8b;display:block;border-radius:5px;position:absolute;left:0;transition:left .1s}.garden-caption{display:flex;justify-content:space-between;color:#89948b;font-size:9px;letter-spacing:.11em;padding:13px 4px}.garden-caption i{display:inline-block;width:7px;height:7px;background:#82b493;border-radius:50%;margin-right:7px}.garden-caption b{color:#c6a45e;margin:0 5px}.lower-note{margin:45px 0 20px;padding:18px 20px;background:#eeefe4;border:1px solid #e4e6d8;border-radius:10px;display:flex;align-items:center;gap:15px}.note-icon{width:39px;height:39px;border-radius:50%;display:grid;place-items:center;background:#f8f0d9;color:#bc9b58;font-size:22px}.lower-note b{font:600 16px 'Playfair Display',serif}.lower-note p{font-size:11px;color:#849086;margin:5px 0 0}.lower-note button{margin-left:auto;background:none;border:1px solid #bccabd;border-radius:25px;padding:10px 15px;font-size:10px;color:#587764}.lower-note button span{margin-left:13px}.lower-note button:hover{background:#dfe9df}footer{border-top:1px solid #e4e3d8;margin-top:45px;padding:19px 0 25px;display:flex;justify-content:space-between;color:#a2a292;font-size:8px;letter-spacing:.17em}footer span{color:#81aa8b;font-size:15px}.modal-backdrop{position:fixed;inset:0;background:#24372f80;backdrop-filter:blur(5px);z-index:20;display:none;align-items:center;justify-content:center;padding:18px}.modal-backdrop.open{display:flex;animation:fade .2s}.profile-card,.vault-card{width:min(520px,100%);background:#fbf8ef;border-radius:15px;box-shadow:0 24px 80px #172d2580;position:relative;padding:32px 36px 23px;animation:rise .25s}.close-button{position:absolute;right:17px;top:14px;border:0;background:#edf0e6;border-radius:50%;width:30px;height:30px;font-size:20px;color:#657c6c}.profile-top{display:flex;gap:22px;align-items:center;border-bottom:1px solid #e8e2d3;padding-bottom:22px}.profile-photo{width:145px;height:170px;background:#e8eee2;border-radius:90px 90px 12px 12px;display:flex;justify-content:center;align-items:flex-end;overflow:hidden}.profile-photo img{width:100%;height:100%;object-fit:contain;object-position:bottom}.profile-intro{position:relative;flex:1}.profile-class{font-size:9px;letter-spacing:.16em;color:#a08d62;text-transform:uppercase}.profile-intro h2,.vault-card h2{font:600 32px 'Playfair Display',serif;margin:6px 0 2px;color:#39584a}.profile-intro>p{color:#899186;font-size:12px;margin:0}.profile-seal{position:absolute;right:0;bottom:-52px;border:1px solid #e0c780;color:#a38b51;border-radius:50%;width:65px;height:65px;display:grid;place-content:center;text-align:center;font-size:7px;line-height:1.4;letter-spacing:.1em;transform:rotate(10deg)}.profile-details{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding:23px 2px}.profile-details span{font-size:8px;letter-spacing:.16em;color:#9b8d6a}.profile-details p{font:600 16px/1.45 'Playfair Display',serif;color:#4a6656;margin:8px 0 0}.profile-foot{font-size:8px;letter-spacing:.15em;color:#aaa18b;border-top:1px solid #e8e2d3;padding-top:14px;display:flex;justify-content:space-between}.profile-foot span{color:#82a68a;font-size:15px}.vault-card{width:min(620px,100%)}.vault-card h2{font-size:35px;margin:0}.vault-copy{font-size:12px;color:#829087;margin:8px 0 22px}.memory-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.memory-tile{min-height:128px;border-radius:9px;padding:15px;background:#e9efe4;position:relative;overflow:hidden}.memory-tile:nth-child(2){background:#f4e8d6}.memory-tile:nth-child(3){background:#e6edf0}.memory-tile:nth-child(4){background:#f0e9ee}.memory-icon{font:30px 'Playfair Display',serif;color:#6f9b7c;opacity:.8}.memory-tile h3{font:600 14px 'Playfair Display',serif;margin:6px 0 3px}.memory-tile p{font-size:9px;color:#7c8980;margin:0}.vault-note{text-align:center;color:#a29676;font-size:9px;margin:17px 0 0}.toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#3b5b4d;color:white;padding:10px 16px;border-radius:25px;font-size:11px;transition:.25s;z-index:30}.toast.show{opacity:1;transform:translate(-50%,0)}@keyframes bob{0%,100%{margin-bottom:0}50%{margin-bottom:4px}}@keyframes fade{from{opacity:0}to{opacity:1}}@keyframes rise{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:850px){.topbar{padding:0 20px}.top-nav{gap:0}.nav-pill{padding:9px 10px;font-size:10px}.brand{min-width:auto}.audio-control input{display:none}.intro{padding-top:36px}.intro-stamp{margin-right:1vw}}
@media(max-width:620px){.topbar{height:68px;padding:0 16px}.brand-mark{width:35px;height:35px}.brand small{font-size:7px}.audio-control{margin-left:auto;margin-right:10px}.audio-control #muteToggle{display:none}.menu-button{display:block}.top-nav{display:none;position:absolute;right:10px;top:60px;background:#fffdf4;padding:9px;border-radius:12px;box-shadow:0 10px 30px #30493e30;flex-direction:column;align-items:stretch}.top-nav.show{display:flex}.nav-pill{text-align:left;padding:11px 14px}.intro{padding:30px 0 22px}.intro h1{font-size:38px}.intro-copy{font-size:11px}.intro-stamp{width:63px;height:63px;font-size:8px}.intro-stamp span{left:24px}.desktop-only{display:none}.garden-frame{height:430px;border-radius:5px}.garden{width:250%;background-size:auto 100%;background-position:center}.explore-hint{top:12px;left:11px;padding:8px 12px;font-size:9px}.scene-label{transform:scale(.85);transform-origin:left top}.label-school{left:37%;top:23%}.label-play{left:11%;top:36%}.label-kinder{left:66%;top:33%}.label-vault{left:87%;top:40%}.student{height:165px;width:88px;bottom:17%}.student-name{font-size:9px;bottom:-25px}.garden-caption{font-size:7px;letter-spacing:.08em}.lower-note{margin-top:31px;padding:13px;gap:10px}.lower-note b{font-size:14px}.lower-note p{font-size:9px;line-height:1.5}.lower-note button{padding:9px 11px;font-size:9px;white-space:nowrap}.note-icon{width:32px;height:32px;flex:0 0 auto}.profile-card,.vault-card{padding:27px 22px 19px}.profile-photo{width:116px;height:146px}.profile-intro h2{font-size:26px}.profile-details{gap:12px}.profile-details p{font-size:14px}.profile-seal{width:55px;height:55px;right:-3px;bottom:-48px;font-size:6px}.memory-grid{gap:8px}.memory-tile{min-height:118px;padding:12px}.memory-tile h3{font-size:13px}footer{font-size:7px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
/* Actual printed table-of-contents stops */
.scene-label{font-family:'DM Sans',sans-serif;text-align:left;z-index:3}.label-school{left:31%;top:20%}.label-play{left:7%;top:33%}.label-kinder{left:57%;top:27%}.label-vault{left:77%;top:34%}.label-celebration{left:89%;top:25%}.scene-label:hover,.scene-label:focus-visible{transform:translateY(-3px);box-shadow:0 9px 20px #305d4330;outline:2px solid #ffffffb0}.contents-card,.location-card,.section-card{width:min(840px,100%);max-height:91vh;overflow:auto;background:#fbf8ef;border-radius:15px;box-shadow:0 24px 80px #172d2580;position:relative;padding:31px 34px 24px;animation:rise .25s}.contents-card h2,.location-card h2,.section-card h2{font:600 clamp(27px,4vw,36px) 'Playfair Display',serif;margin:0;color:#39584a}.contents-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}.contents-group{border:1px solid #e5e5d8;border-radius:10px;background:#fffdf7;padding:12px}.contents-group-head{display:flex;align-items:center;gap:9px;padding:2px 1px 9px;border-bottom:1px solid #eeebdf}.section-icon{flex:0 0 auto;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#e7efe3;color:#638c70}.contents-group-head h3{font:600 14px 'Playfair Display',serif;margin:0}.contents-group-head small{display:block;color:#8e9689;font-size:9px;margin-top:3px}.visit-stop{margin-left:auto;border:0;background:#eaf0e5;border-radius:20px;padding:7px 9px;font-size:8px;color:#587764;white-space:nowrap}.contents-row{display:grid;grid-template-columns:20px minmax(0,1fr) auto 12px;align-items:center;gap:5px;width:100%;background:transparent;border:0;text-align:left;padding:8px 3px;border-bottom:1px solid #f0eee6}.contents-row:last-child{border-bottom:0}.contents-row:hover,.location-item:hover,.profile-link:hover{background:#f1f3e9}.contents-row>span{font-size:11px;color:#9caa8b}.contents-row>b{font-size:10px;font-weight:600;line-height:1.25}.contents-row>i{font-size:15px;color:#af9b6b;font-style:normal;text-align:right}.status-chip{display:inline-block;font-size:7px;line-height:1.3;padding:4px 6px;border-radius:10px;white-space:nowrap}.status-demo{background:#e4efe3;color:#4f8060}.status-placeholder{background:#f4ecd7;color:#9a7c3f}.status-future{background:#e9e6ef;color:#77658d}.status-legend{display:flex;justify-content:center;gap:8px;margin:17px 0 0}.status-legend span{font-size:8px;padding:5px 8px;border-radius:14px}.location-card{width:min(680px,100%)}.location-list{display:grid;gap:7px;margin-top:18px}.location-item{display:grid;grid-template-columns:32px minmax(0,1fr) auto 12px;align-items:center;gap:9px;text-align:left;border:1px solid #e9e8dc;background:#fffdf7;border-radius:9px;padding:10px}.location-item .section-icon{width:29px;height:29px}.location-item-copy b{font:600 13px 'Playfair Display',serif;display:block}.location-item-copy small{font-size:9px;color:#879187;display:block;margin-top:3px;line-height:1.35}.row-arrow{color:#b2955d}.section-card{width:min(570px,100%);padding:34px 37px 22px}.section-status{display:inline-block;border-radius:15px;padding:6px 10px;font-size:9px;margin:0 0 11px}.section-card h2{margin-top:0}.section-summary{font:italic 16px/1.5 'Playfair Display',serif;color:#728577;margin:8px 0 15px}.section-content{font-size:12px;line-height:1.75;color:#718077;background:#f0f1e8;border-radius:9px;padding:14px 16px}.section-students{display:grid;gap:7px;margin-top:12px}.profile-link{display:flex;align-items:center;gap:10px;text-align:left;border:1px solid #e6e6d9;background:#fffdf7;border-radius:9px;padding:7px 10px}.profile-link img{height:43px;width:37px;object-fit:contain;align-self:flex-end}.profile-link span:nth-child(2){flex:1}.profile-link b{font-size:11px;display:block}.profile-link small{font-size:9px;color:#899389;display:block;margin-top:3px}.profile-link span:last-child{color:#af9660}.section-action{margin-top:13px;border:0;background:#5d9277;color:white;border-radius:22px;padding:10px 16px;font-size:10px}.section-action span{margin-left:14px}.section-foot{border-top:1px solid #e8e2d3;margin-top:17px;padding-top:13px;display:flex;justify-content:space-between;color:#aaa18b;font-size:7px;letter-spacing:.14em}.section-foot span{font-size:15px;color:#82a68a}.location-card .eyebrow,.section-card .eyebrow{margin-bottom:9px}
@media(max-width:850px){.contents-card{padding:28px 24px 22px}.contents-grid{gap:9px}.contents-group{padding:9px}.contents-group-head h3{font-size:13px}.status-chip{font-size:6px;padding:4px 5px}}
@media(max-width:620px){.label-school{left:29%;top:21%}.label-play{left:5%;top:34%}.label-kinder{left:55%;top:28%}.label-vault{left:76%;top:34%}.label-celebration{left:89%;top:25%}.scene-label{gap:7px;padding:7px 9px;transform:scale(.78);transform-origin:left top}.scene-label:hover,.scene-label:focus-visible{transform:scale(.78) translateY(-3px)}.scene-label b{font-size:11px}.scene-label small{font-size:7px}.scene-label .label-icon{width:24px;height:24px;font-size:13px}.contents-card,.location-card,.section-card{max-height:92vh;padding:27px 18px 20px}.contents-grid{grid-template-columns:1fr;gap:9px;margin-top:15px}.contents-group-head h3{font-size:14px}.contents-row>b{font-size:11px}.contents-row{grid-template-columns:20px minmax(0,1fr) auto 10px;padding:9px 3px}.location-item{grid-template-columns:27px minmax(0,1fr) auto 10px;gap:6px;padding:8px}.location-item-copy b{font-size:12px}.location-item-copy small{font-size:8px}.location-item .status-chip{display:none}.section-card h2{font-size:29px}.section-summary{font-size:14px}.section-content{font-size:11px;padding:12px}.status-legend{gap:5px}.status-legend span{font-size:7px;padding:5px 6px}}
/* Three-stage book navigation: cover → contents hub → section destination */
#appMain{max-width:1180px;margin:0 auto;padding:0 clamp(20px,5vw,70px)}.screen{display:none}.screen.active{display:block;animation:fade .35s}.topbar{position:sticky;top:0}.top-nav{gap:6px}.top-nav .nav-pill{font-size:10px}.top-nav .nav-pill.active{background:#e7eee2;color:#426d5b}
.cover-screen{position:relative;isolation:isolate;min-height:calc(100svh - 82px);display:flex!important;align-items:center;padding:45px clamp(24px,8vw,120px);overflow:hidden;background:linear-gradient(90deg,#faf6e9 0%,#f9f4e6ee 38%,#f9f4e633 78%)}.cover-screen:not(.active){display:none!important}.cover-scene{position:absolute;inset:0 0 0 32%;z-index:-1;background:linear-gradient(90deg,#f9f4e6 0%,#f9f4e688 24%,#f9f4e600 62%),url('assets/approved/class-garden-panorama.webp') center/cover no-repeat;opacity:.9}.cover-scene:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#e9ddc366,transparent 28%)}.cover-copy{position:relative;max-width:530px;padding:32px 0}.cover-copy .eyebrow{letter-spacing:.2em;margin-bottom:28px}.cover-kicker{color:#8a9b82;letter-spacing:.24em;font-size:9px;font-weight:700;margin:0 0 5px}.cover-copy h1{font:600 clamp(58px,8vw,105px)/.83 'Playfair Display',Georgia,serif;letter-spacing:-.07em;color:#38564b;margin:0;display:flex;flex-direction:column}.cover-copy h1 em{font-weight:600;color:#d48673}.cover-copy h1 strong{font:600 .44em 'DM Sans',sans-serif;letter-spacing:.34em;color:#a48f5e;margin:13px 0 0 7px}.cover-subtitle{font:italic 18px/1.6 'Playfair Display',Georgia,serif;color:#6d7e71;margin:23px 0 24px}.enter-button{border:0;border-radius:30px;padding:14px 21px;background:#568a73;color:#fffdf4;font-size:11px;letter-spacing:.04em;box-shadow:0 8px 20px #48795c30;transition:transform .2s,box-shadow .2s}.enter-button:hover{transform:translateY(-2px);box-shadow:0 12px 25px #48795c40}.enter-button span{padding-left:18px;font-size:16px}.cover-academic{font-size:8px;letter-spacing:.14em;color:#9e9a7f;margin:26px 0 0}.cover-academic i{font-style:normal;color:#d6aa56;padding:0 7px}.cover-sun{position:absolute;width:104px;height:104px;border-radius:50%;background:#ffd97f;opacity:.8;right:24%;top:12%;box-shadow:0 0 0 18px #ffe6aa44}.cover-bloom{position:absolute;color:#fff6d3;text-shadow:0 2px 7px #c6986060}.bloom-one{font-size:42px;right:16%;bottom:25%}.bloom-two{font-size:23px;right:34%;bottom:14%}.cover-side-note{position:absolute;right:22px;bottom:20px;writing-mode:vertical-rl;font-size:8px;letter-spacing:.18em;color:#8e987e}.cover-side-note span{font-size:17px;color:#739e7b;margin-top:9px}
.contents-screen{padding-top:35px}.hub-heading{display:flex;justify-content:space-between;align-items:flex-end;padding-bottom:23px}.hub-heading h1{font:600 clamp(31px,4.5vw,51px)/1.08 'Playfair Display',Georgia,serif;color:#355348;margin:0;letter-spacing:-.04em}.hub-heading h1 em{color:#d48673}.hub-heading p:not(.eyebrow){font-size:12px;color:#7d887e;margin:9px 0 0}.hub-stamp{width:72px;height:72px;border-radius:50%;border:1px solid #dfc787;display:grid;place-content:center;text-align:center;transform:rotate(8deg);color:#8d8057;font-size:9px;line-height:1.35;position:relative;margin:0 16px 1px}.hub-stamp span{position:absolute;top:-10px;left:28px;color:#d9ae5d;font-size:18px}.map-hub{height:clamp(250px,32vw,390px);border-radius:11px;position:relative;overflow:hidden;background:url('assets/approved/class-garden-panorama.webp') center 56%/cover no-repeat;box-shadow:0 13px 35px #44694b20;border:4px solid #fffaf0}.map-hub:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#fff4 0%,transparent 24%,transparent 80%,#506b4c20)}.map-legend{position:absolute;top:14px;left:17px;z-index:2;background:#fffaf0e8;border-radius:20px;padding:8px 12px;font-size:8px;letter-spacing:.15em;color:#738174}.map-legend i{display:inline-block;width:6px;height:6px;background:#84ad8c;border-radius:50%;margin-right:5px}.map-stop{position:absolute;z-index:2;display:flex;align-items:center;gap:8px;border:1px solid #ffffffcc;border-radius:24px;background:#fffaf0ed;color:#496456;padding:9px 13px;font-size:10px;box-shadow:0 5px 14px #305d4325;transition:transform .2s,background .2s}.map-stop span{width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:#e5eee2;color:#548d79;font-size:13px}.map-stop:hover{transform:translateY(-3px);background:white}.stop-school{left:38%;top:22%}.stop-playgroup{left:10%;top:55%}.stop-kindergarten{left:59%;top:48%}.stop-memories{left:78%;top:66%}.stop-celebration{left:82%;top:25%}.map-caption{position:absolute;z-index:2;bottom:12px;right:16px;color:#fffef5;text-shadow:0 1px 4px #38594b;font-size:8px;letter-spacing:.17em}.map-caption span{color:#ffe7a4;font-size:14px;margin-left:5px}.directory-heading{display:flex;justify-content:space-between;align-items:flex-end;margin:31px 0 14px}.directory-heading h2{font:600 25px 'Playfair Display',Georgia,serif;color:#3f5e4f;margin:0}.directory-heading .eyebrow{margin-bottom:6px}.directory-heading .status-legend{margin:0}.contents-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.contents-group{border:1px solid #e5e5d8;border-radius:11px;background:#fffdf7;padding:12px 14px;scroll-margin-top:100px;box-shadow:0 3px 12px #344f3810}.contents-group-head{display:flex;align-items:center;gap:10px;padding:1px 1px 10px;border-bottom:1px solid #eeebdf}.contents-group-head h3{font:600 15px 'Playfair Display',serif;margin:0;color:#3f5d4e}.contents-group-head small{display:block;color:#8e9689;font-size:9px;margin-top:3px}.contents-rows{padding-top:3px}.contents-row{display:grid;grid-template-columns:20px minmax(0,1fr) auto 12px;align-items:center;gap:6px;width:100%;background:transparent;border:0;text-align:left;padding:8px 3px;border-bottom:1px solid #f0eee6}.contents-row:last-child{border-bottom:0}.contents-row:hover{background:#f1f3e9;border-radius:5px}.contents-row>span{font-size:11px;color:#9caa8b}.contents-row>b{font-size:10px;font-weight:600;line-height:1.25;color:#526b5a}.contents-row>i{font-size:15px;color:#af9b6b;font-style:normal;text-align:right}.status-chip{display:inline-block;font-size:7px;line-height:1.3;padding:4px 6px;border-radius:10px;white-space:nowrap}.status-demo{background:#e4efe3;color:#4f8060}.status-placeholder{background:#f4ecd7;color:#9a7c3f}.status-future{background:#e9e6ef;color:#77658d}.status-legend{display:flex;justify-content:center;gap:7px}.status-legend span{font-size:8px;padding:5px 8px;border-radius:14px}.contents-screen footer,.destination-screen footer{border-top:1px solid #e4e3d8;margin-top:35px;padding:18px 0 25px;display:flex;justify-content:space-between;color:#a2a292;font-size:8px;letter-spacing:.15em}.contents-screen footer span,.destination-screen footer span{color:#81aa8b;font-size:15px}
.destination-screen{padding-top:22px;min-height:calc(100vh - 82px)}.destination-top{display:flex;align-items:center;justify-content:space-between}.back-link{border:1px solid #dce3d8;border-radius:22px;background:#fffdf7;padding:9px 14px;color:#5d7865;font-size:10px}.back-link:hover{background:#e9f0e6}.destination-top .eyebrow{margin:0}.destination-hero{display:flex;justify-content:space-between;align-items:center;padding:25px 0 19px;border-bottom:1px solid #e6e5da}.destination-hero h1{font:600 clamp(34px,5vw,52px)/1.08 'Playfair Display',Georgia,serif;letter-spacing:-.04em;color:#39584a;margin:0}.destination-hero .section-status{margin:0 0 10px}.destination-hero .section-summary{max-width:680px;margin:8px 0 0}.destination-flower{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;background:#e8efe3;color:#75a181;font-size:31px;margin-right:20px}.destination-note{max-width:780px;background:#f0f1e8;border-radius:10px;padding:16px 19px;font-size:12px;line-height:1.75;color:#718077;margin:20px 0}.destination-links{margin:24px 0}.destination-links-heading h2,.gallery-heading h2{font:600 24px 'Playfair Display',Georgia,serif;color:#3f5e4f;margin:0}.destination-link-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}.destination-link{display:flex;align-items:center;gap:10px;text-align:left;border:1px solid #e5e5d8;background:#fffdf7;border-radius:9px;padding:11px 13px;min-height:62px}.destination-link:hover{background:#f1f3e9}.destination-link>span:nth-child(2){flex:1}.destination-link b{font:600 13px 'Playfair Display',serif;display:block;color:#4c6555}.destination-link small{display:block;font-size:9px;line-height:1.35;color:#899389;margin-top:3px}.destination-link i{font-size:13px;color:#af9660;font-style:normal}.class-garden{display:none;margin:28px 0 25px}.class-garden.visible{display:block}.class-garden-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:12px}.class-garden-heading h2{font:600 22px 'Playfair Display',serif;color:#466350;margin:0}.class-garden-heading small{font-size:10px;color:#849087}.class-garden-heading>span{font-size:8px;letter-spacing:.14em;color:#8e9a8d}.class-garden .garden-frame{height:clamp(300px,36vw,420px)}.destination-gallery{margin:28px 0}.gallery-heading{margin-bottom:13px}.gallery-heading>p:last-child{font-size:10px;color:#879187;margin:5px 0 0}.destination-gallery .memory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.destination-gallery .memory-tile{min-height:145px}.destination-bottom{display:flex;justify-content:space-between;margin-top:34px;padding-top:16px;border-top:1px solid #e5e5d9}
@media(max-width:850px){.contents-grid{gap:9px}.directory-heading{align-items:center}.map-stop{font-size:9px;padding:7px 10px}.map-stop span{width:20px;height:20px}.cover-screen{padding-left:7vw}.contents-screen{padding-top:29px}}
@media(max-width:620px){#appMain{padding:0 15px}.topbar{height:66px;padding:0 14px}.top-nav{display:none;position:absolute;right:10px;top:58px;background:#fffdf4;padding:8px;border-radius:12px;box-shadow:0 10px 30px #30493e30;flex-direction:column;align-items:stretch}.top-nav.show{display:flex}.top-nav .nav-pill{text-align:left;padding:11px 14px}.brand{gap:8px}.brand-mark{width:33px;height:33px}.brand b{font-size:12px}.brand small{font-size:6px}.audio-control{margin-left:auto;margin-right:8px;gap:5px}.audio-control input{display:none}.audio-control #muteToggle{display:none}.audio-control button{padding:7px 9px}.menu-button{display:block}.cover-screen{min-height:calc(100svh - 66px);padding:32px 24px 53px;align-items:flex-start}.cover-scene{inset:0;background:linear-gradient(180deg,#f9f4e6 0%,#f9f4e6f2 20%,#f9f4e688 50%,#f9f4e633 100%),url('assets/approved/class-garden-panorama.webp') 58% center/auto 100% no-repeat}.cover-copy{padding:5vh 0 0}.cover-copy .eyebrow{font-size:7px;margin-bottom:30px}.cover-kicker{font-size:8px}.cover-copy h1{font-size:68px}.cover-subtitle{font-size:16px;margin:19px 0}.cover-academic{font-size:7px;line-height:1.7;max-width:270px}.cover-sun{width:70px;height:70px;right:15%;top:40%}.cover-side-note{right:10px;bottom:16px;font-size:6px}.bloom-one{right:13%;bottom:15%}.bloom-two{right:43%;bottom:9%}.contents-screen{padding-top:25px}.hub-heading{padding-bottom:17px;align-items:center}.hub-heading h1{font-size:34px}.hub-heading p:not(.eyebrow){font-size:10px;max-width:270px;line-height:1.5}.hub-stamp{width:58px;height:58px;font-size:7px;margin:0 5px 0 4px;flex:0 0 auto}.hub-stamp span{left:21px;font-size:16px}.map-hub{height:330px;background-position:55% center}.map-stop{font-size:8px;padding:6px 8px;gap:5px}.map-stop span{width:17px;height:17px;font-size:11px}.stop-school{left:34%;top:22%}.stop-playgroup{left:4%;top:57%}.stop-kindergarten{left:50%;top:48%}.stop-memories{left:60%;top:72%}.stop-celebration{left:59%;top:21%}.map-caption{font-size:6px;right:9px;bottom:8px}.map-legend{font-size:7px;left:9px;top:9px;padding:7px 9px}.directory-heading{display:block;margin:25px 0 12px}.directory-heading h2{font-size:22px}.directory-heading .status-legend{justify-content:flex-start;margin-top:9px}.directory-heading .status-legend span{font-size:7px}.contents-grid{grid-template-columns:1fr;gap:10px}.contents-group{padding:10px 11px}.contents-group-head h3{font-size:14px}.contents-row{grid-template-columns:18px minmax(0,1fr) auto 9px;padding:8px 2px}.contents-row>b{font-size:10px}.contents-row .status-chip{font-size:6px;padding:4px}.destination-screen{padding-top:15px}.destination-top .eyebrow{font-size:7px;letter-spacing:.1em}.back-link{font-size:8px;padding:8px 10px}.destination-hero{padding:22px 0 16px}.destination-hero h1{font-size:35px}.destination-hero .section-summary{font-size:14px}.destination-flower{width:49px;height:49px;font-size:23px;margin-right:1px;flex:0 0 auto}.destination-note{font-size:10px;padding:12px 13px;margin:15px 0}.destination-links{margin:20px 0}.destination-links-heading h2,.gallery-heading h2{font-size:21px}.destination-link-grid{grid-template-columns:1fr;gap:7px;margin-top:9px}.destination-link{min-height:56px;padding:8px 10px}.destination-link b{font-size:12px}.destination-link small{font-size:8px}.class-garden{margin:21px 0}.class-garden-heading h2{font-size:18px}.class-garden-heading small{font-size:8px}.class-garden-heading>span{font-size:6px}.class-garden .garden-frame{height:340px}.class-garden .garden{width:250%}.destination-gallery .memory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.destination-gallery .memory-tile{min-height:130px}.destination-bottom{margin-top:23px}.contents-screen footer,.destination-screen footer{font-size:6px}.contents-screen footer{margin-top:25px}}
/* Shared 3D coverflow for Memories, Our Uniform, and Graduation Photos */
.coverflow{position:relative;width:min(100%,890px);margin:7px auto 0;padding:2px 0 9px;--card-width:278px}.coverflow-window{height:390px;position:relative;overflow:hidden;perspective:1200px;touch-action:pan-y;mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent)}.coverflow-stage{position:absolute;inset:0;transform-style:preserve-3d}.coverflow-card{position:absolute;left:50%;top:10px;width:var(--card-width);height:350px;padding:10px;border:1px solid #e5e2d2;border-radius:12px;background:#fffdf7;box-shadow:0 16px 34px #2f55402c;text-align:left;transform:translateX(calc(-50% + var(--shift,0px))) translateZ(var(--depth,0px)) rotateY(var(--turn,0deg)) scale(var(--scale,1));transform-origin:center center;transition:transform .48s cubic-bezier(.2,.7,.2,1),opacity .3s,box-shadow .3s;opacity:var(--fade,1);z-index:var(--layer,1);backface-visibility:hidden;will-change:transform}.coverflow-card.is-active{box-shadow:0 22px 45px #2f554044;border-color:#d7d8c4}.coverflow-art{height:265px;border-radius:8px;position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:center;background:linear-gradient(145deg,#dcebe1,#f5edd7)}.coverflow-art:before{content:"";position:absolute;width:180px;height:180px;top:20px;left:calc(50% - 90px);border-radius:50%;background:#fff9d9aa}.coverflow-art:after{content:"";position:absolute;inset:auto 0 0;height:36%;background:linear-gradient(0deg,#4b6c5740,transparent);pointer-events:none}.coverflow-art img{position:relative;z-index:1;width:86%;height:91%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 5px 4px #344f3724)}.coverflow-art.tone-1{background:linear-gradient(145deg,#e4e8f0,#f5e3d9)}.coverflow-art.tone-1:before{background:#f9d5c388}.coverflow-art.tone-2{background:linear-gradient(145deg,#efe0e6,#e2ede6)}.coverflow-art.tone-2:before{background:#fff1ceaa}.coverflow-art.tone-3{background:linear-gradient(145deg,#f4e6cf,#dcece8)}.coverflow-art.tone-3:before{background:#d4e7d6aa}.coverflow-art.tone-4{background:linear-gradient(145deg,#dcebf0,#f3e5d2)}.coverflow-art.tone-4:before{background:#f7d9c699}.coverflow-art.tone-5{background:linear-gradient(145deg,#e7e0f0,#e2ecd9)}.coverflow-art.tone-5:before{background:#fff0c999}.image-tag{position:absolute;z-index:2;left:9px;top:9px;border-radius:14px;background:#fffaf0df;padding:5px 8px;color:#8e8b70;font-size:7px;letter-spacing:.14em}.coverflow-spark{position:absolute;right:22px;top:28px;color:#fffdf0;font-size:22px;z-index:2;text-shadow:0 2px 7px #a78f5b55}.coverflow-caption{display:flex;flex-direction:column;padding:11px 5px 1px}.coverflow-caption b{font:600 17px 'Playfair Display',serif;color:#3d5c4d}.coverflow-caption small{font-size:9px;color:#929487;margin-top:4px}.coverflow-arrow{position:absolute;z-index:15;top:158px;width:38px;height:38px;border:1px solid #e1e3d7;border-radius:50%;background:#fffdf4ed;color:#597461;font-size:24px;line-height:1;box-shadow:0 5px 15px #344f3820}.coverflow-arrow:hover{background:white;transform:scale(1.06)}.coverflow-arrow.prev{left:calc(50% - 255px)}.coverflow-arrow.next{right:calc(50% - 255px)}.coverflow-controls{display:flex;justify-content:center;align-items:center;gap:14px;margin-top:2px}.coverflow-dots{display:flex;gap:7px;align-items:center}.coverflow-dot{width:7px;height:7px;padding:0;border:0;border-radius:7px;background:#cbd5c8;transition:width .2s,background .2s}.coverflow-dot.is-active{width:20px;background:#628e73}.coverflow-count{font-size:8px;letter-spacing:.1em;color:#879185}.gallery-heading{text-align:center;margin-bottom:4px}.gallery-heading .eyebrow{margin-bottom:5px}.gallery-heading h2{margin:0}.gallery-heading>p:last-child{font-size:10px;color:#879187;margin:6px 0 0}
@media(max-width:620px){.coverflow{width:100%;--card-width:min(234px,63vw);margin-top:5px}.coverflow-window{height:345px;perspective:850px;mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}.coverflow-card{height:305px;top:10px;padding:8px;border-radius:10px}.coverflow-art{height:230px}.coverflow-art:before{width:150px;height:150px;left:calc(50% - 75px);top:19px}.coverflow-caption{padding:8px 4px}.coverflow-caption b{font-size:15px}.coverflow-caption small{font-size:8px}.coverflow-arrow{top:133px;width:33px;height:33px;font-size:21px}.coverflow-arrow.prev{left:3px}.coverflow-arrow.next{right:3px}.coverflow-controls{margin-top:0}.coverflow-dots{gap:6px}.coverflow-dot{width:6px;height:6px}.coverflow-dot.is-active{width:17px}.gallery-heading h2{font-size:21px}.gallery-heading>p:last-child{font-size:9px}}
/* Supplied Syafana yearbook art and section scene treatments */
.cover-scene{background:linear-gradient(90deg,#faf6e9 0%,#faf6e9ee 25%,#faf6e944 67%,#faf6e900 100%),url('assets/approved/cover---Whimsical-Pastel-Kindergarten-Entrance.webp') center/cover no-repeat;opacity:1}
.map-hub{background-image:url('assets/approved/Swipeable-Table-of-Contents-garden-map.webp');background-position:center;background-size:cover}
.destination-banner{height:clamp(92px,13vw,150px);position:relative;margin:20px 0 6px;display:grid;place-items:center;overflow:hidden}
.destination-banner img{position:absolute;width:min(100%,560px);height:100%;object-fit:contain;filter:drop-shadow(0 4px 3px #63563a17)}
.destination-banner span{position:relative;z-index:1;margin-top:-4px;color:#765b39;font:600 clamp(12px,1.9vw,20px) 'Playfair Display',Georgia,serif;letter-spacing:.06em;text-align:center;padding:0 34px;max-width:75%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.class-garden .garden-frame{height:clamp(340px,40vw,480px);border-radius:12px;border:5px solid #fffdf5;box-shadow:0 17px 40px #44694b20;overscroll-behavior-x:contain;scroll-snap-type:x proximity}
.class-garden .garden{width:1900px;min-width:1900px;height:100%;background:linear-gradient(180deg,#d9efee15,#31584320),url('assets/approved/class-background-1.webp') center 58%/cover no-repeat;scroll-snap-align:start}
.teacher-scene{background-image:linear-gradient(180deg,#e9f0da22,#3158431c),url('assets/approved/class-background-1.webp')!important;background-position:center 58%!important;background-size:cover!important}
.student{height:clamp(165px,25vw,270px);width:clamp(72px,9vw,125px);bottom:14%;filter:drop-shadow(0 5px 3px #243c3340)}
.teacher-person{height:clamp(175px,28vw,300px);width:clamp(76px,10vw,140px)}
.student-name{font-size:10px;padding:6px 12px}
.student .portrait-placeholder{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:76%;height:70%;display:grid;place-items:start center;padding-top:14px;border-radius:48% 48% 16px 16px;background:linear-gradient(145deg,#dfbfa1,#bf8d73);color:#fffaf0;font:700 22px Georgia,serif;box-shadow:inset 0 -12px 0 #8c685a33}
.student .portrait-placeholder::before{content:"";position:absolute;top:-29px;width:58px;height:58px;border-radius:50%;background:#edc7a9;box-shadow:inset 0 -4px 0 #a8745c22}
.student .portrait-placeholder{isolation:isolate}
.profile-photo .profile-initial{position:relative;display:grid;place-items:start center;padding-top:25px;width:88px;height:125px;border-radius:46px 46px 12px 12px;background:linear-gradient(145deg,#dfbfa1,#bf8d73);color:#fffaf0;font:700 30px Georgia,serif}
.profile-photo .profile-initial::before{content:"";position:absolute;top:-34px;width:68px;height:68px;border-radius:50%;background:#edc7a9;box-shadow:inset 0 -4px 0 #a8745c22}
.profile-photo .profile-initial{isolation:isolate}
.destination-gallery .coverflow{max-width:1000px}
.photo-art{background:#e9eee3;align-items:center!important}
.photo-art:before{display:none}
.photo-art img{position:absolute!important;inset:0;width:100%!important;height:100%!important;object-fit:contain!important;padding:8px;background:#eef0e6;filter:none!important}
.photo-art:after{height:20%;background:linear-gradient(0deg,#263a2c4d,transparent)}
.coverflow-card{cursor:pointer}
.section-placeholder{margin:25px 0}
.placeholder-card{min-height:112px;display:flex;align-items:center;gap:16px;background:#f2efdf;border:1px dashed #cbbf9b;border-radius:13px;padding:20px;color:#637363}
.placeholder-card>span{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#e6eadb;color:#63896d;font-size:24px}
.placeholder-card div{flex:1}.placeholder-card b{display:block;font:600 17px 'Playfair Display',serif}.placeholder-card small{display:block;color:#929487;font-size:10px;margin-top:5px}.placeholder-card em{font-style:normal;border-radius:20px;background:#e6eadb;padding:7px 10px;color:#69836b;font-size:7px;letter-spacing:.1em}
.profile-details[hidden]{display:none!important}.profile-details{grid-template-columns:repeat(3,1fr)}.teacher-profile-details{grid-template-columns:repeat(2,1fr)}
@media(max-width:620px){.destination-banner{height:90px;margin:14px -5px 2px}.destination-banner img{width:100%;}.destination-banner span{font-size:12px;padding:0 25px}.class-garden .garden-frame{height:360px}.class-garden .garden{width:1500px;min-width:1500px}.student{height:215px;width:92px;bottom:13%}.teacher-person{height:230px;width:94px}.profile-details,.teacher-profile-details{grid-template-columns:1fr}.placeholder-card{gap:10px;padding:13px}.placeholder-card>span{width:40px;height:40px}.placeholder-card em{font-size:6px;padding:6px 7px}}
/* Full-bleed class and teacher worlds: the artwork is a 16:10 landscape, with people grounded in the scene. */
body.scene-open{overflow:hidden}
body.scene-open .topbar{position:fixed;inset:0 0 auto;height:76px;background:rgba(250,248,240,.82);backdrop-filter:blur(8px);border-bottom:1px solid #ffffff75}
body.scene-open #appMain{max-width:none;width:100%;margin:0;padding:0}
body.scene-open .destination-screen{position:relative;width:100%;height:100svh;min-height:100svh;padding:0;overflow:hidden}
body.scene-open .destination-hero,body.scene-open .destination-note,body.scene-open .class-garden-heading,body.scene-open .destination-links,body.scene-open .destination-gallery,body.scene-open .section-placeholder,body.scene-open .destination-bottom,body.scene-open .destination-screen>footer{display:none!important}
body.scene-open .destination-top{position:absolute;z-index:6;top:91px;left:clamp(14px,3vw,42px);right:clamp(14px,3vw,42px);height:auto;pointer-events:none}
body.scene-open .destination-top .back-link{pointer-events:auto;background:#fffdf2ed;border-color:#ffffff;color:#496456;box-shadow:0 5px 18px #314c3820}
body.scene-open .destination-top .eyebrow{color:#fffdf2;text-shadow:0 1px 4px #354b36;font-size:8px}
body.scene-open .destination-banner{position:absolute;z-index:5;top:78px;left:50%;transform:translateX(-50%);width:min(470px,44vw);height:105px;margin:0;pointer-events:none}
body.scene-open .destination-banner img{width:100%;height:100%}
body.scene-open .destination-banner span{font-size:clamp(12px,1.5vw,18px);max-width:84%}
body.scene-open .class-garden.visible{position:absolute;inset:0;display:block;width:100%;height:100%;margin:0}
body.scene-open .class-garden .garden-frame{position:absolute;inset:0;width:100%;height:100%;max-height:none;border:0;border-radius:0;box-shadow:none;overflow-x:auto;overflow-y:hidden;scroll-snap-type:none;touch-action:pan-x;cursor:grab}
body.scene-open .class-garden .garden-frame.dragging{cursor:grabbing}
body.scene-open .class-garden .garden{width:max(100vw,160svh);min-width:max(100vw,160svh);height:100svh;min-height:100%;background:linear-gradient(180deg,#fff0 68%,#2c483518 100%),url('assets/approved/class-garden-panorama.webp') center/cover no-repeat;overflow:hidden}
body.scene-open .class-garden .student{bottom:7%!important;height:clamp(205px,35svh,345px);width:clamp(82px,10svw,155px);animation:none!important;transform:translateX(-50%);transform-origin:center bottom;filter:drop-shadow(0 5px 4px #3045344d);}
body.scene-open .class-garden .student:hover,body.scene-open .class-garden .student:focus-visible{transform:translateX(-50%) scale(1.025);filter:drop-shadow(0 7px 5px #30453470);outline:0}
body.scene-open .class-garden .student img{object-fit:contain;object-position:center bottom}
body.scene-open .class-garden .student-name{bottom:3px;z-index:2}
body.scene-open .class-garden .ground-flower{bottom:5%}
@media(max-width:620px){body.scene-open .topbar{height:62px;padding:0 10px}body.scene-open .brand{min-width:0}body.scene-open .brand b{font-size:10px}body.scene-open .brand small{font-size:5px}body.scene-open .audio-control{margin-left:auto}body.scene-open #appMain{padding:0}body.scene-open .destination-banner{top:69px;width:min(350px,74vw);height:82px}body.scene-open .destination-top{top:76px;left:10px;right:10px}body.scene-open .destination-top .back-link{font-size:8px;padding:7px 9px}body.scene-open .destination-top .eyebrow{font-size:6px;letter-spacing:.08em}body.scene-open .class-garden .garden{width:max(100vw,160svh);min-width:max(100vw,160svh)}body.scene-open .class-garden .student{bottom:7%!important;height:clamp(195px,33svh,285px);width:clamp(76px,12svw,112px)}}

body.scene-open .class-garden .ground-flower{display:none}

/* Latest polish: icon-first map, readable sign/menu, and larger grounded people. */
.map-stop{width:48px;height:48px;justify-content:center;gap:0;padding:0;border-radius:50%;font-size:18px;box-shadow:0 6px 18px #305d4330;transition:width .22s,height .22s,transform .2s,background .2s}
.map-stop .map-symbol{width:34px;height:34px;flex:0 0 34px;border-radius:50%;display:grid;place-items:center;background:#e5eee2;color:#548d79;font-size:19px}
.map-stop .map-stop-label{display:none;width:auto;height:auto;flex:0 1 auto;border-radius:0;background:transparent;color:#496456;font-size:10px;white-space:nowrap;padding:0}
.map-stop.is-open{width:auto;min-width:48px;max-width:min(230px,75vw);height:auto;min-height:48px;justify-content:flex-start;padding:6px 14px 6px 7px;gap:8px;border-radius:28px}
.map-stop.is-open .map-stop-label{display:inline}
.map-stop:focus-visible{outline:3px solid #d6aa56;outline-offset:3px}
.language-control{display:flex;align-items:center}
.language-control select{appearance:none;border:1px solid #dfe5d8;border-radius:22px;padding:9px 27px 9px 12px;background:#fffdf7;color:#54705e;font:600 10px 'DM Sans',sans-serif;cursor:pointer;background-image:linear-gradient(45deg,transparent 50%,#718676 50%),linear-gradient(135deg,#718676 50%,transparent 50%);background-position:calc(100% - 12px) 13px,calc(100% - 8px) 13px;background-size:4px 4px,4px 4px;background-repeat:no-repeat}
body.arabic-locale{font-family:Tahoma,Arial,sans-serif}
body.arabic-locale .top-nav{direction:rtl}
body.scene-open .topbar{z-index:50}
body.scene-open .menu-button{position:relative;z-index:75}
body.scene-open .top-nav.show{z-index:70}
body.scene-open .destination-banner{width:min(600px,58vw);height:auto;aspect-ratio:812/292}
body.scene-open .destination-banner span{width:47%;max-width:47%;padding:0 3px;font-size:clamp(12px,1.3vw,17px);line-height:1.06;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
body.scene-open .class-garden .student{height:clamp(390px,66svh,650px);width:clamp(160px,18svw,260px);bottom:7%!important;animation:none!important}
body.scene-open .class-garden .teacher-person{height:clamp(390px,66svh,650px);width:clamp(160px,18svw,260px)}
@media(max-width:850px){.map-stop.is-open{max-width:min(210px,70vw)}body.scene-open .destination-banner{width:min(500px,68vw)}}
@media(max-width:620px){
 .map-stop{width:43px;height:43px}.map-stop .map-symbol{width:31px;height:31px;flex-basis:31px;font-size:17px}
 .map-stop.is-open{min-height:43px;padding:5px 10px 5px 6px;gap:6px}.map-stop .map-stop-label{font-size:9px}
 .language-control select{padding:11px 30px 11px 13px;min-height:40px;font-size:12px}
 body.scene-open .topbar{z-index:50}
 body.scene-open .top-nav.show{position:fixed;display:flex;top:68px;right:10px;left:auto;width:min(250px,calc(100vw - 20px));max-height:calc(100svh - 82px);overflow-y:auto;padding:9px;background:#fffdf4;border:1px solid #e6e2d2;border-radius:12px;box-shadow:0 12px 32px #263b3180;z-index:70}
 body.scene-open .top-nav.show .nav-pill{text-align:left;padding:12px 14px;font-size:12px}
 body.scene-open .destination-banner{top:67px;width:min(380px,86vw);height:auto;aspect-ratio:812/292}
 body.scene-open .destination-banner span{font-size:clamp(11px,3vw,14px);line-height:1.05;width:47%;max-width:47%;padding:0 2px}
 body.scene-open .class-garden .student{height:clamp(370px,61svh,560px);width:clamp(148px,29svw,220px);bottom:7%!important}
 body.scene-open .class-garden .teacher-person{height:clamp(370px,61svh,560px);width:clamp(148px,29svw,220px)}
}
.map-hint{margin:9px 0 0;text-align:center;color:#819084;font-size:10px;line-height:1.5}
.location-card .location-list{max-height:56vh;overflow-y:auto;padding-right:3px}

/* Compact persistent header: brand, sound, language, and Table of Contents home. */
.topbar{height:72px;z-index:20}
.top-actions{display:flex;align-items:center;gap:11px}
.sound-toggle,.home-button{width:40px;height:40px;border:1px solid #dfe5d8;border-radius:50%;background:#fffdf7;color:#4d8065;display:grid;place-items:center;transition:background .2s,transform .2s}
.sound-toggle:hover,.home-button:hover,.sound-toggle.active,.home-button.active{background:#e7eee2;transform:translateY(-1px)}
.sound-toggle svg,.home-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sound-toggle svg>path:first-child{fill:currentColor;stroke:none}
.sound-toggle .sound-slash{display:block}
.sound-toggle[aria-pressed="true"] .sound-slash{display:none}
.sound-toggle .sound-wave{display:block;stroke-dasharray:20;stroke-dashoffset:0}
.sound-toggle[aria-pressed="false"] .sound-wave{opacity:.42}
.language-control select{min-width:102px;min-height:40px;font-size:11px}
.topbar .brand{min-width:auto}
.topbar #yearbookAudio{display:none}
/* The wooden title sign belongs to the featured class scene only. */
.destination-banner{display:none!important}
body.class-page-open .destination-banner{display:grid!important}
body.class-page-open .destination-banner{width:min(600px,58vw);height:auto;aspect-ratio:812/292;top:78px;z-index:8}
body.class-page-open .destination-banner span{width:46%;max-width:46%;padding:0 2px;margin-top:-6px;font-size:clamp(12px,1.2vw,16px);line-height:1.04;letter-spacing:.035em;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:normal}
body.class-page-open .destination-banner span small{display:block;margin-top:3px;font:600 .8em 'DM Sans',sans-serif;letter-spacing:.14em}
.map-stop{transition:width .2s,height .2s,transform .2s,opacity .35s}
.map-stop:not(.is-open){opacity:1}
.map-stop.is-open{animation:map-stop-reveal .24s ease-out}
@keyframes map-stop-reveal{from{opacity:.72;transform:scale(.9)}to{opacity:1;transform:scale(1)}}
@media(max-width:620px){
 .topbar{height:64px;padding:0 12px}
 .top-actions{gap:7px}
 .sound-toggle,.home-button{width:36px;height:36px;flex:0 0 36px}
 .sound-toggle svg,.home-button svg{width:19px;height:19px}
 .language-control select{min-width:88px;min-height:36px;padding:8px 26px 8px 10px;font-size:10px}
 body.scene-open .topbar{height:64px;padding:0 10px}
 body.class-page-open .destination-banner{top:66px;width:min(380px,86vw);height:auto;aspect-ratio:812/292}
 body.class-page-open .destination-banner span{width:46%;max-width:46%;font-size:clamp(11px,2.8vw,14px);line-height:1.03}
}
@media(max-width:380px){.topbar{padding:0 7px}.brand{gap:7px}.brand-mark{width:30px;height:30px}.brand b{font-size:10px}.brand small{display:none}.top-actions{gap:4px}.language-control select{min-width:76px;padding-left:8px;padding-right:23px}}
body.class-page-open:not(.scene-open) .destination-banner{position:relative;top:auto;left:auto;transform:none;width:min(600px,100%);height:auto;aspect-ratio:812/292;margin:18px auto}
body.class-page-open:not(.scene-open) .destination-banner img{width:100%;height:100%;object-fit:contain}
body.scene-open.class-page-open .destination-banner{position:absolute;left:50%;transform:translateX(-50%);margin:0}
/* The PG Ali class uses the user's text-baked banner; other classes wait for their own art. */
body.class-page-open .destination-banner{display:grid!important}
body.class-page-open .destination-banner span{display:none!important}
/* Later class pages currently have no banner art, so suppress the generic sign there. */
body:not(.class-page-open) .destination-banner{display:none!important}
.workflow-shortcut{display:inline-flex;gap:7px;align-items:center;margin-top:8px;color:#4d8065;font-size:11px;font-weight:700;text-decoration:none;border-bottom:1px solid #a9c2ad;padding-bottom:3px}
.workflow-shortcut:hover{color:#285b43}

/* Four joined garden sections create a finite sideways walk. The alternate
   sections are mirrored so their adjacent edges meet without a hard seam. */
body.scene-open .class-garden .garden,
body.scene-open .class-garden .teacher-scene{
 width:max(3200px,360vw,calc(var(--people-count, 6) * 350px));
 min-width:max(3200px,360vw,calc(var(--people-count, 6) * 350px));
 background:linear-gradient(180deg,#fff0 68%,#2c483518 100%),url('assets/approved/class-garden-calm.svg') center/100% 100% no-repeat!important;
}
@media(max-width:620px){
 body.scene-open .class-garden .garden,
 body.scene-open .class-garden .teacher-scene{width:max(3200px,calc(var(--people-count, 6) * 300px));min-width:max(3200px,calc(var(--people-count, 6) * 300px))}
}

/* Quiet vector scenery keeps the portraits readable at any scene width. */
body.scene-open .class-garden .garden,
body.scene-open .class-garden .teacher-scene{
 background: url('assets/approved/class-garden-calm.svg') center/100% 100% no-repeat!important;
}
body.scene-open .class-garden .student::before{
 content:'';position:absolute;left:50%;bottom:0;z-index:-1;
 width:85%;height:16px;transform:translateX(-50%);
 border-radius:50%;background:#526e5a49;filter:blur(6px);
}
body.scene-open .class-garden .student-name{background:#fffdf5e8;color:#3f5b4c;border:0;box-shadow:0 2px 8px #38533c22}
.forest-scene{display:none}
body.scene-open .forest-scene.visible{display:block;position:absolute;inset:0;width:100%;height:100%}
.forest-scene iframe{display:block;width:100%;height:100%;border:0}

/* Photoshop playground panorama: one finite image across the class route.
   Keep its proportions, align the grass at the children's feet, and crop sky
   as needed on shorter viewports. */
body.scene-open #classGarden .garden{
 background:#83bd68 url('assets/approved/playground-panorama.webp') center bottom/100% auto no-repeat!important;
}
