:root {
  --red: #c41e3a;
  --red-dark: #9e1830;
  --cream: #f6e8c9;
  --cream-soft: #fbf4e3;
  --green: #1f5c3f;
  --green-dark: #163f2b;
  --orange: #d9641e;
  --orange-dark: #b24e14;
  --ink: #2a1810;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c1 8 4 11 12 12-8 1-11 4-12 12-1-8-4-11-12-12 8-1 11-4 12-12z'/%3E%3C/svg%3E");
}

@property --gx { syntax: "<percentage>"; inherits: false; initial-value: 50%; }
@property --gy { syntax: "<percentage>"; inherits: false; initial-value: 0%; }

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--red) var(--cream);
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--ink);
  background: var(--cream-soft);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

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

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.hero :focus-visible, header :focus-visible, .menu-section :focus-visible { outline-color: var(--cream-soft); }
.card :focus-visible, .combo-item :focus-visible { outline-color: var(--ink); }

h1, h2, h3, .logo {
  font-family: "Fraunces", serif;
  font-weight: 900;
  line-height: 1;
  margin: 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Global overlay for confetti + cursor sprinkles */
.fx-layer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 70;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--red);
  border-bottom: 4px solid var(--cream);
  transition: box-shadow 0.25s ease;
}
header.scrolled { box-shadow: 0 8px 24px rgba(0,0,0,0.25); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1100px;
  margin: 0 auto;
  transition: padding 0.25s ease;
}
header.scrolled .nav { padding: 9px 24px; }

