/* =========================================================
   LOCAL DEVELOPERS — The art of building what comes next
   ========================================================= */

/* Baserona Regular (licencia comercial: funtypefonts.com).
   Al poner el archivo en assets/fonts/ se activa sola; mientras tanto
   el navegador usa Michroma, de proporciones muy parecidas. */
@font-face {
  font-family: "Baserona";
  src: url(assets/fonts/Baserona-Regular.woff2) format("woff2"),
       url(assets/fonts/Baserona-Regular.woff) format("woff"),
       url(assets/fonts/Baserona-Regular.otf) format("opentype"),
       url(assets/fonts/Baserona-Regular.ttf) format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  /* Paleta del moodboard */
  --umber: #746254;
  --taupe: #b09d8f;
  --sand: #d8c7b5;
  --lime: #efe3d5;
  --bronze: #9c7f5f;
  /* Superficies */
  --night: #1a1612;
  --night-2: #231e19;
  --ink: #2b241e;
  --paper: var(--lime);
  --line-dark: rgba(239, 227, 213, .14);
  --line-light: rgba(43, 36, 30, .16);

  --f-display: "Baserona", "Michroma", system-ui, sans-serif;
  --f-sans: "Inter", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 64px);
  --header-h: 84px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  --fs-hero: clamp(2.1rem, 6.4vw, 6.4rem);
  --fs-display: clamp(1.8rem, 4.3vw, 4.2rem);
  --fs-lead: clamp(1.0625rem, 1.25vw, 1.25rem);
  --fs-micro: clamp(.6875rem, .8vw, .8125rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--night);
  color: var(--lime);
  font-family: var(--f-sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html.is-loading body { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
/* Acentos: Inter Light en minúscula frente a la Baserona en mayúscula */
em { font-family: var(--f-sans); font-style: normal; font-weight: 300; letter-spacing: -.02em; }
::selection { background: var(--bronze); color: var(--lime); }
:focus-visible { outline: 1px solid var(--bronze); outline-offset: 4px; }

.wrap { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 var(--gutter); }

.micro {
  font-size: var(--fs-micro);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0;
}
.display {
  font-family: var(--f-display);
  font-size: var(--fs-display);
  line-height: 1.14;
  letter-spacing: 0;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0;
}
/* Todo lo que va en Baserona, en negritas. La fuente (y Michroma) solo trae
   Regular, así que la negrita se construye con un trazo del mismo color, que
   engrosa la letra sin la deformación de la negrita sintética. Los acentos en
   Inter (em) y la segunda línea del logo quedan finos. */
.display, .hero__title, .preloader__logo, .menu__nav a, .estate__list h3,
.soon__title, .footer__word, .logo__a {
  -webkit-text-stroke: .035em currentColor; paint-order: stroke fill;
}
.display em, .hero__title em, .soon__title em, .menu__nav small { -webkit-text-stroke: 0; }
.display em { text-transform: none; letter-spacing: -.03em; font-size: 1.12em; }
.lead { font-size: var(--fs-lead); line-height: 1.6; font-weight: 400; margin: 0; max-width: 34em; }

/* Holgura arriba para que la máscara no corte los acentos de las mayúsculas (Ú, Ó, É) */
.mask { display: block; overflow: hidden; padding: .16em 0 .06em; margin: -.16em 0 -.06em; }
.mask > span { display: block; will-change: transform; text-wrap: balance; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 18px 26px 18px 28px;
  font-size: var(--fs-micro); letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  border: 1px solid currentColor; border-radius: 999px;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translateY(101%); transition: transform .6s var(--ease);
  border-radius: inherit;
}
.btn i { font-style: normal; transition: transform .5s var(--ease); }
.btn:hover i { transform: translate(3px, -3px); }
.btn--light { color: var(--lime); }
.btn--light::before { background: var(--lime); }
.btn--light:hover { color: var(--night); }
.btn--dark { color: var(--ink); }
.btn--dark::before { background: var(--ink); }
.btn--dark:hover { color: var(--lime); }
.btn:hover::before { transform: translateY(0); }

/* ---------- Preloader ---------- */
.preloader { display: none; }
html.is-loading .preloader {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 200;
  background: var(--night); color: var(--lime);
}
.preloader__inner { width: min(560px, 80vw); }
.preloader__mark { width: clamp(64px, 9vw, 96px); margin: 0 auto 34px; color: var(--sand); clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
.preloader__line { width: 100%; height: 22px; overflow: visible; }
.preloader__line path { fill: none; stroke: var(--bronze); stroke-width: 1; vector-effect: non-scaling-stroke; }
.preloader__logo {
  display: flex; justify-content: space-between; margin: 22px 0 18px;
  font-family: var(--f-display); font-size: clamp(1rem, 2.6vw, 1.7rem); letter-spacing: .14em; font-weight: 400;
}
.preloader__logo span { display: block; clip-path: inset(0 0 100% 0); }
.preloader__meta { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); }
.preloader__skip {
  position: absolute; right: var(--gutter); bottom: 32px;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe);
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.preloader__skip:hover { color: var(--lime); }

/* ---------- Progreso y cursor ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--bronze); transform-origin: 0 50%; transform: scaleX(0); }

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 150; mix-blend-mode: difference; }
  .cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
  .cursor__ring {
    width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(255,255,255,.7);
    display: grid; place-items: center;
    transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s;
  }
  .cursor__ring em { font: 600 10px/1 var(--f-sans); letter-spacing: .18em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .3s; }
  .cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .cursor.is-label .cursor__ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: #fff; border-color: #fff; }
  .cursor.is-label .cursor__ring em { opacity: 1; }
  .cursor.is-label .cursor__dot { opacity: 0; }
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; gap: 32px;
  padding: 0 var(--gutter);
  color: var(--lime);
  transition: transform .7s var(--ease), height .5s var(--ease), color .5s, background-color .5s, backdrop-filter .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { height: 64px; backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1); }
.header.is-scrolled[data-theme="dark"] { background: rgba(26, 22, 18, .72); border-color: var(--line-dark); }
.header.is-scrolled[data-theme="light"] { background: rgba(239, 227, 213, .78); border-color: var(--line-light); }
.header[data-theme="light"] { color: var(--ink); }
.header.is-hidden { transform: translateY(-100%); }

.logo { display: flex; align-items: center; gap: 14px; }
.logo__mark, .preloader__mark, .footer__mark {
  display: block; aspect-ratio: 1293 / 770; background: currentColor;
  -webkit-mask: url(assets/ld-mark.png) center / contain no-repeat; mask: url(assets/ld-mark.png) center / contain no-repeat;
}
.logo__mark { width: 38px; transition: width .5s var(--ease); }
.header.is-scrolled .logo__mark { width: 32px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; letter-spacing: .16em; font-size: 13px; font-weight: 400; font-family: var(--f-display); padding-left: 14px; border-left: 1px solid currentColor; }
.logo__b { font-family: var(--f-sans); font-weight: 400; font-size: 9.5px; letter-spacing: .42em; margin-top: 6px; opacity: .8; }

.nav { display: flex; gap: clamp(18px, 2.2vw, 38px); margin-left: auto; }
.nav a, .header__cta {
  position: relative; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  padding: 6px 0;
}
.nav a::after, .header__cta::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.nav a:hover::after, .nav a.is-current::after, .header__cta:hover::after { transform: scaleX(1); transform-origin: left; }
.header__cta { border-left: 1px solid currentColor; padding-left: 28px; margin-left: 4px; }
.header__cta::after { left: 28px; }
.header__cta i { font-style: normal; display: inline-block; transition: transform .5s var(--ease); }
.header__cta:hover i { transform: translate(2px, -2px); }

.burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; z-index: 2; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .6s var(--ease), top .6s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--night); color: var(--lime);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .9s var(--ease), visibility 0s .9s;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .9s var(--ease), visibility 0s; }
.menu-open .header { color: var(--lime); background: transparent !important; border-color: transparent !important; backdrop-filter: none; transform: none; }
.menu__nav { display: flex; flex-direction: column; gap: 4px; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 18px;
  font-family: var(--f-display); font-size: clamp(1.2rem, 5.4vw, 2.6rem); line-height: 1.5; letter-spacing: 0; font-weight: 400; text-transform: uppercase;
  opacity: 0; transform: translateY(40px);
  transition: opacity .5s, transform .8s var(--ease);
}
.menu__nav small { font-size: 11px; letter-spacing: .2em; color: var(--taupe); font-weight: 500; min-width: 22px; }
.menu-open .menu__nav a { opacity: 1; transform: none; }
.menu-open .menu__nav a:nth-child(1) { transition-delay: .25s; }
.menu-open .menu__nav a:nth-child(2) { transition-delay: .31s; }
.menu-open .menu__nav a:nth-child(3) { transition-delay: .37s; }
.menu-open .menu__nav a:nth-child(4) { transition-delay: .43s; }
.menu-open .menu__nav a:nth-child(5) { transition-delay: .49s; }
.menu-open .menu__nav a:nth-child(6) { transition-delay: .55s; }
.menu__foot { margin-top: auto; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }
html.menu-open, html.menu-open body { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: var(--lime); }
.hero__media { position: absolute; inset: -4%; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(26,22,18,.55) 0%, rgba(26,22,18,.15) 35%, rgba(26,22,18,.25) 60%, rgba(26,22,18,.82) 100%),
    rgba(26,22,18,.18);
}
.hero__grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, 1fr); padding: 0 var(--gutter); pointer-events: none; }
.hero__grid i { border-left: 1px solid rgba(239,227,213,.08); }
.hero__grid i:last-child { border-right: 1px solid rgba(239,227,213,.08); }
.hero__content {
  position: absolute; left: 0; right: 0; bottom: clamp(88px, 13vh, 150px);
  padding: 0 var(--gutter);
  will-change: transform;
}
.hero__micro { margin-bottom: clamp(18px, 3vh, 32px); color: var(--sand); }
.hero__title {
  margin: 0; font-family: var(--f-display); font-size: var(--fs-hero); line-height: 1.02; letter-spacing: 0; font-weight: 400; text-transform: uppercase;
}
.hero__title em { text-transform: none; font-size: 1.22em; letter-spacing: -.04em; color: var(--sand); }
.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: clamp(24px, 4vh, 44px); flex-wrap: wrap; }
.hero__sub { max-width: 30em; font-size: var(--fs-lead); margin: 0; color: rgba(239,227,213,.86); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; gap: 12px; align-items: center; color: var(--sand); font-size: 10.5px; white-space: nowrap;
}
.hero__scroll i { font-style: normal; display: inline-block; animation: nudge 2.2s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.hero__curtain {
  position: absolute; inset: 0; background: var(--lime); pointer-events: none;
  clip-path: polygon(0 100%, 0 100%, 34% 100%, 34% 100%, 66% 100%, 66% 100%, 100% 100%, 100% 100%);
}

/* ---------- Manifiesto ---------- */
.manifesto { position: relative; background: var(--lime); color: var(--ink); padding: clamp(80px, 12vw, 180px) 0 clamp(100px, 14vw, 200px); overflow: hidden; }
.bp-lines { position: absolute; inset: 0; pointer-events: none; }
.bp-lines svg { width: 100%; height: 100%; }
.bp-lines path, .bp-lines circle { fill: none; stroke: var(--line-light); stroke-width: 1; vector-effect: non-scaling-stroke; }
.manifesto__grid {
  position: relative;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(12px, 2vw, 32px);
  grid-template-areas:
    "l l l l l l l l . . . ."
    "t t t t t t t t f f f f"
    "x x x x x x . . f f f f"
    ". . . q q q q q f f f f";
}
.manifesto__label { grid-area: l; margin-bottom: clamp(28px, 4vw, 56px); color: var(--umber); }
.manifesto__title { grid-area: t; align-self: start; }
.manifesto__title em { color: var(--umber); }
.manifesto__figure { grid-area: f; margin: 0; align-self: start; margin-top: clamp(40px, 8vw, 140px); }
.manifesto__img { overflow: hidden; aspect-ratio: 3 / 4.4; background: var(--sand); }
.manifesto__img img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.manifesto__figure figcaption { margin-top: 14px; color: var(--umber); font-size: 10.5px; }
.manifesto__text {
  grid-area: x; margin: clamp(48px, 7vw, 110px) 0 0;
  font-size: clamp(1.25rem, 2vw, 1.9rem); line-height: 1.38; letter-spacing: -.015em; font-weight: 400;
}
.words .w { display: inline; opacity: .14; transition: none; }
.manifesto__quote { grid-area: q; margin: clamp(48px, 6vw, 90px) 0 0; padding-top: 24px; border-top: 1px solid var(--line-light); }
.manifesto__quote .micro { color: var(--umber); }
.manifesto__quote p { margin: 14px 0 0; font-size: var(--fs-lead); max-width: 30em; }
.manifesto__quote em { font-size: 1.25em; line-height: 1.3; }

/* ---------- Expansión ---------- */
.expand { position: relative; height: 220vh; background: var(--lime); }
.expand__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.expand__frame { position: absolute; inset: 0; clip-path: inset(22% 32% 22% 32%); will-change: clip-path; }
.expand__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); will-change: transform; }
.expand__frame::after { content: ""; position: absolute; inset: 0; background: rgba(26,22,18,.35); }
.expand__caption { position: relative; color: var(--lime); text-align: center; padding: 0 var(--gutter); }
.js .expand__caption { opacity: 0; }
.expand__caption em { display: block; color: var(--sand); }

