/* ==========================================================================
   CHAMUSCO · Smash Burger Club — concepto de diseño (marca ficticia)
   ========================================================================== */

@font-face { font-family: "Anton"; src: url("fonts/anton-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-latin.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat Brush"; src: url("fonts/caveatbrush-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --char: #110c09;
  --char-2: #1a120d;
  --char-3: #2a1c14;
  --ember: #ff5320;
  --ember-2: #ff7b2c;
  --mustard: #ffb627;
  --cream: #f6ead4;
  --cream-2: #eadbbd;
  --ketchup: #c4271a;
  --muted: rgba(246, 234, 212, .64);
  --line: rgba(246, 234, 212, .16);
  --f-display: "Anton", Impact, "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --f-text: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-hand: "Caveat Brush", "Comic Sans MS", cursive;
  --pad: clamp(16px, 3.4vw, 48px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --vh: 1svh;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--char);
  color: var(--cream);
  font-family: var(--f-text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, figure, blockquote, address { margin: 0; padding: 0; }
ol, ul { list-style: none; }
address { font-style: normal; }
::selection { background: var(--ember); color: var(--char); }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--cream); color: var(--char); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--mustard); outline-offset: 3px; }

/* ---------- utilities ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow span { font-family: var(--f-display); font-size: 13px; letter-spacing: .04em; color: var(--char); background: var(--mustard); border-radius: 999px; padding: 3px 9px 2px; line-height: 1.2; }
.eyebrow--dark { color: rgba(17, 12, 9, .62); }
.eyebrow--dark span { background: var(--char); color: var(--mustard); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px 14px; border-radius: 999px;
  font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn--ember { background: var(--ember); color: var(--char); }
.btn--ember:hover { background: var(--mustard); }
.btn--ghost { border: 1.5px solid rgba(246, 234, 212, .4); color: var(--cream); }
.btn--ghost:hover { border-color: var(--cream); background: var(--cream); color: var(--char); }
.btn--lg { padding: 19px 30px 18px; font-size: 14px; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 400; background: var(--char);
  display: grid; place-items: center; clip-path: inset(0 0 0 0);
}
.loader__inner { display: grid; justify-items: center; gap: 14px; }
.loader__flame { width: 42px; fill: var(--ember); animation: flick 1.1s ease-in-out infinite alternate; transform-origin: 50% 90%; }
.loader__temp { font-family: var(--f-display); font-size: 64px; line-height: 1; display: flex; align-items: flex-start; gap: 4px; font-variant-numeric: tabular-nums; }
.loader__unit { font-size: 22px; color: var(--ember); padding-top: 6px; }
.loader__label { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.loader__bar { width: 160px; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.loader__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--mustard), var(--ember)); transform: scaleX(0); transform-origin: left; }
@keyframes flick { from { transform: scale(1, 1) rotate(-2deg); } to { transform: scale(1.06, .94) rotate(3deg); } }
.is-loaded .loader { pointer-events: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  transition: transform .6s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(17, 12, 9, .82), rgba(17, 12, 9, 0));
  opacity: 0; transition: opacity .5s var(--ease);
}
.nav--solid::before { opacity: 1; }
.nav--hidden { transform: translateY(-110%); }
.nav__logo { display: flex; align-items: center; gap: 9px; font-family: var(--f-display); font-size: 24px; letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.nav__mark { width: 22px; fill: var(--ember); }
.nav__links { display: flex; gap: 34px; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.nav__links a { position: relative; opacity: .82; transition: opacity .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1.5px; background: var(--ember); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: inline-flex; align-items: center; gap: 8px; background: var(--cream); color: var(--char); padding: 11px 18px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; transition: background-color .3s; }
.nav__cta:hover { background: var(--mustard); }

.chapter-ind {
  position: fixed; left: var(--pad); bottom: 22px; z-index: 110;
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: #fff; mix-blend-mode: difference; pointer-events: none;
}
.chapter-ind__num { font-family: var(--f-display); font-size: 14px; letter-spacing: .06em; }
.chapter-ind__line { width: 36px; height: 1px; background: currentColor; opacity: .6; }

/* ==========================================================================
   01 + 02 · WORLD (hero + anatomía)
   ========================================================================== */
.world { position: relative; height: calc(100svh + 420svh); background: var(--char); }
.hero { position: absolute; left: 0; right: 0; top: 0; height: 100svh; pointer-events: none; }
.hero--back { z-index: 1; display: grid; place-items: center; overflow: hidden; }
.hero--front { z-index: 3; }
.hero--front a, .hero--front button { pointer-events: auto; }

.hero__title { position: absolute; left: 0; right: 0; top: 41%; transform: translateY(-50%); text-align: center; }
.hero__word {
  display: block;
  font-family: var(--f-display); font-weight: 400;
  font-size: min(22.4vw, 46svh); line-height: .86; letter-spacing: -.005em;
  text-transform: uppercase; color: var(--ember);
  white-space: nowrap;
}
.hero__word .char { display: inline-block; will-change: transform; }

.hero__eyebrow {
  position: absolute; left: 50%; top: 13.5%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 0 rgba(255, 83, 32, .6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 83, 32, .55); } 70% { box-shadow: 0 0 0 12px rgba(255, 83, 32, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 83, 32, 0); } }