.logo {
  color: var(--cream);
  font-size: 1.6rem;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.nav .logo { align-items: center; gap: 4px; padding: 2px 0; transition: transform 0.4s var(--spring); }
.nav .logo:hover { transform: rotate(-3deg) scale(1.05); }
.logo img { display: block; height: auto; }
.logo-ovie { width: 48px; transform-origin: 50% 90%; }
.logo-word { width: 160px; }
/* Ovie does a little happy bounce on hover */
.nav .logo:hover .logo-ovie { animation: ovie-hop 0.6s var(--spring); }
@keyframes ovie-hop {
  0%, 100% { transform: translateY(0) rotate(0); }
  40% { transform: translateY(-6px) rotate(-8deg) scaleY(1.05); }
  70% { transform: translateY(0) rotate(4deg) scaleY(0.95); }
}
header.scrolled .logo-ovie { width: 40px; }
header.scrolled .logo-word { width: 132px; }
.logo-ovie, .logo-word { transition: width 0.25s ease; }
.footer-logo { display: block; margin: 0 auto 14px; width: 180px; height: auto; rotate: -3deg; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  position: relative;
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
/* invisible 44px tap area around short nav labels */
.nav-links a::before {
  content: "";
  position: absolute;
  inset: -11px -10px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--cream);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  color: var(--red-dark);
  font-weight: 700;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: transform 0.25s var(--spring), box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn-wa:hover { transform: translateY(-2px) rotate(-2deg); box-shadow: 0 8px 18px rgba(0,0,0,0.25); }
.btn-wa:active { transform: translateY(0) scale(0.97); }
.btn-wa svg { width: 18px; height: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background: var(--red);
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -60px;
  background-image:
    linear-gradient(45deg, rgba(246,232,201,0.07) 25%, transparent 25%, transparent 75%, rgba(246,232,201,0.07) 75%),
    linear-gradient(45deg, rgba(246,232,201,0.07) 25%, transparent 25%, transparent 75%, rgba(246,232,201,0.07) 75%);
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
  animation: checker-drift 18s linear infinite;
}
@keyframes checker-drift { to { transform: translate(60px, 60px); } }

.hero-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.9rem, 7vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.hero h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.hero h1 .line > span {
  display: inline-block;
  transform: translateY(105%) rotate(4deg);
  transform-origin: left bottom;
  animation: line-up 1s var(--out-expo) forwards;
}
.hero h1 .line:nth-child(1) > span { animation-delay: 0.05s; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.17s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.29s; }
@keyframes line-up { to { transform: translateY(0) rotate(0); } }
.hero h1 em {
  font-style: italic;
  color: var(--cream-soft);
  position: relative;
  display: inline-block;
}
/* hand-drawn underline swoosh under "oven," */
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 4%;
  bottom: -0.02em;
  height: 0.16em;
  background: var(--orange);
  border-radius: 50% 40% 60% 50% / 60% 50% 50% 40%;
  transform: scaleX(0) rotate(-2deg);
  transform-origin: left;
  animation: swoosh 0.7s var(--out-expo) 0.9s forwards;
  z-index: -1;
}
@keyframes swoosh { to { transform: scaleX(1) rotate(-2deg); } }

.hero p {
  color: var(--cream);
  font-size: 1.15rem;
  margin: 24px 0 32px;
  max-width: 480px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .delivery-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 16px 8px 12px;
  border: 1.5px dashed var(--cream);
  border-radius: 999px;
  font-size: 0.92rem;
  max-width: none;
  rotate: -1.5deg;
}
.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 22px;
}
.hero .delivery-note:nth-child(3) { rotate: 1deg; animation-delay: 0.84s; }
.delivery-note svg {
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}
.hero .diwali-note {
  background: var(--cream);
  color: var(--red-dark);
  border-color: var(--cream);
  text-decoration: none;
  rotate: 1deg;
  opacity: 0;
  animation: rise 0.9s var(--out-expo) 0.66s forwards;
  transition: transform 0.3s var(--spring);
}
.hero .diwali-note:hover { transform: scale(1.04); }
.hero p, .hero-ctas {
  opacity: 0;
  animation: rise 0.9s var(--out-expo) forwards;
}
.hero p { animation-delay: 0.45s; }
.hero-ctas { animation-delay: 0.58s; }
.hero .delivery-note { animation-delay: 0.72s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn-primary {
  background: var(--cream);
  color: var(--red-dark);
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s var(--spring), box-shadow 0.15s ease;
}
.btn-primary:hover { transform: translateY(-3px) rotate(-1.5deg); box-shadow: 0 10px 22px rgba(0,0,0,0.3); }
.btn-primary:active { transform: translateY(0) scale(0.97); }
.btn-ghost {
  border: 2px solid var(--cream);
  color: var(--cream);
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.15s ease, color 0.15s ease, transform 0.3s var(--spring);
}
.btn-ghost:hover { background: var(--cream); color: var(--red-dark); transform: translateY(-3px) rotate(1.5deg); }
.btn-ghost:active { transform: translateY(0) scale(0.97); }

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 900px;
  opacity: 0;
  animation: art-in 1.1s var(--out-expo) 0.25s forwards;
}
@keyframes art-in {
  from { opacity: 0; transform: translateY(40px) scale(0.92) rotate(6deg); }
  to { opacity: 1; transform: none; }
}
.hero-tilt {
  position: relative;
  width: 100%;
  max-width: 340px;
  transform: rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.6s var(--out-expo);
  cursor: pointer;
}
.hero-tilt img {
  display: block;
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  animation: float 5s ease-in-out 1.2s infinite;
}
@keyframes float {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-1deg) translateY(-14px); }
}