/* ---------- Proceso ---------- */
.process { position: relative; height: 520vh; background: var(--night); }
.process__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.process__stage { position: absolute; inset: 0; display: grid; place-items: center; }
.bp { position: absolute; width: min(1200px, 92vw); height: auto; max-height: 76vh; top: 50%; left: 50%; transform: translate(-50%, -52%); overflow: visible; }
.bp path, .bp circle { fill: none; stroke: var(--sand); stroke-width: 1.1; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.bp .ln-1 path { stroke: var(--lime); stroke-width: 1.4; }
.bp .dash { stroke-dasharray: 3 7; stroke: var(--taupe); }
.bp-grid path { stroke: rgba(239,227,213,.05); stroke-width: 1; }
.bp-txt text { fill: var(--taupe); font: 500 11px var(--f-sans); letter-spacing: .2em; text-anchor: middle; }
.bp-txt .note { text-anchor: start; fill: var(--sand); font-size: 10px; }

.swatches {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  list-style: none; margin: 0; padding: 0; display: grid; gap: 14px;
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--sand);
}
.swatches li { display: flex; align-items: center; gap: 12px; }
.js .swatches li { opacity: 0; }
.swatches span { width: 44px; height: 44px; background-size: cover; border: 1px solid var(--line-dark); }
.sw-wood { background: repeating-linear-gradient(90deg, #5e412c 0 5px, #7b553a 5px 9px, #3b281c 9px 10px); }

/* Composición arquitectónica conceptual, construida en CSS */
.plate { position: absolute; inset: 0; will-change: clip-path; }
.js .plate { clip-path: inset(18% 26% 18% 26%); opacity: 0; }
.plate__inner { position: absolute; inset: 0; will-change: transform; }
.plate i { position: absolute; display: block; }
.plate .p-sky { inset: 0; background: linear-gradient(180deg, #cdbba7 0%, #e7dac9 55%, #d9c8b4 100%); }
.p-wall-l, .p-wall-r, .p-floor {
  background-color: #e3d4c1;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .3 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(90deg, rgba(0,0,0,0) 0 24.8%, rgba(116,98,84,.12) 25% 25.1%, rgba(0,0,0,0) 25.3% 49.8%, rgba(116,98,84,.12) 50% 50.1%, rgba(0,0,0,0) 50.3% 74.8%, rgba(116,98,84,.12) 75% 75.1%, rgba(0,0,0,0) 75.3%);
}
.plate .p-wall-l { left: 0; width: 40%; top: 24%; bottom: 20%; }
.plate .p-door {
  left: 40%; width: 21%; top: 30%; bottom: 20%;
  background:
    linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,0) 30%, rgba(0,0,0,.18)),
    repeating-linear-gradient(90deg, #5e412c 0 1.1vw, #7b553a 1.1vw 2vw, #2f2016 2vw 2.15vw);
  box-shadow: inset 0 0 0 10px #3b2a1e;
}
.plate .p-wall-r { left: 61%; right: 0; top: 38%; bottom: 20%; background-color: #d7c6b1; }
.plate .p-slab {
  left: -4%; width: 82%; top: 18%; height: 6%;
  background: linear-gradient(180deg, #8a7563, #5f4f43);
  box-shadow: 0 30px 60px rgba(30,20,12,.35);
}
.plate .p-floor { left: 0; right: 0; bottom: 8%; height: 12%; background-color: #e9ddcd; }
.plate .p-water { left: 0; right: 0; bottom: 0; height: 8%; background: linear-gradient(180deg, #3e4a46, #1f2624); }
.plate .p-water::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(239,227,213,.08) 0 1px, transparent 1px 7px); }
.plate .p-shadow { inset: 0; background: linear-gradient(118deg, rgba(40,28,18,0) 0 38%, rgba(40,28,18,.32) 38.2% 64%, rgba(40,28,18,0) 64.2%); mix-blend-mode: multiply; }
.plate::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,22,18,.55) 0%, rgba(26,22,18,0) 22%, rgba(26,22,18,0) 45%, rgba(26,22,18,.78) 100%); pointer-events: none; }
.plate .p-vase { left: 63%; width: 7%; bottom: 20%; aspect-ratio: 1 / 1.15; background: radial-gradient(120% 90% at 50% 0%, #b8956b, #7d6040 70%); clip-path: polygon(18% 0, 82% 0, 100% 40%, 84% 100%, 16% 100%, 0 40%); }
.plate .p-light { inset: 0; background: radial-gradient(60% 50% at 82% 18%, rgba(255,236,206,.45), transparent 70%); mix-blend-mode: soft-light; }

.process__hud {
  position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--header-h) + 8px);
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap; color: var(--sand);
}
.process__kicker { color: var(--taupe); }
.process__steps { display: flex; gap: 22px; list-style: none; margin: 0 0 0 auto; padding: 0; counter-reset: s; }
.process__steps li { counter-increment: s; opacity: .35; transition: opacity .5s; }
.process__steps li::before { content: "0" counter(s) " "; color: var(--bronze); }
.process__steps li.is-active { opacity: 1; }
.process__bar { position: absolute; left: 0; right: 0; top: calc(100% + 16px); height: 1px; background: var(--line-dark); }
.process__bar span { display: block; height: 100%; background: var(--sand); transform: scaleX(0); transform-origin: 0 50%; }
.process__disclaimer { position: absolute; right: 0; top: calc(100% + 32px); font-size: 9.5px; color: var(--taupe); opacity: .8; }
.process__texts { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(40px, 9vh, 96px); }
/* Sin JS solo se ve la última etapa, sobre la composición completa */
html:not(.js) .st:not(.st-4) { display: none; }
.js .st { opacity: 0; }
.st { position: absolute; left: 0; bottom: 0; max-width: 14em; color: var(--lime); font-size: clamp(1.6rem, 3.6vw, 3.6rem); }
.st small { display: block; margin-bottom: 20px; color: var(--taupe); letter-spacing: .22em; }
.st em { color: var(--sand); }
.st-4 { max-width: 12em; text-shadow: 0 2px 40px rgba(26,22,18,.35); }
.st-4 em { color: var(--lime); }

/* ---------- Puerto Morelos ---------- */
.place { position: relative; background: var(--night-2); color: var(--lime); }
.place__pin { height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.place__track { display: flex; align-items: center; gap: clamp(32px, 4vw, 72px); padding: 0 var(--gutter); will-change: transform; height: 100%; }
.place__intro { flex: 0 0 min(620px, 80vw); display: grid; gap: 28px; }
.place__intro .micro { color: var(--taupe); }
.place__intro h2 em { color: var(--sand); }
.place__intro .lead { color: rgba(239,227,213,.82); }
.place__coords { color: var(--bronze) !important; }
.place__card { flex: 0 0 auto; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.place__card--tall { width: clamp(280px, 28vw, 440px); }
.place__card--tall .place__img { aspect-ratio: 3 / 4.2; }
.place__card--wide { width: clamp(340px, 46vw, 760px); }
.place__card--wide .place__img { aspect-ratio: 16 / 10; }
.place__card--mid { width: clamp(300px, 34vw, 540px); margin-top: 18vh; }
.place__card--mid .place__img { aspect-ratio: 1 / 1; }
.place__img { overflow: hidden; background: var(--ink); }
.place__img img { width: 120%; max-width: none; height: 100%; object-fit: cover; will-change: transform; }
.place__card figcaption { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: baseline; }
.place__card figcaption .micro { color: var(--bronze); white-space: nowrap; }
.place__card figcaption p { margin: 0; color: rgba(239,227,213,.72); font-size: 15px; max-width: 26em; }
.place__end { flex: 0 0 min(560px, 80vw); padding-right: var(--gutter); }
.place__end .display { font-size: clamp(2.2rem, 4.6vw, 4.4rem); }
.place__end em { color: var(--sand); }

/* ---------- Local Estate ---------- */
.estate { position: relative; background: var(--sand); color: var(--ink); padding: clamp(100px, 13vw, 200px) 0; overflow: hidden; }
.estate::before {
  content: ""; position: absolute; inset: 0; background: url(assets/img/tex-sand.webp) center / cover; opacity: .5; mix-blend-mode: multiply; pointer-events: none;
}
.estate__grid {
  position: relative;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(12px, 2vw, 32px); row-gap: 0;
  grid-template-areas:
    "l l l l . . . . . . . ."
    "t t t t t t t s s s s s"
    ". . . . . d d d d d d d"
    "x x x x x x x x x x x x"
    "c c c c c . . . . . . .";
}
.estate__label { grid-area: l; color: var(--umber); margin-bottom: 32px; }
.estate__title { grid-area: t; font-size: clamp(2.6rem, 8.4vw, 8.6rem); line-height: .98; letter-spacing: 0; }
.estate__title em { color: var(--umber); }
.estate__lead { grid-area: d; margin-top: clamp(32px, 4vw, 56px); font-size: clamp(1.15rem, 1.7vw, 1.6rem); line-height: 1.45; letter-spacing: -.01em; }
.estate__brand { grid-area: s; justify-self: end; align-self: center; margin: 0; width: clamp(200px, 23vw, 340px); padding-top: 22px; border-top: 1px solid var(--line-light); }
.estate__logo {
  display: block; aspect-ratio: 1112 / 566; background: var(--ink);
  -webkit-mask: url(assets/tle-logo.png) center / contain no-repeat; mask: url(assets/tle-logo.png) center / contain no-repeat;
}
.estate__brand figcaption { margin-top: 18px; color: var(--umber); font-size: 10.5px; }
.estate__list {
  grid-area: x; list-style: none; margin: clamp(64px, 8vw, 120px) 0 clamp(48px, 6vw, 80px); padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light);
}
.estate__list li { padding: 28px clamp(0px, 2vw, 32px) 8px 0; border-right: 1px solid var(--line-light); padding-left: clamp(0px, 2vw, 32px); }
.estate__list li:first-child { padding-left: 0; }
.estate__list li:last-child { border-right: 0; }
.estate__list .micro { color: var(--umber); }
.estate__list h3 { margin: 22px 0 12px; font-family: var(--f-display); font-size: clamp(1.1rem, 1.7vw, 1.6rem); font-weight: 400; letter-spacing: .02em; text-transform: uppercase; }
.estate__list p { margin: 0; max-width: 24em; color: rgba(43,36,30,.78); }
.estate__cta { grid-area: c; justify-self: start; }

/* ---------- Nuestros desarrollos ---------- */
.work { position: relative; background: var(--night-2); color: var(--lime); padding: clamp(100px, 12vw, 180px) 0 clamp(90px, 11vw, 160px); overflow: hidden; }
.work__head {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(12px, 2vw, 32px); align-items: end;
  grid-template-areas: "l l l l l l . . . . . ." "t t t t t t t t g g g g" "p p p p p p . . g g g g";
}
.work__label { grid-area: l; color: var(--taupe); margin-bottom: 32px; }
.work__title { grid-area: t; font-size: clamp(2.4rem, 6.2vw, 6.4rem); line-height: 1.04; }
.work__title em { color: var(--sand); }
.work__logo { grid-area: g; justify-self: end; width: clamp(150px, 17vw, 250px); height: auto; }
.work__place { grid-area: p; margin-top: 24px; color: var(--bronze); }
.work__hero { margin: clamp(56px, 7vw, 100px) 0 0; }
.work__hero-img { position: relative; overflow: hidden; aspect-ratio: 16 / 8.2; clip-path: inset(0 var(--gutter)); will-change: clip-path; }
.work__hero-img img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.work__hero figcaption { margin-top: 16px; color: var(--taupe); font-size: 10.5px; }
.work__body {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(12px, 2vw, 32px);
  margin-top: clamp(64px, 8vw, 120px);
}
.work__lead { grid-column: 1 / 8; margin: 0; font-size: clamp(1.25rem, 2vw, 1.9rem); line-height: 1.4; letter-spacing: -.015em; }
.work__facts { grid-column: 1 / -1; margin: clamp(56px, 7vw, 100px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.work__facts > div { padding: 26px clamp(12px, 2vw, 32px) 0; border-left: 1px solid var(--line-dark); }
.work__facts > div:first-child { border-left: 0; padding-left: 0; }
.work__facts dt { color: var(--taupe); font-size: 10.5px; }
.work__facts dd {
  margin: 18px 0 0; font-family: var(--f-display); font-size: clamp(2.2rem, 4.6vw, 4.6rem); line-height: 1; color: var(--lime);
  -webkit-text-stroke: .035em currentColor; paint-order: stroke fill;
}
.work__facts small { font-family: var(--f-sans); font-weight: 300; font-size: .34em; margin-left: .35em; color: var(--sand); -webkit-text-stroke: 0; letter-spacing: .04em; }
.work__gallery {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(12px, 2vw, 32px); row-gap: clamp(40px, 5vw, 72px);
  margin-top: clamp(80px, 10vw, 150px);
}
.work__shot { margin: 0; }
.work__shot figcaption { margin-top: 14px; color: var(--taupe); font-size: 10.5px; }
.work__img { overflow: hidden; background: var(--ink); }
.work__img img { width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.work__shot--a { grid-column: 1 / 8; }
.work__shot--a .work__img { aspect-ratio: 16 / 10; }
.work__shot--b { grid-column: 9 / 13; grid-row: 1 / 3; margin-top: clamp(80px, 12vw, 200px); }
.work__shot--b .work__img { aspect-ratio: 4 / 5; }
.work__shot--c { grid-column: 2 / 7; }
.work__shot--c .work__img { aspect-ratio: 16 / 10; }
.work__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; margin-top: clamp(72px, 9vw, 130px); padding-top: 28px; border-top: 1px solid var(--line-dark); }
.work__tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; flex: 1 1 420px; }
.work__tags li { padding: 9px 16px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--sand); font-size: 10.5px; }
.work__credit { color: var(--bronze); }

/* ---------- Coming Soon ---------- */
.soon { position: relative; background: var(--night); color: var(--lime); }
.soon__sticky { position: relative; background: var(--night); height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; display: grid; place-items: center; text-align: center; }
.soon__grid {
  position: absolute; inset: -10%;
  background-image: linear-gradient(rgba(239,227,213,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(239,227,213,.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(60% 55% at 50% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 55% at 50% 50%, #000 30%, transparent 75%);
}
.soon__label { position: absolute; top: calc(var(--header-h) + 24px); left: 0; right: 0; color: var(--taupe); }
.soon__title { position: relative; margin: 0; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; line-height: .95; letter-spacing: 0; font-size: clamp(2.4rem, 10.4vw, 10.6rem); }
.soon__row { display: block; overflow: hidden; }
.soon__row > span { display: block; }
.soon__title em { text-transform: none; color: var(--sand); letter-spacing: -.04em; font-size: 1.2em; }
.soon__sub { position: absolute; bottom: clamp(48px, 10vh, 110px); left: 0; right: 0; margin: 0; padding: 0 var(--gutter); color: rgba(239,227,213,.75); font-size: var(--fs-lead); }
.soon__mark { position: relative; width: clamp(110px, 13vw, 190px); height: auto; margin: 0 auto clamp(20px, 3vh, 36px); filter: drop-shadow(0 20px 40px rgba(0,0,0,.45)); }
.soon__sticky { grid-template-rows: auto; align-content: center; }

.contact {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(12px, 2vw, 32px);
  padding-top: clamp(60px, 8vw, 120px); padding-bottom: clamp(100px, 12vw, 180px);
  border-top: 1px solid var(--line-dark);
}
.contact__intro { grid-column: 1 / 6; display: grid; gap: 24px; align-content: start; }
.contact__intro .micro { color: var(--taupe); }
.contact__intro .display { font-size: clamp(2.2rem, 4.4vw, 4.2rem); }
.contact__intro em { color: var(--sand); }
.contact__intro .lead { color: rgba(239,227,213,.75); }
.contact__direct { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 18px; }
.contact__direct li { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.contact__direct .micro { color: var(--taupe); font-size: 10.5px; }
.contact__direct a { font-size: clamp(1.1rem, 1.6vw, 1.5rem); color: var(--lime); width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); overflow-wrap: anywhere; }
.contact__direct a:hover { background-size: 100% 1px; }
.form { grid-column: 7 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; align-content: start; }
.form__hp { position: absolute; left: -9999px; }
.field { display: grid; gap: 10px; }
.field--full, .field:nth-of-type(3) { grid-column: 1 / -1; }
.field span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }
.field small { text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-dark);
  color: var(--lime); font: 400 18px/1.4 var(--f-sans); padding: 8px 0 12px; border-radius: 0;
  transition: border-color .4s;
  -webkit-appearance: none; appearance: none;
}
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23b09d8f'/%3E%3C/svg%3E") right 4px center no-repeat; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sand); }
.field.is-invalid input { border-color: #c98a6a; }
.form__send { justify-self: start; margin-top: 8px; }
.form__status { grid-column: 1 / -1; min-height: 1.4em; color: var(--sand); letter-spacing: .14em; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--lime); padding-top: 48px; border-top: 1px solid var(--line-dark); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__top .micro { color: var(--taupe); }
.footer__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
.footer__contact a { font-size: 13px; letter-spacing: .04em; color: var(--sand); transition: color .3s; }
.footer__contact a:hover { color: var(--lime); }
.menu__foot a { color: inherit; }
.footer__nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__nav a { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; transition: opacity .3s; }
.footer__nav a:hover { opacity: 1; }
.footer__mark { width: clamp(56px, 6vw, 84px); margin: clamp(48px, 6vw, 80px) auto 0; color: var(--bronze); }
.footer__word {
  margin: clamp(20px, 3vw, 36px) 0 0; padding: 0 var(--gutter);
  font-family: var(--f-display); font-size: clamp(1.15rem, 5.6vw, 6.2rem); font-weight: 400; letter-spacing: 0; line-height: 1; white-space: nowrap;
  color: var(--umber); text-align: center;
}
.footer__bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; color: var(--taupe); font-size: 10.5px; }
.footer__top-link:hover { color: var(--lime); }

/* ---------- Revelados ---------- */
.js .reveal-up { opacity: 0; transform: translateY(32px); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  /* En tablet las muestras de material pasan a una fila bajo el HUD, para no pisar el plano */
  .swatches { top: calc(var(--header-h) + 128px); left: var(--gutter); right: auto; transform: none; grid-auto-flow: column; gap: 18px; font-size: 9.5px; }
  .swatches span { width: 30px; height: 30px; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .bp-lines { display: none; }
  .header.is-scrolled { height: 60px; }
  .manifesto__grid { grid-template-areas: "l l l l l l l l l l l l" "t t t t t t t t t t t t" "f f f f f f f f f f f f" "x x x x x x x x x x x x" "q q q q q q q q q q q q"; }
  .manifesto__figure { margin-top: 48px; width: 78%; justify-self: end; }
  .place__pin { height: auto; display: block; padding: 100px 0 80px; }
  .place__track { flex-direction: column; align-items: stretch; height: auto; gap: 64px; }
  .place__intro, .place__end { flex: none; padding-right: 0; }
  .place__card, .place__card--tall, .place__card--wide, .place__card--mid { width: 100%; margin-top: 0; }
  .place__card--tall { width: 82%; }
  .place__card:nth-of-type(odd) { align-self: flex-end; }
  .place__card--tall .place__img { aspect-ratio: 4 / 5; }
  .place__img img { width: 100%; }
  .place__card figcaption { grid-template-columns: 1fr; gap: 8px; }
  .estate__grid { grid-template-areas: "l l l l l l l l l l l l" "t t t t t t t t t t t t" "s s s s s s s s s s s s" "d d d d d d d d d d d d" "x x x x x x x x x x x x" "c c c c c c c c c c c c"; }
  .estate__brand { justify-self: start; margin-top: 40px; width: min(240px, 70%); }
  .estate__list { grid-template-columns: 1fr; }
  .estate__list li, .estate__list li:first-child { border-right: 0; border-bottom: 1px solid var(--line-light); padding: 24px 0; }
  .estate__list li:last-child { border-bottom: 0; }
  .contact__intro, .form { grid-column: 1 / -1; }
  .work__head { grid-template-areas: "l l l l l l l l l l l l" "t t t t t t t t t t t t" "p p p p p p p p p p p p" "g g g g g g g g g g g g"; }
  .work__logo { justify-self: start; margin-top: 36px; width: 150px; }
  .work__hero-img { aspect-ratio: 4 / 3.4; }
  .work__lead { grid-column: 1 / -1; }
  .work__facts { grid-template-columns: 1fr 1fr; }
  .work__facts > div { padding: 24px 0 24px 18px; border-bottom: 1px solid var(--line-dark); }
  .work__facts > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .work__shot--a, .work__shot--c { grid-column: 1 / -1; }
  .work__shot--b { grid-column: 3 / -1; grid-row: auto; margin-top: 0; }
  .form { margin-top: 48px; }
  .soon__mark { position: relative; width: clamp(110px, 13vw, 190px); height: auto; margin: 0 auto clamp(20px, 3vh, 36px); filter: drop-shadow(0 20px 40px rgba(0,0,0,.45)); }
.soon__sticky { grid-template-rows: auto; align-content: center; }
  .process__steps { margin-left: 0; gap: 14px; font-size: 10px; }
  .process__kicker { width: 100%; }
  .process__disclaimer { left: 0; right: auto; }
  .bp { top: 46%; }
  .plate .p-wall-l { width: 30%; }
  .plate .p-door { left: 30%; width: 34%; }
  .plate .p-wall-r { left: 64%; }
  .plate .p-vase { left: 68%; width: 16%; }
  .st { font-size: clamp(1.4rem, 6.4vw, 2.2rem); }
}
@media (max-width: 560px) {
  .hero__foot { flex-direction: column; align-items: flex-start; }
  .hero__title { font-size: clamp(1.5rem, 7.8vw, 3rem); }
  .form { grid-template-columns: 1fr; }
  .swatches { display: none; }
  .footer__bottom { flex-direction: column; }
}

/* Pantallas anchas: el plano se desplaza a la derecha y el texto de cada etapa
   ocupa la izquierda, para que nunca se encimen */
@media (min-aspect-ratio: 5/4) and (min-width: 901px) {
  .bp { width: 56vw; max-height: 62vh; left: auto; right: var(--gutter); top: 54%; transform: translateY(-50%); }
  .st:not(.st-4) { max-width: 34vw; }
  .swatches { top: auto; bottom: clamp(40px, 9vh, 96px); right: var(--gutter); left: auto; transform: none; grid-auto-flow: column; gap: 22px; }
}

/* Pantallas bajas (teléfono en horizontal): el plano a la derecha y el texto a la
   izquierda, porque apilados no caben */
@media (max-height: 560px) and (orientation: landscape) {
  .process__kicker, .process__disclaimer, .swatches { display: none; }
  .process__hud { top: calc(var(--header-h) - 6px); }
  .process__bar { top: calc(100% + 10px); }
  .bp { width: auto; height: 52vh; max-height: none; left: auto; right: var(--gutter); top: 56%; transform: translateY(-50%); }
  .process__texts { bottom: 28px; }
  .st { max-width: 44%; font-size: clamp(1.05rem, 2.8vw, 1.6rem); }
  .st small { margin-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
