/* Roll Rumble — public site. Layout units follow the 1440×900 reference frame:
   --u hero unit, --w scrolling-section unit, --n nav unit.
   On computers the units stop growing at 0.92 px (a touch smaller than the reference), so big screens
   don't get a zoomed-in page; the scrolling sections sit in a centred frame up to 1560 px wide, with
   --side of space on each side (right-hand pieces are anchored to the frame's right edge). site.js
   sets --u / --w / --side from the window size (these are the no-script fallbacks). */
:root {
  /* brand: logo yellow + black (same as the admin) */
  --ink: #121212;
  --yellow: #ffd80f;
  --yellow-soft: #fff5c4;
  --cream: #f5f3ec;
  --paper: #fcfbf7;
  --dark: #121212;
  --flav: #ffd80f;
  --rv: transparent;
  --g: rgba(255, 216, 15, .9);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --u: min(calc(100vw / 1440), calc(100vh / 900));
  --w: min(calc(100vw / 1440), .92px);
  --side: max(0px, calc((100vw - 1560px) / 2));
  --n: min(calc(100vw / 1440), .92px);
  --k: 1;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --disp: 'Archivo Black', 'Arial Black', Impact, sans-serif;
  --mono: 'DM Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.locked { overflow: hidden; }
body.dragging, body.dragging * { cursor: grabbing !important; user-select: none; -webkit-user-select: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
.disp {
  font-family: var(--disp);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: .92;
}
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--yellow); color: var(--ink); }

/* ------------------------------------------------------------------ canvas */
#gl {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
  display: block;
}
#fx2d { position: fixed; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
#fx2d img { position: absolute; left: 0; top: 0; transform-origin: 50% 50%; will-change: transform, opacity; }