.hero-badge {
  position: absolute;
  width: 128px;
  height: 128px;
  left: -48px;
  bottom: 28px;
  transform: translateZ(60px) rotate(-12deg);
  filter: drop-shadow(0 10px 16px rgba(0,0,0,0.3));
}
.hero-badge .badge-bg { fill: var(--cream); }
.hero-badge text {
  font-family: "Anton", sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  fill: var(--red-dark);
}
.hero-badge .badge-ring {
  transform-origin: 60px 60px;
  animation: spin 14s linear infinite;
}
.hero-badge .badge-star { fill: var(--orange); transform-origin: 60px 60px; animation: twinkle 2.4s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.sparkle {
  position: absolute;
  fill: var(--cream);
  pointer-events: none;
  animation: twinkle 2.8s ease-in-out infinite;
}
.sparkle.s1 { width: 34px; top: -14px; right: 6%; }
.sparkle.s2 { width: 18px; top: 22%; right: -2%; fill: var(--orange); animation-delay: 0.9s; }
.sparkle.s3 { width: 24px; bottom: -6px; right: 18%; animation-delay: 1.6s; }
@keyframes twinkle {
  0%, 100% { transform: scale(0.6) rotate(0deg); opacity: 0.5; }
  50% { transform: scale(1.1) rotate(45deg); opacity: 1; }
}

/* ---------- Ticker ---------- */
.ticker {
  --row: 14px;
  position: relative;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  padding: calc(var(--row) * 2 + 14px) 0;
  white-space: nowrap;
  z-index: 2;
}
/* two rows of the four-colour checker from the menu cover */
.ticker::before, .ticker::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: calc(var(--row) * 2);
  background:
    repeating-linear-gradient(90deg, var(--red) 0 var(--row), var(--cream) 0 calc(var(--row) * 2), var(--green) 0 calc(var(--row) * 3), var(--orange) 0 calc(var(--row) * 4)) 0 0 / 100% var(--row) no-repeat,
    repeating-linear-gradient(90deg, var(--green) 0 var(--row), var(--orange) 0 calc(var(--row) * 2), var(--red) 0 calc(var(--row) * 3), var(--cream) 0 calc(var(--row) * 4)) 0 100% / 100% var(--row) no-repeat;
}
.ticker::before { top: 0; }
.ticker::after { bottom: 0; }
.ticker-track {
  display: inline-flex;
  animation: ticker 38s linear infinite;
}
.ticker-reverse .ticker-track { animation-direction: reverse; }
.ticker-track span {
  display: inline-flex;
  align-items: center;
  font-family: "Anton", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ticker-track span:nth-child(even) {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 900;
  text-transform: none;
  letter-spacing: 0;
}
.ticker-track span::after {
  content: "";
  width: 0.7em;
  height: 0.7em;
  margin: 0 0.7em;
  background: var(--orange);
  -webkit-mask: var(--sparkle) center / contain no-repeat;
  mask: var(--sparkle) center / contain no-repeat;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Section shells ---------- */
.menu-section {
  position: relative;
  padding: 96px 0 88px;
  overflow: hidden;
}
.menu-section.red { background: var(--red); color: var(--cream); }
.menu-section.green { background: var(--green); color: var(--cream); }
.menu-section.orange { background: var(--orange); color: var(--cream-soft); }

.section-head {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 56px;
}
.section-label {
  font-family: "Anton", sans-serif;
  font-size: clamp(3rem, 11vw, 6rem);
  letter-spacing: 0.03em;
  line-height: 0.9;
  -webkit-text-stroke: 2px var(--cream);
  color: transparent;
  margin: 0;
  white-space: nowrap;
  transition: color 0.4s ease;
}
.section-head:hover .section-label { color: var(--cream); }
.section-sub {
  font-size: 1.05rem;
  max-width: 420px;
  padding-bottom: 12px;
  margin: 0;
}

.corner-checker {
  position: absolute;
  width: 180px;
  height: 130px;
  background-image:
    linear-gradient(45deg, var(--cream) 25%, transparent 25%, transparent 75%, var(--cream) 75%),
    linear-gradient(45deg, var(--cream) 25%, transparent 25%, transparent 75%, var(--cream) 75%);
  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
  opacity: 0.9;
}
.corner-checker.tr { top: 0; right: 0; clip-path: polygon(100% 0, 0 0, 100% 100%); }
.corner-checker.bl { bottom: 0; left: 0; clip-path: polygon(0 100%, 0 0, 100% 100%); }

/* Scroll-scrubbed parallax where supported; static otherwise */
@supports (animation-timeline: view()) {
  .section-label {
    animation: label-slide linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 45%;
  }
  @keyframes label-slide {
    from { transform: translateX(-18%) skewX(-8deg); letter-spacing: 0.2em; }
    to { transform: none; letter-spacing: 0.03em; }
  }
  .corner-checker {
    animation: checker-par linear both;
    animation-timeline: view();
  }
  @keyframes checker-par {
    from { transform: translateY(60px); }
    to { transform: translateY(-60px); }
  }
  .card-photo-wrap img {
    scale: 1.12;
    animation: photo-par linear both;
    animation-timeline: view();
  }
  @keyframes photo-par {
    from { translate: 0 -6%; }
    to { translate: 0 6%; }
  }
  .combo-vertical {
    animation: combo-par linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
  @keyframes combo-par {
    from { translate: 0 -80px; }
    to { translate: 0 80px; }
  }
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px 28px;
  position: relative;
}

.card {
  --rx: 0deg;
  --ry: 0deg;
  --lift: 0px;
  position: relative;
  background: var(--cream-soft);
  color: var(--ink);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 32px rgba(0,0,0,0.18);
  transition: box-shadow 0.3s ease;
}
/* pointer glare, positioned by script.js */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,0.55), transparent 55%);
  mix-blend-mode: soft-light;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.card:hover { --lift: -10px; box-shadow: 0 30px 50px rgba(0,0,0,0.3); }
.card:hover::after { opacity: 1; }
.card.reveal.in-view {
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift));
}
.card-photo-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 16px;
  background: var(--cream);
}
.card-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--out-expo);
}
.card:hover .card-photo-wrap img { transform: scale(1.1) rotate(-1.5deg); }
.card h3 {
  font-size: 1.3rem;
  line-height: 1.1;
  margin-bottom: 8px;
}

