/* ==========================================================================
   Szkoła Tańca Jaroszyńscy – świat „Marmurkowanie” (ebru)
   Papier + tusz + cztery pigmenty. Ścieżki: karmin = pierwszy taniec,
   kobalt = kursy w parach, pomarańcz = solo i latino, szafran = imprezy i wyjazdy.
   ========================================================================== */

@layer reset, fonty, tokeny, baza, uklad, komponenty, strony, ruch;
@import url("reset.80c247f29027.css") layer(reset);
@property --wznios { syntax: "<length>"; inherits: true; initial-value: 0px; }
@property --przesun { syntax: "<length>"; inherits: true; initial-value: 0px; }
@property --wplyw { syntax: "<length>"; inherits: true; initial-value: 0px; }
@property --czesanie { syntax: "<length>"; inherits: true; initial-value: 0px; } /* grafik: zmiana miasta przeczesuje fale pasm */

/* --- Fonty (self-hosted, tylko latin + latin-ext = polskie znaki) -------- */
@layer fonty {
  /* Podzbiory: łacina + polskie znaki + typografia (cudzysłowy, półpauzy). Pliki z Google Fonts, hostowane u nas. */
  @font-face {
    font-family: "Unbounded";
    src: url("../fonts/unbounded-pl.347f1de1b8f8.woff2") format("woff2");
    font-weight: 200 900;
    font-display: swap;
  }
  @font-face {
    font-family: "Onest";
    src: url("../fonts/onest-pl.51a770e43d00.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
  }
}

/* --- Tokeny ---------------------------------------------------------------- */
@layer tokeny {
  :root {
    --papier: #f6f2ea;
    --papier-cien: #ece5d8;
    --tusz: #14182b;
    --tusz-2: #3b4058;

    --karmin: #c2185b;
    --karmin-ciemny: #99124a;
    --kobalt: #1f3f8c;
    --kobalt-ciemny: #173170;
    --pomarancz: #e8702a;
    --pomarancz-ciemny: #b2501a;
    --szafran: #f0b429;
    --szafran-ciemny: #8a6200;

    --font-plakat: "Unbounded", "Onest", system-ui, sans-serif; /* szeroki krój plakatowy – tylko największe napisy */
    --font-display: "Onest", system-ui, sans-serif;            /* akcenty: przyciski, śródtytuły */
    --font-tekst: "Onest", system-ui, sans-serif;

    --fs-mala: 0.9375rem;
    --fs-tekst: 1.125rem;
    --fs-1: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
    --fs-2: clamp(1.6rem, 1.25rem + 1.4vw, 2.25rem);
    --fs-3: clamp(2.1rem, 1.4rem + 2.8vw, 3.5rem);
    --fs-hero: clamp(3rem, 1.1rem + 6.2vw, 6rem);

    --margines: clamp(1.25rem, 0.6rem + 3vw, 3.5rem);
    --szer-max: 84rem;
    --h-naglowka: 4.75rem;

    --promien-arkusza: 16px;
    --cien-arkusza: 0 1.5rem 3.5rem -1.25rem rgb(20 24 43 / 0.45);

    --ease-wyjscie: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-przesuniecie: cubic-bezier(0.25, 1, 0.5, 1);

    /* Linie grzebienia ebru – podział sekcji. */
    --grzebien: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='14' viewBox='0 0 120 14'%3E%3Cg fill='none' stroke='%2314182b' stroke-opacity='.28' stroke-width='1'%3E%3Cpath d='M0 3c20 0 20 3 40 3s20-3 40-3 20 3 40 3'/%3E%3Cpath d='M0 7c20 0 20 3 40 3s20-3 40-3 20 3 40 3'/%3E%3Cpath d='M0 11c20 0 20 3 40 3s20-3 40-3 20 3 40 3'/%3E%3C/g%3E%3C/svg%3E");
  }
}

/* --- Baza ------------------------------------------------------------------ */
@layer baza {
  body { overflow-x: clip; }
  html {
    background: var(--papier);
    color: var(--tusz);
    font-family: var(--font-tekst);
    font-size: 100%;
    scroll-padding-top: calc(var(--h-naglowka) + 1rem);
  }
  body {
    font-size: var(--fs-tekst);
    line-height: 1.6;
    font-feature-settings: "kern";
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 650;
    line-height: 1.1;
    margin: 0;
    text-wrap: balance;
  }
  p { margin: 0; text-wrap: pretty; }
  a { color: inherit; }
  :focus-visible {
    outline: 3px solid var(--tusz);
    outline-offset: 3px;
    border-radius: 4px;
  }
  .sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
  }
  .pomin {
    position: absolute; left: 1rem; top: -4rem; z-index: 100;
    padding: 0.75rem 1.25rem; border-radius: 999px;
    background: var(--tusz); color: var(--papier); font-weight: 600; text-decoration: none;
  }
  .pomin:focus { top: 1rem; }
  .ikona { width: 1.15em; height: 1.15em; flex: none; }
}

/* --- Układ ----------------------------------------------------------------- */
@layer uklad {
  .sekcja {
    padding: clamp(4rem, 2.5rem + 4vw, 6rem) var(--margines);
    max-width: var(--szer-max);
    margin-inline: auto;
  }
  .tytul-sekcji {
    font-family: var(--font-plakat);
    font-size: clamp(1.85rem, 1.25rem + 2.2vw, 3rem);
    font-weight: 420;
    letter-spacing: -0.01em;
    line-height: 1.12;
    max-width: 20ch;
  }
  .proza { max-width: 36em; }
  .proza > * + * { margin-top: 1em; }
}

