/* ==========================================================================
   DRINK EAT! PIZZA - style
   --------------------------------------------------------------------------
   Styl: cartoon / naklejka. Pełne bloki koloru, kremowa baza, gruby kontur
   „tuszem", twarde cienie, fale między sekcjami, doodle ton w ton.
   Inspiracja i opis: docs/inspiracje/

    0. Tokeny          5. Header i menu       10. Mapa
    1. Baza            6. Opowieść automatu   11. CTA (finał)
    2. Elementy        7. Alergeny            12. Stopka
    3. Kursor          8. Ważna informacja    13. Ograniczony ruch
    4. Intro           9. Kroki (paragony)
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Tokeny
   -------------------------------------------------------------------------- */
:root {
  /* kolory marki (czerwień, ser, ciasto...) są niżej - w blokach motywów
     :root / [data-theme="pizza"] i [data-theme="lody"] */
  /* skórka pizzy / wafel, bazylia */
  --crust: #D9A05B;
  --crust-dark: #B97A2E;
  --crust-light: #F0C98A;
  --basil: #3E9B4F;
  /* kontur */
  --ink: #1C0D0A;

  --font-display: "Titan One", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --container: 1240px;
  --gutter: clamp(16px, 5vw, 64px);
  --header-h: 76px;
  --line: 3px;
  --radius: 28px;
  --shadow: 4px 6px 0 var(--ink);
  --wave-h: clamp(28px, 4vw, 56px);

  /* Wysokości ekranu na telefonach: pasek przeglądarki chowa się przy
     przewijaniu. Tła sięgają „dużego" ekranu (lvh - bez prześwitów),
     treść mieści się w „małym" (svh - pasek jej nie zasłania). */
  --svh: 1vh;
  --lvh: 1vh;

  /* Maski (wbudowane jako data:, żeby działały też po otwarciu pliku z dysku):
     fala między sekcjami i wzór doodli - ikony alergenów z js/data.js,
     pizza, zegar, para, automat (kafel 560×560, generowany skryptem) */
  --mask-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='100' viewBox='0 0 1200 100' preserveAspectRatio='none'%3E%3Cpath d='M0,38.3 L10,34.2 L20,30.7 L30,27.7 L40,25.4 L50,23.9 L60,23.1 L70,23.1 L80,23.7 L90,24.9 L100,26.6 L110,28.6 L120,30.8 L130,33.2 L140,35.5 L150,37.6 L160,39.5 L170,41.1 L180,42.3 L190,43.3 L200,43.9 L210,44.2 L220,44.4 L230,44.4 L240,44.4 L250,44.5 L260,44.7 L270,45.1 L280,45.8 L290,46.8 L300,48.1 L310,49.7 L320,51.5 L330,53.5 L340,55.7 L350,57.8 L360,59.9 L370,61.7 L380,63.4 L390,64.7 L400,65.7 L410,66.3 L420,66.5 L430,66.3 L440,65.8 L450,65.1 L460,64.2 L470,63.2 L480,62.3 L490,61.4 L500,60.6 L510,60.1 L520,59.8 L530,59.8 L540,60.0 L550,60.3 L560,60.7 L570,61.2 L580,61.6 L590,61.8 L600,61.7 L610,61.2 L620,60.2 L630,58.7 L640,56.7 L650,54.1 L660,51.0 L670,47.5 L680,43.6 L690,39.5 L700,35.3 L710,31.2 L720,27.3 L730,23.8 L740,20.8 L750,18.4 L760,16.8 L770,15.9 L780,15.8 L790,16.5 L800,18.0 L810,20.2 L820,22.9 L830,26.2 L840,29.7 L850,33.5 L860,37.4 L870,41.3 L880,45.1 L890,48.6 L900,51.9 L910,54.9 L920,57.6 L930,60.1 L940,62.2 L950,64.2 L960,66.0 L970,67.7 L980,69.3 L990,70.9 L1000,72.4 L1010,73.9 L1020,75.4 L1030,76.7 L1040,77.9 L1050,78.9 L1060,79.5 L1070,79.8 L1080,79.6 L1090,78.8 L1100,77.5 L1110,75.5 L1120,72.9 L1130,69.7 L1140,65.9 L1150,61.7 L1160,57.2 L1170,52.4 L1180,47.6 L1190,42.8 L1200,38.3 L1200,100 L0,100 Z'/%3E%3C/svg%3E");
  --mask-doodles-pizza: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='560' viewBox='0 0 560 560'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate(72.1 59.7) rotate(-24.5) scale(2.29) translate(-12 -12)'%3E%3Cpath d='M12 21c-4 0-7-3-7-7 0-3.5 2.5-6.5 7-11 4.5 4.5 7 7.5 7 11 0 4-3 7-7 7Z'/%3E%3Cpath d='M8 11.5c2.5-1 5.5-1 8 0'/%3E%3C/g%3E%3Cg transform='translate(72.1 619.7) rotate(-24.5) scale(2.29) translate(-12 -12)'%3E%3Cpath d='M12 21c-4 0-7-3-7-7 0-3.5 2.5-6.5 7-11 4.5 4.5 7 7.5 7 11 0 4-3 7-7 7Z'/%3E%3Cpath d='M8 11.5c2.5-1 5.5-1 8 0'/%3E%3C/g%3E%3Cg transform='translate(632.1 59.7) rotate(-24.5) scale(2.29) translate(-12 -12)'%3E%3Cpath d='M12 21c-4 0-7-3-7-7 0-3.5 2.5-6.5 7-11 4.5 4.5 7 7.5 7 11 0 4-3 7-7 7Z'/%3E%3Cpath d='M8 11.5c2.5-1 5.5-1 8 0'/%3E%3C/g%3E%3Cg transform='translate(632.1 619.7) rotate(-24.5) scale(2.29) translate(-12 -12)'%3E%3Cpath d='M12 21c-4 0-7-3-7-7 0-3.5 2.5-6.5 7-11 4.5 4.5 7 7.5 7 11 0 4-3 7-7 7Z'/%3E%3Cpath d='M8 11.5c2.5-1 5.5-1 8 0'/%3E%3C/g%3E%3Cg transform='translate(171.1 43.4) rotate(3.2) scale(2.11) translate(-12 -12)'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='2'/%3E%3Crect x='8.2' y='5' width='7.6' height='5.4' rx='1'/%3E%3Cpath d='M8.2 13h3M14 13h1.8'/%3E%3Crect x='8.2' y='16' width='7.6' height='3' rx='.8'/%3E%3C/g%3E%3Cg transform='translate(171.1 603.4) rotate(3.2) scale(2.11) translate(-12 -12)'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='2'/%3E%3Crect x='8.2' y='5' width='7.6' height='5.4' rx='1'/%3E%3Cpath d='M8.2 13h3M14 13h1.8'/%3E%3Crect x='8.2' y='16' width='7.6' height='3' rx='.8'/%3E%3C/g%3E%3Cg transform='translate(266.8 53.7) rotate(4.0) scale(2.27) translate(-12 -12)'%3E%3Cpath d='M5 19C5 12 9.5 6.5 19 5c-.5 8.5-6 14-14 14Z'/%3E%3Cpath d='M5 19 13 11'/%3E%3C/g%3E%3Cg transform='translate(266.8 613.7) rotate(4.0) scale(2.27) translate(-12 -12)'%3E%3Cpath d='M5 19C5 12 9.5 6.5 19 5c-.5 8.5-6 14-14 14Z'/%3E%3Cpath d='M5 19 13 11'/%3E%3C/g%3E%3Cg transform='translate(394.2 61.1) rotate(4.0) scale(2.05) translate(-12 -12)'%3E%3Ccircle cx='12' cy='13' r='7.5'/%3E%3Cpath d='M12 9.5V13l2.4 1.6'/%3E%3Cpath d='M5.5 5.5 8 3.5M18.5 5.5 16 3.5'/%3E%3Cpath d='M8 20.5 6.8 22M16 20.5l1.2 1.5'/%3E%3C/g%3E%3Cg transform='translate(394.2 621.1) rotate(4.0) scale(2.05) translate(-12 -12)'%3E%3Ccircle cx='12' cy='13' r='7.5'/%3E%3Cpath d='M12 9.5V13l2.4 1.6'/%3E%3Cpath d='M5.5 5.5 8 3.5M18.5 5.5 16 3.5'/%3E%3Cpath d='M8 20.5 6.8 22M16 20.5l1.2 1.5'/%3E%3C/g%3E%3Cg transform='translate(-67.2 44.7) rotate(3.6) scale(2.36) translate(-12 -12)'%3E%3Cpath d='M12 21c0-5 1-9 4-13'/%3E%3Ccircle cx='7.5' cy='8' r='2'/%3E%3Ccircle cx='16.5' cy='6' r='1.6'/%3E%3Ccircle cx='17' cy='13.5' r='2.2'/%3E%3Ccircle cx='9' cy='15' r='1.6'/%3E%3C/g%3E%3Cg transform='translate(-67.2 604.7) rotate(3.6) scale(2.36) translate(-12 -12)'%3E%3Cpath d='M12 21c0-5 1-9 4-13'/%3E%3Ccircle cx='7.5' cy='8' r='2'/%3E%3Ccircle cx='16.5' cy='6' r='1.6'/%3E%3Ccircle cx='17' cy='13.5' r='2.2'/%3E%3Ccircle cx='9' cy='15' r='1.6'/%3E%3C/g%3E%3Cg transform='translate(492.8 44.7) rotate(3.6) scale(2.36) translate(-12 -12)'%3E%3Cpath d='M12 21c0-5 1-9 4-13'/%3E%3Ccircle cx='7.5' cy='8' r='2'/%3E%3Ccircle cx='16.5' cy='6' r='1.6'/%3E%3Ccircle cx='17' cy='13.5' r='2.2'/%3E%3Ccircle cx='9' cy='15' r='1.6'/%3E%3C/g%3E%3Cg transform='translate(492.8 604.7) rotate(3.6) scale(2.36) translate(-12 -12)'%3E%3Cpath d='M12 21c0-5 1-9 4-13'/%3E%3Ccircle cx='7.5' cy='8' r='2'/%3E%3Ccircle cx='16.5' cy='6' r='1.6'/%3E%3Ccircle cx='17' cy='13.5' r='2.2'/%3E%3Ccircle cx='9' cy='15' r='1.6'/%3E%3C/g%3E%3Cg transform='translate(116.3 167.9) rotate(15.5) scale(2.27) translate(-12 -12)'%3E%3Cpath d='M4 5c5-2 11-2 16 0L12 21 4 5Z'/%3E%3Cpath d='M5.2 7.6c4.4-1.4 9.2-1.4 13.6 0'/%3E%3Ccircle cx='10' cy='10.5' r='1.3'/%3E%3Ccircle cx='14' cy='12.5' r='1.1'/%3E%3Ccircle cx='11.5' cy='15.5' r='1'/%3E%3C/g%3E%3Cg transform='translate(222.8 179.9) rotate(-14.1) scale(2.18) translate(-12 -12)'%3E%3Ccircle cx='12' cy='13.5' r='7'/%3E%3Cpath d='M12 6.5 10 4M12 6.5l2-2.5M12 6.5 8.5 7.5M12 6.5l3.5 1'/%3E%3C/g%3E%3Cg transform='translate(324.5 175.8) rotate(-11.2) scale(2.04) translate(-12 -12)'%3E%3Cpath d='M12 3c.6 4.6 2.4 6.4 7 7-4.6.6-6.4 2.4-7 7-.6-4.6-2.4-6.4-7-7 4.6-.6 6.4-2.4 7-7Z'/%3E%3C/g%3E%3Cg transform='translate(447.8 163.6) rotate(6.1) scale(2.22) translate(-12 -12)'%3E%3Cpath d='M8 21V9M12 21V7M16 21V9'/%3E%3Cpath d='M8 9C6.5 7.5 6 5.5 7 3.5c1.5 1 2 3 1 5.5Z'/%3E%3Cpath d='M12 7c-1-2-.5-4 1-5.5 1.5 1.5 1.5 3.5-1 5.5Z'/%3E%3Cpath d='M16 9c1.5-1.5 2-3.5 1-5.5-1.5 1-2 3-1 5.5Z'/%3E%3C/g%3E%3Cg transform='translate(-15.4 168.3) rotate(-8.8) scale(2.08) translate(-12 -12)'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Ccircle cx='12' cy='12' r='6.2'/%3E%3Ccircle cx='9.5' cy='10' r='1.2'/%3E%3Ccircle cx='14.5' cy='11' r='1.2'/%3E%3Ccircle cx='11.5' cy='14.5' r='1.2'/%3E%3C/g%3E%3Cg transform='translate(544.6 168.3) rotate(-8.8) scale(2.08) translate(-12 -12)'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Ccircle cx='12' cy='12' r='6.2'/%3E%3Ccircle cx='9.5' cy='10' r='1.2'/%3E%3Ccircle cx='14.5' cy='11' r='1.2'/%3E%3Ccircle cx='11.5' cy='14.5' r='1.2'/%3E%3C/g%3E%3Cg transform='translate(71.6 277.8) rotate(-23.7) scale(2.48) translate(-12 -12)'%3E%3Cpath d='M3.5 12.5C4 8 7.5 4.5 12 4.5s8 3.5 8.5 8c.3 2.7-1.7 4.5-4 5.5L12 20l-4.5-2c-2.3-1-4.3-2.8-4-5.5Z'/%3E%3Cpath d='M12 4.5V20M7.5 6l1.5 12M16.5 6 15 18'/%3E%3C/g%3E%3Cg transform='translate(631.6 277.8) rotate(-23.7) scale(2.48) translate(-12 -12)'%3E%3Cpath d='M3.5 12.5C4 8 7.5 4.5 12 4.5s8 3.5 8.5 8c.3 2.7-1.7 4.5-4 5.5L12 20l-4.5-2c-2.3-1-4.3-2.8-4-5.5Z'/%3E%3Cpath d='M12 4.5V20M7.5 6l1.5 12M16.5 6 15 18'/%3E%3C/g%3E%3Cg transform='translate(170.1 288.1) rotate(-9.0) scale(2.41) translate(-12 -12)'%3E%3Cpath d='M8 21c-2-2.5 2-4.5 0-7s2-4.5 0-7'/%3E%3Cpath d='M13 21c-2-2.5 2-4.5 0-7s2-4.5 0-7'/%3E%3Cpath d='M18 21c-2-2.5 2-4.5 0-7s2-4.5 0-7'/%3E%3C/g%3E%3Cg transform='translate(274.6 279.9) rotate(-24.1) scale(2.40) translate(-12 -12)'%3E%3Cpath transform='translate(-3.5 -3.5) rotate(-30 12 12)' d='M12 6c2 2.4 3.2 4.4 3.2 6.4a3.2 3.2 0 0 1-6.4 0C8.8 10.4 10 8.4 12 6Z'/%3E%3Cpath transform='translate(3.5 3.5) rotate(-30 12 12)' d='M12 6c2 2.4 3.2 4.4 3.2 6.4a3.2 3.2 0 0 1-6.4 0C8.8 10.4 10 8.4 12 6Z'/%3E%3C/g%3E%3Cg transform='translate(377.4 273.6) rotate(-24.4) scale(2.35) translate(-12 -12)'%3E%3Cpath d='M12 21V9'/%3E%3Cpath d='M12 9c0-2.6 1.4-4.6 3.6-5.6C15.6 6 14.4 8 12 9Z'/%3E%3Cpath d='M12 9C12 6.4 10.6 4.4 8.4 3.4 8.4 6 9.6 8 12 9Z'/%3E%3Cpath d='M12 13.2c0-2.6 1.4-4.6 3.6-5.6.1 2.6-1.2 4.6-3.6 5.6Z'/%3E%3Cpath d='M12 13.2C12 10.6 10.6 8.6 8.4 7.6c-.1 2.6 1.2 4.6 3.6 5.6Z'/%3E%3Cpath d='M12 17.4c0-2.6 1.4-4.6 3.6-5.6.1 2.6-1.2 4.6-3.6 5.6Z'/%3E%3Cpath d='M12 17.4c0-2.6-1.4-4.6-3.6-5.6-.1 2.6 1.2 4.6 3.6 5.6Z'/%3E%3C/g%3E%3Cg transform='translate(-47.7 274.7) rotate(10.1) scale(2.29) translate(-12 -12)'%3E%3Cpath d='M3 12c2.5-4 5.5-6 9-6s6 2.5 7.5 6C18 15.5 15.5 18 12 18s-6.5-2-9-6Z'/%3E%3Cpath d='M19.5 12 22 8.5v7L19.5 12Z'/%3E%3Cpath d='M7.5 11h.01'/%3E%3C/g%3E%3Cg transform='translate(512.3 274.7) rotate(10.1) scale(2.29) translate(-12 -12)'%3E%3Cpath d='M3 12c2.5-4 5.5-6 9-6s6 2.5 7.5 6C18 15.5 15.5 18 12 18s-6.5-2-9-6Z'/%3E%3Cpath d='M19.5 12 22 8.5v7L19.5 12Z'/%3E%3Cpath d='M7.5 11h.01'/%3E%3C/g%3E%3Cg transform='translate(110.0 398.1) rotate(-8.6) scale(2.44) translate(-12 -12)'%3E%3Cpath d='M12 22v-9'/%3E%3Cpath d='M12 13c-.9-2.7-.9-5.4 0-8 .9 2.6.9 5.3 0 8Z'/%3E%3Cpath d='M12 13c-2.5-1.3-4.3-3.3-5.2-5.9 2.6.9 4.6 2.9 5.2 5.9Z'/%3E%3Cpath d='M12 13c2.5-1.3 4.3-3.3 5.2-5.9-2.6.9-4.6 2.9-5.2 5.9Z'/%3E%3Cpath d='M12 13c-2.9-.2-5.4-1.5-7-3.6 2.7-.3 5.3.7 7 3.6Z'/%3E%3Cpath d='M12 13c2.9-.2 5.4-1.5 7-3.6-2.7-.3-5.3.7-7 3.6Z'/%3E%3C/g%3E%3Cg transform='translate(239.9 388.0) rotate(-0.4) scale(2.31) translate(-12 -12)'%3E%3Cpath d='M5 19C5 11 11 5 19 5c0 8-6 14-14 14Z'/%3E%3Ccircle cx='9' cy='15' r='1.4'/%3E%3Ccircle cx='12' cy='12' r='1.4'/%3E%3Ccircle cx='15' cy='9' r='1.4'/%3E%3C/g%3E%3Cg transform='translate(325.9 386.0) rotate(-5.7) scale(2.37) translate(-12 -12)'%3E%3Cpath d='M12 21c3.6 0 6-2.7 6-6.5C18 10 15.3 3 12 3S6 10 6 14.5C6 18.3 8.4 21 12 21Z'/%3E%3C/g%3E%3Cg transform='translate(463.0 391.9) rotate(-5.5) scale(2.08) translate(-12 -12)'%3E%3Cpath d='M9 3h6v3l1.6 3.2V20a1 1 0 0 1-1 1H8.4a1 1 0 0 1-1-1V9.2L9 6V3Z'/%3E%3Cpath d='M7.4 13.5h9.2'/%3E%3C/g%3E%3Cg transform='translate(-8.0 381.8) rotate(2.8) scale(2.22) translate(-12 -12)'%3E%3Cpath d='M7 3h10l-.6 7.2A4.4 4.4 0 0 1 12 14a4.4 4.4 0 0 1-4.4-3.8L7 3Z'/%3E%3Cpath d='M12 14v6M8.5 20h7'/%3E%3Cpath d='M7.4 8h9.2'/%3E%3C/g%3E%3Cg transform='translate(552.0 381.8) rotate(2.8) scale(2.22) translate(-12 -12)'%3E%3Cpath d='M7 3h10l-.6 7.2A4.4 4.4 0 0 1 12 14a4.4 4.4 0 0 1-4.4-3.8L7 3Z'/%3E%3Cpath d='M12 14v6M8.5 20h7'/%3E%3Cpath d='M7.4 8h9.2'/%3E%3C/g%3E%3Cg transform='translate(63.4 -42.4) rotate(-6.7) scale(2.34) translate(-12 -12)'%3E%3Cpath d='M8.5 3.5C6 3.5 4.5 5.4 4.5 7.5c0 1.5.7 2.4 1.4 3.2.7.9 1.1 1.6 1.1 3.3 0 2.7 2.1 4.8 5 4.8s5-2.1 5-4.8c0-1.7.4-2.4 1.1-3.3.7-.8 1.4-1.7 1.4-3.2 0-2.1-1.5-4-4-4-1.2 0-2.2.5-3.5 1.4C10.7 4 9.7 3.5 8.5 3.5Z'/%3E%3Cpath d='M9 8h.01M15 8h.01M12 12.5h.01M10 16h.01M14 16h.01'/%3E%3C/g%3E%3Cg transform='translate(63.4 517.6) rotate(-6.7) scale(2.34) translate(-12 -12)'%3E%3Cpath d='M8.5 3.5C6 3.5 4.5 5.4 4.5 7.5c0 1.5.7 2.4 1.4 3.2.7.9 1.1 1.6 1.1 3.3 0 2.7 2.1 4.8 5 4.8s5-2.1 5-4.8c0-1.7.4-2.4 1.1-3.3.7-.8 1.4-1.7 1.4-3.2 0-2.1-1.5-4-4-4-1.2 0-2.2.5-3.5 1.4C10.7 4 9.7 3.5 8.5 3.5Z'/%3E%3Cpath d='M9 8h.01M15 8h.01M12 12.5h.01M10 16h.01M14 16h.01'/%3E%3C/g%3E%3Cg transform='translate(623.4 -42.4) rotate(-6.7) scale(2.34) translate(-12 -12)'%3E%3Cpath d='M8.5 3.5C6 3.5 4.5 5.4 4.5 7.5c0 1.5.7 2.4 1.4 3.2.7.9 1.1 1.6 1.1 3.3 0 2.7 2.1 4.8 5 4.8s5-2.1 5-4.8c0-1.7.4-2.4 1.1-3.3.7-.8 1.4-1.7 1.4-3.2 0-2.1-1.5-4-4-4-1.2 0-2.2.5-3.5 1.4C10.7 4 9.7 3.5 8.5 3.5Z'/%3E%3Cpath d='M9 8h.01M15 8h.01M12 12.5h.01M10 16h.01M14 16h.01'/%3E%3C/g%3E%3Cg transform='translate(623.4 517.6) rotate(-6.7) scale(2.34) translate(-12 -12)'%3E%3Cpath d='M8.5 3.5C6 3.5 4.5 5.4 4.5 7.5c0 1.5.7 2.4 1.4 3.2.7.9 1.1 1.6 1.1 3.3 0 2.7 2.1 4.8 5 4.8s5-2.1 5-4.8c0-1.7.4-2.4 1.1-3.3.7-.8 1.4-1.7 1.4-3.2 0-2.1-1.5-4-4-4-1.2 0-2.2.5-3.5 1.4C10.7 4 9.7 3.5 8.5 3.5Z'/%3E%3Cpath d='M9 8h.01M15 8h.01M12 12.5h.01M10 16h.01M14 16h.01'/%3E%3C/g%3E%3Cg transform='translate(158.3 -67.7) rotate(8.9) scale(2.08) translate(-12 -12)'%3E%3Cpath d='M7 13c0-3 2.2-5 5-5s5 2 5 5-2.2 4.5-5 4.5S7 16 7 13Z'/%3E%3Cpath d='M9.5 8.5 8.5 6M14.5 8.5l1-2.5'/%3E%3Cpath d='M7 12H3.5M7 14.5 4 16M17 12h3.5M17 14.5l3 1.5'/%3E%3Cpath d='M3.5 12c-1.2-.7-1.6-2-1-3M20.5 12c1.2-.7 1.6-2 1-3'/%3E%3C/g%3E%3Cg transform='translate(158.3 492.3) rotate(8.9) scale(2.08) translate(-12 -12)'%3E%3Cpath d='M7 13c0-3 2.2-5 5-5s5 2 5 5-2.2 4.5-5 4.5S7 16 7 13Z'/%3E%3Cpath d='M9.5 8.5 8.5 6M14.5 8.5l1-2.5'/%3E%3Cpath d='M7 12H3.5M7 14.5 4 16M17 12h3.5M17 14.5l3 1.5'/%3E%3Cpath d='M3.5 12c-1.2-.7-1.6-2-1-3M20.5 12c1.2-.7 1.6-2 1-3'/%3E%3C/g%3E%3Cg transform='translate(262.4 -46.7) rotate(-12.2) scale(2.09) translate(-12 -12)'%3E%3Cpath d='M12 21c-4 0-7-3-7-7 0-3.5 2.5-6.5 7-11 4.5 4.5 7 7.5 7 11 0 4-3 7-7 7Z'/%3E%3Cpath d='M8 11.5c2.5-1 5.5-1 8 0'/%3E%3C/g%3E%3Cg transform='translate(262.4 513.3) rotate(-12.2) scale(2.09) translate(-12 -12)'%3E%3Cpath d='M12 21c-4 0-7-3-7-7 0-3.5 2.5-6.5 7-11 4.5 4.5 7 7.5 7 11 0 4-3 7-7 7Z'/%3E%3Cpath d='M8 11.5c2.5-1 5.5-1 8 0'/%3E%3C/g%3E%3Cg transform='translate(379.2 -55.0) rotate(-10.2) scale(2.30) translate(-12 -12)'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='2'/%3E%3Crect x='8.2' y='5' width='7.6' height='5.4' rx='1'/%3E%3Cpath d='M8.2 13h3M14 13h1.8'/%3E%3Crect x='8.2' y='16' width='7.6' height='3' rx='.8'/%3E%3C/g%3E%3Cg transform='translate(379.2 505.0) rotate(-10.2) scale(2.30) translate(-12 -12)'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='2'/%3E%3Crect x='8.2' y='5' width='7.6' height='5.4' rx='1'/%3E%3Cpath d='M8.2 13h3M14 13h1.8'/%3E%3Crect x='8.2' y='16' width='7.6' height='3' rx='.8'/%3E%3C/g%3E%3Cg transform='translate(-69.5 -45.9) rotate(8.7) scale(2.48) translate(-12 -12)'%3E%3Cpath d='M5 19C5 12 9.5 6.5 19 5c-.5 8.5-6 14-14 14Z'/%3E%3Cpath d='M5 19 13 11'/%3E%3C/g%3E%3Cg transform='translate(-69.5 514.1) rotate(8.7) scale(2.48) translate(-12 -12)'%3E%3Cpath d='M5 19C5 12 9.5 6.5 19 5c-.5 8.5-6 14-14 14Z'/%3E%3Cpath d='M5 19 13 11'/%3E%3C/g%3E%3Cg transform='translate(490.5 -45.9) rotate(8.7) scale(2.48) translate(-12 -12)'%3E%3Cpath d='M5 19C5 12 9.5 6.5 19 5c-.5 8.5-6 14-14 14Z'/%3E%3Cpath d='M5 19 13 11'/%3E%3C/g%3E%3Cg transform='translate(490.5 514.1) rotate(8.7) scale(2.48) translate(-12 -12)'%3E%3Cpath d='M5 19C5 12 9.5 6.5 19 5c-.5 8.5-6 14-14 14Z'/%3E%3Cpath d='M5 19 13 11'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  /* wzór doodli lodów: rożki, kubki z zawijasem, lizaki lodowe, gałki, płatki
     śniegu, wisienki, posypka, łyżeczka, automat + alergeny z lodów (mleko,
     jaja, orzechy, soja, gluten) - ta sama technika i kafel 560×560 */
  --mask-doodles-lody: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='560' viewBox='0 0 560 560'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate(66.6 45.5) rotate(19.7) scale(2.02) translate(-12 -12)'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='2'/%3E%3Cpath d='M6 5.2h12'/%3E%3Crect x='8.2' y='7' width='7.6' height='4.6' rx='1'/%3E%3Ccircle cx='10' cy='16' r='2.1'/%3E%3Crect x='13.4' y='14' width='2.6' height='4.4' rx='.6'/%3E%3C/g%3E%3Cg transform='translate(66.6 605.5) rotate(19.7) scale(2.02) translate(-12 -12)'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='2'/%3E%3Cpath d='M6 5.2h12'/%3E%3Crect x='8.2' y='7' width='7.6' height='4.6' rx='1'/%3E%3Ccircle cx='10' cy='16' r='2.1'/%3E%3Crect x='13.4' y='14' width='2.6' height='4.4' rx='.6'/%3E%3C/g%3E%3Cg transform='translate(626.6 45.5) rotate(19.7) scale(2.02) translate(-12 -12)'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='2'/%3E%3Cpath d='M6 5.2h12'/%3E%3Crect x='8.2' y='7' width='7.6' height='4.6' rx='1'/%3E%3Ccircle cx='10' cy='16' r='2.1'/%3E%3Crect x='13.4' y='14' width='2.6' height='4.4' rx='.6'/%3E%3C/g%3E%3Cg transform='translate(626.6 605.5) rotate(19.7) scale(2.02) translate(-12 -12)'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='2'/%3E%3Cpath d='M6 5.2h12'/%3E%3Crect x='8.2' y='7' width='7.6' height='4.6' rx='1'/%3E%3Ccircle cx='10' cy='16' r='2.1'/%3E%3Crect x='13.4' y='14' width='2.6' height='4.4' rx='.6'/%3E%3C/g%3E%3Cg transform='translate(171.2 62.7) rotate(4.7) scale(2.15) translate(-12 -12)'%3E%3Cpath d='M12 3v18M4.2 7.5l15.6 9M4.2 16.5l15.6-9M12.0 5.8l1.7 -1.9M12.0 5.8l-1.7 -1.9M17.4 8.9l2.5 0.5M17.4 8.9l0.8 -2.5M17.4 15.1l0.8 2.5M17.4 15.1l2.5 -0.5M12.0 18.2l-1.7 1.9M12.0 18.2l1.7 1.9M6.6 15.1l-2.5 -0.5M6.6 15.1l-0.8 2.5M6.6 8.9l-0.8 -2.5M6.6 8.9l-2.5 0.5'/%3E%3C/g%3E%3Cg transform='translate(171.2 622.7) rotate(4.7) scale(2.15) translate(-12 -12)'%3E%3Cpath d='M12 3v18M4.2 7.5l15.6 9M4.2 16.5l15.6-9M12.0 5.8l1.7 -1.9M12.0 5.8l-1.7 -1.9M17.4 8.9l2.5 0.5M17.4 8.9l0.8 -2.5M17.4 15.1l0.8 2.5M17.4 15.1l2.5 -0.5M12.0 18.2l-1.7 1.9M12.0 18.2l1.7 1.9M6.6 15.1l-2.5 -0.5M6.6 15.1l-0.8 2.5M6.6 8.9l-0.8 -2.5M6.6 8.9l-2.5 0.5'/%3E%3C/g%3E%3Cg transform='translate(270.3 49.6) rotate(-25.8) scale(2.13) translate(-12 -12)'%3E%3Cpath d='M8.6 12.2 12 21.5l3.4-9.3'/%3E%3Cpath d='M10 15.6l3.6-1.8M10.9 18.3l2.1-1'/%3E%3Cpath d='M7.2 12.2c-1.6 0-2.2-2-.9-3C6.6 5.7 9 3.5 12 3.5s5.4 2.2 5.7 5.7c1.3 1 .7 3-.9 3-1 0-1.6-.7-2.6-.7s-1.5.7-2.4.7-1.4-.7-2.4-.7-1.4.7-2.2.7Z'/%3E%3C/g%3E%3Cg transform='translate(270.3 609.6) rotate(-25.8) scale(2.13) translate(-12 -12)'%3E%3Cpath d='M8.6 12.2 12 21.5l3.4-9.3'/%3E%3Cpath d='M10 15.6l3.6-1.8M10.9 18.3l2.1-1'/%3E%3Cpath d='M7.2 12.2c-1.6 0-2.2-2-.9-3C6.6 5.7 9 3.5 12 3.5s5.4 2.2 5.7 5.7c1.3 1 .7 3-.9 3-1 0-1.6-.7-2.6-.7s-1.5.7-2.4.7-1.4-.7-2.4-.7-1.4.7-2.2.7Z'/%3E%3C/g%3E%3Cg transform='translate(378.7 59.7) rotate(2.7) scale(2.18) translate(-12 -12)'%3E%3Cpath d='M8.8 13.4 12 21.5l3.2-8.1'/%3E%3Cpath d='M7.4 13.4c-.7-1.8.6-3.2 2.2-3.2h4.8c1.6 0 2.9 1.4 2.2 3.2Z'/%3E%3Cpath d='M8.9 10.2c-.4-1.6.6-2.8 2-2.8h2.2c1.4 0 2.4 1.2 2 2.8'/%3E%3Cpath d='M10.5 7.4c-.3-1.8.6-3.3 2.4-3.9.1 1-.2 1.7-.7 2.2 1 .2 1.5.9 1.5 1.7'/%3E%3C/g%3E%3Cg transform='translate(378.7 619.7) rotate(2.7) scale(2.18) translate(-12 -12)'%3E%3Cpath d='M8.8 13.4 12 21.5l3.2-8.1'/%3E%3Cpath d='M7.4 13.4c-.7-1.8.6-3.2 2.2-3.2h4.8c1.6 0 2.9 1.4 2.2 3.2Z'/%3E%3Cpath d='M8.9 10.2c-.4-1.6.6-2.8 2-2.8h2.2c1.4 0 2.4 1.2 2 2.8'/%3E%3Cpath d='M10.5 7.4c-.3-1.8.6-3.3 2.4-3.9.1 1-.2 1.7-.7 2.2 1 .2 1.5.9 1.5 1.7'/%3E%3C/g%3E%3Cg transform='translate(-42.2 46.0) rotate(13.4) scale(2.11) translate(-12 -12)'%3E%3Cpath d='M12 3c.6 4.6 2.4 6.4 7 7-4.6.6-6.4 2.4-7 7-.6-4.6-2.4-6.4-7-7 4.6-.6 6.4-2.4 7-7Z'/%3E%3C/g%3E%3Cg transform='translate(-42.2 606.0) rotate(13.4) scale(2.11) translate(-12 -12)'%3E%3Cpath d='M12 3c.6 4.6 2.4 6.4 7 7-4.6.6-6.4 2.4-7 7-.6-4.6-2.4-6.4-7-7 4.6-.6 6.4-2.4 7-7Z'/%3E%3C/g%3E%3Cg transform='translate(517.8 46.0) rotate(13.4) scale(2.11) translate(-12 -12)'%3E%3Cpath d='M12 3c.6 4.6 2.4 6.4 7 7-4.6.6-6.4 2.4-7 7-.6-4.6-2.4-6.4-7-7 4.6-.6 6.4-2.4 7-7Z'/%3E%3C/g%3E%3Cg transform='translate(517.8 606.0) rotate(13.4) scale(2.11) translate(-12 -12)'%3E%3Cpath d='M12 3c.6 4.6 2.4 6.4 7 7-4.6.6-6.4 2.4-7 7-.6-4.6-2.4-6.4-7-7 4.6-.6 6.4-2.4 7-7Z'/%3E%3C/g%3E%3Cg transform='translate(112.4 156.7) rotate(-20.4) scale(2.25) translate(-12 -12)'%3E%3Cpath d='M4.5 13.2h15c0 3.5-3.3 6.3-7.5 6.3s-7.5-2.8-7.5-6.3Z'/%3E%3Cpath d='M10.2 19.4v1.8h3.6v-1.8'/%3E%3Cpath d='M5.4 13.2a3.4 3.4 0 0 1 6.4-1.6M12.2 11.6a3.4 3.4 0 0 1 6.4 1.6M8.6 10.4a3.4 3.4 0 0 1 6.8 0'/%3E%3C/g%3E%3Cg transform='translate(211.4 163.0) rotate(-25.1) scale(2.03) translate(-12 -12)'%3E%3Ccircle cx='8.3' cy='16.6' r='3.4'/%3E%3Ccircle cx='15.8' cy='17.2' r='3.1'/%3E%3Cpath d='M8.3 13.2c.6-4 3.2-7 6.6-8.6M15.8 14.1c-.4-3.4-.6-6.4-.7-9.5'/%3E%3Cpath d='M15 4.6c1.6-1.2 3.7-1.2 5 .1-1.5 1.3-3.6 1.3-5-.1Z'/%3E%3C/g%3E%3Cg transform='translate(341.9 161.1) rotate(-23.3) scale(2.42) translate(-12 -12)'%3E%3Cpath d='M6.6 13.2h10.8l-1.5 8H8.1Z'/%3E%3Cpath d='M10.2 13.6l.4 7.2M13.8 13.6l-.4 7.2'/%3E%3Cpath d='M6.4 13.2c-.7-1.9.7-3.4 2.4-3.4h6.4c1.7 0 3.1 1.5 2.4 3.4'/%3E%3Cpath d='M8.4 9.8c-.4-1.7.6-3 2.1-3h3c1.5 0 2.5 1.3 2.1 3'/%3E%3Cpath d='M10.4 6.8c-.2-1.6.6-3 2.3-3.6.2.9-.1 1.6-.6 2 1 .3 1.5 1 1.4 1.6'/%3E%3C/g%3E%3Cg transform='translate(444.0 173.0) rotate(3.4) scale(2.19) translate(-12 -12)'%3E%3Cpath d='M8 13.5V7.2a4 4 0 0 1 6.3-3.3 1.6 1.6 0 0 0 1.7 2.2v7.4a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1Z'/%3E%3Cpath d='M11 14.5v5.8a1 1 0 0 0 2 0v-5.8'/%3E%3Cpath d='M10.4 7.5v3.6'/%3E%3C/g%3E%3Cg transform='translate(-9.6 172.2) rotate(-9.8) scale(2.15) translate(-12 -12)'%3E%3Cpath d='M12 21V9'/%3E%3Cpath d='M12 9c0-2.6 1.4-4.6 3.6-5.6C15.6 6 14.4 8 12 9Z'/%3E%3Cpath d='M12 9C12 6.4 10.6 4.4 8.4 3.4 8.4 6 9.6 8 12 9Z'/%3E%3Cpath d='M12 13.2c0-2.6 1.4-4.6 3.6-5.6.1 2.6-1.2 4.6-3.6 5.6Z'/%3E%3Cpath d='M12 13.2C12 10.6 10.6 8.6 8.4 7.6c-.1 2.6 1.2 4.6 3.6 5.6Z'/%3E%3Cpath d='M12 17.4c0-2.6 1.4-4.6 3.6-5.6.1 2.6-1.2 4.6-3.6 5.6Z'/%3E%3Cpath d='M12 17.4c0-2.6-1.4-4.6-3.6-5.6-.1 2.6 1.2 4.6 3.6 5.6Z'/%3E%3C/g%3E%3Cg transform='translate(550.4 172.2) rotate(-9.8) scale(2.15) translate(-12 -12)'%3E%3Cpath d='M12 21V9'/%3E%3Cpath d='M12 9c0-2.6 1.4-4.6 3.6-5.6C15.6 6 14.4 8 12 9Z'/%3E%3Cpath d='M12 9C12 6.4 10.6 4.4 8.4 3.4 8.4 6 9.6 8 12 9Z'/%3E%3Cpath d='M12 13.2c0-2.6 1.4-4.6 3.6-5.6.1 2.6-1.2 4.6-3.6 5.6Z'/%3E%3Cpath d='M12 13.2C12 10.6 10.6 8.6 8.4 7.6c-.1 2.6 1.2 4.6 3.6 5.6Z'/%3E%3Cpath d='M12 17.4c0-2.6 1.4-4.6 3.6-5.6.1 2.6-1.2 4.6-3.6 5.6Z'/%3E%3Cpath d='M12 17.4c0-2.6-1.4-4.6-3.6-5.6-.1 2.6 1.2 4.6 3.6 5.6Z'/%3E%3C/g%3E%3Cg transform='translate(40.5 277.8) rotate(-19.0) scale(2.42) translate(-12 -12)'%3E%3Cpath d='M9 3h6v3l1.6 3.2V20a1 1 0 0 1-1 1H8.4a1 1 0 0 1-1-1V9.2L9 6V3Z'/%3E%3Cpath d='M7.4 13.5h9.2'/%3E%3C/g%3E%3Cg transform='translate(600.5 277.8) rotate(-19.0) scale(2.42) translate(-12 -12)'%3E%3Cpath d='M9 3h6v3l1.6 3.2V20a1 1 0 0 1-1 1H8.4a1 1 0 0 1-1-1V9.2L9 6V3Z'/%3E%3Cpath d='M7.4 13.5h9.2'/%3E%3C/g%3E%3Cg transform='translate(174.6 268.3) rotate(-0.7) scale(2.21) translate(-12 -12)'%3E%3Cpath d='M4.6 7.2l3.4 1.5M10.2 3.6l1.2 3.4M16 6.6l3.5-.8M5.8 13.2l2.5 2.6M11.4 11.2l3.6.6M18.8 11.2l-1.2 3.4M8 19.6l3.4-1.2M14 17.2l2.2 2.9'/%3E%3C/g%3E%3Cg transform='translate(285.8 272.5) rotate(25.2) scale(2.23) translate(-12 -12)'%3E%3Cpath d='M12 21c3.6 0 6-2.7 6-6.5C18 10 15.3 3 12 3S6 10 6 14.5C6 18.3 8.4 21 12 21Z'/%3E%3C/g%3E%3Cg transform='translate(400.6 278.1) rotate(-5.5) scale(2.17) translate(-12 -12)'%3E%3Cpath d='M12 2.6c2.3 0 3.7 2 3.7 4.3S14.3 10.8 12 10.8 8.3 9.2 8.3 6.9 9.7 2.6 12 2.6Z'/%3E%3Cpath d='M11.3 10.8 10.9 20a1.1 1.1 0 0 0 2.2 0l-.4-9.2'/%3E%3C/g%3E%3Cg transform='translate(-40.3 268.0) rotate(24.7) scale(2.39) translate(-12 -12)'%3E%3Cpath d='M12 21c-4 0-7-3-7-7 0-3.5 2.5-6.5 7-11 4.5 4.5 7 7.5 7 11 0 4-3 7-7 7Z'/%3E%3Cpath d='M8 11.5c2.5-1 5.5-1 8 0'/%3E%3C/g%3E%3Cg transform='translate(519.7 268.0) rotate(24.7) scale(2.39) translate(-12 -12)'%3E%3Cpath d='M12 21c-4 0-7-3-7-7 0-3.5 2.5-6.5 7-11 4.5 4.5 7 7.5 7 11 0 4-3 7-7 7Z'/%3E%3Cpath d='M8 11.5c2.5-1 5.5-1 8 0'/%3E%3C/g%3E%3Cg transform='translate(115.0 403.9) rotate(-16.3) scale(2.01) translate(-12 -12)'%3E%3Cpath d='M5 19C5 11 11 5 19 5c0 8-6 14-14 14Z'/%3E%3Ccircle cx='9' cy='15' r='1.4'/%3E%3Ccircle cx='12' cy='12' r='1.4'/%3E%3Ccircle cx='15' cy='9' r='1.4'/%3E%3C/g%3E%3Cg transform='translate(239.9 394.4) rotate(-23.8) scale(2.26) translate(-12 -12)'%3E%3Cpath d='M8 13.5V7.2a4 4 0 0 1 6.3-3.3 1.6 1.6 0 0 0 1.7 2.2v7.4a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1Z'/%3E%3Cpath d='M11 14.5v5.8a1 1 0 0 0 2 0v-5.8'/%3E%3Cpath d='M10.4 7.5v3.6'/%3E%3C/g%3E%3Cg transform='translate(324.7 390.6) rotate(5.7) scale(2.00) translate(-12 -12)'%3E%3Cpath d='M12 21V9'/%3E%3Cpath d='M12 9c0-2.6 1.4-4.6 3.6-5.6C15.6 6 14.4 8 12 9Z'/%3E%3Cpath d='M12 9C12 6.4 10.6 4.4 8.4 3.4 8.4 6 9.6 8 12 9Z'/%3E%3Cpath d='M12 13.2c0-2.6 1.4-4.6 3.6-5.6.1 2.6-1.2 4.6-3.6 5.6Z'/%3E%3Cpath d='M12 13.2C12 10.6 10.6 8.6 8.4 7.6c-.1 2.6 1.2 4.6 3.6 5.6Z'/%3E%3Cpath d='M12 17.4c0-2.6 1.4-4.6 3.6-5.6.1 2.6-1.2 4.6-3.6 5.6Z'/%3E%3Cpath d='M12 17.4c0-2.6-1.4-4.6-3.6-5.6-.1 2.6 1.2 4.6 3.6 5.6Z'/%3E%3C/g%3E%3Cg transform='translate(458.6 389.3) rotate(-15.1) scale(2.03) translate(-12 -12)'%3E%3Cpath d='M5 19C5 11 11 5 19 5c0 8-6 14-14 14Z'/%3E%3Ccircle cx='9' cy='15' r='1.4'/%3E%3Ccircle cx='12' cy='12' r='1.4'/%3E%3Ccircle cx='15' cy='9' r='1.4'/%3E%3C/g%3E%3Cg transform='translate(4.4 380.4) rotate(6.4) scale(2.17) translate(-12 -12)'%3E%3Cpath d='M4.5 13.2h15c0 3.5-3.3 6.3-7.5 6.3s-7.5-2.8-7.5-6.3Z'/%3E%3Cpath d='M10.2 19.4v1.8h3.6v-1.8'/%3E%3Cpath d='M5.4 13.2a3.4 3.4 0 0 1 6.4-1.6M12.2 11.6a3.4 3.4 0 0 1 6.4 1.6M8.6 10.4a3.4 3.4 0 0 1 6.8 0'/%3E%3C/g%3E%3Cg transform='translate(564.4 380.4) rotate(6.4) scale(2.17) translate(-12 -12)'%3E%3Cpath d='M4.5 13.2h15c0 3.5-3.3 6.3-7.5 6.3s-7.5-2.8-7.5-6.3Z'/%3E%3Cpath d='M10.2 19.4v1.8h3.6v-1.8'/%3E%3Cpath d='M5.4 13.2a3.4 3.4 0 0 1 6.4-1.6M12.2 11.6a3.4 3.4 0 0 1 6.4 1.6M8.6 10.4a3.4 3.4 0 0 1 6.8 0'/%3E%3C/g%3E%3Cg transform='translate(44.1 -53.9) rotate(-18.9) scale(2.37) translate(-12 -12)'%3E%3Cpath d='M12 21c-4 0-7-3-7-7 0-3.5 2.5-6.5 7-11 4.5 4.5 7 7.5 7 11 0 4-3 7-7 7Z'/%3E%3Cpath d='M8 11.5c2.5-1 5.5-1 8 0'/%3E%3C/g%3E%3Cg transform='translate(44.1 506.1) rotate(-18.9) scale(2.37) translate(-12 -12)'%3E%3Cpath d='M12 21c-4 0-7-3-7-7 0-3.5 2.5-6.5 7-11 4.5 4.5 7 7.5 7 11 0 4-3 7-7 7Z'/%3E%3Cpath d='M8 11.5c2.5-1 5.5-1 8 0'/%3E%3C/g%3E%3Cg transform='translate(604.1 -53.9) rotate(-18.9) scale(2.37) translate(-12 -12)'%3E%3Cpath d='M12 21c-4 0-7-3-7-7 0-3.5 2.5-6.5 7-11 4.5 4.5 7 7.5 7 11 0 4-3 7-7 7Z'/%3E%3Cpath d='M8 11.5c2.5-1 5.5-1 8 0'/%3E%3C/g%3E%3Cg transform='translate(604.1 506.1) rotate(-18.9) scale(2.37) translate(-12 -12)'%3E%3Cpath d='M12 21c-4 0-7-3-7-7 0-3.5 2.5-6.5 7-11 4.5 4.5 7 7.5 7 11 0 4-3 7-7 7Z'/%3E%3Cpath d='M8 11.5c2.5-1 5.5-1 8 0'/%3E%3C/g%3E%3Cg transform='translate(164.4 -52.9) rotate(-14.1) scale(2.14) translate(-12 -12)'%3E%3Cpath d='M12 21c3.6 0 6-2.7 6-6.5C18 10 15.3 3 12 3S6 10 6 14.5C6 18.3 8.4 21 12 21Z'/%3E%3C/g%3E%3Cg transform='translate(164.4 507.1) rotate(-14.1) scale(2.14) translate(-12 -12)'%3E%3Cpath d='M12 21c3.6 0 6-2.7 6-6.5C18 10 15.3 3 12 3S6 10 6 14.5C6 18.3 8.4 21 12 21Z'/%3E%3C/g%3E%3Cg transform='translate(283.5 -50.6) rotate(6.7) scale(2.07) translate(-12 -12)'%3E%3Cpath d='M4.6 7.2l3.4 1.5M10.2 3.6l1.2 3.4M16 6.6l3.5-.8M5.8 13.2l2.5 2.6M11.4 11.2l3.6.6M18.8 11.2l-1.2 3.4M8 19.6l3.4-1.2M14 17.2l2.2 2.9'/%3E%3C/g%3E%3Cg transform='translate(283.5 509.4) rotate(6.7) scale(2.07) translate(-12 -12)'%3E%3Cpath d='M4.6 7.2l3.4 1.5M10.2 3.6l1.2 3.4M16 6.6l3.5-.8M5.8 13.2l2.5 2.6M11.4 11.2l3.6.6M18.8 11.2l-1.2 3.4M8 19.6l3.4-1.2M14 17.2l2.2 2.9'/%3E%3C/g%3E%3Cg transform='translate(393.7 -51.5) rotate(-0.9) scale(2.17) translate(-12 -12)'%3E%3Ccircle cx='8.3' cy='16.6' r='3.4'/%3E%3Ccircle cx='15.8' cy='17.2' r='3.1'/%3E%3Cpath d='M8.3 13.2c.6-4 3.2-7 6.6-8.6M15.8 14.1c-.4-3.4-.6-6.4-.7-9.5'/%3E%3Cpath d='M15 4.6c1.6-1.2 3.7-1.2 5 .1-1.5 1.3-3.6 1.3-5-.1Z'/%3E%3C/g%3E%3Cg transform='translate(393.7 508.5) rotate(-0.9) scale(2.17) translate(-12 -12)'%3E%3Ccircle cx='8.3' cy='16.6' r='3.4'/%3E%3Ccircle cx='15.8' cy='17.2' r='3.1'/%3E%3Cpath d='M8.3 13.2c.6-4 3.2-7 6.6-8.6M15.8 14.1c-.4-3.4-.6-6.4-.7-9.5'/%3E%3Cpath d='M15 4.6c1.6-1.2 3.7-1.2 5 .1-1.5 1.3-3.6 1.3-5-.1Z'/%3E%3C/g%3E%3Cg transform='translate(-69.5 -66.9) rotate(0.6) scale(2.05) translate(-12 -12)'%3E%3Cpath d='M12 3v18M4.2 7.5l15.6 9M4.2 16.5l15.6-9M12.0 5.8l1.7 -1.9M12.0 5.8l-1.7 -1.9M17.4 8.9l2.5 0.5M17.4 8.9l0.8 -2.5M17.4 15.1l0.8 2.5M17.4 15.1l2.5 -0.5M12.0 18.2l-1.7 1.9M12.0 18.2l1.7 1.9M6.6 15.1l-2.5 -0.5M6.6 15.1l-0.8 2.5M6.6 8.9l-0.8 -2.5M6.6 8.9l-2.5 0.5'/%3E%3C/g%3E%3Cg transform='translate(-69.5 493.1) rotate(0.6) scale(2.05) translate(-12 -12)'%3E%3Cpath d='M12 3v18M4.2 7.5l15.6 9M4.2 16.5l15.6-9M12.0 5.8l1.7 -1.9M12.0 5.8l-1.7 -1.9M17.4 8.9l2.5 0.5M17.4 8.9l0.8 -2.5M17.4 15.1l0.8 2.5M17.4 15.1l2.5 -0.5M12.0 18.2l-1.7 1.9M12.0 18.2l1.7 1.9M6.6 15.1l-2.5 -0.5M6.6 15.1l-0.8 2.5M6.6 8.9l-0.8 -2.5M6.6 8.9l-2.5 0.5'/%3E%3C/g%3E%3Cg transform='translate(490.5 -66.9) rotate(0.6) scale(2.05) translate(-12 -12)'%3E%3Cpath d='M12 3v18M4.2 7.5l15.6 9M4.2 16.5l15.6-9M12.0 5.8l1.7 -1.9M12.0 5.8l-1.7 -1.9M17.4 8.9l2.5 0.5M17.4 8.9l0.8 -2.5M17.4 15.1l0.8 2.5M17.4 15.1l2.5 -0.5M12.0 18.2l-1.7 1.9M12.0 18.2l1.7 1.9M6.6 15.1l-2.5 -0.5M6.6 15.1l-0.8 2.5M6.6 8.9l-0.8 -2.5M6.6 8.9l-2.5 0.5'/%3E%3C/g%3E%3Cg transform='translate(490.5 493.1) rotate(0.6) scale(2.05) translate(-12 -12)'%3E%3Cpath d='M12 3v18M4.2 7.5l15.6 9M4.2 16.5l15.6-9M12.0 5.8l1.7 -1.9M12.0 5.8l-1.7 -1.9M17.4 8.9l2.5 0.5M17.4 8.9l0.8 -2.5M17.4 15.1l0.8 2.5M17.4 15.1l2.5 -0.5M12.0 18.2l-1.7 1.9M12.0 18.2l1.7 1.9M6.6 15.1l-2.5 -0.5M6.6 15.1l-0.8 2.5M6.6 8.9l-0.8 -2.5M6.6 8.9l-2.5 0.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

@supports (height: 1svh) {
  :root { --svh: 1svh; --lvh: 1lvh; }
}

/* Motywy kolorów. Te same nazwy tokenów, więc cała strona (albo dowolny
   element z atrybutem data-theme) przełącza się między pizzą a lodami:
   <html data-theme="lody"> na lody.html, a np. przycisk „Lody" na stronie
   z pizzą ma data-theme="lody" i sam robi się niebieski. */
:root,
[data-theme="pizza"] {
  --red: #A90000;
  --red-deep: #7F0000;
  --red-hot: #C8161D;
  --gold: #F5AB29;
  --cheese: #FFC94A;
  --dough: #F8E6C4;
  --cream: #FFF4E2;
  --paper: #FFFCF4;
  --tint-deep: 127, 0, 0;      /* doodle na czerwonym (rgba(var(--tint-deep), a)) */
  --tint-warm: 185, 122, 46;   /* doodle na jasnych tłach */
  --mask-doodles: var(--mask-doodles-pizza);
}
/* Lody: niebieski zamiast czerwieni, błękit lodu zamiast sera,
   truskawka zamiast złotej skórki, lodowa biel zamiast ciasta */
[data-theme="lody"] {
  --red: #1660D9;
  --red-deep: #0B3C99;
  --red-hot: #2E8DFF;
  --gold: #FF9BC6;
  --cheese: #9ADBFF;
  --dough: #E7F4FF;
  --cream: #FFF8EC;
  --paper: #FFFDF8;
  --tint-deep: 8, 40, 120;
  --tint-warm: 40, 110, 190;
  --mask-doodles: var(--mask-doodles-lody, var(--mask-doodles-pizza));
}

/* --------------------------------------------------------------------------
   1. Baza
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--dough);
  color: var(--ink);
  font: 400 17px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
strong { font-weight: 700; }
::selection { background: var(--cheese); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--cheese);
  outline-offset: 3px;
  box-shadow: 0 0 0 7px var(--ink);
  border-radius: 8px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: fixed;
  left: 16px; top: 16px;
  z-index: 3000;
  padding: 12px 18px;
  border: var(--line) solid var(--ink);
  border-radius: 14px;
  background: var(--cheese);
  font: 400 16px/1 var(--font-display);
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* --------------------------------------------------------------------------
   2. Elementy wspólne
   -------------------------------------------------------------------------- */

/* Napis-naklejka: wypełnienie + kontur pod spodem + twardy cień */
.lettering {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.005em;
  color: var(--fill, var(--cream));
  -webkit-text-stroke: var(--stroke, 0.085em) var(--ink);
  paint-order: stroke fill;
  filter: drop-shadow(var(--sx, 0.05em) var(--sy, 0.065em) 0 var(--ink));
}
/* litery rozbite do animacji (SplitText) nigdy nie łamią słowa w środku */
.lettering .word { white-space: nowrap; }

/* Duże napisy dopasowują się do szerokości kolumny (jednostki cqi), żeby
   najdłuższe słowo zawsze się mieściło. Współczynnik = 96 / szerokość
   najdłuższego słowa w em (+0,15 em na obrys i cień), np. „ALERGENY" 5,36 em.
   Przeglądarki bez cqi zostają przy samych clamp() (dobranych tak, żeby
   też się mieściły). Bez var() w wyrażeniach - inaczej stara przeglądarka
   odrzuciłaby wartość dopiero po podstawieniu i rozmiar spadłby do 17 px. */
.hero__inner, .section-head, .notice__head, .cta__inner, .story__intro { container-type: inline-size; }
/* (reguły z cqi są na końcu pliku - muszą nadpisać zwykłe rozmiary) */
.section { position: relative; padding: clamp(84px, 11vw, 150px) 0; }
.section-head { position: relative; z-index: 2; max-width: 860px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(40px, 6.2vw, 92px); --fill: var(--red); }
.section-sub {
  margin-top: 22px;
  max-width: 560px;
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 500;
}
.section-head--center .section-sub { margin-inline: auto; }

/* Karta */
.card {
  background: var(--cream);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Naklejka z napisem */
.sticker {
  display: inline-block;
  padding: 0.38em 0.8em 0.42em;
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  background: var(--cheese);
  box-shadow: 3px 4px 0 var(--ink);
  font: 400 clamp(18px, 2vw, 26px)/1 var(--font-display);
  transform: rotate(-4deg);
}

/* Logo-plakietka „Pizza" pod znakiem */
.logo-tag {
  display: block;
  margin-top: 4px;
  color: #fff;
  font: 700 11px/1 var(--font-body);
  letter-spacing: 0.42em;
  text-align: center;
  text-transform: uppercase;
  padding-left: 0.42em;
}

/* Przycisk: „sos" wlewa się od dołu, napis się przewija */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 62px;
  padding: 0 26px 0 30px;
  border: var(--line) solid var(--ink);
  border-radius: 20px;
  background: var(--red);
  color: var(--cheese);
  box-shadow: 0 6px 0 var(--ink);
  font: 400 19px/1 var(--font-display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), color 0.35s;
}
.btn__text {
  position: relative;
  display: grid;
  overflow: hidden;
  padding: 4px 2px;
  margin: -4px -2px;
}
.btn__text > span {
  grid-area: 1 / 1;
  -webkit-text-stroke: 4px var(--ink);
  paint-order: stroke fill;
  transition: transform 0.5s var(--spring);
}
.btn__text > span + span { transform: translateY(130%); }
.btn__icon { width: 24px; height: 24px; color: var(--cheese); transition: transform 0.45s var(--spring), color 0.35s; }
.btn__fill {
  position: absolute;
  left: -4px; right: -4px; top: -14px; bottom: -4px;
  z-index: -1;
  background: var(--cheese);
  transform: translateY(105%);
  transition: transform 0.6s var(--ease);
}
.btn__fill::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 100%;
  height: 14px;
  background: inherit;
  -webkit-mask: var(--mask-wave) 0 0 / 160px 100% repeat-x;
          mask: var(--mask-wave) 0 0 / 160px 100% repeat-x;
  animation: wave-drift 1.6s linear infinite;
}
.btn:hover, .btn:focus-visible { color: var(--red); }
.btn:hover .btn__fill, .btn:focus-visible .btn__fill { transform: translateY(12px); }
.btn:hover .btn__text > span:first-child, .btn:focus-visible .btn__text > span:first-child { transform: translateY(-130%); }
.btn:hover .btn__text > span + span, .btn:focus-visible .btn__text > span + span { transform: none; }
.btn:hover .btn__icon, .btn:focus-visible .btn__icon { color: var(--red); transform: translateX(4px) rotate(-8deg); }
.btn:active { box-shadow: 0 2px 0 var(--ink); }
@keyframes wave-drift { to { -webkit-mask-position: 160px 0; mask-position: 160px 0; } }

