/* Pupil — sklep zoologiczny, Włocławek */

/* ───────────── Fonty (lokalnie, z polskimi znakami) ───────────── */
@font-face {
  font-family: 'Unbounded Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(../fonts/unbounded-latin-ext-wght-normal.woff2) format('woff2-variations'), url(../fonts/unbounded-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Unbounded Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(../fonts/unbounded-latin-wght-normal.woff2) format('woff2-variations'), url(../fonts/unbounded-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url(../fonts/dm-sans-latin-ext-wght-normal.woff2) format('woff2-variations'), url(../fonts/dm-sans-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url(../fonts/dm-sans-latin-wght-normal.woff2) format('woff2-variations'), url(../fonts/dm-sans-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --edge: #971b18;
  --red: #971b18;
  --red-deep: #7d1512;
  --blood: #5a0b0d;
  --ink: #1c0709;
  --cream: #fff3e3;
  --paper: #f8e7d1;
  --cream-dim: rgba(255, 243, 227, 0.78);
  --ink-dim: rgba(28, 7, 9, 0.72);
  --butter: #ffd54a;
  --green: #1d8a4a;
  --glass: rgba(255, 236, 225, 0.12);
  --glass-strong: rgba(255, 236, 225, 0.18);
  --line: rgba(255, 236, 225, 0.26);
  --line-ink: rgba(28, 7, 9, 0.2);
  --display: 'Unbounded Variable', 'Arial Black', sans-serif;
  --body: 'DM Sans Variable', system-ui, sans-serif;
  --gutter: clamp(16px, 3.2vw, 56px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { margin: 0; }

body {
  background: var(--edge);
  color: var(--cream);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
img { display: block; max-width: 100%; height: auto; }

:focus-visible { outline: 2px solid var(--butter); outline-offset: 3px; }
.sec--cream :focus-visible, .sec--butter :focus-visible { outline-color: var(--ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  padding: 12px 18px; background: var(--butter); color: var(--ink);
  font-family: var(--display); font-size: 13px; font-weight: 700;
}
.skip:focus { top: 12px; }

/* ───────────── Komunikat ───────────── */
.notice {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px var(--gutter);
  background: var(--butter); color: var(--ink);
  font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  text-align: center;
}
.notice svg { flex: none; }

/* ═════════════ HERO (z projektu bazowego) ═════════════ */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
  background: var(--edge);
  touch-action: pan-y;
}

.stage { position: absolute; inset: 0; z-index: -3; background: var(--edge); }
.stage__canvas {
  /* zapas na paralaksę — canvas przesuwa się w CSS o pełne piksele, bez skalowania */
  position: absolute; left: -12px; top: -8px;
  width: calc(100% + 24px); height: calc(100% + 16px); display: block;
  opacity: 0;
  transition: opacity 0.9s ease;
  will-change: transform;
}
.stage.is-ready .stage__canvas { opacity: 1; }

.ui { --ui-scale: 1; position: absolute; inset: 0; zoom: var(--ui-scale); }
@media (min-width: 901px) and (min-aspect-ratio: 11/10) {
  .ui { --ui-scale: 0.75; }
}

.hero__shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(58, 4, 8, 0.42) 0%, rgba(58, 4, 8, 0.12) 34%, transparent 52%),
    linear-gradient(0deg, rgba(40, 2, 6, 0.38) 0%, transparent 26%),
    linear-gradient(180deg, rgba(40, 2, 6, 0.25) 0%, transparent 16%);
}

.hero__grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.06; /* zwykłe mieszanie (bez mix-blend-mode) — tanie przy każdej klatce psa */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 -0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Nav */
.nav {
  position: absolute; inset: 0 0 auto; z-index: 10;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 18px var(--gutter);
}
.nav__side { display: flex; align-items: center; gap: 22px; }
.nav__side--end { justify-content: flex-end; gap: 10px; }
.nav__pills { display: flex; gap: 6px; }
.nav__side--end .nav__pills { margin-right: 14px; }

.nav__avatar img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--cream); box-shadow: 0 6px 18px rgba(40, 0, 4, 0.35);
}

.pill {
  font-family: var(--display); font-size: 11px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 10px 16px; border-radius: 999px;
  background: var(--glass); border: 1px solid transparent;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.pill:hover { border-color: var(--line); background: var(--glass-strong); }
.pill--active { background: var(--cream); color: var(--ink); font-weight: 650; }
.pill--active:hover { background: #fff; }

.logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--display); font-size: 19px; font-weight: 500;
  letter-spacing: -0.02em; text-transform: lowercase;
}
.logo b, .topbar__logo b { font-weight: 800; }
.logo .paw { color: var(--butter); transition: transform 0.5s var(--ease-out); }
.logo:hover .paw { transform: rotate(-18deg) scale(1.1); }

