/* Schools on the public side: "School logo x Kids Let's Read!", the join page, and the school
   code on sign-up. Built on public-site.css (site-button, site-eyebrow, signup layout). */
.school-lockup{display:flex;align-items:center;gap:18px;margin:0 0 22px;flex-wrap:wrap}
.school-lockup-org{display:grid;place-items:center;min-width:96px;max-width:200px;height:96px;padding:10px 16px;box-sizing:border-box;border:1px solid #e4d7e7;border-radius:22px;background:#fff;box-shadow:0 6px 18px #5c376d14}
.school-lockup-org img{max-width:100%;max-height:76px;object-fit:contain}
.school-lockup-org strong{font:700 22px/1.15 Georgia,serif;color:#382344;text-align:center;overflow-wrap:anywhere}
.school-lockup-x{font:400 30px/1 Georgia,serif;color:#b59ec0}
.school-lockup-klr img{display:block;width:120px;height:auto}
.school-details{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 20px;padding:0}
.school-details div{padding:10px 14px;border-radius:14px;background:#f6effa;border:1px solid #eadcf0}
.school-details dt{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#8a7394}
.school-details dd{margin:2px 0 0;font-size:16px;font-weight:700;color:#382344}

.join-layout{display:grid;place-items:center;padding-top:40px;padding-bottom:80px}
.join-card{width:100%;max-width:620px;box-sizing:border-box;padding:clamp(24px,4vw,44px);border:1px solid #e4d7e7;border-radius:26px;background:#fffefa;box-shadow:0 18px 60px #5c376d14}
.join-card h1{font:700 clamp(30px,4.6vw,44px)/1.12 Georgia,serif;letter-spacing:-.02em;color:#382344;margin:12px 0 20px}
.join-copy,.join-for{color:#6f5a79;font-size:16px;line-height:1.6;margin:0 0 20px}
.join-for strong{color:#382344}
.join-status{margin:0 0 18px;font-size:15px;font-weight:600;color:#6f5a79}
.join-status:empty{display:none}
.join-status--error{color:#a14a3c}
.join-status--ok{padding:14px 16px;border-radius:14px;background:#e9f5ec;color:#2f6a40}
.join-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}
.join-actions .site-button{width:auto;flex:1 1 220px}
.site-button.site-button--secondary{background:#fffefa;color:#583b70;border-color:#c9b0d7;box-shadow:0 3px 0 #e1d3e8}
.site-button.site-button--secondary:hover{background:#f6effa}
.join-form fieldset{border:0;margin:0 0 12px;padding:0;display:grid;gap:10px}
.join-form legend{font-weight:700;color:#382344;margin-bottom:10px;font-size:16px}
.join-child{display:flex;align-items:center;gap:14px;padding:14px 16px;border:2px solid #eadcf0;border-radius:16px;background:#fff;cursor:pointer}
.join-child:has(input:checked){border-color:#754291;background:#faf5fd}
.join-child:has(input:disabled){opacity:.6;cursor:default}
.join-child input{width:22px;height:22px;margin:0;flex:none;accent-color:#754291}
.join-child span{display:grid;gap:2px}
.join-child strong{font-size:17px;color:#382344}
.join-child small{font-size:13px;color:#8a7394}
.signup-school-code .signup-optional{font-weight:500;color:#927c9c;font-size:12px;margin-left:6px}
@media (max-width:560px){.join-layout{padding-top:20px}.school-lockup{gap:12px}.school-lockup-org{height:80px;min-width:80px}.school-lockup-klr img{width:96px}}
/* The join page is a public page, like sign-up: no app header or parent tabs. */
body:is([data-view="join"],[data-view="schools"],[data-view="schoolHome"]){background:#fffbf3;color:#382344}
body:is([data-view="join"],[data-view="schools"],[data-view="schoolHome"]) .shell{padding:0!important;background:#fffbf3;min-height:100svh}
body:is([data-view="join"],[data-view="schools"],[data-view="schoolHome"]) .frame{display:block!important;width:100%;max-width:none;margin:0}
body:is([data-view="join"],[data-view="schools"],[data-view="schoolHome"]) .frame>.top,body:is([data-view="join"],[data-view="schools"],[data-view="schoolHome"]) .syncstatus,body:is([data-view="join"],[data-view="schools"],[data-view="schoolHome"]) .parent-navigation,body:is([data-view="join"],[data-view="schools"],[data-view="schoolHome"]) .parent-release-link{display:none!important}
.join-choices{display:grid;gap:14px;margin:6px 0 16px}
.join-choice{display:grid;gap:8px;font-weight:700;color:#382344;font-size:15px}
.join-choice[hidden]{display:none}
.join-choice select{min-height:50px;padding:0 14px;border:1px solid #d8c7df;border-radius:12px;background:#fff;color:#382344;font:500 16px/1.2 system-ui,sans-serif}
/* Way back to a school invite from the public pages */
.join-return{position:sticky;top:0;z-index:50;display:flex;justify-content:center;padding:10px 16px;background:#583b70;box-shadow:0 2px 10px #2a183a33}
.join-return a{display:inline-flex;align-items:center;gap:8px;color:#fff9eb;font:700 15px/1.3 system-ui,sans-serif;text-decoration:none}
.join-return svg{width:18px;height:18px}
/* Read-aloud stories switched off for the whole site: no Storybooks links or section. */
html[data-read-aloud="off"] [data-site-section="storybooks"],html[data-read-aloud="off"] [data-site-panel="storybooks"]{display:none!important}
/* For schools page */
.schools-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(24px,5vw,64px);align-items:center;padding-top:clamp(28px,5vw,64px);padding-bottom:clamp(28px,5vw,56px)}
.schools-hero h1{font:700 clamp(36px,5.4vw,60px)/1.05 Georgia,serif;letter-spacing:-.02em;color:#382344;margin:14px 0 18px}
.schools-hero-copy p{font-size:clamp(17px,1.6vw,19px);line-height:1.6;color:#6f5a79;margin:0 0 26px;max-width:540px}
.schools-cta{display:inline-flex;width:auto}
.schools-points{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.schools-points li{display:grid;gap:4px;padding:16px 18px;border:1px solid #eadcf0;border-radius:18px;background:#fffefa;box-shadow:0 6px 20px #5c376d0f}
.schools-points strong{font:700 18px/1.3 Georgia,serif;color:#382344}
.schools-points span{color:#6f5a79;font-size:15px;line-height:1.5}
.schools-steps{padding-bottom:clamp(28px,5vw,56px)}
.schools-steps h2{font:700 clamp(28px,3.6vw,40px)/1.15 Georgia,serif;color:#382344;margin:0 0 22px}
.schools-steps ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.schools-steps li{padding:22px;border-radius:20px;background:#f6effa;border:1px solid #eadcf0}
.schools-steps li span{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#583b70;color:#fff9eb;font:700 18px/1 Georgia,serif;margin-bottom:12px}
.schools-steps li strong{display:block;font:700 19px/1.3 Georgia,serif;color:#382344}
.schools-steps li p{margin:6px 0 0;color:#6f5a79;line-height:1.5}
.schools-request{padding-bottom:clamp(40px,6vw,80px);scroll-margin-top:20px}
.schools-request .contact-form-card{max-width:760px;margin:0 auto}
@media (max-width:820px){.schools-hero{grid-template-columns:1fr}.schools-steps ol{grid-template-columns:1fr}}
/* School home page (/o/<slug>, or the school's own web address) */
.school-home-header{align-items:center}
.school-home-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#382344;min-width:0}
.school-home-brand strong{font:700 clamp(18px,2.4vw,24px)/1.15 Georgia,serif;max-width:240px;overflow-wrap:anywhere}
.school-home-brand>span{font:400 24px/1 Georgia,serif;color:#b59ec0}
.school-home-logo{display:block;height:56px;width:auto;max-width:160px;object-fit:contain}
.school-home-klr{display:block;width:92px;height:auto}
.school-home-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(24px,5vw,64px);align-items:center;padding-top:clamp(24px,5vw,60px);padding-bottom:clamp(28px,5vw,56px)}
.school-home-copy h1{font:700 clamp(36px,5.4vw,62px)/1.05 Georgia,serif;letter-spacing:-.02em;color:#382344;margin:14px 0 18px}
.school-home-copy h1 em{color:#754291}
.school-home-copy>p{font-size:clamp(17px,1.6vw,19px);line-height:1.6;color:#6f5a79;margin:0 0 26px;max-width:540px}
.school-home-note{margin-top:16px!important;font-size:15px!important;color:#7a6884!important}
.school-home-art{position:relative;min-height:340px}
.school-home-features{padding-bottom:clamp(28px,5vw,56px)}
.school-home-features h2,.school-home-steps h2{font:700 clamp(28px,3.6vw,40px)/1.15 Georgia,serif;color:#382344;margin:10px 0 22px}
.school-home-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
.school-home-card{padding:22px;border:1px solid #eadcf0;border-radius:22px;background:#fffefa;box-shadow:0 8px 24px #5c376d0f}
.school-home-card img{display:block;width:64px;height:64px;object-fit:contain;margin-bottom:14px}
.school-home-card img.school-home-card-art{object-fit:cover;border-radius:16px}
.school-home-card h3{margin:0 0 6px;font:700 20px/1.25 Georgia,serif;color:#382344}
.school-home-card p{margin:0;color:#6f5a79;line-height:1.55}
.school-home-cta{margin-top:22px}
.school-home-noads{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:baseline;justify-content:center;margin-bottom:clamp(32px,5vw,64px);padding:22px;border-radius:22px;background:#f6effa;text-align:center;color:#6f5a79}
.school-home-noads strong{font:700 20px/1.2 Georgia,serif;color:#382344}
.school-home-status{padding:60px 0;text-align:center;display:grid;gap:16px;justify-items:center}
@media (max-width:820px){.school-home-hero{grid-template-columns:1fr}.school-home-art{min-height:240px}}
@media (max-width:560px){.school-home-header{flex-wrap:wrap;gap:12px}.school-home-logo{height:44px}.school-home-klr{width:72px}.school-home-header nav{width:100%}.school-home-header .public-account-actions{display:flex;justify-content:space-between;width:100%}}
@media (max-width:600px){.school-home .school-home-header{display:flex!important;flex-direction:column;align-items:stretch}.school-home .school-home-header nav{display:block!important;width:100%;margin-left:0}.school-home .school-home-header .public-account-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}.school-home .school-home-header .public-account-actions a{justify-content:center;text-align:center}}
/* "Kids Let's Read!" in the For schools headline: brand plum to gold, with a slow shimmer */
.schools-shimmer{background:linear-gradient(100deg,#754291 0%,#9a5fb5 30%,#d9a441 46%,#f3d27a 50%,#d9a441 54%,#9a5fb5 70%,#754291 100%);background-size:250% 100%;background-position:100% 0;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:schools-shimmer 4.5s ease-in-out infinite;white-space:nowrap}
@keyframes schools-shimmer{0%,35%{background-position:100% 0}75%,100%{background-position:0 0}}
@media (prefers-reduced-motion:reduce){.schools-shimmer{animation:none;background-position:50% 0}}
@media (max-width:420px){.schools-shimmer{white-space:normal}}
.contact-links .contact-schools{grid-column:1/-1}
@media (max-width:820px){.school-home-art{width:100%;max-width:560px;margin:0 auto}}
/* Keep the faces in view in the cropped story tiles */
.school-home-art .hero-story-0{object-position:50% 16%}
.school-home-art .hero-story-1{object-position:30% 44%}
.school-home-art .hero-story-2{object-position:40% 40%}
.school-home-card img.school-home-card-art{object-position:52% 14%}
