/* ==========================================================================
   Kawa na Ławę — kawiarnia, Dąbrowa Górnicza
   Arkusz stylów (mobile-first). Kolory i typografia w zmiennych poniżej.
   ========================================================================== */

/* ---------- 1. Tokeny ---------- */
:root {
  /* Paleta zaczerpnięta z wnętrza: czarny sufit, dąb, zielony welur, pomarańczowe poduchy, mosiężne lampy */
  --c-espresso: #14100d;
  --c-espresso-2: #1d1712;
  --c-espresso-3: #2a2119;
  --c-crema: #f3eadc;
  --c-milk: #faf6ef;
  --c-oak: #c8955a;
  --c-oak-soft: #e3c296;
  --c-velvet: #123f38;
  --c-velvet-deep: #0b2a25;
  --c-ember: #e5702a;
  --c-ember-deep: #b8510f;
  --c-brass: #d4b06a;
  --c-ink: #1a1411;
  --c-ink-soft: #5d4f44;
  --c-chalk: #f4f1ea;
  --c-chalk-green: #a6e3ae;
  --c-chalk-yellow: #f3d27b;
  --c-chalk-violet: #cdb8f7;
  --c-open: #5fd08a;

  --line-dark: rgb(243 234 220 / 0.14);
  --line-light: rgb(26 20 17 / 0.14);

  --ff-display: "Fraunces", "Georgia", serif;
  --ff-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-hand: "Caveat", "Comic Sans MS", cursive;

  --fs-hero: clamp(4.1rem, 12.5vw, 11rem);
  --fs-h2: clamp(2.6rem, 7.2vw, 6.25rem);
  --fs-lead: clamp(1.15rem, 1.7vw, 1.4rem);
  --fs-body: 1.0625rem;

  --gutter: clamp(1rem, 4vw, 3rem);
  --container: 1320px;
  --space-section: clamp(5rem, 12vw, 10rem);
  --header-h: 76px;
  --radius: 1.25rem;
  --radius-lg: 2rem;
  --arch: 999px 999px var(--radius) var(--radius);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

@property --scale {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

/* ---------- 2. Reset i baza ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--c-crema);
  background: var(--c-espresso);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
svg { fill: currentColor; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }

::selection { background: var(--c-ember); color: var(--c-espresso); }

:focus-visible {
  outline: 2px solid var(--c-ember);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 1rem; left: 1rem;
  z-index: 300;
  padding: .8rem 1.2rem;
  border-radius: 999px;
  background: var(--c-ember);
  color: var(--c-espresso);
  font-weight: 500;
  text-decoration: none;
  translate: 0 -200%;
  transition: translate .3s var(--ease-out);
}
.skip-link:focus { translate: 0 0; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

/* ---------- 3. Typografia wspólna ---------- */
.section {
  position: relative;
  padding-block: var(--space-section);
}

.section--light { background: var(--c-crema); color: var(--c-ink); --accent: var(--c-ember-deep); --line: var(--line-light); }
.section--milk  { background: var(--c-milk);  color: var(--c-ink); --accent: var(--c-ember-deep); --line: var(--line-light); }
.section--dark  { background: var(--c-espresso); color: var(--c-crema); --accent: var(--c-oak-soft); --line: var(--line-dark); }
.section--velvet {
  --accent: var(--c-oak-soft);
  --line: var(--line-dark);
  color: var(--c-crema);
  background-color: var(--c-velvet);
  /* pikowanie jak na welurowych fotelach */
  background-image:
    radial-gradient(120% 80% at 50% 0%, rgb(255 255 255 / 0.06), transparent 60%),
    repeating-linear-gradient(45deg, rgb(255 255 255 / 0.035) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(-45deg, rgb(0 0 0 / 0.18) 0 1px, transparent 1px 42px);
}

.section-label,
.eyebrow {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.section-label { margin-bottom: 1.5rem; }

.section-label span {
  display: grid;
  place-items: center;
  width: 2.4rem; height: 2.4rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--ff-display);
  font-size: .85rem;
  font-style: italic;
  letter-spacing: 0;
  opacity: .85;
}

.section-title {
  font-family: var(--ff-display);
  font-size: var(--fs-h2);
  font-weight: 380;
  line-height: .98;
  letter-spacing: -.025em;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  text-wrap: balance;
  margin-bottom: .45em;
}

.section-title em,
.hero__title em,
.brand__name em {
  font-style: italic;
  font-weight: 320;
  color: var(--accent, var(--c-oak-soft));
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

.section-head { max-width: 54rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-intro { max-width: 40rem; font-size: var(--fs-lead); opacity: .8; }

.lead {
  font-family: var(--ff-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.35;
  font-weight: 400;
  font-variation-settings: "opsz" 48, "SOFT" 60;
  margin-bottom: 1.25rem;
}

/* ---------- 4. Przyciski ---------- */
.btn {
  --btn-bg: var(--c-ember);
  --btn-fg: var(--c-espresso);
  --btn-hover: var(--c-oak-soft);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 3.25rem;
  padding: .95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color .4s var(--ease-out), border-color .4s var(--ease-out), translate .4s var(--ease-out);
}

.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: var(--btn-hover);
  translate: 0 102%;
  transition: translate .55s var(--ease-out);
}

.btn:hover::before,
.btn:focus-visible::before { translate: 0 0; }

.btn svg { width: 1.15em; height: 1.15em; flex: none; transition: translate .4s var(--ease-out); }
.btn:hover svg { translate: 3px 0; }

.btn--ember { --btn-bg: var(--c-ember); --btn-fg: var(--c-espresso); --btn-hover: var(--c-oak-soft); }
.btn--crema { --btn-bg: var(--c-crema); --btn-fg: var(--c-velvet-deep); --btn-hover: var(--c-oak-soft); }
.btn--dark  { --btn-bg: var(--c-espresso); --btn-fg: var(--c-crema); --btn-hover: var(--c-ember); }
.btn--dark:hover { color: var(--c-espresso); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  --btn-hover: var(--c-crema);
  border-color: rgb(243 234 220 / 0.35);
}
.btn--ghost:hover { color: var(--c-espresso); border-color: var(--c-crema); }

.btn--small { min-height: 2.75rem; padding: .7rem 1.1rem; font-size: .92rem; }

/* ---------- 5. Ziarno, kursor, preloader ---------- */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 120;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(8) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-2%, 6%); }
  80% { transform: translate(5%, -2%); }
}

.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 110;
  display: none;
  place-items: center;
  width: 92px; height: 92px;
  margin: -46px 0 0 -46px;
  border-radius: 50%;
  background: var(--c-ember);
  color: var(--c-espresso);
  pointer-events: none;
  scale: 0;
  transition: scale .45s var(--ease-out);
  will-change: transform;
}
.cursor__label { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
html.has-cursor .cursor { display: grid; }
.cursor.is-active { scale: 1; }

.preloader { display: none; }

html.js .preloader {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  background: var(--c-espresso);
  color: var(--c-crema);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease-in-out);
}

html.is-loaded .preloader { clip-path: inset(0 0 100% 0); pointer-events: none; }

.preloader__logo { width: min(44vw, 190px); overflow: visible; }

.preloader__ring {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transform: rotate(-90deg);
  transform-origin: 100px 100px;
  animation: draw 1.1s var(--ease-out) forwards;
}

.preloader__inner {
  opacity: 0;
  animation: fade-up .8s .35s var(--ease-out) forwards;
}

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-up { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }

/* ---------- 6. Nagłówek ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  transition: transform .5s var(--ease-out), background-color .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgb(20 16 13 / 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-dark);
}

.site-header.is-hidden { transform: translateY(-100%); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  width: min(100% - 2 * var(--gutter), 1440px);
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--c-crema);
  text-decoration: none;
}

.brand__logo {
  width: 52px; height: 52px;
  flex: none;
  transition: rotate .9s var(--ease-out);
}
.brand:hover .brand__logo { rotate: -14deg; }

.brand__name {
  display: none;
  font-family: var(--ff-display);
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: -.01em;
  font-variation-settings: "opsz" 36, "SOFT" 60;
}

.main-nav { display: none; }

.main-nav ul { display: flex; gap: clamp(1.25rem, 2.4vw, 2.5rem); }

.main-nav a {
  position: relative;
  display: inline-block;
  padding-block: .4rem;
  font-size: .95rem;
  font-weight: 450;
  letter-spacing: .02em;
  text-decoration: none;
  opacity: .82;
  transition: opacity .3s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--c-ember);
  scale: 0 1;
  transform-origin: right;
  transition: scale .5s var(--ease-out);
}

.main-nav a:hover,
.main-nav a.is-active { opacity: 1; }
.main-nav a:hover::after,
.main-nav a.is-active::after { scale: 1 1; transform-origin: left; }

.site-header__actions { display: flex; align-items: center; gap: .6rem; }

.site-header .btn--small span { display: none; }
.site-header .btn--small { width: 2.75rem; padding: 0; }

.status-pill {
  display: none;
  align-items: center;
  gap: .55rem;
  padding: .55rem .95rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: .82rem;
  white-space: nowrap;
}

.status-dot {
  position: relative;
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-oak);
}

[data-state="open"] .status-dot,
[data-state="soon"] .status-dot { background: var(--c-open); }
[data-state="soon"] .status-dot { background: var(--c-chalk-yellow); }
[data-state="closed"] .status-dot { background: var(--c-ember); }

[data-state="open"] .status-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  animation: ping 1.8s var(--ease-out) infinite;
}

@keyframes ping { to { scale: 3.2; opacity: 0; } }

.menu-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle__lines,
.menu-toggle__lines::before {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--c-crema);
  transition: translate .4s var(--ease-out), rotate .4s var(--ease-out);
}

.menu-toggle__lines { translate: 0 -3px; }
.menu-toggle__lines::before { content: ""; translate: 0 6px; }

.menu-toggle[aria-expanded="true"] .menu-toggle__lines { translate: 0 0; rotate: 45deg; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines::before { translate: 0 0; rotate: -90deg; }

@media (min-width: 560px) {
  .brand__name { display: block; }
  .site-header .btn--small { width: auto; padding: .7rem 1.1rem; }
  .site-header .btn--small span { display: inline; }
}

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .menu-toggle { display: none; }
}

@media (min-width: 1240px) {
  .status-pill:not([hidden]) { display: inline-flex; }
}

/* ---------- 7. Menu mobilne ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: calc(var(--header-h) + 2rem) var(--gutter) max(2rem, env(safe-area-inset-bottom));
  overflow-y: auto;
  background-color: var(--c-velvet-deep);
  background-image:
    repeating-linear-gradient(45deg, rgb(255 255 255 / 0.03) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(-45deg, rgb(0 0 0 / 0.2) 0 1px, transparent 1px 42px);
  clip-path: circle(0% at calc(100% - 2.5rem) 2.4rem);
  transition: clip-path .8s var(--ease-in-out);
}

.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 2.5rem) 2.4rem); }

.mobile-menu__list { counter-reset: nav; }

.mobile-menu__list li {
  counter-increment: nav;
  border-bottom: 1px solid var(--line-dark);
  opacity: 0;
  translate: 0 40px;
  transition: opacity .6s var(--ease-out), translate .8s var(--ease-out);
  transition-delay: calc(.15s + var(--i, 0) * 70ms);
}

.mobile-menu.is-open .mobile-menu__list li { opacity: 1; translate: 0 0; }

.mobile-menu__list a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: .55rem;
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 11vw, 4.5rem);
  font-weight: 350;
  line-height: 1.05;
  letter-spacing: -.02em;
  text-decoration: none;
}

.mobile-menu__list a::before {
  content: "0" counter(nav);
  font-family: var(--ff-body);
  font-size: .8rem;
  letter-spacing: .1em;
  color: var(--c-oak-soft);
}

.mobile-menu__list a:hover { font-style: italic; color: var(--c-oak-soft); }

.mobile-menu__footer {
  display: grid;
  gap: .3rem;
  font-size: .95rem;
  color: rgb(243 234 220 / 0.75);
}

.mobile-menu__footer a { text-decoration: none; }
.mobile-menu__phone { font-family: var(--ff-display); font-size: 1.8rem; color: var(--c-crema); }

/* ---------- 8. HERO ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 5vh, 4rem));
  padding-bottom: clamp(4.5rem, 10vh, 7rem);
  overflow: hidden;
  background:
    radial-gradient(55% 45% at 85% 8%, rgb(229 112 42 / 0.2), transparent 70%),
    radial-gradient(70% 38% at 0% 72%, rgb(18 63 56 / 0.6), transparent 72%),
    var(--c-espresso);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(3rem, 7vw, 4rem);
  align-items: center;
}

.hero__eyebrow { color: rgb(243 234 220 / 0.75); }

.eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-ember);
  box-shadow: 0 0 0 4px rgb(229 112 42 / 0.2);
}

.hero__title {
  position: relative;
  z-index: 3;
  margin: .35em 0 .3em;
  font-family: var(--ff-display);
  font-size: var(--fs-hero);
  font-weight: 340;
  line-height: .86;
  letter-spacing: -.04em;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  --accent: var(--c-oak-soft);
}

.hero__title .line {
  display: block;
  padding-bottom: .12em;
  margin-bottom: -.08em;
  /* przycinamy tylko od dołu: tekst może wystawać w bok na zdjęcie */
  clip-path: inset(-0.5em -100vw 0 -10vw);
}