.hero__bottom {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 34px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.hero__lead { max-width: 360px; font-size: 17px; line-height: 1.45; color: var(--muted); }
.hero__lead strong { color: var(--cream); font-weight: 700; }
.hero__actions { display: flex; gap: 12px; }
.hero__badge { position: absolute; right: calc(var(--pad) + 2vw); top: 54%; width: 132px; height: 132px; }
.hero__badge > svg:first-child { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.hero__badge text { font-family: var(--f-text); font-size: 16.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; fill: var(--cream); }
.hero__badge-flame { position: absolute; left: 50%; top: 50%; width: 30px; transform: translate(-50%, -50%); fill: var(--mustard); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__scroll { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.hero__scroll i { width: 1px; height: 44px; background: linear-gradient(var(--cream), transparent); transform-origin: top; animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero__note { position: absolute; left: calc(50% - min(31vw, 420px)); top: 60%; font-family: var(--f-hand); font-size: 26px; line-height: 1; color: var(--mustard); transform: rotate(-8deg); text-align: center; }

/* ---------- stage ---------- */
.stage { position: sticky; top: 0; height: 100svh; z-index: 2; overflow: hidden; pointer-events: none; }
.stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage__glow {
  position: absolute; left: var(--gx, 50%); top: var(--gy, 58%);
  width: min(110vw, 1100px); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 83, 32, .28), rgba(255, 83, 32, .08) 55%, transparent 72%);
  pointer-events: none;
}
.stage__bigword {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  text-align: center; font-family: var(--f-display); text-transform: uppercase;
  font-size: min(19vw, 40svh); line-height: .9; color: var(--mustard); white-space: nowrap;
  opacity: 0; z-index: 0;
}
.stage__canvas { z-index: 1; }

.anat-intro { position: absolute; left: var(--pad); top: 50%; transform: translateY(-50%); width: min(27vw, 360px); z-index: 2; opacity: 0; }
.anat-intro__title { margin-top: 18px; font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 4.6vw, 72px); line-height: .95; text-transform: uppercase; }
.anat-intro__text { margin-top: 20px; color: var(--muted); font-size: 16px; max-width: 300px; }
.anat-hint { position: absolute; right: var(--pad); bottom: 26px; z-index: 2; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); opacity: 0; display: flex; align-items: center; gap: 10px; }
.anat-hint__count { font-family: var(--f-display); color: var(--mustard); font-size: 22px; letter-spacing: 0; }

.labels { position: absolute; inset: 0; z-index: 3; }
.label { position: absolute; left: 0; top: 0; width: var(--lw, 270px); opacity: 0; will-change: transform, opacity; }
.label__line { position: absolute; left: 0; top: 0; width: 1px; height: 1px; background: rgba(246, 234, 212, .42); transform-origin: 0 0; }
.label__dot { position: absolute; left: -4px; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 4px rgba(255, 83, 32, .22); }
.label__body { transform: translateY(-14px); }
.label__num { display: block; font-family: var(--f-display); font-size: 12px; letter-spacing: .1em; color: var(--mustard); }
.label__name { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(20px, 1.9vw, 28px); line-height: 1; text-transform: uppercase; margin-top: 2px; }
.label__desc { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }

/* ---------- bands ---------- */
.bands { position: relative; z-index: 4; height: clamp(150px, 20vw, 260px); margin-top: -8vw; overflow: clip; pointer-events: none; }
.band { position: absolute; left: -10%; width: 120%; padding: 16px 0 12px; overflow: hidden; }
.band--ember { top: 30%; background: var(--ember); color: var(--char); transform: rotate(-3.5deg); z-index: 2; box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
.band--char { top: 38%; background: var(--mustard); color: var(--char); transform: rotate(2.4deg); }
.band__track { display: flex; align-items: center; gap: 26px; width: max-content; white-space: nowrap; font-family: var(--f-display); font-size: clamp(30px, 4.2vw, 62px); line-height: 1; text-transform: uppercase; }
.band__track i { font-style: normal; font-size: .6em; }

/* ==========================================================================
   03 · LA SMASH
   ========================================================================== */
.smash { position: relative; height: 420svh; background: var(--cream); color: var(--char); }
.smash__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.smash__head { position: absolute; left: var(--pad); top: clamp(88px, 13svh, 130px); z-index: 3; }
.smash__title { margin-top: 18px; font-family: var(--f-display); font-weight: 400; font-size: clamp(58px, 8.2vw, 136px); line-height: .88; text-transform: uppercase; }
.smash__slides { position: absolute; inset: 0; }
.step { position: absolute; inset: 0; }
.step__media {
  position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%);
  height: min(78svh, 760px); aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden;
  background: var(--char-2);
  clip-path: inset(100% 0 0 0 round 22px);
}
.step[data-step="0"] .step__media { clip-path: inset(0 0 0 0 round 22px); }
.step__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.step__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(17, 12, 9, .78), rgba(17, 12, 9, 0) 48%); }
.step__counter { position: absolute; left: 26px; bottom: 14px; z-index: 2; display: flex; align-items: flex-start; gap: 6px; color: var(--cream); font-family: var(--f-display); line-height: .85; }
.step__num { font-size: clamp(110px, 13vw, 210px); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.step__unit { font-size: clamp(30px, 3vw, 52px); color: var(--mustard); padding-top: .25em; }
.step__text { position: absolute; left: var(--pad); bottom: clamp(110px, 17svh, 170px); width: min(34vw, 440px); opacity: 0; }
.step[data-step="0"] .step__text { opacity: 1; }
.step__idx { display: block; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ember); }
.step__text h3 { margin: 10px 0 12px; font-family: var(--f-display); font-weight: 400; font-size: clamp(36px, 3.6vw, 56px); line-height: .95; text-transform: uppercase; }
.step__text p { font-size: 17px; line-height: 1.5; color: rgba(17, 12, 9, .74); }

