/* =====================================================================
   PROJEKT D — ALBUM (pilot 2026-10-02 zaakceptowany przez Izabelę,
   rozszerzony na wszystkie strony). Okładka albumu → przelot przez litery (C)
   z przewodnikiem → ponumerowane „sale”. Reżyseria: projekt-d/DESIGN.md.
   Zasada jak w site.css: bez JS i przy ograniczeniu ruchu wszystko widać.
   ===================================================================== */

/* ---------- Wspólne: etykiety katalogowe i narożniki kadrowania ---------- */
.pl-label {
  margin: 0;
  font: 600 0.75rem/1.3 var(--body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}
.crop {
  position: absolute;
  z-index: 2;
  width: 22px;
  height: 22px;
  border: 0 solid var(--ink);
  pointer-events: none;
}
.crop--tl {
  top: -11px;
  left: -11px;
  border-width: 1px 0 0 1px;
  transform-origin: 0 0;
}
.crop--tr {
  top: -11px;
  right: -11px;
  border-width: 1px 1px 0 0;
  transform-origin: 100% 0;
}
.crop--bl {
  bottom: -11px;
  left: -11px;
  border-width: 0 0 1px 1px;
  transform-origin: 0 100%;
}
.crop--br {
  bottom: -11px;
  right: -11px;
  border-width: 0 1px 1px 0;
  transform-origin: 100% 100%;
}

/* ---------- Scena 1: okładka albumu ----------
   2026-10-02 (uwaga Izabeli): obraz widoczny w całości — okno ma proporcje
   obrazu (4:3), tekst stoi obok w lewej kolumnie, wielkie słowo pod spodem. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
/* .ph__inner: pojemnik siatki okładki (podstrony: przezroczysty dla siatki) */
.ph__inner {
  display: contents;
}
.ph {
  --ph-h: clamp(260px, calc(100svh - 372px), 600px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  column-gap: clamp(28px, 4vw, 64px);
  min-height: 100svh;
  padding: clamp(92px, 12svh, 108px) var(--gutter) clamp(18px, 3svh, 32px);
  background: var(--paper);
}
.ph__head {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(11, 48, 54, 0.22);
}
.ph__plate {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  height: var(--ph-h);
  aspect-ratio: var(--ar, 4 / 3);
}
.ph__win {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}
.ph__win img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Film okładki leży na obrazie i pojawia się płynnie, gdy zacznie grać */
.ph__vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.ph__vid.is-on {
  opacity: 1;
}
.ph__block {
  position: absolute;
  inset: 0;
  display: none;
  background: var(--ink);
}
.js-motion .ph__block {
  display: block;
}
.ph__title {
  grid-column: 1 / -1;
  grid-row: 2 / 4;
  display: grid;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
  margin: 0;
  font-weight: 500;
}
.ph__sub {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  font: 500 clamp(2rem, 3.4vw, 3.3rem) / 1.02 var(--display);
  color: var(--ink);
}
.ph__sub em {
  display: block;
  color: var(--rose-deep);
}
.ph__rule {
  grid-column: 1 / -1;
  grid-row: 3;
  align-self: start;
  height: 1px;
  margin-top: 16px;
  background: rgba(11, 48, 54, 0.22);
  transform-origin: 0 50%;
}
.ph__row {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  position: relative;
  z-index: 1;
  max-width: 34rem;
}
.ph__lead {
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.55;
}
.ph__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

/* Wejście czeka na skrypt (tylko z ruchem); bezpiecznik po 6 s */
.js-motion .ph__in,
.js-motion [data-ph-sub] {
  opacity: 0;
}
html.pl-failsafe:not(.pl-ok) .ph__in,
html.pl-failsafe:not(.pl-ok) [data-ph-sub] {
  opacity: 1 !important;
}
html.pl-failsafe:not(.pl-ok) .ph__block {
  display: none;
}

@media (max-width: 900px) {
  .ph {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    padding-top: 88px;
  }
  .ph__head {
    margin-bottom: 18px;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
  }
  .ph__plate {
    grid-column: 1;
    grid-row: auto;
    height: auto;
    width: 100%;
  }
  .ph__title {
    grid-row: auto;
    display: block;
    margin-top: 18px;
  }
  .ph__sub {
    display: block;
    padding-top: 12px;
    font-size: clamp(1.6rem, 7vw, 2.1rem);
  }
  .ph__sub em {
    display: inline;
  }
  .ph__rule {
    grid-row: auto;
    margin-top: 16px;
  }
  .ph__row {
    grid-column: 1;
    grid-row: auto;
    max-width: none;
    padding-top: 16px;
  }
  .ph__lead {
    font-size: 0.97rem;
    margin-bottom: 18px;
  }
}

/* ---------- Scena 2: przelot przez litery ---------- */
.fly {
  --ft: 13%;
  --fr: 18%;
  --fb: 19%;
  --fl: 18%;
  position: relative;
  background: var(--paper);
}
.fly__stage {
  position: relative;
  height: 100svh;
  overflow: hidden;
}
/* Dotyk: scena trzyma się ekranu pod menu, a .fly__run pod nią to droga przewijania (album.js) */
.fly__stage.is-sticky {
  position: sticky;
  top: var(--fly-top, 0px);
}
.fly__stage.is-sticky.is-measure {
  position: relative;
  top: auto;
}
.fly__img {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
}
.fly__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
}
.fly__mask {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--paper);
  mix-blend-mode: lighten;
}
.fly__mask b {
  position: relative;
  display: block;
  font: 600 var(--fly, 21vw) / 0.8 var(--display);
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: #000;
}
/* Zapowiedź celu pod słowem (uwaga Izabeli: przejście ma prowadzić) */
.fly__hint {
  position: absolute;
  left: 50%;
  bottom: clamp(56px, 12svh, 120px);
  translate: -50% 0;
  display: inline-flex;
  gap: 10px;
  color: var(--rose-deep);
  white-space: nowrap;
}
.fly__hint i {
  font-style: normal;
}
.fly__frame {
  position: absolute;
  inset: var(--ft) var(--fr) var(--fb) var(--fl);
  pointer-events: none;
}
/* Przewodnik: gdzie jesteś, co tu jest, pytania z odpowiedziami pod linkiem */
.fly__guide {
  position: absolute;
  z-index: 3;
  left: var(--gutter);
  top: var(--ft);
  width: calc(var(--fl) - var(--gutter) - clamp(32px, 4vw, 64px));
  min-width: 260px;
}
.fly__what {
  margin: 18px 0 26px;
  font: 400 clamp(1.1rem, 1.6vw, 1.3rem) / 1.55 var(--body);
  color: var(--ink);
}
.fly__qs {
  display: grid;
  gap: 14px;
  margin: 0 0 30px;
  padding: 0 0 26px;
  list-style: none;
  border-bottom: 1px solid rgba(11, 48, 54, 0.22);
}
.fly__qs .link-arrow {
  letter-spacing: 0.08em;
  text-transform: none;
  font-size: 0.95rem;
  background-size: 100% 1px;
}
.fly__go {
  padding-block: 5px;
  display: inline-flex;
  gap: 10px;
  color: var(--rose-deep);
  text-decoration: none;
}
.fly__go i {
  font-style: normal;
}
/* Bez ruchu: słowo z obrazem w literach, przewodnik pod spodem w zwykłym układzie */
html:not(.js-motion) .fly__frame {
  display: none;
}
html:not(.js-motion) .fly__stage {
  height: auto;
  min-height: 100svh;
  padding-bottom: 40px;
}
html:not(.js-motion) .fly__img,
html:not(.js-motion) .fly__mask {
  height: 100svh;
}
html:not(.js-motion) .fly__hint {
  display: none;
}
html:not(.js-motion) .fly__guide {
  position: relative;
  top: auto;
  left: auto;
  width: auto;
  max-width: 40rem;
  margin: 100svh var(--gutter) 0;
  padding-top: 40px;
}
@media (min-width: 901px) {
  .fly {
    --ft: 15%;
    --fr: 7%;
    --fb: 12%;
    --fl: 42%;
  }
}
@media (max-width: 900px) {
  .fly {
    --ft: 5%; /* scena przypięta już pod menu; było 14 % — obraz traci miejsce na przewodnik nad „Zadzwoń” (2026-10-23) */
    --fr: 6%;
    --fb: 47%;
    --fl: 6%;
  }
  .fly__guide {
    top: calc(100% - var(--fb) + 22px);
    width: auto;
    right: var(--gutter);
    min-width: 0;
  }
  .fly__what {
    margin: 10px 0 14px;
    font-size: 1.12rem;
  }
  .fly__qs {
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 14px;
  }
  .fly__qs .link-arrow {
    font-size: 0.85rem;
  }
}

