/* Wietnamka — „Cinematic Vietnam”. Szkielet S12: dwa światy (ogień/wieczór ↔ zioła/poranek) + przewrót karty.
   Domyślny CSS = stan końcowy (działa bez JS); html.anim włącza choreografię. */

@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/fonts/bodoni-moda-latin-standard-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/fonts/bodoni-moda-latin-ext-standard-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400 900; font-display: swap; src: url(/fonts/bodoni-moda-latin-standard-italic.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400 900; font-display: swap; src: url(/fonts/bodoni-moda-latin-ext-standard-italic.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* wietnamskie litery (ở, ả, ố…) — Bodoni Moda ich nie ma, bierzemy z didone Playfair Display */
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/fonts/playfair-display-vietnamese-wght-normal.woff2) format('woff2'); unicode-range: U+0300-0301, U+0303, U+0309, U+0323, U+1EA0-1EF1; }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400 900; font-display: swap; src: url(/fonts/playfair-display-vietnamese-wght-italic.woff2) format('woff2'); unicode-range: U+0300-0301, U+0303, U+0309, U+0323, U+1EA0-1EF1; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/manrope-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/manrope-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/manrope-vietnamese-wght-normal.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }

:root {
  --zielen: #172B23; --krem: #EDE3CE; --chili: #BD452E; --zloto: #D4A35E; --wegiel: #141713;
  --papier: #F7F3E8; --szalwia: #71866A; --piasek: #9D927C; --cynamon: #743A25;
  --serif: 'Bodoni Moda', 'Playfair Display', Didot, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mar: clamp(20px, 4.4vw, 72px);
  --gut: clamp(14px, 1.8vw, 28px);
  --nav: 76px;
  --tk: 34px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sprez: cubic-bezier(.2, .9, .3, 1.2);
  --dno: env(safe-area-inset-bottom, 0px);
  --tlo: var(--zielen); --txt: var(--krem); --akcent: var(--zloto); --cichy: rgba(237, 227, 206, .72);
}
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; background: var(--wegiel); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; font-family: var(--sans); font-size: clamp(15.5px, 1.05vw, 17px); line-height: 1.6; color: var(--txt); background: var(--zielen); -webkit-font-smoothing: antialiased; overflow-x: clip; }
main, .stopka { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1; letter-spacing: -.02em; margin: 0; font-variation-settings: 'opsz' 48; text-wrap: balance; font-kerning: normal; }
h1 em, h2 em, .duzy em, p em { font-style: italic; font-weight: 400; color: var(--akcent); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--zloto); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--chili); color: var(--papier); }

/* światy */
.swiat-ciemny { --tlo: var(--zielen); --txt: var(--krem); --akcent: var(--zloto); --cichy: rgba(237, 227, 206, .74); background: var(--tlo); color: var(--txt); }
.swiat-noc { --tlo: var(--wegiel); --txt: var(--krem); --akcent: var(--zloto); --cichy: rgba(237, 227, 206, .74); background: var(--tlo); color: var(--txt); }
.swiat-jasny { --tlo: var(--krem); --txt: var(--wegiel); --akcent: var(--chili); --cichy: rgba(20, 23, 19, .74); background: var(--tlo); color: var(--txt); }
.swiat-papier { --tlo: var(--papier); --txt: var(--wegiel); --akcent: var(--chili); --cichy: rgba(20, 23, 19, .74); background: var(--tlo); color: var(--txt); }
.swiat-zloty { --tlo: var(--zloto); --txt: var(--wegiel); --akcent: #7d2414; --cichy: rgba(20, 23, 19, .8); background: var(--tlo); color: var(--txt); }
.swiat-chili { --tlo: var(--chili); --txt: var(--papier); --akcent: var(--zloto); --cichy: rgba(247, 243, 232, .9); background: var(--tlo); color: var(--txt); }

.siatka { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); padding-inline: var(--mar); }
.siatka > .etykieta { grid-column: 1 / -1; }
.etykieta { font: 700 12px/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--akcent); display: flex; align-items: center; gap: .8em; margin: 0 0 1.6rem; }
.etykieta::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.duzy { font-size: clamp(46px, 7.4vw, 150px); line-height: .94; letter-spacing: -.035em; }
.pomin { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--papier); color: var(--wegiel); padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.pomin:focus { top: 12px; }