/* ------------------------------------------------------------------- intro */
#intro { display: none; }
.js #intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--yellow);
  display: grid;
  place-items: center;
  transition: opacity .45s ease, visibility 0s linear .45s;
}
#intro.gone { opacity: 0; visibility: hidden; }
/* Preloader: the logo, big and centred, inside a ring that fills while the site gets ready */
.stamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: max(18px, calc(26 * var(--u)));
  opacity: 0;
  transform: scale(.72);
}
.stamp.pop { animation: stampPop .38s ease-out forwards; }
@keyframes stampPop {
  0% { opacity: 0; transform: scale(.72); }
  70% { opacity: 1; transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}
.stamp .ring { position: relative; display: grid; place-items: center; width: clamp(156px, 23vmin, 206px); aspect-ratio: 1; }
.stamp .ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.stamp .ring circle { fill: none; stroke-width: 2.6; }
.stamp .ring .track { stroke: rgba(18, 18, 18, .14); }
.stamp .ring .fill {
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 2.2s cubic-bezier(.3, 0, .2, 1) .15s;
}
.stamp.pop .ring .fill { stroke-dashoffset: 14; }   /* fills most of the way while loading… */
.stamp.done .ring .fill { stroke-dashoffset: 0; transition: stroke-dashoffset .25s ease-out; } /* …and closes when ready */
.stamp .logo { width: 84%; height: 84%; border-radius: 50%; box-shadow: 0 18px 40px rgba(90, 60, 0, .28); }
.stamp .cap {
  font: 500 12px / 1 var(--mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(18, 18, 18, .72);
  white-space: nowrap;
}
.skip {
  position: absolute;
  top: calc(28 * var(--u) + env(safe-area-inset-top, 0px));
  right: calc(36 * var(--u));
  height: 38px;
  padding: 0 18px;
  border-radius: 99px;
  border: 0;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font: 500 12px var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.skip:hover { background: #fff; }

/* --------------------------------------------------------------------- nav */
.nav {
  position: fixed;
  z-index: 50;
  left: 0;
  right: 0;
  top: 0;
  height: calc(94 * var(--n));
  padding: 0 calc(var(--side) + 37 * var(--n)) 0 calc(var(--side) + 42 * var(--n));
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  transition: color .4s ease;
  pointer-events: none;
}
.js .nav { transform: translateY(-110%); }
.js .nav.in { transform: none; transition: transform .9s cubic-bezier(.22, .9, .24, 1), color .4s ease; }
.nav > * { pointer-events: auto; }
.nav::before {
  content: '';
  position: absolute;
  inset: 0 0 -26px 0;
  z-index: -1;
  background: linear-gradient(var(--nbg, transparent) 40%, transparent);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.nav.light::before { --nbg: rgba(245, 243, 236, .94); opacity: 1; }
.nav.dark::before { --nbg: rgba(18, 18, 18, .94); opacity: 1; }
.nav.yellow::before { --nbg: rgba(255, 216, 15, .96); opacity: 1; }
.brand {
  display: flex;
  align-items: center;
  gap: calc(12 * var(--n));
  text-decoration: none;
  font: 800 calc(15.5 * var(--n)) / 1 var(--sans);
  letter-spacing: .06em;
  white-space: nowrap;
}
.brand .logo { width: calc(40 * var(--n)); height: calc(40 * var(--n)); min-width: 32px; min-height: 32px; flex: none; border-radius: 50%; }
.pill {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  padding: calc(5 * var(--n));
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .4s, border-color .4s;
}
.pill a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: calc(37 * var(--n));
  padding: 0 calc(18 * var(--n));
  border-radius: 999px;
  font: 500 calc(14.5 * var(--n)) / 1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  transition: color .3s;
}
.pill a.on { font-weight: 600; color: var(--ink); }
.pill .hl {
  position: absolute;
  z-index: 0;
  top: calc(5 * var(--n));
  height: calc(37 * var(--n));
  left: 0;
  width: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(18, 18, 18, .1);
  transition: left .5s var(--ease), width .5s var(--ease);
}
.nav.light .pill { border-color: rgba(18, 18, 18, .14); background: rgba(255, 255, 255, .35); }
.nav.dark { color: var(--cream); }
.nav.dark .pill { border-color: rgba(245, 243, 236, .22); background: rgba(255, 255, 255, .06); }
.nav-r { display: flex; align-items: center; gap: calc(10 * var(--n)); }
.visit-btn, .ig-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: calc(37 * var(--n));
  min-height: 30px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .3s, color .3s, transform .2s;
}
.visit-btn {
  padding: 0 calc(18 * var(--n));
  background: var(--ink);
  color: var(--yellow);
  font: 600 calc(14.5 * var(--n)) / 1 var(--sans);
}
.visit-btn:hover { transform: translateY(-1px); }
.nav.dark .visit-btn { background: var(--yellow); color: var(--ink); }
.ig-btn { width: calc(37 * var(--n)); min-width: 30px; border: 1.5px solid currentColor; }
.ig-btn svg { width: 46%; height: 46%; }

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 300px;
  overflow: hidden;
  overflow: clip;
  background: var(--flav);
}
/* Colour change: a 512 px soft-edged circle (solid to 65% of its radius = the 35% feather) that is
   scaled up on the GPU from behind the centre roll — no full-screen repaint per frame. */
.hero .reveal {
  position: absolute;
  left: 0;
  top: 0;
  width: 512px;
  height: 512px;
  pointer-events: none;
  background: radial-gradient(circle closest-side, var(--rv) 65%, transparent 100%);
  transform: scale(0);
  transform-origin: 50% 50%;
  will-change: transform;
}
.rings {
  position: absolute;
  left: 50%;
  top: 41%;
  width: calc(2200 * var(--u));
  height: calc(2200 * var(--u));
  transform: translate(-50%, -50%);
  background: repeating-radial-gradient(circle, rgba(255, 255, 255, .13) 0, rgba(255, 255, 255, .02) calc(40 * var(--u)), rgba(255, 255, 255, .13) calc(80 * var(--u)));
  -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;
}
.js .rings { opacity: 0; }
.js .rings.in { animation: ringsIn 1.1s ease-out forwards; }
@keyframes ringsIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(.85); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.bits { position: absolute; inset: 0; pointer-events: none; }
.bits span {
  position: absolute;
  left: calc(var(--x) * 100%);
  top: calc(var(--y) * 100%);
  width: calc(var(--s) * var(--u));
  height: calc(var(--s) * var(--u));
  transform: translate(-50%, -50%) rotate(var(--r));
  background: center / contain no-repeat;
  filter: blur(1.5px);
  opacity: 0;
  transition: opacity .9s ease;
}
.bits.in span { opacity: .6; }
.bits.drift span { animation: drift var(--d) ease-in-out infinite alternate; }
@keyframes drift {
  from { translate: 0 0; rotate: 0deg; }
  to { translate: var(--dx) var(--dy); rotate: var(--dr); }
}
.arc {
  position: absolute;
  inset: 0;
  z-index: 1;
  touch-action: pan-y;
  cursor: grab;
  -webkit-tap-highlight-color: transparent;
}
.arc.over { cursor: pointer; }
#title {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% + 265 * var(--u));
  margin: 0;
  z-index: 60;
  text-align: center;
  font-size: calc(96 * var(--u));
  color: var(--ink);
  pointer-events: none;
}
#title .line { display: block; }
#title .line.out { position: absolute; left: 0; right: 0; top: 0; }
#title .wd { display: inline-block; white-space: nowrap; }
#title .ch { display: inline-block; will-change: transform, opacity; }
#count {
  position: absolute;
  z-index: 1;
  top: calc(50% + 215 * var(--u));
  right: calc(50% - 692 * var(--u));
  font: 400 calc(200 * var(--u)) / .8 var(--disp);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(18, 18, 18, .8);
  pointer-events: none;
  letter-spacing: -.01em;
}
#play {
  position: absolute;
  z-index: 60;
  left: 50%;
  top: calc(50% + 200 * var(--u));
  width: calc(52 * var(--u));
  height: calc(52 * var(--u));
  min-width: 40px;
  min-height: 40px;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  box-shadow: 0 6px 20px rgba(40, 28, 0, .18);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .25s var(--ease);
}
#play svg { width: calc(18 * var(--u)); height: calc(18 * var(--u)); min-width: 14px; min-height: 14px; transition: transform .25s var(--ease); }
#play:hover { transform: translate(-50%, -50%) scale(1.08); }
#play:hover svg { transform: translateX(2px); }
#play:active { transform: translate(-50%, -50%) scale(.94); }
#auto {
  position: absolute;
  z-index: 60;
  top: calc(50% + 170 * var(--u));
  right: calc(50% - 680 * var(--u));
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  font: 500 11px var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
#auto .ring { width: 26px; height: 26px; border-radius: 50%; border: 1.3px solid currentColor; display: grid; place-items: center; }
#auto svg { width: 10px; height: 10px; }
#auto .ic-play { display: none; }
#auto[aria-pressed="false"] .ic-pause { display: none; }
#auto[aria-pressed="false"] .ic-play { display: block; }
.js .fadein { opacity: 0; }
.fadein.in { opacity: 1; transition: opacity .6s ease var(--dl, 0ms); }
.hero-empty #play, .hero-empty #auto, .hero-empty #count, .single #play, .single #auto { display: none; }

