@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=Space+Mono:wght@400;700&display=swap");

:root {
  --ink: #090909;
  --paper: #f3f0e8;
  --acid: #dcff00;
  --pink: #ff2bbf;
  --orange: #ff4d00;
  --blue: #304bff;
  --line: rgba(243, 240, 232, 0.28);
  --scene-accent: #dcff00;
  --display: "Archivo Black", Impact, "Arial Black", sans-serif;
  --mono: "Space Mono", "Courier New", monospace;
  --gutter: clamp(1rem, 3vw, 3rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--mono);
  overflow-x: clip;
}
body.menu-open, body.order-open { overflow: hidden; }
button, input { font: inherit; }
button, a, label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: inherit; }
::selection { color: var(--ink); background: var(--acid); }

.skip-link {
  position: fixed;
  z-index: 200;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--ink);
  background: var(--acid);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.loader {
  position: fixed;
  z-index: 190;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: var(--gutter);
  color: var(--ink);
  background: var(--acid);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.is-ready .loader { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__top { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 0.72rem; }
.brand-mark { display: grid; width: 2.7rem; aspect-ratio: 1; place-items: center; color: var(--acid); background: var(--ink); border-radius: 50%; }
.loader__number { align-self: end; font-family: var(--display); font-size: clamp(7rem, 32vw, 30rem); line-height: 0.72; letter-spacing: -0.08em; }
.loader__number small { font: 700 clamp(1rem, 3vw, 2rem)/1 var(--mono); letter-spacing: 0; }
.loader__track { height: 0.7rem; margin-top: 2rem; border: 2px solid var(--ink); }
.loader__track span { display: block; width: 0; height: 100%; background: var(--ink); transition: width 0.15s linear; }

.site-header {
  position: fixed;
  z-index: 110;
  top: 0;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding: 1rem var(--gutter);
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.logo { display: inline-flex; width: max-content; gap: 0.6rem; align-items: center; text-decoration: none; }
.logo__stamp { display: grid; width: 2.65rem; aspect-ratio: 1; place-items: center; font-family: var(--display); color: var(--ink); background: var(--paper); border-radius: 50%; transform: rotate(-9deg); }
.logo__word { font-family: var(--display); font-size: 0.87rem; line-height: 0.78; letter-spacing: -0.06em; }
.site-header__meta { margin: 0; text-align: center; font-size: 0.62rem; font-weight: 700; line-height: 1.4; }
.menu-toggle {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}
/* Hamburguesa de 3 barras: contundente como el resto de la marca. La del medio va
   corta (detalle asimetrico) y se estira al pasar el raton; al abrir se convierte en X. */
.menu-toggle__icon { position: relative; width: 1.6rem; height: 1.05rem; }
.menu-toggle__icon i {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 0.35s ease, top 0.35s ease, opacity 0.25s ease, background 0.2s ease;
}
.menu-toggle__icon i:nth-child(1) { top: 0; }
.menu-toggle__icon i:nth-child(2) { top: calc(50% - 1px); }
.menu-toggle__icon i:nth-child(3) { top: calc(100% - 2px); }
.menu-toggle:hover .menu-toggle__icon i,
.menu-toggle:focus-visible .menu-toggle__icon i { background: var(--acid); }
.menu-open .menu-toggle:hover .menu-toggle__icon i,
.menu-open .menu-toggle:focus-visible .menu-toggle__icon i { background: var(--ink); }
.menu-open .menu-toggle__icon i:nth-child(1) { top: calc(50% - 1px); transform: rotate(45deg); }
.menu-open .menu-toggle__icon i:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-open .menu-toggle__icon i:nth-child(3) { top: calc(50% - 1px); transform: rotate(-45deg); }

.menu-panel {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(6.5rem, 16vh, 10rem) var(--gutter) var(--gutter);
  color: var(--ink);
  background: var(--pink);
  visibility: hidden;
  transform: translateY(-105%);
}
.menu-panel__noise, .stage__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
}
.menu-panel .eyebrow { position: relative; }
.menu-panel nav { position: relative; margin-block: auto; border-top: 2px solid var(--ink); }
.menu-panel nav a { display: flex; justify-content: space-between; align-items: center; padding: clamp(0.65rem, 1.6vh, 1.25rem) 0; text-decoration: none; border-bottom: 2px solid var(--ink); font-family: var(--display); font-size: clamp(2rem, 6vw, 5.6rem); line-height: 0.9; letter-spacing: -0.065em; }
.menu-panel nav a span { transition: transform 0.25s ease; }
.menu-panel nav a:hover span, .menu-panel nav a:focus-visible span { transform: translateX(0.7rem); }
.menu-panel__foot { position: relative; margin: 1rem 0 0; font-size: 0.65rem; font-weight: 700; }

.sequence { position: relative; min-height: 100svh; background: var(--ink); }
.stage { position: relative; width: 100%; height: 100svh; overflow: hidden; background: #050505; }
.stage__canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.stage__wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.28) 43%, rgba(0,0,0,.04) 65%), linear-gradient(0deg, rgba(0,0,0,.55), transparent 38%); pointer-events: none; }
.stage__grid { opacity: 0.08; mix-blend-mode: screen; }