.heat { position: absolute; left: var(--pad); bottom: 40px; width: min(34vw, 440px); display: flex; align-items: center; gap: 14px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; z-index: 3; }
.heat__bar { position: relative; flex: 1; height: 6px; border-radius: 6px; background: rgba(17, 12, 9, .12); overflow: hidden; }
.heat__fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--mustard), var(--ember) 60%, var(--ketchup)); transform: scaleX(.04); transform-origin: left; }
.heat__bar b { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--cream); }
.heat__val { font-family: var(--f-display); font-size: 18px; letter-spacing: .02em; min-width: 72px; text-align: right; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   04 · CARTA
   ========================================================================== */
.menu { position: relative; background: var(--char); height: 400svh; }
.menu__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.menu__head { position: absolute; left: var(--pad); top: 50%; transform: translateY(-50%); width: min(30vw, 420px); z-index: 1; }
.menu__title { margin-top: 18px; font-family: var(--f-display); font-weight: 400; font-size: clamp(54px, 7vw, 116px); line-height: .9; text-transform: uppercase; }
.menu__intro { margin-top: 22px; color: var(--muted); font-size: 17px; max-width: 330px; }
.menu__drag { margin-top: 34px; display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--mustard); }
.menu__drag i { width: 44px; height: 1px; background: currentColor; position: relative; }
.menu__drag i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
.menu__track { position: absolute; left: 0; top: 0; height: 100%; display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); padding-right: var(--pad); z-index: 2; will-change: transform; }
.menu__spacer { flex: 0 0 calc(min(30vw, 420px) + var(--pad) * 2 + 4vw); height: 1px; }

