:root {
  --ink: #120c08;
  --wood-1: #2b1a10;
  --wood-2: #3a2416;
  --wood-3: #5a3820;
  --navy: #1c3557;
  --navy-deep: #0f1f36;
  --gold: #f6c21c;
  --gold-deep: #d99a0b;
  --brass: #c89b4a;
  --pink: #ff4fb0;
  --red: #d8262b;
  --cream: #fbf3e4;
  --muted: #d8c7ae;
  --card: rgba(24, 14, 8, 0.78);
  --line: rgba(246, 194, 28, 0.22);
  --f-logo: "Abril Fatface", Georgia, serif;
  --f-script: "Yellowtail", cursive;
  --f-neon: "Pacifico", cursive;
  --f-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, sans-serif;
  --top-h: 112px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 8px); }
body {
  margin: 0;
  color: var(--cream);
  font-family: var(--f-body);
  background-color: var(--ink);
  /* dark wood planks */
  background-image:
    linear-gradient(180deg, rgba(10, 6, 3, 0.55), rgba(10, 6, 3, 0.85)),
    repeating-linear-gradient(90deg,
      var(--wood-1) 0 2px, var(--wood-2) 2px 54px, #321e12 54px 58px, var(--wood-2) 58px 112px);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
body.is-intro { overflow: hidden; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

/* ---------- shared bits ---------- */
.neon {
  font-family: var(--f-neon);
  color: #ffe2f3;
  margin: 0;
  text-shadow:
    0 0 4px #fff, 0 0 10px var(--pink), 0 0 22px var(--pink), 0 0 42px var(--pink);
}
.neon-sm { font-size: 1.6rem; }

.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  padding: 6px 16px 5px;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: #2a1606;
  white-space: nowrap;
  background: var(--gold);
  /* rough brush-stroke edges */
  clip-path: polygon(3% 12%, 18% 4%, 40% 9%, 63% 2%, 86% 8%, 99% 3%, 96% 40%, 100% 72%, 94% 96%, 70% 91%, 46% 98%, 22% 92%, 2% 97%, 5% 60%, 0% 34%);
  transform: rotate(-3deg);
}
.price-tag small { font-size: 0.7em; font-weight: 700; }

/* ---------- INTRO ---------- */
#intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--navy-deep);
  transition: transform 0.9s cubic-bezier(0.7, 0, 0.2, 1), opacity 0.9s ease;
}
#intro.leave { transform: translateY(-100%); opacity: 0.6; }
#intro.gone { display: none; }

.wall {
  position: absolute; inset: 0 0 26% 0;
  background:
    radial-gradient(120% 70% at 50% 35%, #27477a 0%, var(--navy) 45%, var(--navy-deep) 100%);
}
.wainscot {
  position: absolute; inset: 74% 0 0 0;
  background:
    linear-gradient(180deg, #e0b98c 0 6px, #9a6b45 6px 9px, transparent 9px),
    linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.55)),
    repeating-linear-gradient(90deg, #b9875f 0 7px, #a4734c 7px 9px, #c79671 9px 14px);
  box-shadow: 0 -20px 40px rgba(0,0,0,0.35);
}

.lamp {
  position: absolute; top: 9%;
  width: clamp(70px, 20vw, 130px);
  transform-origin: 10% 25%;
  opacity: 0;
  animation: lampIn 0.9s 0.1s cubic-bezier(0.3, 1.4, 0.5, 1) forwards;
}
.lamp-l { left: 3%; }
.lamp-r { right: 3%; transform: scaleX(-1); animation-name: lampInR; }
.lamp .bulb { fill: #3b2a14; animation: bulbOn 1.4s 0.7s steps(1) forwards; }
.glow {
  position: absolute; top: 14%;
  width: 60vw; height: 60vw; max-width: 460px; max-height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 190, 90, 0.45), rgba(255, 160, 60, 0.12) 40%, transparent 68%);
  opacity: 0;
  animation: glowOn 1.4s 0.7s steps(1) forwards, breathe 4s 2.2s ease-in-out infinite;
  pointer-events: none;
}
.glow-l { left: -14vw; }
.glow-r { right: -14vw; }

@keyframes lampIn { from { opacity: 0; transform: translateY(-40px) rotate(-14deg); } to { opacity: 1; transform: none; } }
@keyframes lampInR { from { opacity: 0; transform: scaleX(-1) translateY(-40px) rotate(-14deg); } to { opacity: 1; transform: scaleX(-1); } }
@keyframes bulbOn { 0% { fill: #3b2a14; } 12% { fill: #ffe7a8; } 22% { fill: #3b2a14; } 34%, 100% { fill: #fff1c4; filter: drop-shadow(0 0 8px #ffc56b); } }
@keyframes glowOn { 0% { opacity: 0; } 12% { opacity: 1; } 22% { opacity: 0; } 34%, 100% { opacity: 1; } }
@keyframes breathe { 50% { transform: scale(1.06); } }

.sign {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 16px;
  margin-top: -6vh;
}
.sign .neon {
  font-size: clamp(2rem, 9vw, 3.6rem);
  opacity: 0;
  animation: neonFlicker 1.6s 1.9s forwards;
}
@keyframes neonFlicker {
  0% { opacity: 0; } 8% { opacity: 1; } 12% { opacity: 0.1; } 20% { opacity: 1; }
  24% { opacity: 0.3; } 30%, 100% { opacity: 1; }
}

.logo { margin: 8px 0 0; font-weight: normal; line-height: 1; }
.logo-main {
  display: block;
  font-family: var(--f-logo);
  font-size: clamp(3.6rem, 21vw, 10rem);
  letter-spacing: 0.01em;
  color: #cfc4d6;
}
.logo-main b {
  display: inline-block;
  font-weight: normal;
  opacity: 0;
  /* backlit halo like the street sign */
  text-shadow: 0 2px 0 #8d8299, 0 4px 0 #6d6278, 0 0 18px rgba(255, 170, 70, 0.75), 0 0 46px rgba(255, 140, 40, 0.45);
  animation: letterIn 0.7s cubic-bezier(0.2, 1.3, 0.4, 1) forwards;
}
.logo-main b:nth-child(1) { animation-delay: 0.55s; }
.logo-main b:nth-child(2) { animation-delay: 0.68s; }
.logo-main b:nth-child(3) { animation-delay: 0.81s; font-size: 0.86em; }
.logo-main b:nth-child(4) { animation-delay: 0.94s; font-size: 0.86em; }
@keyframes letterIn { from { opacity: 0; transform: translateY(40px) scale(0.6); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.logo-sub {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-top: -0.25em;
}
.logo-sub em {
  font-family: var(--f-script);
  font-style: normal;
  font-size: clamp(2.6rem, 12vw, 4.4rem);
  color: #ece6f2;
  text-shadow: 0 0 14px rgba(255, 170, 70, 0.6);
  clip-path: inset(0 100% 0 0);
  animation: write 0.9s 1.25s ease-out forwards;
}
.logo-sub .dash {
  display: block; width: clamp(28px, 9vw, 54px); height: 5px; border-radius: 3px;
  background: #ece6f2;
  box-shadow: 0 0 10px rgba(255, 170, 70, 0.7);
  transform: scaleX(0);
  animation: dash 0.5s 1.9s ease-out forwards;
}
@keyframes write { to { clip-path: inset(0 0 0 0); } }
@keyframes dash { to { transform: scaleX(1); } }

.tagline {
  margin: 18px 0 0;
  font-family: var(--f-head);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp 0.8s 2.5s forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.enter {
  position: absolute; z-index: 3;
  bottom: calc(7% + env(safe-area-inset-bottom));
  left: 50%;
  padding: 15px 30px;
  border: 0;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2a1606;
  background: var(--gold);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(246, 194, 28, 0.35), inset 0 -3px 0 var(--gold-deep);
  cursor: pointer;
  opacity: 0;
  transform: translate(-50%, 20px);
  animation: enterIn 0.7s 2.8s forwards, pulse 2s 3.6s ease-in-out infinite;
}
@keyframes enterIn { to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes pulse { 50% { box-shadow: 0 8px 44px rgba(246, 194, 28, 0.65), inset 0 -3px 0 var(--gold-deep); } }

/* intro steam behind the logo */
.intro-smoke { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.intro-smoke i {
  position: absolute; bottom: 22%;
  width: 34vw; max-width: 260px; aspect-ratio: 0.7;
  border-radius: 48% 52% 44% 56%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.16), transparent);
  animation: steam 7s linear infinite;
  opacity: 0;
}
.intro-smoke i:nth-child(1) { left: 18%; animation-delay: 0.4s; }
.intro-smoke i:nth-child(2) { left: 42%; animation-delay: 2.1s; }
.intro-smoke i:nth-child(3) { left: 62%; animation-delay: 3.6s; }
.intro-smoke i:nth-child(4) { left: 30%; animation-delay: 5.2s; }
@keyframes steam {
  0% { opacity: 0; transform: translateY(0) scale(0.5) rotate(0); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-70vh) scale(1.8) rotate(40deg); }
}

/* ---------- HEADER ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  padding: calc(10px + env(safe-area-inset-top)) 0 10px;
  background: linear-gradient(180deg, #0e0905, #140d07);
  will-change: transform;
  border-bottom: 1px solid var(--line);
}
.mini-logo {
  display: flex; align-items: baseline; justify-content: center; gap: 6px;
  text-decoration: none; color: #d9cfe0;
}
.mini-logo span { font-family: var(--f-logo); font-size: 1.9rem; text-shadow: 0 0 14px rgba(255, 160, 60, 0.5); }
.mini-logo em, .foot-logo em { font-family: var(--f-script); font-style: normal; font-size: 1.5rem; color: var(--gold); }

.chips {
  display: flex; gap: 8px;
  margin-top: 8px;
  padding: 2px 16px 4px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  scroll-snap-align: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.chip.active { background: var(--gold); color: #2a1606; border-color: var(--gold); }

/* ---------- HERO ---------- */
main { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.hero { text-align: center; padding: 34px 0 10px; }
.hero h2 {
  margin: 6px 0 4px;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(2.4rem, 11vw, 4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}
.hero-sub { margin: 0; font-family: var(--f-script); font-size: 1.6rem; color: var(--gold); }

.formule {
  display: flex; align-items: center; gap: 14px;
  max-width: 520px;
  margin: 24px auto 0;
  padding: 12px 14px;
  text-align: left;
  border-radius: 18px;
  background: linear-gradient(110deg, rgba(246, 194, 28, 0.18), rgba(216, 38, 43, 0.14));
  border: 1px dashed rgba(246, 194, 28, 0.55);
}
.formule img { width: 62px; height: 62px; object-fit: cover; border-radius: 12px; }
.formule div { flex: 1; display: grid; gap: 2px; }
.formule strong { font-family: var(--f-head); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gold); }
.formule span { font-size: 0.9rem; color: var(--muted); }

/* ---------- SECTIONS ---------- */
.cat { padding: 40px 0 6px; }
.cat-title {
  position: relative;
  display: block;
  width: fit-content;
  margin: 0 auto 22px;
  padding: 14px 40px 12px;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 7vw, 2rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #2a1606;
  /* tiled roof sign, like the menu boards */
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,0.13) 0 2px, transparent 2px 26px),
    repeating-linear-gradient(180deg, rgba(0,0,0,0.16) 0 2px, transparent 2px 13px),
    var(--tile, var(--gold));
  clip-path: polygon(9% 0, 91% 0, 100% 100%, 0 100%);
  text-shadow: 0 1px 0 rgba(255,255,255,0.35);
}
.cat-title.red { --tile: var(--red); color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,0.3); }
.cat-note { text-align: center; margin: -10px 0 20px; color: var(--muted); font-size: 0.95rem; }

.grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  display: grid;
  grid-template-columns: 42% 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px 10px 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  background: var(--card);
  text-align: left;
  cursor: pointer;
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1), border-color 0.3s;
}
.card.shown { opacity: 1; transform: none; }
.card:active { transform: scale(0.98); }
.card:hover { border-color: var(--line); }

.media { position: relative; aspect-ratio: 4 / 3; }
.media img {
  width: 100%; height: 100%;
  object-fit: contain;
  -webkit-mask-image: radial-gradient(ellipse 62% 60% at 50% 52%, #000 50%, transparent 100%);
          mask-image: radial-gradient(ellipse 62% 60% at 50% 52%, #000 50%, transparent 100%);
}
/* gentle float only in the detail sheet (keeps list scrolling smooth) */
.sheet .media img { animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-3px) scale(1.015); } }

/* rising steam over hot food */
.smoke { position: absolute; inset: -30% 10% 30%; pointer-events: none; }
.smoke i {
  position: absolute; bottom: 0; left: var(--x, 50%);
  width: 36%; aspect-ratio: 0.6;
  border-radius: 46% 54% 40% 60% / 60% 50% 50% 40%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.12) 55%, transparent);
  opacity: 0;
  animation: rise 3.8s ease-out infinite;
  animation-play-state: paused;
}
.smoke i:nth-child(1) { --x: 18%; --dx: -18%; animation-delay: 0s; }
.smoke i:nth-child(2) { --x: 42%; --dx: 22%; animation-delay: 0.95s; }
.smoke i:nth-child(3) { --x: 60%; --dx: -14%; animation-delay: 1.9s; }
.smoke i:nth-child(4) { --x: 32%; --dx: 26%; animation-delay: 2.85s; }
.in-view .smoke i, .sheet .smoke i { animation-play-state: running; }
.cold .smoke { display: none; }
@keyframes rise {
  0% { opacity: 0; transform: translate(-50%, 30%) scale(0.35) rotate(0deg); }
  25% { opacity: 0.9; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), -95%) scale(1.5) rotate(35deg); }
}