/* --- Komponenty ------------------------------------------------------------ */
@layer komponenty {

  /* Nagłówek */
  .naglowek {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: var(--h-naglowka);
    padding: 0.75rem var(--margines);
    max-width: var(--szer-max);
    margin-inline: auto;
  }
  .znak {
    display: grid;
    text-decoration: none;
    line-height: 1;
    margin-right: auto;
  }
  .znak__male {
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    color: var(--tusz-2);
  }
  .znak__nazwisko {
    font-family: var(--font-plakat);
    font-weight: 600;
    font-size: clamp(1.05rem, 0.85rem + 0.8vw, 1.3rem);
    letter-spacing: -0.01em;
    color: var(--kobalt);
  }
  .naglowek__menu {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 2.25rem);
  }
  .menu__lista, .naglowek__kontakt, .menu__dzieci {
    list-style: none; margin: 0; padding: 0;
  }
  .menu__lista { display: flex; gap: clamp(0.75rem, 1.6vw, 1.75rem); }
  .menu__pozycja { position: relative; }
  .menu__link {
    display: inline-block;
    padding: 0.5rem 0;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
    transition: background-size 0.3s var(--ease-wyjscie);
  }
  .menu__link[aria-current="page"] { background-size: 100% 2px; }
  @media (hover: hover) and (pointer: fine) {
    .menu__link:hover { background-size: 100% 2px; }
  }
  .menu__dzieci {
    position: absolute;
    left: -1rem; top: 100%;
    min-width: 17rem;
    padding: 0.75rem 1rem;
    background: var(--papier);
    border-radius: 12px;
    box-shadow: 0 0.75rem 2rem -0.5rem rgb(20 24 43 / 0.28);
    opacity: 0; visibility: hidden;
    translate: 0 -0.25rem;
    transition: opacity 0.2s, translate 0.2s var(--ease-wyjscie), visibility 0s 0.2s;
  }
  .menu__pozycja--rozwijana:hover .menu__dzieci,
  .menu__pozycja--rozwijana:focus-within .menu__dzieci {
    opacity: 1; visibility: visible; translate: 0 0;
    transition: opacity 0.2s, translate 0.2s var(--ease-wyjscie), visibility 0s;
  }
  .menu__link--dziecko { display: block; padding: 0.45rem 0; }

  .naglowek__kontakt { display: flex; align-items: center; gap: 1.25rem; }
  .link-zapisu { font-weight: 600; text-underline-offset: 0.25em; text-decoration-thickness: 2px; }
  .pigulka-telefon {
    display: inline-flex; align-items: center; gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0.5rem 1.1rem;
    border: 1.5px solid var(--tusz);
    border-radius: 999px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s;
  }
  @media (hover: hover) and (pointer: fine) {
    .pigulka-telefon:hover { background: var(--tusz); color: var(--papier); }
  }

  .menu-przycisk {
    display: none;
    align-items: center; gap: 0.4rem;
    min-height: 2.75rem;
    padding: 0.5rem 1rem;
    border: 1.5px solid var(--tusz);
    border-radius: 999px;
    background: transparent;
    color: var(--tusz);
    font-weight: 600;
    cursor: pointer;
  }
  .menu-przycisk__zamknij { display: none; }
  .menu-przycisk[aria-expanded="true"] .menu-przycisk__otworz { display: none; }
  .menu-przycisk[aria-expanded="true"] .menu-przycisk__zamknij { display: inline; }
  .menu-przycisk .ikona { display: block; }

  /* --- Telefon i tablet: przycisk „Menu” otwiera pełnoekranowy arkusz ------- */
  @media (max-width: 63.99rem) {
    /* telefon i „Menu” – ta sama wysokość i ten sam tusz, jedna para przycisków */
    .menu-przycisk {
      display: inline-flex;
      height: 2.75rem; min-height: 0;
      padding: 0 1.05rem 0 0.9rem;
      gap: 0.5rem;
      font-size: 1rem;
    }
    .menu-przycisk .ikona { width: 1.25rem; height: 1.25rem; }
    .naglowek { flex-wrap: wrap; column-gap: 0.6rem; row-gap: 0; }

    .js .naglowek__menu { display: none; }
    .naglowek__menu {
      flex-basis: 100%;
      flex-direction: column;
      align-items: stretch;
      gap: 2rem;
      padding: 1rem 0 1.5rem;
    }
    .menu__lista { flex-direction: column; gap: 0; }
    /* pozycje oddzielone śladem grzebienia – ten sam podział co w całej stronie */
    .menu__pozycja { padding-block: 0.35rem; border-bottom: 1px solid rgb(20 24 43 / 0.12); }
    .menu__pozycja:last-child { border-bottom: 0; }
    .menu__link {
      font-family: var(--font-plakat);
      font-size: 1.5rem;
      font-weight: 440;
      letter-spacing: -0.01em;
      padding: 0.5rem 0;
    }
    .menu__dzieci {
      position: static; opacity: 1; visibility: visible; translate: none;
      box-shadow: none; background: none; padding: 0; min-width: 0;
    }
    .menu__link--dziecko {
      font-family: var(--font-tekst); font-size: 1.0625rem; font-weight: 500;
      color: var(--tusz-2);
      padding: 0.45rem 0;
    }
    .menu__dzieci { padding-bottom: 0.5rem; }
    .naglowek__kontakt { display: block; margin-top: auto; }
    .naglowek__kontakt .pigulka-telefon {
      justify-content: center;
      width: 100%;
      max-width: 30rem; /* na tablecie nie rozciąga się przez cały ekran */
      min-height: 3.5rem;
      border: 0;
      background: var(--tusz);
      color: var(--papier);
      font-family: var(--font-display);
      font-size: 1.25rem;
      font-weight: 620;
    }

    /* Otwarte menu: nagłówek staje się arkuszem papieru na cały ekran */
    .js .naglowek.otwarte {
      position: fixed; inset: 0; z-index: 60;
      max-width: none;
      padding-top: 1rem; /* rząd z logo zostaje dokładnie tam, gdzie był przed otwarciem */
      align-content: flex-start;
      overflow-y: auto;
      overscroll-behavior: contain;
      background: var(--papier);
    }
    .js .naglowek.otwarte .naglowek__menu {
      display: flex;
      min-height: calc(100dvh - 4.5rem);
    }
    html:has(.naglowek.otwarte) { overflow: hidden; }

    @media (prefers-reduced-motion: no-preference) {
      .js .naglowek.otwarte .menu__pozycja,
      .js .naglowek.otwarte .naglowek__kontakt {
        animation: menu-wplywa 0.5s var(--ease-wyjscie) both;
        animation-delay: calc(var(--i, 5) * 35ms);
      }
    }
  }
  @keyframes menu-wplywa {
    from { opacity: 0; translate: 0 0.75rem; }
  }

  /* Krople (koła z pigmentem) */
  .kropla {
    --tekstura: none;
    position: relative;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--tekstura) center / cover;
  }
  .kropla--karmin { --tekstura: url("../img/tex-karmin.f78a318bbd55.webp"); }
  .kropla--kobalt { --tekstura: url("../img/tex-kobalt.d8b1cf2b77f2.webp"); }
  .kropla--pomarancz { --tekstura: url("../img/tex-pomarancz.45c7201d8555.webp"); }
  .kropla--szafran { --tekstura: url("../img/tex-szafran.a775b913fe60.webp"); }

  /* Linki z podkreśleniem w pigmencie */
  .link-pigment {
    --kolor: var(--tusz);
    display: inline-flex; align-items: center;
    min-height: 2.75rem;
    font-weight: 600;
    font-size: var(--fs-1);
    font-family: var(--font-display);
    letter-spacing: -0.01em;
    text-decoration: underline;
    text-decoration-color: var(--kolor);
    text-decoration-thickness: 3px;
    text-underline-offset: 0.3em;
    transition: text-underline-offset 0.25s var(--ease-wyjscie);
  }
  .link-pigment--karmin { --kolor: var(--karmin); }
  .link-pigment--kobalt { --kolor: var(--kobalt); }
  .link-pigment--tusz { --kolor: var(--tusz); }
  @media (hover: hover) and (pointer: fine) {
    .link-pigment:hover { text-underline-offset: 0.45em; }
  }

  /* Duży przycisk telefonu */
  .przycisk-telefon {
    display: inline-flex; align-items: center; gap: 0.6rem;
    min-height: 3.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    background: var(--tusz);
    color: var(--papier);
    font-family: var(--font-display);
    font-weight: 620;
    font-size: var(--fs-1);
    font-variant-numeric: tabular-nums;
    text-decoration: none;
    transition: background-color 0.2s;
  }
  @media (hover: hover) and (pointer: fine) {
    .przycisk-telefon:hover { background: var(--kobalt); }
  }

  /* Stopka */
  .stopka {
    background: var(--tusz);
    color: var(--papier);
    padding: clamp(3.5rem, 2.5rem + 4vw, 6rem) var(--margines) 2rem;
  }
  .stopka a { color: var(--papier); text-underline-offset: 0.25em; }
  .stopka :focus-visible { outline-color: var(--papier); }
  .stopka__siatka {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 2.5rem 3rem;
    max-width: var(--szer-max);
    margin-inline: auto;
  }
  .stopka__znak {
    font-family: var(--font-plakat);
    font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.05;
    margin-bottom: 1.25rem;
  }
  .stopka__tytul {
    font-size: 1rem;
    font-family: var(--font-tekst);
    font-weight: 600;
    color: var(--szafran);
    margin-bottom: 1rem;
  }
  .stopka__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
  .stopka__lista a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2rem; }
  .stopka address { font-style: normal; margin-bottom: 1.25rem; color: rgb(246 242 234 / 0.85); }
  .stopka address strong { color: var(--papier); }
  .stopka__telefon { font-family: var(--font-display); font-size: var(--fs-1); font-weight: 600; }
  .stopka__tekst, .stopka__prawa {
    max-width: var(--szer-max); margin: 2.5rem auto 0; color: rgb(246 242 234 / 0.75);
  }
}

