/* Festiwal 10-minute plays – druga wersja: „Program teatralny”
   Barwny papier, dwie farby (czerń + czerwień), jedna rodzina kroju (Archivo, oś szerokości). */

@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url(/assets/fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url(/assets/fonts/archivo-latin-wdth-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: italic; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url(/assets/fonts/archivo-latin-ext-wdth-italic.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: italic; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url(/assets/fonts/archivo-latin-wdth-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --pink: #f2a7b8;      /* róż programowy – festiwal */
  --silver: #c9ccd1;    /* III – srebro lustra */
  --sky: #9fd6ee;       /* II – błękit latawca */
  --slate: #9aabbf;     /* I – łupek */
  --ink: #16130f;
  --red: #940c22;       /* druga farba */
  --red-deep: #7a0a1c;  /* druga farba w drobnym tekście */
  --stock: var(--pink);
  --rule: 2px solid var(--ink);
  --hair: 1px solid color-mix(in srgb, var(--ink) 55%, transparent);
  --wrap: 1240px;
  --pad: clamp(1.1rem, 4vw, 3rem);
  --f: "Archivo", "Arial Narrow", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4'%3E%3Cpath d='M12 3v13M6 11l6 6 6-6M4 21h16'/%3E%3C/svg%3E");
  --i-out: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4'%3E%3Cpath d='M7 17L17 7M8 7h9v9'/%3E%3C/svg%3E");
  color-scheme: light;
}
[data-theme="iii"] { --stock: var(--silver); }
[data-theme="ii"]  { --stock: var(--sky); }
[data-theme="i"]   { --stock: var(--slate); --red: #6e0a1b; --red-deep: #5e0715; }
.stock-iii { --stock: var(--silver); }
.stock-ii  { --stock: var(--sky); }
.stock-i   { --stock: var(--slate); --red: #6e0a1b; --red-deep: #5e0715; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--stock); scrollbar-color: var(--ink) var(--stock); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--stock); color: var(--ink); font: 400 1.0625rem/1.6 var(--f); font-stretch: 100%; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
::selection { background: var(--ink); color: var(--stock); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; text-decoration-color: var(--red); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
button { font: inherit; color: inherit; }

.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ink); color: var(--stock); padding: .7rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

html:not(.lang-en) [data-l="en"], html.lang-en [data-l="pl"] { display: none !important; }

/* ---------- typografia ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: .98; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 7.4vw, 6rem); font-stretch: 62%; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-stretch: 66%; text-transform: uppercase; }
h3 { font-size: 1.3rem; font-stretch: 80%; line-height: 1.15; font-weight: 750; letter-spacing: 0; }
h1 em, h2 em { font-style: normal; color: var(--red); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.45; max-width: 40em; }
.muted { color: color-mix(in srgb, var(--ink) 80%, var(--stock)); }
.dateline { margin: .85rem 0 0; font-size: .95rem; font-weight: 700; font-stretch: 80%; letter-spacing: .06em; text-transform: uppercase; }
h1 + .lead, h2 + .lead, h2 + p, .dateline + .lead, .dateline + p { margin-top: 1.4rem; }
.note, .only-pl-note { font-size: .95rem; border: var(--hair); padding: .7rem .9rem; max-width: 46em; }
.only-pl-note { font-style: italic; }
.h-sub { display: block; margin-top: .5rem; font-size: 1.05rem; font-stretch: 90%; text-transform: none; font-weight: 500; letter-spacing: 0; }
blockquote { margin: 1.6rem 0; padding: .9rem 0 0; border-top: 2px solid var(--red); font-size: 1.2rem; line-height: 1.45; font-stretch: 90%; font-weight: 500; max-width: 38em; }
blockquote cite { display: block; margin-top: .6rem; font-style: normal; font-size: .9rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
blockquote.pull { border: 0; padding: 0; margin-top: 2rem; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.3; font-stretch: 72%; font-weight: 700; }
blockquote.pull::before { content: "“"; display: block; margin-bottom: -.35em; font-size: 2.6em; line-height: 1; color: var(--red); }
.prose { max-width: 42em; }
.prose h2 { margin-bottom: 1.2rem; }
.prose h3 { margin: 2.2rem 0 .8rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin: .35rem 0; }
.prose li::marker { color: var(--red-deep); }
.big-mail { font-size: clamp(1.5rem, 3.4vw, 2.6rem); font-weight: 800; font-stretch: 70%; word-break: break-word; line-height: 1.1; }
.big-mail a { text-decoration-thickness: 3px; text-underline-offset: .12em; }
.mail-subject { margin-top: .9rem; font-size: 1.05rem; }
.mail-subject strong { font-weight: 800; }

/* ---------- przyciski ---------- */
.btn { display: inline-flex; align-items: center; gap: .7rem; min-height: 3.1rem; padding: .7rem 1.3rem; border: var(--rule); background: transparent; color: var(--ink); text-decoration: none; font-weight: 800; font-stretch: 80%; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; transition: background-color .25s var(--ease), color .25s var(--ease); }
.btn:hover { background: var(--ink); color: var(--stock); }
.btn.primary { background: var(--ink); color: var(--stock); }
.btn.primary:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn .arr { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2.4; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-link { font-weight: 700; font-stretch: 85%; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; margin: 2rem 0 0; }

/* ---------- nagłówek: główka programu ---------- */
/* pasek „strona w budowie” – odwrócone farby, przewija się razem ze stroną */
.wip { background: var(--ink); color: var(--pink); }
.wip p { margin-block: 0; padding-block: .55rem; font-size: .9rem; line-height: 1.35; font-stretch: 85%; }
.wip strong { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-right: .6rem; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--stock); border-bottom: var(--rule); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; background: var(--ink); color: var(--stock); font-weight: 900; font-stretch: 62%; font-size: 1.55rem; }
.brand-text { font-size: .9rem; font-stretch: 85%; text-transform: uppercase; letter-spacing: .05em; line-height: 1.05; font-weight: 600; }
.brand-text strong { display: block; font-weight: 850; font-stretch: 75%; font-size: 1.1rem; letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav > ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: .35rem 0; text-decoration: none; font-size: .92rem; font-weight: 700; font-stretch: 85%; letter-spacing: .05em; text-transform: uppercase; border-bottom: 3px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--ink); }
.site-nav a[aria-current] { border-bottom-color: var(--red); }
.has-sub { position: relative; }
.has-sub .sub { position: absolute; top: calc(100% + 18px); left: -1.2rem; min-width: 300px; list-style: none; margin: 0; padding: .4rem 0; background: var(--stock); border: var(--rule); opacity: 0; visibility: hidden; translate: 0 -6px; transition: opacity .2s var(--ease), translate .3s var(--ease), visibility .2s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; translate: 0 0; }
.has-sub .sub::before { content: ""; position: absolute; inset: -20px 0 auto; height: 20px; }
.sub a { padding: .6rem 1.2rem; border: 0; text-transform: none; letter-spacing: 0; font-size: 1.05rem; font-stretch: 90%; }
.sub a:hover { background: var(--ink); color: var(--stock); }
.sub small { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.lang-switch { display: flex; border: var(--rule); }
.lang-switch button { background: none; border: 0; padding: .3rem .6rem; font-weight: 800; font-size: .85rem; letter-spacing: .06em; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--stock); }
.nav-toggle { display: none; white-space: nowrap; align-items: center; gap: .7rem; background: none; border: var(--rule); padding: .45rem .8rem; cursor: pointer; font-weight: 800; font-stretch: 85%; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: transform .3s var(--ease); }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; } .burger::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .brand-text strong { white-space: nowrap; }
  .site-nav { position: fixed; inset: 66px 0 auto 0; max-height: calc(100dvh - 66px); overflow: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem var(--pad) 2rem; background: var(--stock); border-bottom: var(--rule); display: none; }
  .site-nav.open { display: flex; }
  .site-nav > ul { flex-direction: column; gap: 0; }
  .site-nav > ul > li { border-bottom: var(--hair); }
  .site-nav a { padding: .9rem 0; font-size: 1.15rem; border: 0; }
  .site-nav a[aria-current] { color: var(--red-deep); }
  .has-sub .sub { position: static; opacity: 1; visibility: visible; translate: none; border: 0; padding: 0 0 .6rem 1rem; min-width: 0; background: none; }
  .sub a { padding: .45rem 0; }
  .lang-switch { align-self: flex-start; margin-top: 1.2rem; }
}

/* ---------- sekcje ---------- */
main > section, main > header { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
main > section + section { border-top: var(--rule); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 28rem); gap: 1rem 3rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head p { margin: 0; font-size: 1.1rem; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split > header { position: sticky; top: 130px; }
.narrow { max-width: 46em; }
@media (max-width: 860px) {
  .two-col, .split, .sec-head { grid-template-columns: 1fr; }
  .split > header { position: static; }
}

/* ---------- strona główna: rozkładówka ---------- */
main > .spread { padding-block: clamp(1.2rem, 3vw, 2.4rem) clamp(3rem, 6vw, 5rem); }
.spread-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: var(--rule); position: relative; }
.spread-in::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--ink); }
.leaf { position: relative; padding: clamp(1.4rem, 3vw, 2.6rem); min-height: min(78vh, 760px); }
.cover { background: var(--stock); display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.cover-poster { display: block; width: min(100%, 15.5rem); border: var(--rule); background: var(--ink); transition: translate .45s var(--ease); }
.cover-poster:hover { translate: 0 -4px; }
.cover-poster img { width: 100%; }
.cover-type { align-self: stretch; margin-top: auto; }
.cover-title { font-size: clamp(3rem, 5.6vw, 5.4rem); line-height: .86; font-stretch: 62%; font-weight: 850; letter-spacing: -.02em; }
.cover-title > span { display: block; }
.cover-title .cover-en { margin-top: .7rem; padding-top: .7rem; border-top: var(--rule); font-size: .37em; line-height: 1; font-stretch: 115%; font-weight: 300; letter-spacing: -.01em; }
.cover-ed { margin: .9rem 0 0; font-size: .9rem; font-weight: 700; font-stretch: 85%; letter-spacing: .06em; text-transform: uppercase; }
.page { display: flex; flex-direction: column; }
.page-title { font-size: clamp(2rem, 3.6vw, 3.3rem); font-stretch: 64%; }
.page-lead { margin: 1.2rem 0 0; font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.5; max-width: 34em; }
.folio { position: absolute; bottom: .8rem; font-size: .8rem; font-weight: 800; font-stretch: 80%; letter-spacing: .1em; }
.cover .folio { left: clamp(1.4rem, 3vw, 2.6rem); }
.page .folio { right: clamp(1.4rem, 3vw, 2.6rem); }
.acts { list-style: none; margin: 1.8rem 0 0; padding: 0; border-top: var(--rule); }
.acts li { border-bottom: var(--hair); }
.acts a { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr) auto; gap: .2rem 1rem; align-items: baseline; padding: .75rem 0; text-decoration: none; }
.acts a:hover .act-t { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--red); }
.act-n { font-weight: 850; font-stretch: 70%; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; color: var(--red-deep); }
.act-t { display: flex; gap: .6rem; align-items: baseline; min-width: 0; font-weight: 650; font-stretch: 90%; font-size: 1.08rem; }
.act-t::after { content: ""; flex: 1; min-width: 1.5rem; border-bottom: 2px dotted var(--ink); translate: 0 -.25em; }
.act-d { font-weight: 700; font-stretch: 80%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.acts li.past .act-t { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.acts li.now .act-n::after { content: " · " attr(data-now); }
.call { margin-top: auto; padding-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem 2rem; }
.call-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; }

/* pieczątka – stan naboru (sygnatura) */
.stamp, .status { display: inline-grid; gap: .1rem; padding: .55rem .9rem .6rem; border: 3px solid var(--red); outline: 1px solid var(--red); outline-offset: 3px; color: var(--red); rotate: -3.5deg; text-transform: uppercase; font-weight: 900; font-stretch: 68%; line-height: 1.02; transform-origin: 30% 60%; }
.stamp .s-main, .status .s-main { font-size: 1.15rem; letter-spacing: .02em; max-width: 16ch; }
.stamp .s-count, .status .s-count { font-size: 2.3rem; letter-spacing: -.01em; }
.s-count small { margin-left: .35rem; font-size: .9rem; letter-spacing: .04em; }
.s-count[hidden] { display: none; }
.status { margin: 2rem 0 0 .4rem; rotate: -2.5deg; }
.status .s-label { font-size: .85rem; letter-spacing: .08em; }
@media (prefers-reduced-motion: no-preference) {
  .js .stamp, .js .status { animation: stamp .55s var(--ease) .35s both; }
  @keyframes stamp { from { scale: 1.18; rotate: -9deg; filter: blur(1.5px); } }
}
@media (max-width: 960px) {
  .spread-in { grid-template-columns: 1fr; }
  .spread-in::after { display: none; }
  .leaf { min-height: 0; }
  .cover { border-bottom: var(--rule); }
  .leaf .folio { display: none; }
}
@media (max-width: 420px) { .brand-text > :not(strong) { display: none; } .brand-text { font-size: 0; } .brand-text strong { font-size: 1.05rem; } }
@media (max-width: 560px) {
  .cover { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); align-items: end; gap: .9rem; }
  .cover-poster { width: 100%; }
  .cover-title { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .cover-ed { margin-top: .9rem; font-size: .78rem; }
  .page-lead { margin-bottom: 1.4rem; }
  .page .call { order: 1; margin-top: 0; padding: 0 0 1.6rem; }
  .page .acts { order: 2; margin-top: 0; }
  .cover-poster { width: 100%; }
  .cover-title .cover-en { font-size: .55em; }
  .stamp .s-count { font-size: 1.9rem; }
  .acts a { grid-template-columns: 3.4rem minmax(0, 1fr); }
  .act-d { grid-column: 2; }
  .act-t::after { display: none; }
}

/* ---------- repertuar: okładki edycji ---------- */
.editions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); }
.edition { position: relative; background: var(--stock); border: var(--rule); }
.edition a { display: flex; flex-direction: column; height: 100%; text-decoration: none; padding: clamp(.8rem, 1.6vw, 1.2rem); }
.edition img { width: 100%; border: var(--rule); aspect-ratio: 700 / 990; object-fit: cover; transition: translate .45s var(--ease); }
.edition a:hover img { translate: 0 -6px; }
.ed-line { display: flex; align-items: baseline; gap: .7rem; margin-top: 1rem; padding-top: .7rem; border-top: var(--rule); }
.ed-num { font-weight: 900; font-stretch: 62%; font-size: 2.6rem; line-height: .9; color: var(--red); }
.ed-title { font-weight: 800; font-stretch: 70%; font-size: 1.55rem; line-height: 1; text-transform: uppercase; }
.edition a:hover .ed-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }
.ed-meta { margin-top: .6rem; font-size: .9rem; font-stretch: 90%; }
.mini-stamp { display: none; position: absolute; top: -1rem; right: 1rem; padding: .2rem .55rem; border: 3px solid var(--red); color: var(--red); background: color-mix(in srgb, var(--stock) 80%, transparent); font-weight: 900; font-stretch: 68%; text-transform: uppercase; letter-spacing: .04em; rotate: 4deg; pointer-events: none; }
.mini-stamp.now { display: block; }
@media (max-width: 860px) {
  .editions { grid-template-columns: 1fr 1fr; }
  .editions li:first-child { grid-column: 1 / -1; }
  .editions li:first-child a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: 0 1rem; }
  .editions li:first-child img { grid-row: 1 / span 3; }
  .editions li:first-child .ed-line { margin-top: 0; }
}
@media (max-width: 520px) { .editions { grid-template-columns: 1fr; } .editions li:first-child a { display: flex; } }

