/* ============ MANIFIESTO · #manifiesto (+ quiénes somos) ============ */
.mf { position: relative; }

/* --- base (sin JS / movimiento reducido): cinco bloques normales; cada uno trae su figura en data-shape --- */
.mf-in { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 28px); }
.mf-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: clamp(3rem, 8vw, 7rem); margin-bottom: clamp(1rem, 3vw, 2.4rem); }
.mf-top .eyebrow .num { color: var(--muted); }
.mf-text { grid-column: 1 / span 7; position: relative; isolation: isolate; }
.mf-phrase { min-height: 70vh; min-height: 70svh; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(2rem, 6vh, 4rem); }
.mf-rail { display: none; }

.mf-lead { font-size: clamp(2.1rem, .8rem + 4.3vw, 5.2rem); line-height: .99; letter-spacing: -.04em; font-weight: 720; text-wrap: balance; margin: 0; }
.mf-lead em, .mf-em { font-style: normal; }
.mf-body { margin: clamp(1.1rem, 2vw, 1.8rem) 0 0; font-size: clamp(1.1rem, .98rem + .55vw, 1.5rem); line-height: 1.4; color: var(--paper-2); max-width: 36ch; }
.mf-w { display: inline; }
.mf-lead em .mf-w, .mf-lead em { color: var(--accent); }

/* lectura garantizada: un velo oscuro detrás del texto, porque el polvo de cubos pasa por debajo */
.mf-text::before { content: ''; position: absolute; z-index: -1; inset: -12vh -10vw -12vh -9vw; pointer-events: none; background: radial-gradient(ellipse 70% 62% at 36% 50%, rgba(13, 13, 16, .84), rgba(13, 13, 16, .58) 55%, rgba(13, 13, 16, 0) 100%); }

/* --- escena fija (JS + movimiento normal): una sola pantalla que cambia de frase --- */
.mf-pinned .mf-scene { height: 300vh; height: 300svh; position: relative; }
.mf-pinned .mf-pin { position: sticky; top: 0; height: 100vh; height: 100svh; }
.mf-pinned .mf-in { height: 100%; grid-template-rows: auto 1fr; padding-bottom: clamp(24px, 6vh, 64px); }
.mf-pinned .mf-top { padding-top: clamp(84px, 11.5vh, 118px); margin-bottom: 0; }
.mf-pinned .mf-text { align-self: center; display: grid; }
.mf-pinned .mf-phrase { grid-area: 1 / 1; min-height: 0; padding-block: 0; justify-content: flex-start; }

/* riel de progreso (5 cubitos) */
.mf-pinned .mf-rail { display: grid; position: absolute; left: calc(var(--gutter) * .3); top: 50%; transform: translateY(-50%); margin: 0; padding: 0; list-style: none; gap: 14px; pointer-events: none; }
.mf-rail li { display: flex; align-items: center; }
.mf-rail i { display: block; width: 9px; height: 9px; background: var(--line-strong); transition: background .5s var(--ease-out), transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.mf-rail li.is-on i { background: var(--accent); transform: scale(1.35); box-shadow: 5px 5px 0 -1px var(--cobalt); }
.mf-rail li.is-done i { background: var(--paper-2); }
@media (max-width: 760px) { .mf-pinned .mf-rail { display: none; } }

/* --- quiénes somos (teaser de una pantalla) --- */
.mf-about { position: relative; min-height: 70vh; min-height: 70svh; display: flex; align-items: center; padding-block: clamp(3rem, 7vh, 5rem) clamp(3rem, 7vh, 5rem); }
.mf-about-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.mf-about-main { grid-column: 1 / span 6; display: grid; gap: clamp(1rem, 2.2vw, 1.7rem); justify-items: start; }
.mf-about-head, .mf-about-rest { display: grid; gap: clamp(1rem, 2.2vw, 1.7rem); justify-items: start; width: 100%; }
.mf-about-txt, .mf-about-rest { position: relative; isolation: isolate; }
.mf-about-txt { display: grid; gap: clamp(1rem, 2.2vw, 1.7rem); justify-items: start; }
.mf-about-txt::before, .mf-about-rest::before { content: ''; position: absolute; z-index: -1; inset: -8vh -8vw -4vh -9vw; pointer-events: none; background: radial-gradient(ellipse 70% 70% at 38% 50%, rgba(13, 13, 16, .8), rgba(13, 13, 16, .5) 45%, rgba(13, 13, 16, .2) 72%, rgba(13, 13, 16, 0) 100%); }
.mf-about-main .eyebrow .num { color: var(--muted); }
.mf-about-title { font-size: var(--step-5); line-height: .92; letter-spacing: -.045em; font-weight: 760; margin: 0; }
.mf-about-copy { max-width: 50ch; font-size: clamp(1.02rem, .96rem + .3vw, 1.22rem); line-height: 1.5; color: var(--paper-2); }
.mf-about-copy p { margin: 0; }
.mf-about-copy strong { color: var(--paper); font-weight: 600; }
.mf-ficha { margin: 0; width: 100%; max-width: 560px; border-top: 1px solid var(--line-strong); }
.mf-ficha > div { display: grid; grid-template-columns: minmax(5.5rem, 7rem) 1fr; gap: 1rem; padding: .7em 0; border-bottom: 1px solid var(--line); }
.mf-ficha dt { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: .2em; }
.mf-ficha dd { margin: 0; font-size: clamp(.95rem, .9rem + .2vw, 1.05rem); line-height: 1.4; color: var(--paper); }
.mf-about-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.mf-about-link { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--paper); border-bottom: 1px solid var(--line-strong); padding-bottom: .25em; transition: border-color .4s var(--ease-out), color .4s var(--ease-out); }
.mf-about-link:hover { border-color: var(--accent); color: var(--accent); }

/* --- responsive --- */
@media (max-width: 980px) {
  .mf-text { grid-column: 1 / span 10; }
  .mf-about-main { grid-column: 1 / span 9; }
}
@media (max-width: 760px) {
  .mf-in { grid-template-columns: 1fr; }
  .mf-top { padding-top: 4.5rem; }
  .mf-text, .mf-about-main { grid-column: 1 / -1; }
  .mf-lead { font-size: clamp(1.95rem, 1rem + 5.8vw, 2.8rem); line-height: 1.02; }
  .mf-body { font-size: 1.08rem; }
  .mf-pinned .mf-in { padding-bottom: 12svh; }
  .mf-pinned .mf-top { padding-top: 76px; }
  .mf-pinned .mf-text { align-self: end; }
  .mf-pinned .mf-phrase { justify-content: flex-end; }
  .mf-text::before { inset: -8vh -8vw -6vh -8vw; background: linear-gradient(0deg, rgba(13, 13, 16, .86), rgba(13, 13, 16, .6) 70%, rgba(13, 13, 16, 0)); }
  .mf-about { min-height: 0; display: block; padding-block: 0 4rem; }
  .mf-about-in { display: block; }
  .mf-about-main { gap: 0; }
  .mf-about-head { min-height: 80svh; align-content: end; padding-bottom: 2rem; }
  .mf-about-txt::before, .mf-about-rest::before { inset: -6vh -8vw -2vh; background: linear-gradient(0deg, rgba(13, 13, 16, .86), rgba(13, 13, 16, .6) 70%, rgba(13, 13, 16, 0)); }
  .mf-about-rest { padding-top: 1rem; }
  .mf-about-title { font-size: clamp(2.8rem, 1.6rem + 6vw, 4rem); }
  .mf-ficha > div { grid-template-columns: 5.2rem 1fr; gap: .7rem; }
}
