/* HATORI HILLS 4.4.8 — MOBILE HERO FIX
   CSS-only responsive art direction. The original desktop hero image and
   desktop layout remain completely unchanged. The original moon is revealed
   by positioning the same approved bitmap; the full name is real HTML text. */
.mobile-hero-brand{display:none}
@media(max-width:790px){
  .hero{isolation:isolate}
  .hero-scene{z-index:-1!important}
}
@media(max-width:550px){
  .hero{
    min-height:0!important;
    padding:348px 0 48px!important;
    background:#0b061b!important;
    overflow:hidden;
  }
  .hero-scene{
    inset:0!important;
    height:100%!important;
    background-image:
      linear-gradient(180deg,rgba(9,5,24,.03) 0%,rgba(9,5,24,.03) 30%,rgba(11,6,27,.18) 45%,rgba(11,6,27,.84) 71%,#0b061b 95%),
      url('assets/hero-moon-4.4.3.png')!important;
    background-size:100% 100%,auto 520px!important;
    background-position:center top,calc(50% + 310px) top!important;
    background-repeat:no-repeat!important;
    opacity:1!important;
  }
  /* Keep decorative gradients behind the live wordmark and card. */
  .hero::before{pointer-events:none!important;opacity:.18!important}
  .hero::after{pointer-events:none!important;opacity:.6!important}
  .mobile-hero-brand{
    display:flex!important;
    position:absolute;
    z-index:2;
    top:229px;
    left:10px;
    right:10px;
    justify-content:center;
    align-items:center;
    color:#f3d8bb;
    pointer-events:none;
    text-shadow:0 2px 18px rgba(6,2,21,.85),0 0 14px rgba(217,177,235,.23);
  }
  .mobile-hero-wordmark{
    font-family:Georgia,'Times New Roman',serif!important;
    font-size:clamp(24px,6.45vw,34px)!important;
    letter-spacing:.115em;
    font-weight:400;
    white-space:nowrap;
    line-height:1.2;
  }
  .mobile-brand-i{position:relative}
  .mobile-brand-star{
    position:absolute;
    left:50%;top:-1.3em;
    transform:translateX(-50%);
    font-size:.54em;
    color:#f8d9a5;
    line-height:1;
  }
  .hero-grid{position:relative;z-index:3;grid-template-columns:minmax(0,1fr)!important}
  .hero .hero-intro{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:23px 20px 24px!important;
    transform:none!important;
  }
  .hero .hero-intro h1{
    font-size:clamp(29px,7.7vw,40px)!important;
    line-height:1.12!important;
    letter-spacing:-.035em!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  .hero .hero-intro .hero-description{font-size:12px;line-height:1.6!important}
  .hero .hero-intro .actions{gap:8px;flex-wrap:wrap}
  .hero .hero-intro .btn{font-size:11px;padding:11px 12px}
  .hero .hero-perks{font-size:9px}
}
@media(max-width:365px){
  .hero{padding-top:335px!important}
  .mobile-hero-brand{top:221px}
  .mobile-hero-wordmark{font-size:clamp(20px,6.2vw,24px)!important;letter-spacing:.08em}
  .hero .hero-intro{padding:21px 16px!important}
  .hero .hero-intro h1{font-size:clamp(26px,7.5vw,32px)!important}
}
/* Tablet: show the whole artwork rather than cropping its right-hand lettering. */
@media(min-width:551px) and (max-width:790px){
  .hero-scene{background-size:100% 100%,100% auto!important;background-position:center top,center top!important;background-repeat:no-repeat!important}
  .hero{padding-top:360px!important}
}