.card-body { display: grid; gap: 6px; min-width: 0; }
.card h3 {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.card h3 small { display: block; font-size: 0.72em; color: var(--gold); text-transform: none; font-style: italic; letter-spacing: 0; }
.ing { margin: 0; font-size: 0.86rem; line-height: 1.35; color: var(--muted); }
.card .price-tag { justify-self: start; margin-top: 4px; font-size: 1.1rem; }

.badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  box-shadow: 0 3px 10px rgba(216, 38, 43, 0.45);
}
.badge.soon { background: var(--pink); }

/* best sellers: big feature cards */
.cat-best .card { grid-template-columns: 1fr; padding: 14px 16px 18px; text-align: center; }
.cat-best .media { aspect-ratio: 16 / 11; }
.cat-best .card-body { justify-items: center; }
.cat-best .card h3 { font-size: 1.7rem; }
.cat-best .card .price-tag { justify-self: center; font-size: 1.35rem; }
.cat-best .card { background: linear-gradient(180deg, rgba(60, 34, 14, 0.85), var(--card)); border-color: rgba(246, 194, 28, 0.25); }

/* pack étudiant */
.pack {
  display: grid; gap: 14px;
  padding: 18px 16px 20px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(246, 194, 28, 0.16), rgba(24, 14, 8, 0.85) 60%);
  border: 1px solid rgba(246, 194, 28, 0.3);
  text-align: center;
}
.pack-head { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.pack-head span { font-size: 2rem; }
.pack-head strong { font-family: var(--f-head); font-size: 1.6rem; text-transform: uppercase; letter-spacing: 0.04em; }
.pack-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pack-choices figure { margin: 0; }
.pack-choices .media { aspect-ratio: 1; }
.pack-choices figcaption { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.pack p { margin: 0; color: var(--muted); }

/* extras: compact list */
.extras { display: grid; gap: 10px; }
@media (min-width: 700px) { .extras { grid-template-columns: repeat(2, 1fr); } }
.extra {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px 8px 8px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
}
.extra.shown { opacity: 1; transform: none; }
.extra img { width: 64px; height: 52px; object-fit: cover; border-radius: 10px; }
.extra span { flex: 1; font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.03em; }
.extra .dots { flex: 1; border-bottom: 2px dotted rgba(246, 194, 28, 0.35); margin: 0 4px; height: 0; }
.extra .price-tag { font-size: 1rem; padding: 4px 12px 3px; }

/* ---------- FOOTER ---------- */
.foot { text-align: center; padding: 56px 0 calc(40px + env(safe-area-inset-bottom)); color: var(--muted); }
.foot-logo { margin: 10px 0 6px; color: #d9cfe0; }
.foot-logo span { font-family: var(--f-logo); font-size: 3rem; text-shadow: 0 0 20px rgba(255, 160, 60, 0.5); }
.foot-logo em { font-size: 2.2rem; margin-left: 6px; }
.foot p { margin: 0 0 6px; letter-spacing: 0.15em; text-transform: uppercase; font-family: var(--f-head); font-weight: 600; }

/* ---------- ITEM SHEET ---------- */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.65);

  opacity: 0; transition: opacity 0.3s;
}
.sheet-backdrop.open { opacity: 1; }
.sheet {
  position: fixed; z-index: 51;
  left: 0; right: 0; bottom: 0;
  max-width: 560px; margin: 0 auto;
  max-height: 92vh; overflow-y: auto;
  padding: 18px 20px calc(26px + env(safe-area-inset-bottom));
  border-radius: 28px 28px 0 0;
  background:
    linear-gradient(180deg, rgba(58, 36, 22, 0.98), rgba(18, 12, 8, 0.99) 55%);
  border-top: 1px solid var(--line);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.6);
  transform: translateY(105%);
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.sheet.open { transform: none; }
.sheet::before {
  content: ""; display: block; width: 44px; height: 5px; margin: -6px auto 6px;
  border-radius: 3px; background: rgba(255, 255, 255, 0.25);
}
.sheet-close {
  position: absolute; top: 12px; right: 14px;
  width: 40px; height: 40px;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.6rem; line-height: 1;
  cursor: pointer;
}
.sheet-media { aspect-ratio: 16 / 11; margin: 6px 0 8px; }
.sheet-body h3 {
  margin: 0 0 12px;
  text-align: center;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 2.1rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.sheet-ing { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sheet-ing li {
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem; color: var(--cream);
}
.sheet-foot { display: grid; justify-items: center; gap: 10px; }
.sheet-foot .price-tag { font-size: 1.7rem; padding: 8px 24px 6px; }
.sheet-hint { margin: 0; color: var(--gold); font-family: var(--f-script); font-size: 1.4rem; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
  .smoke, .intro-smoke { display: none; }
}

/* ---------- HD cut-out photos (transparent background) ---------- */
.media img.cut {
  -webkit-mask-image: none;
          mask-image: none;
  padding: 4%;
}
/* warm spotlight behind cut-out food, like the lamps on the menu boards */
.media:has(img.cut)::before {
  content: "";
  position: absolute; inset: 8% 6% 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 170, 70, 0.22), transparent);
  pointer-events: none;
}
.extra img.cut { object-fit: contain; background: radial-gradient(closest-side, rgba(255, 170, 70, 0.18), transparent); }

/* ---------- Pack étudiant: gift box "frites + boisson" ---------- */
.gift-plus {
  justify-self: center;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  margin: -4px 0 6px;
  border-radius: 50%;
  background: var(--gold);
  color: #2a1606;
  font-family: var(--f-body); font-weight: 700; font-size: 1.9rem; line-height: 1;
  padding-bottom: 3px;
  box-shadow: 0 0 0 5px rgba(246, 194, 28, 0.18);
}
.gift {
  position: relative;
  width: 240px; height: 250px;
  margin: 0 auto;
}
.gift-box, .gift-lid {
  position: absolute;
  background:
    linear-gradient(90deg, transparent 44%, var(--gold) 44% 56%, transparent 56%),
    repeating-linear-gradient(45deg, #c41e24 0 11px, #dc2f34 11px 22px);
}
.gift-box {
  left: 22px; right: 22px; bottom: 0; height: 84px;
  z-index: 2;
  display: grid; place-items: center;
  border-radius: 4px 4px 14px 14px;
  box-shadow: inset 0 -10px 0 rgba(0, 0, 0, 0.2), inset 0 6px 8px rgba(0, 0, 0, 0.25), 0 14px 26px rgba(0, 0, 0, 0.5);
}
.gift-box span {
  padding: 5px 12px 4px;
  border-radius: 6px;
  background: var(--cream);
  color: #2a1606;
  font-family: var(--f-head); font-weight: 800; font-size: 1rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
}
.gift-lid {
  left: 12px; right: 12px; bottom: 80px; height: 28px;
  z-index: 3;
  border-radius: 6px;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.18), 0 6px 10px rgba(0, 0, 0, 0.35);
  transform-origin: 15% 100%;
}
/* the bow: two loops and a knot */
.bow { position: absolute; left: 50%; top: -24px; width: 0; height: 0; }
.bow::before, .bow::after {
  content: "";
  position: absolute; top: 0;
  width: 34px; height: 24px;
  border: 7px solid var(--gold);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.bow::before { right: 2px; transform: rotate(-24deg); }
.bow::after { left: 2px; transform: rotate(24deg); }
.gift-lid::after {
  content: ""; position: absolute; left: 50%; top: -10px;
  width: 16px; height: 14px; margin-left: -8px;
  border-radius: 5px; background: var(--gold-deep);
}

.gift-pop { position: absolute; left: 34px; right: 30px; bottom: 66px; height: 120px; z-index: 1; }
.gp-fries, .gp-drink { position: absolute; bottom: 0; opacity: 0; transform: translateY(85%) scale(0.7); }
.gp-fries { left: 20%; width: 40%; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.45)); }
.gp-drink { right: 6%; width: 28%; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.45)); }