/* --------------------------------------------------------------- inside */
/* one 64vh scroll step per featured roll (--steps, set by index.php) + 80vh for the ingredient storm
   (+ 100vh while it is pinned); site.js uses the same numbers (STEP_F / STORM_F) */
#inside { position: relative; height: calc(180vh + var(--steps, 4) * 64vh); background: var(--flav); }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; overflow: clip; }
/* darkens the yellow to caramel during the ingredient storm (black over yellow would look olive) */
.in-dark { position: absolute; inset: 0; background: #7a3300; opacity: 0; pointer-events: none; }
.in-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1440px;
  height: 900px;
  transform: translate(-50%, -50%) scale(var(--k));
}
.in-num {
  position: absolute;
  left: 510px;
  top: 240px;
  width: 640px;
  text-align: center;
  font: 400 428px / 1 var(--disp);
  color: transparent;
  -webkit-text-stroke: 1.6px rgba(18, 18, 18, .8);
  letter-spacing: -.01em;
}
#inBar { position: absolute; left: 665px; top: 110px; width: 330px; height: 694px; }
#inFront {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  z-index: 3;
  pointer-events: none;
  /* opacity (not visibility) so the browser draws this layer while the page loads,
     instead of in the middle of the first scroll (that caused a ~120 ms freeze) */
  opacity: 0;
  will-change: transform, opacity;
}
#inFront:not(.on), #inFront:not(.on) * { pointer-events: none !important; }
#inFront.on { opacity: 1; }
/* the roll's name, what's inside and its price */
.in-copy { position: absolute; left: 40px; top: 300px; width: 600px; }
.in-head {
  margin: 0;
  font-size: 88px;
  line-height: .93;
  color: var(--ink);
}
.in-head .sm { font-size: .72em; }
.in-cap {
  margin: 26px 0 0;
  max-width: 440px;
  /* the frame is scaled by --k: keep the ingredients at least 11 px on screen on small laptops */
  font: 400 max(14px, calc(11px / var(--k))) / 1.5 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.in-cap .d { display: block; }
.in-cap .pr {
  display: inline-flex;
  align-items: center;
  height: 40px;
  margin-top: 16px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--yellow);
  font: 500 17px / 1 var(--mono);
  letter-spacing: .02em;
}
/* one numbered button per roll, centred on the frame's middle */
.in-icons {
  position: absolute;
  left: 1292px;
  top: calc(450px - (var(--steps, 4) * 72px - 6px) / 2);
  display: grid;
  gap: 6px;
  pointer-events: auto;
}
.in-icons button {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  font: 400 19px / 1 var(--disp);
  cursor: pointer;
  transition: background .35s, color .35s, transform .2s;
}
.in-icons button:hover { transform: scale(1.05); }
.in-icons button.on { background: var(--ink); border-color: var(--ink); color: var(--yellow); }
.storm { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.storm i {
  position: absolute;
  left: 0;
  top: 0;
  background: center / contain no-repeat;
  opacity: 0;
  will-change: transform, opacity;
}

/* ----------------------------------------------------------------- menu */
.shop {
  position: relative;
  background: var(--cream);
  padding: calc(84 * var(--w)) calc(var(--side) + 39 * var(--w)) calc(60 * var(--w));
}
.shop-head { margin: 0; font-size: calc(94 * var(--w)); line-height: .86; }
.ln { display: block; overflow: hidden; padding-bottom: .04em; }
.ln > span { display: block; }
.js .reveal-lines .ln > span { transform: translateY(105%); }
.js .reveal-lines.in .ln > span { transform: none; transition: transform 1s var(--ease); }
.js .reveal-lines.in .ln:nth-child(2) > span { transition-delay: 80ms; }
.js .reveal-lines.in .ln:nth-child(3) > span { transition-delay: 160ms; }
.shop-cap {
  position: absolute;
  right: calc(var(--side) + 39 * var(--w));
  top: calc(120 * var(--w));
  margin: 0;
  font: 400 clamp(12.5px, calc(15.5 * var(--w)), 17px) / 1.42 var(--mono);
}
.js .fade-up { opacity: 0; translate: 0 24px; }
.js .fade-up.in { opacity: 1; translate: 0 0; transition: opacity 1s var(--ease), translate 1s var(--ease); transition-delay: var(--dl, 0ms); }
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: calc(18 * var(--w));
  margin-top: calc(24 * var(--w));
}
.card {
  position: relative;
  flex: none;
  width: calc(258 * var(--w));
  height: calc(390 * var(--w));
  border-radius: calc(22 * var(--w));
  background: var(--c);
  transform: perspective(1200px);
  transform-style: preserve-3d;
  transition: transform .15s ease, box-shadow .15s ease, scale .15s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.card.tilt { box-shadow: 0 24px 40px -18px rgba(40, 30, 20, .35); }
.card .nm {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(26 * var(--w));
  margin: 0;
  text-align: center;
  font-size: calc(30.5 * var(--w));
  color: var(--ink);
  transform: translateZ(20px);
}
.card .nm span { display: block; }
.card .pk {
  position: absolute;
  left: 50%;
  top: calc(104 * var(--w));
  width: calc(121 * var(--w));
  height: calc(255 * var(--w));
  margin-left: calc(-60.5 * var(--w));
  background: center / contain no-repeat;
  transform: translateZ(30px);
  filter: drop-shadow(0 calc(10 * var(--w)) calc(12 * var(--w)) rgba(40, 20, 10, .22));
}
.fx .card.live .pk { visibility: hidden; }
.card.poke .pk { animation: poke .5s ease; }
@keyframes poke {
  30% { scale: 1.06 .93; }
  60% { scale: .97 1.04; }
  100% { scale: 1 1; }
}
.card .price {
  position: absolute;
  right: calc(16 * var(--w));
  bottom: calc(15 * var(--w));
  min-width: calc(44 * var(--w));
  height: calc(44 * var(--w));
  min-height: 30px;
  padding: 0 calc(14 * var(--w));
  border-radius: 999px;
  background: var(--ink);
  color: var(--yellow);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .9);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 500 max(12px, calc(15 * var(--w))) / 1 var(--mono);
  white-space: nowrap;
  transform: translateZ(40px);
}

