/* Fundacja Muzyka Bez Granic — styl strony
   Paleta z logo: niebieski M, czerwona nuta b, zielony ogonek g, cienka linia spirali. */

:root {
  --paper: #fbfcfe;
  --mist: #eef3fa;
  --mist-2: #e3ebf6;
  --line: #d6dfec;
  --ink: #17233d;
  --ink-soft: #4b5a78;
  --blue: #014a97;
  --blue-deep: #08326a;
  --blue-tint: #e6eef8;
  --red: #c4151c;
  --green: #00833f;
  --green-tint: #e3f2ea;
  --red-tint: #fbe9ea;

  --f-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --f-body: 'Lato', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1180px;
  --wrap-wide: 1360px;
  --wrap-narrow: 760px;
  --gut: clamp(20px, 4vw, 40px);
  --r-img: 14px;
  --r-card: 20px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --head-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-body);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
button { font: inherit; }
::selection { background: var(--blue); color: #fff; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.wrap--wide { width: min(100% - 2 * var(--gut), var(--wrap-wide)); }
.narrow { width: min(100% - 2 * var(--gut), var(--wrap-narrow)); margin-inline: auto; }
.muted { color: var(--ink-soft); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Typografia ── */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -.01em; font-optical-sizing: auto; }
.h-section { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 450; }
.h-small { font-family: var(--f-body); font-size: 1.125rem; font-weight: 700; letter-spacing: .005em; color: var(--blue-deep); margin-bottom: .75rem; }
.prose { max-width: 68ch; }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1em; }
.prose--lg { font-size: 1.1875rem; line-height: 1.7; }
.prose h2 { font-size: 1.75rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.4em; }
.prose h4 { font-family: var(--f-body); font-size: 1.05rem; font-weight: 700; margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 0; }
.prose li + li { margin-top: .35em; }
.prose blockquote { margin-left: 0; padding: .2em 0 .2em 1.2em; border-left: 3px solid var(--green); font-family: var(--f-display); font-size: 1.25em; line-height: 1.45; color: var(--blue-deep); }
.prose img { border-radius: var(--r-img); }
.prose strong { font-weight: 700; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }

/* ── Przyciski ── */
.btn {
  --bg: transparent; --fg: var(--blue); --bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.5em;
  border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font: 700 .9875rem/1.2 var(--f-body); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 40px; padding: .5em 1.1em; font-size: .9rem; }
