/* Breinz theme — main stylesheet (ported from the approved landing prototype) */

:root {
  --ink: #1d1d1b;
  --ink-soft: #4b4b57;
  --ink-faint: #9a9aa6;
  --accent-a: #4f46e5;
  --accent-b: #c026d3;
  --pink-a: #ff5ec4;
  --pink-b: #b12bdd;
  --green-a: #8ed701;
  --green-b: #549e00;
  --line-green: #b5e61d; /* wyjatek: plaski kolor TYLKO do linii dekoracyjnych */
  --blue-a: #5371ed;
  --blue-b: #2c3ec4;
  --gray-bg: #f7f7f9;
  --bg: #ffffff;
  --chip-border: #ececf1;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Kotwice a sticky menu: bez tego cel #id ladowal POD paskiem nawigacji.
   scroll-padding-top na elemencie przewijanym dziala i dla natywnego skoku,
   i dla smooth scrolla — nie trzeba scroll-margin na kazdej sekcji z osobna.
   --brz-nav-h mierzy JS (patrz main.js); 74px to fallback, gdy JS nie wstal.
   +24px to oddech, zeby naglowek nie licowal z krawedzia menu.
   Menu po scrollu jest nizsze (znika tagline), wiec zapas jest po bezpiecznej stronie. */
html { scroll-padding-top: calc(var(--brz-nav-h, 74px) + 24px); }

/* Zalogowany redaktor ma nad menu pasek admina — dolicz jego wysokosc. */
html:has(body.admin-bar) { scroll-padding-top: calc(var(--brz-nav-h, 74px) + 24px + 32px); }
@media (max-width: 782px) {
  html:has(body.admin-bar) { scroll-padding-top: calc(var(--brz-nav-h, 74px) + 24px + 46px); }
}

body {
  background: var(--bg);
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  overflow-x: hidden;
}

/* stopka przyklejona do dolu okna, gdy tresc jest nizsza niz ekran (v1.20.4).
   Kazdy szablon to: nav + <main> + stopka, wiec <main> rosnie i spycha stopke w dol.
   Przy dluzszej tresci nic sie nie zmienia. Zalogowany redaktor: WP dodaje html
   margin-top pod pasek admina - odejmujemy go, inaczej stopka ucieka pod ekran. */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
@supports (height: 100svh) {
  body { min-height: 100svh; } /* mobile: pasek adresu nie spycha stopki pod ekran */
}
body.admin-bar { min-height: calc(100svh - 32px); }
@media (max-width: 782px) {
  body.admin-bar { min-height: calc(100svh - 46px); }
}
body > main { flex: 1 0 auto; width: 100%; }
body > .site-nav,
body > .site-footer { flex-shrink: 0; }

img { max-width: 100%; height: auto; }

/* checkboxy w calym serwisie: bez systemowego ptaszka - pusty kwadrat z ramka,
   po zaznaczeniu wypelniony zielonym gradientem (v1.20.6). Ramka zostaje
   (przezroczysta), gradient od border-boxa - rozmiar sie nie zmienia. */
input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  display: inline-block;
  vertical-align: middle;
  width: 17px;
  height: 17px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--ink-faint); /* jak ramki pol formularza (DK, 2026-09-30) */
  border-radius: 0;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
input[type="checkbox"]:checked {
  /* zaznaczony: ramka zostaje, w srodku czarna kropka (decyzja DK, 2026-09-30; zastepuje zielony gradient) */
  background: radial-gradient(circle closest-side, var(--ink) 0 36%, #fff 40%);
}
input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--green-b);
  outline-offset: 2px;
}

/* ---------- sticky nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(24px, 6vw, 96px);
  background: #f7f7f9;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-nav.scrolled {
  background: #fff;
  border-bottom-color: var(--chip-border);
  box-shadow: 0 4px 18px rgba(13, 13, 18, .05);
}
body.admin-bar .site-nav { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-nav { top: 46px; }
}

.brand .logo-img {
  height: 41px;
  width: auto;
  display: block;
}
.brand .tagline {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  margin-top: 6px;
  margin-left: 18px;
  font-size: 16px;
  color: var(--ink-faint);
  letter-spacing: .2px;
  max-height: 24px;
  overflow: hidden;
  transition: opacity .3s ease, max-height .3s ease, margin-top .3s ease;
}
/* po przescrollowaniu slogan znika, logo samo centruje się w pionie */
.site-nav.scrolled .brand .tagline {
  opacity: 0;
  max-height: 0;
  margin-top: 0;
}
.brand .logo-mobile { display: none; height: 38px; width: auto; }
/* DK, 2026-10-10: na mobile cale logo zamiast samego sygnetu */
@media (max-width: 640px) {
  .brand .tagline { display: none; }
  .brand .logo-img { height: 32px; }
  .site-nav { padding: 12px 12px; }
}
@media (max-width: 370px) {
  .brand .logo-img { height: 26px; }
}

.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-cta {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  padding: 11px 22px;
  background: linear-gradient(90deg, var(--pink-a), var(--pink-b));
  transition: transform .25s ease, box-shadow .25s ease;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -8px rgba(216, 54, 190, .5);
}
.socials { display: flex; gap: 10px; }
.social {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  transition: transform .25s ease, opacity .25s ease;
  text-decoration: none;
}
.social:hover { transform: translateY(-2px); opacity: .8; }

/* ---------- menu glowne (chipy, 3 poziomy; WP: ul.sub-menu) ---------- */
.menu, .menu ul { list-style: none; margin: 0; padding: 0; }
.menu, .gls-filters { isolation: isolate; } /* podzakladki (::after z-index -1) zostaja nad tlem sekcji */
.menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
/* posrednie szerokosci: ciasniejsze chipy, zeby zmiescic sie miedzy logo a socialami */
@media (max-width: 1280px) and (min-width: 1137px) {
  /* .site-nav w selektorze - bazowa .menu a stoi nizej w pliku i wczesniej wygrywala kaskade */
  .site-nav .menu a { font-size: 11px; letter-spacing: 1.2px; padding: 5px 10px; }
  .site-nav .menu { gap: 10px; }
}
.menu li { position: relative; }
.menu a {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--ink-soft);
  padding: 6px 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .25s ease, color .25s ease;
}
/* hover / fokus chipa: pelny gradient pink, bez widocznej ramki.
   Ramka ZOSTAJE (przezroczysta), a gradient malowany od border-boxa - wymiary chipa
   sa identyczne w obu stanach, wiec menu sie nie rusza. background-origin: border-box
   usuwa tez kafelkowanie gradientu pod ramka (problem z v1.6.8). */
.menu a:hover,
.menu a:focus-visible {
  border-color: transparent;
  background: linear-gradient(90deg, var(--pink-a), var(--pink-b)) border-box;
  color: #fff;
  outline: none;
}

/* rodzic z podmenu = "podzakladka" - drugi chip przesuniety 4px w prawo i w dol
   (box-shadow: bialy wypelniacz + szara ramka), zamiast znacznika +. Desktop i mobile.
   Po rozwinieciu (hover / fokus w srodku / .open) podzakladka znika. */
/* podzakladka jako prawdziwa ramka 1px (pseudo-element), nie box-shadow: przy powiekszeniu
   innym niz 100% box-shadow ze spread -1px renderowal sie grubiej niz ramka chipa (DK, 2026-09-30).
   Pseudo-element lezy pod chipem (z-index -1), rodzic ma isolation: isolate. */
.menu li.has-sub > a { position: relative; }
.menu li.has-sub > a::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px; right: -5px; bottom: -5px;
  border: 1px solid var(--ink-soft);
  background: #fff;
  z-index: -1; /* pod chipem; bez clip-path - clip-path wygladzal (rozmywal) ramke przy powiekszeniu */
  pointer-events: none;
}
.menu li.has-sub:hover > a::after,
.menu li.has-sub:focus-within > a::after,
.menu li.has-sub.open > a::after { display: none; }
/* pierwszy poziom: wszystkie chipy tej samej szerokosci = najszerszy element */
.menu > li > a { display: block; text-align: center; }

@media (min-width: 1137px) {
  /* desktop: jeden rzad, kolumny 1fr w siatce o szerokosci max-content.
     Odstep 12px = 8px + 4px na podzakladke. */
  .menu {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 12px;
  }
}

/* poziom 2: pionowa kolumna chipow pod rodzicem (padding-top = mostek hoveru) */
.menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 60;
}
/* poziom 3: rozwija sie POD rodzicem, z wcieciem (wpycha kolejne pozycje w dol) */
.menu .sub-menu .sub-menu {
  position: static;
  display: none;
  opacity: 1;
  visibility: visible;
  transform: none;
  padding: 8px 0 0 16px;
}
.menu li:hover > .sub-menu,
.menu li:focus-within > .sub-menu,
.menu li.open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.menu .sub-menu li:hover > .sub-menu,
.menu .sub-menu li:focus-within > .sub-menu,
.menu .sub-menu li.open > .sub-menu { display: flex; }

/* burger: chip 40x40 z ramka, 3 cienkie belki — calosc w rozu */
/* DK, 2026-10-10: nowa ikona menu (stan nieaktywny): 3 belki w gradiencie pink, kazda z czarna kropka w innym miejscu, bez ramki */
.nav-burger {
  display: none;
  width: 32px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  margin-left: 7px;
  place-items: center;
}
.nav-burger .bars { display: grid; gap: 7px; }
.nav-burger .bars span {
  display: block;
  position: relative;
  width: 32px;
  height: 8px;
  border-radius: 4px;
  background: var(--ink);
}
/* gradient jako warstwa (gradientu nie da sie animowac): po otwarciu znika, belka robi sie czarna */
.nav-burger .bars span::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pink-a), var(--pink-b));
  transition: opacity .25s ease;
}
.nav-burger .bars span::after {
  content: '';
  position: absolute;
  top: 0;
  z-index: 1;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  transition: background-color .25s ease;
}
/* DK, 2026-10-10: stan aktywny: belki czarne, kropki rozowe */
.site-nav.menu-open .nav-burger .bars span::before { opacity: 0; }
.site-nav.menu-open .nav-burger .bars span::after { background-color: var(--pink-a); }
.nav-burger .bars span:nth-child(1)::after { right: 0; }
.nav-burger .bars span:nth-child(2)::after { left: 4px; }
.nav-burger .bars span:nth-child(3)::after { left: 12px; }

/* mobile: panel pod navem, submenu jako akordeon (pierwszy tap w rodzica rozwija, drugi nawiguje - main.js) */
@media (max-width: 1136px) {
  .menu { display: none; }
  .nav-burger { display: grid; }
  .site-nav.menu-open .menu {
    /* jedna kolumna o szerokosci najszerszego chipa pierwszego poziomu */
    display: grid;
    grid-template-columns: max-content;
    justify-content: start;
    gap: 12px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--chip-border);
    box-shadow: 0 18px 28px -20px rgba(13, 13, 18, .25);
    padding: 16px clamp(24px, 6vw, 96px) 22px;
    max-height: calc(100vh - 80px);
    overflow: auto;
    z-index: 90;
  }
  .menu .sub-menu,
  .menu .sub-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding: 8px 0 0 16px; /* kazdy poziom wciety o 16px */
    contain: inline-size;  /* podmenu nie poszerza kolumny chipow pierwszego poziomu */
  }
  .menu li.open > .sub-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* DK, 2026-10-10: otwarte menu (mobile/tablet): pierwszy poziom jedna kolumna przy prawej krawedzi,
   rozwiniety rodzic na cala szerokosc w gradiencie pink, jego podstrony jako tagi w rzedzie (zawijane) */
@media (max-width: 1136px) {
  .site-nav.menu-open .menu {
    grid-template-columns: 1fr max-content;
    justify-content: stretch;
    background: transparent; /* DK, 2026-10-10: menu otwiera sie nad serwisem, bez tla */
    border-bottom: 0;
    box-shadow: none;
  }
  .site-nav.menu-open .menu > li { grid-column: 2; }
  .site-nav.menu-open .menu > li.open { grid-column: 1 / -1; }
  .site-nav.menu-open .menu > li.open > a {
    border-color: transparent;
    background: linear-gradient(90deg, var(--pink-a), var(--pink-b)) border-box;
    color: #fff;
  }
  .site-nav.menu-open .menu > li.open > .sub-menu {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px 16px;
    padding: 14px 0 0 0;
  }
}
@media (max-width: 640px) {
  .site-nav.menu-open .menu { padding: 16px 12px 22px 36px; gap: 14px; }
  /* DK, 2026-10-10: wieksze chipy w otwartym menu na telefonie (jak w makiecie) */
  .site-nav.menu-open .menu a { font-size: 17px; letter-spacing: 2px; padding: 9px 20px; }
}

/* mobile: społecznościówki centrowane między logo a przyciskiem — równe odstępy
   (musi stać PO regułach bazowych .nav-right/.socials, inaczej przegrywa kaskadę) */