/* ---------- Scena 3: „Sala 02” — pozioma galeria zabiegów ---------- */
.hall {
  position: relative;
  background: var(--paper);
  border-top: 1px solid rgba(11, 48, 54, 0.22);
}
.hall__viewport {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline-start: var(--gutter);
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--rose) transparent;
}
.hall.is-pinned .hall__viewport {
  overflow: hidden;
  scroll-snap-type: none;
}
.hall.is-pinned .hall__track {
  min-height: 100svh;
  align-items: center;
}
.hall__track {
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 112px);
  width: max-content;
  min-height: 100svh;
  margin: 0;
  padding: 96px var(--gutter) 88px;
  list-style: none;
}
.hall__intro {
  flex: 0 0 min(32vw, 440px);
  scroll-snap-align: start;
}
.hall__title {
  margin: 18px 0 34px;
  font: 500 clamp(2.6rem, 4.8vw, 4.9rem) / 0.98 var(--display);
}
.hall__title em {
  color: var(--rose-deep);
}
.hall__hint {
  display: inline-flex;
  gap: 12px;
  color: var(--rose-deep);
}
.hall__hint i {
  font-style: normal;
}

.plate {
  flex: 0 0 auto;
  scroll-snap-align: center;
}
/* Rozmiar tablicy liczony z wysokości ekranu: całość mieści się w jednym kadrze */
.plate--wide {
  --h: min(50svh, 480px);
  --w: calc(var(--h) * 4 / 3);
  margin-bottom: 5svh;
}
.plate--tall {
  --h: min(52svh, 500px);
  --w: calc(var(--h) * 3 / 4);
  margin-top: 6svh;
}
.plate__link {
  display: block;
  width: var(--w);
  color: inherit;
  text-decoration: none;
}
.plate__no {
  display: block;
  margin-bottom: 18px;
  color: var(--rose-deep);
}
.plate__frame {
  position: relative;
  display: block;
}
.plate--wide .plate__frame {
  aspect-ratio: 4 / 3;
}
.plate--tall .plate__frame {
  aspect-ratio: 3 / 4;
}
.plate__img {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--cream);
}
.plate__img img {
  position: absolute;
  top: 0;
  left: -8%;
  width: 116%;
  height: 100%;
  object-fit: cover;
  object-position: var(--kadr, 50% 50%); /* KADR_KARTY w build.py */
  transition: scale 0.9s var(--ease);
}
.plate__cap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  max-width: 100%;
}
/* Wideo z Groka w ramie (gdy plik istnieje): leży na obrazie, startuje w kadrze */
.plate__img video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--kadr, 50% 50%);
}
.plate__txt {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.plate__name {
  font: 600 clamp(1.45rem, 2vw, 1.9rem) / 1.05 var(--display);
  transition: color 0.4s var(--ease);
}
.plate__sub {
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(11, 48, 54, 0.78);
}
.plate__rule {
  display: block;
  height: 1px;
  margin-top: 18px;
  background: rgba(11, 48, 54, 0.22);
  transform-origin: 0 50%;
}
.plate__link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 10px;
}
@media (hover: hover) and (pointer: fine) {
  .plate__link:hover .plate__img img {
    scale: 1.04;
  }
  .plate__link:hover .plate__name {
    color: var(--rose-deep);
  }
}

.hall__end {
  flex: 0 0 min(36vw, 480px);
  scroll-snap-align: end;
}
.hall__end-title {
  margin: 16px 0 30px;
  font: 500 clamp(2.4rem, 4vw, 4rem) / 1 var(--display);
}
.hall__end-title em {
  color: var(--rose-deep);
}

.hall__count {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(28px, 5svh, 44px);
}
.hall__count b {
  font-weight: 600;
  color: var(--rose-deep);
}
.hall__bar {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(34px, 5.6svh, 50px);
  width: min(180px, 30vw);
  height: 1px;
  background: rgba(11, 48, 54, 0.22);
}
.hall__bar i {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0.02);
  transform-origin: 0 50%;
}

@media (max-width: 900px) {
  .hall__track {
    gap: 28px;
    min-height: 0;
    padding: 96px var(--gutter) 104px;
    align-items: flex-start;
  }
  .hall__intro {
    flex-basis: 78vw;
    align-self: center;
  }
  .plate--wide,
  .plate--tall {
    margin: 0;
  }
  .plate--wide {
    --w: 80vw;
  }
  .plate--tall {
    --w: 62vw;
  }
  .hall__end {
    flex-basis: 78vw;
    align-self: center;
  }
}

/* =====================================================================
   Album na wszystkich stronach (2026-10-02, „zrób wszystkie podstrony tak samo”)
   ===================================================================== */

/* Okładka podstrony: okruszki w wierszu etykiet, plakietki pod przyciskiem */
.crumbs-album ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.crumbs-album li + li::before {
  content: "/";
  margin-right: 10px;
  color: rgba(11, 48, 54, 0.4);
}
.crumbs-album a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 48, 54, 0.3);
}
.crumbs-album a:hover {
  color: var(--rose-deep);
}
.ph__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.ph__meta li {
  padding: 7px 12px;
  border: 1px solid rgba(11, 48, 54, 0.22);
  font: 600 0.66rem/1.2 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-deep);
}
.ph--page .ph__sub {
  font-size: clamp(1.7rem, 2.7vw, 2.7rem);
}

/* Etykiety sekcji = sale albumu („Sala 03 · Zespół”), bez złota */
.album .eyebrow {
  gap: 0;
  font: 600 0.72rem/1.3 var(--body);
  letter-spacing: 0.2em;
  color: var(--ink);
}
.album .eyebrow::before {
  display: none;
}
.album .eyebrow--light {
  color: var(--paper);
}
.album .cards--ink .eyebrow {
  color: var(--paper);
}
.album [id="sala"] {
  scroll-margin-top: 110px;
}

/* Sekcje jak strony albumu: papier i linia u góry; bloki petrolu zostają
   jako zmiana sceny (Przebieg wizyty, GBT, kontakt, CTA) */
.album .cards--rose,
.album .cards--paper,
.album .cards:not(.cards--ink),
.album .story,
.album .faq,
.album .paths,
.album .related,
.album .map,
.album .doc {
  background: var(--paper);
  border-top: 1px solid rgba(11, 48, 54, 0.22);
}
.album .cards--ink h2 em,
.album .cta__title em {
  color: var(--rose);
}

/* Róż w rytmie stron (Izabela 2026-10-13: „dodać ciemny i jasny róż, aby przełamać beże”):
   pytania, karty „różowe” i mapa na jasnym różu; końcowe zaproszenie (CTA) na ciemnym różu. */
.album .cards--rose,
.album .faq,
.album .map,
.album .related {
  background: var(--rose-light) var(--paint);
}
.album .cta {
  background: var(--rose-dark) var(--paint);
}
.album .cta__title em {
  color: var(--rose-light);
}
.album .cta .btn--light:hover {
  background: var(--rose-light);
}

/* Karty → wpisy katalogowe: linia, numer „Nr 01”, bez cieni i zaokrągleń */
.album .card {
  padding: 22px 0 26px;
  border-radius: 0;
  background: none;
  box-shadow: none;
  border-top: 1px solid rgba(11, 48, 54, 0.22);
  gap: 8px 28px;
}
.album .cards__list {
  gap: 0;
}
.album .card__num {
  grid-row: span 2;
  min-width: 4.2em;
  padding-top: 0.35em;
  font: 600 0.72rem/1.3 var(--body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose-deep);
}
.album .card__num::before {
  content: "Nr ";
}
.album .cards--ink .card {
  background: none;
  box-shadow: none;
  border-top-color: rgba(239, 230, 214, 0.24);
}
.album .cards--ink .card__num {
  color: var(--rose);
}