.hero__title .line__inner { display: inline-block; white-space: nowrap; }
.hero__title .line:nth-child(2) { padding-left: .55em; }
.hero__title em { text-shadow: 0 .05em .3em rgb(0 0 0 / 0.35); }

.hero__pill {
  display: inline-block;
  width: 1.4em;
  height: .62em;
  margin-left: .06em;
  vertical-align: .06em;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12);
}

.hero__pill img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 45% 72%;
}

.hero__lead {
  max-width: 33ch;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: rgb(243 234 220 / 0.78);
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.75rem;
  margin-top: 2.25rem;
  font-size: .92rem;
  color: rgb(243 234 220 / 0.72);
}

.hero__meta li { display: flex; align-items: center; gap: .55rem; }
.hero__meta strong { color: var(--c-crema); font-weight: 600; }
.hero__meta > li > svg { width: 1.1rem; height: 1.1rem; color: var(--c-oak-soft); }

.stars { display: inline-flex; gap: 2px; color: var(--c-brass); }
.stars svg { width: .95rem; height: .95rem; }

.hero__media {
  position: relative;
  justify-self: center;
  width: min(100%, 30rem);
}

.hero__arch {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--arch);
  overflow: hidden;
  box-shadow: 0 50px 90px -40px rgb(0 0 0 / 0.8);
}