@media (max-width: 640px) {
  .nav-right { flex: 1; gap: 10px; justify-content: flex-end; } /* CTA + burger do prawej (socials mieszkaja w dolnym boxie) */
  .nav-cta { padding: 10px 14px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: #f7f7f9;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  /* hero + menu = 100% wysokosci okna; min-height, wiec przy wyzszej tresci hero normalnie rosnie.
     --brz-nav-h mierzy JS (menu: 2 rzedy chipow / burger / tagline). */
  min-height: calc(100vh - var(--brz-nav-h, 74px));
}
@supports (height: 100svh) {
  .hero { min-height: calc(100svh - var(--brz-nav-h, 74px)); } /* mobile: pasek adresu nie ucina hero */
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .13;
  z-index: -1;
  animation: drift 14s ease-in-out infinite alternate;
}
.glow.a { width: 480px; height: 480px; background: var(--accent-a); top: -120px; left: -100px; }
.glow.b { width: 420px; height: 420px; background: var(--accent-b); bottom: -80px; right: -80px; animation-delay: -7s; }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.1); }
}

.hero .center {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 24px 110px;
}

.hero-headline {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  line-height: 1.12;
  letter-spacing: -2px;
  max-width: 14ch;
  min-height: 3.4em;
  color: var(--ink);
  margin: 0 auto;
}
.hero-headline .grad {
  background: linear-gradient(90deg, var(--pink-a), var(--pink-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.caret {
  display: inline-block;
  width: .09em;
  height: .95em;
  margin-left: .04em;
  vertical-align: -0.1em;
  background: linear-gradient(180deg, var(--pink-a), var(--pink-b));
  border-radius: 2px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero .sub {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  margin-top: 32px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 52ch;
  opacity: 0;
  transform: translateY(14px);
}
.hero .cta {
  margin-top: 40px;
  opacity: 0;
  transform: translateY(14px);
}
.hero .revealed { animation: fadeUp .7s cubic-bezier(.22,1,.36,1) forwards; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  padding: 17px 34px;
  background: linear-gradient(90deg, var(--pink-a), var(--pink-b));
  box-shadow: 0 12px 30px -8px rgba(216, 54, 190, .45);
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px -8px rgba(216, 54, 190, .55);
}
.btn svg { transition: transform .25s ease; }
.btn:hover svg { transform: translateX(4px); }

@media (max-width: 640px) {
  .hero-headline { letter-spacing: -1px; min-height: 4.6em; }
}

/* ---------- services ---------- */
.services-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 96px);
}
.services-head {
  text-align: center;
  padding: 110px 0 40px;
}
.services-head .kicker {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--pink-a), var(--pink-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.services-head h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -1px;
  margin-top: 14px;
  color: var(--ink);
}

.pillar h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, var(--panel-a, var(--pillar-accent)), var(--panel-b, var(--pillar-accent)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 22px;
}
.pillar .desc {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.pillar .value-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 20px;
}
.pillar ul,
.pillar ol {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pillar ol { counter-reset: pillar-item; }
.pillar li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.pillar li::before {
  flex: none;
  width: 14px; height: 14px;
  /* wyśrodkowanie względem pierwszej linii tekstu: (1rem * 1.6 - 14px) / 2 */
  margin-top: calc((1rem * 1.6 - 14px) / 2);
  border-radius: 50%;
  box-sizing: border-box;
  display: grid;
  place-items: center;
}
/* ul: puste kółko (ring) */
.pillar ul li::before {
  content: "";
  border: 4px solid var(--pillar-accent);
  background: transparent;
}
/* ol: pełne koło z numerkiem */
.pillar ol li::before {
  counter-increment: pillar-item;
  content: counter(pillar-item);
  background: var(--pillar-accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

.v-zig {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding: 48px 0;
}
.v-zig.flip .pillar-desc { order: 2; }
.v-zig.flip .panel { order: 1; }

.v-zig .num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 70px;
  line-height: 1;
  display: inline-block;
  background: linear-gradient(135deg, var(--panel-a, var(--pillar-accent)), var(--panel-b, var(--pillar-accent)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.v-zig .panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--panel-a, var(--pillar-accent)), var(--panel-b, var(--pillar-accent)));
  padding: clamp(28px, 4vw, 48px);
}
.v-zig .panel > * { position: relative; z-index: 1; }
.v-zig .panel .value-label { color: rgba(255,255,255,.75); }
.v-zig .panel li { color: rgba(255,255,255,.95); }
.v-zig .panel ul li::before { border-color: #fff; }
.v-zig .panel ol li::before { background: #fff; color: var(--pillar-accent); }

@media (max-width: 820px) {
  .v-zig { grid-template-columns: 1fr; padding: 36px 0; }
  .v-zig.flip .pillar-desc { order: 1; }
  .v-zig.flip .panel { order: 2; }
}

/* ---------- team / about ---------- */
.team {
  background: var(--gray-bg);
  padding: 110px clamp(24px, 6vw, 96px) 130px;
}
.team-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.team-head {
  text-align: center;
  margin-bottom: 90px;
}
.team-head .kicker {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--pink-a), var(--pink-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.team-head h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -1px;
  margin-top: 14px;
  color: var(--ink);
}
.team-head h2 .hl {
  background: linear-gradient(90deg, var(--pink-a), var(--pink-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
/* zdjecie: duotone gradientem (grayscale + luminosity), podpis w rogu */
.member-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, var(--member-a, var(--pink-a)), var(--member-b, var(--pink-b)));
}
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.02);
  mix-blend-mode: luminosity;
}
.member-photo .caption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 1;
  color: #fff;
}
.member-photo .role {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: .9;
}
.member-photo .name {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-top: 4px;
  text-shadow: 0 2px 14px rgba(13, 13, 18, .25);
}
/* wciecie tekstu = wciecie podpisu na zdjeciu (24px, obustronne) */
.member .lead {
  padding-left: 24px;
  padding-right: 24px;
  font-family: 'Manrope', sans-serif;
  font-weight: 200;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.35;
  color: var(--ink);
  margin-top: 34px;
}
.member .bio {
  padding-left: 24px;
  padding-right: 24px;
  font-family: 'Manrope', sans-serif;
  font-weight: 200;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-top: 30px;
}

/* ---------- blog section (Field notes) ---------- */
.blog-section {
  padding: 110px clamp(24px, 6vw, 96px) 130px;
  max-width: 1200px;
  margin: 0 auto;
}
.blog-head {
  text-align: center;
}
.blog-head .kicker {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--pink-a), var(--pink-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.blog-head h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  letter-spacing: -2px;
  line-height: 1.05;
  margin-top: 26px;
  color: var(--ink);
}
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 16px;
  max-width: 760px;
  margin: 48px auto 0;
}
.blog-tag {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--ink-soft);
  padding: 7px 18px;
  text-decoration: none;
  transition: border-color .25s ease, color .25s ease;
}
.blog-tag:hover { border-color: var(--pink-b); color: var(--pink-b); }

.blog-list {
  display: flex;
  flex-direction: column;
  gap: clamp(80px, 10vw, 140px);
  margin-top: clamp(80px, 10vw, 130px);
}
.blog-entry .date {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--ink-soft);
}
.blog-entry h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-top: 30px;
  color: var(--ink);
}
.blog-entry h3 a { color: inherit; text-decoration: none; }
.blog-entry h3 .hl {
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.blog-entry.acc-pink  h3 .hl { background-image: linear-gradient(90deg, var(--pink-a), var(--pink-b)); }
.blog-entry.acc-green h3 .hl { background-image: linear-gradient(90deg, var(--green-a), var(--green-b)); }
.blog-entry.acc-blue  h3 .hl { background-image: linear-gradient(90deg, var(--blue-a), var(--blue-b)); }
.blog-entry .excerpt {
  font-family: 'Manrope', sans-serif;
  font-weight: 200;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 76ch;
  margin-top: 26px;
}

/* ---------- blog archive (home.php / category.php) ---------- */
.blog-archive { min-height: 40vh; }
.blog-desc {
  font-family: 'Manrope', sans-serif;
  font-weight: 200;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 26px auto 0;
}
/* aktywna kategoria = sam gradient, BEZ ramki (przezroczysta ramka lamie gradient
   na krawedziach); padding +1px rekompensuje zdjete 1px obramowania */
.blog-tag.is-active,
.blog-tag.is-active:hover {
  background: linear-gradient(90deg, var(--pink-a), var(--pink-b));
  color: #fff;
  border: 0;
  padding: 8px 19px;
}
.blog-empty {
  font-family: 'Manrope', sans-serif;
  font-weight: 200;
  font-size: 1.2rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 90px;
}
/* standardowa paginacja WP w stylu chipow */
.blog-section .navigation.pagination {
  margin-top: clamp(80px, 10vw, 130px);
}
.blog-section .navigation.pagination .screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.blog-section .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.blog-section .page-numbers {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--ink-soft);
  border: 1px solid var(--ink-soft);
  padding: 9px 16px;
  min-width: 42px;
  text-align: center;
  text-decoration: none;
  transition: border-color .25s ease, color .25s ease;
}
.blog-section a.page-numbers:hover { border-color: var(--pink-b); color: var(--pink-b); }
.blog-section .page-numbers.current {
  background: linear-gradient(90deg, var(--pink-a), var(--pink-b));
  color: #fff;
  border: 0;
  padding: 10px 17px;
}
.blog-section .page-numbers.dots { border-color: transparent; }

/* ---------- single post (Field notes article) ---------- */
.post-single {
  --acc-a: var(--pink-a); /* domyslny akcent: pink (nadpisywany klasa acc-* wg autora) */
  --acc-b: var(--pink-b);
  /* --acc-mid: ton na tekst w dymku Jargon — jeden krok jasniej niz --acc-b.
     Rozowy #e049d2 to wybor Dominika; niebieski i zielony sa dobrane tak, by
     wygladac tak samo mocno. Kontrast na bialym: roz 3.47:1, niebieski 5.81:1,
     zielony 3.35:1 — czyli roz i zielen ponizej WCAG AA (4.5:1) dla tekstu 15px.
     Swiadomie, bo to kolor marki; do podniesienia razem, nie pojedynczo. */
  --acc-mid: #e049d2;
  position: relative;
  max-width: calc(1228px + 2 * clamp(24px, 6vw, 96px)); /* tresc 1228px = rozstaw kresek usunietych 2026-07-24 */
  margin: 0 auto;
  padding: 100px clamp(24px, 6vw, 96px) 130px; /* boki = grid menu (pozycje starych kresek w wezszych oknach) */
}
.post-single.acc-pink  { --acc-a: var(--pink-a);  --acc-b: var(--pink-b);  --acc-mid: #e049d2; }
.post-single.acc-blue  { --acc-a: var(--blue-a);  --acc-b: var(--blue-b);  --acc-mid: #4058d9; }
.post-single.acc-green { --acc-a: var(--green-a); --acc-b: var(--green-b); --acc-mid: #549e00; }
.post-single .post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.post-single .post-meta .date {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--ink-soft);
}
.post-single .post-meta .cat {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--ink-soft);
  padding: 5px 14px;
  text-decoration: none;
  transition: border-color .25s ease, color .25s ease;
}
.post-single .post-meta .cat:hover { border-color: var(--pink-b); color: var(--pink-b); }

.post-single h1 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-top: 30px;
  color: var(--ink);
}
.post-single h1 .hl {
  background: linear-gradient(90deg, var(--acc-a), var(--acc-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* H2 = lead (ExtraLight), H3 = srodtytul, H4 = maly srodtytul w gradiencie */
.post-single h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 200;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  line-height: 1.35;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin-top: 54px;
}
.post-single h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  letter-spacing: -0.5px;
  line-height: 1.25;
  color: var(--acc-a); /* H3 w kolorze autora (DK 2026-10-11) */
  margin-top: 60px;
}
.post-single h4 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.2px;
  line-height: 1.3;
  margin-top: 22px; /* jak odstep miedzy akapitami (DK 2026-10-11) */
  color: var(--ink); /* H4 czarny (DK 2026-10-11) */
}
.post-single p {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-top: 22px;
}
.post-single h1 + .post-content > p:first-child,
.post-single h2 + p { margin-top: 28px; }
.post-single p a, .post-single li a {
  color: var(--acc-b); /* akcent autora */
  text-decoration: none;
  border-bottom: 1px solid var(--acc-b); /* underline domyslnie */
  transition: border-color .2s ease;
}
.post-single p a:hover, .post-single li a:hover { border-bottom-color: transparent; }
.post-single strong { font-weight: 800; color: var(--ink); }

