/* =========================================
   TEATRO A PULSO
   Revista cultural digital
   Primera propuesta editorial
   ========================================= */

:root {
  --ink: #11100f;
  --paper: #f5f2ec;
  --red: #a32632;
  --muted: #aaa49d;

  --font-editorial: Georgia, "Times New Roman", serif;
  --font-interface: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-interface);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 5px;
}

::selection {
  background: var(--red);
  color: white;
}

/* CABECERA */

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.8rem 5%;
  background: var(--ink);
  color: var(--paper);
}

.site-logo {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.5rem);
}

.main-nav a {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #e18a91;
}

/* PORTADA */

.hero {
  min-height: 85vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 8rem 10% 10rem;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1050px;
}

.eyebrow {
  margin-bottom: 3rem;
  color: #d7a3a5;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: clamp(5rem, 11vw, 11rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.hero h1 em {
  font-weight: 400;
}

.hero-description {
  max-width: 390px;
  margin: 3.5rem 0 2.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #c5bfba;
}

.editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: gap 0.2s ease;
}

.editorial-link:hover {
  gap: 2rem;
}

.editorial-link span {
  color: #dc6771;
  font-size: 1.2rem;
}

.hero-index {
  position: absolute;
  bottom: 3rem;
  right: 5%;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* MANIFIESTO */

.manifesto {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 3rem;
  padding: 10rem 10%;
  background: var(--paper);
}

.section-number {
  padding-top: 1rem;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.manifesto-content {
  max-width: 850px;
}

.manifesto h2 {
  margin: 0 0 3rem;
  font-family: var(--font-editorial);
  font-size: clamp(3.5rem, 6.5vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 1.05;
}

.manifesto h2 em {
  color: var(--red);
  font-weight: 400;
}

.manifesto p {
  max-width: 470px;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.dark-link {
  color: var(--ink);
}

/* SECCIONES EDITORIALES */

.editorial-sections {
  padding: 8rem 5% 10rem;
  background: #e9e5dd;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
  border-top: 1px solid var(--ink);
  padding-top: 1.5rem;
}

.section-heading span {
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.05em;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.editorial-card {
  display: block;
}

.card-image {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 4 / 5;
  padding: 1.5rem;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.editorial-card:hover .card-image {
  transform: translateY(-5px);
}

.card-image span {
  color: white;
  font-family: var(--font-editorial);
  font-size: 4rem;
  line-height: 1;
}

.card-talleres {
  background: #6e625e;
}

.card-obras {
  background: #371d25;
}

.card-trayectoria {
  background: #8c8275;
}

.card-content {
  padding-top: 1.5rem;
}

.card-content h3 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 0 0 0.8rem;
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 3vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.card-content h3 span {
  color: var(--red);
  font-family: var(--font-interface);
  font-size: 1.3rem;
}

.card-content p {
  max-width: 310px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #514d48;
}

/* CIERRE */

.closing-statement {
  padding: 10rem 10%;
  background: var(--ink);
  color: var(--paper);
}

.closing-statement > p {
  margin-bottom: 4rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.closing-statement h2 {
  margin: 0 0 4rem;
  font-family: var(--font-editorial);
  font-size: clamp(4.5rem, 10vw, 10rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.95;
}

.closing-statement h2 em {
  color: #d68b91;
  font-weight: 400;
}

/* PIE DE PÁGINA */

.site-footer {
  padding: 3rem 5%;
  background: #090909;
  color: var(--paper);
  border-top: 1px solid #34302e;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-content p {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.footer-name {
  font-weight: 900;
}

.footer-copy {
  color: var(--muted);
}

/* TABLETS */

@media (max-width: 1000px) {
  .site-header {
    flex-wrap: wrap;
  }

  .main-nav {
    flex-wrap: wrap;
  }

  .manifesto {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .editorial-grid {
    gap: 1.2rem;
  }
}

/* CELULARES */

@media (max-width: 700px) {
  .site-header {
    padding: 1.5rem 6%;
  }

  .site-logo {
    font-size: 0.9rem;
  }

  .main-nav {
    width: 100%;
    gap: 0.8rem 1.2rem;
  }

  .main-nav a {
    font-size: 0.65rem;
  }

  .hero {
    min-height: 75vh;
    padding: 6rem 7% 8rem;
  }

  .hero h1 {
    font-size: clamp(4rem, 15vw, 7rem);
  }

  .hero-description {
    margin-top: 2.5rem;
  }

  .manifesto {
    padding: 6rem 7%;
  }

  .manifesto h2 {
    font-size: clamp(3rem, 11vw, 5rem);
  }

  .editorial-sections {
    padding: 5rem 7%;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-top: 1.5rem;
  }

  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .card-image {
    aspect-ratio: 5 / 4;
  }

  .closing-statement {
    padding: 7rem 7%;
  }

  .closing-statement h2 {
    font-size: clamp(3.8rem, 13vw, 6rem);
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}


/* AJUSTES EDITORIALES — ENCUADRE UNIVERSO */

#nuestro-universo {
  scroll-margin-top: 0;
}

.editorial-sections {
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.section-heading {
  margin-bottom: 2.5rem;
}

.card-image {
  aspect-ratio: 5 / 4;
}

@media (max-width: 700px) {
  .editorial-sections {
    padding-top: 3rem;
    padding-bottom: 5rem;
  }

  .card-image {
    aspect-ratio: 5 / 4;
  }
}




/* =========================================
   NOSOTRAS — COMPOSICIÓN EDITORIAL
   ========================================= */

.about-label {
  display: block;
  color: #d68b91;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* 01 — NOSOTRAS */

.about-intro {
  padding: 5rem 7% 6rem;
  background: var(--ink);
  color: var(--paper);
}

.about-intro-heading {
  margin-bottom: 3rem;
}

.about-intro-heading h1 {
  margin: 1.5rem 0 0.5rem;
  font-family: var(--font-editorial);
  font-size: clamp(3.5rem, 6vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.about-intro-heading > p {
  margin: 0;
  color: #d68b91;
  font-family: var(--font-editorial);
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-style: italic;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
  margin-top: 3rem;
}

.about-feature-image {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 440px;
  overflow: hidden;
  background: #403537;
}

.about-feature-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(45%);
}

.about-feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17,16,15,0.2),
    rgba(17,16,15,0.82)
  );
}

.about-feature-overlay {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 4vw, 4rem);
}

.about-feature-overlay p {
  max-width: 570px;
  margin: 0;
  font-family: var(--font-editorial);
  font-size: clamp(1.5rem, 2.3vw, 2.5rem);
  line-height: 1.35;
}

.about-intro-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding: clamp(2rem, 4vw, 4rem);
  background: #1c1918;
  color: #d5cfca;
  font-size: 1rem;
  line-height: 1.85;
}

.about-intro-text p {
  margin: 0;
}

.about-intro-text strong {
  color: #e3a0a5;
  font-weight: 600;
}

/* 02 — NUESTRA MIRADA */

.about-approach {
  padding: 6rem 7%;
  background: var(--paper);
}

.approach-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  margin-bottom: 5rem;
}

.approach-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  overflow: hidden;
  background: #b7a49c;
}

.approach-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.approach-image span {
  padding: 2rem;
  color: #4d3d3a;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-align: center;
}

.approach-copy .about-label {
  color: var(--red);
}

.approach-copy h2 {
  margin: 1.5rem 0 2rem;
  font-family: var(--font-editorial);
  font-size: clamp(2.3rem, 3.7vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.approach-intro {
  max-width: 650px;
  font-size: 1rem;
  line-height: 1.85;
}

.approach-intro p {
  margin: 0 0 1.2rem;
}

/* TARJETAS FOTOGRÁFICAS */

.approach-disciplines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.discipline-photo-card {
  min-width: 0;
  background: #544248;
}

.discipline-photo-card summary {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 350px;
  padding: 2rem;
  overflow: hidden;
  color: white;
  cursor: pointer;
  list-style: none;
}

.discipline-photo-card summary::-webkit-details-marker {
  display: none;
}

.discipline-photo-card summary:focus-visible {
  outline: 3px solid #d68b91;
  outline-offset: -5px;
}

.discipline-card-image,
.discipline-card-shade {
  position: absolute;
  inset: 0;
}

.discipline-card-image {
  background: linear-gradient(135deg, #76555b, #352d30);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.discipline-photo-card:nth-child(2) .discipline-card-image {
  background: linear-gradient(135deg, #7b6b64, #393235);
}

.discipline-photo-card:nth-child(3) .discipline-card-image {
  background: linear-gradient(135deg, #60515a, #29272c);
}

.discipline-photo-card:nth-child(4) .discipline-card-image {
  background: linear-gradient(135deg, #8a7268, #44363a);
}

.discipline-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discipline-card-shade {
  background: linear-gradient(
    180deg,
    rgba(17,16,15,0.1),
    rgba(17,16,15,0.85)
  );
}

.discipline-card-content {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  padding-right: 2rem;
}

.discipline-card-number {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #f0b6ba;
}

.discipline-card-title {
  display: block;
  max-width: 540px;
  font-family: var(--font-editorial);
  font-size: clamp(1.8rem, 2.7vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.discipline-card-description {
  display: block;
  max-width: 530px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease,
    margin 0.3s ease;
}

.discipline-card-action {
  position: absolute;
  z-index: 2;
  right: 2rem;
  top: 2rem;
  font-size: 2rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.discipline-photo-card[open] .discipline-card-description {
  max-height: 400px;
  margin-top: 1.5rem;
  opacity: 1;
}

.discipline-photo-card[open] .discipline-card-image {
  filter: blur(5px);
  transform: scale(1.05);
}

.discipline-photo-card[open] .discipline-card-action {
  transform: rotate(45deg);
}

/* 03 — PRINCIPIOS */

.about-principles {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  padding: 7rem 7%;
  background: #e6c9c8;
}

.about-principles .about-label {
  color: #81202a;
}

.principles-heading h2 {
  max-width: 600px;
  margin: 2rem 0 0;
  font-family: var(--font-editorial);
  font-size: clamp(3rem, 5vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.principles-body h3 {
  margin: 0 0 2.5rem;
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 3vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.principles-copy {
  max-width: 650px;
  font-size: 1rem;
  line-height: 1.85;
}

.principles-copy p {
  margin: 0 0 1.5rem;
}

/* 04 — EQUIPO */

.team-section {
  padding: 5rem 7% 6rem;
  background: #e9e5dd;
}

.team-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink);
}

.team-heading > span {
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.team-heading h2 {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.team-heading h2 em {
  color: var(--red);
  font-weight: 400;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.team-card {
  min-width: 0;
}

.team-photo {
  aspect-ratio: 5 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #8d817b;
  color: #eee8e2;
}

.team-card:nth-child(2) .team-photo {
  background: #5b4147;
}

.team-card:nth-child(3) .team-photo {
  background: #a1978b;
}

.team-photo span {
  padding: 2rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-align: center;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding-top: 1.5rem;
}

.team-info h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-editorial);
  font-size: clamp(1.8rem, 2.5vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.team-discipline {
  margin: 0 0 1.5rem;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-bio {
  max-width: 370px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #514d48;
}

/* 05 — ENCUENTRO */

.interior-contact {
  padding: 6rem 10%;
  background: var(--ink);
  color: var(--paper);
}

.interior-contact > p {
  margin-bottom: 3rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.interior-contact h2 {
  margin: 0 0 3rem;
  font-family: var(--font-editorial);
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.interior-contact h2 em {
  color: #d68b91;
  font-weight: 400;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  .about-intro-grid,
  .approach-feature,
  .about-principles {
    grid-template-columns: 1fr;
  }

  .approach-image {
    min-height: 360px;
  }

  .team-grid {
    gap: 1.2rem;
  }
}

@media (max-width: 700px) {
  .about-intro,
  .about-approach,
  .about-principles {
    padding: 4rem 7%;
  }

  .about-intro-grid,
  .approach-disciplines,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .about-feature-image {
    min-height: 370px;
  }

  .approach-image {
    min-height: 320px;
  }

  .discipline-photo-card summary {
    min-height: 320px;
  }

  .team-section {
    padding: 4rem 7%;
  }

  .team-heading {
    display: block;
  }

  .team-heading h2 {
    margin-top: 1.5rem;
  }

  .team-grid {
    gap: 4rem;
  }

  .team-photo {
    aspect-ratio: 4 / 5;
  }

  .interior-contact {
    padding: 5rem 7%;
  }

  .interior-contact h2 {
    font-size: clamp(3.5rem, 12vw, 6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .discipline-card-image,
  .discipline-card-description,
  .discipline-card-action {
    transition: none;
  }
}


/* TALLERES — ARCHIVO EDITORIAL */

.workshops-hero {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 3rem;
  padding: 7rem 7% 8rem;
  background: var(--ink);
  color: var(--paper);
}

.workshops-label,
.workshops-section-heading > span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #d68b91;
}

.workshops-hero-content h1 {
  max-width: 1000px;
  margin: 0;
  font-family: var(--font-editorial);
  font-size: clamp(3.5rem, 7vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 1.05;
}

.workshops-hero-content h1 em {
  color: #d68b91;
  font-weight: 400;
}

.workshops-hero-content > p {
  max-width: 570px;
  margin: 2.5rem 0 0;
  color: #c5bfba;
  font-size: 1.05rem;
  line-height: 1.8;
}

.workshops-section {
  padding: 6rem 7%;
  background: var(--paper);
}

.workshops-current {
  background: #e9e5dd;
}

.workshops-archive {
  background: #e7cfcd;
}

.workshops-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink);
}

.workshops-section-heading > span {
  color: var(--red);
}

.workshops-section-heading h2 {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: clamp(3rem, 5.5vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.workshops-section-heading h2 em {
  color: var(--red);
  font-weight: 400;
}

.workshops-empty {
  margin-top: 4rem;
  padding: 3rem 0;
  border-top: 1px solid #c7bfb8;
}

.workshops-empty p {
  max-width: 650px;
  margin: 0 0 1rem;
  font-family: var(--font-editorial);
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.3;
}

.workshops-empty span {
  font-size: 0.9rem;
  color: #69615d;
}

.workshops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.workshop-card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: #554147;
  color: #e9d9d8;
}

.workshop-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.workshop-card-link:hover .workshop-card-image img {
  transform: scale(1.04);
}

.workshop-card-image > span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.workshop-card-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 1.3rem;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.workshop-card h3 {
  margin: 0.8rem 0;
  font-family: var(--font-editorial);
  font-size: clamp(1.7rem, 2.5vw, 2.8rem);
  font-weight: 400;
}

.workshop-card p {
  line-height: 1.7;
  color: #514d48;
}

@media (max-width: 1000px) {
  .workshops-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .workshops-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .workshops-hero {
    padding: 5rem 7%;
  }

  .workshops-hero-content h1 {
    font-size: clamp(3.2rem, 11vw, 5rem);
  }

  .workshops-section {
    padding: 4rem 7%;
  }

  .workshops-section-heading {
    display: block;
  }

  .workshops-section-heading h2 {
    margin-top: 1.5rem;
  }

  .workshops-grid {
    grid-template-columns: 1fr;
  }

  .workshops-empty {
    margin-top: 2.5rem;
  }
}



/* TALLERES — RECONSTRUCCIÓN DOCUMENTAL */

.tap-workshops {
  background: var(--paper);
  color: var(--ink);
}

.tap-workshops-header {
  padding: 5rem 7% 4rem;
  border-bottom: 1px solid #d5cec6;
}

.tap-workshops-kicker,
.tap-workshops-heading > span,
.tap-workshop-status,
.tap-workshop-testimony > span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: var(--red);
}

.tap-workshops-header h1 {
  margin: 1.2rem 0;
  font-family: var(--font-editorial);
  font-size: clamp(4.5rem, 9vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 1;
}

.tap-workshops-header h1 span {
  color: var(--red);
}

.tap-workshops-introduction {
  max-width: 670px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #514b47;
}

.tap-workshops-index {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #d5cec6;
}

.tap-workshops-index a {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red);
}

.tap-workshops-index a span {
  color: var(--ink);
  font-size: 0.95rem;
}

.tap-workshops-index a:hover span {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.tap-workshops-block {
  padding: 4.5rem 7%;
  scroll-margin-top: 1rem;
  border-bottom: 1px solid #d5cec6;
}

.tap-workshops-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.tap-workshops-heading h2 {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.tap-workshops-announcement {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2.5rem;
  background: #e9e3db;
}

.tap-workshops-announcement p {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: clamp(1.5rem, 2.5vw, 2.3rem);
}

.tap-workshops-announcement span {
  max-width: 350px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #5e5651;
}

.tap-workshop-feature,
.tap-workshop-record {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}

.tap-workshop-image,
.tap-workshop-record-image {
  min-height: 350px;
  aspect-ratio: 5 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: #f1e9e5;
  text-align: center;
}

.tap-workshop-image span,
.tap-workshop-record-image span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.tap-image-current {
  background: linear-gradient(140deg, #8d696b, #3d3033);
}

.tap-image-past-one {
  background: linear-gradient(140deg, #7b6765, #302a2b);
}

.tap-image-past-two {
  background: linear-gradient(140deg, #9b8980, #554647);
}

.tap-workshop-information h3,
.tap-workshop-record-content h3 {
  margin: 0.8rem 0 0.5rem;
  font-family: var(--font-editorial);
  font-size: clamp(2.5rem, 4vw, 4.3rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.tap-workshop-subtitle {
  margin: 0 0 1.5rem;
  color: var(--red);
  font-size: 1rem;
  line-height: 1.6;
}

.tap-workshop-record-content > p,
.tap-workshop-note {
  max-width: 590px;
  color: #514b47;
  font-size: 0.95rem;
  line-height: 1.75;
}

.tap-workshop-facts {
  margin: 2rem 0;
  border-top: 1px solid #cfc6bd;
}

.tap-workshop-facts div {
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr);
  gap: 1.5rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid #d9d1c9;
}

.tap-workshop-facts dt {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--red);
}

.tap-workshop-facts dd {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.tap-workshops-past {
  background: #eae5de;
}

.tap-workshop-record {
  padding: 2.5rem 0;
  border-top: 1px solid #bdb4ab;
}

.tap-workshop-record + .tap-workshop-record {
  margin-top: 2rem;
}

.tap-workshop-testimony {
  margin-top: 2rem;
  padding: 1.5rem;
  border-left: 2px solid var(--red);
  background: rgba(255, 255, 255, 0.35);
}

.tap-workshop-testimony p {
  margin: 0.8rem 0 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #615954;
}

@media (max-width: 800px) {
  .tap-workshops-header,
  .tap-workshops-block {
    padding-left: 6%;
    padding-right: 6%;
  }

  .tap-workshops-heading {
    display: block;
  }

  .tap-workshops-heading h2 {
    margin-top: 0.8rem;
  }

  .tap-workshop-feature,
  .tap-workshop-record {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .tap-workshops-announcement {
    display: block;
  }

  .tap-workshops-announcement span {
    display: block;
    margin-top: 1rem;
  }

  .tap-workshop-image,
  .tap-workshop-record-image {
    min-height: 250px;
  }
}

@media (max-width: 480px) {
  .tap-workshops-header {
    padding-top: 3.5rem;
  }

  .tap-workshops-block {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .tap-workshop-facts div {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .tap-workshops-index {
    gap: 1rem 1.5rem;
  }
}



/* OBRAS — ARCHIVO ESCÉNICO */

.tap-works {
  background: var(--paper);
  color: var(--ink);
}

.tap-works-header {
  padding: 5rem 7% 4rem;
  background: var(--ink);
  color: var(--paper);
}

.tap-works-header > span,
.tap-work-heading > span,
.tap-work-eyebrow,
.tap-work-gallery-label > span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.tap-works-header > span {
  color: #d68b91;
}

.tap-works-header-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  margin-top: 1.5rem;
}

.tap-works-header h1 {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: clamp(4.5rem, 9vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 1;
}

.tap-works-header h1 span {
  color: #d68b91;
}

.tap-works-header-row > p {
  max-width: 380px;
  margin: 0 0 0.7rem;
  color: #c5bfba;
  font-size: 1rem;
  line-height: 1.75;
}

.tap-work {
  padding: 5rem 7%;
  border-bottom: 1px solid #cfc7bf;
}

.tap-work:nth-of-type(even) {
  background: #eae5de;
}

.tap-work-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #bfb6ad;
}

.tap-work-heading > span {
  color: var(--red);
}

.tap-work-heading h2 {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.tap-work-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}

.tap-work-reverse .tap-work-main {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.tap-work-reverse .tap-work-visual {
  order: 2;
}

.tap-work-visual {
  aspect-ratio: 4 / 5;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(145deg, #76565a, #292124);
  color: #f2e7e2;
}

.tap-work-reverse .tap-work-visual {
  background: linear-gradient(145deg, #92837c, #4c3a3d);
}

.tap-work-visual span {
  padding: 2rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-align: center;
}

.tap-work-visual img,
.tap-work-gallery-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tap-work-description {
  padding-top: 0.5rem;
}

.tap-work-eyebrow {
  color: var(--red);
}

.tap-work-synopsis {
  margin: 1.5rem 0;
  font-family: var(--font-editorial);
  font-size: clamp(1.5rem, 2.2vw, 2.3rem);
  line-height: 1.35;
}

.tap-work-process {
  margin: 0 0 3rem;
  color: #57514d;
  font-size: 0.98rem;
  line-height: 1.8;
}

.tap-work-technical {
  padding-top: 1.5rem;
  border-top: 1px solid #c9c0b7;
}

.tap-work-technical dl {
  margin: 1.5rem 0 0;
}

.tap-work-technical dl div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 1.2rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #d5cdc5;
}

.tap-work-technical dt {
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tap-work-technical dd {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.tap-work-gallery {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid #c9c0b7;
}

.tap-work-gallery-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.tap-work-gallery-label > span {
  color: var(--red);
}

.tap-work-gallery-label p {
  margin: 0;
  color: #68605a;
  font-size: 0.85rem;
}

.tap-work-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tap-work-gallery-placeholder,
.tap-work-gallery-photo {
  aspect-ratio: 5 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #b3a29c;
}

.tap-work-gallery-placeholder:nth-child(2) {
  background: #867177;
}

.tap-work-gallery-placeholder:nth-child(3) {
  background: #a89a90;
}

.tap-work-gallery-placeholder span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #f7f1ed;
}

@media (max-width: 900px) {
  .tap-work-main,
  .tap-work-reverse .tap-work-main {
    grid-template-columns: 1fr;
  }

  .tap-work-reverse .tap-work-visual {
    order: 0;
  }

  .tap-work-visual {
    aspect-ratio: 5 / 4;
    min-height: 300px;
  }
}

@media (max-width: 650px) {
  .tap-works-header,
  .tap-work {
    padding-left: 6%;
    padding-right: 6%;
  }

  .tap-works-header-row,
  .tap-work-heading,
  .tap-work-gallery-label {
    display: block;
  }

  .tap-works-header-row > p {
    margin-top: 1.5rem;
  }

  .tap-work-heading h2 {
    margin-top: 1rem;
  }

  .tap-work {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .tap-work-technical dl div {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .tap-work-gallery-grid {
    gap: 0.5rem;
  }

  .tap-work-gallery-placeholder span {
    font-size: 0.5rem;
  }
}



/* TRAYECTORIA — ARCHIVO DOCUMENTAL */

.tap-trajectory {
  background: var(--paper);
  color: var(--ink);
}

.tap-trajectory-header {
  padding: 5rem 7% 3.5rem;
  background: var(--ink);
  color: var(--paper);
}

.tap-trajectory-kicker,
.tap-trajectory-section-heading > span,
.tap-trajectory-project-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.tap-trajectory-kicker {
  color: #d68b91;
}

.tap-trajectory-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 3rem;
  margin-top: 1.5rem;
}

.tap-trajectory-intro h1 {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 1;
}

.tap-trajectory-intro h1 span {
  color: #d68b91;
}

.tap-trajectory-intro p {
  max-width: 410px;
  margin: 0 0 0.5rem;
  color: #c5bfba;
  font-size: 1rem;
  line-height: 1.75;
}

.tap-trajectory-index {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #504b48;
}

.tap-trajectory-index a {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  color: #d68b91;
  font-size: 0.75rem;
  font-weight: 700;
}

.tap-trajectory-index a span {
  color: var(--paper);
  font-size: 0.9rem;
}

.tap-trajectory-index a:hover span {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.tap-trajectory-section {
  padding: 5rem 7%;
  scroll-margin-top: 1rem;
}

.tap-trajectory-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #bdb5ad;
}

.tap-trajectory-section-heading > span {
  color: var(--red);
}

.tap-trajectory-section-heading h2 {
  max-width: 800px;
  margin: 0;
  font-family: var(--font-editorial);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.15;
}

.tap-trajectory-timeline {
  margin-top: 1rem;
}

.tap-trajectory-project {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) minmax(0, 1fr);
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid #d1c8bf;
}

.tap-trajectory-year {
  font-family: var(--font-editorial);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--red);
}

.tap-trajectory-project-label {
  color: var(--red);
}

.tap-trajectory-project-content h3 {
  margin: 0.8rem 0 0.3rem;
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 3vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.05em;
}

.tap-trajectory-project-subtitle {
  margin: 0 0 1.5rem;
  color: #7b343d;
  font-size: 0.95rem;
}

.tap-trajectory-project-description {
  max-width: 700px;
  color: #514b47;
  font-size: 0.95rem;
  line-height: 1.8;
}

.tap-trajectory-project-content dl {
  max-width: 700px;
  margin: 2rem 0;
  border-top: 1px solid #d1c8bf;
}

.tap-trajectory-project-content dl div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #d1c8bf;
}

.tap-trajectory-project-content dt {
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tap-trajectory-project-content dd {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.tap-trajectory-project-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--red);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tap-trajectory-project-link span {
  color: var(--red);
  font-size: 1.2rem;
}

.tap-trajectory-research {
  background: #eae5de;
}

.tap-trajectory-talks {
  background: #e6cecc;
}

.tap-trajectory-text-block {
  max-width: 720px;
  margin: 3rem 0 0 auto;
}

.tap-trajectory-text-block > p {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.tap-trajectory-pending {
  padding: 1.5rem 2rem;
  border-left: 2px solid var(--red);
  background: rgba(255,255,255,0.35);
  color: #625954;
  font-size: 0.9rem;
  line-height: 1.7;
}

@media (max-width: 800px) {
  .tap-trajectory-header,
  .tap-trajectory-section {
    padding-left: 6%;
    padding-right: 6%;
  }

  .tap-trajectory-intro,
  .tap-trajectory-section-heading {
    display: block;
  }

  .tap-trajectory-intro p {
    margin-top: 1.5rem;
  }

  .tap-trajectory-section-heading h2 {
    margin-top: 1rem;
  }

  .tap-trajectory-project {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tap-trajectory-text-block {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .tap-trajectory-header {
    padding-top: 3.5rem;
  }

  .tap-trajectory-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .tap-trajectory-project-content dl div {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}


/* TRAYECTORIA — REDES Y PONENCIAS */

.tap-trajectory-entries {
  max-width: 950px;
  margin: 2rem 0 0 auto;
}

.tap-trajectory-entry {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(50, 35, 35, 0.22);
}

.tap-trajectory-entry-year {
  color: var(--red);
  font-family: var(--font-editorial);
  font-size: 2.4rem;
  letter-spacing: -0.05em;
}

.tap-trajectory-entry h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-editorial);
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.tap-trajectory-entry-place {
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 700;
}

.tap-trajectory-entry p {
  line-height: 1.7;
}

.tap-trajectory-entry small {
  display: block;
  margin-top: 1rem;
  color: #655a56;
  font-size: 0.75rem;
}

.tap-trajectory-partners {
  background: #eae5de;
}

.tap-trajectory-partners-intro {
  max-width: 680px;
  margin: 2.5rem 0;
  font-size: 1rem;
  line-height: 1.8;
}

.tap-trajectory-partners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.tap-trajectory-partner {
  padding: 2rem;
  border: 1px solid #c6bcb3;
  background: rgba(255, 255, 255, 0.3);
}

.tap-trajectory-partner > span {
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tap-trajectory-partner h3 {
  margin: 1rem 0;
  font-family: var(--font-editorial);
  font-size: clamp(1.5rem, 2.5vw, 2.3rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.tap-trajectory-partner p {
  margin-bottom: 0;
  color: #554e49;
  font-size: 0.9rem;
  line-height: 1.75;
}

@media (max-width: 650px) {
  .tap-trajectory-partners-grid {
    grid-template-columns: 1fr;
  }

  .tap-trajectory-entry {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .tap-trajectory-partner {
    padding: 1.5rem;
  }
}



/* CONTACTO — TEATRO A PULSO */

.tap-contact {
  background: #e6cecc;
  color: var(--ink);
}

.tap-contact-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 7rem);
  min-height: 570px;
  padding: 6rem 7%;
}

.tap-contact-heading > span,
.tap-contact-bottom > span {
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.tap-contact-heading h1 {
  margin: 2rem 0 0;
  font-family: var(--font-editorial);
  font-size: clamp(4.5rem, 8vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.tap-contact-heading h1 span {
  color: var(--red);
}

.tap-contact-content {
  padding-top: 3rem;
}

.tap-contact-intro {
  margin: 0 0 1.5rem;
  font-family: var(--font-editorial);
  font-size: clamp(1.6rem, 2.4vw, 2.6rem);
  line-height: 1.35;
}

.tap-contact-description {
  max-width: 500px;
  margin: 0 0 3rem;
  color: #5b4d4d;
  font-size: 0.95rem;
  line-height: 1.8;
}

.tap-contact-channels {
  border-top: 1px solid #ad9695;
}

.tap-contact-channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #ad9695;
  color: var(--ink);
  text-decoration: none;
}

.tap-contact-channel > div {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 0;
}

.tap-contact-channel > div > span {
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.tap-contact-channel strong {
  font-family: var(--font-editorial);
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 400;
  overflow-wrap: anywhere;
}

.tap-contact-arrow {
  color: var(--red);
  font-size: 2rem;
  transition: transform 0.2s ease;
}

.tap-contact-channel:hover .tap-contact-arrow {
  transform: translate(4px, -4px);
}

.tap-contact-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  padding: 3rem 7%;
  background: var(--red);
  color: #f5ece6;
}

.tap-contact-bottom > span {
  color: #e8c2c1;
}

.tap-contact-bottom p {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.tap-contact-bottom em {
  font-weight: 400;
}

@media (max-width: 900px) {
  .tap-contact-main {
    grid-template-columns: 1fr;
    gap: 1rem;
    min-height: 0;
  }

  .tap-contact-content {
    padding-top: 1rem;
  }
}

@media (max-width: 600px) {
  .tap-contact-main {
    padding: 4rem 6%;
  }

  .tap-contact-heading h1 {
    font-size: clamp(3.5rem, 13vw, 5rem);
  }

  .tap-contact-bottom {
    display: block;
    padding: 2.5rem 6%;
  }

  .tap-contact-bottom p {
    margin-top: 2rem;
  }
}



/* TAP — REPARACIÓN ESTRUCTURAL */

/* Códigos: discretos, sin alterar las tipografías originales. */
.tap-photo-marker,
.tap-banner-photo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: fit-content;
  min-width: 68px;
  min-height: 32px;
  padding: 7px 10px;
  border: 1px dashed currentColor;
  background: rgba(130, 110, 110, 0.12);
  color: inherit;
  font: 700 12px/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.tap-photo-marker strong,
.tap-banner-photo strong,
.card-image .tap-photo-marker strong {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

/* Evitar que un marcador cree columnas nuevas. */
.hero,
.manifesto,
.closing-statement,
.about-principles,
.tap-trajectory-header,
.tap-trajectory-partners,
.tap-contact-main {
  position: relative;
}

/* INICIO: fotografía a la derecha, texto a la izquierda. */
.hero-inner {
  position: relative;
  z-index: 3;
  width: min(68%, 920px);
  margin: 0 auto 0 0;
}

.hero > .tap-photo-marker {
  position: absolute;
  top: 50%;
  right: 8%;
  z-index: 2;
  transform: translateY(-50%);
}

/* Manifiesto y cierre: marcadores fuera del flujo. */
.manifesto > .tap-photo-marker,
.closing-statement > .tap-photo-marker {
  position: absolute;
  top: 2rem;
  right: 7%;
  z-index: 2;
}

/* Tarjetas: códigos en una esquina. */
.card-image {
  position: relative;
}

.card-image > .tap-photo-marker {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 4;
}

/* Nosotras: Principios conserva dos columnas. */
.principles-heading > .tap-photo-marker {
  margin-bottom: 2rem;
}

/* Trayectoria: marcadores dentro del contenido. */
.tap-trajectory-entry .tap-photo-marker,
.tap-trajectory-project-content .tap-photo-marker {
  margin-bottom: 1.5rem;
}

/* Contacto: fotografía integrada a la columna izquierda. */
.tap-contact-heading {
  position: relative;
}

.tap-contact-heading > .tap-photo-marker {
  margin-bottom: 2rem;
}

/* CABECERAS FOTOGRÁFICAS:
   imagen a la derecha, transición hacia el centro. */
.tap-photo-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.tap-photo-banner > :not(.tap-banner-photo) {
  position: relative;
  z-index: 2;
}

.tap-banner-photo {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 7%;
  transform: translateY(-50%);
}

/* Cuando agreguemos imágenes, estas clases permitirán
   aplicar una máscara horizontal progresiva. */
.tap-photo-banner::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 0 0 40%;
  background-image: var(--tap-banner-image, none);
  background-size: cover;
  background-position: center;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,0.5) 35%,
    black 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,0.5) 35%,
    black 100%
  );
  pointer-events: none;
}

/* En móviles, priorizar la lectura. */
@media (max-width: 768px) {
  .hero-inner {
    width: 100%;
  }

  .hero > .tap-photo-marker {
    top: auto;
    bottom: 2rem;
    right: 7%;
    transform: none;
  }

  .tap-photo-banner::before {
    inset: 0 0 0 20%;
    opacity: 0.35;
  }
}



/* =========================================================
   TAP — ESPACIOS FOTOGRÁFICOS REALES
   ========================================================= */

.tap-photo-area {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
  border: 1px dashed rgba(70, 45, 50, 0.35);
  background: linear-gradient(135deg, #b9a6a3, #7c6268);
  color: #fff;
}

.tap-photo-area strong {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* Trayectoria: fotografía de portada, a la derecha. */
.tap-trajectory-header {
  position: relative;
  overflow: hidden;
}

.tap-trajectory-header > .tap-photo-area-banner {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  z-index: 0;
  border: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(119, 83, 91, 0.25) 45%,
    rgba(119, 83, 91, 0.75) 100%
  );
}

.tap-trajectory-header > :not(.tap-photo-area-banner) {
  position: relative;
  z-index: 1;
}

/* Trayectoria: fotos de proyectos. */
.tap-trajectory-project {
  grid-template-columns: minmax(100px, 0.25fr) minmax(0, 1fr) minmax(180px, 0.4fr);
}

.tap-trajectory-project > .tap-trajectory-project-content {
  min-width: 0;
}

.tap-trajectory-project-content > .tap-photo-area-project {
  float: right;
  width: min(38%, 290px);
  aspect-ratio: 4 / 3;
  margin: 0 0 1.5rem 2rem;
}

/* Trayectoria: ponencias. */
.tap-trajectory-entry > div:last-child {
  min-width: 0;
}

.tap-trajectory-entry .tap-photo-area-talk {
  float: right;
  width: min(38%, 270px);
  aspect-ratio: 4 / 3;
  margin: 0 0 1.5rem 2rem;
}

/* Trayectoria: redes y colaboraciones. */
.tap-trajectory-partners {
  position: relative;
  overflow: hidden;
}

.tap-trajectory-partners > .tap-photo-area-connections {
  float: right;
  width: min(38%, 420px);
  aspect-ratio: 4 / 3;
  margin: 0 0 2rem 2rem;
  background: linear-gradient(135deg, #d9b9b9, #a77783);
}

/* Contacto: fotografía independiente. */
.tap-contact-main {
  position: relative;
}

.tap-contact-main > .tap-photo-area-contact {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 260px;
  aspect-ratio: 16 / 5;
  background: linear-gradient(135deg, #a77e87, #574149);
}

/* Nosotras: fotografía de principios metodológicos. */
.about-principles {
  position: relative;
}

.about-principles > .tap-photo-area-principles {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 240px;
  aspect-ratio: 16 / 5;
  background: linear-gradient(135deg, #b68c91, #76575f);
}

/* Móvil. */
@media (max-width: 768px) {
  .tap-trajectory-project {
    grid-template-columns: 1fr;
  }

  .tap-trajectory-project-content > .tap-photo-area-project,
  .tap-trajectory-entry .tap-photo-area-talk,
  .tap-trajectory-partners > .tap-photo-area-connections {
    float: none;
    width: 100%;
    max-width: none;
    margin: 1rem 0 2rem;
  }

  .tap-contact-main > .tap-photo-area-contact,
  .about-principles > .tap-photo-area-principles {
    aspect-ratio: 4 / 3;
    min-height: 200px;
  }

  .tap-trajectory-header > .tap-photo-area-banner {
    width: 55%;
    opacity: 0.4;
  }
}



/* =========================================================
   TAP — TRAYECTORIA EDITORIAL DOS COLUMNAS
   ========================================================= */

/* PROYECTOS ADJUDICADOS */

/* Cada proyecto ocupa dos columnas:
   fotografía izquierda / contenido derecha. */

.tap-trajectory-project {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 58%);
  gap: 4rem;
  align-items: start;
}

/* El año deja de ocupar una columna propia. */
.tap-trajectory-project-year {
  display: none;
}

/* La caja del contenido participa directamente en el grid. */


/* Fotografía a la izquierda. */
.tap-trajectory-project-content > .tap-photo-area-project {
  grid-column: 1;
  grid-row: 1 / span 12;
  float: none;
  width: 100%;
  max-width: none;
  aspect-ratio: 4 / 5;
  min-height: 420px;
  margin: 0;
}

/* Los demás elementos quedan a la derecha. */
.tap-trajectory-project-content > :not(.tap-photo-area-project) {
  grid-column: 2;
  min-width: 0;
}

/* PONENCIAS Y ENCUENTROS */

.tap-trajectory-entry {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 58%);
  gap: 4rem;
  align-items: start;
}

/* Año secundario, sin columna propia. */
.tap-trajectory-entry-year {
  display: none;
}

/* El bloque de texto se abre al grid. */


/* Fotografía a la izquierda. */
.tap-trajectory-entry .tap-photo-area-talk {
  grid-column: 1;
  grid-row: 1 / span 12;
  float: none;
  width: 100%;
  max-width: none;
  aspect-ratio: 4 / 5;
  min-height: 420px;
  margin: 0;
}

/* Información a la derecha. */
.tap-trajectory-entry > div:last-child > :not(.tap-photo-area-talk) {
  grid-column: 2;
  min-width: 0;
}

/* MÓVIL */

@media (max-width: 768px) {

  .tap-trajectory-project,
  .tap-trajectory-entry {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tap-trajectory-project-content > .tap-photo-area-project,
  .tap-trajectory-entry .tap-photo-area-talk {
    grid-column: 1;
    grid-row: auto;
    min-height: 260px;
    aspect-ratio: 4 / 3;
  }

  .tap-trajectory-project-content > :not(.tap-photo-area-project),
  .tap-trajectory-entry > div:last-child > :not(.tap-photo-area-talk) {
    grid-column: 1;
  }
}


/* TAP — TRAYECTORIA EDITORIAL DEFINITIVA */

/*
   Cada proyecto y ponencia tiene dos columnas reales:
   fotografía horizontal izquierda / texto derecha.
*/

.tap-trajectory .tap-trajectory-editorial-item {
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
  column-gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding: 3.5rem 0;
}

/* Neutraliza el display: contents de las versiones anteriores. */
.tap-trajectory .tap-trajectory-editorial-copy {
  display: block;
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
}

/* La fotografía comienza en el margen izquierdo real. */
.tap-trajectory .tap-trajectory-editorial-photo {
  display: flex;
  grid-column: 1;
  grid-row: 1;
  float: none;
  position: relative;
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 0;
  height: auto;
  aspect-ratio: 4 / 3;
  margin: 0;
  align-items: center;
  justify-content: center;
}

/* Títulos y años en una misma zona de lectura. */
.tap-trajectory .tap-trajectory-title-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 1.25rem;
  row-gap: 0.25rem;
  margin: 0.7rem 0 0;
}

.tap-trajectory .tap-trajectory-title-line h3 {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
}

.tap-trajectory .tap-trajectory-inline-year {
  flex: 0 0 auto;
  color: var(--red);
  font-family: var(--font-editorial);
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.2;
}

/* Espaciado compacto y deliberado. */
.tap-trajectory .tap-trajectory-editorial-copy
.tap-trajectory-project-subtitle {
  margin: 0.65rem 0 1.5rem;
}

.tap-trajectory .tap-trajectory-editorial-copy
.tap-trajectory-project-description {
  margin: 0 0 1.5rem;
}

.tap-trajectory .tap-trajectory-editorial-copy dl {
  margin: 1.5rem 0;
}

.tap-trajectory .tap-trajectory-editorial-copy
.tap-trajectory-entry-place {
  margin: 0.8rem 0 1.3rem;
}

.tap-trajectory .tap-trajectory-editorial-copy > p:not(
  .tap-trajectory-project-subtitle,
  .tap-trajectory-project-description,
  .tap-trajectory-entry-place
) {
  margin: 0 0 1rem;
}

.tap-trajectory .tap-trajectory-editorial-copy small {
  margin-top: 1rem;
}

/* PONENCIAS: aprovechamiento de todo el ancho disponible. */
.tap-trajectory .tap-trajectory-entries {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.tap-trajectory .tap-trajectory-entry {
  grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
}

/*
   REDES Y COLABORACIONES:
   la fotografía ocupa el fondo completo.
*/

.tap-trajectory .tap-trajectory-partners {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* Marcador de la futura imagen de fondo. */
.tap-trajectory .tap-photo-area-connections {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: flex;
  float: none;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto;
  margin: 0;
  border: 0;
  background: linear-gradient(
    135deg,
    #d9b9b9 0%,
    #aa858a 55%,
    #76575f 100%
  );
}

/* Velo translúcido para conservar la lectura. */
.tap-trajectory .tap-trajectory-partners::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(247, 242, 235, 0.72);
  pointer-events: none;
}

.tap-trajectory .tap-trajectory-partners-content {
  position: relative;
  z-index: 1;
}

.tap-trajectory .tap-photo-area-connections strong {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #fff;
  background: rgba(50, 30, 35, 0.6);
  padding: 0.6rem 0.8rem;
}

.tap-trajectory .tap-trajectory-partner {
  background: rgba(247, 242, 235, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Adaptación a pantallas pequeñas. */
@media (max-width: 768px) {

  .tap-trajectory .tap-trajectory-editorial-item,
  .tap-trajectory .tap-trajectory-entry {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    padding: 2.5rem 0;
  }

  .tap-trajectory .tap-trajectory-editorial-photo {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .tap-trajectory .tap-trajectory-editorial-copy {
    grid-column: 1;
    grid-row: 2;
  }

  .tap-trajectory .tap-trajectory-title-line {
    gap: 0.5rem 1rem;
  }

  .tap-trajectory .tap-trajectory-partners::before {
    background: rgba(247, 242, 235, 0.82);
  }

}

/* FIN TAP — TRAYECTORIA EDITORIAL DEFINITIVA */


/* TAP — CORRECCIÓN FINAL DE ESPACIADO EN TRAYECTORIA */

/* Evitar que estilos anteriores distribuyan los textos
   a lo largo de la altura de las fotografías. */

.tap-trajectory .tap-trajectory-editorial-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: start;
  gap: 0;
}

/* Cada elemento ocupa solamente su altura natural. */

.tap-trajectory .tap-trajectory-editorial-copy > * {
  flex: 0 0 auto;
  width: 100%;
  min-height: 0;
}

/* Título y año juntos. */

.tap-trajectory .tap-trajectory-title-line {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 0.5rem 0 0;
}

/* Ponencias: información agrupada arriba. */

.tap-trajectory .tap-trajectory-entry-place {
  margin: 0.8rem 0 1.25rem;
}

.tap-trajectory .tap-trajectory-editorial-copy > p {
  margin-top: 0;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.tap-trajectory .tap-trajectory-editorial-copy > small {
  margin-top: 0.5rem;
}

/* Proyectos: mantener también un ritmo compacto. */

.tap-trajectory .tap-trajectory-project-subtitle {
  margin: 0.6rem 0 1.25rem;
}

.tap-trajectory .tap-trajectory-project-description {
  margin: 0 0 1.25rem;
}

.tap-trajectory .tap-trajectory-editorial-copy dl {
  margin: 1rem 0 1.5rem;
}



/* TAP — CONTENEDORES EDITORIALES SIN DISTRIBUCIÓN FORZADA */

.tap-trajectory .tap-trajectory-editorial-item
> .tap-trajectory-editorial-copy {
  display: block !important;
  grid-column: 2;
  grid-row: 1;
  align-self: start;
}

.tap-trajectory .tap-trajectory-editorial-copy > * {
  display: revert;
}

.tap-trajectory .tap-trajectory-editorial-copy
> .tap-trajectory-title-line {
  display: flex;
}

@media (max-width: 768px) {
  .tap-trajectory .tap-trajectory-editorial-item
  > .tap-trajectory-editorial-copy {
    grid-column: 1;
    grid-row: 2;
  }
}

/* INICIO TAP — AJUSTES FINALES NOSOTRAS Y CONTACTO */


/* =========================================================
   NOSOTRAS — RETRATOS VERTICALES DEL EQUIPO
   ========================================================= */

.team-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  min-height: 0;
  position: relative;
  overflow: hidden;
}

.team-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

/* Los marcadores permanecen centrados mientras no haya foto. */
.team-photo > .tap-photo-marker {
  position: relative;
  inset: auto;
  margin: auto;
}


/* =========================================================
   CONTACTO — FOTOGRAFÍA FUNDIDA HACIA LA DERECHA
   ========================================================= */

.tap-contact-main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/*
   CON-01 deja de ocupar una fila del grid.
   Ahora es una capa visual detrás del contenido.
*/

.tap-contact-main > .tap-photo-area-contact {
  position: absolute;
  display: flex;

  top: 0;
  right: 0;
  bottom: 0;
  left: auto;

  width: 65%;
  height: 100%;

  min-height: 0;
  aspect-ratio: auto;
  margin: 0;
  padding: 0;

  grid-column: auto;

  z-index: 0;

  border: 0;

  background:
    linear-gradient(
      135deg,
      #c6a2a8 0%,
      #98717e 55%,
      #58434d 100%
    );

  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.12) 18%,
    rgba(0, 0, 0, 0.65) 52%,
    black 100%
  );

  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.12) 18%,
    rgba(0, 0, 0, 0.65) 52%,
    black 100%
  );

  pointer-events: none;
}

/* Código visible mientras elegimos la fotografía. */
.tap-contact-main > .tap-photo-area-contact strong {
  position: absolute;
  right: 22%;
  top: 50%;
  transform: translateY(-50%);
  color: white;
}

/* Título, textos y enlaces siempre sobre la fotografía. */
.tap-contact-main > .tap-contact-heading,
.tap-contact-main > .tap-contact-content {
  position: relative;
  z-index: 2;
  min-width: 0;
}

/* Fondo de lectura sutil para los datos de contacto. */
.tap-contact-content {
  padding-right: 1rem;
}


/* =========================================================
   CONTACTO — ADAPTACIÓN MÓVIL
   ========================================================= */

@media (max-width: 900px) {

  .tap-contact-main > .tap-photo-area-contact {
    width: 85%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    opacity: 0.35;
  }

  .tap-contact-main > .tap-photo-area-contact strong {
    right: 15%;
  }

}

@media (max-width: 600px) {

  .team-photo {
    aspect-ratio: 3 / 4;
  }

  .tap-contact-main > .tap-photo-area-contact {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    opacity: 0.2;
  }

  .tap-contact-main > .tap-photo-area-contact strong {
    right: 12%;
  }

}

/* FIN TAP — AJUSTES FINALES NOSOTRAS Y CONTACTO */
