/* Portada y sección NFC: el scroll recorre capturas del video con transiciones (public/js/scroll-scene.js). */
.scrub-on [data-scrub-in],.scrub-on [data-scrub-out]{opacity:var(--o,1);transform:translateY(calc((1 - var(--o,1)) * 18px))}
.scrub-on .is-off{pointer-events:none}
.editorial-hero-image, .tst-nfc-capturas { pointer-events: none; animation: none !important; transform: none; translate: none; transition: none; }
.editorial-hero-image img, .tst-nfc-capturas img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tst-public-home #inicio .editorial-hero-shade { background: linear-gradient(90deg, #09231eb3 0%, #0e2e2a59 40%, #0e2e2a00 68%), linear-gradient(0deg, #09231e8c 0%, #09231e00 26%); }
.tst-public-home #inicio h1, .editorial-hero-description, .tst-scrub-words, .tst-nfc-video h2, .tst-nfc-video-text { text-shadow: 0 2px 20px #00000099; }
.tst-scrub-words { display: none; }
.tst-nfc-video { position: relative; isolation: isolate; overflow: hidden; min-height: 80svh; display: flex; align-items: center; padding: 6rem max(1.25rem, calc((100% - 1280px) / 2)); background: #0e2e2a; color: #fff; }
.tst-nfc-capturas { position: absolute; inset: 0; z-index: -2; }
.tst-nfc-video-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #09231ebf 0%, #0e2e2a73 34%, #0e2e2a00 62%); }
.tst-nfc-video-copy { max-width: 560px; }
.tst-nfc-video h2 { font: 600 clamp(2.4rem, 4.6vw, 4.6rem)/1.04 'Montserrat', sans-serif; letter-spacing: -.04em; color: #fff; margin: .5rem 0 0; }
.tst-nfc-video-text { color: #eef7f3; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.65; margin: 1.4rem 0 1.8rem; }
.tst-nfc-video .editorial-eyebrow { color: #8ff3d9; }
/* overflow hidden en html y body convierte a body en contenedor de scroll y anula position: sticky. */
html.scrub-on, html.scrub-on body { overflow-x: clip !important; }
.tst-public-home .tst-scrub--hero > #inicio { background-color: #0e2e2a; padding: 8rem max(1.25rem, calc((100% - 1280px) / 2)) 5rem !important; }
html.scrub-on .tst-scrub--hero { height: 800vh; }
html.scrub-on .tst-scrub--nfc { height: 650vh; }
html.scrub-on .tst-public-home #inicio.editorial-hero { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; overflow: hidden; }
html.scrub-on .tst-nfc-video { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; padding-block: 5rem 3rem; }
html.scrub-on .tst-scrub-words { display: flex; flex-direction: column; position: absolute; left: max(1.25rem, calc((100% - 1280px) / 2)); top: 50%; translate: 0 -50%; font: 600 clamp(2rem, 4.2vw, 4.2rem)/1.08 'Montserrat', sans-serif; letter-spacing: -.045em; color: #fff; pointer-events: none; }
html.scrub-on .tst-scrub-words span:nth-child(2n) { color: #8ff3d9; }
html.scrub-on .tst-scrub-words p { font-weight: 400; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.6; letter-spacing: 0; color: #eef7f3; margin: 1.2rem 0 0; }
@media (max-width: 767px) {
  html.scrub-on .tst-public-home #inicio.editorial-hero { padding-top: 6rem !important; padding-bottom: 5rem !important; align-items: flex-end; }
  .tst-public-home #inicio .editorial-hero-shade { background: linear-gradient(0deg, #0e2e2ae6 0%, #0e2e2a8c 38%, #0e2e2a00 66%); }
  .tst-nfc-video-shade { background: linear-gradient(0deg, #0e2e2ae6 0%, #0e2e2a8c 36%, #0e2e2a00 62%); }
  html.scrub-on .tst-nfc-video { align-items: flex-end; }
}