/* ------------------------------------------------------------- full menu */
.fullmenu {
  position: relative;
  background: #faf8f2;
  padding: calc(84 * var(--w)) calc(var(--side) + 39 * var(--w)) calc(80 * var(--w));
}
.fm-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: calc(36 * var(--w)); }
.fm-head { margin: 0; font-size: calc(94 * var(--w)); line-height: .86; }
.fm-cap { margin: 0; max-width: 340px; font: 400 clamp(12.5px, calc(15.5 * var(--w)), 17px) / 1.42 var(--mono); }
.fm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: calc(28 * var(--w)); }
.fm-chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px 0 8px;
  border-radius: 999px;
  border: 1.5px solid rgba(18, 18, 18, .12);
  background: #fff;
  text-decoration: none;
  font: 600 14px var(--sans);
  transition: border-color .2s, transform .2s;
}
.fm-chips a:hover { border-color: var(--ink); transform: translateY(-1px); }
/* brand dot: logo yellow with a black ring (the item colours stay in the pictures) */
.fm-chips i { width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); box-shadow: inset 0 0 0 2px var(--ink); }
.fm-grid {
  columns: 320px 3; /* at most 3: with 4 the tall Rolls card left the last column empty */
  column-gap: clamp(12px, calc(18 * var(--w)), 22px);
}
.fm-cat {
  display: block;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: clamp(12px, calc(18 * var(--w)), 22px);
  background: #fff;
  border-radius: clamp(16px, calc(22 * var(--w)), 26px);
  padding: clamp(18px, calc(28 * var(--w)), 32px);
  box-shadow: 0 1px 0 rgba(18, 18, 18, .04);
  scroll-margin-top: 110px;
}
.fm-cat h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  font: 400 clamp(22px, calc(30 * var(--w)), 34px) / 1 var(--disp);
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.fm-cat h3 i { width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); box-shadow: inset 0 0 0 1.5px var(--ink); flex: none; }
.fm-cat h3 small { margin-left: auto; font: 500 12px var(--mono); letter-spacing: .12em; opacity: .5; }
.fm-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(18, 18, 18, .08);
}
.fm-item .th {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--yellow-soft);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.fm-item .th img { width: 100%; height: 100%; object-fit: cover; }
.fm-item .th img.art { width: 92%; height: 92%; object-fit: contain; }
.fm-item b { display: block; font: 700 16px / 1.25 var(--sans); }
.fm-item small { display: block; margin-top: 3px; font: 400 13px / 1.4 var(--sans); color: rgba(18, 18, 18, .62); }
.fm-item .pr { font: 500 15px var(--mono); white-space: nowrap; }

