/* ============================================================
   LenyTV — czysto, czytelnie, z kilkoma odjechanymi momentami.
   Zasada koloru: pomarańczowe jest tylko to, co da się kliknąć.
   Karta i miejscówki = czarne. Świat Lenego i Współpraca = jasne (klasa .theme-light na <body>).
   ============================================================ */

:root {
  --black: #0a0a0a;
  --paper: #ecebe7;
  --orange: #ff6a00;
  --orange-hi: #ff8730;

  --bg: var(--black);
  --fg: #f4f4f1;
  --muted: #a3a39f;
  --surface: #151515;
  --surface-hi: #1e1e1e;
  --line: #2b2b2b;

  --font-display: 'Bricolage Grotesque', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 22px;
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

.theme-light {
  --bg: var(--paper);
  --fg: #111111;
  --muted: #5e5e5a;
  --surface: #ffffff;
  --surface-hi: #f7f6f3;
  --line: #d5d4cf;
}

@property --seam {
  syntax: '<percentage>';
  inherits: true;
  initial-value: 50%;
}
@property --holo {
  syntax: '<angle>';
  inherits: true;
  initial-value: 0deg;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: var(--orange); text-underline-offset: 0.2em; }
a:hover { color: var(--orange-hi); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: #0a0a0a; }
/* tekst tylko dla czytników ekranu i wyszukiwarek (np. dopowiedzenie w tytule hero) */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* treść wpisana przez serwer/build dla robotów i LLM-ów (lista miejscówek, strona partnera, galeria). Gdy działa JavaScript
   (app.js zdejmuje no-js jeszcze w <head>), jest ukryta od pierwszej klatki, a skrypt podmienia ją na właściwy widok */
html:not(.no-js) .ssr { display: none !important; }
.ssr { display: grid; gap: 10px; }
.ssr li { line-height: 1.5; }
.ssr h1 { margin-bottom: 8px; }

/* ---------- typografia ---------- */
.h-display, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); letter-spacing: -0.015em; line-height: 1.15; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ''; width: 1.6em; height: 2px; background: currentColor; }
.lead { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.5; max-width: 34em; }
.muted { color: var(--muted); }

/* ---------- układ ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
/* odstęp między sekcjami = dół jednej + góra następnej; nie zeruj go w HTML */
.section { padding-block: clamp(3rem, 6.5vw, 6rem); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.section-head__side { max-width: 24em; }
@media (min-width: 900px) {
  .section-head--row { grid-template-columns: 1fr auto; align-items: end; column-gap: 48px; }
  .section-head--row > .eyebrow { grid-column: 1 / -1; }
  .section-head--row > .section-head__side { text-align: right; padding-bottom: 0.4em; }
}
.page-top { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)); }
.stack { display: grid; gap: 18px; }
.grid { display: grid; gap: 24px; }
@media (min-width: 820px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
/* cztery kafle: 2 × 2 na tablecie, rząd na szerokim ekranie */
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; } .grid-4 > .panel { padding: 24px; } }
.prose { display: grid; gap: 16px; max-width: 38em; }
/* dokumenty (regulamin, polityka prywatności): sekcje i listy z kropkami */
.doc h2 { margin-top: 1.4rem; font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
.doc h3 { margin-top: 0.4rem; font-size: 1.15rem; }
.doc ul { display: grid; gap: 8px; padding-left: 1.3em; list-style: disc; }
.doc li::marker { color: var(--muted); }

/* ---------- guziki ---------- */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.95em 1.5em;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #0a0a0a;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transform: translate(var(--mx), var(--my));
  transition: background 0.2s, transform 0.25s var(--ease);
}
.btn:hover { background: var(--orange-hi); color: #0a0a0a; }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow, a:hover > .btn .arrow { transform: translateX(5px); }
.btn-lg { font-size: 1.15rem; padding: 1.1em 1.8em; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.85em 1.35em;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--orange);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.btn-ghost:hover { border-color: var(--orange); }

.tag {
  display: inline-block;
  padding: 0.3em 0.75em;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--fg);
  color: var(--bg);
}
.tag-ghost { background: transparent; color: var(--muted); border: 1px dashed var(--muted); }

/* ---------- pasek wersji roboczej ---------- */
.draft-bar {
  position: relative;
  z-index: 60;
  padding: 7px var(--gutter);
  background: #1e1e1e;
  color: #cfcfcb;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
}

/* ---------- nagłówek ---------- */
.header {
  position: fixed;
  top: var(--draft-h, 0px);
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s, backdrop-filter 0.3s, top 0.2s;
}
.header.is-scrolled {
  top: 0;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: var(--fg);
  text-decoration: none;
}
.brand:hover { color: var(--fg); }
/* logo: w nagłówku sam napis LENYTV, w stopce kwadrat w ramce jak na wzorze (img/logo-lenytv*.svg) */
.brand { display: block; line-height: 0; }
.brand__logo { display: block; height: 36px; width: auto; }
.brand--square .brand__logo { height: 104px; }
@media (max-width: 700px) { .header .brand__logo { height: 28px; } }
.header__nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 26px); }
.header__link { color: var(--fg); font-weight: 600; font-size: 0.98rem; text-decoration: none; opacity: 0.85; }
/* małe sociale w prawym górnym rogu (uwaga Lenego); na telefonie tylko nad hero, gdzie przełącznik jest schowany */
.header__social { display: inline-flex; align-items: center; gap: 4px; }
.header__social-label { margin-right: 4px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; color: var(--fg); opacity: 0.7; white-space: nowrap; }
.header__social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--fg); opacity: 0.8; transition: opacity 0.2s, background 0.2s; }
.header__social a:hover { opacity: 1; color: var(--orange); background: color-mix(in srgb, var(--fg) 8%, transparent); }
.header__social svg { width: 17px; height: 17px; fill: currentColor; }
@media (max-width: 1180px) { .header__social-label { display: none; } }
@media (max-width: 700px) { .header__social { display: none; } .header--blend:not(.is-scrolled) .header__social { display: inline-flex; } }
.header--blend:not(.is-scrolled) .header__social a, .header--blend:not(.is-scrolled) .header__social-label { color: #111; }
.header__link:hover, .header__link[aria-current] { color: var(--fg); opacity: 1; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
@media (max-width: 700px) { .header__link { display: none; } }

/* przełącznik: Mam kartę / Współpraca / O LenyTV — widoczny na każdej podstronie */
.switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--fg) 10%, transparent);
  border: 1px solid var(--line);
}
.switch a {
  padding: 0.5em 1em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1;
  text-decoration: none;
  color: var(--orange);
  white-space: nowrap;
}
.switch a[aria-current] { background: var(--fg); color: var(--bg); }
/* telefon: trzy pozycje nie mieszczą się obok logo, więc przełącznik schodzi do drugiego rzędu na całą szerokość.
   Na głównej nad hero przełącznik jest schowany: nagłówek zostaje jednorzędowy, a hero (liczone od --header-h) bez zmian. */