/* ---------- księga liczb ---------- */
.ledger-title { margin: 2.4rem 0 .6rem; font-size: 1rem; font-stretch: 80%; text-transform: uppercase; letter-spacing: .06em; }
.ledger { list-style: none; margin: 0; padding: 0; border-top: var(--rule); }
.ledger li { display: flex; align-items: baseline; gap: .6rem; padding: .55rem 0; border-bottom: var(--hair); }
.ledger li span { order: 1; flex: 0 1 auto; }
.ledger li::after { content: ""; order: 2; flex: 1 0 1.5rem; border-bottom: 2px dotted var(--ink); translate: 0 -.25em; }
.ledger b { order: 3; }
.ledger b { font-weight: 900; font-stretch: 65%; font-size: 1.6rem; line-height: 1; font-variant-numeric: tabular-nums; }

/* ---------- strona tytułowa podstron ---------- */
.page-hero { border-bottom: var(--rule); }
.page-hero h1 { max-width: 14ch; }
.page-hero .lead { margin-top: 1.6rem; }
.page-hero.with-poster .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: end; }
.page-hero figure, figure.poster { margin: 0; }
.page-hero.with-poster figure { border: var(--rule); background: var(--ink); max-width: 430px; width: 100%; justify-self: end; }
.page-hero blockquote { margin-bottom: 0; }
@media (max-width: 860px) {
  .page-hero.with-poster .wrap { grid-template-columns: 1fr; }
  .page-hero.with-poster figure { justify-self: start; max-width: 300px; }
}

