@charset "utf-8";

/* ------------------------------------------------------------------
   Sushi w Dłoń, Łódź
   Paleta i typografia z księgi marki: blady róż, krem, mięta, żółty,
   lawenda, pomidorowa czerwień, Montserrat, cienkie linie dzielące
   treść na tabelkę.
   Ruch: wejścia z rozmyciem, pływająca scena zdjęć z przechyłem 3D,
   aurora w tle, odsłanianie sekcji przy przewijaniu.
   ------------------------------------------------------------------ */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/fonty/montserrat-latin-ext.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: 'Montserrat';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/fonty/montserrat-latin.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;
}

@property --kat-obwodki {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

:root {
  --krem: #fff5ee;
  --krem-cien: #fdeee5;
  --roz: #f9cfd6;
  --roz-mgla: #fde8ec;
  --mieta: #65bea5;
  --zolty: #ffd608;
  --lawenda: #b8bee4;
  --pomidor: #e8451b;
  --tusz: #17120f;
  --cichy: #6d635d;
  --kreska: rgba(23, 18, 15, 0.14);
  --kreska-mocna: rgba(23, 18, 15, 0.4);
  --ramka: 1px solid var(--kreska);
  --szpalta: min(1280px, 100% - 2.5rem);
  --luz: clamp(4rem, 7.5vw, 7.5rem);
  --cien-karty: 0 1px 2px rgba(23, 18, 15, 0.04), 0 12px 32px -18px rgba(23, 18, 15, 0.28);
  --cien-scena: 0 40px 90px -45px rgba(88, 40, 30, 0.55), 0 2px 10px rgba(23, 18, 15, 0.05);
  --sprezyscie: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--krem);
  color: var(--tusz);
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: clamp(0.94rem, 0.9rem + 0.2vw, 1.02rem);
  line-height: 1.65;
  font-weight: 450;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--zolty); color: var(--tusz); }

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