.icon-btn {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  transition: background 0.3s;
}
.icon-btn:hover { background: var(--glass-strong); }
.icon-btn .i-close, .icon-btn.is-open .i-grid { display: none; }
.icon-btn.is-open .i-close { display: block; }

.menu {
  position: absolute; top: calc(100% - 6px); right: var(--gutter);
  display: grid; min-width: 220px; padding: 8px; border-radius: 22px;
  background: rgba(40, 6, 9, 0.8); border: 1px solid var(--line);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transform-origin: top right; animation: pop 0.35s var(--ease-out);
  color: var(--cream);
}
.menu[hidden] { display: none; }
.menu a {
  font-family: var(--display); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 13px 16px; border-radius: 14px;
}
.menu a:hover { background: var(--glass-strong); }
.menu .menu__tel { margin-top: 6px; background: var(--butter); color: var(--ink); font-weight: 700; text-align: center; }
.menu .menu__tel:hover { background: #ffe07a; }
@keyframes pop { from { opacity: 0; transform: scale(0.94) translateY(-6px); } }

/* Copy */
.copy {
  position: absolute; z-index: 5; top: 0; bottom: 0; left: var(--gutter);
  width: min(38vw, 560px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(150px, 20vh, 230px) 0 clamp(24px, 5vh, 52px);
  pointer-events: none;
}
.copy > * { pointer-events: auto; }
.copy__top { position: relative; margin-block: auto; }

.kicker {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 12px;
  margin: 0 0 20px;
  font-family: var(--display); font-size: 13px; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.kicker__check {
  display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--butter); color: var(--ink);
}
.kicker__check svg:last-child { display: none; }
.kicker.is-closed .kicker__check { background: var(--cream); }
.kicker.is-closed .kicker__check svg:first-child { display: none; }
.kicker.is-closed .kicker__check svg:last-child { display: block; }
.kicker__addr { color: var(--cream-dim); }

.eye {
  position: absolute; top: -84px; left: clamp(200px, 17vw, 270px);
  width: 78px; height: 78px; border-radius: 50%;
  border: 2px solid var(--cream);
  display: grid; place-items: center;
  animation: blink 6s infinite;
}
.eye__pupil {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--cream); box-shadow: 0 0 0 6px rgba(255, 243, 227, 0.12);
  will-change: transform;
}
@keyframes blink {
  0%, 46%, 50%, 100% { transform: scaleY(1); }
  48% { transform: scaleY(0.08); }
}

.headline {
  margin: 0;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(44px, 5.6vw, 100px);
  line-height: 1.08; letter-spacing: -0.035em; text-transform: uppercase;
  text-shadow: 0 2px 30px rgba(60, 0, 6, 0.28);
}
.headline > span:not(.sr-only),
.headline em { display: block; }
.headline em { font-style: normal; color: var(--butter); }

.lede {
  margin: 26px 0 0; max-width: 36ch;
  font-size: clamp(15px, 1.12vw, 18px); line-height: 1.55;
  color: var(--cream-dim); text-shadow: 0 1px 14px rgba(60, 0, 6, 0.35);
}

.copy__bottom { display: grid; gap: 22px; }
.ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 14px;
  height: 64px; border-radius: 999px;
  font-family: var(--display); font-weight: 650;
  text-transform: uppercase; letter-spacing: 0.02em;
  transition: transform 0.4s var(--ease-out), background 0.3s, box-shadow 0.4s;
}
.btn:active { transform: scale(0.97); }
.btn--ink {
  padding: 0 28px 0 32px; font-size: 17px;
  background: var(--ink); color: var(--cream);
  box-shadow: 0 14px 34px rgba(30, 0, 4, 0.4);
}
.btn--ink svg { transition: transform 0.4s var(--ease-out); }
.btn--ink:hover { background: #2c0a0e; box-shadow: 0 18px 44px rgba(30, 0, 4, 0.5); }
.btn--ink:hover svg { transform: translateX(5px); }
.btn--ghost {
  padding: 0 26px 0 8px; font-size: 12px; line-height: 1.15; text-align: left;
  border: 1.5px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--cream); background: var(--glass); }
.btn__play {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--butter); color: var(--ink); padding-left: 2px;
  transition: transform 0.5s var(--ease-out);
}
.btn--ghost:hover .btn__play { transform: scale(1.08); }