/* Fala na górnej krawędzi sekcji (w kolorze sekcji, nachodzi na poprzednią) */
.wave-top { position: relative; background: var(--bg); overflow-x: clip; }
.wave-top::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: calc(100% - 1px);
  height: var(--wave-h);
  background: var(--bg);
  -webkit-mask: var(--mask-wave) 0 0 / 1200px 100% repeat-x;
          mask: var(--mask-wave) 0 0 / 1200px 100% repeat-x;
  pointer-events: none;
  z-index: 1;
}

/* każda kolejna sekcja leży wyżej - jej fala nachodzi na poprzednią */
.allergens { z-index: 5; }
.notice { z-index: 6; }
.steps { z-index: 7; }
.places { z-index: 8; }
.cta { z-index: 9; }
.site-footer { z-index: 10; }

/* Doodle ton w ton (ikony alergenów, pizza, zegar, para) */
.doodles { position: relative; }
.doodles::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--doodle, rgba(0, 0, 0, 0.06));
  -webkit-mask: var(--mask-doodles) 0 0 / 560px 560px repeat;
          mask: var(--mask-doodles) 0 0 / 560px 560px repeat;
  pointer-events: none;
}
.doodles > * { position: relative; z-index: 1; }

/* Gwiazdki, salami, bazylia - rozsypane ozdobniki */
.spark {
  position: absolute;
  left: var(--x); top: var(--y);
  width: var(--s); height: var(--s);
  rotate: var(--r, 0deg);
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}
.doodles > .spark--abs { position: absolute; }