/* przyciski */
.btn { --b: var(--zloto); --t: var(--wegiel); display: inline-flex; align-items: center; justify-content: center; gap: .7em; min-height: 52px; padding: 0 1.6em; border-radius: 999px; border: 1.5px solid var(--b); background: var(--b); color: var(--t); font: 700 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--papier); border-radius: inherit; transform: translateY(102%); transition: transform .45s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover { color: var(--wegiel); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--obrys { --b: transparent; --t: var(--krem); border-color: rgba(237, 227, 206, .5); }
.btn--chili { --b: var(--chili); --t: var(--papier); }
.btn--krem { --b: var(--papier); --t: var(--chili); }
.btn--krem::before { background: var(--wegiel); }
.btn--krem:hover { color: var(--papier); }
.btn--maly { --b: transparent; --t: var(--txt); border-color: currentColor; min-height: 44px; padding: 0 1.1em; font-size: 14px; }
.magnet > span, .magnet > svg { display: inline-block; }
.link { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.link:hover { background-size: 100% 1px; }

/* nawigacja */
.nav { position: fixed; z-index: 90; left: 0; right: 0; top: var(--tk); height: var(--nav); display: flex; align-items: center; gap: 28px; padding: 0 var(--mar); color: var(--krem); transition: top .45s var(--ease), background-color .45s, color .45s, height .45s; }
.nav.is-scrolled { top: 0; height: 64px; background: rgba(23, 43, 35, .82); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
.nav.is-jasna { background: rgba(247, 243, 232, .86); color: var(--wegiel); }
.nav__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 500 22px/1 var(--serif); letter-spacing: .2em; text-transform: uppercase; margin-right: auto; }
.nav__logo .znak { width: 40px; height: 34px; color: var(--zloto); }
.nav.is-jasna .nav__logo .znak { color: var(--chili); }
.nav__linki { display: flex; gap: 28px; }
.nav__linki a { text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .04em; position: relative; padding: 6px 0; opacity: .82; transition: opacity .3s; }
.nav__linki a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--zloto); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav.is-jasna .nav__linki a::after { background: var(--chili); }
.nav__linki a:hover, .nav__linki a.is-on { opacity: 1; }
.nav__linki a.is-on::after, .nav__linki a:hover::after { transform: none; }
.nav__cta { --b: var(--chili); --t: var(--papier); min-height: 44px; font-size: 14px; }
.nav__burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; cursor: pointer; position: relative; z-index: 95; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.nav__burger span:first-child { top: 19px; }
.nav__burger span:last-child { top: 27px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }
.menu-mob { position: fixed; inset: 0; z-index: 85; background: var(--chili); color: var(--papier); display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--nav) + 40px) var(--mar) calc(32px + var(--dno)); clip-path: circle(0 at calc(100% - var(--mar) - 24px) 40px); transition: clip-path .7s var(--ease); overflow-y: auto; }
.menu-mob.is-open { clip-path: circle(150% at calc(100% - var(--mar) - 24px) 40px); }
.menu-mob nav { display: flex; flex-direction: column; gap: 6px; }
.menu-mob nav a { font: 500 clamp(40px, 12vw, 64px)/1.08 var(--serif); text-decoration: none; display: flex; align-items: baseline; gap: 14px; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease); }
.menu-mob nav a small { font: 700 12px var(--sans); letter-spacing: .2em; color: var(--zloto); }
.menu-mob.is-open nav a { opacity: 1; transform: none; }
.menu-mob.is-open nav a:nth-child(2) { transition-delay: .06s; } .menu-mob.is-open nav a:nth-child(3) { transition-delay: .12s; } .menu-mob.is-open nav a:nth-child(4) { transition-delay: .18s; } .menu-mob.is-open nav a:nth-child(5) { transition-delay: .24s; }
.menu-mob__dol { display: flex; justify-content: space-between; align-items: end; gap: 20px; font-size: 14px; }
.menu-mob__dol p { margin: 0; }
.menu-mob__dol a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; }
.menu-mob__dol svg { width: 20px; height: 20px; }
body.menu-otwarte .nav { color: var(--papier); background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ticker u góry */
.ticker { position: absolute; z-index: 4; top: 0; left: 0; right: 0; height: var(--tk); overflow: hidden; background: var(--chili); color: var(--papier); display: flex; align-items: center; }
.ticker__tor { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker__tor > span { display: flex; align-items: center; }
.ticker b { font: 600 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.ticker i { width: 5px; height: 5px; margin: 0 22px; border-radius: 50%; background: var(--zloto); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* HERO */
.hero { position: relative; min-height: 100svh; height: 100svh; min-height: 640px; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse 60% 55% at 50% 48%, #24402f 0%, var(--zielen) 58%, #0f1d17 100%); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .93 0 0 0 0 .89 0 0 0 0 .8 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__scena { position: absolute; inset: 0; }
.hero__miejsce { position: absolute; top: calc(var(--tk) + var(--nav) + 2vh); left: 0; right: 0; text-align: center; font: 700 12px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--zloto); margin: 0; }
.hero__slowo { position: absolute; left: 0; right: 0; top: 23%; text-align: center; font-family: var(--serif); font-weight: 500; font-size: clamp(60px, 15.6vw, 236px); line-height: .8; letter-spacing: -.035em; color: var(--krem); white-space: nowrap; pointer-events: none; font-weight: 800; font-variation-settings: 'opsz' 40; }
.hero__slowo-in { display: inline-block; }
.hero__slowo-maska { display: inline-block; overflow: hidden; padding: .06em .04em .02em; }
.lit { display: inline-block; }
.hero__miska { --mw: min(52svh, 40vw); position: absolute; left: 50%; top: 49%; width: var(--mw); height: var(--mw); margin: calc(var(--mw) / -2) 0 0 calc(var(--mw) / -2); z-index: 2; }
.hero__miska-obr { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 50px 90px -20px rgba(0, 0, 0, .65), 0 18px 40px rgba(0, 0, 0, .35); }
.hero__miska-obr img { width: 100%; height: 100%; border-radius: 50%; animation: krecenie 120s linear infinite; }
@keyframes krecenie { to { rotate: 360deg; } }
.hero__para { position: absolute; left: -30%; top: -95%; width: 160%; height: 150%; pointer-events: none; z-index: 3; }
.hero__tekst { position: absolute; z-index: 5; left: var(--mar); bottom: clamp(28px, 6svh, 64px); width: min(520px, 38vw); }
.hero__tytul { font-size: clamp(38px, 4.1vw, 66px); line-height: .98; letter-spacing: -.03em; margin-bottom: 18px; }
.hero__tytul em { display: block; }
.maska { display: block; overflow: hidden; padding-bottom: .08em; }
.maska > span { display: block; }
.hero__pod { color: var(--cichy); margin: 0; max-width: 40ch; }
.hero__akcje { position: absolute; z-index: 5; right: var(--mar); bottom: clamp(28px, 6svh, 64px); display: flex; gap: 12px; }
.hero__przewin { position: absolute; z-index: 5; left: 50%; bottom: 22px; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 10px; font: 700 11px var(--sans); letter-spacing: .3em; text-transform: uppercase; text-decoration: none; color: var(--cichy); }
.hero__przewin i { width: 1px; height: 46px; background: linear-gradient(var(--zloto), transparent); position: relative; overflow: hidden; }
.hero__przewin i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--krem); animation: kropla 2.2s var(--ease) infinite; }
@keyframes kropla { to { top: 110%; } }

/* dekoracje z branży: nigdy na tekście */
.dek { position: absolute; pointer-events: none; z-index: 1; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35)); }
.dek--hero-anyz { width: clamp(70px, 8vw, 130px); left: 7vw; top: 30%; transform: rotate(-18deg); z-index: 3; }
.dek--hero-bazylia { width: clamp(110px, 10vw, 170px); right: 5vw; top: 31%; transform: rotate(24deg); opacity: .95; }
.dek--podroz-anyz { width: 110px; right: 6vw; top: 8%; transform: rotate(32deg); filter: drop-shadow(0 12px 16px rgba(60, 40, 20, .25)); }
.dek--menu-chili { width: 64px; left: 2vw; bottom: 6%; transform: rotate(-64deg); filter: drop-shadow(0 12px 16px rgba(60, 40, 20, .25)); }
.dek--rez-limonka { width: 150px; right: -40px; top: 7%; transform: rotate(20deg); filter: drop-shadow(0 12px 16px rgba(60, 40, 20, .25)); }
.dek--dojazd-cynamon { width: 170px; right: 3vw; bottom: 4%; transform: rotate(-12deg); opacity: .9; }

