/* ModelBook — Home controls / profile / mobile parallax */

.profile-premium-section{
  padding:90px 6vw;
  background:#080808;
  color:#f8f2e9;
  text-align:center;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.profile-premium-inner{
  max-width:1180px;
  margin:0 auto;
}

.profile-premium-section h2{
  font-family:var(--display-font, Georgia, serif);
  font-size:clamp(52px,8vw,104px);
  line-height:.88;
  font-weight:400;
  letter-spacing:-.045em;
  margin:16px auto 42px;
}

.profile-premium-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.profile-premium-item{
  min-height:118px;
  border:1px solid rgba(255,255,255,.14);
  background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.025));
  border-radius:26px;
  padding:22px 18px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}

.profile-premium-item span{
  text-transform:uppercase;
  letter-spacing:.22em;
  color:#d8b98e;
  font-size:11px;
  font-weight:800;
  margin-bottom:12px;
}

.profile-premium-item strong{
  font-size:clamp(22px,2.6vw,34px);
  font-weight:500;
  line-height:1.1;
}

.home-carousel-section.is-hidden,
.home-editorial-gallery.is-hidden,
.profile-premium-section.is-hidden{
  display:none!important;
}

/* Mobile parallax replacement.
   iOS does not reliably support background-attachment: fixed.
*/
@media(max-width:900px){
  .hero.v6-hero.hero-cropped.mobile-parallax{
    position:relative!important;
    overflow:hidden!important;
    background-image:none!important;
    isolation:isolate;
  }

  .hero.v6-hero.hero-cropped.mobile-parallax::before{
    content:"";
    position:absolute;
    inset:-14% 0;
    z-index:-2;
    background-image:
      linear-gradient(90deg,rgba(0,0,0,.70),rgba(0,0,0,.35)),
      var(--hero-mobile-image);
    background-size:var(--hero-mobile-size,cover) auto;
    background-position:var(--hero-mobile-position,center);
    background-repeat:no-repeat;
    transform:translate3d(0,var(--mobile-parallax-y,0px),0);
    will-change:transform;
  }

  .hero.v6-hero.hero-cropped.mobile-parallax::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    background:linear-gradient(to bottom,rgba(0,0,0,.10),rgba(0,0,0,.22));
    pointer-events:none;
  }
}

@media(max-width:800px){
  .profile-premium-section{
    padding:72px 24px;
  }

  .profile-premium-grid{
    grid-template-columns:1fr 1fr;
    gap:12px;
  }

  .profile-premium-item{
    min-height:104px;
    border-radius:22px;
    padding:18px 12px;
  }

  .profile-premium-item strong{
    font-size:22px;
  }
}

@media(max-width:420px){
  .profile-premium-grid{
    grid-template-columns:1fr;
  }
}