/* --------------------------------------------------------------------------
   3. Kursor (tylko mysz): złota strzałka, nad linkami kawałek pizzy
   -------------------------------------------------------------------------- */
@media (pointer: fine) {
  html {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='34' viewBox='0 0 28 34'%3E%3Cpath d='M3 2.5V26l6.5-5.5 4 9.5 4.5-2-4-9.2 8.5-.3Z' fill='%23FFC94A' stroke='%231C0D0A' stroke-width='2.6' stroke-linejoin='round'/%3E%3C/svg%3E") 3 3, auto;
  }
  a, button, [role="button"], .pizza-map__pin {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='36' viewBox='0 0 34 36'%3E%3Cpath d='M3 3l26 7.5c-3 9-9 16.5-17 21.5Z' fill='%23FFC94A' stroke='%231C0D0A' stroke-width='2.6' stroke-linejoin='round'/%3E%3Cpath d='M29 10.5c-3 9-9 16.5-17 21.5' fill='none' stroke='%23E7A54F' stroke-width='4.5' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='12' r='2.8' fill='%23A90000' stroke='%231C0D0A' stroke-width='1.5'/%3E%3Ccircle cx='17' cy='20' r='2.3' fill='%23A90000' stroke='%231C0D0A' stroke-width='1.5'/%3E%3C/svg%3E") 3 3, pointer;
  }
}

