:root{
  --bg:#0b0b0c;
  --fg:#f4f4f4;
  --muted: rgba(244,244,244,.72);
  --whisper: rgba(244,244,244,.55);
  --line: rgba(244,244,244,.12);
  --gold: #b79a5a;
  --radius: 22px;
  --pad: clamp(18px, 4.4vw, 48px);
  --max: 820px;
  --topbar: 64px;
  --nav: 52px;
}

*{ box-sizing:border-box; }
html, body{ height:100%; 
  min-height: calc(var(--vh) * 100);

  overflow: hidden;
}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 900px at 18% 14%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(950px 760px at 82% 86%, rgba(255,255,255,.07), transparent 55%),
    var(--bg);
  color: var(--fg);
  overflow:hidden;
}

/* Ensure first slide is visible immediately (before JS sets .is-active). */
.slide:first-child .slide__content,
.slide:first-child .slide__pad,
.slide:first-child .heroCard{ opacity: 1; }

a{ color: var(--fg); text-decoration:none; }
a:focus-visible{ outline:2px solid rgba(244,244,244,.55); outline-offset:4px; border-radius:10px; }

.topbar{
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--topbar);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 0 calc(14px + env(safe-area-inset-right)) 0 calc(14px + env(safe-area-inset-left));
  /* same tone as the page, but slightly separated for readability */
  background: transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 60;
}

.topbar::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to bottom, rgba(11,11,12,.72), rgba(11,11,12,.18));
  pointer-events:none;
}
.topbar > *{ position: relative; z-index: 1; }

.topbar__left{
  display:flex;
  align-items:center;
  gap:10px;
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 10px;
}
.name{
  font-weight:650;
  letter-spacing:.2px;
  font-size: 15px;
  white-space:nowrap;
}
.name--link{ color: inherit; text-decoration: none; }
.name--link:hover{ opacity: .92; }

.topLink{
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(244,244,244,.72);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(244,244,244,.10);
  background: rgba(244,244,244,.04);
  white-space: nowrap;
  flex: 0 0 auto;
}
.topLink:hover{ background: rgba(244,244,244,.06); }
@media (max-width: 420px){
  .topLink{ padding: 7px 9px; font-size: 11px; }
}


.topbar__right{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex: 0 0 auto;
}
.dots{
  display:flex;
  align-items:center;
  gap:8px;
  flex: 0 0 auto;
}

/* Side dots navigation (pionowo, po prawej) */
.sideNav{
  position: fixed;
  right: calc(10px + env(safe-area-inset-right));
  left: auto;
  top: auto;
  bottom: calc(20vh + env(safe-area-inset-bottom)); /* ~20% od dołu */
  transform: none;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 10px;
  z-index: 58;
  pointer-events: none;
}
.dots--side{
  flex-direction:column;
  gap: 10px;
  pointer-events: auto;
}
.progressText--side{
  pointer-events: none;
  font-size: 11px;
  color: rgba(244,244,244,.55);
}

@media (max-width: 420px){
  .sideNav{ right: calc(8px + env(safe-area-inset-right)); }
  .dots--side{ gap: 9px; }
  .progressText--side{ display:none; }
}
.dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(244,244,244,.16);
  border: 1px solid rgba(244,244,244,.10);
  cursor:pointer;
  padding:0;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.dot[aria-selected="true"]{
  background: rgba(183,154,90,.85);
  border-color: rgba(183,154,90,.85);
  transform: scale(1.15);
}
.dot:focus-visible{ outline:2px solid rgba(244,244,244,.55); outline-offset:4px; }

.stage{
  /* use svh when supported to avoid iOS dynamic bar jumps */
  height: 100svh;
  padding-top: var(--topbar);
  padding-bottom: 0;
}

.deck{
  height: calc(100svh - var(--topbar));
  display:flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-snap-stop: always;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  user-select: none;
  -webkit-user-select: none;
}
.deck::-webkit-scrollbar{ height:8px; }
.deck::-webkit-scrollbar-thumb{ background: rgba(244,244,244,.12); border-radius:999px; }
.deck::-webkit-scrollbar-track{ background: transparent; }

.slide{
  overflow: visible;

  flex: 0 0 100%;
  height: calc(var(--vh) * 100);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display:flex;
  align-items: flex-start;
  justify-content:center;
  padding: var(--pad);
  position: relative;
}

/* HERO slide: slightly tighter top rhythm (header → hint → photo) */
.slide--hero{
  padding-top: 12px;
}
@media (min-width: 520px){
  .slide--hero{ padding-top: 18px; }
}

/* Intentionally no per-slide enter animations (cleaner + calmer). */

/* If a device is extremely short, allow *internal* scrolling inside the slide
   (the page itself stays non-scrollable). */
.slide__content, .slide__pad{
  position: relative;
  width: min(100%, var(--max));
  height: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display:block;
}



/* no internal scrollbars (slides should always fit) */

.prose h1, .prose h2{
  margin:0 0 14px 0;
  font-weight:700;
  letter-spacing:-.3px;
}
.prose h1{ font-size: clamp(34px, 6vw, 58px); }
.prose h2{ font-size: clamp(30px, 5.2vw, 52px); }