.omin { position: absolute; left: -9999px; top: 0; }
.omin:focus {
  left: 1rem; top: 1rem; z-index: 999;
  background: var(--tusz); color: var(--krem);
  padding: 0.7rem 1.1rem; border-radius: 999px;
}
.tylko-dla-czytnika {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ================================= ruch =========================== */

@keyframes wejscie {
  from { opacity: 0; filter: blur(10px); transform: translateY(22px); }
  to { opacity: 1; filter: blur(0); transform: none; }
}
@keyframes scena-wejscie {
  from { opacity: 0; transform: translateY(54px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes karta-srodek {
  from { opacity: 0; transform: translateY(90px) scale(0.92); }
  to { opacity: 1; transform: none; }
}
@keyframes karta-lewa {
  from { opacity: 0; transform: translate(42%, 46px) rotate(0deg) scale(0.9); }
  to { opacity: 1; transform: rotate(-6deg); }
}
@keyframes karta-prawa {
  from { opacity: 0; transform: translate(-42%, 46px) rotate(0deg) scale(0.9); }
  to { opacity: 1; transform: rotate(6deg); }
}
@keyframes unoszenie {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
@keyframes zorza {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(4%, -5%, 0) scale(1.12); }
}
@keyframes przesuw-gradientu {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}
@keyframes obrot-obwodki {
  to { --kat-obwodki: 360deg; }
}
@keyframes blysk {
  0% { transform: translateX(-130%); }
  60%, 100% { transform: translateX(130%); }
}
@keyframes przewijanie-tasmy {
  to { transform: translateX(-50%); }
}
@keyframes pulsowanie {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

.ruch-wejscie { animation: wejscie 0.85s var(--sprezyscie) both; }
.zwloka-1 { animation-delay: 0.1s; }
.zwloka-2 { animation-delay: 0.2s; }
.zwloka-3 { animation-delay: 0.32s; }
.zwloka-4 { animation-delay: 0.44s; }
.zwloka-5 { animation-delay: 0.56s; }

/* Odsłanianie przy przewijaniu. Stan ukryty obowiązuje TYLKO wtedy, gdy
   skrypt wstał: bez klasy .js na <html> strona jest po prostu widoczna.
   Inaczej awaria jednego pliku zostawia gościa przed pustą stroną. */
.js .odslon {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--sprezyscie), transform 0.7s var(--sprezyscie);
  transition-delay: var(--zwloka, 0s);
}
.odslon.widac { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .odslon { opacity: 1; transform: none; }
  .scena-3d { transform: none !important; }
}

/* ================================= typografia ===================== */

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.etykieta {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cichy);
}

.wiodacy {
  font-size: clamp(1.02rem, 0.96rem + 0.4vw, 1.2rem);
  line-height: 1.6;
  color: #3a322d;
  max-width: 54ch;
  text-wrap: pretty;
}

.znak { width: 100%; height: auto; color: var(--tusz); }

/* tekst malowany gradientem marki, powoli przesuwanym */
.tusz-gradient {
  background: linear-gradient(115deg, var(--pomidor) 0%, #e8657b 38%, var(--mieta) 72%, var(--pomidor) 100%);
  background-size: 260% 260%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: przesuw-gradientu 9s ease infinite;
}

/* ================================= pasek górny ==================== */

.pasek {
  position: relative;
  z-index: 70;
  background: var(--tusz);
  color: var(--krem);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.pasek-tresc {
  width: var(--szpalta);
  margin-inline: auto;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  min-height: 2.4rem;
  padding-block: 0.35rem;
  flex-wrap: wrap;
}
.pasek a { text-decoration: none; opacity: 0.85; transition: opacity 0.2s, color 0.2s; }
.pasek a:hover { opacity: 1; color: var(--zolty); }
.pasek-lokale { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.pasek-lokale span { color: rgba(255, 245, 238, 0.45); }

.kropka-otwarte {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--mieta);
  margin-right: 0.45rem;
  vertical-align: 0.02em;
  animation: pulsowanie 2.4s ease-in-out infinite;
}
.kropka-otwarte.zamkniete { background: var(--pomidor); }

.jezyki { display: flex; gap: 0.5rem; align-items: center; }
.jezyki a { opacity: 0.5; padding: 0.1rem 0.15rem; }
.jezyki a[aria-current='true'] { opacity: 1; box-shadow: inset 0 -2px 0 var(--zolty); }

/* ================================= nagłówek ======================= */

.naglowek {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 245, 238, 0.82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.naglowek.przyklejony {
  border-bottom-color: var(--kreska);
  box-shadow: 0 10px 30px -22px rgba(23, 18, 15, 0.5);
}
.naglowek-tresc {
  width: var(--szpalta);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.7rem;
}
.naglowek-znak { display: block; flex: 0 0 auto; width: clamp(108px, 13vw, 148px); }

.nawigacja {
  margin-left: auto;
  display: flex;
  gap: clamp(0.8rem, 1.9vw, 1.8rem);
  align-items: center;
}
.nawigacja a {
  position: relative;
  text-decoration: none;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  transition: color 0.2s;
}
.nawigacja a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--pomidor);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--sprezyscie);
}
.nawigacja a:hover::after,
.nawigacja a.aktywny::after { transform: scaleX(1); }
.nawigacja a.aktywny::after { background: var(--tusz); }

.menu-przycisk {
  display: none;
  margin-left: auto;
  background: none;
  border: var(--ramka);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ================================= przyciski ====================== */

.guzik {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.7rem;
  border: 1px solid var(--tusz);
  border-radius: 999px;
  background: var(--tusz);
  color: var(--krem);
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.22s var(--sprezyscie), background 0.22s, color 0.22s, border-color 0.22s,
    box-shadow 0.22s;
}
.guzik:hover {
  transform: translateY(-3px);
  background: var(--pomidor);
  border-color: var(--pomidor);
  box-shadow: 0 16px 30px -18px var(--pomidor);
}
.guzik-glowny::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, 0.42) 50%, transparent 62%);
  transform: translateX(-130%);
  animation: blysk 4.5s ease-in-out 1.6s infinite;
}
.guzik-pusty { background: transparent; color: var(--tusz); }
.guzik-pusty:hover { background: var(--tusz); color: var(--krem); border-color: var(--tusz); }
.guzik-maly { padding: 0.6rem 1.15rem; font-size: 0.67rem; }
.guzik-jasny { background: var(--krem); color: var(--tusz); border-color: var(--krem); }
.guzik-jasny:hover { background: var(--zolty); border-color: var(--zolty); color: var(--tusz); }

.strzalka { transition: transform 0.24s var(--sprezyscie); }
.guzik:hover .strzalka { transform: translateX(4px); }

/* ================================= sekcje ========================= */

.sekcja {
  width: var(--szpalta);
  margin-inline: auto;
  padding-block: var(--luz);
}
.z-kreska { border-top: var(--ramka); }

.tlo-roz { background: var(--roz-mgla); }
.tlo-krem { background: var(--krem-cien); }
.tlo-tusz { background: var(--tusz); color: var(--krem); }
.tlo-tusz .etykieta { color: rgba(255, 245, 238, 0.55); }
.tlo-tusz .wiodacy { color: rgba(255, 245, 238, 0.8); }

.naglowek-sekcji {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.4rem, 4vw, 3.6rem);
}
.naglowek-sekcji h2 {
  font-size: clamp(2rem, 1.25rem + 3vw, 3.6rem);
  margin-top: 0.7rem;
}
.naglowek-sekcji .wiodacy { margin: 0; }

