/* Cafe Ciacho Ełk, wersja 2 „kawiarniany plakat”.
   Krem + kawa + pomarańcz z wizytówki. Anton (jak „KAWIARNIA • CUKIERNIA” na wizytówce) + Figtree.
   Kształty: przyciski = pigułka, zdjęcia = 18px z białą ramką jak naklejki. */

:root {
  --cream: #fbf4e8;
  --paper: #f3e5cf;
  --coffee: #2e1e15;
  --coffee-2: #3d2a1e;
  --muted: #6e5847;
  --line: #e2cfb3;
  --orange: #ef8a2c;
  --orange-deep: #a84f0c;
  --gold: #c48c3a;
  --shadow: 0 24px 50px -24px rgb(60 32 12 / .5);

  --r: 18px;
  --wrap: 1320px;
  --gut: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --sans: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--cream); color: var(--coffee); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--coffee); color: var(--cream); border-radius: 999px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--orange-deep); outline-offset: 3px; border-radius: 6px; }
.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* Wersaliki Anton: line-height min .99, inaczej giną ogonki Ą/Ę i kreski Ó/Ż */
.display { font: 400 clamp(2.8rem, 7vw, 6.5rem)/1 var(--display); text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; }
.ln-mask { padding-top: .08em; margin-top: -.08em; padding-bottom: .04em; margin-bottom: -.04em; }

/* Przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 54px; padding: 0 1.5em; border-radius: 999px; border: 1.5px solid transparent; font: 700 1rem/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.btn--sm { min-height: 44px; padding: 0 1.15em; font-size: .9375rem; }
.btn--orange { background: var(--orange); color: var(--coffee); }
.btn--coffee { background: var(--coffee); color: var(--cream); }
.btn--line { border-color: color-mix(in srgb, var(--coffee) 25%, transparent); color: var(--coffee); background: transparent; }
.btn--cream { border-color: color-mix(in srgb, var(--cream) 35%, transparent); color: var(--cream); background: transparent; }
@media (hover: hover) {
  .btn--orange:hover { background: #f59a40; }
  .btn--coffee:hover { background: var(--coffee-2); }
  .btn--line:hover { border-color: var(--coffee); }
  .btn--cream:hover { border-color: var(--cream); }
}
.btn:active { scale: .97; }

/* Nawigacja: pływająca wyspa */
.nav { position: fixed; z-index: 40; top: 12px; left: 50%; translate: -50% 0; width: min(calc(100% - 24px), 1120px); transition: translate .5s var(--ease); }
.nav.is-hidden { translate: -50% calc(-100% - 20px); }
.nav__in { display: flex; align-items: center; gap: 24px; height: 60px; padding: 0 8px 0 18px; border-radius: 999px; background: color-mix(in srgb, var(--cream) 82%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 0 0 1px var(--line), 0 12px 30px -18px rgb(60 32 12 / .35); }
.nav__logo img { height: 40px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-weight: 600; font-size: .95rem; }
.nav__links a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--orange-deep); }
@media (max-width: 899px) {
  .nav__links { display: none; }
  .nav__in > .btn { margin-left: auto; }
}