/* --------------------------------------------------------------------------
   4. Animacja wczytywania - „minutnik babci" (sterowanie: js/loader.js)
   oraz fale przejść między stronami (pizza ↔ lody ↔ strona wyboru)
   Wszystko w CSS, więc działa od pierwszej klatki, zanim dojdą skrypty.
   Rozmiary liczone od --d (średnica tarczy).
   -------------------------------------------------------------------------- */
html.intro-open { overflow: hidden; }
.ld {
  --d: max(120px, min(54vw, 34 * var(--svh), 300px));
  --spread: min(var(--d), 42vw);
  --w: clamp(36px, 6vw, 80px);
  position: fixed;
  inset: 0;
  z-index: 2000;
  overflow: hidden;
}
html:not(.motion) .ld, .ld.is-done, .ld-bail .ld { display: none; }
.ld.is-revealed { pointer-events: none; }

.ld__base {
  --doodle: rgba(var(--tint-warm), 0.16);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--dough);
}
.ld.is-revealed .ld__base { visibility: hidden; }
.ld__stage {
  width: calc(var(--d) * 1.5);
  height: calc(var(--d) * 1.5);
  translate: 0 calc(-4 * var(--svh));
  transition: transform 0.34s cubic-bezier(0.55, 0, 0.9, 0.45);
}
.ld.is-out .ld__stage { transform: translateY(calc(-8 * var(--svh))) scale(0.94); }