.hero-copy { position: absolute; z-index: 2; left: var(--gutter); top: 50%; width: min(45rem, 68vw); transform: translateY(-48%); }
.hero-copy__kicker, .eyebrow { margin: 0 0 1.3rem; font-size: 0.67rem; font-weight: 700; letter-spacing: 0.08em; }
.hero-copy__kicker { display: flex; gap: 0.65rem; align-items: center; }
.hero-copy__kicker span { width: 0.65rem; aspect-ratio: 1; background: var(--acid); border-radius: 50%; box-shadow: 0 0 1.4rem var(--acid); }
.hero-copy h1 { margin: 0; font-family: var(--display); font-size: clamp(5rem, 13vw, 13rem); line-height: 0.67; letter-spacing: -0.085em; text-transform: uppercase; }
.hero-copy h1 span { display: block; }
.hero-copy h1 .outline { color: transparent; -webkit-text-stroke: clamp(1px, .18vw, 3px) var(--acid); transform: translateX(16%); }
.hero-copy__dek { position: absolute; left: min(74%, 32rem); bottom: 0; width: max-content; margin: 0; padding: 0.65rem 0.8rem; color: var(--ink); background: var(--acid); font-size: 0.72rem; font-weight: 700; line-height: 1.3; transform: rotate(-3deg); }
.hero-sticker { position: absolute; z-index: 2; right: clamp(1rem, 5vw, 5rem); top: 20%; display: grid; width: clamp(5rem, 8vw, 8rem); aspect-ratio: 1; place-content: center; text-align: center; color: var(--ink); background: var(--pink); clip-path: polygon(50% 0,61% 14%,78% 6%,83% 23%,100% 25%,91% 42%,100% 55%,85% 64%,86% 82%,68% 81%,58% 100%,46% 86%,29% 96%,24% 78%,5% 76%,15% 58%,0 48%,17% 36%,9% 18%,29% 17%); transform: rotate(10deg); }
.hero-sticker span { font: 700 0.72rem/1 var(--mono); }
.hero-sticker b { font: 1rem/1 var(--display); }

.chapter { position: absolute; z-index: 3; left: var(--gutter); top: 50%; width: min(35rem, 47vw); opacity: 0; transform: translateY(-40%); pointer-events: none; }
.chapter__tag { display: inline-block; margin-bottom: 1rem; padding: 0.5rem 0.65rem; color: var(--ink); background: var(--acid); font-size: 0.65rem; font-weight: 700; transform: rotate(-2deg); }
.chapter h2 { margin: 0; font-family: var(--display); font-size: clamp(4rem, 9.2vw, 9rem); line-height: 0.76; letter-spacing: -0.08em; text-shadow: 0 .05em 0 var(--ink); }
.chapter p { width: max-content; margin: 1.5rem 0 0 auto; padding: 0.6rem 0.8rem; color: var(--ink); background: var(--paper); font-weight: 700; font-size: 0.7rem; transform: rotate(2deg); }
.chapter--two { left: auto; right: var(--gutter); text-align: right; }
.chapter--two .chapter__tag { background: var(--pink); }
.chapter--two p { margin-left: 0; }
.chapter--three .chapter__tag { background: var(--orange); }
.chapter--four { left: auto; right: var(--gutter); text-align: right; }
.chapter--four .chapter__tag { background: var(--blue); color: var(--paper); }
.chapter--four p { margin-left: 0; }

.scroll-cue { position: absolute; z-index: 2; left: var(--gutter); bottom: 1.2rem; display: flex; align-items: center; gap: 0.8rem; font-size: 0.6rem; font-weight: 700; }
.scroll-cue i { width: 4rem; height: 1px; background: var(--paper); transform-origin: left; animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scaleX(.35); } }
.sequence-progress { position: absolute; z-index: 3; right: var(--gutter); bottom: 1.3rem; display: flex; align-items: center; gap: 0.7rem; font-size: 0.55rem; font-weight: 700; }
.sequence-progress__rail { width: clamp(5rem, 14vw, 13rem); height: 3px; background: rgba(255,255,255,.3); }
.sequence-progress__rail i { display: block; width: 0; height: 100%; background: var(--scene-accent); box-shadow: 0 0 1rem var(--scene-accent); }
.frame-status { position: absolute; z-index: 2; right: var(--gutter); top: 50%; display: flex; gap: 0.5rem; align-items: baseline; writing-mode: vertical-rl; transform: translateY(-50%); font-size: 0.55rem; font-weight: 700; }
.frame-status b { color: var(--scene-accent); font-size: 0.85rem; transition: color .25s ease; }

