/* 01-inicio: hero. Real arena photograph (La Parka, Triplemanía 34), graded to tungsten and melted into the ink ground.
   One light source (warm, upper right, where the truss lights are). One gold thing: the action button. */
#inicio { position: relative; isolation: isolate; overflow: clip; align-items: stretch; padding-block: 0; background: var(--sf-dark); color: var(--tx-on-dark); }

/* the photograph: right 80 %, washed out to the left and the floor so type sits on ink, never on a box */
#inicio .inicio__photo { position: absolute; bottom: 0; left: calc(max(var(--gutter), 50vw - 630px) + 115px * var(--z, 1)); width: max(calc(100vw - max(var(--gutter), 50vw - 630px) - 115px * var(--z, 1)), calc(76vh * 1.6)); aspect-ratio: 16 / 9; z-index: -2; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / 0.3) 18%, #000 50%, #000 95%, transparent 100%), linear-gradient(0deg, transparent 0%, #000 24%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, rgb(0 0 0 / 0.3) 18%, #000 50%, #000 95%, transparent 100%), linear-gradient(0deg, transparent 0%, #000 24%, #000 86%, transparent 100%);
  mask-composite: intersect; }
#inicio .inicio__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* warm stage light over the truss, plus a low red ember from the ring: light, not fill */
#inicio .inicio__light { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 46% at 74% 22%, rgb(242 196 120 / 0.20), transparent 70%),
    radial-gradient(30% 30% at 62% 92%, rgb(150 30 24 / 0.16), transparent 70%),
    linear-gradient(180deg, rgb(20 12 10 / 0.55) 0%, rgb(20 12 10 / 0) 18%); }

#inicio .inicio__wrap { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; min-height: 100svh; padding-top: max(104px, 13vh); padding-bottom: max(28px, 4.2vh); }
#inicio .inicio__copy { max-width: min(calc(600px * var(--z, 1)), 50vw); margin-block: auto; }
#inicio .inicio__h { font-size: clamp(48px, calc(78px * var(--z, 1)), 124px); line-height: 0.98; font-weight: 300; letter-spacing: -0.035em; color: var(--tx-on-dark); max-width: 7.4em; }
#inicio .inicio__lead { margin-top: clamp(20px, 3.3vh, 36px); max-width: 21em; font-size: clamp(19px, calc(22px * var(--z, 1)), 30px); line-height: 1.42; color: var(--tx-on-dark-2); text-wrap: pretty; }
#inicio .inicio__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: clamp(24px, 4.4vh, 48px); }
#inicio .btn { min-height: clamp(52px, 6.6vh, 64px); padding-inline: clamp(22px, 1.8vw, 30px); font-size: clamp(16px, 1.25vw, 19px); }
#inicio .inicio__keys { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--tx-on-dark-3); }
#inicio .inicio__keys kbd { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 7px; font: 500 12px/1 var(--font); color: var(--tx-on-dark-2); box-shadow: inset 0 0 0 1px var(--ln-on-dark-strong); }

/* credits: who it is for, who it is from, when. A film title card, not a label row */
#inicio .inicio__credits { display: grid; grid-template-columns: repeat(4, max-content) 1fr; gap: 0 clamp(28px, 3.6vw, 64px); align-items: end; margin: clamp(20px, 3vh, 36px) 0 0; padding-top: 16px; border-top: 1px solid var(--ln-on-dark); }
#inicio .inicio__credits dt { font-size: 13px; line-height: 1.3; color: var(--tx-on-dark-3); }
#inicio .inicio__credits dd { margin: 4px 0 0; font-size: clamp(16px, 1.2vw, 20px); line-height: 1.3; color: var(--tx-on-dark); }
#inicio .inicio__mark { align-self: center; padding-right: clamp(4px, 0.6vw, 12px); }
#inicio .inicio__badge { display: block; width: auto; height: clamp(50px, 7.6vh, 86px); filter: drop-shadow(0 8px 20px rgb(0 0 0 / 0.5)); }
#inicio .inicio__7am svg { height: 1.05em; width: auto; margin-top: 0.1em; }
#inicio .inicio__photocap { justify-self: end; text-align: right; }
#inicio .inicio__photocap dd { color: var(--tx-on-dark-2); font-size: clamp(14px, 1vw, 16px); }

/* one-shot entrance: the arena comes up out of the dark, then the copy rises (kit .rv) */
@media (prefers-reduced-motion: no-preference) {
  .js #inicio .inicio__photo img { animation: inicio-up 2400ms var(--ease-out) both; }
  .js #inicio .inicio__light { animation: inicio-fade 2600ms var(--ease-out) 400ms both; }
  @keyframes inicio-up { from { opacity: 0; transform: scale(1.06); filter: brightness(0.35); } to { opacity: 1; transform: none; filter: none; } }
  @keyframes inicio-fade { from { opacity: 0; } to { opacity: 1; } }
  .js #inicio .rv { transition-delay: calc(500ms + var(--i, 0) * 180ms); }
}
.shot #inicio .inicio__photo img, .shot #inicio .inicio__light { animation: none; }

@media (max-width: 900px) {
  #inicio .inicio__photo { width: 100%; opacity: 0.55; }
  #inicio .inicio__copy { max-width: none; }
  #inicio .inicio__credits { grid-template-columns: 1fr 1fr; gap: 14px 24px; }
  #inicio .inicio__mark { grid-column: 1 / -1; }
  #inicio .inicio__photocap { justify-self: start; text-align: left; }
  #inicio .inicio__keys { display: none; }
}

/* up to 1440 wide the headline ran into the opponent's head and La Parka's fist: move the photograph right so at least
   40px of clean dark ground sits between the last letter and the wrestlers */
@media (min-width: 901px) and (max-width: 1440px) {
  #inicio .inicio__photo { left: calc(max(var(--gutter), 50vw - 630px) + 115px * var(--z, 1) + 84px); }
}

#inicio .inicio__cap { position: absolute; right: max(var(--gutter, 90px), calc(50% - var(--max, 1100px) / 2)); bottom: 22px; margin: 0; font-size: 13px; color: var(--tx-on-dark-3); z-index: 2; }
@media (max-width: 720px) { #inicio .inicio__cap { display: none; } }