/* Price as a stamped sticker */
.price {
  font-weight: 700;
  color: var(--red-dark);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.card .price {
  align-self: flex-start;
  background: var(--red);
  color: var(--cream-soft);
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 1rem;
  transform: rotate(-3deg);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  margin: 2px 0 12px;
  transition: transform 0.4s var(--spring);
}
.card:hover .price { transform: rotate(2deg) scale(1.08); }
.green .card .price { background: var(--green); }

.card p.desc {
  font-size: 0.92rem;
  margin: 0 0 12px;
  flex-grow: 1;
  color: #5a4337;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.badge {
  border: 1.5px solid var(--red);
  color: var(--red-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  transition: transform 0.3s var(--spring), background 0.15s ease, color 0.15s ease;
}
.badge:hover { background: var(--red); color: var(--cream-soft); transform: translateY(-2px) rotate(-3deg); }

.order-btn {
  align-self: flex-start;
  background: var(--red);
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  min-height: 44px;
  padding: 9px 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.3s var(--spring), box-shadow 0.15s ease, padding 0.3s var(--out-expo);
}
/* little arrow slides in on hover */
.order-btn::after {
  content: "";
  display: inline-block;
  height: 1em;
  background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat;
  mask: var(--arrow) center / contain no-repeat;
  width: 0;
  opacity: 0;
  overflow: hidden;
  transition: width 0.3s var(--out-expo), opacity 0.2s ease;
}
.order-btn:hover::after { width: 1em; opacity: 1; }
.order-btn:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 8px 16px rgba(0,0,0,0.25); }
.order-btn:active { transform: translateY(0) scale(0.94); }
.green .order-btn { background: var(--green-dark); }

/* Pack buttons: the pack is the main action, a single piece is the fallback link */
.buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.buy .order-btn, .combo-item .order-btn { white-space: nowrap; }
.order-btn .save {
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--cream-soft);
  color: var(--red-dark);
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 2px;
}
.green .order-btn .save { color: var(--green-dark); }
.orange .order-btn .save { color: var(--orange-dark); }
.order-btn.order-btn-outline {
  background: transparent;
  color: var(--red-dark);
  box-shadow: inset 0 0 0 2px var(--red);
}
.order-btn.order-btn-outline .save { background: var(--red); color: var(--cream-soft); }
.green .order-btn.order-btn-outline { color: var(--green-dark); box-shadow: inset 0 0 0 2px var(--green-dark); }
.green .order-btn.order-btn-outline .save { background: var(--green-dark); color: var(--cream-soft); }
.order-alt {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex-basis: 100%; /* always its own line, under the pack buttons */
  margin-top: -6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #5a4337;
  text-decoration: underline;
  text-decoration-color: rgba(90, 67, 55, 0.4);
  text-underline-offset: 4px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.order-alt:hover { color: var(--ink); text-decoration-color: currentColor; }
.tag-sameday {
  align-self: flex-start;
  background: var(--green);
  color: var(--cream-soft);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.orange .order-btn { background: var(--orange-dark); color: var(--cream-soft); }

.option-row {
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: #5a4337;
}
.option-row strong { color: var(--ink); }

/* ---------- Diwali hampers ---------- */
.menu-section.festive { background: var(--ink); color: var(--cream); padding-top: 120px; }
/* string of festive lights: two sets of bulbs that twinkle in turn */
.lights {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 30px;
  border-top: 2px solid rgba(246, 232, 201, 0.25);
}
.lights::before, .lights::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 55%, var(--orange) 0 6px, transparent 7px) 0 0 / 48px 30px repeat-x;
  filter: drop-shadow(0 0 6px var(--orange));
  animation: bulbs 1.6s ease-in-out infinite;
}
.lights::after {
  background: radial-gradient(circle at 50% 55%, var(--cream) 0 5px, transparent 6px) 24px 0 / 48px 30px repeat-x;
  filter: drop-shadow(0 0 6px var(--cream));
  animation-delay: 0.8s;
}
@keyframes bulbs {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
.festive .sparkle { fill: var(--orange); }
.festive .sparkle.f1 { width: 30px; top: 90px; right: 12%; }
.festive .sparkle.f2 { width: 18px; top: 46%; left: 3%; fill: var(--cream); animation-delay: 0.8s; }
.festive .sparkle.f3 { width: 24px; bottom: 60px; right: 4%; animation-delay: 1.5s; }
.festive .section-label { -webkit-text-stroke-color: var(--orange); }
.festive .section-head:hover .section-label, .festive .section-head.is-active .section-label { color: var(--orange); }

.hamper { padding-top: 22px; }
.hamper.featured { outline: 3px solid var(--orange); outline-offset: 4px; }
.hamper-pick {
  position: absolute;
  top: -14px;
  right: 18px;
  background: var(--orange);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 999px;
  rotate: 4deg;
  z-index: 1;
}
.hamper-thumbs { display: flex; margin-bottom: 16px; }
.hamper-thumbs img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--cream-soft);
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
  margin-right: -18px;
  transition: transform 0.4s var(--spring);
}
.hamper-thumbs img:nth-child(odd) { rotate: -6deg; }
.hamper-thumbs img:nth-child(even) { rotate: 5deg; translate: 0 6px; }
.hamper:hover .hamper-thumbs img, .hamper.is-active .hamper-thumbs img { transform: translateY(-6px); }
.hamper:hover .hamper-thumbs img:nth-child(2), .hamper.is-active .hamper-thumbs img:nth-child(2) { transition-delay: 0.05s; }
.hamper:hover .hamper-thumbs img:nth-child(3), .hamper.is-active .hamper-thumbs img:nth-child(3) { transition-delay: 0.1s; }
.hamper:hover .hamper-thumbs img:nth-child(4), .hamper.is-active .hamper-thumbs img:nth-child(4) { transition-delay: 0.15s; }
.hamper-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  flex-grow: 1;
  font-size: 0.9rem;
  color: #5a4337;
}
.hamper-list li {
  display: flex;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(90, 67, 55, 0.25);
}
.hamper-list li::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  margin-top: 4px;
  background: var(--orange);
  -webkit-mask: var(--sparkle) center / contain no-repeat;
  mask: var(--sparkle) center / contain no-repeat;
}
.hamper-list li:last-child { border-bottom: 0; color: var(--ink); font-weight: 600; }
.hamper-note { margin: 40px 0 0; font-size: 1rem; }
.hamper-note a { color: var(--orange); font-weight: 700; text-underline-offset: 4px; }

