:root {
  --gold: #f2aa52;
  --gold-rgb: 242, 170, 82;
  --body-text: rgba(255,255,255,.76);
  --white: #ffffff;
  --dark: #05080b;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--dark);
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
}

/* HERO */

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/bg-home.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0,0,0,0.08), rgba(0,0,0,0.68)),
    linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.72));
}

/* STAGE HOME */

.monogram-stage {
  position: fixed;
  z-index: 20;
  top: 50%;
  left: 50%;
  width: min(90vw, 520px);
  min-height: 560px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  pointer-events: auto;
  transition:
    top 900ms var(--ease),
    left 900ms var(--ease),
    width 900ms var(--ease),
    min-height 900ms var(--ease),
    transform 900ms var(--ease),
    background 600ms ease,
    backdrop-filter 600ms ease;
}

/* NAV BAR DESPUÉS DEL HERO */

.monogram-stage.is-docked {
  top: 0;
  left: 0;
  width: 100%;
  min-height: 86px;
  transform: none;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(5,8,11,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(var(--gold-rgb), .18);
}

/* MONOGRAMA */

.monogram-button {
  position: relative;
  z-index: 4;
   width: clamp(220px, 28vw, 360px);
  height: clamp(220px, 28vw, 360px);
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
  animation: monogramBreath 8s ease-in-out infinite;
  transition:
    opacity 900ms var(--ease),
    filter 900ms var(--ease),
    transform 900ms var(--ease),
    width 900ms var(--ease),
    height 900ms var(--ease);
}

.monogram-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(var(--gold-rgb), 0.22));
}

/* Logo como aura cuando abre menú en home */
.monogram-stage.is-open:not(.is-docked) .monogram-button {
  opacity: 0.2;
  filter: blur(18px);
  transform: scale(1.22);
}

/* Logo en barra superior */
.monogram-stage.is-docked .monogram-button {

  position: absolute;

  left: 42px;

  width: 58px;

  height: 58px;

  opacity: .9;

  filter: blur(0);

  transform: scale(1);

}

/* En barra, no queremos que se haga blur exagerado */
.monogram-stage.is-docked.is-open .monogram-button {

  opacity: .9;

  filter: blur(0);

  transform: scale(1);

}

@keyframes monogramBreath {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px rgba(var(--gold-rgb), .15));
  }

  45% {
    transform: scale(1.015);
    filter: drop-shadow(0 0 12px rgba(var(--gold-rgb), .25));
  }

  50% {
    transform: scale(1.035);
    filter: drop-shadow(0 0 35px rgba(var(--gold-rgb), .5));
  }

  55% {
    transform: scale(1.015);
    filter: drop-shadow(0 0 12px rgba(var(--gold-rgb), .25));
  }

  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px rgba(var(--gold-rgb), .15));
  }
}

/* HINT */

.menu-hint {
  position: absolute;

  top: calc(50% - 260px);

  font-size: 9px;
  font-weight: 300;

  letter-spacing: .35em;
  text-transform: uppercase;

  color: rgba(255,255,255,.48);

  opacity: 0;

  animation: hintReveal 2s ease forwards;
  animation-delay: 1s;

  pointer-events: none;

  transition:
    opacity .8s var(--ease),
    transform .8s var(--ease),
    filter .8s var(--ease);
}


@keyframes hintReveal {

to {
opacity:1;
}

}

.monogram-stage.is-open .menu-hint,
.monogram-stage.is-docked .menu-hint {

  opacity: 0;
  filter: blur(8px);
  transform: translateY(-12px);

}

/* MENU HOME */

.ritual-menu {
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  pointer-events: none;
}

.monogram-stage.is-open .ritual-menu {
  pointer-events: auto;
}

.menu-item {
  position: relative;
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  font-size: clamp(14px, 1.4vw, 22px);
  font-weight: 300;
  letter-spacing: .22em;
  padding: 8px 18px;
  border: 1px solid rgba(var(--gold-rgb), .24);
  background: rgba(0,0,0,.06);
  backdrop-filter: blur(3px);
  opacity: 0;
  transform: translateY(20px) scale(.96);
  filter: blur(12px);
  transition:
    opacity .9s var(--ease),
    transform .9s var(--ease),
    filter .9s var(--ease),
    border-color .5s ease,
    background .5s ease;
}

.monogram-stage.is-open .menu-item {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* MENU ABIERTO COMPLETO */

.monogram-stage.is-open .menu-item {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}

/* Entrada escalonada elegante */

.monogram-stage.is-open .menu-item:nth-child(1) {
  transition-delay: .05s;
}

.monogram-stage.is-open .menu-item:nth-child(2) {
  transition-delay: .10s;
}

.monogram-stage.is-open .menu-item:nth-child(3) {
  transition-delay: .15s;
}

.monogram-stage.is-open .menu-item:nth-child(4) {
  transition-delay: .20s;
}

.monogram-stage.is-open .menu-item:nth-child(5) {
  transition-delay: .25s;
}

.monogram-stage.is-open .menu-item:nth-child(6) {
  transition-delay: .30s;
}


/* Hover limpio */

.menu-item:hover,
.menu-item:focus {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1.04);
  border-color: rgba(var(--gold-rgb), .75);
  background: rgba(var(--gold-rgb), .08);
}

/* ITEM ACTIVO DEL MENÚ */

