/* ===========================================================
   Teatr „Spotkanie” — MDK Opole
   Klimat: mroczny, kameralny. Czerń sceny, snop reflektora,
   światło na twarzach. Minimalizm formy = minimalizm UI.
   =========================================================== */

:root {
  --bg:        #0a0a0b;   /* czerń sceny */
  --bg-alt:    #101013;   /* lekko jaśniejsza warstwa */
  --ink:       #f4f1ea;   /* światło / kość słoniowa */
  --muted:     #9a958c;   /* przygaszony tekst */
  --line:      rgba(244, 241, 234, 0.10);
  --accent:    #c8a24a;   /* mosiądz / reflektor */
  --accent-dim:#8c7233;
  --radius:    2px;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;

  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* unikamy pułapki sticky: clip zamiast hidden */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: clip;
  /* sticky footer */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* delikatne ziarno na całości — teatralny kurz w snopie światła */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main { flex: 1 0 auto; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #0a0a0b; }

/* ===================== NAV ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  background: rgba(10, 10, 11, 0.6);
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
/* blur na pseudo-elemencie, nie na .nav: backdrop-filter na przodku
   robi containing block dla fixed dzieci (mobilny drawer .nav__links) */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(10px);
}
.nav.is-scrolled {
  background: rgba(10, 10, 11, 0.88);
  border-bottom-color: var(--line);
}
.nav__brand { display: flex; align-items: center; gap: .6rem; }
.nav__brand-mark { color: var(--accent); font-size: 1.1rem; }
.nav__brand-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: .02em;
}
.nav__links { display: flex; align-items: center; gap: 1.8rem; }
.nav__links a {
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .25s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  color: var(--accent) !important;
  border: 1px solid var(--accent-dim);
  padding: .45rem 1.1rem;
  border-radius: var(--radius);
  transition: background .25s var(--ease), color .25s var(--ease) !important;
}
.nav__cta:hover { background: var(--accent); color: #0a0a0b !important; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav__burger span {
  width: 24px; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: calc(100svh - 4.5rem);   /* odjęta wysokość sticky navbaru, żeby ikonka scrolla była w kadrze */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 4.5rem 1.5rem 3rem;
}
/* snop reflektora */
.hero__spot {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 130vw;
  height: 130vh;
  background: radial-gradient(
    ellipse 40% 50% at 50% 35%,
    rgba(200, 162, 74, 0.16) 0%,
    rgba(200, 162, 74, 0.05) 30%,
    transparent 62%
  );
  pointer-events: none;
  animation: flicker 7s infinite var(--ease);
}
@keyframes flicker {
  0%, 100% { opacity: 1; }
  48% { opacity: .92; }
  50% { opacity: .8; }
  52% { opacity: .95; }
}
.hero__inner { position: relative; z-index: 2; max-width: 760px; }
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: .35em;
  font-size: .72rem;
  color: var(--accent);
  margin: 0 0 1.4rem;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(4rem, 16vw, 11rem);
  line-height: .9;
  margin: 0;
  letter-spacing: .01em;
  text-shadow: 0 0 80px rgba(200, 162, 74, 0.18);
}
.hero__lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--ink);
  margin: 1.8rem auto 2.6rem;
  line-height: 1.5;
}
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  z-index: 2;
}
.hero__scroll span {
  position: absolute;
  top: 8px; left: 50%;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrolldot 1.8s infinite var(--ease);
}
@keyframes scrolldot {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  80%, 100% { opacity: 0; transform: translateY(14px); }
}