/* ================================= hero =========================== */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 8vw, 7rem);
  text-align: center;
}
.aurora {
  position: absolute;
  inset: -30% -10% auto;
  height: 150%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(38% 42% at 22% 28%, rgba(249, 207, 214, 0.95), rgba(249, 207, 214, 0) 68%),
    radial-gradient(32% 36% at 78% 22%, rgba(184, 190, 228, 0.7), rgba(184, 190, 228, 0) 70%),
    radial-gradient(34% 40% at 62% 70%, rgba(101, 190, 165, 0.42), rgba(101, 190, 165, 0) 70%),
    radial-gradient(26% 30% at 34% 78%, rgba(255, 214, 8, 0.32), rgba(255, 214, 8, 0) 70%);
  filter: blur(18px);
  animation: zorza 20s ease-in-out infinite alternate;
}
.hero-tresc { width: var(--szpalta); margin-inline: auto; }

.pigulka {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(23, 18, 15, 0.18);
  background: rgba(255, 245, 238, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 0.45rem 1.05rem 0.45rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.pigulka b {
  background: var(--pomidor);
  color: var(--krem);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.hero-znak {
  width: clamp(215px, 33vw, 430px);
  margin: 1.5rem auto 0;
}
.hero h1 { margin: 0; }
.hero-haslo {
  margin: 1.1rem auto 1rem;
  font-size: clamp(0.78rem, 0.68rem + 0.52vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-indent: 0.3em;
}
.hero .wiodacy { margin: 0 auto 2.1rem; color: #3c2f2a; }
.hero-guziki {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* scena z pływającymi zdjęciami, kadr środkowy z przodu i największy */
.scena {
  position: relative;
  width: min(1180px, 100% - 2.5rem);
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding-bottom: 4rem;
  perspective: 1800px;
}
.scena-3d {
  transform: perspective(1800px) rotateX(calc(var(--nachyl-y, 0) * 1deg))
    rotateY(calc(var(--nachyl-x, 0) * 1deg));
  transform-style: preserve-3d;
  transition: transform 0.55s var(--sprezyscie);
}
.kadr {
  position: relative;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: var(--krem);
  box-shadow: var(--cien-scena);
}
.kadr picture { display: block; width: 100%; height: 100%; }
.kadr img { width: 100%; height: 100%; object-fit: cover; }
.kadr-srodek {
  width: min(54%, 620px);
  margin-inline: auto;
  aspect-ratio: 3 / 2;
  border-radius: 30px;
  z-index: 3;
}
.kadr-lewy,
.kadr-prawy {
  position: absolute;
  top: 2%;
  width: 27%;
  aspect-ratio: 3 / 4;
  z-index: 1;
}
.kadr-lewy { left: 0; }
.kadr-prawy { right: 0; top: 12%; z-index: 2; }

/* obwódka z obracającym się gradientem, tylko na kadrze środkowym */
.kadr-srodek::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--kat-obwodki),
    rgba(232, 69, 27, 0) 0deg,
    rgba(232, 69, 27, 0.85) 55deg,
    rgba(249, 207, 214, 0.9) 110deg,
    rgba(101, 190, 165, 0.7) 175deg,
    rgba(232, 69, 27, 0) 240deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: obrot-obwodki 7s linear infinite;
  pointer-events: none;
  z-index: 2;
}

.wejscie-srodek { animation: karta-srodek 1.15s var(--sprezyscie) 0.4s both, unoszenie 8s ease-in-out 1.6s infinite; }
.wejscie-lewa { animation: karta-lewa 1.35s var(--sprezyscie) 0.7s both, unoszenie 8s ease-in-out 2.1s infinite; }
.wejscie-prawa { animation: karta-prawa 1.35s var(--sprezyscie) 0.7s both, unoszenie 8s ease-in-out 3.4s infinite; }

.znaczek-sceny {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 245, 238, 0.93);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(23, 18, 15, 0.1);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: var(--cien-karty);
  white-space: nowrap;
}
.znaczek-cena { left: 16%; bottom: 17%; }
.znaczek-czas { right: 16%; top: 1%; }
.znaczek-sceny em { font-style: normal; color: var(--pomidor); }

/* ================================= taśma ========================== */

.tasma {
  border-block: var(--ramka);
  background: var(--tusz);
  color: var(--krem);
  overflow: hidden;
  padding-block: 0.9rem;
  --przesuw: 44s;
}
.tasma-tor {
  display: flex;
  width: max-content;
  animation: przewijanie-tasmy var(--przesuw) linear infinite;
}
.tasma:hover .tasma-tor { animation-play-state: paused; }
.tasma-grupa {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  padding-right: 2.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tasma-grupa i {
  font-style: normal;
  color: var(--pomidor);
  font-size: 0.9rem;
  line-height: 1;
}

/* ================================= wyróżniki ====================== */

.tabelka {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border-left: var(--ramka);
}
.tabelka > div {
  border-right: var(--ramka);
  padding: clamp(1.4rem, 2.5vw, 2rem) clamp(1.1rem, 2vw, 1.7rem);
  transition: background 0.3s;
}
.tabelka > div:hover { background: rgba(249, 207, 214, 0.22); }
.tabelka h3 { font-size: 1.02rem; margin-bottom: 0.45rem; }
.tabelka p { margin: 0; font-size: 0.87rem; color: var(--cichy); line-height: 1.55; }
.tabelka .liczba {
  display: block;
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.55rem;
  color: var(--pomidor);
  font-variant-numeric: tabular-nums;
}

/* ================================= dwie szpalty =================== */

.dwie-szpalty {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.dwie-szpalty.odwrotnie > :first-child { order: 2; }

.blok-tekstu p { margin: 0 0 1.1rem; max-width: 52ch; text-wrap: pretty; }
.blok-tekstu p:last-child { margin-bottom: 0; }

.rama-zdjecia {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--cien-scena);
}
.rama-zdjecia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  transition: transform 0.9s var(--sprezyscie);
}
.rama-zdjecia.pozioma img { aspect-ratio: 3 / 2; }
.rama-zdjecia:hover img { transform: scale(1.04); }

.cytat {
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 1.6rem;
  max-width: 20ch;
}

/* motywy z księgi marki, malowane kolorem przez maskę */
.motyw {
  position: absolute;
  pointer-events: none;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  z-index: 0;
}
.motyw-kropki {
  -webkit-mask-image: url('/grafiki/motyw-kropki.webp');
  mask-image: url('/grafiki/motyw-kropki.webp');
  color: var(--mieta);
}
.motyw-plama {
  -webkit-mask-image: url('/grafiki/motyw-plama-rozowa.webp');
  mask-image: url('/grafiki/motyw-plama-rozowa.webp');
  color: var(--roz);
}
.motyw-chlapniecie {
  -webkit-mask-image: url('/grafiki/motyw-plama-czerwona.webp');
  mask-image: url('/grafiki/motyw-plama-czerwona.webp');
  color: var(--pomidor);
}
.motyw-pociagniecie {
  -webkit-mask-image: url('/grafiki/motyw-pociagniecie.webp');
  mask-image: url('/grafiki/motyw-pociagniecie.webp');
  color: var(--lawenda);
}

/* ================================= menu =========================== */

.zakladki {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.6rem;
  padding-bottom: 1.5rem;
  border-bottom: var(--ramka);
}
.zakladka {
  border: var(--ramka);
  background: transparent;
  border-radius: 999px;
  padding: 0.58rem 1.1rem;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.24s var(--sprezyscie), color 0.24s, border-color 0.24s, transform 0.24s var(--sprezyscie);
}
.zakladka:hover { border-color: var(--kreska-mocna); transform: translateY(-2px); }
.zakladka[aria-selected='true'] {
  background: var(--tusz);
  border-color: var(--tusz);
  color: var(--krem);
}

.karta-grupa[hidden] { display: none; }
.karta-grupa { animation: wejscie 0.55s var(--sprezyscie) both; }
.karta-glowa {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.9rem;
}
.karta-glowa h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); }
.karta-glowa p { margin: 0; color: var(--cichy); font-size: 0.94rem; flex: 1 1 18rem; }
.plakietka {
  display: inline-block;
  background: var(--zolty);
  color: var(--tusz);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
}

.dania {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 25rem), 1fr));
  column-gap: clamp(2rem, 5vw, 4.5rem);
  border-top: var(--ramka);
}
.danie {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 1.2rem;
  align-items: baseline;
  padding: 1.05rem 0.6rem;
  margin-inline: -0.6rem;
  border-bottom: var(--ramka);
  transition: background 0.25s, padding-left 0.25s var(--sprezyscie);
}
.danie:hover { background: rgba(249, 207, 214, 0.26); padding-left: 1rem; }
.danie-nazwa { font-size: 0.97rem; font-weight: 700; letter-spacing: -0.005em; }
.danie-cena {
  font-size: 0.97rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.danie-cena small { font-weight: 600; font-size: 0.72em; color: var(--cichy); margin-left: 0.15em; }
.danie-opis {
  grid-column: 1 / -1;
  margin: 0.3rem 0 0;
  font-size: 0.845rem;
  line-height: 1.55;
  color: var(--cichy);
  max-width: 46ch;
}
.wege {
  display: inline-block;
  vertical-align: 0.15em;
  margin-left: 0.45rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--mieta);
}

