/* ==========================================================================
   MASTEREDTRAX — mtxmillionare.css
   The collaboration gets a split cover: type on black at the left, the icy
   studio photo filling the right half. The photo is square and bright, so a
   full-bleed background would crop it hard and wash out the header.
   Loaded only by mtxmillionare.html, on top of base.css and components.css.
   ========================================================================== */

.mx-hero{
  position:relative;min-height:100svh;display:grid;grid-template-columns:1fr 1fr;
  background:var(--black);isolation:isolate;
}

/* ------------------------------------------------------------- the photo */
.mx-hero__media{position:relative;grid-column:2;grid-row:1;overflow:hidden}
.mx-hero__media.clip > img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  object-position:56% 30%;filter:saturate(.92) contrast(1.04);
}
/* dark at the top keeps the header icons legible over the bright backdrop;
   dark at the left melts the photo into the type panel */
.mx-hero__media::before{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    linear-gradient(180deg,rgba(6,6,7,.78) 0%,rgba(6,6,7,0) 26%),
    linear-gradient(90deg,var(--black) 0%,rgba(6,6,7,0) 22%),
    linear-gradient(0deg,rgba(6,6,7,.55) 0%,rgba(6,6,7,0) 30%);
}
/* the .clip reveal curtain lifts off pure black, matching the panel */
.mx-hero__media::after{background:var(--black)}
/* a gold hairline down the seam */
.mx-hero__body::after{
  content:"";position:absolute;top:22%;bottom:12%;right:0;width:1px;
  background:linear-gradient(180deg,transparent,var(--line),transparent);
}

/* -------------------------------------------------------------- the type */
.mx-hero__body{
  grid-column:1;grid-row:1;position:relative;z-index:2;
  display:flex;flex-direction:column;justify-content:flex-end;
  padding:calc(38px + var(--header-h) + 40px) clamp(28px,5vw,80px) clamp(54px,9vh,110px) var(--gutter);
}
.mx-hero__title{font-size:clamp(64px,9.6vw,156px);margin:26px 0 0}
.mx-hero__copy{color:var(--muted);font-size:14px;max-width:36ch;margin:34px 0 0;line-height:1.7}
.mx-hero__cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:34px}

/* Live status: says "Próximamente" until products.js finds pieces, then
   switches to the count on its own. */
.mx-hero__status{
  display:flex;align-items:center;gap:12px;margin:44px 0 0;padding-top:20px;
  border-top:1px solid var(--line-soft);
  font-size:9px;letter-spacing:.32em;text-transform:uppercase;color:var(--muted);
}
.mx-hero__status i{
  width:7px;height:7px;border-radius:50%;background:var(--gold);flex:none;
  box-shadow:0 0 0 0 rgba(198,162,74,.6);animation:mx-pulse 2.4s var(--ease) infinite;
}
@keyframes mx-pulse{
  0%{box-shadow:0 0 0 0 rgba(198,162,74,.55)}
  70%,100%{box-shadow:0 0 0 10px rgba(198,162,74,0)}
}

/* ==========================================================================
   Responsive — the photo stacks above the type
   ========================================================================== */
@media(max-width:900px){
  .mx-hero{grid-template-columns:1fr;min-height:0}
  .mx-hero__media{grid-column:1;grid-row:1;height:min(78svh,640px)}
  .mx-hero__media::before{
    background:
      linear-gradient(180deg,rgba(6,6,7,.8) 0%,rgba(6,6,7,0) 30%),
      linear-gradient(0deg,var(--black) 0%,rgba(6,6,7,0) 40%);
  }
  .mx-hero__body{grid-row:2;padding:0 var(--gutter) 64px;margin-top:-120px}
  .mx-hero__body::after{display:none}
}

@media(max-width:560px){
  .mx-hero__title{font-size:58px}
  .mx-hero__cta .btn{flex:1;padding-inline:14px;white-space:nowrap}
}

@media(prefers-reduced-motion:reduce){
  .mx-hero__status i{animation:none}
}