/* spis treści podstrony */
.subnav { position: sticky; top: 66px; z-index: 40; background: var(--stock); border-bottom: var(--rule); }
.subnav ul { display: flex; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav li + li { border-left: var(--hair); }
.subnav a { display: block; padding: .75rem 1rem; white-space: nowrap; text-decoration: none; font-size: .88rem; font-weight: 700; font-stretch: 85%; letter-spacing: .05em; text-transform: uppercase; }
.subnav li:first-child a { padding-left: 0; }
.subnav a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.subnav a.active { color: var(--red-deep); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--red); }
main > nav.subnav + section { border-top: 0; }

/* ---------- harmonogram ---------- */
.timeline { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: var(--rule); }
.timeline.t3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline li { position: relative; padding: 1.1rem 1.2rem 1.2rem 0; }
.timeline li + li { border-left: var(--hair); padding-left: 1.2rem; }
.timeline .when { display: block; margin-bottom: .6rem; font-weight: 800; font-stretch: 75%; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; color: var(--red-deep); }
.timeline.t3 .when { font-size: 2.4rem; font-stretch: 62%; color: var(--red); line-height: 1; }
.timeline h3 { margin-bottom: .5rem; }
.timeline p { font-size: .98rem; margin: 0; }
.timeline li.past h3 { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.timeline li.now::after { content: attr(data-now); display: inline-block; margin-top: .9rem; padding: .1rem .5rem; border: 3px solid var(--red); color: var(--red); font-weight: 900; font-stretch: 68%; text-transform: uppercase; rotate: 5deg; }
@media (max-width: 860px) {
  .timeline, .timeline.t3 { grid-template-columns: 1fr; }
  .timeline li + li { border-left: 0; padding-left: 0; border-top: var(--hair); }
}
.programme { list-style: none; margin: 1.2rem 0 0; padding: 0; border-top: var(--rule); }
.programme li { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: .3rem 1.4rem; padding: 1rem 0; border-bottom: var(--hair); }
.programme time { font-weight: 800; font-stretch: 75%; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.programme strong { display: block; font-weight: 750; font-stretch: 85%; font-size: 1.1rem; }
.programme p { margin: .3rem 0 0; font-size: .98rem; }
@media (max-width: 560px) { .programme li { grid-template-columns: 1fr; } }

/* ---------- obsada: laureaci ---------- */
.awards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2.4rem; border-top: var(--rule); }
.award { padding: 1.2rem 1.4rem 1.4rem 0; }
.award + .award { border-left: var(--hair); padding-left: 1.4rem; }
.award .panel { margin: 0; font-weight: 850; font-stretch: 70%; font-size: 1.35rem; text-transform: uppercase; line-height: 1.05; color: var(--red-deep); }
.award .jury { margin: .5rem 0 1rem; font-size: .9rem; font-stretch: 90%; }
.award ul { list-style: none; margin: 0; padding: 0; }
.award li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .5rem; padding: .7rem 0; border-top: var(--hair); }
.award li::before { content: ""; order: 2; flex: 1 1 1.5rem; border-bottom: 2px dotted var(--ink); translate: 0 -.3em; }
.award .play { order: 1; font-weight: 800; font-stretch: 80%; font-size: 1.15rem; }
.award .author { order: 3; font-size: .98rem; font-stretch: 90%; }
.award .prize { order: 4; margin-top: .3rem; padding: .25rem .5rem; border: 2px solid var(--red); color: var(--red-deep); font-weight: 900; font-stretch: 70%; text-transform: uppercase; font-size: .85rem; rotate: -2deg; }
.award .why { order: 5; flex-basis: 100%; margin: .4rem 0 0; font-size: .92rem; line-height: 1.5; }
@media (max-width: 960px) { .awards { grid-template-columns: 1fr; } .award + .award { border-left: 0; padding-left: 0; border-top: var(--rule); } }