@keyframes ticker { to { transform: translateX(-50%); } }

.toast { position: fixed; z-index: 150; left: 50%; bottom: 1rem; display: flex; justify-content: space-between; gap: 3rem; width: min(31rem, calc(100vw - 2rem)); padding: 1rem; color: var(--ink); background: var(--acid); border: 2px solid var(--ink); font-weight: 700; font-size: .7rem; transform: translate(-50%, 160%); }

@media (max-width: 850px) {
  .site-header { grid-template-columns: 1fr 1fr; }
  .site-header__meta { display: none; }
  .hero-copy { top: 38%; width: calc(100% - 2 * var(--gutter)); transform: none; }
  .hero-copy h1 { font-size: clamp(4.2rem, 23vw, 8rem); }
  .hero-copy__dek { left: auto; right: 0; bottom: -4rem; }
  .hero-sticker { top: auto; right: 1rem; bottom: 17%; }
  .chapter, .chapter--two, .chapter--four { top: auto; left: var(--gutter); right: auto; bottom: 12%; width: calc(100% - 2 * var(--gutter)); text-align: left; transform: none; }
  .chapter h2 { font-size: clamp(3.8rem, 17vw, 6.5rem); }
  .chapter p, .chapter--two p, .chapter--four p { margin-left: auto; }
  .frame-status { display: none; }
  .manifesto__copy { width: 85vw; }
  .menu-section { display: block; }
  .menu-section__head { position: relative; min-height: 70svh; border-right: 0; border-bottom: 2px solid var(--ink); }
  .burger-row { min-height: 43svh; grid-template-columns: 1fr auto; }
  .burger-row__visual { width: 52%; opacity: .24; transform: rotate(-2deg) scale(1); }
  .burger-row p { grid-column: 1 / -1; width: 75%; }
  .builder { display: block; }
  .builder__intro { min-height: 90svh; border-right: 0; border-bottom: 1px solid var(--line); }
  .builder__form { min-height: 100svh; }
}

/* En tablet vertical el fotograma 16:9 deja aire sobre la hamburguesa. La copia
   vive ahí para que los capítulos no caigan por debajo del viewport. */
@media (min-width: 561px) and (max-width: 850px) and (orientation: portrait) {
  .hero-copy { top: 16%; }
  .chapter, .chapter--two, .chapter--four {
    top: max(6.5rem, 10svh);
    bottom: auto;
  }
  .chapter p, .chapter--two p, .chapter--four p {
    max-width: 72%;
    margin-top: .7rem;
    margin-left: 0;
  }
}

@media (min-width: 851px) and (max-width: 1200px) {
  .menu-section { grid-template-columns: minmax(25rem, .9fr) 1.1fr; }
  .menu-section__head { padding-inline: 2rem; }
  .menu-section__head h2 { font-size: clamp(4.2rem, 7vw, 6rem); }
  .burger-row { grid-template-columns: 1.25fr .9fr auto; gap: 1.5rem; padding: 3rem 2.5rem; }
  .burger-row h3 { font-size: clamp(3rem, 5.3vw, 5rem); }
}