.hero__arch::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
  background: linear-gradient(180deg, transparent 55%, rgb(20 16 13 / 0.35));
  pointer-events: none;
}

.hero__arch img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  scale: var(--scale);
  --scale: 1.1;
}

.hero__badge {
  position: absolute;
  left: -.5rem;
  bottom: 2rem;
  z-index: 4;
  display: grid;
  place-items: center;
  width: clamp(7.5rem, 26vw, 10rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--c-espresso);
  color: var(--c-crema);
  box-shadow: 0 20px 40px -15px rgb(0 0 0 / 0.7);
  transition: scale .5s var(--ease-out);
}

.hero__badge:hover { scale: 1.06; }

.hero__badge-text {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  animation: spin 22s linear infinite;
}

.hero__badge-text text {
  font-family: var(--ff-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .12em;
  fill: currentColor;
}

.hero__badge:hover .hero__badge-text { animation-duration: 6s; }

.hero__badge img {
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: 70% 30%;
}

@keyframes spin { to { rotate: 360deg; } }

/* kredowa tabliczka cenowa, jak w witrynie kawiarni */
.chalk-tag {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: .55rem .95rem .65rem;
  border-radius: .35rem;
  background:
    radial-gradient(120% 90% at 20% 10%, rgb(255 255 255 / 0.07), transparent 60%),
    #1b1b1a;
  color: var(--c-chalk);
  font-family: var(--ff-hand);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 14px 30px -12px rgb(0 0 0 / 0.7), inset 0 0 0 1px rgb(255 255 255 / 0.06);
}

.chalk-tag b { color: var(--c-chalk-green); font-size: 1.5em; font-weight: 700; }

.hero__tag {
  position: absolute;
  top: 16%;
  right: -.25rem;
  z-index: 4;
  rotate: 7deg;
  animation: wobble 6s var(--ease-in-out) infinite alternate;
}

@keyframes wobble { to { rotate: 1deg; translate: 0 -6px; } }

/* lampy wiszące jak nad barem */
.hero__lamps {
  position: absolute;
  top: 0; right: 0;
  z-index: 1;
  width: 55%;
  height: 0;
  pointer-events: none;
}

.lamp {
  position: absolute;
  top: 0;
  left: var(--x);
  width: 1.5px;
  height: var(--len);
  background: linear-gradient(#000, #4a3a2b);
  transform-origin: 50% 0;
  animation: swing 7s var(--ease-in-out) var(--d) infinite alternate;
}

.lamp::before,
.lamp::after { content: ""; position: absolute; left: 50%; translate: -50% 0; }

/* mosiężna oprawka */
.lamp::before {
  top: 100%;
  z-index: 1;
  width: 12px; height: 8px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(90deg, #8a6a2e, var(--c-brass), #8a6a2e);
}

/* ryflowany klosz z ciepłym światłem */
.lamp::after {
  top: calc(100% + 7px);
  width: 30px; height: 40px;
  border-radius: 45% 45% 40% 40% / 35% 35% 55% 55%;
  background:
    repeating-linear-gradient(90deg, rgb(255 226 170 / 0.9) 0 2px, rgb(232 140 62 / 0.85) 2px 5px);
  box-shadow:
    0 0 24px 6px rgb(255 170 80 / 0.45),
    0 30px 120px 50px rgb(255 150 60 / 0.16);
  animation: flicker 5s steps(1) infinite;
}

@keyframes swing { from { rotate: -2deg; } to { rotate: 2deg; } }
@keyframes flicker { 0%, 100% { opacity: 1; } 47% { opacity: .92; } 48% { opacity: 1; } 72% { opacity: .96; } }

.lamp:nth-child(2) { display: none; }

@media (max-width: 1023px) {
  .hero__lamps { right: auto; left: 30%; width: 34%; }
  .lamp { height: calc(var(--len) * .45); }
  .lamp::after { width: 24px; height: 32px; }
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  z-index: 3;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  translate: -50% 0;
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgb(243 234 220 / 0.6);
}

.hero__scroll-line {
  position: relative;
  width: 1px; height: 46px;
  overflow: hidden;
  background: var(--line-dark);
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-ember);
  translate: 0 -100%;
  animation: scroll-line 2.2s var(--ease-in-out) infinite;
}

@keyframes scroll-line { 50% { translate: 0 0; } 100% { translate: 0 100%; } }

@media (min-width: 768px) {
  .hero__scroll { display: flex; }
  .hero__badge { left: -2.5rem; }
  .hero__tag { right: -1.75rem; }
}

@media (min-width: 1024px) {
  .lamp:nth-child(2) { display: block; }
  .hero { display: flex; align-items: center; }
  .hero__inner { grid-template-columns: 1.15fr .85fr; gap: 2rem; }
  .hero__media { justify-self: end; }
  .hero__lamps { width: 42%; }
  .hero__title .line:nth-child(2) { padding-left: .9em; }
}

/* animacje wejścia hero (tylko z JS) */
html.js .hero__title .line__inner { translate: 0 110%; }
html.js .hero__pill { width: 0; }
html.js [data-hero-in] { opacity: 0; translate: 0 24px; }
html.js .hero__arch { clip-path: inset(100% 0 0 0 round 999px 999px var(--radius) var(--radius)); }
html.js .hero__arch img { --scale: 1.35; }
html.js .hero__badge,
html.js .hero__tag { opacity: 0; scale: .6; }

html.is-loaded .hero__title .line__inner {
  translate: 0 0;
  transition: translate 1.3s var(--ease-out);
}
html.is-loaded .hero__title .line:nth-child(2) .line__inner { transition-delay: .12s; }

html.is-loaded .hero__pill {
  width: 1.4em;
  transition: width 1.1s .75s var(--ease-out);
}

html.is-loaded [data-hero-in] {
  opacity: 1;
  translate: 0 0;
  transition: opacity 1s var(--ease-out), translate 1.1s var(--ease-out);
  transition-delay: calc(.25s + var(--i) * 90ms);
}

html.is-loaded .hero__arch {
  clip-path: inset(0 0 0 0 round 999px 999px var(--radius) var(--radius));
  transition: clip-path 1.5s .1s var(--ease-out);
}

html.is-loaded .hero__arch img { --scale: 1.1; transition: --scale 2s .1s var(--ease-out); }

html.is-loaded .hero__badge,
html.is-loaded .hero__tag {
  opacity: 1;
  scale: 1;
  transition: opacity .6s 1s, scale .9s 1s cubic-bezier(.34, 1.56, .64, 1);
}
html.is-loaded .hero__tag { transition-delay: 1.2s; }
html.is-loaded .hero__badge:hover { scale: 1.06; transition-delay: 0s; }

/* ---------- 9. Wstęgi (marquee) ---------- */
.ribbons {
  position: relative;
  z-index: 3;
  padding-block: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: -1px;
  overflow: hidden;
  background: linear-gradient(var(--c-espresso) 50%, transparent 50%) var(--c-crema);
}

.ribbon {
  width: 112%;
  margin-left: -6%;
  padding-block: clamp(.7rem, 1.6vw, 1.1rem);
  overflow: hidden;
}

.ribbon--ember {
  position: relative;
  z-index: 2;
  rotate: -3deg;
  background: var(--c-ember);
  color: var(--c-espresso);
  box-shadow: 0 20px 40px -20px rgb(0 0 0 / 0.5);
}

.ribbon--velvet {
  rotate: 2deg;
  margin-top: clamp(-2.6rem, -4vw, -1.5rem);
  background: var(--c-velvet);
  color: var(--c-crema);
}

.ribbon__track {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  width: max-content;
  animation: marquee 38s linear infinite;
}

.ribbon__track--reverse { animation-direction: reverse; animation-duration: 44s; }

.ribbon__track span {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3.6vw, 2.8rem);
  font-style: italic;
  font-weight: 380;
  line-height: 1.1;
  white-space: nowrap;
  font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1;
}

.ribbon__track i { font-style: normal; font-size: clamp(.9rem, 2vw, 1.4rem); opacity: .7; }

@keyframes marquee { to { translate: -50% 0; } }

.ribbons:hover .ribbon__track { animation-play-state: paused; }

/* ---------- 10. O nas ---------- */
.about { padding-top: clamp(3rem, 8vw, 6rem); }

.about__grid { display: grid; gap: clamp(4rem, 8vw, 6rem); }

.about__copy p:not(.lead):not(.section-label) { color: var(--c-ink-soft); max-width: 36rem; }

.features { display: grid; gap: 1.1rem; margin-top: 2.5rem; }

.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-light);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: rgb(229 112 42 / 0.12);
  color: var(--c-ember-deep);
  transition: background .4s, color .4s, rotate .6s var(--ease-out);
}