@media (max-width: 700px) {
  body:not(.home) { --header-h: 104px; }
  .header { height: auto; min-height: var(--header-h); padding: 12px 0 10px; }
  .header__row { flex-wrap: wrap; row-gap: 10px; min-width: 0; }
  .header--blend:not(.is-scrolled) .header__row { flex-wrap: nowrap; }
  .header__nav { flex: 1 1 auto; justify-content: flex-end; }
  .header:not(.header--blend) .header__nav, .header.is-scrolled .header__nav { flex-basis: 100%; min-width: 0; }
  .switch { flex: 1 1 0; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .switch a { padding: 0.62em 0.3em; text-align: center; }
}
@media (max-width: 359px) { .switch a { font-size: 0.82rem; } }

/* na stronie głównej nagłówek leży na dwukolorowym hero: logo na czarnej połowie, linki na jasnej
   (bez mix-blend-mode, żeby kolory logo zostały prawdziwe) */
.header--blend:not(.is-scrolled) .header__link { color: #111; }
.header--blend:not(.is-scrolled) .switch { display: none; }

/* ============================================================
   HERO — dwie strony tej samej karty
   ============================================================ */
.hero {
  --seam: 50%;
  --visual-w: clamp(300px, 30vw, 430px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(640px, calc(100svh - var(--draft-h, 0px)), 920px);
  transition: --seam 0.8s var(--ease);
}
.hero[data-side='user'] { --seam: 53.5%; }
.hero[data-side='world'] { --seam: 46.5%; }

.hero__bg { position: absolute; top: 0; bottom: 0; }
.hero__bg--user {
  left: 0;
  width: var(--seam);
  background: radial-gradient(520px circle at var(--sx, 30%) var(--sy, 40%), #242424, #0a0a0a 70%);
}
.hero__bg--world { left: var(--seam); right: 0; background: var(--paper); }

/* wielkie litery w tle: kontur, który sam się odwraca na jasnej połowie */
.hero__bgtext {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0;
  padding-bottom: 10px;
  mix-blend-mode: difference;
  pointer-events: none;
  overflow: hidden;
}
.bigrow { display: flex; width: max-content; animation: slide 46s linear infinite; }
.bigrow--rev { animation-direction: reverse; animation-duration: 58s; }
.bigrow span {
  padding-right: 0.35em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 13vw, 12rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.16);
}
@keyframes slide { to { transform: translateX(-50%); } }

.hero__sides {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: var(--seam) 1fr;
  min-height: inherit;
}
.side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: calc(var(--header-h) + 120px) var(--gutter) 150px;
  text-decoration: none;
}
.side--user { align-items: flex-start; color: #f4f4f1; padding-right: calc(var(--visual-w) / 2 + 28px); }
.side--world { align-items: flex-end; text-align: right; color: #111; padding-left: calc(var(--visual-w) / 2 + 28px); }
.side:hover { color: inherit; }
.side--user:hover { color: #f4f4f1; }
.side--world:hover { color: #111; }
.side--user .eyebrow { color: #a3a39f; }
.side--world .eyebrow { color: #5e5e5a; flex-direction: row-reverse; }
.side__title { font-size: clamp(2.4rem, 4.8vw, 4.4rem); }
.side__text { max-width: 19em; font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.5; opacity: 0.86; }

.hero__title {
  position: absolute;
  z-index: 4;
  top: calc(var(--header-h) + clamp(24px, 6vh, 64px));
  left: 0;
  right: 0;
  padding-inline: var(--gutter);
  text-align: center;
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
}
.hero__title .word { display: inline-block; opacity: 0; transform: translateY(0.6em); animation: rise 0.9s var(--ease) forwards; }
.hero__title .word:nth-child(2) { animation-delay: 0.08s; }
.hero__title .word:nth-child(3) { animation-delay: 0.16s; }
.hero__title .word:nth-child(4) { animation-delay: 0.24s; }
.hero__title .word:nth-child(5) { animation-delay: 0.32s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero__center {
  position: absolute;
  z-index: 3;
  left: var(--seam);
  bottom: 0;
  width: var(--visual-w);
  height: min(68%, 600px);
  transform: translateX(-50%);
  pointer-events: none;
}
.hero__leny {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: none;
  translate: -50% 0;
  transform-origin: 50% 100%;
  animation: lenyIn 1.1s 0.15s var(--ease) both;
}
@keyframes lenyIn { from { opacity: 0; transform: translateY(60px); } }
/* trzy pozy jedna na drugiej; widać tylko .is-on, nowa wskakuje poklatkowo jak w komiksie */
.hero__leny[data-pose]:not(.is-on) { visibility: hidden; }
.hero__leny.is-zap { animation: zap 0.36s steps(1, end) both; }
@keyframes zap {
  0% { transform: translateY(14px) scale(0.93) rotate(-3deg); filter: brightness(1.7) contrast(1.4); }
  25% { transform: translateY(-10px) scale(1.07) rotate(2deg); filter: none; }
  50% { transform: translateY(4px) scale(0.98) rotate(-1deg); }
  75% { transform: scale(1.015) rotate(0.5deg); }
  100% { transform: none; }
}
.hero__card {
  position: absolute;
  left: 50%;
  /* karta 89 × 58 jest wyższa niż dawna 90 × 50 — niżej o tyle, żeby górna krawędź nie zasłaniała mikrofonu Lenego */
  bottom: 5%;
  width: min(118%, 440px);
  translate: -50% 0;
  pointer-events: auto;
  animation: cardIn 1.2s 0.45s var(--ease) both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(-70px) rotate(-14deg) scale(0.86); } }

/* kręcąca się pieczątka */
.badge {
  position: absolute;
  z-index: 2;
  bottom: 5%;
  right: -30%;
  width: clamp(104px, 10vw, 140px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #0a0a0a;
  text-decoration: none;
  pointer-events: auto;
  transition: scale 0.3s var(--ease);
}
.badge:hover { scale: 1.08; color: #0a0a0a; }
.badge svg { position: absolute; inset: 0; animation: spin 16s linear infinite; }
.badge text { font-family: var(--font-body); font-size: 12.4px; font-weight: 800; letter-spacing: 0.13em; fill: #0a0a0a; }
.badge b { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__scroll {
  position: absolute;
  z-index: 4;
  left: var(--gutter);
  bottom: 22px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a3a39f;
}

/* --- hero na telefonie: ten sam podział, ułożony w pionie — tytuł, Leny z kartą na szwie, dwa wybory obok siebie --- */
@media (max-width: 899px) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: max(600px, calc(100svh - var(--draft-h, 0px)));
    padding-top: calc(var(--header-h) + 4px);
    --visual-w: 240px;
  }
  .hero[data-side] { --seam: 50%; }
  .hero__scroll, .bigrow--rev { display: none; }
  .hero__bgtext { justify-content: center; padding-bottom: 0; }
  .bigrow span { font-size: 6.4rem; }
  .hero__title { position: relative; top: auto; padding-inline: 14px; font-size: clamp(1.9rem, 8.6vw, 2.8rem); }
  .hero__center { position: relative; left: auto; bottom: auto; transform: none; flex: 1; width: 100%; height: auto; min-height: 290px; margin-top: 8px; }
  .hero__leny { height: 100%; }
  .hero__card { width: min(76vw, 310px); bottom: 0; }
  .badge { top: 0; right: 10px; bottom: auto; width: 86px; }
  .badge b { font-size: 1.3rem; }
  .hero__sides { grid-template-columns: 1fr 1fr; min-height: 0; padding-block: 16px 22px; }
  .side { justify-content: flex-start; gap: 8px; padding: 0 16px; }
  .side--user { padding-right: 6px; }
  .side--world { padding-left: 6px; }
  /* „Dołącz do LenyTV PASS” zajmuje dwie linie: obie połówki rezerwują dwie linie (napis przy dole), żeby tytuły stały równo; bez kreski */
  .side .eyebrow { font-size: 0.66rem; letter-spacing: 0.1em; line-height: 1.35; min-height: 2.7em; align-items: flex-end; text-wrap: balance; }
  .side .eyebrow::before { display: none; }
  .side__title { font-size: clamp(1.5rem, 6.8vw, 2.1rem); }
  .side__text { display: none; }
  /* margin-top: auto — przyciski obu połówek na jednej wysokości, choć „Poznaj Świat Lenego” ma 2 linie */
  .side .btn { gap: 0.4em; padding: 0.85em 1em; font-size: 0.9rem; margin-top: auto; }
}

/* ============================================================
   KARTA 3D
   ============================================================ */
.lcard {
  width: 100%;
  aspect-ratio: 89 / 58;
  perspective: 1200px;
  container-type: inline-size;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));
}
.lcard__tilt {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.15s ease-out;
}
.lcard.is-idle .lcard__tilt { animation: sway 7s ease-in-out infinite alternate; }
@keyframes sway {
  from { transform: rotateX(8deg) rotateY(-20deg) rotateZ(-3deg); --holo: 0deg; }
  to { transform: rotateX(-5deg) rotateY(18deg) rotateZ(2deg); --holo: 160deg; }
}
.lcard__flip {
  all: unset;
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.85s var(--ease);
}
.lcard.is-flipped .lcard__flip { transform: rotateY(180deg); }
.lcard__flip:focus-visible { outline: 3px solid var(--orange); outline-offset: 8px; border-radius: 14px; }
.lcard__face {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: 3.4% / 5.2%;
  border: 1px solid #3a3a3a;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: #0a0a0a;
}
.lcard__face img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* folia holograficzna — kąt idzie za kursorem */
.lcard__face::before {
  content: '';
  position: absolute;
  inset: -40%;
  z-index: 1;
  background: conic-gradient(from var(--holo), #ffffff, #5a5a5a, #ffb27a, #e6e6e6, #3a3a3a, #ffffff, #7a7a7a, #ffffff);
  mix-blend-mode: screen;
  opacity: 0.13;
  filter: blur(22px);
  pointer-events: none;
}
.lcard__face::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, 0.22) 48%, transparent 60%);
  background-size: 260% 100%;
  background-position: var(--gx, 60%) 0;
  pointer-events: none;
}
.lcard__back { transform: rotateY(180deg); }

/* ============================================================
   SEKCJE
   ============================================================ */

/* pasek z nowościami */
.ticker { display: flex; border-block: 1px solid var(--line); overflow: hidden; }
.ticker__label { flex: none; display: grid; place-items: center; padding: 0 18px; background: var(--fg); color: var(--bg); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.ticker__track { flex: 1; overflow: hidden; }
.ticker__move { display: flex; width: max-content; animation: slide 40s linear infinite; }
.ticker:hover .ticker__move { animation-play-state: paused; }
.ticker__row { display: flex; flex: none; }
.ticker__row li { padding: 14px 0; white-space: nowrap; font-weight: 600; }
.ticker__row li::after { content: '✳'; margin-inline: 22px; color: var(--muted); }

/* taśma-przerywnik: dwa skrzyżowane pasy (napisy wstawia app.js z data-tape) */
.tapes { position: relative; height: clamp(130px, 15vw, 210px); margin-block: clamp(0.5rem, 2vw, 2rem); overflow: hidden; }
.tape {
  position: absolute;
  left: -4vw;
  right: -4vw;
  top: 50%;
  overflow: hidden;
  padding-block: 0.55em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tape--back { background: var(--surface-hi); color: var(--muted); transform: translateY(-50%) rotate(2.4deg); }
.tape--front { background: var(--fg); color: var(--bg); transform: translateY(-50%) rotate(-2deg); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35); }
.tape__move { display: flex; width: max-content; animation: slide 60s linear infinite; }
.tape--back .tape__move { animation-direction: reverse; animation-duration: 75s; }
.tape span { padding-right: 0.9em; }
/* wąski ekran: przy małych kątach taśmy prawie się pokrywały (tylna znikała); większe kąty dają ten sam „X” co na komputerze */
@media (max-width: 700px) {
  .tapes { height: 170px; }
  .tape--back { transform: translateY(-50%) rotate(7deg); }
  .tape--front { transform: translateY(-50%) rotate(-4deg); }
}

/* ilustracja w ciemnym okienku — takim samym na czarnej i na jasnej stronie */
.art {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: #111;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1.2px, transparent 1.7px);
  background-size: 18px 18px;
  border: 1px solid #2b2b2b;
}
.art svg { width: 100%; height: 100%; }
.art text { font-family: var(--font-display); font-weight: 800; }
.panel > .art { border-radius: 14px; margin-bottom: 10px; }

/* stempel: ozdobny (papierowy), więc nie pomarańczowy */
.stamp {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(104px, 11vw, 144px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper);
  color: #0a0a0a;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}
.stamp svg { position: absolute; inset: 0; animation: spin 22s linear infinite; }
.stamp text { font-family: var(--font-body); font-size: 12.6px; font-weight: 800; fill: #0a0a0a; }
.stamp b { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; }
/* na jasnej stronie papierowy stempel by zniknął — odwrócony na czarno */
.theme-light .stamp { background: #111; color: var(--paper); box-shadow: 0 12px 30px rgba(17, 17, 17, 0.25); }
.theme-light .stamp text { fill: var(--paper); }

/* kroki z linią postępu */
.steps { position: relative; display: grid; gap: 40px; counter-reset: step; }
.steps__line { position: absolute; left: 27px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.steps__line i { display: block; width: 100%; height: calc(var(--progress, 0) * 100%); background: var(--fg); transition: height 0.2s linear; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: start; align-content: start; }
.step__num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.step.is-on .step__num { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.step__body { display: grid; gap: 10px; padding-top: 8px; }
.step__body p { color: var(--muted); max-width: 30em; }
.step__body .art { margin-bottom: 14px; transition: transform 0.5s var(--ease); }
.step.is-on .step__body .art { transform: rotate(-1.2deg); }
.step:nth-of-type(odd).is-on .step__body .art { transform: rotate(1.2deg); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .steps__line { left: 0; right: 0; top: 27px; bottom: auto; width: auto; height: 2px; }
  .steps__line i { height: 100%; width: calc(var(--progress, 0) * 100%); transition: width 0.2s linear; }
  .step { grid-template-columns: 1fr; gap: 20px; }
}

/* logo partnera: jasna naklejka; bez pliku — przerywana ramka z inicjałami */
.logo {
  --logo: 72px;
  flex: none;
  display: grid;
  place-items: center;
  place-content: center;
  width: var(--logo);
  aspect-ratio: 1;
  border-radius: 24%;
  background: #f4f4f1;
  color: #0a0a0a;
  overflow: hidden;
}
.logo img { width: 100%; height: 100%; padding: 12%; object-fit: contain; }
.logo--empty { background: transparent; border: 2px dashed color-mix(in srgb, currentColor 45%, transparent); color: var(--fg); }
.logo--empty b { font-family: var(--font-display); font-weight: 800; font-size: calc(var(--logo) * 0.34); letter-spacing: -0.04em; line-height: 1; }
.logo--empty small { margin-top: 0.35em; font-size: max(0.56rem, calc(var(--logo) * 0.125)); font-weight: 800; letter-spacing: 0.16em; line-height: 1; text-transform: uppercase; opacity: 0.6; }
.logo--xl { --logo: clamp(96px, 11vw, 132px); margin-bottom: 10px; rotate: -4deg; }

/* kafel partnera = kupon: u góry kto, pod perforacją co dostajesz */
.tiles { display: grid; gap: 22px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .tiles--limit .tile:nth-child(n + 4) { display: none; } }
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); /* ramka cieniem, żeby wycięcia perforacji ją przykryły */
  color: var(--fg);
  text-decoration: none;
  overflow: hidden;
  transition: background 0.25s, box-shadow 0.25s, transform 0.35s var(--ease);
}
.tile:hover { color: var(--fg); background: var(--surface-hi); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg) 30%, transparent); transform: translateY(-4px); }
.tile__main { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; padding: clamp(22px, 2.4vw, 30px); padding-bottom: clamp(20px, 2.2vw, 26px); }
.tile .logo { transition: rotate 0.4s var(--ease); }
.tile:hover .logo { rotate: -5deg; }
.tile__who { display: grid; gap: 5px; min-width: 0; }
.tile__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 3px; }
.tile__name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; line-height: 1.12; }
.tile__meta { font-size: 0.88rem; color: var(--muted); }
.tile__perf { position: relative; margin-inline: 24px; border-top: 2px dashed var(--line); }
.tile__perf::before, .tile__perf::after {
  content: '';
  position: absolute;
  top: -14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
}
.tile__perf::before { left: -37px; }
.tile__perf::after { right: -37px; }
.tile__stub { flex: 1; display: grid; grid-template-columns: 1fr auto; align-content: start; align-items: end; gap: 6px 16px; padding: clamp(20px, 2.2vw, 26px) clamp(22px, 2.4vw, 30px) clamp(22px, 2.4vw, 30px); }
.tile__badge {
  grid-column: 1;
  justify-self: start;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 4vw, 3.3rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  transform-origin: left center;
  transition: transform 0.4s var(--ease);
}
.tile:hover .tile__badge { transform: rotate(-4deg) scale(1.06); }
.tile__offer { grid-column: 1; line-height: 1.35; }
.tile__go {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: #0a0a0a;
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.35s var(--ease);
}
.tile:hover .tile__go { transform: translateX(4px) rotate(-45deg); }
/* telefon: dwie kolumny kuponów. Kupon pionowy: logo, nazwa, perforacja, rabat i strzałka, pod spodem opis */
@media (max-width: 639px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { border-radius: 16px; }
  .tile:hover { transform: none; }
  /* górna część rośnie, dolna (rabat) stała: perforacja i rabaty w rzędzie stoją na jednej wysokości */
  .tile__main { flex: 1; grid-template-columns: 1fr; align-content: start; gap: 10px; padding: 14px 12px 12px; }
  .tile__stub { flex: none; }
  .tile .logo { --logo: 44px; }
  .tile__who { gap: 3px; }
  .tile__tags { margin-bottom: 1px; }
  .tile__tags .tag { padding: 0.25em 0.6em; font-size: 0.58rem; }
  .tile__name { font-size: 1.02rem; line-height: 1.15; overflow-wrap: anywhere; }
  .tile__meta { font-size: 0.74rem; line-height: 1.3; }
  .tile__perf { margin-inline: 12px; }
  .tile__perf::before, .tile__perf::after { top: -10px; width: 18px; height: 18px; }
  .tile__perf::before { left: -22px; }
  .tile__perf::after { right: -22px; }
  .tile__stub { grid-template-columns: 1fr auto; align-items: center; gap: 6px 8px; padding: 12px 12px 14px; }
  .tile__badge { grid-column: 1; grid-row: 1; font-size: 1.65rem; letter-spacing: -0.04em; }
  .tile--wide-badge .tile__badge { font-size: 1.25rem; letter-spacing: -0.02em; }
  .tile:hover .tile__badge { transform: none; }
  .tile__go { grid-column: 2; grid-row: 1; width: 32px; height: 32px; font-size: 1rem; }
  .tile__offer { grid-column: 1 / -1; font-size: 0.8rem; line-height: 1.3; }
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: 0.6em 1.1em; border: 1.5px solid var(--line); border-radius: 999px; background: transparent; color: var(--orange); font-weight: 700; font-size: 0.98rem; cursor: pointer; transition: border-color 0.2s; white-space: nowrap; }
.chip:hover { border-color: var(--orange); }
.chip[aria-pressed='true'] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.chip small { margin-left: 0.4em; font-size: 0.82em; opacity: 0.6; }
/* telefon: filtry w jednym rzędzie przewijanym palcem (zamiast 4 linii) */
@media (max-width: 640px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 4px; scrollbar-width: none; margin-bottom: 20px; }
  .chips::-webkit-scrollbar { display: none; }
}

/* panel */
.panel { display: grid; align-content: start; gap: 14px; padding: clamp(26px, 3.2vw, 40px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.panel p { color: var(--muted); }
.panel p b, .panel p strong { color: var(--fg); }
/* wielka konturowa liczba w panelu (np. „0 zł”, data ważności) */
.bigfig {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.6rem, 8vw, 6.4rem);
  letter-spacing: -0.05em;
  line-height: 0.9;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 2px color-mix(in srgb, var(--fg) 70%, transparent);
}

/* LenyTV: zdjęcie + tekst */
.leny-band { display: grid; gap: clamp(36px, 6vw, 88px); align-items: center; }
@media (min-width: 900px) { .leny-band { grid-template-columns: 0.85fr 1fr; } }
@media (min-width: 900px) { .leny-band--text-first { grid-template-columns: 1.15fr 0.85fr; } }
/* rama: przesunięty kontur z tyłu, raster w tle, stempel na rogu */
.leny-frame { position: relative; margin: 0 18px 18px 0; }
.leny-frame::before { content: ''; position: absolute; inset: 0; translate: 18px 18px; border: 1.5px solid color-mix(in srgb, var(--fg) 28%, transparent); border-radius: var(--radius); }
.leny-frame .stamp { right: -22px; bottom: 12%; rotate: 8deg; }
@media (max-width: 899px) { .leny-frame .stamp { right: -8px; } }
.leny-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--surface);
  background-image: radial-gradient(color-mix(in srgb, var(--fg) 14%, transparent) 1.3px, transparent 1.8px);
  background-size: 16px 16px;
  border: 1px solid var(--line);
}
.leny-photo img { position: absolute; bottom: 0; left: 50%; height: 94%; width: auto; max-width: none; translate: -50% 0; }
.live { position: absolute; z-index: 1; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 0.4em 0.8em; border-radius: 999px; background: rgba(10, 10, 10, 0.7); color: #fff; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink 1.4s steps(2, jump-none) infinite; }
@keyframes blink { to { opacity: 0.2; } }

/* sociale jako duże kafle */
.socials { display: grid; gap: 16px; }
@media (min-width: 760px) { .socials { grid-template-columns: repeat(3, 1fr); } }
.social { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; align-items: center; column-gap: 18px; padding: clamp(20px, 2.4vw, 28px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--fg); text-decoration: none; transition: background 0.25s, border-color 0.25s, transform 0.35s var(--ease); }
.social:hover { color: var(--fg); background: var(--surface-hi); border-color: color-mix(in srgb, var(--fg) 30%, transparent); transform: translateY(-3px); }
.social__icon { grid-row: 1 / span 2; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 24%; background: var(--fg); color: var(--bg); }
.social__icon svg { width: 30px; height: 30px; fill: currentColor; }
.social__name { align-self: end; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.1; }
.social__handle { grid-column: 2; align-self: start; font-size: 0.92rem; color: var(--muted); }
.social .tile__go { grid-column: 3; grid-row: 1 / span 2; }
.social:hover .tile__go { transform: translateX(4px) rotate(-45deg); }

/* ---------- klisza filmowa z socialami (Świat Lenego, data-socials="film") ----------
   Pas taśmy 35 mm na całą szerokość ekranu, lekko przekrzywiony; perforacja (jedna na całą taśmę, żeby nie rwała się na łączeniach kadrów) ma kolor tła strony.
   Przy wjeździe sekcji taśma przesuwa się z boku; najechany kadr rozświetla się jak na podświetlarce. */
.film {
  --film: #141210;
  --cell: clamp(250px, 24vw, 350px);
  --holes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Crect x='7' width='14' height='14' rx='3'/%3E%3C/svg%3E");
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.film__track { overflow: hidden; padding-block: clamp(36px, 5vw, 64px); }
.film__row { position: relative; left: 50%; display: flex; width: max-content; background: var(--film); transform: translateX(calc(-50% + 14vw)) rotate(-2.5deg); transition: transform 1.4s var(--ease); }
.film.is-in .film__row { transform: translateX(-50%) rotate(-2.5deg); }
.film__cell { position: relative; flex: none; display: block; width: var(--cell); padding: 44px 9px; background: var(--film); color: #f4f4f1; text-decoration: none; }
.film__cell:hover { color: #f4f4f1; }
.film__row::before, .film__row::after { content: ''; position: absolute; z-index: 1; left: 0; right: 0; height: 14px; pointer-events: none; background: var(--bg); -webkit-mask: var(--holes) left center / 28px 14px repeat-x; mask: var(--holes) left center / 28px 14px repeat-x; }
.film__row::before { top: 10px; }
.film__row::after { bottom: 10px; }
.film__edge { position: absolute; top: 29px; left: 14px; font: 700 9px/1 ui-monospace, 'Cascadia Mono', Consolas, monospace; letter-spacing: 0.18em; color: #b9a27a; white-space: nowrap; }
.film__shot { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 8px; aspect-ratio: 4 / 3.3; padding: clamp(16px, 1.6vw, 22px); overflow: hidden; border-radius: 6px; background: radial-gradient(130% 90% at 25% 15%, #34302a, #191714 70%); transition: background 0.35s, color 0.35s, transform 0.35s var(--ease); }
.film__mark { position: absolute; right: -8%; bottom: -16%; width: 62%; height: auto; fill: currentColor; opacity: 0.09; }
.film__kadr { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #a3a39f; }
.film__stat { align-self: center; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 4.2vw, 3.6rem); line-height: 0.95; letter-spacing: -0.04em; }
.film__stat small { display: block; margin-top: 6px; font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; letter-spacing: 0; color: #a3a39f; }
.film__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.film__who { display: grid; min-width: 0; }
.film__who b { font-size: 1.05rem; }
.film__who i { font-style: normal; font-size: 0.85rem; color: #a3a39f; }
.film__frame:hover .film__shot, .film__frame:focus-visible .film__shot { background: radial-gradient(130% 90% at 25% 15%, #ffffff, #e9e7e1 70%); color: #111; transform: translateY(-4px); }
.film__frame:hover :is(.film__kadr, .film__stat small, .film__who i), .film__frame:focus-visible :is(.film__kadr, .film__stat small, .film__who i) { color: #5e5e5a; }
.film__frame:hover .tile__go { transform: translateX(4px) rotate(-45deg); }
.film__frame:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
/* rozbiegówka: odliczanie (koło z celownikiem), koniec taśmy */
.film__shot--count, .film__shot--end, .film__shot--tail { grid-template-rows: none; place-items: center; background: #1d1b18; }
.film__shot--count::before { content: ''; position: absolute; top: 50%; left: 50%; height: 72%; aspect-ratio: 1; translate: -50% -50%; border: 3px solid rgba(244, 244, 241, 0.28); border-radius: 50%; }
.film__shot--count::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(244, 244, 241, 0.16), rgba(244, 244, 241, 0.16)) center / 100% 2px no-repeat, linear-gradient(rgba(244, 244, 241, 0.16), rgba(244, 244, 241, 0.16)) center / 2px 100% no-repeat; }
.film__shot--count b { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 7vw, 6rem); line-height: 1; }
.film__shot--end { align-content: center; gap: 8px; text-align: center; }
.film__shot--end b { font-family: var(--font-display); font-size: 3rem; line-height: 1; }
.film__shot--end span { font-weight: 700; color: #a3a39f; }
/* telefon: bez przekrzywienia, kadry przesuwa się palcem */
@media (max-width: 700px) {
  .film__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-block: 8px; scrollbar-width: none; }
  .film__row { left: 0; padding-inline: 10vw; transform: none !important; transition: none; }
  .film__cell--leader { display: none; }
  .film__cell { width: 80vw; scroll-snap-align: center; }
}


/* karta: przód i tył obok siebie (strona główna, „Tak wygląda karta”); rogi jak na karcie 90 × 50 mm z promieniem ok. 3,5 mm */
.cardpair { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 820px) { .cardpair { grid-template-columns: 1fr 1fr; } }
.cardpair__side { display: grid; gap: 16px; justify-items: start; }
.cardpair__side img { width: 100%; height: auto; border-radius: 3.4% / 5.2%; box-shadow: 0 34px 50px -24px rgba(0, 0, 0, 0.8), 0 0 0 1.5px rgba(255, 255, 255, 0.22); rotate: -2deg; transition: rotate 0.45s var(--ease), translate 0.45s var(--ease); }
.cardpair__side:nth-child(2) img { rotate: 1.5deg; }
.cardpair__side:hover img { rotate: 0deg; translate: 0 -6px; }
.cardpair figcaption { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* łagodne zaproszenie do współpracy na końcu Świata Lenego: czarny blok na jasnej stronie */
.invite { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: var(--radius); background: #111; color: #f4f4f1; }
.invite .eyebrow { color: #a3a39f; }
.invite .lead { color: #c9c9c5; }
.invite .pill { background: #1e1e1e; border-color: #2b2b2b; color: #f4f4f1; }
@media (min-width: 900px) { .invite { grid-template-columns: 1.3fr 0.7fr; } }

/* strona partnera */
.partner-hero { display: grid; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (min-width: 900px) { .partner-hero { grid-template-columns: 1.15fr 1fr; } }
.quote { margin-top: 26px; padding-left: 22px; border-left: 3px solid var(--fg); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.45; }
.quote cite { display: block; margin-top: 12px; font-size: 0.85rem; font-style: normal; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
/* oferta jak paragon: dół wycięty w ząbki */
.offer {
  --zab: 11px;
  display: grid;
  gap: 10px;
  padding: clamp(28px, 3.6vw, 44px);
  padding-bottom: calc(clamp(28px, 3.6vw, 44px) + var(--zab));
  border-radius: var(--radius) var(--radius) 0 0;
  background: #f4f4f1;
  color: #0a0a0a;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zab)) 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zab)) 100%;
}
.offer .eyebrow { color: #5e5e5a; }
.offer__badge { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 11vw, 7rem); letter-spacing: -0.05em; line-height: 0.9; }
.offer__headline { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.offer__terms { display: grid; gap: 8px; margin-top: 10px; padding-top: 18px; border-top: 1px solid #cfcec9; font-size: 1rem; color: #33332f; }
.offer__terms li { padding-left: 1.4em; text-indent: -1.4em; }
.offer__terms li::before { content: '✓  '; font-weight: 800; }
/* kanały partnera: okrągłe pigułki z ikonkami + przycisk do strony www (pomarańczowe, bo klikalne) */
.channels { display: grid; gap: 12px; margin-top: 28px; }
.channels__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.channel { display: grid; place-items: center; width: 50px; height: 50px; border: 1.5px solid var(--line); border-radius: 50%; color: var(--orange); transition: border-color 0.2s; }
.channel svg { width: 22px; height: 22px; fill: currentColor; }
.channel:hover { border-color: var(--orange); }
.channel:focus-visible, .channel-www:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.channel-www { min-height: 50px; }
.channel-www svg { width: 20px; height: 20px; flex: none; }
.info dt { margin-top: 14px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.info dt:first-child { margin-top: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.reels { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
/* najlepsze shorty (6 sztuk): równe rzędy — 3 obok siebie, na szerokim ekranie wszystkie 6 */
@media (min-width: 641px) { .reels--row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .reels--row { grid-template-columns: repeat(6, 1fr); } }
/* telefon: rolki w poziomym pasku do przesuwania palcem, zamiast kilku ekranów jedna pod drugą */
@media (max-width: 640px) {
  .reels { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 64%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter); }
  .reels > * { scroll-snap-align: start; }
}
.banner-img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }

/* wideo: ładuje się po kliknięciu */
.video { position: relative; display: grid; align-content: end; gap: 6px; width: 100%; aspect-ratio: 9 / 16; max-height: 540px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(120% 80% at 50% 30%, var(--surface-hi), var(--surface)); color: var(--fg); text-align: left; text-decoration: none; cursor: pointer; overflow: hidden; transition: border-color 0.25s, transform 0.35s var(--ease); }
.video:hover { color: var(--fg); border-color: var(--orange); transform: translateY(-3px); }
.video__play { position: absolute; top: 42%; left: 50%; width: 68px; height: 68px; translate: -50% -50%; border-radius: 50%; background: var(--orange); transition: scale 0.3s var(--ease); }
.video:hover .video__play { scale: 1.12; }
.video__play::after { content: ''; position: absolute; inset: 0; margin: auto; width: 0; height: 0; translate: 3px 0; border-left: 20px solid #0a0a0a; border-block: 12px solid transparent; }
.video__title { font-weight: 700; line-height: 1.25; }
.video__hint { font-size: 0.82rem; color: var(--muted); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* miniatura (img/filmy/<id>.webp) pod ciemnym przejściem — napisy zawsze białe, też na jasnych stronach */
.video--thumb, .video--thumb:hover { color: #fff; }
.video__thumb { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.video--thumb::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.45) 38%, rgba(8, 8, 8, 0) 62%); }
.video--thumb > :not(.video__thumb) { position: relative; z-index: 2; }
.video--thumb .video__play { position: absolute; }
.video--thumb .video__hint { color: rgba(255, 255, 255, 0.72); }
.video__kind { position: absolute !important; top: 14px; left: 14px; padding: 0.35em 0.8em; border-radius: 999px; background: rgba(10, 10, 10, 0.72); color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
/* długie filmy: poziome kafle 16:9 */
.videos-wide { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: clamp(28px, 4vw, 48px); }
@media (max-width: 700px) { .videos-wide { grid-template-columns: 1fr; } }
.video--wide { aspect-ratio: 16 / 9; max-height: none; }
.video--wide .video__play { top: 45%; }

/* ---------- galeria „Szczecin w kadrach” (strona główna, data-gallery) ----------
   Polaroidy z kadrów filmów w dwóch rzędach jadących w przeciwne strony. Ruch liczy JS (mountGallery w app.js):
   pod myszą rząd płynnie staje, zdjęcie się prostuje i pokazuje przycisk odtwarzania; palcem i myszą można rząd przeciągnąć.
   Taśma pomarańczowa = da się kliknąć, jak wszystko pomarańczowe. */
.gallery { overflow: hidden; }
.gallery__rows { display: grid; margin-top: clamp(24px, 4vw, 44px); }
/* padding: miejsce na taśmę i podniesione zdjęcie, żeby overflow ich nie ucinał */
.gallery__row { overflow: hidden; padding-block: clamp(26px, 3vw, 36px); touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.gallery__row.is-dragging, .gallery__row.is-dragging .polaroid { cursor: grabbing; }
.gallery__track { display: flex; width: max-content; will-change: transform; }
.gallery__set { display: flex; gap: clamp(18px, 2.4vw, 34px); padding-right: clamp(18px, 2.4vw, 34px); }
.polaroid { position: relative; flex: none; display: block; width: clamp(160px, 17vw, 236px); padding: 10px 10px 0; border: 0; border-radius: 2px; background: #f7f5ef; color: #1b1b1b; text-align: center; cursor: pointer; box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45), 0 2px 4px rgba(0, 0, 0, 0.3); rotate: var(--r, 0deg); transition: rotate 0.35s var(--ease), scale 0.35s var(--ease), translate 0.35s var(--ease); -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
.polaroid:focus-visible { z-index: 2; rotate: 0deg; scale: 1.06; translate: 0 -6px; outline: 3px solid var(--orange); outline-offset: 4px; }
/* tylko z myszą: na telefonie „najechanie” zostawało po stuknięciu */
@media (hover: hover) {
  .polaroid:hover { z-index: 2; rotate: 0deg; scale: 1.06; translate: 0 -6px; }
  .polaroid:hover .polaroid__play { opacity: 1; scale: 1; }
}
.polaroid__photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #222; }
.polaroid__photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.08) contrast(1.03); pointer-events: none; -webkit-user-drag: none; }
.polaroid__play { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; translate: -50% -50%; border-radius: 50%; background: var(--orange); opacity: 0; scale: 0.7; transition: opacity 0.25s, scale 0.3s var(--ease); }
.polaroid__play::after { content: ''; position: absolute; inset: 0; margin: auto; width: 0; height: 0; translate: 3px 0; border-left: 16px solid #0a0a0a; border-block: 10px solid transparent; }
.polaroid:focus-visible .polaroid__play { opacity: 1; scale: 1; }
.polaroid__cap { display: block; padding: 9px 4px 12px; font-family: 'Caveat', 'Segoe Print', cursive; font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.5rem); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.polaroid__tape { position: absolute; z-index: 1; top: -12px; left: 50%; width: 76px; height: 24px; translate: -50% 0; rotate: -4deg; background: rgba(236, 235, 231, 0.72); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); }
.polaroid__tape--orange { background: rgba(255, 106, 0, 0.85); rotate: 5deg; }
/* film z galerii w okienku */
.vbox { width: min(92vw, 960px); max-width: none; max-height: 92vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.vbox::backdrop { background: rgba(8, 8, 8, 0.88); }
.vbox__frame { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.vbox__frame.is-short { aspect-ratio: 9 / 16; width: auto; height: min(84vh, 760px); margin-inline: auto; }
.vbox__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vbox__close { position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--orange); color: #0a0a0a; font-size: 1.6rem; font-weight: 800; line-height: 1; cursor: pointer; }
@media (max-width: 640px) { .vbox__close { top: -54px; right: 0; } }

/* mapa */
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.map__closed { display: grid; place-content: center; justify-items: center; gap: 14px; min-height: 300px; padding: 24px; text-align: center; background: repeating-linear-gradient(45deg, transparent 0 22px, rgba(255, 255, 255, 0.03) 22px 23px); }
.map__canvas { height: min(64vh, 520px); }
/* tło pod kafelkami w kolorze przyciemnionej mapy: na telefonie między kafelkami nie prześwitują jasne kreski */
.map__canvas.leaflet-container { background: #2b2b2b; }
@media (max-width: 640px) { .map__canvas { height: min(58vh, 420px); } }
.map__hint { margin: 0; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }
.map__tiles { filter: grayscale(1) invert(1) contrast(0.85) brightness(0.95); }
.map__pin { border-radius: 50%; background: var(--orange); border: 3px solid #0a0a0a; box-shadow: 0 0 0 2px var(--orange); }

/* dwie kolumny: nagłówek po lewej (przyklejony), treść po prawej */
.band { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.band > .section-head { margin-bottom: 0; align-content: start; }
@media (min-width: 900px) {
  .band { grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
  .band > .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
  .band--wide-left { grid-template-columns: 1fr 1.1fr; align-items: center; }
  .band--wide-left > .section-head { position: static; }
}
.ticks { display: grid; gap: 10px; }
.ticks li { padding-left: 1.6em; text-indent: -1.6em; }
.ticks li::before { content: '✓  '; font-weight: 800; }

/* makieta podstrony partnera w oknie przeglądarki */
.mock { border-radius: var(--radius); overflow: hidden; background: #0a0a0a; color: #f4f4f1; box-shadow: 0 30px 60px rgba(17, 17, 17, 0.28); rotate: 1.2deg; transition: rotate 0.5s var(--ease); }
.mock:hover { rotate: 0deg; }
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: #1e1e1e; }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #4a4a4a; }
.mock__bar span { margin-left: 10px; padding: 0.4em 1.1em; border-radius: 999px; background: #0a0a0a; color: #a3a39f; font-size: 0.78rem; font-weight: 600; }
.mock__page { display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; padding: clamp(20px, 3vw, 34px); }
.mock__who { display: grid; align-content: start; justify-items: start; gap: 10px; }
.mock__who .logo { --logo: 84px; margin-bottom: 6px; rotate: -4deg; color: #f4f4f1; }
.mock__who .logo b { font-size: 1.2rem; letter-spacing: -0.03em; }
.mock__offer { align-self: start; }
.mock__who .eyebrow { font-size: 0.64rem; color: #a3a39f; }
.mock__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -0.03em; line-height: 1; }
.mock__quote { padding-left: 12px; border-left: 2px solid #f4f4f1; font-size: 0.86rem; line-height: 1.4; color: #c9c9c5; }
.mock__offer { --zab: 7px; display: grid; align-content: start; gap: 4px; padding: 18px 18px calc(22px + var(--zab)); border-radius: 14px 14px 0 0; background: #f4f4f1; color: #0a0a0a; font-size: 0.86rem; font-weight: 700; line-height: 1.3; -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zab)) 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zab)) 100%; }
.mock__offer .eyebrow { font-size: 0.6rem; color: #5e5e5a; }
.mock__offer b { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.05em; line-height: 0.95; }
.mock__reels { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mock__reels i { position: relative; aspect-ratio: 9 / 13; border-radius: 12px; background: #1a1a1a; border: 1px solid #2b2b2b; }
.mock__reels i::after { content: ''; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-left: 13px solid #6a6a6a; border-block: 8px solid transparent; }
@media (max-width: 480px) { .mock__page { grid-template-columns: 1fr; } .mock__reels i:nth-child(4) { display: none; } .mock__reels { grid-template-columns: repeat(3, 1fr); } }

/* ikonki kanałów w makiecie strony partnera (ozdoba, jak prawdziwe pigułki na partner.html) */
.mock__links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.mock__links i { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #3a3a3a; border-radius: 50%; color: var(--orange); }
.mock__links svg { width: 14px; height: 14px; fill: currentColor; }

/* oferta: dołączenie do LenyTV PASS (biała karta „co robię / co dajesz” + czarna „0 zł miesięcznie”), pod spodem „A może potrzebujesz…” */
.join { display: grid; gap: 18px; }
@media (min-width: 900px) { .join { grid-template-columns: 1.3fr 1fr; } }
.join__give, .join__deal { display: grid; align-content: start; gap: 14px; padding: clamp(26px, 3.4vw, 42px); border-radius: var(--radius); }
.join__give { background: var(--surface); border: 1px solid var(--line); }
.join__label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.join__label + .join__list, .join__label + .join__want { margin-top: -4px; }
.join__list { display: grid; gap: 18px; margin-bottom: 12px; font-size: 1.05rem; font-weight: 600; }
.join__list li { padding-left: 1.6em; text-indent: -1.6em; }
.join__list li::before { content: '✓  '; font-weight: 800; }
.join__list li b { font-weight: 800; }
/* opis pod pogrubionym punktem; text-indent wraca do zera, bo blok dziedziczy wysunięcie znaczka ✓ */
.join__list li span { display: block; margin-top: 4px; text-indent: 0; font-size: 0.95rem; font-weight: 500; line-height: 1.5; color: var(--muted); }
.join__want { font-size: 1.15rem; font-weight: 800; line-height: 1.35; }
.join__deal { background: #111; color: #f4f4f1; align-content: center; }
.join__zero { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.6rem, 8vw, 5.4rem); letter-spacing: -0.05em; line-height: 0.9; }
.join__zero span { display: block; margin-top: 0.15em; font-size: 0.32em; letter-spacing: -0.02em; color: #b5b5b1; }
.join__terms { font-size: 1.1rem; line-height: 1.5; color: #d0d0cc; }
.join__terms b { display: block; font-size: 1.3em; line-height: 1.25; color: #f4f4f1; }
.join__checks { display: grid; gap: 6px; font-weight: 700; color: #f4f4f1; }
.join__checks li::before { content: '✓  '; font-weight: 800; }
.join__price { padding-top: 14px; border-top: 1px solid #2b2b2b; color: #b5b5b1; }
.join__price b { display: block; margin-top: 6px; color: #f4f4f1; }
.join__deal .btn { justify-self: start; }
.more-offer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 18px; padding: clamp(22px, 3vw, 32px); border: 2px dashed color-mix(in srgb, currentColor 28%, transparent); border-radius: var(--radius); }
.more-offer h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.more-offer p { margin-top: 6px; color: var(--muted); }

.stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.8rem, 6vw, 4rem); letter-spacing: -0.04em; line-height: 1; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 0.6em 1.1em; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 600; }
.faq { display: grid; gap: 12px; max-width: 50em; }
.faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 1.1rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--orange); font-size: 1.5rem; line-height: 1; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

.form { display: grid; gap: 18px; }
@media (min-width: 760px) { .form { grid-template-columns: 1fr 1fr; } .form .wide { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; font-weight: 700; font-size: 0.98rem; }
.field input, .field select, .field textarea { width: 100%; padding: 0.9em 1em; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--fg); font: inherit; font-weight: 400; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; }
.form.panel { gap: 18px; }
.form.panel .field input, .form.panel .field select, .form.panel .field textarea { background: var(--surface-hi); }
.check { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 0.98rem; }
.check input { flex: none; width: 1.3em; height: 1.3em; margin-top: 0.2em; accent-color: var(--orange); }
.form__note { margin-top: 12px; font-size: 0.92rem; color: var(--muted); }
/* pułapka na boty: ludzie tego pola nie widzą, send.php odrzuca wypełnione */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__done { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-size: 1.2rem; font-weight: 700; }

/* „Pokaż kartę” */
.dock { position: sticky; bottom: 16px; z-index: 20; display: flex; justify-content: center; margin-top: 40px; pointer-events: none; }
.dock > * { pointer-events: auto; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); }
.cardview { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 8, 8, 0.97); color: #f4f4f1; }
.cardview::backdrop { background: #000; }
.cardview__in { min-height: 100%; display: grid; place-content: center; justify-items: center; gap: 28px; padding: 24px; text-align: center; }
.cardview__card { width: min(88vw, 76vh, 560px); }
.cardview p { max-width: 26em; color: #a3a39f; }

/* linki */
.links { display: grid; gap: 12px; max-width: 480px; margin: 30px auto 0; }
.links .btn, .links .btn-ghost { justify-content: space-between; width: 100%; padding-block: 1.15em; }

/* stopka */
.footer { margin-top: clamp(2rem, 5vw, 4rem); border-top: 1px solid var(--line); overflow: hidden; }
.footer__grid { display: grid; gap: 30px; padding-block: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__list { display: grid; gap: 10px; align-content: start; }
/* przycisk, który wygląda jak link (np. „Ustawienia statystyk” w stopce) */
.link-btn { justify-self: start; padding: 0; border: 0; background: none; color: var(--orange); font: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.link-btn:hover { color: var(--orange-hi); }

/* pasek zgody na statystyki (Google Analytics); oba przyciski równie widoczne */
.consent { position: fixed; z-index: 60; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); translate: -50% 0; display: grid; gap: 14px; width: min(calc(100% - 24px), 760px); padding: 18px 20px; border: 1px solid #2c2c2b; border-radius: 18px; background: #141414; color: #f4f4f1; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); font-size: 0.95rem; line-height: 1.5; }
.consent p { margin: 0; }
.consent__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.consent__btns .btn, .consent__btns .btn-ghost { padding: 0.8em 1.3em; font-size: 0.98rem; }
.consent .btn-ghost { border-color: #4a4a48; }
@media (min-width: 760px) { .consent { grid-template-columns: 1fr auto; align-items: center; } }
.footer__big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 22vw, 19rem);
  line-height: 0.78;
  letter-spacing: -0.06em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line);
  user-select: none;
  translate: 0 12%;
}

/* wjazd przy przewijaniu */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { 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; }
  .reveal { opacity: 1; transform: none; }
  .hero__title .word { opacity: 1; transform: none; }
}