@media (max-width: 560px) {
  :root { --gutter: 1rem; }
  .site-header { padding-top: max(.75rem, env(safe-area-inset-top)); }
  .menu-toggle { min-width: 2.75rem; min-height: 2.75rem; justify-content: flex-end; }
  .menu-panel { padding-top: max(6.5rem, calc(env(safe-area-inset-top) + 5.5rem)); padding-bottom: max(1rem, env(safe-area-inset-bottom)); }
  .logo__word { display: none; }
  .menu-panel nav a { font-size: clamp(2rem, 11vw, 3.4rem); }
  .stage__wash { background: linear-gradient(0deg, rgba(0,0,0,.75) 0, transparent 42%), linear-gradient(90deg, rgba(0,0,0,.45), transparent 60%); }
  .hero-copy { top: 20%; }
  .hero-copy__kicker { font-size: .55rem; }
  .hero-copy__dek { bottom: -3.5rem; }
  .hero-sticker { bottom: 22%; }
  .scroll-cue { display: none; }
  .sequence-progress { left: var(--gutter); right: var(--gutter); justify-content: center; }
  .sequence-progress__rail { flex: 1; }
  .chapter { bottom: 13%; }
  .chapter p { margin-top: .7rem; }
  .manifesto { min-height: 100svh; }
  .manifesto h2 { font-size: clamp(5rem, 25vw, 9rem); }
  .manifesto__copy { grid-template-columns: 1fr; gap: 1.2rem; width: 100%; margin-top: 5rem; }
  .manifesto__stamp { right: 4%; top: 8%; width: 5rem; font-size: .8rem; }
  .burger-row { grid-template-columns: 1fr; align-content: end; padding: 2rem 1rem; }
  .burger-row p { grid-column: auto; width: 85%; }
  .burger-row strong { justify-self: end; }
  .builder fieldset { grid-template-columns: 1fr; }
  .builder label span { min-height: 3.6rem; }
  .builder__total strong { font-size: 3.2rem; }
  .finale h2 { font-size: clamp(6rem, 28vw, 10rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .scroll-cue { display: none; }
}

/* Post-sequence experience */
.aftershock {
  position: relative;
  min-height: 115svh;
  overflow: hidden;
  color: var(--ink);
  background: var(--acid);
  isolation: isolate;
}
.aftershock__media {
  position: absolute;
  z-index: -2;
  top: 0;
  right: 0;
  width: 72%;
  height: 100%;
  overflow: hidden;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  will-change: transform;
}
.aftershock__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: contrast(1.06) saturate(1.08); }
.aftershock__shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, var(--acid) 0 25%, rgba(220,255,0,.82) 36%, rgba(220,255,0,0) 66%), linear-gradient(0deg, rgba(0,0,0,.5), transparent 42%); }
.aftershock__copy { position: absolute; z-index: 2; top: 14%; left: var(--gutter); width: min(72rem, 76vw); }
.aftershock__copy h2 { margin: 0; font-family: var(--display); font-size: clamp(6rem, 16.5vw, 17rem); line-height: .68; letter-spacing: -.09em; }
.aftershock__copy h2 span { display: block; will-change: transform, opacity; }
.aftershock__copy .outline-dark { color: transparent; -webkit-text-stroke: clamp(2px, .42vw, 7px) var(--ink); }
.aftershock__copy > p:last-child { width: min(25rem, 72vw); margin: 2.5rem 0 0 35%; padding: .8rem; color: var(--paper); background: var(--ink); font-size: .72rem; font-weight: 700; line-height: 1.5; transform: rotate(-2deg); }
.aftershock__facts { position: absolute; z-index: 2; top: 12%; right: var(--gutter); display: flex; gap: .45rem; }
.aftershock__facts span { padding: .55rem .65rem; color: var(--paper); background: var(--ink); font-size: .55rem; font-weight: 700; }
.aftershock__link { position: absolute; z-index: 2; left: var(--gutter); bottom: 3rem; display: flex; width: min(25rem, calc(100vw - 2 * var(--gutter))); justify-content: space-between; align-items: center; padding: 1.2rem; color: var(--paper); background: var(--ink); text-decoration: none; font-family: var(--display); }
.aftershock__link b { font-size: 1.5rem; }
.aftershock__ghost { position: absolute; z-index: 1; right: -2vw; bottom: -3.3vw; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.45); font: clamp(5rem, 14vw, 14rem)/.7 var(--display); letter-spacing: -.08em; white-space: nowrap; will-change: transform; }