.feature:hover .feature__icon { background: var(--c-ember); color: var(--c-espresso); rotate: -10deg; }
.feature__icon svg { width: 1.4rem; height: 1.4rem; }

.feature h3 {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 450;
  line-height: 1.2;
  margin-bottom: .2rem;
}

.feature p { font-size: .98rem; color: var(--c-ink-soft); }

.about__media {
  position: relative;
  padding-bottom: 4rem;
}

.about__img { overflow: hidden; border-radius: var(--radius-lg); }
.about__img img { width: 100%; height: 100%; object-fit: cover; scale: 1.12; }

.about__img--main {
  width: 84%;
  margin-left: auto;
  aspect-ratio: 4 / 5;
  border-radius: var(--arch);
}

.about__img--small {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 3 / 4;
  border: 6px solid var(--c-crema);
  rotate: -4deg;
  box-shadow: 0 30px 50px -25px rgb(26 20 17 / 0.55);
}

.about__img--small img { object-position: 50% 80%; }

.scribble {
  display: flex;
  align-items: flex-end;
  gap: .25rem;
  font-family: var(--ff-hand);
  font-size: 1.65rem;
  line-height: 1;
  color: var(--c-ember-deep);
}

.scribble svg { width: 64px; flex: none; color: currentColor; }

.about__scribble {
  position: absolute;
  top: 2%;
  left: 0;
  rotate: -7deg;
  max-width: 9rem;
}

.stats {
  display: grid;
  gap: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line-light);
}

.stat { display: flex; flex-direction: column-reverse; gap: .3rem; }

.stat dt {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}

.stat dd {
  display: flex;
  align-items: baseline;
  gap: .1em;
  font-family: var(--ff-display);
  font-size: clamp(3.75rem, 9vw, 7rem);
  font-weight: 330;
  line-height: .9;
  letter-spacing: -.04em;
  font-variant-numeric: lining-nums tabular-nums;
}