.spark {
  position: absolute;
  font-style: normal; font-size: 18px; line-height: 1;
  color: var(--gold);
  text-shadow: 0 0 8px rgba(246, 194, 28, 0.9);
  opacity: 0;
}
.s1 { left: 6%;  top: 30%; } .s2 { left: 44%; top: 0; font-size: 22px; }
.s3 { right: 2%; top: 18%; } .s4 { left: 22%; top: 8%; font-size: 13px; color: #fff; }
.s5 { right: 26%; top: 2%; font-size: 14px; color: var(--pink); } .s6 { left: 0; top: 60%; font-size: 12px; }

.gift-tag {
  position: absolute; right: -6px; bottom: 44px; z-index: 4;
  padding: 6px 12px 5px 18px;
  background: var(--gold);
  color: #2a1606;
  font-family: var(--f-script); font-size: 1.45rem; line-height: 1;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%);
  transform: rotate(-10deg);
  transform-origin: 0 50%;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.4));
}
.gift-tag::before {
  content: ""; position: absolute; left: 8px; top: 50%;
  width: 6px; height: 6px; margin-top: -3px;
  border-radius: 50%; background: #3a2416;
}
.gift-caption { margin: 2px 0 0; color: var(--muted); }
.gift-caption b { color: var(--gold); }

