/* =========================================================
   PRESENTACIÓN VISUAL
   Estructuras compartidas únicamente por Home y About.
   ========================================================= */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: center;
  padding-block: clamp(4rem, 9vw, 8rem);
}

.hero-film {
  position: relative;
  width: min(100%, 31rem);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  overflow: hidden;
  background: #000;
  box-shadow: 0 2rem 5rem rgb(0 0 0 / 32%);
}

.hero-film video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  object-fit: cover;
}

/* Los rótulos de estado y los enlaces de texto se cargan desde `v4-interfaz.css`. */

figcaption {
  color: var(--v4-text-tertiary);
  font-family: var(--v4-font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.media-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--v4-petrol-border);
  background: var(--v4-bg-raised);
}

.media-frame figcaption {
  min-height: 4.8rem;
  padding: 0.9rem 1rem;
}

.editorial-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.85rem;
  padding: clamp(1.5rem, 5vw, 3rem);
  color: var(--v4-text-secondary);
  background:
    linear-gradient(135deg, transparent 49.8%, var(--v4-petrol-border) 50%, transparent 50.2%),
    linear-gradient(45deg, transparent 49.8%, var(--v4-petrol-border) 50%, transparent 50.2%),
    var(--v4-bg-deep);
  font-family: var(--v4-font-heading);
  text-align: center;
}

.editorial-placeholder span {
  display: inline-block;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--v4-ochre-muted);
  color: var(--v4-ochre-light);
  background: var(--v4-bg-deep);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.editorial-placeholder p {
  max-width: 31rem;
  margin: 0;
  padding: 0.65rem 0.9rem;
  background: rgb(15 15 15 / 88%);
  font-size: 0.86rem;
  line-height: 1.45;
}

.placeholder-portrait { aspect-ratio: 6 / 7; }
.placeholder-wide { aspect-ratio: 16 / 9; }

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--v4-petrol-border);
}

.section-heading {
  max-width: 56rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.section-heading h2 { max-width: 21ch; }
.secondary-section { background: var(--v4-bg-deep); }
.manual-section { background: var(--v4-bg-raised); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
}

.project-card .media-frame { margin-bottom: 1.4rem; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: center;
}

@media (max-width: 50rem) {
  .hero,
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 38rem) {
  .project-grid { grid-template-columns: 1fr; }
}
