/* ===============================
   ROOT / PALETA
================================ */
:root{
  /* Fondo crema orgánico */
  --bg1: #fcf7f1;
  --bg2: #e3ddd4;

  --fg: #0a0a0a;
 

  --max: 1120px;
  --gap: clamp(20px, 4vw, 60px);
}

/* ===============================
   RESET & BASE
================================ */
*{
  box-sizing: border-box;
}

html, body{
  height: 100%;
}

body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--fg);
  background: var(--bg1);
  overflow-x: hidden;
}

img{
  display: block;
  width: 100%;
  height: auto; /* proporción natural */
}

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

a:hover{
  text-decoration: underline;
}

/* ===============================
   Background (GSAP)
================================ */
.bg{
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    135deg,
    var(--bg1),
    var(--bg2)
  );
}

/* ===============================
   HERO
================================ */
.hero{
  min-height: 90svh;
  display: flex;
  align-items: flex-end;
  padding: 64px 18px;
}

.hero__inner{
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}

.hero__kicker{
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__title{
  margin: 0;
  font-size: clamp(56px, 9vw, 120px);
  line-height: .9;
  letter-spacing: -0.03em;
}

.hero__sub{
  margin-top: 18px;
  max-width: 70ch;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--muted);
  line-height: 1.6;
}

.hero__cta{
  display: inline-block;
  margin-top: 28px;
  font-size: 14px;
  color: var(--muted);
}

/* ===============================
   GALLERY
================================ */
.gallery{
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 18px 140px;
}

/* ===============================
   ARCHETYPES
================================ */
.archetype{
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: var(--gap);
  align-items: start;
  margin-bottom: clamp(90px, 12vw, 200px);
}

.archetype:nth-child(even){
  grid-template-columns: .7fr 1.3fr;
}

.archetype:nth-child(even) .archetype__visual{
  order: 2;
}

.archetype:nth-child(even) .archetype__content{
  order: 1;
}

/* ===============================
   IMAGES
================================ */
.archetype__visual{
  overflow: visible;
}

/* ===============================
   TEXT
================================ */
.archetype__content{
  max-width: 42ch;
  padding-top: 4px;
}

.archetype__title{
  margin: 0 0 10px;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.archetype__name{
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--muted);
}

.archetype__description{
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.about__title{
  margin: 0 0 16px;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.about__signature{
  margin-top: 32px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}


/* ===============================
   FOOTER
================================ */
.footer{
  margin-top: 40px;
  font-size: 14px;
  color: var(--muted);
}
.footer__logo{
  width: 100px;
  margin-top: 30px;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 920px){

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

  .archetype:nth-child(even){
    grid-template-columns: 1fr;
  }

  .archetype:nth-child(even) .archetype__visual,
  .archetype:nth-child(even) .archetype__content{
    order: initial;
  }

  .hero{
    min-height: 85svh;
  }

  .archetype__content{
    max-width: none;
  }

  .footer__logo{
  width: 70px;
  margin-top: 30px;
}
}