.prose p{
  margin: 0 0 18px 0;
  font-size: clamp(18px, 2.05vw, 22px);
  line-height: 1.65;
  color: var(--muted);
}
.prose .lead{ color: var(--fg); }
.prose .muted{ color: var(--whisper); }
.prose .whisper{ color: var(--whisper); font-size: clamp(16px, 1.8vw, 18px); }
.prose .hl{ color: var(--gold); font-weight: 600; }

.whisperBreak{ display:block; margin-top: 8px; }
.mail{ color: rgba(244,244,244,.85); text-decoration: underline; text-underline-offset: 3px; }
.mail:hover{ color: rgba(244,244,244,.95); }
.prose strong{ color: var(--fg); font-weight: 700; }

.heroCard{
  width: min(100%, var(--max));
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(244,244,244,.04);
  box-shadow: 0 18px 70px rgba(0,0,0,.55);
  position: relative;
}

/* delikatne "kreski" w rogach – jak cała obramówka */
.heroCard::before{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events:none;
  opacity: .85;
  /* corner ticks aligned to rounded corners */
  background:
    linear-gradient(var(--line), var(--line)) left 14px top 14px/22px 1px no-repeat,
    linear-gradient(var(--line), var(--line)) left 14px top 14px/1px 22px no-repeat,

    linear-gradient(var(--line), var(--line)) right 14px top 14px/22px 1px no-repeat,
    linear-gradient(var(--line), var(--line)) right 14px top 14px/1px 22px no-repeat,

    linear-gradient(var(--line), var(--line)) left 14px bottom 14px/22px 1px no-repeat,
    linear-gradient(var(--line), var(--line)) left 14px bottom 14px/1px 22px no-repeat,

    linear-gradient(var(--line), var(--line)) right 14px bottom 14px/22px 1px no-repeat,
    linear-gradient(var(--line), var(--line)) right 14px bottom 14px/1px 22px no-repeat;
  mix-blend-mode: normal;
}
.heroImg{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: 50% 15%;
  display:block;
  opacity:.95;
  filter: saturate(1.03) contrast(1.02);
}
.heroImg--bw{ filter: grayscale(1) contrast(1.05); opacity:.92; }
.heroBadge{
  position:absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  border-radius: 18px;
  background: rgba(11,11,12,.55);
  border: 1px solid rgba(244,244,244,.12);
  padding: 16px 16px;
  backdrop-filter: blur(10px);
}
.heroBadge__t{ font-weight: 800; letter-spacing:.1px; font-size: 22px; }
.heroBadge__s{ margin-top: 6px; color: var(--muted); font-size: 16px; }

.links--cta{ margin-top: 18px; display:flex; flex-direction:column; gap: 12px; }
.linkRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 18px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(244,244,244,.03);
}
.linkRow:hover{ background: rgba(244,244,244,.05); border-color: rgba(244,244,244,.18); }
.arrow{ color: var(--gold); font-weight: 700; }

.psText{
  margin-top: 18px;
  color: var(--whisper);
  font-size: clamp(16px, 1.9vw, 18px);
  line-height: 1.55;
}
.psText a{ color: var(--gold); border-bottom: 1px solid rgba(183,154,90,.45); }

.miniFooter{
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: rgba(244,244,244,.42);
  font-size: 13px;
}
.miniFooter a{ color: rgba(244,244,244,.65); border-bottom: 1px solid rgba(244,244,244,.18); }

.nav{
  position: fixed;
  left: 0; right: 0;
  bottom: calc(14px + env(safe-area-inset-bottom));
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  pointer-events:none;
  z-index:40;
  height: var(--nav);
}
.nav__btn{
  pointer-events:auto;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(244,244,244,.12);
  background: rgba(244,244,244,.05);
  color: rgba(244,244,244,.92);
  font-size: 16px;
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
}
.nav__btn:disabled{ opacity:.35; cursor: default; }
.nav__label{ display:none !important; }
@media (max-width: 540px){
  .dot{ width: 9px; height: 9px; }
  .topbar__right{ width: 56vw; }
  .topbar__left{ max-width: 52vw; min-width:auto; }
}

/* Bardzo małe ekrany: nawigacja na dole ma być kompaktowa, żeby nie nachodziła na CTA */
@media (max-width: 420px){
  .nav{ gap: 8px; }
  .nav__btn{ height: 38px; padding: 0 10px; }
  .nav__txt{ font-size: 11px; letter-spacing: .06em; }
  body.is-first #next{ min-width: 0; }
}

.prose{
  transform-origin: top left;
  will-change: transform;
}

.slide__content.prose{ display:block; width: min(100%, 720px); }

/* v20 progress visibility */
.progressText{
  font-size: 12px;
  letter-spacing: .12em;
  color: rgba(244,244,244,.55);
  min-width: 44px;
  text-align:right;
}
.nav__txt{
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(244,244,244,.55);
}

.subname{ display:inline-block; font-weight:500; font-size:12px; color: rgba(244,244,244,.65); margin-top:2px; }

.modal{ position:fixed; inset:0; display:none; z-index:80; }
.modal[aria-hidden="false"]{ display:block; }
.modal__backdrop{ position:absolute; inset:0; background: rgba(0,0,0,.55); }
.modal__panel{
  position:absolute;
  inset: 18px;
  border-radius: 18px;
  border: 1px solid rgba(244,244,244,.12);
  background: #0b0b0c;
  box-shadow: 0 22px 90px rgba(0,0,0,.65);
  overflow:hidden;
}

