* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@keyframes curtainReveal {
  from { transform: scaleY(1); }
  to { transform: scaleY(0); }
}

#curtain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #000;
  transform: scaleY(1);
  transform-origin: top;
  animation: curtainReveal 0.75s cubic-bezier(0.83, 0, 0.17, 1) forwards;
  z-index: 9999;
  pointer-events: none;
}

html.lenis,
html.lenis body {
  height: auto;
}

.announcment
{
  height: auto;
  background: rgba(0, 0, 0, 1);
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  z-index: 10000;
}

.announcment p {
  margin: 0;
  justify-content: center;
  text-align: center;
  padding: 10px;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

html {
  min-height: 100%;
}

body {
  background: linear-gradient(180deg, #ffffff 0%, #f5f1ec 50%, #e3ddd5 100%);
  background-attachment: fixed;
  color: #000000;
  overflow-x: hidden;
  min-height: 100vh;
}

.index-page {
  overflow: hidden;
  height: 100vh;
  min-height: 100vh;
}

@media (max-width: 768px) {
  .index-page .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
  }
}

.canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.canvas::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 300px 300px;
}

.header {
  padding: 0 1em;
}
.header-1,
.header-2 {
  padding: 0.8em 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header h2 a {
  color: inherit;
  text-decoration: none;
}

.header h2 a:hover {
  text-decoration: underline;
}

.header h1 {
  position: relative;
  font-family: 'Playfair Display', serif;
  font-size: 70px;
  font-style: italic;
  margin: 0;
  line-height: 100%;
}

.header h2 {
position: relative;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-style: normal;
    margin: 0;
    font-weight: 500;
    line-height: 100%;
    text-decoration: underline;
}

.header h1 span,
.header h2 span {
  position: relative;
  top: 120px;
  opacity: 0;
}

.intro {
  position: relative;
  width: 100%;
  min-height: 60vh;
  padding: 1em;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
}

.intro-col {
  flex: 1;
}

.intro p {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 150%;
}

.intro-col:nth-child(1) {
  display: flex;
}

.intro-col:nth-child(1) > div {
  flex: 1;
}

.intro-about {
  width: 100%;
  display: flex;
  gap: 2em;
}

.intro-about-col {
  flex: 1;
}

.intro-about-col p,
.intro-data p {
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: none;
}

.intro-data p.intro-header {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 150%;
  color: #000;
}

footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem;
  color: black;
  font-size: 0.9em;
  position: fixed;
  left: 1rem;
  top: 70%;
  mix-blend-mode: multiply;
  transform: translateY(-50%);
  z-index: 3;
}

footer a {
  display: inline-block;
  padding: 10px;
  transition: opacity 0.3s ease;
}

footer a:hover {
  opacity: 0.6;
}

footer img {
  width: 24px;
  height: 24px;
  display: block;
}

@media (max-width: 900px) {
  .header h1 {
    font-size: 30px;
    margin-top: 80px;
  }

  .header h2 {

    font-size: 15px;

}

  .intro {
    flex-direction: column-reverse;
    gap: 4em;
  }

  .intro-about {
    flex-direction: column;
  }

}

.star-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  position: absolute;
  top: 0;
  height: 20px;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.star-cell {
  position: relative;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.star {
  position: relative;
  width: 100px;
  height: auto;
  pointer-events: none;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.construction {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  z-index: 10;
  pointer-events: none;
  text-align: center;
  color: #000;
}

.star-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #000;
  pointer-events: auto;
}

.star-label {
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-top: 4px;
  pointer-events: none;
}

.mobile-break {
  display: none;
}

@media (min-width: 769px) {
  .star-grid {
    width: 60%;
    height: 70%;
    left: 20%;
    top: 15%;
  }

  .star {
    width: 230px;
  }

  .star-cell:nth-child(1) .star-link {
    transform: translate(25px, 20px);
  }

  .star-cell:nth-child(2) .star-link {
    transform: translate(-50px, -30px);
  }

  .star-cell:nth-child(3) .star-link {
    transform: translate(180px, -100px);
  }

  .star-cell:nth-child(4) .star-link {
    transform: translate(-25px, -20px);
  }
}

@media (max-width: 768px) {
  .mobile-break {
    display: inline;
  }

  .construction {
    position: fixed;
    top: 190px;
    left: 50%;
    transform: translateX(-50%);
  }

  .star-grid {
    position: fixed;
    top: 230px;
    bottom: auto;
    left: 5%;
    width: 90%;
    height: auto;
    z-index: 1;
    grid-template-rows: auto auto;
    align-items: center;
    row-gap: 0;
  }

  .star {
    width: 160px;
  }


  footer {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    left: 50%;
    bottom: 0;
    top: auto;
    transform: translate(-50%, 0);
  }

  .intro-about {
    padding-right: 1.5rem;
  }

  .intro-about p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}


.intro-about-col {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6; /* espacio entre líneas */
}

.intro-about-col p {
  margin-bottom: 1.5rem; /* espacio entre párrafos */
}

.obras-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 2em 1.5em 2em;
}

.obra-carousel-unico {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.ocarousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.ocarousel-slide {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.5em;
}

.obra-cat-title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 0.8em;
}

.ocarousel-title {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1em;
}

.ocarousel-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  cursor: zoom-in;
}

.ocarousel-media.placeholder {
  background: #e8e3dd;
}

.ocarousel-media img,
.ocarousel-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ocarousel-btn-wrapper {
  margin-top: 1em;
}

.obra-link-btn {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #000;
  text-decoration: none;
  padding: 8px 20px;
  border: 1px solid #000;
  border-radius: 4px;
  transition: background 0.25s ease, color 0.25s ease;
}

.obra-link-btn:hover {
  background: #000;
  color: #fff;
}

.ocarousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5em;
  margin-top: 1.5em;
  padding-bottom: 3em;
}

.ocarousel-nav button {
  background: none;
  border: 1px solid #000;
  border-radius: 4px;
  font-size: 18px;
  padding: 10px 18px;
  cursor: pointer;
  color: #000;
  transition: background 0.25s ease, color 0.25s ease;
  touch-action: manipulation;
}

.ocarousel-nav button:hover {
  background: #000;
  color: #fff;
}

.ocarousel-nav span {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
}

.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
  max-width: 1100px;
  margin: 2em auto;
  padding: 0 1.5em;
}

.work-item {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.work-thumb {
  width: 100%;
  background: #e8e3dd;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.work-thumb video,
.work-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.work-item:hover .work-thumb {
  transform: scale(1.015);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.work-name {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0 2px;
}

@media (max-width: 768px) {
  .works-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 1em;
  }
}