/* ANATOMIA — bez JS: rozłożona miska + lista etapów */
.anatomia { position: relative; --b: min(50svh, 36vw); background: radial-gradient(ellipse 70% 60% at 60% 50%, #203a2e, var(--zielen) 55%, #101d17); }
.anatomia__scena { position: relative; min-height: 100svh; padding: calc(var(--nav) + 40px) var(--mar) 60px; display: grid; grid-template-columns: 30% 1fr; gap: 3vw; align-items: center; }
.anatomia__scena > .etykieta { position: absolute; top: calc(var(--nav) + 18px); left: var(--mar); margin: 0; }
.anatomia__start, .anatomia__koniec { grid-column: 1; font-family: var(--serif); font-size: clamp(36px, 4.2vw, 72px); line-height: 1; letter-spacing: -.03em; margin: 0; font-weight: 500; }
.anatomia__koniec { grid-column: 1 / -1; text-align: center; }
.anatomia__koniec em, .anatomia__start em { display: block; }
.anatomia__stol { grid-column: 2; grid-row: 1 / span 2; position: relative; height: min(100svh, 940px); min-height: 560px; }
.anatomia__miska { overflow: hidden; position: absolute; left: 50%; top: 50%; width: var(--b); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; z-index: 2; box-shadow: 0 60px 100px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(212, 163, 94, .12); }
.anatomia__miska img { width: 100%; height: 100%; border-radius: 50%; }
.anatomia__lupa { position: absolute; inset: 22%; border-radius: 50%; border: 1.5px solid var(--zloto); opacity: 0; box-shadow: 0 0 0 1px rgba(20, 23, 19, .4); }
.skl { --x: 0; --y: 0; --w: 20; --r: 0; position: absolute; z-index: 3; margin: 0; left: calc(50% + var(--x) * var(--b) / 100); top: calc(50% + var(--y) * var(--b) / 100); width: calc(var(--w) * var(--b) / 100); translate: -50% -50%; }
.skl__obr img { width: 100%; rotate: calc(var(--r) * 1deg); filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .5)); }
.skl figcaption { position: absolute; left: 50%; top: calc(100% + 8px); translate: -50% 0; white-space: nowrap; font: 700 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--zloto); display: flex; align-items: center; gap: 8px; }
.skl figcaption i { width: 6px; height: 6px; border-radius: 50%; background: var(--zloto); box-shadow: 0 0 0 4px rgba(212, 163, 94, .2); }
.skl--przyprawy { --x: 80; --y: -54; --w: 44; }
.skl--plaster-limonki { --x: -42; --y: -78; --w: 22; --r: 0; }
.skl--bazylia { --x: -84; --y: -30; --w: 25; --r: -14; }
.skl--kolendra { --x: 92; --y: 18; --w: 21; --r: 10; }
.skl--szczypior { --x: -78; --y: 46; --w: 11; --r: -28; }
.skl--chili { --x: 66; --y: 66; --w: 11; --r: 38; }
.skl--limonka { --x: 6; --y: 80; --w: 32; }
.anatomia__etapy { grid-column: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.etap__nr { font: 700 12px var(--sans); letter-spacing: .2em; color: var(--zloto); display: block; margin-bottom: 10px; }
.etap h3 { font-size: clamp(30px, 3.2vw, 54px); letter-spacing: -.03em; margin-bottom: 14px; }
.etap p { color: var(--cichy); max-width: 34ch; margin: 0; }
.anatomia__pasek { display: none; }

/* z JS: przypięta scena, teksty jeden po drugim */
.anim .anatomia { height: 560svh; }
.anim .anatomia__scena { position: sticky; top: 0; height: 100svh; min-height: 0; padding: 0; display: block; overflow: hidden; }
.anim .anatomia__stol { position: absolute; left: 34%; right: 0; top: 0; bottom: 0; height: auto; min-height: 0; }
.anim .anatomia__start, .anim .anatomia__koniec, .anim .etap { position: absolute; left: var(--mar); top: 50%; translate: 0 -50%; width: 28%; }
.anim .anatomia__koniec { text-align: left; }
.anim .anatomia__etapy { display: block; }
.anim .etap, .anim .anatomia__koniec { visibility: hidden; opacity: 0; }
.anim .anatomia__pasek { display: block; position: absolute; left: var(--mar); bottom: 34px; width: 28%; height: 2px; background: rgba(237, 227, 206, .16); }
.anatomia__pasek i { position: absolute; inset: 0; background: var(--zloto); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* PRZEWRÓT KARTY */
.przewrot { position: relative; height: 100svh; background: var(--wegiel); }
.przewrot__scena { position: relative; height: 100svh; overflow: hidden; perspective: 1400px; display: grid; place-items: center; }
.przewrot__karta { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; will-change: transform; }
.przewrot__twarz { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.przewrot__twarz--przod { display: none; }
.przewrot__twarz--tyl { transform: none; }
.przewrot__foto { grid-column: 2; grid-row: 1; width: 100%; height: 100%; object-fit: cover; }
.przewrot__tekst { grid-column: 1; grid-row: 1; padding: 0 var(--mar); font-family: var(--serif); font-size: clamp(44px, 6.4vw, 124px); line-height: .95; letter-spacing: -.035em; margin: 0; }
.przewrot__tekst em { display: block; }
.anim .przewrot { height: 280svh; }
.anim .przewrot__scena { position: sticky; top: 0; }
.anim .przewrot__twarz--przod { display: grid; }
.anim .przewrot__twarz--tyl { transform: rotateY(180deg); }

/* PODRÓŻ */
.podroz { position: relative; padding-top: clamp(90px, 14vh, 160px); }
.podroz__glowa { position: relative; row-gap: 40px; padding-bottom: clamp(80px, 12vh, 140px); }
.podroz__glowa .etykieta { grid-column: 1 / -1; }
.podroz__tytul { grid-column: 1 / 9; grid-row: 2; }
.podroz__tytul em { display: block; }
.podroz__foto { grid-column: 9 / 13; grid-row: 2 / 4; align-self: start; margin-top: 4vh; }
.podroz__tekst { grid-column: 2 / 7; grid-row: 3; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.55; color: var(--cichy); margin: 0; }
.ramka-wyjscie { overflow: hidden; border-radius: 300px 300px 18px 18px; }
.ramka-wyjscie img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.anim .ramka-wyjscie { clip-path: inset(14% 10% 14% 10% round 300px 300px 18px 18px); }

.film { position: relative; background: var(--krem); }
.film__scena { position: relative; padding: 40px 0 70px; overflow: hidden; }
.film__gora { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 0 var(--mar) 26px; font: 700 12px var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.film__km b { font: 500 clamp(26px, 2.6vw, 42px)/1 var(--serif); letter-spacing: -.02em; color: var(--chili); margin-right: 8px; font-variant-numeric: tabular-nums; }
.film__tor { display: flex; gap: clamp(16px, 2vw, 32px); padding: 0 var(--mar); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.film__tor::-webkit-scrollbar { display: none; }
.klatka { flex: none; width: min(56vw, 860px); margin: 0; scroll-snap-align: center; }
.klatka img { width: 100%; aspect-ratio: 16 / 9.5; object-fit: cover; border-radius: 14px; background: var(--piasek); }
.klatka figcaption { margin-top: 14px; font-size: 14px; color: var(--cichy); }
.klatka figcaption b { font: 500 22px var(--serif); color: var(--wegiel); margin-right: 8px; }
.film__os { display: flex; align-items: center; gap: 18px; padding: 30px var(--mar) 0; font: 700 12px var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.film__linia { flex: 1; height: 2px; background: rgba(20, 23, 19, .15); position: relative; }
.film__linia i { position: absolute; inset: 0; background: var(--chili); transform-origin: left; transform: scaleX(var(--p, 1)); }
.film__linia i::after { content: ''; position: absolute; right: -7px; top: -6px; width: 14px; height: 14px; border-radius: 50%; background: var(--chili); transform: scaleX(calc(1 / max(var(--p, 1), .02))); }
.anim .film { height: 360svh; }
.anim .film__scena { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: var(--nav) 0 40px; }
.anim .film__tor { overflow: visible; scroll-snap-type: none; width: max-content; }
.anim .film__linia i { transform: scaleX(var(--p, 0)); }

/* MENU */
.menu { position: relative; padding: clamp(100px, 15vh, 170px) 0 clamp(80px, 12vh, 130px); }
.menu__glowa { row-gap: 14px; margin-bottom: clamp(40px, 7vh, 80px); }
.menu__glowa .etykieta { grid-column: 1 / -1; }
.nawias { grid-column: 1 / -1; font: 500 clamp(20px, 1.8vw, 28px)/1.2 var(--serif); font-style: italic; margin: 0; color: var(--cichy); }
.nawias__n { color: var(--chili); font-style: normal; }
.nawias__slowo { display: inline-block; color: var(--chili); min-width: 2ch; }
.nawias__slowo .z { display: inline-block; }
.menu__tytul { grid-column: 1 / 11; }
.menu__uklad { align-items: start; }
.menu__lista { grid-column: 1 / 7; display: flex; flex-direction: column; border-top: 1px solid rgba(20, 23, 19, .2); }
.kat { display: grid; grid-template-columns: 56px 1fr; column-gap: 10px; text-align: left; background: none; border: 0; border-bottom: 1px solid rgba(20, 23, 19, .2); padding: 22px 0; cursor: pointer; color: var(--wegiel); position: relative; }
.kat__nr { font: 700 12px/2.4 var(--sans); letter-spacing: .2em; color: var(--piasek); transition: color .3s; }
.kat__nazwa { font: 500 clamp(28px, 2.9vw, 50px)/1.05 var(--serif); letter-spacing: -.025em; transition: color .35s, translate .5s var(--ease); }
.kat__tekst { grid-column: 2; display: grid; grid-template-rows: 0fr; overflow: hidden; color: var(--cichy); max-width: 46ch; transition: grid-template-rows .5s var(--ease), margin .5s var(--ease), opacity .4s; opacity: 0; font-size: 15.5px; }
.kat__tekst { display: block; max-height: 0; }
.kat.is-on .kat__tekst { max-height: 8em; margin-top: 12px; opacity: 1; }
.kat.is-on .kat__nr, .kat.is-on .kat__nazwa { color: var(--chili); }
.kat:hover .kat__nazwa { translate: 10px 0; }
.kat::before { content: ''; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--chili); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.kat.is-on::before { transform: none; }
.menu__foto { grid-column: 7 / 13; position: sticky; top: 100px; aspect-ratio: 4 / 4.6; }
.menu__obr { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; clip-path: inset(0 0 100% 0 round 22px); transition: clip-path .9s var(--ease); }
.menu__obr.is-on { clip-path: inset(0 0 0 0 round 22px); z-index: 2; }
.menu__obr.is-wych { z-index: 1; clip-path: inset(0 0 0 0 round 22px); }
.menu__obr img { width: 100%; height: 100%; object-fit: cover; scale: 1.12; transition: scale 1.4s var(--ease); }
.menu__obr.is-on img { scale: 1; }
.menu__podpis { position: absolute; z-index: 3; right: 18px; bottom: 16px; margin: 0; background: var(--papier); color: var(--wegiel); border-radius: 999px; padding: 6px 14px; font: 700 12px var(--sans); letter-spacing: .16em; }
.menu__slider { display: none; }
.menu__dopisek { margin: 40px 0 0; }
.menu__dopisek span { grid-column: 1 / 7; color: var(--cichy); font-size: 14.5px; }

/* SMAK, KTÓRY ZOSTAJE */
.smak { position: relative; padding: clamp(100px, 15vh, 170px) 0 clamp(90px, 14vh, 160px); }
.smak__tytul { grid-column: 1 / 12; margin-bottom: clamp(40px, 8vh, 100px); }
.smak__tytul em { color: var(--akcent); }
.smak__siatka { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: clamp(40px, 7vh, 90px); padding: 0 var(--mar); }
.cecha { margin: 0; }
.cecha__obr { overflow: hidden; border-radius: 16px; }
.cecha__obr img { width: 100%; height: 100%; object-fit: cover; }
.cecha figcaption { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.cecha__slowo { font: 500 clamp(40px, 4.6vw, 84px)/1 var(--serif); letter-spacing: -.03em; }
.cecha__tekst { font-size: 15px; color: var(--cichy); }
.cecha--1 { grid-column: 1 / 6; } .cecha--1 .cecha__obr { aspect-ratio: 4 / 3; }
.cecha--2 { grid-column: 7 / 12; margin-top: 10vh; } .cecha--2 .cecha__obr { aspect-ratio: 4 / 5; }
.cecha--3 { grid-column: 1 / 5; margin-top: -8vh; } .cecha--3 .cecha__obr { aspect-ratio: 3 / 4.2; }
.cecha--4 { grid-column: 5 / 9; margin-top: 14vh; } .cecha--4 .cecha__obr { aspect-ratio: 3 / 4; }
.cecha--5 { grid-column: 9 / 13; margin-top: 2vh; } .cecha--5 .cecha__obr { aspect-ratio: 1; }

/* OGIEŃ */
.ogien { position: relative; min-height: 100svh; overflow: hidden; display: flex; align-items: flex-end; }
.ogien__kadr { position: absolute; inset: 0; }
.ogien__foto { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.ogien__kadr::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 23, 19, .92) 0%, rgba(20, 23, 19, .7) 38%, rgba(20, 23, 19, 0) 70%), linear-gradient(0deg, rgba(20, 23, 19, .7), transparent 40%); }
.ogien__iskry { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.pas { position: absolute; left: 0; right: 0; height: 0; background: var(--wegiel); z-index: 2; }
.pas--g { top: 0; } .pas--d { bottom: 0; }
.anim .pas { height: 14svh; }
.ogien__tekst { position: relative; z-index: 3; padding: 0 var(--mar) clamp(60px, 12vh, 130px); max-width: 860px; }
.ogien__tytul { margin-bottom: 26px; font-size: clamp(52px, 8.4vw, 170px); }
.ogien__tytul em { display: block; color: var(--zloto); }
.ogien__tekst > p:last-child { max-width: 46ch; color: var(--cichy); font-size: clamp(16px, 1.25vw, 19px); }

/* OTWARCIE — plakat */
.otwarcie { position: relative; padding: clamp(24px, 3vw, 40px); }
.plakat { position: relative; min-height: calc(100svh - 2 * clamp(24px, 3vw, 40px)); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr auto auto; column-gap: var(--gut); padding: clamp(28px, 4vw, 64px); }
.plakat__ramka { position: absolute; inset: 0; border: 1px solid rgba(212, 163, 94, .7); pointer-events: none; }
.plakat__ramka::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(212, 163, 94, .35); }
.plakat__gora { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; font: 700 12px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--zloto); margin: 0 0 4vh; }
.plakat__tytul { grid-column: 1 / 9; grid-row: 2; align-self: center; font-size: clamp(64px, 11.6vw, 220px); line-height: .86; letter-spacing: -.045em; }
.plakat__tytul em { display: block; color: var(--zloto); padding-left: .5em; }
.plakat__krag { grid-column: 9 / 13; grid-row: 2; align-self: center; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 10px var(--chili), 0 0 0 11px rgba(212, 163, 94, .7), 0 40px 80px -20px rgba(0, 0, 0, .5); }
.plakat__krag img { width: 100%; height: 100%; object-fit: cover; scale: 1.5; object-position: 40% 60%; }
.plakat__dol { grid-column: 1 / 8; grid-row: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 4vh; }
.plakat__dol p { margin: 0; font-size: clamp(18px, 1.5vw, 24px); max-width: 28ch; }
.plakat__adres { grid-column: 8 / 13; grid-row: 3; align-self: end; text-align: right; margin: 0; font: 700 12px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--zloto); }

/* REZERWACJA */
.rezerwacja { position: relative; overflow: hidden; padding: clamp(100px, 15vh, 170px) 0 clamp(90px, 13vh, 150px); }
.rezerwacja__uklad { row-gap: 40px; align-items: start; }
.rezerwacja__lewa { grid-column: 1 / 6; }
.rezerwacja__tytul { font-size: clamp(44px, 5.4vw, 104px); margin-bottom: 26px; }
.rezerwacja__tytul em { display: block; }
.rezerwacja__pod { color: var(--cichy); max-width: 40ch; font-size: clamp(16px, 1.2vw, 18.5px); }
.rezerwacja__foto { max-width: 400px; margin: 36px 0; }
.rezerwacja__foto img { aspect-ratio: 4 / 3.4; }
.rezerwacja__kontakt { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rezerwacja__kontakt p { flex: 1 0 100%; margin: 0 0 6px; color: var(--cichy); font-size: 15px; }
.formularz { grid-column: 7 / 13; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 16px; background: var(--krem); border-radius: 26px; padding: clamp(24px, 3vw, 44px); box-shadow: 0 40px 80px -40px rgba(60, 40, 20, .35); position: relative; }
.pole { grid-column: span 3; display: flex; flex-direction: column; gap: 6px; }
.pole--pelne { grid-column: 1 / -1; }
.pole--trzy { grid-column: span 2; }
.pole--www { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pole label { font: 700 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.pole label span { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--cichy); }
.pole input, .pole select, .pole textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid rgba(20, 23, 19, .22); border-radius: 12px; background: var(--papier); font-size: 16px; transition: border-color .25s, box-shadow .25s; }
.pole textarea { resize: vertical; min-height: 96px; }
.pole input:focus, .pole select:focus, .pole textarea:focus { outline: none; border-color: var(--zielen); box-shadow: 0 0 0 4px rgba(23, 43, 35, .14); }
.pole.is-blad input, .pole.is-blad select { border-color: var(--chili); }
.blad { color: #a3341f; font-size: 13px; font-weight: 600; }
.zgoda { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--cichy); cursor: pointer; }
.zgoda input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--chili); }
.formularz__uwaga { margin: 0; font-size: 13.5px; padding: 12px 14px; border-left: 3px solid var(--zloto); background: rgba(212, 163, 94, .14); border-radius: 0 10px 10px 0; }
.formularz__wyslij { grid-column: 1 / -1; min-height: 58px; font-size: 16px; }
.formularz__wyslij[disabled] { opacity: .7; cursor: progress; }
.formularz__wyslij.is-wysyla span::after { content: ''; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: krecenie .8s linear infinite; }
.formularz__stan { margin: 0; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.formularz__stan.is-ok { background: var(--zielen); color: var(--krem); }
.formularz__stan.is-zle { background: rgba(189, 69, 46, .14); color: #8f2e1b; }

/* DOJAZD */
.dojazd { position: relative; overflow: hidden; padding: clamp(100px, 15vh, 170px) 0 clamp(90px, 14vh, 160px); }
.dojazd__uklad { align-items: center; row-gap: 40px; }
.dojazd__lewa { grid-column: 1 / 7; position: relative; z-index: 2; }
.dojazd__tytul { font-size: clamp(30px, 2.8vw, 48px); margin-bottom: 30px; letter-spacing: -.02em; }
.dojazd__tytul em { color: var(--zloto); }
.dojazd__adres { font: 500 clamp(54px, 7.2vw, 132px)/.9 var(--serif); letter-spacing: -.045em; margin: 0 0 20px; }
.dojazd__adres span { display: block; }
.dojazd__adres span + span { font-style: italic; color: var(--zloto); padding-left: .6em; }
.dojazd__miasto { font: 700 13px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--cichy); margin-bottom: 32px; }
.mapa { grid-column: 7 / 13; position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #2a3a32; box-shadow: 0 0 0 1px rgba(212, 163, 94, .4), 0 0 0 14px var(--zielen), 0 0 0 15px rgba(212, 163, 94, .25); }
.mapa iframe { position: absolute; inset: -10%; width: 120%; height: 120%; border: 0; filter: grayscale(1) invert(.92) sepia(.5) hue-rotate(95deg) saturate(.7) brightness(.95) contrast(.95); pointer-events: none; }
.mapa.is-aktywna iframe { pointer-events: auto; }
.mapa__pin { position: absolute; left: 50%; top: 50%; translate: -50% -100%; width: 58px; height: 58px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--chili); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .4); pointer-events: none; z-index: 2; }
.mapa__pin .znak { width: 30px; height: 26px; rotate: 45deg; color: var(--papier); }
.mapa__zaslona { position: absolute; inset: 0; z-index: 3; border: 0; background: transparent; cursor: pointer; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 12%; font: 700 13px var(--sans); letter-spacing: .08em; color: var(--krem); }
.mapa__zaslona::after { content: ''; }
.mapa__zaslona { text-shadow: 0 1px 8px rgba(0, 0, 0, .8); opacity: 0; transition: opacity .3s; }
.mapa:hover .mapa__zaslona, .mapa__zaslona:focus-visible { opacity: 1; }
.mapa.is-aktywna .mapa__zaslona { display: none; }

/* STOPKA — final tunel */
.stopka { position: relative; background: var(--wegiel); color: var(--krem); padding: clamp(80px, 12vh, 140px) var(--mar) calc(26px + var(--dno)); --cichy: rgba(237, 227, 206, .7); }
.stopka__tunel { display: grid; place-items: center; margin-bottom: clamp(50px, 8vh, 90px); }
.stopka__krag { width: clamp(220px, 26vw, 380px); aspect-ratio: 1; border-radius: 50%; background: var(--krem); color: var(--wegiel); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-decoration: none; text-align: center; font: 500 clamp(28px, 2.6vw, 44px)/1 var(--serif); letter-spacing: -.02em; padding: 0 12%; box-shadow: 0 0 0 1px rgba(237, 227, 206, .3), 0 0 0 30px rgba(237, 227, 206, .05), 0 0 0 60px rgba(237, 227, 206, .03); transition: background-color .4s, color .4s; }
.stopka__krag svg { width: 30px; height: 30px; color: var(--chili); transition: transform .4s var(--ease); }
.stopka__krag:hover { background: var(--chili); color: var(--papier); }
.stopka__krag:hover svg { color: var(--papier); transform: translateX(6px); }
.stopka__haslo { text-align: center; font: 500 clamp(36px, 4.6vw, 80px)/1 var(--serif); letter-spacing: -.03em; margin: 0 0 clamp(50px, 8vh, 90px); }
.stopka__haslo em { color: var(--zloto); }
.stopka__kol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; padding: 40px 0; border-top: 1px solid rgba(237, 227, 206, .16); font-size: 15px; }
.stopka__kol h3 { font: 700 12px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--zloto); margin-bottom: 16px; }
.stopka__kol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.stopka__kol p { color: var(--cichy); }
.stopka__mala { font-size: 13px; color: var(--cichy); }
.stopka__wielki { font: 700 clamp(46px, 14vw, 280px)/.8 var(--serif); letter-spacing: -.04em; font-variation-settings: 'opsz' 40; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(212, 163, 94, .6); white-space: nowrap; margin: 10px 0 30px; user-select: none; background: linear-gradient(180deg, var(--zloto) 0 0) 0 0 / 100% var(--wyp, 0%) no-repeat; -webkit-background-clip: text; background-clip: text; }
.stopka__dol { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: var(--cichy); border-top: 1px solid rgba(237, 227, 206, .16); padding-top: 22px; }
.podpis-wyk { display: flex; align-items: center; gap: 18px; }

