/* HAMBUNGESITAS — estructura Stride, producto hamburguesa
   Paleta: ink #1c1a1f · cream #f0e8e0 · dark #191a1e · --flav viva */

:root {
  --ink: #1c1a1f;
  --cream: #f0e8e0;
  --dark: #191a1e;
  --flav: #ab9ac4;
  --ease: cubic-bezier(.22,.8,.24,1);
  --u: min(100vw / 1440, 100vh / 900);
  --n: min(100vw / 1440, 1px);
  --pad: clamp(20px, 3vw, 42px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.locked { overflow: hidden; }

img { max-width: 100%; display: block; }
h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; color: inherit; }
a { color: inherit; }

::selection { background: var(--ink); color: var(--cream); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.disp {
  font-family: "Archivo Black", "Arial Black", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.92;
}

#gl {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
}

/* ---------- Intro ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #ab9ac4;
  color: var(--cream);
  display: grid;
  place-items: center;
  text-align: center;
  transition: opacity 600ms var(--ease), visibility 600ms;
}
.intro.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
.intro__inner { display: grid; justify-items: center; gap: 22px; padding: 24px; }
.intro__mark {
  display: grid;
  gap: 6px;
  width: 126px;
  padding: 10px 0;
  animation: stamp 700ms var(--ease) both;
}
.intro__mark span { display: block; height: 12px; border-radius: 99px; background: var(--cream); }
.intro__mark span:nth-child(1) { height: 26px; border-radius: 99px 99px 8px 8px; }
.intro__mark span:nth-child(2) { opacity: .72; }
.intro__mark span:nth-child(3) { width: 78%; justify-self: center; }
@keyframes stamp {
  from { transform: scale(.72); opacity: 0; }
  70% { transform: scale(1.04); opacity: 1; }
  to { transform: scale(1); opacity: 1; }
}
.intro__brand {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(34px, 6.4vw, 96px);
  letter-spacing: -0.02em;
  line-height: .9;
}
.intro__tag { font-family: "DM Mono", monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.skip {
  position: absolute;
  top: 28px;
  right: 36px;
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 99px;
  background: rgba(255,255,255,.85);
  color: var(--ink);
  font-family: "DM Mono", monospace;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 var(--pad);
  color: var(--ink);
  transition: color 300ms linear, background-color 300ms linear;
}
.nav--dark { color: var(--cream); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--cream); transition: background-color 300ms, color 300ms; }
.nav--dark .brand__mark { background: var(--cream); color: var(--dark); }
.brand__mark svg { width: 22px; height: 22px; }
.brand__word { font-weight: 800; font-size: 15px; letter-spacing: .06em; }
.nav__pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1.5px solid rgba(255,255,255,.55);
  border-radius: 99px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.nav__pill.light { border-color: rgba(28,26,31,.14); background: rgba(255,255,255,.35); }
.nav__pill.light .nav__hi { background: rgba(28,26,31,.1); }
.nav--dark .nav__pill a.is-active { color: var(--ink); }
.nav__pill a {
  position: relative;
  z-index: 2;
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.nav__pill a.is-active { font-weight: 600; }
.nav__hi {
  position: absolute;
  z-index: 1;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: 0;
  border-radius: 99px;
  background: #fff;
  transition: left .5s var(--ease), width .5s var(--ease);
}
.nav__right { display: flex; align-items: center; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  height: 37px;
  padding: 0 14px;
  border-radius: 99px;
  border: 1.5px solid currentColor;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
}
.chip--cta { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.nav--dark .chip--cta { background: #8fa8a3; color: var(--dark); border-color: #8fa8a3; }
.cart {
  position: relative;
  width: 44px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1.5px solid currentColor;
  border-radius: 99px;
  background: transparent;
  cursor: pointer;
}
.cart svg { width: 19px; height: 19px; }
.cart__badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 99px;
  background: var(--ink);
  color: var(--cream);
  font-family: "DM Mono", monospace;
  font-size: 10.5px;
  line-height: 1;
  transform: scale(0);
}
.nav--dark .cart__badge { background: var(--cream); color: var(--dark); }
.cart__badge.is-on { animation: badgePop 350ms var(--ease); transform: scale(1); }
@keyframes badgePop {
  0% { transform: scale(0); }
  55% { transform: scale(1.5); }
  100% { transform: scale(1); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 300px;
  overflow: hidden;
  background: var(--flav);
  transition: background-color 0ms;
}
.reveal {
  position: absolute;
  inset: 0;
  background: var(--rv, transparent);
  clip-path: circle(var(--r, 0px) at var(--cx, 50%) var(--cy, 50%));
  pointer-events: none;
}
.rings {
  position: absolute;
  left: 50%;
  top: 41%;
  width: 154vw;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: repeating-radial-gradient(circle, rgba(255,255,255,.13) 0, rgba(255,255,255,.02) 40px, rgba(255,255,255,.13) 80px);
  -webkit-mask-image: radial-gradient(circle, #000 0 22%, rgba(0,0,0,.55) 34%, transparent 52%);
  mask-image: radial-gradient(circle, #000 0 22%, rgba(0,0,0,.55) 34%, transparent 52%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
}
body.entered .rings { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.bits { position: absolute; inset: 0; pointer-events: none; }
.bit {
  position: absolute;
  display: block;
  opacity: 0;
  filter: blur(1.5px);
  will-change: transform;
}
body.entered .bit { animation: bitIn 900ms var(--ease) forwards, drift 8s ease-in-out infinite; }
.bit--0 { left: 12%; top: 20%; width: 120px; height: 120px; background: #c94a3a; border-radius: 50%; animation-delay: 300ms, 0ms; }
.bit--1 { left: 86%; top: 18%; width: 96px; height: 96px; background: #f5b21e; border-radius: 22%; transform: rotate(18deg); animation-delay: 390ms, 0ms; }
.bit--2 { left: 7%; top: 74%; width: 84px; height: 84px; background: #6f9a3f; border-radius: 60% 20% 60% 20%; animation-delay: 480ms, 0ms; }
.bit--3 { left: 65.5%; top: 15%; width: 78px; height: 78px; background: #7a4a34; border-radius: 50%; animation-delay: 570ms, 0ms; }
.bit--4 { left: 20.5%; top: 88.5%; width: 70px; height: 70px; background: #d9a35c; border-radius: 50%; animation-delay: 660ms, 0ms; }
@keyframes bitIn { to { opacity: .6; } }
@keyframes drift {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 12px -26px; rotate: 10deg; }
}
.arc {
  position: absolute;
  inset: 0;
  z-index: 4;
  touch-action: pan-y;
  cursor: grab;
}
body.dragging .arc { cursor: grabbing; }
body.dragging { user-select: none; }
.hero__title {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% + 26.5vh);
  z-index: 60;
  margin: 0;
  text-align: center;
  color: var(--ink);
  font-size: clamp(44px, 6.6vw, 96px);
  white-space: nowrap;
  pointer-events: none;
}
.hero__title .word { display: inline-block; white-space: nowrap; }
.hero__title .ltr { display: inline-block; will-change: transform, opacity; }
.hero__title .ltr.out-up { animation: ltrOutUp 300ms cubic-bezier(.45,0,.75,.3) forwards; animation-delay: calc(var(--i) * 11ms); }
.hero__title .ltr.in-up { animation: ltrInUp 620ms cubic-bezier(.22,1,.36,1) forwards; animation-delay: calc(120ms + var(--i) * 22ms); }
@keyframes ltrOutUp { to { transform: translateY(-110%); opacity: 0; } }
@keyframes ltrInUp { from { transform: translateY(110%); opacity: 0; } to { transform: none; opacity: 1; } }
.hero__count {
  position: absolute;
  top: calc(50% + 21.5vh);
  right: 28px;
  z-index: 1;
  font-size: clamp(64px, 13.9vw, 200px);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.9);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.hero__next {
  position: absolute;
  left: 50%;
  top: calc(50% + 20vh);
  transform: translateX(-50%);
  z-index: 60;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(40,28,60,.12);
  transition: transform .2s var(--ease);
}
.hero__next:hover { transform: translateX(-50%) scale(1.08); }
.hero__next:hover svg { translate: 2px 0; }
.hero__next:active { transform: translateX(-50%) scale(.94); }
.hero__next svg { width: 18px; height: 18px; transition: translate .2s var(--ease); }
.hero__auto {
  position: absolute;
  right: 40px;
  top: calc(50% + 17vh);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.auto__ring {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1.3px solid #fff;
  border-radius: 50%;
}
.auto__ring svg { width: 11px; height: 11px; }
.auto__play { display: none; }
.hero__auto[aria-pressed="false"] .auto__pause { display: none; }
.hero__auto[aria-pressed="false"] .auto__play { display: block; }
.auto__label {
  font-family: "DM Mono", monospace;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .14em;
}
.hero__hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 60;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(28,26,31,.62);
  white-space: nowrap;
  pointer-events: none;
}

/* ---------- Inside ---------- */
.inside {
  position: relative;
  height: 500vh;
  background: var(--flav);
}
.pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}
.in-dark {
  position: absolute;
  inset: 0;
  background: #120d16;
  opacity: 0;
  pointer-events: none;
}
.in-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1440px;
  height: 900px;
  transform: translate(-50%, -50%) scale(var(--k, 1));
  transform-origin: center;
}
.in-num {
  position: absolute;
  left: 510px;
  top: 240px;
  width: 640px;
  text-align: center;
  font-size: 428px;
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1.6px rgba(255,255,255,.9);
  pointer-events: none;
}
.in-bar {
  position: absolute;
  left: 600px;
  top: 220px;
  width: 520px;
  height: 320px;
  pointer-events: none;
}
.in-front {
  position: fixed;
  inset: 0;
  z-index: 3;
  width: 100vw;
  height: 100svh;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(0);
}
.in-front.is-on { visibility: visible; }
.in-frame--front { pointer-events: none; }
.in-icons {
  position: absolute;
  left: 1292px;
  top: 310px;
  display: grid;
  grid-template-columns: repeat(2, 66px);
  gap: 4px;
  pointer-events: auto;
}
.in-ico {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color .25s, color .25s, transform .2s;
}
.in-ico:hover { transform: scale(1.06); }
.in-ico.is-active { background: var(--cream); color: var(--ink); }
.in-ico svg { width: 26px; height: 26px; }
.in-head.swap-out, .in-cap.swap-out { opacity: 0 !important; transform: translateY(-10px); transition: opacity .24s ease, transform .24s ease; }
.in-head.swap-in, .in-cap.swap-in { animation: inRise .46s cubic-bezier(.22,1,.36,1); }
@keyframes inRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.in-head {
  position: absolute;
  left: 40px;
  top: 300px;
  max-width: 9ch;
  font-size: 84px;
  line-height: .93;
  color: var(--cream);
}
.in-cap {
  position: absolute;
  right: 42px;
  top: 596px;
  text-align: right;
  font-family: "DM Mono", monospace;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.5;
  color: rgba(255,255,255,.92);
}
.in-nutri {
  position: absolute;
  left: 40px;
  right: auto;
  top: 470px;
  width: 300px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(240,232,224,.96);
  color: var(--ink);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  pointer-events: none;
}
.in-nutri.is-on { opacity: 1; transform: none; }
.in-nutri__title { font-size: 22px; margin-bottom: 10px; }
.in-nutri__rows { display: grid; gap: 2px; }
.in-nutri__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(28,26,31,.12);
  font-family: "DM Mono", monospace;
  font-size: 11px;
}
.in-nutri__row:last-child { border-bottom: 0; }
.in-nutri__row b { font-weight: 500; }
.storm { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.piece {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70px;
  height: 70px;
  opacity: 0;
  will-change: transform, opacity;
}
.piece--tomato { background: #d25443; border-radius: 50%; }
.piece--cheese { background: #f5b21e; border-radius: 8px; }
.piece--lettuce { background: #6f9a3f; border-radius: 60% 20% 60% 20%; }
.piece--patty { background: #5a3726; border-radius: 50%; }
.piece--bun { background: #c98a4b; border-radius: 50% 50% 12% 12%; }

/* ---------- Shop ---------- */
.shop {
  position: relative;
  background: var(--cream);
  padding: 96px var(--pad) 90px;
}
.shop__head { position: relative; min-height: 220px; }
.shop__title { font-size: clamp(58px, 6.5vw, 94px); line-height: .86; }
.shop__title .line { display: block; overflow: hidden; }
.shop__title .line > span { display: block; transform: translateY(105%); transition: transform 1s var(--ease); }
.shop__title .line:nth-child(2) > span { transition-delay: 80ms; }
.shop__title.is-in .line > span { transform: none; }
.shop__cap {
  position: absolute;
  left: 78.3%;
  top: 36px;
  width: 280px;
  font-family: "DM Mono", monospace;
  font-size: 15.5px;
  line-height: 1.42;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.shop__cap.is-in { opacity: 1; transform: none; }
.shop__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 40px;
  perspective: 1200px;
}
.card {
  position: relative;
  height: 390px;
  border-radius: 22px;
  background: var(--c);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), opacity .7s var(--ease);
  opacity: 0;
  translate: 0 24px;
  will-change: transform;
}
.card.is-in { opacity: 1; translate: 0 0; }
.card.live .pk img { visibility: hidden; }
.card__name {
  position: absolute;
  left: 0;
  right: 0;
  top: 26px;
  z-index: 3;
  text-align: center;
  font-size: clamp(22px, 2.1vw, 30.5px);
  line-height: .95;
  color: #fbf7f2;
}
.pk {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.pk img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; filter: none; }
.card__desc { display: none; }
.card__price {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 3;
  font-family: "Archivo Black", sans-serif;
  font-size: 17px;
  color: #fbf7f2;
}
.card__add {
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--ink);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transform: translateZ(40px);
  z-index: 4;
  transition: transform .18s var(--ease), background-color .2s;
}
.card__add:hover { transform: translateZ(40px) scale(1.1); background: #000; }
.card.poke .pk { animation: poke 500ms var(--ease); }
@keyframes poke {
  0%, 100% { transform: translateX(-50%) translateZ(30px) scale(1,1); }
  30% { transform: translateX(-50%) translateZ(30px) scale(1.06,.93); }
  60% { transform: translateX(-50%) translateZ(30px) scale(.97,1.04); }
}

/* ---------- Builder ---------- */
.range {
  position: relative;
  min-height: 100svh;
  padding: 92px var(--pad) 100px;
  background: var(--dark);
  color: var(--cream);
  overflow: hidden;
}
.range__title {
  position: relative;
  z-index: 2;
  font-size: clamp(40px, 5vw, 72.5px);
  line-height: .93;
}
.range__title .line { display: block; overflow: hidden; }
.range__title .line > span { display: block; transform: translateY(105%); transition: transform 1s var(--ease); }
.range__title.is-in .line > span { transform: none; }
.range__three {
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 72px;
  margin-right: 6px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--dark);
  font-size: .86em;
  vertical-align: baseline;
}
.range__glow {
  position: absolute;
  left: 50%;
  top: 150px;
  width: 600px;
  height: 600px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--g) 0, color-mix(in srgb, var(--g) 50%, transparent) 32%, transparent 68%);
  --g: rgba(148,189,180,.72);
  opacity: .55;
  pointer-events: none;
  transition: opacity .6s var(--ease);
}
.range__glow.pulse { animation: glowPulse 600ms var(--ease); }
@keyframes glowPulse {
  0% { opacity: .55; }
  50% { opacity: 1; }
  100% { opacity: .7; }
}
.slots {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 26px;
}
.slot {
  position: relative;
  width: 170px;
  height: 240px;
  display: grid;
  place-items: center;
  border: 1.5px dashed rgba(240,232,224,.3);
  border-radius: 18px;
}
.slot.is-filled { border-style: solid; border-color: transparent; background: var(--c); }
.slot__img { width: 100%; height: 100%; display: grid; place-items: center; }
.slot__img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0,0,0,.28)); animation: slotIn 550ms var(--ease); }
@keyframes slotIn { from { transform: translateY(40px) scale(.8); opacity: 0; } to { transform: none; opacity: 1; } }
.slot__empty { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 2px solid rgba(240,232,224,.5); font-size: 26px; color: var(--cream); }
.slot__x {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  display: none;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--cream);
  background: var(--dark);
  color: var(--cream);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.slot.is-filled .slot__x { display: grid; }