.btn--blue { --bg: var(--blue); --fg: #fff; --bd: var(--blue); }
.btn--blue:hover { --bg: var(--blue-deep); --bd: var(--blue-deep); color: #fff; }
.btn--green { --bg: var(--green); --fg: #fff; --bd: var(--green); }
.btn--green:hover { --bg: #006a33; color: #fff; }
.btn--ghost { --fg: var(--blue); --bd: var(--line); --bg: #fff; }
.btn--ghost:hover { --bd: var(--blue); color: var(--blue); }
.btn--white { --bg: #fff; --fg: var(--blue-deep); --bd: #fff; }
.btn--white:hover { --bg: var(--mist); color: var(--blue-deep); }
.btn--outline-white { --fg: #fff; --bd: rgba(255,255,255,.5); }
.btn--outline-white:hover { --bd: #fff; color: #fff; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--blue); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.iconbtn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; }
.iconbtn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.iconbtn:hover { border-color: var(--blue); color: var(--blue); }
.link-more { font-weight: 700; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.link-more::after { content: ''; width: 18px; height: 1.5px; background: currentColor; transition: width .3s var(--ease); }
.link-more:hover::after { width: 30px; }

/* ── Etykiety kategorii ── */
.chip { display: inline-flex; align-items: center; min-height: 30px; padding: .2em .85em; border-radius: 999px; font-size: .8125rem; font-weight: 700; text-decoration: none; background: var(--blue-tint); color: var(--blue); }
.chip--green { background: var(--green-tint); color: #006a33; }
.chip--red { background: var(--red-tint); color: #a3121a; }
.chip--plain { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.chips .chip { min-height: 40px; padding: .4em 1.1em; font-size: .9rem; border: 1px solid transparent; }
.chips .chip[aria-current] { border-color: currentColor; box-shadow: inset 0 0 0 1px currentColor; }
.chip:hover { filter: brightness(.96); }

/* ── Kafelek daty ── */
.datetile { display: inline-grid; grid-template-rows: auto auto auto; justify-items: center; align-content: center; width: 68px; min-height: 76px; padding: 8px 4px; border-radius: 12px; background: var(--green); color: #fff; line-height: 1; flex: none; }
.datetile__d { font: 500 1.9rem/1 var(--f-display); }
.datetile__m { font-size: .78rem; font-weight: 700; margin-top: 4px; }
.datetile__y { font-size: .68rem; opacity: .8; margin-top: 3px; }
.datetile--lg { width: 92px; min-height: 104px; border-radius: 16px; }
.datetile--lg .datetile__d { font-size: 2.6rem; }
.datetile--float { position: absolute; left: 14px; top: 14px; box-shadow: 0 6px 20px -8px rgba(0,60,30,.5); }
.is-past .datetile { background: var(--mist-2); color: var(--ink-soft); }

/* ── Nagłówek strony ── */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(251,252,254,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-head.is-scrolled { border-bottom-color: var(--line); }
.site-head__in { width: min(100% - 2 * var(--gut), var(--wrap-wide)); margin-inline: auto; height: var(--head-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blue); flex: none; }
.sygnet--brand { width: 52px; height: auto; color: var(--ink); }
.brand__word { display: grid; font: 900 1.02rem/1.02 var(--f-body); letter-spacing: .04em; text-transform: uppercase; }
.brand__word span:last-child { font-size: .78rem; letter-spacing: .11em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link { display: block; padding: 10px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; transition: color .2s, background .2s; }
.nav__link:hover { color: var(--blue); background: var(--mist); }
.nav__link[aria-current] { color: var(--blue); background: var(--blue-tint); }
.nav__extra { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: .78rem; font-weight: 900; letter-spacing: .06em; background: #fff; }
.lang span { padding: 6px 9px; border-radius: 999px; }
.lang__on { background: var(--ink); color: #fff; }
.lang__off { color: var(--ink-soft); }
.lang:hover .lang__off { color: var(--blue); }
.burger { display: none; margin-left: auto; align-items: center; gap: 10px; background: none; border: 0; padding: 10px 4px; cursor: pointer; color: var(--ink); font-weight: 700; }
.burger__lines { width: 26px; height: 14px; position: relative; }
.burger__lines span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger__lines span:first-child { top: 2px; }
.burger__lines span:last-child { top: 10px; }
.burger[aria-expanded="true"] .burger__lines span:first-child { top: 6px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines span:last-child { top: 6px; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--head-h) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; justify-content: space-between; gap: 24px;
    padding: 24px var(--gut) calc(32px + env(safe-area-inset-bottom));
    background: var(--paper);
    clip-path: circle(0 at calc(100% - 40px) 0);
    visibility: hidden;
    transition: clip-path .6s var(--ease), visibility 0s .6s;
    overflow-y: auto;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 40px) 0); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { font: 450 clamp(1.8rem, 7vw, 2.6rem)/1.15 var(--f-display); padding: 10px 0; border-radius: 0; background: none !important; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav__list > li { animation: navIn .6s var(--ease) both; }
  .nav.is-open .nav__list > li:nth-child(2) { animation-delay: .04s; }
  .nav.is-open .nav__list > li:nth-child(3) { animation-delay: .08s; }
  .nav.is-open .nav__list > li:nth-child(4) { animation-delay: .12s; }
  .nav.is-open .nav__list > li:nth-child(5) { animation-delay: .16s; }
  .nav.is-open .nav__list > li:nth-child(6) { animation-delay: .2s; }
  .nav.is-open .nav__list > li:nth-child(7) { animation-delay: .24s; }
  .nav__extra { justify-content: space-between; }
  .nav__extra .btn { flex: 1; min-height: 52px; }
  body.nav-open { overflow: hidden; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) { .brand__word { font-size: .9rem; } .brand__word span:last-child { font-size: .7rem; } .sygnet--brand { width: 44px; } .burger__label { display: none; } }

/* ── Sygnet: animacja rysowania ── */
.sygnet { overflow: visible; }
.sygnet--brand { --sgw: 12; --sgs: 22; }

.sygnet--foot { --sgw: 9; --sgs: 16; }

.sygnet--ph { --sgw: 4; }
.sygnet--pagehead { --sgw: 3; } .sygnet--navdeco { --sgw: 4; }
.js .is-drawing .sg-line, .js .is-drawing .sg-stem { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .is-drawing .sg-m, .js .is-drawing .sg-b, .js .is-drawing .sg-g { opacity: 0; }
.js .is-drawing .sg-m { clip-path: inset(0 100% 0 0); }
.js .is-drawing .sg-g { clip-path: inset(0 0 0 100%); }
.js .is-drawing .sg-b { transform: scale(.4); transform-box: fill-box; transform-origin: 50% 50%; }
.is-drawn .sg-line { animation: sgDraw 2.2s var(--ease) forwards; }
.is-drawn .sg-l0 { animation-delay: .9s; animation-duration: 1.6s; }
.is-drawn .sg-l1 { animation-delay: .35s; }
.is-drawn .sg-l2 { animation-delay: .1s; }
.is-drawn .sg-stem { animation: sgDraw .5s var(--ease) 1.9s forwards; }
.is-drawn .sg-m { animation: sgWipeR 1s var(--ease) .5s forwards; }
.is-drawn .sg-b { animation: sgPop .7s cubic-bezier(.3,1.6,.5,1) 2.2s forwards; }
.is-drawn .sg-g { animation: sgWipeL 1s var(--ease) 1.4s forwards; }
@keyframes sgDraw { to { stroke-dashoffset: 0; } }
@keyframes sgWipeR { to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes sgWipeL { to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes sgPop { to { opacity: 1; transform: scale(1); } }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(32px, 5vw, 64px); min-height: min(84vh, 820px); display: flex; align-items: center; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 70% at 78% 40%, var(--blue-tint), transparent 70%); pointer-events: none; }
.hero__art { position: absolute; right: max(-4vw, -60px); top: 50%; width: min(50vw, 760px); transform: translateY(-50%); color: var(--ink); pointer-events: none; }
.sygnet--hero { width: 100%; transform: rotate(var(--spin, 0deg)); transform-origin: 54% 50%; transition: transform .1s linear; }
.sygnet--hero .sg-line { stroke-width: 1.5; }
.sygnet--hero .sg-stem { stroke-width: 4.5; }
.hero__in { position: relative; z-index: 1; }
@media (min-width: 901px) { .hero__in > * { max-width: min(58%, 720px); } .hero__title { max-width: 8.2em; } }
.hero__org { margin: 0 0 1.4rem; font-weight: 900; font-size: .9rem; letter-spacing: .08em; color: var(--blue); }
.hero__title { font-size: clamp(3rem, 1.4rem + 5.6vw, 6.6rem); font-weight: 400; line-height: .98; letter-spacing: -.025em; max-width: 8.2em; color: var(--ink); font-variation-settings: 'SOFT' 50, 'WONK' 0; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .w > span { display: inline-block; transform: translateY(105%); animation: wordUp 1s var(--ease) forwards; }
@keyframes wordUp { to { transform: none; } }
.hero__lead { max-width: 31em; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.6; color: var(--ink-soft); margin: 1.6rem 0 0; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 2.4rem; }
.hero__next { display: flex; align-items: center; gap: 16px; padding: 10px 22px 10px 10px; border-radius: 18px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); max-width: 30rem; box-shadow: 0 18px 40px -28px rgba(1,74,151,.55); transition: border-color .25s, transform .25s var(--ease); }
.hero__next:hover { border-color: var(--green); color: var(--ink); transform: translateY(-2px); }
.hero__next > span:last-child { display: grid; gap: 2px; }
.hero__next-label { font-size: .8rem; font-weight: 700; color: var(--green); }
.hero__next-title { font: 500 1.15rem/1.25 var(--f-display); }
.hero__next-place { font-size: .88rem; color: var(--ink-soft); }
.js .hero [data-anim] { opacity: 0; transform: translateY(16px); }
.js .hero.is-in [data-anim] { animation: fadeUp .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: 24px; flex-direction: column; align-items: stretch; }
  .hero__art { position: relative; right: auto; top: auto; transform: none; width: min(92vw, 520px); margin: 0 -8vw 8px auto; }
  .hero::before { background: radial-gradient(80% 50% at 70% 20%, var(--blue-tint), transparent 70%); }
}

/* ── Sekcje ── */
.sec { padding: clamp(48px, 6vw, 88px) 0; }
.sec--tight { padding: clamp(36px, 5vw, 64px) 0; }
.sec--mist { background: var(--mist); }
.sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.sec__note { color: var(--ink-soft); margin: -12px 0 24px; }
.sec .h-section { margin-bottom: clamp(20px, 2.5vw, 32px); }
.sec__head .h-section { margin-bottom: 0; }
.empty { padding: 32px; border: 1.5px dashed var(--line); border-radius: var(--r-card); color: var(--ink-soft); text-align: center; }

/* ── Lista koncertów ── */
.evlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.evrow { border-bottom: 1px solid var(--line); }
.evrow__link { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px, 3vw, 36px); align-items: center; padding: 18px 8px; text-decoration: none; color: var(--ink); position: relative; transition: background .3s; border-radius: 12px; }
.evrow__link:hover { background: var(--mist); color: var(--ink); }
.evrow__main { display: grid; gap: 4px; }
.evrow__title { font: 500 clamp(1.2rem, 1rem + .7vw, 1.55rem)/1.2 var(--f-display); }
.evrow__meta { font-weight: 700; color: var(--green); font-size: .95rem; }
.is-past .evrow__meta { color: var(--ink-soft); }
.evrow__time { margin-left: .4em; padding-left: .6em; border-left: 1px solid var(--line); }
.evrow__place { color: var(--ink-soft); font-size: .95rem; }
.evrow__go { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.evrow__go svg { width: 20px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.evrow__link:hover .evrow__go { background: var(--blue); border-color: var(--blue); transform: translateX(4px); }
.evrow__link:hover .evrow__go svg { stroke: #fff; }
.evlist--archive .evrow__title { font-size: 1.15rem; }
@media (max-width: 600px) { .evrow__go { display: none; } .evrow__link { grid-template-columns: auto 1fr; } .evrow__time { display: block; margin: 2px 0 0; padding: 0; border: 0; } }

/* ── Karty aktualności ── */
.newsgrid { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: repeat(3, auto); gap: 20px clamp(24px, 4vw, 56px); }
.newsgrid .ncard--lead { grid-row: span 3; }
.ncard { position: relative; display: grid; gap: 16px; align-content: start; }
.ncard__img { position: relative; display: block; overflow: hidden; border-radius: var(--r-img); aspect-ratio: 3 / 2; background: var(--mist); }
.ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ncard:hover .ncard__img img { transform: scale(1.04); }
.ncard__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-soft); }
.sygnet--ph { width: 46%; opacity: .5; }
.ncard__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0; font-size: .875rem; color: var(--ink-soft); }
.ncard__title { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); font-weight: 500; }
.ncard__title a { color: var(--ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease); }
.ncard__title a::after { content: ''; position: absolute; inset: 0; }
.ncard__title a:hover { background-size: 100% 1.5px; }
.ncard .chip { position: relative; z-index: 2; }
.ncard__lead { margin: 0; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard--lead .ncard__title { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem); }
.ncard--lead .ncard__img { aspect-ratio: 4 / 3; }
.ncard--compact { grid-template-columns: 38% 1fr; gap: 18px; align-items: start; }
.ncard--compact .ncard__img { aspect-ratio: 1; }
.ncard--compact .ncard__lead { -webkit-line-clamp: 2; font-size: .95rem; }
.ncard--compact .ncard__title { font-size: 1.25rem; }
.ncard--compact .datetile--float { transform: scale(.78); transform-origin: 0 0; left: 8px; top: 8px; }
.newslist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px clamp(20px, 3vw, 40px); }
.newslist .ncard--lead { grid-column: 1 / -1; grid-template-columns: 1.4fr 1fr; align-items: center; gap: clamp(24px, 4vw, 56px); }
.newslist--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .newsgrid { grid-template-columns: 1fr; }
  .newsgrid .ncard--lead { grid-row: auto; }
  .newslist, .newslist--3 { grid-template-columns: 1fr 1fr; }
  .newslist .ncard--lead { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .newslist, .newslist--3 { grid-template-columns: 1fr; } .ncard--compact { grid-template-columns: 34% 1fr; } }
.pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 56px; color: var(--ink-soft); }

/* ── Misja i cele ── */
.mission { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.mission__text .btn { margin-top: 2rem; }
.mission__aims { padding: clamp(24px, 3vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); }
.aims { margin: 0; padding: 0; list-style: none; counter-reset: aim; }
.aims li { counter-increment: aim; position: relative; padding: 12px 0 12px 52px; border-top: 1px solid var(--line); line-height: 1.5; }
.aims li:first-child { border-top: 0; }
.aims li::before { content: counter(aim); position: absolute; left: 0; top: 10px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font: 500 1rem/1 var(--f-display); color: var(--blue); background: var(--blue-tint); }
.aims li:nth-child(3n+2)::before { color: #006a33; background: var(--green-tint); }
.aims li:nth-child(3n)::before { color: #a3121a; background: var(--red-tint); }
.aims--short li { padding-top: 10px; padding-bottom: 10px; font-size: .98rem; }
.mission__aims .link-more { margin-top: 16px; }
.aims--cols { columns: 2 340px; column-gap: clamp(32px, 5vw, 72px); }
.aims--cols li { break-inside: avoid; border-top: 0; border-bottom: 1px solid var(--line); }
.aims--small li { font-size: .95rem; }
.more { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 24px; }
.more summary { cursor: pointer; font-weight: 700; color: var(--blue); list-style: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: '+'; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid currentColor; font-size: 1.1rem; transition: transform .3s var(--ease); }
.more[open] summary::before { transform: rotate(45deg); }
.more[open] > *:not(summary) { animation: fadeUp .5s var(--ease); }
@media (max-width: 900px) { .mission { grid-template-columns: 1fr; } }

/* ── Ad libitum (sekcja ze zdjęciem) ── */
.choir { position: relative; padding: clamp(40px, 8vw, 120px) 0; isolation: isolate; }
.choir__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.choir__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06) translateY(var(--par, 0px)); }
.choir__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,50,106,.85) 0%, rgba(8,50,106,.45) 50%, rgba(8,50,106,0) 85%); }
.choir__card { max-width: 560px; color: #fff; }
.choir__title { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem); font-weight: 400; }
.choir__title span { display: block; font-weight: 600; }
.choir__card > p { font-size: 1.125rem; opacity: .92; }
.facts { list-style: none; padding: 0; margin: 1.8rem 0 2rem; display: grid; gap: 0; }
.facts li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.22); }
.facts strong { font: 500 1.5rem/1.1 var(--f-display); min-width: 4.5em; }
.facts span { opacity: .88; }
.choir .btn--blue { --bg: #fff; --fg: var(--blue-deep); --bd: #fff; }
@media (max-width: 700px) { .choir__media::after { background: linear-gradient(180deg, rgba(8,50,106,.55), rgba(8,50,106,.92)); } }

/* ── Pasek wsparcia ── */
.supportband { background: var(--blue); color: #fff; padding: clamp(48px, 7vw, 96px) 0; position: relative; overflow: hidden; }
.supportband::before { content: ''; position: absolute; width: 640px; height: 640px; right: -180px; top: -240px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 0 0 70px rgba(255,255,255,.03), 0 0 0 71px rgba(255,255,255,.12), 0 0 0 150px rgba(255,255,255,.02), 0 0 0 151px rgba(255,255,255,.09); }
.supportband__in { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.supportband__title { font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); font-weight: 400; }
.supportband__text p { font-size: 1.15rem; max-width: 34em; opacity: .92; margin: 1rem 0 1.8rem; }
.account { padding: 28px; border-radius: var(--r-card); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); }
.account__label { margin: 0; font-size: .9rem; opacity: .85; }
.account__no { margin: .4rem 0; font: 500 clamp(1.15rem, 1rem + .6vw, 1.5rem)/1.3 var(--f-display); letter-spacing: .02em; word-spacing: .15em; }
.account__title { margin: 0 0 1rem; font-size: .9rem; opacity: .85; }
@media (max-width: 800px) { .supportband__in { grid-template-columns: 1fr; } }

/* ── Nagłówki podstron ── */
.pagehead { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(28px, 4vw, 56px); overflow: hidden; }
.pagehead__title { font-size: clamp(2.5rem, 1.5rem + 4vw, 5rem); font-weight: 400; line-height: 1.02; letter-spacing: -.02em; max-width: 14em; }
.pagehead__lead { max-width: 40em; font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); color: var(--ink-soft); margin: 1.2rem 0 0; }
.pagehead--art { padding-right: 0; }
.pagehead--art .wrap { position: relative; z-index: 1; }
.sygnet--pagehead { position: absolute; right: -6vw; top: 50%; width: min(42vw, 520px); transform: translateY(-48%) rotate(-12deg); opacity: .14; color: var(--ink); pointer-events: none; }
.pagehead--photo { min-height: min(70vh, 640px); display: flex; align-items: flex-end; color: #fff; }
.pagehead__bg { position: absolute; inset: 0; z-index: -1; }
.pagehead--photo { isolation: isolate; }
.pagehead__bg img { width: 100%; height: 100%; object-fit: cover; }
.pagehead__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,30,70,.88) 0%, rgba(8,30,70,.2) 65%); }
.pagehead--photo .pagehead__lead { color: rgba(255,255,255,.9); }
.pagehead--404 { min-height: 60vh; display: flex; align-items: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split__img img { border-radius: var(--r-img); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ── Zarząd ── */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.person__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-img); background: var(--mist-2); display: grid; place-items: center; }
.person__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1.2s var(--ease); }
.person:hover .person__img img { transform: scale(1.03); }
.person__name { font-size: 1.45rem; margin-top: 18px; }
.person__role { margin: 4px 0 10px; font-weight: 700; color: var(--blue); }
.person__bio { margin: 0; color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .team { grid-template-columns: 1fr; } }

/* ── Ad libitum: głosy, nagrody ── */
.voices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.voice { padding: 22px 24px; border-radius: var(--r-card); border: 1px solid var(--line); background: #fff; }
.voice h3 { font-size: 1.35rem; color: var(--blue); margin-bottom: 10px; }
.voice ul { list-style: none; margin: 0; padding: 0; }
.voice li { padding: 5px 0; border-top: 1px solid var(--mist-2); }
.voice li:first-child { border-top: 0; }
.voice:nth-child(2) h3 { color: var(--green); }
.voice:nth-child(3) h3 { color: var(--red); }
.awards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.awards li { padding: 16px 18px 16px 44px; background: #fff; border-radius: 12px; position: relative; }
.awards li::before { content: ''; position: absolute; left: 18px; top: 22px; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; background: var(--red); transform: rotate(-45deg); }
@media (max-width: 900px) { .voices { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .voices { grid-template-columns: 1fr; } }

.teams { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 40px; }
.teams li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.teams span { color: var(--ink-soft); font-size: .95rem; }

/* ── Artykuł ── */
.article__head { padding: clamp(28px, 5vw, 64px) 0 clamp(24px, 3vw, 40px); }
.backlink { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: .92rem; margin-bottom: 24px; }
.backlink svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.backlink:hover svg { transform: translateX(-4px); }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--ink-soft); }
.article__title { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4.4rem); font-weight: 400; line-height: 1.04; letter-spacing: -.02em; max-width: 18em; }
.article__lead { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); color: var(--ink-soft); max-width: 38em; margin: 1.2rem 0 0; line-height: 1.55; }
.article__cover { margin-bottom: clamp(32px, 5vw, 64px); }
.article__cover img { width: 100%; max-height: 78vh; object-fit: cover; border-radius: var(--r-img); }
.article__grid { display: grid; gap: clamp(32px, 5vw, 72px); padding-bottom: clamp(40px, 6vw, 80px); }
.article__grid.has-events { grid-template-columns: minmax(300px, 400px) 1fr; align-items: start; }
.article__events { display: grid; gap: 16px; position: sticky; top: calc(var(--head-h) + 20px); }
.article__body { min-width: 0; }
.article__body > * + * { margin-top: 40px; }
@media (max-width: 900px) { .article__grid.has-events { grid-template-columns: 1fr; } .article__events { position: static; } }

.evcard { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 20px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 48px -36px rgba(1,74,151,.45); }
.evcard__flag { margin: 0 0 8px; font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.evcard__flag--now { color: var(--red); }
.evcard__dl { margin: 0; display: grid; gap: 12px; }
.evcard__dl dt { font-size: .78rem; font-weight: 700; color: var(--ink-soft); }
.evcard__dl dd { margin: 2px 0 0; line-height: 1.45; }
.evcard__price { margin: 12px 0 0; font-weight: 700; color: var(--green); }
.evcard__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.evcard__actions .btn { min-height: 40px; padding: .45em 1em; font-size: .88rem; }

.share { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding-top: 24px; border-top: 1px solid var(--line); font-size: .95rem; }
.share span { color: var(--ink-soft); }
.notice { padding: 14px 18px; border-radius: 12px; background: var(--red-tint); color: #8d1016; font-weight: 700; margin: 0 0 20px; }
.notice--soft { background: var(--mist); color: var(--ink-soft); font-weight: 400; margin-top: 20px; }
.notice--ok { background: var(--green-tint); color: #005a2b; }
.notice--err { background: var(--red-tint); color: #8d1016; }

/* ── Pliki ── */
.files .h-section { font-size: 1.5rem; margin-bottom: 16px; }

/* ── Wideo ── */
.video { margin: 0; }
.video__btn { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--r-img); overflow: hidden; cursor: pointer; background: var(--ink); }
.video__btn img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .3s, transform 1s var(--ease); }
.video__btn:hover img { opacity: 1; transform: scale(1.03); }
.video__play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(196,21,28,.5); animation: pulse 2.4s infinite; }
.video__play svg { width: 34px; fill: #fff; margin-left: 4px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 22px rgba(196,21,28,0); } 100% { box-shadow: 0 0 0 0 rgba(196,21,28,0); } }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-img); display: block; }
.video figcaption { font-size: .82rem; color: var(--ink-soft); margin-top: 8px; }

/* ── Galeria przewijana ── */
.gallery { padding: clamp(32px, 5vw, 64px) 0; }
.gallery__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 24px; margin-bottom: 20px; }
.gallery__head .h-section { margin: 0; }
.gallery__hint { grid-row: 2; margin: 0; color: var(--ink-soft); font-size: .92rem; }
.gallery__nav { grid-row: 1 / 3; grid-column: 2; display: flex; gap: 10px; }
.gallery__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; padding-bottom: 4px; overscroll-behavior-x: contain; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery__track.is-dragging .gallery__item { pointer-events: none; }
.gallery__item { flex: none; height: clamp(240px, 42vw, 480px); aspect-ratio: var(--ar, 1.5); scroll-snap-align: start; border-radius: var(--r-img); overflow: hidden; background: var(--mist); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .4s; -webkit-user-drag: none; user-select: none; }
.gallery__item:hover img { transform: scale(1.035); }
.gallery__bar { height: 2px; background: var(--line); margin-top: 18px; border-radius: 2px; overflow: hidden; }
.gallery__bar span { display: block; height: 100%; width: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(var(--p, .1)); }
.gallery__credit { margin: 10px 0 0; font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 600px) { .gallery__head { grid-template-columns: 1fr; } .gallery__nav { display: none; } .gallery__item { height: 60vw; } }

/* ── Lightbox ── */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,18,36,.94); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 16px; touch-action: pan-y; }
.lightbox[hidden] { display: none; }
.lightbox.is-open { animation: lbIn .35s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lightbox__stage { position: relative; height: calc(100vh - 32px); height: calc(100dvh - 32px); display: grid; place-items: center; overflow: hidden; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; user-select: none; -webkit-user-drag: none; transition: transform .45s var(--ease), opacity .3s; cursor: grab; }
.lightbox .iconbtn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.lightbox .iconbtn:hover { background: rgba(255,255,255,.18); border-color: #fff; color: #fff; }
.lightbox__close { position: absolute; top: 16px; right: 16px; z-index: 2; }
.lightbox__count { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); margin: 0; color: rgba(255,255,255,.75); font-size: .9rem; }
@media (max-width: 700px) { .lightbox { grid-template-columns: 1fr; } .lightbox__prev, .lightbox__next { display: none; } }

/* ── Mecenasi ── */
.supporters { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.supporter { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; align-items: start; transition: border-color .3s, box-shadow .3s; }
.supporter:hover { border-color: var(--mist-2); box-shadow: 0 24px 48px -36px rgba(1,74,151,.4); }
.supporter__logo { aspect-ratio: 1; display: grid; place-items: center; padding: 10px; background: var(--mist); border-radius: 12px; }
.supporter__logo img { max-height: 100%; object-fit: contain; }
.supporter__name-only { font: 500 1rem/1.2 var(--f-display); text-align: center; color: var(--blue); }
.supporter__name { font-size: 1.3rem; }
.supporter__body p { margin: .5em 0 0; color: var(--ink-soft); font-size: .97rem; }
.supporter__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px !important; }
.supporter--rich { grid-column: 1 / -1; grid-template-columns: 200px 1fr; padding: 28px; border-color: var(--blue-tint); background: linear-gradient(120deg, #fff 50%, var(--blue-tint)); }
@media (max-width: 520px) { .supporter, .supporter--rich { grid-template-columns: 1fr; } .supporter__logo { max-width: 160px; } }

/* ── Prezentacja wspierającego ── */
.present__head { padding: clamp(36px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); }
.present__headin { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.present__type { margin: 0 0 14px; }
.present__type a { font-weight: 700; text-decoration: none; }
.present__title { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4.2rem); font-weight: 400; line-height: 1.05; max-width: 16em; }
.present__lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 36em; margin: 1rem 0 1.6rem; }
.present__logo { width: clamp(180px, 22vw, 300px); padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); }
.present__photo { margin-bottom: clamp(32px, 5vw, 64px); }
.present__photo img { width: 100%; border-radius: var(--r-img); }
.portrait { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.portrait__img { margin: 0; }
.portrait__img img { border-radius: var(--r-img); }
.portrait__img figcaption { margin-top: 10px; font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 800px) { .present__headin, .portrait { grid-template-columns: 1fr; } .present__logo { order: -1; } }

/* ── Wsparcie i kontakt ── */
.donate { display: grid; gap: 16px; position: sticky; top: calc(var(--head-h) + 20px); }
.donate__box { padding: 28px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 48px -36px rgba(1,74,151,.45); }
.donate__no { font: 500 1.45rem/1.3 var(--f-display); color: var(--blue-deep); margin: 0 0 14px; word-spacing: .12em; }
.donate__dl { margin: 22px 0 0; display: grid; gap: 12px; }
.donate__dl dt { font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.donate__dl dd { margin: 2px 0 0; }
.donate__paypal { width: 100%; }
.donate__contact { margin: 0; color: var(--ink-soft); }
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__dl { margin: 0; display: grid; gap: 20px; }
.contact__dl dt { font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.contact__dl dd { margin: 4px 0 0; font-size: 1.05rem; }
.contact__form { padding: clamp(24px, 3vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); }
@media (max-width: 900px) { .contact, .split--support { grid-template-columns: 1fr; } .donate { position: static; } }

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .95rem; }
.field input[type=text], .field input[type=email], .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-tint); }
.field__err { margin: 6px 0 0; color: var(--red); font-size: .88rem; font-weight: 700; min-height: 0; }
.field__err:empty { display: none; }
.has-err input, .has-err textarea { border-color: var(--red); }
.field--check label { display: flex; gap: 12px; font-weight: 400; align-items: flex-start; }
.field--check input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--blue); }

/* ── Stopka ── */
.site-foot { margin-top: 0; }
.foot-supporters { padding: 44px 0; border-top: 1px solid var(--line); background: #fff; }
.foot-supporters__title { font: 700 .95rem/1.2 var(--f-body); margin-bottom: 22px; text-align: center; }
.foot-supporters__title a { color: var(--ink-soft); text-decoration: none; }
.foot-supporters__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 40px; }
.foot-supporters__list li { width: 150px; height: 72px; display: grid; place-items: center; }
.foot-supporters__list a { display: grid; place-items: center; width: 100%; height: 100%; }
.foot-supporters__list img { max-height: 72px; max-width: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .3s, opacity .3s; }
.foot-supporters__list a:hover img, .foot-supporters__list a:focus-visible img { filter: none; opacity: 1; }
.foot-main { background: var(--ink); color: rgba(255,255,255,.82); padding: 64px 0 28px; }
.foot-main a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid p { margin: 0 0 .6em; }
.sygnet--foot { width: 84px; color: rgba(255,255,255,.9); margin-bottom: 18px; }
.foot-brand__name { font: 500 1.4rem/1.2 var(--f-display); color: #fff; }
.foot-brand__tag { color: rgba(255,255,255,.65); }
.foot-h { font: 700 .95rem/1.2 var(--f-body); color: #fff; margin-bottom: 14px; }
.social { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem; color: rgba(255,255,255,.6); }
.foot-bottom p { margin: 0; }
.foot-credit { margin-left: auto !important; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-credit { margin-left: 0 !important; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ── Pojawianie się przy przewijaniu ── */
/* clip-path na dzieciach — obserwowany element musi mieć widoczną powierzchnię */
.js [data-reveal="wipe"] > * { clip-path: inset(0 0 100% 0 round var(--r-img)); transition: clip-path 1.3s var(--ease); }
.js [data-reveal="wipe"].is-in > * { clip-path: inset(0 0 0 0 round var(--r-img)); }
.js .choir__media[data-reveal="wipe"] > * { clip-path: inset(12% 6% 12% 6%); }
.js .choir__media[data-reveal="wipe"].is-in > * { clip-path: inset(0 0 0 0); }
.js [data-reveal]:not([data-reveal="wipe"]) > * { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal]:not([data-reveal="wipe"]).is-in > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .is-drawing .sg-line, .js .is-drawing .sg-stem { stroke-dashoffset: 0; }
  .js .is-drawing .sg-m, .js .is-drawing .sg-b, .js .is-drawing .sg-g { opacity: 1; clip-path: none; transform: none; }
  .js [data-reveal] > * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js .hero [data-anim] { opacity: 1; transform: none; }
  .hero__title .w > span { transform: none; }
  .sygnet--hero { transform: none !important; }
}

@media print {
  .site-head, .site-foot, .supportband, .gallery__nav, .share { display: none; }
  body { background: #fff; }
}

/* ═══════════ Muzyczne dodatki ═══════════ */

/* Nuta podążająca obok kursora (dekoracja — kursor systemowy zostaje) */
.cnote { position: fixed; left: 0; top: 0; z-index: 401; width: 22px; height: 22px; margin: 0; pointer-events: none; color: var(--blue); opacity: 0; transition: opacity .25s, color .25s; will-change: transform; }
.cnote svg { width: 100%; height: 100%; fill: currentColor; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.cnote.is-on { opacity: .85; }
.cnote.is-link { color: var(--red); }
.cnote.is-link svg { transform: rotate(-16deg) scale(1.2); }
.cnote.is-text { opacity: 0; }
.ctrail { position: fixed; left: 0; top: 0; z-index: 400; width: 16px; height: 16px; pointer-events: none; color: var(--blue); opacity: .55; animation: trail 1.1s var(--ease) forwards; }
.ctrail svg { width: 100%; height: 100%; fill: currentColor; }
.ctrail--green { color: var(--green); } .ctrail--red { color: var(--red); }
@keyframes trail { to { opacity: 0; transform: translate(var(--tx, 0), var(--ty, -40px)) rotate(var(--rot, 20deg)) scale(.6); } }

/* Nuty w tle */
.bgnotes { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .site-foot { position: relative; z-index: 1; }

/* Nuta jako ikona */
.note { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* Pięciolinia — przerywnik */
.staff { position: relative; width: min(100% - 2 * var(--gut), var(--wrap)); margin: 0 auto; height: 64px; color: var(--ink); }
.staff__lines { width: 100%; height: 64px; display: block; overflow: visible; }
.staff__lines path { fill: none; stroke: var(--line); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.js .staff__lines path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) var(--d, 0s); }
.js .staff.is-in .staff__lines path { stroke-dashoffset: 0; }
.staff__notes { position: absolute; inset: 0; }
.staff__note { position: absolute; width: 26px; height: 26px; transform: translate(-50%, -6px); }
.staff__note .note { width: 26px; height: 26px; }
.staff__note--blue { color: var(--blue); } .staff__note--green { color: var(--green); } .staff__note--red { color: var(--red); } .staff__note--ink { color: var(--ink); }
.js .staff__note { opacity: 0; transform: translate(-50%, 10px) scale(.4); transition: opacity .5s var(--ease) var(--d), transform .7s cubic-bezier(.3,1.7,.5,1) var(--d); }
.js .staff.is-in .staff__note { opacity: 1; transform: translate(-50%, -6px) scale(1); }
.staff.is-in .staff__note .note { animation: bob 3.2s ease-in-out infinite; animation-delay: calc(var(--d) * 3); }
@keyframes bob { 50% { transform: translateY(-4px) rotate(-6deg); } }
@media (max-width: 600px) { .staff { height: 48px; } .staff__note, .staff__note .note { width: 20px; height: 20px; } }

/* Equalizer */
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: .9em; width: 1.1em; margin-right: .35em; vertical-align: -.05em; }
.eq i { flex: 1; background: currentColor; border-radius: 2px; height: 30%; animation: eq 1.1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; } .eq i:nth-child(4) { animation-delay: -.15s; } .eq i:nth-child(5) { animation-delay: -.45s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.supportband__title .eq { height: .55em; width: .8em; margin-left: .2em; vertical-align: .1em; }

/* ── Menu ── */
.nav__list { position: relative; align-items: center; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: block; padding: 10px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; transition: color .2s; position: relative; z-index: 1; }
.nav__link:hover, .nav__item.is-active > .nav__link { color: var(--blue); }
.nav__list a[aria-current] { background: none; }
.nav__item.has-sub > .nav__link { padding-right: 4px; }
.nav__toggle { display: grid; place-items: center; width: 26px; height: 26px; margin-right: 4px; border: 0; border-radius: 50%; background: none; color: var(--ink-soft); padding: 0; }
.nav__toggle svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.nav__item:hover .nav__toggle svg, .nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__marker { position: absolute; left: 0; top: 50%; height: 42px; width: 0; margin-top: -21px; border-radius: 999px; background: var(--blue-tint); box-shadow: inset 0 0 0 1px rgba(1,74,151,.08); transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s; opacity: 0; pointer-events: none; list-style: none; z-index: 0; }
.nav__marker::after { content: ''; position: absolute; left: 50%; bottom: 7px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--green); opacity: 0; transition: opacity .3s .15s; }
.nav__marker.is-on { opacity: 1; }
.nav__marker.is-current::after { opacity: 1; }
.sub { position: absolute; top: calc(100% + 14px); left: -16px; min-width: 330px; padding: 10px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(1,74,151,.45); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; z-index: 60; }
.sub::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__item:hover > .sub, .nav__item:focus-within > .sub, .nav__item.is-open > .sub { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .35s var(--ease), visibility 0s; }
.sub__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; position: relative; z-index: 1; }
.sub__link { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; text-decoration: none; color: var(--ink); transition: background .2s, transform .25s var(--ease); }
.sub__link:hover { background: var(--mist); color: var(--ink); transform: translateX(3px); }
.sub__ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue); flex: none; transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.sub__link--green .sub__ico { background: var(--green-tint); color: var(--green); } .sub__link--red .sub__ico { background: var(--red-tint); color: var(--red); }
.sub__link:hover .sub__ico { transform: rotate(-12deg) scale(1.08); }
.sub__ico .note { width: 20px; height: 20px; }
.sub__txt { display: grid; gap: 1px; }
.sub__txt strong { font-size: .95rem; }
.sub__txt small { color: var(--ink-soft); font-size: .82rem; }
.btn--note .note { width: 18px; height: 18px; transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.btn--note:hover .note { transform: rotate(-14deg) translateY(-2px); }
.nav__deco { display: none; }
@media (min-width: 1101px) { .nav__link[aria-current], .nav__link:hover { background: none; } }
@media (max-width: 1100px) {
  .nav__list { align-items: stretch; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__link { flex: 1; font: 450 clamp(1.8rem, 7vw, 2.6rem)/1.15 var(--f-display); padding: 10px 0; border-radius: 0; }
  .nav__toggle { width: 48px; height: 48px; border: 1px solid var(--line); }
  .nav__toggle svg { width: 20px; }
  .nav__item:hover .nav__toggle svg { transform: none; }
  .nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sub { position: static; min-width: 0; width: 100%; padding: 0 0 12px; border: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .sub::after, .sub::before { display: none; }
  .nav__item.is-open > .sub { display: block; animation: fadeUp .4s var(--ease); }
  .nav__item:hover > .sub, .nav__item:focus-within > .sub { display: none; }
  .nav__item.is-open:hover > .sub, .nav__item.is-open:focus-within > .sub { display: block; }
  .nav__marker { display: none; }
  .nav__deco { display: block; position: absolute; right: -60px; bottom: 80px; width: 260px; opacity: .12; color: var(--ink); pointer-events: none; }
  .nav { background: var(--paper) repeating-linear-gradient(0deg, transparent 0 23px, rgba(1,74,151,.05) 23px 24px); }
}

/* Nagłówki: słowa wjeżdżają przy przewijaniu */
.js .split-ready .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.js .split-ready .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: var(--wd, 0s); }
.js .split-ready.is-in .w > span { transform: none; }
.h-section { position: relative; }
.h-section::after { content: ''; display: block; width: 46px; height: 3px; margin-top: 14px; border-radius: 3px; background: linear-gradient(90deg, var(--blue) 0 33%, var(--green) 33% 66%, var(--red) 66%); transform-origin: 0 50%; transition: transform .9s var(--ease) .3s; }
.js .h-section.split-ready:not(.is-in)::after { transform: scaleX(0); }
.sec__head .h-section::after { margin-top: 10px; }
.supportband .h-section::after, .choir .h-section::after { background: #fff; }

/* Kafle i obrazy — delikatne wejścia */
.js [data-reveal="scale"] > * { opacity: 0; transform: scale(.94) translateY(16px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal="scale"].is-in > * { opacity: 1; transform: none; }
.ncard__img { isolation: isolate; }
.ncard__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%); transform: translateX(-120%); transition: transform 1s var(--ease); z-index: 1; }
.ncard:hover .ncard__img::after { transform: translateX(120%); }
.datetile { transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.evrow__link:hover .datetile, .ncard:hover .datetile { transform: rotate(-4deg) scale(1.05); }
.ncard--compact:hover .datetile--float { transform: scale(.82) rotate(-4deg); }
.facts strong { font-variant-numeric: tabular-nums; }

/* Nuty w pasku wsparcia */
.supportband__notes { position: absolute; inset: 0; pointer-events: none; color: rgba(255,255,255,.14); }
.supportband__notes .note { position: absolute; width: 60px; height: 60px; animation: floaty 9s ease-in-out infinite; }
.supportband__notes .n1 { left: 6%; top: 18%; } .supportband__notes .n2 { left: 44%; bottom: 10%; width: 80px; height: 80px; animation-delay: -3s; }
.supportband__notes .n3 { right: 8%; bottom: 18%; animation-delay: -5s; } .supportband__notes .n4 { left: 30%; top: 8%; width: 36px; height: 36px; animation-delay: -1.5s; }
@keyframes floaty { 50% { transform: translateY(-18px) rotate(10deg); } }

/* Nagłówki podstron — pięciolinia w tle */
.pagehead--art::after { content: ''; position: absolute; left: 0; right: 0; bottom: 18px; height: 41px; background: repeating-linear-gradient(0deg, transparent 0 9px, rgba(1,74,151,.08) 9px 10px); -webkit-mask: linear-gradient(90deg, transparent, #000 20%, #000 70%, transparent); mask: linear-gradient(90deg, transparent, #000 20%, #000 70%, transparent); pointer-events: none; }
.js .pagehead--art::after { animation: staffIn 1.6s var(--ease) both; }
@keyframes staffIn { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.sygnet--pagehead { animation: spinSlow 60s linear infinite; }
@keyframes spinSlow { from { transform: translateY(-48%) rotate(-12deg); } to { transform: translateY(-48%) rotate(348deg); } }

/* ── Mecenasi: kolorowe bloki ── */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump__a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; font-size: .92rem; transition: border-color .2s, transform .25s var(--ease); }
.jump__a:hover { transform: translateY(-2px); border-color: var(--blue); color: var(--ink); }
.jump__a small { color: var(--ink-soft); font-weight: 400; }
.jump__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.jump__a--red .jump__dot { background: var(--red); } .jump__a--green .jump__dot { background: var(--green); } .jump__a--mist .jump__dot { background: var(--ink-soft); }
.band { position: relative; padding: clamp(48px, 7vw, 96px) 0; overflow: hidden; }
.band::before { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid currentColor; opacity: .12; box-shadow: 0 0 0 40px rgba(255,255,255,.02), 0 0 0 41px currentColor; }
.band--blue { background: var(--blue-deep); color: #fff; }
.band--red { background: var(--red-tint); color: #7d0e13; }
.band--green { background: var(--green-tint); color: #00512a; }
.band--mist { background: var(--mist); color: var(--ink); }
.band__in { position: relative; display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.band__head { position: sticky; top: calc(var(--head-h) + 24px); }
.band__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: currentColor; margin-bottom: 18px; }
.band__icon .note { width: 28px; height: 28px; color: #fff; }
.band--blue .band__icon { background: #fff; } .band--blue .band__icon .note { color: var(--blue-deep); }
.band__icon { animation: bob 4s ease-in-out infinite; }
.band__title { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); font-weight: 450; color: inherit; }
.band__desc { margin: 12px 0 0; opacity: .85; }
.band__count { margin: 18px 0 0; font: 400 3.4rem/1 var(--f-display); opacity: .18; }
.band__body { display: grid; gap: 20px; min-width: 0; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.tile__in { height: 100%; display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; padding: 18px; border-radius: var(--r-card); background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 20px 40px -32px rgba(0,0,0,.5); transition: transform .35s var(--ease), box-shadow .35s; }
a.tile__in:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 30px 50px -30px rgba(0,0,0,.45); color: var(--ink); }
.tile__logo { height: 92px; display: grid; place-items: center; padding: 8px; border-radius: 12px; background: var(--paper); }
.tile__logo img { max-height: 76px; max-width: 100%; width: auto; object-fit: contain; }
.tile__nologo { font: 500 1.1rem/1.2 var(--f-display); color: var(--blue); text-align: center; }
.tile__name { font: 500 1.15rem/1.25 var(--f-display); }
.tile__short { font-size: .9rem; color: var(--ink-soft); }
.tile__url { font-size: .82rem; font-weight: 700; color: var(--blue); }

/* Darczyńcy: kompaktowe kafelki, gotowe na kolejne logotypy. */
#donor .tiles { grid-template-columns: repeat(auto-fill, minmax(150px, 180px)); justify-content: start; }
#donor .tile__in { gap: 6px; padding: 14px; }
#donor .tile__logo { height: 96px; padding: 7px; }
#donor .tile__logo img { max-height: 88px; }
#donor .tile__name { font-size: 1rem; }
#donor .tile__short, #donor .tile__url { font-size: .78rem; }
.feat__in { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: var(--r-card); overflow: hidden; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 30px 60px -36px rgba(0,0,0,.6); transition: transform .4s var(--ease); }
.feat__in:hover { transform: translateY(-4px); color: var(--ink); }
.feat__photo { position: relative; min-height: 260px; overflow: hidden; }
.feat__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.feat__in:hover .feat__photo img { transform: scale(1.05); }
.feat__body { display: grid; align-content: center; gap: 12px; padding: clamp(22px, 3vw, 36px); }
.feat__logo img { max-height: 54px; width: auto; }
.feat__name { font: 500 1.6rem/1.15 var(--f-display); }
.feat__short { color: var(--ink-soft); }
.feat__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); }
.feat__more .note { transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.feat__in:hover .feat__more .note { transform: translateX(4px) rotate(-14deg); }
@media (max-width: 900px) { .band__in { grid-template-columns: 1fr; } .band__head { position: static; } .band__count { display: none; } .feat__in { grid-template-columns: 1fr; } }

/* ── Projekty: rozwijane ── */
.projects__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.projects__count { margin: 0; color: var(--ink-soft); }
.projects__intro { margin-bottom: 32px; }
.projects { display: grid; gap: 14px; counter-reset: proj; }
.project { --acc: var(--blue); --tint: var(--blue-tint); border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .35s, border-color .35s; }
.project--green { --acc: var(--green); --tint: var(--green-tint); } .project--red { --acc: var(--red); --tint: var(--red-tint); }
.project[open] { border-color: var(--acc); box-shadow: 0 30px 60px -40px rgba(1,74,151,.45); }
.project__sum { list-style: none; display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px, 3vw, 32px); align-items: center; padding: clamp(18px, 2.5vw, 28px); position: relative; }
.project__sum::-webkit-details-marker { display: none; }
.project__sum::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--acc); transform: scaleY(.3); transform-origin: 50% 50%; transition: transform .45s var(--ease); }
.project:hover .project__sum::before, .project[open] .project__sum::before { transform: scaleY(1); }
.project__year { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--tint); color: var(--acc); font: 500 1.35rem/1 var(--f-display); text-align: center; padding: 6px; transition: transform .5s cubic-bezier(.3,1.5,.5,1); }
.project:hover .project__year { transform: rotate(-8deg) scale(1.05); }
.project__head { display: grid; gap: 6px; }
.project__kind { font-size: .82rem; font-weight: 700; color: var(--acc); }
.project__title { font: 500 clamp(1.3rem, 1.05rem + .8vw, 1.75rem)/1.2 var(--f-display); }
.project__lead { color: var(--ink-soft); max-width: 62ch; }
.project__toggle { position: relative; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--acc); transition: background .3s, border-color .3s, transform .5s var(--ease); }
.project__toggle .note { width: 22px; height: 22px; transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.project__toggle i { position: absolute; right: -2px; top: -2px; width: 18px; height: 18px; border-radius: 50%; background: var(--acc); }
.project__toggle i::before, .project__toggle i::after { content: ''; position: absolute; left: 4px; right: 4px; top: 8px; height: 2px; background: #fff; transition: transform .35s var(--ease); }
.project__toggle i::after { transform: rotate(90deg); }
.project[open] .project__toggle { background: var(--tint); border-color: var(--acc); }
.project[open] .project__toggle .note { transform: rotate(-20deg) scale(1.1); }
.project[open] .project__toggle i::after { transform: rotate(0); }
.project__content { padding: 0 clamp(18px, 2.5vw, 28px) clamp(22px, 3vw, 36px) calc(clamp(18px, 2.5vw, 28px) + 84px + clamp(16px, 3vw, 32px)); display: grid; gap: 28px; }
.project__grid.has-img { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
.project__img { margin: 0; } .project__img img { border-radius: var(--r-img); }
.project .gallery { padding: 0; }
.project .teams { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
@media (max-width: 800px) { .project__sum { grid-template-columns: auto 1fr; } .project__toggle { grid-column: 2; justify-self: start; width: 44px; height: 44px; } .project__year { width: 64px; height: 64px; font-size: 1.05rem; align-self: start; } .project__content { padding-left: clamp(18px, 2.5vw, 28px); } .project__grid.has-img { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .bgnotes, .ctrail, .cnote { display: none; }
  .js .staff__lines path { stroke-dashoffset: 0; } .js .staff__note { opacity: 1; transform: translate(-50%, -6px); }
  .js .split-ready .w > span { transform: none; }
  .js [data-reveal="scale"] > * { opacity: 1; transform: none; }
  .sygnet--pagehead { animation: none; }
}
/* Menu mobilne: filtr tła nagłówka tworzyłby kontener dla position:fixed */
@media (max-width: 1100px) { .site-head { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(251,252,254,.97); } }
@media (max-width: 1100px) { .nav__item.is-open .nav__toggle svg { transform: rotate(180deg); } }
.nav__toggle { position: relative; z-index: 1; }

/* ── Głosy chóru: klucze, pięciolinia, fala ── */
.voices { gap: 20px; }
.voice { --vc: var(--blue); --vt: var(--blue-tint); position: relative; overflow: hidden; padding: 24px; border-radius: var(--r-card); border: 1px solid var(--line); background: #fff; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.voice--red { --vc: var(--red); --vt: var(--red-tint); } .voice--green { --vc: var(--green); --vt: var(--green-tint); } .voice--ink { --vc: var(--ink); --vt: var(--mist-2); }
.voice:hover { transform: translateY(-4px); border-color: var(--vc); box-shadow: 0 30px 50px -36px rgba(1,74,151,.5); }
.voice__head { display: flex; gap: 14px; align-items: center; }
.voice__clef { display: grid; place-items: center; width: 64px; height: 84px; flex: none; border-radius: 18px; background: var(--vt); color: var(--vc); font: 400 40px/1 'Noto Music Clefs', serif; padding-bottom: 4px; overflow: hidden; transition: transform .6s cubic-bezier(.3,1.5,.5,1); }
.voice:hover .voice__clef { transform: rotate(-8deg) scale(1.06); }
.voice h3.voice__name { font-size: 1.5rem; color: var(--vc); margin: 0; }
.voice:nth-child(2) h3, .voice:nth-child(3) h3 { color: var(--vc); }
.voice__desc { margin: 4px 0 0; font-size: .85rem; color: var(--ink-soft); line-height: 1.35; }
.voice__viz { position: relative; height: 56px; margin: 18px 0 8px; }
.voice__staff { position: absolute; inset: 0; width: 100%; height: 48px; overflow: visible; }
.voice__staff line { stroke: var(--line); stroke-width: 1; }
.voice__note { fill: var(--vc); animation: noteBob 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes noteBob { 50% { transform: translateY(-3px) rotate(-6deg); } }
.voice__wave { position: absolute; left: 0; right: 0; bottom: -6px; width: 100%; height: 40px; overflow: hidden; opacity: .55; }
.voice__wave path { fill: none; stroke: var(--vc); stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; animation: waveRun linear infinite; }
@keyframes waveRun { to { transform: translateX(var(--wl)); } }
.voice:hover .voice__wave { opacity: .9; }
.voice__list { list-style: none; margin: 0; padding: 0; }
.voice__list li { padding: 7px 0; border-top: 1px solid var(--mist-2); }
.voice__list li:first-child { border-top: 0; }
.voice__count { position: absolute; right: 18px; top: 14px; margin: 0; font: 400 2.4rem/1 var(--f-display); color: var(--vc); opacity: .15; }
@media (prefers-reduced-motion: reduce) { .voice__note, .voice__wave path { animation: none; } }

/* ── Muzyczna captcha ── */
.captcha { margin: 6px 0 22px; padding: 18px 18px 14px; border: 1.5px solid var(--line); border-radius: 18px; background: linear-gradient(var(--paper), #fff) , repeating-linear-gradient(0deg, transparent 0 11px, rgba(1,74,151,.05) 11px 12px); background-blend-mode: multiply; }
.captcha.has-err { border-color: var(--red); animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.captcha legend { padding: 0 8px; margin-left: -8px; font-weight: 700; color: var(--blue-deep); display: flex; align-items: center; }
.captcha legend .eq { color: var(--green); }
.captcha__why { margin: 0 0 12px; font-size: .88rem; color: var(--ink-soft); }
.captcha__opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.captcha__opt { position: relative; cursor: pointer; }
.captcha__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.captcha__sym { display: grid; place-items: center; height: 84px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); color: var(--ink); transition: border-color .2s, background .2s, transform .35s cubic-bezier(.3,1.6,.5,1), color .2s; background-image: repeating-linear-gradient(0deg, transparent 0 13px, rgba(23,35,61,.07) 13px 14px); background-position: 0 14px; }
.captcha__sym .note { width: 40px; height: 40px; }
.captcha__glyph { font: 400 52px/1 'Noto Music Clefs', serif; padding-bottom: 4px; }
.captcha__opt:hover .captcha__sym { border-color: var(--blue); transform: translateY(-3px) rotate(-3deg); }
.captcha__opt input:focus-visible + .captcha__sym { outline: 3px solid var(--green); outline-offset: 3px; }
.captcha__opt input:checked + .captcha__sym { border-color: var(--blue); background-color: var(--blue-tint); color: var(--blue); transform: scale(1.04); box-shadow: 0 14px 30px -20px rgba(1,74,151,.6); }
.captcha__opt input:checked + .captcha__sym > * { animation: bob 1.6s ease-in-out infinite; }
.captcha__alt { margin-top: 12px; font-size: .9rem; }
.captcha__alt summary { color: var(--blue); cursor: pointer; font-weight: 700; }
.captcha__q { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.captcha__q input { width: 80px; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; }
@media (max-width: 420px) { .captcha__opts { grid-template-columns: repeat(2, 1fr); } }

/* ── Informacja o cookies ── */
.cookies { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 250; width: min(460px, calc(100% - 32px)); display: grid; grid-template-columns: 96px 1fr; gap: 18px; padding: 20px 22px 18px 18px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(1,40,90,.55); opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .5s var(--ease), transform .6s var(--ease); overflow: hidden; }
.cookies[hidden] { display: none; }
.cookies.is-in { opacity: 1; transform: none; }
.cookies.is-out { opacity: 0; transform: translateY(20px); }
.cookies::before { content: ''; position: absolute; inset: auto 0 0 0; height: 49px; background: repeating-linear-gradient(0deg, transparent 0 9px, rgba(1,74,151,.06) 9px 10px); pointer-events: none; }
.cookies__disc { position: relative; width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle, #fff 0 17%, transparent 17.5%), repeating-radial-gradient(circle, #1d2a44 0 1.5px, #263553 1.5px 3px); box-shadow: inset 0 0 0 2px #0e1628, 0 10px 24px -10px rgba(0,0,0,.5); animation: spinDisc 6s linear infinite; }
.cookies__disc::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 20deg, transparent 0 20%, rgba(255,255,255,.18) 25%, transparent 32% 70%, rgba(255,255,255,.12) 75%, transparent 82%); }
.cookies__label { position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: #fff; display: grid; place-items: center; z-index: 1; }
.sygnet--disc { width: 34px; color: var(--ink); }
.sygnet--disc { --sgw: 22; --sgs: 30; }
@keyframes spinDisc { to { transform: rotate(360deg); } }
.cookies__notes { position: absolute; left: 70px; top: 6px; width: 60px; height: 60px; pointer-events: none; }
.cookies__notes .note { position: absolute; width: 16px; height: 16px; opacity: 0; animation: ckNote 3.6s ease-in infinite; }
.cookies__notes .c1 { left: 6px; color: var(--blue); } .cookies__notes .c2 { left: 22px; color: var(--green); animation-delay: 1.2s; } .cookies__notes .c3 { left: 36px; color: var(--red); animation-delay: 2.4s; }
@keyframes ckNote { 0% { opacity: 0; transform: translate(0, 40px) rotate(-10deg); } 25% { opacity: .9; } 100% { opacity: 0; transform: translate(14px, -10px) rotate(18deg); } }
.cookies__body { position: relative; z-index: 1; }
.cookies__title { margin: 0 0 6px; font: 500 1.3rem/1.2 var(--f-display); display: flex; align-items: center; color: var(--ink); }
.cookies__title .eq { color: var(--green); }
.cookies__text { margin: 0 0 14px; font-size: .9rem; line-height: 1.5; color: var(--ink-soft); }
.cookies__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cookies__link { display: inline-block; margin-top: 10px; font-size: .82rem; }
.linkbtn--foot { color: #fff; font-size: inherit; }
.video { position: relative; }
.video__consent { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 20px; border-radius: var(--r-img); background: rgba(10,18,36,.86); color: #fff; text-align: center; }
.video__consent[hidden] { display: none; }
.video__consent p { margin: 0; max-width: 30em; }
@media (max-width: 520px) { .cookies { grid-template-columns: 1fr; padding-top: 18px; } .cookies__disc { width: 64px; height: 64px; position: absolute; right: -16px; top: -16px; opacity: .9; } .cookies__label { width: 28px; height: 28px; margin: -14px 0 0 -14px; } .sygnet--disc { width: 22px; } .cookies__notes { display: none; } .cookies__title { padding-right: 40px; } }
@media (prefers-reduced-motion: reduce) { .cookies__disc, .cookies__notes .note { animation: none; } .cookies__notes { display: none; } }

/* Mikser zgód: kanały z suwakami jak w konsoli mikserskiej */
.mixer { margin: 0 0 14px; padding: 12px 12px 6px; border-radius: 16px; background: var(--mist); }
.mixer[hidden] { display: none; }
.mixer__head { margin: 0 0 8px; font-size: .8rem; color: var(--ink-soft); }
.mixer__ch { position: relative; display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); cursor: pointer; }
.mixer__ch:first-of-type { border-top: 0; }
.mixer__ch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mixer__txt { display: grid; gap: 1px; }
.mixer__txt strong { font-size: .92rem; }
.mixer__txt small { font-size: .78rem; color: var(--ink-soft); }
.mixer__always { font-size: .75rem; font-weight: 700; color: var(--green); }
.fader { position: relative; width: 26px; height: 44px; display: block; }
.fader::before { content: ''; position: absolute; left: 50%; top: 2px; bottom: 2px; width: 4px; margin-left: -2px; border-radius: 4px; background: repeating-linear-gradient(0deg, var(--line) 0 2px, #fff 2px 6px); box-shadow: inset 0 0 0 1px var(--line); }
.fader i { position: absolute; left: 1px; right: 1px; height: 14px; top: 28px; border-radius: 4px; background: linear-gradient(#fff, #dfe6f1); border: 1px solid #b9c6d9; box-shadow: 0 3px 6px -2px rgba(0,0,0,.25); transition: top .45s cubic-bezier(.3,1.4,.5,1), background .3s, border-color .3s; }
.fader i::after { content: ''; position: absolute; left: 3px; right: 3px; top: 6px; height: 2px; background: var(--ink-soft); }
.mixer__ch input:checked + .fader i, .mixer__ch.is-locked .fader i { top: 2px; background: linear-gradient(#e9f6ee, #c9ead6); border-color: var(--green); }
.mixer__ch input:checked + .fader i::after, .mixer__ch.is-locked .fader i::after { background: var(--green); }
.mixer__ch input:focus-visible + .fader { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }
.mixer__ch.is-locked { cursor: default; opacity: .85; }
.cookies--stats { width: min(500px, calc(100% - 32px)); }
.cookies { max-height: calc(100vh - 32px); overflow-y: auto; }
.btn[hidden] { display: none; }

.band--white { background: #fff; color: var(--ink); border-top: 1px solid var(--line); }
.band--white .tile__in { box-shadow: 0 0 0 1px var(--line), 0 20px 40px -32px rgba(0,0,0,.4); }
.band--sky { background: linear-gradient(160deg, var(--blue-tint), #d7e5f6); color: var(--blue-deep); }
.band--sky .band__icon { background: var(--blue); }
.jump__a--white .jump__dot { background: var(--ink-soft); } .jump__a--sky .jump__dot { background: #6c9bd2; }

/* ── Linki do wydarzeń w social media ── */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.social-ev__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.sl { --c: var(--blue); display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.sl::before { content: ''; position: absolute; inset: 0; background: var(--g, var(--c)); opacity: 0; transition: opacity .35s; }
.sl > * { position: relative; }
.sl:hover { transform: translateY(-3px); border-color: transparent; box-shadow: 0 24px 40px -26px rgba(0,0,0,.45); color: #fff; }
.sl:hover::before { opacity: 1; }
.sl--fb { --c: #1877f2; }
.sl--ig { --c: #d6249f; --g: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.sl--yt { --c: #e62117; }
.sl__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--g, var(--c)); color: #fff; transition: transform .45s cubic-bezier(.3,1.6,.5,1), background .3s; }
.sl:hover .sl__ico { transform: rotate(-8deg) scale(1.05); background: rgba(255,255,255,.18); }
.sl__ico svg { width: 26px; height: 26px; fill: currentColor; }
.sl__txt { display: grid; gap: 2px; min-width: 0; }
.sl__txt strong { font-size: 1rem; }
.sl__txt small { font-size: .85rem; color: var(--ink-soft); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .3s; }
.sl:hover .sl__txt small { color: rgba(255,255,255,.88); }
.sl__go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); transition: border-color .3s, transform .35s var(--ease); }
.sl__go svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sl:hover .sl__go { border-color: rgba(255,255,255,.6); transform: translate(2px, -2px); }

/* ── Pliki do pobrania ── */
.files__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.dl { --c: var(--blue); display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.dl:hover { transform: translateY(-3px); border-color: var(--c); box-shadow: 0 24px 40px -28px rgba(1,40,90,.45); color: var(--ink); }
.dl--red { --c: #c4151c; } .dl--blue { --c: #2b5fb3; } .dl--green { --c: #1d7a46; } .dl--orange { --c: #c55a11; } .dl--violet { --c: #6d4bb3; } .dl--teal { --c: #138a8a; } .dl--gray { --c: #5a6884; }
.dl__doc { position: relative; width: 46px; height: 56px; border-radius: 6px 14px 6px 6px; background: var(--c); color: #fff; display: grid; place-items: end center; padding-bottom: 8px; box-shadow: inset 0 -3px 0 rgba(0,0,0,.15); transition: transform .45s cubic-bezier(.3,1.6,.5,1); }
.dl__doc::after { content: ''; position: absolute; right: 0; top: 0; width: 13px; height: 13px; background: linear-gradient(225deg, var(--paper) 50%, rgba(0,0,0,.2) 50%); border-radius: 0 14px 0 4px; }
.dl__doc::before { content: ''; position: absolute; left: 9px; right: 13px; top: 12px; height: 13px; background: repeating-linear-gradient(0deg, rgba(255,255,255,.55) 0 1px, transparent 1px 4px); }
.dl__doc span { font: 900 .68rem/1 var(--f-body); letter-spacing: .05em; }
.dl:hover .dl__doc { transform: rotate(-6deg) translateY(-2px); }
.dl__txt { display: grid; gap: 3px; min-width: 0; }
.dl__txt strong { font-size: 1rem; line-height: 1.3; }
.dl__txt small { color: var(--ink-soft); font-size: .85rem; }
.dl__go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1.5px solid var(--line); color: var(--c); transition: background .3s, color .3s, border-color .3s; }
.dl__go svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dl:hover .dl__go { background: var(--c); border-color: var(--c); color: #fff; }
.dl:hover .dl__go svg { animation: dlBounce .7s ease-in-out infinite; }
@keyframes dlBounce { 50% { transform: translateY(2px); } }

.article__cover--poster { display: flex; justify-content: center; }
.article__cover--poster img { width: auto; max-width: min(100%, 680px); max-height: none; object-fit: contain; box-shadow: 0 30px 60px -40px rgba(1,40,90,.5); }

/* CAPTCHA v2: tryb muzyczny / matematyczny */
.captcha { padding: 18px 18px 12px; }
.captcha fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.captcha legend { padding: 0; margin: 0 0 4px; }
.js .captcha[data-mode="music"] .captcha__math, .js .captcha[data-mode="math"] .captcha__music { display: none; }
.captcha__sym svg { width: 56px; height: 56px; display: block; }
.captcha__opt input:checked + .captcha__sym svg { animation: bob 1.6s ease-in-out infinite; }
.captcha__hint { margin-top: 12px; }
.captcha__hint summary { cursor: pointer; font-weight: 700; color: var(--blue); font-size: .9rem; list-style: none; display: inline-flex; gap: 8px; align-items: center; min-height: 32px; }
.captcha__hint summary::-webkit-details-marker { display: none; }
.captcha__hint summary::before { content: '♪'; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--blue-tint); transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.captcha__hint[open] summary::before { transform: rotate(-20deg) scale(1.1); }
.captcha__hint img { display: block; width: 100%; max-width: 564px; height: auto; margin-top: 8px; border-radius: 12px; animation: fadeUp .4s var(--ease); }
.captcha__math { padding: 4px 0 6px; }
.captcha__mathlabel { display: block; font-weight: 700; color: var(--blue-deep); margin-bottom: 8px; }
.captcha__mathlabel small { font-weight: 400; color: var(--ink-soft); }
.captcha__mathico { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 6px; border-radius: 9px; background: var(--green-tint); color: var(--green); font-weight: 900; font-size: .85rem; vertical-align: middle; }
.captcha__math input { width: 110px; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: 700 1.2rem var(--f-body); text-align: center; background: #fff; }
.captcha__math input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-tint); }
.captcha__switch { display: inline-block; margin-top: 12px; font-size: .9rem; font-weight: 700; min-height: 32px; }

/* ── „Zobacz więcej” na dole hero ── */
.hero { padding-bottom: calc(clamp(32px, 5vw, 64px) + 64px); }
.scrollcue { position: absolute; left: 0; right: 0; margin: 0 auto; width: max-content; bottom: clamp(12px, 2.4vw, 26px); z-index: 2; display: inline-flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 14px 4px; border-radius: 999px; color: var(--ink-soft); text-decoration: none; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; transition: color .25s, opacity .4s var(--ease), transform .4s var(--ease); }
.scrollcue:hover, .scrollcue:focus-visible { color: var(--blue); }
.scrollcue__ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); background: rgba(255,255,255,.85); transition: border-color .25s, background .25s; }
.scrollcue:hover .scrollcue__ico, .scrollcue:focus-visible .scrollcue__ico { border-color: var(--blue); background: var(--blue-tint); }
.scrollcue__ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; animation: cueBob 2.2s ease-in-out infinite; }
@keyframes cueBob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
.js .hero:not(.is-in) .scrollcue { opacity: 0; }
.js .hero.is-in .scrollcue { animation: fadeUp .8s var(--ease) 1.6s both; }
.scrollcue.is-hidden { opacity: 0 !important; pointer-events: none; transform: translateY(8px); }
.scrollcue:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.sec--concerts:focus { outline: none; }
@media (max-width: 900px) { .scrollcue { position: relative; bottom: auto; margin: 28px auto 0; display: flex; } .hero { padding-bottom: 28px; } }
@media (max-height: 640px) and (min-width: 901px) { .scrollcue__txt { display: none; } }
@media (prefers-reduced-motion: reduce) { .scrollcue__ico svg { animation: none; } .js .hero .scrollcue { opacity: 1; animation: none; } }