/* Hero */
.hero { position: relative; min-height: 100dvh; display: grid; place-items: center; padding: calc(var(--nav-h) + 40px) var(--gut) 64px; overflow: hidden; isolation: isolate; }
.hero__center { position: relative; z-index: 2; text-align: center; max-width: 920px; display: grid; justify-items: center; }
.hero__logo { width: clamp(180px, 22vw, 300px); margin-bottom: 22px; }
.hero__title { font: 400 clamp(2.9rem, 7.4vw, 7rem)/.99 var(--display); text-transform: uppercase; letter-spacing: .005em; }
.hero__line { display: block; }
.hero__line--orange { color: var(--orange); -webkit-text-stroke: 0; }
.hero__lead { margin-top: 24px; max-width: 48ch; font-size: 1.1875rem; color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

.stickers { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.sticker { position: absolute; padding: 8px; background: #fff; border-radius: calc(var(--r) + 6px); box-shadow: var(--shadow); will-change: transform; }
.sticker img { border-radius: var(--r); width: 100%; height: 100%; object-fit: cover; }
.sticker--1 { width: clamp(150px, 14vw, 230px); aspect-ratio: 4 / 5; left: 4%; top: 15%; }
.sticker--2 { width: clamp(150px, 15vw, 240px); aspect-ratio: 1; right: 4%; top: 13%; }
.sticker--3 { width: clamp(130px, 12vw, 200px); aspect-ratio: 4 / 5; left: 9%; bottom: 7%; }
.sticker--4 { width: clamp(190px, 19vw, 300px); aspect-ratio: 720 / 380; right: 7%; bottom: 11%; }
.sticker--5 { width: clamp(100px, 9vw, 150px); aspect-ratio: 4 / 5; left: 22%; top: 9%; }
.hstar { position: absolute; fill: var(--orange); }
.hstar--1 { width: 40px; height: 40px; right: 24%; top: 16%; }
.hstar--2 { width: 26px; height: 26px; left: 21%; bottom: 22%; fill: var(--gold); }
.hstar--3 { width: 30px; height: 30px; right: 22%; bottom: 7%; }
@media (max-width: 1100px) { .sticker--5 { display: none; } }
@media (max-width: 899px) {
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + 36px); padding-bottom: 40px; display: block; }
  .stickers { position: relative; inset: auto; height: 260px; margin-top: 36px; }
  .sticker--1 { width: 128px; left: 2%; top: 20px; }
  .sticker--2 { width: 136px; right: 2%; left: auto; top: 0; }
  .sticker--3 { display: none; }
  .sticker--4 { width: 190px; right: auto; left: 50%; margin-left: -95px; bottom: 0; top: auto; }
  .hstar--1 { right: 40%; top: 0; }
  .hstar--2 { left: 6%; bottom: 8px; }
  .hstar--3 { right: 6%; bottom: 20px; }
  .hero__cta .btn { flex: 1 1 auto; }
}

/* Dowód */
.proof { background: var(--coffee); color: var(--cream); }
.proof__in { display: grid; grid-template-columns: repeat(3, 1fr); max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.proof__item { display: flex; flex-direction: column; gap: 4px; padding: 26px 0 26px 32px; text-decoration: none; border-left: 1px solid rgb(251 244 232 / .14); }
.proof__item:first-child { border-left: 0; padding-left: 0; }
.proof__item strong { display: flex; align-items: center; gap: 12px; font: 400 clamp(2rem, 3.4vw, 2.9rem)/1 var(--display); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.proof__item > span { color: rgb(251 244 232 / .72); font-size: .95rem; }
a.proof__item:hover > span { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.stars { display: inline-flex; gap: 2px; color: var(--orange); }
.stars svg { width: 17px; height: 17px; fill: currentColor; }
@media (max-width: 699px) {
  .proof__in { grid-template-columns: 1fr; }
  .proof__item, .proof__item:first-child { padding: 18px 0; border-left: 0; border-top: 1px solid rgb(251 244 232 / .14); }
  .proof__item:first-child { border-top: 0; }
}

/* Torty: talia */
.deck { position: relative; overflow: hidden; }
.deck__in { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 5vw, 80px); max-width: var(--wrap); margin-inline: auto; padding: clamp(80px, 10vw, 120px) var(--gut); }
.deck__text > p { margin-top: 20px; color: var(--muted); font-size: 1.125rem; max-width: 46ch; }
.deck__list { margin-top: 34px; display: grid; gap: 4px; }
.deck__list li { display: flex; align-items: baseline; gap: 14px; padding: 8px 0; color: color-mix(in srgb, var(--coffee) 38%, transparent); transition: color .4s; }
.deck__list b { font: 400 clamp(1.5rem, 2.4vw, 2.1rem)/1.05 var(--display); text-transform: uppercase; }
.deck__list span { font-size: .95rem; }
.deck__list li.is-on { color: var(--coffee); }
.deck__list li.is-on b { color: var(--orange-deep); }
.deck__pile { position: relative; height: min(64vh, 560px); }
.card { position: absolute; inset: 0; margin: auto; width: min(82%, 440px); height: fit-content; padding: 10px; background: #fff; border-radius: calc(var(--r) + 8px); box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.card:nth-child(1) { rotate: -3deg; z-index: 5; }
.card:nth-child(2) { rotate: 4deg; z-index: 4; }
.card:nth-child(3) { rotate: -6deg; z-index: 3; }
.card:nth-child(4) { rotate: 2deg; z-index: 2; }
.card:nth-child(5) { rotate: -2deg; z-index: 1; }
@media (min-width: 900px) { .deck { height: 100dvh; } .deck__in { height: 100%; padding-block: calc(var(--nav-h) + 20px) 40px; } }
@media (max-width: 899px) {
  .deck { height: 100dvh; }
  .deck__in { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); height: 100%; padding-block: calc(var(--nav-h) + 24px) 24px; gap: 16px; align-items: stretch; }
  .deck__text > p { display: none; }
  .deck__list { margin-top: 14px; grid-auto-flow: column; overflow: hidden; gap: 18px; }
  .deck__list li { flex-direction: column; gap: 0; padding: 0; }
  .deck__list li span { display: none; }
  .deck__list b { font-size: 1.15rem; white-space: nowrap; }
  .deck__pile { height: auto; }
  .card { width: min(74%, 340px); }
}
.is-reduced .deck, .is-failsafe .deck { height: auto; }
.is-reduced .deck__in, .is-failsafe .deck__in { height: auto; }

/* Jak zamówić */
.order { background: var(--paper); padding-block: clamp(80px, 11vw, 140px); }
.order__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 32px); margin-top: clamp(32px, 4vw, 56px); }
.order__list li { position: relative; display: grid; gap: 8px; align-content: start; padding: 28px 84px 28px 28px; border-radius: calc(var(--r) + 6px); background: var(--cream); overflow: hidden; }
.order__n { position: absolute; right: 18px; top: -6px; font: 400 7rem/1 var(--display); color: var(--orange); opacity: .22; }
.order__list strong { position: relative; font: 400 1.7rem/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.order__list li > span:last-child { position: relative; color: var(--muted); }
.order__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
@media (max-width: 767px) { .order__list { grid-template-columns: 1fr; } .order__cta .btn { flex: 1 1 100%; } }

/* Smaki: kolor sekcji zmienia się ze smakiem */
.taste { --bg: #d9e6b8; background: var(--bg); position: relative; }
.taste__in { height: 100dvh; max-width: var(--wrap); margin-inline: auto; padding: calc(var(--nav-h) + 32px) var(--gut) 40px; display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: auto 1fr auto; gap: 20px 48px; align-items: center; }
.taste__head { grid-column: 1 / -1; }
.taste__kicker { font-weight: 700; font-size: 1.05rem; }
.taste__names { grid-column: 1; height: calc(clamp(3.2rem, 9vw, 8.6rem) * 2.04); overflow: hidden; align-self: center; }
.taste__roll { position: relative; height: 100%; }
.taste__roll span { position: absolute; inset: 0; display: flex; align-items: center; font: 400 clamp(3.2rem, 9vw, 8.6rem)/1.02 var(--display); text-transform: uppercase; text-wrap: balance; }
.taste__cake { grid-column: 2; grid-row: 2 / 4; display: grid; width: min(100%, 360px); justify-self: end; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 60px -30px rgb(46 30 21 / .55); rotate: -4deg; }
.taste__cake i { height: clamp(70px, 9vh, 110px); background: #f1dfb6; }
.taste__cake i:nth-child(1) { height: clamp(50px, 6vh, 74px); }
.taste__desc { grid-column: 1; position: relative; min-height: 4.5em; }
.taste__desc li { position: absolute; inset: 0; }
.taste__desc li + li { opacity: 0; }
.taste__desc h3 { position: absolute; left: -9999px; }
.taste__desc p { font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 500; max-width: 36ch; }
.taste__note { grid-column: 1; color: color-mix(in srgb, var(--coffee) 75%, transparent); max-width: 52ch; }
@media (max-width: 899px) {
  .taste__in { grid-template-columns: 1fr; grid-template-rows: auto auto auto 1fr auto; gap: 18px; }
  .taste__names, .taste__desc, .taste__note { grid-column: 1; }
  .taste__cake { grid-column: 1; grid-row: auto; width: min(70%, 280px); justify-self: center; }
}
/* Bez ruchu: lista smaków jako zwykłe akapity */
.is-reduced .taste__in, .is-failsafe .taste__in { height: auto; }
.is-reduced .taste__names, .is-failsafe .taste__names, .is-reduced .taste__cake, .is-failsafe .taste__cake { display: none; }
.is-reduced .taste__desc li, .is-failsafe .taste__desc li { position: static; opacity: 1; margin-bottom: 18px; }
.is-reduced .taste__desc h3, .is-failsafe .taste__desc h3 { position: static; font: 400 2.2rem/1.05 var(--display); text-transform: uppercase; }

/* Kawiarnia */
.cafe { padding-block: clamp(56px, 8vw, 100px) clamp(80px, 11vw, 140px); overflow: hidden; }
.marquee { overflow: hidden; padding-block: 8px; }
.marquee__track { display: flex; width: max-content; }
.marquee__track span { display: flex; align-items: center; font: 400 clamp(4rem, 13vw, 12rem)/1 var(--display); text-transform: uppercase; white-space: nowrap; color: var(--coffee); }
.marquee__track span:nth-child(even) { color: transparent; -webkit-text-stroke: 2px var(--coffee); }
.marquee__track span::after { content: ""; width: .32em; height: .32em; margin-inline: .35em; background: var(--orange); -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; }
:root { --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M234.29,114.85l-45,38.83L203,211.75a16.4,16.4,0,0,1-24.5,17.82L128,198.49,77.47,229.57A16.4,16.4,0,0,1,53,211.75l13.76-58.07-45-38.83A16.46,16.46,0,0,1,31.08,86l59-4.76,22.76-55.08a16.36,16.36,0,0,1,30.27,0l22.75,55.08,59,4.76a16.46,16.46,0,0,1,9.37,28.86Z'/%3E%3C/svg%3E"); }
.cafe__in { position: relative; margin-top: clamp(48px, 6vw, 80px); }
.cafe__lead { margin-top: 16px; color: var(--muted); font-size: 1.125rem; }
.menu { margin-top: clamp(32px, 4vw, 52px); border-top: 1.5px solid var(--coffee); }
.menu li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 40px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.menu h3 { font: 400 clamp(2rem, 4.4vw, 3.6rem)/1 var(--display); text-transform: uppercase; transition: color .3s, translate .5s var(--ease); }
.menu p { color: var(--muted); max-width: 46ch; }
.menu__thumb { display: none; }
@media (hover: hover) and (pointer: fine) {
  .menu li:hover h3 { color: var(--orange-deep); translate: 14px 0; }
}
.menu__float { position: fixed; left: 0; top: 0; z-index: 30; width: 260px; aspect-ratio: 4 / 5; pointer-events: none; opacity: 0; scale: .6; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); border: 8px solid #fff; }
.menu__float img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) {
  .menu li { grid-template-columns: 1fr 96px; grid-template-areas: "h t" "p t"; gap: 6px 16px; align-items: start; }
  .menu h3 { grid-area: h; }
  .menu p { grid-area: p; }
  .menu__thumb { display: block; grid-area: t; width: 96px; height: 96px; object-fit: cover; border-radius: 14px; }
  .menu__float { display: none; }
}

/* Opinie */
.reviews { background: var(--orange); padding-block: clamp(80px, 11vw, 140px); overflow: hidden; }
.reviews__title { max-width: 14ch; }
.notes { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: clamp(40px, 5vw, 64px); align-items: start; }
.note { padding: 28px; border-radius: calc(var(--r) + 6px); background: var(--cream); box-shadow: 0 24px 40px -28px rgb(60 32 12 / .6); }
.note--big { grid-column: 1 / span 7; grid-row: span 2; padding: clamp(28px, 4vw, 52px); background: var(--coffee); color: var(--cream); }
.note.note--big blockquote p { font: 400 clamp(2.4rem, 4.8vw, 4.6rem)/1 var(--display); text-transform: uppercase; }
.note--big figcaption { color: rgb(251 244 232 / .7); }
.note:not(.note--big) { grid-column: span 5; }
.note:nth-child(4) { grid-column: 3 / span 5; }
.note blockquote p { font-size: 1.125rem; line-height: 1.5; }
.note figcaption { margin-top: 16px; font-size: .9rem; color: var(--muted); }
@media (max-width: 899px) {
  .notes { grid-template-columns: 1fr; }
  .note--big, .note:not(.note--big), .note:nth-child(4) { grid-column: auto; grid-row: auto; }
}

/* Kontakt */
.visit { background: var(--coffee); color: var(--cream); padding-block: clamp(80px, 11vw, 140px); overflow: hidden; }
.visit__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.visit__phone { display: inline-block; margin-top: 18px; font: 400 clamp(3rem, 8vw, 7rem)/1 var(--display); color: var(--orange); text-decoration: none; letter-spacing: .01em; }
.visit__list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; margin-top: 36px; }
.visit__list li { display: flex; gap: 14px; align-items: flex-start; }
.visit__list .ico { width: 22px; height: 22px; color: var(--orange); margin-top: 2px; }
.visit__list div { display: grid; gap: 2px; }
.visit__list strong { font-weight: 650; }
.visit__list span { color: rgb(251 244 232 / .68); font-size: .95rem; }
.visit__list a { text-decoration: none; }
.visit__list a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.visit__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.visit__cup { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .7); }
.visit__cup img { width: 100%; height: 100%; object-fit: cover; scale: 1.5; object-position: 36% 50%; }
.visit__cup iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.visit__cup.has-map { border-radius: var(--r); aspect-ratio: 4 / 3.4; }
@media (max-width: 899px) {
  .visit__in { grid-template-columns: 1fr; }
  .visit__list { grid-template-columns: 1fr; }
  .visit__cup { width: min(80%, 360px); justify-self: center; }
  .visit__cup.has-map { width: 100%; }
  .visit__cta .btn { flex: 1 1 auto; }
}

/* Stopka */
.foot { background: var(--coffee); color: rgb(251 244 232 / .72); padding-block: 0 calc(40px + env(safe-area-inset-bottom)); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; padding-top: 40px; border-top: 1px solid rgb(251 244 232 / .14); font-size: .95rem; }
.foot__logo { width: 150px; }
.foot__social { display: flex; gap: 8px; margin-left: auto; }
.foot__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgb(251 244 232 / .2); color: var(--cream); }
.foot__social a:hover { border-color: var(--cream); }
.foot__social .ico { width: 20px; height: 20px; }
.foot__copy { width: 100%; font-size: .875rem; }
@media (max-width: 699px) { .foot { padding-bottom: calc(110px + env(safe-area-inset-bottom)); } .foot__social { margin-left: 0; } }

/* Pasek akcji (telefon) */
.dock { display: none; }
@media (max-width: 699px) {
  .dock { position: fixed; z-index: 30; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 999px; background: color-mix(in srgb, var(--cream) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 0 0 1px var(--line), var(--shadow); translate: 0 140%; transition: translate .6s var(--ease); }
  .dock.is-on { translate: 0 0; }
  .dock .btn { min-height: 46px; padding: 0 .8em; }
}

/* Stany startowe tylko przy włączonym ruchu */
.js:not(.is-reduced) [data-reveal], .js:not(.is-reduced) [data-stagger] > *, .js:not(.is-reduced) [data-hero-fade] { opacity: 0; }
.js:not(.is-reduced) [data-split], .js:not(.is-reduced) .hero__title { visibility: hidden; }
.is-failsafe [data-reveal], .is-failsafe [data-stagger] > *, .is-failsafe [data-hero-fade] { opacity: 1 !important; }
.is-failsafe [data-split], .is-failsafe .hero__title { visibility: visible !important; }
.js:not(.is-reduced) .taste__roll span + span { visibility: hidden; }
