/* V42 homepage-only overlay, no global curriculum changes */
body.home-v32.v42-home{--v42-bg:#071321;--v42-panel:#102337;--v42-line:#2d4662;--v42-text:#eef6ff;--v42-muted:#b8cce0;--v42-gold:#f4cc75;background:radial-gradient(ellipse at 50% -15%,#21466f 0%,#0c1d30 32%,var(--v42-bg) 70%);color:var(--v42-text);font-family:system-ui,-apple-system,'Segoe UI',sans-serif;min-height:100vh}
body.home-v32.v42-home.v42-light{--v42-bg:#e8eff8;--v42-panel:#fff;--v42-line:#b4c8df;--v42-text:#122f50;--v42-muted:#3c5771;--v42-gold:#805300;background:radial-gradient(ellipse at 50% 0,#c8dff8,#e8eff8 70%)}
body.v42-home #subject-hub-home .v32-hero{height:clamp(234px,24vw,320px);grid-template-columns:1fr;isolation:isolate;min-height:0;border:1px solid #5b7e9f66;border-radius:16px;margin-bottom:20px;background:#0b192a;box-shadow:0 20px 45px #0004}
body.v42-home #subject-hub-home .v32-hero-art{position:absolute;inset:0;height:100%;width:100%;z-index:-1;min-height:0}
body.v42-home #subject-hub-home .v32-hero-art img{object-fit:cover;object-position:68% 48%;animation:v42-reveal .6s ease both}
body.v42-home #subject-hub-home .v32-hero-art:after{background:linear-gradient(90deg,#04101fec 0%,#051222c9 38%,#06142626 75%),linear-gradient(0deg,#04101f88,transparent 40%)}
body.v42-home #subject-hub-home .v32-hero-copy{padding:25px clamp(20px,3vw,38px);align-self:center;max-width:82%;z-index:1;pointer-events:none}
body.v42-home #subject-hub-home .v32-hero-title{font-size:clamp(31px,4vw,54px);line-height:.99;font-weight:850;letter-spacing:-.047em;max-width:570px;text-wrap:balance}
body.v42-home #subject-hub-home .v32-hero-copy p{font-size:14px;line-height:1.5;color:#d6e6fa;max-width:390px;margin-top:10px}
body.v42-home #subject-hub-home .v32-kicker{color:#ffdc92;letter-spacing:.13em;font-size:10px;margin-bottom:10px}
body.v42-home #subject-hub-home .v32-hero-credit{right:12px;bottom:12px;background:#071321d9;color:white;font-size:10px;max-width:52%;text-align:right;z-index:2}
body.v42-home .v42-scene-tools{position:absolute;z-index:3;bottom:12px;left:16px;display:flex;align-items:center;gap:6px;color:white}
body.v42-home .v42-scene-tools button,body.v42-home .v42-theme{font:700 12px system-ui;min-height:36px;padding:8px 10px;border-radius:8px;border:1px solid #8ea9c7;background:#0a192ee8;color:white;cursor:pointer}
body.v42-home .v42-scene-tools button:hover,body.v42-home .v42-theme:hover{border-color:#ffdc92;background:#243e5a}
body.v42-home .v42-scene-tools .v42-count{font:650 11px system-ui;white-space:nowrap;padding:0 4px}
body.v42-home #subject-hub-home .mms-banner{border-radius:12px;background:linear-gradient(100deg,#11335b,#152d48)!important;box-shadow:0 9px 25px #0002;border:1px solid #3b6596;border-left:4px solid #5287d1;color:#fff;margin-bottom:14px;min-height:60px}
body.v42-home #subject-hub-home .mms-banner .v42-theme{margin-left:auto;flex:none;min-height:40px}
body.v42-home #subject-hub-home h1{color:var(--v42-text)!important;font-size:clamp(24px,2.5vw,34px);letter-spacing:-.035em;margin-bottom:7px}
body.v42-home #subject-hub-home .one-lead{color:var(--v42-muted)!important;font-size:14px;margin-bottom:15px}
body.v42-home #subject-hub-home .one-grid{gap:12px}
body.v42-home #subject-hub-home .one-card.one-grade-card{--grade:#6bbfae;position:relative;border-radius:13px!important;padding:14px!important;background:var(--v42-panel)!important;border:1px solid var(--v42-line)!important;border-bottom:3px solid var(--grade)!important;color:var(--v42-text)!important;box-shadow:0 10px 24px #0002;transition:transform .18s,border-color .18s,box-shadow .18s}
body.v42-home #subject-hub-home .one-card[href="grade-7.html"]{--grade:#d9b464}body.v42-home #subject-hub-home .one-card[href="grade-8.html"]{--grade:#80aaff}
body.v42-home #subject-hub-home .one-card.one-grade-card:hover{transform:translateY(-3px);border-color:var(--grade)!important;box-shadow:0 12px 30px #0004}
body.v42-home #subject-hub-home .one-card .v32-grade-photo{height:clamp(132px,15vw,210px);margin:-14px -14px 9px;isolation:isolate}
body.v42-home #subject-hub-home .v32-grade-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#071321a8,transparent 55%);pointer-events:none}
body.v42-home #subject-hub-home .v32-grade-photo img{transition:transform .35s ease}
body.v42-home #subject-hub-home .one-grade-card:hover img{transform:scale(1.035)}
body.v42-home #subject-hub-home .v32-grade-no{background:#09182de6;color:#fff;border:1px solid #b2c8e166;border-radius:7px;font-size:23px;z-index:1}
body.v42-home #subject-hub-home .v32-photo-credit{color:var(--v42-muted);font-size:10px;line-height:1.25}
body.v42-home #subject-hub-home .one-card h2{color:var(--v42-text)!important;font-size:clamp(20px,2vw,26px);margin:4px 0 7px}
body.v42-home #subject-hub-home .one-card p{color:var(--v42-muted)!important;font-size:13px;line-height:1.45}
body.v42-home #subject-hub-home .one-card-foot{color:var(--v42-gold)!important;font-size:13px;font-weight:750;margin-top:auto;padding-top:10px}
body.v42-home .v322-rail{background:var(--v42-panel);border:1px solid var(--v42-line);border-radius:14px;padding:11px;box-shadow:0 9px 30px #0003}
body.v42-home .v322-rail-head{border-radius:9px;background:linear-gradient(125deg,#173b61,#102339);border-left:3px solid #79b3ef;margin-bottom:10px;padding:11px 12px}
body.v42-home .v322-rail-7 .v322-rail-head{border-left-color:#dfbf7a}
body.v42-home .v322-rail-head span{font-size:10px;color:#d5e5f7;letter-spacing:.11em}
body.v42-home .v322-rail-head h2{font-size:21px}
body.v42-home .v322-rail .v32-lab-grid{gap:7px}
body.v42-home .v322-rail .v32-lab-grid a{position:relative;display:grid;grid-template-columns:65px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:9px;row-gap:2px;align-items:start;background:color-mix(in srgb,var(--v42-panel),#7b9fc4 8%);border:1px solid var(--v42-line);border-left:2px solid #649ac8;border-radius:9px;color:var(--v42-text);padding:8px;min-height:82px;font-size:13px;line-height:1.24;font-weight:750;transition:background .18s,border .18s}
body.v42-home .v322-rail .v32-lab-grid a:hover{background:color-mix(in srgb,var(--v42-panel),#6999d0 18%);border-color:#8cb7e6}
body.v42-home .v322-rail .v32-lab-grid a small{color:var(--v42-muted);font-size:9px;letter-spacing:.07em;grid-column:2}
body.v42-home .v322-rail .v32-lab-grid a .v42-lab-name{grid-column:2;display:block}
body.v42-home .v322-lab-desc{color:var(--v42-muted);font-size:11px;line-height:1.3;grid-column:2}
body.v42-home .v42-lab-thumb{grid-column:1;grid-row:1/4;width:65px;height:60px;border-radius:5px;object-fit:cover;object-position:center;align-self:center;border:1px solid #91aec954;background:#142b42}
body.v42-home #home-v32-labs .v32-attribution{color:var(--v42-muted);font-size:10px;padding:0 10px;text-align:left}
body.v42-home #subject-hub-home .sh-lesson-tools{margin:8px 0 14px}body.v42-home #subject-hub-home .sh-lesson-tools .sh-btn{background:#214f85;color:white;border:1px solid #789dc5;border-radius:9px;min-height:44px;box-shadow:0 4px 14px #0002}
body.v42-home :is(a,button):focus-visible{outline:3px solid #ffd785!important;outline-offset:3px}
@keyframes v42-reveal{from{opacity:.35}to{opacity:1}}
@media(max-width:1150px){body.v42-home #subject-hub-home .v32-hero{height:270px}body.v42-home #subject-hub-home .one-card .v32-grade-photo{height:170px}}
@media(max-width:600px){body.v42-home #subject-hub-home .v32-hero{height:290px}body.v42-home #subject-hub-home .v32-hero-copy{max-width:100%;padding:22px 18px 55px}body.v42-home #subject-hub-home .v32-hero-title{font-size:37px}body.v42-home #subject-hub-home .v32-hero-art:after{background:linear-gradient(90deg,#071321e8,#07132166),linear-gradient(0deg,#071321c9,transparent 60%)}body.v42-home .v42-theme{font-size:10px;padding:6px}body.v42-home #subject-hub-home .mms-banner{padding:10px;gap:8px}body.v42-home #subject-hub-home .mms-banner b{font-size:13px}body.v42-home #subject-hub-home .mms-banner span{font-size:11px}body.v42-home .v42-scene-tools button{min-height:44px}body.v42-home #subject-hub-home .one-card .v32-grade-photo{height:160px}body.v42-home .v322-rail .v32-lab-grid a{grid-template-columns:82px minmax(0,1fr);min-height:83px}body.v42-home .v42-lab-thumb{width:82px;height:62px}body.v42-home .v322-rail .v32-lab-grid a{font-size:14px}}
@media(prefers-reduced-motion:reduce){body.v42-home *,body.v42-home *:before,body.v42-home *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}body.v42-home .one-card:hover,body.v42-home .one-grade-card:hover img{transform:none!important}}

/* v42.1 — black and charcoal / Hawks identity. Homepage-only overlay. */
body.home-v32.v42-home{
 --v42-bg:#080808;--v42-panel:#171717;--v42-line:#393939;--v42-text:#f6f6f7;--v42-muted:#c5c5c9;--v42-gold:#f0c66a;
 --mms-royal:#245ecb;--mms-gold:#e9bb58;
 background:radial-gradient(ellipse at 50% -18%,#292929 0%,#101010 38%,#080808 75%);color:var(--v42-text)
}
body.home-v32.v42-home.v42-light{--v42-bg:#efefef;--v42-panel:#fff;--v42-line:#c5c5c5;--v42-text:#191919;--v42-muted:#4c4c51;--v42-gold:#76500b;background:radial-gradient(ellipse at 50% 0,#dedede,#f3f3f3 75%)}
body.v42-home .one-header{position:relative;background:#080808!important;border-bottom:0!important;padding-bottom:14px}
body.v42-home .one-header:after{position:absolute;content:'';bottom:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#245ecb 0 69%,#e9bb58 69% 87%,#fafafa 87% 100%);pointer-events:none}
body.v42-home .one-header .one-grade-tabs a{background:#151515;color:white!important;border:1px solid #555!important}
body.v42-home .one-header .one-grade-tabs a:hover{background:#222!important;border-color:#6c98ef!important}
body.v42-home .one-brand small{color:#d6d6d6!important}
body.v42-home #subject-hub-home .mms-banner{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(110deg,#1b1b1b,#101010)!important;border:1px solid #414141!important;border-left:5px solid var(--mms-royal)!important;box-shadow:none}
body.v42-home #subject-hub-home .mms-banner:after{content:'';position:absolute;left:0;bottom:0;width:100%;height:2px;background:linear-gradient(90deg,var(--mms-royal) 0 70%,var(--mms-gold) 70% 90%,#fff 90%);pointer-events:none}
body.v42-home #subject-hub-home .mms-banner .hawks-watermark{position:absolute;right:90px;top:50%;transform:translateY(-50%) skew(-9deg);z-index:-1;font:950 clamp(46px,7vw,104px)/.8 system-ui,sans-serif;letter-spacing:-.075em;white-space:nowrap;color:#fff;opacity:.06;pointer-events:none;user-select:none}
body.v42-home #subject-hub-home .mms-banner span:not(.hawks-watermark){color:#d0d0d2!important}
body.v42-home #subject-hub-home .v32-hero{background:#080808;border-color:#424242;box-shadow:0 16px 32px #0005}
body.v42-home #subject-hub-home .v32-hero-art:after{background:linear-gradient(90deg,#000000ed 0%,#000000b8 38%,#00000010 76%),linear-gradient(0deg,#0009,transparent 42%)}
body.v42-home #subject-hub-home .v32-hero-copy p{color:#e1e1e4}
body.v42-home #subject-hub-home .v32-hero-credit{background:#080808de}
body.v42-home .v42-scene-tools button,body.v42-home .v42-theme{background:#151515e8;border-color:#656565;color:white}
body.v42-home .v42-scene-tools button:hover,body.v42-home .v42-theme:hover{background:#292929;border-color:#e9bb58}
body.v42-home #subject-hub-home .one-card.one-grade-card{--grade:#efefef;box-shadow:0 8px 18px #0002}
body.v42-home #subject-hub-home .one-card[href="grade-7.html"]{--grade:#e9bb58}
body.v42-home #subject-hub-home .one-card[href="grade-8.html"]{--grade:#477fe5}
body.v42-home.v42-light #subject-hub-home .one-card[href="grade-6.html"]{--grade:#636363}
body.v42-home #subject-hub-home .v32-grade-photo:after{background:linear-gradient(0deg,#0808089e,transparent 55%)}
body.v42-home #subject-hub-home .v32-grade-no{background:#111e;border-color:#ffffff50}
body.v42-home .v322-rail{position:relative;isolation:isolate;box-shadow:0 8px 18px #0002}
body.v42-home .v322-rail-head{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(110deg,#242424,#101010)!important;border-left-color:#477fe5}
body.v42-home .v322-rail-7 .v322-rail-head{border-left-color:#e9bb58}
body.v42-home .v322-rail-head span{color:#d4d4d6}
body.v42-home .v322-rail-head .hawks-watermark{position:absolute;right:7px;bottom:-14px;z-index:-1;color:white;opacity:.055;font:950 58px/.9 system-ui;letter-spacing:-.08em;transform:skew(-9deg);pointer-events:none}
body.v42-home .v322-rail .v32-lab-grid a{background:color-mix(in srgb,var(--v42-panel),#888 7%);border-color:var(--v42-line);border-left-color:#477fe5}
body.v42-home .v322-rail-7 .v32-lab-grid a{border-left-color:#e9bb58}
body.v42-home .v322-rail .v32-lab-grid a:hover{background:color-mix(in srgb,var(--v42-panel),#999 14%);border-color:#477fe5}
body.v42-home .v42-lab-thumb{background:#151515;border-color:#6666}
body.v42-home #subject-hub-home .sh-lesson-tools .sh-btn{background:#181818;color:#fff;border:1px solid #555;border-left:4px solid #245ecb;box-shadow:none}
body.v42-home #subject-hub-home .sh-lesson-tools .sh-btn:hover{border-color:#e9bb58}
body.v42-home .one-footer{border-top-color:var(--v42-line)}
@media(max-width:600px){body.v42-home #subject-hub-home .v32-hero-art:after{background:linear-gradient(90deg,#000d,#0005),linear-gradient(0deg,#000c,transparent 60%)}body.v42-home #subject-hub-home .mms-banner .hawks-watermark{right:45px;font-size:55px}}

/* Production cascade: retain existing navigation and readable text. */
html body.home-v32.v42-home #subject-hub-home .mms-banner{background:linear-gradient(110deg,#1b1b1b,#101010)!important;background-image:linear-gradient(110deg,#1b1b1b,#101010)!important}
html body.home-v32.v42-home .one-header{background:#080808!important;background-image:none!important}
body.v42-home .one-card .one-cap{color:var(--v42-muted)!important}
body.v42-home .one-footer,body.v42-home .one-footer a{color:var(--v42-muted)}
body.v42-home .v322-rail-head .hawks-watermark,body.v42-home #subject-hub-home .mms-banner .hawks-watermark{color:white!important;opacity:.06}
body.v42-home .v42-theme{flex-shrink:0}
@media(max-width:600px){body.v42-home #subject-hub-home .mms-banner{flex-wrap:wrap}body.v42-home #subject-hub-home .mms-banner .v42-theme{min-height:44px}body.v42-home #subject-hub-home .v32-hero-credit{bottom:59px;right:10px;max-width:85%}}
