:root {
  --ink: #101014;
  --paper: #f6f1e7;
  --accent: #8a0303;
  --sun: #ffb703;
  --line: rgba(16, 16, 20, 0.72);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Archivo", Helvetica, Arial, sans-serif; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.micro, .nav, .pill { font-family: "Archivo", Helvetica, Arial, sans-serif; font-weight: 500; font-size: 10px; line-height: 1.2; letter-spacing: 0.055em; text-transform: uppercase; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; z-index: 500; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between;
  padding: 28px 32px; color: var(--accent); pointer-events: none;
}
.site-header a, .site-header button { pointer-events: auto; }
.site-header .nav, .site-header .brand { mix-blend-mode: multiply; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: "Archivo", Helvetica, Arial, sans-serif; font-weight: 600; font-size: 23px; line-height: 1; letter-spacing: .07em; text-transform: uppercase; }
.brand-mark { flex: none; width: 44px; height: 44px; object-fit: contain; }
.brand-art { display: none; }
.brand em { font-style: normal; font-weight: 400; }
.nav { display: flex; gap: 44px; align-items: center; font-weight: 500; }
.nav-primary { font-weight: 600; letter-spacing: .075em; }
.nav-primary::after { content: ""; display: block; height: 1px; margin-top: 4px; background: currentColor; }
.nav-secondary { opacity: .68; transition: opacity .3s ease; }
.nav-secondary:hover, .nav-secondary:focus-visible { opacity: 1; }
.menu { width: 32px; padding: 6px 0; border: 0; color: inherit; background: transparent; cursor: pointer; }
.menu i { display: block; height: 1.5px; margin: 5px 0; background: currentColor; }

main { position: relative; z-index: 2; }

