:root {
  --yellow: #FDD835;
  --mint: #7BE3BF;
  --plum: #553A45;
  --red: #E05A50;
  --cream: #FFF8E6;
  --ink: #2E1F26;
  --radius: 22px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px max(16px, env(safe-area-inset-left));
  background: color-mix(in srgb, var(--cream) 85%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 800; font-size: 1.25rem;
  text-decoration: none;
}
.nav nav { display: flex; gap: 20px; }
.nav nav a { text-decoration: none; font-weight: 600; }
.nav nav a:hover { color: var(--red); }

/* Hero */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 32px;
  max-width: 1160px; margin: 0 auto;
  padding: 48px 16px 24px;
  min-height: min(78vh, 720px);
}
#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 30; }
.eyebrow {
  display: inline-block; margin: 0 0 16px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--mint); color: var(--plum);
  font-weight: 600; font-size: 0.85rem; letter-spacing: 0.02em;
}
.headline {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(3rem, 9vw, 6.5rem); line-height: 0.92; letter-spacing: -0.03em;
  margin: 0 0 20px; color: var(--plum);
}
.word { display: inline-block; opacity: 0; transform: translateY(40px) rotate(4deg); }
.word.in { animation: wordIn 0.7s cubic-bezier(.2,1.4,.4,1) forwards; }
.accent { color: var(--red); }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.lede { font-size: 1.15rem; line-height: 1.55; max-width: 32ch; margin: 0 0 28px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  font: 600 1rem var(--body);
  padding: 14px 22px; border-radius: 999px; border: 3px solid var(--plum);
  cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--plum); color: var(--yellow); box-shadow: 4px 4px 0 var(--red); }
.btn-ghost { background: var(--yellow); color: var(--plum); box-shadow: 4px 4px 0 var(--plum); }
.btn:hover { transform: translate(-2px, -2px); }
.btn-primary:hover { box-shadow: 6px 6px 0 var(--red); }
.btn-ghost:hover { box-shadow: 6px 6px 0 var(--plum); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--plum); }

.hero-logo {
  border: 0; background: none; padding: 0; cursor: pointer;
  justify-self: center; width: min(100%, 440px);
  animation: bob 4s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
}
.hero-logo img { filter: drop-shadow(0 24px 30px rgba(85,58,69,.25)); transition: transform .2s; }
.hero-logo:hover img { transform: scale(1.04) rotate(-3deg); }
.hero-logo.spin img { animation: flip .9s cubic-bezier(.3,1.5,.5,1); }
@keyframes bob { 50% { transform: translateY(-14px) rotate(2deg); } }
@keyframes flip { from { transform: rotate(0) scale(1); } 50% { transform: rotate(200deg) scale(.8); } to { transform: rotate(360deg) scale(1); } }