.menu-item.is-active {
  color: var(--gold);
  opacity: 1 !important;
  filter: blur(0) !important;
  pointer-events: none;
  cursor: default;
}

.menu-item.is-active::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 2px;
  height: 1px;
  background: rgba(var(--gold-rgb), .75);
}

.monogram-stage.is-docked .menu-item.is-active {
  color: var(--gold);
  opacity: 1 !important;
}

.monogram-stage.is-docked .menu-item.is-active::after {
  left: 6px;
  right: 6px;
}


/* Eliminamos blur entre opciones */

.monogram-stage.is-open .ritual-menu:hover .menu-item {
  opacity: 1;
  filter: blur(0);
}

.monogram-stage.is-open .ritual-menu:hover .menu-item:hover {
  transform: translateY(0) scale(1.04);
}

/* MENU COMO BARRA SUPERIOR */

.monogram-stage.is-docked .ritual-menu {
  position: static;

  width: auto;
  margin-left: 130px;

  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;

  gap: clamp(38px, 5vw, 90px);

  opacity: 1;
  pointer-events: auto;
}

.monogram-stage.is-docked .menu-item {
  opacity: .72;
  filter: blur(0);
  transform: none;
  font-size: clamp(10px, .75vw, 12px);
  font-weight: 300;
  letter-spacing: .18em;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  padding: 10px 6px;
  pointer-events: auto;
  transition:
    opacity .4s ease,
    transform .4s ease;
}

.monogram-stage.is-docked .menu-item:hover,
.monogram-stage.is-docked .menu-item:focus {
  opacity: 1 !important;
  transform: scale(1.04) !important;
  background: transparent;
}

/* SECCIONES */

.content-section {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 140px 24px 120px;
  background: #06090d;
  border-top: 1px solid rgba(var(--gold-rgb), 0.18);
}

.content-section h1 {
  font-size: clamp(34px, 6vw, 88px);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,0.86);
}

/* MOBILE */

@media (max-width: 768px) {
  .monogram-stage {
    width: 92vw;
    min-height: 500px;
  }

  .monogram-stage.is-docked {
    top: 0;
    left: 0;
    width: 100%;
    min-height: 74px;
    transform: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .monogram-stage.is-docked .monogram-button,
  .monogram-stage.is-docked.is-open .monogram-button {
    position: absolute;
    top: 10px;
    left: 50%;
    right: auto;

    width: 54px;
    height: 54px;

    opacity: .9;
    filter: blur(0);

    transform: translateX(-50%) !important;
    animation: none;
  }

  .monogram-stage.is-open:not(.is-docked) .monogram-button {
    opacity: .9;
    filter: blur(0);
    transform: scale(1);
  }

  .monogram-stage.is-docked .ritual-menu {
    display: none;
    pointer-events: none;
  }

  .monogram-stage:not(.is-docked) .ritual-menu {
  display: none !important;
  pointer-events: none !important;
}

.monogram-stage:not(.is-docked) .menu-item {
  pointer-events: none !important;
}

  .monogram-stage.is-docked.is-open .ritual-menu {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    width: 100vw;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 18px;
    padding: 28px 24px 32px;
    margin: 0;

    background: rgba(5,8,11,.94);
    backdrop-filter: none;

    border-top: 1px solid rgba(var(--gold-rgb), .18);
    border-bottom: 1px solid rgba(var(--gold-rgb), .24);

    box-shadow: 0 26px 70px rgba(0,0,0,.55);

    pointer-events: auto;
  }

  .monogram-stage.is-docked .menu-item {
    pointer-events: none;
  }

  .monogram-stage.is-docked.is-open .menu-item {
    width: 100%;
    max-width: 420px;

    text-align: center;
    justify-content: center;

    padding: 11px 0;

    opacity: 1;
    filter: blur(0);
    transform: none;

    font-size: 13px;
    letter-spacing: .22em;

    border: 0;
    background: transparent;

    pointer-events: auto;
  }

  .menu-item {
    font-size: clamp(13px, 4.4vw, 20px);
    letter-spacing: .18em;
    padding: 8px 14px;
    max-width: 90vw;
    text-align: center;
  }

  .ritual-menu {
    gap: 14px;
  }

  .menu-hint {
    top: calc(50% - 220px);
    font-size: 8px;
    letter-spacing: .3em;
  }

  /* TITULOS MOBILE */

  .greatmother-content h1,
  .sol-godmother-text h2,
  .content-section h1 {
    font-size: clamp(26px, 8vw, 38px);
    letter-spacing: .08em;
    line-height: 1.15;

    max-width: 88vw;
    margin-left: auto;
    margin-right: auto;

    overflow-wrap: normal;
    word-break: normal;
  }
}


/* THE GREAT MOTHER FULLSCREEN CAROUSEL */

.greatmother-section {
  position: relative;
  min-height: 100vh;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #05080b;
  border-top: 1px solid rgba(var(--gold-rgb), .18);
}

/* Carousel como fondo */

.godmother-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin: 0;
  border: 0;
  box-shadow: none;
  background: #05080b;
}

.godmother-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 1800ms ease;
  will-change: opacity;
}

.godmother-slide.active {
  opacity: 1;
}

.godmother-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  animation: godmotherKenBurns 18s linear infinite alternate;
  will-change: transform;
}

/* Variaciones sutiles para que no todas respiren igual */