/* podpis Bogate Ananasy (jak na stronie WDK) */
.m-only { display: none; }
.made-by { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; transition: color .3s; }
.made-by:hover { color: var(--zloto); }
.made-by img { height: 1.75rem; width: auto; display: block; }
.logo-wrap { position: relative; top: -3px; z-index: 1; display: block; transform-origin: 50% 50%; animation: logo-spin 5s ease-in-out infinite; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .made-by:hover .logo-wrap { animation: logo-spin-loop 1.6s linear infinite; }
  .made-by:hover img { animation: logo-shine-loop 1.6s ease-in-out infinite; }
  .made-by:hover .glint { animation: logo-glint-loop 1.6s linear infinite; }
}
.made-by img { animation: logo-shine 5s ease-in-out infinite; }
.glint { position: absolute; inset: 0; pointer-events: none; -webkit-mask: url(/img/site/bogate-ananasy-logo.webp) center / contain no-repeat; mask: url(/img/site/bogate-ananasy-logo.webp) center / contain no-repeat; background: linear-gradient(115deg, transparent 35%, rgba(255, 246, 200, .95) 50%, transparent 65%) 0 0 / 300% 100% no-repeat; mix-blend-mode: screen; animation: logo-glint 5s ease-in-out infinite; }
@keyframes logo-spin { 0%, 80% { transform: perspective(200px) rotateY(0); } 100% { transform: perspective(200px) rotateY(360deg); } }
@keyframes logo-spin-loop { from { transform: perspective(200px) rotateY(0); } to { transform: perspective(200px) rotateY(360deg); } }
@keyframes logo-shine-loop { 0%, 100% { filter: brightness(1.25) saturate(1.2); } 50% { filter: brightness(1.7) saturate(1.35); } }
@keyframes logo-glint-loop { 0% { background-position: 100% 0; opacity: 1; } 100% { background-position: 0 0; opacity: 1; } }
@keyframes logo-shine { 0%, 80%, 100% { filter: brightness(1) saturate(1); } 90% { filter: brightness(1.6) saturate(1.3); } }
@keyframes logo-glint { 0%, 80% { background-position: 100% 0; opacity: 0; } 82% { opacity: 1; } 98% { background-position: 0 0; opacity: 1; } 100% { background-position: 0 0; opacity: 0; } }
.to-top { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; margin: -0.5rem 0; border-radius: 999px; color: inherit; transition: color .3s; }
.to-top:hover { color: var(--zloto); }
.to-top path { animation: fly-up 1.6s cubic-bezier(.4, 0, .2, 1) infinite; }
.to-top path:nth-child(2) { animation-delay: .2s; }
.to-top path:nth-child(3) { animation-delay: .4s; }
.to-top:hover path { animation-duration: .9s; }
@keyframes fly-up { 0% { transform: translateY(6px); opacity: 0; } 35% { opacity: 1; } 100% { transform: translateY(-10px); opacity: 0; } }