.menu-rail { position: relative; color: var(--paper); background: var(--ink); }
.menu-rail__pin { position: relative; height: 100svh; overflow: hidden; }
.menu-rail__track { display: flex; width: max-content; height: 100%; will-change: transform; }
.rail-panel { position: relative; flex: 0 0 100vw; width: 100vw; height: 100%; overflow: hidden; }
.rail-intro { display: flex; flex-direction: column; justify-content: center; padding: 7rem var(--gutter) 5rem; color: var(--ink); background: var(--paper); }
.rail-intro::after { content: ""; position: absolute; right: -9rem; top: 50%; width: 26rem; aspect-ratio: 1; border: 6rem solid var(--pink); border-radius: 50%; transform: translateY(-50%); opacity: .92; }
.rail-intro h2 { position: relative; z-index: 1; margin: 0; font-family: var(--display); font-size: clamp(6rem, 16vw, 16rem); line-height: .67; letter-spacing: -.09em; }
.rail-intro__bottom { position: relative; z-index: 1; display: flex; width: 54%; justify-content: space-between; align-items: end; gap: 3rem; margin: 4rem 0 0 auto; font-size: .7rem; line-height: 1.5; }
.rail-intro__bottom p { max-width: 22rem; margin: 0; }
.rail-intro__bottom span { font-weight: 700; white-space: nowrap; }
.product { display: grid; grid-template-columns: 56% 44%; color: var(--ink); }
.product--acid { background: var(--acid); }
.product--orange { background: var(--orange); }
.product--blue { color: var(--paper); background: var(--blue); }
.product__media { position: relative; height: 100%; overflow: hidden; background: var(--ink); }
.product__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(0,0,0,.35)); pointer-events: none; }
.product__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; will-change: transform; }
.product__copy { position: relative; display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: clamp(5rem, 7vw, 8rem) var(--gutter) 5rem; }
.product__copy h3 { margin: 0; font-family: var(--display); font-size: clamp(5rem, 8vw, 8rem); line-height: .68; letter-spacing: -.085em; }
.product__description { max-width: 28rem; margin: 2rem 0; font-size: .72rem; line-height: 1.65; }
.product ul { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.product li { padding: .5rem .6rem; border: 1px solid currentColor; font-size: .52rem; font-weight: 700; }
.product__footer { display: flex; justify-content: space-between; align-items: end; margin-top: auto; padding-top: 2rem; border-top: 2px solid currentColor; }
.product__footer strong { font: clamp(2.2rem, 4vw, 4rem)/.75 var(--display); letter-spacing: -.06em; white-space: nowrap; }
.product__footer a { display: flex; gap: 2rem; align-items: center; padding: 1rem; color: inherit; border: 1px solid currentColor; text-decoration: none; font-family: var(--display); transition: color .2s ease, background .2s ease; }
.product__footer a:hover, .product__footer a:focus-visible { color: var(--paper); background: var(--ink); }
.product--blue .product__footer a:hover, .product--blue .product__footer a:focus-visible { color: var(--ink); background: var(--paper); }
.menu-rail__progress { position: absolute; z-index: 5; left: var(--gutter); right: var(--gutter); bottom: 1.2rem; display: flex; align-items: center; gap: .75rem; font-size: .54rem; font-weight: 700; pointer-events: none; mix-blend-mode: difference; }
.menu-rail__progress i { flex: 1; height: 3px; background: rgba(255,255,255,.35); }
.menu-rail__progress b { display: block; width: 100%; height: 100%; background: white; transform: scaleX(0); transform-origin: left; will-change: transform; }

.stack-lab { position: relative; padding: clamp(7rem, 11vw, 11rem) var(--gutter); color: var(--ink); background: var(--acid); overflow: hidden; }
.stack-lab::before { content: "BUILD / BITE / REPEAT"; position: absolute; right: -1rem; top: 2rem; color: rgba(0,0,0,.08); font: clamp(4rem, 10vw, 10rem)/1 var(--display); white-space: nowrap; }
.stack-lab__head { position: relative; display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: clamp(3rem, 6vw, 6rem); }
.stack-lab__head h2 { margin: 0; font-family: var(--display); font-size: clamp(6rem, 15vw, 15rem); line-height: .66; letter-spacing: -.09em; }
.stack-lab__head > p { width: min(26rem, 36vw); margin: 0 0 .5rem; font-size: .72rem; font-weight: 700; line-height: 1.6; }
.stack-lab__workspace { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; min-height: 48rem; border: 2px solid var(--ink); box-shadow: .9rem .9rem 0 var(--ink); }
.stack-lab__preview { position: relative; min-width: 0; overflow: hidden; background: var(--ink); }
.stack-lab__preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.85), transparent 52%); pointer-events: none; }
.stack-lab__preview img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.stack-lab__live { position: absolute; z-index: 2; left: 1.2rem; top: 1.2rem; padding: .55rem .65rem; color: var(--ink); background: var(--pink); font-size: .57rem; font-weight: 700; }
.stack-lab__readout { position: absolute; z-index: 2; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; display: flex; justify-content: space-between; align-items: center; color: var(--paper); font: clamp(2rem, 4vw, 4rem)/1 var(--display); }
.stack-lab__readout i { color: var(--pink); font-style: normal; }
.stack-form { display: flex; flex-direction: column; justify-content: center; gap: 2.2rem; padding: clamp(2rem, 4vw, 4.5rem); color: var(--paper); background: var(--ink); }
.stack-form fieldset { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 0; padding: 0; border: 0; }
.stack-form legend { width: 100%; margin-bottom: 1rem; color: rgba(255,255,255,.56); font-size: .58rem; font-weight: 700; }
.stack-form label { cursor: pointer; }
.stack-form input { position: absolute; opacity: 0; pointer-events: none; }
.stack-form label span { display: grid; min-height: 4.2rem; place-items: center; padding: .7rem; border: 1px solid rgba(255,255,255,.3); font: clamp(.72rem, 1.2vw, .95rem)/1 var(--display); text-align: center; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.stack-form label small { display: block; margin-top: .3rem; font: .48rem/1 var(--mono); }
.stack-form input:checked + span { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.stack-form input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 3px; }
.stack-form__receipt { display: grid; grid-template-columns: 1fr auto; gap: .6rem; align-items: end; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.3); }
.stack-form__receipt > span, .stack-form__receipt small { color: rgba(255,255,255,.58); font-size: .58rem; }
.stack-form__receipt strong { font: clamp(3.4rem, 5.8vw, 6rem)/.76 var(--display); letter-spacing: -.06em; }
.stack-form__receipt small { grid-column: 1 / -1; }
.order-button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 1.2rem; color: var(--ink); background: var(--pink); border: 0; font-family: var(--display); cursor: pointer; transition: background .2s ease; }
.order-button:hover, .order-button:focus-visible { background: var(--acid); }
.order-button b { font-size: 1.6rem; }

