:root {
  --ml-yellow: #ffe600;
  --ink: #111214;
  --ink-soft: #4a4d52;
  --paper: #f6f6f6;          /* mismo gris del fondo del render aislado */
  --stone: #cfd0d3;          /* gris de la sección «La intervención» */
  --card: #f6f6f6;
  --line-gray: #a9abb0;
  --night: #070b14;
  --night-line: rgba(255, 255, 255, .22);
  --radius: 999px;
  --pad: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Helvetica Neue", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper);
  line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 12px; top: -48px; z-index: 60; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sim :focus-visible { outline-color: #fff; }

/* ---------- Progreso y navegación ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 40; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }

.nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--pad);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px);
}
.nav__brand { font-weight: 700; letter-spacing: .02em; color: var(--ink); text-decoration: none; }
.nav__links { display: flex; gap: clamp(14px, 3vw, 32px); }
.nav__links a {
  color: var(--ink-soft); text-decoration: none; font-size: .9rem;
  padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); border-bottom-color: var(--ink); }
@media (max-width: 520px) { .nav__links a:first-child { display: none; } }

/* ---------- Tipografía y botón ---------- */
.eyebrow {
  margin: 0 0 20px; display: flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
}
.eyebrow .num { font-variant-numeric: tabular-nums; }
.eyebrow .num::after { content: ""; display: inline-block; width: 36px; height: 1px; background: currentColor; vertical-align: middle; margin-left: 12px; }
.eyebrow--dark { color: rgba(255, 255, 255, .62); margin-bottom: 10px; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 0 32px;
  background: var(--ml-yellow); color: var(--ink);
  font: 700 1rem/1 var(--font); text-decoration: none; border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), gap .25s var(--ease);
}
.btn::after { content: "→"; font-weight: 400; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .5); }
.btn:hover::after { transform: translateX(4px); }

/* ---------- Animaciones de entrada ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes slide-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes drift { from { opacity: 0; transform: translateY(60px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@keyframes march { to { stroke-dashoffset: -18; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 100% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); } }

.rise { opacity: 0; animation: rise .9s var(--ease) var(--d, 0s) forwards; }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- 1. Portada ---------- */
.cover {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center; gap: clamp(24px, 5vw, 80px);
  min-height: calc(100svh - 56px);
  padding: clamp(16px, 3vw, 40px) var(--pad) clamp(40px, 5vw, 72px);
}
.cover h1 {
  margin: 0 0 28px; font-size: clamp(2.9rem, 7.4vw, 7.2rem);
  line-height: .98; letter-spacing: -.035em; font-weight: 800;
}
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line > span { display: block; animation: slide-up 1s var(--ease) var(--d, 0s) backwards; }

.lede { margin: 0 0 40px; max-width: 34ch; font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.4; color: var(--ink-soft); }
.cover__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.cover__meta { margin: 0; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }

.cover__art { position: relative; margin: 0; display: flex; justify-content: center; align-items: center; }
.cover__render { position: relative; z-index: 1; animation: drift 1.3s var(--ease) .2s backwards;  }
.cover__render img {
  width: auto; height: auto; max-height: calc(100svh - 120px); max-width: 100%; object-fit: contain;  /* estructura completa, base incluida */
}

.scroll-cue {
  position: absolute; left: var(--pad); bottom: 18px; width: 1px; height: 44px; background: rgba(0, 0, 0, .28); overflow: hidden;
}
.scroll-cue span { position: absolute; inset: 0; background: var(--ink); animation: cue 2s var(--ease) infinite; }

@media (max-width: 800px) {
  .cover { grid-template-columns: 1fr; min-height: 0; gap: 28px; padding-top: 20px; }
  .cover__render img { max-height: 78svh; }
  .scroll-cue { display: none; }
}

/* ---------- 2. Vista desde Periférico (sección oscura) ---------- */
.sim { background: var(--night); color: #fff; padding: clamp(48px, 8vw, 112px) 0 clamp(32px, 5vw, 64px); }
.sim__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding: 0 var(--pad) clamp(24px, 3.5vw, 44px);
}
.sim h2 { margin: 0; font-size: clamp(2.2rem, 5.4vw, 5rem); line-height: 1; letter-spacing: -.035em; font-weight: 800; }
.sim__controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.seg { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--night-line); border-radius: var(--radius); }
.seg__btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 22px;
  font: 600 .95rem/1 var(--font); color: rgba(255, 255, 255, .78);
  background: transparent; border: 0; border-radius: var(--radius); cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.seg__btn:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.seg__dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; background: transparent; flex: none; transition: background-color .3s; }
.seg__btn[aria-pressed="true"] { background: var(--ml-yellow); color: var(--ink); }
.seg__btn[aria-pressed="true"] .seg__dot { background: var(--ink); border-color: var(--ink); }