/* Ścieżki (estetyka): oprawione tablice tekstowe */
.album .path {
  border-radius: 0;
  background: none;
  box-shadow: inset 0 0 0 1px rgba(11, 48, 54, 0.22);
}
.album .path:hover {
  background: rgba(216, 156, 126, 0.12);
}
.album .path__eyebrow {
  color: var(--rose-deep);
  letter-spacing: 0.2em;
}

/* FAQ: numery jak w katalogu */
.album .faq__num {
  font: 600 0.72rem/1.3 var(--body);
  letter-spacing: 0.2em;
  min-width: 4.2em;
}
.album .faq__num::before {
  content: "Nr ";
}

/* „Na czym polega”: tablica z narożnikami zamiast łuku (z animacją z Groka) */
.album .story__art {
  position: relative;
  aspect-ratio: 4 / 5;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}
.album .story__art .plate__img img {
  border-radius: 0;
  height: 100%;
}
/* Obraz poziomy 3:2 (Laseroterapia: urządzenie z rękojeściami po bokach) — bez przycinania do pionu */
.album .story__art--wide {
  aspect-ratio: 3 / 2;
}

/* „Inne zabiegi”: dwie tablice albumu */
.related__grid-album {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 6vw, 100px);
  align-items: start;
}
.related__head .link-arrow {
  margin-top: 26px;
}
.related__plates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.related__plates .plate {
  margin: 0;
}
.related__plates .plate__link {
  width: 100%;
}
.related__plates .plate__frame {
  aspect-ratio: 4 / 3;
}
.related__plates .plate__rule {
  transform: none;
}

/* Przewodnik bez pytań (polityka prywatności) */
.fly__qs--empty {
  display: block;
  margin: 0 0 26px;
  border-bottom: 1px solid rgba(11, 48, 54, 0.22);
}

@media (max-width: 900px) {
  .related__grid-album {
    grid-template-columns: minmax(0, 1fr);
  }
  .related__plates {
    grid-template-columns: minmax(0, 1fr);
  }
  .album .story__art {
    width: min(78vw, 420px);
  }
  .ph__meta {
    margin-top: 18px;
  }
}

/* Review 2026-10-02: drobne etykiety (0,66–0,72 rem) w ciemniejszym różu — kontrast AA
   (#8a4a35 na papierze ok. 5,4:1); --rose-deep zostaje dla dużej kursywy */
.album .plate__no,
.album .card__num,
.album .faq__num,
.album .ph__meta li,
.album .fly__hint,
.album .fly__go,
.album .hall__hint,
.album .hall__count b,
.album .path__eyebrow {
  color: var(--rose-label);
}
.album .cards--ink .card__num {
  color: var(--rose);
}
/* „Pierwsza wizyta”: ostatni panel zmienia tło na petrol, a site.js animuje kolor nagłówka */
.album .steps__head .eyebrow {
  color: inherit;
}
/* Wiersz etykiet okładki: okruszki i etykieta strony mogą się zawinąć */
.ph--page .ph__head {
  flex-wrap: wrap;
}

/* ---------- Okładka strony głównej: pas 3:1 nad słowem (2026-10-03) ----------
   Wybór Izabeli: wariant D „panorama CENNIKA”. Pas i „STOMATOLOGIA” mają zawsze tę samą
   szerokość; na niskich ekranach cały blok zwęża się, żeby zmieścić się w jednym ekranie
   (nic nie jest ucinane). Wysokość ≈ szerokość × 0,43 + stałe ok. 360 px. */
.ph--band {
  display: block;
  padding: clamp(84px, 11svh, 104px) var(--gutter) clamp(16px, 3svh, 28px);
}
.ph--band .ph__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  grid-template-areas:
    "head head"
    "plate plate"
    "big big"
    "rule rule"
    "sub row";
  column-gap: clamp(24px, 4vw, 64px);
  width: min(100%, calc((100svh - 360px) * 2.3));
  margin: 0 auto;
}
.ph--band .ph__head {
  grid-area: head;
  margin-bottom: 16px;
}
.ph--band .ph__plate {
  grid-area: plate;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
}
.ph--band .ph__win picture,
.ph--band .ph__win img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph--band .ph__title {
  display: contents;
}
.ph--band .ph__rule {
  grid-area: rule;
  margin-top: 12px;
}
.ph--band .ph__sub {
  grid-area: sub;
  align-self: start;
  padding-top: 16px;
  font-size: clamp(1.5rem, 2.3vw, 2.4rem);
}
.ph--band .ph__sub em {
  display: block;
  /* Zachowaj długi wiersz, dopóki mieści się przed akapitem w drugiej kolumnie. */
  width: max-content;
  max-width: calc(100% + clamp(24px, 4vw, 64px));
  white-space: normal;
}
.ph--band .ph__row {
  grid-area: row;
  align-self: start;
  max-width: none;
  padding-top: 18px;
}
.ph--band .ph__lead {
  margin-bottom: 16px;
}
/* Poniżej 600 px wysokości pas liczony z svh staje się miniaturą. */
@media (max-width: 900px), (max-height: 600px) {
  .ph--band {
    padding-top: 88px;
  }
  .ph--band .ph__inner {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "plate"
      "big"
      "sub"
      "rule"
      "row";
  }
  .ph--band .ph__plate {
    aspect-ratio: 2 / 1;
  }
  .ph--band .ph__sub {
    padding-top: 10px;
    font-size: clamp(1.4rem, 6.4vw, 1.9rem);
  }
  .ph--band .ph__sub em {
    display: inline;
    white-space: normal;
  }
}

/* =====================================================================
   2026-10-03 — Pierwsza wizyta na stronie głównej: krótka wzmianka
   ===================================================================== */
.vnote {
  padding: clamp(100px, 12vw, 170px) 0;
  background: var(--rose-light) var(--paint); /* róż w rytmie stron, 2026-10-13 */
}
.vnote__title {
  margin-top: 18px;
  max-width: 16ch;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}
.vnote__title em { color: var(--rose-deep); }
/* Pierwsza wizyta na stronie głównej: na komputerze dwie kolumny (tytuł z odnośnikiem | cztery kroki
   z krótkim opisem), na telefonie lista jeden pod drugim (Izabela 2026-10-15: „ta sekcja mi się nie podoba”) */
.vnote__inner {
  display: grid;
  gap: clamp(36px, 5vw, 64px) clamp(48px, 6vw, 110px);
}
.vnote__link {
  margin-top: clamp(28px, 3vw, 40px);
  font-size: 1.05rem;
}
.vnote__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  counter-reset: none;
}
.vnote__steps li {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  grid-template-areas: "n t" "n d";
  column-gap: 14px;
  row-gap: 6px;
  align-content: start;
  padding: 22px 0 24px;
  border-top: 1px solid rgba(11, 48, 54, 0.22);
}
.vnote__n {
  grid-area: n;
  font: 500 clamp(2rem, 3vw, 2.8rem)/0.9 var(--display);
  letter-spacing: 0;
  color: var(--rose-deep);
}
.vnote__t {
  grid-area: t;
  font: 600 clamp(1.1rem, 1.5vw, 1.3rem)/1.25 var(--body);
  color: var(--ink);
}
.vnote__d {
  grid-area: d;
  max-width: 30rem;
  font: 400 1rem/1.55 var(--body);
  color: rgba(11, 48, 54, 0.82);
}
@media (min-width: 901px) {
  .vnote__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
  }
  .vnote__title {
    max-width: none;
    font-size: clamp(2.2rem, 3.6vw, 3.6rem);
    text-wrap: balance;
  }
  .vnote__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 clamp(28px, 3vw, 52px);
  }
}

/* =====================================================================
   2026-10-03 — Twój powód wizyty na podstronie Pierwsza wizyta (animowany)
   ===================================================================== */