.last-call { position: relative; min-height: 110svh; overflow: hidden; color: var(--paper); background: var(--ink); isolation: isolate; }
.last-call__media { position: absolute; z-index: -2; inset: 0 0 0 34%; overflow: hidden; }
.last-call__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; will-change: transform; }
.last-call__wash { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, var(--ink) 0 28%, rgba(9,9,9,.76) 48%, rgba(9,9,9,.08) 78%), linear-gradient(0deg, rgba(9,9,9,.75), transparent 45%); }
.last-call__copy { position: absolute; left: var(--gutter); top: 50%; width: min(65rem, 74vw); transform: translateY(-48%); }
.last-call__copy h2 { margin: 0; font-family: var(--display); font-size: clamp(7rem, 18vw, 18rem); line-height: .65; letter-spacing: -.095em; }
.last-call__copy h2 span { color: transparent; -webkit-text-stroke: clamp(2px, .45vw, 7px) var(--pink); }
.last-call__cta { position: absolute; right: 4%; bottom: 5%; display: grid; width: clamp(9rem, 15vw, 15rem); aspect-ratio: 1; place-content: center; gap: .7rem; color: var(--ink); background: var(--acid); border-radius: 50%; text-align: center; text-decoration: none; font-family: var(--display); will-change: transform; }
.last-call__cta b { font-size: 1.8rem; }
.last-call__meta { position: absolute; left: var(--gutter); right: var(--gutter); top: 1.5rem; display: flex; justify-content: space-between; font-size: .58rem; font-weight: 700; }
.last-call__ticker { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; overflow: hidden; padding: .65rem 0; color: var(--ink); background: var(--pink); border-block: 2px solid var(--ink); }
.last-call__ticker span { display: block; width: max-content; font: clamp(1.2rem, 2.4vw, 2.4rem)/1 var(--display); white-space: nowrap; animation: ticker 22s linear infinite; }

@media (max-width: 900px) {
  .aftershock { min-height: 108svh; }
  .aftershock__media { top: 34%; width: 100%; height: 66%; clip-path: none; }
  .aftershock__shade { background: linear-gradient(0deg, rgba(0,0,0,.68), transparent 48%), linear-gradient(180deg, var(--acid) 0 28%, rgba(220,255,0,.78) 38%, transparent 60%); }
  .aftershock__copy { top: 8%; width: calc(100% - 2 * var(--gutter)); }
  .aftershock__copy h2 { font-size: clamp(5rem, 18vw, 9rem); }
  .aftershock__copy > p:last-child { margin: 1.5rem 0 0 auto; }
  .aftershock__facts { top: auto; right: var(--gutter); bottom: 7rem; flex-direction: column; align-items: end; }
  .aftershock__link { bottom: 1rem; }
  .aftershock__ghost { bottom: 4rem; font-size: 18vw; }

  .menu-rail__pin { height: auto; overflow: visible; }
  .menu-rail__track { display: block; width: 100%; height: auto; transform: none !important; }
  .rail-panel { width: 100%; height: auto; min-height: 100svh; }
  .rail-intro { min-height: 88svh; }
  .rail-intro h2 { font-size: clamp(5rem, 20vw, 10rem); }
  .rail-intro__bottom { width: 100%; margin-top: 3rem; }
  .product { display: flex; min-height: 125svh; flex-direction: column; }
  .product__media { height: 62svh; flex: none; }
  .product__copy { min-height: 63svh; padding: 4rem var(--gutter) 3rem; }
  .product__copy h3 { font-size: clamp(4.5rem, 16vw, 8rem); }
  .menu-rail__progress { display: none; }

  .stack-lab__head { display: block; }
  .stack-lab__head h2 { font-size: clamp(5rem, 19vw, 10rem); }
  .stack-lab__head > p { width: min(30rem, 100%); margin-top: 2rem; }
  .stack-lab__workspace { display: block; min-height: 0; }
  .stack-lab__preview { height: 72svh; }
  .stack-form { min-height: 92svh; }

  .last-call__media { inset: 0; }
  .last-call__wash { background: linear-gradient(0deg, var(--ink) 0 24%, rgba(9,9,9,.5) 60%, rgba(9,9,9,.1)), linear-gradient(90deg, rgba(9,9,9,.72), transparent 75%); }
  .last-call__copy { top: 38%; width: calc(100% - 2 * var(--gutter)); }
  .last-call__copy h2 { font-size: clamp(6rem, 22vw, 11rem); }
  .last-call__cta { right: var(--gutter); bottom: 10%; }
}