.detail-btn {
  display: none; min-height: 46px; padding: 0 20px; font: 600 .95rem/1 var(--font); color: #fff;
  background: transparent; border: 1px solid var(--night-line); border-radius: var(--radius); cursor: pointer;
}
.detail-btn:hover { background: rgba(255, 255, 255, .08); }
.detail-btn[aria-pressed="true"] { border-color: #fff; }
@media (max-width: 900px) { .detail-btn { display: inline-flex; align-items: center; } }

.stage { margin: 0; }
.scene { position: relative; width: 100%; line-height: 0; }
.scene svg { width: 100%; height: auto; }

.fd-box { fill: none; stroke: rgba(255, 255, 255, .88); stroke-width: 1.25; stroke-dasharray: 5 4; animation: march 1.4s linear infinite; }

.fd-tag {
  position: absolute; transform: translate(0, -100%);
  display: inline-flex; align-items: center; gap: 8px; padding: 3px 9px 3px 8px; margin-top: -6px;
  font: 600 11px/1.4 var(--font); letter-spacing: .12em; color: #fff;
  background: rgba(7, 11, 20, .72); border: 1px solid rgba(255, 255, 255, .6); border-radius: 4px;
  white-space: nowrap; pointer-events: none;
}
.fd-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: ping 1.8s ease-out infinite; }

.note { padding: 14px var(--pad) 0; font-size: .85rem; line-height: 1.5; color: rgba(255, 255, 255, .66); }

/* ---------- 3. La intervención ---------- */
.int { background: var(--stone); padding: clamp(64px, 9vw, 128px) var(--pad) clamp(40px, 6vw, 80px); }
.int__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.int h2 { margin: 0 0 28px; font-size: clamp(2.5rem, 6.2vw, 5.8rem); line-height: .98; letter-spacing: -.035em; font-weight: 800; }
.int__text { margin: 0 0 36px; max-width: 38ch; font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--ink-soft); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  min-height: 44px; padding: 0 20px; font: 600 .95rem/1 var(--font); color: var(--ink);
  background: transparent; border: 1.5px solid var(--ink); border-radius: var(--radius); cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.chip:hover { transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.zone-desc { min-height: 3em; margin: 20px 0 0; max-width: 40ch; font-size: 1rem; color: var(--ink-soft); }

.int__card { margin: 0; justify-self: center; width: min(100%, 460px); background: var(--card); border-radius: 28px; padding: clamp(12px, 2vw, 24px); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .35); }
.int__stage { position: relative; line-height: 0; }
.int__stage img, .int__stage svg { width: 100%; height: auto; }
#dim { fill: var(--stone); }
.int__stage svg { position: absolute; inset: 0; }
#dim { opacity: 0; transition: opacity .5s var(--ease); }
#ring { fill: none; stroke: var(--ink); stroke-width: 2.5; opacity: 0; transition: opacity .4s var(--ease); }
.int[data-zona]:not([data-zona="todo"]) #dim { opacity: .82; }
.int[data-zona]:not([data-zona="todo"]) #ring { opacity: 1; }