.faq--album {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.faq--album .faq__arc {
  position: absolute;
  z-index: -1;
  left: -12vw;
  bottom: -18vw;
  width: 52vw;
  aspect-ratio: 1;
  border-radius: 50% 50% 0 50%;
  background: var(--rose) url("../img/kroki/03-omowienie-720.webp") 50% 50% / cover;
  opacity: 0.32;
  mix-blend-mode: multiply;
}
.faq--album .faq__item {
  position: relative;
  border-bottom: 0;
  --rule: 1;
}
.faq--album .faq__item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(11, 48, 54, 0.28);
  transform: scaleX(var(--rule));
  transform-origin: 0 50%;
}
.faq--album .faq__num {
  --fill: 100%;
  color: transparent;
  -webkit-text-stroke: 1px var(--rose-label);
  background: linear-gradient(90deg, var(--rose-label) var(--fill), transparent var(--fill));
  -webkit-background-clip: text;
  background-clip: text;
  display: inline-block;
}
.faq--album .faq__label {
  transition: transform 0.6s var(--ease), color 0.4s;
}
.faq--album .faq__q button:hover .faq__label,
.faq--album .faq__q button:focus-visible .faq__label {
  transform: translateX(12px);
  color: var(--rose-deep);
}
@media (max-width: 900px) {
  .faq--album .faq__arc { width: 90vw; bottom: -40vw; }
}

/* =====================================================================
   2026-10-03 — Podstrony: okładka z pasem nad słowem, słowo główne = przelot
   ===================================================================== */
.fly--cover {
  height: auto;
}
.fly--cover .ph--cover {
  min-height: 0;
  padding-bottom: 0;
}
.fly--cover .ph--cover .ph__inner {
  grid-template-areas:
    "head head"
    "plate plate"
    "rule rule"
    "sub row";
  /* Szerokość desktopu i układ niskich ekranów są określone poniżej. */
  width: min(100%, calc((100svh - 360px) * 1.75));
}
.fly--cover .fly__img {
  background: var(--ink);
}
.fly--cover .fly__mask b {
  line-height: 0.86;
  text-align: center;
}
@media (min-width: 901px) and (min-height: 601px) {
  .fly--cover .ph--cover .ph__inner {
    /* Pas 3:1: wysokość pasa = clamp(260 px, 100svh − 580 px, 560 px) (jak od 16.10, żeby wielki napis był od razu widać),
       szerokość = 3 × wysokość (nie szerzej niż 90vw). */
    width: min(100%, 90vw, calc(3 * clamp(260px, calc(100svh - 580px), 560px)));
  }
  .fly--cover .ph--cover {
    /* Scena nie może przykrywać dolnego wiersza podpisu okładki. */
    padding-bottom: 24px;
  }
}
@media (max-width: 900px), (max-height: 600px) {
  .fly--cover .ph--cover .ph__inner {
    width: 100%;
    grid-template-areas:
      "head"
      "plate"
      "sub"
      "rule"
      "row";
  }
}

/* Opowieść podstrony (pilot Protetyka) — włącza ją main[data-story]. */
.story-map {
  --story-progress: 0;
  position: fixed;
  z-index: 105;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink);
}
.story-map[hidden] { display: none; }
.story-map__current { display: none; }
.story-map__rooms {
  position: relative;
  display: grid;
  list-style: none;
  padding: 0;
  margin: 0;
}
.story-map__rooms::before,
.story-map__rooms::after {
  display: none;
}
/* Pasek sekcji: tylko drobne kropki (Izabela 2026-10-14: „subtelniejszy, mniejszy, nieinwazyjny”);
   numer pokazuje się dopiero po najechaniu lub fokusie, czytnik ekranu czyta go zawsze. */
.story-map a {
  position: relative;
  display: grid;
  place-items: center;
  width: 24px; /* cel min. 24×24 px (WCAG 2.5.8); kropka bez zmian */
  min-height: 26px;
  font: 600 0 / 1 var(--body);
  color: var(--ink);
  text-decoration: none;
}
.story-map a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.22;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background-color 0.4s var(--ease);
}
.story-map a[aria-current]::before {
  opacity: 0.85;
  background: var(--rose-dark);
  transform: scale(1.6);
}
.story-map a:hover::before,
.story-map a:focus-visible::before {
  opacity: 0.8;
}
.story-map a::after {
  content: attr(data-n);
  position: absolute;
  right: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--paper);
  font: 600 0.62rem/1.3 var(--body);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.story-map a:hover::after,
.story-map a:focus-visible::after {
  opacity: 1;
}
.story-map a:focus-visible { outline: 2px solid var(--rose-label); outline-offset: -4px; }
[data-story] .story-heading { position: relative; width: fit-content; }
[data-story] .story-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 64px;
  height: 1px;
  background: currentColor;
  transform: scaleX(var(--story-rule, 1));
  transform-origin: left;
}
[data-story] .card__num {
  --story-fill: 100%;
  --story-number: var(--rose-label);
  color: transparent;
  -webkit-text-stroke: 0.5px var(--story-number);
  background: linear-gradient(0deg, var(--story-number) var(--story-fill), transparent var(--story-fill));
  -webkit-background-clip: text;
  background-clip: text;
  align-self: start;
}
[data-story] .cards--ink .card__num { --story-number: var(--rose); }
[data-story] .cards--ink .cards__list {
  --story-path: 1;
  position: relative;
  padding-left: 26px;
}
[data-story] .cards--ink .cards__list::before,
[data-story] .cards--ink .cards__list::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(239, 230, 214, 0.24);
}
[data-story] .cards--ink .cards__list::after {
  background: var(--rose);
  transform: scaleY(var(--story-path));
  transform-origin: top;
}
[data-story] .cards--ink .card::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 28px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--rose);
  background: var(--ink);
  border-radius: 50%;
}
[data-story] .cards--ink .card.is-story-current::before {
  background: var(--rose);
  transform: scale(1.4);
}
@media (max-width: 1100px) {
  .story-map {
    top: var(--story-menu, 80px);
    right: 0;
    left: 0;
    transform: none;
    border: 0;
    border-bottom: 1px solid rgba(11, 48, 54, 0.22);
    transition: transform 0.7s var(--ease);
    pointer-events: none;
  }
  .story-map__current {
    display: block;
    padding: 7px var(--gutter);
    font: 600 0.65rem/1.5 var(--body);
    letter-spacing: 0.025em;
  }
  .story-map__rooms { display: none; }
  .story-map::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 2px;
    background: var(--rose-label);
    transform: scaleX(var(--story-progress));
    transform-origin: left;
  }
  [data-story] .cards--ink .card { gap: 8px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .story-map { transition: none; }
}
html:not(.pl-ok) .story-map { transition: none; }

/* =====================================================================
   2026-10-11 — Pytanie z linku przewodnika: odpowiedź na środku ekranu,
   reszta strony rozmyta; po przewinięciu karta wraca na miejsce w liście
   ===================================================================== */