.ld__badge { position: absolute; inset: 0; animation: ld-in 0.45s var(--spring) both; }
@keyframes ld-in { from { transform: scale(0.7) rotate(-8deg); } }
.ld.is-tik .ld__badge { animation: ld-shake 0.55s ease-out; }
@keyframes ld-shake {
  15% { transform: rotate(8deg) scale(1.03); }
  32% { transform: rotate(-7deg); }
  50% { transform: rotate(5deg); }
  68% { transform: rotate(-3deg); }
  84% { transform: rotate(1.5deg); }
}

/* promienie = pasek postępu, razem tworzą starburst */
.ld__rays { position: absolute; left: 50%; top: 50%; }
.ld.is-tik .ld__rays { animation: ld-rays 0.55s var(--spring) forwards; }
@keyframes ld-rays {
  50% { transform: rotate(20deg) scale(1.14); }
  100% { transform: rotate(30deg); }
}
.ld__ray { position: absolute; left: 0; top: 0; rotate: calc(var(--i) * 30deg); }
.ld__ray svg {
  position: absolute;
  left: calc(var(--d) * -0.135);
  bottom: calc(var(--d) * 0.44);
  width: calc(var(--d) * 0.27);
  height: calc(var(--d) * 0.3);
  max-width: none;
  overflow: visible;
  color: var(--cheese);
  transform-origin: 50% 100%;
  transform: scaleY(0.4);
  transition: transform 0.32s var(--spring);
}
.ld__ray:nth-child(even) svg { color: var(--gold); }
.ld__ray.is-lit svg { transform: scaleY(1); }
.ld__ray.is-next svg { animation: ld-wait 0.5s ease-in-out infinite alternate; }
@keyframes ld-wait { to { transform: scaleY(0.55); } }

