/* =========================================================
   Food Bae · Too Good To Ghost
   Palette pulled from the logo + cover shoot
   ========================================================= */
:root {
  --cream: #FFE5C0;
  --cream-2: #FFF4E4;
  --paper: #FFFAF2;
  --orange: #FF9C00;
  --orange-2: #F3A213;
  --red: #EF5323;
  --brown: #704F3E;
  --brown-2: #4A3226;
  --ink: #2B1C14;
  --sage: #DCEAD6;
  --green: #24513E;
  --yellow: #FFD15C;

  --f-display: "Anton", "Impact", sans-serif;
  --f-logo: "Titan One", "Anton", sans-serif;
  --f-script: "Yellowtail", cursive;
  --f-body: "Outfit", system-ui, sans-serif;

  --r: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: clamp(16px, 4vw, 56px);
  /* semantic theme tokens (swapped by night mode) */
  --bg: var(--paper);
  --surface: #fff;
  --chip: var(--cream-2);
  --text: var(--ink);
  --muted: #6b5548;
  --accent: var(--brown);
  --nav-bg: rgba(255, 250, 242, .82);
  --hero-bg: var(--red);
  --hero-shadow: var(--brown-2);
  --match-bg: var(--cream);
  --fit-bg: var(--sage);
  --fit-text: var(--green);
  --fit-surface: #F4FAF1;
  --visit-bg: var(--brown-2);
  --extrude: 1px 1px 0 var(--brown), 2px 2px 0 var(--brown), 3px 3px 0 var(--brown), 4px 4px 0 var(--brown), 5px 5px 0 var(--brown), 6px 6px 0 var(--brown);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  transition: background-color .5s, color .5s;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: .95; }
p { margin: 0; }
svg { width: 1em; height: 1em; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }

/* ---------- type helpers ---------- */
.wordmark {
  font-family: var(--f-logo);
  color: var(--orange);
  text-shadow: var(--extrude);
  letter-spacing: .01em;
  white-space: nowrap;
}
.wordmark--sm { font-size: 22px; text-shadow: 1px 1px 0 var(--brown), 2px 2px 0 var(--brown), 3px 3px 0 var(--brown); }
.script { font-family: var(--f-script); font-weight: 400; text-transform: none; letter-spacing: 0; }
.title {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: clamp(52px, 9vw, 132px);
  letter-spacing: -.01em;
  position: relative;
}
.title .hl { color: var(--orange); text-shadow: var(--extrude); }
.title .hl--green { color: #7DBB8A; text-shadow: 1px 1px 0 var(--green), 2px 2px 0 var(--green), 3px 3px 0 var(--green), 4px 4px 0 var(--green), 5px 5px 0 var(--green); }
.script--tag {
  display: block;
  width: max-content;
  font-size: clamp(28px, 3.6vw, 50px);
  color: var(--red);
  transform: rotate(-6deg);
  margin: -.05em 0 0 1.6em;
  line-height: 1.1;
}
.kicker {
  display: inline-block;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  transition: transform .4s var(--spring), box-shadow .3s, background .3s, color .3s;
  will-change: transform;
}
.btn svg { width: 19px; height: 19px; }
.btn--cream { background: var(--cream); color: var(--ink); box-shadow: 4px 4px 0 var(--brown); }
.btn--cream:hover { box-shadow: 6px 6px 0 var(--brown); }
.btn--orange { background: var(--orange); color: var(--ink); box-shadow: 3px 3px 0 var(--brown); }
.btn--orange:hover { box-shadow: 5px 5px 0 var(--brown); }
.btn--ghost { color: var(--cream); border: 2px solid rgba(255, 229, 192, .55); }
.btn--ghost:hover { background: rgba(255, 229, 192, .14); border-color: var(--cream); }
.btn .arr { display: inline-block; transition: transform .4s var(--spring); }
.btn:hover .arr { transform: translateX(5px); }

/* =========================================================
   LOADER
   ========================================================= */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--cream);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.loader__center { text-align: center; position: relative; z-index: 2; }
.loader__heart {
  width: 74px; height: 74px;
  color: var(--orange);
  transform: scale(0) rotate(-30deg);
  animation: heartIn .9s var(--spring) .1s forwards, beat 1.1s ease-in-out 1.1s infinite;
  filter: drop-shadow(3px 3px 0 var(--brown));
}
.loader__word { font-size: clamp(56px, 12vw, 120px); margin-top: 6px; }
.loader__word span { display: inline-block; opacity: 0; transform: translateY(-120%) rotate(-12deg); animation: drop .8s var(--spring) forwards; }
.loader__word .sp { width: .28em; }
.loader__word span:nth-child(1) { animation-delay: .35s; }
.loader__word span:nth-child(2) { animation-delay: .42s; }
.loader__word span:nth-child(3) { animation-delay: .49s; }
.loader__word span:nth-child(4) { animation-delay: .56s; }
.loader__word span:nth-child(6) { animation-delay: .66s; }
.loader__word span:nth-child(7) { animation-delay: .73s; }
.loader__word span:nth-child(8) { animation-delay: .80s; }
.loader__tag {
  font-family: var(--f-script);
  font-size: clamp(26px, 4vw, 38px);
  color: var(--brown);
  margin-top: 4px;
  opacity: 0;
  animation: fadeUp .7s var(--ease) 1.2s forwards;
}
.loader__orbit { position: absolute; inset: 0; display: grid; place-items: center; }
.loader__orbit img {
  position: absolute;
  width: clamp(64px, 9vw, 110px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--paper);
  box-shadow: 4px 4px 0 var(--brown);
  opacity: 0;
  --d: clamp(150px, 30vw, 330px);
  scale: .3;
  animation: orbitIn 1s var(--spring) forwards, bob 3s ease-in-out infinite;
}
.loader__orbit img:nth-child(1) { translate: calc(var(--d) * -1) -60%; animation-delay: .9s, 1.9s; }
.loader__orbit img:nth-child(2) { translate: var(--d) -80%; animation-delay: 1s, 2s; }
.loader__orbit img:nth-child(3) { translate: calc(var(--d) * -.75) 130%; animation-delay: 1.1s, 2.1s; }
.loader__orbit img:nth-child(4) { translate: calc(var(--d) * .8) 120%; animation-delay: 1.2s, 2.2s; }
.loader__orbit img:nth-child(5) { translate: calc(var(--d) * -.3) -210%; animation-delay: 1.3s, 2.3s; }
.loader__orbit img:nth-child(6) { translate: calc(var(--d) * .35) 220%; animation-delay: 1.4s, 2.4s; }
.loader__count {
  position: absolute;
  left: var(--gutter);
  bottom: 28px;
  font-family: var(--f-display);
  font-size: clamp(44px, 7vw, 84px);
  color: var(--brown);
  line-height: 1;
}
.loader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: rgba(112, 79, 62, .15); }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--orange); transition: width .25s linear; }
.loader.is-done .loader__center,
.loader.is-done .loader__orbit,
.loader.is-done .loader__count { transition: transform .7s var(--ease), opacity .5s; transform: translateY(-40px) scale(.96); opacity: 0; }