.godmother-slide:nth-child(2) img {
  animation-delay: -5s;
  transform-origin: 45% 50%;
}

.godmother-slide:nth-child(3) img {
  animation-delay: -9s;
  transform-origin: 55% 45%;
}

.godmother-slide:nth-child(4) img {
  animation-delay: -13s;
  transform-origin: 50% 55%;
}

@keyframes godmotherKenBurns {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08);
  }
}

/* Degradado encima de las fotos */

.greatmother-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,.68) 0%,
      rgba(0,0,0,.46) 34%,
      rgba(0,0,0,.20) 72%,
      rgba(0,0,0,.34) 100%
    );
}

/* Texto fijo encima */

.greatmother-content {
  position: absolute;
  z-index: 2;
  top: 18%;
  left: 50%;
  width: min(90vw, 900px);
  transform: translateX(-50%);
  text-align: center;
  color: white;
}

.section-label {
  display:block;
  margin-bottom:20px;

  font-size:.72rem;
  font-weight:200;

  letter-spacing:.32em;
  text-transform:uppercase;

  color:var(--gold);
}

.greatmother-content h1,
.sol-godmother-text h2,
.initiations-content h2,
.art-lab-header h2 {

  margin: 0 0 26px;

  font-family: "Montserrat", sans-serif;

  font-size: clamp(28px, 3.8vw, 58px);

  font-weight: 100;

  letter-spacing: .28em;

  line-height: 1.25;

  text-transform: uppercase;

  color: rgba(255,255,255,.92);

  text-shadow:
    0 4px 18px rgba(0,0,0,.95),
    0 12px 45px rgba(0,0,0,.75);

}

.greatmother-content p {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(14px,1.1vw,17px);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: .06em;
  color: rgba(255,255,255,.76);
  text-shadow:
  0 3px 12px rgba(0,0,0,.95),
  0 8px 30px rgba(0,0,0,.8);
}

/* Sin flechas */

.godmother-arrow {
  display: none;
}

/* Dots */

.godmother-dots {
  position: absolute;
  z-index: 3;
  bottom: 42px;
  left: 50%;
  display: flex;
  gap: 12px;
  margin: 0;
  transform: translateX(-50%);
}

.godmother-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.36);
  cursor: pointer;
  transition:
    transform .35s ease,
    background .35s ease;
}

.godmother-dots button.active {
  background: rgba(255,255,255,.95);
  transform: scale(1.35);
}

/* Mobile */

@media (max-width: 768px) {
  .greatmother-section {
    min-height: 100svh;
  }

  .greatmother-content {
    top: 20%;
    width: min(88vw, 520px);
  }

  .greatmother-content h1 {
    font-size: clamp(30px, 9vw, 46px);
    letter-spacing: .12em;
  }

  .greatmother-content p {
    font-size: 13px;
    line-height: 1.65;
  }

  .section-label {
    font-size: 8px;
    letter-spacing: .28em;
  }

  .godmother-dots {
    bottom: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .godmother-slide,
  .godmother-slide img {
    transition: none;
    animation: none;
  }
}



/* ==============================
   THE GODMOTHER / SOL
================================ */

.sol-godmother-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #05080b;
  border-top: 1px solid rgba(var(--gold-rgb), .18);
}

.sol-godmother-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.55),
      rgba(0,0,0,.82)
    ),
    url("../img/godmother-bg.jpg");
  background-size: cover;
  background-position: center;
  filter: brightness(.65);
  z-index: 0;
}

.sol-godmother-content {
  position: relative;
  z-index: 2;
  width: min(1080px, 84%);
  margin: auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 70px;
  align-items: center;
  transform: translateY(30px);
}

.sol-godmother-photo {
  position: relative;
  padding: 10px;
  border: 1px solid var(--gold);
}

.sol-godmother-photo::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(var(--gold-rgb), .45);
  pointer-events: none;
}

.sol-godmother-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.sol-godmother-text {
  color: white;
  text-align: left;
}

.sol-godmother-text .chapter {
  display:block;

  margin-bottom:20px;

  font-size:.72rem;
  font-weight:200;

  letter-spacing:.32em;
  text-transform:uppercase;

  color:var(--gold);
}

.sol-godmother-text h2 {
  font-weight: 100;
  font-size: clamp(3rem, 4.8vw, 5.2rem);
  letter-spacing: .08em;
  line-height: .95;
  margin: 0 0 28px;
  text-align: left;
  text-shadow: 0 15px 45px rgba(0,0,0,.9);
}

.sol-godmother-text h3 {
  color: var(--gold);
  font-weight: 200;
  font-size: 1.55rem;
  margin: 0 0 30px;
}

.sol-godmother-text p {
  max-width: 520px;
  margin: 0;
  font-weight: 200;
  line-height: 1.55;
  opacity: .76;
  font-size: .9rem;
}

@media (max-width: 900px) {
  .sol-godmother-section {
    min-height: auto;
    padding: 110px 0 90px;
  }

  .sol-godmother-content {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 46px;
    transform: none;
    overflow: hidden;
  }

  .sol-godmother-photo {
    width: min(82vw, 360px);
    max-width: 360px;
    margin: 0 auto;
  }

  .sol-godmother-text {
    width: min(86vw, 520px);
    margin: 0 auto;
    text-align: center;
    overflow-wrap: break-word;
  }

  .sol-godmother-text h2 {
  text-align: center;
  font-size: clamp(2rem, 9vw, 3.2rem);
  letter-spacing: .04em;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 100%;
}

  .sol-godmother-text h3 {
    font-size: 1.5rem;
  }

  .sol-godmother-text p {
    margin: auto;
    max-width: 100%;
    font-size: .88rem;
    line-height: 1.65;
  }
}