/* plays each time the pack scrolls into view */
.pack.in-view .gift-lid { animation: lidOpen 1.1s 0.25s cubic-bezier(0.5, 0, 0.3, 1) forwards; }
.pack.in-view .gp-fries { animation: popOut 0.7s 1s cubic-bezier(0.3, 1.6, 0.5, 1) forwards; }
.pack.in-view .gp-drink { animation: popOut 0.7s 1.15s cubic-bezier(0.3, 1.6, 0.5, 1) forwards; }
.pack.in-view .spark { animation: sparkle 1.6s 1.15s ease-out forwards; }
.pack.in-view .s2, .pack.in-view .s5 { animation-delay: 1.3s; }
.pack.in-view .s4, .pack.in-view .s6 { animation-delay: 1.45s; }
.pack.in-view .gift-tag { animation: tagSwing 2.6s 1.6s ease-in-out infinite; }

@keyframes lidOpen {
  0% { transform: none; }
  12% { transform: rotate(-5deg); }
  24% { transform: rotate(5deg); }
  36% { transform: rotate(-3deg); }
  48% { transform: none; }
  70% { transform: translate(-6px, -104px) rotate(-14deg); }
  100% { transform: translate(-8px, -96px) rotate(-8deg); }
}
@keyframes popOut {
  to { opacity: 1; transform: none; }
}
@keyframes sparkle {
  0% { opacity: 0; transform: scale(0) rotate(0); }
  30% { opacity: 1; transform: scale(1.3) rotate(90deg); }
  100% { opacity: 0.85; transform: scale(1) rotate(180deg); }
}
@keyframes tagSwing { 50% { transform: rotate(-2deg); } }

