.lesson-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:stretch;margin:20px 0 32px}.lesson-tile{display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #dce7e2;border-radius:18px;box-shadow:0 5px 18px #064e4a06;transition:transform .2s,box-shadow .2s,border-color .2s;min-width:0}.lesson-tile:hover{transform:translateY(-4px);box-shadow:0 12px 28px #064e4a14;border-color:#accbc0}.lesson-cover{position:relative;aspect-ratio:16/9;background:#f4eee3;overflow:hidden}.lesson-cover>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s}.lesson-tile:hover .lesson-cover>img{transform:scale(1.025)}.cover-category{position:absolute;top:12px;right:12px;padding:3px 11px;border:1px solid #ffffff60;background:#fffffff0;border-radius:7px;font-weight:800;font-size:10px;color:#064e4a}.cover-play{position:absolute;bottom:12px;left:12px;display:grid;place-items:center;width:32px;height:32px;color:#064e4a;background:#fff;border-radius:50%;box-shadow:0 2px 8px #0002}.cover-play svg{width:18px;height:18px}.lesson-tile-body{display:flex;flex:1;flex-direction:column;padding:18px 18px 16px}.lesson-grade{font-size:10px;color:#608079;font-weight:700;letter-spacing:.15px}.lesson-tile h2{font-size:21px;line-height:1.6;margin:5px 0 7px;font-weight:800}.lesson-tile p{font-size:12px;line-height:1.9;color:#6b7e77;margin:0 0 14px;min-height:46px}.lesson-meta{font-size:10px;color:#58736b;border-bottom:1px solid #eef2ef;padding-bottom:15px;margin-bottom:14px}.tile-bottom{margin-top:auto}.tile-progress-label{display:flex;justify-content:space-between;gap:8px;color:#758980;font-size:10px}.tile-progress-label b{color:#064e4a}.lesson-tile .progress{height:4px;margin:8px 0 15px}.tile-action{display:flex;justify-content:space-between;align-items:center;color:#064e4a;font-size:12px;font-weight:800}.tile-action svg{width:22px;height:22px;background:#fff1e8;padding:3px;border-radius:5px}.reading-hero-cover{width:240px;max-width:36%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:16px;border:4px solid white;box-shadow:0 8px 22px #064e4a12}.unit-label{margin-top:32px}.lesson-grid:has(>.lesson-tile:only-child){grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:1100px){.lesson-grid,.lesson-grid:has(>.lesson-tile:only-child){grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}@media(max-width:520px){.lesson-grid,.lesson-grid:has(>.lesson-tile:only-child){grid-template-columns:minmax(0,1fr);gap:20px}.lesson-tile h2{font-size:24px}.lesson-tile p{min-height:0;font-size:14px}.lesson-grade,.lesson-meta,.tile-progress-label{font-size:12px}.tile-action{font-size:14px}.reading-hero{flex-wrap:wrap}.reading-hero-cover{width:100%;max-width:100%;margin-top:10px}.lesson-tile-body{padding:20px}.cover-category{font-size:12px}.cover-play{width:40px;height:40px}}@media(prefers-reduced-motion:reduce){.lesson-tile,.lesson-cover>img{transition:none}.lesson-tile:hover,.lesson-tile:hover .lesson-cover>img{transform:none}}

.subject-tile{display:block;overflow:hidden;border:1px solid #dce7e2;border-radius:18px;background:white;box-shadow:0 5px 18px #064e4a06;transition:box-shadow .2s,border-color .2s}.subject-tile:hover{box-shadow:0 12px 28px #064e4a14;border-color:#accbc0}.subject-tile-body{padding:20px}.subject-tile h2{font-size:24px;margin:8px 0}.subject-tile p{font-size:13px;color:#6b7e77;margin:0 0 20px}.subject-tile .tile-action{border-top:1px solid #eef2ef;padding-top:16px}

/* Stage illustrations share the curriculum card identity. */
.stage-card .stage-art{position:relative;margin:32px 0 18px;border-radius:16px;overflow:hidden;background:#edf5f0}
.stage-card .stage-art-primary{background:#fff1e6}
.stage-card .stage-art-secondary{background:#edf2f6}
.stage-art img{display:block;width:100%;height:154px;object-fit:contain;transition:transform .25s ease}
.stage-card:hover .stage-art img{transform:translateY(-3px)}
.stage-cards .stage-art .stage-number{position:absolute;bottom:10px;right:14px;margin:0;font-size:14px;color:#587b72;letter-spacing:2px}
.stage-card>.pill{top:18px}
@media(max-width:760px){.stage-art img{height:140px}.stage-card .stage-art{margin-top:32px;margin-bottom:14px}}
@media(prefers-reduced-motion:reduce){.stage-art img{transition:none}.stage-card:hover .stage-art img{transform:none}}

/* Small animated subject emblems; cover photographs remain still. */
.subject-motion{position:absolute;bottom:12px;left:12px;width:70px;height:70px;display:block;pointer-events:none;filter:drop-shadow(0 3px 5px #064e4a18)}
.subject-motion svg{display:block;width:100%;height:100%}
.subject-motion text{fill:#075653;font-family:inherit;font-weight:800;font-size:26px;text-anchor:middle}
.subject-orbits{fill:none;stroke:#075653;stroke-width:2;animation:subject-orbit 16s linear infinite}
.subject-letters text{animation:subject-letter 4s ease-in-out infinite}
.subject-letters text:nth-child(2){animation-delay:-2s}
.subject-speech{transform-origin:40px 40px;animation:subject-chat 5s ease-in-out infinite}
.subject-thumb{position:relative;display:block;flex-shrink:0}
.subject-thumb .subject-motion{width:42px;height:42px;bottom:3px;left:3px}
@keyframes subject-orbit{to{transform:rotate(360deg)}}
@keyframes subject-letter{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes subject-chat{0%,100%{transform:rotate(-3deg) translateY(0)}50%{transform:rotate(3deg) translateY(-2px)}}
@media(max-width:760px){.subject-motion{width:60px;height:60px}.subject-thumb .subject-motion{width:36px;height:36px}}
@media(prefers-reduced-motion:reduce){.subject-motion *{animation:none!important}}

.science-lesson-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.lesson-number-label{display:flex;align-items:center;gap:8px;color:#064e4a;font-size:14px;font-weight:900;margin-bottom:12px}.lesson-number-label b{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#fff1e8;color:#a35c36;font-size:13px}.science-lesson-grid .lesson-tile{border-radius:24px}.science-lesson-grid .lesson-tile h2{font-size:25px}.science-lesson-grid .lesson-tile-body{padding:22px}
@media(max-width:900px){.science-lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.science-lesson-grid{grid-template-columns:minmax(0,1fr)}}