.meter {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--display); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--cream-dim);
}
.meter__live { display: inline-flex; align-items: center; gap: 8px; min-width: 100px; }
.meter__live b { font-weight: inherit; }
.meter__live i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--butter); box-shadow: 0 0 0 0 rgba(255, 213, 74, 0.6);
  animation: ping 1.8s infinite;
}
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 8px rgba(255, 213, 74, 0); } }
.meter__track {
  position: relative; width: 150px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--line), rgba(255, 243, 227, 0.55) 50%, var(--line));
}
.meter__track i {
  position: absolute; top: 50%; left: 0; transform: translate3d(75px, 0, 0);
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--cream); box-shadow: 0 0 12px rgba(255, 243, 227, 0.6);
}
.meter__label { min-width: 100px; color: var(--cream); }

/* Orbit */
.orbit {
  position: absolute; z-index: 4; left: 34%; bottom: clamp(20px, 5vh, 48px);
  width: 156px; height: 156px;
  display: grid; place-items: center; pointer-events: none;
}
.orbit__ring { position: absolute; inset: 0; animation: spin 22s linear infinite; }
.orbit__ring text {
  fill: var(--cream-dim); font-family: var(--display);
  font-size: 13.5px; letter-spacing: 0.08em;
}
.orbit__arrow { display: grid; color: var(--cream); will-change: transform; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Prawa kolumna */
.aside { position: absolute; z-index: 5; right: var(--gutter); top: 32%; width: 260px; }
.mission__title {
  margin: 14px 0 6px !important;
  font-family: var(--display); font-size: 17px; font-weight: 650;
  line-height: 1.2; letter-spacing: -0.01em; color: var(--cream) !important;
}
.mission p { margin: 0; font-size: 14px; color: var(--cream-dim); }

.avatars { display: flex; align-items: center; }
.avatars img {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  border: 2.5px solid var(--cream); margin-left: -12px;
  box-shadow: 0 6px 16px rgba(40, 0, 4, 0.3);
  transition: transform 0.4s var(--ease-out);
}
.avatars img:first-child { margin-left: 0; }
.avatars img:hover { transform: translateY(-5px); z-index: 1; }
.avatars__more {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-left: -12px; border-radius: 50%;
  background: var(--butter); color: var(--ink);
  font-family: var(--display); font-size: 11px; font-weight: 700;
  border: 2.5px solid var(--cream);
}

.dock {
  position: absolute; z-index: 5; right: 0; bottom: clamp(20px, 5vh, 48px);
  width: min(46vw, 640px); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
  mask-image: linear-gradient(90deg, #000 88%, transparent);
}
.cards { display: flex; gap: 14px; padding: 8px 60px 0 0; }
.card {
  position: relative; flex: 0 0 216px; height: 236px; padding: 20px;
  border-radius: 26px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 236, 225, 0.2), rgba(255, 236, 225, 0.07));
  border: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform 0.6s var(--ease-out), border-color 0.3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255, 243, 227, 0.5); }