/* "Codzienne myśli" iframe modal: a touch more edge-to-edge */
#modal .modal__panel{
  left: 0;
  right: 18px;
}
#modal .modal__close{
  left: 8px;
  right: auto;
  top: 8px;
  border-radius: 16px;
}
.modal__close{
  position:absolute;
  right: 12px;
  top: 10px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(244,244,244,.14);
  background: rgba(244,244,244,.08);
  color: rgba(244,244,244,.92);
  font-size: 26px;
  line-height: 1;
  cursor:pointer;
  z-index: 9999;
  pointer-events: auto;
}
.modal__body{ position:absolute; inset: 56px 0 0 0; }
.modal__frame{
  width:100%;
  height:100%;
  border:0;
  display:block;
}
.modal__fallback{
  position:absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(244,244,244,.12);
  background: rgba(244,244,244,.05);
  color: rgba(244,244,244,.72);
  font-size: 13px;
}
.modal__fallback a{ color: rgba(183,154,90,.9); border-bottom: 1px solid rgba(183,154,90,.25); }

.heroPad{ overflow: visible !important; position: relative; padding-bottom: 92px; }

/* Na krótkich ekranach (mobile) dajemy jeszcze oddech nad dolną nawigacją */
@media (max-width: 420px), (max-height: 740px){
  .heroPad{ padding-bottom: 132px; }
}

.heroPad .heroCard{ position: relative; }

.links--cta{ margin-bottom: 90px; }
.linkRow{ position: relative; z-index: 20; pointer-events:auto; }

.slide[data-title="Na koniec"] .slide__content{ padding-bottom: 100px; }


.heroPad{ position: relative; overflow: visible !important; }

.shopHead{ padding: 16px 16px 10px 16px; border-bottom: 1px solid rgba(244,244,244,.10); }
.shopHead__title{ font-size: 18px; font-weight: 650; }
.shopHead__sub{ margin-top: 6px; font-size: 13px; color: rgba(244,244,244,.62); }
.shopGrid{
  position:absolute;
  inset: 118px 0 0 0;
  padding: 14px 14px 18px 14px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.shopCard{
  border: 1px solid rgba(244,244,244,.10);
  background: rgba(244,244,244,.04);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
}
.shopTitle{ font-size: 15px; font-weight: 600; line-height: 1.35; }
.shopDesc{
  margin-top: 8px;
  color: rgba(244,244,244,.68);
  font-size: 13px;
  line-height: 1.5;
}
.shopActions{ display:flex; gap:10px; margin-top: 12px; flex-wrap: wrap; }
.shopBtn{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(244,244,244,.12);
  background: rgba(183,154,90,.18);
  color: rgba(244,244,244,.92);
  font-size: 12px;
  letter-spacing: .06em;
}
.shopBtn--ghost{
  background: rgba(244,244,244,.06);
}

@keyframes breathe{
  0%,100%{ transform: rotate(-90deg) scale(1); opacity: .56; }
  50%{ transform: rotate(-90deg) scale(1.006); opacity: .66; }
}

/* Ultra-minimal shimmer tylko dla tytułu na slajdzie 1 (jednorazowo) */
@keyframes shimmerOnce{
  0%{ transform: translateX(-140%); opacity: 0; }
  10%{ opacity: .55; }
  100%{ transform: translateX(140%); opacity: 0; }
}
.shimmerOnce{
  position: relative;
  display: inline-block;
}
.shimmerOnce::after{
  content: "";
  position: absolute;
  inset: -6px -10px;
  background: linear-gradient(120deg, rgba(0,0,0,0) 0%, rgba(183,154,90,.35) 45%, rgba(0,0,0,0) 65%);
  transform: translateX(-140%);
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: shimmerOnce 1.35s ease-out .35s 1;
}
@media (prefers-reduced-motion: reduce){
  .sideThoughts{ animation: none !important; }
  .shimmerOnce::after{ animation: none !important; }
}

/* "Codzienne myśli" – pionowy przycisk na 1 slajdzie */
.sideThoughts{
  position: absolute;
  top: 22%;
  right: -46px; /* opiera się o krawędź ekranu po obrocie */
  transform: rotate(-90deg);
  transform-origin: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(244,244,244,.12);
  background: rgba(244,244,244,.02);
  color: rgba(244,244,244,.78);
  font-size: 11px;
  letter-spacing: .11em;
  text-transform: uppercase;
  z-index: 30;
  pointer-events: auto;
  overflow: hidden;
}

/* subtelny "shimmer" po ramce (widoczny, ale minimalistyczny) */
.sideThoughts::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: inherit;
  padding:2px;
  background: conic-gradient(from 0deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0) 55%,
    rgba(183,154,90,.60) 70%,
    rgba(0,0,0,0) 85%,
    rgba(0,0,0,0) 100%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .75;
  pointer-events:none;
  animation: borderSpin 4.8s linear infinite;
}