@media (max-width: 560px) {
  .aftershock__copy h2 { font-size: 16.5vw; line-height: .72; }
  .aftershock__copy > p:last-child { width: 76%; font-size: .64rem; }
  .aftershock__facts { display: none; }
  .rail-intro__bottom { display: block; }
  .rail-intro__bottom span { display: block; margin-top: 2rem; }
  .product { min-height: 118svh; }
  .product__media { height: 48svh; }
  .product__copy { min-height: 70svh; }
  .product__copy h3 { font-size: 18vw; }
  .product__footer strong { font-size: 2.8rem; }
  .product__footer a { gap: .8rem; padding: .85rem; font-size: .72rem; }
  .stack-lab { padding-inline: 1rem; }
  .stack-lab__head h2 { font-size: 21vw; }
  .stack-lab__workspace { box-shadow: .45rem .45rem 0 var(--ink); }
  .stack-lab__preview { height: 52svh; }
  .stack-form { min-height: auto; padding: 3rem 1rem; }
  .stack-form fieldset { grid-template-columns: 1fr; }
  .stack-form label span { min-height: 3.4rem; }
  .stack-form__receipt strong { font-size: 3rem; }
  .last-call { min-height: 100svh; }
  .last-call__meta { display: none; }
  .last-call__copy { top: 30%; }
  .last-call__copy h2 { font-size: 18.5vw; letter-spacing: -.075em; }
  .last-call__cta { top: calc(100% + 1rem); left: 0; right: auto; bottom: auto; width: 7.5rem; font-size: .68rem; }
}

@media (prefers-reduced-motion: reduce) {
  .menu-rail__pin { height: auto; overflow: visible; }
  .menu-rail__track { display: block; width: 100%; height: auto; transform: none !important; }
  .rail-panel { width: 100%; height: auto; min-height: 100svh; }
  .product { min-height: 100svh; }
}

/* == Header integrado: transparente sobre la secuencia oscura, solido al llegar
      a las secciones claras (clase .header-solid puesta por app.js), y en tinta
      cuando el desplegable rosa esta abierto. == */