.dopisek-karty {
  margin-top: 2.3rem;
  padding-top: 1.5rem;
  border-top: var(--ramka);
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--cichy);
}
.dopisek-karty strong { color: var(--tusz); font-weight: 700; }

/* ================================= galeria ======================== */

.galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.6rem, 1.4vw, 1rem);
}
@media (max-width: 900px) { .galeria { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .galeria { grid-template-columns: 1fr; } }
.galeria figure {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--krem-cien);
  box-shadow: var(--cien-karty);
}
.galeria img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.75s var(--sprezyscie);
}
.galeria figure:hover img { transform: scale(1.07); }

/* ================================= karty klienta ================== */

.karty-klienta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: clamp(1.2rem, 3vw, 2.2rem);
}
.karteczka {
  background: var(--krem);
  border: var(--ramka);
  border-radius: 20px;
  padding: clamp(1.4rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 16rem;
  box-shadow: var(--cien-karty);
  transition: transform 0.35s var(--sprezyscie), box-shadow 0.35s;
}
.karteczka:hover { transform: translateY(-6px); box-shadow: var(--cien-scena); }
.karteczka.rozowa { background: var(--roz); }
.karteczka-tytul {
  text-align: center;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--kreska-mocna);
}
.karteczka-serce { text-align: center; font-size: 1.5rem; line-height: 1; }
.karteczka p {
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.6;
}
.oczka {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.6rem;
  width: 100%;
  max-width: 15rem;
  margin-inline: auto;
}
.oczko { aspect-ratio: 1; border: 1px solid var(--kreska-mocna); border-radius: 50%; }
.oczko.pelne { background: var(--tusz); border-color: var(--tusz); }
.karteczka-stopka {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--kreska-mocna);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.karteczka-pieczec { width: 6.5rem; margin-inline: auto; }

