/* Homepage masthead: floating controls over the workshop, like the approved mockup. */
.home-page{position:relative}
.home-page>header{position:absolute;z-index:5;top:20px;left:50%;transform:translateX(-50%);width:calc(100% - 9%);max-width:1380px;margin:0;padding:7px 14px;gap:12px;border:1px solid #839366;border-radius:5px;background:#07130df2;box-shadow:0 0 0 4px #030b0866,0 8px 25px #0008}
.home-page>header:before,.home-page>header:after{display:none}
.home-page>header>.brand{display:none}
.home-page>header>nav[aria-label="Main navigation"]{justify-content:space-between;gap:4px 13px;flex:1}
.home-page>header>nav[aria-label="Main navigation"] a{font-size:13px;padding:7px 6px;min-height:42px}
.home-page>header .header-search{flex:0 1 200px;max-width:210px;min-height:40px}
.home-page>header .header-search button{min-height:40px}
.home-page>header .header-socials{position:absolute;top:calc(100% + 14px);right:0;left:auto;width:auto;padding:0;border:0;gap:8px;background:none;flex:none}
.home-page>header .header-socials .social-label{display:none}
.home-page>header .header-socials a{font-size:12px;min-height:38px;padding:0 11px;background:#07130de8;border-color:#839366;box-shadow:0 3px 10px #0006;text-decoration:none}
.home-page .hero{position:relative}
.home-page .home .approved-scene{position:relative;aspect-ratio:auto;height:clamp(570px,47vw,740px);overflow:hidden;border:0;border-bottom:3px solid #827b51;background:#111a10;box-shadow:0 10px 30px #0006}
.masthead-art{position:absolute;inset:0;width:100%;height:100%;display:block}
.home-page .home .approved-scene{height:clamp(490px,40vw,640px);background:radial-gradient(ellipse at 50% 0,#53452855,transparent 80%),#0b160f}
.masthead-art{top:82px;height:calc(100% - 82px)}
.masthead-brand{top:115px;left:5%;padding:0;border:0;background:none;box-shadow:none}
.masthead-brand .masthead-logo{display:none}
.masthead-brand p{display:none}
.home-page .approved-scene:after{z-index:1;inset:0;border:0;background:linear-gradient(180deg,#02080655,transparent 25% 65%,#041008c9);box-shadow:inset 0 0 75px #0005}
.masthead-brand{position:absolute;z-index:2;top:130px;left:5%;padding:12px 20px 18px;border:1px solid #9a87544d;background:#08130dd9;box-shadow:0 12px 35px #0006;max-width:350px}
.masthead-logo{position:relative;display:block;width:270px;aspect-ratio:285/130;overflow:hidden}
.home-page .approved-scene .masthead-logo img{position:absolute;display:block;width:538.947%;height:auto;max-width:none;left:-45.614%;top:-53.846%;transform:none}
.masthead-brand p{font:12px/1.7 Consolas,monospace;letter-spacing:1px;color:#dfcca0;margin:12px 0 0}
.masthead-actions{position:absolute;z-index:3;left:5%;bottom:103px;display:flex;gap:14px;flex-wrap:wrap}
.masthead-actions .button{padding:15px 20px;min-height:50px;background:#071d13f0;color:#b5efb7;border:1px solid #85c492;box-shadow:0 4px 15px #0007;display:inline-flex;gap:25px;align-items:center;font-size:15px}
.masthead-actions .masthead-explore{background:#b7d2a3;color:#112417;border-color:#b7d2a3;font-weight:600}
.masthead-actions .button:hover{background:#29452b;color:#f2edcf}
.home-page .home .subject-shelves{position:relative;z-index:3;margin:-81px 0 0;min-height:81px;background:#06130ff2;border:1px solid #819263;box-shadow:0 5px 25px #0008}
.home-page .home .subject-shelves a{min-height:79px}
.home-page .welcome-strip{order:2;position:relative;padding:25px 5%;margin-top:0;display:none}
.home-page .welcome-strip h1{font-size:32px}
/* The visual motto remains in the sign; retain a proper heading for assistive tech. */
.home-page .welcome-strip #welcome-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.home-page .hero:has(.welcome-strip){margin-bottom:0}
.home-page .featured-section{padding-top:40px}
@media(min-width:1500px){.home-page .home .approved-scene{height:640px}}
@media(max-width:1120px) and (min-width:701px){.home-page>header{width:94%;top:15px;gap:4px 12px}.home-page>header>nav[aria-label="Main navigation"]{gap:2px 9px}.home-page>header>nav[aria-label="Main navigation"] a{font-size:12px;padding:7px 3px}.home-page>header .header-search{flex:1 0 100%;max-width:none}.masthead-brand{top:175px}.home-page .home .approved-scene{height:650px}.home-page .home .subject-shelves{margin-top:-148px;min-height:148px}.home-page .home .subject-shelves a{min-height:72px}.masthead-actions{bottom:175px}}
@media(max-width:700px){
  .home-page>header{position:relative;top:auto;left:auto;transform:none;width:100%;border-radius:0;padding:12px 5%;margin:0;gap:10px;box-shadow:none}
  .home-page>header>.brand{display:block;width:95px}
  .home-page>header>nav[aria-label="Main navigation"]{order:2;flex:1 0 100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px 12px;justify-content:start}
  .home-page>header>nav[aria-label="Main navigation"] a{font-size:12px;white-space:normal;min-height:44px;padding:7px 0}
  .home-page>header .header-search{flex:1;max-width:none;min-width:0;order:1}
  .home-page>header .header-socials{position:static;order:3;width:100%;display:flex;flex:1 0 100%;padding-top:8px;border-top:1px dashed #5a6348;gap:8px 14px;justify-content:flex-start}
  .home-page>header .header-socials a{min-height:44px;padding:0 10px}
  .home-page .home .approved-scene{height:470px}
  .masthead-art{opacity:.85}
  .masthead-brand{top:24px;left:5%;padding:10px 14px 14px;max-width:250px;background:#07130de0}
  .masthead-logo{width:190px}.masthead-brand p{font-size:11px;letter-spacing:.5px}
  .masthead-actions{left:5%;right:5%;bottom:28px;gap:10px;flex-direction:column;align-items:flex-start}
  .masthead-actions .button{font-size:15px;min-height:48px;padding:12px 16px}
  .home-page .home .subject-shelves{margin-top:16px;min-height:0}
  .home-page .home .subject-shelves a{min-height:74px}
  .home-page .featured-section{padding-top:30px}
}
@media(forced-colors:active){.home-page>header,.home-page>header .header-socials a,.masthead-brand,.masthead-actions .button{background:Canvas;color:CanvasText;border:1px solid CanvasText}.masthead-brand p{color:CanvasText}.home-page .approved-scene:after{display:none}}
.masthead-brand{display:none}
@media(min-width:1121px){.home-page .home .subject-shelves{margin-top:-40px}.masthead-actions{bottom:50px}}
@media(max-width:1120px) and (min-width:701px){.home-page .home .approved-scene{height:650px}.masthead-art{top:155px;height:calc(100% - 155px)}}
@media(max-width:700px){.home-page .home .approved-scene{height:350px}.masthead-art{top:0;height:100%}.masthead-actions{bottom:22px}.masthead-brand{display:none}}
/* Quieter glass controls over the workshop image. */
.masthead-actions{gap:10px}
.masthead-actions .button,.masthead-actions .masthead-explore{min-height:44px;padding:9px 15px;gap:15px;border:1px solid #b6c6a17a;border-radius:8px 3px 8px 3px;background:#071a115e;color:#e4eed5;font-size:13px;font-weight:500;letter-spacing:.15px;box-shadow:inset 0 1px #e5efcb18,0 2px 9px #0003;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);text-shadow:0 1px 3px #000}
.masthead-actions .button:hover{background:#193522a6;color:#fff3d4;border-color:#d1dab2b3;box-shadow:0 2px 9px #0004}
.masthead-actions .button:focus-visible{outline:3px solid #c1efa5;outline-offset:4px;background:#163321c9}
@media(max-width:700px){.masthead-actions{gap:9px}.masthead-actions .button{min-height:44px;font-size:13px;padding:9px 14px}}
@media(forced-colors:active){.masthead-actions .button,.masthead-actions .masthead-explore{background:Canvas;color:LinkText;border-color:LinkText;backdrop-filter:none;text-shadow:none}}