/* ---------- Combos as tear-off tickets ---------- */
.combo-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: start;
}
.combo-vertical {
  font-family: "Anton", sans-serif;
  font-size: clamp(3rem, 11vw, 6rem);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.06em;
  -webkit-text-stroke: 2px var(--cream-soft);
  color: transparent;
}
.combo-groups {
  display: grid;
  gap: 40px;
}
.combo-groups > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  align-items: start;
  /* mask on the tickets clips box-shadow, so shadow the group instead */
  filter: drop-shadow(0 12px 16px rgba(0,0,0,0.2));
}
.combo-pill {
  grid-column: 1 / -1;
  justify-self: start;
  background: var(--cream-soft);
  color: var(--orange-dark);
  border-radius: 999px;
  padding: 6px 18px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  rotate: -2deg;
}
.combo-item {
  position: relative;
  background: var(--cream-soft);
  color: var(--ink);
  padding: 22px 26px 22px;
  border-radius: 10px;
  /* punched notches down both sides like a raffle ticket */
  -webkit-mask:
    radial-gradient(circle 9px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 9px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  mask:
    radial-gradient(circle 9px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 9px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  rotate: -1.2deg;
}
.combo-item:nth-of-type(even) { rotate: 1deg; }
.combo-item.reveal { transition: opacity 0.8s var(--out-expo), transform 0.5s var(--spring), rotate 0.5s var(--spring); }
.combo-item.reveal.in-view:hover { rotate: 0deg; transform: translateY(-6px) scale(1.02); }
.combo-item h3 {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-style: italic;
  font-size: 1.6rem;
  margin: 0 0 8px;
}
.combo-item .price {
  display: inline-block;
  background: var(--orange-dark);
  color: var(--cream-soft);
  padding: 3px 11px;
  border-radius: 8px;
  transform: rotate(-3deg);
}
.combo-item p {
  margin: 4px 0 14px;
  font-size: 0.92rem;
  color: #5a4337;
}
.combo-item:has(.combo-tiers) { grid-column: 1 / -1; }
.combo-tiers {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
  position: relative;
}
.combo-tier {
  background: var(--cream-soft);
  border: 1.5px dashed var(--orange-dark);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.82rem;
  text-align: center;
  transition: transform 0.3s var(--spring), background 0.15s ease;
}
.combo-tier:hover { transform: translateY(-3px) rotate(-2deg); background: var(--cream); }
.combo-tier b { display: block; font-size: 1.05rem; margin-top: 4px; color: var(--orange-dark); }
.combo-item .order-btn { position: relative; }

/* ---------- Visit ---------- */
.visit {
  background: var(--cream-soft);
  padding: 96px 0;
  text-align: center;
}
.visit h2 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--red);
  margin-bottom: 18px;
  text-wrap: balance;
}
.visit p {
  max-width: 560px;
  margin: 0 auto 36px;
  color: #5a4337;
  font-size: 1.05rem;
}
.visit .visit-delivery {
  display: inline-block;
  max-width: 520px;
  background: var(--cream);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 14px;
  font-size: 0.95rem;
  rotate: -1deg;
  margin-top: -12px;
}
.visit .visit-delivery strong { color: var(--red-dark); }
.btn-big {
  background: var(--red);
  color: var(--cream);
  font-size: 1.1rem;
  padding: 18px 34px;
  box-shadow: 0 12px 26px rgba(196, 30, 58, 0.3);
  animation: nudge 3.2s ease-in-out 1s infinite;
}
.btn-big:hover { animation: none; }
@keyframes nudge {
  0%, 86%, 100% { transform: rotate(0); }
  89% { transform: rotate(-4deg) scale(1.04); }
  92% { transform: rotate(3deg) scale(1.04); }
  95% { transform: rotate(-2deg); }
}

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: var(--cream);
  padding: 40px 0 28px;
  text-align: center;
}