/* tarcza z babcią */
.ld__dial {
  position: absolute;
  left: 50%; top: 50%;
  width: var(--d);
  height: var(--d);
  translate: -50% -50%;
  border: var(--line) solid var(--ink);
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 5px 7px 0 var(--ink);
}
.ld__dial::before { /* czerwony krąg, zanim babcia się wczyta */
  content: "";
  position: absolute;
  inset: 11.5%;
  border-radius: 50%;
  background: var(--red);
}
.ld__mascot {
  position: absolute;
  left: 11%;
  top: calc(50% - var(--d) * 0.5574);
  width: 78%;
  max-width: none;
  height: auto;
  animation: ld-bob 1.6s ease-in-out 0.5s infinite alternate;
}
@keyframes ld-bob { to { translate: 0 -3px; } }
.ld__plate {
  position: absolute;
  left: 50%;
  top: calc(50% + var(--d) * 0.4);
  width: var(--d);
  padding: calc(var(--d) * 0.045) calc(var(--d) * 0.08) calc(var(--d) * 0.05);
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 5px 0 var(--ink);
  translate: -50% 0;
  rotate: -4deg;
  animation: ld-plate 0.45s var(--spring) 0.1s both;
}
.ld__plate img { display: block; width: 100%; height: auto; }
@keyframes ld-plate { from { opacity: 0; transform: translateY(28px) scale(0.8); } }

/* „TIK!" i konfetti */
.ld .tik { left: 58%; top: 4%; z-index: 3; font-size: calc(var(--d) * 0.26); opacity: 0; scale: 0; }
.ld.is-tik .tik { animation: ld-tik 0.42s cubic-bezier(0.2, 1.4, 0.4, 1) forwards; }
@keyframes ld-tik {
  from { opacity: 1; scale: 0; rotate: -30deg; }
  to { opacity: 1; scale: 1; rotate: -10deg; }
}
.ld__bit {
  position: absolute;
  left: 50%; top: 50%;
  width: calc(var(--d) * 0.15);
  height: calc(var(--d) * 0.15);
  margin: calc(var(--d) * -0.075) 0 0 calc(var(--d) * -0.075);
  max-width: none;
  overflow: visible;
  opacity: 0;
  scale: 0.2;
}
.ld.is-tik .ld__bit { animation: ld-bit 0.6s cubic-bezier(0.2, 0.8, 0.3, 1) forwards; }
@keyframes ld-bit {
  to { opacity: 1; scale: 1; rotate: var(--r); translate: calc(var(--x) * var(--spread)) calc(var(--y) * var(--spread)); }
}

/* fala: wjeżdża od dołu, zakrywa ekran, wyjeżdża w górę i odsłania stronę */
.ld__wave {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 100%;
  background: var(--red);
  transform: translateY(calc(100% + var(--w) + 16px));
}
.ld__wave::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(var(--tint-deep), 0.55);
  -webkit-mask: var(--mask-doodles) 0 0 / 560px 560px repeat;
          mask: var(--mask-doodles) 0 0 / 560px 560px repeat;
}
.ld__edge { position: absolute; left: 0; right: 0; height: var(--w); }
.ld__edge--top { bottom: calc(100% - 1px); }
.ld__edge--bottom { top: calc(100% - 1px); transform: scaleY(-1); }
.ld__edge::before,
.ld__edge::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 100%;
  -webkit-mask: var(--mask-wave) 0 0 / 1400px 100% repeat-x;
          mask: var(--mask-wave) 0 0 / 1400px 100% repeat-x;
}
.ld__edge::before { /* serowy grzbiet nad sosem */
  bottom: 16px;
  background: var(--cheese);
  -webkit-mask-position: 420px 0;
          mask-position: 420px 0;
}
.ld__edge::after { background: var(--red); }
.ld.is-out .ld__wave { animation: ld-wave 0.75s forwards; }
@keyframes ld-wave {
  0% { transform: translateY(calc(100% + var(--w) + 16px)); animation-timing-function: cubic-bezier(0.33, 1, 0.68, 1); }
  46% { transform: translateY(0); animation-timing-function: cubic-bezier(0.32, 0, 0.67, 0); }
  100% { transform: translateY(calc(-100% - var(--w) - 16px)); }
}

/* przyjazd z innej strony (js/loader.js): ekran od razu zakryty falą
   w kolorach tej strony, bez minutnika - fala tylko odjeżdża w górę */
.ld-arrive .ld__base { visibility: hidden; }
.ld-arrive .ld__wave { transform: translateY(0); }
.ld-arrive .ld.is-out .ld__wave { animation: ld-wave-up 0.6s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
@keyframes ld-wave-up { to { transform: translateY(calc(-100% - var(--w) - 16px)); } }

/* wyjście do innej strony (DE_NAV.go): fala w kolorach strony docelowej
   (data-theme na .go-cover) wjeżdża od dołu i zakrywa ekran */
.go-cover {
  --w: clamp(36px, 6vw, 80px);
  position: fixed;
  inset: 0;
  z-index: 2100;
  overflow: hidden;
}
.go-cover .ld__wave { animation: go-in 0.5s cubic-bezier(0.33, 1, 0.68, 1) forwards; }
@keyframes go-in { to { transform: translateY(0); } }

/* --------------------------------------------------------------------------
   5. Header - pływające „pigułki"
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  pointer-events: none;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: calc(var(--container) + var(--gutter) * 2);
  height: var(--header-h);
  margin: 0 auto;
  padding: 12px var(--gutter) 0;
}
.site-header__inner > * { pointer-events: auto; }

.brand { display: block; text-decoration: none; transition: opacity 0.4s var(--ease), transform 0.5s var(--spring); }
.site-header:not(.is-scrolled) .brand { opacity: 0; transform: translateY(-24px) rotate(-6deg); pointer-events: none; }
.brand__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 54px;
  padding: 0 18px 0 6px;
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 5px 0 var(--ink);
}
.brand__mascot { width: 50px; height: auto; margin: -10px 0 -4px; }
.brand__wordmark { width: 108px; height: auto; }

.site-nav {
  display: none;
  gap: 4px;
  padding: 5px;
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  box-shadow: 0 5px 0 var(--ink);
}
@media (min-width: 900px) { .site-nav { display: flex; margin-left: auto; } }
.site-nav a {
  padding: 11px 18px 12px;
  border-radius: 999px;
  font: 400 15px/1 var(--font-display);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--spring);
}
.site-nav a:hover { background: var(--cheese); transform: rotate(-3deg) scale(1.04); }
.site-nav a.is-active { background: var(--red); color: var(--cream); }

/* przełącznik na drugą stronę (pizza ↔ lody): pigułka w kolorach tamtej
   strony - kolory przychodzą z data-theme na samym linku */
.site-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 54px;
  margin-left: auto;
  padding: 0 18px 0 8px;
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 5px 0 var(--ink);
  color: var(--cream);
  font: 400 15px/1 var(--font-display);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.4s var(--spring), background-color 0.3s;
}
.site-switch:hover { background: var(--red-hot); transform: rotate(-3deg) scale(1.05); }
.site-switch:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.site-switch__icon { width: 34px; height: 34px; margin: -6px 0 -4px; overflow: visible; transition: transform 0.5s var(--spring); }
.site-switch:hover .site-switch__icon { transform: rotate(-12deg) scale(1.12); }
@media (min-width: 900px) { .site-switch { margin-left: 0; } }
/* wąski telefon: logo, przełącznik i menu w jednym rzędzie - przełącznik
   jako sama ikona w kółku (napis zostaje dla czytników ekranu), logo nigdy
   się nie ściska (inaczej „Eat!" wystawało poza pigułkę) */
.brand, .nav-toggle { flex-shrink: 0; }
@media (max-width: 479.98px) {
  .site-header__inner { gap: 10px; }
  .brand__badge { padding-right: 14px; }
  .brand__mascot { width: 44px; }
  .brand__wordmark { width: clamp(78px, 25vw, 108px); }
  .site-switch { flex-shrink: 0; width: 54px; padding: 0; justify-content: center; }
  .site-switch span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .site-switch__icon { width: 38px; height: 38px; margin: 0; }
}

.nav-toggle {
  position: relative;
  display: grid;
  place-content: center;
  gap: 6px;
  width: 54px; height: 54px;
  margin-left: auto;
  padding: 0;
  border: var(--line) solid var(--ink);
  border-radius: 50%;
  background: var(--cheese);
  box-shadow: 0 5px 0 var(--ink);
  transition: transform 0.4s var(--spring), background-color 0.3s;
}
.nav-toggle:active { transform: translateY(3px); }
@media (min-width: 900px) { .nav-toggle { display: none; } }
.nav-toggle__bar {
  display: block;
  width: 22px; height: 3.5px;
  border-radius: 3px;
  background: var(--ink);
  transition: transform 0.45s var(--spring);
}
.nav-toggle[aria-expanded="true"] { background: var(--cream); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child { transform: translateY(4.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child { transform: translateY(-4.75px) rotate(-45deg); }
html.menu-open { overflow: hidden; }
html.menu-open .site-header .brand { opacity: 1; transform: none; pointer-events: auto; }

.mobile-menu {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: calc(var(--header-h) + 30px) var(--gutter) 70px;
  background: var(--red);
  color: var(--cream);
  transform: translateY(calc(-100% - 140px));
  transition: transform 0.7s cubic-bezier(0.76, 0, 0.24, 1);
}
.mobile-menu::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: calc(100% - 1px);
  height: 70px;
  background: inherit;
  -webkit-mask: var(--mask-wave) 0 0 / 900px 100% repeat-x;
          mask: var(--mask-wave) 0 0 / 900px 100% repeat-x;
  transform: scaleY(-1);
}
.mobile-menu.is-open { transform: none; }
.mobile-menu__nav { display: grid; gap: 14px; }
.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: var(--cream);
  font: 400 clamp(38px, 11vw, 60px)/1.05 var(--font-display);
  -webkit-text-stroke: 0.08em var(--ink);
  paint-order: stroke fill;
  text-decoration: none;
  opacity: 0;
  transform: translateY(30px) rotate(-3deg);
  transition: opacity 0.4s, transform 0.6s var(--spring);
}
.mobile-menu.is-open .mobile-menu__nav a,
.mobile-menu.is-open .mobile-menu__foot {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.25s + var(--i) * 0.07s);
}
.mobile-menu__num { color: var(--cheese); font-size: 0.4em; -webkit-text-stroke: 0.12em var(--ink); }
.mobile-menu__foot {
  max-width: 360px;
  font-size: 15px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.6s var(--spring);
}

/* --------------------------------------------------------------------------
   6. Opowieść automatu (hero + wprowadzenie)
   -------------------------------------------------------------------------- */
.story { --bg: var(--dough); --doodle: rgba(var(--tint-warm), 0.16); position: relative; }
.story__stage { position: relative; background: var(--dough); overflow-x: clip; }
.story__bg { position: absolute; inset: 0; z-index: 0; }
.story__flood, .story__sparks .spark, .anchor { display: none; }

/* markiza pizzerii: pasy + falbanka */
.awning {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: clamp(72px, 11vh, 112px);
  background: repeating-linear-gradient(90deg, var(--red) 0 64px, var(--cream) 64px 128px);
  -webkit-mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - 32px) no-repeat,
    radial-gradient(circle 32px at 50% 0, #000 98%, transparent 100%) bottom left / 64px 32px repeat-x;
          mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - 32px) no-repeat,
    radial-gradient(circle 32px at 50% 0, #000 98%, transparent 100%) bottom left / 64px 32px repeat-x;
  filter: drop-shadow(0 4px 0 var(--ink));
  transform-origin: top center;
  z-index: 1;
}
.awning::after { /* cienie fałd */
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 52px, rgba(28, 13, 10, 0.12) 52px 64px, transparent 64px 116px, rgba(28, 13, 10, 0.08) 116px 128px);
}