.card { flex: 0 0 auto; width: clamp(280px, 25vw, 390px); perspective: 900px; outline: none; }
.card__inner {
  position: relative; aspect-ratio: 4 / 5.3; border-radius: 22px; overflow: hidden; background: var(--char-3);
  transform-style: preserve-3d; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
  transition: box-shadow .5s var(--ease);
}
.card:nth-of-type(even) .card__inner { margin-top: 8svh; }
.card__img { position: absolute; inset: 0; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1s var(--ease); }
.card__inner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 8, 6, .94) 2%, rgba(12, 8, 6, .55) 32%, rgba(12, 8, 6, 0) 58%); pointer-events: none; }
.card__tag { position: absolute; left: 18px; top: 18px; z-index: 2; padding: 7px 12px 6px; border-radius: 999px; background: rgba(17, 12, 9, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.card__tag--hot { background: var(--ketchup); }
.card__price {
  position: absolute; right: 16px; top: 16px; z-index: 2;
  width: 82px; height: 82px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: var(--mustard); color: var(--char); font-family: var(--f-display); font-size: 25px; line-height: 1; transform: rotate(9deg);
}
.card__price small { font-size: 14px; margin-left: 1px; }
.card__body { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; transform: translateZ(30px); }
.card__body h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(32px, 2.6vw, 42px); line-height: .95; text-transform: uppercase; }
.card__body p { margin-top: 10px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.card__glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 220, 170, .28), transparent 45%); mix-blend-mode: screen; transition: opacity .4s; }
.card:hover .card__glare, .card:focus-visible .card__glare { opacity: 1; }
.card:hover .card__img img, .card:focus-visible .card__img img { transform: scale(1.14); }
.card:hover .card__inner { box-shadow: 0 40px 80px -30px rgba(255, 83, 32, .45); }

.menu__end { flex: 0 0 auto; display: flex; flex-direction: column; padding: 0 6vw 0 4vw; font-family: var(--f-display); font-size: clamp(56px, 7vw, 120px); line-height: .9; text-transform: uppercase; }
.menu__end span:last-child { color: var(--ember); }
.menu__progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 30px; height: 2px; background: var(--line); z-index: 3; }
.menu__progress i { position: absolute; inset: 0; background: var(--ember); transform: scaleX(0); transform-origin: left; }

/* ==========================================================================
   05 · EL LOCAL
   ========================================================================== */
.local { position: relative; height: 260svh; background: var(--char); }
.local__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.local__media { position: absolute; inset: 0; clip-path: inset(20% 30% 20% 30% round 28px); will-change: clip-path; }
.local__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); }
.local__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 12, 9, .9) 0%, rgba(17, 12, 9, .55) 45%, rgba(17, 12, 9, .1) 80%), linear-gradient(to top, rgba(17, 12, 9, .7), transparent 40%); opacity: 0; }
.local__content { position: absolute; left: var(--pad); bottom: clamp(48px, 10svh, 110px); max-width: 720px; z-index: 2; }
.local__title { margin-top: 18px; font-family: var(--f-display); font-weight: 400; font-size: clamp(46px, 6.4vw, 108px); line-height: .92; text-transform: uppercase; }
.local__title span { display: block; }
.local__title span:last-child { color: var(--mustard); }
.local__text { margin-top: 22px; max-width: 470px; font-size: 18px; color: rgba(246, 234, 212, .82); }
.local__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.local__chips li { padding: 9px 15px 8px; border-radius: 999px; border: 1px solid rgba(246, 234, 212, .35); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); background: rgba(17, 12, 9, .25); }
.local__content > * { opacity: 0; }

/* ==========================================================================
   06 · PRUEBA SOCIAL
   ========================================================================== */