.site-header {
  color: var(--paper);
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.header-solid .site-header {
  background: rgba(9, 9, 9, 0.92);
  backdrop-filter: blur(8px);
  border-bottom-color: rgba(243, 240, 232, 0.14);
}
.menu-open .site-header {
  color: var(--ink);
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

/* == Carta: 4a variante de color y boton de compra ================== */
.product--pink { background: var(--pink); }
.product__media img { object-fit: contain; padding: clamp(1rem, 3vw, 2.5rem); }
.product__add {
  display: inline-flex;
  gap: 1.2rem;
  align-items: center;
  padding: 1rem 1.2rem;
  color: var(--paper);
  background: var(--ink);
  border: 0;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.product__add b { font-size: 1.3rem; line-height: 1; }
.product__add:hover,
.product__add:focus-visible { background: var(--paper); color: var(--ink); transform: translateY(-2px); }
.product--blue .product__add { color: var(--ink); background: var(--paper); }
.product--blue .product__add:hover,
.product--blue .product__add:focus-visible { color: var(--paper); background: var(--ink); }

/* == Pildora flotante del pedido ==================================== */
.cart-pill {
  position: fixed;
  z-index: 140;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 0.85rem 1.1rem;
  color: var(--ink);
  background: var(--acid);
  border: 2px solid var(--ink);
  font-family: var(--display);
  font-size: 0.72rem;
  cursor: pointer;
  box-shadow: 0.35rem 0.35rem 0 rgba(9, 9, 9, 0.55);
}
.cart-pill:hover, .cart-pill:focus-visible { background: var(--pink); }
.cart-pill[hidden] { display: none; }
.cart-pill__count {
  display: grid;
  place-items: center;
  width: 1.7rem;
  aspect-ratio: 1;
  background: var(--ink);
  color: var(--acid);
  border-radius: 50%;
  font-size: 0.8rem;
}
.cart-pill__total { font-size: 0.95rem; }

/* == Panel deslizante del pedido ==================================== */
.order-panel {
  position: fixed;
  z-index: 160;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(24rem, 94vw);
  display: flex;
  flex-direction: column;
  color: var(--paper);
  background: var(--ink);
  border-left: 2px solid var(--acid);
  transform: translateX(108%);
  visibility: hidden;
  overscroll-behavior: contain;
}
.order-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: max(1.2rem, calc(env(safe-area-inset-top) + .75rem)) var(--gutter) 1rem;
  border-bottom: 1px solid var(--line);
}
.order-panel__head h2 { margin: 0; font-family: var(--display); font-size: 1.4rem; letter-spacing: -0.04em; }
.order-panel__close {
  width: 2.6rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--acid);
  border: 0;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.order-panel__close:hover, .order-panel__close:focus-visible { background: var(--pink); }
.order-panel__list { flex: 1; overflow-y: auto; margin: 0; padding: 0.5rem var(--gutter); list-style: none; -webkit-overflow-scrolling: touch; }
.order-panel__list li {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px dashed rgba(243, 240, 232, 0.25);
  font-size: 0.72rem;
  font-weight: 700;
}
.order-panel__list li span { flex: 1; min-width: 0; }
.order-panel__list li b { font-family: var(--display); font-size: 0.85rem; white-space: nowrap; }
.order-panel__remove {
  width: 1.9rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: transparent;
  border: 1px solid rgba(243, 240, 232, 0.4);
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.order-panel__remove:hover, .order-panel__remove:focus-visible { color: var(--ink); background: var(--pink); border-color: var(--pink); }
.order-panel__empty { padding: 1.4rem var(--gutter); margin: 0; font-size: 0.72rem; line-height: 1.6; color: rgba(243, 240, 232, 0.75); }
.order-panel__empty[hidden] { display: none; }
.order-panel__foot { padding: 1rem var(--gutter) max(1.4rem, calc(env(safe-area-inset-bottom) + .75rem)); border-top: 1px solid var(--line); }
.order-panel__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.9rem;
  font-weight: 700;
  font-size: 0.72rem;
}
.order-panel__total b { font-family: var(--display); font-size: 1.9rem; letter-spacing: -0.04em; color: var(--acid); }
.order-button:disabled { opacity: 0.45; cursor: not-allowed; }

@media (max-width: 560px) {
  .cart-pill { right: max(0.6rem, env(safe-area-inset-right)); bottom: max(0.6rem, env(safe-area-inset-bottom)); min-height: 2.75rem; }
  .cart-pill__label { display: none; }
  .order-panel { width: 100%; border-left: 0; border-top: 2px solid var(--acid); }
  .order-panel__close, .order-panel__remove { min-width: 2.75rem; min-height: 2.75rem; }
  .site-footer__social a { display: inline-flex; min-height: 2.75rem; align-items: center; }
}

/* La palabra JUGOSA es mas ancha que MESSY: se ajusta para no recortarse en la estrella. */
.hero-sticker b { font-size: 0.68rem; letter-spacing: -0.02em; }

/* == Footer de pagina real ========================================== */
.site-footer { padding: clamp(3rem, 6vw, 5rem) var(--gutter) 1.5rem; background: var(--ink); color: var(--paper); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.site-footer__brand p { margin: 1.2rem 0 0; font-size: .68rem; line-height: 1.6; font-weight: 700; }
.site-footer__social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.site-footer__social a { padding: .5rem .7rem; border: 1px solid var(--line); color: var(--paper); text-decoration: none; font-size: .58rem; font-weight: 700; letter-spacing: .06em; transition: background .2s ease, color .2s ease; }
.site-footer__social a:hover, .site-footer__social a:focus-visible { background: var(--acid); color: var(--ink); border-color: var(--acid); }
.site-footer__grid h3 { margin: 0 0 .9rem; font-family: var(--display); font-size: .82rem; letter-spacing: .02em; color: var(--acid); }
.site-footer__grid p { margin: 0; font-size: .68rem; line-height: 1.75; }
.site-footer__grid p span { color: rgba(243, 240, 232, .6); }
.site-footer__grid a { color: var(--paper); text-decoration: none; }
.site-footer__grid a:hover, .site-footer__grid a:focus-visible { color: var(--acid); }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; font-size: .58rem; color: rgba(243, 240, 232, .65); }
.site-footer__legal nav { display: flex; gap: 1.4rem; }
.site-footer__legal a { color: inherit; text-decoration: none; }
.site-footer__legal a:hover, .site-footer__legal a:focus-visible { color: var(--acid); text-decoration: underline; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 1.8rem; } }
