/* Black strip behind the header while the hero is on screen; fades out after */
.hbar{position:fixed;left:0;right:0;top:0;height:0;background:#000;z-index:19;pointer-events:none;opacity:0;transition:opacity .45s ease}
html.hb-on .hbar{opacity:1}
@media(prefers-reduced-motion:reduce){.hbar{transition:none}}
.fbrand .fl-dk{display:none}
html:not(.dk) :is(.lay-7,.lay-8,.lay-9,.lay-13,.lay-14,.lay-15,.lay-19,.lay-20) .fbrand .fl-lt{display:none}
html:not(.dk) :is(.lay-7,.lay-8,.lay-9,.lay-13,.lay-14,.lay-15,.lay-19,.lay-20) .fbrand .fl-dk{display:block}
.fbrand img{max-width:130px;height:auto}
@media(max-width:640px){
  .site-header .nav{min-width:0;gap:8px}
  .site-header .brand{min-width:0;gap:0}
  .site-header .brand span{display:none}
  .site-header .brand img{height:34px;width:auto}
  .site-header .icons{gap:8px;margin-left:auto;min-width:0}
  .site-header .icons a:not(.cartlink){display:none}
  .site-header .burger{margin-left:0;padding:4px 6px}
  .site-header .cartlink{font-size:.9rem}
}
@media(max-width:360px){.site-header .icons .themebtn{display:none}}

/* ---- Calmer heroes on small screens: smaller type, less decoration (motion is kept) ---- */
@media(max-width:640px){
 .hero2::before,.hero-bg::after,.hv-state .outline{display:none!important}
 .hero2 h1,.hx h1,.hx.gl h1,.hero h1,.adh-t{font-size:clamp(2rem,9vw,2.6rem)!important;line-height:1.08!important;text-shadow:none!important}
 .hero2 .lead,.hx .lead,.hero .lead,.adh-b{font-size:1rem!important;line-height:1.55;max-width:30em}
 .hero2 .cta,.hx .cta{gap:14px}
 .hero2 .cta .tlink,.hx .cta .tlink{display:none}
 .hx.gl .gp{box-shadow:none!important;-webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important;border-radius:20px}
 .hx.gl .bg{filter:saturate(1) brightness(.78)!important}
 .adh .adh-in{padding-top:44px;padding-bottom:44px;gap:24px}
}