.curtain { position: fixed; inset: 0; z-index: 101; pointer-events: none; }
.curtain i { position: absolute; inset: 0; transform: translateY(100%); }
.curtain i:nth-child(1) { background: var(--orange); }
.curtain i:nth-child(2) { background: var(--red); }
.curtain.is-on i { animation: curtain 1.25s var(--ease) forwards; }
.curtain.is-on i:nth-child(2) { animation-delay: .12s; }

@keyframes heartIn { to { transform: scale(1) rotate(-12deg); } }
@keyframes beat { 0%, 100% { transform: scale(1) rotate(-12deg); } 15% { transform: scale(1.18) rotate(-12deg); } 30% { transform: scale(.96) rotate(-12deg); } 45% { transform: scale(1.08) rotate(-12deg); } }
@keyframes drop { to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes orbitIn { to { opacity: 1; scale: 1; } }
@keyframes bob { 50% { transform: translateY(-10px) rotate(4deg); } }
@keyframes curtain { 0% { transform: translateY(100%); } 45%, 55% { transform: translateY(0); } 100% { transform: translateY(-100%); } }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 50%;
  translate: -50% 0;
  width: min(1180px, calc(100% - 24px));
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 10px 10px 20px;
  border-radius: 999px;
  background: var(--nav-bg);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 10px 30px -14px rgba(74, 50, 38, .45);
  transition: transform .5s var(--ease), opacity .4s;
  transform: translateY(-140%);
  opacity: 0;
}
.nav.is-in { transform: none; opacity: 1; }
.nav.is-hidden { transform: translateY(-140%); }
.nav__brand { display: flex; align-items: center; gap: 8px; margin-right: auto; }
.nav__heart { width: 30px; height: 30px; color: var(--orange); transform: rotate(-12deg); transition: transform .5s var(--spring); }
.nav__brand:hover .nav__heart { transform: rotate(8deg) scale(1.15); }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  position: relative;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  transition: background .3s;
}
.nav__links a:hover, .nav__links a.is-active { background: var(--chip); }
.nav__cta { padding: 12px 20px; }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--chip); position: relative; }
.nav__burger i { position: absolute; left: 13px; right: 13px; height: 3px; border-radius: 3px; background: var(--brown); transition: transform .4s var(--spring), opacity .3s; }
.nav__burger i:nth-child(1) { top: 15px; background: var(--orange-2); }
.nav__burger i:nth-child(2) { top: 21.5px; background: var(--brown); }
.nav__burger i:nth-child(3) { top: 28px; background: var(--orange-2); }
.nav__burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.drawer {
  position: fixed;
  z-index: 49;
  inset: 0;
  background: var(--orange);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--gutter);
  clip-path: circle(0 at calc(100% - 46px) 40px);
  transition: clip-path .7s var(--ease);
}
.drawer.is-open { clip-path: circle(150% at calc(100% - 46px) 40px); }
.drawer a { font-family: var(--f-display); text-transform: uppercase; font-size: 15vw; line-height: 1.05; color: var(--ink); }
.drawer p { margin-top: 24px; font-weight: 600; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--hero-bg);
  color: var(--cream);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 24px;
  padding: 120px var(--gutter) 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero__copy { position: relative; z-index: 2; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 229, 192, .16);
  border: 1px solid rgba(255, 229, 192, .35);
  font-size: 14px; font-weight: 500;
}
.chip b { font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #7CFC9A; box-shadow: 0 0 0 0 rgba(124, 252, 154, .7); animation: ping 1.8s infinite; }
.is-closed .dot { background: #FFD15C; animation: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(124, 252, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(124, 252, 154, 0); } }

.hero__title {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: clamp(64px, 10.5vw, 168px);
  line-height: .9;
  letter-spacing: -.005em;
  text-shadow: var(--hero-title-shadow, 1px 1px 0 var(--hero-shadow), 2px 2px 0 var(--hero-shadow), 3px 3px 0 var(--hero-shadow), 4px 4px 0 var(--hero-shadow), 5px 5px 0 var(--hero-shadow), 6px 6px 0 var(--hero-shadow), 7px 7px 0 var(--hero-shadow));
}
.hero__title .line { display: block; overflow: hidden; padding: 0 12px 10px 0; margin-bottom: -10px; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.hero__title .line:nth-child(2) > span { transition-delay: .1s; }
.is-ready .hero__title .line > span { transform: none; }
.hero__title .script {
  font-size: .8em;
  color: var(--yellow);
  text-shadow: 3px 3px 0 var(--brown-2);
  display: inline-block;
  transform: rotate(-6deg) translateY(-.05em);
  padding-right: .1em;
}
.hero__lead { max-width: 30em; margin-top: 26px; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255, 244, 228, .92); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__art { position: relative; aspect-ratio: 1.15; }
.hero__food {
  position: absolute;
  inset: -10% -20% -10% -4%;
  width: 124%;
  height: 120%;
  object-fit: cover;
  object-position: 45% 50%;
  -webkit-mask-image: radial-gradient(ellipse 62% 64% at 48% 52%, #000 64%, transparent 100%);
          mask-image: radial-gradient(ellipse 62% 64% at 48% 52%, #000 64%, transparent 100%);
  transform: scale(1.12) rotate(4deg);
  opacity: 0;
  transition: transform 1.6s var(--ease), opacity 1s;
}
.is-ready .hero__food { transform: none; opacity: 1; }
.hero__food { translate: 0 var(--py, 0px); }

.spin-badge {
  position: absolute;
  width: clamp(110px, 12vw, 160px);
  aspect-ratio: 1;
  left: -2%;
  bottom: 4%;
  border-radius: 50%;
  background: var(--cream);
  color: var(--brown);
  box-shadow: 5px 5px 0 var(--brown-2);
  display: grid;
  place-items: center;
  transform: scale(0);
  transition: transform .9s var(--spring) .5s;
}
.is-ready .spin-badge { transform: scale(1); }
.spin-badge > svg:first-child { position: absolute; inset: 6%; width: 88%; height: 88%; animation: spin 14s linear infinite; }
.spin-badge text { font-family: var(--f-body); font-weight: 700; font-size: 10.6px; letter-spacing: .14em; fill: var(--brown); }
.spin-badge__heart { width: 38%; height: 38%; color: var(--orange); transform: rotate(-12deg); }
@keyframes spin { to { transform: rotate(360deg); } }

.sticker {
  position: absolute;
  transform: scale(0) rotate(-20deg);
  transition: transform .9s var(--spring);
}
.is-ready .sticker--price { transform: rotate(-10deg); transition-delay: .7s; }
.is-ready .sticker--note { transform: rotate(5deg); transition-delay: .85s; }
.sticker--price {
  right: 4%; top: 6%;
  width: clamp(92px, 9vw, 124px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--brown-2);
  display: grid;
  place-content: center;
  text-align: center;
}
.sticker--price small { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sticker--price b { font-family: var(--f-display); font-weight: 400; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; }
.sticker--note {
  right: -2%; bottom: 12%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-script);
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.1;
  padding: 12px 18px;
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--brown-2);
}
.float { animation: floaty 5s ease-in-out infinite; }
.float--b { animation-duration: 6s; animation-delay: -2s; }
@keyframes floaty { 50% { translate: 0 -12px; } }

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 22px;
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 229, 192, .6);
  border-radius: 20px;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cream); animation: wheel 1.6s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* =========================================================
   MENU
   ========================================================= */
.menu { padding: clamp(80px, 11vw, 140px) var(--gutter) clamp(70px, 9vw, 120px); max-width: 1320px; margin: 0 auto; }
.menu__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; }
.menu__note { max-width: 22em; color: var(--accent); font-weight: 500; }

.tabs-wrap {
  position: sticky;
  top: 84px;
  z-index: 10;
  margin: 40px calc(var(--gutter) * -1) 0;
  padding: 10px var(--gutter);
  background: linear-gradient(var(--bg) 70%, transparent);
}
.tabs {
  position: relative;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 6px;
  border-radius: 999px;
  background: var(--chip);
  box-shadow: inset 0 0 0 1px rgba(112, 79, 62, .12);
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative;
  z-index: 1;
  flex: none;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  white-space: nowrap;
  transition: color .35s;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--ink); }