.stat dd small { font-size: .38em; color: var(--c-ember-deep); letter-spacing: 0; }

@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: 1fr; }
}

@media (min-width: 1024px) {
  .about__grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .stats { grid-column: 1 / -1; }
  .about__scribble { top: 6%; left: -1rem; }
}

/* ---------- 11. Menu ---------- */
.menu__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3.5rem; }
.menu__board { min-width: 0; }

.tabs {
  position: relative;
  display: flex;
  gap: .25rem;
  width: fit-content;
  max-width: 100%;
  padding: .35rem;
  overflow-x: auto;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 999px;
  background: rgb(0 0 0 / 0.25);
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar { display: none; }

.tabs__tab {
  position: relative;
  z-index: 1;
  flex: none;
  padding: .8rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgb(243 234 220 / 0.72);
  font-size: .95rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: color .4s var(--ease-out), background-color .4s;
}

.tabs__tab:hover { color: var(--c-crema); }
.tabs__tab[aria-selected="true"] { color: var(--c-velvet-deep); background: var(--c-crema); }
.tabs.is-ready .tabs__tab[aria-selected="true"] { background: transparent; }

.tabs__indicator {
  position: absolute;
  top: .35rem; bottom: .35rem; left: 0;
  width: var(--w, 0);
  translate: var(--x, 0) 0;
  border-radius: 999px;
  background: var(--c-crema);
  opacity: 0;
  transition: translate .55s var(--ease-out), width .55s var(--ease-out);
}

.tabs.is-ready .tabs__indicator { opacity: 1; }

.tabs__panel { margin-top: 2.5rem; border-radius: var(--radius); }

/* bez JS pokazujemy wszystkie kategorie jedna pod drugą */
html:not(.js) .tabs { display: none; }
html:not(.js) .tabs__panel[hidden] { display: block; }

.menu-list { display: grid; gap: 1.6rem 3rem; }

.menu-item {
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(1.25rem, 1fr) auto;
  align-items: baseline;
  column-gap: .75rem;
}

.menu-item h3 {
  font-family: var(--ff-display);
  font-size: clamp(1.15rem, 1.6vw, 1.3rem);
  font-weight: 420;
  line-height: 1.25;
  font-variation-settings: "opsz" 24, "SOFT" 50;
}

.menu-item__dots {
  height: 1px;
  border-bottom: 2px dotted rgb(243 234 220 / 0.28);
  translate: 0 -.25em;
}

.menu-item p {
  grid-column: 1 / -1;
  margin-top: .3rem;
  font-size: .95rem;
  color: rgb(243 234 220 / 0.64);
}

.price {
  padding: .2rem .6rem .25rem;
  border-radius: .3rem;
  background: #171716;
  color: var(--c-chalk-green);
  font-family: var(--ff-hand);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  rotate: -2deg;
  box-shadow: 0 8px 16px -8px rgb(0 0 0 / 0.6);
  transition: rotate .4s var(--ease-out), scale .4s var(--ease-out);
}

.menu-item:nth-child(3n + 2) .price { color: var(--c-chalk-yellow); rotate: 2deg; }
.menu-item:nth-child(3n + 3) .price { color: var(--c-chalk-violet); rotate: -1deg; }
.menu-item:hover .price { rotate: 0deg; scale: 1.08; }

.price--tag,
.menu-item:nth-child(n) .price--tag {
  padding: .35rem .65rem;
  border: 1px solid rgb(243 234 220 / 0.3);
  border-radius: 999px;
  background: transparent;
  color: var(--c-oak-soft);
  font-family: var(--ff-body);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  rotate: 0deg;
  box-shadow: none;
}

.tabs__panel.is-entering .menu-item,
.tabs__panel.is-entering .cake {
  animation: item-in .7s var(--ease-out) both;
  animation-delay: calc(var(--n, 0) * 45ms);
}

@keyframes item-in { from { opacity: 0; translate: 0 18px; } }

.cakes { display: grid; gap: 1rem; }

.cake {
  position: relative;
  display: grid;
  gap: .4rem;
  padding: 1.6rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius);
  background: rgb(0 0 0 / 0.2);
  transition: translate .5s var(--ease-out), border-color .4s;
}

.cake:hover { translate: 0 -4px; border-color: var(--c-oak); }

.cake__size {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-oak-soft);
}

.cake h3 {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.15;
}

.cake p:not([class]) { font-size: .95rem; color: rgb(243 234 220 / 0.68); }

.cake__price {
  margin-top: .5rem;
  font-family: var(--ff-display);
  font-size: 2rem;
  font-style: italic;
  font-weight: 350;
  line-height: 1;
  color: var(--c-oak-soft);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

.cakes__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: 1.25rem;
  padding: 1.4rem 1.6rem;
  border: 1px dashed rgb(229 112 42 / 0.6);
  border-radius: var(--radius);
  background: rgb(229 112 42 / 0.1);
}

.cakes__cta p { max-width: 26rem; }

.menu__aside { display: grid; gap: 1.25rem; justify-items: start; }

.menu__photo {
  position: relative;
  width: min(100%, 26rem);
  aspect-ratio: 3 / 4;
}

.menu__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--arch);
  box-shadow: 0 40px 70px -35px rgb(0 0 0 / 0.8);
}

.menu__chalk {
  position: absolute;
  left: -.5rem;
  bottom: 1.5rem;
  rotate: -6deg;
}

.menu__note { max-width: 24rem; font-size: .92rem; color: rgb(243 234 220 / 0.66); }