.spec { margin: clamp(48px, 7vw, 96px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.spec > div { padding: 22px 20px 8px 0; border-right: 1px solid var(--line-gray); margin-right: 20px; }
.spec > div:last-child { border-right: 0; margin-right: 0; }
.spec dt { font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.spec dd { margin: 8px 0 0; font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }

@media (max-width: 800px) {
  .int__grid { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .spec > div:nth-child(2) { border-right: 0; margin-right: 0; }
}

.foot { padding: clamp(40px, 6vw, 72px) var(--pad) clamp(40px, 6vw, 64px); background: var(--ink); color: #fff; }
.foot p { margin: 0; font-size: clamp(1rem, 2.2vw, 1.5rem); font-weight: 600; letter-spacing: -.01em; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .line > span, .cover__render { animation: none; opacity: 1; transform: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .fd-box, .fd-tag::before, .scroll-cue span { animation: none; }
  .btn, .btn::after, .chip, .seg__btn, #dim, #ring { transition: none; }
}

@media (max-width: 520px) {
  .sim__controls { width: 100%; }
  .seg { width: 100%; }
  .seg__btn { flex: 1; justify-content: center; padding: 0 10px; gap: 8px; font-size: .88rem; white-space: nowrap; }
}

/* ---------- Cambio de vista (sur / norte) ---------- */
.view { opacity: 0; transition: opacity .55s var(--ease); pointer-events: none; }
.view.is-active { opacity: 1; }
.seg--view .seg__btn[aria-pressed="true"] { background: #fff; color: var(--ink); }
.seg--view .seg__code { opacity: .6; font-weight: 500; }
@media (max-width: 520px) { .seg--view .seg__code { display: none; } }
@media (prefers-reduced-motion: reduce) { .view { transition: none; } }

/* =====================================================================
   SÚPER PRODUCTOS · Polanco (FD-119) como producto estrella
   ===================================================================== */
:root {
  --black: #0a0a0b;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}
.dark { background: var(--black); color: #fff; }
.dark :focus-visible, .nav :focus-visible { outline-color: #fff; }

/* Animaciones de entrada controladas por scroll (sustituyen a las de carga) */
.rise { opacity: 1; animation: none; }
.line > span { animation: none; }
.cover__render { animation: none; }
.js .rise { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .rise.in { opacity: 1; transform: none; }
.js .split .line > span { transform: translateY(108%); transition: transform 1.05s var(--ease) var(--d, 0s); }
.js .split.in .line > span { transform: none; }
.line--serif { padding-bottom: .16em; margin-bottom: -.1em; }
.line--serif em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }

/* Navegación oscura de cristal */
.progress span { background: var(--ml-yellow); }
.nav { background: rgba(10, 10, 11, .74); }
.nav__brand { color: #fff; }
.nav__links a { color: rgba(255, 255, 255, .68); }
.nav__links a:hover, .nav__links a.is-active { color: #fff; border-bottom-color: #fff; }
@media (max-width: 520px) { .nav__links a:first-child { display: inline; } }

.btn-ghost {
  display: inline-flex; align-items: center; min-height: 56px; padding: 0 28px;
  font: 600 1rem/1 var(--font); color: #fff; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .4); border-radius: var(--radius);
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.link-arrow { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; color: inherit; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 3px; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Hero Polanco ---------- */
.p-hero {
  position: relative; overflow: hidden;
  padding: clamp(36px, 6vw, 80px) var(--pad) 0;
  background:
    radial-gradient(55% 65% at 76% 42%, rgba(255, 230, 0, .17), transparent 70%),
    radial-gradient(40% 50% at 8% 100%, rgba(255, 255, 255, .06), transparent 70%),
    var(--black);
}
.p-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(28px, 5vw, 80px); align-items: center;
  min-height: calc(100svh - 56px - 64px);
  padding-bottom: clamp(28px, 4vw, 56px);
}
.p-badge {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 8px 16px;
  font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .85); border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius);
}
.p-badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ml-yellow); box-shadow: 0 0 0 0 rgba(255, 230, 0, .7); animation: pulse 2s ease-out infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(255, 230, 0, 0); } }

.p-hero h1 { margin: 0 0 30px; font-size: clamp(3.3rem, 9vw, 9rem); line-height: .94; letter-spacing: -.045em; font-weight: 800; }
.p-hero h1 .line--serif { font-size: .6em; line-height: 1.02; }
.p-hero__lede { margin: 0 0 36px; max-width: 36ch; font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.45; color: rgba(255, 255, 255, .74); }
.p-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.p-hero__eyebrow { margin: 0; font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }

/* Pantalla LED con el creativo */
.led { margin: 0; perspective: 1500px; }
.led__frame {
  --rx: 3deg; --ry: -9deg;
  position: relative; aspect-ratio: 2 / 1; padding: clamp(6px, 1.2vw, 12px);
  background: #000; border-radius: 12px;
  box-shadow: 0 0 0 2px #1d1d20, 0 50px 120px -30px rgba(255, 230, 0, .45), 0 0 220px rgba(255, 230, 0, .12);
  transform: rotateY(var(--ry)) rotateX(var(--rx));
  transition: transform .35s var(--ease);
}
.led__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 5px; }
.led__screen img { width: 100%; height: 100%; object-fit: cover; }
.led__screen::before {   /* trama de píxeles */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: multiply;
  background-image: radial-gradient(circle at 50% 50%, transparent 52%, rgba(0, 0, 0, .3) 62%); background-size: 3px 3px;
}
.led__screen::after {    /* destello que recorre la pantalla */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .24) 50%, transparent 58%);
  transform: translateX(-120%); animation: sweep 7s ease-in-out 1.5s infinite;
}
@keyframes sweep { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.led__cap { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin-top: clamp(22px, 3vw, 40px); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }

.marquee { margin: 0 calc(var(--pad) * -1); border-top: 1px solid rgba(255, 255, 255, .14); overflow: hidden; white-space: nowrap; padding: 18px 0; }
.marquee__track { display: inline-flex; gap: 0; animation: marquee 38s linear infinite; }
.marquee__track span { padding: 0 28px; font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.marquee__track span::after { content: "·"; margin-left: 56px; color: var(--ml-yellow); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Números ---------- */
.numbers { padding: clamp(72px, 10vw, 150px) var(--pad); border-top: 1px solid rgba(255, 255, 255, .1); }
.numbers__head h2 { margin: 0 0 clamp(40px, 6vw, 88px); font-size: clamp(2.6rem, 7vw, 6.6rem); line-height: .98; letter-spacing: -.04em; font-weight: 800; }
.numbers__head .line--serif { font-size: .55em; }
.eq { display: grid; grid-template-columns: 1fr auto 1fr auto 1.25fr; gap: clamp(12px, 3vw, 44px); align-items: end; }
.eq__op { font-family: var(--serif); font-size: clamp(2rem, 5vw, 4.4rem); font-weight: 300; line-height: 1; color: rgba(255, 255, 255, .35); padding-bottom: .55em; }
.eq__item { border-top: 1px solid rgba(255, 255, 255, .22); padding-top: 18px; }
.eq__label { margin: 0 0 10px; font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.eq__value { margin: 0; font-size: clamp(2.2rem, 5.4vw, 5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.eq__note { margin: 12px 0 0; font-size: .95rem; color: rgba(255, 255, 255, .6); }
.eq__item--hero { border-top: 3px solid var(--ml-yellow); }
.eq__item--hero .eq__value { font-size: clamp(2.6rem, 6.6vw, 6.2rem); }
.numbers__src { margin: clamp(32px, 4vw, 56px) 0 0; font-size: .82rem; color: rgba(255, 255, 255, .45); }
@media (max-width: 900px) {
  .eq { grid-template-columns: 1fr; gap: 12px; }
  .eq__op { padding: 0; text-align: left; font-size: 2.2rem; }
}

/* ---------- Audiencias ---------- */
.aud { background: var(--paper); padding: clamp(72px, 10vw, 150px) var(--pad); }
.aud__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 120px); align-items: start; }
.aud h2 { margin: 0 0 28px; font-size: clamp(2.6rem, 6.6vw, 6.2rem); line-height: .98; letter-spacing: -.04em; font-weight: 800; }
.aud h2 .line--serif { font-size: .6em; }
.aud__text { margin: 0; max-width: 38ch; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--ink-soft); }
.aud__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.aud__list li { display: grid; grid-template-columns: 3.4rem 1fr; gap: 12px; padding: 26px 0; border-bottom: 1px solid #c9c9c9; transition: padding-left .4s var(--ease); }
.aud__list li:hover { padding-left: 14px; }
.aud__n { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--ink-soft); padding-top: .5rem; }
.aud__list h3 { margin: 0 0 6px; font-size: clamp(1.7rem, 3.2vw, 2.7rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; }
.aud__list p { margin: 0; max-width: 40ch; color: var(--ink-soft); }
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin-top: clamp(48px, 7vw, 100px); }
.why__card { background: #fff; border-radius: 22px; padding: clamp(22px, 2.4vw, 34px); box-shadow: 0 24px 50px -38px rgba(0, 0, 0, .4); }
.why__k { margin: 0 0 10px; font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.why__card p:last-child { margin: 0; color: var(--ink-soft); }
@media (max-width: 800px) { .aud__grid, .why { grid-template-columns: 1fr; } }

/* ---------- Polanco en contexto ---------- */
.psim { padding: clamp(72px, 10vw, 140px) var(--pad); }
.psim__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.psim h2 { margin: 0 0 24px; font-size: clamp(2.4rem, 5.4vw, 5rem); line-height: .98; letter-spacing: -.04em; font-weight: 800; }
.psim h2 .line--serif { font-size: .62em; }
.psim__text { margin: 0 0 32px; max-width: 40ch; color: rgba(255, 255, 255, .72); font-size: clamp(1rem, 1.4vw, 1.2rem); }
.psim .seg { margin-bottom: 28px; }
.psim .seg__btn { white-space: nowrap; }
.thumbs { display: flex; gap: 12px; }
.thumb {
  position: relative; width: clamp(72px, 9vw, 104px); aspect-ratio: 3 / 4; padding: 0; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; border-radius: 12px; background: #111; opacity: .62;
  transition: opacity .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb span { position: absolute; inset: auto 0 0 0; padding: 14px 6px 6px; font: 600 .68rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }
.thumb:hover { opacity: 1; transform: translateY(-3px); }
.thumb[aria-pressed="true"] { opacity: 1; border-color: #fff; }
.psim__note { padding: 0; margin-top: 22px; }

.pstage { margin: 0; justify-self: center; width: min(100%, 560px); }
.pstage__frame { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 24px; background: #111; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .1); }
.shot { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.shot.is-active { opacity: 1; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot__sim { opacity: 0; transition: opacity .7s var(--ease); }
.psim[data-con="on"] .shot__sim { opacity: 1; }
.psim.is-lighting .shot.is-active .shot__sim { animation: lit 1.1s var(--ease); }
@keyframes lit { 0% { filter: brightness(2.4) saturate(1.3); } 100% { filter: none; } }
.shot__tag {
  position: absolute; left: var(--x); top: var(--y); transform: translate(0, calc(-100% - 8px));
  padding: 3px 9px; font: 600 11px/1.4 var(--font); letter-spacing: .12em; color: #fff;
  background: rgba(10, 10, 11, .72); border: 1px solid rgba(255, 255, 255, .6); border-radius: 4px;
}
@media (max-width: 800px) { .psim__grid { grid-template-columns: 1fr; } .pstage { order: -1; } }

/* ---------- Ficha ---------- */
.ficha { background: #fff; padding: clamp(64px, 9vw, 130px) var(--pad); }
.ficha h2 { margin: 0 0 clamp(32px, 5vw, 64px); font-size: clamp(2.4rem, 6vw, 5.6rem); line-height: .98; letter-spacing: -.04em; font-weight: 800; }
.ficha h2 .line--serif { font-size: .52em; }
.spec--p { margin-top: 0; border-top-color: var(--ink); }
.spec--p dd { font-size: clamp(1.05rem, 1.8vw, 1.45rem); }
.ficha__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(28px, 4vw, 48px); }
.ficha__foot p { margin: 0; max-width: 52ch; color: var(--ink-soft); }

/* ---------- Periférico: el bloque de portada ahora es el producto 02 ---------- */
.cover { background: var(--paper); }
.cover__title { margin: 0 0 28px; font-size: clamp(2.9rem, 7.4vw, 7.2rem); line-height: .98; letter-spacing: -.035em; font-weight: 800; }
.cover .eyebrow { margin-bottom: 20px; }

/* ---------- Resumen ---------- */
.resume { padding: clamp(72px, 10vw, 150px) var(--pad) clamp(56px, 8vw, 110px); }
.resume__head h2 { margin: 0 0 clamp(36px, 5vw, 72px); font-size: clamp(2.6rem, 7vw, 6.6rem); line-height: .98; letter-spacing: -.04em; font-weight: 800; }
.resume__head .line--serif { font-size: .6em; }
.resume__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(16px, 2.4vw, 32px); }
.rcard { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 44px); border: 1px solid rgba(255, 255, 255, .18); border-radius: 26px; background: rgba(255, 255, 255, .03); }
.rcard--lead { background: linear-gradient(160deg, rgba(255, 230, 0, .14), rgba(255, 255, 255, .02) 60%); border-color: rgba(255, 230, 0, .5); }
.rcard__k { margin: 0; font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.rcard h3 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; }
.rcard__where { margin: 0; color: rgba(255, 255, 255, .65); }
.rtable { width: 100%; border-collapse: collapse; margin: 10px 0 4px; font-variant-numeric: tabular-nums; }
.rtable th, .rtable td { padding: 12px 0; text-align: right; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 700; }
.rtable th:first-child { text-align: left; font-weight: 500; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.rtable thead th { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); font-weight: 600; }
.rcard__idea { margin: 4px 0 8px; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: rgba(255, 255, 255, .85); }
.rcard .link-arrow { align-self: flex-start; margin-top: auto; color: #fff; }
.resume__src { margin: 28px 0 0; font-size: .82rem; color: rgba(255, 255, 255, .45); }
@media (max-width: 900px) { .resume__grid { grid-template-columns: 1fr; } }

/* Pie */
.foot { border-top: 1px solid rgba(255, 255, 255, .12); }

/* Móvil */
@media (max-width: 800px) {
  .p-hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .led__frame { --ry: -5deg; }
  .p-hero h1 { font-size: clamp(3.4rem, 17vw, 6rem); }
}
@media (max-width: 520px) {
  .psim .seg { width: 100%; }
  .psim .seg__btn { flex: 1; padding: 0 8px; font-size: .88rem; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .p-badge__dot, .led__screen::after, .marquee__track { animation: none; }
  .js .rise, .js .split .line > span { opacity: 1; transform: none; transition: none; }
  .led__frame, .thumb, .shot, .shot__sim, .aud__list li { transition: none; }
  .psim.is-lighting .shot.is-active .shot__sim { animation: none; }
}

/* ====== Storytelling: puente, mapa, total y cierre ====== */
.bridge { padding: clamp(80px, 11vw, 170px) var(--pad); border-top: 1px solid rgba(255,255,255,.1); background: radial-gradient(900px 500px at 85% 0%, rgba(255,230,0,.12), transparent 60%), var(--black); }
.bridge__inner { max-width: 1100px; }
.bridge h2 { margin: 0 0 clamp(32px, 4vw, 56px); font-size: clamp(2.6rem, 7vw, 6.4rem); line-height: .98; letter-spacing: -.04em; font-weight: 800; }
.bridge h2 .line--serif { font-size: .6em; color: var(--ml-yellow); }
.bridge__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 64px); font-size: clamp(1.05rem, 1.6vw, 1.4rem); line-height: 1.5; color: rgba(255,255,255,.72); }
.bridge__cols p { margin: 0; }
.bridge__cols strong { color: #fff; }
.bridge__stat { margin: clamp(40px, 6vw, 80px) 0 0; display: flex; flex-direction: column; gap: 10px; }
.bridge__stat span { font-size: clamp(3rem, 9vw, 8rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.bridge__stat small { font-size: .95rem; color: rgba(255,255,255,.55); }

.mapa { padding: clamp(72px, 10vw, 150px) var(--pad); border-top: 1px solid rgba(255,255,255,.1); }
.mapa__head h2 { margin: 0 0 18px; font-size: clamp(2.6rem, 7vw, 6.4rem); line-height: .98; letter-spacing: -.04em; font-weight: 800; }
.mapa__head .line--serif { font-size: .6em; }
.mapa__lede { margin: 0 0 clamp(28px, 4vw, 56px); max-width: 52ch; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: rgba(255,255,255,.7); line-height: 1.5; }
.mapa__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: stretch; }
.mapa__stage { position: relative; border: 1px solid rgba(255,255,255,.14); border-radius: 26px; overflow: hidden; background: #0d0e10; }
.mapa__seg { position: absolute; z-index: 2; top: 14px; left: 14px; background: rgba(10,10,11,.7); backdrop-filter: blur(10px); }
#map { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 640; touch-action: pan-y; }
.mapa__note { position: absolute; right: 14px; bottom: 10px; margin: 0; font-size: .74rem; color: rgba(255,255,255,.4); }
.map__rings circle { fill: none; stroke: rgba(255,230,0,.16); stroke-width: 1; }
.map__link { stroke: rgba(255,230,0,.55); stroke-width: 2; stroke-dasharray: 3 9; stroke-linecap: round; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.map__dist { fill: rgba(255,255,255,.55); font: 600 14px "Inter", system-ui, sans-serif; letter-spacing: .06em; }
.map__north path { fill: rgba(255,255,255,.5); }
.map__north text, .map__scale text { fill: rgba(255,255,255,.5); font: 600 13px "Inter", system-ui, sans-serif; }
.map__scale path { stroke: rgba(255,255,255,.55); stroke-width: 2; fill: none; }
.pin { cursor: pointer; outline: none; }
.pin__dot { fill: var(--ml-yellow); stroke: #0a0a0b; stroke-width: 3; transition: r .3s var(--ease); }
.pin__pulse { fill: none; stroke: var(--ml-yellow); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ping 2.2s ease-out infinite; }
.pin__glow { opacity: .55; transition: opacity .3s; }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.pin__label rect { fill: rgba(10,10,11,.88); stroke: rgba(255,255,255,.2); stroke-width: 1; transition: stroke .25s, fill .25s; }
.pin__t { fill: #fff; font: 800 18px "Inter", system-ui, sans-serif; }
.pin__s { fill: rgba(255,255,255,.62); font: 500 14px "Inter", system-ui, sans-serif; }
.pin__label--l .pin__t, .pin__label--l .pin__s { text-anchor: start; }
.pin:hover .pin__label rect, .pin:focus-visible .pin__label rect, .pin[aria-pressed="true"] .pin__label rect { stroke: var(--ml-yellow); fill: rgba(30,28,6,.92); }
.pin:focus-visible .pin__dot { stroke: #fff; }
.pin[aria-pressed="true"] .pin__dot { r: 14; }
.pin[aria-pressed="true"] .pin__glow { opacity: 1; }

.mapa__card { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 40px); border: 1px solid rgba(255,230,0,.4); border-radius: 26px; background: linear-gradient(160deg, rgba(255,230,0,.12), rgba(255,255,255,.02) 60%); }
.mapa__card.is-swap { animation: cardin .5s var(--ease); }
@keyframes cardin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.mapa__card .rcard__k { margin: 0; }
.mapa__card h3 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; }
.mapa__card p { margin: 0; }
.mapa__coord { font-variant-numeric: tabular-nums; font-size: .84rem; letter-spacing: .06em; color: rgba(255,255,255,.55); }
.mapa__card .rtable { margin-top: 4px; }
.mapa__ctas { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: auto; padding-top: 8px; }
.mapa__ctas .link-arrow { color: #fff; }
.mapa__route { margin-top: clamp(14px, 2vw, 22px); }

.resume__total { margin: 0 0 clamp(28px, 4vw, 52px); padding: clamp(22px, 3vw, 40px); border-radius: 26px; background: var(--ml-yellow); color: var(--ink, #111); display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px clamp(20px, 3vw, 48px); }
.resume__totaln { margin: 0; font-size: clamp(3rem, 9vw, 7.4rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.resume__totall { margin: 0; max-width: 40ch; font-size: clamp(.95rem, 1.3vw, 1.15rem); line-height: 1.4; font-weight: 500; }
.resume__head h2 { margin-bottom: clamp(24px, 3vw, 40px); }

.closing { padding: clamp(96px, 14vw, 200px) var(--pad); background: var(--ml-yellow); color: #111; }
.closing .eyebrow { color: rgba(0,0,0,.65); }
.closing h2 { margin: 0 0 clamp(32px, 5vw, 64px); font-size: clamp(2.8rem, 8.4vw, 8rem); line-height: .96; letter-spacing: -.045em; font-weight: 800; }
.closing h2 .line--serif { font-size: .66em; }
.closing__cta { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
.closing .btn { background: #111; color: #fff; }
.closing .link-arrow { color: #111; }

@media (max-width: 900px) {
  .bridge__cols { grid-template-columns: 1fr; }
  .mapa__grid { grid-template-columns: 1fr; }
  #map { aspect-ratio: 1000 / 760; }
  .mapa__note { position: static; padding: 0 14px 12px; }
  .mapa__seg { top: 10px; left: 10px; }
  .mapa__seg .seg__btn { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .map__link, .pin__pulse, .mapa__card.is-swap { animation: none; }
}
@media (max-width: 560px) {
  .nav__brand { display: none; }
  .nav { justify-content: center; }
  .nav__links { gap: 18px; }
}
.map__scale { transition: opacity .3s; } .is-zoom .map__scale { opacity: 0; }

/* ====== Polanco: estructura completa en amarillo ====== */
.pyel { padding: clamp(72px, 10vw, 150px) var(--pad); background: var(--paper); color: var(--ink); }
.pyel__head h2 { margin: 0 0 18px; font-size: clamp(2.4rem, 6.2vw, 5.8rem); line-height: .98; letter-spacing: -.04em; font-weight: 800; }
.pyel__head .line--serif { font-size: .62em; }
.pyel__lede { margin: 0 0 clamp(32px, 5vw, 64px); max-width: 56ch; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--ink-soft); }
.pyel__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(16px, 2.4vw, 32px); align-items: end; }
.pyel__fig { margin: 0; }
.pyel__img { overflow: hidden; border-radius: 24px; background: #cfd0d3; box-shadow: 0 30px 60px -34px rgba(0,0,0,.45); }
.pyel__img img { display: block; width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.pyel__fig:hover .pyel__img img { transform: scale(1.04); }
.pyel__fig figcaption { margin-top: 12px; font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.pyel__note { grid-column: 1 / -1; margin: 8px 0 0; font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 800px) { .pyel__grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pyel__img img { transition: none; } .pyel__fig:hover .pyel__img img { transform: none; } }
.closing__next { margin: 0 0 clamp(28px, 4vw, 48px); max-width: 52ch; font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.45; }
.sim__em { font-family: var(--serif); font-weight: 400; color: var(--ml-yellow); }
.sim__head > .reveal:first-child { flex: 1 1 100%; }
.sim #sim-titulo { font-size: clamp(3.2rem, 11vw, 10rem); line-height: .94; letter-spacing: -.045em; margin-top: 10px; }
.sim #sim-titulo .sim__em { display: block; font-size: .72em; line-height: 1.05; letter-spacing: -.02em; }
.sim__head { padding-top: clamp(8px, 2vw, 24px); gap: clamp(20px, 3vw, 36px); }

/* ====================== CINE ====================== */
/* Luz que sigue al cursor */
[data-spot] { position: relative; isolation: isolate; }
[data-spot]::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 35%), rgba(255, 230, 0, .13), transparent 62%);
  opacity: 0; transition: opacity .45s;
}
[data-spot]:hover::before { opacity: 1; }
.rcard[data-spot]::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 35%), rgba(255, 230, 0, .2), transparent 62%); }
.btn, .btn-ghost { will-change: transform; }

/* Hero: encendido de la pantalla, grano de película y pista de scroll */
.p-hero::after {
  content: ""; position: absolute; inset: -50%; z-index: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.1s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
.p-hero__grid, .marquee { position: relative; z-index: 1; }
.js .led.in .led__screen { animation: poweron 1.5s cubic-bezier(.2, .8, .2, 1) 1s both; }
@keyframes poweron {
  0% { clip-path: inset(49.6% 0 49.6% 0); filter: brightness(4) saturate(0); }
  35% { clip-path: inset(49.6% 0 49.6% 0); filter: brightness(3) saturate(0); }
  55% { clip-path: inset(0 0 0 0); filter: brightness(2.2) saturate(.3); }
  75% { filter: brightness(.8) saturate(1); }
  100% { clip-path: inset(0 0 0 0); filter: none; }
}
.scroll-cue { position: absolute; z-index: 2; right: var(--pad); bottom: 76px; display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, .6); text-decoration: none; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; transition: opacity .4s; }
.scroll-cue:hover { color: #fff; }
.scroll-cue__l { position: relative; width: 1px; height: 54px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.scroll-cue__l::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--ml-yellow); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { to { top: 100%; } }
.scroll-cue.is-hidden { opacity: 0; pointer-events: none; }
@media (max-width: 800px) { .scroll-cue { display: none; } }

/* Números: la ecuación se arma con el scroll */
.numbers--scrub.is-on { height: 320vh; padding: 0; }
.numbers--scrub.is-on .numbers__sticky {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: 88px var(--pad) 48px;
}
.numbers--scrub.is-on .numbers__head h2 { margin-bottom: clamp(28px, 5vh, 64px); }
.numbers--scrub.is-on .eq__item, .numbers--scrub.is-on .eq__op { transition: none !important; opacity: 0; }
.numbers__bar { display: none; }
.numbers--scrub.is-on .numbers__bar { display: block; position: absolute; left: var(--pad); right: var(--pad); bottom: 36px; height: 2px; background: rgba(255, 255, 255, .14); }
.numbers__bar i { display: block; height: 100%; background: var(--ml-yellow); transform: scaleX(0); transform-origin: left; }

/* Puente: texto que se enciende */
.bridge.is-words .bridge__cols .w { color: rgba(255, 255, 255, .26); transition: color .35s; }
.bridge.is-words .bridge__cols .w.is-lit { color: rgba(255, 255, 255, .9); }
.bridge.is-words .bridge__cols strong .w.is-lit { color: #fff; }

/* Polanco: cortina de apertura, inclinación y vista ampliada */
.pyel__img { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; transition: transform .5s var(--ease), box-shadow .5s; will-change: transform; }
.pyel__img:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.js .pyel__fig .pyel__img { clip-path: inset(0 0 100% 0 round 24px); }
.js .pyel__fig.in .pyel__img { clip-path: inset(0 0 0 0 round 24px); transition: clip-path 1.4s var(--ease) var(--d, 0s), transform .5s var(--ease), box-shadow .5s; }
.js .pyel__fig .pyel__img img { scale: 1.25; transition: scale 1.8s var(--ease) var(--d, 0s), transform 1.2s var(--ease); }
.js .pyel__fig.in .pyel__img img { scale: 1; }
.lb { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: clamp(16px, 3vw, 40px); background: rgba(6, 6, 8, .94); backdrop-filter: blur(14px); opacity: 0; transition: opacity .3s; }
.lb[hidden] { display: none; }
.lb.is-open { opacity: 1; }
.lb__fig { margin: 0; display: grid; justify-items: center; gap: 14px; min-height: 0; transform: scale(.96); transition: transform .45s var(--ease); }
.lb.is-open .lb__fig { transform: none; }
.lb__img { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 18px; box-shadow: 0 40px 120px -30px rgba(255, 230, 0, .25); }
.lb__cap { color: rgba(255, 255, 255, .7); font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.lb__x, .lb__nav { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; font-size: 1.4rem; cursor: pointer; transition: background .25s, transform .25s; }
.lb__x:hover, .lb__nav:hover { background: var(--ml-yellow); color: #111; transform: scale(1.06); }
.lb__x { position: absolute; top: clamp(12px, 2vw, 28px); right: clamp(12px, 2vw, 28px); z-index: 2; font-size: 1.8rem; line-height: 1; }
.lb :focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 700px) { .lb { grid-template-columns: 1fr; grid-template-rows: 1fr auto; } .lb__nav { display: none; } .lb__img { max-height: calc(100vh - 120px); } }

/* Periférico: recorrido con barras de cine y subtítulos */
.play-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--radius, 999px); background: var(--ml-yellow); color: #111; font: inherit; font-weight: 700; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s; }
.play-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(255, 230, 0, .6); }
.play-btn[aria-pressed="true"] { background: #fff; }
.play-btn__i { font-size: .8rem; }
.stage { position: relative; }
.scene::before, .scene::after { content: ""; position: absolute; left: 0; right: 0; z-index: 4; height: 0; background: #000; pointer-events: none; transition: height .9s var(--ease); }
.scene::before { top: 0; } .scene::after { bottom: 0; }
.sim.is-touring .scene::before, .sim.is-touring .scene::after { height: 9%; }
.sim__cap {
  position: absolute; z-index: 5; left: 50%; bottom: 13%; margin: 0; width: min(90%, 900px); transform: translate(-50%, 14px); text-align: center;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2.8vw, 2.3rem); line-height: 1.2; color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .9);
  opacity: 0; transition: opacity .6s, transform .6s var(--ease); pointer-events: none;
}
.sim__cap.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Mapa: entrada de los puntos y recorrido */
.seg__btn--play { color: var(--ml-yellow); }
.seg__btn--play[aria-pressed="true"] { background: #fff; color: #111; }
.js .mapa:not(.is-in) .pin__dot { transform: scale(0); }
.js .mapa:not(.is-in) .pin__label { opacity: 0; }
.pin__dot { transform-box: fill-box; transform-origin: center; }
.js .mapa.is-in .pin__dot { animation: drop .8s cubic-bezier(.2, 1.4, .4, 1) both; }
.js .mapa.is-in #pin-fd108 .pin__dot { animation-delay: .35s; }
.js .mapa.is-in .pin__label { animation: fadein .8s .5s both; }
.js .mapa.is-in #pin-fd108 .pin__label { animation-delay: .9s; }
@keyframes drop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* Cierre: letrero grande que se desplaza */
.closing { position: relative; overflow: hidden; }
.closing__marquee { position: relative; margin: clamp(56px, 8vw, 110px) calc(var(--pad) * -1) calc(clamp(96px, 14vw, 200px) * -.5); white-space: nowrap; pointer-events: none; }
.closing__marquee span { display: inline-block; font-size: clamp(5rem, 16vw, 15rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(0, 0, 0, .55); will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .p-hero::after, .scroll-cue__l::after { animation: none; }
  .js .led.in .led__screen { animation: none; }
  .numbers--scrub.is-on { height: auto; }
  .js .pyel__fig .pyel__img, .js .pyel__fig.in .pyel__img { clip-path: none; transition: none; }
  .js .pyel__fig .pyel__img img { scale: 1; transition: none; }
  .js .mapa:not(.is-in) .pin__dot, .js .mapa:not(.is-in) .pin__label { transform: none; opacity: 1; }
  .js .mapa.is-in .pin__dot, .js .mapa.is-in .pin__label { animation: none; }
  .scene::before, .scene::after, .sim__cap, .lb, .lb__fig { transition: none; }
}

/* Render sin fondo: la estructura se apoya directo sobre el gris de la sección */
.int__card { background: transparent; box-shadow: none; border-radius: 0; padding: 0; }
.int__stage img { filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .22)); }

/* Logo Sankofa Media */
.nav__brand { display: inline-flex; align-items: center; gap: 12px; }
.nav__logo { display: block; height: 30px; width: auto; }
.foot { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: clamp(36px, 5vw, 64px) var(--pad); text-align: center; }
.foot p { margin: 0; }
.foot__logo { width: clamp(92px, 11vw, 132px); height: auto; opacity: .92; }
.closing__logo { display: block; width: clamp(88px, 10vw, 128px); height: auto; margin-top: clamp(36px, 5vw, 64px); }
@media (max-width: 560px) { .nav__logo { height: 26px; } }
@media (max-width: 560px) { .nav { justify-content: space-between; } .nav__brand span { display: none; } .nav__links { gap: 14px; } }

/* Detalle con el render de alta calidad (en lugar de ampliar el montaje) */
.scene > svg { transition: filter .9s var(--ease), transform 1.1s var(--ease); }
.scene.is-detail > svg { filter: blur(12px) brightness(.26) saturate(.8); transition-delay: .55s; }
.rv { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .8s var(--ease); }
.scene.is-detail .rv { opacity: 1; transition-delay: .5s; transition-duration: .7s; }
.scene.is-detail #fd-tag { opacity: 0; transition: opacity .4s; }
.rv__glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 230, 0, .22), transparent 62%); filter: blur(10px); }
.rv__stack { position: relative; height: 96%; aspect-ratio: 1201 / 1309; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.scene.is-detail .rv__stack { transform: none; }
.rv__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.rv__img--amarillo { clip-path: inset(0 0 0 0); }
.rv__tag { position: absolute; left: 9%; top: 5.2%; transform: translateY(-100%); padding: 4px 10px; border-radius: 8px; background: rgba(10, 10, 11, .9); border: 1px solid rgba(255, 255, 255, .3); color: #fff; font: 700 .78rem/1.2 "Inter", system-ui, sans-serif; letter-spacing: .12em; }
@media (prefers-reduced-motion: reduce) { .scene > svg, .rv, .rv__stack { transition: none; } }
@media (max-width: 900px) { .scene.is-detail { min-height: min(110vw, 76svh); } }

.rv__stack.is-photo .rv__img { border-radius: 10px; }
.rv__tag { transform: translateY(-100%) translateY(-6px); }