/* CATRINA INTRO */

.catrina-intro {

  position: fixed;

  inset:0;

  z-index:999;

  background:#05080b;

  overflow:hidden;

  animation:
    introFadeOut 2s ease forwards;

  animation-delay:5s;

}


.catrina-bg {

  position:absolute;

  inset:0;

  background-image:url("../img/catrina-sirena.jpg");

  background-size:cover;

  background-position:center;

  opacity:0;

  animation:
    catrinaReveal 2s ease forwards,
    catrinaBreath 7s linear forwards;

}


.catrina-intro::after{

content:"";

position:absolute;

inset:0;

background:
linear-gradient(
to bottom,
rgba(0,0,0,.55),
rgba(0,0,0,.18),
rgba(0,0,0,.75)
);

}


.catrina-text{

position:absolute;

z-index:2;

top:50%;
left:50%;

transform:translate(-50%,-50%);

text-align:center;

opacity:0;

animation:textReveal 2s ease forwards;

animation-delay:1.2s;

}


.catrina-text h1{

font-size:clamp(34px,6vw,86px);

font-weight:300;

letter-spacing:.1em;

text-transform:uppercase;

color:white;

}


.catrina-text p{

letter-spacing:.22em;

color:rgba(var(--gold-rgb), .9);

}



/* ANIMACIONES */


@keyframes catrinaReveal{

to{
opacity:1;
}

}


@keyframes catrinaBreath{

from{
transform:scale(1);
}

to{
transform:scale(1.08);
}

}


@keyframes textReveal{

to{
opacity:1;
}

}


@keyframes introFadeOut{

to{
opacity:0;
visibility:hidden;
}

}

/* ==================================================
   CHAPTER FOUR — INITIATIONS
================================================== */


.initiations-section,
.initiation-page {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #000;
}


/* VIDEO INTRO */

.initiations-video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  z-index: 0;
}


/* BACKGROUND IMAGES */

.initiation-bg {
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center;

  transform: scale(1.05);

  z-index: 0;
}


/* DARK LAYER */

.initiations-overlay,
.initiation-overlay {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle,
      rgba(0,0,0,.15),
      rgba(0,0,0,.78)
    );

  z-index: 1;
}



/* CONTENT */

.initiations-content,
.initiation-content {

  position: relative;
  z-index: 3;

  width: min(850px, 85vw);

  text-align: center;

  color: white;
}



/* SMALL CHAPTER */

.initiations-content span,
.initiation-content span {

  display: block;

  margin-bottom: 20px;

  font-size: .72rem;
  letter-spacing: .32em;

  color: var(--gold);

  text-transform: uppercase;

  font-weight: 200;
}



/* TITLES */

.initiations-content h2,
.initiation-content h2 {

  margin: 0 0 28px;

  font-size: clamp(3rem, 8vw, 7rem);

  line-height: .9;

  letter-spacing: .08em;

  font-weight: 100;

  text-transform: uppercase;

  text-shadow:
    0 20px 60px rgba(0,0,0,.85);
}



/* TEXT */

.initiations-content p,
.initiation-content p {

  max-width: 650px;

  margin: 0 auto;

  font-size: clamp(.95rem, 1.2vw, 1.2rem);

  line-height: 1.8;

  letter-spacing: .05em;

  font-weight: 200;

  color: rgba(255,255,255,.86);
}



/* ENTER BUTTON */

.initiation-button {

  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: 14px 34px;

  border: 1px solid rgba(242,170,82,.65);

  background: transparent;

  color: #ffffff;

  text-decoration: none;

  font-family: inherit;
  font-size: .7rem;
  font-weight: 300;

  letter-spacing: .22em;
  text-transform: uppercase;

  cursor: pointer;

  appearance: none;
  -webkit-appearance: none;

  transition: .45s ease;

}



.initiation-button:hover {

  background: #f2aa52;

  color: #05080b;

}



/* ==================================================
   INITIATIONS FLOATING NAV
================================================== */


.initiations-nav {

  position: fixed;

  opacity: 0;
pointer-events: none;

transition:
  opacity .6s ease;

  left: 50%;
  bottom: 35px;

  transform: translateX(-50%);

  z-index: 50;


  display: flex;
  align-items: center;
  gap: 18px;


  white-space: nowrap;


  font-size: .68rem;

  letter-spacing: .16em;

  text-transform: uppercase;

}



.initiations-nav a {

  color: rgba(255,255,255,.7);

  text-decoration: none;

  transition: .4s ease;

}

.initiations-nav.is-visible {

  opacity: 1;

  pointer-events: auto;

}



.initiations-nav span {

  color: rgba(var(--gold-rgb), .35);

}



.initiations-nav a:hover,
.initiations-nav a.active {

  color: var(--gold);

}






/* ==================================================
   MOBILE
================================================== */