/* ================================= lokale ========================= */

.lokale {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.lokal {
  border: var(--ramka);
  border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  background: var(--krem);
  transition: transform 0.35s var(--sprezyscie), box-shadow 0.35s, border-color 0.35s;
}
.lokal:hover {
  transform: translateY(-6px);
  box-shadow: var(--cien-scena);
  border-color: rgba(23, 18, 15, 0.28);
}
.lokal h3 { font-size: 1.28rem; }
.lokal .adres { font-size: 0.93rem; color: var(--cichy); font-style: normal; line-height: 1.6; }
.lokal .telefon {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition: color 0.2s;
}
.lokal .telefon:hover { color: var(--pomidor); }
.lokal-guziki { margin-top: auto; display: flex; gap: 0.5rem; flex-wrap: wrap; padding-top: 0.7rem; }

.godziny { border-top: var(--ramka); max-width: 34rem; }
.godziny div {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.72rem 0;
  border-bottom: var(--ramka);
  font-size: 0.92rem;
}
.godziny dt { font-weight: 600; margin: 0; }
.godziny dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 700; }
.godziny div.dzis { color: var(--pomidor); }
.godziny div.dzis dt::before { content: '▸ '; }

.lokal-mapa {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  border: var(--ramka);
  background: var(--krem-cien);
  margin-bottom: 0.4rem;
}
.lokal-mapa iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ================================= kontakt ======================== */