.proof { position: relative; background: var(--mustard); color: var(--char); padding: clamp(90px, 14vw, 180px) 0 clamp(70px, 9vw, 120px); overflow: clip; }
.proof__head { padding: 0 var(--pad); }
.proof__title { margin-top: 18px; font-family: var(--f-display); font-weight: 400; font-size: clamp(54px, 8vw, 132px); line-height: .88; text-transform: uppercase; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 clamp(16px, 2.5vw, 40px); padding: 0 var(--pad); margin-top: clamp(48px, 7vw, 100px); }
.stats li { border-top: 2px solid var(--char); padding-top: 18px; }
.stats__n { display: block; font-family: var(--f-display); font-size: clamp(64px, 8.4vw, 140px); line-height: .9; font-variant-numeric: tabular-nums; }
.stats__l { display: block; margin-top: 10px; font-size: 15px; font-weight: 600; max-width: 220px; color: rgba(17, 12, 9, .78); }
.reviews { margin-top: clamp(64px, 8vw, 110px); }
.reviews__row { display: flex; gap: 20px; width: max-content; padding: 16px 0; animation: marquee 46s linear infinite; }
.reviews:hover .reviews__row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }
.review { width: clamp(260px, 26vw, 360px); background: var(--char); color: var(--cream); border-radius: 20px; padding: 26px 26px 22px; transform: rotate(-1.2deg); }
.review:nth-child(even) { transform: rotate(1.4deg); background: var(--cream); color: var(--char); }
.review__stars { color: var(--ember); letter-spacing: .18em; font-size: 14px; }
.review blockquote { margin-top: 14px; font-size: 19px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.review figcaption { margin-top: 16px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .6; }

/* ==========================================================================
   07 · CTA
   ========================================================================== */
.cta { position: relative; overflow: hidden; background: var(--char); padding: clamp(110px, 14vw, 190px) var(--pad) clamp(80px, 10vw, 140px); }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 120%; object-fit: cover; opacity: .18; filter: saturate(1.2); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at 20% 0%, rgba(17, 12, 9, 0), var(--char) 70%); }
.cta__inner { position: relative; z-index: 2; }
.cta__title { margin-top: 20px; font-family: var(--f-display); font-weight: 400; font-size: clamp(64px, 12.5vw, 210px); line-height: .86; text-transform: uppercase; }
.cta__title span { display: block; }
.cta__title span:last-child { color: var(--ember); }
.cta__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-top: clamp(40px, 6vw, 80px); flex-wrap: wrap; }
.cta__buttons { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); flex-wrap: wrap; }
.magnet {
  position: relative; width: clamp(150px, 15vw, 210px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; background: var(--ember); color: var(--char);
  font-family: var(--f-display); font-size: clamp(22px, 2vw, 30px); line-height: 1; text-transform: uppercase; text-align: center;
  box-shadow: 0 24px 60px -16px rgba(255, 83, 32, .6);
  transition: background-color .4s var(--ease);
}
.magnet:hover { background: var(--mustard); }
.magnet__label { display: block; pointer-events: none; }
.cta__addr { display: grid; gap: 4px; font-size: 15px; color: var(--muted); min-width: 280px; }
.cta__addr strong { color: var(--cream); font-size: 20px; font-weight: 700; }
.cta__map { width: 300px; max-width: 100%; height: auto; color: var(--cream); margin-bottom: 10px; border-radius: 16px; background: rgba(246, 234, 212, .04); border: 1px solid var(--line); }
.cta__hours { margin-top: 12px; font-size: 13.5px; line-height: 1.6; }

/* ---------- footer ---------- */
.footer { background: #0b0806; padding: 70px var(--pad) 28px; overflow: clip; }
.footer__word { font-family: var(--f-display); text-transform: uppercase; font-size: 21.5vw; line-height: .8; text-align: center; color: transparent; -webkit-text-stroke: 1.5px rgba(246, 234, 212, .3); letter-spacing: -.005em; white-space: nowrap; transition: color .6s var(--ease); }
.footer__word:hover { color: var(--ember); -webkit-text-stroke-color: var(--ember); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer__h { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--mustard); margin-bottom: 10px; }
.footer__cols p:not(.footer__h) { color: var(--muted); font-size: 15px; }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; font-size: 12px; color: rgba(246, 234, 212, .45); }
.footer__legal a { text-decoration: underline; text-decoration-color: rgba(246, 234, 212, .25); text-underline-offset: 3px; transition: color .3s; }
.footer__legal a:hover { color: var(--cream); }

/* ---------- toast / cursor / grain ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 250; transform: translate(-50%, 140%); padding: 14px 22px; border-radius: 999px; background: var(--cream); color: var(--char); font-size: 14px; font-weight: 600; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); transition: transform .6s var(--ease); max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { transform: translate(-50%, 0); }
.cursor { position: fixed; left: 0; top: 0; z-index: 260; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--ember); pointer-events: none; opacity: 0; display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .3s, opacity .3s; }
.cursor__label { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--char); opacity: 0; transition: opacity .3s; }
.cursor.is-big { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--mustard); }
.cursor.is-big .cursor__label { opacity: 1; }
.cursor.is-link { width: 40px; height: 40px; margin: -20px 0 0 -20px; background: rgba(255, 83, 32, .3); }
@media (hover: hover) and (pointer: fine) { .has-cursor .cursor { opacity: 1; } }
.grain { position: fixed; inset: 0; z-index: 240; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* WebGL fallback: the layers become a readable list */
.no-webgl .stage { position: relative; height: auto; min-height: 100svh; padding: 120px var(--pad) 80px; }
.no-webgl .world { height: auto; }
.no-webgl .hero { position: relative; }
.no-webgl .anat-intro { position: relative; opacity: 1; transform: none; left: auto; top: auto; width: auto; max-width: 520px; }
.no-webgl .labels { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px; margin-top: 48px; }
.no-webgl .label { position: relative; opacity: 1; width: auto; }
.no-webgl .label__line, .no-webgl .label__dot, .no-webgl .stage__canvas, .no-webgl .stage__bigword { display: none; }
.no-webgl .label__desc { display: block; }
.no-webgl .anat-hint { display: none; }

/* SplitText helpers */
.split-line { overflow: clip; padding-bottom: .04em; margin-bottom: -.04em; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__links { gap: 22px; }
}
@media (max-width: 860px) {
  .nav { padding: 14px 16px; }
  .nav__links { display: none; }
  .nav__logo { font-size: 21px; }
  .chapter-ind { display: none; }

  .world { height: calc(100svh + 340svh); }
  .hero__title { top: 29%; }
  .hero__word { font-size: 23.2vw; }
  .hero__eyebrow { top: 15%; font-size: 10px; letter-spacing: .2em; }
  .hero__bottom { flex-direction: column; align-items: flex-start; bottom: 26px; gap: 18px; }
  .hero__lead { font-size: 15px; max-width: 300px; }
  .hero__actions .btn { padding: 13px 18px 12px; font-size: 12px; }
  .hero__badge { width: 92px; height: 92px; right: 14px; top: auto; bottom: 150px; }
  .hero__badge-flame { width: 22px; }
  .hero__scroll, .hero__note { display: none; }

  .anat-intro { top: 74px; left: 16px; right: 16px; width: auto; transform: none; }
  .anat-intro__title { font-size: 30px; margin-top: 12px; }
  .anat-intro__text { display: none; }
  .anat-hint { left: 16px; right: auto; bottom: 18px; font-size: 10px; }
  .label__name { font-size: 17px; }
  .label__desc { display: none; }
  .label__body { transform: translateY(-10px); }
  .label__num { font-size: 10px; }

  .bands { margin-top: -18vw; height: 140px; }
  .band__track { font-size: 30px; }

  .smash { height: 380svh; }
  .smash__head { top: 72px; left: 16px; }
  .smash__title { font-size: 13.5vw; margin-top: 12px; }
  .step__media { right: 16px; left: 16px; top: calc(72px + 30vw + 50px); transform: none; height: auto; width: auto; aspect-ratio: auto; bottom: 230px; border-radius: 18px; clip-path: inset(100% 0 0 0 round 18px); }
  .step[data-step="0"] .step__media { clip-path: inset(0 0 0 0 round 18px); }
  .step__counter { left: 16px; bottom: 8px; }
  .step__num { font-size: 26vw; }
  .step__unit { font-size: 9vw; }
  .step__text { left: 16px; right: 16px; width: auto; bottom: 74px; }
  .step__text h3 { font-size: 30px; margin: 6px 0 6px; }
  .step__text p { font-size: 14.5px; }
  .heat { left: 16px; right: 16px; width: auto; bottom: 26px; }

  .menu { height: auto; padding: 96px 0 72px; }
  .menu__pin { position: relative; height: auto; overflow: visible; }
  .menu__head { position: relative; left: auto; top: auto; transform: none; width: auto; padding: 0 16px; }
  .menu__title { font-size: 15vw; }
  .menu__intro { font-size: 15.5px; }
  .menu__drag { margin-top: 22px; }
  .menu__track { position: relative; margin-top: 34px; height: auto; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 0 16px 10px; gap: 14px; scrollbar-width: none; align-items: stretch; will-change: auto; transform: none !important; }
  .menu__track::-webkit-scrollbar { display: none; }
  .menu__spacer { display: none; }
  .card { width: 78vw; scroll-snap-align: center; }
  .card:nth-of-type(even) .card__inner { margin-top: 0; }
  .menu__end { font-size: 15vw; padding: 0 12vw 0 6vw; justify-content: center; }
  .menu__progress { display: none; }

  .local { height: 220svh; }
  .local__media { clip-path: inset(22% 10% 22% 10% round 20px); }
  .local__shade { background: linear-gradient(to top, rgba(17, 12, 9, .94) 10%, rgba(17, 12, 9, .5) 55%, rgba(17, 12, 9, .15)); }
  .local__content { left: 16px; right: 16px; bottom: 40px; }
  .local__title { font-size: 12.4vw; }
  .local__text { font-size: 15.5px; }
  .local__chips li { font-size: 10.5px; }

  .stats { grid-template-columns: 1fr 1fr; gap: 34px 16px; }
  .stats__n { font-size: 17vw; }
  .stats__l { font-size: 13.5px; }
  .review blockquote { font-size: 17px; }

  .cta__title { font-size: 19vw; }
  .cta__row { flex-direction: column; align-items: flex-start; gap: 44px; }
  .cta__buttons { gap: 20px; }
  .magnet { width: 150px; font-size: 22px; }
  .cta__addr { min-width: 0; }

  .footer { padding-top: 48px; }
  .footer__cols { grid-template-columns: 1fr; gap: 24px; margin-top: 36px; }
  .footer__legal { flex-direction: column; margin-top: 36px; }
}

/* ==========================================================================
   Reduced motion / no-JS fallbacks: complete static version
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .loader { display: none; }
  .world { height: calc(100svh + 120svh); }
  .anat-intro, .anat-hint { opacity: 1; }
  .smash { height: auto; }
  .smash__pin { position: relative; height: auto; padding: 110px var(--pad) 90px; }
  .smash__head { position: relative; left: auto; top: auto; }
  .smash__slides { position: relative; display: grid; gap: 64px; margin-top: 56px; }
  .step { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
  .step__media, .step[data-step] .step__media { position: relative; left: auto; right: auto; top: auto; bottom: auto; transform: none; height: auto; width: 100%; aspect-ratio: 4 / 5; clip-path: none; order: 2; }
  .step__text, .step[data-step] .step__text { position: relative; left: auto; right: auto; bottom: auto; width: auto; opacity: 1; }
  .heat { display: none; }
  .menu { height: auto; padding: 120px 0 90px; }
  .menu__pin { position: relative; height: auto; overflow: visible; }
  .menu__head { position: relative; left: auto; top: auto; transform: none; width: auto; padding: 0 var(--pad); }
  .menu__track { position: relative; margin-top: 40px; overflow-x: auto; padding: 0 var(--pad) 12px; transform: none !important; }
  .menu__spacer, .menu__progress { display: none; }
  .local { height: auto; }
  .local__pin { position: relative; height: 100svh; }
  .local__media { clip-path: none; }
  .local__media img { transform: none; }
  .local__shade, .local__content > * { opacity: 1; }
  .reviews__row { animation: none; flex-wrap: wrap; width: auto; padding: 16px var(--pad); }
  .review[aria-hidden="true"] { display: none; }
  .hero__badge > svg:first-child { animation: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 860px) {
  .step { grid-template-columns: 1fr; gap: 20px; }
  .step__media, .step[data-step] .step__media { order: 0; }
  .smash__pin { padding: 90px 16px 70px; }
}

/* Ajustes finales: índice decorativo sin uso y sin desbordamiento lateral en móvil. */
.smash__steps { display: none; }
html { overflow-x: clip; }
.band { max-width: none; }
section:has(> .band), .bands, .hero { overflow-x: clip; }

/* ==========================================================================
   HIPERREALISMO · vídeo etalonado + secuencias controladas por scroll
   ========================================================================== */
.world { height: calc(100svh + 400svh); }
.hero--back { z-index: 3; overflow: visible; }
.hero__title { top: 27%; }
.hero__word { font-size: min(19.5vw, 34svh); text-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.hero__eyebrow { top: 11%; }
.stage { background: var(--char); }
.stage__media { position: absolute; inset: 0; }
.stage__video { position: absolute; left: 0; top: 0; display: block; object-fit: fill; transform-origin: 0 0; background: var(--char); }
.stage__seq, .stage__steam { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage__seq { opacity: 0; }
.stage__steam { mix-blend-mode: screen; }
.stage__shade { position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(to bottom, rgba(17, 12, 9, .55), rgba(17, 12, 9, 0) 22%), linear-gradient(to top, rgba(17, 12, 9, .9), rgba(17, 12, 9, 0) 30%); }
.leaders { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; overflow: visible; }
.leaders path { fill: none; stroke: rgba(246, 234, 212, .55); stroke-width: 1; }
.leaders .hs { fill: var(--ember); }
.leaders .hs-ring { fill: none; stroke: var(--ember); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: hsPulse 1.8s var(--ease) infinite; }
.leaders .hs-on { fill: var(--mustard); }
@keyframes hsPulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.labels { z-index: 3; }
.label { width: var(--lw, 330px); }
.label__body { transform: translateY(-50%); }
.label__num { display: inline-block; margin-right: 10px; font-size: .55em; vertical-align: .55em; }
.label__name { font-size: clamp(19px, 1.6vw, 25px); }
.label__desc { margin-top: 4px; font-size: 13px; line-height: 1.35; }
.label.is-on .label__name { color: var(--mustard); }
.anat-intro { top: 15svh; transform: none; width: min(34vw, 470px); }
.anat-intro__title { font-size: clamp(36px, 3.6vw, 58px); }
.anat-intro__text { font-size: 15px; }
.anat-cap { display: none; }
.hero__badge { top: 62%; }
.hero__note { top: 52%; left: calc(50% - min(36vw, 520px)); }

/* interludio patatas */
.fries { position: relative; height: 240svh; background: var(--char); }
.fries__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.fries__seq, .fries__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.fries__still { display: none; }
.fries__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(17, 12, 9, .92), rgba(17, 12, 9, 0) 46%), linear-gradient(to bottom, rgba(17, 12, 9, .7), rgba(17, 12, 9, 0) 18%); }
.fries__line { position: absolute; left: var(--pad); bottom: clamp(40px, 9svh, 96px); z-index: 2; }
.fries__eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--mustard); margin-bottom: 14px; }
.fries__big { display: block; font-family: var(--f-display); font-size: clamp(54px, 8vw, 132px); line-height: .9; text-transform: uppercase; }
.fries__big em { font-style: normal; color: var(--ember); }