.faq-spot {
  position: fixed;
  inset: 0;
  z-index: 160;
  cursor: pointer;
}
.faq-spot__veil {
  position: absolute;
  inset: 0;
  background: rgba(239, 230, 214, 0.38);
  -webkit-backdrop-filter: blur(14px) saturate(0.85);
  backdrop-filter: blur(14px) saturate(0.85);
  opacity: 0;
  transition: opacity 0.55s var(--ease);
}
/* .faq.faq-spot__card nadpisuje odstępy i przycinanie sekcji pytań */
.faq.faq-spot__card {
  position: fixed;
  margin: 0;
  padding: 0;
  border: 0; /* karta z ukrytej sekcji na głównej dziedziczyła linię sekcji (2026-10-23) */
  /* długa odpowiedź na niskim ekranie przewija się w karcie (uwaga Codexa do PR #18, 2026-10-26) */
  overflow-y: auto;
  overscroll-behavior: contain;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  background-color: var(--rose-soft);
  box-shadow:
    0 0 0 clamp(18px, 3vw, 36px) var(--rose-soft),
    0 50px 110px -30px rgba(11, 48, 54, 0.5);
  opacity: 0;
  transform: translateY(22px) scale(0.97);
  transition:
    opacity 0.5s var(--ease),
    transform 0.7s var(--ease),
    box-shadow 0.6s var(--ease),
    background-color 0.6s;
}
.faq.faq-spot__card:focus {
  outline: none;
}
.faq.faq-spot__card:focus-visible {
  outline: 3px solid var(--ink, #0b3036);
  outline-offset: clamp(10px, 2vw, 24px);
}
.faq-spot__card .faq__item {
  border-bottom: 0;
}
.faq-spot__card .faq__item::after {
  display: none;
}
.faq-spot.is-in .faq-spot__veil,
.faq-spot.is-in .faq-spot__card {
  opacity: 1;
}
.faq-spot.is-in .faq-spot__card {
  transform: none;
}
.faq-spot.is-leaving .faq-spot__veil {
  opacity: 0;
}
.faq-spot.is-leaving .faq-spot__card {
  background-color: rgba(234, 209, 192, 0);
  box-shadow:
    0 0 0 0 rgba(234, 209, 192, 0),
    0 0 0 0 rgba(11, 48, 54, 0);
}
/* chowana jest tylko treść pytania: sam element listy animuje GSAP (wejście listy) */
.faq__item.is-spotted > * {
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .faq-spot__veil,
  .faq.faq-spot__card {
    transition: none;
    transform: none;
  }
}

/* CTA na ciemnym różu: „Napisz e-mail” jako drugi przycisk z kremowym obramowaniem
   (Izabela 2026-10-14: sam napis obok przycisku był słabo widoczny). Krem na ciemnym różu 4,9:1. */
.album .cta .link-arrow--light {
  gap: 14px;
  padding: 17px 28px;
  border: 1.5px solid var(--paper);
  border-radius: 999px;
  color: var(--paper);
  background: none;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}
.album .cta .link-arrow--light:hover {
  background: var(--paper);
  color: var(--rose-dark);
}

/* ---------------------------------------------------------------
   Jedno tło i jedna opowieść (Izabela, 2026-10-14): cała strona na kremowym papierze z lekką
   fakturą, bez kolorowych pasów i kresek między sekcjami; petrol i róż tylko w szczegółach.
   Włącza ją main[data-calm]; stopka zostaje petrolowa (zamyka stronę).
   --------------------------------------------------------------- */
[data-calm].album :is(.fly, .cards, .story, .faq, .related, .cta, .vnote) {
  background: none; /* tło daje body (papier z teksturą), bez podwajania szumu */
  color: var(--ink);
  border-top: 0;
}
[data-calm] .cards--ink h2,
[data-calm] .cta__title { color: var(--ink); }
[data-calm] .cards--ink h2 em,
[data-calm] .cta__title em { color: var(--rose-dark); }
[data-calm] .cards--ink .eyebrow,
[data-calm] .cta .eyebrow { color: var(--rose-label); }
[data-calm] .cards--ink .card { border-top-color: rgba(11, 48, 54, 0.22); }
[data-calm] .cards--ink .card__num { color: var(--rose-dark); }
[data-calm].album .cards--ink .cards__list::before,
[data-calm] .cards--ink .cards__list::before { background: rgba(11, 48, 54, 0.22); }
[data-calm] .cards--ink .card::before { background: var(--paper); }
[data-calm] .cta__text { color: rgba(11, 48, 54, 0.86); }
[data-calm] .gbt .eyebrow--light { color: var(--rose-label); }
[data-calm] .cta .btn--light { background: var(--ink); color: var(--paper); }
[data-calm] .cta .btn--light:hover { background: var(--rose-dark); }
[data-calm] .cta .link-arrow--light { border-color: var(--ink); color: var(--ink); }
[data-calm] .cta .link-arrow--light:hover { background: var(--ink); color: var(--paper); }

/* Pozostałe podstrony na jednym tle (Izabela, 2026-10-14): zespół, kroki i kontakt bez kolorowych pasów */
[data-calm].album :is(.team, .contact, .map) { background: none; color: var(--ink); }
[data-calm] .steps__panel--ink { color: var(--ink); }
[data-calm] .steps__panel--ink .steps__count { color: var(--gold-light); } /* kontrast na petrolu 7,7:1 (audyt) */
[data-calm] .contact :is(h1, h2, h3, .contact__title, .contact__lead, .contact__local, p, li, dt, dd, a) { color: var(--ink); }
[data-calm] .contact .eyebrow { color: var(--rose-label); }
[data-calm] .contact .contact__bgword { color: rgba(11, 48, 54, 0.06); }
[data-calm] .contact :is(span, strong, small, time, dt, dd) { color: var(--ink); }
[data-calm] .contact .eyebrow, [data-calm] .contact dt { color: var(--rose-label); }
[data-calm] .contact .contact__bgword, [data-calm] .contact .contact__bgword span { color: rgba(11, 48, 54, 0.06); }
/* Przyciski telefonu i e-maila na kremie: złote obramowanie z ciemnej sekcji miało ok. 1,2:1; petrol 60 % = 3,7:1 (WCAG 1.4.11, przegląd Gemini 2026-11-25) */
[data-calm] .phone { border-color: rgba(11, 48, 54, 0.6); }
[data-calm] .hours caption { color: var(--rose-label); }
[data-calm] .hours th, [data-calm] .hours td { border-bottom-color: rgba(11, 48, 54, 0.16); }
[data-calm] .hours td { color: rgba(11, 48, 54, 0.8); }
/* Nagłówek kontaktu mieścił się w kolumnie tylko do „GODZIN” (ucięte „Y”); trochę mniejszy */
[data-calm] .contact__title { font-size: clamp(2.8rem, 6.4vw, 6.6rem); }
[data-calm].album .gbt { background: none; color: var(--ink); }
[data-calm] .gbt__head h2, [data-calm] .gbt__title { color: var(--ink); }
[data-calm] .gbt__lead, [data-calm] .gbt__card p:last-child { color: rgba(11, 48, 54, 0.8); }
[data-calm] .gbt__num { color: var(--rose-dark); }
[data-calm] .gbt.is-pinned .gbt__progress { background: rgba(11, 48, 54, 0.16); }
[data-calm] .gbt__progress span { background: var(--rose-dark); }

/* Telefon: mniejszy odstęp między końcem okładki podstrony a pierwszą sekcją (Izabela 2026-10-14) */
@media (max-width: 900px) {
  .fly--cover + .cards {
    padding-top: 36px;
  }
}

/* Fokus: ciemny na jasnych sekcjach trybu jednego tła (jasny obrys byłby niewidoczny na kremie) */
[data-calm] :is(.contact, .cta, .cards--ink, .gbt, .tour) :focus-visible {
  outline-color: var(--ink);
}

/* =====================================================================
   2026-10-15 — „Przebieg wizyty” jako przypięta podróż (journey)
   Bez JS i przy ograniczeniu ruchu: zwykła lista kroków. Z JS (is-live): przewijasz, a kroki
   zmieniają się jeden po drugim; z obrazami (journey--img) każdy krok ma własną grafikę.
   ===================================================================== */
.journey {
  padding: clamp(72px, 12vw, 150px) 0;
  background: var(--paper);
  border-top: 1px solid rgba(11, 48, 54, 0.22);
}
.journey__stage {
  width: min(100% - 2 * var(--gutter), 1280px);
  margin-inline: auto;
  display: grid;
  gap: clamp(32px, 5vw, 80px);
}
.journey__h2 {
  margin-top: 16px;
  font-size: clamp(2.2rem, 3.8vw, 3.8rem);
  text-wrap: balance;
}
.journey__count { display: none; }
.journey__rail { display: none; }
.journey__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 32px;
}
.journey__t {
  font: 500 clamp(1.7rem, 2.6vw, 2.5rem)/1.12 var(--display);
  color: var(--ink);
}
.journey__d {
  margin-top: 10px;
  max-width: 32rem;
  font: 400 1.1rem/1.6 var(--body);
  color: rgba(11, 48, 54, 0.84);
}
.journey__media { display: none; }

/* tryb żywy (JS, ruch dozwolony) */
.journey.is-live { padding: 0; }
.journey.is-live .journey__track {
  height: calc(var(--n) * 32svh + 100svh); /* krótko: krok zmienia się co ok. 1/3 ekranu przewijania */
}
.journey.is-live .journey__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  align-items: center;
  padding-top: var(--story-menu, 84px);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.journey.is-live .journey__head { position: relative; }