/* ===================== PREMIERA (Na afiszu) ===================== */
.premiere__grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.premiere__poster {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: none;
  cursor: zoom-in;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.premiere__poster img {
  width: 100%;
  display: block;
  aspect-ratio: 1131 / 1600;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.premiere__poster:hover img { transform: scale(1.03); }
.premiere__zoom {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: .5rem;
  text-align: center;
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(10, 10, 11, 0.7);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.premiere__poster:hover .premiere__zoom,
.premiere__poster:focus-visible .premiere__zoom { opacity: 1; }
.premiere__poster:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.premiere__dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: .5rem;
  box-shadow: 0 0 0 0 rgba(200, 162, 74, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(200, 162, 74, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(200, 162, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 162, 74, 0); }
}
.premiere__date {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--accent);
  margin: 0 0 1.3rem;
}
.premiere__list { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.premiere__list li {
  padding: .95rem 0;
  border-top: 1px solid var(--line);
}
.premiere__list li:last-child { border-bottom: 1px solid var(--line); }
.premiere__group {
  display: block;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .25rem;
}
.premiere__play {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--ink);
}
.premiere__play span {
  color: var(--muted);
  font-size: .92rem;
  font-style: italic;
}
.premiere__meta { font-size: .9rem; color: var(--muted); margin: 0 0 1.7rem; }
.premiere__meta strong { color: var(--ink); }
.premiere__actions {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  align-items: center;
}
.premiere__mail {
  color: var(--accent);
  font-size: .92rem;
  border-bottom: 1px solid var(--accent-dim);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.premiere__mail:hover { color: var(--ink); border-color: var(--ink); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-block;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .95rem 2rem;
  border-radius: var(--radius);
  transition: all .3s var(--ease);
  cursor: pointer;
}
.btn--primary {
  background: var(--accent);
  color: #0a0a0b;
  border: 1px solid var(--accent);
}
.btn--primary:hover { background: transparent; color: var(--accent); }
.btn--ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ===================== SECTIONS ===================== */
.section { padding: clamp(4.5rem, 10vw, 9rem) clamp(1.2rem, 5vw, 3rem); }
.section--alt { background: var(--bg-alt); }
.section--cta { background: var(--bg-alt); text-align: center; }
.section__wrap { max-width: var(--maxw); margin: 0 auto; }
.section__wrap--center { max-width: 720px; }
.section__wrap--split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.section__label {
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: .72rem;
  color: var(--accent);
  margin: 0 0 .9rem;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  line-height: 1.05;
  margin: 0 0 1.8rem;
}
.prose { max-width: 60ch; color: var(--muted); font-size: 1.05rem; }
.prose--center { margin: 0 auto; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose em { color: var(--accent); font-style: italic; }

/* filary idei */
.pillars {
  list-style: none;
  padding: 0;
  margin: 3.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pillar {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}
.pillar__num { color: var(--accent); font-size: 1.2rem; }
.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin: .6rem 0 .6rem;
}
.pillar p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ===================== PROWADZĄCY ===================== */
.person__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.person__photo-ph {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(200,162,74,0.12), transparent 70%),
    var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.person__photo-ph span {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--accent-dim);
  letter-spacing: .1em;
}
.person__role {
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .78rem;
  color: var(--accent);
  margin: -.8rem 0 1.4rem;
}
.person__bio p { color: var(--muted); }
.creds {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
}
.creds li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: .7rem;
  color: var(--muted);
  font-size: .96rem;
}
.creds li::before {
  content: "✶";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .8rem;
}

/* ===================== SPEKTAKLE ===================== */
.shows {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.show {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.show:hover { transform: translateY(-6px); border-color: var(--accent-dim); }
.show__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background-color: #0c0c0e;
  background-image: linear-gradient(rgba(10,10,11,0.25), rgba(10,10,11,0.55)), var(--thumb);
  background-size: cover;
  background-position: center;
  transition: filter .4s var(--ease);
}
.show:hover .show__media { filter: brightness(1.08); }
.show__media-ph,
.show__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #16161a, #0c0c0e);
  color: var(--muted);
  font-size: .8rem; letter-spacing: .2em; text-transform: uppercase;
}
/* przycisk play */
.show__play {
  position: absolute;
  top: 50%; left: 50%;
  width: 58px; height: 58px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(10, 10, 11, 0.55);
  border: 1px solid var(--accent);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.show__play::after {
  content: "";
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--accent);
}
.show__media:hover .show__play {
  background: var(--accent);
  transform: translate(-50%, -50%) scale(1.08);
}
.show__media:hover .show__play::after { border-left-color: #0a0a0b; }
.show__media:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* osadzony odtwarzacz po kliknięciu */
.show__media.is-playing { cursor: default; }
.show__media iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.show__body { padding: 1.5rem; }
.show__year { color: var(--accent); font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; margin: 0 0 .4rem; }
.show__title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; margin: 0 0 .6rem; }
.show__desc { color: var(--muted); font-size: .95rem; margin: 0; }

/* ===================== GALERIA ===================== */
.gallery {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery__item { margin: 0; overflow: hidden; border-radius: var(--radius); }
.gallery__ph,
.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #16161a, #0a0a0b);
  border: 1px solid var(--line);
  transition: transform .6s var(--ease), filter .6s var(--ease);
  filter: grayscale(0.3);
}
.gallery__item:hover img { transform: scale(1.05); filter: grayscale(0); }

/* ===================== KONTAKT ===================== */
.contact { margin-top: 2.5rem; }
.contact p { color: var(--muted); margin-bottom: 1.2rem; }
.contact strong { color: var(--ink); }
.contact__mail {
  color: var(--accent);
  font-size: 1.1rem;
  border-bottom: 1px solid var(--accent-dim);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.contact__mail:hover { color: var(--ink); border-color: var(--ink); }
.contact__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

/* ===================== FOOTER ===================== */
.footer {
  flex-shrink: 0;
  margin-top: auto;            /* sticky footer */
  border-top: 1px solid var(--line);
  padding: 2.2rem clamp(1.2rem, 5vw, 3rem);
  background: var(--bg);
}
.footer__wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0;
}
.footer__credit {
  margin: 0;
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #5e5a52;
}
.footer__credit a { color: var(--accent-dim); transition: color .25s var(--ease); }
.footer__credit a:hover { color: var(--accent); }

/* ===================== SCROLL TO TOP ===================== */
.to-top {
  position: fixed;
  right: 1.4rem; bottom: 1.4rem;
  z-index: 90;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--accent-dim);
  background: rgba(10,10,11,0.8);
  backdrop-filter: blur(6px);
  color: var(--accent);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .25s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: var(--accent); color: #0a0a0b; }

/* ===================== LIGHTBOX (plakat) ===================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  background: rgba(6, 6, 7, 0.94);
  backdrop-filter: blur(4px);
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: min(95vw, 720px);
  max-height: 92vh;
  object-fit: contain;
  border: 1px solid var(--line);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}
.lightbox__close {
  position: absolute;
  top: 1.2rem; right: 1.4rem;
  width: 46px; height: 46px;
  font-size: 1.7rem; line-height: 1;
  color: var(--ink);
  background: rgba(10, 10, 11, 0.6);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.lightbox__close:hover { background: var(--accent); color: #0a0a0b; }

/* ===================== KURTYNA (intro) ===================== */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 2000;
  overflow: hidden;
}
.curtain__panel {
  position: absolute;
  top: 0; bottom: 0;
  width: 52%;                 /* lekkie zachodzenie na środku */
  background-color: #060606;
  background-image:
    /* ciepły snop światła od góry */
    radial-gradient(ellipse 70% 55% at 50% -8%, rgba(200, 162, 74, 0.06), transparent 55%),
    /* przyciemnienie góra/dół */
    linear-gradient(180deg, rgba(0,0,0,0.5), rgba(0,0,0,0) 18%, rgba(0,0,0,0.55)),
    /* fałdy weluru: grzbiet (jaśniej) → dolina (czerń) */
    repeating-linear-gradient(90deg,
      #020202 0px,
      #0e0e0e 10px,
      #1c1c1c 18px,
      #0c0c0c 30px,
      #000000 40px,
      #0c0c0c 50px,
      #1c1c1c 62px,
      #0e0e0e 70px,
      #020202 80px);
  box-shadow: inset 0 0 160px rgba(0,0,0,0.95);
  transition: transform 2.6s cubic-bezier(0.62, 0.02, 0.2, 1);
  will-change: transform;
  backface-visibility: hidden;
}
.curtain__panel--left  { left: 0;  transform-origin: left center; }
.curtain__panel--right { right: 0; transform-origin: right center; }
/* krawędź wiodąca: cień głębi + nitka mosiądzu */
.curtain__panel--left::after,
.curtain__panel--right::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  background: linear-gradient(90deg,
    transparent,
    rgba(0,0,0,0.4) 60%,
    rgba(200, 162, 74, 0.14));
}
.curtain__panel--left::after  { right: 0; }
.curtain__panel--right::after { left: 0; transform: scaleX(-1); }

/* zbieranie tkaniny ku kulisom: zjazd w bok + lekkie ściągnięcie szerokości */
.curtain.is-open .curtain__panel--left  { transform: translateX(-103%) scaleX(0.86); }
.curtain.is-open .curtain__panel--right { transform: translateX(103%)  scaleX(0.86); }

/* szarpnięcie przy pociągnięciu sznura, zanim kurtyna ruszy */
.curtain.is-pulling .curtain__panel--left  { animation: curtainTugL .32s var(--ease); }
.curtain.is-pulling .curtain__panel--right { animation: curtainTugR .32s var(--ease); }
@keyframes curtainTugL {
  0%   { transform: translateX(0); }
  45%  { transform: translateX(10px) scaleY(1.006); }
  100% { transform: translateX(0); }
}
@keyframes curtainTugR {
  0%   { transform: translateX(0); }
  45%  { transform: translateX(-10px) scaleY(1.006); }
  100% { transform: translateX(0); }
}

/* sznur z chwostem */
.curtain__cord {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.curtain__cord:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.curtain__rope {
  width: 4px;
  height: 66vh;                /* ~2/3 wysokości ekranu */
  background: linear-gradient(180deg, var(--accent-dim), var(--accent) 50%, var(--accent-dim));
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(200, 162, 74, 0.45);
  transition: height .3s var(--ease);
}
.curtain__tassel {
  position: relative;
  width: 22px; height: 30px;
  margin-top: -2px;
  background: radial-gradient(circle at 50% 22%, var(--accent), var(--accent-dim));
  border-radius: 50% 50% 45% 45% / 62% 62% 38% 38%;
  box-shadow: 0 0 16px rgba(200, 162, 74, 0.5);
}
.curtain__tassel::after {       /* frędzle */
  content: "";
  position: absolute;
  top: 78%; left: 50%;
  transform: translateX(-50%);
  width: 15px; height: 16px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 2px, transparent 2px 4px);
}
.curtain__cord:hover  .curtain__rope { height: 68vh; }
.curtain__cord:active .curtain__rope,
.curtain__cord.is-pulling .curtain__rope { height: 76vh; }

.curtain__hint {
  position: absolute;
  top: calc(66vh + 56px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  margin: 0;
  font-size: .7rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  pointer-events: none;
  animation: hintpulse 2.4s infinite;
}
@keyframes hintpulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

.curtain.is-open .curtain__cord,
.curtain.is-open .curtain__hint { opacity: 0; transition: opacity .45s var(--ease); }

/* Uwaga: rozsuwanie kurtyny gra ZAWSZE (świadomy wybór — to clou intro),
   nawet przy włączonym "ogranicz animacje" w systemie. */

/* ===================== REVEAL ON SCROLL ===================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===================== RESPONSYWNOŚĆ ===================== */
@media (max-width: 860px) {
  .pillars, .shows { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .videos { grid-template-columns: 1fr; }
  .section__wrap--split { grid-template-columns: 1fr; }
  .person__photo { max-width: 320px; }

  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.8rem;
    padding: 5.5rem 2.4rem 2.4rem;
    overflow-y: auto;
    background: rgba(10, 10, 11, 0.97);
    backdrop-filter: blur(14px);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform .4s var(--ease);
  }
  .nav.is-open .nav__links { transform: translateX(0); }
  .nav__links a { font-size: 1rem; }
  .nav__burger { display: flex; z-index: 101; }

  .premiere__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .premiere__poster { max-width: min(300px, 78vw); }
  .premiere__list li { text-align: center; }
  .premiere__actions { justify-content: center; }
}
