/* Three botanical silhouettes: lavender lead, peach and berry companions. */
.botanical-cast{position:relative;isolation:isolate;min-width:0;width:100%;height:470px;align-self:center}
.botanical-cast:before{content:"";position:absolute;inset:12% 3% 8%;z-index:-1;background:radial-gradient(ellipse at 51% 43%,#fffdf8b8,transparent 68%);pointer-events:none}
.botanical-cast:after{content:"";position:absolute;left:1%;right:1%;bottom:0;height:18%;z-index:-1;border-radius:50%;background:radial-gradient(ellipse,#d4dec56b,transparent 70%);pointer-events:none}
.botanical-character{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:8px;padding:0;border:0;border-radius:30px;background:transparent;min-width:0;cursor:pointer;transition:transform .2s}
.botanical-character img{display:block;width:100%;height:calc(100% - 37px);min-height:0;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 9px 7px #314b332b);pointer-events:none}
.botanical-character:hover,.botanical-character:focus-visible{transform:translateY(-7px)}
.botanical-character:focus-visible{outline:3px solid #754590;outline-offset:6px}
.botanical-lead{left:24%;bottom:17%;width:52%;height:83%;z-index:2;--petal:#b58be0}
.botanical-left{left:-1%;bottom:3%;width:28%;height:66%;z-index:3;--petal:#f3a16a}
.botanical-right{right:-1%;bottom:1%;width:28%;height:65%;z-index:3;--petal:#cf3b78}
.botanical-name{display:inline-flex;align-items:center;justify-content:center;gap:7px;max-width:100%;padding:5px 12px;min-height:30px;line-height:1.4;border:1px solid #ffffffde;border-radius:30px;background:#fffdf8ed;color:#294e40;font-size:14px;font-weight:750;white-space:nowrap;box-shadow:0 2px 7px #34513a0a;pointer-events:none}
.botanical-name{border-bottom:2px solid var(--petal)}
.botanical-greeting{position:absolute;z-index:4;top:0;left:10%;right:10%;margin:0;text-align:center;font-size:16px;font-weight:750;color:#4c4555}
.botanical-greeting span{display:inline-block;padding:9px 17px;border-radius:20px 20px 20px 3px;background:#fffdf8f2;box-shadow:0 3px 0 #d6d8c77a;transform:rotate(-3deg)}

/* The portal retains its forest, while the copy and CTA have clear contrast. */
.forest-welcome{grid-template-columns:.94fr 1.06fr;gap:1%;min-height:630px;padding:42px 4.5% 48px;background-position:65% center;border-color:#d9e3d6}
.forest-welcome:before{background:linear-gradient(90deg,#fffdf8fc 0%,#fffdf8f2 28%,#fffdf8a6 48%,#fffdf815 76%)}
.forest-term{background:#fffdf8e8;border:1px solid #dfe4d5;box-shadow:none;color:#526552;font-size:15px;letter-spacing:0;font-weight:650}
.forest-copy h1{font-size:clamp(34px,3.5vw,54px);line-height:1.35;letter-spacing:-.03em;margin:26px 0 20px;color:#214c3d}
.forest-description{font-size:18px;color:#49665a;line-height:1.85;margin-bottom:27px}
.forest-start{background:#f4d777;border:1px solid #d2ac45;border-bottom:4px solid #b99537;border-radius:17px;color:#29452c;min-height:58px;padding:14px 27px;font-size:18px;box-shadow:0 5px 15px #665b2010}
.forest-start:hover{background:#ffe59c;filter:none}.forest-start:focus-visible{outline:3px solid #754590;outline-offset:5px}
.forest-note{font-size:15px;margin-top:20px;color:#536d60}

/* The same selected cast welcomes students on all six publisher entry pages. */
.home-view .hero.botanical-lesson-hero{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:center;padding:32px 34px;min-height:480px;background:#edf3e5 url("assets/science-woods.webp") 65% center/cover no-repeat;isolation:isolate}
.home-view .hero.botanical-lesson-hero:before{inset:0;right:auto;top:auto;width:100%;height:100%;border-radius:0;background:linear-gradient(90deg,#fffdf8fa 0%,#fffdf8ee 33%,#fffdf86b 62%,#fffdf80a);z-index:-1}
.home-view .hero.botanical-lesson-hero:after{display:none}
.botanical-lesson-hero .hero-copy{width:auto;max-width:none;min-width:0;z-index:2}
.botanical-lesson-hero .hero-copy h2{font-size:clamp(29px,3vw,42px);line-height:1.36;color:#214c3d;letter-spacing:-.02em}
.botanical-lesson-hero .hero-copy>p{max-width:28em;line-height:1.85}
.botanical-lesson-hero .hero-copy .tag{background:#fffdf8e8;color:#526552}
.botanical-lesson-hero .hero-copy .btn:first-child{background:#f4d777;color:#29452c;border:1px solid #d2ac45;box-shadow:0 3px 0 #b99537}
.botanical-lesson-hero .hero-copy .btn:first-child:hover{background:#ffe59c}
.botanical-lesson-hero .botanical-cast{height:400px}
.botanical-lesson-hero .botanical-name{font-size:14px;padding:5px 10px}
.botanical-lesson-hero .botanical-greeting{font-size:14px;left:0;right:0}
.home-view .hero .botanical-greeting{font-size:14px;line-height:1.5;margin:0;max-width:none;left:0;right:0}

@media(min-width:1500px){.forest-welcome{padding:54px 64px;min-height:660px}.forest-welcome .botanical-cast{height:500px}}
@media(min-width:761px) and (max-width:1100px){.forest-welcome{padding:34px 26px;min-height:560px}.forest-copy h1{font-size:36px}.forest-welcome .botanical-cast{height:400px}.botanical-name{font-size:14px;padding:5px 10px}.botanical-greeting{left:2%;right:2%;font-size:14px}.home-view .hero.botanical-lesson-hero{grid-template-columns:1fr;gap:16px;padding:30px}.botanical-lesson-hero .botanical-cast{max-width:570px;margin:auto;height:390px}.botanical-lesson-hero .hero-copy{max-width:600px}.botanical-lesson-hero .hero-copy h2{font-size:36px}}
@media(max-width:760px){.forest-welcome{padding:27px 22px 22px;gap:0;background-position:65% center}.forest-welcome:before{background:linear-gradient(180deg,#fffdf8fa 0%,#fffdf8f0 37%,#fffdf866 65%,#fffdf808)}.forest-term{font-size:14px}.forest-copy h1{font-size:clamp(30px,8vw,43px);margin:24px 0 16px;line-height:1.35}.forest-description{font-size:16px;margin-bottom:22px}.forest-start{min-height:55px;font-size:17px;padding:12px 23px}.forest-note{font-size:14px;margin-top:17px}.botanical-cast,.forest-welcome .botanical-cast{height:350px;max-width:490px;margin:28px auto 0}.botanical-lead{left:23%;width:54%;height:73%;bottom:25%}.botanical-left,.botanical-right{width:36%;height:58%;bottom:0}.botanical-left{left:-1%}.botanical-right{right:-1%}.botanical-name{font-size:14px;padding:5px 10px;gap:5px}.botanical-greeting{font-size:14px;top:-2px;left:0;right:0}.home-view .hero.botanical-lesson-hero{grid-template-columns:1fr;gap:10px;padding:27px 23px;min-height:0;background-position:65% center}.home-view .hero.botanical-lesson-hero:before{background:linear-gradient(180deg,#fffdf8fa 0%,#fffdf8f0 38%,#fffdf855 75%,#fffdf80a)}.botanical-lesson-hero .hero-copy{width:100%;max-width:100%}.botanical-lesson-hero .hero-copy h2{font-size:32px}.botanical-lesson-hero .botanical-cast{height:350px;max-width:490px;margin:22px auto 0}.botanical-lesson-hero .hero-copy .buttons{flex-wrap:wrap;gap:18px}.botanical-lesson-hero .hero-copy .text-link{font-size:16px}}
@media(max-width:390px){.botanical-cast,.forest-welcome .botanical-cast,.botanical-lesson-hero .botanical-cast{height:320px}.forest-copy h1{font-size:30px}.botanical-greeting{font-size:14px}.botanical-name{padding:4px 8px;font-size:14px}}
@media(prefers-reduced-motion:reduce){.botanical-character,.forest-start{transition:none}.botanical-character:hover{transform:none}}
.reduced-motion .botanical-character{transition:none}.reduced-motion .botanical-character:hover{transform:none}

/* The four signs lead to each subject's own existing sprite homepage. */
.botanical-cast{margin-top:56px}
.botanical-subjects{position:absolute;top:-56px;left:0;right:0;display:flex;justify-content:center;gap:10px;z-index:5}
.botanical-subjects a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 20px;border:2px solid #fffdf8;border-radius:24px;font-size:18px;font-weight:800;line-height:1.4;box-shadow:0 3px 0 #314b3318;text-decoration:none;white-space:nowrap}
.botanical-subjects a:hover{filter:brightness(.96)}
.botanical-subjects a:focus-visible{outline:3px solid #754590;outline-offset:3px}
.botanical-subjects .subject-science{color:#335a2c;background:#e4f2cc;border-color:#6d914d}
.botanical-subjects .subject-chinese{color:#8b4e3a;background:#fff0e9}
.botanical-subjects .subject-social{color:#82631e;background:#fff0bc}
.botanical-subjects .subject-math{color:#32647a;background:#e1f5ff}
.sprite-voice{margin:16px 0}
.sprite-voice .sprite-transcript{font-size:18px;line-height:1.85;color:#294e40}
.sprite-voice-controls{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px}
.sprite-voice-controls button{font:inherit;font-weight:700;min-height:44px;border:1px solid #9db69a;border-radius:13px;padding:9px 16px;background:#edf5df;color:#294e40;cursor:pointer}
.sprite-voice-controls button[data-voice-stop]{background:#fffdf8}
.sprite-voice .sprite-voice-status{font-size:14px;line-height:1.6;margin-top:10px;color:#526552}
@media(max-width:1100px){.botanical-subjects{gap:7px}.botanical-subjects a{padding:8px 15px;font-size:16px}.botanical-lesson-hero .botanical-cast{margin-top:74px}}
@media(max-width:760px){.botanical-cast,.forest-welcome .botanical-cast,.botanical-lesson-hero .botanical-cast{margin-top:82px}.botanical-subjects{gap:6px;top:-58px}.botanical-subjects a{padding:8px 14px;font-size:16px}}
@media(max-width:390px){.botanical-subjects{gap:5px}.botanical-subjects a{padding:8px 11px}}