@keyframes borderSpin{ to{ transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce){
  .sideThoughts::before{ animation: none; opacity: .55; }
}
.sideThoughts:hover{ background: rgba(244,244,244,.06); border-color: rgba(244,244,244,.22); }
.sideThoughts:focus-visible{ outline:2px solid rgba(244,244,244,.55); outline-offset:4px; }

/* Hero: small corner link (Współpraca) pinned to the photo area */
.heroCornerLink{
  position:absolute;
  top: 14px;
  right: 14px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(244,244,244,.12);
  background: rgba(11,11,12,.38);
  backdrop-filter: blur(6px);
  color: rgba(244,244,244,.82);
  font-size: 11px;
  letter-spacing: .10em;
  text-transform: uppercase;
  z-index: 31;
}
.heroCornerLink:hover{ background: rgba(11,11,12,.52); border-color: rgba(244,244,244,.20); }
.heroCornerLink:focus-visible{ outline:2px solid rgba(244,244,244,.55); outline-offset:4px; }

@media (max-width: 420px){
  .sideThoughts{ right: -52px; padding: 11px 12px; }
}

/* v31: show side-link only on active slide */
.linkRow{ pointer-events:auto; position:relative; z-index:20; }
.slide a{ pointer-events:auto; }

body.is-first #next span[aria-hidden="true"]{
  display:inline-block;
  animation: nudge 1.1s ease-in-out infinite;
}
@keyframes nudge{
  0%,100%{ transform: translateX(0); }
  50%{ transform: translateX(5px); }
}

#next{ justify-content:center; }

body.is-first .nav{
  justify-content: center;
}
body.is-first #next{
  min-width: 220px;
  justify-content: center;
}

/* Avoid any "flash" of the bottom next button on the hero before JS initializes */
body.is-first #next{ display:none !important; }

/* v35: keep content above fixed nav */
.slide__content, .slide__pad{
  padding-bottom: calc(var(--nav) + 20px + env(safe-area-inset-bottom));
}

.linkRow{
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* NOTE: heroCard stays clipped (overflow:hidden) so rounded corners + border always look clean. */

/* hero zdjęcie zawsze wypełnia ramkę */
@media (max-width: 420px), (max-height: 720px){
  .heroImg{ object-fit: cover; object-position: 50% 35%; }
}

/* compact typography for short viewports (avoid cut-off without vertical page scroll) */
@media (max-height: 740px){
  :root{ --topbar: 58px; }
  .prose h1{ font-size: clamp(28px, 5.3vw, 44px); }
  .prose h2{ font-size: clamp(24px, 4.9vw, 40px); margin-bottom: 10px; }
  .prose p{ margin-bottom: 12px; line-height: 1.55; }
  .prose .whisper{ margin-bottom: 10px; }
  .heroBadge{ padding: 12px 12px; }
  .heroBadge__t{ font-size: 20px; }
  .heroBadge__s{ font-size: 14px; }
}
@media (max-height: 640px){
  :root{ --pad: clamp(12px, 3.2vw, 22px); }
  .prose p{ font-size: clamp(15px, 2.0vh, 18px); }
  .prose .whisper{ font-size: clamp(13px, 1.8vh, 16px); }
}
@media (max-height: 560px){
  .prose p{ margin-bottom: 10px; }
  .links--cta{ margin-bottom: 70px; }
  .slide[data-title="Na koniec"] .slide__content{ padding-bottom: 90px; }
}

/* no side-link on hero (Codzienne myśli is now a normal subpage link in the last slide) */

@media (max-width: 390px){
  .prose p{ font-size: clamp(15px, 4.2vw, 18px); margin-bottom: 12px; }
  .prose h2{ font-size: clamp(22px, 6.4vw, 34px); }
  .progressText{ display:none; }
}

/* Topbar social */
.topbar__social{
  display:flex;
  align-items:center;
  gap:8px;
  flex: 0 0 auto;
}
.soc{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  border: 1px solid rgba(244,244,244,.10);
  background: rgba(244,244,244,.04);
  color: rgba(244,244,244,.85);
  line-height: 1;
}
.soc:hover{ background: rgba(244,244,244,.06); }
.soc:focus-visible{ outline:2px solid rgba(244,244,244,.55); outline-offset:3px; }

.soc svg{
  width: 14px;
  height: 14px;
  display:block;
  opacity: .92;
}

/* Blog: list + meta */
.blogHead{
  margin-top: 6px;
  padding: 18px 0 14px;
  border-bottom: 1px solid rgba(244,244,244,.10);
}
.blogKicker{ color: rgba(244,244,244,.58); font-size: 13px; margin-top: 6px; }
.postList{ display:grid; gap: 12px; margin-top: 16px; }
.postCard{
  border-radius: 18px;
  border: 1px solid rgba(244,244,244,.12);
  background: rgba(244,244,244,.03);
  padding: 14px 14px;
  transition: transform .18s ease, background .18s ease;
}
.postCard:hover{ background: rgba(244,244,244,.05); transform: translateY(-1px); }
.postCard__top{ display:flex; justify-content:space-between; gap: 12px; align-items:flex-start; }
.postTitleLink{ color: rgba(244,244,244,.94); font-weight: 650; font-size: 16px; line-height: 1.28; }
.postExcerpt{ color: rgba(244,244,244,.68); margin-top: 8px; }
.postMeta{ color: rgba(244,244,244,.52); font-size: 12px; display:flex; gap: 10px; flex-wrap:wrap; margin-top: 8px; }
.postPill{ border: 1px solid rgba(244,244,244,.10); background: rgba(244,244,244,.03); padding: 4px 8px; border-radius: 999px; }

/* Plain (production) meta: date + author (no numer wpisu / czas czytania) */
.postMeta--plain{
  gap: 8px;
  font-size: 12px;
  color: rgba(244,244,244,.56);
}
.metaSep{ opacity: .6; }
.authorMini{ display:inline-flex; align-items:center; gap:8px; }
.authorAvatar{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  border: 1px solid rgba(244,244,244,.14);
  background: rgba(244,244,244,.05);
  color: rgba(244,244,244,.78);
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
}

.postHeaderMeta{
  margin-top: 10px;
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  align-items:center;
  color: rgba(244,244,244,.58);
  font-size: 13px;
}
.postHeaderMeta .dot{ opacity:.55; }

/* Blog post hero */
.postHero{
  margin: 18px 0 22px;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(244,244,244,.12);
  background: rgba(244,244,244,.04);
}
.postHero img{
  display:block;
  width:100%;
  height:auto;
  object-fit: cover;
}

/* Blog: lekkie "boxy" we wpisie (żeby nie była ściana tekstu) */
.callout{
  margin: 18px 0;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(244,244,244,.12);
  background: rgba(244,244,244,.03);
}
.callout p{ margin: 0; color: rgba(244,244,244,.88); }
.callout--muted{ background: rgba(244,244,244,.02); }

/* Blog: polubienia (anonimowe, lokalnie) */
.likeBar{
  margin-top: 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(244,244,244,.12);
  background: rgba(244,244,244,.02);
}
.likeMeta{ color: rgba(244,244,244,.56); font-size: 12px; }
.likeBtn{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(244,244,244,.14);
  background: rgba(244,244,244,.05);
  color: rgba(244,244,244,.92);
  cursor:pointer;
}
.likeBtn:focus-visible{ outline:2px solid rgba(244,244,244,.55); outline-offset:4px; }
.likeBtn[aria-pressed="true"]{ background: rgba(183,154,90,.16); border-color: rgba(183,154,90,.30); }
.likeBtn svg{ width: 16px; height: 16px; }



/* FINAL: box on slide 4 */
.quoteBox{
  margin: 18px 0;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(244,244,244,.12);
  background: rgba(244,244,244,.03);
}
.quoteBox__t{
  font-size: 14px;
  color: rgba(244,244,244,.72);
  margin-bottom: 10px;
}
.quoteBox__list{
  margin: 0;
  padding-left: 18px;
  color: rgba(244,244,244,.90);
}
.quoteBox__list li{ margin: 6px 0; }

/* FINAL: eBook modal – centered, narrower cards */
#shopModal .shopGrid{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
#shopModal .shopCard{
  width: min(520px, 92%);
}
.shopMetaRow{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}
.shopPrice{
  font-size: 14px;
  color: rgba(244,244,244,.80);
}
.shopPrice--under{
  margin-top: 10px;
}
.shopBadge{
  display: inline-block;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(183,154,90,.35);
  color: rgba(244,244,244,.82);
  background: rgba(183,154,90,.08);
}


