/* Solo la portada teatral. El resto del sitio usa assets/site.css. */
.hero {
  --ink: #2b0a14;
  --bone: #fff2dc;
  --dim: #d4bba8;
  --trigo: #ecc178;
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  display: block;
  min-height: 0;
  padding: 0;
  background: var(--ink);
  color: var(--bone);
}

.hero-stage {
  position: relative;
  isolation: isolate;
  max-width: none;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(7.5rem + env(safe-area-inset-top));
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  padding-inline: max(var(--gutter), calc((100vw - 1680px) / 2 + var(--gutter)));
  overflow: hidden;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(30, 4, 13, .75), rgba(30, 4, 13, .18) 78%),
    linear-gradient(0deg, rgba(27, 3, 11, .75), transparent 48%),
    url("./theatre-interior.webp") center / cover no-repeat;
}
.hero-top { position: relative; z-index: 1; margin-bottom: auto; }
.hero-top .pill {
  border-color: rgba(255, 229, 188, .65);
  background: rgba(38, 6, 17, .55);
  color: #fff4df;
  backdrop-filter: blur(12px);
}
.hero-script {
  margin: clamp(2rem, 7vh, 5rem) 0 .7rem;
  color: #f8d9a5;
  font-family: var(--script);
  font-size: clamp(1.35rem, 2.5vw, 2.4rem);
  font-style: normal;
  font-weight: 700;
}
.hero-name {
  position: relative;
  z-index: 1;
  width: min-content;
  font-family: var(--title);
  font-size: clamp(6rem, 13vw, 12rem);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.015em;
  text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(24, 2, 8, .64);
}
.hero-name .ascd {
  margin-top: 1.1rem;
  color: #f8d9a5;
  font-family: var(--mono);
  font-size: clamp(.58rem, .85vw, .75rem);
  font-weight: 400;
  font-variation-settings: normal;
  line-height: 1.4;
  letter-spacing: .16em;
  text-shadow: none;
  white-space: nowrap;
}
.hero-foot {
  margin-top: clamp(2rem, 5vh, 4rem);
  color: #ffe8c5;
  border-color: rgba(255, 229, 188, .48);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
  padding-block: clamp(4rem, 8vw, 8rem);
  background: var(--ink);
}
.hero.in .rv { opacity: 1; transform: none; }
.hero-grid > div { min-width: 0; }
.hero-grid > div > .eyebrow { display: block; margin-bottom: 1.25rem; color: var(--trigo); }
.hero-grid .lead {
  max-width: 42ch;
  color: var(--bone);
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.42;
}
.hero-stats {
  gap: 1.4rem 2.3rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 225, 167, .4);
}
.hero .stat span { color: var(--trigo); letter-spacing: .12em; }
.hero .frame {
  width: min(100%, 25rem);
  justify-self: center;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 225, 167, .65);
  border-radius: 0;
  box-shadow: none;
}
.hero .frame img { filter: saturate(.85) sepia(.04); object-position: center 23%; }
.hero .frame::after {
  z-index: 2;
  background: linear-gradient(180deg, transparent 60%, rgba(30, 8, 17, .38));
  pointer-events: none;
}
.hero .frame figcaption { z-index: 3; color: var(--bone); }

@media (max-width: 959px) {
  .hero-name { font-size: clamp(5.5rem, 15vw, 9rem); }
  .hero-grid { gap: clamp(2rem, 5vw, 4rem); }
}
@media (max-width: 759px) {
  .hero-stage {
    min-height: 100svh;
    padding-top: calc(6.5rem + env(safe-area-inset-top));
    padding-bottom: calc(1.35rem + env(safe-area-inset-bottom));
  }
  .hero-stage::before {
    background:
      linear-gradient(180deg, rgba(24, 3, 10, .48), rgba(24, 3, 10, .03) 28%, rgba(24, 3, 10, .14) 47%, rgba(24, 3, 10, .7) 78%, rgba(24, 3, 10, .88)),
      url("./theatre-mobile.webp") center / cover no-repeat;
  }
  .hero-top { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
  .hero-top .pill { font-size: .57rem; padding: .58rem .75rem; }
  .hero-script {
    max-width: 25ch;
    margin: 2rem 0 .8rem;
    font-size: clamp(1.2rem, 4.8vw, 1.55rem);
    line-height: 1.12;
  }
  .hero-name { font-size: clamp(4.7rem, 24vw, 7rem); letter-spacing: -.015em; }
  .hero-name .ascd {
    max-width: 32ch;
    margin-top: .9rem;
    font-size: .6rem;
    line-height: 1.4;
    letter-spacing: .09em;
    white-space: normal;
  }
  .hero-foot { margin-top: 1.7rem; font-size: .56rem; letter-spacing: .1em; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.7rem;
    padding-block: 3.7rem 4.5rem;
  }
  .hero-grid .lead { max-width: 38ch; font-size: clamp(1.1rem, 4.3vw, 1.3rem); }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
    margin-top: 2rem;
    padding-top: 1.35rem;
  }
  .hero .stat b { font-size: clamp(1.7rem, 6.5vw, 2.25rem); white-space: nowrap; }
  .hero .stat span { max-width: 12ch; font-size: .55rem; letter-spacing: .06em; }
  .hero .frame { width: min(100%, 24rem); aspect-ratio: 4 / 4.3; }
}
@media (max-width: 420px) {
  .hero-stats { gap: .45rem; }
  .hero-foot { flex-wrap: wrap; }
}
@media (max-width: 759px) and (max-height: 680px) {
  .hero-stage { padding-top: calc(5.6rem + env(safe-area-inset-top)); padding-bottom: 1rem; }
  .hero-script { margin-top: 1rem; }
  .hero-name { font-size: clamp(3.8rem, 19vw, 5rem); }
  .hero-foot { margin-top: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .frame img { transition: none; }
}