/* hero */
.hero {
  position: relative;
  z-index: 4;
  padding: calc(clamp(72px, 11vh, 112px) + 46px) var(--gutter) 40px;
}
.hero__inner { max-width: 620px; }
.hero__sign { position: relative; display: inline-block; margin-bottom: 14px; transform-origin: 50% -40px; }
.hero__ropes {
  position: absolute;
  left: 22%; right: 22%;
  bottom: 100%;
  height: 46px;
  border-left: 4px solid var(--ink);
  border-right: 4px solid var(--ink);
}
.hero__plate {
  display: block;
  width: clamp(140px, 12.5vw, 180px);
  padding: 14px 18px 12px;
  border: var(--line) solid var(--ink);
  border-radius: 26px;
  background: var(--red);
  box-shadow: var(--shadow);
}
.hero__plate img { width: 100%; height: auto; }
.hero__title {
  font-size: clamp(56px, 7.3vw, 110px);
  --fill: var(--red);
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap; /* „ALERGENY" zawsze w jednym wierszu */
}
.hero__subtitle { margin: 18px 0 0 4px; }
.hero__text {
  max-width: 480px;
  margin-top: 22px;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 500;
}
.hero__actions { margin-top: 30px; }

/* wprowadzenie */
.story__intro {
  position: relative;
  z-index: 2;
  padding: 80px var(--gutter);
  background: var(--red);
  text-align: center;
}
.story__title {
  font-size: clamp(50px, 8vw, 138px);
  line-height: 1.02;
  --fill: var(--cream);
}
.story__title .w { display: inline-block; }
.story__title-accent { --fill: var(--cheese); color: var(--cheese); }
.story__card {
  max-width: 460px;
  margin: 40px auto 0;
  padding: 24px 28px;
  text-align: left;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 500;
}

/* scena */
.story__scene { position: relative; z-index: 3; pointer-events: none; }
.story__machine {
  position: relative;
  width: min(300px, 70vw);
  aspect-ratio: 420 / 700;
  margin: 10px auto 60px;
}
.story__machine-art, .cta__machine-art { position: absolute; inset: 0; }
.story__machine-art svg, .cta__machine-art svg { width: 100%; height: 100%; }
.story__burst, .cta__burst {
  position: absolute;
  left: 50%; top: 46%;
  width: 165%;
  aspect-ratio: 1;
  translate: -50% -50%;
  z-index: -1;
}
.story__burst svg, .cta__burst svg { width: 100%; height: 100%; animation: spin 60s linear infinite; }
.story__burst-pulse { width: 100%; height: 100%; }
@keyframes spin { to { transform: rotate(360deg); } }
.story__pizza, .story__steam, .story__clock { display: none; }

.ring-badge {
  position: absolute;
  left: -30%; bottom: 8%;
  width: 48%;
  aspect-ratio: 1;
  filter: drop-shadow(3px 4px 0 var(--ink));
}
.ring-badge svg { width: 100%; height: 100%; overflow: visible; }
.ring-badge text {
  font: 400 33px/1 var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  fill: var(--ink);
}
.ring-badge__text { transform-origin: 200px 200px; animation: spin 22s linear infinite; }

/* napisy na ekranie automatu */
.m-scr__title { font: 400 17px/1 var(--font-display); letter-spacing: 0.04em; }
.m-digits { font: 400 52px/1 var(--font-display); letter-spacing: 0.02em; }
.m-scr__done { font: 400 23px/1 var(--font-display); letter-spacing: 0.04em; }
.m-scr--timer, .m-scr--done { opacity: 0; }
.m-tile__check { opacity: 0; }
.m-finger { opacity: 0; }
.m-led { animation: led 1.4s steps(2, jump-none) infinite; }
@keyframes led { 50% { fill: #2B5E37; } }
.m-heat path { animation: heat 1.1s ease-in-out infinite; }
.m-heat path:nth-child(2) { animation-delay: -0.35s; }
.m-heat path:nth-child(3) { animation-delay: -0.7s; }
@keyframes heat { 0% { transform: translateY(6px); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateY(-10px); opacity: 0; } }

/* para i budzik */
.steam svg { width: 100%; height: auto; overflow: visible; }
.steam__wisp { animation: steam 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.steam__wisp:nth-child(2) { animation-delay: -0.8s; }
.steam__wisp:nth-child(3) { animation-delay: -1.6s; }
@keyframes steam {
  0% { transform: translateY(14px) scaleY(0.7); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: translateY(-26px) scaleY(1.05); opacity: 0; }
}
.tik {
  position: absolute;
  font-size: clamp(42px, 5vw, 74px);
  --fill: var(--cheese);
  color: var(--cheese);
  rotate: -10deg;
  white-space: nowrap;
}
.tik-clock { width: 100%; height: auto; }

/* --- tryb „motion": przypięta scena na pełny ekran, warstwy nakładane przez GSAP ---
   Scena (tło, zalanie) ma wysokość „dużego" ekranu, więc po schowaniu paska
   przeglądarki nic pod nią nie prześwituje. Treść (hero, napisy, automat)
   leży w górnym prostokącie wysokości „małego" ekranu. */
.motion .story { height: 560vh; }
.motion .story + .allergens { margin-top: calc(-100 * var(--lvh)); }
.motion .story__stage {
  position: sticky;
  top: 0;
  height: calc(100 * var(--lvh));
  overflow: hidden;
}
.motion .hero,
.motion .story__intro,
.motion .story__scene { position: absolute; inset: 0 0 auto; height: calc(100 * var(--svh)); }
.motion .story__flood {
  display: block;
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 100%;
  z-index: 1;
  background: var(--red);
}
.motion .story__flood::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: calc(100% - 1px);
  height: calc(var(--wave-h) * 2);
  background: inherit;
  -webkit-mask: var(--mask-wave) 0 0 / 1400px 100% repeat-x;
          mask: var(--mask-wave) 0 0 / 1400px 100% repeat-x;
}
.motion .story__flood::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(var(--tint-deep), 0.55);
  -webkit-mask: var(--mask-doodles) 0 0 / 560px 560px repeat;
          mask: var(--mask-doodles) 0 0 / 560px 560px repeat;
}
.motion .story__sparks { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.motion .story__sparks .spark { display: block; }

.motion .hero {
  display: flex;
  align-items: center;
  padding: calc(clamp(72px, 11 * var(--svh), 112px) + 46px) var(--gutter) calc(3 * var(--svh));
  pointer-events: none;
}
.motion .hero__inner { pointer-events: auto; width: 100%; max-width: min(48vw, 640px); }

.motion .story__intro {
  padding: 0;
  background: none;
  pointer-events: none;
}
.motion .story__title {
  position: absolute;
  left: var(--gutter); right: var(--gutter);
  top: calc(var(--header-h) + 3 * var(--svh));
}
.motion .story__card {
  position: absolute;
  right: var(--gutter);
  bottom: calc(14 * var(--svh));
  width: min(29vw, 400px);
  margin: 0;
  pointer-events: auto;
  z-index: 6;
}

.motion .story__machine {
  position: absolute;
  right: max(var(--gutter), 6vw);
  bottom: calc(4 * var(--svh));
  height: min(74 * var(--svh), 700px);
  width: auto;
  margin: 0;
}
.motion .story__pizza {
  display: block;
  position: absolute;
  left: -20%; top: 64%;
  width: 140%;
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 6px 0 rgba(28, 13, 10, 0.35));
}
.motion .story__steam {
  display: block;
  position: absolute;
  left: 22%; top: 47%;
  width: 56%;
  opacity: 0;
}
.motion .story__clock {
  display: block;
  position: absolute;
  left: 7vw;
  bottom: calc(12 * var(--svh));
  width: min(32 * var(--svh), 300px);
  aspect-ratio: 1;
  opacity: 0;
  z-index: 7;
}
.motion .story__clock .tik { left: 52%; top: -6%; }

/* kotwice: dokąd automat jedzie w kolejnych scenach */
.motion .anchor {
  display: block;
  position: absolute;
  visibility: hidden;
  pointer-events: none;
}
/* szerokość automatu = 0,6 × wysokość, więc środek: left = 50% - 0,3 × wysokość */
.motion .anchor--machine { --ah: min(58 * var(--svh), 560px); bottom: calc(3 * var(--svh)); }
.motion .anchor--machine-end { --ah: min(50 * var(--svh), 480px); bottom: calc(19 * var(--svh)); }
.motion .anchor--machine,
.motion .anchor--machine-end { height: var(--ah); width: calc(var(--ah) * 0.6); left: calc(50% - var(--ah) * 0.3); }

@media (max-width: 899.98px) {
  .motion .story { height: 520vh; }
  .motion .hero { align-items: flex-start; }
  .motion .hero__inner { max-width: none; text-align: center; }
  .motion .hero__sign { margin-inline: auto; }
  .hero__plate { width: clamp(118px, 34vw, 160px); padding: 10px 14px; border-radius: 20px; }
  .hero__ropes { height: 40px; }
  .motion .hero__title { font-size: clamp(50px, 16vw, 96px); }
  .motion .hero__subtitle { margin-top: 12px; }
  .motion .hero__text { margin: 14px auto 0; font-size: 16px; max-width: 420px; }
  .motion .hero__actions { margin-top: 20px; }
  .motion .story__machine { right: -6vw; bottom: calc(-21 * var(--svh)); height: calc(48 * var(--svh)); }
  .motion .ring-badge { display: none; }
  .motion .story__title { font-size: clamp(44px, 13.4vw, 80px); top: calc(var(--header-h) + 2 * var(--svh)); }
  .motion .story__card {
    left: var(--gutter); right: var(--gutter);
    top: calc(var(--header-h) + 2 * var(--svh));
    bottom: auto;
    width: auto;
    max-width: 520px;
    margin-inline: auto;
    padding: 18px 20px;
    font-size: 15.5px;
  }
  .motion .anchor--machine { --ah: min(50 * var(--svh), 92vw * 1.66); bottom: calc(3 * var(--svh)); }
  .motion .anchor--machine-end { --ah: min(44 * var(--svh), 80vw * 1.66); bottom: calc(14 * var(--svh)); }
  .motion .story__clock { left: 0; bottom: calc(14 * var(--svh)); width: min(40vw, 220px); }
}
@media (max-width: 899.98px) and (max-height: 700px) {
  .motion .hero__text { display: none; }
}

/* bez „motion" (ograniczony ruch / brak JS): dwa zwykłe bloki */
@media (min-width: 900px) {
  html:not(.motion) .story__stage {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    grid-template-areas: "hero scene" "intro intro";
    align-items: center;
  }
  html:not(.motion) .hero { grid-area: hero; }
  html:not(.motion) .story__scene { grid-area: scene; padding-top: 120px; }
  html:not(.motion) .story__intro { grid-area: intro; }
}

/* --------------------------------------------------------------------------
   7. Alergeny
   -------------------------------------------------------------------------- */
.allergens { --bg: var(--cheese); --doodle: rgba(var(--tint-warm), 0.2); }
.allergen-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 16px;
}
@media (min-width: 600px)  { .allergen-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1080px) { .allergen-grid { grid-template-columns: repeat(7, 1fr); gap: 26px 18px; } }
.allergen {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 12px;
  min-height: 176px;
  padding: 26px 12px 18px;
  border: var(--line) solid var(--ink);
  border-radius: 24px;
  background: var(--cream);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.5s var(--spring), box-shadow 0.3s var(--ease);
}
.allergen:hover { transform: translateY(-6px) rotate(-2.5deg); box-shadow: 6px 10px 0 var(--ink); }
.allergen:nth-child(even):hover { transform: translateY(-6px) rotate(2.5deg); }
.allergen__num {
  position: absolute;
  top: -14px; left: -10px;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: var(--line) solid var(--ink);
  border-radius: 50%;
  background: var(--red);
  color: var(--cream);
  font: 400 15px/1 var(--font-display);
  rotate: -10deg;
  box-shadow: 2px 3px 0 var(--ink);
}
.allergen__icon {
  display: grid;
  place-items: center;
  width: 78px; height: 78px;
  border: var(--line) solid var(--ink);
  border-radius: 50%;
  background: var(--dough);
  transition: background-color 0.35s, transform 0.5s var(--spring);
}
.allergen__icon svg { width: 46px; height: 46px; stroke-width: 1.7; }
.allergen:hover .allergen__icon { background: var(--red); color: var(--cream); transform: scale(1.08) rotate(6deg); }
.allergen:hover .allergen__icon [pathLength] { animation: draw 0.9s var(--ease) both; }
@keyframes draw { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }
.allergen__name {
  font: 400 16px/1.12 var(--font-display);
  letter-spacing: 0.01em;
  hyphens: auto;
}

/* --------------------------------------------------------------------------
   8. Ważna informacja
   -------------------------------------------------------------------------- */
.notice {
  --bg: var(--red);
  --doodle: rgba(var(--tint-deep), 0.6);
  padding: clamp(90px, 11vw, 150px) 0;
  color: var(--cream);
}
.notice__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(36px, 5vw, 80px);
}
/* pełny ekran - następna sekcja nachodzi na nią jak kurtyna (patrz niżej) */
.motion .notice { min-height: calc(100 * var(--svh)); display: flex; align-items: center; }
.motion .notice > .container { width: 100%; }

/* Kurtyny: sekcja zatrzymuje się, gdy jej dół dojedzie do dołu ekranu, a
   następna nachodzi na nią z falą. Natywny position: sticky (bez przypinania
   w JS) - stabilny na telefonach, także gdy chowa się pasek przeglądarki.
   - .curtain (wrapper pary sekcji) ogranicza przyklejenie do czasu, aż
     sekcja-kurtyna przejedzie; dalej obie przewijają się normalnie
   - liczone od „małego" ekranu (svh): dół przyklejonej sekcji nigdy nie
     chowa się pod paskiem przeglądarki; pas poniżej zakrywa już następna
   - min. wysokość ekranu: nad przyklejoną sekcją nie ma prześwitu
   --h (wysokość sekcji) ustawia motion.js; dla wyższych niż ekran top < 0. */