/* pływająca etykieta sekcji (desktop) */
.dock { position: fixed; z-index: 80; left: var(--mar); bottom: 22px; display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border-radius: 999px; background: rgba(20, 23, 19, .78); color: var(--krem); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 700 11.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; opacity: 0; translate: 0 20px; transition: opacity .5s, translate .6s var(--sprez), background-color .4s, color .4s; pointer-events: none; }
.dock.is-on { opacity: 1; translate: 0 0; }
.dock.is-jasny { background: rgba(247, 243, 232, .88); color: var(--wegiel); box-shadow: 0 8px 30px rgba(60, 40, 20, .12); }
.dock__nr { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--chili); color: var(--papier); letter-spacing: 0; }
.dock__nazwa { display: inline-block; }

/* dolny pasek mobilny */
.pasek-mob { display: none; }

/* podstrony */
.podstrona__tresc { padding: calc(var(--tk) + var(--nav) + 60px) var(--mar) 100px; min-height: 70vh; }
.podstrona .nav { color: var(--wegiel); }
.podstrona .ticker { display: none; }
.podstrona .nav { top: 0; }
.dokument { max-width: 760px; margin: 0 auto; }
.dokument h1 { font-size: clamp(44px, 6vw, 90px); margin-bottom: 30px; }
.dokument h1 em { display: block; }
.dokument h2 { font-size: clamp(24px, 2.2vw, 32px); margin: 36px 0 12px; }
.dokument p { color: var(--cichy); }