footer p { color: #c9b9a0; font-size: 0.85rem; margin: 6px 0 0; }

/* ---------- Floating WhatsApp ---------- */
.fab-wa {
  position: fixed;
  bottom: calc(22px + env(safe-area-inset-bottom));
  right: calc(22px + env(safe-area-inset-right));
  z-index: 60;
  background: #25d366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.3), 0 0 0 0 rgba(37,211,102,0.6);
  text-decoration: none;
  transition: transform 0.3s var(--spring);
  animation: pulse 2.4s ease-in-out infinite;
}
.fab-wa:hover { transform: scale(1.12) rotate(-8deg); }
.fab-wa:active { transform: scale(0.95); }
.fab-wa svg { width: 28px; height: 28px; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(0,0,0,0.3), 0 0 0 0 rgba(37,211,102,0.55); }
  50% { box-shadow: 0 10px 24px rgba(0,0,0,0.3), 0 0 0 10px rgba(37,211,102,0); }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--out-expo), transform 0.8s var(--out-expo);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* tilt follows the pointer quickly; reveal stays slow */
.card.reveal { transition: opacity 0.8s var(--out-expo), transform 0.5s var(--out-expo), box-shadow 0.3s ease; }
.card.reveal.tilting { transition: opacity 0.8s var(--out-expo), transform 0.12s linear, box-shadow 0.3s ease; }