@media (max-width: 768px) {


  .initiations-content,
  .initiation-content {

    width: 84vw;

  }


  .initiations-content h2,
  .initiation-content h2 {

    font-size: clamp(2.5rem, 13vw, 4rem);

    letter-spacing: .05em;

  }


  .initiations-content p,
  .initiation-content p {

    font-size: .9rem;

    line-height: 1.7;

  }



  .initiations-nav {

    bottom: 22px;

    width: 86vw;

    overflow-x: auto;

    justify-content: flex-start;

    gap: 16px;


    padding-bottom: 8px;

  }


  .initiations-nav::-webkit-scrollbar {
    display:none;
  }


}


/* ==================================================
   CHAPTER FOUR — ART LABORATORY
================================================== */


.art-lab-section {

  position: relative;

  min-height: 100vh;

  padding: 150px 8vw 120px;

  overflow: hidden;

  background:#05080b;

  border-top:1px solid rgba(var(--gold-rgb), .18);

}



/* BACKGROUND */


.art-lab-bg {

  position:absolute;

  inset:0;

  background:
    linear-gradient(
      rgba(0,0,0,.72),
      rgba(0,0,0,.82)
    ),
    url("../img/art-bg.jpg");

  background-size:cover;

  background-position:center;

  transform:scale(1.05);

}


.art-lab-overlay {

  position:absolute;

  inset:0;

  background:
    radial-gradient(
      circle,
      rgba(var(--gold-rgb), .08),
      rgba(0,0,0,.65)
    );

}



/* HEADER */


.art-lab-header {

  position:relative;

  z-index:2;

  text-align:center;

  margin-bottom:80px;

}



.art-lab-header span {

  display:block;

  margin-bottom:20px;

  font-size:.72rem;

  letter-spacing:.32em;

  color:var(--gold);

  font-weight:200;

}



.art-lab-header h2 {

  margin:0 0 26px;

  font-size:clamp(3rem,7vw,6rem);

  font-weight:100;

  letter-spacing:.08em;

  line-height:.95;

  text-transform:uppercase;

  text-shadow:
    0 20px 60px rgba(0,0,0,.85);

}



.art-lab-header p {

  font-size:.95rem;

  line-height:1.8;

  letter-spacing:.06em;

  font-weight:200;

  color:rgba(255,255,255,.72);

}



/* GRID */


.art-lab-grid {

  position: relative;
  z-index: 2;

  width: min(1400px, 92vw);

  margin: auto;

  display: grid;

  grid-template-columns: repeat(2, minmax(500px, 620px));

  justify-content: center;

  gap: 60px;

}



/* CARDS */


.art-lab-card {

  position:relative;

  padding:10px;

  border:1px solid var(--gold);

  overflow:hidden;

  cursor:pointer;

}


.art-lab-card::after {

  content:"";

  position:absolute;

  inset:7px;

  border:1px solid rgba(var(--gold-rgb), .45);

  pointer-events:none;

  z-index:4;

}



.art-lab-card img {

  width:100%;

  aspect-ratio: 4 / 5;

  display:block;

  object-fit:cover;

  transition:
    transform 1.2s ease,
    filter 1.2s ease;

}



/* HOVER OVERLAY */


.art-lab-card-overlay {

  position:absolute;

  inset:10px;

  z-index:3;

  display:flex;

  flex-direction:column;

  justify-content:center;

  align-items:center;

  padding:35px;

  text-align:center;

  background:rgba(0,0,0,.55);

  backdrop-filter:blur(10px);

  opacity:0;

  transition:.8s ease;

}



.art-lab-card:hover img {

  transform:scale(1.08);

  filter:brightness(.45);

}



.art-lab-card:hover .art-lab-card-overlay {

  opacity:1;

}



.art-lab-card-overlay p {

  font-size:.85rem;

  line-height:1.7;

  font-weight:200;

  color:white;

}



/* CARD TITLE */


.art-lab-card h3 {

  position:absolute;

  left:0;

  right:0;

  bottom:30px;

  z-index:2;

  text-align:center;

  font-size:.85rem;

  font-weight:200;

  letter-spacing:.18em;

  color:white;

  text-shadow:
    0 5px 20px black;

}



/* ==================================================
   ART MODAL
================================================== */


.art-lab-modal {

  position:fixed;

  inset:0;

  z-index:200;

  display:flex;

  justify-content:center;

  align-items:center;

  background:rgba(0,0,0,.72);

  backdrop-filter:blur(18px);

  opacity:0;

  visibility:hidden;

  transition:.6s ease;

}



.art-lab-modal.is-open {

  opacity:1;

  visibility:visible;

}



.art-lab-modal-inner {

  width:min(90vw,1200px);

  text-align:center;

}



.art-lab-modal-title {

  margin-bottom:25px;

}



.art-lab-modal-title span {

  color:var(--gold);

  font-size:.7rem;

  letter-spacing:.25em;

}



.art-lab-modal-title h3 {

  font-weight:100;

  letter-spacing:.18em;

}



.art-lab-media img,
.art-lab-media video {

  max-width:100%;

  max-height:72vh;

  object-fit:contain;

  box-shadow:
    0 30px 80px rgba(0,0,0,.8);

}



/* CLOSE */


.art-lab-close {

  position:absolute;

  top:35px;

  right:45px;

  background:none;

  border:0;

  color:white;

  font-size:38px;

  font-weight:100;

  cursor:pointer;

}



/* DOTS */


.art-lab-dots {

  margin-top:25px;

  display:flex;

  justify-content:center;

  gap:12px;

}