.thumbs {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.thumb {
  width: 112px;
  border: 0;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  display: grid;
  gap: 7px;
  justify-items: center;
  padding: 0;
}
.thumb__tile {
  position: relative;
  width: 107px;
  height: 107px;
  border-radius: 14px;
  background: var(--c);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: transform .2s var(--ease);
}
.thumb:hover .thumb__tile { transform: translateY(-4px); }
.thumb__tile img { width: 100%; height: 100%; object-fit: cover; }
.thumb__count {
  position: absolute;
  right: 6px;
  bottom: 6px;
  min-width: 24px;
  height: 24px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 99px;
  background: var(--dark);
  color: var(--cream);
  border: 1.5px solid var(--cream);
  font-family: "DM Mono", monospace;
  font-size: 10px;
}
.thumb:not(.is-in-pack) .thumb__count { opacity: .45; }
.thumb__name { font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: .03em; }
.thumb.is-in-pack .thumb__count { background: var(--cream); color: var(--dark); }
.buy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 260px;
  height: 54px;
  margin: 30px auto 0;
  padding: 0 28px;
  border: 0;
  border-radius: 99px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background-color .25s, opacity .25s, transform .2s;
}
.buy:hover:not(:disabled) { transform: translateY(-2px); }
.buy:disabled { opacity: .38; cursor: not-allowed; }
.buy.is-done { background: #8fa8a3; color: var(--dark); opacity: 1; }
.buy__price { font-family: "DM Mono", monospace; font-weight: 500; opacity: .7; }

/* ---------- Footer ---------- */
.foot {
  background: var(--cream);
  color: var(--ink);
  padding: 80px var(--pad) 36px;
}
.foot__top { display: block; }
.foot__brand { font-family: "Archivo Black", sans-serif; font-size: clamp(40px, 8.4vw, 128px); line-height: .8; letter-spacing: -.04em; margin-bottom: 44px; }
.foot__data { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 980px; font-family: "DM Mono", monospace; font-size: 12px; line-height: 1.6; }
.foot__data a { text-decoration: none; border-bottom: 1px solid rgba(28,26,31,.3); }
.foot__map { margin-top: 44px; position: relative; }
.foot__map iframe { width: 100%; height: 320px; border: 0; background: #e2d6cc; filter: saturate(.85); }
.foot__maplink { display: inline-block; margin-top: 12px; font-family: "DM Mono", monospace; font-size: 12px; text-decoration: none; border-bottom: 1px solid currentColor; }
.foot__legal { margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-family: "DM Mono", monospace; font-size: 11px; opacity: .62; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  z-index: 80;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: 99px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Fly to cart ---------- */
.fly {
  position: fixed;
  z-index: 70;
  pointer-events: none;
  object-fit: cover;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.25));
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .shop__cap { position: static; width: auto; max-width: 34ch; margin-top: 22px; }
  .shop__head { min-height: 0; }
  .shop__grid { grid-template-columns: repeat(3, 1fr); }
  .range__glow { left: 50%; transform: translateX(-50%); top: 20px; width: 520px; height: 520px; }
}

@media (max-width: 820px) {
  .nav { height: 64px; padding: 0 16px; }
  .nav__pill {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 55;
    justify-content: space-around;
    border-color: rgba(28,26,31,.14);
    background: rgba(255,255,255,.55);
    color: var(--ink);
  }
  .nav--dark .nav__pill { color: var(--ink); }
  .nav__pill a { flex: 1; text-align: center; padding: 9px 6px; font-size: 13px; }
  .nav__hi { background: rgba(28,26,31,.1); }
  .nav__right .chip--off { display: none; }
  .brand__word { font-size: 13px; }
  .chip--cta { display: none; }

  .hero__title { top: auto; bottom: calc(120px + env(safe-area-inset-bottom)); font-size: min(clamp(40px, 12.5vw, 64px), 12.5vw); }
  .hero__count { top: 76px; right: 14px; font-size: 56px; }
  .hero__auto { top: 142px; right: 16px; }
  .hero__next { top: auto; bottom: calc(196px + env(safe-area-inset-bottom)); width: 48px; height: 48px; }
  .hero__hint { bottom: calc(84px + env(safe-area-inset-bottom)); font-size: 10px; }
  .bit--2, .bit--3, .bit--4 { display: none; }
  .bit--0, .bit--1 { width: 90px; height: 90px; }

  .in-frame { width: 390px; height: 780px; }
  .in-num { left: 0; top: 250px; width: 390px; font-size: 210px; }
  .in-bar { left: 45px; top: 280px; width: 300px; height: 180px; }
  .in-head { left: 16px; top: 84px; font-size: 40px; }
  .in-cap { left: 16px; right: 16px; top: auto; bottom: 80px; text-align: center; font-size: 11.5px; }
  .in-icons { left: 50%; top: auto; bottom: 118px; transform: translateX(-50%); grid-template-columns: repeat(4, 52px); }
  .in-ico { width: 52px; height: 52px; }
  .in-ico svg { width: 22px; height: 22px; }
  .in-nutri { display: none; }

  .shop { padding: 70px 16px 80px; }
  .shop__title { font-size: 62px; }
  .shop__cap { font-size: 13.5px; }
  .shop__grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 26px -16px 0;
    padding: 0 16px 12px;
  }
  .shop__grid .card { flex: 0 0 68vw; max-width: 300px; height: 420px; scroll-snap-align: center; }
  .pk { inset: 0; width: auto; height: auto; }
  .card__desc { display: none; }

  .range { padding: 80px 16px 90px; }
  .range__title { font-size: 44px; }
  .range__three { width: 52px; height: 50px; border-radius: 10px; }
  .range__glow { width: 360px; height: 360px; top: 90px; }
  .slots { gap: 10px; margin-top: 18px; }
  .slot { width: 90px; height: 130px; }
  .slot__img img { width: 100%; height: 100%; }
  .thumbs { gap: 8px; margin-top: 24px; flex-wrap: nowrap; }
  .thumb { width: 18.4%; }
  .thumb__tile { width: 100%; height: auto; aspect-ratio: 1; }
  .thumb__name { font-size: 8px; }
  .buy { width: 100%; }

  .foot { padding: 60px 16px 90px; }
  .foot__top { grid-template-columns: 1fr; gap: 24px; }
  .foot__brand { font-size: 48px; }
  .foot__data { grid-template-columns: 1fr 1fr; font-size: 11px; }
  .foot__map iframe { height: 240px; }
}

@media (max-width: 359px) {
  .brand__word { display: none; }
  .nav__pill a { font-size: 12px; padding: 9px 4px; }
  .thumb__name { font-size: 7.5px; }
  .range__title { font-size: 40px; }
  .range__glow { width: 88%; }
}

@media (max-height: 560px) and (min-width: 820px) {
  .hero__count { top: 72px; right: 24px; font-size: 52px; }
  .hero__auto { top: 136px; right: 26px; }
  .hero__title { top: auto; bottom: 12px; font-size: 36px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .bits .bit { opacity: .55 !important; translate: none !important; rotate: none !important; }
  .piece { display: none !important; }
  .rings { opacity: 1; transform: translate(-50%, -50%); }
}