.journey.is-live .journey__count {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: clamp(20px, 4vh, 48px);
  font-family: var(--display);
  color: var(--rose-deep);
}
.journey.is-live .journey__count b {
  font-weight: 500;
  font-size: clamp(5rem, 11vw, 10rem);
  line-height: 0.8;
  font-variant-numeric: lining-nums;
}
.journey.is-live .journey__count span {
  font: 600 0.8rem/1 var(--body);
  letter-spacing: 0.22em;
  color: rgba(11, 48, 54, 0.78); /* ≥4,5:1 na kremie (było 3,7:1; przegląd 2026-10-23) */
}
.journey.is-live .journey__rail {
  display: flex;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.journey.is-live .journey__rail li {
  flex: 1;
  max-width: 64px;
  height: 3px;
  border-radius: 2px;
  background: rgba(11, 48, 54, 0.16);
  overflow: hidden;
}
.journey.is-live .journey__rail span { display: none; }
.journey.is-live .journey__rail li::after {
  content: "";
  display: block;
  height: 100%;
  background: var(--rose-deep);
  transform: scaleX(var(--fill, 0));
  transform-origin: 0 50%;
}
.journey.is-live .journey__view {
  position: relative;
  display: grid;
  gap: 22px;
  align-content: center;
}
.journey.is-live .journey__steps {
  position: relative;
  display: block;
  min-height: 9.5rem;
}
.journey.is-live .journey__step {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.32s var(--ease), transform 0.42s var(--ease);
  pointer-events: none;
}
.journey.is-live .journey__step.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.journey.is-live .journey__step.is-past { transform: translateY(-28px); }

/* z obrazami */
.journey--img.is-live .journey__media {
  display: block;
  position: relative;
  aspect-ratio: 3 / 2;
  max-height: 52svh;
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 30px 60px -34px rgba(7, 31, 36, 0.5);
}
.journey--img.is-live .journey__pic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.12) translateX(3%);
  clip-path: inset(0 0 0 100%);
  transition: opacity 0.35s var(--ease), transform 0.65s var(--ease), clip-path 0.5s var(--ease);
}
.journey--img.is-live .journey__pic.is-on {
  opacity: 1;
  transform: scale(1);
  clip-path: inset(0 0 0 0);
  z-index: 2;
}
.journey--img.is-live .journey__pic.is-past {
  opacity: 1;
  transform: scale(1.03) translateX(-2%);
  clip-path: inset(0 0 0 0);
  z-index: 1;
}

@media (max-width: 900px) {
  .journey.is-live .journey__track { height: calc(var(--n) * 30svh + 100svh); }
  .journey.is-live .journey__stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    align-items: start;
    gap: 14px;
    padding-top: calc(var(--story-menu, 84px) + 10px);
    padding-bottom: 92px;
  }
  .journey.is-live .journey__h2 { font-size: clamp(1.7rem, 7vw, 2.3rem); }
  .journey.is-live .journey__count { margin-top: 10px; }
  .journey.is-live .journey__count b { font-size: clamp(3.2rem, 15vw, 4.6rem); }
  .journey.is-live .journey__rail { margin-top: 12px; }
  .journey--img.is-live .journey__media { max-height: 30svh; }
  .journey.is-live .journey__view { align-content: start; gap: 16px; }
  .journey.is-live .journey__steps { min-height: 8.5rem; }
  .journey.is-live .journey__t { font-size: clamp(1.45rem, 6vw, 1.9rem); }
  .journey.is-live .journey__d { font-size: 1rem; }
  /* po przypiętej podróży (ekran z wolnym dołem) pytania zaczynają się bliżej (przegląd 2026-10-23) */
  .journey.is-live + .faq { padding-top: 40px; }
}

/* =====================================================================
   2026-10-15 — Najczęstsze pytania jako karty (inaczej niż „Przebieg wizyty”)
   ===================================================================== */
