/* ---------- Tokens ---------- */
:root {
  --cream: #FFF6EA;
  --cream-card: #FFFDF8;
  --ink: #2B1B12;
  --ink-soft: #6E5B4E;
  --pink: #FF4D8D;
  --mango: #FFA53D;
  --pistachio: #6FA85A;
  --lavender: #A972F2;

  --font-display: 'Baloo 2', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-hand: 'Caveat', cursive;

  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  overflow-x: hidden;
}
h1, h2, h3, .logo { font-family: var(--font-display); margin: 0; }
a { text-decoration: none; color: inherit; }

/* ---------- Floating color blobs ---------- */
.blobs { position: absolute; inset: 0; height: 900px; overflow: hidden; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; animation: drift 14s ease-in-out infinite; }
.blob-pink { width: 420px; height: 420px; background: var(--pink); top: -120px; left: -100px; }
.blob-mango { width: 380px; height: 380px; background: var(--mango); top: 60px; right: -140px; animation-delay: -4s; }
.blob-lav { width: 320px; height: 320px; background: var(--lavender); top: 420px; left: 40%; animation-delay: -8s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.08); }
}

/* ---------- Nav ---------- */
.nav {
  position: relative; z-index: 10;
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 24px;
}
.logo { font-size: 1.5rem; font-weight: 800; }
.logo span { color: var(--pink); }
.nav-links { display: flex; gap: 28px; font-weight: 500; }
.nav-links a:hover { color: var(--pink); }

.btn {
  display: inline-block; padding: 13px 24px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; transition: transform .2s ease, box-shadow .2s ease;
  border: none; cursor: pointer; font-family: var(--font-body);
}
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { transform: translateY(-2px) rotate(-1deg); }
.btn-secondary { background: var(--pink); color: #fff; }
.btn-secondary:hover { transform: translateY(-2px) rotate(1deg); box-shadow: 0 10px 24px rgba(255,77,141,.35); }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 60px 24px 90px; text-align: left; }
.eyebrow {
  display: inline-block; font-weight: 600; font-size: .9rem;
  background: #fff; padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(43,27,18,.08);
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; font-weight: 800; }
.wiggle { color: var(--pink); display: inline-block; }
.hero-sub { max-width: 480px; color: var(--ink-soft); font-size: 1.08rem; margin: 22px 0 30px; }

.floaty-tags { position: relative; height: 60px; margin-top: 20px; }
.tag {
  position: absolute; background: #fff; padding: 10px 18px; border-radius: 999px;
  font-family: var(--font-hand); font-size: 1.2rem; font-weight: 600; color: var(--ink);
  box-shadow: 0 6px 16px rgba(43,27,18,.1);
  animation: bob 5s ease-in-out infinite;
}
.tag-1 { left: 0; top: 0; color: var(--pink); animation-delay: 0s; }
.tag-2 { left: 190px; top: 20px; color: var(--pistachio); animation-delay: -1.6s; }
.tag-3 { left: 400px; top: -6px; color: var(--lavender); animation-delay: -3.2s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Menu ---------- */
.menu { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 40px 24px 100px; }
.section-head { max-width: 560px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.eyebrow-dark { background: transparent; padding: 0; box-shadow: none; color: var(--ink-soft); }

.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dish-card {
  background: var(--cream-card); border-radius: 22px; padding: 24px;
  cursor: pointer; border: none; text-align: left; width: 100%;
  box-shadow: 0 4px 16px rgba(43,27,18,.06);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column; gap: 10px;
}
.dish-card:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 16px 32px rgba(43,27,18,.14); }
.dish-top { height: 6px; border-radius: 4px; width: 46px; }
.dish-card h3 { font-size: 1.25rem; }
.dish-card p { color: var(--ink-soft); font-size: .92rem; margin: 0; flex-grow: 1; }
.dish-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.dish-price { font-weight: 700; }
.dish-cta { font-size: .85rem; font-weight: 600; color: var(--pink); }

/* ---------- About ---------- */
.about { position: relative; z-index: 1; background: var(--ink); color: var(--cream); border-radius: 32px; margin: 0 20px 60px; }
.about-inner { max-width: 680px; margin: 0 auto; padding: 80px 24px; text-align: center; }
.about h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 18px; }
.about p { color: #E8DCCF; }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 1; padding: 20px 24px 50px; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-inner p { color: var(--ink-soft); font-size: .9rem; }
.footer-links { display: flex; gap: 20px; font-weight: 500; }
.footer-links a:hover { color: var(--pink); }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(43,27,18,.5);
  display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--cream-card); border-radius: 26px; padding: 34px;
  max-width: 480px; width: 100%; max-height: 86vh; overflow-y: auto;
  position: relative; animation: pop .25s ease;
}
@keyframes pop { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-close {
  position: absolute; top: 18px; right: 18px; background: var(--cream);
  border: none; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: .9rem;
}
.modal-head { display: flex; align-items: center; justify-content: space-between; padding-right: 40px; }
.modal-head h3 { font-size: 1.5rem; }
.modal-price { font-weight: 700; color: var(--pink); font-size: 1.05rem; }
.modal-desc { color: var(--ink-soft); margin: 10px 0 18px; font-size: .95rem; }
.modal-eyebrow { font-family: var(--font-hand); font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 14px; }

.stack { display: flex; flex-direction: column-reverse; gap: 10px; }
.layer {
  display: flex; align-items: center; gap: 14px;
  border-radius: 14px; padding: 12px 16px; color: #fff;
  opacity: 0; transform: translateX(-14px);
  animation: slideIn .4s ease forwards;
}
.layer strong { display: block; font-family: var(--font-display); font-size: .98rem; }
.layer span { display: block; font-size: .82rem; opacity: .92; }
@keyframes slideIn { to { opacity: 1; transform: translateX(0); } }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .floaty-tags { display: none; }
}
@media (max-width: 560px) {
  .menu-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob, .tag { animation: none; }
  .layer { animation: none; opacity: 1; transform: none; }
  .dish-card, .btn { transition: none; }
}