.grid .card:nth-child(2) { transition-delay: 0.08s; }
.grid .card:nth-child(3) { transition-delay: 0.16s; }
.grid .card:nth-child(4) { transition-delay: 0.24s; }
.grid .card:nth-child(5) { transition-delay: 0.32s; }
.grid .card.in-view { transition-delay: 0s; }

/* ---------- Tablet (portrait) + phone landscape ---------- */
@media (max-width: 860px) {
  .hero { padding: 56px 0 80px; }
  .hero-inner { grid-template-columns: 1.35fr 0.65fr; gap: 28px; }
  .hero-tilt { max-width: 240px; }
  .hero-badge { width: 96px; height: 96px; left: -36px; bottom: 16px; }
  .nav-toggle { display: flex; }
  .btn-wa { margin-left: auto; margin-right: 6px; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--red);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 16px 24px rgba(0,0,0,0.2);
  }
  .nav-links.open { max-height: 300px; }
  .nav-links a {
    display: block;
    padding: 14px 24px;
    border-top: 1px solid rgba(246,232,201,0.2);
  }
  .nav-links a::before, .nav-links a::after { display: none; }
  .menu-section { padding: 80px 0 72px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 40px; }
  .combo-layout { grid-template-columns: 1fr; gap: 24px; }
  .combo-vertical { writing-mode: horizontal-tb; transform: none; font-size: clamp(3rem, 14vw, 4.5rem); animation: none; translate: none; }
  .corner-checker { width: 120px; height: 86px; }
}

/* ---------- Phone (portrait) ---------- */
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav { padding: 10px 16px; }
  .logo-ovie, header.scrolled .logo-ovie { width: 34px; }
  .logo-word, header.scrolled .logo-word { width: 108px; }
  header.scrolled .nav { padding: 6px 16px; }
  .hero { padding: 36px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { order: -1; }
  .hero-tilt { max-width: 170px; }
  .hero-badge { width: 84px; height: 84px; left: -34px; bottom: 10px; }
  .hero p { font-size: 1.05rem; margin: 20px 0 28px; }
  .hero .delivery-note { border-radius: 16px; font-size: 0.88rem; line-height: 1.4; rotate: -1deg; }
  .hero-ctas { gap: 12px; }
  .hero-ctas a { flex: 1 1 auto; justify-content: center; text-align: center; white-space: nowrap; }
  .menu-section { padding: 64px 0 56px; }
  .grid { gap: 24px; }
  .combo-item { padding: 20px 22px; }
  .visit { padding: 72px 0; }
  .btn-big { width: 100%; justify-content: center; }
  footer { padding-bottom: 96px; } /* clear the floating WhatsApp button */
}

