/* Family "collage": pop colour blocks, outlined mega type, bursting cut-outs, marquee, sticker prices.
   Tokens: --fm-pop1..n (blocks; hero uses pop1), --fm-display (mega type), --ink (outlines, borders, shadows),
   --surface (cards). Section vars: --c / --ci (block colour + ink). */
.fm--collage { background: var(--bg); }
.fm--collage .fm-app { background: var(--bg); }

.fmc-hero { position: relative; overflow: hidden; padding: max(12px, env(safe-area-inset-top)) 0 26px; background: var(--fm-pop1); color: var(--fm-pop1-ink); }
.fmc-hero::before { content: ""; position: absolute; width: 150vw; max-width: 900px; aspect-ratio: 1; left: 50%; top: 58%; transform: translate(-50%, -50%); border-radius: 50%; background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--fm-pop1-ink) 9%, transparent) 0 6deg, transparent 6deg 12deg); animation: fmcSpin 60s linear infinite; }
@keyframes fmcSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.fmc-hero__top { position: relative; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 14px; }
.fmc-brand { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.fmc-brand .mz-mark { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 20px; overflow: hidden; }
.fmc-brand .mz-mark img { width: 100%; height: 100%; object-fit: cover; }
.fmc-tag { padding: 6px 11px; border: 2px solid currentColor; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; transform: rotate(-3deg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fmc-hero .fm-round, .fmc-hero .fm-lang.mz-lang { background: var(--ink); color: var(--bg); box-shadow: none; }
.fmc-hero .fm-lang.mz-lang a { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.fmc-hero .fm-lang.mz-lang a.is-on { background: var(--bg); color: var(--ink); }

.fmc-mega { position: relative; z-index: 1; display: grid; justify-items: center; margin: 18px 0 0; font-family: var(--fm-display); font-weight: var(--fm-display-weight); text-transform: uppercase; line-height: .84; letter-spacing: -.02em; text-align: center; }
.fmc-mega__l { display: block; font-size: clamp(54px, calc(124vw / var(--len)), 150px); color: var(--ink); animation: fmcSlam .8s var(--fm-spring) both; animation-delay: calc(var(--i) * .12s); }
.fmc-mega__l.is-outline { color: transparent; -webkit-text-stroke: 2.5px var(--ink); }
@keyframes fmcSlam { from { transform: scale(1.5) rotate(-4deg); opacity: 0; } to { transform: none; opacity: 1; } }

.fmc-burst { position: relative; z-index: 2; height: min(96vw, 470px); margin-top: -18px; }
.fmc-burst__it { position: absolute; }
.fmc-burst__it--0 { left: 50%; top: 4%; width: 64%; translate: -50% 0; z-index: 2; }
.fmc-burst__it--1 { left: -4%; top: 44%; width: 40%; rotate: -14deg; z-index: 3; }
.fmc-burst__it--2 { right: -5%; top: 2%; width: 38%; rotate: 12deg; z-index: 1; }
.fmc-burst__img { animation: fmcBurst 1s var(--fm-spring) both; }
.fmc-burst__it--1 .fmc-burst__img { animation-delay: .18s; }
.fmc-burst__it--2 .fmc-burst__img { animation-delay: .3s; }
@keyframes fmcBurst { from { transform: translate(var(--bx, 0), 30%) scale(.3); opacity: 0; } to { transform: translate3d(0, var(--px, 0), 0); opacity: 1; } }
.fmc-burst__it--1 { --bx: 60%; } .fmc-burst__it--2 { --bx: -60%; }
.fmc-burst__img.is-in, .fmc-burst__img { will-change: transform; }
.fmc-sticker { position: absolute; z-index: 4; right: 2%; bottom: 8%; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--c); color: var(--ci); border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); transform: rotate(-12deg); animation: fmcStick .6s .7s var(--fm-spring) both; }
.fmc-burst__it--1 .fmc-sticker, .fmc-burst__it--2 .fmc-sticker { width: 58px; height: 58px; right: -4%; bottom: -2%; }
.fmc-sticker .mz-item__price { display: grid; justify-items: center; font-family: var(--fm-display); font-size: 17px; line-height: 1; text-align: center; color: inherit; }
.fmc-burst__it--1 .fmc-sticker .mz-item__price, .fmc-burst__it--2 .fmc-sticker .mz-item__price { font-size: 13.5px; }
@keyframes fmcStick { from { transform: rotate(-40deg) scale(0); } to { transform: rotate(-12deg) scale(1); } }
.fmc-burst__name { position: absolute; left: 50%; bottom: -2px; translate: -50% 0; padding: 4px 10px; background: var(--ink); color: var(--bg); font-family: var(--font-b); font-size: 13px; font-weight: 700; white-space: nowrap; transform: rotate(-2deg); }
.fmc-burst__it--1 .fmc-burst__name, .fmc-burst__it--2 .fmc-burst__name { display: none; }
.fmc-about { position: relative; z-index: 3; margin: 22px 18px 0; padding: 14px 16px; background: var(--surface); color: var(--ink); border: 2.5px solid var(--ink); border-radius: 14px; box-shadow: 5px 5px 0 var(--ink); font-size: 15px; line-height: 1.5; transform: rotate(-1deg); }

.fmc-marquee { overflow: hidden; background: var(--ink); color: var(--bg); border-block: 3px solid var(--ink); transform: rotate(-2deg); margin: -8px -10px 10px; position: relative; z-index: 5; }
.fmc-marquee__track { display: flex; width: max-content; animation: fmcMarq 26s linear infinite; }
.fmc-marquee__run { display: flex; align-items: center; flex: none; }
.fmc-marquee span { padding: 12px 14px; font-family: var(--fm-display); font-size: 22px; text-transform: uppercase; white-space: nowrap; }
.fmc-marquee i { color: var(--fm-pop1); font-size: 18px; }
@keyframes fmcMarq { to { transform: translateX(-50%); } }

.fmc-extras { padding: 14px 16px 6px; }
.fm--collage .mz-wifi, .fm--collage .mz-info, .fm--collage .mzb-hours, .fm--collage .mzb-social, .fm--collage .mzb-note, .fm--collage .mzb-text, .fm--collage .mzb-promo { border: 2.5px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); border-radius: 16px; }

.fmc-chips { position: sticky; top: 0; z-index: 30; padding: 10px 0; background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.fmc-chips__track { display: flex; gap: 8px; overflow-x: auto; padding: 4px 14px 6px; scrollbar-width: none; }
.fmc-chips__track::-webkit-scrollbar { display: none; }
.fmc-chip { display: inline-flex; flex: none; align-items: center; gap: 7px; min-height: 44px; padding: 0 16px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 700; font-size: 14.5px; text-decoration: none; box-shadow: 3px 3px 0 var(--ink); transition: transform .45s var(--fm-spring), background .2s ease, box-shadow .2s ease; }
.fmc-chip.is-on { background: var(--ink); color: var(--bg); transform: rotate(-3deg) scale(1.06); box-shadow: 3px 3px 0 var(--fm-pop2, var(--accent)); }
.fmc-chip:active { transform: scale(.92); }

.fmc-main { padding-bottom: 10px; }
.fmc-sec { position: relative; margin: 18px 10px 0; padding: 22px 12px 18px; border: 3px solid var(--ink); border-radius: 26px; background: var(--c); color: var(--ci); box-shadow: 6px 6px 0 var(--ink); scroll-margin-top: 80px; }
.fmc-sec__head { position: relative; min-height: 110px; }
.fmc-sec__n { display: inline-block; padding: 3px 9px; border-radius: 8px; background: var(--ink); color: var(--bg); font-family: var(--fm-display); font-size: 14px; }
.fmc-sec__title { margin: 8px 0 6px; font-family: var(--fm-display); font-weight: var(--fm-display-weight); text-transform: uppercase; font-size: clamp(30px, calc(118vw / var(--len)), 64px); line-height: .9; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 2px var(--ci); position: relative; z-index: 3; max-width: 100%; }
.fmc-sec__count { display: inline-block; padding: 4px 10px; border: 2px solid currentColor; border-radius: 999px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; transform: rotate(-2deg); }
.fmc-sec__cut { position: absolute; right: -22px; top: -54px; width: 38%; z-index: 2; }
.fmc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.fmc-card { position: relative; display: flex; flex-direction: column; overflow: visible; border: 2.5px solid var(--ink); border-radius: 18px; background: var(--surface); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); transition: transform .4s var(--fm-spring); }
html.fm-js .fmc-card[data-fx].is-in { transform: rotate(var(--rot)); }
.fmc-card:active { transform: scale(.96) !important; }
.fmc-card__media { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 15px 15px 0 0; border-bottom: 2.5px solid var(--ink); background: color-mix(in srgb, var(--c) 30%, var(--surface)); }
.fmc-card__media .fm-photo, .fmc-card__media .fm-noimg { height: 100%; }
.fmc-card.no-photo .fmc-card__media { aspect-ratio: 2 / 1; }
.fmc-card__price { position: absolute; top: -10px; right: -10px; z-index: 2; display: grid; place-items: center; min-width: 58px; height: 58px; padding: 0 6px; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--fm-pop1); color: var(--fm-pop1-ink); box-shadow: 2px 2px 0 var(--ink); transform: rotate(10deg); }
.fmc-sec:nth-child(4n+1) .fmc-card__price { background: var(--fm-pop2, var(--ink)); color: var(--fm-pop2-ink, var(--bg)); }
.fmc-card__price .mz-item__price { display: grid; justify-items: center; font-family: var(--fm-display); font-size: 14px; line-height: 1; color: inherit; }
.fmc-card__tx { display: grid; gap: 4px; padding: 10px 11px 12px; }
.fmc-card .mz-item__name { margin: 0; font-family: var(--font-b); font-size: 15.5px; font-weight: 700; line-height: 1.2; }
.fmc-card .mz-item__desc { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fmc-card .mz-item__meta { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.fmc-card .mz-badge { font-size: 10.5px; padding: 3px 7px; }

.fmc-foot { margin-top: 30px; padding: 18px 0 40px; background: var(--ink); color: var(--bg); text-align: center; overflow: hidden; }
.fmc-foot .fm-extras { text-align: left; }
.fmc-foot .mz-wifi, .fmc-foot .mz-info, .fmc-foot .mzb-hours, .fmc-foot .mzb-social { border-color: var(--bg); box-shadow: 5px 5px 0 var(--fm-pop1); }
.fmc-foot__name { margin: 26px 0 0; font-family: var(--fm-display); text-transform: uppercase; font-size: 22vw; line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--fm-pop1); white-space: nowrap; }
.fmc-foot .fm-made { color: color-mix(in srgb, var(--bg) 70%, transparent); }

@media (prefers-reduced-motion: reduce) {
  .fmc-hero::before, .fmc-marquee__track, .fmc-mega__l, .fmc-burst__img, .fmc-sticker { animation: none !important; }
}
html.fm-still .fmc-hero::before, html.fm-still .fmc-marquee__track, html.fm-still .fmc-mega__l, html.fm-still .fmc-burst__img, html.fm-still .fmc-sticker { animation: none !important; }
.fx-motion-calm .fmc-hero::before { animation: none; }