/* ---------- settings from the dashboard ---------- */
[hidden] { display: none !important; }
.no-smoke .smoke, .no-smoke .intro-smoke { display: none; }

/* keep the close button above the dish photo */
.sheet-close { z-index: 5; }

/* ---------- intro lamps: pinned to the top corners on every screen ---------- */
#intro { --lw: clamp(84px, 26vw, 150px); --g: min(64vw, 460px); --lt: 4vh; }
.lamp { top: var(--lt); width: var(--lw); }
.lamp-l { left: 0; }
/* mirror around the middle so the right lamp stays inside its corner */
.lamp-r { right: 0; left: auto; transform-origin: 50% 25%; }
.glow {
  width: var(--g); height: var(--g);
  top: calc(var(--lt) + var(--lw) * 0.72 - var(--g) / 2);
}
/* centre each glow under its bulb */
.glow-l { left: calc(var(--lw) * 0.52 - var(--g) / 2); }
.glow-r { right: calc(var(--lw) * 0.52 - var(--g) / 2); }
.enter { white-space: nowrap; }

/* ---------- Formule spéciale: drawn fries + drink ---------- */
.formule-art {
  flex: none;
  width: 70px; height: 70px;
  padding: 4px;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 62%, rgba(246, 194, 28, 0.28), transparent 70%), #1c1009;
  box-shadow: inset 0 0 0 1px rgba(246, 194, 28, 0.25);
}
.formule-art svg { display: block; width: 100%; height: 100%; overflow: visible; }
.fry { transform-box: fill-box; animation: fryBob 2.2s ease-in-out infinite; }
.fry:nth-child(2) { animation-delay: 0.3s; }
.fry:nth-child(3) { animation-delay: 0.6s; }
.fry:nth-child(4) { animation-delay: 0.15s; }
.fry:nth-child(5) { animation-delay: 0.45s; }
.fry:nth-child(6) { animation-delay: 0.75s; }
@keyframes fryBob { 50% { translate: 0 -3px; } }
.f-steam path { opacity: 0; animation: fSteam 2.6s ease-out infinite; }
.f-steam path:nth-child(2) { animation-delay: 1.3s; }
@keyframes fSteam {
  0% { opacity: 0; translate: 0 6px; }
  35% { opacity: 0.55; }
  100% { opacity: 0; translate: 0 -10px; }
}
.f-fizz circle { opacity: 0; animation: fFizz 1.8s ease-out infinite; }
.f-fizz circle:nth-child(2) { animation-delay: 0.6s; }
.f-fizz circle:nth-child(3) { animation-delay: 1.2s; }
@keyframes fFizz {
  0% { opacity: 0; translate: 0 6px; }
  25% { opacity: 0.95; }
  100% { opacity: 0; translate: 2px -14px; }
}
.formule .formule-art { flex: none; display: block; }