.motion .notice,
.motion .places {
  position: sticky;
  top: calc(100 * var(--svh) - var(--h, 100 * var(--svh)));
}
.motion .places { min-height: calc(100 * var(--svh)); display: flex; flex-direction: column; justify-content: center; }
.motion .places > .container { width: 100%; }
.nav-anchor { height: 0; }
@media (min-width: 900px) {
  .notice__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
}
.notice__icon { display: block; width: clamp(76px, 8vw, 110px); margin-bottom: 24px; transform-origin: 50% 90%; animation: wobble 2.8s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { rotate: -6deg; } 50% { rotate: 6deg; } }
.notice__title { font-size: clamp(44px, 6.4vw, 92px); --fill: var(--cream); }
.notice__lead { font-size: clamp(18px, 1.7vw, 22px); font-weight: 500; line-height: 1.5; }
.notice__callout-wrap { position: relative; margin-top: clamp(80px, 9vw, 110px); }
.notice__callout {
  position: relative;
  z-index: 2;
  padding: 26px 30px;
  color: var(--ink);
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 500;
}
.notice__callout strong { color: var(--red); }
.notice__granny {
  position: absolute;
  right: 22px;
  bottom: calc(100% - 30px);
  width: clamp(92px, 9vw, 130px);
  height: auto;
  rotate: 8deg;
  z-index: 1;
  filter: drop-shadow(3px 4px 0 var(--ink));
}

/* --------------------------------------------------------------------------
   9. Kroki - paragony z automatu
   -------------------------------------------------------------------------- */
.steps { --bg: var(--dough); --doodle: rgba(var(--tint-warm), 0.16); }
.steps__list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 54px 32px;
  counter-reset: none;
}
@media (min-width: 860px) { .steps__list { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative;
  padding-top: 11px;
  clip-path: inset(11px -40px -60px -40px);
  filter: drop-shadow(0 4px 0 var(--ink));
}
.step__slot {
  position: absolute;
  top: 0; left: -14px; right: -14px;
  height: 22px;
  border-radius: 11px;
  background: var(--ink);
  z-index: 3;
  clip-path: none;
}
.step__slot::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; top: 9px;
  height: 4px;
  border-radius: 2px;
  background: #000;
}
.step:nth-child(1) { rotate: -1.5deg; }
.step:nth-child(2) { rotate: 1deg; }
.step:nth-child(3) { rotate: -0.5deg; }
.step__paper {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 34px 28px 54px;
  border: var(--line) solid var(--ink);
  border-top: 0;
  background: var(--paper);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 22px 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 22px 100%;
}
.step__num {
  display: grid;
  place-items: center;
  width: 70px; height: 70px;
  margin-bottom: 4px;
  border: var(--line) solid var(--ink);
  border-radius: 50%;
  background: var(--red);
  box-shadow: inset 0 -6px 0 var(--red-deep), 2px 4px 0 var(--ink);
  color: var(--cheese);
  font: 400 26px/1 var(--font-display);
  -webkit-text-stroke: 5px var(--ink);
  paint-order: stroke fill;
}
.step__title {
  padding-top: 14px;
  border-top: 3px dashed rgba(28, 13, 10, 0.35);
  color: var(--red);
  font: 400 clamp(22px, 2.2vw, 28px)/1.1 var(--font-display);
}
.step__text { font-weight: 500; }
.step__barcode {
  width: 62%;
  height: 34px;
  margin-top: 10px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 5px, var(--ink) 5px 6px, transparent 6px 10px, var(--ink) 10px 14px, transparent 14px 16px);
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   10. Gdzie jesteśmy - mapa
   -------------------------------------------------------------------------- */
.places { --bg: var(--gold); --doodle: rgba(var(--tint-warm), 0.35); overflow: hidden; overflow: clip; }
.places .section-title { --fill: var(--cream); }
.places__ribbon {
  position: absolute;
  left: 0; top: 18%;
  width: 100%;
  height: 70%;
  z-index: 1;
  overflow: visible;
  pointer-events: none;
}
.places__ribbon path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.places__ribbon-ink { stroke: var(--ink); stroke-width: clamp(70px, 9vw, 130px); }
.places__ribbon-fill { stroke: var(--cheese); stroke-width: calc(clamp(70px, 9vw, 130px) - 8px); }
.places__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 900px) {
  .places__grid { grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); }
}

.pizza-map {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  aspect-ratio: 945 / 896;
}
.pizza-map__board {
  position: absolute;
  inset: 1% 1%;
  border: var(--line) solid var(--ink);
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 6px 8px 0 var(--ink);
}
.pizza-map__svg {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.pizza-map__outline path {
  fill: var(--ink);
  stroke: var(--ink);
  stroke-width: 46;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.pizza-map__crust path {
  fill: var(--crust);
  stroke: var(--crust);
  stroke-width: 34;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.pizza-map__crust-edge path {
  fill: var(--crust-dark);
  stroke: var(--crust-dark);
  stroke-width: 14;
  stroke-linejoin: round;
}
.pizza-map__slice {
  fill: var(--red);
  stroke: var(--crust-light);
  stroke-width: 1.6;
  stroke-linejoin: round;
  transition: fill 0.35s;
  cursor: default;
}
.pizza-map__slice:nth-child(even) { fill: var(--red-deep); }
.pizza-map__slice:hover { fill: var(--red-hot); }

.pizza-map__pin { outline: none; }
.pizza-map__pin-body { transform-box: fill-box; transform-origin: center; }
.pizza-map__pin > * { transition: transform 0.45s var(--spring), opacity 0.3s; transform-box: fill-box; transform-origin: center; }
.pizza-map__pulse {
  fill: none;
  stroke: var(--cheese);
  stroke-width: 4;
  opacity: 0;
}
.pizza-map__salami {
  fill: #8E1A10;
  stroke: var(--ink);
  stroke-width: 5;
}
.pizza-map__fat { fill: #F0B39B; opacity: 0.9; }
.pizza-map__pin.is-active .pizza-map__salami,
.pizza-map__pin.is-active .pizza-map__fat,
.pizza-map__pin:focus-visible .pizza-map__salami { transform: scale(1.25); }
.pizza-map__pin.is-active .pizza-map__pulse,
.pizza-map__pin:focus-visible .pizza-map__pulse { opacity: 1; transform: scale(1.4); }
@keyframes pin-pulse {
  0%   { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(2); opacity: 0; }
}
.js.is-loaded .pizza-map__pin:not(.is-active) .pizza-map__pulse {
  animation: pin-pulse 2.4s var(--ease) infinite;
}
.pizza-map__tip {
  position: absolute;
  left: 50%; bottom: -10px;
  transform: translateX(-50%) rotate(-2deg);
  padding: 11px 18px 12px;
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--cheese);
  font: 400 15px/1 var(--font-display);
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
}

.places__list { display: grid; gap: 16px; }
.place__link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 18px 18px 16px;
  border: var(--line) solid var(--ink);
  border-radius: 24px;
  background: var(--cream);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.45s var(--spring), box-shadow 0.3s var(--ease);
}
.place__link:hover, .place.is-active .place__link { transform: translateY(-4px) rotate(-1.2deg); box-shadow: 6px 9px 0 var(--ink); }
.place__num {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: var(--line) solid var(--ink);
  border-radius: 50%;
  background: var(--red);
  color: var(--cream);
  font: 400 16px/1 var(--font-display);
}
.place__body { display: grid; gap: 4px; min-width: 0; }
.place__name { font: 400 clamp(17px, 1.6vw, 20px)/1.15 var(--font-display); }
.place__addr { font-size: 15px; font-weight: 500; opacity: 0.75; }
.place__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  background: var(--cheese);
  font: 400 13px/1 var(--font-display);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background-color 0.3s, color 0.3s;
}
.place__cta svg { width: 16px; height: 16px; }
.place__link:hover .place__cta { background: var(--red); color: var(--cream); }
@media (max-width: 480px) {
  .place__link { grid-template-columns: auto 1fr; }
  .place__cta { grid-column: 1 / -1; justify-self: start; }
}

/* --------------------------------------------------------------------------
   11. CTA - finał
   -------------------------------------------------------------------------- */
.cta {
  --bg: var(--red);
  --doodle: rgba(var(--tint-deep), 0.6);
  padding: clamp(90px, 11vw, 150px) 0 clamp(110px, 12vw, 170px);
  color: var(--cream);
}
.cta__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) { .cta__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); } }
.cta__title { font-size: clamp(42px, 5.3vw, 74px); --fill: var(--cream); }
.cta__text { max-width: 460px; margin-top: 26px; font-size: clamp(17px, 1.6vw, 21px); font-weight: 500; }
.cta__scene { position: relative; min-height: 420px; }
.cta__machine {
  position: relative;
  width: min(330px, 66vw);
  aspect-ratio: 420 / 700;
  margin: 0 auto;
}
.cta__pizza {
  position: absolute;
  left: -14%; top: 54%;
  width: 128%;
  z-index: 3;
}
.cta__pizza img { width: 100%; height: auto; filter: drop-shadow(0 6px 0 rgba(28, 13, 10, 0.35)); }
.cta__steam { position: absolute; left: 22%; top: 47%; width: 56%; z-index: 4; }
.cta__clock {
  position: absolute;
  left: max(-4%, calc(50% - min(330px, 66vw) / 2 - 150px));
  top: 4%;
  width: clamp(130px, 14vw, 200px);
  aspect-ratio: 1;
  z-index: 5;
}
.cta__clock .tik { left: 46%; top: -14%; font-size: clamp(36px, 4vw, 58px); }
html:not(.motion) .cta__clock, html:not(.motion) .cta__steam { display: none; }

/* --------------------------------------------------------------------------
   12. Stopka
   -------------------------------------------------------------------------- */
.site-footer {
  --bg: var(--ink);
  --doodle: rgba(255, 244, 226, 0.05);
  padding: clamp(70px, 8vw, 110px) 0 30px;
  color: var(--cream);
}
.site-footer__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 36px;
  justify-items: center;
  text-align: center;
}
@media (min-width: 900px) {
  .site-footer__inner { grid-template-columns: 1fr auto 1fr; justify-items: stretch; align-items: center; text-align: left; }
}
.site-footer__brand {
  display: block;
  width: 170px;
  text-decoration: none;
  transition: transform 0.5s var(--spring);
}
.site-footer__brand:hover { transform: rotate(-4deg) scale(1.05); }
.site-footer__brand img { width: 100%; height: auto; }
.site-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.site-footer__nav a {
  padding: 12px 18px;
  border: var(--line) solid var(--cream);
  border-radius: 999px;
  font: 400 15px/1 var(--font-display);
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--spring);
}
.site-footer__nav a:hover { background: var(--cheese); border-color: var(--cheese); color: var(--ink); transform: rotate(-3deg); }
.site-footer__meta { display: grid; gap: 6px; max-width: 340px; font-size: 15px; justify-self: center; }
@media (min-width: 900px) { .site-footer__meta { justify-self: end; text-align: right; } }
.site-footer__meta strong { color: var(--cheese); font: 400 17px/1.2 var(--font-display); }
.site-footer__meta span { opacity: 0.75; }
.site-footer__bottom {
  position: relative;
  z-index: 2;
  margin-top: 50px;
  padding-top: 22px;
  border-top: 2px dashed rgba(255, 244, 226, 0.25);
  font-size: 14px;
  text-align: center;
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   13. Ograniczony ruch
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .ld { display: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* --------------------------------------------------------------------------
   14. Napisy dopasowane do kolumny (cqi) - na końcu, żeby nadpisać rozmiary
   z sekcji powyżej. Współczynnik = 96 / szerokość najdłuższego
   nierozdzielnego fragmentu w em (+0,15 em na obrys i cień):
   „ALERGENY" 5,36 · „Czytelnie." 5,36 · „informacja" 6,16 ·
   „niż zgadywać." 8,3 (twarda spacja) · sekcje ~5,5
   -------------------------------------------------------------------------- */
@supports (width: 1cqi) {
  .hero__title { font-size: min(clamp(56px, 7.3vw, 110px), 17.4cqi); }
  .section-title { font-size: min(clamp(40px, 6.2vw, 92px), 17cqi); }
  .notice__title { font-size: min(clamp(44px, 6.4vw, 92px), 15.2cqi); }
  .cta__title { font-size: min(clamp(42px, 5.3vw, 74px), 11.4cqi); }
  .story__title { font-size: min(clamp(50px, 8vw, 138px), 17.4cqi); }
  /* w scenie tytuł leży między marginesami (--gutter wpisany wprost) */
  .motion .story__title { font-size: min(clamp(50px, 8vw, 138px), calc((100cqi - 2 * clamp(16px, 5vw, 64px)) * 0.174)); }
  @media (max-width: 899.98px) {
    .motion .hero__title { font-size: min(clamp(50px, 16vw, 96px), 17.4cqi); }
    .motion .story__title { font-size: min(clamp(44px, 13.4vw, 80px), calc((100cqi - 2 * clamp(16px, 5vw, 64px)) * 0.174)); }
  }
}