/* ===== tablet i telefon ===== */
@media (max-width: 1100px) {
  .nav__linki { display: none; }
  .nav__burger { display: block; }
  .nav__cta { display: none; }
}
@media (max-width: 760px) {
  :root { --nav: 64px; --tk: 30px; }
  .ticker b { font-size: 11px; }
  .nav { gap: 12px; }
  .nav__logo { font-size: 18px; letter-spacing: .16em; }
  .nav__logo .znak { width: 34px; height: 30px; }
  .hero { min-height: 600px; }
  .hero__miejsce { top: calc(var(--tk) + var(--nav) + 10px); font-size: 10.5px; letter-spacing: .26em; }
  .hero__slowo { top: calc(var(--tk) + var(--nav) + 44px); font-size: 13.6vw; }
  .hero__miska { --mw: 70vw; top: 41%; }
  .hero__tekst { left: var(--mar); right: var(--mar); width: auto; bottom: calc(96px + var(--dno)); }
  .hero__tytul { font-size: clamp(34px, 9.6vw, 44px); margin-bottom: 10px; }
  .hero__pod { font-size: 14.5px; line-height: 1.5; }
  .hero__akcje { left: var(--mar); right: var(--mar); bottom: calc(30px + var(--dno)); }
  .hero__akcje .btn { flex: 1; padding: 0 .8em; font-size: 14px; min-height: 50px; }
  .hero__przewin { display: none; }
  .dek--hero-anyz { width: 64px; left: 4vw; top: 56%; }
  .dek--tylko-pc { display: none; }
  .dek--podroz-anyz, .dek--menu-chili { display: none; }
  .dek--rez-limonka { width: 96px; right: -30px; top: 3%; }
  .dek--dojazd-cynamon { width: 110px; right: -10px; bottom: 1%; }

  .anatomia { --b: 56vw; }
  .anatomia__scena { grid-template-columns: 1fr; padding-top: calc(var(--nav) + 60px); }
  .anatomia__stol { grid-column: 1; grid-row: auto; height: 130vw; min-height: 0; }
  .anatomia__etapy, .anatomia__start { grid-column: 1; }
  .skl figcaption { font-size: 9.5px; letter-spacing: .14em; gap: 6px; }
  .skl--przyprawy { --x: 46; --y: -86; --w: 52; }
  .skl--plaster-limonki { --x: -56; --y: -80; --w: 30; }
  .skl--bazylia { --x: -72; --y: -18; --w: 30; }
  .skl--kolendra { --x: 74; --y: 10; --w: 26; }
  .skl--szczypior { --x: -62; --y: 66; --w: 13; }
  .skl--chili { --x: 66; --y: 64; --w: 13; }
  .skl--limonka { --x: 2; --y: 84; --w: 40; }
  .anim .anatomia { height: 520svh; }
  .anim .anatomia__stol { left: 0; top: 0; bottom: auto; height: 74svh; }
  .anim .anatomia__miska { top: 52%; }
  .anim .anatomia__start, .anim .anatomia__koniec, .anim .etap { left: var(--mar); right: var(--mar); width: auto; top: auto; bottom: calc(88px + var(--dno)); translate: 0 0; }
  .anim .anatomia__start, .anim .anatomia__koniec { font-size: clamp(30px, 8.4vw, 38px); }
  .etap h3 { font-size: 30px; margin-bottom: 8px; }
  .etap p { font-size: 14.5px; line-height: 1.5; }
  .etap__nr { margin-bottom: 6px; }
  .anim .anatomia__pasek { left: var(--mar); right: var(--mar); width: auto; bottom: calc(76px + var(--dno)); }

  .przewrot__twarz { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .przewrot__foto { grid-column: 1; grid-row: 2; }
  .przewrot__tekst { grid-column: 1; grid-row: 1; align-self: end; padding-bottom: 6vh; font-size: clamp(42px, 12vw, 60px); }
  .anim .przewrot { height: 240svh; }

  .podroz__tytul { grid-column: 1 / -1; }
  .podroz__foto { grid-column: 3 / -1; grid-row: 3; margin-top: 0; }
  .podroz__tekst { grid-column: 1 / -1; grid-row: 4; }
  .klatka { width: 80vw; }
  .anim .film { height: 300svh; }
  .film__gora { flex-direction: column; gap: 8px; font-size: 10.5px; }

  .menu__tytul { grid-column: 1 / -1; }
  .menu__uklad { display: none; }
  .menu__slider { display: block; }
  .slider__tor { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--mar); scroll-padding: 0 var(--mar); scrollbar-width: none; overscroll-behavior-x: contain; }
  .slider__tor::-webkit-scrollbar { display: none; }
  .slajd { flex: none; width: 82vw; scroll-snap-align: start; }
  .slajd img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 18px; }
  .slajd__opis { padding: 16px 4px 0; }
  .slajd__opis h3 { font-size: 32px; margin: 4px 0 10px; letter-spacing: -.02em; }
  .slajd__opis p { color: var(--cichy); font-size: 15px; margin: 0; }
  .slider__ster { display: flex; align-items: center; justify-content: space-between; padding: 22px var(--mar) 0; }
  .slider__btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--wegiel); background: transparent; display: grid; place-items: center; cursor: pointer; }
  .slider__btn svg { width: 20px; height: 20px; }
  .slider__btn[data-kier="-1"] svg { rotate: 180deg; }
  .slider__licz { font: 700 13px var(--sans); letter-spacing: .18em; }
  .slider__licz b { color: var(--chili); }
  .menu__dopisek span { grid-column: 1 / -1; }

  .smak__siatka { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 44px; }
  .cecha--1 { grid-column: 1 / 6; }
  .cecha--2 { grid-column: 2 / 7; margin-top: 0; }
  .cecha--3 { grid-column: 1 / 5; margin-top: 0; }
  .cecha--4 { grid-column: 3 / 7; margin-top: 0; }
  .cecha--5 { grid-column: 1 / 6; margin-top: 0; }
  .cecha__slowo { font-size: 40px; }

  .ogien { min-height: 100svh; }
  .ogien__kadr::after { background: linear-gradient(0deg, rgba(20, 23, 19, .96) 0%, rgba(20, 23, 19, .75) 45%, rgba(20, 23, 19, .1) 75%); }
  .ogien__foto { object-position: 50% 30%; }
  .ogien__tekst { padding-bottom: calc(100px + var(--dno)); }
  .anim .pas { height: 8svh; }

  .otwarcie { padding: 14px; }
  .plakat { grid-template-columns: 1fr; grid-template-rows: none; padding: 28px 22px 34px; min-height: 0; }
  .plakat__gora { flex-direction: column; gap: 6px; font-size: 10.5px; margin-bottom: 30px; }
  .plakat__tytul { grid-column: 1; grid-row: auto; font-size: clamp(58px, 17vw, 80px); }
  .plakat__krag { grid-column: 1; grid-row: auto; width: 64vw; justify-self: end; margin: 30px 0 10px; }
  .plakat__dol { grid-column: 1; grid-row: auto; }
  .plakat__adres { grid-column: 1; grid-row: auto; text-align: left; margin-top: 26px; font-size: 10.5px; }

  .rezerwacja__lewa, .formularz { grid-column: 1 / -1; }
  .rezerwacja__foto { max-width: none; margin: 26px 0; }
  .formularz { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 22px 18px; border-radius: 20px; }
  .pole, .pole--trzy { grid-column: 1 / -1; }
  .pole--trzy:nth-of-type(4), .pole--trzy:nth-of-type(5) { grid-column: span 1; }

  .dojazd__lewa, .mapa { grid-column: 1 / -1; }
  .dojazd__adres { font-size: clamp(48px, 14vw, 64px); }
  .mapa { width: 100%; }
  .mapa__zaslona { opacity: 1; }

  .stopka { padding-bottom: calc(96px + var(--dno)); }
  .stopka__kol { grid-template-columns: 1fr 1fr; }
  .stopka__kol > div:first-child { grid-column: 1 / -1; }
  .stopka__dol { flex-direction: column-reverse; align-items: flex-start; }
  .podpis-wyk { width: 100%; justify-content: space-between; }
  .m-only { display: inline; } .d-only { display: none; }

  .dock { display: none; }
  .pasek-mob { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 6px; position: fixed; z-index: 80; left: 10px; right: 10px; bottom: calc(10px + var(--dno)); padding: 6px; border-radius: 999px; background: rgba(20, 23, 19, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 14px 40px rgba(0, 0, 0, .35); translate: 0 140%; transition: translate .6s var(--sprez); }
  .pasek-mob.is-on { translate: 0 0; }
  .pasek-mob a { display: grid; place-items: center; min-height: 48px; border-radius: 999px; text-decoration: none; color: var(--krem); font: 700 14px var(--sans); }
  .pasek-mob__glowny { background: var(--chili); color: var(--papier) !important; }
}
@media (max-width: 380px) {
  .hero__akcje .btn { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