@media (min-width: 640px) {
  .cakes { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .menu-list { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1100px) {
  .menu__layout { grid-template-columns: minmax(0, 1fr) 21rem; gap: 4.5rem; }
  .menu__aside { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
  .menu__chalk { left: -1.75rem; }
}

/* ---------- 12. Galeria ---------- */
.gallery {
  --gh: min(56vh, 112vw);
  position: relative;
  padding-block: var(--space-section);
  background: var(--c-espresso);
  color: var(--c-crema);
  --accent: var(--c-oak-soft);
}

.gallery__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.gallery__head .section-title { margin-bottom: 0; max-width: 16ch; font-size: clamp(2.6rem, 5.2vw, 4.75rem); }

.gallery__counter {
  flex: none;
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--c-oak-soft);
  font-variant-numeric: tabular-nums;
}

.gallery__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.gallery__viewport::-webkit-scrollbar { display: none; }

.gallery__track {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  width: max-content;
  padding-inline: var(--gutter);
}

.gallery__item { flex: none; scroll-snap-align: start; }

.gallery__btn {
  display: block;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-espresso-3);
  cursor: zoom-in;
}

.gallery__btn img {
  height: var(--gh);
  width: auto;
  object-fit: cover;
  transition: scale 1.2s var(--ease-out), filter .6s;
  filter: saturate(.92);
}

.gallery__btn:hover img { scale: 1.05; filter: saturate(1.05); }

.gallery__caption {
  display: flex;
  gap: .75rem;
  max-width: 30ch;
  margin-top: 1rem;
  font-size: .92rem;
  color: rgb(243 234 220 / 0.68);
}

.gallery__caption span { font-family: var(--ff-display); font-style: italic; color: var(--c-oak-soft); }

.gallery__progress {
  height: 2px;
  margin-top: 2.5rem;
  background: var(--line-dark);
  overflow: hidden;
}

.gallery__progress span {
  display: block;
  height: 100%;
  background: var(--c-ember);
  transform-origin: left;
  scale: var(--gp, .2) 1;
}

/* przypięta, poziomo przewijana galeria (desktop, włączana w JS) */
.gallery.is-pinned { height: var(--pin-h, 300vh); padding-block: 0; }

.gallery.is-pinned .gallery__sticky {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  height: 100svh;
  padding-top: clamp(1rem, 4vh, 3rem);
  overflow: hidden;
}

.gallery.is-pinned .gallery__viewport { overflow: visible; }
.gallery.is-pinned .gallery__track { translate: var(--gx, 0) 0; will-change: translate; padding-inline: max(var(--gutter), (100vw - var(--container)) / 2); }
.gallery.is-pinned .gallery__head { margin-bottom: 1.75rem; }
.gallery.is-pinned .gallery__progress { margin-top: 1.75rem; }

@media (min-width: 1024px) {
  .gallery { --gh: min(50vh, 36rem); }
}

/* ---------- 13. Opinie ---------- */
.reviews__grid { display: grid; gap: 4rem; align-items: center; }

.reviews__score {
  position: relative;
  display: grid;
  justify-items: center;
  gap: .9rem;
  max-width: 26rem;
  width: 100%;
  margin-inline: auto;
  padding: clamp(3.5rem, 8vw, 5rem) 2rem 3rem;
  border-radius: var(--arch);
  background:
    radial-gradient(70% 50% at 50% 0%, rgb(229 112 42 / 0.25), transparent 70%),
    var(--c-espresso);
  color: var(--c-crema);
  text-align: center;
}

.reviews__number {
  font-family: var(--ff-display);
  font-size: clamp(7rem, 22vw, 12rem);
  font-weight: 300;
  font-style: italic;
  line-height: .85;
  letter-spacing: -.05em;
  color: var(--c-oak-soft);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-variant-numeric: lining-nums;
}

.stars--big svg { width: 1.6rem; height: 1.6rem; }

html.js .reviews__score .stars svg { opacity: 0; scale: .3; }
html.js .reviews__score.is-in .stars svg {
  opacity: 1;
  scale: 1;
  transition: opacity .4s, scale .6s cubic-bezier(.34, 1.56, .64, 1);
}
.reviews__score.is-in .stars svg:nth-child(2) { transition-delay: .1s; }
.reviews__score.is-in .stars svg:nth-child(3) { transition-delay: .2s; }
.reviews__score.is-in .stars svg:nth-child(4) { transition-delay: .3s; }
.reviews__score.is-in .stars svg:nth-child(5) { transition-delay: .4s; }

.reviews__source { font-size: .95rem; color: rgb(243 234 220 / 0.72); }
.reviews__source strong { color: var(--c-crema); font-weight: 600; }

.quote { margin: 1rem 0 2.5rem; }

.quote blockquote p {
  font-family: var(--ff-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-style: italic;
  font-weight: 340;
  line-height: 1.1;
  font-variation-settings: "opsz" 96, "SOFT" 100, "WONK" 1;
}

.quote figcaption {
  margin-top: .8rem;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}

.chips__label { margin-bottom: .9rem; font-weight: 500; }

.chips { display: flex; flex-wrap: wrap; gap: .55rem; }

.chips li {
  padding: .55rem 1rem;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: var(--c-milk);
  font-size: .95rem;
  transition: background .35s, color .35s, rotate .5s var(--ease-out), border-color .35s;
}

.chips li:hover { background: var(--c-espresso); color: var(--c-crema); border-color: var(--c-espresso); rotate: -3deg; }
.chips li:nth-child(even):hover { background: var(--c-ember); color: var(--c-espresso); border-color: var(--c-ember); rotate: 3deg; }

.reviews__ctas { margin-top: 2.5rem; }

@media (min-width: 1024px) {
  .reviews__grid { grid-template-columns: .8fr 1.2fr; gap: 6rem; }
}

/* ---------- 14. Instagram ---------- */
.section-head--split { max-width: none; display: grid; gap: 1.5rem; }

.insta__aside { display: grid; gap: 1rem; max-width: 26rem; color: var(--c-ink-soft); }

.insta__handle {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  width: fit-content;
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--c-ink);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease-out);
}

.insta__handle:hover { background-size: 100% 1px; }
.insta__handle svg { width: 1.4rem; height: 1.4rem; color: var(--c-ember-deep); }

.insta__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(.6rem, 1.4vw, 1rem);
}

.insta__tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--c-espresso);
}

.insta__tile a {
  position: relative;
  display: block;
  height: 100%;
  text-decoration: none;
}

.insta__tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: scale 1s var(--ease-out);
}

.insta__tile a::after {
  content: "↗";
  position: absolute;
  top: .75rem; right: .75rem;
  display: grid;
  place-items: center;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: var(--c-crema);
  color: var(--c-espresso);
  font-size: 1.1rem;
  opacity: 0;
  scale: .5;
  transition: opacity .35s, scale .5s var(--ease-out);
}

.insta__tile a:hover::after,
.insta__tile a:focus-visible::after { opacity: 1; scale: 1; }
.insta__tile a:hover img { scale: 1.07; }

.poster {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .5rem;
  height: 100%;
  padding: clamp(.9rem, 2.4vw, 1.6rem);
  transition: scale 1s var(--ease-out);
}

