/* Atlas & Age 2.0 — phase 1. Scoped to the home page; learning activities retain their own styles. */
.home-v2{--ink:#172b3c;--muted:#526374;--cream:#f6f8fa;background:#f6f8fa;font-size:1rem}
.home-v2 .container{width:min(1180px,calc(100% - 64px))}
.home-v2 a,.home-v2 button{-webkit-tap-highlight-color:transparent}
.home-v2 .skip-link{position:fixed;left:1rem;top:-5rem;z-index:100;background:#e6c27a;color:#081a30;padding:.75rem 1rem;border-radius:4px}
.home-v2 .skip-link:focus{top:1rem}
.home-v2 .site-header{background:#081a30;backdrop-filter:none;border-bottom:1px solid #ffffff16}
.home-v2 .nav-wrap{min-height:88px;padding:12px 0;flex-wrap:nowrap;justify-content:space-between;gap:32px}
.home-v2 .brand{font-size:1.28rem;letter-spacing:.07em;color:#e5c785;display:inline-flex;align-items:center;text-decoration:none}
.home-v2 .brand-mark{width:29px;height:29px;font-size:17px}
.home-v2 #main-navigation{margin-left:auto;gap:30px;flex-wrap:nowrap;font-size:1rem}
.home-v2 #main-navigation a{padding:10px 0;position:relative;white-space:nowrap}
.home-v2 #main-navigation a::after{position:absolute;content:"";left:0;right:0;bottom:2px;height:1px;background:#d9b66f;transform:scaleX(0);transition:transform .18s}
.home-v2 #main-navigation a:hover::after{transform:scaleX(1)}
.home-v2 #language-slot{flex:none}.home-v2 .language-switch{margin:0;border:0;border-left:1px solid #ffffff26;padding:0 0 0 16px;border-radius:0;background:transparent;gap:2px}
.home-v2 .language-switch a{font-size:.875rem!important;border-radius:4px;min-width:36px;padding:7px!important}
.home-v2 .language-switch a[aria-current=true]{background:#e2c17b}
.home-v2 .home-hero{background:#081a30;color:white;padding:64px 0 44px}
.home-v2 .hero-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:50px;align-items:center}
.home-v2 .hero-copy{padding:16px 0}.home-v2 .section-kicker{font-size:.8rem;letter-spacing:.16em;font-weight:650;color:#957134;margin:0 0 16px}
.home-v2 .home-hero .section-kicker{color:#d8b775}
.home-v2 .home-hero h1{font:400 clamp(2.6rem,4.6vw,4.2rem)/1.12 Georgia,serif;letter-spacing:-.035em;margin:0 0 24px}
.home-v2 .home-hero h1 em{font-weight:400;color:#e7ca8e}
.home-v2 .hero-intro{max-width:510px;color:#c5d1dc;font-size:1.06rem;line-height:1.75;margin:0 0 30px}
.home-v2 .identity-art{display:block;width:100%;height:auto;border-radius:3px;box-shadow:none}
.home-v2 .btn{border-radius:5px;padding:13px 22px;box-shadow:none;font-size:.95rem;font-weight:650;transition:background .18s,transform .18s}
.home-v2 .btn-gold{background:#dfbf79;color:#112336}
.home-v2 .btn-gold:hover{background:#eed298}
.home-v2 #home-search{max-width:760px;margin:48px auto 0}
.home-v2 #home-search label{display:block;text-align:center;font-size:.9rem;color:#c9d4df;margin-bottom:12px}
.home-v2 .search-shell{display:flex;align-items:center;background:#fff;border-radius:7px;padding:6px;gap:12px;color:#162a3e;box-shadow:0 16px 35px #020f211f}
.home-v2 .search-shell svg{width:20px;height:20px;fill:none;stroke:#718293;stroke-width:1.7;flex:none;margin-left:12px}
.home-v2 #resource-search{width:100%;min-width:0;border:0;border-radius:4px;padding:12px 0;background:white;box-shadow:none;font-size:1rem;color:#172941}
.home-v2 .search-shell button{border:0;background:#102b46;color:white;border-radius:4px;padding:12px 20px;min-height:46px;font-weight:600;flex:none}
.home-v2 section{padding:68px 0;scroll-margin-top:106px}
.home-v2 .section-top{margin-bottom:28px;align-items:center}
.home-v2 .section-title{font:400 clamp(1.7rem,2.7vw,2.45rem)/1.2 Georgia,serif}
.home-v2 .subjects{padding-bottom:36px}
.home-v2 .subject-cards{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.home-v2 .subject-card{display:block;position:relative;overflow:hidden;border-radius:7px;isolation:isolate;color:#fff;text-decoration:none;min-height:260px;background:#102d40}
.home-v2 .subject-card>img,.home-v2 .subject-card>svg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.65;transition:transform .35s ease}
.home-v2 .subject-card::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#07192af2 0%,#07192a25 100%);z-index:-1}
.home-v2 .subject-card>img,.home-v2 .subject-card>svg{z-index:-2}
.home-v2 .subject-card:hover>img,.home-v2 .subject-card:hover>svg{transform:scale(1.025)}
.home-v2 .subject-copy{padding:30px;min-height:260px;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start}
.home-v2 .subject-icon{font-size:1.5rem;color:#e3c88a;margin-bottom:4px}.home-v2 .globe-icon{color:#89d4cf}
.home-v2 .subject-copy h3{font:400 2.1rem Georgia,serif;margin:0 0 8px}
.home-v2 .subject-copy p{color:#d5dfe6;margin:0;font-size:1rem;max-width:350px}
.home-v2 .featured{padding-top:36px}
.home-v2 .featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
.home-v2 .featured-card{min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.home-v2 .feature-image{width:100%;aspect-ratio:16/9;overflow:hidden;background:#102d40;border-radius:6px;margin-bottom:20px}
.home-v2 .feature-image img{width:100%;height:100%;object-fit:cover;display:block}
.home-v2 .feature-meta{display:flex;gap:10px;justify-content:space-between;width:100%;font-size:.8rem;letter-spacing:.025em;align-items:center;color:#506376;flex-wrap:wrap}
.home-v2 .coming{color:#775a22}.home-v2 .free-label{color:#24675c}
.home-v2 .featured-card h3{font:400 1.6rem/1.22 Georgia,serif;margin:12px 0}
.home-v2 .featured-card>p{color:#526374;margin:0 0 18px;font-size:1rem}
.home-v2 .text-link{display:inline-block;font:600 .94rem/1.5 ui-sans-serif,system-ui,sans-serif;color:#173b59;text-underline-offset:5px;background:none;border:0;border-bottom:1px solid #aebdc8;border-radius:0;padding:7px 0;cursor:pointer;text-decoration:none;text-align:left}
.home-v2 .featured-card>.text-link,.home-v2 .featured-card>details{margin-top:auto}
.home-v2 .featured-card details{font-size:1rem;width:100%;color:#526374}.home-v2 .featured-card details p{margin:12px 0}.home-v2 .featured-card summary{list-style:none}.home-v2 .featured-card summary::-webkit-details-marker{display:none}
.home-v2 .resources-section{background:white;border-block:1px solid #dee5eb}
.home-v2.catalog-closed #resources{display:none}
.home-v2 .filter-panel{border-bottom:1px solid #dae2e8;margin:24px 0 16px;padding-bottom:16px}.home-v2 .filter-panel>summary{cursor:pointer;font-weight:650;padding:10px 0;min-height:44px}
.home-v2 .discovery-filters{margin-top:16px}.home-v2 .discovery-filters select{border-radius:4px;appearance:none;padding-right:24px;background-image:linear-gradient(45deg,transparent 50%,#526374 50%),linear-gradient(135deg,#526374 50%,transparent 50%);background-position:calc(100% - 14px) 50%,calc(100% - 9px) 50%;background-size:5px 5px;background-repeat:no-repeat}
.home-v2 .resource-grid{gap:26px}.home-v2 .resource-card{border:1px solid #e1e7eb;border-radius:6px;box-shadow:none;min-height:0}.home-v2 .resource-art{height:auto;aspect-ratio:16/9;background:#102b46}.home-v2 .resource-art::before{display:none}.home-v2 .resource-card .resource-art img{height:100%;width:100%;object-fit:cover}.home-v2 .resource-content{padding:22px}.home-v2 .resource-content p{font-size:1rem}.home-v2 .tag{font-size:.75rem;border-radius:3px;letter-spacing:.03em}.home-v2 .resource-meta{font-size:.9rem}.home-v2 .resource-actions .btn{font-size:.875rem;padding:10px 12px}.home-v2 .resource-language{font-size:.9rem!important}
.home-v2 .collection-links{display:flex;flex-wrap:wrap;gap:12px 24px;border-top:1px solid #e0e6ea;margin-top:32px;padding-top:24px;font-size:.9rem;color:#526374}
.home-v2 .teacher-section{padding:54px 0;background:#edf2f5;border-top:1px solid #dee5eb}
.home-v2 .teacher-inner{position:relative;display:grid;grid-template-columns:1fr auto;gap:60px;align-items:center}.home-v2 .teacher-inner p:not(.section-kicker){color:#526374;max-width:600px;margin:15px 0 0}.home-v2 .teacher-links{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.home-v2 .anchor-alias{position:absolute;top:-106px}
.home-v2 .footer{padding:34px 0;background:#081a30}.home-v2 .footer-inner{gap:24px;font-size:.875rem}.home-v2 .footer nav{display:flex;gap:24px;align-items:center;flex-wrap:wrap}.home-v2 .footer nav a,.home-v2 .footer nav button{font:inherit;background:transparent;border:0;color:#d0dbe4;text-decoration:none;cursor:pointer;padding:8px 0;min-height:44px}.home-v2 .footer .brand{font-size:1rem}
.home-v2 .info-dialog{width:min(620px,calc(100% - 32px));border:0;border-radius:8px;padding:36px;max-height:calc(100dvh - 40px);color:#172941;line-height:1.7}.home-v2 .info-dialog h2{font:400 1.9rem Georgia,serif;margin:0 35px 20px 0}.home-v2 .info-dialog li{margin:12px 0}.home-v2 .info-close{position:absolute;right:12px;top:10px;width:44px;height:44px;border:0;background:#edf2f5;border-radius:4px;font-size:1.5rem;color:#172941}
@media(max-width:950px){.home-v2 .container{width:calc(100% - 40px)}.home-v2 .nav-wrap{gap:22px}.home-v2 #main-navigation{gap:20px}.home-v2 .hero-layout{gap:24px}.home-v2 .home-hero h1{font-size:2.9rem}.home-v2 .featured-grid{gap:20px}.home-v2 .featured-card h3{font-size:1.4rem}.home-v2 .teacher-inner{gap:32px}}
@media(max-width:760px){.home-v2 .nav-wrap{gap:10px}.home-v2 #main-navigation{gap:14px}.home-v2 .brand{font-size:1.05rem}.home-v2 .brand-mark{display:none}.home-v2 .hero-layout{grid-template-columns:1fr}.home-v2 .home-hero{padding:38px 0 32px}.home-v2 .hero-copy{max-width:600px}.home-v2 .identity-art{width:min(430px,100%);margin:0 auto}.home-v2 .home-hero h1{font-size:clamp(2.6rem,6.6vw,3.8rem)}.home-v2 #home-search{margin-top:30px}.home-v2 .subject-cards{gap:16px}.home-v2 .subject-copy{padding:24px}.home-v2 .featured-grid{grid-template-columns:1fr}.home-v2 .featured-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:24px;align-items:start}.home-v2 .feature-image{grid-row:1/5;margin:0}.home-v2 .featured-card h3{font-size:1.65rem}.home-v2 .featured-card>.text-link{justify-self:start}.home-v2 .teacher-inner{grid-template-columns:1fr;gap:20px}}
@media(max-width:680px){.home-v2 .container{width:calc(100% - 32px)}.home-v2 .nav-wrap{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;min-height:72px;padding:10px 0}.home-v2 #main-navigation{grid-column:1/-1;grid-row:2;margin:0;padding:12px 0 4px;gap:2px;order:4;display:none}.home-v2 #main-navigation.is-open{display:flex}.home-v2 #main-navigation a{display:block!important;padding:12px 0;font-size:1rem}.home-v2 #language-slot{grid-column:2;grid-row:1}.home-v2 #menu-toggle{grid-column:3;grid-row:1;font-size:.875rem;padding:8px;border-color:#516073;border-radius:4px;min-height:44px;display:block}.home-v2 .language-switch{padding:0;border:0}.home-v2 .language-switch a{min-width:32px;padding:7px 5px!important}.home-v2 .brand{font-size:1rem;letter-spacing:.045em}.home-v2 section{padding:46px 0;scroll-margin-top:88px}.home-v2 .hero-intro{font-size:1rem}.home-v2 .subject-cards{grid-template-columns:1fr}.home-v2 .subject-card,.home-v2 .subject-copy{min-height:230px}.home-v2 .subjects{padding-bottom:22px}.home-v2 .featured{padding-top:22px}.home-v2 .section-top{display:flex;align-items:flex-start;flex-direction:column;gap:12px}.home-v2 .section-title{font-size:1.9rem}.home-v2 .featured-grid{gap:36px}.home-v2 .featured-card{display:flex}.home-v2 .feature-image{margin-bottom:16px}.home-v2 .featured-card>p{margin-bottom:10px}.home-v2 .feature-meta{font-size:.875rem}.home-v2 .search-shell{gap:8px}.home-v2 .search-shell svg{display:none}.home-v2 #resource-search{padding-left:10px}.home-v2 .search-shell button{padding:10px 12px;font-size:.875rem}.home-v2 .teacher-section{padding:40px 0}.home-v2 .footer-inner{flex-direction:column;align-items:flex-start;gap:10px}.home-v2 .footer nav{gap:20px}.home-v2 .info-dialog{padding:28px 22px}.home-v2 .discovery-filters{grid-template-columns:1fr}.home-v2 .resource-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.home-v2 *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.home-v2 .subject-icon svg{display:block;width:28px;height:28px;margin-bottom:6px}

.home-v2 .resource-art img[src^="/media/geography/"]{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.home-v2 img[src="/media/geography/societies-at-risk.jpg"]{object-position:50% 65%}
.home-v2 img[src="/media/geography/flood-protection.jpg"]{object-position:65% 50%}
