
* {
  box-sizing: border-box;
}

html, body {
  cursor: none;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #000;
  font-size: 15px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}


h1 {
  font-family: 'Instrument San', sans-serif;
  font-weight: 500;
  font-size: 60px;
  margin: 0;
}

h2 {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 400;
  font-size: 40px;
  margin: 0;
}

section {
  width: 100%;
  min-height: 100vh;
}


nav {
  position: fixed;
  top: 0;
  padding: 20px 40px;
  display: flex;
  width: 100%;
  height: 100px;
  font-size: 13px;
  font-weight: 200; 
  z-index: 10;
  justify-content: space-between;
}


nav::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0,0,0,0.2),
    transparent
  );
}
.nav-left,
.nav-right {
  display: flex;
  gap: 20px;
}

nav ul {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0 40px;
}

nav ul li {
  list-style: none;
  margin-right: 45px;
}

nav ul li a {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 300; /* light */
  color: rgb(4, 30, 53);
  text-decoration: none;
  letter-spacing: 0.02em;
}


#home {
  position: relative;
  min-height: 150vh;
  padding: 140px 0;
  overflow: visible;

  display: block; /* ← quitar flex completamente */

  background:
    linear-gradient(
      to bottom,
      rgba(206, 195, 172, 0.2),
      rgba(216, 209, 194, 0.85),
      rgba(238, 214, 149, 0.85)
    ),
    url("../img/text1.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}




.home-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  padding-top: 15vh;   /* mueve texto hacia arriba */
}


.hero-text {
  
  font-family: 'Montserrat', sans-serif;
  max-width: 420px;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgb(4, 30, 53);
  margin: 0 auto;
  align-self: center; /* refuerzo en flex */
  margin-bottom: 25vh;
  margin-top: 20vh;

  opacity: 0.85;
  order: 1;
}




.home-hero img {
  width: 60vw;
  max-width: 900px;   /* ← importante */
  height: auto;
  margin-top: 50vh;
  order: 2;
  
 
}


#p5-bg {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}



.transition {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  

  background-image: linear-gradient(
    to bottom,
    rgba(238, 214, 149, 0.856),
    rgba(0, 255, 136, 0)
  );

}

.transition-text {
  max-width: 700px;
  padding: 0 8vw;
  font-size: 1.1rem;
  line-height: 1.8;
}




#pintura {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 120px 10%;
  min-height: 100vh;
  
  background-image: linear-gradient(
    to bottom,
    rgba(0, 255, 136, 0),
    rgba(0, 255, 136, 0)
  );
  
}

#pintura article {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px; /* respiración entre imagen y texto */
  max-width: 1200px;
  width: 100%;
}

#pintura article div {
  text-align: right;
  max-width: 420px;
  
}





#escultura {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; 
  padding: 120px 10%;
  min-height: 100vh;
  
  background-image: linear-gradient(
    to bottom,
    rgba(0, 255, 136, 0),
    rgba(185, 196, 139, 0.075)
  );
  
}

#escultura article {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px; /* respiración entre imagen y texto */
  max-width: 1200px;
  width: 100%;
}

#escultura article div {
  text-align: right;
  max-width: 420px;
  
}




#instalacion {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 120px 10%;
  min-height: 100vh;
  
  background-image: linear-gradient(
    to bottom,
    rgba(185, 196, 139, 0.075),
    rgba(185, 196, 139, 0.075),
    rgba(207, 216, 170, 0.075)
  );
  
}

#instalacion article {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px; /* respiración entre imagen y texto */
  max-width: 1200px;
  width: 100%;
}

#instalacion article div {
  text-align: right;
  max-width: 420px;
  
}

#video {
  position: relative;
  padding: 0;
  min-height: 100vh;
  z-index: 1;
  
  background-image: linear-gradient(
    to bottom,

    rgba(207, 216, 170, 0.075),
    rgba(0, 255, 136, 0),
   
  );
  
}


#video video {
  width: 100vw;
  max-width: none;
  height: auto;
 
  

  
}

#video figure {
  display: flex;
  justify-content: center;
}

#video article {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6vh;
}




#fotografia {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 120px 10%;
  min-height: 100vh;
  
  background-image: linear-gradient(
    to bottom,
    rgba(0, 255, 136, 0),
    
    rgba(136, 152, 67, 0.315)
  );
  
}

#fotografia article {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px; /* respiración entre imagen y texto */
  max-width: 1200px;
  width: 100%;
}

#fotografia article div {
  text-align: right;
  max-width: 420px;
  
}



/* GALERÍA SCROLL */

.inner-page {
  background: #fff;
}

.gallery {
  width: 100%;
  padding: 20vh 0;
  display: flex;
  flex-direction: column;
  gap: 35vh; /* respiración */
}

.piece {
  width: 100%;
  opacity: 0;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  transform: translateY(40px);
  transition: opacity 1.2s ease, transform 1.2s ease;


}

.piece.visible {
  opacity: 1;
  transform: translateY(0);
}

.piece img {
  width: 30%;        /* ← tamaño real de la obra */
  max-width: 300px;  /* límite */
  height: auto;
  display: block;
  margin: 0 auto;    /* centra la imagen */
}


/* TEXTO FLOTANTE */

.piece figcaption {
  position: absolute;
  right: 0;
  bottom: -6vh;
  max-width: 260px;
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.4;
  color: #222;
  text-align: right;
}

.piece figcaption span {
  font-weight: 400;
}

.author {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  padding: 20vh 8vw;
  gap: 6vw;
  min-height: 100vh;

  background: linear-gradient(
    to bottom,
    rgba(136, 152, 67, 0.315),
   rgba(136, 152, 67, 0.151)
  );
}

.author-name h1 {
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
}

.author-text {
  text-align: justify;
  font-size: 1.2rem;
  line-height: 1.7;
  font-weight: 300;
  text-justify: inter-word;
  hyphens: auto;          /* divide palabras automáticamente */
  max-width: 520px;       /* controla la longitud de línea */
  margin: 0 auto;     
}


.author-text p {
  margin: 0 0 1.6em 0;
}

.author-image img {
  width: 100%;
  max-width: 360px;
  display: block;
  margin-left: auto;
}

.footer-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2vw;
  padding: 18vh 10vw;

  background: linear-gradient(
    to bottom,
    rgba(136, 152, 67, 0.151),
    rgba(214, 181, 149, 0.35)
  );
}

.footer-image img {
  width: 80px;
  height: 80px;
  opacity: 0.9;
}

.footer-text {
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 300;
}

.footer-text a {
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: inherit;
  text-decoration: none;
}

.footer-text a:hover {
  text-decoration: underline;
}

.tagline {
  font-style: italic;
  margin-bottom: 2vh;
}

.copy {
  margin-top: 2vh;
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  opacity: 0.6;
}

.sound-hint {
  position: fixed;
  bottom: 30px;
  right: 40px;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.45;
  pointer-events: none;
  z-index: 20;
  mix-blend-mode: multiply;

}

@media (max-width: 768px) {

}

/* ===== Tamaño imágenes obras ===== */



































