.kontakt-uklad {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
}

.pole { display: block; margin-bottom: 1.15rem; }
.pole span {
  display: block;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cichy);
  margin-bottom: 0.45rem;
}
.pole input,
.pole textarea,
.pole select {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--tusz);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--kreska-mocna);
  padding: 0.6rem 0;
  border-radius: 0;
  transition: border-color 0.25s;
}
.pole textarea { resize: vertical; min-height: 6.5rem; }
.pole input:focus,
.pole textarea:focus,
.pole select:focus { outline: 0; border-bottom-color: var(--pomidor); }
.pole-ukryte { position: absolute; left: -9999px; }

.zgoda {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.78rem;
  color: var(--cichy);
  line-height: 1.5;
  margin: 1.5rem 0 1.7rem;
}
.zgoda input { margin-top: 0.25rem; accent-color: var(--pomidor); }

.komunikat {
  margin-top: 1.2rem;
  padding: 0.9rem 1.1rem;
  border-left: 3px solid var(--mieta);
  background: rgba(101, 190, 165, 0.14);
  font-size: 0.88rem;
  border-radius: 0 10px 10px 0;
  animation: wejscie 0.5s var(--sprezyscie) both;
}
.komunikat.zly { border-left-color: var(--pomidor); background: rgba(232, 69, 27, 0.1); }
.komunikat[hidden] { display: none; }

.dane-kontaktowe { border-top: var(--ramka); }
.dane-kontaktowe div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: var(--ramka);
  align-items: baseline;
}
.dane-kontaktowe dt {
  margin: 0;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cichy);
}
.dane-kontaktowe dd { margin: 0; font-size: 0.95rem; }
.dane-kontaktowe a { text-decoration: none; border-bottom: 1px solid var(--kreska); transition: color 0.2s, border-color 0.2s; }
.dane-kontaktowe a:hover { border-bottom-color: var(--pomidor); color: var(--pomidor); }

/* ================================= stopka ========================= */