/* --------------------------------------------------------------- combos */
.combos {
  position: relative;
  background: var(--dark);
  color: var(--cream);
  overflow: hidden;
  overflow: clip;
  /* as tall as its content (it used to fill the whole window, leaving empty space under it) */
  padding: var(--pt) calc(var(--side) + 50 * var(--w)) calc(84 * var(--w));
  min-height: calc(var(--pt) + 610 * var(--w));
  --pt: calc(84 * var(--w));
}
.cb-head { position: relative; z-index: 1; margin: 0; font-size: calc(72.5 * var(--w)); line-height: .93; max-width: calc(700 * var(--w)); }
.cb-head .box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: calc(74 * var(--w));
  height: calc(72 * var(--w));
  padding: 0 .12em;
  border-radius: calc(14 * var(--w));
  background: var(--yellow);
  color: var(--ink);
  font-size: .86em;
  vertical-align: .04em;
}
.cb-desc { position: relative; z-index: 1; max-width: calc(560 * var(--w)); margin: calc(22 * var(--w)) 0 0; font: 400 clamp(12.5px, calc(15.5 * var(--w)), 17px) / 1.5 var(--mono); color: rgba(245, 243, 236, .72); min-height: 1.5em; }
.combos :focus-visible { outline-color: var(--yellow); }
.glow {
  position: absolute;
  right: calc(var(--side) + 100 * var(--w));
  top: calc(var(--pt) - 80 * var(--w));
  width: calc(600 * var(--w));
  height: calc(600 * var(--w));
  border-radius: 50%;
  /* the combo's yellow in the middle, fading out through warm amber (yellow fading straight to black looks olive) */
  background: radial-gradient(circle, var(--g) 0, rgba(255, 184, 28, .42) 30%, rgba(255, 150, 0, .12) 50%, transparent 68%);
}
.glow.pulse { animation: pulse .6s ease; }
@keyframes pulse { from { opacity: .55; } to { opacity: 1; } }
.slot {
  position: absolute;
  width: calc(170 * var(--w));
  height: calc(200 * var(--w));
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(8 * var(--w));
}
.slot .im {
  width: calc(132 * var(--w));
  height: calc(132 * var(--w));
  background: center / contain no-repeat;
  filter: drop-shadow(0 calc(14 * var(--w)) calc(14 * var(--w)) rgba(0, 0, 0, .35));
}
.slot .im.photo { background-size: cover; border-radius: 50%; box-shadow: 0 0 0 4px var(--cream); }
.slot .lb {
  font: 500 clamp(10px, calc(12.5 * var(--w)), 14px) / 1.2 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--cream);
  max-width: 100%;
}
.slot .qty {
  position: absolute;
  top: calc(28 * var(--w));
  right: calc(18 * var(--w));
  min-width: calc(34 * var(--w));
  height: calc(34 * var(--w));
  padding: 0 6px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  display: grid;
  place-items: center;
  font: 500 clamp(10px, calc(13 * var(--w)), 14px) var(--mono);
}
.slot.in { animation: slotIn .55s var(--ease) backwards; }
@keyframes slotIn {
  from { opacity: 0; translate: 0 calc(-40 * var(--w)); scale: .8; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}
.slot.out { animation: slotOut .28s ease forwards; }
@keyframes slotOut { to { opacity: 0; translate: 0 calc(20 * var(--w)); scale: .9; } }
.thumbs {
  position: relative;
  z-index: 1;
  display: flex;
  gap: calc(24 * var(--w));
  margin-top: calc(36 * var(--w));
  max-width: calc(660 * var(--w));
  overflow-x: auto;
  scrollbar-width: none;
  padding: 6px 2px 4px;
}
.thumbs::-webkit-scrollbar { display: none; }
.thumb {
  flex: none;
  width: calc(107 * var(--w));
  min-width: 78px;
  border: 0;
  padding: 0;
  background: none;
  color: var(--cream);
  cursor: pointer;
  text-align: center;
}
.thumb .sq {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: calc(18 * var(--w));
  background: var(--c);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.thumb:hover .sq { transform: translateY(-4px); }
.thumb .sq img { position: absolute; width: 58%; height: 58%; object-fit: contain; }
.thumb .sq img:nth-child(1) { left: 2%; top: 30%; }
.thumb .sq img:nth-child(2) { left: 40%; top: 6%; }
.thumb .sq img:nth-child(3) { left: 38%; top: 42%; }
.thumb .sq img:nth-child(4) { display: none; }
.thumb .nm { display: block; margin-top: 10px; font: 800 clamp(9px, calc(11 * var(--w)), 12px) / 1.25 var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.thumb .ok {
  position: absolute;
  right: 6px;
  top: 6px;
  width: calc(24 * var(--w));
  height: calc(24 * var(--w));
  min-width: 20px;
  min-height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  font: 500 11px var(--mono);
  color: var(--yellow);
  background: transparent;
}
.thumb.on .ok { background: var(--ink); }
.thumb.on .ok::after { content: '✓'; }
.thumb.on .sq { box-shadow: 0 0 0 2px var(--dark), 0 0 0 4px var(--yellow); }
.cb-price {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: calc(34 * var(--w));
  height: calc(54 * var(--w));
  min-height: 44px;
  padding: 0 calc(26 * var(--w));
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font: 700 clamp(14px, calc(16 * var(--w)), 18px) var(--sans);
  white-space: nowrap;
}
.cb-price .sv { font: 500 1em var(--mono); opacity: .7; }
.cb-price .sv:empty { display: none; }

/* ---------------------------------------------------------------- visit */
/* kept compact (the owner found it "very big"): the name on one line, a small badge, tight rows */
.visit {
  position: relative;
  background: var(--yellow);
  padding: calc(50 * var(--w)) calc(var(--side) + 39 * var(--w)) 22px;
  overflow: hidden;
  overflow: clip;
}
.vs-word { position: relative; margin: 0; font-size: calc(92 * var(--w)); line-height: .86; letter-spacing: -.01em; }
.vs-mark {
  position: absolute;
  right: calc(var(--side) + 60 * var(--w));
  top: calc(30 * var(--w));
  width: calc(150 * var(--w));
  height: calc(150 * var(--w));
  display: grid;
  place-items: center;
  /* the logo has writing on it, so it rocks gently instead of spinning upside down */
  animation: rock 5s ease-in-out infinite alternate;
}
/* capped at 250 px: the logo file is 150 px, so drawing it much bigger makes it blurry */
.vs-mark .logo { width: min(100%, 250px); height: auto; aspect-ratio: 1; border-radius: 50%; filter: drop-shadow(0 calc(14 * var(--w)) calc(22 * var(--w)) rgba(70, 50, 0, .28)); }
@keyframes rock { from { rotate: -7deg; } to { rotate: 7deg; } }
.vs-word span { display: inline-block; }
/* the space between the two words, on the first word's right: if the name ever wraps, the second line starts flush */
.vs-word span:first-child { margin-right: .24em; }
.vs-tag { max-width: 640px; margin: calc(14 * var(--w)) 0 0; font: 500 clamp(15px, calc(18 * var(--w)), 19px) / 1.45 var(--sans); }
.vs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px 22px;
  margin-top: calc(26 * var(--w));
  padding-top: 16px;
  border-top: 1.5px solid rgba(18, 18, 18, .22);
}
.vs-item h3 { margin: 0 0 5px; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .72; }
.vs-item p, .vs-item a { margin: 0; font: 600 16px / 1.4 var(--sans); text-decoration: none; }
.vs-item a:hover { text-decoration: underline; }
.vs-soon { font: 600 16px / 1.4 var(--sans); margin: 0; }
.vs-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  font: 400 12px var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(18, 18, 18, .72);
}
.vs-bottom a { text-decoration: none; }
.vs-bottom a:hover { color: var(--ink); }

/* ------------------------------------------------------------ phones */
@media (max-width: 819.98px) {
  .nav { height: 64px; padding: 0 14px 0 16px; }
  .brand { gap: 10px; font-size: 14px; }
  .brand .logo { width: 36px; height: 36px; }
  .visit-btn { height: 36px; padding: 0 14px; font-size: 13.5px; }
  .ig-btn { width: 36px; height: 36px; }
  .pill {
    position: fixed;
    left: 50%;
    top: auto;
    bottom: calc(14px + var(--safe-b));
    transform: translateX(-50%);
    padding: 4px;
    background: rgba(255, 255, 255, .55);
    border-color: rgba(255, 255, 255, .9);
    box-shadow: 0 8px 24px rgba(18, 18, 18, .12);
    color: var(--ink);
  }
  .nav.light .pill, .nav.dark .pill { background: rgba(255, 255, 255, .55); border-color: rgba(255, 255, 255, .9); }
  .nav.dark .pill { background: rgba(245, 243, 236, .88); }
  .pill a { height: 34px; padding: 0 13px; font-size: 13.5px; color: var(--ink); }
  .pill .hl { top: 4px; height: 34px; }

  #title {
    top: auto;
    bottom: calc(120px + var(--safe-b));
    padding: 0 18px;
    font-size: clamp(36px, 11vw, 56px);
  }
  #count { top: 76px; right: 14px; font-size: 56px; -webkit-text-stroke-width: 1.2px; }
  #auto { top: 142px; right: 16px; }
  #play {
    top: auto;
    bottom: calc(120px + var(--safe-b) + var(--th, 100px) + 18px);
    width: 48px;
    height: 48px;
    transform: translateX(-50%);
  }
  #play:hover { transform: translateX(-50%) scale(1.08); }
  #play:active { transform: translateX(-50%) scale(.94); }
  #play svg { width: 16px; height: 16px; }
  .rings {
    width: 1500px;
    height: 1500px;
    background: repeating-radial-gradient(circle, rgba(255, 255, 255, .13) 0, rgba(255, 255, 255, .02) 30px, rgba(255, 255, 255, .13) 60px);
  }
  .bits span { width: calc(var(--s) * var(--ua, 1px) * 1.3); height: calc(var(--s) * var(--ua, 1px) * 1.3); }
  .bits span:nth-child(2), .bits span:nth-child(4), .bits span:nth-child(5) { display: none; }

  .in-frame { width: 390px; height: 780px; }
  .in-copy { left: 0; top: 0; width: 100%; height: 100%; }
  .in-head { position: absolute; left: 16px; top: 84px; font-size: 40px; max-width: 360px; }
  .in-num { left: 0; width: 390px; top: 250px; font-size: 210px; -webkit-text-stroke-width: 1.2px; }
  #inBar { left: 115px; top: 200px; width: 160px; height: 336px; }
  .in-icons { left: 14px; right: 14px; top: 560px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .in-icons button { width: 46px; height: 46px; font-size: 15px; }
  .in-cap { position: absolute; left: 22px; right: 22px; top: 622px; margin: 0; max-width: none; text-align: center; font-size: 11.5px; }
  .in-cap .pr { height: 30px; margin-top: 10px; padding: 0 14px; font-size: 14px; }

  .shop { padding: 64px 0 36px; }
  .shop-head { font-size: 52px; padding: 0 18px; }
  .shop-cap { position: static; margin: 12px 18px 0; font-size: 13.5px; }
  .cards {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 14px;
    margin-top: 20px;
    padding: 6px 19vw 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .cards::-webkit-scrollbar { display: none; }
  .card {
    width: 62vw;
    max-width: 270px;
    height: min(96vw, 390px);
    border-radius: 18px;
    scroll-snap-align: center;
  }
  .card .nm { top: 18px; font-size: clamp(22px, 7.4vw, 30px); }
  .card .pk { top: 25%; width: 42%; height: auto; aspect-ratio: 121 / 255; margin-left: -21%; }
  .card .price { right: 12px; bottom: 12px; height: 40px; min-width: 40px; padding: 0 13px; font-size: 13.5px; }

  .fullmenu { padding: 56px 16px 56px; }
  .fm-top { display: block; }
  .fm-head { font-size: 52px; }
  .fm-cap { margin-top: 12px; font-size: 13.5px; }
  .fm-chips { margin-top: 20px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px; }
  .fm-chips::-webkit-scrollbar { display: none; }
  .fm-chips a { flex: none; }

  .combos { padding: 60px 18px calc(96px + var(--safe-b)); --pt: 60px; min-height: 0; }
  .cb-head { font-size: 38px; max-width: none; }
  .cb-head .box { min-width: 40px; height: 38px; border-radius: 9px; }
  .cb-desc { font-size: 13px; max-width: none; }
  .glow {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: min(100%, 320px);
    height: auto;
    aspect-ratio: 1;
    margin: 10px auto 0;
  }
  .slot { width: 90px; height: 130px; gap: 6px; }
  .slot .im { width: 78px; height: 78px; }
  .slot .lb { font-size: 9.5px; }
  .slot .qty { top: 10px; right: 0; min-width: 26px; height: 26px; font-size: 11px; }
  .thumbs { max-width: none; gap: 2%; margin-top: 18px; }
  .thumb { width: 18.4%; min-width: 64px; }
  .thumb .sq { border-radius: 14px; }
  .cb-price { display: flex; justify-content: center; width: 100%; margin-top: 22px; height: 52px; font-size: 15px; }

  .visit { padding: 26px 18px calc(72px + var(--safe-b)); }
  .vs-word { font-size: 9.4vw; padding-right: 16vw; } /* one line, clear of the badge */
  .vs-mark { width: 14vw; height: 14vw; right: 18px; top: 18px; }
  .vs-tag { margin-top: 8px; padding-right: 15vw; font-size: 15px; } /* the badge hangs down beside its first line */
  .vs-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 18px; margin-top: 14px; padding-top: 12px; }
  /* an odd number of items: the first (the address) gets the full width and the rest pair up */
  .vs-grid > .vs-item:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
  .vs-item h3 { margin-bottom: 3px; }
  .vs-item p, .vs-item a, .vs-soon { font-size: 15px; }
  .vs-bottom { margin-top: 14px; }
  .vs-bottom span + span { display: none; } /* the slogan: hidden on phones so the row fits on one line */
}
@media (max-width: 359.98px) {
  .brand .word { display: none; }
  .pill a { padding: 0 11px; font-size: 13px; }
  .thumb .nm { font-size: 8px; }
  .cb-head { font-size: 34px; }
  .glow { width: 88%; }
}
/* phone landscape */
@media (max-width: 919.98px) and (max-height: 500px) and (orientation: landscape) {
  #title { top: auto; bottom: 12px; font-size: 36px !important; padding: 0 18px; }
  #title .line { font-size: 36px !important; }
  #count { top: 64px; right: 16px; font-size: 40px; }
  #auto { top: 112px; right: 16px; }
  #play { top: auto; bottom: calc(12px + 36px + 14px); width: 44px; height: 44px; transform: translateX(-50%); }
  #play:hover { transform: translateX(-50%) scale(1.08); }
  #play:active { transform: translateX(-50%) scale(.94); }
}
@media (max-width: 819.98px) and (max-height: 500px) and (orientation: landscape) {
  .nav { height: 56px; }
  .pill { bottom: 8px; }
  .pill a { height: 30px; }
  .pill .hl { height: 30px; }
}
/* desktop-width but short */
@media (min-width: 820px) and (max-height: 560px) {
  #count { top: 72px; right: 24px; font-size: 52px; }
  #auto { top: 136px; right: 26px; }
}

/* ------------------------------------------------- button hover animation */
/* (the play button, roll numbers, menu cards, combo thumbs and menu chips already move on hover) */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .pill a { transition: color .3s, transform .2s var(--ease); }
  .pill a:not(.on):hover { transform: translateY(-1px); }
  .visit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -8px rgba(18, 18, 18, .5); }
  .visit-btn:active, .ig-btn:active, .skip:active { transform: scale(.96); }
  .ig-btn:hover { transform: translateY(-2px) rotate(-6deg); }
  #auto .ring { transition: transform .25s var(--ease), background .2s, color .2s; }
  #auto:hover .ring { transform: scale(1.12); background: var(--ink); color: var(--yellow); }
  .skip { transition: background .2s, transform .2s var(--ease); }
  .skip:hover { transform: translateY(-1px); }
  .in-icons button:active { transform: scale(.94); }
}

/* --------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .bits span { opacity: .55 !important; }
  .js .fade-up, .js .reveal-lines .ln > span { opacity: 1 !important; transform: none !important; }
  .js .fadein, .js .rings { opacity: 1 !important; }
  .js .nav { transform: none !important; }
}