.art-lab-dots button {

  width:7px;

  height:7px;

  border:0;

  border-radius:50%;

  background:rgba(255,255,255,.35);

}



.art-lab-dots button.active {

  background:white;

  transform:scale(1.35);

}





/* MOBILE */


@media(max-width:768px){


.art-lab-section {

  padding:120px 7vw 90px;

}


.art-lab-grid {

  grid-template-columns:1fr;

  gap:45px;

}


.art-lab-header h2 {

  font-size:clamp(2.4rem,12vw,4rem);

}


.art-lab-card-overlay {

  opacity:1;

  background:rgba(0,0,0,.35);

}


.art-lab-media img,
.art-lab-media video {

  max-height:65vh;

}


}

/* ART LAB BUTTON FIX */

.art-lab-open {

  background: transparent;

  color: white;

  font-family: inherit;

  cursor: pointer;

}


.art-lab-open:hover {

  background: var(--gold);

  color: #05080b;

}

/* ART LAB MODAL REFINEMENTS */

.art-lab-modal {
  background: rgba(5,8,11,.46);
  backdrop-filter: blur(22px) brightness(.55);
  -webkit-backdrop-filter: blur(22px) brightness(.55);
}

.art-lab-dots button {
  width: 9px;
  height: 9px;
  min-width: 9px;
  min-height: 9px;
  padding: 0;
  cursor: pointer;
}

.art-lab-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 205;

  width: 48px;
  height: 48px;

  border: 1px solid rgba(var(--gold-rgb), .45);
  background: rgba(0,0,0,.18);
  color: white;

  font-size: 34px;
  font-weight: 100;
  line-height: 1;

  cursor: pointer;
  transition: .4s ease;
}

.art-lab-arrow:hover {
  background: rgba(var(--gold-rgb), .85);
  color: #05080b;
}

.art-lab-prev {
  left: 42px;
}

.art-lab-next {
  right: 42px;
}

@media(max-width:768px) {
  .art-lab-arrow {
    top: auto;
    bottom: 34px;
    width: 42px;
    height: 42px;
    font-size: 28px;
  }

  .art-lab-prev {
    left: 26px;
  }

  .art-lab-next {
    right: 26px;
  }
}

/* ==================================================
   INFINITE LOGO CTA
================================================== */

.logo-cta {
  position: relative;
  overflow: hidden;
  padding: 100px 0 90px;
  background: var(--gold);
  color: #05080b;
}

.logo-cta-header {
  width: min(1100px, 86vw);
  margin: 0 auto 62px;
  text-align: center;
}

.logo-cta-header span {
  display: block;
  margin-bottom: 18px;

  font-size: .68rem;
  font-weight: 300;
  letter-spacing: .34em;
  text-transform: uppercase;

  color: rgba(5, 8, 11, .65);
}

.logo-cta-header h2 {
  max-width: 850px;
  margin: 0 auto;

  font-size: clamp(2rem, 4.5vw, 4.8rem);
  font-weight: 100;
  line-height: 1.05;
  letter-spacing: .08em;
  text-transform: uppercase;

  color: #05080b;
}


/* VENTANA DEL CARRUSEL */

.logo-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
}


/* SOMBRAS LATERALES SUAVES */

.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;

  width: clamp(50px, 10vw, 180px);

  pointer-events: none;
}

.logo-marquee::before {
  left: 0;

  background: linear-gradient(
    to right,
    var(--gold),
    rgba(var(--gold-rgb), 0)
  );
}

.logo-marquee::after {
  right: 0;

  background: linear-gradient(
    to left,
    var(--gold),
    rgba(var(--gold-rgb), 0)
  );
}


/* CINTA COMPLETA */

.logo-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;

  animation: logoMarquee 30s linear infinite;
  will-change: transform;
}


/* CADA LOGO */

.logo-marquee-item {
  flex: 0 0 auto;

  width: clamp(190px, 20vw, 310px);
  height: 150px;

  margin: 0 clamp(24px, 4vw, 70px);

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;

  opacity: .72;

  transition:
    opacity .4s ease,
    transform .4s ease;
}

.logo-marquee-item img {
  display: block;

  width: 100%;
  max-width: 220px;
  max-height: 110px;

  object-fit: contain;

  filter: brightness(0);
}

.logo-marquee-item:hover {
  opacity: 1;
  transform: scale(1.06);
}


/* PAUSA AL PASAR EL CURSOR */

.logo-marquee:hover .logo-marquee-track {
  animation-play-state: paused;
}


/* MOVIMIENTO INFINITO */

@keyframes logoMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


/* MOBILE */

@media (max-width: 768px) {
  .logo-cta {
    padding: 80px 0 72px;
  }

  .logo-cta-header {
    margin-bottom: 46px;
  }

  .logo-cta-header h2 {
    font-size: clamp(1.8rem, 9vw, 3rem);
    letter-spacing: .05em;
  }

  .logo-marquee-item {
    width: 170px;
    height: 110px;
    margin: 0 30px;
  }

  .logo-marquee-item img {
    max-width: 150px;
    max-height: 80px;
  }

  .logo-marquee-track {
    animation-duration: 22s;
  }
}


/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track {
    animation-play-state: paused;
  }
}

/* ==================================================
   GLOBAL TYPOGRAPHY SYSTEM
================================================== */