.insta__tile a:hover .poster { scale: 1.04; }

.poster__kicker {
  font-size: clamp(.6rem, 1.4vw, .75rem);
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .8;
}

.poster__title {
  font-family: var(--ff-display);
  font-size: clamp(1.35rem, 3.6vw, 2.4rem);
  font-weight: 380;
  line-height: 1;
  letter-spacing: -.02em;
}

.poster__title em { display: block; font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; }

.poster__meta { font-family: var(--ff-hand); font-size: clamp(1.05rem, 2.4vw, 1.4rem); line-height: 1; }

.poster--velvet {
  color: var(--c-crema);
  background-color: var(--c-velvet);
  background-image:
    repeating-linear-gradient(45deg, rgb(255 255 255 / 0.04) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(-45deg, rgb(0 0 0 / 0.2) 0 1px, transparent 1px 26px);
}
.poster--velvet em { color: var(--c-oak-soft); }

.poster--beans {
  justify-content: flex-end;
  color: var(--c-crema);
  background-color: #2a1c13;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='%233d2a1d'%3E%3Cellipse cx='20' cy='22' rx='9' ry='13' transform='rotate(35 20 22)'/%3E%3Cellipse cx='66' cy='60' rx='9' ry='13' transform='rotate(-25 66 60)'/%3E%3Cellipse cx='70' cy='14' rx='7' ry='10' transform='rotate(70 70 14)'/%3E%3Cellipse cx='22' cy='72' rx='7' ry='10' transform='rotate(-60 22 72)'/%3E%3C/g%3E%3Cg fill='none' stroke='%23201510' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 32c6-5 2-12 10-19'/%3E%3Cpath d='M60 70c4-6 9-8 12-20'/%3E%3C/g%3E%3C/svg%3E");
}
.poster--beans em { color: var(--c-ember); }

.poster--ember { color: var(--c-espresso); background: var(--c-ember); }
.poster--ember em { color: var(--c-espresso); }

@media (min-width: 768px) {
  .insta__grid { grid-template-columns: repeat(3, 1fr); }
  .section-head--split { grid-template-columns: 1fr auto; align-items: end; }
}

@media (min-width: 1200px) {
  .insta__grid { grid-template-columns: repeat(6, 1fr); }
  .insta__tile { aspect-ratio: 4 / 5; }
  .poster__title { font-size: 1.6rem; }
}

/* ---------- 15. Kontakt ---------- */
.contact__grid { display: grid; gap: 1.5rem; }

.contact__info { display: grid; gap: 1rem; align-content: start; }

.live-status {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.03);
}

.live-status .status-dot { width: 12px; height: 12px; }

.live-status__title {
  font-family: var(--ff-display);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.15;
}

.live-status__sub { color: rgb(243 234 220 / 0.68); font-size: .95rem; }

.contact__cards { display: grid; gap: 1rem; }

.info-card {
  display: grid;
  align-content: start;
  gap: .35rem;
  padding: 1.5rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--c-espresso-2);
  color: var(--c-crema);
  text-decoration: none;
  transition: translate .5s var(--ease-out), border-color .4s, background-color .4s;
}

.info-card:hover { translate: 0 -4px; border-color: var(--c-ember); background: var(--c-espresso-3); }

.info-card__icon {
  display: grid;
  place-items: center;
  width: 2.8rem; height: 2.8rem;
  margin-bottom: .6rem;
  border-radius: 50%;
  background: var(--c-ember);
  color: var(--c-espresso);
}

.info-card__icon svg { width: 1.25rem; height: 1.25rem; }

.info-card__label { font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--c-oak-soft); }

.info-card__value { font-family: var(--ff-display); font-size: 1.35rem; line-height: 1.25; }
.info-card__value--big { font-size: clamp(1.9rem, 4vw, 2.3rem); letter-spacing: -.01em; }

.info-card__cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .5rem;
  font-size: .9rem;
  color: rgb(243 234 220 / 0.7);
}

.info-card__cta svg { width: 1rem; height: 1rem; transition: translate .4s var(--ease-out); }
.info-card:hover .info-card__cta svg { translate: 4px 0; }

.hours {
  padding: 1.5rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.hours__title {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .75rem;
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 400;
}

.hours__title svg { width: 1.3rem; height: 1.3rem; color: var(--c-oak-soft); }

.hours__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px dashed var(--line-dark);
  font-variant-numeric: tabular-nums;
  transition: color .3s;
}

.hours__list li:last-child { border-bottom: 0; }

.hours__list li.is-today { color: var(--c-ember); font-weight: 500; }

.hours__list .today-badge {
  margin-left: .6rem;
  padding: .15rem .55rem;
  border-radius: 999px;
  background: var(--c-ember);
  color: var(--c-espresso);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  vertical-align: .1em;
}

.hours__note { margin-top: .75rem; font-size: .88rem; color: rgb(243 234 220 / 0.6); }
.hours__note a { color: var(--c-oak-soft); }

.map {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--c-velvet-deep);
}

.map__facade,
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.map__facade {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.map__art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: var(--c-velvet-deep);
  background-image:
    repeating-linear-gradient(0deg, rgb(243 234 220 / 0.05) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgb(243 234 220 / 0.05) 0 1px, transparent 1px 56px);
}

.map__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgb(11 42 37 / 0.95) 85%);
}

.map__street {
  position: absolute;
  height: 16px;
  background: rgb(243 234 220 / 0.1);
  border-radius: 8px;
}

.map__street--a {
  top: 34%; left: -10%;
  width: 120%;
  rotate: -14deg;
  padding-left: 58%;
  font-size: .62rem;
  line-height: 16px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgb(243 234 220 / 0.45);
}

.map__street--b { top: -10%; left: 62%; width: 12px; height: 80%; rotate: 18deg; }
.map__street--c { top: 18%; left: -5%; width: 70%; rotate: 32deg; height: 10px; }

.map__pin {
  position: absolute;
  top: 30%; left: 55%;
  display: grid;
  place-items: center;
  width: 5.5rem; height: 5.5rem;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--c-crema);
  color: var(--c-espresso);
  box-shadow: 0 0 0 0 rgb(229 112 42 / 0.5);
  animation: pin-pulse 2.4s var(--ease-out) infinite;
}

.map__pin svg { width: 86%; height: 86%; }