.faq--cards .faq__head { position: sticky; top: 120px; }
.faq--cards .faq__mark {
  margin-top: clamp(16px, 3vw, 40px);
  font: 500 clamp(9rem, 19vw, 17rem)/0.7 var(--display);
  color: var(--rose-dark);
  opacity: 0.2;
  transform-origin: 20% 70%;
  user-select: none;
}
.faq--cards .faq__list { display: grid; gap: 14px; }
.album .faq--cards .faq__item {
  border: 1px solid rgba(11, 48, 54, 0.14);
  border-radius: 18px;
  background: rgba(255, 252, 246, 0.62);
  box-shadow: 0 18px 40px -30px rgba(11, 48, 54, 0.45);
  padding: 0 clamp(18px, 2.4vw, 30px);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.album .faq--cards .faq__item.is-open {
  background: rgba(255, 252, 246, 0.95);
  box-shadow: 0 26px 52px -30px rgba(11, 48, 54, 0.55);
}
.album .faq--cards .faq__q button { padding: 22px 0; gap: 16px; }
.album .faq--cards .faq__num {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  min-width: 0;
  border-radius: 50%;
  background: var(--rose-dark);
  color: #fff;
  font: 600 0.8rem/1 var(--body);
  letter-spacing: 0.04em;
}
.album .faq--cards .faq__num::before { content: ""; }
.album .faq--cards .faq__label { font-size: clamp(1.15rem, 1.8vw, 1.5rem); }
.album .faq--cards .faq__a > div { padding-left: calc(2.6rem + 16px); }
@media (max-width: 900px) {
  .faq--cards .faq__head { position: static; }
  .faq--cards .faq__mark { display: none; }
}
[data-calm] .faq--cards .faq__num { color: #fff; }

/* Telefon: mapka części strony u góry pokazuje już nazwę sekcji, więc przypięta podróż nie powtarza etykiety */
@media (max-width: 900px) {
  .journey.is-live .journey__head .eyebrow { display: none; }
}

/* =====================================================================
   2026-10-15 — „Kiedy warto przyjść?” (reads), „Co decyduje…” (stack), „Możliwe rozwiązania” (paths), „Na czym polega” (sticky)
   ===================================================================== */
[data-calm].album :is(.reads, .stack, .journey, .paths) {
  background: none;
  color: var(--ink);
  border-top: 0;
}

/* --- reads: duże zdania, rozjaśnia się czytane --- */
.reads { padding: clamp(72px, 12vw, 150px) 0; }
.reads__grid {
  display: grid;
  gap: clamp(32px, 5vw, 80px);
}
.reads__head h2 {
  margin-top: 16px;
  font-size: clamp(2.2rem, 3.8vw, 3.8rem);
  text-wrap: balance;
}
.reads__lead {
  margin-top: 18px;
  max-width: 24rem;
  font: 400 1.1rem/1.55 var(--body);
  color: rgba(11, 48, 54, 0.8);
}
.reads__count { display: none; }
.reads__bar { display: none; }
.reads__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: rd;
}
.reads__item {
  counter-increment: rd;
  position: relative;
  padding: clamp(20px, 3.5vh, 36px) 0 clamp(20px, 3.5vh, 36px) 3.4rem;
  border-top: 1px solid rgba(11, 48, 54, 0.16);
  font: 500 clamp(1.3rem, 2.2vw, 1.9rem)/1.32 var(--body);
  color: var(--ink);
}
.reads__item::before {
  content: counter(rd, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: clamp(24px, 3.9vh, 40px);
  font: 600 0.75rem/1 var(--body);
  letter-spacing: 0.22em;
  color: var(--rose-label);
}
.reads.is-live .reads__item {
  opacity: 0.26;
  transform: translateX(14px);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
  min-height: 15svh;
  display: flex;
  align-items: center;
}
.reads.is-live .reads__item.is-current { opacity: 1; transform: none; }
.reads.is-live .reads__item.is-read { opacity: 0.55; transform: none; }
.reads.is-live .reads__head {
  position: sticky;
  top: calc(var(--story-menu, 84px) + 30px);
  align-self: start;
}
.reads.is-live .reads__count {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: clamp(18px, 3vh, 36px);
  font-family: var(--display);
  color: var(--rose-deep);
}
.reads.is-live .reads__count b { font-weight: 500; font-size: clamp(3.4rem, 7vw, 6rem); line-height: 0.85; }
.reads.is-live .reads__count span { font: 600 0.78rem/1 var(--body); letter-spacing: 0.22em; color: rgba(11, 48, 54, 0.78); } /* ≥4,5:1 na kremie (było 3,7:1; przegląd 2026-10-23) */
.reads.is-live .reads__bar {
  display: block;
  width: min(100%, 14rem);
  height: 3px;
  margin-top: 14px;
  border-radius: 2px;
  background: rgba(11, 48, 54, 0.16);
  overflow: hidden;
}
.reads.is-live .reads__bar i {
  display: block;
  height: 100%;
  background: var(--rose-deep);
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  transition: transform 0.35s var(--ease);
}
@media (min-width: 901px) {
  .reads__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
@media (max-width: 900px) {
  .reads.is-live .reads__head { position: static; }
  .reads.is-live .reads__count { display: none; }
  .reads.is-live .reads__bar { display: none; }
  .reads.is-live .reads__item { min-height: 0; }
}

/* --- stack: karty układają się w stos --- */
.stack { padding: clamp(72px, 12vw, 150px) 0 clamp(60px, 9vw, 120px); }
.stack__grid { display: grid; gap: clamp(32px, 5vw, 80px); }
.stack__head h2 { margin-top: 16px; font-size: clamp(2.2rem, 3.8vw, 3.8rem); text-wrap: balance; }
.stack__lead { margin-top: 18px; max-width: 26rem; font: 400 1.05rem/1.55 var(--body); color: rgba(11, 48, 54, 0.8); }
.stack__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.stack__card {
  position: sticky;
  top: calc(var(--story-menu, 84px) + 18px + var(--i, 0) * 16px);
  padding: clamp(22px, 3vw, 36px) clamp(22px, 3vw, 40px) clamp(26px, 3.4vw, 42px);
  border-radius: 20px;
  border: 1px solid rgba(11, 48, 54, 0.14);
  background: #f6efe1;
  box-shadow: 0 24px 46px -30px rgba(11, 48, 54, 0.5);
  transform-origin: 50% 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.stack__card:nth-child(3n + 2) { background: #f0dfd1; }
.stack__card:nth-child(3n) { background: #e3e8e0; }
.stack__n { display: block; font: 600 0.75rem/1 var(--body); letter-spacing: 0.22em; color: var(--rose-label); }
.stack__t { margin-top: 12px; font: 500 clamp(1.6rem, 2.5vw, 2.3rem)/1.12 var(--display); color: var(--ink); }
.stack__card p:not(.stack__n) { margin-top: 10px; max-width: 34rem; font: 400 1.05rem/1.6 var(--body); color: rgba(11, 48, 54, 0.85); }
.stack.is-live .stack__card.is-buried { transform: scale(0.95); opacity: 0.62; }
@media (min-width: 901px) {
  .stack__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .stack.is-live .stack__head { position: sticky; top: calc(var(--story-menu, 84px) + 30px); align-self: start; }
}
@media (max-width: 900px) { .stack__card { top: calc(var(--story-menu, 84px) + 10px + var(--i, 0) * 10px); } }

/* --- paths: dwa panele, które wjeżdżają z lewej i prawej --- */
.paths__grid { position: relative; }
.paths.is-live .paths__grid::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6%;
  bottom: 6%;
  width: 1px;
  background: rgba(11, 48, 54, 0.28);
  transform: scaleY(var(--draw, 0));
  transform-origin: 50% 0;
}
@media (max-width: 900px) { .paths.is-live .paths__grid::before { display: none; } }

/* --- „Na czym polega”: obraz przylepiony obok czytanego tekstu (komputer) --- */
@media (min-width: 901px) {
  .album .story__grid { align-items: start; }
  .album .story__art { position: sticky; top: calc(var(--story-menu, 84px) + 24px); }
}
.reads, .stack, .paths, .journey { overflow-x: clip; }
@media (max-width: 900px) { .reads.is-live .reads__item { transform: none; } }

/* Komputer: na niskich ekranach zwęża się szerokość całego bloku okładki (patrz .ph__inner poniżej), a nie wysokość
   pasa. Pas zawsze ma proporcje 3:1 jak film i obraz okładki, więc nic nie jest przycinane (Izabela 2026-10-18). */

/* Mniej pustego przewijania między pytaniami a wezwaniem do kontaktu (Izabela 2026-10-16) */
.album .faq {
  padding-block: clamp(64px, 7vw, 110px);
}
.album .cta {
  padding-block: clamp(64px, 7.5vw, 120px);
}

/* ===== Audyt 2026-10-16 (decyzje Izabeli) ===== */
/* P2: telefon – pod menu zostaje tylko pasek postępu, bez drobnego napisu rozdziału */
@media (max-width: 1100px) {
  .story-map { border-bottom: 0; }
  .story-map__current { display: none; }
  .story-map::after { height: 3px; }
}
/* P3 (Codex 02): zdania „Kiedy warto przyjść?” zawsze czytelne; bieżące wyróżnia linia i licznik */
.reads.is-live .reads__item, .reads.is-live .reads__item.is-read { opacity: 1; transform: none; }
.reads.is-live .reads__item.is-current { border-top-color: var(--rose-deep); }
/* P4: drobne etykiety minimum 13 px; powtarzające się „Nr 0x” i „Dalej: …” usunięte */
.album .plate__no, .album .fly__hint { display: none; }
.album .eyebrow, .album .pl-label, .album .crumbs-album, .album .crumbs-album a, .album .crumbs-album li,
.album .fly__go, .album .link-arrow, .album .hall__count, .album .hall__count b,
.album .tour__toggle, .tour__toggle, .footer__copy { font-size: 0.8125rem; }

/* Codex 01: niski ekran telefonu – cały opis kroku mieści się nad paskiem „Zadzwoń” */
@media (max-width: 900px) and (max-height: 650px) {
  .journey.is-live .journey__stage { padding-top: 124px; padding-bottom: 82px; gap: 10px; }
  .journey.is-live .journey__head { display: grid; grid-template-columns: minmax(0, 1fr) 72px; column-gap: 10px; align-items: start; }
  .journey.is-live .journey__head > .eyebrow { grid-column: 1; margin: 0; }
  .journey.is-live .journey__h2 { grid-column: 1; margin-top: 6px; font-size: 24px; line-height: 1.05; }
  .journey.is-live .journey__count { grid-column: 2; grid-row: 1 / 3; gap: 5px; margin-top: 16px; }
  .journey.is-live .journey__count b { font-size: 35px; }
  .journey.is-live .journey__rail { grid-column: 1 / -1; margin-top: 9px; }
  .journey--img.is-live .journey__media { max-height: 20svh; }
  .journey.is-live .journey__view { gap: 10px; }
  .journey.is-live .journey__t { font-size: 23px; }
  .journey.is-live .journey__d { margin-top: 6px; line-height: 1.45; }
}

/* 2026-10-16 (Izabela): „Kiedy warto przyjść?” – zdania w rozmiarze tekstu, nie nagłówka */
.reads__item { font: 500 clamp(1.05rem, 1.3vw, 1.25rem)/1.45 var(--body); padding: 18px 0 18px 3.4rem; }
.reads__item::before { top: 22px; }
.reads.is-live .reads__item { min-height: 0; }

/* Laser Lasotronix (Higienizacja): opowieść – zastosowania po lewej, przypięty obraz po prawej zmienia się przy przewijaniu */
[data-calm].album .lstory { background: none; }
.lstory { padding: clamp(72px, 10vw, 140px) 0; overflow-x: clip; }
.lstory__grid { display: grid; gap: clamp(28px, 4vw, 56px); }
.lstory__head h2 { margin-top: 16px; font-size: clamp(2.2rem, 3.8vw, 3.8rem); text-wrap: balance; }
.lstory__lead { margin-top: 18px; max-width: 34rem; font: 400 1.05rem/1.6 var(--body); color: rgba(11, 48, 54, 0.85); }
.lstory__list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(36px, 5vw, 56px); }
.lstory__item { padding-top: 18px; border-top: 2px solid rgba(216, 156, 126, 0.55); transition: border-color 0.4s var(--ease); }
.lstory__item.is-on { border-top-color: var(--rose-deep); }
.lstory__t { font: 500 clamp(1.4rem, 2vw, 1.9rem)/1.15 var(--display); color: var(--ink); }
.lstory__item p { margin-top: 10px; max-width: 34rem; font: 400 1.02rem/1.6 var(--body); color: rgba(11, 48, 54, 0.88); }
.lstory__inline { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; margin-bottom: 18px; }
.lstory__art { display: none; margin: 0; }
@media (min-width: 901px) {
  .lstory__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(40px, 5vw, 88px); }
  .lstory__head { grid-column: 1 / -1; max-width: 60rem; }
  .lstory--img .lstory__head { grid-column: 1; }
  .lstory:not(.lstory--img) .lstory__list { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .lstory--img .lstory__list { grid-column: 1; }
  .lstory--img .lstory__item { min-height: 62svh; display: flex; flex-direction: column; justify-content: center; }
  .lstory--img .lstory__inline { display: none; }
  .lstory--img .lstory__art {
    display: block; grid-column: 2; grid-row: 1 / span 2; align-self: start;
    position: sticky; top: calc(50svh - 18vw); aspect-ratio: 3 / 2; border-radius: 4px; overflow: hidden;
  }
  .lstory__pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04);
    transition: opacity 0.6s var(--ease), transform 1.2s var(--ease); }
  .lstory__pic.is-on { opacity: 1; transform: none; }
  html.no-motion .lstory__pic { transition: none; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .lstory__pic { transition: none; transform: none; } }

/* Komputer (Izabela 2026-10-18): okładka, pas i wielkie słowo zawsze na całą szerokość strony, niezależnie od proporcji
   monitora; pas ma zawsze 3:1, a tekst pod nim rośnie razem z szerokością. Telefon i niskie okna bez zmian. */
@media (min-width: 901px) and (min-height: 601px) {
  .fly--cover .ph--cover .ph__inner,
  .ph--band .ph__inner {
    width: 100%;
  }
  /* Tekst pod pasem skromniejszy (Izabela 2026-10-19: na jej monitorze zbyt duży, za mało przestrzeni) */
  .ph--band .ph__sub {
    font-size: clamp(1.5rem, 1.9vw, 3rem);
  }
  .ph--band .ph__lead {
    font-size: clamp(1rem, 0.85vw, 1.3rem);
  }
  /* Przycisk w okładce mniejszy (Izabela 2026-10-19): hero jest już rozbudowane, nie skaluje się z szerokością */
  .ph--band .ph__actions .btn {
    padding: 11px 20px;
    font-size: 0.8rem;
    gap: 10px;
  }
  /* Na komputerze bez drugiego linku w okładce („Zobacz zabiegi” itp.) — Izabela 2026-10-19: za ciasno i za mało miejsca */
  .ph--band .ph__actions .link-arrow {
    display: none;
  }
}
/* Komputer: przycisk pod podpisem (lewa kolumna), akapit po prawej na dwa wiersze: niższy blok tekstu pod pasem,
   więc pod pasem widać początek wielkiego słowa bez przewijania (Izabela 2026-10-18). */
@media (min-width: 901px) and (min-height: 601px) {
  .fly--cover .ph--cover .ph__inner {
    grid-template-areas:
      "head head"
      "plate plate"
      "rule rule"
      "sub row"
      "act row";
  }
  .fly--cover .ph--cover .ph__row {
    display: contents;
  }
  .fly--cover .ph--cover .ph__lead {
    grid-area: row;
    align-self: start;
    margin: 0;
    padding-top: 18px;
  }
  .fly--cover .ph--cover .ph__actions {
    grid-area: act;
    align-self: start;
    padding-top: 6px;
  }
  /* Przycisk między nazwą zabiegu a akapitem, w jednym wierszu (Izabela 2026-10-26: pod nazwą było za ciasno) */
  .fly--cover .ph--cover .ph__inner {
    grid-template-columns: minmax(0, 0.8fr) max-content minmax(0, 1.2fr);
    grid-template-areas:
      "head head head"
      "plate plate plate"
      "rule rule rule"
      "sub act row";
  }
  .fly--cover .ph--cover .ph__sub em {
    max-width: 100%;
  }
  .fly--cover .ph--cover .ph__actions {
    padding-top: 18px;
  }
}
/* Punkt kadru okładki: pas węższy niż 3:1 przycina obraz u góry i dołu; --cover-y wybiera fragment (build.py COVER_POS_Y) */
@media (min-width: 901px) and (min-height: 601px) {
  .ph--band .ph__win img,
  .ph--band .ph__win .ph__vid {
    object-position: 50% var(--cover-y, 50%);
  }
}

/* „Pierwsza wizyta” (Izabela 2026-10-19): na komputerze słowa kroków (PLAN, ROZMOWA…) trochę mniejsze, obrazy kroków
   większe; układ dla ≥901 px (telefon i tablet bez zmian, do osobnej oceny). */
@media (min-width: 901px) {
  .steps__word {
    font-size: clamp(3.6rem, 9vw, 10rem);
  }
  .steps.is-pinned .steps__art {
    right: 8%;
    top: 12%;
    width: clamp(240px, min(32vw, calc(100svh - 200px)), 680px);
  }
  .steps.is-pinned .steps__shape {
    right: 3%;
    top: 17%;
    width: clamp(160px, min(29vw, calc(100svh - 230px)), 600px);
  }
}

/* =====================================================================
   2026-11-25 — „Jak pracujemy” na stronie głównej: spokojna sekcja do czytania
   (Izabela: „nie podoba mi się ta sekcja”). Bez przypięcia i obrazów; na komputerze
   nagłówek | trzy punkty, na telefonie jedno pod drugim.
   ===================================================================== */
.ways {
  padding: clamp(90px, 11vw, 160px) 0;
  color: var(--ink);
}
.ways__inner {
  display: grid;
  gap: clamp(32px, 5vw, 64px) clamp(48px, 6vw, 110px);
}
.ways__title {
  margin-top: 18px;
  max-width: 16ch;
  font-size: clamp(2.3rem, 4.6vw, 4.2rem);
  line-height: 1.05;
  text-wrap: balance;
}
.ways__then {
  font: italic 500 clamp(1.5rem, 2.2vw, 2rem)/1.2 var(--display);
  color: var(--rose-deep);
}
.ways__list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.ways__list li {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  column-gap: 14px;
  align-items: baseline;
  padding: 20px 0 22px;
  border-top: 1px solid rgba(11, 48, 54, 0.22);
}
.ways__n {
  font: 500 clamp(1.8rem, 2.6vw, 2.4rem)/0.9 var(--display);
  color: var(--rose-deep);
}
.ways__t {
  font: 500 clamp(1.35rem, 2vw, 1.75rem)/1.25 var(--display);
  color: var(--ink);
}
.ways__small {
  max-width: 32rem;
  margin-top: clamp(24px, 3vw, 36px);
  padding-top: 20px;
  border-top: 1px solid rgba(11, 48, 54, 0.22);
  font: 400 1rem/1.55 var(--body);
  color: rgba(11, 48, 54, 0.82);
}
@media (min-width: 901px) {
  .ways__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
  }
}

/* 2026-11-25 — Telefon (Izabela): na stronie głównej bez sekcji zabiegów; pacjent wybiera zabieg
   z menu („Zabiegi” rozwija listę stron). Znikają też odnośniki prowadzące do ukrytej galerii
   (przycisk „Zobacz zabiegi” na okładce, „Wszystkie zabiegi” w menu i na podstronach).
   2026-11-26 (Izabela): iPad w pionie (744–900 px) pokazuje galerię; ukryta tylko na telefonie
   (do 743 px albo telefon poziomo, do 600 px wysokości). Ten sam warunek w build.py (HALL_PHONE_SKIP). */
@media (max-width: 743px), (max-width: 900px) and (max-height: 600px) {
  .hall,
  a[href$="#zabiegi"],
  .menu__sub li:has(> a[href$="#zabiegi"]) {
    display: none;
  }
}
/* <picture> wokół obrazów przelotu i galerii (lżejsze wersje na telefon) nie zmienia układu */
.fly__img picture,
.plate__img picture {
  display: contents;
}