/* Chapter labels */
.section-label,
.sol-godmother-text .chapter,
.initiations-content > span,
.art-lab-header > span,
.legacy-content .chapter-label {
  display: block;
  margin-bottom: 20px;
  font-size: .72rem;
  font-weight: 200;
  line-height: 1.2;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Main chapter titles */
.greatmother-content h1,
.sol-godmother-text h2,
.initiations-content h2,
.art-lab-header h2,
.legacy-content h2 {
  margin: 0 0 26px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(28px, 3.8vw, 58px);
  font-weight: 100;
  line-height: 1.25;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  text-shadow:
    0 4px 18px rgba(0,0,0,.95),
    0 12px 45px rgba(0,0,0,.75);
}

/* Main descriptive paragraphs — based on The Godmother */
.greatmother-content p,
.sol-godmother-text p,
.initiations-content p,
.initiation-content p,
.art-lab-header p,
.legacy-text p {
  font-size: .9rem;
  font-weight: 200;
  line-height: 1.55;
  letter-spacing: 0;
  color: var(--body-text);
}

/* Preserve each section's width and alignment */
.greatmother-content p { max-width: 620px; margin: 0 auto; }
.sol-godmother-text p { max-width: 520px; margin: 0; }
.initiations-content p,
.initiation-content p { max-width: 650px; margin: 0 auto; }
.art-lab-header p { max-width: 760px; margin: 0 auto; }
.legacy-text p { max-width: 760px; margin: 0 auto 28px; }

/* Individual initiation titles remain intentionally larger */
.initiation-content h2 {
  margin: 0 0 28px;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 100;
  line-height: .9;
  letter-spacing: .08em;
  color: rgba(255,255,255,.96);
  text-shadow: 0 20px 60px rgba(0,0,0,.85);
}

/* Godmother remains aligned with its text column on desktop */
.sol-godmother-text h2 { text-align: left; }

/* Keep the two Art Laboratory cards responsive before mobile */
@media (max-width: 1180px) and (min-width: 769px) {
  .art-lab-grid {
    width: min(1000px, 88vw);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px;
  }
}

@media (max-width: 768px) {
  .section-label,
  .sol-godmother-text .chapter,
  .initiations-content > span,
  .art-lab-header > span,
  .legacy-content .chapter-label {
    font-size: 8px;
    letter-spacing: .28em;
  }

  .greatmother-content h1,
  .sol-godmother-text h2,
  .initiations-content h2,
  .art-lab-header h2,
  .legacy-content h2 {
    max-width: 88vw;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(26px, 8vw, 38px);
    line-height: 1.15;
    letter-spacing: .08em;
  }

  .sol-godmother-text h2 { text-align: center; }

  .greatmother-content p,
  .sol-godmother-text p,
  .initiations-content p,
  .initiation-content p,
  .art-lab-header p,
  .legacy-text p {
    font-size: .88rem;
    line-height: 1.65;
  }

  .initiation-content h2 {
    max-width: 90vw;
    font-size: clamp(2.5rem, 13vw, 4rem);
    line-height: .95;
    letter-spacing: .05em;
  }
}

/* ==========================================
   CHAPTER FIVE - LEGACY
========================================== */

.legacy-section {

  position: relative;

  min-height: 100vh;

  overflow: hidden;

  background: #08111b;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  text-align: center;

}

.legacy-bg {
  position: absolute;
  top: -12%;
  left: 0;
  width: 100%;
  height: 124%;
  background-image: url("../img/legacy-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}

.legacy-overlay{

    position:absolute;
    inset:0;

    background:
    linear-gradient(
        to bottom,
        rgba(0,0,0,.55),
        rgba(0,0,0,.45),
        rgba(0,0,0,.70)
    );

}

.legacy-content {

  position: relative;

  z-index: 2;

  width: min(900px, 90%);

  margin: 0 auto;

  text-align: center;

}

.legacy-text{

    max-width:760px;
    margin:auto;

}

.legacy-placeholder{

    position:relative;
    z-index:2;

    margin-top:140px;

    min-height:350px;

    display:flex;
    align-items:center;
    justify-content:center;

}

.legacy-placeholder span{

    color:rgba(var(--gold-rgb), .45);

    letter-spacing:.3em;

    text-transform:uppercase;

}

/* ==========================================
   CHAPTER SIX - INVOCATION
========================================== */

.invocation-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 140px 24px;

  background: #05080b;
  border-top: 1px solid rgba(var(--gold-rgb), .18);
}

.invocation-bg {
  position: absolute;
  inset: -6%;

  background-image: url("../img/invocation-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  transform: scale(1.03);
  transition:
    transform 1.4s var(--ease),
    filter 1.4s var(--ease);

  will-change: transform, filter;
}

.invocation-overlay {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at center,
      rgba(var(--gold-rgb), .06),
      rgba(0,0,0,.42) 48%,
      rgba(0,0,0,.82) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(0,0,0,.62),
      rgba(0,0,0,.52),
      rgba(0,0,0,.78)
    );

  transition: background 1.4s ease;
}

.invocation-content {
  position: relative;
  z-index: 2;

  width: min(760px, 90vw);
  margin: 0 auto;

  text-align: center;
}

/* Mantiene Invocation igual que los demás capítulos */

.invocation-content .section-label {
  display: block;
  margin-bottom: 20px;

  font-size: .72rem;
  font-weight: 200;
  line-height: 1.2;
  letter-spacing: .32em;
  text-transform: uppercase;

  color: var(--gold);
}

.invocation-content .section-title {
  margin: 0 0 26px;

  font-family: "Montserrat", sans-serif;
  font-size: clamp(28px, 3.8vw, 58px);
  font-weight: 100;
  line-height: 1.25;
  letter-spacing: .18em;
  text-transform: uppercase;

  color: rgba(255,255,255,.92);

  text-shadow:
    0 4px 18px rgba(0,0,0,.95),
    0 12px 45px rgba(0,0,0,.75);
}

.invocation-content .section-description {
  width: min(680px, 100%);
  margin: 0 auto;
}

.invocation-content .section-description p {
  margin: 0 auto;

  font-size: clamp(.95rem, 1.1vw, 1.05rem);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: .05em;

  color: rgba(255,255,255,.76);
}

.invocation-content .invocation-question {
  margin-bottom: 18px;

  font-size: clamp(1.4rem, 2.5vw, 2.15rem);
  font-weight: 200;
  line-height: 1.4;
  letter-spacing: .02em;

  color: rgba(255,255,255,.96);
}

/* Estado inicial */

.invocation-intro {
  margin-top: 46px;

  display: flex;
  flex-direction: column;
  align-items: center;

  opacity: 1;
  visibility: visible;
  transform: translateY(0);

  transition:
    opacity .65s ease,
    visibility .65s ease,
    transform .65s var(--ease);
}

.invocation-intro.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-18px);
  pointer-events: none;
}