.card__text { position: relative; z-index: 1; max-width: 124px; }
.card h3 {
  margin: 0 0 8px; font-family: var(--display); font-size: 15px; font-weight: 700;
  line-height: 1.12; letter-spacing: -0.01em;
}
.card p { margin: 0; font-size: 12.5px; line-height: 1.35; color: var(--cream-dim); }
.card__go {
  position: relative; z-index: 1; align-self: flex-start;
  padding: 9px 16px; border-radius: 999px;
  background: var(--cream); color: var(--ink);
  font-family: var(--display); font-size: 11px; font-weight: 700; text-transform: uppercase;
  transition: background 0.3s, transform 0.4s var(--ease-out);
}
.card__go:hover { background: var(--butter); transform: scale(1.06); }
.card__go::after { content: ''; position: absolute; inset: -400px; }
.card__peek {
  position: absolute; right: -62px; bottom: 18px; width: 170px; height: 170px;
  object-fit: cover; border-radius: 50% 0 0 50%;
  -webkit-mask-image: radial-gradient(circle at 60% 50%, #000 58%, transparent 72%);
  mask-image: radial-gradient(circle at 60% 50%, #000 58%, transparent 72%);
  transition: transform 0.8s var(--ease-out);
}
.card:hover .card__peek { transform: translateX(-16px) rotate(-4deg); }

.reveal {
  animation: rise 1.1s var(--ease-out) both;
  animation-delay: calc(0.25s + var(--d, 0) * 0.09s);
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } }

/* ═════════════ Pasek po przewinięciu ═════════════ */
.topbar {
  position: fixed; z-index: 50; top: 10px; left: var(--gutter); right: var(--gutter);
  display: flex; align-items: center; gap: 22px;
  height: 60px; padding: 0 10px 0 20px; border-radius: 18px;
  background: rgba(28, 7, 9, 0.88); color: var(--cream);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 12px 34px rgba(20, 0, 3, 0.28);
  transform: translateY(-140%); opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.3s;
}
.topbar.is-visible { transform: none; opacity: 1; }
.topbar__logo {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--display); font-size: 17px; font-weight: 500; letter-spacing: -0.02em;
}
.topbar__logo .paw { color: var(--butter); }
.topbar__links { display: flex; gap: 4px; margin-left: 12px; }
.topbar__links a {
  position: relative; padding: 8px 10px;
  font-family: var(--display); font-size: 11px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream-dim);
  transition: color 0.3s;
}
.topbar__links a::after {
  content: ''; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px;
  background: var(--butter); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.topbar__links a:hover, .topbar__links a.is-active { color: var(--cream); }
.topbar__links a.is-active::after { transform: scaleX(1); }
.topbar__status { margin-left: auto !important; }
.topbar__phone {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 16px; border-radius: 12px;
  background: var(--butter); color: var(--ink);
  font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: 0.01em;
  transition: background 0.3s;
}
.topbar__phone:hover { background: #ffe07a; }
.topbar__menu { display: none; }
.menu--bar { top: calc(100% + 8px); right: 0; }

/* Status otwarcia (kropka + tekst) */
.status {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font-family: var(--display); font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.status i {
  flex: none; width: 9px; height: 9px; border-radius: 50%;
  background: #e0563f;
}
.status.is-open i { background: #3fd07a; animation: ping-g 1.8s infinite; }
@keyframes ping-g { 0% { box-shadow: 0 0 0 0 rgba(63, 208, 122, 0.55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(63, 208, 122, 0); } }

/* ═════════════ Sekcje ═════════════ */
.wrap { width: min(100% - 2 * var(--gutter), 1480px); margin-inline: auto; }

.sec { position: relative; padding-block: clamp(72px, 9vw, 140px); }
.sec--cream { background: var(--cream); color: var(--ink); }
.sec--red { background: var(--red); color: var(--cream); }
.sec--ink { background: var(--ink); color: var(--cream); }
.sec--butter { background: var(--butter); color: var(--ink); overflow: hidden; }

.label {
  display: flex; align-items: center; gap: 14px; margin: 0 0 22px;
  font-family: var(--display); font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.label b {
  display: inline-grid; place-items: center;
  min-width: 38px; height: 38px; padding: 0 8px; border-radius: 50%;
  border: 2px solid currentColor; font-size: 12px; font-weight: 800;
}
.label::after { content: ''; flex: 0 0 56px; height: 2px; background: currentColor; opacity: 0.5; }

.sec__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  grid-template-areas: 'label label' 'title intro';
  align-items: end; gap: 0 clamp(32px, 6vw, 100px);
}
.sec__head .label { grid-area: label; }
.sec__title {
  grid-area: title; margin: 0;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(40px, 6.2vw, 108px);
  line-height: 1.04; letter-spacing: -0.04em; text-transform: uppercase;
  text-wrap: balance;
}
.sec__title em { font-style: normal; }
.sec--cream .sec__title em { color: var(--red); }
.sec--red .sec__title em, .sec--ink .sec__title em { color: var(--butter); }
.sec--butter .sec__title em { color: var(--red); }
.sec__intro {
  grid-area: intro; margin: 0 0 0.4em;
  font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55;
}
.sec--cream .sec__intro { color: var(--ink-dim); }
.sec--red .sec__intro { color: var(--cream-dim); }
.sec__head--solo { grid-template-areas: 'label' 'title'; grid-template-columns: 1fr; }

/* ───────────── Oferta: "alejki" ───────────── */
.aisles {
  list-style: none; margin: clamp(44px, 6vw, 84px) 0 0; padding: 0;
  border-top: 3px solid var(--ink);
}
.aisle {
  position: relative; isolation: isolate;
  display: grid;
  grid-template-columns: 64px minmax(0, 1.6fr) minmax(0, 1fr) auto;
  align-items: center; gap: 12px clamp(20px, 3vw, 48px);
  padding: clamp(20px, 2.4vw, 34px) 0;
  border-bottom: 1.5px solid var(--line-ink);
  transition: color 0.35s;
}
.aisle::before {
  content: ''; position: absolute; z-index: -1;
  inset: 0 calc(-1 * var(--gutter));
  background: var(--red);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.5s var(--ease-out);
}
.aisle:hover { color: var(--cream); }
.aisle:hover::before { transform: scaleY(1); }
.aisle__no { font-family: var(--display); font-size: 14px; font-weight: 700; opacity: 0.6; }
.aisle__name {
  margin: 0; font-family: var(--display); font-weight: 800;
  font-size: clamp(30px, 4.1vw, 66px);
  line-height: 1; letter-spacing: -0.035em; text-transform: uppercase;
  overflow-wrap: break-word;
  transition: transform 0.6s var(--ease-out);
}
.aisle:hover .aisle__name { transform: translateX(14px); }
.aisle__desc { margin: 0; max-width: 44ch; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.5; }
.aisle__ask {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 12px 0;
}
.aisle__ask svg { transition: transform 0.4s var(--ease-out); }
.aisle:hover .aisle__ask svg { transform: translateX(6px); }
.aisle__ask::after { content: ''; position: absolute; inset: 0; }

.aisles__note {
  margin: clamp(28px, 3vw, 44px) 0 0;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(20px, 2vw, 32px); line-height: 1.2; letter-spacing: -0.02em;
}
.aisles__note a { color: var(--red); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; white-space: nowrap; }
.aisles__note a:hover { color: var(--ink); }

/* ───────────── Promocje: półka z etykietami ───────────── */
.shelf { position: relative; width: min(100% - 2 * var(--gutter), 1480px); margin: clamp(44px, 6vw, 80px) auto 0; }
.shelf__rail {
  position: relative; z-index: 2; height: 20px; border-radius: 4px;
  background: linear-gradient(180deg, #3a1014 0%, #1c0709 55%, #0e0304 100%);
  box-shadow: 0 16px 30px rgba(30, 0, 4, 0.38), inset 0 2px 0 rgba(255, 243, 227, 0.14);
}
.tags {
  list-style: none; margin: 0; padding: 0 clamp(4px, 1.4vw, 22px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(16px, 2vw, 30px);
}
.tag {
  position: relative; margin-top: 16px;
  padding: 24px 22px 22px;
  background: var(--butter); color: var(--ink);
  transform-origin: 50% -16px;
  transform: rotate(var(--r, 0deg));
  box-shadow: 0 22px 34px rgba(40, 0, 4, 0.32);
  transition: transform 0.7s var(--ease-out);
}
.tag:hover { transform: rotate(0deg) translateY(4px); }
.tag__clip {
  position: absolute; top: -18px; left: 50%; width: 54px; height: 26px;
  transform: translateX(-50%); border-radius: 3px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.tag__top {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  margin: 0; padding-bottom: 12px; border-bottom: 2px solid var(--ink);
  font-family: var(--display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.tag__off { padding: 5px 9px; background: var(--ink); color: var(--butter); font-size: 13px; }
.tag__name {
  margin: 16px 0 6px; font-family: var(--display); font-size: clamp(18px, 1.35vw, 22px);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.015em;
}
.tag__note { margin: 0; font-size: 15px; color: var(--ink-dim); }
.tag__price {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  margin: 22px 0 0;
}
.tag__old { font-size: 16px; font-weight: 500; color: var(--ink-dim); padding-bottom: 8px; white-space: nowrap; }
.tag__new {
  display: flex; align-items: flex-start; margin-left: auto;
  font-family: var(--display); font-weight: 900;
  font-size: clamp(54px, 5vw, 80px); line-height: 0.82; letter-spacing: -0.05em;
}
.tag__new sup { font-size: 0.42em; line-height: 1; margin-left: 2px; letter-spacing: -0.02em; }
.tag__new small {
  align-self: flex-end; margin-left: -1.55em; margin-bottom: 0.02em;
  font-size: 0.26em; letter-spacing: 0; width: 1.5em;
}
.shelf__empty {
  margin: 36px 0 0; font-family: var(--display); font-weight: 700;
  font-size: clamp(22px, 2.4vw, 36px); line-height: 1.2; color: var(--cream);
}

/* ───────────── O nas ───────────── */
.about {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
  align-items: center; gap: clamp(36px, 6vw, 110px);
}
.about__lede {
  margin: clamp(24px, 3vw, 40px) 0 0; max-width: 56ch;
  font-size: clamp(18px, 1.45vw, 22px); line-height: 1.55; color: var(--cream-dim);
}
.about__fig { margin: 0; }
.about__fig img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  border: 3px solid var(--cream);
}
.about__fig figcaption {
  margin-top: 20px; font-size: 15px; line-height: 1.45; color: var(--cream-dim);
  padding-left: 18px; border-left: 3px solid var(--butter);
}

.stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(56px, 8vw, 120px);
  border-top: 1.5px solid var(--line);
}
.stat { padding: clamp(24px, 3vw, 40px) clamp(16px, 2.4vw, 36px) 0 0; }
.stat + .stat { padding-left: clamp(16px, 2.4vw, 36px); border-left: 1.5px solid var(--line); }
.stat__num {
  margin: 0; font-family: var(--display); font-weight: 800;
  font-size: clamp(60px, 9vw, 156px); line-height: 0.88; letter-spacing: -0.055em;
  white-space: nowrap;
}
.stat__num span { color: var(--butter); font-size: 0.4em; vertical-align: top; margin-left: 0.08em; }
.stat__label {
  margin: 18px 0 0; font-family: var(--display); font-size: 12px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase; line-height: 1.5; color: var(--cream-dim);
}

/* ───────────── Dowóz ───────────── */
.delivery { position: relative; z-index: 1; }
.delivery__head { max-width: 1100px; padding-right: clamp(0px, 22vw, 380px); }
.delivery__head .sec__intro { margin-top: 28px; max-width: 46ch; color: var(--ink-dim); }
.delivery__phone {
  display: block; margin-top: clamp(40px, 5vw, 72px);
  padding-top: clamp(20px, 2vw, 28px); border-top: 3px solid var(--ink);
}
.delivery__call {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.delivery__num {
  display: block; margin-top: 8px;
  font-family: var(--display); font-weight: 900;
  font-size: clamp(44px, 10.5vw, 196px); line-height: 0.95; letter-spacing: -0.05em;
  white-space: nowrap; transition: color 0.3s;
}
.delivery__phone:hover .delivery__num { color: var(--red); }
.delivery__peek {
  position: absolute; z-index: 0; top: clamp(40px, 6vw, 100px); right: calc(-1 * clamp(60px, 7vw, 130px));
  width: clamp(200px, 30vw, 500px); aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  border: 3px solid var(--ink);
  transition: transform 0.9s var(--ease-out);
}
.sec--butter:hover .delivery__peek { transform: translateX(-20px) rotate(-5deg); }

/* ───────────── Kontakt ───────────── */
.visit {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 110px); margin-top: clamp(40px, 5vw, 72px); align-items: start;
}
.visit__addr {
  margin: 0; font-family: var(--display); font-weight: 700;
  font-size: clamp(26px, 2.8vw, 46px); line-height: 1.08; letter-spacing: -0.025em;
}
.visit .status { margin-top: 22px; font-size: 12px; }

.hours { width: 100%; margin-top: 26px; border-collapse: collapse; font-size: 18px; }
.hours th, .hours td { padding: 13px 14px; border-bottom: 1.5px solid var(--line-ink); }
.hours th { text-align: left; font-weight: 500; }
.hours td { text-align: right; font-family: var(--display); font-size: 16px; font-weight: 600; white-space: nowrap; }
.hours tr:first-child th, .hours tr:first-child td { border-top: 3px solid var(--ink); }
.hours tr.is-today { background: var(--ink); color: var(--cream); }
.hours tr.is-today th::after {
  content: 'dziś'; margin-left: 10px; padding: 3px 7px; border-radius: 4px;
  background: var(--butter); color: var(--ink);
  font-family: var(--display); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  vertical-align: 2px;
}
.hours__note { margin: 16px 0 0; font-size: 16px; color: var(--ink-dim); }

.visit__links { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 30px; }
.visit__links a {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--display); font-size: 14px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px;
  transition: color 0.3s;
}
.visit__links a:hover { color: var(--red); }

/* Formularz */
.form {
  padding: clamp(26px, 3.4vw, 52px);
  background: var(--red); color: var(--cream);
  display: grid; gap: 22px;
}
.form__title {
  margin: 0; font-family: var(--display); font-weight: 800;
  font-size: clamp(28px, 2.8vw, 44px); line-height: 1; letter-spacing: -0.03em; text-transform: uppercase;
}
.form__intro { margin: -8px 0 6px; font-size: 16px; line-height: 1.5; color: var(--cream-dim); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 6px; }
.field > span {
  font-family: var(--display); font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-dim);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 0 12px;
  background: transparent; color: var(--cream);
  border: 0; border-bottom: 2px solid rgba(255, 243, 227, 0.45); border-radius: 0;
  font: 500 18px/1.4 var(--body);
  transition: border-color 0.3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20' fill='none' stroke='%23fff3e3' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center;
}
.field select option { color: var(--ink); background: var(--cream); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--butter); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--cream-dim); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--butter); }
.consent a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.form__result { margin: 0; font-size: 15px; font-weight: 600; }
.form__result.is-ok { color: var(--butter); }
.form__result.is-err { color: #ffd0c4; }

.btn-sq {
  display: inline-flex; align-items: center; gap: 12px;
  height: 58px; padding: 0 26px; border-radius: 4px;
  background: var(--butter); color: var(--ink);
  font-family: var(--display); font-size: 14px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  transition: background 0.3s, transform 0.3s var(--ease-out);
}
.btn-sq:hover { background: #ffe07a; }
.btn-sq:hover svg { transform: translateX(4px); }
.btn-sq svg { transition: transform 0.4s var(--ease-out); }
.btn-sq:active { transform: scale(0.98); }
.btn-sq[disabled] { opacity: 0.6; cursor: progress; }
.btn-sq--light { background: var(--cream); }
.btn-sq--light:hover { background: #fff; }

/* Mapa */
.map {
  position: relative; margin-top: clamp(56px, 8vw, 110px);
  height: clamp(340px, 40vw, 540px);
  background:
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(255, 243, 227, 0.06) 118px 120px),
    repeating-linear-gradient(0deg, transparent 0 118px, rgba(255, 243, 227, 0.06) 118px 120px),
    linear-gradient(28deg, transparent 47%, rgba(255, 213, 74, 0.22) 47% 50%, transparent 50%),
    var(--ink);
  color: var(--cream); overflow: hidden;
}
.map__cover {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center;
  gap: 16px; padding: 24px; text-align: center;
}
.map__street {
  margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(40px, 7vw, 120px); line-height: 0.9; letter-spacing: -0.05em;
}
.map__note { margin: 0 0 8px; max-width: 46ch; font-size: 15px; color: var(--cream-dim); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map.is-loaded .map__cover { display: none; }

/* ───────────── Stopka ───────────── */
.foot { background: var(--blood); color: var(--cream); padding-top: clamp(56px, 7vw, 100px); overflow: hidden; }
.foot__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot__h {
  margin: 0 0 14px; font-family: var(--display); font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--butter);
}
.foot p { margin: 0; font-size: 17px; line-height: 1.6; }
.foot a:hover { color: var(--butter); }
.foot__hours { display: block; }
.foot__hours b { display: inline-block; min-width: 72px; font-weight: 700; }
.foot__nav { display: flex; flex-direction: column; }
.foot__mark {
  margin: clamp(20px, 3vw, 40px) 0 0 !important;
  font-family: var(--display); font-weight: 900; text-align: center;
  font-size: clamp(120px, 30vw, 560px) !important; line-height: 0.74 !important; letter-spacing: -0.07em;
  color: var(--red); user-select: none;
  transform: translateY(0.12em);
}
.foot__bottom {
  position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  margin-top: clamp(40px, 5vw, 72px); padding: 20px 0; border-top: 1px solid var(--line);
}
#kontakt { padding-bottom: 0; }
.foot__bottom p { font-size: 14px; color: var(--cream-dim); }

/* Pojawianie się przy przewijaniu */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .tag[data-reveal] { transform: rotate(var(--r, 0deg)) translateY(28px); }
.js .tag[data-reveal].is-in { transform: rotate(var(--r, 0deg)); transition: opacity 0.9s var(--ease-out), transform 0.7s var(--ease-out); }
.js .tag[data-reveal].is-in:hover { transform: rotate(0deg) translateY(4px); }
.tags .tag:nth-child(2) { transition-delay: 0.08s; }
.tags .tag:nth-child(3) { transition-delay: 0.16s; }
.tags .tag:nth-child(4) { transition-delay: 0.24s; }

/* ═════════════ Responsywność ═════════════ */

@media (max-width: 1280px) {
  .nav__side--end .nav__pills .pill:last-child { display: none; }
  .dock { width: min(52vw, 560px); }
  .orbit { left: 36%; width: 132px; height: 132px; }
  .topbar__status { display: none !important; }
  .topbar__phone { margin-left: auto; }
}

@media (max-width: 1080px) {
  .nav__pills { display: none; }
  .aside { top: 26%; }
  .orbit { display: none; }
  .copy { width: min(44vw, 520px); }
  .topbar__links { display: none; }
  .topbar__menu { display: grid; }
  .sec__head { grid-template-columns: 1fr; grid-template-areas: 'label' 'title' 'intro'; }
  .sec__intro { margin-top: 24px; max-width: 58ch; }
  .aisle { grid-template-columns: 52px minmax(0, 1fr) auto; }
  .aisle__desc { grid-column: 2 / 3; }
  .aisle__ask { grid-column: 3; grid-row: 1; }
  .visit { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px), (max-aspect-ratio: 11/10) {
  .hero { min-height: 700px; }
  .nav { padding-top: 14px; }
  .nav__avatar img { width: 38px; height: 38px; }
  .logo { font-size: 17px; }
  .nav__pills { display: none; }

  .copy {
    left: var(--gutter); right: var(--gutter); width: auto; bottom: auto;
    padding: 96px 0 0; justify-content: flex-start; gap: 24px;
  }
  .eye { width: 54px; height: 54px; top: -4px; left: auto; right: 0; }
  .eye__pupil { width: 14px; height: 14px; }
  .kicker { font-size: 11px; margin-bottom: 14px; padding-right: 64px; }
  .headline { font-size: clamp(38px, 10.5vw, 80px); }
  .headline > span:not(.sr-only), .headline em { display: inline; }
  .lede { margin-top: 16px; font-size: 15px; }
  .ctas { gap: 10px; }
  .btn { height: 56px; gap: 10px; }
  .btn--ink { font-size: 14px; padding: 0 18px 0 22px; }
  .btn--ghost { padding-right: 18px; font-size: 11px; }
  .btn__play { width: 42px; height: 42px; }
  .meter { display: none; }
  .aside, .dock, .orbit { display: none; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .sec__title { font-size: min(9vw, 56px); }
  .kicker { flex-wrap: nowrap; align-items: flex-start; }
  .kicker__check { flex: none; margin-top: -4px; }
  .kicker__addr { display: none; }
  .topbar { height: 56px; top: 8px; gap: 12px; padding-left: 16px; }
  .topbar__phone span { display: none; }
  .topbar__phone { width: 42px; padding: 0; justify-content: center; }
  .label::after { display: none; }
  .aisle { grid-template-columns: 1fr; gap: 8px; }
  .aisle__no { display: none; }
  .aisle__name { grid-column: 1; font-size: min(8.2vw, 44px); }
  .aisle__desc { grid-column: 1; }
  .aisle__ask { grid-column: 1; grid-row: auto; justify-self: start; padding: 4px 0 0; font-size: 11px; }
  .aisle:hover .aisle__name { transform: none; }
  .tags { grid-template-columns: 1fr 1fr; gap: 14px; padding: 0; }
  .tag { padding: 20px 14px 16px; }
  .tag__top { font-size: 9.5px; }
  .tag__off { font-size: 11px; padding: 4px 6px; }
  .tag__name { font-size: 15px; }
  .tag__note { font-size: 13px; }
  .tag__price { flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 14px; }
  .tag__old { padding: 0; font-size: 14px; }
  .tag__new { margin-left: 0; font-size: 44px; }
  .about { grid-template-columns: 1fr; }
  .about__fig { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; }
  .about__fig figcaption { margin: 0; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 22px 0; border-left: 0; border-bottom: 1.5px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
  .stat__num { font-size: 64px; }
  .stat__label { margin: 0; text-align: right; max-width: 22ch; }
  .delivery__head { padding-right: 0; }
  .delivery__peek { position: relative; top: auto; right: auto; width: 150px; margin: 24px 0 -40px auto; transform: translateX(34px); }
  .sec--butter:hover .delivery__peek { transform: translateX(34px); }
  .delivery__num { font-size: 11.5vw; }
  .form__row { grid-template-columns: 1fr; }
  .hours { font-size: 16px; }
  .hours th, .hours td { padding: 12px 10px; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .foot p { font-size: 15px; }
}

@media (max-width: 480px) {
  .btn--ghost { display: none; }
}

@media (max-width: 420px) {
  .tags { grid-template-columns: 1fr; }
  .tag__price { flex-direction: row; align-items: flex-end; }
  .foot__grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .lede { font-size: 14px; }
  .btn--ghost br { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .eye, .orbit__ring, .meter__live i, .status.is-open i { animation: none; }
  .stage__canvas { transition: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .tag[data-reveal] { transform: rotate(var(--r, 0deg)); }
}