/* Dots in bottom nav (only for slides 2–5) */
.dots--nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-width: 140px;
}
.dots--nav .dot{
  width:6px;
  height:6px;
  border-radius:999px;
  background: rgba(244,244,244,.28);
  border: 1px solid rgba(244,244,244,.18);
}
.dots--nav .dot.isActive{
  background: rgba(183,154,90,.72);
  border-color: rgba(183,154,90,.55);
}
/* Remove label text space */
.nav__label{ display:none !important; }
.srOnly{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* Slide 2 rhythm typography */
.rhythm{
  margin: 10px 0 18px;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: .01em;
  color: rgba(244,244,244,.82);
}
.rhythm span{ display:block; }
@media (max-width: 420px){
  .rhythm{ font-size: 18px; }
}


/* Slide 2 rhythm: delikatna linia z lewej */
.rhythmWrap{
  display:flex;
  align-items:flex-start;
  gap:14px;
  margin: 6px 0 18px;
}
.rhythmLine{
  width:1px;
  background: rgba(244,244,244,.16);
  box-shadow: 0 0 0 1px rgba(183,154,90,.10);
  border-radius: 999px;
  align-self: stretch;
  margin-top: 6px;
}


/* A11y: skip link + focus states */
.skipLink{
  position: absolute;
  left: 12px;
  top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(244,244,244,.18);
  background: rgba(11,11,12,.92);
  color: rgba(244,244,244,.92);
  text-decoration: none;
  transform: translateY(-140%);
  transition: transform .2s ease;
  z-index: 120;
}
.skipLink:focus{ transform: translateY(0); outline: none; }
:where(a, button):focus-visible{
  outline: 2px solid rgba(183,154,90,.6);
  outline-offset: 3px;
  border-radius: 12px;
}


/* Blog: subtle coffee support (non-CTA, no box) */
.supportCoffee{
  margin-top: 28px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(244,244,244,.72);
}
.supportCoffee p{ margin: 0 0 8px; }
.coffeeLink{
  color: rgba(183,154,90,.95);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.coffeeLink:hover{ color: rgba(244,244,244,.92); }


/* Inline links on last slide */
.inlineLink{
  color: rgba(183,154,90,.95);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.inlineLink:hover{ color: rgba(244,244,244,.92); }

/* Hero: subtle Spotify play */
.heroCard__media{ position: relative; }
.heroPlay{
  position:absolute;
  left: 80%;
  bottom: 30%;
  transform: translate(-50%, 50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(244,244,244,.22);
  background: rgba(11,11,12,.55);
  backdrop-filter: blur(6px);
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color: rgba(244,244,244,.88);
  z-index: 12;
}
.heroAudio{
  position:absolute;
  right: 10%;
  bottom: 30%;
  transform: translateY(50%);
  transition: transform .28s ease;
  will-change: transform;
  z-index: 12;
  display:flex;
  gap: 10px;
  align-items:center;
  flex-direction: row-reverse; /* button at the far right; bar expands to the left */
}
.heroAudio.is-playing{
  /* subtle shift left when expanded (premium feel, no "jumping") */
  transform: translateY(50%) translateX(-3px);
}
.heroPlay{ position: relative; left: auto; bottom: auto; transform: none; text-decoration:none; cursor:pointer; }



.heroPlay__icon{ 
  position:absolute;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
  font-size: 16px;
  line-height: 1;
  display:none;
}
.heroPlay__icon--play{ display:inline; }
.heroPlay.is-playing .heroPlay__icon--play{ display:none; }
.heroPlay.is-playing .heroPlay__icon--pause{ display:inline; font-size: 14px; letter-spacing: -2px; }
.heroPlay__ring{
  position:absolute;
  inset:-6px;
  border-radius:999px;
  border:1px solid rgba(183,154,90,.28);
  opacity: 0;
  transform: scale(var(--pulse-scale, .92));
}
.heroPlay.is-playing .heroPlay__ring{ opacity: var(--pulse-alpha, .35); }

/* "Oddychająca" obramówka dla play — celowo nie uzależniamy jej od realnego odtwarzania
   (Spotify embed nie daje nam kontroli / stanu play). */
@keyframes softPulse{
  0%, 100%{ transform: scale(0.96); opacity: .18; }
  50%{ transform: scale(1.10); opacity: .42; }
}
.heroPlay.is-playing .heroPlay__ring{
  opacity: .28;
  animation: softPulse 1.35s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce){
  .heroPlay__ring{ transform: none !important; opacity: 0 !important; }
}

@media (max-width: 420px){
  .heroAudio{ right: 8%; bottom: 26%; }
  .heroAudio.is-playing{ transform: translateY(50%) translateX(-4px); }
  .heroPlay{ width: 40px; height: 40px; }
}

/* Hero: collaboration pill near the player (removed in v11) */
.heroCollabFloat{ display:none !important; }

/* Hero audio: minimalistyczny, wysuwany pasek postępu */
.heroAudio__bar{
  width: 0;
  opacity: 0;
  overflow: hidden;
  border-radius: 999px;
  /* Important: keep the collapsed state truly "zero" so the play control
     doesn't visually drift left/right when toggling. */
  border: 1px solid transparent;
  background: rgba(11,11,12,.55);
  backdrop-filter: blur(6px);
  padding: 0;
  display:flex;
  flex-direction: column;
  gap: 8px;
  transition: width .32s ease, opacity .22s ease, padding .22s ease, border-color .22s ease;
}

.heroAudio.is-playing .heroAudio__bar{
  width: clamp(170px, 46vw, 260px);
  opacity: 1;
  padding: 10px 12px;
  border-color: rgba(244,244,244,.14);
}

@media (max-width: 420px){
  .heroAudio.is-playing .heroAudio__bar{ width: clamp(150px, 54vw, 220px); }
}

.heroAudio__meta{ display:flex; align-items:center; justify-content: space-between; gap: 10px; }
.heroAudio__time, .heroAudio__dur{ font-size: 12px; color: rgba(244,244,244,.75); }
.heroAudio__restart{
  width: 30px;
  height: 26px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  border: 1px solid rgba(244,244,244,.12);
  background: rgba(244,244,244,.05);
  color: rgba(244,244,244,.85);
  cursor:pointer;
}
.heroAudio__restart:hover{ background: rgba(244,244,244,.07); }

.heroAudio__range{
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  border-radius: 999px;
  background: rgba(244,244,244,.18);
  outline: none;
}
.heroAudio__range::-webkit-slider-thumb{
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(244,244,244,.92);
  border: 2px solid rgba(11,11,12,.6);
}
.heroAudio__range::-moz-range-thumb{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(244,244,244,.92);
  border: 2px solid rgba(11,11,12,.6);
}

@media (max-width: 420px){
  .heroAudio.is-playing .heroAudio__bar{ width: min(176px, calc(100vw - 120px)); }
  .heroAudio__bar{ padding: 9px 10px; }
}

/* ---------- Added: premium CTA + cards (Oscanre theme) ---------- */
.heroCTA{
  width: min(100%, 520px);
  display:flex;
  gap:10px;
  justify-content:center;
  margin-top: 14px;
  flex-wrap: nowrap;
}
.heroCTA .btn{
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
  font-size: clamp(12px, 2.7vw, 13.5px);
  padding: 10px 10px;
  letter-spacing: .01em;
}
@media (max-width: 420px){
  .heroCTA{ width: min(100%, var(--max)); }
  .heroCTA .btn{ font-size: 13px; padding: 11px 10px; }
}

/* CTA mają być zawsze obok siebie — więc zmniejszamy je zamiast łamać w kolumnę */
@media (max-width: 520px){
  .heroCTA .btn{ font-size: 13px; padding: 11px 10px; }
}

/* Hint pod CTA na slajdzie 1 (zamiast długiego tekstu w nawigacji) */
/* Hero CTA layout (subtle, always fits: mobile/tablet/desktop) */
.heroCTA{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
.heroCTA .btn{ flex: 1 1 160px; white-space: nowrap; font-size: 12.5px; padding: 10px 12px; letter-spacing: .06em; }
@media (max-width: 380px){
  .heroCTA{ gap: 8px; }
  .heroCTA .btn{ flex: 1 1 140px; font-size: 12px; padding: 10px 10px; }
}

.heroHint{
  width: min(100%, 520px);
  margin: 12px auto 0 auto;
  text-align: center;
  font-size: 13px;
  color: rgba(244,244,244,.62);
}

/* Hero hint arrow (subtle nudge) */
.heroHint__arrow{
  display:inline-block;
  margin-left: 6px;
  opacity: .85;
  animation: hintNudge 1.25s ease-in-out infinite;
}
@keyframes hintNudge{
  0%, 100%{ transform: translateX(0); opacity: .75; }
  50%{ transform: translateX(4px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce){
  .heroHint__arrow{ animation: none; }
}
/* Hint nad boksem na slajdzie 1 */
.heroHint--bottom{ margin: 12px auto 0 auto; text-align:center; }

.heroHint--top{
  /* spacing tuned to match header → hero card rhythm */
  margin: 2px auto 10px auto;
  text-align: center;
}

.heroPlayer{
  width: min(100%, 520px);
  margin: 12px auto 0 auto;
}
.heroPlayer[aria-hidden="true"]{ display:none; }
.heroPlayer__note{
  margin-top: 10px;
  text-align:center;
  font-size: 12px;
  color: rgba(244,244,244,.6);
}

/* Dodatkowy, dyskretny link obok "Codzienne myśli" */
.sideCollab{
  position: absolute;
  right: 14px;
  top: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(244,244,244,.12);
  background: rgba(11,11,12,.55);
  backdrop-filter: blur(6px);
  color: rgba(244,244,244,.86);
  text-decoration:none;
  font-size: 13px;
  z-index: 12;
}
.sideCollab:hover{ background: rgba(244,244,244,.07); }


.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(244,244,244,.14);
  background: rgba(244,244,244,.05);
  color: var(--fg);
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
}
.btn:hover{ background: rgba(244,244,244,.07); }
.btn--primary{
  border-color: rgba(183,154,90,.55);
  background: rgba(183,154,90,.12);
}
.btn--primary:hover{ background: rgba(183,154,90,.16); }
.btn--ghost{ opacity: .95; }

.cardGrid{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 720px){
  .cardGrid{ grid-template-columns: 1fr; }
}

.miniCard{
  border: 1px solid rgba(244,244,244,.12);
  background: rgba(244,244,244,.04);
  border-radius: 18px;
  padding: 14px;
}
.miniCard__t{ font-weight: 650; margin-bottom: 4px; }
.miniCard__s{ color: rgba(244,244,244,.70); font-size: 13px; line-height: 1.4; }

.listCards{
  margin-top: 14px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.linkCard{
  border: 1px solid rgba(244,244,244,.12);
  background: rgba(244,244,244,.04);
  border-radius: 18px;
  padding: 16px;
  display:block;
}
.linkCard:hover{ background: rgba(244,244,244,.06); }
.linkCard__t{ font-weight: 650; margin-bottom: 6px; }
.linkCard__s{ color: rgba(244,244,244,.72); }
.linkCard__a{ margin-top: 10px; color: rgba(183,154,90,.92); font-weight: 600; }

.faq{ margin-top: 12px; display:grid; gap: 10px; }
.faqItem{
  border: 1px solid rgba(244,244,244,.12);
  background: rgba(244,244,244,.04);
  border-radius: 18px;
  padding: 12px 14px;
}
.faqItem summary{
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}
.faqItem summary::-webkit-details-marker{ display:none; }
.faqItem summary::after{
  content: '›';
  color: rgba(244,244,244,.62);
  transform: rotate(0deg);
  transition: transform .18s ease;
  flex: 0 0 auto;
}
.faqItem[open] summary::after{ transform: rotate(90deg); }
.faqItem p{ margin: 10px 0 0 0; }


.linkCard--subtle{ background: rgba(244,244,244,.03); border-color: rgba(244,244,244,.10); }


.heroPlay__svg{ position:absolute; top:50%; left:50%; transform: translate(-50%,-50%); width:18px; height:18px; display:none; }
.heroPlay__svg--play{ transform: translate(-50%,-50%) translateX(1px); }
.heroPlay__svg--play{ display:block; }
.heroPlay.is-playing .heroPlay__svg--play{ display:none; }
.heroPlay.is-playing .heroPlay__svg--pause{ display:block; width:18px; height:18px; }

.heroPlay__icon{ display:none !important; }


/* FAQ accordion chevron */
.faqItem summary{ list-style:none; }
.faqItem summary::-webkit-details-marker{ display:none; }
.faqItem summary{ position: relative; padding-right: 28px; cursor:pointer; }
.faqItem summary::after{ content:'›'; position:absolute; right: 10px; top: 50%; transform: translateY(-50%) rotate(90deg); opacity:.7; transition: transform .2s ease, opacity .2s ease; }
.faqItem[open] summary::after{ transform: translateY(-50%) rotate(-90deg); opacity:1; }

.heroPlay__icon{ display:none !important; }

.heroPlay__icon{ display:none !important; }

.heroPlay__icon{ display:none !important; }


/* WSPÓŁPRACA PAGE */
.pageDeck{
  /* keep the same "no vertical scroll" philosophy as the main deck */
  scroll-snap-type: none;
  overflow: hidden;
}
.pageSlide{
  height: calc(var(--vh) * 100);
  padding-bottom: calc(var(--nav) + 24px + env(safe-area-inset-bottom));
}
.pageProse{
  padding-top: 18px;
  /* reserve space for the fixed bottom nav */
  padding-bottom: calc(var(--nav) + 22px + env(safe-area-inset-bottom));
}

/* Clear bottom nav on pages where the content must remain fully visible */
.nav--clear{
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav--clear::before{ display:none; }
.pageKicker{
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(244,244,244,.58);
  margin-bottom: 10px;
}
.pageTitle{
  font-size: clamp(24px, 5.6vw, 30px);
  letter-spacing: -0.02em;
  margin: 0 0 12px 0;
}
.pageCtas{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.pageCtas .btn{
  flex: 0 1 auto;
}
.backHint{
  margin-top: 18px;
  font-size: 12px;
  color: rgba(244,244,244,.6);
}

.linkCard--static{ cursor: default; }
.linkCard--static:hover{ transform: none; }


/* Współpraca – kompaktowy układ bez scrolla */
.pageDeck{ height: calc(100dvh - var(--topbar)); }
.pageSlide{ height: 100%; }
.pageProse{
  height: 100%;
  display:flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-bottom: 84px; /* miejsce na dolną nawigację */
}
.pageRow{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.pageRow__col{
  border: 1px solid rgba(244,244,244,.10);
  background: rgba(244,244,244,.03);
  border-radius: 16px;
  padding: 12px 14px;
}
.pageRow__t{ font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(244,244,244,.55); }
.pageRow__s{ margin-top: 6px; font-size: 14px; color: rgba(244,244,244,.82); line-height: 1.35; }
@media (max-width: 520px){
  .pageRow{ grid-template-columns: 1fr; }
  .pageProse .pageTitle{ font-size: 40px; }
  .pageProse .lead{ font-size: 16px; }
  .pageRow__s{ font-size: 13.5px; }
  .cardGrid{ gap: 10px; }
  .miniCard{ padding: 12px 14px; }
}

/* Dolna nawigacja na stronach – bez ciemnego tła zasłaniającego treść */
.nav--clear{
  background: transparent;
  backdrop-filter: none;
}


/* === HERO SWIPE HINT (layout fix) === */
.slide--hero .heroPad{
  display:flex;
  flex-direction:column;
  height:100%;
  justify-content:flex-start;
}
.slide--hero .heroCard{
  flex: 1 1 auto;
}
.slide--hero .heroSwipe{
  width: min(100%, 560px);
  margin: 0 auto;
  padding-top: clamp(10px, 2vh, 16px);
  padding-bottom: clamp(10px, 2vh, 16px);
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  text-align:center;
  font-size: 13px;
  color: rgba(244,244,244,.66);
  letter-spacing: .2px;
}
.slide--hero .heroSwipe__arrow{
  display:inline-block;
  opacity: .9;
  animation: heroArrowNudge 1.25s ease-in-out infinite;
}
@keyframes heroArrowNudge{
  0%, 100% { transform: translateX(0); opacity: .7; }
  50% { transform: translateX(4px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce){
  .slide--hero .heroSwipe__arrow{ animation:none; }
}
.inlineLink{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(244,244,244,.22);
  padding-bottom: 1px;
}
.inlineLink:hover{ border-bottom-color: rgba(244,244,244,.5); }


/* === HERO: reduce bottom gap on small screens === */
@media (max-width: 430px){
  .slide--hero .heroSwipe{
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .slide--hero .heroBadge{
    bottom: 14px;
  }
}


/* === HERO: more image height on mobile === */
@media (max-width: 430px){
  .slide--hero{
    padding-bottom: 6px;
  }
  .slide--hero .heroPad{
    padding-bottom: 0;
  }
}

/* Swipe micro-icon */
.heroSwipe__icon{
  font-size: 12px;
  opacity: .35;
  margin-right: 6px;
}


.anchorTrust{
  font-size:14px;
  opacity:.7;
  margin-bottom:12px;
}

.edgeSwipe{
  position:absolute;
  right:6px;
  top:50%;
  transform:rotate(-90deg) translateY(-50%);
  font-size:12px;
  opacity:.35;
  animation:pulse 3s ease-in-out infinite;
}

@keyframes pulse{
  0%,100%{opacity:.2}
  50%{opacity:.5}
}

.faqWrap{
  max-width:720px;
  margin:0 auto;
  padding:0 16px;
}

.playerLabel{
  display:block;
  font-size:11px;
  opacity:.6;
  margin-bottom:4px;
}

.softLink{
  font-size:14px;
  opacity:.6;
  text-decoration:none;
}
.softLink:hover{opacity:.9}