/* --- Strona główna --------------------------------------------------------- */
@layer strony {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas: "tekst figura" "sezon sezon";
    grid-template-rows: 1fr auto;
    column-gap: clamp(1rem, 2vw, 2rem);
    min-height: min(calc(100svh - var(--h-naglowka)), 60rem);
    max-width: var(--szer-max);
    margin-inline: auto;
    padding-inline: var(--margines);
  }
  .hero__tekst {
    grid-area: tekst;
    align-self: center;
    position: relative;
    z-index: 1;
    padding-block: 2rem;
  }
  .hero__haslo {
    font-family: var(--font-plakat);
    font-size: clamp(2.15rem, 1.1rem + 2.6vw, 3.1rem);
    font-weight: 320;
    letter-spacing: 0;
    line-height: 1.08;
    color: var(--kobalt-ciemny);
  }
  @media (min-width: 60rem) { .hero__haslo { white-space: nowrap; } }
  .hero__wstep {
    margin-top: 1.5rem;
    max-width: 34ch;
    font-size: var(--fs-1);
    line-height: 1.45;
    color: var(--tusz-2);
  }
  .hero__figura {
    grid-area: figura;
    position: relative;
    align-self: stretch;
    min-height: 26rem;
    /* do prawej krawędzi okna, poza maksymalną szerokość treści */
    margin-right: calc(-1 * (var(--margines) + max(0px, (100vw - var(--szer-max)) / 2)));
  }
  .hero__figura > img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 30% 100%;
    pointer-events: none;
  }
  .hero__sezon {
    grid-area: sezon;
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 0.5rem 2rem;
    padding: 1.4rem 0 1.25rem;
    background: var(--grzebien) 0 0 / 120px 14px repeat-x;
    font-size: var(--fs-mala);
  }
  .hero__sezon-nazwa strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 640; margin-right: 0.4rem; }
  .hero__sezon-miejsca { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
  .hero__sezon-miejsca a { font-weight: 600; text-underline-offset: 0.2em; }
  .hero__sezon-link { margin-left: auto; font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }

  @media (max-width: 59.99rem) {
    .hero {
      grid-template-columns: minmax(0, 1fr);
      grid-template-areas: "haslo" "wstep" "figura" "pasma" "sezon";
      grid-template-rows: auto;
      min-height: 0;
      padding-top: 0.5rem;
    }
    .hero__tekst { display: contents; }
    .hero__haslo { grid-area: haslo; max-width: 12ch; }
    .hero__wstep { grid-area: wstep; margin-top: 1rem; font-size: 1.0625rem; }
    .hero__figura {
      height: 38svh;
      min-height: 15rem;
      margin: 0.5rem calc(-1 * var(--margines)) 0.25rem 0;
    }
    .hero__sezon-link { margin-left: 0; }
  }

  /* O mnie */
  .o-mnie {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 6rem);
  }
  .o-mnie__portret {
    width: clamp(11rem, 8rem + 12vw, 19rem);
    padding: clamp(0.6rem, 0.4rem + 0.6vw, 1rem);
  }
  .o-mnie__portret img {
    width: 100%; height: auto; aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    background: var(--papier);
  }
  .o-mnie__tekst > * + * { margin-top: 1.5rem; }
  .o-mnie__podpis {
    font-family: var(--font-display);
    font-weight: 560;
    font-size: var(--fs-1);
    color: var(--karmin-ciemny);
  }

  /* Start sezonu */
  .start {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(2rem, 5vw, 6rem);
    background: var(--grzebien) var(--margines) 0 / 120px 14px repeat-x;
  }
  .start__tekst { grid-column: 1; grid-row: 1; }
  .start__tekst > * + * { margin-top: 1.5rem; }
  .start__kropla {
    grid-column: 2; grid-row: 1;
    width: clamp(10rem, 6rem + 16vw, 20rem);
    display: grid; place-items: center;
    color: #fff;
  }
  .start__kropla::before {
    content: ""; position: absolute; inset: 22%;
    border-radius: 50%;
    background: rgb(18 38 92 / 0.78);
  }
  .start__kropla-tekst {
    position: relative;
    display: grid; justify-items: center;
    font-family: var(--font-plakat);
    font-size: clamp(3rem, 2rem + 4vw, 6rem);
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: -0.04em;
  }
  .start__kropla-tekst small { font-size: 0.24em; font-weight: 500; letter-spacing: 0; margin-top: 0.4rem; }
  .start__wstep { max-width: 52ch; color: var(--tusz-2); }
  .start__spotkania {
    list-style: none; margin: 0; padding: 0;
    display: grid; gap: 1rem;
  }
  .start__spotkania li {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    column-gap: 1rem;
  }
  .start__miasto {
    grid-row: span 2;
    font-family: var(--font-display);
    font-weight: 640;
    font-size: var(--fs-1);
    color: var(--kobalt);
  }
  .start__sala { color: var(--tusz-2); font-size: var(--fs-mala); }

  /* Gdzie tańczymy */
  .miejsca__lista {
    list-style: none; margin: 2.5rem 0 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 2.5rem clamp(2rem, 5vw, 5rem);
  }
  /* Każde miejsce zaczyna ślad grzebienia; wewnątrz wyraźne stopnie: miasto → dni (pigment)
     → sala i adres → dojazd (mniejszy) → linki. Wcześniej wszystko było jednym szarym blokiem. */
  .miejsce {
    display: grid; align-content: start;
    padding-top: 1.75rem;
    background: var(--grzebien) 0 0 / 120px 14px repeat-x;
  }
  .miejsce > * + * { margin-top: 0.9rem; }
  .miejsce__miasto {
    display: flex; align-items: center; gap: 0.35em;
    font-family: var(--font-plakat);
    font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.1;
  }
  .miejsce__miasto::before {
    content: "";
    flex: none;
    width: 0.62em; aspect-ratio: 1;
    border-radius: 50%;
    background: var(--tekstura-pigmentu) center / cover;
  }
  .miejsce__miasto a {
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 0.18em;
    text-decoration-color: var(--pigment);
  }
  .miejsce .miejsce__dni {
    margin-top: 0.6rem;
    font-family: var(--font-display);
    font-weight: 620;
    font-size: var(--fs-1);
    color: var(--pigment-ciemny);
  }
  .miejsce__dni::first-letter { text-transform: uppercase; }
  .miejsce__adres { color: var(--tusz-2); max-width: 40ch; line-height: 1.45; }
  .miejsce__sala { display: block; margin-bottom: 0.15rem; color: var(--tusz); font-weight: 600; }
  .miejsce__dojazd {
    max-width: 44ch;
    font-size: var(--fs-mala);
    line-height: 1.5;
    color: var(--tusz-2);
  }
  .miejsce__dojazd strong { color: var(--tusz); font-weight: 600; }
  .miejsce__linki { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
  .miejsce__linki a {
    display: inline-flex; align-items: center; min-height: 2.75rem;
    font-weight: 600;
    text-decoration-color: var(--pigment);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.3em;
  }

  /* Wydarzenia */
  .wydarzenia__lista { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1.5rem; }
  .wydarzenie { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 1.25rem; align-items: center; }
  .wydarzenie__data {
    display: grid; place-content: center; justify-items: center; aspect-ratio: 1;
    border-radius: 50%;
    background:
      radial-gradient(circle, var(--papier) 0 62%, transparent 63%),
      url("../img/tex-szafran.a775b913fe60.webp") center / cover;
    font-family: var(--font-plakat); font-weight: 560; font-size: 1.45rem; line-height: 1;
    font-variant-numeric: tabular-nums;
  }
  .wydarzenie__data small { font-size: 0.5em; font-weight: 600; }
  .wydarzenie__tytul { font-size: var(--fs-2); letter-spacing: -0.02em; }
  .wydarzenie__info { color: var(--tusz-2); }

  /* Zamknięcie */
  .zamkniecie {
    padding: clamp(4rem, 3rem + 6vw, 8rem) var(--margines);
    background: url("../img/tex-karmin-szeroka.c1f8b7e64cdb.webp") center / cover;
  }
  .arkusz {
    max-width: 46rem;
    margin-inline: auto;
    padding: clamp(1.25rem, 0.75rem + 2.5vw, 2.75rem);
    border: 1.75rem solid transparent;
    border-image: url("../img/arkusz.356fda338c50.webp") 90 fill / 1.75rem stretch;
    filter: drop-shadow(0 1.25rem 1.75rem rgb(20 24 43 / 0.38));
    display: grid; gap: 1.25rem;
    justify-items: start;
  }
  .arkusz p { font-size: var(--fs-1); color: var(--tusz-2); max-width: 40ch; }
  .arkusz__akcje { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 0.5rem; }

  @media (max-width: 47.99rem) {
    .o-mnie, .start { grid-template-columns: minmax(0, 1fr); }
    .o-mnie__portret { justify-self: start; }
    .start__kropla { grid-column: 1; grid-row: auto; justify-self: start; }
    .start__tekst { grid-row: auto; }
    .start__spotkania li { grid-template-columns: minmax(0, 1fr); }
    .start__miasto { grid-row: auto; }
  }
}

/* --- Ruch: jeden zaplanowany moment – wejście pierwszego ekranu ------------ */
@layer ruch {
  @media (prefers-reduced-motion: no-preference) {
    .hero__figura img {
      animation: kropla-rozlewa-sie 1.6s var(--ease-wyjscie) 0.1s both;
    }
    .hero__haslo {
      animation: haslo-rozciaga-sie 1.3s var(--ease-wyjscie) both;
    }
  }
  @keyframes kropla-rozlewa-sie {
    from { clip-path: circle(4% at 52% 46%); scale: 0.96; }
    to { clip-path: circle(75% at 52% 46%); scale: 1; }
  }
  @keyframes haslo-rozciaga-sie {
    from { font-weight: 200; letter-spacing: 0.06em; }
    to { font-weight: 320; letter-spacing: 0; }
  }
}

/* Telefon w nagłówku na telefonie – zawsze w zasięgu kciuka */
@layer komponenty {
  .telefon-mobilny { display: none; }
  @media (max-width: 63.99rem) {
    .telefon-mobilny {
      display: inline-grid; place-items: center;
      width: 2.75rem; height: 2.75rem;
      border-radius: 50%;
      background: var(--tusz); color: var(--papier);
    }
    .telefon-mobilny .ikona { width: 1.25rem; height: 1.25rem; }
  }
}

/* ==========================================================================
   Podstrony – ten sam świat: kolor strony = pigment jej ścieżki
   ========================================================================== */
