@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');:root{--navy:#102337;--gold:#80602c;--goldlight:#dfc48a;--cream:#f8f5ee;--green:#19564b}*{box-sizing:border-box}body{margin:0;background:var(--cream);font:16px/1.65 Montserrat,Arial,sans-serif;color:var(--navy)}h1,h2,h3{font-family:'Playfair Display',Georgia,serif;line-height:1.18}h1{font-size:clamp(2rem,5vw,3.7rem)}h2{font-size:clamp(1.4rem,3vw,2.2rem)}a{color:var(--green);text-underline-offset:3px}a:focus-visible,button:focus-visible{outline:3px solid #b88b38;outline-offset:3px}header.top{background:var(--navy);color:white;padding:16px max(4vw,15px);display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap}header.top a{color:#f0d698;font-weight:600}nav{display:flex;gap:16px;flex-wrap:wrap;font-size:.85rem}main.wrap{max-width:1230px;margin:auto;padding:22px clamp(14px,3vw,32px) 50px}.hero{padding:clamp(22px,5vw,54px);background:linear-gradient(120deg,var(--navy),var(--green));color:white;border-radius:18px;display:grid;grid-template-columns:2fr 1fr;align-items:center;gap:20px}.hero img{width:100%;max-height:300px;object-fit:contain}.hero .eyebrow{color:#f4d592}.hero h1{margin:8px 0 12px}.eyebrow{text-transform:uppercase;font-size:.76rem;font-weight:700;letter-spacing:.17em;color:var(--gold)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:18px 0}.tile,.panel{background:white;border:1px solid #ded6c8;border-radius:12px;padding:20px;color:var(--navy)}a.tile{display:block;text-decoration:none;transition:.15s}a.tile:hover{border-color:#b88b38;box-shadow:0 3px 18px #0001}a.tile h3{color:var(--gold);margin-top:0}.tile img{width:100%;height:145px;object-fit:contain}.panel{margin:16px 0}.note{font-size:.88rem;background:#fff6de;border:1px solid #d4bd85;padding:12px 16px;border-radius:8px;margin:12px 0}.btn,button{background:var(--green);color:white;border:0;padding:12px 18px;border-radius:7px;display:inline-block;text-decoration:none;cursor:pointer;font-weight:700}footer{padding:28px 5%;background:var(--navy);color:#fff;text-align:center}footer a{color:#f1d79e}img{max-width:100%}table{border-collapse:collapse;width:100%}th,td{padding:9px;border-bottom:1px solid #ddd;text-align:left}input,select{padding:10px;max-width:100%;border:1px solid #b0b0b0;border-radius:6px;font:inherit}.missing{display:block;border:1px dashed #b8a887;background:#f7f0e0;color:#574830;padding:12px;font-size:.85rem}.lesson h3{color:#80602c}details{padding:12px;background:#edf5ee;border-radius:8px;margin:10px 0}ol.choices{list-style:none;padding-left:0}.question{border-bottom:1px solid #ddd;padding:15px 0}.tag{font-size:.8rem;color:#536764}@media(max-width:780px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{grid-template-columns:1fr}}@media(max-width:460px){.grid{grid-template-columns:1fr}nav{gap:9px}}
.hub-four{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:460px){.hub-four{grid-template-columns:1fr}}
/* Balanced subject layouts across Science, Mathematics, ELA, U.S. History and Financial Literacy. */
.grid{align-items:stretch}
.grid>.tile{height:100%;border-radius:16px;box-shadow:0 5px 16px rgba(16,35,55,.08)}
a.tile:hover{border-color:#a4802a;box-shadow:0 10px 22px rgba(16,35,55,.14)}
.grid:has(> .tile:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
.grid:has(> .tile:nth-child(6):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
.grid:has(> .tile:nth-child(8):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}
.grid:has(> .tile:nth-child(11):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
.grid:has(> .tile:nth-child(12):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:780px){
 .grid:has(> .tile:nth-child(6):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
 .grid:has(> .tile:nth-child(8):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
 .grid:has(> .tile:nth-child(11):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
 .grid:has(> .tile:nth-child(12):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:520px){
 .grid:has(> .tile:nth-child(11):last-child),.grid:has(> .tile:nth-child(12):last-child){grid-template-columns:1fr}
}

/* Center the final pair of eleven-card subject menus for a balanced last row. */
.grid:has(> .tile:nth-child(11):last-child){grid-template-columns:repeat(6,minmax(0,1fr))}
.grid:has(> .tile:nth-child(11):last-child)>.tile{grid-column:span 2}
.grid:has(> .tile:nth-child(11):last-child)>.tile:nth-child(10){grid-column:2 / span 2}
.grid:has(> .tile:nth-child(11):last-child)>.tile:nth-child(11){grid-column:4 / span 2}
@media(max-width:780px){.grid:has(> .tile:nth-child(11):last-child){grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:520px){.grid:has(> .tile:nth-child(11):last-child){grid-template-columns:1fr}.grid:has(> .tile:nth-child(11):last-child)>.tile{grid-column:auto}}

/* Keep uneven tile counts balanced instead of leaving a single-card row. */
.grid:has(> .tile:nth-child(5):last-child),
.grid:has(> .tile:nth-child(7):last-child),
.grid:has(> .tile:nth-child(13):last-child),
.grid:has(> .tile:nth-child(14):last-child){grid-template-columns:repeat(6,minmax(0,1fr))}
.grid:has(> .tile:nth-child(5):last-child)>.tile,
.grid:has(> .tile:nth-child(7):last-child)>.tile,
.grid:has(> .tile:nth-child(13):last-child)>.tile,
.grid:has(> .tile:nth-child(14):last-child)>.tile{grid-column:span 2}
.grid:has(> .tile:nth-child(5):last-child)>.tile:nth-child(4){grid-column:2/span 2}
.grid:has(> .tile:nth-child(5):last-child)>.tile:nth-child(5){grid-column:4/span 2}
.grid:has(> .tile:nth-child(7):last-child)>.tile:nth-child(4),
.grid:has(> .tile:nth-child(7):last-child)>.tile:nth-child(6){grid-column:2/span 2}
.grid:has(> .tile:nth-child(7):last-child)>.tile:nth-child(5),
.grid:has(> .tile:nth-child(7):last-child)>.tile:nth-child(7){grid-column:4/span 2}
.grid:has(> .tile:nth-child(13):last-child)>.tile:nth-child(10),
.grid:has(> .tile:nth-child(13):last-child)>.tile:nth-child(12),
.grid:has(> .tile:nth-child(14):last-child)>.tile:nth-child(13){grid-column:2/span 2}
.grid:has(> .tile:nth-child(13):last-child)>.tile:nth-child(11),
.grid:has(> .tile:nth-child(13):last-child)>.tile:nth-child(13),
.grid:has(> .tile:nth-child(14):last-child)>.tile:nth-child(14){grid-column:4/span 2}
.grid:has(> .tile:nth-child(10):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}
.grid:has(> .tile:nth-child(10):last-child)>.tile:nth-child(9){grid-column:2}
.grid:has(> .tile:nth-child(10):last-child)>.tile:nth-child(10){grid-column:3}
@media(max-width:780px){
 .grid:has(> .tile:nth-child(10):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
 .grid:has(> .tile:nth-child(10):last-child)>.tile{grid-column:auto}
}
@media(max-width:520px){
 .grid:has(> .tile:nth-child(5):last-child),.grid:has(> .tile:nth-child(7):last-child),.grid:has(> .tile:nth-child(10):last-child),.grid:has(> .tile:nth-child(13):last-child),.grid:has(> .tile:nth-child(14):last-child){grid-template-columns:1fr}
 .grid:has(> .tile:nth-child(5):last-child)>.tile,.grid:has(> .tile:nth-child(7):last-child)>.tile,.grid:has(> .tile:nth-child(13):last-child)>.tile,.grid:has(> .tile:nth-child(14):last-child)>.tile{grid-column:auto}
}

/* Owl Trail artwork sits behind hero copy throughout the student and educator network. */
.hero:has(img){position:relative!important;display:block!important;min-height:320px;overflow:hidden;isolation:isolate;padding:0!important}
.hero:has(img)::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(8,23,40,.94) 0%,rgba(8,31,45,.82) 58%,rgba(8,48,50,.55) 100%);pointer-events:none}
.hero:has(img)>div:first-child:not(:has(img)){position:relative;z-index:2;max-width:860px;padding:clamp(24px,5vw,54px)}
.hero:has(img)>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;min-height:0!important;object-fit:cover!important;opacity:.36}
.hero:has(img)>div:has(>img){position:absolute!important;inset:0!important;z-index:0!important;display:block!important;pointer-events:none}
.hero:has(img)>div:has(>img) img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;max-width:none!important;object-fit:cover!important;object-position:center!important;opacity:.38}
.sci-console-hero:has(img){position:relative!important;display:block!important;overflow:hidden;isolation:isolate;min-height:350px}
.sci-console-hero:has(img)::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(8,23,40,.94),rgba(8,31,45,.78) 62%,rgba(8,48,50,.48));pointer-events:none}
.sci-console-hero:has(img) img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;opacity:.35}
.sci-console-hero:has(img) .sci-console-hero-copy{position:relative;z-index:2;max-width:820px;padding:clamp(24px,5vw,54px)}
/* Grade 5 Science landing: one full-width image backdrop instead of a narrow split column. */
.science-home>section:first-of-type{position:relative!important;display:block!important;isolation:isolate;min-height:520px!important;padding:clamp(26px,5vw,58px)!important}
.science-home>section:first-of-type::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(8,23,40,.94) 0%,rgba(8,31,45,.82) 58%,rgba(8,48,50,.50) 100%);pointer-events:none}
.science-home>section:first-of-type>div:first-child{position:absolute!important;inset:0!important;display:block!important;z-index:0}
.science-home>section:first-of-type>div:first-child img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;object-position:center 42%!important;border:0!important;border-radius:0!important;box-shadow:none!important;opacity:.48}
.science-home>section:first-of-type>div:nth-child(2){position:relative!important;z-index:2;max-width:760px;text-align:left!important}
@media(max-width:700px){.hero:has(img){min-height:300px}.hero:has(img)>div:first-child:not(:has(img)){padding:25px 20px}.science-home>section:first-of-type{min-height:500px!important;padding:27px 22px!important}.science-home>section:first-of-type>div:nth-child(2){max-width:100%}.science-home>section:first-of-type>div:first-child img{object-position:57% center!important;opacity:.4}}