.invitation-trigger {
  margin-top: 0;
}

.invocation-note {
  margin: 22px 0 0;

  font-size: .68rem;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: .3em;
  text-transform: uppercase;

  color: rgba(var(--gold-rgb), .72);
}

/* Formulario oculto */

.invocation-form {
  width: min(620px, 100%);
  max-height: 0;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: 30px;

  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transform: translateY(32px);

  transition:
    max-height 1s var(--ease),
    margin-top .8s var(--ease),
    opacity .8s ease,
    visibility .8s ease,
    transform .9s var(--ease);
}

.invocation-form.is-visible {
  max-height: 1000px;
  margin-top: 54px;

  opacity: 1;
  visibility: visible;
  overflow: visible;
  transform: translateY(0);
}

.invocation-field {
  position: relative;
  text-align: left;
}

.invocation-field label {
  display: block;
  margin-bottom: 10px;

  font-size: .68rem;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: .22em;
  text-transform: uppercase;

  color: rgba(var(--gold-rgb), .88);
}

.invocation-field input,
.invocation-field select,
.invocation-field textarea {
  width: 100%;

  border: 0;
  border-bottom: 1px solid rgba(var(--gold-rgb), .42);
  border-radius: 0;

  padding: 12px 0 14px;

  background: transparent;
  color: rgba(255,255,255,.94);

  font-family: "Montserrat", sans-serif;
  font-size: .95rem;
  font-weight: 300;
  line-height: 1.5;

  outline: none;
  box-shadow: none;

  transition:
    border-color .35s ease,
    color .35s ease;
}

.invocation-field input:focus,
.invocation-field select:focus,
.invocation-field textarea:focus {
  border-color: var(--gold);
}

.invocation-field textarea {
  min-height: 90px;
  resize: vertical;
}

.invocation-field select {
  appearance: none;
  -webkit-appearance: none;

  cursor: pointer;

  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);

  background-position:
    calc(100% - 15px) calc(50% - 2px),
    calc(100% - 9px) calc(50% - 2px);

  background-size:
    6px 6px,
    6px 6px;

  background-repeat: no-repeat;

  padding-right: 36px;
}

.invocation-field option {
  background: #05080b;
  color: white;
}

.invocation-form .initiation-button {
  align-self: center;
  margin-top: 12px;
}

/* Reacción visual al abrir el portal */

.invocation-section.is-open .invocation-bg {
  transform: scale(1.08);
  filter: brightness(1.08);
}

.invocation-section.is-open .invocation-overlay {
  background:
    radial-gradient(
      circle at center,
      rgba(var(--gold-rgb), .12),
      rgba(0,0,0,.38) 48%,
      rgba(0,0,0,.80) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(0,0,0,.58),
      rgba(0,0,0,.46),
      rgba(0,0,0,.74)
    );
}

/* MOBILE */

@media (max-width: 768px) {
  .invocation-section {
    min-height: 100svh;
    padding: 120px 22px 90px;
  }

  .invocation-content {
    width: min(88vw, 560px);
  }

  .invocation-content .section-label {
    font-size: 8px;
    letter-spacing: .28em;
  }

  .invocation-content .section-title {
    max-width: 88vw;
    margin-left: auto;
    margin-right: auto;

    font-size: clamp(26px, 8vw, 38px);
    line-height: 1.15;
    letter-spacing: .08em;
  }

  .invocation-content .invocation-question {
    font-size: clamp(1.35rem, 7vw, 1.9rem);
    line-height: 1.35;
  }

  .invocation-content .section-description p {
    font-size: .88rem;
    line-height: 1.7;
  }

  .invocation-intro {
    margin-top: 38px;
  }

  .invocation-form.is-visible {
    margin-top: 44px;
  }

  .invocation-form {
    gap: 26px;
  }

  .invocation-field label {
    font-size: .64rem;
    letter-spacing: .18em;
  }
}