/* Food Menu page (/menu.php) */
.fm { background: #fffdf7; }

/* ---------- back to About Us ---------- */
.fm-back { position: absolute; z-index: 3; top: 18px; left: 16px; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--navy); font-weight: 800; font-size: 15px; text-decoration: none; padding: 9px 18px; border-radius: 999px; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); transition: transform .15s; }
.fm-back:hover { transform: translateX(-3px); }
.fm-back-bottom { position: relative; top: 0; left: 0; margin-bottom: 18px; background: var(--navy); color: #fff; }
@media (max-width: 640px) { .fm-back { top: 12px; left: 12px; font-size: 14px; padding: 8px 14px; } }
.fm-sparkles span { position: absolute; z-index: 1; width: clamp(16px, 2.2vw, 30px); opacity: .85; animation: fmTwinkle 3s ease-in-out infinite; }
.fm-sparkles span:nth-child(1) { left: 22%; top: 22%; } .fm-sparkles span:nth-child(2) { left: 74%; top: 18%; animation-delay: -.6s; }
.fm-sparkles span:nth-child(3) { left: 14%; top: 64%; animation-delay: -1.2s; } .fm-sparkles span:nth-child(4) { left: 84%; top: 62%; animation-delay: -1.8s; }
.fm-sparkles span:nth-child(5) { left: 46%; top: 8%; animation-delay: -2.4s; } .fm-sparkles span:nth-child(6) { left: 58%; top: 80%; animation-delay: -.3s; }

.fm-sparkles svg { display: block; width: 100%; height: auto; fill: currentColor; }
.fm-sparkles .y { color: var(--yellow); } .fm-sparkles .p { color: var(--pink); } .fm-sparkles .c { color: var(--cyan); } .fm-sparkles .g { color: var(--green); }
@keyframes fmTwinkle { 0%, 100% { transform: scale(.8) rotate(-10deg); opacity: .5; } 50% { transform: scale(1.15) rotate(10deg); opacity: 1; } }
@media (max-width: 640px) { .fm-sparkles span:nth-child(5), .fm-sparkles span:nth-child(6) { display: none; } }

/* ---------- top banner ---------- */
.fm-hero { position: relative; background: var(--navy); color: #fff; text-align: center; padding: clamp(70px, 7vw, 90px) clamp(16px, 11vw, 200px) clamp(70px, 9vw, 120px); overflow: hidden; }
.fm-kicker { margin: 0; font-weight: 800; letter-spacing: .35em; text-transform: uppercase; font-size: clamp(12px, 1.3vw, 17px); color: var(--yellow); position: relative; z-index: 2; }
.fm-title { margin: 6px 0 14px; font-weight: 900; line-height: 1; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.fm-small { font-size: clamp(34px, 5.2vw, 70px); }
.fm-big { display: block; font-size: clamp(74px, 13vw, 180px); letter-spacing: .02em; color: #fff; line-height: .95; }
.fm-big span { display: inline-block; text-shadow: 0 6px 0 var(--orange), 0 12px 0 rgba(0, 0, 0, .15); animation: fmBounce 2.6s ease-in-out infinite; animation-delay: calc(var(--i) * 90ms); }
.fm-title .fm-word { display: inline-block; white-space: nowrap; }
.fm-small .fm-word span { display: inline-block; color: var(--c); text-shadow: 0 5px 0 rgba(0, 0, 0, .18); animation: fmBounce 2.6s ease-in-out infinite; animation-delay: calc(var(--i) * 90ms); }
@keyframes fmBounce { 0%, 70%, 100% { transform: translateY(0) rotate(0); } 80% { transform: translateY(-12px) rotate(-4deg); } 90% { transform: translateY(2px) rotate(3deg); } }
.fm-sub { margin: 0 auto; max-width: 640px; font-size: clamp(17px, 1.9vw, 24px); font-weight: 700; font-style: italic; opacity: .95; position: relative; z-index: 2; }
.fm-char { position: absolute; z-index: 1; height: auto; animation: fmFloat 4s ease-in-out infinite; }
.fm-char-l { left: clamp(-30px, 3vw, 80px); bottom: 40px; width: clamp(90px, 13vw, 200px); }
.fm-char-r { right: clamp(-20px, 4vw, 100px); bottom: 50px; width: clamp(70px, 10vw, 150px); animation-delay: -2s; }
@keyframes fmFloat { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
@media (max-width: 640px) { .fm-char-l { left: -24px; bottom: 26px; width: 64px; opacity: .9; } .fm-char-r { right: -16px; bottom: 30px; width: 50px; opacity: .9; } .fm-sub { padding: 0 34px; } }

/* the red friend waves at you: its raised arm rocks from the shoulder */
.fm-waver img { display: block; width: 100%; height: auto; }
.fm-waver .fm-arm { position: absolute; inset: 0; transform-origin: var(--ox, 80%) var(--oy, 25%); animation: fmWave .9s ease-in-out infinite; }
.fm-sl-char.fm-waver .fm-arm { animation-delay: -.45s; }
@keyframes fmWave { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(12deg); } }

/* ---------- today / chosen day ---------- */
.fm-today { max-width: 1100px; margin: 0 auto; padding: 10px 16px 30px; }
.fm-controls { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; margin-bottom: 18px; }
.fm-weeks, .fm-days { display: inline-flex; background: #fff; border: 2px solid #dbe5f5; border-radius: 999px; padding: 4px; gap: 4px; box-shadow: 0 6px 18px rgba(2, 30, 80, .06); }
.fm-weeks button, .fm-days button { font: 800 15px "Poppins", sans-serif; border: 0; background: transparent; color: var(--navy); padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, transform .15s; }
.fm-weeks button:hover, .fm-days button:hover { transform: translateY(-1px); background: #eef4ff; }
.fm-weeks button.on { background: var(--pink); color: #fff; }
.fm-weeks button[data-week="2"].on { background: #0091c2; }
.fm-days button.on { background: var(--navy); color: #fff; }
.fm-days .short { display: none; }
@media (max-width: 700px) { .fm-days .full { display: none; } .fm-days .short { display: inline; } .fm-days button { padding: 9px 11px; font-size: 14px; } }

.fm-spot { background: #fff; border-radius: 28px; border: 3px solid var(--yellow); padding: 18px clamp(12px, 2.5vw, 28px) 16px; box-shadow: 0 16px 40px rgba(2, 30, 80, .1); }
.fm-spot-title { margin: 0 0 14px; text-align: center; font-weight: 900; color: var(--navy); font-size: clamp(22px, 3vw, 34px); display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.fm-spot-title small { font-size: .55em; font-weight: 800; color: #fff; background: var(--pink); padding: 3px 12px; border-radius: 999px; }
.fm-today-badge { font-size: .5em; background: var(--yellow); color: var(--navy); padding: 4px 12px; border-radius: 999px; transform: rotate(-4deg); }
.fm-meals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 820px) { .fm-meals { grid-template-columns: 1fr 1fr; } }
.fm-meal { --c: var(--orange); position: relative; font-family: "Poppins", sans-serif; border: 3px solid var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); border-radius: 22px; padding: 30px 10px 16px; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; text-align: center; color: var(--ink, #1f2f4d); transition: transform .2s; }
.fm-meal:hover { transform: translateY(-3px) rotate(-1deg); }
.fm-meal.fm-s { --c: #eba300; } .fm-meal.fm-l { --c: var(--green); } .fm-meal.fm-a { --c: var(--cyan); }
.fm-time { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--c); color: #fff; font-weight: 800; font-size: 13px; padding: 3px 12px; border-radius: 999px; white-space: nowrap; }
.fm-emoji { font-size: clamp(46px, 6vw, 70px); line-height: 1.05; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .12)); animation: fmWobble 3.4s ease-in-out infinite; }
.fm-meal:nth-child(2) .fm-emoji { animation-delay: -.8s; } .fm-meal:nth-child(3) .fm-emoji { animation-delay: -1.6s; } .fm-meal:nth-child(4) .fm-emoji { animation-delay: -2.4s; }
@keyframes fmWobble { 0%, 100% { transform: rotate(-6deg) scale(1); } 50% { transform: rotate(6deg) scale(1.06); } }
.fm-what { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c); filter: brightness(.8); }
.fm-name { font-size: clamp(16px, 1.8vw, 20px); font-weight: 900; line-height: 1.2; }
.fm-extra { font-size: 13px; font-weight: 600; color: #6b7a99; min-height: 1.2em; }
.fm-meal.pop { animation: fmPop .45s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes fmPop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.fm-meal.yum { animation: fmYum .6s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes fmYum { 0% { transform: scale(1); } 35% { transform: scale(1.12) rotate(-3deg); } 70% { transform: scale(.97) rotate(2deg); } 100% { transform: scale(1); } }
.fm-hint { text-align: center; margin: 14px 0 0; font-size: 14px; font-weight: 600; color: #6b7a99; }

/* ---------- whole menu ---------- */
.fm-all { max-width: 1100px; margin: 0 auto; padding: 10px 16px 40px; display: flex; flex-direction: column; gap: 22px; }
.fm-all-title { align-self: center; font-size: clamp(20px, 2.4vw, 28px); }
.fm-break, .fm-week { background: #fff; border-radius: 24px; padding: 16px clamp(10px, 2vw, 22px); box-shadow: 0 10px 30px rgba(2, 30, 80, .07); }
.fm-break h3, .fm-week h3 { margin: 0 0 12px; font-weight: 900; font-size: clamp(20px, 2.2vw, 26px); color: var(--navy); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fm-break h3 span { font-size: 14px; font-weight: 700; color: #6b7a99; }
.fm-break-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
@media (max-width: 700px) { .fm-break-row { grid-template-columns: repeat(2, 1fr); } .fm-break-row .fm-bcard:last-child { grid-column: 1 / -1; } }
.fm-bcard { border: 2.5px solid var(--c); border-radius: 18px; overflow: hidden; text-align: center; display: flex; flex-direction: column; gap: 2px; padding-bottom: 10px; font-weight: 800; cursor: pointer; transition: transform .2s; }
.fm-bcard:hover { transform: translateY(-3px); }
.fm-bcard b { background: var(--c); color: #fff; padding: 5px 0; font-size: 14px; }
.fm-bcard .e { font-size: 34px; margin-top: 4px; }
.fm-snackline { margin: 14px 0 0; background: #fff6cf; border: 2px dashed #f2be00; border-radius: 16px; padding: 10px 16px; font-weight: 600; text-align: center; }
.fm-snackline b { color: var(--navy); }
.fm-w1 { border: 3px solid var(--pink); } .fm-w2 { border: 3px solid #0091c2; }
.fm-this { font-size: 13px; background: var(--yellow); color: var(--navy); padding: 3px 10px; border-radius: 999px; }
.fm-grid { display: grid; grid-template-columns: 110px repeat(5, minmax(0, 1fr)); border-radius: 16px; overflow: hidden; border: 1.5px solid #e3e9f4; }
.fm-gh, .fm-gr, .fm-gc { padding: 10px 6px; border-right: 1.5px solid #e3e9f4; border-bottom: 1.5px solid #e3e9f4; text-align: center; }
.fm-gh { font-weight: 900; color: var(--navy); background: #f4f7fd; }
.fm-gh .short { display: none; }
.fm-gr { font-weight: 900; text-align: left; background: #f4f7fd; display: flex; flex-direction: column; justify-content: center; font-size: 14px; line-height: 1.2; }
.fm-gr small { font-weight: 700; color: #6b7a99; font-size: 12px; }
.fm-gc { font-weight: 800; font-size: 15px; line-height: 1.25; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; transition: background .2s; }
.fm-gc:hover { background: #fff9e0; }
.fm-gc .e { font-size: 30px; }
.fm-gc.small { font-size: 14px; } .fm-gc.small .e { font-size: 24px; }
.fm-gc em { font-style: normal; font-size: 12px; color: #6b7a99; font-weight: 600; }
.is-today { background: #fff7cc !important; box-shadow: inset 0 0 0 3px var(--yellow); }
@media (max-width: 700px) {
  .fm-grid { grid-template-columns: 58px repeat(5, minmax(0, 1fr)); }   /* all five days always fit; long words wrap instead of pushing Friday off the screen */
  .fm-gc { overflow-wrap: anywhere; hyphens: auto; min-width: 0; }
  .fm-gh .full { display: none; } .fm-gh .short { display: inline; }
  .fm-gh, .fm-gr, .fm-gc { padding: 8px 3px; }
  .fm-gc { font-size: 11.5px; } .fm-gc .e { font-size: 24px; } .fm-gc.small { font-size: 11px; } .fm-gc em { display: none; }
  .fm-gr { font-size: 12px; }
}
.fm-pdf { text-align: center; margin: 0; }

/* ---------- slogan ---------- */
.fm-sl-heart { margin: 0 auto 6px; width: clamp(40px, 5vw, 60px); position: relative; z-index: 2; animation: fmBeat 1.4s ease-in-out infinite; }
.fm-sl-heart svg { width: 100%; height: auto; fill: var(--pink); filter: drop-shadow(0 4px 0 rgba(224, 75, 168, .25)); }
@keyframes fmBeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } }
.fm-slogan { position: relative; background: linear-gradient(180deg, #e8f6ff, #fdeefa); text-align: center; padding: clamp(40px, 6vw, 70px) clamp(70px, 14vw, 230px) clamp(50px, 7vw, 90px); overflow: hidden; }
.fm-sl-big { margin: 0; font-weight: 900; font-size: clamp(28px, 4.6vw, 60px); line-height: 1.1; color: var(--navy); position: relative; z-index: 2; }
.fm-sl-sub { margin: 10px 0 0; font-weight: 800; font-size: clamp(16px, 1.8vw, 22px); color: #e04ba8; position: relative; z-index: 2; }
.fm-notes { display: inline-block; animation: fmFloat 2.4s ease-in-out infinite; }
.fm-sl-char { position: absolute; bottom: -6px; height: auto; z-index: 1; width: clamp(70px, 10vw, 150px); animation: fmFloat 4.5s ease-in-out infinite; }
.fm-sl-char.l { left: clamp(-10px, 4vw, 90px); }
.fm-sl-char.r { right: clamp(-10px, 4vw, 90px); animation-delay: -2s; }
@media (max-width: 640px) { .fm-sl-char { width: 64px; opacity: .85; } }

@media (prefers-reduced-motion: reduce) { .fm-waver .fm-arm, .fm-sl-heart, .fm-title span, .fm-emoji, .fm-char, .fm-sl-char, .fm-notes { animation: none !important; } }

/* drawn food pictures */
.food-ic { display: block; width: 100%; height: 100%; }
.fm-emoji { width: clamp(78px, 9vw, 110px); height: clamp(78px, 9vw, 110px); filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .1)); }
.fm-bcard .e, .fm-gc .e { display: block; flex: none; }
.fm-bcard .e { width: 64px; height: 64px; margin: 6px auto 0; }
.fm-gc .e { width: 54px; height: 54px; }
.fm-gc.small .e { width: 44px; height: 44px; }
.fm-inline-ic { display: inline-block; width: 30px; height: 30px; vertical-align: middle; }
@media (max-width: 700px) { .fm-gc .e { width: 38px; height: 38px; } .fm-gc.small .e { width: 32px; height: 32px; } .fm-bcard .e { width: 52px; height: 52px; } }

/* the morning snack is the same every day: one wide box across the week */
.fm-every { grid-column: span 5; flex-direction: row !important; gap: 12px !important; background: #fff9e6; font-size: 15px; cursor: default; }
.fm-every:hover { background: #fff9e6; }
.fm-every .e { width: 40px; height: 40px; }
@media (max-width: 700px) { .fm-every { font-size: 12px; gap: 6px !important; } .fm-every .e { width: 28px; height: 28px; } .fm-gr { font-size: 11px; } }
/* the day's meal cards are for looking at (no tapping) */
.fm-meal { cursor: default; }