/* ---------- zasady ---------- */
.rules { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: var(--rule); border-left: var(--rule); }
.rules li { padding: 1rem 1.1rem 1.2rem; border-right: var(--rule); border-bottom: var(--rule); font-size: .98rem; line-height: 1.45; }
.rules b { display: block; margin-bottom: .45rem; font-weight: 900; font-stretch: 65%; font-size: 1.75rem; line-height: 1; text-transform: uppercase; }
@media (max-width: 960px) { .rules { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .rules { grid-template-columns: 1fr; } }

/* ---------- kroki ---------- */
.steps { list-style: none; margin: 1.4rem 0 0; padding: 0; counter-reset: st; }
.steps > li { counter-increment: st; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 1rem; padding: 1.1rem 0; border-top: var(--hair); }
.steps > li:first-child { border-top: var(--rule); }
.steps > li::before { content: counter(st); font-weight: 900; font-stretch: 62%; font-size: 2.8rem; line-height: .85; color: var(--red); }
.steps h3 { margin-bottom: .45rem; }
.steps p { margin: .3rem 0; }
.steps ul { margin: .4rem 0; padding-left: 1.1rem; }
.steps li li { margin: .2rem 0; }

/* ---------- dialogi: zapis jak w maszynopisie sztuki ---------- */
.dialogue { margin: 2rem 0 0; padding: 1.4rem 0 0; border-top: var(--rule); }
.dialogue h3 { font-size: 1.35rem; }
.dialogue .meta { margin: .5rem 0 1rem; font-size: .92rem; font-style: italic; }
.dialogue .lines { margin: 0; padding: 1rem 1.2rem; background: color-mix(in srgb, var(--stock) 70%, #fff); border: var(--hair); line-height: 1.85; font-size: 1.05rem; }
.dialogue .lines b { display: inline-block; min-width: 6.5rem; font-weight: 850; font-stretch: 75%; letter-spacing: .06em; font-size: .92rem; }
.dialogue .sub-txt { margin: .9rem 0 0; font-size: .98rem; }
.dialogue .sub-txt strong { color: var(--red-deep); text-transform: uppercase; font-stretch: 80%; letter-spacing: .05em; font-size: .9rem; }

/* ---------- pliki do pobrania ---------- */
.downloads { list-style: none; margin: 1.2rem 0 0; padding: 0; border-top: var(--rule); }
.downloads li { border-bottom: var(--hair); }
.downloads a { display: grid; grid-template-columns: 4rem minmax(0, 1fr) 1.4rem; gap: 1rem; align-items: center; padding: .85rem 0; text-decoration: none; transition: background-color .2s var(--ease), padding .3s var(--ease), color .2s; }
.downloads a:hover { background: var(--ink); color: var(--stock); padding-inline: .7rem; }
.ft { justify-self: start; padding: .15rem .4rem; border: 2px solid currentColor; font-weight: 900; font-stretch: 70%; font-size: .78rem; letter-spacing: .06em; }
.dl-t { font-weight: 700; font-stretch: 90%; line-height: 1.3; }
.dl-t small { display: block; margin-top: .15rem; font-weight: 400; font-size: .88rem; }
.dl-i { width: 1.25rem; height: 1.25rem; font-size: 0; color: inherit; background: currentColor; -webkit-mask: var(--i-arrow) center / contain no-repeat; mask: var(--i-arrow) center / contain no-repeat; }
a[download] .dl-i { -webkit-mask-image: var(--i-down); mask-image: var(--i-down); }
a[target="_blank"] .dl-i { -webkit-mask-image: var(--i-out); mask-image: var(--i-out); }

/* ---------- galeria: tablice numerowane ---------- */
.gallery { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.4rem 1rem; counter-reset: plate; }
.gallery li { counter-increment: plate; }
.gallery a { display: block; border: var(--rule); background: var(--ink); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: scale .5s var(--ease), opacity .3s; }
.gallery a:hover img { scale: 1.04; opacity: .92; }
.gallery li::after { content: "fot. " counter(plate, decimal-leading-zero); display: block; margin-top: .4rem; font-size: .78rem; font-weight: 800; font-stretch: 80%; letter-spacing: .08em; text-transform: uppercase; }
html.lang-en .gallery li::after { content: "plate " counter(plate, decimal-leading-zero); }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(22 19 15 / .96); color: #f4efe6; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgb(22 19 15 / .6); }
.lightbox img { max-width: min(92vw, 1500px); max-height: 84dvh; width: auto; border: 2px solid #f4efe6; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; background: none; border: 2px solid #f4efe6; cursor: pointer; }
.lightbox button:hover { background: #f4efe6; color: var(--ink); }
.lightbox svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 2.4; }
.lightbox :focus-visible { outline-color: #f4efe6; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; bottom: 1rem; left: 50%; translate: -50% 0; margin: 0; font-weight: 800; font-stretch: 80%; letter-spacing: .1em; }

/* ---------- wideo i plakaty ---------- */
.video { border: var(--rule); background: var(--ink); }
.video video { width: 100%; aspect-ratio: 16 / 9; background: var(--ink); }
.video.vertical { max-width: 340px; }
/* film na zewnętrznej platformie: stopklatka z odnośnikiem */
.video-link { position: relative; display: block; border: var(--rule); background: var(--ink); color: var(--ink); text-decoration: none; }
.video-link img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.video-link .vl-label { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1rem; background: var(--stock); border: var(--rule); font-weight: 800; font-stretch: 85%; text-transform: uppercase; letter-spacing: .05em; }
.video-link .vl-label svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.video-link:hover .vl-label, .video-link:focus-visible .vl-label { background: var(--ink); color: var(--stock); }
@media (max-width: 600px) { .video-link .vl-label { left: .5rem; bottom: .5rem; right: .5rem; padding: .45rem .6rem; font-size: .78rem; } .video-link .vl-ext { margin-left: auto; } }
/* aktualności na stronie O nas */
.news h3 { font-size: 1.5rem; }
.news .dateline { margin: .4rem 0 .9rem; }
.news > p:not(.dateline) { max-width: 62ch; margin: 0 0 1.4rem; }
.video.vertical video { aspect-ratio: 9 / 16; }
.video-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.6rem; margin-top: 2rem; align-items: start; }
.video-grid figure { margin: 0; }
.figcap { margin-top: .6rem; font-size: .9rem; font-stretch: 90%; }
#spot .video { margin-top: 2rem; max-width: 960px; }
.poster-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; margin-top: 2rem; }
.poster { display: block; border: var(--rule); background: var(--ink); }
.poster img { width: 100%; }
#plakat .video-grid { grid-template-columns: 1fr 1fr; }
.two-col > .poster { max-width: 420px; justify-self: center; }
#plakat .downloads { max-width: 640px; margin-top: 2rem; }
@media (max-width: 700px) { .video-grid, #plakat .video-grid { grid-template-columns: 1fr; } }

/* ---------- slajdy ---------- */
.slides { margin-top: 2rem; border: var(--rule); background: var(--ink); }
.slides-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides-track::-webkit-scrollbar { display: none; }
.slides-track img { flex: 0 0 100%; scroll-snap-align: start; }
.slides-ctrl { display: flex; justify-content: space-between; align-items: center; padding: .5rem; background: var(--stock); border-top: var(--rule); font-weight: 800; font-stretch: 80%; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.slides-ctrl button { width: 2.8rem; height: 2.6rem; border: var(--rule); background: none; font-size: 0; cursor: pointer; }
.slides-ctrl button::before { content: ""; display: block; width: 1.2rem; height: 1.2rem; margin: auto; background: currentColor; -webkit-mask: var(--i-arrow) center / contain no-repeat; mask: var(--i-arrow) center / contain no-repeat; }
.slides-ctrl [data-prev]::before { rotate: 180deg; }
.slides-ctrl button:hover { background: var(--ink); color: var(--stock); }
.slides + .downloads { margin-top: 1.6rem; max-width: 640px; }
.values { display: flex; flex-wrap: wrap; list-style: none; margin: 2rem 0 0; padding: 0; border-top: var(--rule); border-bottom: var(--rule); }
.values li { flex: 1 1 10rem; padding: .9rem 1rem .9rem 0; font-weight: 700; font-stretch: 80%; font-size: 1.25rem; text-transform: uppercase; }
.values li + li { border-left: var(--hair); padding-left: 1rem; }
.values b { color: var(--red); font-weight: 900; font-stretch: 62%; font-size: 2.2rem; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; border-top: var(--rule); }
.card { padding: 1rem 0 1.2rem; border-bottom: var(--hair); }
.card h3 { margin: 0 0 .4rem; }
.prose .card h3 { margin: 0 0 .4rem; }
.card p { margin: 0; font-size: .98rem; }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* ---------- zakładki ---------- */
.tablist { display: flex; flex-wrap: wrap; border-top: var(--rule); border-left: var(--rule); margin-bottom: clamp(2rem, 4vw, 3rem); }
.tablist [role="tab"] { flex: 1 1 auto; padding: .8rem 1rem; background: none; border: 0; border-right: var(--rule); border-bottom: var(--rule); cursor: pointer; font-weight: 800; font-stretch: 80%; font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; text-align: left; transition: background-color .2s var(--ease); }
.tablist [role="tab"]:hover { background: color-mix(in srgb, var(--stock) 75%, #fff); }
.tablist [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--stock); }
[role="tabpanel"]:focus-visible { outline-offset: 8px; }
[role="tabpanel"] > blockquote:first-child { margin-top: 0; }
[role="tabpanel"] h2 { margin-bottom: 1.4rem; }

/* ---------- partnerzy ---------- */
.partner { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 4rem); padding-block: clamp(2.4rem, 5vw, 3.6rem); border-top: var(--rule); scroll-margin-top: 130px; }
.partner:first-child { border-top: 0; padding-top: 0; }
.p-logo { align-self: start; position: sticky; top: 140px; background: var(--stock); }
.p-logo img { max-width: 100%; max-height: 120px; width: auto; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.15); }
.partner .role { margin: .7rem 0 1.2rem; font-weight: 800; font-stretch: 80%; letter-spacing: .06em; text-transform: uppercase; color: var(--red-deep); }
.partner h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
@media (max-width: 700px) { .partner { grid-template-columns: 1fr; } .p-logo { position: static; } .p-logo img { max-height: 80px; } }

/* ---------- stopka drukarni ---------- */
.site-footer { border-top: var(--rule); background: var(--ink); color: var(--stock); padding-top: clamp(2.6rem, 5vw, 4rem); }
.site-footer a { color: inherit; }
.site-footer a:hover { text-decoration-color: currentColor; }
.site-footer :focus-visible { outline-color: var(--stock); }
.imprint { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) minmax(0, .8fr); gap: 2rem clamp(2rem, 4vw, 4rem); padding-bottom: 2.4rem; }
.imp-name { margin: 0 0 .6rem; font-weight: 900; font-stretch: 62%; font-size: 2.4rem; line-height: .95; text-transform: uppercase; }
.imp-list { margin: 0; border-top: 2px solid var(--stock); }
.imp-list > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; padding: .55rem 0; border-bottom: 1px solid color-mix(in srgb, var(--stock) 40%, transparent); }
.imp-list dt { font-weight: 800; font-stretch: 80%; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; padding-top: .15rem; }
.imp-list dd { margin: 0; }
.imp-links { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--stock); }
.imp-links li { border-bottom: 1px solid color-mix(in srgb, var(--stock) 40%, transparent); }
.imp-links a { display: block; padding: .55rem 0; text-decoration: none; font-weight: 700; font-stretch: 85%; text-transform: uppercase; letter-spacing: .05em; font-size: .92rem; }
.imp-links a:hover { text-decoration: underline; }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.6rem; padding: 1.6rem; background: var(--stock); color: var(--ink); }
.logos a { text-decoration: none; display: flex; align-items: center; gap: .7rem; }
.logos img { height: 52px; width: auto; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.2); }
.logos .logo-canal img { height: 26px; }
.logos .logo-uw span { font-size: .78rem; line-height: 1.15; font-weight: 700; font-stretch: 85%; text-transform: uppercase; letter-spacing: .03em; }
.logos .logo-txt { flex-direction: column; align-items: flex-start; gap: .1rem; font-weight: 850; font-stretch: 75%; text-transform: uppercase; line-height: 1.05; font-size: 1rem; }
.logo-txt small { font-weight: 600; font-size: .75rem; letter-spacing: .04em; }
.colophon { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding-block: 1.2rem 1.6rem; font-size: .85rem; }
.colophon p { margin: 0; }
@media (max-width: 900px) { .imprint { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { text-align: center; min-height: 60vh; display: grid; place-items: center; }
.notfound h1 { font-size: clamp(6rem, 22vw, 14rem); max-width: none; color: var(--red); line-height: .8; }
.notfound .lead { margin: 1.6rem auto 0; }
.notfound .actions { justify-content: center; }

.themes { margin: 1rem 0 1.4rem; }

/* ---------- dowód: obsada II edycji ---------- */
.proof-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.cast { list-style: none; margin: 0; padding: 0; border-top: var(--rule); }
.cast li { display: flex; align-items: baseline; gap: .6rem; padding: .7rem 0; border-bottom: var(--hair); }
.cast li::after { content: ""; order: 2; flex: 1 0 1.5rem; border-bottom: 2px dotted var(--ink); translate: 0 -.3em; }
.cast .play { order: 1; font-weight: 850; font-stretch: 72%; font-size: clamp(1.3rem, 2.2vw, 1.75rem); text-transform: uppercase; line-height: 1.05; }
.cast .author { order: 3; font-size: 1.02rem; font-stretch: 90%; white-space: nowrap; }
.with-us { font-size: 1.15rem; line-height: 1.5; margin: 0; }
.plates-title { margin-top: clamp(2.6rem, 5vw, 3.6rem); font-size: 1rem; font-stretch: 80%; text-transform: uppercase; letter-spacing: .06em; }
.plates-title + .gallery { margin-top: 1rem; }
.proof .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .proof-grid { grid-template-columns: 1fr; } .proof .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cast li { flex-wrap: wrap; } .cast li::after { display: none; } .cast .author { flex-basis: 100%; } }
.ledger-wide { max-width: 46rem; }
.p-word { font-weight: 850; font-stretch: 70%; font-size: 1.5rem; line-height: 1; text-transform: uppercase; }
.p-word small { display: block; margin-top: .4rem; font-weight: 600; font-stretch: 90%; font-size: .8rem; letter-spacing: .04em; }
.to-top { display: inline-flex; align-items: center; gap: .4rem; }
.to-top svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.4; }

/* okładka: tytuł pionowo wzdłuż grzbietu, plakat w dużej skali */
@media (min-width: 961px) {
  .cover { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 0 1.4rem; }
  .cover-type { grid-column: 1; grid-row: 1; align-self: end; margin: 0; writing-mode: vertical-rl; rotate: 180deg; display: flex; flex-direction: column; gap: 0 1rem; }
  .cover-title { display: flex; flex-direction: column; gap: 0 .55rem; font-size: clamp(2.6rem, 4.3vw, 4.1rem); white-space: nowrap; line-height: .9; }
  .cover-title .cover-en { margin: 0; padding: 0; border: 0; font-size: .44em; }
  .cover-ed { margin: 0; padding: 0; border: 0; font-size: .78rem; }
  .cover-poster { grid-column: 2; grid-row: 1; width: 100%; max-width: 26rem; justify-self: end; }
}