@media (max-width: 860px) {
  .world { height: calc(100svh + 340svh); }
  .hero__title { top: 21%; }
  .hero__word { font-size: 23.2vw; }
  .hero__eyebrow { top: 12.5%; }
  .anat-intro { top: 72px; width: auto; }
  .anat-intro__title { font-size: 30px; }
  .labels { display: none; }
  .anat-cap { display: grid; position: absolute; left: 16px; right: 16px; bottom: 58px; z-index: 3; opacity: 0; gap: 4px;
    padding: 16px 18px; border-radius: 18px; background: rgba(26, 18, 13, .78); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .anat-cap__num { font-family: var(--f-display); font-size: 13px; color: var(--mustard); letter-spacing: .08em; }
  .anat-cap__name { font-family: var(--f-display); font-weight: 400; font-size: 30px; line-height: 1; text-transform: uppercase; }
  .anat-cap__desc { font-size: 14px; color: var(--muted); }
  .fries { height: 200svh; }
  .fries__big { font-size: 15vw; }
  .fries__line { left: 16px; bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .world { height: calc(100svh + 120svh); }
  .stage__seq { opacity: 1; }
  .fries { height: auto; }
  .fries__pin { position: relative; height: 100svh; }
  .fries__seq { display: none; }
  .fries__still { display: block; }
  .anat-cap { opacity: 1; }
}