.tabs__blob {
  position: absolute;
  z-index: 0;
  top: 6px; bottom: 6px; left: 0;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 2px 2px 0 var(--brown);
  transition: transform .55s var(--spring), width .55s var(--spring);
}

.menu__mood { display: flex; align-items: center; gap: 18px; margin: 34px 0 26px; }
.menu__count {
  font-family: var(--f-display);
  font-size: clamp(54px, 7vw, 86px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
}
.menu__mood h3 { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(28px, 3.4vw, 42px); }
.menu__mood p { font-size: clamp(22px, 2.4vw, 30px); color: var(--red); line-height: 1.1; }
.menu__mood > * { transition: opacity .3s, transform .45s var(--ease); }
.menu__mood.is-swapping > * { opacity: 0; transform: translateY(10px); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card {
  position: relative;
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(112, 79, 62, .08), 0 14px 30px -22px rgba(74, 50, 38, .5);
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px) rotate(var(--rot, 0deg)) scale(.96);
  transition: transform .7s var(--spring), opacity .45s, box-shadow .35s;
  transition-delay: calc(var(--i, 0) * 55ms);
  text-align: left;
  display: flex;
  flex-direction: column;
}
.card.is-in { opacity: 1; transform: none; }
.card.is-out { opacity: 0; transform: translateY(-16px) scale(.97); transition-duration: .28s; transition-delay: calc(var(--i, 0) * 20ms); }
.card:hover { box-shadow: 0 1px 0 rgba(112, 79, 62, .08), 0 26px 40px -24px rgba(74, 50, 38, .65); transform: translateY(-6px); transition-delay: 0s; }
.card__img { position: relative; aspect-ratio: 3 / 2; border-radius: var(--r) var(--r) 0 0; overflow: hidden; background: var(--cream); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card__img img { transform: scale(1.08); }
.price {
  position: absolute;
  right: 12px; top: -22px;
  z-index: 2;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 22px;
  line-height: 1;
  box-shadow: 3px 3px 0 var(--brown);
  transform: rotate(-10deg);
  transition: transform .6s var(--spring);
}
.card:hover .price { transform: rotate(8deg) scale(1.1); }
.card__body { position: relative; padding: 18px 18px 20px; flex: 1; }
.card__name { font-family: var(--f-display); text-transform: uppercase; font-size: 24px; line-height: 1.05; padding-right: 64px; }
.card__desc { margin-top: 8px; font-size: 14.5px; line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--chip); color: var(--accent); display: inline-flex; align-items: center; gap: 4px; }
.tag--hot { background: #FFE1D6; color: #C23A12; }
.tag--fit { background: var(--sage); color: var(--green); }
.tag svg { width: 13px; height: 13px; }

/* drinks: no photos, so a neat price list */
.drinks { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.drink {
  display: flex; align-items: baseline; gap: 10px;
  padding: 20px 22px; border-radius: var(--r);
  background: var(--surface);
  opacity: 0; transform: translateY(24px);
  transition: transform .6s var(--spring), opacity .4s;
  transition-delay: calc(var(--i, 0) * 60ms);
}
.drink.is-in { opacity: 1; transform: none; }
.drink.is-out { opacity: 0; transform: translateY(-10px); transition-duration: .25s; }
.drink b { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 22px; }
.drink i { flex: 1; border-bottom: 2px dotted rgba(112, 79, 62, .3); }
.drink span { font-family: var(--f-display); font-size: 22px; color: var(--red); }

.extras { margin-top: 26px; display: grid; gap: 14px; }
.extras:empty { display: none; }
.extras__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.extras__row strong { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 20px; margin-right: 6px; }
.extras__row span { padding: 7px 14px; border-radius: 999px; background: var(--chip); font-size: 14px; font-weight: 500; color: var(--accent); }

/* =========================================================
   ITEM SHEET
   ========================================================= */
.sheet { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; pointer-events: none; padding: 16px; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(43, 28, 20, .55); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.sheet__card {
  position: relative;
  width: min(860px, 100%);
  max-height: calc(100svh - 32px);
  overflow: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--bg);
  border-radius: 28px;
  box-shadow: 8px 8px 0 var(--brown);
  opacity: 0;
  transform: translateY(40px) scale(.94) rotate(-1.5deg);
  transition: transform .6s var(--spring), opacity .3s;
}
.sheet.is-open { pointer-events: auto; }
.sheet.is-open .sheet__backdrop { opacity: 1; }
.sheet.is-open .sheet__card { opacity: 1; transform: none; }
.sheet__img { background: var(--cream); min-height: 100%; }
.sheet__img img { width: 100%; height: 100%; object-fit: cover; }
.sheet__body { padding: 34px 30px 28px; display: flex; flex-direction: column; gap: 12px; }
.sheet__cat { font-family: var(--f-script); font-size: 26px; color: var(--red); line-height: 1; }
.sheet__body h3 { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(34px, 4vw, 48px); }
.sheet__body > p:not(.sheet__cat) { color: var(--muted); }
.sheet__foot { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.sheet__price { font-family: var(--f-display); font-size: 44px; line-height: 1; }
.sheet__x { position: absolute; z-index: 2; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; background: var(--bg); color: var(--text); box-shadow: 2px 2px 0 var(--brown); font-size: 16px; transition: transform .4s var(--spring); }
.sheet__x:hover { transform: rotate(90deg); }
.sheet__card.no-img { grid-template-columns: 1fr; }
.sheet__card.no-img .sheet__img { display: none; }

.macros { display: flex; flex-wrap: wrap; gap: 8px; }
.macros:empty { display: none; }
.macros span { padding: 8px 12px; border-radius: 12px; background: var(--sage); color: var(--green); font-size: 13px; font-weight: 600; }
.macros b { font-family: var(--f-display); font-weight: 400; font-size: 20px; margin-right: 3px; }

/* =========================================================
   FIT BAE
   ========================================================= */
.fit {
  background: var(--fit-bg);
  color: var(--fit-text);
  padding: clamp(80px, 10vw, 130px) var(--gutter);
  position: relative;
}
.fit__head { max-width: 1320px; margin: 0 auto; }
.fit__head .script--tag { color: var(--fit-text); }
.fit__head .title { color: var(--fit-text); }
.fit__lead { margin-top: 18px; max-width: 30em; font-size: 18px; font-weight: 500; }
.fit__row { max-width: 1320px; margin: 48px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fcard {
  background: var(--fit-surface);
  border-radius: 26px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--green);
  transition: transform .5s var(--spring), box-shadow .4s;
}
.fcard:hover { transform: translate(-3px, -6px) rotate(-1deg); box-shadow: 8px 10px 0 var(--green); }
.fcard__img { aspect-ratio: 4 / 3; overflow: hidden; }
.fcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.fcard:hover .fcard__img img { transform: scale(1.07); }
.fcard__body { padding: 18px 18px 22px; }
.fcard h3 { font-family: var(--f-display); text-transform: uppercase; font-size: 24px; color: var(--text); }
.fcard__price { font-family: var(--f-display); font-size: 20px; color: var(--green); }
.rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 16px; text-align: center; }
.ring { position: relative; }
.ring svg { width: 100%; height: auto; aspect-ratio: 1; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring .bg { stroke: rgba(36, 81, 62, .12); }
.ring .fg { stroke: var(--c, var(--green)); stroke-linecap: round; stroke-dasharray: 201; stroke-dashoffset: 201; transition: stroke-dashoffset 1.6s var(--ease); }
.ring__val { position: absolute; inset: 0; display: grid; place-content: center; line-height: 1; }
.ring__val b { font-family: var(--f-display); font-weight: 400; font-size: 19px; color: var(--text); }
.ring__val small { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; }

/* =========================================================
   MATCH (swipe deck)
   ========================================================= */
.match {
  background: var(--match-bg);
  padding: clamp(80px, 10vw, 130px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}
.match__copy { max-width: 520px; justify-self: end; width: 100%; }
.match__copy .title { font-size: clamp(52px, 7.6vw, 112px); }
.match__copy .title .script { color: var(--red); font-size: .85em; display: inline-block; transform: rotate(-6deg); }
.match__copy > p { margin-top: 20px; color: var(--accent); font-weight: 500; max-width: 26em; }
.match__btns { display: flex; gap: 16px; margin-top: 30px; }
.round {
  width: 70px; height: 70px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 24px;
  background: var(--surface);
  box-shadow: 4px 4px 0 var(--brown);
  transition: transform .4s var(--spring), box-shadow .3s;
}
.round:hover { transform: translateY(-4px) rotate(-8deg); box-shadow: 6px 8px 0 var(--brown); }
.round:active { transform: scale(.92); }
.round--like { background: var(--orange); }
.round--like svg { width: 34px; height: 34px; color: var(--paper); }

.match__deck { position: relative; width: min(380px, 100%); aspect-ratio: 3 / 4; justify-self: start; }
.swipe {
  position: absolute; inset: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--brown);
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
  transition: transform .5s var(--spring), opacity .4s;
  will-change: transform;
}
.swipe:active { cursor: grabbing; }
.swipe img { width: 100%; height: 64%; object-fit: cover; pointer-events: none; }
.swipe__body { padding: 16px 20px; }
.swipe__body { position: static; }
.swipe__body h3 { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(24px, 2.4vw, 30px); line-height: 1; }
.swipe__body p { margin-top: 6px; font-size: 14.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.swipe .price { top: 16px; right: 16px; }
.swipe__stamp {
  position: absolute; top: 30%; z-index: 3;
  padding: 6px 14px;
  border: 4px solid; border-radius: 12px;
  font-family: var(--f-display); font-size: 34px; text-transform: uppercase;
  opacity: 0; pointer-events: none;
}
.swipe__stamp--like { left: 22px; color: #1f9d55; transform: rotate(-14deg); background: rgba(255, 255, 255, .85); }
.swipe__stamp--nope { right: 22px; color: var(--red); transform: rotate(14deg); background: rgba(255, 255, 255, .85); }
.swipe:nth-last-of-type(2) { transform: translateY(14px) scale(.95) rotate(3deg); }
.swipe:nth-last-of-type(3) { transform: translateY(28px) scale(.9) rotate(-3deg); }
.swipe:nth-last-of-type(n + 4) { transform: translateY(28px) scale(.9); opacity: 0; }

.matched {
  position: absolute; inset: 0; z-index: 30;
  border-radius: 28px;
  background: var(--red);
  color: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  text-align: center;
  padding: 24px;
  box-shadow: 6px 6px 0 var(--brown);
  animation: pop .6s var(--spring);
}
.matched[hidden] { display: none; }
.matched .script { font-size: 52px; color: var(--yellow); line-height: 1; transform: rotate(-6deg); }
.matched h3 { font-family: var(--f-display); text-transform: uppercase; font-size: 36px; }
.matched__again { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
@keyframes pop { from { transform: scale(.6) rotate(-6deg); opacity: 0; } }
.burst { position: fixed; z-index: 90; pointer-events: none; width: 26px; height: 26px; color: var(--orange); }

/* =========================================================
   VISIT
   ========================================================= */
.visit { background: var(--visit-bg); color: var(--cream); padding: clamp(80px, 10vw, 130px) var(--gutter) clamp(60px, 8vw, 100px); }
.visit > * { max-width: 1320px; margin-left: auto; margin-right: auto; }
.visit .title .script { color: var(--orange); font-size: .9em; display: inline-block; transform: rotate(-8deg); }
.visit__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.place {
  background: rgba(255, 229, 192, .06);
  border: 1px solid rgba(255, 229, 192, .14);
  border-radius: 26px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .5s var(--spring), background .3s;
}
.place:hover { transform: translateY(-6px); background: rgba(255, 229, 192, .1); }
.place__tag { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(255, 156, 0, .18); color: var(--orange); }
.place h3 { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(34px, 3.4vw, 46px); margin-top: 8px; }
.place p { color: rgba(255, 229, 192, .75); }
.link { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--orange); }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.place--hours { background: var(--orange); color: var(--ink); border-color: transparent; }
.place--hours:hover { background: var(--orange); }
.place--hours p { color: rgba(43, 28, 20, .8); }
.place--hours .place__tag { background: rgba(43, 28, 20, .14); color: var(--ink); }
.phones { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.phones a { padding: 9px 14px; border-radius: 999px; background: var(--ink); color: var(--cream); font-weight: 600; font-size: 15px; transition: transform .4s var(--spring); }
.phones a:hover { transform: translateY(-3px); }
.corp {
  margin-top: 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 22px 28px;
  border-radius: 22px;
  border: 1.5px dashed rgba(255, 229, 192, .35);
  transition: background .3s, border-color .3s;
}
.corp:hover { background: rgba(255, 229, 192, .06); border-color: var(--orange); }
.corp b { color: var(--orange); }
.corp__go { font-weight: 700; }

/* =========================================================
   FOOTER
   ========================================================= */
.foot { background: var(--orange); color: var(--ink); padding: 40px var(--gutter) 22px; overflow: hidden; }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px 26px; font-weight: 600; }
.foot__links a { position: relative; }
.foot__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.foot__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.foot__word {
  font-size: clamp(64px, 17.5vw, 300px);
  line-height: 1.05;
  color: var(--cream);
  text-align: center;
  margin: 18px 0 6px;
  text-shadow: 1px 1px 0 var(--brown), 2px 2px 0 var(--brown), 3px 3px 0 var(--brown), 4px 4px 0 var(--brown), 5px 5px 0 var(--brown), 6px 6px 0 var(--brown), 7px 7px 0 var(--brown), 8px 8px 0 var(--brown), 9px 9px 0 var(--brown), 10px 10px 0 var(--brown);
  transform: translateY(40%);
  opacity: 0;
  transition: transform 1.2s var(--ease), opacity .8s;
}
.foot__word.is-in { transform: none; opacity: 1; }
.foot__small { text-align: center; font-size: 13px; font-weight: 500; }

/* =========================================================
   Scroll reveal
   ========================================================= */
[data-anim] { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
[data-anim].is-in { opacity: 1; transform: none; }
.hero [data-anim] { transition-delay: calc(.35s + var(--d, 0s)); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .fit__row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__cta span { display: none; }
  .nav__cta { padding: 13px; }
  .hero { grid-template-columns: 1fr; padding-top: 110px; gap: 0; text-align: left; }
  .hero__art { width: min(560px, 100%); margin: 10px auto 0; aspect-ratio: 1.25; }
  .match { grid-template-columns: 1fr; }
  .match__copy { justify-self: start; }
  .match__deck { justify-self: center; }
  .visit__grid { grid-template-columns: 1fr; }
  .sheet__card { grid-template-columns: 1fr; }
  .sheet__img { aspect-ratio: 3 / 2; min-height: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .tabs-wrap { top: 74px; }
  .nav { top: 10px; padding-left: 14px; }
  .wordmark--sm { font-size: 20px; }
  .hero__scroll { display: none; }
  /* compact list cards on phones */
  .grid { grid-template-columns: 1fr; gap: 12px; }
  .card { flex-direction: row; align-items: stretch; }
  .card__img { width: 112px; flex: none; aspect-ratio: auto; border-radius: var(--r) 0 0 var(--r); }
  .card__body { position: static; padding: 14px 14px 14px 16px; align-self: center; }
  .card__name { font-size: 20px; padding-right: 0; }
  .card__desc { font-size: 13.5px; margin-top: 4px; }
  .card .price { width: 46px; height: 46px; font-size: 16px; top: auto; bottom: -6px; right: auto; left: 76px; }
  .card.no-img .price { left: auto; right: 10px; top: 10px; bottom: auto; }
  .card.no-img .card__name { padding-right: 52px; }
  .tags { margin-top: 8px; }
  .fit__row { grid-template-columns: 1fr; }
  .fcard { display: grid; grid-template-columns: 120px 1fr; }
  .fcard__img { aspect-ratio: auto; }
  .fcard__body { padding: 14px; }
  .fcard h3 { font-size: 20px; }
  .rings { margin-top: 10px; }
  .ring__val b { font-size: 16px; }
  .ring__val small { font-size: 8.5px; }
  .match__deck { width: min(330px, 100%); }
  .place { padding: 22px; }
  .sheet { align-items: end; padding: 0; }
  .sheet__card { border-radius: 26px 26px 0 0; max-height: 92svh; box-shadow: none; transform: translateY(100%); }
  .sheet__body { padding: 22px 20px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   SPICE PACK: toggles, drips, anatomy, bites, Bae list, ghost, pit, night
   ========================================================= */

/* ---------- nav tools ---------- */
.nav__tools { display: flex; gap: 6px; }
.ico-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--chip);
  color: var(--text);
  display: grid; place-items: center;
  transition: transform .45s var(--spring), background .3s;
}
.ico-btn svg { width: 20px; height: 20px; }
.ico-btn:hover { transform: rotate(-12deg) scale(1.08); }
#soundBtn .wave, #soundBtn.is-on .mute { display: none; }
#soundBtn.is-on .wave { display: inline; }
#soundBtn.is-on { background: var(--orange); color: var(--ink); }
.i-sun { display: none; }
[data-theme="night"] .i-sun { display: block; color: var(--yellow); }
[data-theme="night"] .i-moon { display: none; }
.chip--neon { display: none; }

/* ---------- drips ---------- */
.drip { position: relative; height: 0; z-index: 6; color: var(--c); pointer-events: none; }
.drip::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -1px; height: 14px;
  background: radial-gradient(circle at 50% 0, currentColor 11px, transparent 11.5px) 0 0 / 34px 14px repeat-x;
}
.drip i {
  position: absolute; top: -1px;
  height: 8px;
  background: currentColor;
  border-radius: 0 0 999px 999px;
}
.drip i::after {
  content: "";
  position: absolute; left: 50%; bottom: -7px;
  width: 128%; aspect-ratio: 1;
  border-radius: 50%;
  background: currentColor;
  transform: translateX(-50%);
}
.drip__drop {
  position: absolute; left: 50%; top: calc(100% + 4px);
  width: 62%; aspect-ratio: .8;
  border-radius: 50% 50% 50% 50% / 60% 60% 42% 42%;
  background: currentColor;
}

/* ---------- anatomy (exploding burger) ---------- */
.anatomy {
  --anat-a: var(--cream-2);
  --anat-b: #FFD597;
  position: relative;
  height: 320vh;
  background: linear-gradient(180deg, var(--anat-a), var(--anat-b));
}
.anatomy__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.anatomy__bg {
  position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  text-align: center;
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: clamp(76px, 16vw, 250px);
  line-height: .86;
  color: transparent;
  -webkit-text-stroke: 2px rgba(112, 79, 62, .16);
  pointer-events: none;
}
.anatomy__head { position: absolute; z-index: 2; top: 100px; left: var(--gutter); max-width: 330px; }
.anatomy__head .kicker { color: var(--red); margin-bottom: 8px; }
.anatomy__title { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(30px, 3.2vw, 46px); line-height: 1; }
.anatomy__title .script { color: var(--red); font-size: 1.1em; display: inline-block; transform: rotate(-6deg); margin: 0 .18em 0 .05em; }
.anatomy__burger { position: absolute; inset: 76px 0 40px; }
.anatomy__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.anatomy__line { fill: none; stroke: var(--text); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .45s var(--ease); }
.anatomy__dot { fill: var(--orange); stroke: var(--text); stroke-width: 2; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .3s; }
.callout {
  position: absolute;
  z-index: 3;
  max-width: 210px;
  padding: 9px 13px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  box-shadow: 3px 3px 0 var(--brown);
  opacity: 0;
  transition: opacity .3s, transform .5s var(--spring);
  pointer-events: none;
}
.callout--r { transform: translate(10px, -50%) scale(.7); transform-origin: left center; }
.callout--l { transform: translate(calc(-100% - 10px), -50%) scale(.7); transform-origin: right center; text-align: right; }
.callout.is-on { opacity: 1; }
.callout--r.is-on { transform: translate(10px, -50%); }
.callout--l.is-on { transform: translate(calc(-100% - 10px), -50%); }
.anatomy__end {
  position: absolute; z-index: 4;
  right: var(--gutter); bottom: 64px;
  display: flex; align-items: center; gap: 18px;
  opacity: 0; transform: translateY(30px);
  transition: opacity .4s, transform .6s var(--spring);
  pointer-events: none;
}
.anatomy.is-end .anatomy__end, .anatomy.is-static .anatomy__end { opacity: 1; transform: none; pointer-events: auto; }
.anatomy__sticker {
  width: 104px; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--brown);
  display: grid; place-content: center; text-align: center;
  transform: rotate(-12deg) scale(0);
  transition: transform .7s var(--spring) .1s;
}
.anatomy.is-end .anatomy__sticker, .anatomy.is-static .anatomy__sticker { transform: rotate(-12deg) scale(1); }
.anatomy__sticker small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.anatomy__sticker b { font-family: var(--f-display); font-weight: 400; font-size: 42px; line-height: 1; }
.anatomy__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 26px; height: 4px; border-radius: 4px; background: rgba(112, 79, 62, .15); overflow: hidden; }
.anatomy__progress i { display: block; height: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); }
.anatomy.is-static { height: auto; }
.anatomy.is-static .anatomy__stage { position: relative; height: 100svh; min-height: 640px; }

/* ---------- love buttons + bites ---------- */
.love {
  position: absolute; z-index: 3;
  left: 12px; top: 12px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 250, 242, .92);
  color: #E7D3BF;
  display: grid; place-items: center;
  box-shadow: 2px 2px 0 var(--brown);
  transition: transform .45s var(--spring), color .3s;
}
.love svg { width: 24px; height: 24px; }
.love:hover { transform: scale(1.14) rotate(-8deg); color: #F4A38C; }
.love.is-loved { color: var(--red); animation: lovePop .5s var(--spring); }
@keyframes lovePop { 40% { transform: scale(1.35) rotate(-12deg); } }
.card.no-img .love { left: auto; top: auto; right: 14px; bottom: 14px; }
.card__img { transform-origin: center; }
.card__img.is-bitten { animation: chomp .4s var(--ease); }
@keyframes chomp { 25% { transform: scale(.96) rotate(-1.2deg); } 60% { transform: scale(1.015) rotate(.6deg); } }
.crumb { position: fixed; z-index: 90; border-radius: 40%; pointer-events: none; }

.sheet__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--line { border: 2px solid var(--brown); color: var(--text); background: transparent; }
.btn--line svg { color: var(--red); }
.btn--line:hover { background: var(--chip); }
.btn--line.is-loved { background: var(--red); border-color: var(--red); color: var(--cream); animation: lovePop .5s var(--spring); }
.btn--line.is-loved svg { color: var(--cream); }
.matched__note { font-size: 14px; font-weight: 600; opacity: .9; }

/* ---------- Bae list: bag + flying thumbnails ---------- */
.bag {
  position: fixed; z-index: 60;
  right: 18px; bottom: 18px;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--brown);
  display: grid; place-items: center;
  animation: bagIn .6s var(--spring);
  transition: transform .4s var(--spring);
}
.bag[hidden] { display: none; }
.bag:hover { transform: rotate(-10deg) scale(1.06); }
.bag svg { width: 28px; height: 28px; }
.bag__count {
  position: absolute; top: -5px; right: -5px;
  min-width: 26px; height: 26px; padding: 0 7px;
  border-radius: 13px;
  border: 2px solid var(--bg);
  background: var(--red); color: var(--cream);
  font: 700 13px/22px var(--f-body);
  text-align: center;
}
.bag.is-bump { animation: bump .6s var(--spring); }
@keyframes bagIn { from { transform: scale(0) rotate(-40deg); } }
@keyframes bump { 30% { transform: scale(1.28) rotate(-12deg); } 60% { transform: scale(.92) rotate(6deg); } }
.flyer {
  position: fixed; z-index: 95;
  width: 74px; height: 74px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--cream);
  background: var(--orange);
  box-shadow: 3px 3px 0 var(--brown);
  pointer-events: none;
}

/* ---------- receipt ---------- */
.receipt { position: fixed; inset: 0; z-index: 85; pointer-events: none; }
.receipt__backdrop { position: absolute; inset: 0; background: rgba(43, 28, 20, .55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s; }
.receipt__wrap {
  position: absolute; left: 50%; top: 0;
  width: min(380px, calc(100% - 40px));
  display: flex; flex-direction: column;
  transform: translate(-50%, -110%);
  transition: transform .55s var(--spring);
}
.receipt.is-open { pointer-events: auto; }
.receipt.is-open .receipt__backdrop { opacity: 1; }
.receipt.is-open .receipt__wrap { transform: translate(-50%, 0); }
.printer {
  position: relative; z-index: 2;
  height: 66px; margin: 0 -16px;
  padding: 0 14px 0 20px;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(#3a2a22, #1d130e);
  box-shadow: 0 6px 0 var(--brown), 0 18px 30px -12px rgba(0, 0, 0, .6);
  display: flex; align-items: center; gap: 10px;
}
.printer__led { width: 10px; height: 10px; border-radius: 50%; background: #7CFC9A; box-shadow: 0 0 10px #7CFC9A; animation: led 1s steps(2) infinite; }
@keyframes led { 50% { opacity: .3; } }
.printer__slot { position: absolute; left: 26px; right: 26px; bottom: 9px; height: 6px; border-radius: 3px; background: #000; }
.printer__x { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--cream); transition: transform .4s var(--spring); }
.printer__x:hover { transform: rotate(90deg); }
.paper {
  position: relative;
  margin-top: -10px;
  padding: 26px 22px 34px;
  max-height: calc(100svh - 76px);
  overflow: auto;
  background: #FFFDF7;
  color: #2b2b2b;
  font-family: "Space Mono", ui-monospace, Menlo, monospace;
  font-size: 13px;
  line-height: 1.5;
  clip-path: inset(0 0 100% 0);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100%;
}
.receipt.is-open .paper { animation: print 1.3s steps(13) .4s forwards; }
@keyframes print { to { clip-path: inset(0 0 0 0); } }
.r-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1px; }
.r-heart { width: 36px; height: 36px; color: var(--orange); transform: rotate(-12deg); margin-bottom: 4px; }
.r-head strong { font-size: 22px; letter-spacing: .14em; }
.r-head span { font-size: 11px; color: #666; }
.r-sep { margin: 12px 0; text-align: center; white-space: nowrap; overflow: hidden; color: #9a9a9a; }
.r-title { text-align: center; font-weight: 700; letter-spacing: .12em; }
.r-items { list-style: none; margin: 10px 0 0; padding: 0; }
.r-items li { margin: 10px 0; }
.r-line { display: flex; align-items: baseline; gap: 6px; }
.r-name { font-weight: 700; }
.r-dots { flex: 1; border-bottom: 2px dotted #bdbdbd; transform: translateY(-4px); }
.r-qty { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.r-qty button { width: 26px; height: 26px; border: 1.5px solid #2b2b2b; border-radius: 6px; font-family: inherit; font-weight: 700; line-height: 1; transition: background .2s; }
.r-qty button:hover { background: #2b2b2b; color: #fff; }
.r-qty small { color: #777; }
.r-total { font-size: 18px; font-weight: 700; }
.r-small { margin-top: 6px; text-align: center; font-size: 11px; color: #777; }
.r-empty { margin: 18px 0; text-align: center; color: #666; }
.r-actions { margin-top: 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.r-actions .btn { font-family: var(--f-body); }
.r-actions .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.r-clear { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; color: #555; }
.r-barcode { display: flex; justify-content: center; gap: 2px; height: 46px; margin: 20px 0 4px; }
.r-barcode i { display: block; background: #2b2b2b; }

/* ---------- ghost ---------- */
.ghost {
  position: fixed; left: 0; top: 0; z-index: 70;
  width: 92px;
  cursor: pointer;
  opacity: 0;
  transition: opacity .6s;
  -webkit-tap-highlight-color: transparent;
}
.ghost.is-on { opacity: 1; }
.ghost__body { transform: rotate(var(--tilt, 0deg)); transition: transform .3s; animation: ghostBob 2.6s ease-in-out infinite; }
.ghost__body svg { display: block; width: 100%; height: auto; overflow: visible; transform: scaleX(var(--face, 1)); transition: transform .35s var(--spring); filter: drop-shadow(5px 6px 0 rgba(112, 79, 62, .22)); }
.ghost.is-spin .ghost__body { animation: ghostBob 2.6s ease-in-out infinite, ghostSpin .8s var(--spring); }
@keyframes ghostBob { 50% { translate: 0 -10px; } }
@keyframes ghostSpin { from { rotate: 0deg; } to { rotate: 360deg; } }
.ghost__eyes { transform-box: fill-box; transform-origin: center; animation: gblink 4.2s infinite; }
@keyframes gblink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
.ghost__love { opacity: 0; transition: opacity .2s; }
.ghost.is-love .ghost__love { opacity: 1; }
.ghost.is-love .ghost__eyes { opacity: 0; }
.ghost__fry { transform-box: fill-box; transform-origin: bottom left; animation: fryWave 1.8s ease-in-out infinite; }
@keyframes fryWave { 50% { transform: rotate(-12deg); } }
.ghost__bubble {
  position: absolute; bottom: calc(100% + 4px); left: 50%;
  width: max-content; max-width: 230px;
  padding: 10px 14px;
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  font-weight: 600; font-size: 14px; line-height: 1.3; text-align: center;
  box-shadow: 3px 3px 0 var(--brown);
  opacity: 0;
  transform: translate(-50%, 8px) scale(.6);
  transform-origin: bottom center;
  transition: opacity .25s, transform .45s var(--spring);
  pointer-events: none;
}
.ghost.is-talking .ghost__bubble { opacity: 1; transform: translate(-50%, 0) scale(1); }
.ghost.is-corner { left: 14px; top: auto; bottom: -52px; width: 76px; transition: opacity .6s, bottom .7s var(--spring); }
.ghost.is-corner.is-peek, .ghost.is-corner.is-talking { bottom: 12px; }
.ghost.is-corner .ghost__bubble { left: 0; transform: translate(0, 8px) scale(.6); transform-origin: bottom left; }
.ghost.is-corner.is-talking .ghost__bubble { transform: translate(0, 0) scale(1); }

/* ---------- food pit footer ---------- */
.foot { position: relative; min-height: 80vh; display: flex; flex-direction: column; }
.pit { position: absolute; inset: 0; z-index: 2; cursor: grab; }
.pit.is-grab { cursor: grabbing; }
.foot__links, .foot__hint, .foot__shake, .foot__small { position: relative; z-index: 3; }
.foot__hint { margin-top: 18px; font-family: var(--f-script); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1; }
.foot__shake {
  align-self: flex-start;
  margin-top: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  font-weight: 700; font-size: 14px;
  transition: transform .4s var(--spring), background .3s;
}
.foot__shake:hover { background: var(--ink); color: var(--orange); animation: shake .5s; }
@keyframes shake { 20% { transform: rotate(-6deg); } 40% { transform: rotate(6deg); } 60% { transform: rotate(-4deg); } 80% { transform: rotate(3deg); } }
.foot__word { position: relative; z-index: 1; margin-top: auto; pointer-events: none; }

/* ---------- view transition for the theme switch ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: vtReveal .9s var(--ease); }
@keyframes vtReveal { from { clip-path: circle(0 at var(--vt-x, 90%) var(--vt-y, 40px)); } to { clip-path: circle(150vmax at var(--vt-x, 90%) var(--vt-y, 40px)); } }

/* =========================================================
   LATE-NIGHT MODE
   ========================================================= */
:root[data-theme="night"] {
  color-scheme: dark;
  --bg: #120B0C;
  --surface: #1F1415;
  --chip: #2B1C1C;
  --text: #FFE9CF;
  --muted: #CDAE97;
  --accent: #FF8FC7;
  --nav-bg: rgba(18, 11, 12, .78);
  --hero-bg: #150A13;
  --hero-shadow: #000;
  --match-bg: #180E15;
  --fit-bg: #0C1914;
  --fit-text: #8FE3AE;
  --fit-surface: #12231C;
  --visit-bg: #0A0607;
  --brown: #FF3D8B;
  --extrude: 0 0 4px #FF9C00, 0 0 14px rgba(255, 140, 0, .75), 0 0 34px rgba(255, 80, 0, .45);
  --hero-title-shadow: 0 0 6px rgba(255, 229, 192, .8), 0 0 22px rgba(255, 120, 40, .7), 0 0 52px rgba(255, 61, 139, .45);
}
[data-theme="night"] .hero__title .script { text-shadow: 0 0 8px #FFD15C, 0 0 26px rgba(255, 180, 0, .8); animation: flicker 6s infinite; }
[data-theme="night"] .hero__food { filter: saturate(1.15) brightness(.95); }
[data-theme="night"] .chip--neon {
  display: inline-flex;
  color: #FFD6F0;
  border-color: #FF3D8B;
  background: rgba(255, 61, 139, .12);
  text-shadow: 0 0 6px #FF3D8B;
  box-shadow: 0 0 14px rgba(255, 61, 139, .5), inset 0 0 8px rgba(255, 61, 139, .35);
  animation: flicker 4s infinite;
}
@keyframes flicker { 0%, 18%, 22%, 54%, 58%, 100% { opacity: 1; } 20%, 56% { opacity: .35; } 21% { opacity: .8; } }
[data-theme="night"] .title .hl--green { text-shadow: 0 0 6px #7DBB8A, 0 0 22px rgba(80, 220, 140, .7); }
[data-theme="night"] .card:hover, [data-theme="night"] .drink:hover { box-shadow: 0 0 0 1px rgba(255, 156, 0, .35), 0 18px 40px -16px rgba(255, 90, 0, .45); }
[data-theme="night"] .love { background: rgba(31, 20, 21, .9); color: #5A4142; }
[data-theme="night"] .anatomy { --anat-a: #120B0C; --anat-b: #2A1210; }
[data-theme="night"] .anatomy__bg { -webkit-text-stroke-color: rgba(255, 156, 0, .22); }
[data-theme="night"] .anatomy__progress { background: rgba(255, 255, 255, .1); }
[data-theme="night"] .ghost__body svg { filter: drop-shadow(0 0 14px rgba(170, 220, 255, .65)); }
[data-theme="night"] .tabs { box-shadow: inset 0 0 0 1px rgba(255, 233, 207, .08); }
[data-theme="night"] .foot { background: #0A0607; color: var(--text); }
[data-theme="night"] .foot__word { color: var(--orange); text-shadow: 0 0 6px #FF9C00, 0 0 26px rgba(255, 120, 0, .8), 0 0 70px rgba(255, 61, 139, .5); }
[data-theme="night"] .foot__shake { border-color: var(--text); }
[data-theme="night"] .foot__shake:hover { background: var(--text); }
[data-theme="night"] .menu__count { -webkit-text-stroke-color: var(--orange); filter: drop-shadow(0 0 6px rgba(255, 156, 0, .6)); }

/* ---------- responsive for the new bits ---------- */
@media (max-width: 1100px) {
  .anatomy__burger { inset: 170px 0 90px; }
}
@media (max-width: 900px) {
  .anatomy__head { top: 92px; }
  .anatomy__end { left: 0; right: 0; justify-content: center; bottom: 52px; }
}
@media (max-width: 600px) {
  .nav { gap: 8px; }
  .nav__cta { display: none; }
  .ico-btn { width: 40px; height: 40px; }
  .anatomy { height: 300vh; }
  .anatomy__head { top: 84px; max-width: 260px; }
  .anatomy__burger { inset: 178px 0 110px; }
  .callout { font-size: 11.5px; max-width: 92px; padding: 6px 8px; border-radius: 10px; box-shadow: 2px 2px 0 var(--brown); }
  .anatomy__sticker { width: 84px; }
  .anatomy__sticker b { font-size: 32px; }
  .love { width: 34px; height: 34px; left: 6px; top: 6px; }
  .love svg { width: 19px; height: 19px; }
  .card.no-img .love { right: 10px; bottom: 10px; }
  .bag { right: 14px; bottom: 14px; width: 58px; height: 58px; }
  .foot { min-height: 72vh; }
  .sheet__btns { width: 100%; }
  .sheet__btns .btn { flex: 1; justify-content: center; padding: 14px 16px; }
}
.drawer .drawer__wa { margin-top: 22px; align-self: flex-start; font-family: var(--f-body); text-transform: none; font-size: 17px; line-height: 1; }
/* once the title has slid in, let glows/extrusions breathe */
.hero.is-revealed .hero__title .line { overflow: visible; }
[data-theme="night"] .hero__food {
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 52%, #000 52%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 52%, #000 52%, transparent 100%);
}
[data-theme="night"] .love.is-loved { color: var(--red); }