@layer tokeny {
  [data-pigment] { --pigment: var(--kobalt); --pigment-ciemny: var(--kobalt-ciemny); --pigment-na: #fff; --warstwa-pigmentu: rgb(18 38 92 / 0.62); --tekstura-pigmentu: url("../img/tex-kobalt.d8b1cf2b77f2.webp"); --tekstura-szeroka: url("../img/tex-kobalt-szeroka.b816705bbae6.webp"); }
  [data-pigment="karmin"] { --pigment: var(--karmin); --pigment-ciemny: var(--karmin-ciemny); --warstwa-pigmentu: rgb(128 10 52 / 0.62); --tekstura-pigmentu: url("../img/tex-karmin.f78a318bbd55.webp"); --tekstura-szeroka: url("../img/tex-karmin-szeroka.c1f8b7e64cdb.webp"); }
  [data-pigment="pomarancz"] { --pigment: var(--pomarancz); --pigment-ciemny: var(--pomarancz-ciemny); --warstwa-pigmentu: rgb(150 58 10 / 0.6); --tekstura-pigmentu: url("../img/tex-pomarancz.45c7201d8555.webp"); --tekstura-szeroka: url("../img/tex-pomarancz-szeroka.600f9e2d8473.webp"); }
  [data-pigment="szafran"] { --pigment: var(--szafran); --pigment-ciemny: var(--szafran-ciemny); --pigment-na: var(--tusz); --warstwa-pigmentu: rgb(244 196 70 / 0.72); --tekstura-pigmentu: url("../img/tex-szafran.a775b913fe60.webp"); --tekstura-szeroka: url("../img/tex-szafran-szeroka.037f0dd4509f.webp"); }
}

@layer strony {
  /* Zamknięcie w kolorze strony */
  .zamkniecie { background-image: var(--tekstura-szeroka, url("../img/tex-karmin-szeroka.c1f8b7e64cdb.webp")); }

  /* Kontener podstrony */
  main > article {
    max-width: var(--szer-max);
    margin-inline: auto;
    padding: 0 var(--margines) clamp(4rem, 3rem + 5vw, 7.5rem);
  }
  main > article > * + * { margin-top: clamp(3rem, 2.25rem + 3vw, 5rem); }

  /* Nagłówek podstrony: tytuł + kropla pigmentu */
  .naglowek-strony {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 5rem);
    padding: clamp(2rem, 1.5rem + 3vw, 4.5rem) 0 clamp(2.5rem, 2rem + 2vw, 3.5rem);
    background: var(--grzebien) 0 100% / 120px 14px repeat-x;
  }
  .naglowek-strony h1 {
    font-family: var(--font-plakat);
    font-size: clamp(2.1rem, 1.3rem + 3.2vw, 4.25rem);
    font-weight: 420;
    letter-spacing: -0.01em;
    line-height: 1.05;
    max-width: 16ch;
  }
  .naglowek-strony__rodzic { margin-bottom: 1rem; font-weight: 600; }
  .naglowek-strony__rodzic a { text-decoration-color: var(--pigment); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
  .naglowek-strony__wstep {
    margin-top: 1.5rem;
    max-width: 52ch;
    font-size: var(--fs-1);
    line-height: 1.5;
    color: var(--tusz-2);
  }
  .naglowek-strony__uwaga {
    display: inline-block;
    margin-top: 1.25rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: var(--papier-cien);
    font-weight: 600;
    font-size: var(--fs-mala);
  }
  .naglowek-strony__kropla {
    width: clamp(6.5rem, 3rem + 15vw, 17rem);
    background: var(--tekstura-pigmentu) center / cover;
  }

  /* Metryczka wydarzenia */
  .metryczka {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 1.25rem 2rem;
    margin: 2rem 0 0;
  }
  .metryczka dt { font-size: var(--fs-mala); color: var(--tusz-2); }
  .metryczka dd { margin: 0.2rem 0 0; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-1); }
  .metryczka dd small { display: block; font-family: var(--font-tekst); font-weight: 400; font-size: var(--fs-mala); color: var(--tusz-2); }

  /* Nagłówki i proza wewnątrz podstron */
  main > article :where(section, figure, form, details) { scroll-margin-top: 6rem; }
  main > article :where(h2) {
    font-size: var(--fs-2);
    font-weight: 600;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
    max-width: 24ch;
  }
  main > article :where(h3) {
    font-size: var(--fs-1);
    font-weight: 640;
    letter-spacing: -0.015em;
    margin: 2rem 0 0.75rem;
  }
  main > article :where(section > p, section > div > p, .blok-tekst p, article > div > p, details > p, li > p) { max-width: 65ch; }
  main > article :where(p + p, ul + p, p + ul, p + ol) { margin-top: 1em; }
  main > article :where(ul, ol):not([class]) { padding-left: 1.25rem; max-width: 65ch; }
  main > article :where(ul, ol):not([class]) li + li { margin-top: 0.5rem; }
  main > article :where(ul:not([class]) > li)::marker { color: var(--pigment); }
  main > article :where(a:not([class])) { text-decoration-color: var(--pigment); text-decoration-thickness: 2px; text-underline-offset: 0.22em; }
  main > article :where(a:not([class])):hover { text-decoration-thickness: 3px; }
  main > article :where(strong) { font-weight: 640; }
  main > article address { font-style: normal; line-height: 1.6; }
  main > article address + address { margin-top: 1.5rem; }

  /* Lista kursów */
  .kursy { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.25rem; max-width: 60rem; }
  .kurs { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem; align-items: start; }
  .kurs__kropla { width: clamp(4rem, 3rem + 3vw, 6rem); background: var(--tekstura-pigmentu) center / cover; }
  .kurs__tytul { margin: 0.25rem 0 0.5rem !important; font-size: var(--fs-2) !important; letter-spacing: -0.025em; }
  .kurs__tytul a { text-decoration-color: var(--pigment); text-decoration-thickness: 3px; text-underline-offset: 0.2em; }
  .kurs__opis { color: var(--tusz-2); max-width: 60ch; }

  /* Wydarzenia (lista i karta) */
  main .wydarzenie {
    display: grid;
    grid-template-columns: 5rem minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
    max-width: 60rem;
  }
  main .wydarzenie + .wydarzenie { margin-top: 2rem; }
  .wydarzenie__tytul { margin: 0.35rem 0 0.35rem !important; }
  .wydarzenie__tytul a { text-decoration-color: var(--szafran); text-decoration-thickness: 3px; text-underline-offset: 0.2em; }
  .wydarzenie__zajawka { margin-top: 0.5rem; max-width: 60ch; }
  section[aria-labelledby="minione"] .wydarzenie__data {
    background:
      radial-gradient(circle, var(--papier) 0 62%, transparent 63%),
      linear-gradient(rgb(246 242 234 / 0.55), rgb(246 242 234 / 0.55)),
      url("../img/tex-szafran.a775b913fe60.webp") center / cover;
    color: var(--tusz-2);
  }
  section[aria-labelledby="minione"] .wydarzenie__tytul { font-size: var(--fs-1); }

  /* FAQ: krople jako znaczniki rozwinięcia */
  main > article details {
    max-width: 52rem;
    border-bottom: 1px solid rgb(20 24 43 / 0.16);
  }
  main > article summary {
    list-style: none;
    position: relative;
    cursor: pointer;
    padding: 1.15rem 3.5rem 1.15rem 0;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--fs-1);
    line-height: 1.3;
  }
  main > article summary::-webkit-details-marker { display: none; }
  main > article summary::after {
    content: "";
    position: absolute; right: 0.25rem; top: 50%;
    width: 2rem; height: 2rem;
    border-radius: 50%;
    translate: 0 -50%;
    background:
      linear-gradient(var(--pigment-na), var(--pigment-na)) center / 42% 2px no-repeat,
      linear-gradient(var(--pigment-na), var(--pigment-na)) center / 2px 42% no-repeat,
      linear-gradient(var(--warstwa-pigmentu), var(--warstwa-pigmentu)),
      var(--tekstura-pigmentu) center / cover;
    transition: rotate 0.35s var(--ease-wyjscie);
  }
  main > article details[open] summary::after {
    rotate: 135deg;
  }
  main > article details > :not(summary) { padding-bottom: 1.25rem; color: var(--tusz-2); }

  /* Formularz */
  main > article form { max-width: 38rem; }
  main > article form > p { display: grid; gap: 0.4rem; }
  main > article form > p + p { margin-top: 1.25rem; }
  main > article label { font-weight: 600; }
  main > article :where(input:not([type="checkbox"], [type="radio"]), textarea, select) {
    width: 100%;
    min-height: 3.1rem;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--tusz);
    border-radius: 12px;
    background: #fffdf8;
    color: var(--tusz);
  }
  main > article textarea { min-height: 9rem; resize: vertical; }
  main > article :where(input, textarea, select):focus-visible { outline: 3px solid var(--pigment); outline-offset: 2px; }
  main > article [id$="_helptext"] { font-size: var(--fs-mala); color: var(--tusz-2); }
  main > article [role="alert"] { color: var(--karmin-ciemny); font-weight: 600; }
  main > article button[type="submit"] {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 3.4rem;
    padding: 0.75rem 2.25rem;
    border: 0;
    border-radius: 999px;
    background: var(--tusz);
    color: var(--papier);
    font-family: var(--font-display);
    font-weight: 620;
    font-size: var(--fs-1);
    cursor: pointer;
    transition: background-color 0.2s;
  }
  @media (hover: hover) and (pointer: fine) {
    main > article button[type="submit"]:hover { background: var(--pigment-ciemny); }
  }

  /* Bloki treści */
  .przycisk-pigment {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 3.5rem;
    padding: 0.75rem 2rem;
    border-radius: 999px;
    color: var(--pigment-na);
    font-family: var(--font-display);
    font-weight: 640;
    font-size: 1.15rem;
    text-decoration: none;
    background:
      linear-gradient(var(--warstwa-pigmentu), var(--warstwa-pigmentu)),
      var(--tekstura-pigmentu) 0% 50% / 260% auto;
    transition: background-position 1.4s var(--ease-wyjscie);
  }
  @media (hover: hover) and (pointer: fine) {
    .przycisk-pigment:hover { background-position: 0 0, 100% 50%; }
  }
  .blok-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
  .blok-cta span { color: var(--tusz-2); max-width: 40ch; }
  main > article figure { margin: 0; }
  main > article figure img { border-radius: var(--promien-arkusza); }
  main > article figcaption { margin-top: 0.6rem; font-size: var(--fs-mala); color: var(--tusz-2); }
  main > article blockquote {
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--fs-2);
    font-weight: 450;
    letter-spacing: -0.02em;
    line-height: 1.25;
    max-width: 30ch;
  }
  main > article blockquote + figcaption::before {
    content: "";
    display: inline-block;
    width: 0.8rem; height: 0.8rem;
    margin-right: 0.6rem;
    border-radius: 50%;
    background: var(--pigment);
    vertical-align: -0.05em;
  }
  main > article ol:not([class]) { list-style: none; counter-reset: krok; padding-left: 0; }
  main > article ol:not([class]) > li {
    counter-increment: krok;
    position: relative;
    padding-left: 3.25rem;
    min-height: 2.25rem;
  }
  main > article ol:not([class]) > li::before {
    content: counter(krok);
    position: absolute; left: 0; top: -0.1rem;
    display: grid; place-items: center;
    width: 2.25rem; height: 2.25rem;
    border-radius: 50%;
    background: var(--pigment);
    color: var(--pigment-na);
    font-family: var(--font-display);
    font-weight: 680;
  }
  main > article iframe {
    width: 100%;
    max-width: 52rem;
    height: auto;
    aspect-ratio: 16 / 10;
    border: 0;
    border-radius: var(--promien-arkusza);
    background: var(--papier-cien);
  }
  main > article figure iframe { aspect-ratio: 16 / 9; }

  @media (max-width: 47.99rem) {
    .naglowek-strony { display: block; position: relative; }
    .naglowek-strony h1 { padding-right: 5.25rem; }
    .naglowek-strony__kropla { position: absolute; right: 0; top: clamp(2rem, 1.5rem + 3vw, 4.5rem); width: 4.25rem; }
    main .wydarzenie { grid-template-columns: 3.75rem minmax(0, 1fr); gap: 1rem; }
    .wydarzenie__data { font-size: 1.25rem; }
    .kurs { grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1rem; }
    .kurs__kropla { width: 3.5rem; }
  }
}

