/* Story-first English (server/stories.js): the /stories pages, the home page band and the story banner on a lesson.
   Comic panels: thick ink borders, offset shadows, painted scenes with the characters standing in them. */
.st-art{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:14px;background:linear-gradient(#a5d8ff,#d3f9d8)}
.st-art .st-paint{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.st-art .st-c{position:absolute;bottom:4%;height:62%;width:auto;filter:drop-shadow(0 6px 6px rgba(0,0,0,.3));animation:st-bob 3.2s ease-in-out infinite}
.st-art .st-c0{left:12%}.st-art .st-c1{left:42%;height:50%;animation-delay:-1.1s}.st-art .st-c2{right:8%;height:64%;animation-delay:-2s}
.st-art.big .st-c{height:68%}.st-art.big .st-c1{height:54%}
/* each character at its own size, wherever it stands */
.st-art .st-w-echo{height:44%!important}.st-art .st-w-moru{height:66%!important}.st-art .st-w-tara{height:62%!important}.st-art .st-w-dadi{height:66%!important}
.st-ep{position:absolute;left:12px;top:12px;padding:3px 12px;border:3px solid #1b1340;border-radius:999px;background:#ffd43b;color:#1b1340;font:400 1rem/1.2 "Bangers",Impact,sans-serif;letter-spacing:.06em}
@keyframes st-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.st-play{position:absolute;right:4%;bottom:7%;display:grid;place-items:center;width:72px;height:72px;border:4px solid #1b1340;border-radius:50%;background:#fff;color:#e8590c;font-size:1.9rem;box-shadow:4px 4px 0 #1b1340;transition:transform .15s}
a:hover .st-play,a:focus-visible .st-play{transform:scale(1.12)}

/* the episode cards */
.st-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,420px),1fr));gap:24px}
.st-card{display:flex;flex-direction:column;border:4px solid #1b1340;border-radius:20px;background:#fff;box-shadow:7px 7px 0 #1b1340;overflow:hidden}
.st-card-pic{position:relative;display:block}.st-card-pic .st-art{border-radius:0;border-bottom:4px solid #1b1340}
.st-card-body{padding:14px 18px 18px;display:flex;flex-direction:column;gap:6px}.st-card-body h3{margin:0;font:400 1.7rem/1.1 "Bangers",Impact,sans-serif;letter-spacing:.03em}
.st-card-body h3 a{color:inherit;text-decoration:none}.st-card-body p{margin:0}
.st-kicker{font-size:.82rem;font-weight:800;color:#862e9c;text-transform:uppercase;letter-spacing:.04em}
.st-meta{font-size:.9rem;font-weight:700;color:#495057}
.st-chips{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0;padding:0;list-style:none}.st-chips li{padding:3px 10px;border:2px solid #1b1340;border-radius:999px;background:#fff0f6;font-size:.85rem;font-weight:700}
.st-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}

/* how one story becomes an hour */
.st-how h2,.st-h2,.st-cta h2,.st-prose h2{font:400 clamp(1.6rem,3.4vw,2.3rem)/1.1 "Bangers",Impact,sans-serif;letter-spacing:.03em}
.st-hour{display:grid;gap:12px;margin:12px 0;padding:0;list-style:none;counter-reset:h}
.st-hour li{display:grid;grid-template-columns:110px 1fr;gap:2px 16px;align-items:start;padding:12px 16px;border:3px solid #1b1340;border-radius:16px;background:#fff;box-shadow:4px 4px 0 #1b1340}
.st-hour .st-t{grid-row:span 2;align-self:center;padding:6px 8px;border-radius:12px;background:#ffd43b;font-weight:900;text-align:center}
.st-hour b{font-size:1.1rem}.st-hour p{margin:0;color:#343a40}
.st-more{margin-top:14px}
.st-cta{text-align:center;padding:24px 18px;border:4px solid #1b1340;border-radius:22px;background:linear-gradient(135deg,#fff3bf,#ffdeeb);box-shadow:7px 7px 0 #1b1340}
.st-cta .hero-cta{justify-content:center}

/* the case study */
.st-case-hero>*{max-width:980px}.st-case-hero .st-art{border:4px solid #1b1340;box-shadow:7px 7px 0 #1b1340}.st-cap{margin:12px 0 0;font-weight:700;color:#495057}
.st-prose>*{max-width:820px}.st-prose p{font-size:1.08rem;line-height:1.65}
.st-why{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:16px}
.st-why article{padding:14px 16px;border:3px solid #1b1340;border-radius:16px;background:#fff;box-shadow:4px 4px 0 #1b1340}
.st-why article>span{font-size:2rem;font-weight:800;line-height:1}.st-why h3{margin:6px 0 4px;font-size:1.1rem}.st-why p{margin:0;color:#343a40;line-height:1.55}

/* one story's page: words, characters */
.st-about h3{margin:18px 0 6px}
.st-words{display:flex;flex-wrap:wrap;gap:8px;padding:0;list-style:none}.st-words li{padding:6px 12px;border:2px solid #1b1340;border-radius:12px;background:#fff}.st-words small{color:#862e9c;font-weight:700}
.st-cast{padding-left:20px;line-height:1.6}

/* the home page band and the lesson's story banner */
.st-band-in{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:26px;align-items:center;padding:18px;border:4px solid #1b1340;border-radius:24px;background:linear-gradient(135deg,#1b1340,#3b2a7a 55%,#862e9c);color:#fff;box-shadow:8px 8px 0 #1b1340}
.st-band-pic{position:relative;display:block}.st-band-pic .st-art{border:4px solid #fff;box-shadow:0 14px 40px rgba(0,0,0,.45)}
.st-band-copy h2{margin:4px 0 8px;font:400 clamp(2rem,4.4vw,3.2rem)/1 "Bangers",Impact,sans-serif;letter-spacing:.03em;color:#fff}.st-band-copy h2 em{color:#ffd43b;font-style:normal}
.st-band-copy p{color:#e5dbff;line-height:1.6}.st-band-copy .eyebrow{color:#ffd43b}.st-band-copy .st-meta{color:#d0bfff}
.st-band-copy .btn-ghost{color:#fff;border-color:#fff}
.st-band-eps{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0;padding:0;list-style:none}.st-band-eps a{display:inline-block;padding:5px 12px;border:2px solid #fff;border-radius:999px;color:#fff;font-weight:700;text-decoration:none;font-size:.9rem}
.st-band-eps a:hover{background:#fff;color:#1b1340}
.st-burst{position:absolute;right:-10px;top:-14px;display:grid;place-items:center;width:84px;height:84px;background:#ff6b6b;color:#fff;font:400 1.4rem/1 "Bangers",Impact,sans-serif;letter-spacing:.05em;clip-path:polygon(50% 0,61% 22%,85% 12%,78% 38%,100% 50%,78% 62%,85% 88%,61% 78%,50% 100%,39% 78%,15% 88%,22% 62%,0 50%,22% 38%,15% 12%,39% 22%);transform:rotate(12deg);animation:st-pop 2.4s ease-in-out infinite}
@keyframes st-pop{0%,100%{transform:rotate(12deg) scale(1)}50%{transform:rotate(4deg) scale(1.1)}}
.st-feature .st-band-in{background:linear-gradient(135deg,#0b3d91,#1971c2 60%,#0ca678)}
@media (max-width:760px){.st-band-in{grid-template-columns:1fr;padding:12px}.st-hour li{grid-template-columns:1fr}.st-hour .st-t{grid-row:auto;justify-self:start}}
@media (prefers-reduced-motion:reduce){.st-art .st-c,.st-burst{animation:none}}