@keyframes pin-pulse { to { box-shadow: 0 0 0 36px rgb(229 112 42 / 0); } }

.map__content { position: relative; z-index: 1; display: grid; gap: .6rem; }

.map__title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 350;
  line-height: 1;
  letter-spacing: -.02em;
}

.map__sub { max-width: 28rem; color: rgb(243 234 220 / 0.75); }
.map__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .75rem; }
.map__privacy { font-size: .78rem; color: rgb(243 234 220 / 0.5); }

@media (min-width: 560px) {
  .contact__cards { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; }
  .map { min-height: 100%; border-radius: var(--arch); }
  .map__pin { top: 32%; }
}

/* ---------- 16. Stopka ---------- */
.site-footer {
  padding-block: clamp(4rem, 9vw, 7rem) 2rem;
  overflow: hidden;
  background: var(--c-velvet-deep);
  color: var(--c-crema);
}

.footer__wordmark {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(3.4rem, 19.5vw, 18rem);
  font-weight: 330;
  line-height: .9;
  letter-spacing: -.045em;
  white-space: nowrap;
  text-decoration: none;
  color: transparent;
  -webkit-text-stroke: 1px rgb(243 234 220 / 0.45);
  transition: color .8s var(--ease-out), -webkit-text-stroke-color .8s;
}

.footer__wordmark em {
  font-style: italic;
  font-weight: 300;
  color: var(--c-ember);
  -webkit-text-stroke: 0;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

.footer__wordmark:hover { color: var(--c-crema); -webkit-text-stroke-color: transparent; }

.footer__grid {
  display: grid;
  gap: 2.5rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 2.5rem;
  border-top: 1px solid var(--line-dark);
}

.footer__brand { display: grid; gap: 1rem; max-width: 18rem; color: rgb(243 234 220 / 0.72); }
.footer__logo { width: 5.5rem; height: 5.5rem; color: var(--c-crema); }

.footer__heading {
  margin-bottom: 1rem;
  font-family: var(--ff-body);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-oak-soft);
}

.site-footer address { color: rgb(243 234 220 / 0.85); }

.footer__link {
  display: inline-block;
  margin-top: .6rem;
  font-size: .92rem;
  color: rgb(243 234 220 / 0.7);
  text-underline-offset: 4px;
}

.footer__link:hover { color: var(--c-ember); }

.footer__hours { display: grid; gap: .45rem; max-width: 17rem; font-variant-numeric: tabular-nums; }
.footer__hours li { display: flex; justify-content: space-between; gap: 1rem; color: rgb(243 234 220 / 0.85); }

.footer__phone {
  display: inline-block;
  font-family: var(--ff-display);
  font-size: 1.7rem;
  text-decoration: none;
  transition: color .3s;
}

.footer__phone:hover { color: var(--c-ember); }

.footer__social { display: flex; gap: .6rem; margin-top: 1rem; }

.footer__social a {
  display: grid;
  place-items: center;
  width: 2.9rem; height: 2.9rem;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  transition: background .35s, color .35s, border-color .35s, rotate .5s var(--ease-out);
}

.footer__social a:hover { background: var(--c-ember); color: var(--c-espresso); border-color: var(--c-ember); rotate: -12deg; }
.footer__social svg { width: 1.25rem; height: 1.25rem; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  font-size: .85rem;
  color: rgb(243 234 220 / 0.55);
}

.footer__top { text-decoration: none; }
.footer__top:hover { color: var(--c-ember); }

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; max-width: 28rem; }
}

@media (min-width: 1100px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer__brand { grid-column: auto; grid-template-columns: 1fr; }
}

/* ---------- 17. Lightbox ---------- */
.lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--c-crema);
}

.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 4.5rem var(--gutter) 2rem; }

.lightbox::backdrop {
  background: rgb(10 8 6 / 0.94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.lightbox__figure { display: grid; justify-items: center; gap: 1rem; min-width: 0; }

.lightbox__figure img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  border-radius: var(--radius);
  object-fit: contain;
  animation: zoom-in .6s var(--ease-out);
}

.lightbox__figure figcaption { max-width: 40rem; text-align: center; color: rgb(243 234 220 / 0.75); }

@keyframes zoom-in { from { opacity: 0; scale: .94; } }

.lightbox__close,
.lightbox__nav {
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: rgb(20 16 13 / 0.6);
  cursor: pointer;
  transition: background .3s, color .3s;
}

.lightbox__close:hover,
.lightbox__nav:hover { background: var(--c-ember); color: var(--c-espresso); }

.lightbox__close { position: absolute; top: 1rem; right: 1rem; }
.lightbox__close svg,
.lightbox__nav svg { width: 1.3rem; height: 1.3rem; }
.lightbox__nav--prev svg { rotate: 180deg; }

@media (max-width: 639px) {
  .lightbox[open] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; }
  .lightbox__figure { grid-column: 1 / -1; grid-row: 1; }
  .lightbox__nav--prev { grid-row: 2; justify-self: end; }
  .lightbox__nav--next { grid-row: 2; justify-self: start; }
}

/* ---------- 18. Animacje przy przewijaniu ---------- */
html.js [data-reveal] {
  opacity: 0;
  translate: 0 36px;
  transition: opacity 1s var(--ease-out), translate 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}

/* przycinamy dzieci, a nie sam element: inaczej IntersectionObserver nie widzi go na ekranie */
html.js [data-reveal="clip"] {
  translate: none;
  transition: opacity .5s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 120ms);
}

html.js [data-reveal="clip"] > * {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.4s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 120ms);
}

html.js [data-reveal].is-in { opacity: 1; translate: 0 0; }
html.js [data-reveal="clip"].is-in > * { clip-path: inset(0 0 0 0); }

/* nagłówki dzielone na słowa (JS) */
.word {
  display: inline-block;
  padding: 0 .08em .14em 0;
  margin: 0 -.08em -.14em 0;
  overflow: hidden;
  vertical-align: top;
}

.word__inner { display: inline-block; }

html.js [data-split] .word__inner {
  translate: 0 110%;
  transition: translate 1.1s var(--ease-out);
  transition-delay: calc(var(--w, 0) * 55ms);
}

html.js [data-split].is-in .word__inner { translate: 0 0; }

/* ---------- 19. Ograniczony ruch ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }

  .grain,
  .lamp { animation: none !important; }
  .ribbon__track { animation: none !important; }
}