@layer ruch {
  @media (prefers-reduced-motion: no-preference) {
    .naglowek-strony__kropla { animation: kropla-rozlewa-sie 1.4s var(--ease-wyjscie) both; }

  }
}

/* ==========================================================================
   Ścieżki: „Pasma” – cztery pasma pigmentu zaczesane grzebieniem
   (wybrany wariant B z kroku 1, .impeccable/propozycje/01-sciezki/wariant-b)
   ========================================================================== */
@layer tokeny {
  :root {
    /* Krawędź pasma: jeden okres fali grzebienia, grzbiet lekko pociągnięty w prawo. */
    --fala: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M0 20C40 20 70 4 116 4C150 4 168 20 200 20V24H0Z'/%3E%3C/svg%3E");
    /* Ślad zębów grzebienia: ta sama fala, przesunięta w dół, coraz słabsza. */
    --slad: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 44' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23f6f2ea' stroke-width='1.4'%3E%3Cpath stroke-opacity='.6' d='M0 29C40 29 70 13 116 13C150 13 168 29 200 29'/%3E%3Cpath stroke-opacity='.4' d='M0 35C40 35 70 19 116 19C150 19 168 35 200 35'/%3E%3Cpath stroke-opacity='.22' d='M0 41C40 41 70 25 116 25C150 25 168 41 200 41'/%3E%3C/g%3E%3C/svg%3E");
    /* Odległość od krawędzi okna do krawędzi treści – pasma wylewają się aż do brzegu ekranu. */
    --wylew: calc(var(--margines) + max(0px, (100vw - var(--szer-max)) / 2));
  }
}