/* Road + truck */
.road {
  position: relative; height: 130px; overflow: hidden;
  border-bottom: 10px solid var(--plum);
  background: linear-gradient(to bottom, transparent 120px, var(--plum) 120px);
}
.road::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 4px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 40px, transparent 40px 80px);
  animation: lanes 0.8s linear infinite;
}
@keyframes lanes { to { background-position: -80px 0; } }
.truck { position: absolute; bottom: 4px; left: 0; will-change: transform; }
.truck svg { display: block; animation: rumble .25s ease-in-out infinite alternate; }
.wheel { transform-box: fill-box; transform-origin: center; animation: spin .5s linear infinite; }
@keyframes rumble { to { transform: translateY(-2px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.puff {
  position: absolute; left: 0; bottom: 18px; width: 14px; height: 14px; border-radius: 50%;
  background: rgba(85,58,69,.25); animation: puff 1.2s ease-out infinite;
}
.puff:nth-of-type(2) { animation-delay: .4s; }
.puff:nth-of-type(3) { animation-delay: .8s; }
@keyframes puff { from { transform: translate(0,0) scale(.5); opacity: 1; } to { transform: translate(-50px,-20px) scale(2.2); opacity: 0; } }
.truck.flipped svg { transform: scaleX(-1); animation: none; }
.truck.flipped .puff { left: auto; right: 0; animation-name: puffR; }
@keyframes puffR { from { transform: translate(0,0) scale(.5); opacity: 1; } to { transform: translate(50px,-20px) scale(2.2); opacity: 0; } }

/* Marquee */
.marquee { background: var(--red); color: var(--cream); overflow: hidden; padding: 16px 0; transform: rotate(-1.5deg); margin: 24px -8px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 22s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 800; font-size: 1.75rem; white-space: nowrap; padding-right: .5em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
section h2 {
  font-family: var(--display); font-weight: 800; color: var(--plum);
  font-size: clamp(2.25rem, 6vw, 3.75rem); letter-spacing: -0.02em; margin: 0 0 8px;
}
.menu, .find { max-width: 1160px; margin: 0 auto; padding: 96px 16px 48px; }
.section-lede { margin: 0 0 40px; font-size: 1.1rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.card {
  position: relative; background: #fff; border: 3px solid var(--plum); border-radius: var(--radius);
  padding: 24px; box-shadow: 6px 6px 0 var(--plum);
  transition: transform .25s cubic-bezier(.2,1.4,.4,1), box-shadow .25s;
  transform-style: preserve-3d;
}
.card:nth-child(4n+1) { background: var(--yellow); }
.card:nth-child(4n+2) { background: var(--mint); }
.card:nth-child(4n+3) { background: #fff; }
.card:nth-child(4n+4) { background: #FBD3CF; }
.card-emoji { font-size: 2.5rem; display: inline-block; transition: transform .3s cubic-bezier(.2,1.6,.4,1); }
.card:hover .card-emoji { transform: scale(1.3) rotate(-12deg); }
.card h3 { font-family: var(--display); font-size: 1.6rem; margin: 12px 0 6px; color: var(--plum); }
.card p { margin: 0 0 20px; line-height: 1.5; }
.card-foot { display: flex; justify-content: space-between; align-items: center; }
.price { font-family: var(--display); font-weight: 800; font-size: 1.5rem; }
.heat { display: flex; gap: 2px; }
.heat i { font-style: normal; font-size: 1.1rem; filter: grayscale(1) opacity(.3); transition: filter .3s; }
.heat i.on { filter: none; }

/* Counter */
.counter-band {
  margin: 48px 16px; padding: 48px 16px; border-radius: var(--radius);
  background: var(--plum); color: var(--cream); text-align: center;
  max-width: 1128px; margin-inline: auto;
}
.counter-band p { margin: 0; font-weight: 600; }
.big-number {
  font-family: var(--display); font-weight: 800; color: var(--yellow);
  font-size: clamp(3rem, 12vw, 7rem); line-height: 1; margin-top: 8px !important;
  font-variant-numeric: tabular-nums;
}

/* Schedule */
.schedule { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.schedule li {
  display: flex; gap: 16px; align-items: center;
  padding: 16px 20px; border-radius: 14px; background: #fff; border: 2px solid rgba(85,58,69,.15);
  font-size: 1.05rem;
}
.schedule b { font-family: var(--display); width: 3ch; color: var(--red); }
.schedule li.today { background: var(--yellow); border-color: var(--plum); box-shadow: 4px 4px 0 var(--plum); }
.schedule li.today::after {
  content: "Today!"; margin-left: auto; padding: 4px 10px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: .8rem; font-weight: 600;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.12); } }

/* Footer */
.footer {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 48px 16px calc(48px + env(safe-area-inset-bottom));
  color: var(--plum); font-weight: 600;
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,1,.3,1); }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; text-align: left; padding-top: 24px; }
  .hero-logo { order: -1; width: min(70%, 300px); }
  .nav nav { gap: 14px; }
}

/* Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .word, .reveal { opacity: 1; transform: none; }
}