/* ---------- Hero ---------- */
.hero-sequence { position: relative; height: 300vh; background: #ece7dc; }
.hero-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #ece7dc; }
.hero-media, .hero-media img, .hero-media canvas, .hero-wash, .hero-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { overflow: hidden; }
.hero-media img { object-fit: cover; object-position: 50% 50%; will-change: transform; }
.hero-canvas { z-index: 3; display: block; opacity: 0; background: #fff; transition: opacity .35s ease; }
.hero-stage.has-motion-video { background: #fff; }
.hero-stage.has-motion-video .hero-canvas { opacity: 1; }
.hero-stage.has-motion-video .hero-image,
.hero-stage.has-motion-video .hero-fallback { display: none; }
.hero-stage.has-motion-video .hero-wash { background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.55)); }
.hero-stage.has-motion-video .hero-copy { color: var(--paper); }
.hero-stage.has-motion-video .scroll-meter::before { background: rgba(255,255,255,.35); }
.hero-stage.has-poster .hero-fallback { opacity: 0; }
.hero-image { transform-origin: 60% 38%; }
/* Placeholder mientras no hay media cargada. */
.hero-fallback { z-index: 2; display: grid; place-items: center; background:
  repeating-linear-gradient(135deg, #e4dfd3 0 22px, #ece7dc 22px 44px); }
.hero-fallback span { font: 500 10px/1 "Archivo", Helvetica, sans-serif; letter-spacing: .22em; color: rgba(16,16,20,.42); }
.hero-wash { z-index: 4; background: linear-gradient(180deg, rgba(255,255,255,.10), transparent 45%, rgba(0,0,0,.20)); pointer-events: none; }
.hero-index { position: absolute; z-index: 5; left: 32px; right: 32px; top: 86px; display: flex; justify-content: space-between; }
.hero-copy { position: absolute; z-index: 6; left: 48px; bottom: 42px; }
h1, h2, h3 { font-family: "Archivo", Helvetica, Arial, sans-serif; font-weight: 600; margin: 0; text-transform: uppercase; letter-spacing: -0.035em; }
h1 { font-size: clamp(56px, 7.2vw, 116px); line-height: 0.88; letter-spacing: -0.045em; }
.title-line { display: block; overflow: hidden; padding-right: .08em; }
.title-inner { display: inline-block; }
.title-inner .char { display: inline-block; min-width: .02em; will-change: opacity, transform; }
.title-inner .char-space { min-width: .26em; }
.title-italic { font-weight: 400; }
.pill { display: inline-flex; align-items: center; gap: 26px; padding: 5px 6px 5px 17px; margin-top: 18px; border: 1px solid currentColor; border-radius: 999px; }
.pill b { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: var(--paper); background: var(--ink); font: 17px/1 Arial, sans-serif; transition: .25s; }
.pill:hover { color: var(--paper); background: var(--ink); }
.pill:hover b { color: var(--ink); background: var(--paper); }
.pill:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.scroll-meter { position: absolute; z-index: 6; right: 31px; top: 50%; display: flex; flex-direction: column; align-items: center; gap: 8px; transform: translateY(-50%); }
.scroll-meter::before { content: ""; width: 1px; height: 94px; background: rgba(0,0,0,.25); }
.scroll-meter i { position: absolute; top: 0; width: 2px; height: 0; background: var(--accent); }
.scroll-meter span { font: 500 9px "Archivo", Helvetica, sans-serif; letter-spacing: .08em; }

/* ---------- Ticker ---------- */
.ticker { position: relative; z-index: 3; overflow: hidden; padding: 11px 0; white-space: nowrap; border-block: 1px solid var(--line); background: var(--paper); }
.ticker div { width: max-content; font: 500 10px "Archivo", Helvetica, sans-serif; text-transform: uppercase; letter-spacing: .06em; animation: ticker 22s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Catálogo horizontal ---------- */
.product-sequence { position: relative; height: 340vh; background: var(--paper); }
.product-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--paper); }
.collection-label { position: absolute; z-index: 5; left: 32px; right: 32px; top: 88px; display: flex; justify-content: space-between; }
.product-track { position: absolute; z-index: 2; top: 120px; bottom: 28px; left: 0; display: flex; width: max-content; will-change: transform; border-block: 1px solid var(--line); }
.product-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; width: 33.3333vw; min-width: 33.3333vw; height: 100%; overflow: hidden; padding: 23px 28px 27px; border-right: 1px solid var(--line); background: #e2ddd1; }
.product-number, .product-info { position: relative; z-index: 3; }
.product-info { display: flex; flex-direction: column; gap: 3px; }
.product-info h3 { font-size: clamp(28px, 2.6vw, 42px); line-height: .98; margin-bottom: 7px; }
.card-photo { position: absolute; inset: 0; z-index: 1; background-repeat: no-repeat; background-size: cover; background-position: 50% 42%; transition: filter .5s, transform .8s; }
.product-card:hover .card-photo { transform: scale(1.025); }
.product-card.has-photo { color: #fff; }
.product-card.has-photo .no-photo { display: none; }
.product-card.has-photo::after { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.16), transparent 35%, rgba(0,0,0,.40)); }
.product-card.has-photo .micro { text-shadow: 0 1px 8px rgba(0,0,0,.22); }
.no-photo { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; opacity: .42; letter-spacing: .16em; }
.dark-card { color: var(--paper); background: #16161a; }
.accent-card { color: var(--paper); background: var(--accent); }
.sun-card { background: var(--sun); }
.sand-card { background: #d6cfbe; }
.stock { display: inline-flex; align-items: center; gap: 7px; opacity: .92; }
.stock::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stock[data-state="out"] { opacity: 1; text-decoration: line-through; text-decoration-thickness: 1px; }

.campaign-reveal { position: absolute; z-index: 4; inset: 0; overflow: hidden; background: #fff; clip-path: inset(0 50% 0 50%); pointer-events: none; }
.campaign-reveal canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.catalog-canvas { z-index: 2; opacity: 0; background: #fff; transition: opacity .35s ease; }
.campaign-reveal.has-motion-video .catalog-canvas { opacity: 1; }
.catalog-video { position: absolute; z-index: 2; inset: 0; display: block; width: 100%; height: 100%; padding: clamp(18px, 4svh, 42px) clamp(18px, 5vw, 76px); object-fit: contain; object-position: center; opacity: 0; transition: opacity .45s ease; }
.campaign-reveal.has-motion-video .catalog-video { opacity: .92; }
.campaign-reveal.has-motion-video .reveal-fallback,
.campaign-reveal.has-motion-video .reveal-copy { opacity: 0; }
.reveal-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: #08080a url("assets/seq/catalog/000.webp") center / contain no-repeat; }
.reveal-fallback span { font: 500 10px/1 "Archivo", Helvetica, sans-serif; letter-spacing: .22em; color: rgba(16,16,20,.38); }
.reveal-copy { position: absolute; z-index: 3; inset: auto 28px 26px; display: flex; align-items: baseline; justify-content: space-between; color: var(--accent); font-family: "Archivo", Helvetica, Arial, sans-serif; font-weight: 600; text-transform: uppercase; font-size: clamp(40px, 6vw, 92px); letter-spacing: -.04em; line-height: .82; mix-blend-mode: multiply; transition: opacity .25s ease; }
.reveal-copy em { font-size: .38em; }

/* ---------- Story: el rollo del criterio ----------
   Base sin JS: los capitulos son una lista legible en flujo normal. La escena
   anclada solo se activa cuando motion.js anade .is-cinema, asi la seccion
   nunca depende del script para poder leerse. */
.story { position: relative; border-bottom: 1px solid var(--line); background: #08080a; }
.story h2, .principles h2 { font-size: clamp(46px, 5.4vw, 82px); line-height: .94; }
h2 em { font-style: normal; font-weight: 400; }
.story-place { display: block; max-width: 320px; }
.story-stage { padding: 96px 32px 72px; }
.story-frame { display: flex; flex-direction: column; gap: 64px; }
.story-intro h2 { margin: 18px 0 22px; }
.story-intro p { max-width: 620px; margin: 0 0 22px; font-size: clamp(21px, 2.3vw, 32px); line-height: 1.08; letter-spacing: -.035em; }
.story-intro > .micro, .story-outro > .micro { color: var(--blood-hot); }
.story-place { margin-top: 6px; line-height: 1.7; color: rgba(255,255,255,.5); }
.story-outro { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.small-copy { max-width: 340px; margin: 0; font-size: 15px; line-height: 1.2; }
.story-bars, .story-vignette, .story-slate, .story-reel, .story-progress { display: none; }

/* ---------- Principios ---------- */
.principles { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-bottom: 1px solid var(--line); }
.principles-left { position: sticky; top: 0; align-self: start; display: flex; flex-direction: column; justify-content: space-between; min-height: 100svh; padding: 100px 48px 48px; border-right: 1px solid var(--line); }
.principles-left p { max-width: 490px; font-size: 20px; line-height: 1.1; }
.dark-pill { color: var(--paper); background: var(--ink); }
.dark-pill b { color: var(--ink); background: var(--paper); }
.dark-pill:hover { color: var(--ink); background: transparent; }
.dark-pill:hover b { color: var(--paper); background: var(--ink); }
.principles-right { min-width: 0; }
.stat { min-height: 51vh; padding: 48px; border-bottom: 1px solid var(--line); }
.stat:last-child { border-bottom: 0; }
.stat div { overflow: hidden; }
.stat strong { display: block; font-family: "Archivo", Helvetica, Arial, sans-serif; font-size: clamp(42px, 4.8vw, 74px); font-weight: 600; line-height: .96; letter-spacing: -.04em; text-transform: uppercase; }
.stat strong:last-child { font-weight: 400; }
.stat p { max-width: 460px; margin: 50px 0 14px; font-size: 20px; line-height: 1.1; }

/* ---------- Footer ---------- */
.footer-spacer { height: 420px; pointer-events: none; background: transparent; }
footer { position: fixed; z-index: 1; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1.2fr .8fr 1.3fr; gap: 60px; min-height: 420px; padding: 72px 48px 38px; color: var(--paper); background: var(--ink); }
footer .brand { flex-direction: column; align-items: flex-start; gap: 18px; color: var(--sun); font-size: 40px; }
footer .brand-mark { display: none; }
footer .brand-art { display: block; width: 100%; max-width: 300px; height: auto; }
footer p { font-size: 16px; line-height: 1.2; }
footer .legal { max-width: 340px; margin-top: 16px; font-size: 11px; line-height: 1.55; opacity: .5; }
.footer-brand, .footer-links, .newsletter { display: flex; flex-direction: column; }
.footer-brand { justify-content: space-between; }
.footer-links, .newsletter { justify-content: flex-end; gap: 10px; }
.footer-links a { font-size: 16px; }
.newsletter p { max-width: 380px; }
.newsletter form { display: flex; max-width: 440px; padding: 5px 5px 5px 20px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; }
.newsletter input { width: 100%; min-width: 0; border: 0; outline: 0; color: #fff; background: transparent; }
.newsletter button { flex: 0 0 auto; width: 31px; height: 31px; border: 0; border-radius: 50%; cursor: pointer; background: var(--paper); }

/* ---------- Ficha de producto ---------- */
.product-card { cursor: pointer; }
.card-house { display: block; margin-bottom: 6px; opacity: .8; }
.product-info h3 em { font-style: normal; font-weight: 400; }
.card-cta { display: inline-flex; align-items: center; gap: 9px; margin-top: 13px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.card-cta b { display: grid; place-items: center; width: 21px; height: 21px; border: 1px solid currentColor; border-radius: 50%; font: 14px/1 Arial, sans-serif; }
.product-card:hover .card-cta, .product-card:focus-visible .card-cta { opacity: 1; transform: none; }
.royal-card { color: var(--paper); background: #1f3fd1; }
.grey-card { background: #9a9a9d; }
.quality-tag { display: inline-block; margin-left: 8px; padding: 3px 8px 2px; border: 1px solid currentColor; border-radius: 999px; font-weight: 500; font-size: 9px; letter-spacing: .09em; }

body.sheet-open { overflow: hidden; }
.product-sheet { position: fixed; z-index: 300; inset: 0; display: grid; place-items: stretch; background: rgba(16,16,20,.55); opacity: 0; transition: opacity .4s ease; }
.product-sheet.is-open { opacity: 1; }
.product-sheet[hidden] { display: none; }
.sheet-panel { position: absolute; inset: 0 0 0 auto; display: flex; width: min(1080px, 94vw); background: var(--paper); box-shadow: -30px 0 90px rgba(16,16,20,.28); transform: translateX(4%); opacity: .4; transition: transform .55s cubic-bezier(.2,.75,.2,1), opacity .45s ease; }
.product-sheet.is-open .sheet-panel { transform: none; opacity: 1; }
.sheet-close { position: absolute; z-index: 4; top: 22px; right: 24px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer; }
.sheet-close span { position: absolute; width: 15px; height: 1.5px; background: var(--ink); }
.sheet-close span:first-child { transform: rotate(45deg); }
.sheet-close span:last-child { transform: rotate(-45deg); }
.sheet-body { display: grid; grid-template-columns: 1fr 1fr; width: 100%; min-height: 0; }
.sheet-media { position: relative; margin: 0; overflow: hidden; background: #d6cfbe; }
/* El color de la ficha hereda el de su tarjeta; sin esto el bloque de arriba
   (definido después) borraba la paleta del producto. */
.sheet-media.accent-card { background: var(--accent); }
.sheet-media.dark-card { background: #16161a; }
.sheet-media.royal-card { background: #1f3fd1; }
.sheet-media.sun-card { background: var(--sun); }
.sheet-media.sand-card { background: #d6cfbe; }
.sheet-media.grey-card { background: #9a9a9d; }
.sheet-media.accent-card .no-photo, .sheet-media.dark-card .no-photo, .sheet-media.royal-card .no-photo { color: var(--paper); }
.sheet-photo { position: absolute; inset: 0; background-repeat: no-repeat; background-size: cover; background-position: 50% 45%; }
.sheet-media.has-photo .no-photo { display: none; }
.sheet-media .no-photo { position: absolute; inset: 0; display: grid; place-items: center; opacity: .45; }
.sheet-index { position: absolute; z-index: 2; left: 24px; top: 24px; opacity: .8; }
.sheet-detail { display: flex; flex-direction: column; gap: 20px; overflow-y: auto; padding: 76px 48px 56px; border-left: 1px solid var(--line); }
.sheet-house { opacity: .68; }
.sheet-detail h2 { font-size: clamp(34px, 3.4vw, 54px); line-height: .95; }
.sheet-detail h2 em { font-style: normal; font-weight: 400; }
.sheet-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); opacity: .78; }
.sheet-copy { max-width: 46ch; margin: 0; font-size: 17px; line-height: 1.35; }
.sheet-models { display: block; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.72); }
.fit-assist { display: grid; gap: 13px; padding: 18px 0 22px; border-block: 1px solid var(--line); }
.fit-assist-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.fit-cue { color: rgba(255,255,255,.62); text-align: right; }
.size-options { display: flex; flex-wrap: wrap; gap: 8px; }
.size-option { min-width: 48px; min-height: 44px; padding: 0 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 0; color: #fff; background: transparent; font: 600 12px/1 "Archivo", Helvetica, sans-serif; cursor: pointer; transition: color .2s, background .2s, border-color .2s, transform .2s; }
.size-option:hover, .size-option:focus-visible { border-color: #fff; outline: none; }
.size-option:active { transform: scale(.96); }
.size-option.is-selected { color: #050506; border-color: #fff; background: #fff; }
.size-help { justify-self: start; padding: 0; border: 0; color: rgba(255,255,255,.72); background: transparent; font: 500 11px/1.4 "Archivo", Helvetica, sans-serif; text-align: left; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.size-help:hover, .size-help:focus-visible { color: var(--blood-hot); outline: none; }
.size-error { margin: 0; color: var(--blood-hot); }
.measures { display: grid; gap: 12px; padding: 18px 0 22px; border-bottom: 1px solid var(--line); }
.measures-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.measures-size { color: var(--blood-hot); }
.measures-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 16px 18px; margin: 0; }
.measures-list div { display: grid; align-content: start; gap: 4px; padding-left: 11px; border-left: 1px solid rgba(255,255,255,.2); }
.measures-list dt { opacity: .62; }
.measures-list dd { margin: 0; font-size: 17px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.measures-note { margin: 4px 0 0; }
.measures-note, .measures-pending { color: rgba(255,255,255,.5); line-height: 1.5; }
.measures-pending { margin: 0; }
.sheet-specs { display: grid; gap: 20px; margin: 6px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.sheet-specs div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; }
.sheet-specs dt { opacity: .62; }
.sheet-specs dd { margin: 0; font-size: 16px; line-height: 1.3; }
.sheet-action { align-self: flex-start; margin-top: 8px; }
.purchase-assurance { display: grid; grid-template-columns: repeat(3, 1fr); margin: 2px 0 0; padding: 0; border-block: 1px solid var(--line); list-style: none; }
.purchase-assurance li { display: grid; align-content: start; gap: 7px; padding: 16px 14px; border-right: 1px solid var(--line); }
.purchase-assurance li:first-child { padding-left: 0; }
.purchase-assurance li:last-child { padding-right: 0; border-right: 0; }
.purchase-assurance b { font: 600 10px/1.2 "Archivo", Helvetica, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.purchase-assurance span { color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.35; }
.sheet-note { max-width: 52ch; margin: 4px 0 0; padding-top: 18px; border-top: 1px solid var(--line); line-height: 1.7; opacity: .55; text-transform: none; letter-spacing: .02em; }

.reveal-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity .85s ease, transform .85s cubic-bezier(.2,.7,.2,1); }
.reveal-on-scroll.is-visible { opacity: 1; transform: none; }

@media (max-width: 800px) {
  .site-header { padding: 21px 16px; } .nav { gap: 18px; } .nav .nav-secondary:last-of-type { display: none; } .brand { font-size: 25px; }
  .hero-sequence { height: 240vh; } .hero-index { top: 70px; left: 16px; right: 16px; } .hero-index span:last-child { display: none; }
  .hero-media img { object-position: 53% center; } .hero-copy { left: 17px; bottom: 30px; } h1 { font-size: clamp(56px, 19vw, 88px); } .scroll-meter { right: 15px; }
  .story h2, .principles h2 { font-size: clamp(46px, 13vw, 74px); }
  .product-sequence { height: 280vh; } .collection-label { left: 17px; right: 17px; } .product-card { width: 82vw; min-width: 82vw; padding: 20px 18px; } .product-info h3 { font-size: 44px; }
  .reveal-copy { inset: auto 17px 27px; flex-wrap: wrap; font-size: 16vw; } .reveal-copy em { display: none; }
  .principles { grid-template-columns: 1fr; } .principles-left { position: relative; min-height: 94svh; padding: 90px 17px 36px; border-right: 0; border-bottom: 1px solid var(--line); } .stat { min-height: 43svh; padding: 34px 17px; } .stat p { margin-top: 37px; }
  .footer-spacer { height: 620px; } footer { grid-template-columns: 1fr; min-height: 620px; padding: 50px 17px calc(30px + env(safe-area-inset-bottom)); gap: 35px; } .footer-brand { min-height: 160px; } .footer-links, .newsletter { justify-content: flex-start; }
}

@media (max-width: 430px) {
  .brand { font-size: 20px; }
  .nav { gap: 13px; }
  .nav a { white-space: nowrap; }
  .nav .nav-secondary { display: none; }
  .collection-label span:last-child { display: none; }
}

@media (max-width: 900px) {
  .sheet-panel { width: 100vw; }
  .sheet-body { grid-template-columns: 1fr; grid-template-rows: 38svh 1fr; }
  .sheet-detail { padding: 30px 18px calc(34px + env(safe-area-inset-bottom)); border-left: 0; border-top: 1px solid var(--line); }
  .sheet-specs div { grid-template-columns: 1fr; gap: 6px; }
  .sheet-close { top: calc(14px + env(safe-area-inset-top)); right: 16px; }
  .card-cta { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .story.is-cinema [data-chapter] { transition: none; }
  .ticker div { animation: none; }
  .reveal-on-scroll { opacity: 1; transform: none; transition: none; }
  .product-sheet, .sheet-panel { transition: none; }
}

/* ==========================================================================
   DARK EDITION — la página pasa a negro. El bloque va al final para que
   gane por orden a la paleta clara original sin tener que reescribirla.
   ========================================================================== */
:root {
  --ink: #ffffff;          /* tinta = texto sobre negro */
  --paper: #08080a;        /* papel = fondo */
  --accent: #e0301e;
  --line: rgba(255, 255, 255, 0.18);
  --muted: rgba(255, 255, 255, 0.55);
}
body { background: var(--paper); color: var(--ink); }

.hero-sequence, .hero-stage { background: #000; }
.hero-fallback { background: repeating-linear-gradient(135deg, #101013 0 22px, #08080a 22px 44px); }
.hero-fallback span, .reveal-fallback span { color: rgba(255,255,255,.4); }
.hero-wash { background: linear-gradient(180deg, rgba(0,0,0,.45), transparent 38%, rgba(0,0,0,.85)); }
.hero-stage.has-motion-video .hero-wash { background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 40%, rgba(0,0,0,.9)); }
.hero-canvas, .catalog-canvas { background: #000; }
.hero-copy { color: #fff; }
.site-header { color: #fff; }
.site-header .nav, .site-header .brand { mix-blend-mode: normal; }
.brand-mark { filter: invert(1) brightness(1.6); }
.scroll-meter::before { background: rgba(255,255,255,.28); }

.ticker { background: var(--paper); color: var(--muted); }
.product-sequence, .product-stage { background: var(--paper); }
.product-card { background: #0f0f12; color: #fff; }
.accent-card { background: #7d0f0a; }
.dark-card { background: #0a0a0c; }
.royal-card { background: #14237a; }
.sand-card { background: #2a251c; }
.grey-card { background: #1c1c1f; }
.sun-card { color: #0a0a0c; background: #c98a05; }
.no-photo { color: rgba(255,255,255,.38); }
.sun-card .no-photo { color: rgba(0,0,0,.45); }
.campaign-reveal { background: #000; }
.reveal-fallback { background: repeating-linear-gradient(135deg, #101013 0 22px, #08080a 22px 44px); }
.reveal-copy { color: #fff; mix-blend-mode: difference; }

.story, .principles, .product-stage { background: var(--paper); }
.pill { color: #fff; }
.pill b { color: #08080a; background: #fff; }
.pill:hover { color: #08080a; background: #fff; }
.pill:hover b { color: #fff; background: #08080a; }
.dark-pill { color: #08080a; background: #fff; }
.dark-pill b { color: #fff; background: #08080a; }
.dark-pill:hover { color: #fff; background: transparent; }
.dark-pill:hover b { color: #08080a; background: #fff; }

/* El footer se invierte: cierre en claro, como una contraportada. */
footer { color: #08080a; background: #efece6; }
footer .brand { color: #08080a; }
footer .brand-art { filter: invert(1); }
footer .newsletter form { border-color: rgba(0,0,0,.6); }
footer .newsletter input { color: #08080a; }
footer .newsletter input::placeholder { color: rgba(0,0,0,.45); }
footer .newsletter button { background: #08080a; }

/* Ficha de producto sobre negro. */
.product-sheet { background: rgba(0,0,0,.86); backdrop-filter: blur(6px); }
.sheet-panel { background: #0b0b0e; box-shadow: -30px 0 120px rgba(0,0,0,.8); }
.sheet-close { border-color: var(--line); background: transparent; }
.sheet-close span { background: #fff; }
.sheet-media { background: #141418; }
.sheet-media.accent-card { background: #7d0f0a; }
.sheet-media.dark-card { background: #0a0a0c; }
.sheet-media.royal-card { background: #14237a; }
.sheet-media.sand-card { background: #2a251c; }
.sheet-media.grey-card { background: #1c1c1f; }
.sheet-media.sun-card { background: #c98a05; }

/* ---------- Grano de película ----------
   Una sola capa fija sobre todo el documento: rompe la perfección digital
   del negro plano sin coste por elemento. */
.grain {
  position: fixed; z-index: 400; inset: -120px; pointer-events: none;
  /* Capa propia: sin esto, cada paso del grano repinta la pantalla completa y
     se come cuadros justo cuando el catalogo se esta moviendo. */
  will-change: transform;
  opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  animation: grain 1.1s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-14px, 8px); }
  50% { transform: translate(9px, -12px); }
  75% { transform: translate(-6px, -6px); }
  100% { transform: translate(11px, 5px); }
}
.vignette { position: fixed; z-index: 398; inset: 0; pointer-events: none; box-shadow: inset 0 0 220px 60px rgba(0,0,0,.75); }

/* ---------- Intro ----------
   Cortina negra con contador. Sube al terminar y descubre el hero ya cargado,
   que es lo que da el golpe de entrada. */
.intro { position: fixed; z-index: 900; inset: 0; display: grid; place-items: center; background: #050506; transition: transform 1.05s cubic-bezier(.76,0,.24,1); }
.intro.is-done { transform: translateY(-101%); }
.intro-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.intro-mark { width: 96px; height: 96px; object-fit: contain; filter: invert(1) brightness(1.6); opacity: .9; }
.intro-count { font: 600 clamp(64px, 13vw, 168px)/1 "Archivo", Helvetica, sans-serif; letter-spacing: -.05em; color: #fff; font-variant-numeric: tabular-nums; }
.intro-word { font: 500 10px "Archivo", Helvetica, sans-serif; letter-spacing: .42em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.intro-bar { width: min(320px, 60vw); height: 1px; background: rgba(255,255,255,.2); }
.intro-bar i { display: block; height: 100%; width: 0; background: #fff; }
body.is-loading { overflow: hidden; }

/* ---------- Cursor ---------- */
@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor .product-card { cursor: none; }
  .cursor { position: fixed; z-index: 500; top: 0; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; mix-blend-mode: difference; pointer-events: none; transition: width .3s, height .3s, margin .3s, background .3s; will-change: transform; }
  .cursor span { position: absolute; inset: 0; display: grid; place-items: center; font: 500 9px "Archivo", Helvetica, sans-serif; letter-spacing: .12em; color: #08080a; opacity: 0; transition: opacity .2s; }
  .cursor.is-link { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .cursor.is-card { width: 96px; height: 96px; margin: -48px 0 0 -48px; }
  .cursor.is-card span { opacity: 1; }
}

/* ---------- Entrada por línea (kinética, pero sin tocar el texto real) ---------- */
.line-mask { display: block; overflow: hidden; }
.line-mask > span { display: block; transform: translateY(105%); transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.is-visible .line-mask > span, .line-mask.is-visible > span { transform: none; }
.sheet-detail > * { opacity: 0; transform: translateY(18px); animation: sheetIn .7s cubic-bezier(.2,.8,.2,1) forwards; }
.sheet-detail > *:nth-child(1) { animation-delay: .12s; }
.sheet-detail > *:nth-child(2) { animation-delay: .18s; }
.sheet-detail > *:nth-child(3) { animation-delay: .24s; }
.sheet-detail > *:nth-child(4) { animation-delay: .30s; }
.sheet-detail > *:nth-child(5) { animation-delay: .36s; }
.sheet-detail > *:nth-child(6) { animation-delay: .42s; }
.sheet-detail > *:nth-child(7) { animation-delay: .48s; }
.sheet-detail > *:nth-child(8) { animation-delay: .54s; }
.sheet-detail > *:nth-child(9) { animation-delay: .60s; }
.sheet-detail > *:nth-child(10) { animation-delay: .66s; }
.sheet-detail > *:nth-child(11) { animation-delay: .72s; }
@keyframes sheetIn { to { opacity: 1; transform: none; } }
.sheet-media { animation: mediaIn 1.1s cubic-bezier(.2,.8,.2,1); }
@keyframes mediaIn { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }

.stat strong { transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.stat:hover strong { transform: translateX(10px); }
.footer-links a { position: relative; width: fit-content; }
.footer-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.footer-links a:hover::after { transform: scaleX(1); transform-origin: left; }

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .intro { transition: none; }
  .line-mask > span { transform: none; transition: none; }
  .sheet-detail > *, .sheet-media { animation: none; opacity: 1; transform: none; clip-path: none; }
  .cursor { display: none; }
}

/* Gradación del clip: el material original es blanco y dejaba el titular
   ilegible. Se baja la exposición y se refuerza el degradado inferior, que es
   lo que sostiene el contraste del texto sobre la imagen. */
.hero-canvas, .hero-image, .catalog-canvas { filter: grayscale(1) contrast(1.18) brightness(.66); }
.hero-wash, .hero-stage.has-motion-video .hero-wash {
  background:
    linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.12) 28%, rgba(0,0,0,.55) 66%, rgba(0,0,0,.94) 100%),
    radial-gradient(120% 80% at 50% 40%, transparent 40%, rgba(0,0,0,.55));
}
.hero-copy h1 { text-shadow: 0 2px 40px rgba(0,0,0,.55); }
.campaign-reveal .reveal-copy { color: #fff; mix-blend-mode: normal; text-shadow: 0 2px 30px rgba(0,0,0,.6); }

/* ==========================================================================
   MÓVIL — la misma puesta en escena, adaptada al pulgar y a la batería.
   ========================================================================== */
@media (max-width: 800px) {
  /* Cabecera: a 375px la marca y los enlaces se pisaban. Se deja marca,
     bolsa y menú; el resto vive en el menú. */
  .site-header { padding: calc(14px + env(safe-area-inset-top)) 16px 14px; }
  .brand { font-size: 19px; }
  .brand-mark { width: 34px; height: 34px; }
  .nav { gap: 14px; }
  .nav a:nth-child(1), .nav a:nth-child(2), .nav a:nth-child(3) { display: none; }
  .nav a:nth-child(4) { display: inline-block; }
  /* 48×48 reales de área táctil sin agrandar el dibujo. */
  .menu { position: relative; width: 30px; height: 20px; padding: 0; }
  .menu::after { content: ""; position: absolute; inset: -14px; }

  h1 { font-size: clamp(46px, 15.5vw, 74px); }
  .hero-copy { left: 16px; right: 16px; bottom: calc(26px + env(safe-area-inset-bottom)); }
  .hero-index { top: calc(64px + env(safe-area-inset-top)); }
  .scroll-meter { display: none; }
  .pill { padding: 7px 7px 7px 18px; }
  .pill b { width: 32px; height: 32px; }

  .collection-label { top: calc(74px + env(safe-area-inset-top)); }
  .product-card { width: 84vw; min-width: 84vw; padding: 22px 18px 24px; }
  .product-info h3 { font-size: clamp(26px, 8.2vw, 34px); overflow-wrap: anywhere; }
  .card-house { font-size: 9px; }
  .quality-tag { margin-left: 6px; }
  /* Feedback táctil: sin hover, el toque tiene que confirmarse solo. */
  .product-card { transition: transform .25s cubic-bezier(.2,.8,.2,1); }
  .product-card:active { transform: scale(.985); }
  .card-cta { opacity: 1; transform: none; }

  /* La ficha entra desde abajo, que es de donde el pulgar espera que entre. */
  .sheet-panel { inset: auto 0 0 0; width: 100%; height: 92svh; border-radius: 18px 18px 0 0; transform: translateY(6%); }
  .product-sheet.is-open .sheet-panel { transform: none; }
  .sheet-body { grid-template-rows: 34svh 1fr; border-radius: 18px 18px 0 0; overflow: hidden; }
  .sheet-panel::before { content: ""; position: absolute; z-index: 5; top: 9px; left: 50%; width: 42px; height: 4px; margin-left: -21px; border-radius: 99px; background: rgba(255,255,255,.45); }
  .sheet-close { top: 14px; right: 14px; width: 46px; height: 46px; background: rgba(0,0,0,.45); backdrop-filter: blur(8px); }
  .sheet-detail { gap: 16px; padding: 26px 18px calc(40px + env(safe-area-inset-bottom)); }
  .sheet-detail h2 { font-size: clamp(30px, 9vw, 42px); }
  .sheet-copy { font-size: 16px; }
  .fit-assist-head { align-items: flex-start; flex-direction: column; gap: 7px; }
  .fit-cue { text-align: left; }
  .size-option { min-width: 52px; min-height: 48px; }
  .purchase-assurance { grid-template-columns: 1fr; }
  .purchase-assurance li, .purchase-assurance li:first-child, .purchase-assurance li:last-child { padding: 13px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .purchase-assurance li:last-child { border-bottom: 0; }
  .sheet-action { position: sticky; bottom: 0; align-self: stretch; justify-content: space-between; margin-top: 12px; }

  /* Grano y viñeta más suaves: en pantallas pequeñas el ruido tapa el texto
     y la animación a pantalla completa castiga la batería. */
  .grain { opacity: .32; animation-duration: 2.4s; }
  .vignette { box-shadow: inset 0 0 120px 30px rgba(0,0,0,.7); }

  .intro-mark { width: 68px; height: 68px; }
  .intro-count { font-size: clamp(56px, 22vw, 96px); }
  .intro-word { letter-spacing: .3em; font-size: 9px; }

  footer { padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
  .footer-links a, .newsletter input { min-height: 44px; display: flex; align-items: center; }
  .newsletter form { padding: 6px 6px 6px 18px; }
  .newsletter button { width: 42px; height: 42px; }
}

/* En pantallas táctiles el cursor propio no existe: nada debe quedar sin
   puntero ni depender de hover. */
@media (hover: none) {
  body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor .product-card { cursor: auto; }
  .cursor { display: none; }
}

/* ---------- Menú fullscreen ---------- */
.site-menu { position: fixed; z-index: 250; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 clamp(18px, 6vw, 92px); background: #050506; opacity: 0; clip-path: inset(0 0 100% 0); transition: opacity .35s ease, clip-path .7s cubic-bezier(.76,0,.24,1); }
.site-menu[hidden] { display: none; }
.site-menu.is-open { opacity: 1; clip-path: inset(0); }
.site-menu a { display: flex; align-items: baseline; gap: 18px; padding: 10px 0; font-family: "Archivo", Helvetica, Arial, sans-serif; font-weight: 600; font-size: clamp(38px, 10vw, 88px); line-height: 1; letter-spacing: -.045em; text-transform: uppercase; color: #fff; opacity: 0; transform: translateY(28px); transition: opacity .5s, transform .6s cubic-bezier(.2,.8,.2,1), color .25s; }
.site-menu.is-open a { opacity: 1; transform: none; }
.site-menu.is-open a:nth-child(1) { transition-delay: .18s; }
.site-menu.is-open a:nth-child(2) { transition-delay: .24s; }
.site-menu.is-open a:nth-child(3) { transition-delay: .30s; }
.site-menu.is-open a:nth-child(4) { transition-delay: .36s; }
.site-menu a span { font-size: 11px; font-weight: 500; letter-spacing: .12em; opacity: .45; }
.site-menu a:hover { color: var(--accent); }
.site-menu p { margin-top: 42px; color: rgba(255,255,255,.45); line-height: 1.9; }
.menu.is-open i:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu.is-open i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.menu i { transition: transform .35s cubic-bezier(.2,.8,.2,1); }
body.menu-open { overflow: hidden; }
@media (max-width: 800px) {
  .site-menu { padding-top: calc(90px + env(safe-area-inset-top)); padding-bottom: calc(40px + env(safe-area-inset-bottom)); justify-content: flex-end; }
  .site-menu a { padding: 12px 0; min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-menu, .site-menu a { transition: none; }
}

@media (max-width: 800px) {
  /* El CTA queda fijo sobre el scroll de la ficha; sin fondo propio se leía
     encima del texto que pasa por debajo. */
  .sheet-action { z-index: 3; bottom: calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 10px 40px rgba(0,0,0,.85); }
  .sheet-detail { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .sheet-detail::after { content: ""; position: sticky; bottom: 0; display: block; height: 26px; margin: -26px -18px 0; background: linear-gradient(transparent, #0b0b0e); pointer-events: none; }
}

/* ==========================================================================
   ROJO SANGRE — acento, no decoración: aparece donde hay que mirar.
   ========================================================================== */
:root {
  --blood: #6e0710;
  --blood-hot: #a80c14;
  --accent: #a80c14;
}
::selection { color: #fff; background: var(--blood-hot); }
.site-header .brand em { color: var(--blood-hot); }
.quality-tag { color: #fff; border-color: rgba(255,255,255,.35); background: var(--blood); }
.quality-tag.is-official { border-color: rgba(255,255,255,.5); background: transparent; }
.stock::before { background: var(--blood-hot); box-shadow: 0 0 12px rgba(168,12,20,.9); }
.stock[data-state="out"]::before { background: rgba(255,255,255,.35); box-shadow: none; }
.scroll-meter i { background: var(--blood-hot); }
.accent-card { background: var(--blood); }
.sheet-media.accent-card { background: var(--blood); }
.intro-bar i { background: var(--blood-hot); }
.intro-word { color: var(--blood-hot); }
.collection-label span:last-child, .hero-index span:last-child { color: var(--blood-hot); }
.ticker { color: rgba(255,255,255,.62); border-color: rgba(168,12,20,.55); }
.ticker div::first-letter { color: var(--blood-hot); }
.story h2 em, .principles h2 em, .collab h2 em { color: var(--blood-hot); }
.footer-links a:hover { color: var(--blood-hot); }
.newsletter button { background: var(--blood-hot); }
.site-menu a:hover { color: var(--blood-hot); }
.sheet-specs dt { color: var(--blood-hot); opacity: .9; }
.sheet-close:hover { border-color: var(--blood-hot); background: var(--blood); }
.cursor { background: var(--blood-hot); }
.cursor span { color: #fff; }
:focus-visible { outline-color: var(--blood-hot) !important; }

/* ==========================================================================
   ALIANZA STAYCLOO
   ========================================================================== */
.collab { position: relative; z-index: 401; background: #050506; border-top: 1px solid var(--line); }
.collab-stage { position: relative; display: grid; place-items: center; min-height: 78svh; overflow: hidden; }
/* El lockup entra desde los dos lados y se cierra sobre la aspa: la alianza
   se cuenta con el movimiento, no con un texto que la explique. */
.collab-lockup { display: flex; align-items: center; gap: clamp(14px, 3vw, 40px); padding: 0 18px; font-family: "Archivo", Helvetica, Arial, sans-serif; font-weight: 600; font-size: clamp(26px, 6.6vw, 96px); letter-spacing: -.04em; text-transform: uppercase; line-height: 1; }
.lockup-a, .lockup-b { opacity: 0; transition: transform 1.15s cubic-bezier(.2,.8,.2,1), opacity .9s ease; }
.lockup-a { transform: translateX(-42%); }
.lockup-b { transform: translateX(42%); color: var(--blood-hot); }
.lockup-x { display: grid; place-items: center; width: clamp(46px, 7vw, 96px); height: clamp(46px, 7vw, 96px); border: 1px solid var(--blood-hot); border-radius: 50%; color: var(--blood-hot); font-weight: 400; font-size: .62em; opacity: 0; transform: scale(.3) rotate(-120deg); transition: transform 1s cubic-bezier(.34,1.4,.5,1) .25s, opacity .5s ease .25s; }
.collab.is-live .lockup-a, .collab.is-live .lockup-b { opacity: 1; transform: none; }
.collab.is-live .lockup-x { opacity: 1; transform: none; }
.collab-rule { position: absolute; left: 0; right: 0; bottom: 14%; height: 1px; background: rgba(255,255,255,.12); }
.collab-rule i { display: block; height: 100%; width: 0; background: var(--blood-hot); transition: width 1.6s cubic-bezier(.2,.8,.2,1) .3s; }
.collab.is-live .collab-rule i { width: 100%; }

.collab-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 0 48px 56px; }
.collab-head h2 { font-size: clamp(40px, 5vw, 78px); line-height: .94; }
.collab-lead { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.collab-lead p { max-width: 46ch; margin: 0; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.3; color: rgba(255,255,255,.78); }
.collab-lead strong { color: #fff; font-weight: 600; }

.collab-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border-top: 1px solid var(--line); }
.collab-card { position: relative; display: flex; align-items: flex-end; aspect-ratio: 3 / 4; overflow: hidden; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: pointer; }
.collab-card:last-child { border-right: 0; }
.collab-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.75)); opacity: .8; }
.collab-card-info { position: relative; z-index: 3; display: flex; flex-direction: column; gap: 4px; color: #fff; }
.collab-card-info h3 { font-size: clamp(22px, 2vw, 30px); line-height: 1; margin: 6px 0 4px; }
.collab-card-info h3 em { font-style: normal; font-weight: 400; }
.collab-card .card-photo { z-index: 1; }
.collab-card .no-photo { z-index: 2; }
.collab-card::before { content: ""; position: absolute; z-index: 4; inset: auto 0 0 0; height: 2px; background: var(--blood-hot); transform: scaleX(0); transform-origin: left; transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.collab-card:hover::before, .collab-card:focus-visible::before { transform: scaleX(1); }
.collab-foot { margin: 0; padding: 26px 48px 40px; color: rgba(255,255,255,.45); }

/* ---------- Alianza: el corte diagonal ----------
   La seccion se parte en dos territorios. Stiven Toys conserva el negro de
   toda la pagina; a partir de la diagonal empieza Staycloo, en blanco, y ese
   blanco continua bajo su catalogo. El corte es la marca de la alianza: dos
   casas que comparten pagina sin mezclarse. */
.collab-stage::before {
  content: "";
  position: absolute; z-index: 0; inset: 0;
  background: #fff;
  clip-path: polygon(58% 0, 100% 0, 100% 100%, 46% 100%);
}
.collab-stage::after {
  content: "";
  position: absolute; z-index: 1; inset: 0;
  background: var(--blood-hot);
  clip-path: polygon(58% 0, 58.35% 0, 46.35% 100%, 46% 100%);
}
/* Cada firma se ancla a su mitad y guarda distancia del corte: ninguna letra
   puede quedar a caballo entre el negro y el blanco. */
/* La alianza se pinta por encima del grano global para que el blanco de
   Staycloo sea blanco de verdad; el lado oscuro recupera la textura con su
   propia capa, recortada al territorio negro. El contenedor lleva el recorte y
   el hijo la animacion: si se animara el mismo nodo, el corte se moveria. */
.collab-grain { position: absolute; z-index: 1; inset: 0; overflow: hidden; pointer-events: none; clip-path: polygon(0 0, 58% 0, 46% 100%, 0 100%); }
.collab-grain i {
  position: absolute; inset: -140px; display: block; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  will-change: transform; animation: grain 1.1s steps(4) infinite;
}
.collab-lockup { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; width: 100%; gap: 0; font-size: clamp(22px, 5vw, 76px); }
.lockup-a { justify-self: end; padding-right: clamp(24px, 5vw, 96px); }
.lockup-b { justify-self: start; padding-left: clamp(24px, 5vw, 96px); color: #08080a; }
/* El aspa no flota al lado del corte: se monta sobre el. El lockup se desplaza
   lo justo para que su columna central caiga sobre la diagonal —a media altura
   la linea pasa por el 52% del ancho—, y el aspa pierde el circulo y toma el
   mismo rojo: la linea entra por un brazo y sale por el otro. */
.collab-lockup { --lock-x: 2%; --lock-y: 0px; transform: translate(var(--lock-x), var(--lock-y)); }
.lockup-x { border: 0; color: var(--blood-hot); }
.lockup-x i { height: 3px; background: var(--blood-hot); }
.collab-rule { z-index: 2; background: rgba(128,128,128,.32); }

/* Territorio Staycloo: cabecera, catalogo y pie en blanco. */
.collab-head, .collab-grid, .collab-foot { position: relative; z-index: 2; background: #fff; color: #08080a; }
.collab-head { padding-top: 56px; }
.collab-head .micro { color: rgba(0,0,0,.55); }
.collab-lead p { color: rgba(0,0,0,.72); }
.collab-lead strong { color: #08080a; }
.collab-lead .pill { color: #08080a; }
.collab-lead .pill b { color: #fff; background: #08080a; }
.collab-lead .pill:hover { color: #fff; background: #08080a; }
.collab-lead .pill:hover b { color: #08080a; background: #fff; }
.collab-grid { border-top: 1px solid rgba(0,0,0,.16); }
/* Gana a las clases de color de la tarjeta (.sand-card, .grey-card...): en
   territorio Staycloo el producto se presenta sobre blanco. */
.collab-grid .collab-card { background: #fff; border-color: rgba(0,0,0,.16); }
.collab-grid .collab-card::after { background: linear-gradient(180deg, transparent 35%, rgba(255,255,255,.92)); }
.collab-grid .collab-card-info { color: #08080a; }
.collab-grid .collab-card .no-photo { color: rgba(0,0,0,.38); }
.collab-grid .quality-tag.is-official { color: var(--blood); border-color: rgba(0,0,0,.3); }
.collab-foot { color: rgba(0,0,0,.5); }

@media (max-width: 800px) {
  /* Apilado: el corte pasa a ser horizontal y deja arriba a Stiven Toys. */
  .collab-stage::before { clip-path: polygon(0 62%, 100% 46%, 100% 100%, 0 100%); }
  .collab-stage::after { clip-path: polygon(0 62%, 100% 46%, 100% 46.7%, 0 62.7%); }
  .collab-grain { clip-path: polygon(0 0, 100% 0, 100% 46%, 0 62%); }
  /* Apilado el corte es casi horizontal: a mitad de ancho pasa por el 54% de
     la altura, y ahi debe quedar el aspa. */
  .collab-lockup { grid-template-columns: 1fr; justify-items: center; --lock-x: 0px; --lock-y: -4.6svh; }
  .lockup-a { justify-self: center; padding: 0 0 clamp(10px, 3vh, 26px); }
  .lockup-b { justify-self: center; padding: clamp(10px, 3vh, 26px) 0 0; }
  .collab-head { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .collab-grain i { animation: none; }
}

@media (max-width: 800px) {
  .collab-stage { min-height: 62svh; }
  .collab-lockup { flex-direction: column; gap: 14px; font-size: clamp(30px, 11vw, 54px); text-align: center; }
  .lockup-a { transform: translateY(-30%); }
  .lockup-b { transform: translateY(30%); }
  .collab-head { grid-template-columns: 1fr; gap: 26px; padding: 0 17px 40px; }
  .collab-head h2 { font-size: clamp(44px, 14vw, 68px); }
  .collab-grid { grid-template-columns: 1fr 1fr; }
  .collab-card { aspect-ratio: 3 / 4.2; padding: 16px; }
  .collab-card:nth-child(2n) { border-right: 0; }
  .collab-card-info h3 { font-size: clamp(19px, 5.4vw, 24px); }
  .collab-foot { padding: 22px 17px 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .lockup-a, .lockup-b, .lockup-x, .collab-rule i { transition: none; opacity: 1; transform: none; }
  .collab-rule i { width: 100%; }
}

/* ==========================================================================
   MARCA — el sello se perdía sobre la imagen: más tamaño, más peso y un
   soporte propio que no depende de lo que haya detrás.
   ========================================================================== */
.site-header { transition: background .45s ease, border-color .45s ease, padding .45s ease; border-bottom: 1px solid transparent; }
.site-header .brand { position: relative; z-index: 2; gap: 13px; letter-spacing: .09em; text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.brand-mark { width: 58px; height: 58px; filter: none; drop-shadow: none; }
/* El sello es línea fina: sin este halo desaparece sobre las zonas claras del clip. */
.brand-mark { filter: drop-shadow(0 2px 10px rgba(0,0,0,.85)) drop-shadow(0 0 22px rgba(0,0,0,.6)); }
.brand em { color: var(--blood-hot); }
/* Al bajar del hero la cabecera se apoya en una banda sólida: la marca deja de
   competir con la imagen. */
.site-header.is-stuck { padding-top: 14px; padding-bottom: 14px; background: rgba(5,5,6,.82); backdrop-filter: blur(14px); border-bottom-color: rgba(255,255,255,.12); }
.site-header.is-stuck .brand { text-shadow: none; }
.site-header.is-stuck .brand-mark { filter: none; }

@media (max-width: 800px) {
  .brand-mark { width: 44px; height: 44px; }
  .brand { font-size: 18px; }
}

/* ========================================================================== 
   ASPA DE LA ALIANZA — una X limpia, sin círculo ni contenedor visible.
   ========================================================================== */
.lockup-x {
  position: relative;
  width: clamp(34px, 4.5vw, 64px);
  height: clamp(34px, 4.5vw, 64px);
  border: 0;
  border-radius: 0;
  font-size: 0;
}
.lockup-x i { position: absolute; top: 50%; left: 50%; width: 72%; height: 2px; margin: -1px 0 0 -36%; background: var(--blood-hot); border-radius: 2px; }
.lockup-x i:first-child { transform: rotate(45deg); }
.lockup-x i:last-child { transform: rotate(-45deg); }
/* Gira al armarse: la aspa es el momento de la animación, conviene que se note. */
.collab.is-live .lockup-x { transform: rotate(90deg); }
.collab.is-live .collab-lockup { transform: translate(var(--lock-x), var(--lock-y)); }
.lockup-x { transition: transform 1.1s cubic-bezier(.34,1.35,.5,1) .25s, opacity .5s ease .25s; }

/* ==========================================================================
   EL SELLO — es línea de un solo trazo y muy fina: reducido a 44px se
   evaporaba. Se pasa a blanco puro y se engorda el trazo con una cadena de
   drop-shadows (dilatación), que es la única forma de "estriar" un PNG sin
   volver a dibujarlo.
   ========================================================================== */
.brand-mark,
.lockup-a img,
.signoff-mark {
  filter:
    brightness(0) invert(1)
    drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff)
    drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff);
}
.site-header .brand { gap: 14px; }
.brand-mark { width: 62px; height: 62px; object-fit: contain; }
.site-header.is-stuck .brand-mark { width: 46px; height: 46px; filter: brightness(0) invert(1) drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff); }
@media (max-width: 800px) { .brand-mark { width: 46px; height: 46px; } }

/* ---------- Lockup de la alianza con el logo ---------- */
.lockup-a { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lockup-a img { width: clamp(120px, 16vw, 230px); height: auto; }
.lockup-a b { font-weight: 600; letter-spacing: -.03em; }
.lockup-b { align-self: center; }

/* ---------- Cierre de marca ---------- */
.signoff { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: clamp(70px, 12vw, 140px) 24px clamp(80px, 13vw, 150px); background: #050506; border-top: 1px solid var(--line); text-align: center; }
.signoff-mark { width: clamp(190px, 32vw, 420px); height: auto; opacity: 0; transform: scale(.92); transition: opacity 1.1s ease, transform 1.3s cubic-bezier(.2,.8,.2,1); }
.signoff.is-live .signoff-mark { opacity: 1; transform: none; }
.signoff-word { display: flex; gap: .28em; font-family: "Archivo", Helvetica, Arial, sans-serif; font-weight: 600; font-size: clamp(34px, 7vw, 92px); line-height: 1; letter-spacing: .04em; text-transform: uppercase; overflow: hidden; }
.signoff-word span, .signoff-word em { display: block; font-style: normal; transform: translateY(105%); transition: transform 1s cubic-bezier(.2,.8,.2,1) .25s; }
.signoff-word em { font-weight: 400; color: var(--blood-hot); transition-delay: .34s; }
.signoff.is-live .signoff-word span, .signoff.is-live .signoff-word em { transform: none; }
.signoff p { margin: 0; color: rgba(255,255,255,.45); letter-spacing: .18em; }

@media (prefers-reduced-motion: reduce) {
  .signoff-mark, .signoff-word span, .signoff-word em { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   CORRECCIONES
   1) El titular del hero heredaba `color: var(--paper)` de la regla original,
      y --paper pasó a ser el negro del tema: texto casi negro sobre imagen.
   2) `brightness(0) invert(1)` aplastaba el antialias del PNG a blanco duro
      y el trazo salía dentado. Se sube el brillo conservando el alfa y se
      engorda con halos difuminados, que respetan los bordes suaves.
   ========================================================================== */
.hero-copy,
.hero-stage.has-motion-video .hero-copy { color: #fff; }
.hero-copy h1 { color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,.85), 0 1px 60px rgba(0,0,0,.7); }
.hero-copy .pill { color: #fff; border-color: rgba(255,255,255,.85); }
.hero-copy .pill b { color: #08080a; background: #fff; }
/* Plano de apoyo bajo el titular: el clip tiene zonas claras y el degradado
   general no siempre alcanza. */
.hero-copy::before { content: ""; position: absolute; z-index: -1; inset: -40px -60px -60px -60px; background: radial-gradient(80% 100% at 20% 70%, rgba(0,0,0,.82), transparent 70%); pointer-events: none; }
.hero-copy { position: absolute; isolation: isolate; }

.brand-mark,
.lockup-a img,
.signoff-mark,
.site-header.is-stuck .brand-mark {
  filter:
    brightness(0.35) saturate(0) invert(1) contrast(1.25)
    drop-shadow(0 0 .7px #fff) drop-shadow(0 0 .7px #fff) drop-shadow(0 0 1.1px rgba(255,255,255,.85));
  image-rendering: auto;
}

/* ==========================================================================
   LOGO VECTORIAL — el PNG era línea de un píxel: al ampliarlo se pixelaba y
   al reducirlo desaparecía. Se trazó a SVG desde el original (logo-source.png)
   y se pinta con mask-image, así hereda el color y nunca se degrada.
   `logo-bold.svg` es el mismo trazo dilatado, para tamaños pequeños.
   ========================================================================== */
.brand-mark, .lockup-mark, .signoff-mark, .brand-art {
  display: block; flex: none; filter: none;
  background-color: currentColor;
  -webkit-mask: url("assets/brand/logo.svg") center / contain no-repeat;
  mask: url("assets/brand/logo.svg") center / contain no-repeat;
}
/* Proporción real del trazo: 1055 × 747. */
.brand-mark {
  width: 62px; height: 44px; color: #fff;
  -webkit-mask-image: url("assets/brand/logo-bold.svg");
  mask-image: url("assets/brand/logo-bold.svg");
}
.site-header.is-stuck .brand-mark { width: 52px; height: 37px; }
.lockup-mark { width: clamp(150px, 20vw, 300px); aspect-ratio: 1055 / 747; height: auto; color: #fff; }
.signoff-mark { width: clamp(210px, 34vw, 440px); aspect-ratio: 1055 / 747; height: auto; color: #fff; }
footer .brand-art { display: block; width: 100%; max-width: 300px; aspect-ratio: 1055 / 747; height: auto; color: #08080a; }
@media (max-width: 800px) { .brand-mark { width: 52px; height: 37px; } }

/* ---------- Criterio: los cinco filtros ---------- */
.criteria { display: flex; flex-direction: column; gap: 56px; margin: 0; padding: 0; list-style: none; }
.criterion { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: clamp(18px, 3vw, 54px); }
.criterion-figure {
  font-family: "Archivo", Helvetica, Arial, sans-serif; font-weight: 600; font-size: clamp(72px, 13vw, 210px); line-height: .8;
  letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(168,12,20,.85);
}
.criterion-body { display: flex; flex-direction: column; gap: 14px; max-width: 46ch; }
.criterion-tag { color: var(--blood-hot); }
.criterion h3 { margin: 0; font-size: clamp(30px, 4.6vw, 68px); line-height: .96; letter-spacing: -.04em; }
.criterion h3 em { font-style: normal; font-weight: 400; color: var(--blood-hot); }
.criterion p { margin: 0; max-width: 52ch; font-size: clamp(15px, 1.35vw, 18px); line-height: 1.45; color: rgba(255,255,255,.66); }
.criteria-foot { max-width: 24ch; margin: 0; font-size: clamp(24px, 3.1vw, 46px); line-height: 1.02; letter-spacing: -.04em; }

/* --- Escena anclada (solo con JS y sin prefers-reduced-motion) --- */
.story.is-cinema { height: calc(var(--chapters, 7) * 96svh); background: #08080a; }
.story.is-cinema .story-stage {
  position: sticky; top: 0; display: grid; place-items: center; height: 100svh; padding: 0; overflow: hidden;
}
/* Barras de cine: entran al pinchar la escena y encuadran el capitulo. */
.story.is-cinema .story-bars { display: block; position: absolute; z-index: 5; inset: 0; pointer-events: none; }
.story.is-cinema .story-bars i {
  position: absolute; left: 0; right: 0; height: clamp(26px, 5.2vh, 62px); background: #000;
  transform: scaleY(var(--bars, 0)); transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.story.is-cinema .story-bars i:first-child { top: 0; transform-origin: top; }
.story.is-cinema .story-bars i:last-child { bottom: 0; transform-origin: bottom; }
.story.is-cinema .story-vignette {
  display: block; position: absolute; z-index: 2; inset: 0; pointer-events: none;
  background: radial-gradient(120% 78% at 50% 46%, transparent 38%, rgba(0,0,0,.72) 100%);
}
/* Claqueta: numero de rollo y capitulo en curso. */
.story.is-cinema .story-slate {
  display: flex; position: absolute; z-index: 6; top: clamp(40px, 8vh, 78px); left: clamp(17px, 3vw, 44px); right: clamp(17px, 3vw, 44px);
  justify-content: space-between; gap: 16px; color: rgba(255,255,255,.5);
}
.story.is-cinema .slate-reel { display: inline-flex; align-items: center; gap: 9px; color: var(--blood-hot); }
.story.is-cinema .slate-reel i { width: 7px; height: 7px; border-radius: 50%; background: var(--blood-hot); box-shadow: 0 0 12px rgba(168,12,20,.9); }
.story.is-cinema .slate-reel b { font-weight: 600; font-variant-numeric: tabular-nums; }

.story.is-cinema .story-frame {
  display: block; position: relative; z-index: 3; width: min(1180px, 100%); height: 100svh; gap: 0;
  padding: clamp(96px, 15vh, 150px) clamp(17px, 3vw, 44px) clamp(84px, 13vh, 130px);
}
/* Cada capitulo ocupa el mismo cuadro: entra desde abajo, desenfocado, y sale
   hacia arriba. Solo el activo recibe puntero. */
.story.is-cinema [data-chapter] {
  position: absolute; inset: clamp(96px, 15vh, 150px) clamp(17px, 3vw, 44px) clamp(84px, 13vh, 130px);
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate3d(0, 42px, 0) scale(.985); filter: blur(13px);
  transition: opacity .62s cubic-bezier(.16,1,.3,1), transform .78s cubic-bezier(.16,1,.3,1), filter .62s cubic-bezier(.16,1,.3,1), visibility 0s linear .8s;
}
.story.is-cinema [data-chapter].is-past { transform: translate3d(0, -42px, 0) scale(.985); }
.story.is-cinema [data-chapter].is-active {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none; filter: none; transition-delay: 0s;
}
.story.is-cinema .criteria { display: contents; }
/* El numeral se convierte en telon de fondo del capitulo. */
.story.is-cinema .criterion { grid-template-columns: minmax(0, 1fr); align-items: flex-start; }
.story.is-cinema .criterion-body { width: min(58%, 58ch); }
.story.is-cinema .criterion-figure {
  position: absolute; z-index: -1; right: -.05em; top: 50%; font-size: clamp(180px, 30vw, 420px);
  -webkit-text-stroke: 1px rgba(168,12,20,.34);
  transform: translate3d(0, calc(-50% + var(--chapter-p, 0) * -34px), 0);
}
.story.is-cinema .criterion-body { gap: clamp(14px, 2vh, 26px); }
.story.is-cinema .criterion h3 { max-width: 14ch; font-size: clamp(36px, 5.6vw, 92px); }
.story.is-cinema .criterion p { max-width: 44ch; font-size: clamp(15px, 1.35vw, 19px); color: rgba(255,255,255,.72); }
/* Escalonado interno: el capitulo se arma por partes, no de golpe. */
.story.is-cinema [data-chapter] .criterion-tag,
.story.is-cinema [data-chapter] h2,
.story.is-cinema [data-chapter] h3,
.story.is-cinema [data-chapter] p,
.story.is-cinema [data-chapter] .pill,
.story.is-cinema [data-chapter] .story-place,
.story.is-cinema [data-chapter] > .micro { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .5s ease, transform .66s cubic-bezier(.16,1,.3,1); }
.story.is-cinema [data-chapter].is-active .criterion-tag,
.story.is-cinema [data-chapter].is-active h2,
.story.is-cinema [data-chapter].is-active h3,
.story.is-cinema [data-chapter].is-active p,
.story.is-cinema [data-chapter].is-active .pill,
.story.is-cinema [data-chapter].is-active .story-place,
.story.is-cinema [data-chapter].is-active > .micro { opacity: 1; transform: none; }
.story.is-cinema [data-chapter].is-active > .micro { transition-delay: .06s; }
.story.is-cinema [data-chapter].is-active .criterion-tag { transition-delay: .06s; }
.story.is-cinema [data-chapter].is-active h2,
.story.is-cinema [data-chapter].is-active h3 { transition-delay: .13s; }
.story.is-cinema [data-chapter].is-active p { transition-delay: .21s; }
.story.is-cinema [data-chapter].is-active .pill,
.story.is-cinema [data-chapter].is-active .story-place { transition-delay: .29s; }

/* Tira de marcas: indice del rollo, tambien navegable. */
.story.is-cinema .story-reel {
  display: flex; position: absolute; z-index: 6; right: clamp(15px, 2.4vw, 34px); top: 50%; flex-direction: column; gap: 4px;
  transform: translateY(-50%);
}
.reel-mark {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px; width: 56px; min-height: 48px; padding: 0;
  border: 0; background: transparent; color: rgba(255,255,255,.34); cursor: pointer;
  transition: color .35s ease;
}
.reel-mark i { width: 20px; height: 1.5px; background: currentColor; transition: width .45s cubic-bezier(.16,1,.3,1), background .35s ease; }
.reel-mark span { font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .35s ease; }
.reel-mark:hover, .reel-mark:focus-visible { color: #fff; outline: none; }
.reel-mark:focus-visible i { width: 34px; }
.reel-mark:hover span, .reel-mark:focus-visible span, .reel-mark.is-current span { opacity: 1; }
.reel-mark.is-current { color: var(--blood-hot); }
.reel-mark.is-current i { width: 34px; background: var(--blood-hot); }

/* Hilo de avance del rollo. */
.story.is-cinema .story-progress { display: block; position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255,255,255,.14); }
.story.is-cinema .story-progress i { display: block; height: 100%; width: calc(var(--story-p, 0) * 100%); background: var(--blood-hot); }

@media (max-width: 800px) {
  .story-stage { padding: 74px 17px 56px; }
  .criteria { gap: 44px; }
  .criterion { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .story.is-cinema { height: calc(var(--chapters, 7) * 92svh); }
  .story.is-cinema .story-frame,
  .story.is-cinema [data-chapter] {
    inset: calc(84px + env(safe-area-inset-top)) 17px calc(78px + env(safe-area-inset-bottom));
    padding: 0;
  }
  .story.is-cinema .story-frame { width: 100%; height: 100svh; padding: calc(84px + env(safe-area-inset-top)) 17px calc(78px + env(safe-area-inset-bottom)); }
  /* El texto nunca pasa por debajo del indice: el capitulo termina antes. */
  .story.is-cinema [data-chapter] { bottom: calc(112px + env(safe-area-inset-bottom)); }
  /* En movil el indice baja a la zona del pulgar y deja de cruzarse con el texto. */
  .story.is-cinema .story-reel {
    top: auto; right: 17px; left: 17px; bottom: calc(16px + env(safe-area-inset-bottom));
    flex-direction: row; justify-content: center; gap: 4px; transform: none;
  }
  .reel-mark { flex-direction: column; justify-content: center; gap: 6px; width: 48px; min-height: 48px; }
  .reel-mark i { width: 100%; height: 1.5px; }
  .reel-mark:focus-visible i, .reel-mark.is-current i { width: 100%; height: 2.5px; }
  .story.is-cinema .criterion-body { width: 100%; }
  .story.is-cinema .criterion h3 { max-width: none; }
  .story.is-cinema .criterion-figure { font-size: clamp(150px, 46vw, 260px); top: auto; bottom: -.08em; transform: translate3d(0, calc(var(--chapter-p, 0) * -22px), 0); }
}

/* Precio: el dato que decide la compra, tratado como dato y no como adorno. */
.card-price { margin-top: 6px; color: var(--blood-hot); letter-spacing: .08em; }
.sheet-price { padding-top: 14px; font-size: 15px; letter-spacing: .1em; color: var(--blood-hot); }
button.sheet-action { border: 1px solid transparent; font: inherit; cursor: pointer; }
button.sheet-action:disabled { opacity: .6; cursor: progress; }

/* ==========================================================================
   CATÁLOGO CINEMÁTICO — el scroll vertical gobierna una composición fijada:
   las piezas viajan a la izquierda, terminan por completo y sólo entonces el
   segundo clip abre desde el centro. No hay captura artificial de la rueda.
   ========================================================================== */
.product-sequence { position: relative; height: 420svh; }
.product-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
html.is-catalog-dragging { scroll-behavior: auto; }
.product-stage { touch-action: pan-y; }
.product-stage.is-dragging, .product-stage.is-dragging * { user-select: none; }
.product-stage.is-dragging .product-track { transition: none; }
.collection-label::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--blood-hot) 0 0) no-repeat, rgba(255,255,255,.14);
  background-size: var(--catalog-progress, 0%) 100%, 100% 100%;
}
.product-track {
  position: absolute;
  top: 120px;
  bottom: 28px;
  left: 0;
  height: auto;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}
.campaign-reveal {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  clip-path: inset(0 50% 0 50%);
  will-change: clip-path;
}
.campaign-reveal::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -7%;
  background: #050506 url("assets/seq/catalog/000.webp") center / cover no-repeat;
  filter: blur(34px) grayscale(1) brightness(.5);
  opacity: .62;
  transform: scale(1.08);
}
.campaign-reveal::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(5,5,6,.3);
  pointer-events: none;
}
.catalog-video { filter: grayscale(1) contrast(1.12) brightness(.78); }

@media (max-width: 800px) {
  .product-sequence { height: 380svh; }
  .product-track { top: calc(106px + env(safe-area-inset-top)); bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-sequence { height: 260svh; }
}

/* Footer dentro del flujo: visible y clicable sin una capa transparente por
   encima. El antiguo footer fijo parecía una pantalla final, pero el main
   seguía ocupando la zona de interacción. */
.footer-spacer { display: none; }
footer {
  position: relative;
  z-index: 3;
  left: auto;
  right: auto;
  bottom: auto;
  min-height: 420px;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, .6fr);
}

@media (max-width: 800px) {
  footer { min-height: auto; grid-template-columns: 1fr; }
}

/* La película ocupa toda la escena: ninguna tarjeta bajo ella recibe taps. */
.product-stage.is-revealing .campaign-reveal { pointer-events: auto; }
.product-stage.is-revealing .product-track { pointer-events: none; }

@media (max-width: 800px) {
  .hero-stage { min-height: 100svh; }
  .hero-copy { left: 20px; right: 20px; bottom: calc(42px + env(safe-area-inset-bottom)); }
  .hero-copy h1 { font-size: clamp(62px, 18.5vw, 106px); line-height: .84; letter-spacing: -.065em; }
  .hero-copy .pill { margin-top: 25px; padding: 9px 9px 9px 18px; font-size: 11px; }
  .hero-copy .pill b { width: 34px; height: 34px; }
  .hero-index { top: calc(100px + env(safe-area-inset-top)); }
  .scroll-meter { top: 43%; right: 17px; }
  .product-track { top: calc(117px + env(safe-area-inset-top)); bottom: 24px; }
  .product-card { width: 88vw; min-width: 88vw; padding: 23px 23px 28px; }
  .product-card.has-photo::after { background: linear-gradient(180deg, rgba(0,0,0,.22), transparent 32%, rgba(0,0,0,.18) 53%, rgba(0,0,0,.86)); }
  .product-info { gap: 7px; }
  .product-info h3 { font-size: clamp(38px, 10.5vw, 56px); line-height: .9; }
  .card-cta { align-self: flex-start; margin-top: 12px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.75); border-radius: 999px; background: rgba(0,0,0,.28); backdrop-filter: blur(8px); }
  .collection-label { left: 20px; right: 20px; top: calc(83px + env(safe-area-inset-top)); }
  /* En móvil vertical llena la escena sin cortar la cabeza; en ventana ancha cabe entero. */
  .catalog-video { padding: 0; object-fit: contain; object-position: center; }
  .campaign-reveal::before { opacity: .35; }
}

@media (max-width: 800px) and (max-aspect-ratio: 9/16) {
  .catalog-video { object-fit: cover; object-position: center top; }
}

.campaign-reveal .reveal-fallback { background: #08080a url("assets/seq/catalog/000.webp") center / contain no-repeat; }
.campaign-reveal .reveal-fallback span { display: none; }

/* Hero editorial: la campaña ocupa el plano y el mensaje funciona como pie. */
.hero-canvas, .hero-image { filter: grayscale(1) contrast(1.08) brightness(.78); }
.hero-wash, .hero-stage.has-motion-video .hero-wash {
  background: linear-gradient(180deg, rgba(0,0,0,.43), transparent 24%, transparent 47%, rgba(0,0,0,.67) 100%);
}
.hero-copy { left: clamp(24px, 4.2vw, 70px); right: auto; bottom: clamp(34px, 5svh, 64px); width: min(480px, 60vw); }
.hero-copy::before { display: none; }
.hero-eyebrow { display: block; width: fit-content; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.8); color: rgba(255,255,255,.85); letter-spacing: .16em; }
.hero-copy h1 { margin-top: 20px; font-size: clamp(42px, 4.5vw, 68px); line-height: .88; letter-spacing: -.055em; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.hero-deck { max-width: 32ch; margin: 18px 0 0; font-size: clamp(13px, 1.15vw, 16px); line-height: 1.4; color: rgba(255,255,255,.87); }
.hero-copy .pill { margin-top: 21px; }

@media (max-width: 800px) {
  .hero-copy { left: 20px; right: 20px; bottom: calc(34px + env(safe-area-inset-bottom)); width: auto; }
  .hero-copy h1 { margin-top: 16px; font-size: clamp(38px, 10.5vw, 58px); line-height: .9; }
  .hero-deck { margin-top: 13px; font-size: 13px; }
.hero-copy .pill { margin-top: 18px; }
}

/* Vistas de producto: foto de campaña y acercamientos reales. */
.sheet-thumbs { position: absolute; z-index: 3; left: 22px; right: 22px; bottom: 20px; display: flex; gap: 8px; }
.sheet-thumbs { overflow-x: auto; padding: 5px 2px 2px; scrollbar-width: thin; }
.sheet-photo { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; }
.product-card .card-photo { transition: opacity .8s ease, filter .5s ease, transform .8s ease; }
.product-card .card-photo-alt { opacity: 0; }
.product-card.show-alt .card-photo:not(.card-photo-alt) { opacity: 0; }
.product-card.show-alt .card-photo-alt { opacity: 1; }
.sheet-photo-cue { position: absolute; z-index: 2; right: 22px; bottom: 114px; color: #fff; text-shadow: 0 1px 8px #000; }
.sheet-thumb { flex: 0 0 62px; width: 62px; height: 72px; padding: 0; border: 1px solid rgba(255,255,255,.5); border-radius: 3px; background-color: #171719; background-position: center; background-size: cover; box-shadow: 0 4px 14px rgba(0,0,0,.2); cursor: pointer; opacity: .7; transition: opacity .2s, transform .2s, border-color .2s; }
.sheet-thumb:hover, .sheet-thumb:focus-visible, .sheet-thumb.is-selected { opacity: 1; border-color: #fff; transform: translateY(-3px); }
.sheet-thumb:focus-visible { outline-color: #fff; }
@media (max-width: 800px) {
  .sheet-thumbs { left: 14px; right: 14px; bottom: 11px; gap: 6px; }
  .sheet-thumb { flex-basis: 48px; width: 48px; height: 54px; }
  .sheet-photo-cue { right: 14px; bottom: 80px; }
}

body.photo-viewer-open { overflow: hidden; }
.photo-viewer { position: fixed; z-index: 900; inset: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; color: #fff; background: #050506; }
.photo-viewer[hidden] { display: none; }
.photo-viewer-bar, .photo-viewer-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px clamp(16px, 3vw, 40px); }
.photo-viewer-bar { border-bottom: 1px solid rgba(255,255,255,.16); }
.photo-viewer-title { max-width: 55vw; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.photo-viewer-actions { display: flex; align-items: center; gap: 8px; }
.photo-viewer button { min-width: 44px; min-height: 44px; border: 1px solid rgba(255,255,255,.38); color: #fff; background: transparent; cursor: pointer; }
.photo-viewer button:hover, .photo-viewer button:focus-visible { border-color: #fff; background: rgba(255,255,255,.12); }
.photo-viewer-zoom { padding: 0 13px; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.photo-viewer-close { font-size: 26px; line-height: 1; }
.photo-viewer-frame { display: grid; place-items: center; min-height: 0; overflow: hidden; padding: 12px; }
.photo-viewer-image { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; cursor: zoom-in; }
.photo-viewer.is-zoomed .photo-viewer-frame { display: block; overflow: auto; text-align: center; }
.photo-viewer.is-zoomed .photo-viewer-image { width: auto; height: auto; max-width: none; max-height: none; margin: 0 auto; cursor: zoom-out; }
.photo-viewer-footer { justify-content: center; border-top: 1px solid rgba(255,255,255,.16); }
.photo-viewer-count { min-width: 70px; text-align: center; }
@media (max-width: 800px) {
  .photo-viewer-bar { padding-top: calc(12px + env(safe-area-inset-top)); }
  .photo-viewer-footer { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .photo-viewer-zoom { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-card .card-photo { transition: none; }
}