@layer strony {
  /* --- Pierwszy ekran: lewa kolumna to już tylko hasło i wstęp ------------- */
  .hero {
    --h-pasm: 12.6rem;
    grid-template-areas: "tekst figura" "pasma pasma" "sezon sezon";
    grid-template-rows: minmax(22rem, calc(min(100svh, 64rem) - var(--h-naglowka) - var(--h-pasm))) auto auto;
    min-height: 0;
  }
  .hero__tekst { padding-block: 1rem 7rem; }
  .hero__wstep { max-width: 30ch; }
  /* figura odsunięta od hasła – kolumna tekstu jest teraz lżejsza, para dostaje powietrze */
  .hero__figura { min-height: 0; margin-left: clamp(0rem, 7vw - 2.5rem, 5rem); }

  /* Pasek sezonu tuż pod pasmami – bez linii grzebienia, bo granicę daje farba. */
  .hero__sezon {
    background: none;
    padding: 1.15rem 0 0.25rem;
  }

  /* --- Pasma ----------------------------------------------------------------- */
  .pasma {
    grid-area: pasma;
    margin-inline: calc(-1 * var(--wylew));
  }
  .pasma__lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    /* skrajne pasma biorą też margines okna, więc tekst trzyma się siatki treści */
    grid-template-columns: var(--wylew) repeat(4, minmax(0, 1fr)) var(--wylew);
    min-height: var(--h-pasm);
  }
  .pasma__lista > li { display: grid; min-width: 0; }
  .pasma__lista > li:first-child { grid-column: 1 / 3; }
  .pasma__lista > li:last-child { grid-column: 5 / 7; }

  .pasmo {
    /* geometria fali: wysokość wspólna, długość fali własna dla każdego pasma */
    --fala-w: 220px;
    --fala-h: 26px;
    --skok: 1px;
    --strefa: calc(var(--fala-h) + 17 * var(--skok) + 1.6rem);
    --spad: 0;          /* o ile niżej startuje to pasmo (w jednostkach --skok) */
    --faza0: 0px;       /* przesunięcie fali w poziomie – każde pasmo czesane osobno */
    --zapas: 28px;      /* miejsce nad pasmem, w które fala może się unieść */
    --y: calc(var(--zapas) + var(--spad) * var(--skok) - var(--wznios) + var(--wplyw));
    --x: calc(var(--faza0) + var(--przesun));

    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    padding: var(--strefa) 1.5rem 1.3rem;
    color: var(--na);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }
  .pasma__lista > li:first-child .pasmo { padding-left: var(--wylew); }

  /* Płaszczyzna pigmentu z falistą górną krawędzią i śladem zębów grzebienia.
     Ta sama maska służy też warstwie marmurka (::after, tylko przy kursorze). */
  .pasmo::before,
  .pasmo::after {
    position: absolute;
    inset: calc(-1 * var(--zapas)) 0 0;
    pointer-events: none;
    -webkit-mask:
      var(--fala) var(--x) var(--y-maski) / var(--fala-w) var(--fala-h) repeat-x,
      linear-gradient(#000 0 0) 0 calc(var(--y-maski) + var(--fala-h) - 1px) / 100% 100% no-repeat;
    mask:
      var(--fala) var(--x) var(--y-maski) / var(--fala-w) var(--fala-h) repeat-x,
      linear-gradient(#000 0 0) 0 calc(var(--y-maski) + var(--fala-h) - 1px) / 100% 100% no-repeat;
  }
  .pasmo::before {
    content: "";
    --y-maski: var(--y);
    z-index: -1;
    background:
      var(--slad) var(--x) var(--y) / var(--fala-w) calc(var(--fala-h) * 44 / 24) repeat-x,
      var(--pigment);
  }

  .pasmo--karmin    { --pigment: var(--karmin);    --na: var(--papier); --spad: 0;  --faza0: 0px;    --fala-w: 236px; --marmur: url("../img/tex-karmin.f78a318bbd55.webp");    --marmur-poz: 30% 24%; }
  .pasmo--kobalt    { --pigment: var(--kobalt);    --na: var(--papier); --spad: 12; --faza0: -74px;  --fala-w: 196px; --marmur: url("../img/tex-kobalt.d8b1cf2b77f2.webp");    --marmur-poz: 40% 30%; }
  .pasmo--pomarancz { --pigment: var(--pomarancz); --na: var(--tusz);   --spad: 4;  --faza0: -150px; --fala-w: 254px; --marmur: url("../img/tex-pomarancz.45c7201d8555.webp"); --marmur-poz: 70% 10%; }
  .pasmo--szafran   { --pigment: var(--szafran);   --na: var(--tusz);   --spad: 17; --faza0: -36px;  --fala-w: 214px; --marmur: url("../img/tex-szafran.a775b913fe60.webp");   --marmur-poz: 45% 20%; }

  .pasmo__tresc {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-self: start;
    border-radius: 4px;
  }
  .pasmo__nazwa {
    /* min-content łamie po każdej spacji; twarde spacje po „w”/„i” dają zawsze dwie linie */
    width: min-content;
    font-family: var(--font-plakat);
    font-size: clamp(1.45rem, 0.8rem + 1.1vw, 1.95rem);
    font-weight: 460;
    line-height: 1.02;
    letter-spacing: -0.015em;
    white-space: normal;
  }
  .pasmo__fakt {
    max-width: 30ch;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.35;
    text-wrap: pretty;
  }

  /* Fokus z klawiatury: obrys w kolorze tekstu wokół napisu + pasmo unosi się jak pod kursorem. */
  .pasmo:focus-visible { outline: none; --wznios: 12px; }
  .pasmo:focus-visible .pasmo__tresc {
    outline: 3px solid currentColor;
    outline-offset: 0.5rem;
  }
  .pasmo:active::before { filter: brightness(0.94); }

  /* --- Ruch ------------------------------------------------------------------ */
  @media (hover: hover) and (pointer: fine) {
    .pasmo {
      transition:
        --wznios 0.55s var(--ease-wyjscie),
        --przesun 1.4s var(--ease-wyjscie);
    }
    .pasmo:hover { --wznios: 12px; --przesun: 56px; }
    /* Krawędź „zdjętego” papieru: gdy pasmo się unosi, spod niego wychodzi
       wąski pasek prawdziwego marmurka (raster ładuje się tylko na komputerze). */
    .pasmo::after {
      content: "";
      --y-maski: calc(var(--y) + 3px - var(--wznios) * 0.85);
      z-index: -2;
      background: var(--marmur) var(--marmur-poz) / 820px auto var(--pigment);
    }
  }

  @media (prefers-reduced-motion: no-preference) {
    /* Jeden moment: farba podnosi się z dołu ekranu, pasmo po paśmie, po tym jak para się rozleje. */
    .pasmo {
      animation: pasmo-wznosi-sie 1.15s var(--ease-wyjscie) backwards;
      animation-delay: calc(0.55s + var(--i, 0) * 0.09s);
    }
    .pasmo__tresc {
      animation: tresc-wynurza-sie 0.8s var(--ease-wyjscie) backwards;
      animation-delay: calc(0.85s + var(--i, 0) * 0.09s);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .pasmo { transition: none; }
  }
  /* --- Węższe ekrany: jedna kolumna hero, pasma wciąż obok siebie ---------- */
  @media (max-width: 59.99rem) {
    .hero {
      grid-template-areas: "haslo" "wstep" "figura" "pasma" "sezon";
      grid-template-rows: auto;
    }
    .hero__wstep { max-width: 34ch; }
    /* Tablet: para w całości, kwadrat dosunięty do prawej krawędzi ekranu (smuga wychodzi
       za ekran). Wysokość ~0,7 szerokości ustawia parę mniej więcej na środku ekranu. */
    .hero__figura {
      height: min(70vw, 62svh);
      min-height: 0;
      margin: 0.75rem calc(-1 * var(--margines)) 0 0;
    }
    .hero__figura > img { object-fit: contain; object-position: 100% 100%; }
    .pasma { margin-inline: calc(-1 * var(--margines)); }
    .pasma__lista {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      min-height: 0;
    }
    .pasma__lista > li:first-child,
    .pasma__lista > li:last-child { grid-column: auto; }
    .pasmo { --fala-h: 21px; --skok: 0.7px; --strefa: calc(var(--fala-h) + 17 * var(--skok) + 1.2rem); padding: var(--strefa) 1rem 1.25rem; }
    .pasmo--karmin { --fala-w: 180px; }
    .pasmo--kobalt { --fala-w: 150px; }
    .pasmo--pomarancz { --fala-w: 196px; }
    .pasmo--szafran { --fala-w: 164px; }
    .pasma__lista > li:first-child .pasmo { padding-left: var(--margines); }
    .pasmo__nazwa { font-size: 1.3rem; }
    .pasmo__fakt { font-size: 0.9375rem; }
    .hero__sezon { padding-top: 1.25rem; }
  }

  /* --- Telefon: siatka 2×2, dolny rząd zachodzi falą na górny ------------- */
  @media (max-width: 44.99rem) {
    .pasma__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    /* Telefon: obraz od krawędzi do krawędzi ekranu, w proporcji 4:3 niezależnej od pasków
       Safari. Kwadrat traci tylko górną ćwiartkę smugi – głowy pary zostają z zapasem,
       para stoi przy lewym marginesie razem z hasłem, a smuga wychodzi za prawą krawędź. */
    .hero__figura {
      height: auto;
      aspect-ratio: 4 / 3;
      align-self: start; /* przy „stretch” siatka ignoruje proporcję i pole ma 0 px */
      margin: 0.25rem calc(-1 * var(--margines)) 0;
    }
    .hero__figura > img { object-fit: cover; object-position: 50% 100%; }
    .pasma { --zakladka: calc(18px + 17 * 0.55px); }
    .pasmo {
      --fala-h: 18px;
      --skok: 0.55px;
      --strefa: calc(var(--fala-h) + 17 * var(--skok) + 0.8rem);
      padding: var(--strefa) 0.75rem calc(var(--zakladka) + 0.95rem) var(--margines);
    }
    .pasmo--karmin { --fala-w: 160px; }
    .pasmo--kobalt { --fala-w: 132px; }
    .pasmo--pomarancz { --fala-w: 172px; }
    .pasmo--szafran { --fala-w: 146px; }
    .pasma__lista > li:nth-child(n + 3) { margin-top: calc(-1 * var(--zakladka)); }
    .pasma__lista > li:nth-child(n + 3) .pasmo { padding-bottom: 1.1rem; }
    .pasmo__tresc { gap: 0.35rem; }
    .pasmo__nazwa { font-size: 1.0625rem; letter-spacing: -0.01em; }
    .pasmo__fakt { font-size: 0.875rem; line-height: 1.3; }
    .pasmo:focus-visible .pasmo__tresc { outline-offset: 0.3rem; }
    /* Pasek sezonu: nazwa sezonu jako nagłówek, miasta w osobnych wierszach, link jak cel dotyku */
    .hero__sezon { display: grid; gap: 0.5rem; padding-top: 1.5rem; font-size: 1rem; }
    .hero__sezon-nazwa strong { display: block; font-size: 1.25rem; margin: 0 0 0.1rem; }
    .hero__sezon-nazwa span { color: var(--tusz-2); }
    .hero__sezon-miejsca { display: grid; gap: 0.2rem; }
    .hero__sezon-link { justify-self: start; display: inline-flex; align-items: center; min-height: 2.75rem; }
  }
}

@layer ruch {
  @keyframes pasmo-wznosi-sie {
    from { --wplyw: 14rem; --przesun: -90px; }
  }
  @keyframes tresc-wynurza-sie {
    from { opacity: 0; translate: 0 0.6rem; }
  }
}

/* Figura: smuga rozpływa się w papierze pod nagłówkiem zamiast urywać się prostą krawędzią */
@layer strony {
  .hero__figura > img {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 100%);
  }
}

/* Logo (krok 3, wariant B „Figura w obrocie”, .impeccable/propozycje/03-logo/wariant-b) */
@layer komponenty {
  .naglowek .znak {
    display: block;
    line-height: 0;
    /* ramię tancerki wychodzi lekko w lewo – optycznie wyrównujemy do marginesu */
    margin-left: -2px;
  }
  .znak__logo { display: block; height: 42px; width: auto; }
  @media (max-width: 63.99rem) { .znak__logo { height: 38px; } }
  /* Wąskie telefony (iPhone SE/mini): logo, telefon i „Menu” w jednym rzędzie */
  @media (max-width: 24.5rem) {
    .znak__logo { height: 32px; }
    .naglowek { gap: 0.5rem; }
  }
  @media (max-width: 21.5rem) {
    .menu-przycisk__napis {
      position: absolute; width: 1px; height: 1px; overflow: hidden;
      clip-path: inset(50%); white-space: nowrap;
    }
  }
  .stopka__znak { margin-bottom: 1.5rem; line-height: 0; }
  .stopka__znak img { display: block; height: 64px; width: auto; }
}


/* ==========================================================================
   Grafik i cennik „Według tańca” (krok 2, wariant C, .impeccable/propozycje/02-grafik/wariant-c)
   Najpierw taniec, potem gdzie i kiedy. Każdy rodzaj zajęć (Szkoła → Rodzaje zajęć) to pasmo
   pigmentu z falistą krawędzią grzebienia – jak ścieżki na stronie głównej. W paśmie: nazwa,
   cena z powiązanej pozycji cennika i terminy jako papierowe bilety (odcinek z miejscowością,
   na stronie miejscowości z dniem). Kolumny biletu mają stałe szerokości, więc godziny stoją
   równo we wszystkich pasmach; o układzie biletu decyduje szerokość kolumny (container query).
   Filtr miast: site.js. Komponenty: templates/components/grafik_pasma.html, bilet.html,
   filtr_miasta.html, sale_grafiku.html, ceny_lista.html.
   ========================================================================== */
@layer tokeny {
  :root {
    /* Odcień kobaltu dla salsy i bachaty w parach – papier na nim 6:1. */
    --kobalt-jasny: #2c56b8;
    /* Ślad zębów grzebienia na papierze (tusz zamiast papieru). */
    --slad-tusz: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 44' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%2314182b' stroke-width='1.2'%3E%3Cpath stroke-opacity='.3' d='M0 29C40 29 70 13 116 13C150 13 168 29 200 29'/%3E%3Cpath stroke-opacity='.19' d='M0 35C40 35 70 19 116 19C150 19 168 35 200 35'/%3E%3Cpath stroke-opacity='.1' d='M0 41C40 41 70 25 116 25C150 25 168 41 200 41'/%3E%3C/g%3E%3C/svg%3E");
  }
}

@layer strony {
  /* Atrybut hidden (filtr miast, komunikat pustego pasma) wygrywa z własnym display elementów. */
  .filtr-c[hidden], .bilet[hidden], .sala-c[hidden], .styl__brak[hidden] { display: none; }
  .sezon-c__brak { grid-column: 1 / -1; margin-top: 1rem; }

  /* --- Sekcja grafiku: sezon + filtr w jednym rzędzie ---------------------- */
  .grafik-c {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 2rem;
    align-items: end;
    transition: --czesanie 1.8s var(--ease-wyjscie);
  }
  .grafik-c > * { grid-column: 1 / -1; }
  .grafik-c > .sezon-c { grid-column: 1; grid-row: 1; }
  .grafik-c > .filtr-c { grid-column: 2; grid-row: 1; }

  .sezon-c h2 { margin: 0 0 0.5rem; max-width: none; }
  .sezon-c__daty { font-size: var(--fs-1); line-height: 1.45; color: var(--tusz-2); }

  /* --- Filtr miasta: pigułka, która płynie nad pasmami ---------------------- */
  .filtr-c {
    position: sticky;
    top: 0.75rem;
    z-index: 5;
    justify-self: end;
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
    container-type: scroll-state;
  }
  .filtr-c__opcje {
    position: relative;
    display: flex;
    gap: 0.25rem;
    padding: 0.25rem;
    border: 1.5px solid var(--tusz);
    border-radius: 999px;
    background: var(--papier);
    overflow-x: auto;
    scrollbar-width: none;
    transition: box-shadow 0.3s var(--ease-wyjscie), border-color 0.3s;
  }
  /* Gdy pigułka „przyklei się” nad farbą: zamiast obrysu – cień z przesunięciem. */
  @container scroll-state(stuck: top) {
    .filtr-c__opcje {
      border-color: transparent;
      box-shadow: 0 0.6rem 1.4rem -0.35rem rgb(20 24 43 / 0.42);
    }
  }
  .filtr-c__radio {
    position: absolute;
    width: 1px; height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
  }
  .filtr-c__opcja {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.45rem 1.15rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.25s var(--ease-wyjscie), color 0.25s;
  }
  .filtr-c__radio:checked + .filtr-c__opcja { background: var(--tusz); color: var(--papier); }
  .filtr-c__radio:focus-visible + .filtr-c__opcja { outline: 2px solid currentColor; outline-offset: -5px; }
  @media (hover: hover) and (pointer: fine) {
    .filtr-c__radio:not(:checked) + .filtr-c__opcja:hover { background: var(--papier-cien); }
  }

  /* --- Pasma stylów ---------------------------------------------------------- */
  .style-c {
    margin-top: clamp(1.75rem, 1rem + 2vw, 2.75rem);
    margin-inline: calc(-1 * var(--wylew));
  }

  .styl,
  .fala-papieru {
    --fala-w: 220px;
    --fala-h: 30px;
    --faza: 0px;
    --kierunek: 1;
    --x: calc(var(--faza) + var(--czesanie) * var(--kierunek));
    position: relative;
    isolation: isolate;
  }
  .styl {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(2rem, 1rem + 3vw, 4.5rem);
    align-items: start;
    padding:
      calc(var(--fala-h) + clamp(2rem, 1.25rem + 2.5vw, 3.5rem)) var(--wylew)
      calc(var(--fala-h) + clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem));
    color: var(--na);
  }
  /* Każde pasmo kładzie się falą na poprzednie, jak kolejna warstwa farby. */
  .styl + .styl { margin-top: calc(-1 * var(--fala-h)); }

  .styl::before,
  .fala-papieru::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    -webkit-mask:
      var(--fala) var(--x) 0 / var(--fala-w) var(--fala-h) repeat-x,
      linear-gradient(#000 0 0) 0 calc(var(--fala-h) - 1px) / 100% 100% no-repeat;
    mask:
      var(--fala) var(--x) 0 / var(--fala-w) var(--fala-h) repeat-x,
      linear-gradient(#000 0 0) 0 calc(var(--fala-h) - 1px) / 100% 100% no-repeat;
  }
  .styl::before {
    background:
      var(--slad) var(--x) 0 / var(--fala-w) calc(var(--fala-h) * 44 / 24) repeat-x,
      var(--pigment);
  }

  .styl--pomarancz   { --pigment: var(--pomarancz);   --na: var(--tusz);   --fala-w: 254px; --faza: -150px; }
  .styl--kobalt      { --pigment: var(--kobalt);      --na: var(--papier); --fala-w: 204px; --faza: -74px;  --kierunek: -1; }
  .styl--kobalt-jasny { --pigment: var(--kobalt-jasny); --na: var(--papier); --fala-w: 236px; --faza: -18px; }
  .styl--szafran     { --pigment: var(--szafran);     --na: var(--tusz);   --fala-w: 214px; --faza: -120px; --kierunek: -1; }
  .styl :focus-visible { outline-color: currentColor; }

  /* Głowa pasma: nazwa, cena, kurs */
  .styl__glowa {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }
  main > article .styl__nazwa {
    margin: 0;
    max-width: none;
    font-family: var(--font-plakat);
    font-size: clamp(1.5rem, 0.85rem + 2.45vw, 3rem);
    font-weight: 460;
    line-height: 1.05;
    letter-spacing: -0.02em;
  }
  .styl__dopisek { margin-top: -0.3rem; font-size: var(--fs-1); font-weight: 500; line-height: 1.3; }
  .styl__cena {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.2rem 0.7rem;
    margin-top: 0.9rem;
  }
  .styl__kwota {
    font-family: var(--font-plakat);
    font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.35rem);
    font-weight: 560;
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  .styl__jednostka { font-weight: 600; font-size: 1.0625rem; }
  .styl__dalej { display: flex; flex-direction: column; align-items: flex-start; gap: 0.1rem; }
  .styl__opis { font-size: 1.0625rem; font-weight: 500; }
  .styl__wiecej {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    font-weight: 650;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.25em;
    transition: text-underline-offset 0.25s var(--ease-wyjscie);
  }
  @media (hover: hover) and (pointer: fine) {
    .styl__wiecej:hover { text-underline-offset: 0.4em; }
  }

  /* --- Bilety ----------------------------------------------------------------- */
  .bilety {
    grid-column: 2;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.625rem;
    container-type: inline-size;
  }
  /* Cień rzuca cały bilet z wycięciami – dlatego filtr na <li>, a maska na papierze. */
  .bilet { filter: drop-shadow(0 0.3rem 0.45rem rgb(20 24 43 / 0.2)); }

  .bilet__papier {
    --odcinek: 6.75rem;
    --wciecie: 0.5rem;
    --dziurka: radial-gradient(circle closest-side, var(--pigment) 72%, #0000 80%);
    display: grid;
    grid-template-columns: var(--odcinek) minmax(0, 1fr);
    min-height: 4.25rem;
    border-radius: 10px;
    color: var(--tusz);
    /* perforacja: rząd dziurek w kolorze farby pod biletem */
    background:
      var(--dziurka) calc(var(--odcinek) - 2.5px) 4px / 5px 10px repeat-y,
      var(--papier);
    -webkit-mask:
      radial-gradient(circle at var(--odcinek) 0, #0000 var(--wciecie), #000 calc(var(--wciecie) + 0.5px)),
      radial-gradient(circle at var(--odcinek) 100%, #0000 var(--wciecie), #000 calc(var(--wciecie) + 0.5px));
    -webkit-mask-composite: source-in;
    mask:
      radial-gradient(circle at var(--odcinek) 0, #0000 var(--wciecie), #000 calc(var(--wciecie) + 0.5px)),
      radial-gradient(circle at var(--odcinek) 100%, #0000 var(--wciecie), #000 calc(var(--wciecie) + 0.5px));
    mask-composite: intersect;
  }
  .bilet__odcinek {
    display: flex;
    align-items: center;
    padding: 0.75rem 0.9rem 0.75rem 1.15rem;
    font-weight: 680;
    font-size: 1rem;
    line-height: 1.2;
  }
  .bilet__tresc {
    display: grid;
    grid-template-columns: 7.25rem 7.25rem minmax(0, 1fr);
    grid-template-areas: "dzien godziny opis" "uwaga uwaga uwaga";
    align-items: baseline;
    align-content: center;
    column-gap: 0.75rem;
    row-gap: 0.2rem;
    padding: 0.8rem 1.1rem 0.8rem 1.3rem;
  }
  .bilet__dzien { grid-area: dzien; font-weight: 600; font-size: 1.0625rem; }
  .bilet__godziny {
    grid-area: godziny;
    font-weight: 680;
    font-size: 1.125rem;
    font-variant-numeric: proportional-nums;
    letter-spacing: -0.005em;
    white-space: nowrap;
  }
  .bilet__opis {
    grid-area: opis;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.3rem 0.65rem;
    font-size: 1rem;
    line-height: 1.35;
  }
  .bilet__poziom { color: var(--tusz-2); }
  .bilet__cykl { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; }
  .bilet__cykl .ikona { width: 1.05em; height: 1.05em; }
  .bilet__nowosc {
    padding: 0.05rem 0.6rem 0.1rem;
    border-radius: 999px;
    background: var(--karmin);
    color: var(--papier);
    font-size: 0.8125rem;
    font-weight: 650;
    line-height: 1.5;
  }
  .bilet__uwaga { grid-area: uwaga; font-size: 0.9375rem; line-height: 1.4; color: var(--tusz-2); }

  /* Strona miasta: odcinek niesie dzień, w treści godziny i poziom. */
  .bilety--dzien .bilet__papier { --odcinek: 8.5rem; }
  .bilety--dzien .bilet__tresc {
    grid-template-columns: 7.25rem minmax(0, 1fr);
    grid-template-areas: "godziny opis" "uwaga uwaga";
  }

  /* Wąska kolumna biletów (telefon, tablet poziomo): odcinek + dwie linijki. */
  @container (max-width: 35.99rem) {
    .bilet__papier { --odcinek: 4.6rem; --wciecie: 0.42rem; min-height: 0; }
    .bilet__odcinek { padding: 0.6rem 0.45rem 0.6rem 0.85rem; font-size: 0.9375rem; }
    .bilet__tresc {
      grid-template-columns: auto minmax(0, 1fr);
      grid-template-areas: "dzien godziny" "opis opis" "uwaga uwaga";
      column-gap: 0.5rem;
      row-gap: 0.1rem;
      padding: 0.6rem 0.65rem 0.65rem 0.85rem;
    }
    .bilet__dzien { font-size: 1rem; }
    .bilet__godziny { font-size: 1.0625rem; }
    .bilet__opis { font-size: 0.90625rem; line-height: 1.3; }
    .bilet__uwaga { font-size: 0.875rem; line-height: 1.3; }
    .bilety--dzien .bilet__papier { --odcinek: 7.1rem; }
    .bilety--dzien .bilet__tresc { grid-template-columns: minmax(0, 1fr); grid-template-areas: "godziny" "opis" "uwaga"; }
  }

  /* Pusty styl po filtrze: zostaje nazwa i cena, a w miejscu biletów – gdzie ten taniec jest. */
  .styl--pusty .bilety { display: none; }
  .styl__brak {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 1.25rem;
    font-size: 1.0625rem;
    font-weight: 500;
  }
  .styl__brak-przycisk {
    min-height: 2.75rem;
    padding: 0.5rem 1.25rem;
    border: 1.5px solid currentColor;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
  }
  @media (hover: hover) and (pointer: fine) {
    .styl__brak-przycisk:hover { background: var(--na); color: var(--pigment); }
  }

  /* --- Papier po pasmach: sale i spotkania --------------------------------- */
  .fala-papieru {
    --fala-w: 244px;
    --faza: -60px;
    margin-top: calc(-1 * var(--fala-h));
    margin-inline: calc(-1 * var(--wylew));
    padding: calc(var(--fala-h) + clamp(2.5rem, 1.5rem + 3vw, 4rem)) var(--wylew) 0;
  }
  .fala-papieru::before {
    background:
      var(--slad-tusz) var(--x) 0 / var(--fala-w) calc(var(--fala-h) * 44 / 24) repeat-x,
      var(--papier);
  }
  main > article .gdzie-c__tytul { margin: 0 0 1.5rem; font-size: var(--fs-2); letter-spacing: -0.025em; }
  .sale-c {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
    gap: 2.25rem clamp(2rem, 5vw, 5rem);
  }
  .sala-c { display: grid; gap: 0.55rem; align-content: start; max-width: 40rem; }
  .sala-c > p { margin-top: 0; }
  .sala-c > .sala-c__miasto + p { margin-top: -0.15rem; }
  .sala-c__miasto {
    font-family: var(--font-plakat);
    font-size: clamp(1.45rem, 1.1rem + 1.1vw, 2rem);
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 1.1;
  }
  .sala-c__adres { font-weight: 500; }
  .sala-c > .sala-c__spotkanie { margin-top: 0.35rem; }
  .sala-c__spotkanie { font-size: var(--fs-mala); color: var(--tusz-2); }
  .sala-c__etykieta { display: block; font-weight: 650; color: var(--tusz); }
  .sala-c__linki { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
  .sala-c__linki a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.75rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration-color: var(--pigment);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.25em;
  }
  .sala-c__spotkanie--duze { margin: 0; max-width: 60ch; font-size: var(--fs-tekst); color: var(--tusz-2); }
  .sala-c__spotkanie--duze time { font-weight: 650; color: var(--tusz); }
  main > article .gdzie-c--miasto .gdzie-c__tytul { margin-bottom: 0.6rem; font-size: var(--fs-1); }
  .gdzie-c__dalej:first-child { margin-top: 0; }
  .gdzie-c__dalej { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.75rem; color: var(--tusz-2); }

  /* --- Pozostałe ceny i zasady płatności ------------------------------------ */
  .cennik-c {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 2.5rem clamp(2.5rem, 6vw, 6rem);
    align-items: start;
    padding-top: clamp(2.75rem, 2rem + 2vw, 3.75rem);
    background: var(--grzebien) 0 0 / 120px 14px repeat-x;
  }
  main > article .cennik-c h2 { margin-bottom: 0.5rem; }
  .cennik-c__wstep { color: var(--tusz-2); }
  .ceny-c { list-style: none; margin: 1.75rem 0 0; padding: 0; }
  .cena-c {
    --tex: url("../img/tex-szafran.a775b913fe60.webp");
    display: grid;
    grid-template-columns: 1rem minmax(0, 1fr) auto;
    grid-template-areas: "kropla nazwa kwota" ". opis kwota";
    column-gap: 1rem;
    row-gap: 0.25rem;
    padding: 1.15rem 0;
    border-top: 1px solid rgb(20 24 43 / 0.14);
  }
  .cena-c:last-child { border-bottom: 1px solid rgb(20 24 43 / 0.14); }
  .cena-c::before {
    content: "";
    grid-area: kropla;
    width: 1rem;
    aspect-ratio: 1;
    margin-top: 0.32rem;
    border-radius: 50%;
    background: var(--tex) center / cover;
  }
  .cena-c--karmin { --tex: url("../img/tex-karmin.f78a318bbd55.webp"); }
  .cena-c__nazwa { grid-area: nazwa; font-weight: 620; font-size: var(--fs-1); line-height: 1.3; }
  .cena-c__opis { grid-area: opis; max-width: 52ch; font-size: var(--fs-mala); color: var(--tusz-2); }
  .cena-c__kwota {
    grid-area: kwota;
    display: grid;
    justify-items: end;
    align-content: start;
    text-align: right;
    font-family: var(--font-plakat);
    font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.75rem);
    font-weight: 540;
    line-height: 1.05;
    letter-spacing: -0.015em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  .cena-c__jednostka {
    margin-top: 0.3rem;
    font-family: var(--font-tekst);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--tusz-2);
  }

  .cennik-c__zasady { padding-top: 0.4rem; }
  .cennik-blok .ceny-c { max-width: 52rem; }
  main > article .cennik-c__zasady :is(h2, h3) { margin: 0 0 1.1rem; font-size: var(--fs-2); letter-spacing: -0.025em; }
  /* RichText z panelu: <ul><li><b>…</b>…</li></ul> – selektory mocniejsze niż listy w treści artykułu. */
  main > article .zasady-c ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; max-width: none; }
  main > article .zasady-c ul > li + li { margin-top: 0; }
  .zasady-c p + p, .zasady-c p + ul, .zasady-c ul + p { margin-top: 0.85rem; }
  .zasady-c li { position: relative; padding-left: 1.6rem; font-size: 1.0625rem; line-height: 1.45; color: var(--tusz-2); }
  .zasady-c li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 0.7rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: url("../img/tex-kobalt.d8b1cf2b77f2.webp") center / cover;
  }
  .zasady-c :is(b, strong) { color: var(--tusz); font-weight: 640; }

  /* --- Tablet: pasmo w jednej kolumnie, nazwa i cena w jednym rzędzie ----- */
  @media (max-width: 59.99rem) {
    .styl {
      --fala-h: 24px;
      grid-template-columns: minmax(0, 1fr);
      row-gap: 1.35rem;
    }
    .styl__glowa {
      grid-row: auto;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      column-gap: 1.25rem;
      row-gap: 0.35rem;
      align-items: start;
    }
    .styl__nazwa { grid-column: 1; }
    .styl__dopisek { grid-column: 1; margin: 0; }
    .styl__cena {
      grid-column: 2;
      grid-row: 1 / span 2;
      flex-direction: column;
      align-items: flex-end;
      gap: 0.2rem;
      margin: 0.2rem 0 0;
      text-align: right;
    }
    .styl__dalej { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 1rem; margin-top: 0.15rem; }
    .styl__wiecej { min-height: 2.75rem; }
    .bilety, .styl__brak { grid-column: 1; }
    .styl--pomarancz { --fala-w: 196px; }
    .styl--kobalt { --fala-w: 156px; }
    .styl--kobalt-jasny { --fala-w: 182px; }
    .styl--szafran { --fala-w: 168px; }
    .fala-papieru { --fala-h: 24px; --fala-w: 190px; }
    .cennik-c { grid-template-columns: minmax(0, 1fr); }
  }

  /* --- Telefon --------------------------------------------------------------- */
  @media (max-width: 47.99rem) {
    .grafik-c { grid-template-columns: minmax(0, 1fr); }
    .grafik-c > .filtr-c { grid-column: 1; grid-row: auto; justify-self: stretch; margin-top: 1.25rem; top: 0.5rem; }
    .filtr-c__opcja { flex: 1 1 auto; padding-inline: 0.5rem; }
    .sezon-c__daty { font-size: 1.0625rem; }
    .style-c { margin-top: 1.5rem; }
    .styl {
      --fala-h: 20px;
      row-gap: 1.1rem;
      padding: calc(var(--fala-h) + 1.5rem) var(--wylew) calc(var(--fala-h) + 1.9rem);
    }
    .styl--pomarancz { --fala-w: 172px; }
    .styl--kobalt { --fala-w: 134px; }
    .styl--kobalt-jasny { --fala-w: 158px; }
    .styl--szafran { --fala-w: 146px; }
    .styl__glowa { column-gap: 0.9rem; row-gap: 0.2rem; }
    .styl__dalej { margin-top: 0.4rem; }
    main > article .styl__nazwa { font-size: 1.5rem; letter-spacing: -0.015em; }
    .styl__dopisek { font-size: 1rem; }
    .styl__kwota { font-size: 1.5rem; }
    .styl__jednostka { font-size: 0.875rem; }
    .styl__opis, .styl__wiecej { font-size: 0.9375rem; }
    .styl__brak { font-size: 1rem; }
    .fala-papieru { --fala-h: 20px; --fala-w: 160px; padding-top: calc(var(--fala-h) + 2.25rem); }
    .cena-c { grid-template-columns: 0.85rem minmax(0, 1fr) auto; column-gap: 0.75rem; }
    .cena-c::before { width: 0.85rem; }
    .cena-c__nazwa { font-size: 1.0625rem; }
  }

  /* --- Ruch: jeden moment – zmiana miasta przeczesuje farbę ----------------- */
  @media (prefers-reduced-motion: no-preference) {
    .filtr-uzyty .bilet {
      transition: opacity 0.5s var(--ease-wyjscie), translate 0.5s var(--ease-wyjscie);
    }
    @starting-style {
      .filtr-uzyty .bilet { opacity: 0; translate: 0 0.5rem; }
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .grafik-c { transition: none; }
  }
}