.stopka { background: var(--tusz); color: var(--krem); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.stopka-tresc { width: var(--szpalta); margin-inline: auto; }
.stopka-gora {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: clamp(1.8rem, 4vw, 3.5rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 245, 238, 0.16);
}
.stopka-znak { width: clamp(150px, 20vw, 210px); color: var(--krem); }
.stopka h4 {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 245, 238, 0.5);
  margin-bottom: 0.9rem;
}
.stopka ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.stopka a { text-decoration: none; opacity: 0.85; font-size: 0.89rem; transition: opacity 0.2s, color 0.2s; }
.stopka a:hover { opacity: 1; color: var(--zolty); }
.stopka-dol {
  padding-top: 1.6rem;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 0.72rem;
  color: rgba(255, 245, 238, 0.45);
}
.stopka-dol a { border-bottom: 1px solid rgba(255, 245, 238, 0.22); }

/* ================================= wąskie ekrany ================== */

@media (max-width: 1000px) {
  .naglowek-sekcji { grid-template-columns: 1fr; align-items: start; }
  .dwie-szpalty { grid-template-columns: 1fr; }
  .dwie-szpalty.odwrotnie > :first-child { order: 0; }
  .kontakt-uklad { grid-template-columns: 1fr; }
  .nawigacja {
    position: fixed;
    inset: 4.7rem 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--krem);
    border-bottom: var(--ramka);
    padding: 0.5rem 1.25rem 1.25rem;
    box-shadow: 0 18px 40px rgba(23, 18, 15, 0.14);
    animation: wejscie 0.35s var(--sprezyscie) both;
  }
  .nawigacja[hidden] { display: none; }
  .nawigacja a { padding: 0.9rem 0; border-bottom: var(--ramka); }
  .nawigacja a::after { display: none; }
  .menu-przycisk { display: inline-block; }
  .naglowek-tresc { min-height: 4.3rem; }
  /* Jeden kadr na całą szerokość i pionowy, bo poziomy 3:2 na telefonie
     robi się paskiem wysokim na kilka centymetrów. */
  .scena { max-width: 30rem; padding-bottom: 0; }
  .kadr-lewy, .kadr-prawy { display: none; }
  .kadr-srodek { width: 100%; aspect-ratio: 4 / 5; border-radius: 24px; }
  .znaczek-cena { left: 0.6rem; bottom: 1rem; }
  .znaczek-czas { right: 0.6rem; top: 1rem; }
  .wejscie-srodek { animation: karta-srodek 1.15s var(--sprezyscie) 0.35s both; }
}

@media (max-width: 720px) {
  :root { --szpalta: min(1280px, 100% - 2rem); }
  /* Trzy rzeczy na 375 px: znak, przycisk menu i przycisk zamawiania.
     Bez zaciśnięcia odstępów ostatni z nich łamie się na dwie linijki. */
  .naglowek-tresc { gap: 0.55rem; }
  .naglowek-znak { width: 92px; }
  .menu-przycisk { padding: 0.5rem 0.8rem; font-size: 0.64rem; letter-spacing: 0.12em; }
  .naglowek .guzik { padding: 0.55rem 0.85rem; font-size: 0.62rem; letter-spacing: 0.1em; white-space: nowrap; }
  .pasek-tresc { justify-content: center; text-align: center; }
  .pasek-lokale { display: none; }
  .dane-kontaktowe div { grid-template-columns: 1fr; gap: 0.2rem; }
  .stopka-gora { grid-template-columns: 1fr; }
  .hero-guziki .guzik { flex: 1 1 100%; justify-content: center; }
}

/* ================================= znaki marki ==================== */
/* SVG wczytywane jako maska, żeby jeden plik dał się pomalować tuszem
   na kremie i kremem na tuszu, i żeby przeglądarka trzymała go w pamięci. */

.znak-marki,
.pieczec-marki {
  display: block;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.znak-marki {
  -webkit-mask-image: url('/grafiki/znak-sushi-w-dlon.svg');
  mask-image: url('/grafiki/znak-sushi-w-dlon.svg');
  aspect-ratio: 2136 / 1172;
}
.pieczec-marki {
  -webkit-mask-image: url('/grafiki/pieczec-sushi-w-dlon.svg');
  mask-image: url('/grafiki/pieczec-sushi-w-dlon.svg');
  aspect-ratio: 2008 / 1980;
}