/* Very narrow phones (320px): let the save tag drop under the label */
@media (max-width: 359px) {
  .logo .logo-word { display: none; } /* Ovie alone on the tiniest phones */
  .buy .order-btn, .combo-item .order-btn { flex-wrap: wrap; justify-content: center; row-gap: 4px; padding-block: 8px; }
}

/* Touch screens: a tap shouldn't leave hover lifts stuck on */
@media (hover: none) {
  .card:hover { --lift: 0px; box-shadow: 0 16px 32px rgba(0,0,0,0.18); }
  .card:hover::after { opacity: 0; }
  .card:hover .card-photo-wrap img { transform: none; }
  .card:hover .price { transform: rotate(-3deg); }
  .combo-item.reveal.in-view:hover { transform: none; rotate: -1.2deg; }
  .combo-item.reveal.in-view:nth-of-type(even):hover { rotate: 1deg; }
  .combo-tier:hover { transform: none; background: var(--cream-soft); }
  .order-btn:hover::after { width: 0; opacity: 0; }
  .order-btn:hover, .btn-wa:hover, .btn-primary:hover, .btn-ghost:hover, .badge:hover, .fab-wa:hover { transform: none; }
  .btn-ghost:hover { background: transparent; color: var(--cream); }
  .badge:hover { background: transparent; color: var(--red-dark); }
  .section-head:hover .section-label { color: transparent; }
  .section-label { transition: color 0.6s var(--out-expo); }
  .card:active { --lift: -4px; }
  .btn-big:hover { animation: nudge 3.2s ease-in-out 1s infinite; }

  /* No hover on phones: whatever scrolls through the middle of the screen
     gets the "hover" look instead (toggled by script.js) */
  .card.reveal { transition: opacity 0.8s var(--out-expo), transform 0.5s var(--out-expo), scale 0.6s var(--spring), box-shadow 0.3s ease; }
  .card.is-active { --lift: -10px; scale: 1.03; box-shadow: 0 30px 50px rgba(0,0,0,0.3); }
  .card.is-active::after { opacity: 1; animation: glare-sweep 1.4s var(--out-expo) forwards; }
  .card.is-active .card-photo-wrap img { transform: scale(1.08) rotate(-1.5deg); }
  .card.is-active .price { transform: rotate(3deg) scale(1.12); }
  .card.is-active .order-btn::after { width: 1em; opacity: 1; }
  .card.is-active .order-btn { animation: nudge-once 0.6s var(--spring) 0.3s; }
  .combo-item.reveal.in-view.is-active { rotate: 0deg; transform: translateY(-6px) scale(1.03); }
  .section-head.is-active .section-label { color: var(--cream); }
  .combo-vertical.is-active { color: var(--cream-soft); }

  /* the cover sways by itself since there's no cursor to follow */
  .hero-tilt { animation: sway 7s ease-in-out infinite; }
}
@keyframes glare-sweep {
  from { --gx: -20%; --gy: -20%; }
  to { --gx: 80%; --gy: 70%; }
}
@keyframes nudge-once {
  0%, 100% { rotate: 0deg; }
  30% { rotate: -5deg; scale: 1.06; }
  60% { rotate: 4deg; }
}
@keyframes sway {
  0%, 100% { transform: rotateY(-14deg) rotateX(5deg); }
  50% { transform: rotateY(14deg) rotateX(-5deg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-fx, .fx-layer { display: none; }
}