.post-single ul, .post-single ol {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 26px;
  padding: 0;
}
.post-single ul li { gap: 20px; } /* odstep bullet->tekst (bullet zostaje na gridzie) */
.post-single ol { counter-reset: post-item; }
.post-single li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.post-single li::before {
  flex: none;
  width: 14px; height: 14px;
  margin-top: calc((1rem * 1.6 - 14px) / 2);
  border-radius: 50%;
  box-sizing: border-box;
  display: grid;
  place-items: center;
}
.post-single ul li::before { content: ""; border: 4px solid var(--acc-b); background: transparent; }
.post-single ol li::before {
  counter-increment: post-item;
  content: counter(post-item);
  background: var(--ink);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

/* cytaty (style bloku core/quote) */
.post-single blockquote { margin: 54px 0 0; border: none; padding: 0; }

/* wariant accent: kolorowy tekst + znak "ee" z logo */
.post-single blockquote[class*="is-style-brz-accent"] {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
  margin-bottom: 54px; /* rowny odstep gora/dol (kolabuje z margin-top sasiada) */
  padding: 0 0 0 clamp(0px, 4vw, 40px); /* prawy padding zdjety: znak ee licuje z gridem */
}
.post-single blockquote[class*="is-style-brz-accent"] p {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.55;
  margin: 0;
  background-image: linear-gradient(90deg, var(--acc-a), var(--acc-b)); /* akcent autora */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.post-single blockquote[class*="is-style-brz-accent"] p + p { margin-top: 14px; }
.post-single blockquote[class*="is-style-brz-accent"]::after {
  content: "";
  width: 64px;
  aspect-ratio: 254 / 137;
  /* znak ee wysrodkowany na 1. linii cytatu, bez dodawania wysokosci: rowny odstep gora/dol (DK 2026-10-11) */
  margin-top: calc((clamp(1.1rem, 2vw, 1.3rem) * 1.55 - 64px * 137 / 254) / 2);
  margin-bottom: calc((clamp(1.1rem, 2vw, 1.3rem) * 1.55 - 64px * 137 / 254) / 2);
  background: linear-gradient(135deg, var(--acc-a), var(--acc-b)); /* akcent autora */
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20254%20137%22%3E%3Cpath%20transform%3D%22translate%28-283%20-31%29%22%20d%3D%22M329.5%20167.0C308.5%20162.8%20289.8%20144.3%20284.8%20123.0C282.8%20114.4%20283.1%2082.1%20285.3%2074.1C288.0%2064.0%20292.7%2056.2%20301.0%2047.9C312.9%2036.0%20325.1%2031.0%20342.3%2031.0C358.6%2031.0%20371.4%2036.4%20383.0%2048.0C396.2%2061.2%20400.0%2071.8%20400.0%2095.2L400.0%20110.0L362.0%20110.0C332.3%20110.0%20324.0%20110.3%20324.0%20111.2C324.1%20113.6%20327.7%20120.5%20330.1%20122.7C333.3%20125.6%20337.2%20127.0%20342.1%20127.0L346.0%20127.0L346.0%20147.5L346.0%20168.0L339.8%20167.9C336.3%20167.8%20331.7%20167.4%20329.5%20167.0Z%22%2F%3E%3Cpath%20transform%3D%22translate%28-146%20-31%29%22%20d%3D%22M329.5%20167.0C308.5%20162.8%20289.8%20144.3%20284.8%20123.0C282.8%20114.4%20283.1%2082.1%20285.3%2074.1C288.0%2064.0%20292.7%2056.2%20301.0%2047.9C312.9%2036.0%20325.1%2031.0%20342.3%2031.0C358.6%2031.0%20371.4%2036.4%20383.0%2048.0C396.2%2061.2%20400.0%2071.8%20400.0%2095.2L400.0%20110.0L362.0%20110.0C332.3%20110.0%20324.0%20110.3%20324.0%20111.2C324.1%20113.6%20327.7%20120.5%20330.1%20122.7C333.3%20125.6%20337.2%20127.0%20342.1%20127.0L346.0%20127.0L346.0%20147.5L346.0%20168.0L339.8%20167.9C336.3%20167.8%20331.7%20167.4%20329.5%20167.0Z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20254%20137%22%3E%3Cpath%20transform%3D%22translate%28-283%20-31%29%22%20d%3D%22M329.5%20167.0C308.5%20162.8%20289.8%20144.3%20284.8%20123.0C282.8%20114.4%20283.1%2082.1%20285.3%2074.1C288.0%2064.0%20292.7%2056.2%20301.0%2047.9C312.9%2036.0%20325.1%2031.0%20342.3%2031.0C358.6%2031.0%20371.4%2036.4%20383.0%2048.0C396.2%2061.2%20400.0%2071.8%20400.0%2095.2L400.0%20110.0L362.0%20110.0C332.3%20110.0%20324.0%20110.3%20324.0%20111.2C324.1%20113.6%20327.7%20120.5%20330.1%20122.7C333.3%20125.6%20337.2%20127.0%20342.1%20127.0L346.0%20127.0L346.0%20147.5L346.0%20168.0L339.8%20167.9C336.3%20167.8%20331.7%20167.4%20329.5%20167.0Z%22%2F%3E%3Cpath%20transform%3D%22translate%28-146%20-31%29%22%20d%3D%22M329.5%20167.0C308.5%20162.8%20289.8%20144.3%20284.8%20123.0C282.8%20114.4%20283.1%2082.1%20285.3%2074.1C288.0%2064.0%20292.7%2056.2%20301.0%2047.9C312.9%2036.0%20325.1%2031.0%20342.3%2031.0C358.6%2031.0%20371.4%2036.4%20383.0%2048.0C396.2%2061.2%20400.0%2071.8%20400.0%2095.2L400.0%20110.0L362.0%20110.0C332.3%20110.0%20324.0%20110.3%20324.0%20111.2C324.1%20113.6%20327.7%20120.5%20330.1%20122.7C333.3%20125.6%20337.2%20127.0%20342.1%20127.0L346.0%20127.0L346.0%20147.5L346.0%20168.0L339.8%20167.9C336.3%20167.8%20331.7%20167.4%20329.5%20167.0Z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}
/* dawne warianty kolorow accent usuniete — kolor cytatu (ee) idzie z akcentu autora (--acc-*) */

/* wariant panel: gradientowe tlo + sygnet ·b */
.post-single blockquote[class*="is-style-brz-panel"] {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
  padding: clamp(28px, 4vw, 40px);
  background: linear-gradient(135deg, var(--acc-a), var(--acc-b)); /* akcent autora */
}
.post-single blockquote[class*="is-style-brz-panel"]::before {
  content: "";
  width: clamp(44px, 6vw, 64px);
  aspect-ratio: 1;
  background: url('../img/favicon-white.png') center / contain no-repeat;
}
.post-single blockquote[class*="is-style-brz-panel"] p {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.55;
  color: #fff;
  margin: 0;
}
.post-single blockquote[class*="is-style-brz-panel"] p + p { margin-top: 14px; }
/* dawne warianty kolorow panelu usuniete — tlo panelu (·b) idzie z akcentu autora (--acc-*) */
@media (max-width: 560px) {
  .post-single blockquote[class*="is-style-brz-panel"] { grid-template-columns: 1fr; }
  .post-single blockquote[class*="is-style-brz-panel"]::before { width: 40px; }
}

/* ---------- case study (CPT case-study) ---------- */
.cs-single {
  --acc-a: var(--pink-a);
  --acc-b: var(--pink-b);
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px clamp(24px, 5vw, 48px) 130px;
}
.cs-single.acc-blue  { --acc-a: var(--blue-a);  --acc-b: var(--blue-b); }
.cs-single.acc-green { --acc-a: var(--green-a); --acc-b: var(--green-b); }
.cs-single strong { font-weight: 800; color: var(--ink); }

.cs-single .cs-head { text-align: center; }
.cs-single .cs-head .kicker,
.cs-single .cs-kicker {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-align: center;
  background: linear-gradient(90deg, var(--acc-a), var(--acc-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cs-single h1 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-top: 26px;
  color: var(--ink);
}
.cs-single h1 .hl {
  background: linear-gradient(90deg, var(--acc-a), var(--acc-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* highlight (format "Highlight" / mark) = gradientowy tekst */
.cs-single mark.has-inline-color {
  background: linear-gradient(90deg, var(--acc-a), var(--acc-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.cs-single .cs-lead {
  font-family: 'Manrope', sans-serif;
  font-weight: 200;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
  text-align: center;
  max-width: 58ch;
  margin: 34px auto 0;
}
.cs-single .cs-lead + .cs-lead {
  margin-top: 0;
}
.cs-single .cs-punch {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 30px;
}

/* panel statystyk */
.cs-single .cs-stats {
  background: var(--gray-bg);
  padding: clamp(28px, 4vw, 44px);
  margin-top: 70px;
}
.cs-single .cs-chip {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--ink-soft);
  padding: 4px 12px;
  margin-top: 38px;
}
.cs-single .cs-stats > .cs-chip:first-child { margin-top: 0; }
.cs-single .cs-big {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.3rem, 2.6vw, 1.65rem);
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-top: 16px;
}
.cs-single .cs-fine {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: .92rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* naglowki sekcji */
.cs-single .cs-sec {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  letter-spacing: -0.4px;
  text-align: center;
  color: var(--ink);
  margin-top: 110px;
}
.cs-single .cs-sec-sub {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: .98rem;
  line-height: 1.65;
  text-align: center;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 18px auto 0;
}

/* 3 karty problemow */
.cs-single .cs-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 34px);
  margin-top: 56px;
}
@media (max-width: 820px) {
  .cs-single .cs-cards { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
}
.cs-single .cs-card {
  background: linear-gradient(135deg, var(--acc-a), var(--acc-b));
  color: #fff;
  padding: clamp(24px, 3vw, 34px);
}
.cs-single .cs-card h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.3px;
  line-height: 1.3;
  margin-top: 12px;
  color: #fff;
}
.cs-single .cs-card p {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: .95rem;
  line-height: 1.6;
  color: #fff; /* jawnie, nie przez dziedziczenie — edytor ma regule `p` z kolorem */
  margin-top: 14px;
  opacity: .95;
}
.cs-single .cs-card .cs-lbl {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: .85;
  margin-top: 0;
}

/* bloki rozwiazania */
.cs-single .cs-block { padding: clamp(24px, 3.5vw, 40px); margin-top: 18px; }
.cs-single .cs-sec-sub + .cs-block { margin-top: 56px; }
.cs-single .cs-block.gray { background: var(--gray-bg); }
.cs-single .cs-block h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.2px;
  color: var(--ink);
}
.cs-single .cs-sub {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: .85rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-top: 6px;
}
.cs-single .cs-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
  padding: 0;
}
.cs-single .cs-block li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.cs-single .cs-block li::before {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  margin-top: calc((0.95rem * 1.6 - 12px) / 2);
  border-radius: 50%;
  border: 3.5px solid var(--acc-b);
  background: transparent;
  box-sizing: border-box;
}

/* wyrozniona teza */
.cs-single .cs-statement {
  position: relative;
  text-align: center;
  margin-top: 120px;
  padding: 14px 80px; /* tekst siega pozycji kresek usunietych 2026-07-24 (inset 80px) */
}
@media (max-width: 760px) {
  .cs-single .cs-statement { padding: 14px 0; } /* ponizej 760px kreski staly na krawedzi */
}
.cs-single .cs-txt {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  line-height: 1.5;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: 30px auto 0;
}

/* sygnet-separator */
.cs-single .cs-mark { text-align: center; margin: 110px 0 0; }
.cs-single .cs-mark img { height: 42px; width: auto; }

/* rezultaty */
.cs-single .cs-results-h {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  letter-spacing: -1.5px;
  text-align: center;
  color: var(--ink);
  margin-top: 90px;
}
.cs-single .cs-res {
  font-family: 'Manrope', sans-serif;
  font-weight: 200;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.5;
  color: var(--ink-soft);
  text-align: center;
  max-width: 52ch;
  margin: 44px auto 0;
}

/* ---------- key visual (template page-key-visual.php) ---------- */
.kv {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px clamp(24px, 6vw, 96px) 120px;
}
body.kv-body { background: var(--bg); }

/* chrome dokumentacji */
.kv h1.kv-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -1.5px;
  margin-top: 34px;
  color: var(--ink);
}
.kv .kv-intro {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 62ch;
  margin-top: 16px;
}
.kv .kv-kicker {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--pink-a), var(--pink-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: 90px;
}
.kv h2.kv-sec {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: -1px;
  margin-top: 12px;
  color: var(--ink);
}
.kv .kv-desc {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 68ch;
  margin-top: 14px;
}
.kv .kv-sub {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 54px;
}
.kv .kv-spec {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-faint);
  letter-spacing: .2px;
  margin-top: 8px;
}
.kv .kv-note {
  border: 1px solid var(--chip-border);
  border-left: 3px solid var(--pink-b);
  background: var(--gray-bg);
  padding: 18px 22px;
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: .95rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-top: 28px;
}
.kv .kv-note strong { font-weight: 800; color: var(--ink); }
.kv hr.wp-block-separator {
  border: 0;
  border-top: 1px solid var(--chip-border);
  margin: 90px 0 0;
  max-width: none;
}
/* highlight (mark) = gradient rozowy */
.kv mark.has-inline-color {
  background: linear-gradient(90deg, var(--pink-a), var(--pink-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

/* specimeny typograficzne */
.kv .kv-t-display { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: clamp(2.4rem, 6.5vw, 5rem); line-height: 1.12; letter-spacing: -2px; color: var(--ink); margin-top: 30px; }
.kv .kv-t-h2 { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -1px; color: var(--ink); margin-top: 30px; }
.kv .kv-t-h3 { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -0.5px; margin-top: 30px; background: linear-gradient(90deg, var(--blue-a), var(--blue-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kv .kv-t-name { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.15; letter-spacing: -0.5px; color: var(--ink); margin-top: 30px; }
.kv .kv-t-kicker { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; margin-top: 30px; background: linear-gradient(90deg, var(--pink-a), var(--pink-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kv .kv-t-label { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-faint); margin-top: 30px; }
.kv .kv-t-xlead { font-family: 'Manrope', sans-serif; font-weight: 200; font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.35; color: var(--ink); max-width: 52ch; margin-top: 30px; }
.kv .kv-t-lead { font-family: 'Manrope', sans-serif; font-weight: 300; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.65; color: var(--ink-soft); max-width: 52ch; margin-top: 30px; }
.kv .kv-t-body { font-family: 'Manrope', sans-serif; font-weight: 300; font-size: 1.05rem; line-height: 1.75; color: var(--ink-soft); max-width: 62ch; margin-top: 30px; }
.kv .kv-t-xbody { font-family: 'Manrope', sans-serif; font-weight: 200; font-size: .95rem; line-height: 1.5; color: var(--ink-soft); max-width: 62ch; margin-top: 30px; }
.kv .kv-t-small { font-family: 'Manrope', sans-serif; font-weight: 300; font-size: 13px; line-height: 1.55; color: var(--ink-soft); margin-top: 30px; }

/* probki kolorow (spacer jako chip) */
.kv .kv-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; margin-top: 24px; }
.kv .kv-swatches.wide { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.kv .kv-swatch { border: 1px solid var(--chip-border); }
.kv .kv-swatch .wp-block-spacer { margin: 0; }
.kv .kv-swatch p { padding: 10px 14px 14px; font-family: 'Inter', sans-serif; font-size: 12px; line-height: 1.6; color: var(--ink-faint); margin: 0; }
.kv .kv-swatch p strong { display: block; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 13.5px; color: var(--ink); margin-bottom: 2px; }
.kv .kv-c-ink    { background: var(--ink); }
.kv .kv-c-soft   { background: var(--ink-soft); }
.kv .kv-c-faint  { background: var(--ink-faint); }
.kv .kv-c-gray   { background: var(--gray-bg); }
.kv .kv-c-white  { background: #fff; border-bottom: 1px solid var(--chip-border); }
.kv .kv-c-border { background: var(--chip-border); }
.kv .kv-g-pink  { background: linear-gradient(90deg, var(--pink-a), var(--pink-b)); }
.kv .kv-g-blue  { background: linear-gradient(135deg, var(--blue-a), var(--blue-b)); }
.kv .kv-g-green { background: linear-gradient(135deg, var(--green-a), var(--green-b)); }

/* kafle logo w key visual */
.kv .kv-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 24px; }
.kv .kv-logo-tile { border: 1px solid var(--chip-border); display: flex; flex-direction: column; }
.kv .kv-logo-canvas { flex: 1; min-height: 190px; display: grid; place-items: center; padding: 36px; }
.kv .kv-logo-canvas.on-gray { background: var(--gray-bg); }
.kv .kv-logo-canvas.on-ink { background: var(--ink); }
.kv .kv-logo-canvas figure { margin: 0; }
.kv .kv-logo-canvas img { height: 56px; width: auto; max-width: 100%; }
.kv .kv-logo-canvas.is-mark img { height: 64px; }
.kv .kv-logo-tile > p { border-top: 1px solid var(--chip-border); padding: 14px 18px; margin: 0; font-family: 'Inter', sans-serif; font-size: 12px; line-height: 1.6; color: var(--ink-faint); }

/* kafle list (style .pillar sa globalne) */
.kv .kv-tile { border: 1px solid var(--chip-border); padding: 28px; }
.kv .kv-tile > ul, .kv .kv-tile > ol { margin-top: 18px; }
.kv .acc-pink  { --pillar-accent: var(--pink-b); }
.kv .acc-blue  { --pillar-accent: var(--blue-a); }
.kv .acc-green { --pillar-accent: var(--green-b); }
.kv .acc-ink   { --pillar-accent: var(--ink); }
.kv .kv-tile.on-panel { background: linear-gradient(135deg, var(--blue-a), var(--blue-b)); border: none; }
.kv .kv-tile.on-panel li { color: rgba(255,255,255,.95); }
.kv .kv-tile.on-panel ul li::before { border-color: #fff; }
.kv .kv-tile.on-panel ol li::before { background: #fff; color: var(--blue-a); }
.kv .kv-tile .kv-t-label { margin-top: 0; margin-bottom: 4px; }
.kv .kv-tile.on-panel .kv-t-label { color: rgba(255,255,255,.75); }

/* chipy, paginacja, przyciski */
.kv .kv-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.kv .kv-row a { text-decoration: none; }
.kv .btn-ghost {
  display: inline-flex;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  padding: 14px 26px;
  border: 1px solid var(--chip-border);
  transition: border-color .25s ease, color .25s ease;
}
.kv .btn-ghost:hover { border-color: var(--pink-b); color: var(--pink-b); }
.kv .page-numbers {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--ink-soft);
  border: 1px solid var(--ink-soft);
  padding: 9px 16px;
  min-width: 42px;
  text-align: center;
  text-decoration: none;
}
.kv .page-numbers.current { background: linear-gradient(90deg, var(--pink-a), var(--pink-b)); color: #fff; border: 0; padding: 10px 17px; }

/* karta zespolu (aliasy do globalnych .member*) */
.kv .member { max-width: 380px; }
.kv .member-photo { background: linear-gradient(135deg, var(--pink-a), var(--pink-b)); }
.kv .member-photo figure { position: absolute; inset: 0; margin: 0; }
.kv .member-photo figure img { width: 100%; height: 100%; object-fit: cover; }

/* cytaty (aliasy do stylow bloku Cytat z wpisow) */
.kv blockquote { margin: 40px 0 0; border: none; padding: 0; max-width: 760px; }
.kv blockquote[class*="is-style-brz-accent"] {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
  margin-bottom: 54px;
  padding: 0 0 0 clamp(0px, 4vw, 40px);
}
.kv blockquote[class*="is-style-brz-accent"] p {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.55;
  margin: 0;
  background-image: linear-gradient(90deg, var(--blue-a), var(--blue-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.kv blockquote[class*="is-style-brz-accent"]::after {
  content: "";
  width: 64px;
  aspect-ratio: 254 / 137;
  margin-top: 6px;
  background: linear-gradient(135deg, var(--blue-a), var(--blue-b));
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20254%20137%22%3E%3Cpath%20transform%3D%22translate%28-283%20-31%29%22%20d%3D%22M329.5%20167.0C308.5%20162.8%20289.8%20144.3%20284.8%20123.0C282.8%20114.4%20283.1%2082.1%20285.3%2074.1C288.0%2064.0%20292.7%2056.2%20301.0%2047.9C312.9%2036.0%20325.1%2031.0%20342.3%2031.0C358.6%2031.0%20371.4%2036.4%20383.0%2048.0C396.2%2061.2%20400.0%2071.8%20400.0%2095.2L400.0%20110.0L362.0%20110.0C332.3%20110.0%20324.0%20110.3%20324.0%20111.2C324.1%20113.6%20327.7%20120.5%20330.1%20122.7C333.3%20125.6%20337.2%20127.0%20342.1%20127.0L346.0%20127.0L346.0%20147.5L346.0%20168.0L339.8%20167.9C336.3%20167.8%20331.7%20167.4%20329.5%20167.0Z%22%2F%3E%3Cpath%20transform%3D%22translate%28-146%20-31%29%22%20d%3D%22M329.5%20167.0C308.5%20162.8%20289.8%20144.3%20284.8%20123.0C282.8%20114.4%20283.1%2082.1%20285.3%2074.1C288.0%2064.0%20292.7%2056.2%20301.0%2047.9C312.9%2036.0%20325.1%2031.0%20342.3%2031.0C358.6%2031.0%20371.4%2036.4%20383.0%2048.0C396.2%2061.2%20400.0%2071.8%20400.0%2095.2L400.0%20110.0L362.0%20110.0C332.3%20110.0%20324.0%20110.3%20324.0%20111.2C324.1%20113.6%20327.7%20120.5%20330.1%20122.7C333.3%20125.6%20337.2%20127.0%20342.1%20127.0L346.0%20127.0L346.0%20147.5L346.0%20168.0L339.8%20167.9C336.3%20167.8%20331.7%20167.4%20329.5%20167.0Z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20254%20137%22%3E%3Cpath%20transform%3D%22translate%28-283%20-31%29%22%20d%3D%22M329.5%20167.0C308.5%20162.8%20289.8%20144.3%20284.8%20123.0C282.8%20114.4%20283.1%2082.1%20285.3%2074.1C288.0%2064.0%20292.7%2056.2%20301.0%2047.9C312.9%2036.0%20325.1%2031.0%20342.3%2031.0C358.6%2031.0%20371.4%2036.4%20383.0%2048.0C396.2%2061.2%20400.0%2071.8%20400.0%2095.2L400.0%20110.0L362.0%20110.0C332.3%20110.0%20324.0%20110.3%20324.0%20111.2C324.1%20113.6%20327.7%20120.5%20330.1%20122.7C333.3%20125.6%20337.2%20127.0%20342.1%20127.0L346.0%20127.0L346.0%20147.5L346.0%20168.0L339.8%20167.9C336.3%20167.8%20331.7%20167.4%20329.5%20167.0Z%22%2F%3E%3Cpath%20transform%3D%22translate%28-146%20-31%29%22%20d%3D%22M329.5%20167.0C308.5%20162.8%20289.8%20144.3%20284.8%20123.0C282.8%20114.4%20283.1%2082.1%20285.3%2074.1C288.0%2064.0%20292.7%2056.2%20301.0%2047.9C312.9%2036.0%20325.1%2031.0%20342.3%2031.0C358.6%2031.0%20371.4%2036.4%20383.0%2048.0C396.2%2061.2%20400.0%2071.8%20400.0%2095.2L400.0%20110.0L362.0%20110.0C332.3%20110.0%20324.0%20110.3%20324.0%20111.2C324.1%20113.6%20327.7%20120.5%20330.1%20122.7C333.3%20125.6%20337.2%20127.0%20342.1%20127.0L346.0%20127.0L346.0%20147.5L346.0%20168.0L339.8%20167.9C336.3%20167.8%20331.7%20167.4%20329.5%20167.0Z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}
.kv blockquote.is-style-brz-accent-pink p { background-image: linear-gradient(90deg, var(--pink-a), var(--pink-b)); }
.kv blockquote.is-style-brz-accent-pink::after { background: linear-gradient(135deg, var(--pink-a), var(--pink-b)); }
.kv blockquote.is-style-brz-accent-green p { background-image: linear-gradient(90deg, var(--green-a), var(--green-b)); }
.kv blockquote.is-style-brz-accent-green::after { background: linear-gradient(135deg, var(--green-a), var(--green-b)); }
.kv blockquote[class*="is-style-brz-panel"] {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
  padding: clamp(28px, 4vw, 40px);
  background: linear-gradient(135deg, var(--pink-a), var(--pink-b));
}
.kv blockquote[class*="is-style-brz-panel"]::before {
  content: "";
  width: clamp(44px, 6vw, 64px);
  aspect-ratio: 1;
  background: url('../img/favicon-white.png') center / contain no-repeat;
}
.kv blockquote[class*="is-style-brz-panel"] p {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.55;
  color: #fff;
  margin: 0;
}
.kv blockquote.is-style-brz-panel-purple { background: linear-gradient(135deg, #b12bdd, #7c1fa8); }
.kv blockquote.is-style-brz-panel-blue   { background: linear-gradient(135deg, var(--blue-a), var(--blue-b)); }
.kv blockquote.is-style-brz-panel-green  { background: linear-gradient(135deg, var(--green-a), var(--green-b)); }

/* elementy case study (aliasy klas cs-*) */
.kv .cs-stats { background: var(--gray-bg); padding: clamp(28px, 4vw, 44px); margin-top: 24px; }
.kv .cs-chip { display: inline-block; font-family: 'Manrope', sans-serif; font-weight: 400; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-soft); border: 1px solid var(--ink-soft); padding: 4px 12px; }
.kv .cs-big { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: clamp(1.3rem, 2.6vw, 1.65rem); letter-spacing: -0.5px; color: var(--ink); margin-top: 16px; }
.kv .cs-fine { font-family: 'Manrope', sans-serif; font-weight: 300; font-size: .92rem; line-height: 1.55; color: var(--ink-soft); margin-top: 8px; }
.kv .cs-card { background: linear-gradient(135deg, var(--pink-a), var(--pink-b)); color: #fff; padding: clamp(24px, 3vw, 34px); margin-top: 24px; }
.kv .cs-card h3 { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.3px; line-height: 1.3; margin-top: 12px; color: #fff; }
.kv .cs-card p { font-family: 'Manrope', sans-serif; font-weight: 300; font-size: .95rem; line-height: 1.6; margin-top: 14px; opacity: .95; }
.kv .cs-card .cs-lbl { font-weight: 500; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; opacity: .85; margin-top: 0; }
.kv .cs-block { padding: clamp(24px, 3.5vw, 40px); background: var(--gray-bg); margin-top: 24px; }
.kv .cs-block h3 { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.08rem; letter-spacing: -0.2px; color: var(--ink); }
.kv .cs-sub { font-family: 'Manrope', sans-serif; font-weight: 300; font-size: .85rem; line-height: 1.5; color: var(--ink-soft); margin-top: 6px; }
.kv .cs-block ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 22px; padding: 0; }
.kv .cs-block li { display: flex; gap: 14px; align-items: flex-start; font-family: 'Manrope', sans-serif; font-weight: 300; font-size: .95rem; line-height: 1.6; color: var(--ink-soft); }
.kv .cs-block li::before { content: ""; flex: none; width: 12px; height: 12px; margin-top: calc((0.95rem * 1.6 - 12px) / 2); border-radius: 50%; border: 3.5px solid var(--pink-b); background: transparent; box-sizing: border-box; }
.kv .cs-statement { text-align: center; margin-top: 54px; }
.kv .cs-statement .kv-t-kicker { margin-top: 0; }
.kv .cs-txt { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.5; letter-spacing: -0.3px; color: var(--ink); max-width: 34ch; margin: 26px auto 0; }

/* zasady */
.kv .kv-rules { font-family: 'Manrope', sans-serif; font-weight: 300; font-size: 1.05rem; line-height: 1.8; color: var(--ink-soft); max-width: 68ch; margin-top: 22px; }
.kv .kv-rules strong { font-weight: 800; color: var(--ink); }

/* ---------- archiwum case studies ---------- */
.cs-archive {
  max-width: 1128px;
  margin: 0 auto;
  padding: 90px clamp(24px, 6vw, 96px) 120px;
  min-height: 40vh;
}
.cs-archive .head { text-align: center; }
.cs-archive .kicker {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--green-a), var(--green-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.cs-archive h1,
.cs-archive .head h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: var(--ink);
  margin-top: 22px;
}
.cs-archive h1 .hl,
.cs-archive .head h2 .hl {
  background: linear-gradient(90deg, var(--green-a), var(--green-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* filtry-chipy (terminy cs-category) */
.cs-archive .cs-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 44px;
}
.cs-archive .cs-tag {
  /* kolor kategorii: para tokenow nadpisywana klasa tag-* (fallback = green) */
  --tag-a: var(--green-a);
  --tag-b: var(--green-b);
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--ink-soft);
  padding: 6px 14px;
  text-decoration: none;
  transition: border-color .25s ease, color .25s ease;
}
.cs-archive .cs-tag.tag-blue  { --tag-a: var(--blue-a);  --tag-b: var(--blue-b); }
.cs-archive .cs-tag.tag-green { --tag-a: var(--green-a); --tag-b: var(--green-b); }
.cs-archive .cs-tag.tag-pink  { --tag-a: var(--pink-a);  --tag-b: var(--pink-b); }
.cs-archive .cs-tag:hover { border-color: var(--tag-b); color: var(--tag-b); }
/* aktywny = sam gradient, BEZ ramki (przezroczysta ramka lamie gradient na krawedziach);
   padding +1px rekompensuje zdjete 1px obramowania, zeby chip nie zmienil rozmiaru */
.cs-archive .cs-tag.is-active {
  background: linear-gradient(90deg, var(--tag-a), var(--tag-b));
  border: 0;
  padding: 7px 15px;
  color: #fff;
  font-weight: 800;
}

/* lista */
.cs-archive .cs-list {
  display: flex;
  flex-direction: column;
  gap: 74px;
  margin-top: 90px;
}
.cs-archive .cs-entry h2,
.cs-archive .cs-entry h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin: 0;
}
.cs-archive .cs-entry h2 a,
.cs-archive .cs-entry h3 a { color: var(--ink); text-decoration: none; transition: opacity .25s ease; }
.cs-archive .cs-entry h2 a:hover,
.cs-archive .cs-entry h3 a:hover { opacity: .75; }
.cs-archive .cs-entry h2 .hl,
.cs-archive .cs-entry h3 .hl {
  background: linear-gradient(90deg, var(--green-a), var(--green-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cs-archive .cs-entry.acc-pink h2 .hl,
.cs-archive .cs-entry.acc-pink h3 .hl { background-image: linear-gradient(90deg, var(--pink-a), var(--pink-b)); }
.cs-archive .cs-entry.acc-blue h2 .hl,
.cs-archive .cs-entry.acc-blue h3 .hl { background-image: linear-gradient(90deg, var(--blue-a), var(--blue-b)); }
.cs-archive .cs-entry p {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-top: 16px;
  max-width: 78ch;
}
.cs-archive .cs-empty {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 70px;
}

/* paginacja (markup WP: .navigation.pagination + .page-numbers) */
.cs-archive .navigation.pagination { margin-top: 90px; }
.cs-archive .navigation.pagination .screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.cs-archive .nav-links { display: flex; justify-content: center; gap: 8px; }
.cs-archive .page-numbers {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--ink-soft);
  min-width: 38px;
  padding: 8px 12px;
  text-align: center;
  text-decoration: none;
  transition: border-color .25s ease, color .25s ease;
}
.cs-archive a.page-numbers:hover { border-color: var(--green-b); color: var(--green-b); }
.cs-archive .page-numbers.current {
  background: linear-gradient(90deg, var(--green-a), var(--green-b));
  border: 0;
  padding: 9px 13px;
  color: #fff;
  font-weight: 800;
}
.cs-archive .page-numbers.dots { border-color: transparent; }

/* ---------- newsletter ---------- */
.newsletter {
  --err: #e049d2; /* rozowy breinz dla walidacji newslettera (decyzja DK, 2026-09-30) */
  background: #f7f7f9;
  padding: 100px clamp(24px, 6vw, 96px);
  margin-top: 60px;
}
.newsletter-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.newsletter h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  letter-spacing: -1px;
  color: var(--ink);
}
.newsletter h2 .grad {
  display: block; /* zielony fragment zawsze od nowej linii */
  background: linear-gradient(90deg, var(--green-a), var(--green-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.newsletter p {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-top: 18px;
}
/* input wysrodkowany; przycisk pojawia sie dopiero, gdy ktos zacznie pisac.
   Desktop: przycisk wyjezdza OBOK inputu (absolute), wiec input stoi w miejscu.
   Mobile: przycisk rozwija sie POD inputem. Stan "jest tekst" = :not(:placeholder-shown),
   bez JS - reset formularza po zapisie sam go chowa. */
.newsletter form {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 360px;
  max-width: 100%;
  margin: 36px auto 0;
}
.newsletter input[type="email"] {
  width: 100%;
  min-width: 0;
  text-align: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--ink-faint); /* jak pola Contact (DK, 2026-09-30) */
  padding: 16px 20px;
  outline: none;
  transition: border-color .25s ease;
}
.newsletter input[type="email"]::placeholder { color: var(--ink-soft); } /* jak Contact (DK, 2026-09-30) */
.newsletter input[type="email"]:focus::placeholder { color: var(--ink-faint); }
.newsletter input[type="email"]:focus { border-color: var(--green-a); }
.newsletter button {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(100% + 12px);
  white-space: nowrap;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(90deg, var(--green-a), var(--green-b));
  border: none;
  padding: 0 30px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, box-shadow .25s ease;
}
.newsletter input[type="email"]:not(:placeholder-shown) + button {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.newsletter input[type="email"]:not(:placeholder-shown) + button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -8px rgba(84, 158, 0, .5);
}
.newsletter .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 520px;
  margin: 18px auto 0;
  text-align: left;
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: 12.5px; /* styl jak .ctc-note na Contact (DK, 2026-09-30) */
  line-height: 1.6;
  color: var(--ink-faint);
  cursor: pointer;
}
.newsletter .consent input[type="checkbox"] {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  cursor: pointer;
}
.newsletter .consent a {
  color: var(--pink-b); /* jak linki .ctc-note na Contact (DK, 2026-09-30) */
  text-decoration: underline;
}
.newsletter .msg {
  font-family: 'Manrope', sans-serif;
  /* jak tekst zgody: od lewej krawedzi tekstu 'Rules' (17px checkbox + 10px odstep), ta sama waga i rozmiar (DK, 2026-09-30) */
  font-weight: 300;
  font-size: 12.5px;
  line-height: 1.6;
  text-align: left;
  max-width: 520px;
  margin: 16px auto 0;
  padding-left: 27px;
  min-height: 1.4em;
}
.newsletter .msg.ok { color: var(--blue-b); } /* niebieski breinz zamiast zieleni (DK, 2026-09-30) */
.newsletter .msg.err { color: var(--err); }

/* walidacja i stan wysylki - 1:1 jak w formularzu Contact (v1.21.1) */
.newsletter input[type="email"].is-invalid {
  border-color: var(--err);
  box-shadow: 0 0 0 1px var(--err);
}
.newsletter input[type="email"].is-invalid::placeholder { color: var(--err); opacity: .6; }
.newsletter .consent.is-invalid { color: var(--err); }
.newsletter .consent.is-invalid input[type="checkbox"] {
  border-color: var(--err);
  box-shadow: 0 0 0 1px var(--err);
}
.newsletter button[disabled],
.newsletter input[type="email"]:not(:placeholder-shown) + button[disabled]:hover {
  cursor: progress;
  opacity: .75;
  transform: none;
  box-shadow: none;
}
.newsletter button .dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 9px;
  border-radius: 50%;
  background: #fff;
  vertical-align: baseline;
  animation: brz-pulse 1s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .newsletter button .dot { animation: none; opacity: .8; }
}

/* za wasko na przycisk obok wysrodkowanego inputu (360 + 12 + ~140 z kazdej strony osi) */
@media (max-width: 820px) {
  .newsletter button {
    position: static;
    max-height: 0;
    padding: 0 30px;
    margin-top: 0;
    overflow: hidden;
    transform: translateY(-6px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease, max-height .25s ease, margin-top .25s ease, padding .25s ease;
  }
  .newsletter input[type="email"]:not(:placeholder-shown) + button {
    max-height: 60px;
    margin-top: 12px;
    padding: 16px 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .newsletter button { transition: none; }
}

/* ---------- stopka: samo copyright (formularz przeniesiony na /contact/) ---------- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--chip-border);
}
.copyright {
  padding: 18px 0;
  text-align: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.6;
  background: linear-gradient(90deg, var(--pink-a), var(--pink-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* link (np. Privacy Policy) nie moze byc w gradiencie tekstu - wlasny kolor */
.copyright a { color: var(--pink-b); text-decoration: underline; }

/* ---------- Contact (szablon strony: page-contact.php) ---------- */
.ctc {
  --acc-a: var(--pink-a);
  --acc-b: var(--pink-b);
  --err: #e11d48; /* czerwien walidacji — celowo poza paleta marki */
  max-width: 980px;
  margin: 0 auto;
  padding: 90px clamp(24px, 6vw, 96px) 130px;
  text-align: center;
}
.ctc .kicker {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--acc-a), var(--acc-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.ctc h1 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--ink);
  margin-top: 16px;
}
.ctc .hl {
  background: linear-gradient(90deg, var(--acc-a), var(--acc-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ctc-lead {
  font-family: 'Manrope', sans-serif;
  font-weight: 200;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 22px auto 0;
}

/* dwa szare boksy nad formularzem */
.ctc-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
  margin-top: 54px;
  text-align: left;
}
.ctc-card {
  background: var(--gray-bg);
  padding: clamp(22px, 3vw, 32px);
}
.ctc-card h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -0.4px;
  color: var(--ink);
}
.ctc-card p {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-top: 16px;
}

/* formularz: 3 pola w rzedzie, tresc, zgoda, przycisk */
.ctc-form {
  display: grid;
  gap: 18px;
  margin-top: 54px;
  text-align: left;
}
.ctc-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ctc-form input:not([type="checkbox"]),
.ctc-form textarea {
  width: 100%;
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--ink-faint); /* szary jak tekst .ctc-note (DK, 2026-09-30) */
  padding: 15px 18px;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
  resize: vertical;
}
.ctc-form input::placeholder,
.ctc-form textarea::placeholder {
  color: var(--ink-soft); /* zwykly kolor tekstu, jak zgoda obok (DK, 2026-09-30) */
  opacity: 1;
}
/* pole aktywne, jeszcze puste: placeholder jasnoszary (DK, 2026-09-30) */
.ctc-form input:focus::placeholder,
.ctc-form textarea:focus::placeholder { color: var(--ink-faint); }
.ctc-form input:not([type="checkbox"]):focus,
.ctc-form textarea:focus {
  border-color: var(--acc-b);
  box-shadow: 0 0 0 1px var(--acc-b);
}
.ctc-form textarea { min-height: 190px; }

/* pole, ktore nie przeszlo walidacji (klasa zdejmowana przy pisaniu) */
.ctc-form input.is-invalid,
.ctc-form textarea.is-invalid {
  border-color: var(--err);
  box-shadow: 0 0 0 1px var(--err);
}
.ctc-form input.is-invalid::placeholder,
.ctc-form textarea.is-invalid::placeholder { color: var(--err); opacity: .6; }

/* etykiety tylko dla czytnikow ekranu (w projekcie sa same placeholdery) */
.ctc-form label.sr {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* zgoda marketingowa: opcjonalna, domyslnie NIEZAZNACZONA */
.ctc-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
  cursor: pointer;
}
.ctc-consent input[type="checkbox"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  cursor: pointer;
}

.ctc-form button {
  justify-self: center;
  min-width: 260px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(90deg, var(--acc-a), var(--acc-b));
  border: none;
  padding: 16px 34px;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ctc-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -8px rgba(216, 54, 190, .5);
}

/* stan wysylki: przycisk zablokowany + pulsujacy sygnet ·b obok napisu */
.ctc-form button[disabled] {
  cursor: progress;
  opacity: .75;
  transform: none;
  box-shadow: none;
}
.ctc-form button .dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 9px;
  border-radius: 50%;
  background: #fff;
  vertical-align: baseline;
  animation: brz-pulse 1s ease-in-out infinite;
}
@keyframes brz-pulse {
  0%, 100% { opacity: .25; transform: scale(.75); }
  50%      { opacity: 1;   transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .ctc-form button .dot { animation: none; opacity: .8; }
}

/* nota prawna pod przyciskiem (art. 13 RODO / notice at collection) */
.ctc-note {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-faint);
  text-align: center;
  margin: 0 auto;
  max-width: 52ch;
}
.ctc-note a { color: var(--acc-b); text-decoration: underline; }

.ctc-form .msg {
  font-family: 'Manrope', sans-serif;
  font-size: 14.5px;
  text-align: center;
  min-height: 1.4em;
}
.ctc-form .msg.ok { color: #15803d; }
.ctc-form .msg.err { color: var(--err); font-weight: 500; }

@media (max-width: 720px) {
  .ctc-cards { grid-template-columns: 1fr; }
  .ctc-row { grid-template-columns: 1fr; }
  .ctc-form button { min-width: 0; width: 100%; }
}

/* ---------- boxy "Juiced by AI" (lewy) + socials (prawy) — plywajace ----------
   Jeden egzemplarz kazdego boxu: w stopce (footer.php), kazdy w swoim slocie
   .float-slot. JS (main.js, "plywajace boxy") przelacza .is-floating: dopoki slot
   jest ponizej dolnej krawedzi okna, box jedzie fixed przy dole ekranu (bialy,
   jak dawniej w hero); gdy slot dojedzie na ta sama wysokosc - box laduje w stopce,
   w rzedzie z copyrightem. Bez JS boxy po prostu stoja w stopce. */
.corner-badge,
.corner-socials {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 0;
  white-space: nowrap;
}
.corner-badge {
  gap: 8px;
  /* typografia 1:1 z copyrightem w stopce (v1.20.10): Manrope 400, bez letter-spacingu */
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: normal;
  transition: font-size .25s ease;
}
.corner-badge .txt {
  background: linear-gradient(90deg, var(--pink-a), var(--pink-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent; /* napis w gradiencie pink jak znak ·b */
}
.corner-badge .badge-logo { width: auto; display: block; }
.corner-socials .socials { margin: 0; transition: gap .25s ease; }
.corner-socials .social { width: auto; }
.corner-socials .social svg { width: auto; display: block; }
.corner-badge .badge-logo,
.corner-socials .social,
.corner-socials .social svg { height: 15px; transition: height .25s ease; }
/* wyrownanie optyczne: glif X wypelnia caly viewBox, LI/YT maja wewnetrzne marginesy */
.corner-socials .social[aria-label^="X"] svg { height: 12px; }

/* biale tlo jako pseudo-element: box nie ma paddingu w zadnym stanie,
   wiec slot i uklad stopki nie drgaja przy dokowaniu */
.corner-badge::before,
.corner-socials::before {
  content: '';
  position: absolute;
  inset: -5.5px -16px;
  background: #fff;
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  transition: opacity .25s ease;
}

/* --- w locie: przy dolnej krawedzi okna, zewnetrzne krawedzie bialych boxow na gridzie menu --- */
.corner-badge.is-floating,
.corner-socials.is-floating {
  position: fixed;
  bottom: 5.5px;
  z-index: 80; /* nad trescia, pod menu (100) i panelem mobile (90) */
}
.corner-badge.is-floating { left: calc(clamp(24px, 6vw, 96px) + 16px); font-size: 12px; }
.corner-socials.is-floating { right: calc(clamp(24px, 6vw, 96px) + 16px); }
.is-floating::before { opacity: 1; }
/* ikony rowne wysokosci znaku ·b (14px) - oba boxy identycznej wysokosci */
.corner-badge.is-floating .badge-logo,
.corner-socials.is-floating .social,
.corner-socials.is-floating .social svg { height: 14px; }
.corner-socials.is-floating .social[aria-label^="X"] svg { height: 11px; }
/* pomiar w JS - bez animacji */
.no-anim,
.no-anim * { transition: none !important; }

/* --- wyszukiwarka w boxie socials (v1.22.0) ---
   Desktop: input przed ikonami, plywa razem z nimi. Przycisk "breinz" wysuwa sie
   dopiero, gdy ktos zacznie pisac (:not(:placeholder-shown), bez JS) - box rosnie w lewo,
   ikony stoja. <=640px: ta kopia znika, a w stopce pojawia sie .footer-search--mobile
   (osobny rzad na samym dole, wysrodkowany). Wyniki: search.php. */
.corner-socials { gap: 16px; }
.footer-search { display: flex; align-items: stretch; height: 30px; margin: 0; transition: height .25s ease; }
.footer-search input[type="search"] {
  width: 120px;
  height: 100%;
  box-sizing: border-box;
  border: 1px solid var(--ink-faint); /* jak pola formularzy (DK, 2026-09-30) */
  border-radius: 0;
  background: #fff;
  font-family: 'Manrope', sans-serif;
  font-weight: 300; /* wpisywany tekst jak w polach formularzy: zwykly kolor, bez rozstrzelenia (DK, 2026-09-30) */
  font-size: 12px;
  letter-spacing: normal;
  text-align: center;
  color: var(--ink);
  padding: 0 10px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .25s ease;
}
.footer-search input[type="search"]::placeholder { color: var(--ink-soft); opacity: 1; font-weight: 300; letter-spacing: normal; text-transform: none; } /* jak placeholdery formularzy (DK, 2026-09-30) */
.footer-search input[type="search"]:focus::placeholder { color: var(--ink-faint); }
.footer-search input[type="search"]:focus { border-color: var(--pink-b); }
.footer-search input[type="search"]::-webkit-search-cancel-button,
.footer-search input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.footer-search button {
  height: 100%;
  box-sizing: border-box;
  border: 0;
  cursor: pointer;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  flex: 0 0 auto; /* miejsce oddaje input, nie przycisk */
  background: linear-gradient(90deg, var(--pink-a), var(--pink-b));
  max-width: 0;
  padding: 0;
  margin-left: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width .25s ease, padding .25s ease, margin-left .25s ease, opacity .25s ease;
}
.footer-search input[type="search"]:not(:placeholder-shown) + button {
  max-width: 120px;
  padding: 0 16px;
  margin-left: 12px;
  opacity: 1;
}
.footer-search button:focus-visible { outline: 2px solid var(--pink-b); outline-offset: 2px; }
/* w locie: oba biale boxy tej samej wysokosci */
.corner-socials.is-floating .footer-search { height: 28px; }
.corner-badge.is-floating { min-height: 28px; }
/* kopia mobilna: na desktopie nie istnieje */
.site-footer .footer-search--mobile { display: none; }

/* --- w stopce: badge | copyright | socials, wyrownane w pionie ---
   grid 1fr auto 1fr - copyright siedzi dokladnie na srodku strony,
   niezaleznie od tego, ktory bok jest szerszy */
.site-footer .footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(24px, 6vw, 96px);
}
.site-footer .footer-inner .copyright { padding: 18px 0; }
/* slot trzyma miejsce w rzedzie, gdy box plywa (15px = ikony w stopce) */
.site-footer .float-slot { height: 15px; display: flex; align-items: center; }
.site-footer .float-slot--badge { justify-self: start; justify-content: flex-start; }
.site-footer .float-slot--socials { justify-self: end; justify-content: flex-end; }

@media (max-width: 800px) {
  /* trzy elementy nie mieszcza sie w jednym rzedzie: copyright na gorze,
     pod nim badge (lewo) | socials (prawo) - boxy dokuja na tych samych bokach, na ktorych plywaja */
  .site-footer .footer-inner { grid-template-columns: 1fr 1fr; gap: 16px 24px; padding-top: 22px; padding-bottom: 22px; }
  .site-footer .footer-inner .copyright { grid-column: 1 / -1; order: -1; padding: 0; }
}
@media (max-width: 640px) {
  /* wyszukiwarka: w boxie socials znika (w locie nie ma miejsca obok badge'a),
     zamiast niej trzeci rzad stopki na samym dole, wysrodkowany (decyzja Dominika) */
  .corner-socials .footer-search { display: none; }
  .site-footer .footer-search--mobile { display: flex; grid-column: 1 / -1; justify-content: center; }
  /* mobile: w locie 50% wieksze (klikalnosc) */
  .corner-badge::before,
  .corner-socials::before { inset: -4.5px -12px; }
  .corner-badge.is-floating,
  .corner-socials.is-floating { bottom: 4.5px; }
  .corner-badge.is-floating { left: 24px; font-size: 16px; } /* 12px + padding 12px */
  .corner-socials.is-floating { right: 24px; }
  .corner-badge.is-floating .badge-logo,
  .corner-socials.is-floating .social,
  .corner-socials.is-floating .social svg { height: 21px; }
  .corner-socials.is-floating .social[aria-label^="X"] svg { height: 16px; }
  .corner-socials.is-floating .socials { gap: 14px; }
  /* DK, 2026-10-10: oba biale boxy tej samej wysokosci na mobile */
  .corner-badge.is-floating,
  .corner-socials.is-floating { height: 28px; min-height: 28px; }
}
@media (max-width: 370px) {
  /* waskie telefony: w locie napis badge'a nie moze wjechac na socials */
  .corner-badge.is-floating { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-delay: 0ms !important; }
  .corner-badge, .corner-badge *,
  .corner-socials, .corner-socials * { transition: none !important; }
}

/* ---------- What we do (szablon strony: page-what-we-do.php) ---------- */
.wwd {
  --acc-a: var(--blue-a);
  --acc-b: var(--blue-b);
  max-width: 1128px;
  margin: 0 auto;
  padding: 90px clamp(24px, 6vw, 96px) 130px;
}
.wwd .acc-pink  { --acc-a: var(--pink-a);  --acc-b: var(--pink-b); }
.wwd .acc-green { --acc-a: var(--green-a); --acc-b: var(--green-b); }
.wwd .acc-blue  { --acc-a: var(--blue-a);  --acc-b: var(--blue-b); }

.wwd-head { text-align: center; }
.wwd-head .kicker {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--acc-a), var(--acc-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.wwd-head h1,
.wwd-head h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--ink);
  margin-top: 16px;
}
.wwd .hl {
  background: linear-gradient(90deg, var(--acc-a), var(--acc-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wwd-lead {
  font-family: 'Manrope', sans-serif;
  font-weight: 200;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 58ch;
  margin: 34px auto 0;
}
.wwd-statement {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  line-height: 1.5;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: 30px auto 0;
}

/* chip etykiety (kategoria filaru / warunki modelu) */
.wwd-chip {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--ink-faint);
  padding: 5px 12px;
}

/* --- filary --- */
.wwd-pillars {
  display: flex;
  flex-direction: column;
  gap: 90px;
  margin-top: 100px;
}
.wwd-card {
  background: var(--gray-bg);
  padding: clamp(28px, 4vw, 48px);
}
.wwd-card h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-top: 24px;
}
.wwd-card p {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-top: 18px;
  max-width: 82ch;
}

/* lista korzysci: pusty pierscien w akcencie, gap bullet -> tekst 20px */
.wwd-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 34px 0 0;
  padding: 0 clamp(0px, 2vw, 24px);
}
.wwd-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.wwd-list li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  box-sizing: border-box;
  border: 4px solid var(--acc-a);
  border-radius: 50%;
  /* wysrodkowanie wzgledem pierwszej linii tekstu */
  margin-top: calc((1rem * 1.6 - 14px) / 2);
}
.wwd-list strong { font-weight: 800; color: var(--ink); }

/* --- pick your model --- */
.wwd-models { margin-top: 150px; }
.wwd-group { margin-top: 80px; }
.wwd-group-kicker {
  text-align: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--acc-a), var(--acc-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wwd-model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  margin-top: 40px;
}
.wwd-model {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* chip nie rozciaga sie na szerokosc kolumny */
}
.wwd-model > * { width: 100%; }
.wwd-model > .wwd-chip { width: auto; }
.wwd-model h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-top: 18px;
}
.wwd-model-body {
  flex: 1; /* rowna wysokosc obu boksow w rzedzie, przycisk zawsze na dole */
  background: var(--gray-bg);
  padding: clamp(24px, 3vw, 36px);
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wwd-model-body .wwd-list { margin: 0 0 34px; align-self: stretch; padding: 0; }
.wwd-btn {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  padding: 12px 26px;
  margin-top: auto;
  background: linear-gradient(90deg, var(--acc-a), var(--acc-b));
  transition: transform .25s ease, box-shadow .25s ease;
}
.wwd-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(13, 13, 18, .45);
}

@media (max-width: 820px) {
  .wwd-pillars { gap: 64px; margin-top: 72px; }
  .wwd-models { margin-top: 110px; }
  .wwd-model-grid { grid-template-columns: 1fr; }
}

/* ---------- What we use / Stack (szablon strony: page-stack.php, v1.24.0) ---------- */
/* Moduly 1:1 z What we do: .wwd (kontener, akcenty, .hl), .wwd-head / .wwd-lead /
   .wwd-statement, .wwd-card (szary boks), .wwd-chip (chip narzedzia).
   Nowe tylko: uklad wierszy (boks | chipy) i linia podsumowania. */

/* lead = jeden akapit lamany <br>; szerszy i odrobine mniejszy niz na What we do,
   zeby kazde zdanie z makiety miescilo sie na desktopie w jednej linii */
.stk-lead { max-width: none; font-size: clamp(1rem, 1.4vw, 1.1rem); }

.stk-rows {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px);
  margin-top: 64px; /* bylo 100px - za duzo od 'Those four layers' (DK, 2026-09-30); 64 jak .abt-blocks */
}
.stk-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); /* boks szerszy: krotszy tekst, tytul w jednej linii */
  gap: clamp(24px, 3vw, 40px);
  align-items: start; /* chipy licuja z gora boksu */
}
/* tytul bez chipa nad nim; rozmiar jak H3 kart modeli na What we do */
.stk-card h2 {
  margin-top: 0;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  text-wrap: balance;
}
.stk-tools {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.stk-summary { text-align: center; margin-top: 110px; }

@media (max-width: 820px) {
  .stk-rows { gap: 56px; margin-top: 48px; }
  .stk-row { grid-template-columns: 1fr; gap: 24px; }
  .stk-summary { margin-top: 80px; }
}

/* ---------- About (szablon strony: page-about.php) ---------- */
/* Strona sklejona z gotowych modulow: .wwd (kontener + akcenty + .hl),
   .wwd-head / .wwd-lead / .wwd-chip / .wwd-card / .wwd-list / .wwd-model*
   oraz pelnoszerokosciowa sekcja .team. Ponizej tylko to, czego brakowalo. */
.abt > .wwd { padding-bottom: 40px; }

/* akcent ustawiony na samym kontenerze (.wwd rozdaje go dotad tylko dzieciom) */
.wwd.acc-pink  { --acc-a: var(--pink-a);  --acc-b: var(--pink-b); }
.wwd.acc-green { --acc-a: var(--green-a); --acc-b: var(--green-b); }
.wwd.acc-blue  { --acc-a: var(--blue-a);  --acc-b: var(--blue-b); }

/* sygnet ·b jako separator sekcji (odpowiednik .cs-single .cs-mark) */
.abt-mark { text-align: center; margin: 60px 0 0; }
.abt-mark img { height: 88px; width: auto; } /* wiekszy niz .cs-mark (42px) — decyzja Dominika */

/* bloki narracyjne: typografia z .wwd-card, szare tlo tylko na nieparzystych */
.abt-blocks { display: flex; flex-direction: column; gap: 24px; margin-top: 64px; }
.abt-block.is-plain { background: transparent; }
.abt-block .wwd-chip + h2 { margin-top: 20px; }
.abt-block .abt-claim {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
  margin-top: 18px;
  max-width: 82ch;
}

/* teza na pelna szerokosc (styl naglowka sekcji) */
.abt-statement { margin-top: 64px; }
.abt-statement h2 { margin-top: 0; }

/* dwie kolumny: How we work / This already runs (siatka z .wwd-model-grid) */
.abt-cols { margin-top: 110px; }
.abt-cols h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-top: 18px;
}
.abt-cols .wwd-model-body .wwd-list { margin-bottom: 0; } /* brak CTA pod lista */

/* sekcja zespolu na About: BEZ szarego tla (na stronie glownej zostaje szare) */
.abt .team { background: transparent; }

/* karty zespolu: akcent klasa zamiast pary color pickerow */
.member--pink  { --member-a: var(--pink-a);  --member-b: var(--pink-b); }
.member--blue  { --member-a: var(--blue-a);  --member-b: var(--blue-b); }
.member--green { --member-a: var(--green-a); --member-b: var(--green-b); }

@media (max-width: 820px) {
  .abt-blocks { margin-top: 48px; }
  .abt-cols { margin-top: 80px; }
  .abt-mark { margin-top: 48px; }
}

/* ---------- Strona glowna (page-home.php) ---------- */
/* Sekcje HP jada na gridzie menu: boki = clamp(24px, 6vw, 96px), bez max-width.
   Zwezenie zostaje tylko tam, gdzie jest celowe (newsletter 720px). */
.hp {
  --acc-a: var(--blue-a);
  --acc-b: var(--blue-b);
  padding-left: clamp(24px, 6vw, 96px);
  padding-right: clamp(24px, 6vw, 96px);
}
/* Na pelnym gridzie menu jedzie TYLKO sekcja pod hero (.hp-nutshell).
   Reszta sekcji HP siedzi w jednym, wezszym kontenerze 1128px + ten sam padding. */
.hp-narrow {
  max-width: calc(1128px + 2 * clamp(24px, 6vw, 96px));
  margin-left: auto;
  margin-right: auto;
}
.hp .acc-pink  { --acc-a: var(--pink-a);  --acc-b: var(--pink-b); }
.hp .acc-green { --acc-a: var(--green-a); --acc-b: var(--green-b); }
.hp .acc-blue  { --acc-a: var(--blue-a);  --acc-b: var(--blue-b); }
.hp.acc-pink   { --acc-a: var(--pink-a);  --acc-b: var(--pink-b); }
.hp.acc-green  { --acc-a: var(--green-a); --acc-b: var(--green-b); }
.hp.acc-blue   { --acc-a: var(--blue-a);  --acc-b: var(--blue-b); }
.hp .hl {
  background: linear-gradient(90deg, var(--acc-a), var(--acc-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* chip etykiety — ten sam styl co .wwd-chip na What we do */
.hp-chip {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--ink-faint);
  padding: 5px 12px;
}

.hp-head { text-align: center; }
.hp-head .kicker {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--acc-a), var(--acc-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hp-head h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--ink);
  margin-top: 16px;
}

/* --- bloki "w pigulce" (3 kafle) --- */
.hp-nutshell { padding-top: 100px; padding-bottom: 130px; } /* DK, 2026-10-10: biały odstęp przed Case studies po usunieciu Pick your model (130px jak dawniej) */
.hp-nutshell .hp-blocks { margin-top: 64px; } /* odstep od sygnetu jak .abt-blocks */
.hp-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}
.hp-block {
  background: var(--gray-bg);
  padding: clamp(24px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
a.hp-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -22px rgba(13, 13, 18, .45);
}
.hp-block h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-top: 22px;
}
.hp-block p {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: .95rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-top: 16px;
}

/* --- Pick your model (4 karty w rzedzie) --- */
.hp-models { padding-top: 130px; padding-bottom: 130px; }
.hp-models-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.4vw, 32px);
  margin-top: 54px;
  align-items: stretch;
}
.hp-group { display: flex; flex-direction: column; }
.hp-group-kicker {
  text-align: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--acc-a), var(--acc-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hp-model-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.4vw, 32px);
  margin-top: 24px;
}
.hp-model {
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
/* hover: podnosi sie i dostaje cien CALA karta (boks + przycisk), nie sam przycisk;
   szare tlo karty wypelnia biala szczeline miedzy boksem a przyciskiem */
.hp-model:hover,
.hp-model:has(.hp-btn:focus-visible) {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -18px rgba(13, 13, 18, .38);
  background: var(--gray-bg);
}
/* boks rosnie, przycisk zawsze na dole — rowna wysokosc wszystkich czterech kart */
.hp-model-box {
  flex: 1;
  background: var(--gray-bg);
  padding: clamp(20px, 2.2vw, 28px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center; /* rowny margines gora/dol (DK, 2026-09-30) */
}
.hp-model h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-top: 0;
}
.hp-model .hp-chip + h3 { margin-top: 16px; }
.hp-btn {
  display: block;
  text-align: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  padding: 13px 20px;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--acc-a), var(--acc-b));
}
/* link przycisku rozciagniety na cala karte - klik w boks tez prowadzi do CTA */
.hp-btn::after {
  content: '';
  position: absolute;
  inset: 0;
}
.hp-btn:focus-visible { outline: none; }
.hp-model:has(.hp-btn:focus-visible) { outline: 2px solid var(--acc-b); outline-offset: 3px; } /* klawiatura: obrys calej karty */

/* --- case studies i field notes na stronie glownej --- */
.hp-cs { background: var(--gray-bg); }
.hp-home .cs-archive,
.hp-home .blog-section {
  max-width: calc(1128px + 2 * clamp(24px, 6vw, 96px));
  margin-left: auto;
  margin-right: auto;
}
.hp-home .cs-archive {
  min-height: 0;
  padding: 110px clamp(24px, 6vw, 96px) 130px;
}

/* --- Field notes na HP: typografia 1:1 jak case studies nad nimi (v1.20.12) ---
   Decyzja Dominika: modul nie ma miec mniejszych czcionek (odwraca v1.13.1).
   Wartosci skopiowane z .cs-archive (kicker, naglowek sekcji, tytul wpisu, zajawka).
   Scope'owane do strony glownej - archiwum /field-notes/ zostaje bez zmian. */
.hp-home .blog-head .kicker { font-size: 12px; font-weight: 500; }
.hp-home .blog-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-top: 22px;
}
.hp-home .blog-tags { gap: 10px; margin-top: 44px; }
.hp-home .blog-tag { font-size: 12px; padding: 6px 14px; }
.hp-home .blog-list {
  gap: clamp(48px, 5vw, 66px);
  margin-top: clamp(56px, 6vw, 80px);
}
.hp-home .blog-entry .date { font-size: 12px; color: var(--ink-faint); }
.hp-home .blog-entry h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-top: 18px;
}
.hp-home .blog-entry .excerpt {
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-faint);
  max-width: 78ch;
  margin-top: 16px;
}
/* tytul nigdy szerszy niz zajawka pod nim (v1.20.11): wpis ma szerokosc fit-content,
   a h3 nie wlicza sie do niej (contain: inline-size) - szerokosc wyznacza zajawka
   (max 78ch), tytul lamie sie w jej obrebie. Wpis bez zajawki zostaje po staremu. */
.hp-home .blog-entry:has(.excerpt) { width: fit-content; max-width: 100%; }
/* Case studies + Field notes na HP: blok tekstu wysrodkowany w osi tytulu, tekst dalej do lewej (DK, 2026-09-30) */
.hp-home .cs-archive .cs-list,
.hp-home .blog-section .blog-list { width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; }
.hp-home .blog-entry:has(.excerpt) h3 { contain: inline-size; }

@media (max-width: 1024px) {
  .hp-blocks { grid-template-columns: 1fr; gap: 24px; }
  .hp-models-row { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 620px) {
  .hp-model-grid { grid-template-columns: 1fr; }
}

/* edytor blokowy: strona glowna nie ma Gutenberga, ale bloki hero/cs/blog tak */
.block-editor-block-list__layout .hp-nutshell { padding-top: 0; }

/* ---------- Glossary (CPT glossary: archive-glossary.php + single-glossary.php) ---------- */
.gls {
  --acc-a: var(--pink-a);
  --acc-b: var(--pink-b);
  max-width: 1128px;
  margin: 0 auto;
  padding: 90px clamp(24px, 6vw, 96px) 130px;
}
.gls.acc-pink  { --acc-a: var(--pink-a);  --acc-b: var(--pink-b); }
.gls.acc-green { --acc-a: var(--green-a); --acc-b: var(--green-b); }
.gls.acc-blue  { --acc-a: var(--blue-a);  --acc-b: var(--blue-b); }

.gls-head { text-align: center; }
.gls-head .kicker {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--acc-a), var(--acc-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.gls-head h1 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--ink);
  margin-top: 16px;
  /* globalne h1 (hero) ma max-width 14ch i rezerwe wysokosci na maszynopis */
  max-width: none;
  min-height: 0;
}
.gls .hl {
  background: linear-gradient(90deg, var(--acc-a), var(--acc-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* filtr A-Z: chipy liter, aktywna = gradient bez ramki (v1.6.8) */
.gls-az {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 46px;
}
.gls-az button {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--chip-border);
  padding: 6px 12px;
  min-width: 34px;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.gls-az button:hover { color: var(--acc-b); border-color: var(--acc-b); }
/* litera bez zadnego hasla: widoczna, ale martwa */
.gls-az button[disabled] { color: var(--chip-border); border-color: var(--chip-border); cursor: default; }
.gls-az button.is-active {
  border: 0;                    /* gradient bez ramki - patrz zasady v1.6.8 */
  padding: 7px 13px;            /* +1px za zdjeta ramke, zeby chip nie zmienil rozmiaru */
  color: #fff;
  font-weight: 800;
  background: linear-gradient(90deg, var(--acc-a), var(--acc-b));
}

/* ---------- Jargon: filtry + A-Z + slideshow (v1.23.0) ---------- */
.gls-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 18px;
  margin-top: 46px;
}
.gls-filter {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--ink-soft);
  padding: 12px 22px;
  cursor: pointer;
  position: relative;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
/* A-Z ma pod soba litery = "podzakladka" jak rodzic w menu (v1.20.2); znika po rozwinieciu */
/* podzakladka jako prawdziwa ramka 1px (pseudo-element), nie box-shadow: przy powiekszeniu
   innym niz 100% box-shadow ze spread -1px renderowal sie grubiej niz ramka chipa (DK, 2026-09-30).
   Pseudo-element lezy pod chipem (z-index -1), rodzic ma isolation: isolate. */
.gls-filter.has-sub { position: relative; }
.gls-filter.has-sub::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px; right: -5px; bottom: -5px;
  border: 1px solid var(--ink-soft);
  background: #fff;
  z-index: -1; /* pod chipem; bez clip-path - clip-path wygladzal (rozmywal) ramke przy powiekszeniu */
  pointer-events: none;
}
.gls-filter.has-sub.is-active::after,
.gls-filter.has-sub:hover::after { display: none; }
/* hover / aktywny = gradient, ramka zostaje przezroczysta (bez skoku wymiarow, zasada v1.20.2) */
.gls-filter:hover,
.gls-filter.is-active,
.gls-filter[aria-pressed="true"] {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(90deg, var(--acc-a), var(--acc-b)) border-box;
}
.gls-filter:focus-visible { outline: 2px solid var(--acc-b); outline-offset: 3px; }

/* litery: rzad kwadratowych chipow pod filtrami, tylko litery z haslami */
.gls-az {
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}
.gls-az[hidden] { display: none; }
.gls-az button {
  min-width: 46px;
  height: 46px;
  padding: 0 12px;
  font-size: 13px;
  letter-spacing: 1px;
  border-color: var(--ink-soft);
}
.gls-az button.is-active { min-width: 46px; height: 46px; padding: 0 13px; }

/* slideshow: siatka staje sie tasma, 2 kafle na widok (<=860px: 1), przewijana strzalkami */
.gls-stage { margin-top: 64px; }
.gls-stage .gls-grid { margin-top: 0; }
.gls-stage.is-slides { overflow: hidden; }
.gls-stage.is-slides .gls-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 0 clamp(28px, 3.5vw, 44px);
  align-items: flex-start; /* wysokosc kafla = jego tresc, nie najwyzszy z zestawu */
  transition: transform .45s cubic-bezier(.22,1,.36,1);
  will-change: transform;
}
.gls-stage.is-slides .gls-item { flex: 0 0 calc(50% - clamp(28px, 3.5vw, 44px) / 2); }
.gls-stage.is-slides .gls-item[hidden] { display: none; }
/* strzalki NAD tasma, do prawej (decyzja Dominika); kazdy kafel ma wlasna wysokosc */
.gls-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}
.gls-nav:not([hidden]) + .gls-stage { margin-top: 24px; } /* ukryty nav (siatka) nie zmienia odstepu */
.gls-nav[hidden] { display: none; }
.gls-arrow {
  width: 46px;
  height: 46px;
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  line-height: 1;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--ink-soft);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.gls-arrow:hover { color: #fff; border-color: transparent; background: linear-gradient(90deg, var(--acc-a), var(--acc-b)) border-box; }
.gls-arrow[disabled] { color: var(--chip-border); border-color: var(--chip-border); cursor: default; background: #fff; }
@media (max-width: 860px) {
  .gls-stage.is-slides .gls-item { flex: 0 0 100%; }
}
@media (max-width: 640px) {
  .gls-filter { font-size: 12px; padding: 10px 16px; }
  .gls-az button, .gls-az button.is-active { min-width: 40px; height: 40px; padding: 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .gls-stage.is-slides .gls-grid { transition: none; }
}

/* siatka hasel: 2 kolumny, chip + tytul NAD szarym boksem */
.gls-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 64px) clamp(28px, 3.5vw, 44px);
  margin-top: 64px;
}
.gls-item {
  display: flex;
  flex-direction: column;
}
/* filtr A-Z ukrywa kafle atrybutem hidden - display: flex wyzej bije [hidden] z UA, wiec trzeba to powiedziec wprost */
.gls-item[hidden] { display: none; }
.gls-chip {
  display: inline-block;
  align-self: flex-start;   /* chip nie rozciaga sie na szerokosc kolumny */
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--ink-faint);
  padding: 5px 12px;
}
.gls-item h2 a { color: inherit; text-decoration: none; }
.gls-item h2 a:hover { background: linear-gradient(90deg, var(--acc-a), var(--acc-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gls-item h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: var(--ink);
  margin-top: 18px;
}
.gls-body {
  background: var(--gray-bg);
  padding: clamp(22px, 3vw, 32px);
  margin-top: 22px;
  flex: 1;                  /* rowna wysokosc boksow w rzedzie, przycisk zawsze na dole */
  display: flex;
  flex-direction: column;
}
.gls-body p {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.gls-body p strong { font-weight: 800; color: var(--ink); }
.gls-more {
  align-self: flex-end;
  margin-top: auto;
  padding-top: 28px;
}
.gls-more a {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: .9rem;
  color: #fff;
  text-decoration: none;
  padding: 12px 22px;
  background: linear-gradient(90deg, var(--acc-a), var(--acc-b));
  transition: filter .2s ease;
}
.gls-more a:hover { filter: brightness(1.08); }

/* nic nie pasuje do wybranej litery */
.gls-empty {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: var(--ink-soft);
  margin-top: 64px;
  text-align: center;
}

/* --- pojedyncze haslo (single-glossary.php) --- */
.gls-single .gls-head h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -1.6px;
  margin-top: 26px;
}
.gls-def {
  background: var(--gray-bg);
  padding: clamp(28px, 4vw, 48px);
  margin-top: clamp(48px, 6vw, 76px);
}
.gls-def p {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink);
}
.gls-def p + p { margin-top: 20px; }
.gls-def p strong { font-weight: 800; }

/* naglowek sekcji pod definicja (field notes): 1. linia w gradiencie, 2. czarna */
.gls-related-head {
  text-align: center;
  margin-top: clamp(80px, 10vw, 130px);
}
.gls-related-head h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: -1px;
  color: var(--ink);
}
/* ---------- strona hasla: field notes, w ktorych pada haslo ---------- */
/* Naglowek bierze gotowe .gls-related-head - to ten sam wzorzec dwoch linii. */
.jrg-fn-mark { text-align: center; margin-top: 44px; }
.jrg-fn-mark img { height: 56px; width: auto; } /* miedzy .cs-mark (42px) a .abt-mark (88px) */

.jrg-fn-list {
  display: flex;
  flex-direction: column;
  gap: 66px; /* ten sam rytm co lista wpisow na stronie glownej */
  margin-top: clamp(48px, 6vw, 72px);
}
.jrg-fn-item {
  --acc-a: var(--pink-a); /* akcent autora wpisu, nie hasla */
  --acc-b: var(--pink-b);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.jrg-fn-item.acc-blue  { --acc-a: var(--blue-a);  --acc-b: var(--blue-b); }
.jrg-fn-item.acc-green { --acc-a: var(--green-a); --acc-b: var(--green-b); }
.jrg-fn-item h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1.25;
  letter-spacing: -0.8px;
  color: var(--ink);
}
.jrg-fn-item h3 a { color: inherit; text-decoration: none; }
.jrg-fn-item h3 .hl {
  background: linear-gradient(90deg, var(--acc-a), var(--acc-b));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.jrg-fn-item p {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: .95rem;
  line-height: 1.7;
  color: var(--ink-faint);
}
/* Trafienie w zajawce: szare tlo, BEZ dymka i bez linku - to cytat, nie nawigacja. */
.jrg-fn-item .jrg-hit {
  background: var(--chip-border);
  color: var(--ink);
  padding: 1px 6px;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}

@media (max-width: 640px) {
  .jrg-fn-list { gap: 48px; }
  .jrg-fn-item h3 { font-size: 1.4rem; }
}

@media (max-width: 860px) {
  .gls-grid { grid-template-columns: 1fr; }
}

/* ---------- Jargon w tresci wpisu ---------- */
/* Podswietlenie musi bic .post-single p a (kolor + border-bottom akcentu autora),
   dlatego selektory sa klasowe, nie elementowe. */
.post-single .jrg,
.post-single p .jrg,
.post-single li .jrg {
  font-family: inherit;
  font-weight: inherit;
  /* Spoczynek jest SZARY, taki sam jak trafienie na stronie hasla (.jrg-hit).
     Kolorowe tlo przy kilkunastu haslach robilo z akapitu cetki i psulo czytanie
     — akcent autora wjezdza dopiero na hoverze. Decyzja Dominika. */
  color: var(--ink);
  text-decoration: none;
  border-bottom: 0;
  background: var(--chip-border);
  padding: 1px 6px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
  -webkit-box-decoration-break: clone; /* podswietlenie lamane miedzy wierszami nie gubi paddingu */
          box-decoration-break: clone;
}
.post-single .jrg:hover,
.post-single .jrg:focus-visible {
  color: #fff;
  background: linear-gradient(90deg, var(--acc-a), var(--acc-b)); /* akcent autora wpisu */
  border-bottom: 0;
}
.post-single .jrg:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Przelacznik siedzi w rzedzie .post-meta i jest dopychany do prawej.
   Przy waskim oknie .post-meta zawija, wiec przelacznik ladnie schodzi
   do wlasnego wiersza - dalej po prawej. Bez osobnego media query. */
.post-single .jrg-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  margin-left: auto;
}
.post-single .jrg-switch .cap {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--ink-soft);
}
.post-single .jrg-switch button {
  position: relative;
  width: 46px;
  height: 26px;
  flex: none;
  padding: 0;
  cursor: pointer;
  border: 1px solid var(--chip-border);
  border-radius: 13px;
  background: #fff;
  transition: background .22s ease, border-color .22s ease;
}
.post-single .jrg-switch button::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink-soft);
  transition: transform .22s ease, background .22s ease;
}
.post-single .jrg-switch button[aria-checked="true"] {
  border-color: transparent;
  background: linear-gradient(90deg, var(--acc-a), var(--acc-b));
}
.post-single .jrg-switch button[aria-checked="true"]::after {
  transform: translateX(20px);
  background: #fff;
}
.post-single .jrg-switch button:focus-visible { outline: 2px solid var(--acc-b); outline-offset: 3px; }

/* Wylaczone: haslo wraca do zwyklego tekstu i przestaje byc klikalne.
   Sam kolor by nie wystarczyl - niewidoczny, ale klikalny link to pulapka. */
body.jrg-off .post-single .jrg {
  background: none;
  color: inherit;
  padding: 0;
  pointer-events: none;
}

/* Mobile: przelacznik na wlasny wiersz i do LEWEJ (decyzja Dominika).
   width:100% wymusza zawiniecie, wiec nie zalezymy od tego, czy data i chipy
   akurat zajely cala szerokosc. */
@media (max-width: 640px) {
  .post-single .jrg-switch {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .post-single .jrg,
  .post-single .jrg-switch button,
  .post-single .jrg-switch button::after { transition: none; }
}

.jrg-tip {
  position: fixed;
  z-index: 200;
  max-width: 330px;
  background: #fff;
  border: 1px solid var(--acc-a, var(--pink-a));
  padding: 16px 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease;
}
.jrg-tip.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.jrg-tip .txt {
  display: block; /* bez tego "More" sklejalo sie z tekstem - margin-top na inline nie dziala */
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: .94rem;
  line-height: 1.6;
  color: var(--acc-mid, #e049d2); /* ton akcentu autora wpisu */
}
.jrg-tip .more {
  display: none;
  margin-top: 14px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--acc-b, var(--pink-b));
  text-decoration: none;
}
/* "More" tylko w trybie dotykowym - na desktopie do hasla prowadzi samo podswietlenie */
body.jrg-tap .jrg-tip .more { display: inline-block; }

@media (prefers-reduced-motion: reduce) {
  .jrg-tip { transition: none; }
}

/* ---------- editor niceties ---------- */
.block-editor-block-list__layout .hero .sub,
.block-editor-block-list__layout .hero .cta { opacity: 1; transform: none; }
.block-editor-block-list__layout .hero { min-height: 0; } /* pelny viewport tylko na froncie */

/* pogrubienie w naglowku wpisu nie zmienia stylu naglowka: kolor i grubosc z naglowka (DK 2026-10-11) */
.post-single :is(h1, h2, h3, h4, h5, h6) :is(strong, b) { font-weight: inherit; color: inherit; }

/* H4 siedzi na akapicie: odstep pod H4 = interlinia tekstu (DK 2026-10-11) */
.post-single h4 { margin-bottom: 0; }
.post-single h4 + p { margin-top: calc((1.65 - 1) * 1rem / 2 - (1.3 - 1) * 1.05rem / 2); }

/* panel: taki sam odstep pod spodem jak nad (DK 2026-10-11) */
.post-single blockquote[class*="is-style-brz-panel"] { margin-bottom: 54px; }

/* przypisy jako <sup> z fontu bloga; line-height 0, zeby nie rozpychaly interlinii (DK 2026-10-11) */
.post-single sup { font-size: 0.6em; line-height: 0; vertical-align: 0.5833em; } /* wymiary indeksu gornego z fontu Manrope (OS/2: 1200/700 na 2000), jak dawne 1-3 */
