/* Variante B — «Celosía»: la celosía dorada de la fachada se enciende como de noche */

/* ---------- Luces ---------- */
.b-lights { position: relative; height: 200vh; background: var(--tezontle); color: var(--cal); }
.b-lights-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.b-lattice { position: absolute; inset: 0; width: 100%; height: 100%; }
.b-lattice .tile { fill: none; stroke: var(--laton); stroke-width: 1; opacity: .18; transition: opacity 1.2s, fill 1.2s; }
.b-lattice .tile.is-lit { opacity: 1; fill: rgba(232, 176, 92, .22); }
.b-lights-text {
  position: relative; z-index: 1;
  max-width: 46rem; padding: 0 var(--gutter);
  text-align: center;
}
/* Un velo suave detrás del texto para que la celosía no lo ensucie */
.b-lights-text::before {
  content: ""; position: absolute; inset: -30% -10%; z-index: -1;
  background: radial-gradient(closest-side, var(--tezontle) 55%, transparent);
}
.b-lights-line { font: 400 clamp(2rem, 4.6vw, 4.1rem)/1.12 var(--serif); }
.b-lights-note { margin: 2rem auto 0; max-width: 30rem; color: rgba(243, 239, 236, .78); }

/* ---------- Tira horizontal ---------- */
.b-strip { position: relative; }
.b-strip-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.b-strip-track { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); padding: 0 var(--gutter); will-change: transform; }
.b-strip-intro { flex: 0 0 min(31rem, 80vw); padding-right: clamp(0px, 4vw, 64px); }
.b-strip-intro h2 { font-size: clamp(2.2rem, 4.2vw, 3.8rem); line-height: 1.06; }
.b-strip-intro p { margin: 1.4rem 0 1.8rem; color: var(--tezontle-soft); }
.b-frame { flex: 0 0 auto; width: calc(var(--frame-h) * .75); --frame-h: min(60vh, 560px); }
/* Un solo tamaño; el ritmo lo da una ola: una foto arriba, la siguiente abajo */
.b-frame:nth-of-type(odd) { transform: translateY(-5vh); }
.b-frame:nth-of-type(even) { transform: translateY(5vh); }
.b-frame img { width: 100%; height: var(--frame-h); object-fit: cover; }
.b-frame figcaption { margin-top: .8rem; font-size: .9rem; color: var(--tezontle-soft); }

/* ---------- Método ---------- */
.b-method { padding: clamp(100px, 14vh, 160px) var(--gutter); background: var(--cal-deep); }
.b-method h2 { font-size: clamp(2.2rem, 4.2vw, 3.8rem); line-height: 1.06; margin-bottom: clamp(48px, 8vh, 88px); }
.b-rows { list-style: none; margin: 0; padding: 0; }
.b-rows li {
  display: grid; grid-template-columns: 6rem minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 40px; align-items: baseline;
  padding: 2rem 0; border-top: 1px solid rgba(168, 131, 79, .5);
}
.b-rows li:last-child { border-bottom: 1px solid rgba(168, 131, 79, .5); }
.b-n { font: 400 clamp(2.6rem, 5vw, 4.4rem)/1 var(--serif); color: var(--laton); }
.b-rows h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.1; }
.b-rows p { color: var(--tezontle-soft); max-width: 26rem; }

/* ---------- Daria ---------- */
.b-founder { position: relative; height: 110vh; height: 110svh; overflow: hidden; color: var(--cal); display: flex; align-items: flex-end; }
.b-founder img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; object-position: 50% 25%; will-change: transform; }
.b-founder::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30, 20, 18, .78), rgba(30, 20, 18, 0) 55%); }
.b-founder-text { position: relative; z-index: 1; padding: 0 var(--gutter) clamp(48px, 10vh, 110px); max-width: 44rem; }
.b-founder h2 { font-size: clamp(2.2rem, 4.2vw, 3.8rem); }
.b-founder blockquote { margin: 1.4rem 0 2rem; font: 400 clamp(1.3rem, 2vw, 1.7rem)/1.35 var(--serif); }
.link--light { background-image: linear-gradient(var(--cal), var(--cal)); }

.v-b .places { padding-top: clamp(110px, 16vh, 180px); }

@media (max-width: 860px) {
  .b-lights { height: 170vh; }
  .b-frame { --frame-h: 52svh; }
  .b-frame:nth-of-type(odd) { transform: translateY(-3svh); }
  .b-frame:nth-of-type(even) { transform: translateY(3svh); }
  .b-rows li { grid-template-columns: 3.4rem 1fr; }
  .b-rows p { grid-column: 2; }
  .b-founder { height: 92svh; }
}

@media (prefers-reduced-motion: reduce) {
  .b-lights { height: auto; }
  .b-lights-stage { position: relative; }
  .b-lattice .tile { opacity: .6; transition: none; }
  .b-strip { height: auto !important; }
  .b-strip-stage { position: relative; height: auto; overflow-x: auto; padding: 80px 0; }
  .b-founder img { transform: none !important; }
}
