/* ==========================================================================
   FAIR FILM — fair-film.pl
   Ciepły papier, atramentowa czerń i cztery kolory z logo.
   ========================================================================== */

/* ---- Czcionki (hostowane lokalnie — bez połączeń z Google) --------------- */
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("../fonts/manrope-latin-ext.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: "Manrope"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("../fonts/manrope-latin.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: "Arimo"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/arimo-latin-ext.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: "Arimo"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/arimo-latin.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;
}

/* ---- Tokeny ------------------------------------------------------------- */
:root {
  --paper: #faf6ef;
  --paper-2: #f2ebdf;
  --paper-3: #e9dfcf;
  --ink: #17120f;
  --ink-2: #4a423b;
  --ink-3: #6f665d;
  --line: rgba(23, 18, 15, .14);

  /* kolory z logo */
  --magenta: #f2339b;
  --magenta-ink: #b3126a;   /* wersja do tekstu na jasnym tle */
  --teal: #02b3b1;
  --teal-ink: #007c7a;
  --yellow: #fcb503;
  --blue: #0464b0;
  --purple: #49178a;        /* fiolet z logo (miejsce nakładania się kół) */

  --font-head: "Arimo", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---- Reset i baza ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(16px, 1.05vw + 12px, 18.5px);
  line-height: 1.65;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--yellow); color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }

/* ---- Typografia pomocnicza --------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--magenta-ink);
  margin-bottom: 1.1rem;
}
.eyebrow.teal { color: var(--teal-ink); }
.eyebrow.blue { color: var(--blue); }
.h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); letter-spacing: -.03em; line-height: 1.02; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: -.025em; }
.h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); letter-spacing: -.015em; line-height: 1.2; }
.lead { font-size: clamp(1.08rem, 1.3vw + .5rem, 1.32rem); line-height: 1.6; color: var(--ink-2); max-width: 36em; font-weight: 400; }
.muted { color: var(--ink-3); }

/* ---- Pasek górny i nagłówek -------------------------------------------- */
.topbar { background: var(--paper); border-bottom: 1px solid var(--line); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.topbar .wrap { padding-block: 9px; }

.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; letter-spacing: .06em; }
.brand img { width: 38px; height: auto; }

.nav ul { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.nav a { position: relative; display: inline-block; padding: 8px 2px; text-decoration: none; font-size: .86rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); transition: color .2s; }
.nav a:not(.cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--magenta); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:not(.cta):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a.cta { background: var(--ink); color: var(--paper); padding: 11px 20px; border-radius: 3px; transition: background .2s, transform .2s var(--ease); }
.nav a.cta:hover { background: var(--magenta-ink); color: #fff; transform: translateY(-1px); }
.nav a.cta[aria-current="page"] { background: var(--magenta-ink); color: #fff; }

.nav-toggle { display: none; align-items: center; gap: 10px; background: none; border: 1px solid var(--ink); color: var(--ink); font: 700 .78rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; padding: 11px 14px; border-radius: 3px; cursor: pointer; }
.nav-toggle .bars { width: 16px; height: 10px; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease); }
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 4px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 4px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; display: none; }
  .js .nav.open { display: block; }
  .js .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js .nav li { border-bottom: 1px solid var(--line); }
  .js .nav a { display: block; padding: 16px 0; font-size: .95rem; }
  .js .nav a::after { display: none; }
  .js .nav li:has(.cta) { border: 0; padding-top: 16px; }
  .js .nav a.cta { text-align: center; padding: 15px 20px; }
  .no-js .nav ul, html:not(.js) .nav ul { flex-wrap: wrap; row-gap: 0; justify-content: flex-end; }
  html:not(.js) .bar { flex-wrap: wrap; }
}

/* ---- Przyciski i linki -------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 3px; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); font: 700 .92rem/1.2 var(--font-body); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn:hover { background: var(--magenta-ink); border-color: var(--magenta-ink); color: #fff; transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn.on-dark { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn.on-dark:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn .arr, .link .arr { transition: transform .25s var(--ease); }
.btn:hover .arr, .link:hover .arr { transform: translateX(4px); }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 2rem; }

/* ---- Sekcje ------------------------------------------------------------- */
.section { padding-block: clamp(64px, 9vw, 124px); }
.section.tight { padding-block: clamp(48px, 6vw, 84px); }
.section.alt { background: var(--paper-2); }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .lead { margin-top: 1.2rem; }

/* ---- Hero (strona główna) ---------------------------------------------- */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero .lead { margin-top: 1.6rem; }
.hero-art { position: relative; aspect-ratio: 1 / 1.02; background: var(--paper-2); border-radius: 4px; overflow: hidden; display: grid; place-items: center; background-image: radial-gradient(rgba(23,18,15,.13) 1px, transparent 1.4px); background-size: 18px 18px; }
.hero-art svg { width: 74%; height: auto; overflow: visible; }
.hero-art .ring { position: absolute; right: 9%; bottom: 8%; width: 13%; aspect-ratio: 1; border: 1.5px solid var(--ink-3); border-radius: 50%; opacity: .55; }
.hero-art svg circle { mix-blend-mode: multiply; }
.hero-art svg g { isolation: isolate; }
@keyframes drift-a { from { transform: translate(-22px,-18px); } to { transform: translate(0,0); } }
@keyframes drift-b { from { transform: translate(22px,-18px); } to { transform: translate(0,0); } }
@keyframes drift-c { from { transform: translate(-22px,18px); } to { transform: translate(0,0); } }
@keyframes drift-d { from { transform: translate(22px,18px); } to { transform: translate(0,0); } }
.hero-art circle { animation-duration: 1.6s; animation-timing-function: var(--ease); animation-fill-mode: both; }
.hero-art .c1 { animation-name: drift-a; } .hero-art .c2 { animation-name: drift-b; }
.hero-art .c3 { animation-name: drift-c; } .hero-art .c4 { animation-name: drift-d; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; aspect-ratio: 1 / .85; }
  .hero-art svg { width: 66%; height: auto; }
}

/* ---- Pas z cytatem ------------------------------------------------------ */
.band { background: var(--ink); color: var(--paper); padding-block: clamp(64px, 9vw, 124px); position: relative; overflow: hidden; }
.band .quote-mark { font-family: var(--font-head); font-size: clamp(5rem, 12vw, 9rem); line-height: .6; color: var(--magenta); display: block; margin-bottom: .1em; }
.band blockquote { margin: 0; max-width: 24ch; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.band blockquote em { font-style: normal; color: var(--yellow); }
.band p { max-width: 34em; margin: 1.6rem 0 0; color: rgba(250,246,239,.72); font-size: 1.08rem; }

/* ---- Listwa z czterech kolorów logo ---------------------------------- */
.stripes { display: grid; grid-template-columns: repeat(4, 1fr); height: clamp(10px, 1.4vw, 18px); }
.stripes span:nth-child(1) { background: var(--magenta); }
.stripes span:nth-child(2) { background: var(--teal); }
.stripes span:nth-child(3) { background: var(--yellow); }
.stripes span:nth-child(4) { background: var(--blue); }
.band .stripes { position: absolute; left: 0; right: 0; top: 0; }

/* ---- Hasło "Fair play = Fair Film" -------------------------------------- */
.slogan { background: var(--purple); color: var(--paper); padding-bottom: clamp(64px, 9vw, 124px); }
.slogan .wrap { padding-top: clamp(56px, 8vw, 110px); }
.slogan .eyebrow { color: rgba(250,246,239,.78); }
.slogan blockquote { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 8.2vw, 7rem); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.slogan .eq { color: var(--yellow); }
.slogan em { font-style: normal; background: linear-gradient(90deg, var(--magenta) 0 25%, var(--teal) 25% 50%, var(--yellow) 50% 75%, var(--blue) 75% 100%) left bottom / 100% .1em no-repeat; padding-bottom: .06em; }

/* ---- Kafle "Dokąd dalej" ------------------------------------------------ */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(380px, 42vw, 520px); padding: clamp(24px, 3vw, 40px); border-radius: 4px; overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; }
.tile .h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.tile p { margin: .9rem 0 0; max-width: 28em; color: rgba(255,255,255,.88); }
.tile .link { margin-top: 1.6rem; align-self: flex-start; }
.tile.photo::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../img/wystawa.jpg") 60% 100% / auto 165% no-repeat; transition: transform 1.2s var(--ease); }
.tile.photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(14,10,8,.9) 12%, rgba(14,10,8,.55) 42%, rgba(14,10,8,0) 70%); }
.tile.photo:hover::before { transform: scale(1.04); }
.tile.color { background: var(--ink); }
.tile.color .icon { position: absolute; top: clamp(26px, 3.2vw, 44px); left: clamp(24px, 3vw, 40px); width: clamp(96px, 10.5vw, 132px); height: auto; overflow: visible; transition: transform .6s var(--ease); }
.tile.color .icon path { stroke: rgba(250, 246, 239, .9); }
.tile.color .icon .b2 { stroke: var(--magenta); fill: var(--ink); }
.tile.color .icon .ln { stroke: var(--magenta); }
.tile.color:hover .icon { transform: translateY(-4px) rotate(-2deg); }
.tile .date { display: inline-flex; align-self: flex-start; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; border-radius: 2px; margin-bottom: 1.2rem; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 360px; } }

/* ---- Inicjator ---------------------------------------------------------- */
.initiator { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 18px 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: clamp(26px, 3vw, 40px); }
.initiator .label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.initiator .name { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -.02em; }

/* ---- Podstrony: nagłówek strony ---------------------------------------- */
.page-head { padding-block: clamp(48px, 7vw, 100px) clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head .lead { margin-top: 1.4rem; }

/* ---- Forum: fakty ------------------------------------------------------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; margin-top: 2.4rem; border-top: 1px solid var(--ink); max-width: 720px; }
.fact { padding: 18px 24px 4px 0; }
.fact .k { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.fact .v { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -.02em; line-height: 1.15; }

.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split .body p { max-width: 38em; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 20px; } }

/* karty z numerami / kolorem (jak na wzorze) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.card { position: relative; background: var(--paper-2); border-radius: 4px; padding: clamp(24px, 2.6vw, 36px); padding-top: clamp(44px, 4vw, 56px); overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 6px; background: var(--accent, var(--magenta)); }
.card .num { position: absolute; right: 22px; top: 22px; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--ink-3); opacity: .5; }
.card h3 { margin-bottom: .7rem; }
.card p { color: var(--ink-2); margin-bottom: 0; font-size: .97rem; }
.card.dark { background: var(--ink); color: var(--paper); }
.card.dark p { color: rgba(250,246,239,.74); }
.card.a-magenta { --accent: var(--magenta); } .card.a-teal { --accent: var(--teal); }
.card.a-yellow { --accent: var(--yellow); } .card.a-blue { --accent: var(--blue); }

/* ---- Wystawa ------------------------------------------------------------ */
.exhibit { display: grid; gap: clamp(28px, 4vw, 56px); }
.exhibit figure { margin: 0; }
.exhibit figure img { width: 100%; border-radius: 4px; background: var(--paper-3); }
.exhibit figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 12px; font-size: .82rem; color: var(--ink-3); }
.exhibit-text { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.exhibit-quote { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.1; letter-spacing: -.025em; margin: 0; }
.exhibit-quote cite { display: block; margin-top: 1rem; font-family: var(--font-body); font-style: normal; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--magenta-ink); }
@media (max-width: 860px) { .exhibit-text { grid-template-columns: 1fr; } }

/* ---- Włącz się ---------------------------------------------------------- */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.path { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3.4vw, 52px); border-radius: 4px; background: var(--paper-2); overflow: hidden; min-height: 420px; }
.path.dark { background: var(--ink); color: var(--paper); }
.path .who { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.4rem; }
.path.light .who { color: var(--magenta-ink); }
.path.dark .who { color: var(--yellow); }
.path.dark::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 10px; background: linear-gradient(90deg, var(--magenta) 0 25%, var(--teal) 25% 50%, var(--yellow) 50% 75%, var(--blue) 75% 100%); }
.path h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.025em; margin-bottom: 1rem; }
.path p { color: var(--ink-2); max-width: 30em; }
.path.dark p { color: rgba(250,246,239,.78); }
.path .btn { margin-top: auto; align-self: flex-start; }
.path .lead-in { margin-bottom: 2rem; }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } .path { min-height: 0; } .path .btn { margin-top: 2rem; } }

/* ---- O nas: oś czasu i osoby -------------------------------------------- */
.steps { position: relative; display: grid; gap: 0; max-width: 46rem; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-bottom: 40px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 27px; top: 44px; bottom: 0; width: 2px; background: var(--line); }
.step:last-child::before { display: none; }
.step .dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font: 700 1.15rem/1 var(--font-head); }
.step:nth-child(1) { --c: var(--magenta); } .step:nth-child(2) { --c: var(--teal); } .step:nth-child(3) { --c: var(--blue); }
.step:nth-child(2) .dot { color: var(--ink); }
.step h3 { margin-bottom: .4rem; padding-top: 12px; }
.step p { color: var(--ink-2); margin: 0; }

.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(20px, 3vw, 40px); }
.person { display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: start; padding-top: 24px; border-top: 1px solid var(--ink); }
.avatar { width: 96px; height: 96px; border-radius: 50%; position: relative; overflow: hidden; background: var(--magenta); isolation: isolate; }
.avatar span { position: absolute; }
.avatar .a1 { width: 62%; height: 62%; right: -14%; bottom: -14%; border-radius: 50%; background: var(--teal); mix-blend-mode: multiply; }
.avatar .ini { inset: 0; display: grid; place-items: center; font: 700 1.5rem/1 var(--font-head); color: var(--ink); z-index: 2; letter-spacing: .02em; padding-bottom: 6%; padding-right: 6%; }
.person:nth-child(2) .avatar { background: var(--yellow); }
.person:nth-child(2) .a1 { background: var(--blue); }
.person h3 { margin-bottom: .2rem; }
.person .role { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .9rem; display: block; }
.person p { margin: 0; color: var(--ink-2); font-size: .97rem; }
@media (max-width: 480px) { .person { grid-template-columns: 72px 1fr; gap: 16px; } .avatar { width: 72px; height: 72px; } .avatar .ini { font-size: 1.15rem; } }

.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.logos li { display: grid; place-items: center; min-height: 100px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.logos img { max-height: 56px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.logos li:hover img { filter: none; opacity: 1; }

/* ---- Kontakt ------------------------------------------------------------ */
.contact-mail { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 5.4vw, 3.6rem); letter-spacing: -.03em; line-height: 1.1; text-decoration: none; border-bottom: 3px solid var(--magenta); word-break: break-word; transition: color .2s; }
.contact-mail:hover { color: var(--magenta-ink); }

/* ---- Stopka ------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--paper); padding-block: clamp(48px, 6vw, 84px) 28px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .8fr)); gap: 40px; }
.site-footer .brand img { width: 44px; }
.site-footer p { color: rgba(250,246,239,.7); font-size: .95rem; max-width: 26em; margin: 1rem 0 0; }
.site-footer h4 { font-family: var(--font-body); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(250,246,239,.5); margin-bottom: 1rem; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { text-decoration: none; color: rgba(250,246,239,.9); font-size: .95rem; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(250,246,239,.16); font-size: .8rem; color: rgba(250,246,239,.55); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

.path:target, .card:target { outline: 3px solid var(--yellow); outline-offset: 5px; }

/* ---- Pojawianie się przy przewijaniu ------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

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

/* ==== TREŚCI 2 ==== zdjęcia, oś czasu, rozwijane bloki, kontakt ================= */

/* Zdjęcie szerokie */
.photo { margin: 0; }
.photo img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 4px; background: var(--paper-3); }
.photo figcaption { margin-top: 10px; font-size: .8rem; color: var(--ink-3); text-align: right; }
@media (max-width: 700px) { .photo img { aspect-ratio: 4 / 3; } }

/* Galeria wystawy */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); }
.gallery figure { margin: 0; }
.gallery figure.wide { grid-column: 1 / -1; }
.gallery img { width: 100%; height: auto; border-radius: 4px; background: var(--paper-3); }
.gallery figure:not(.wide) img { aspect-ratio: 3 / 2; object-fit: cover; }
.gallery-cap { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin: 0; font-size: .82rem; color: var(--ink-3); }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr; } }

/* Logo Związku */
.zzf { display: block; height: clamp(64px, 8vw, 92px); width: auto; margin-top: .7rem; mix-blend-mode: multiply; }
.zzf-foot { display: block; width: 190px; height: auto; margin-top: .2rem; mix-blend-mode: screen; opacity: .95; }
.initiator { align-items: center; }

/* Oś czasu (Proces) */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(40px, 6vw, 84px); }
.year { display: grid; grid-template-columns: minmax(150px, .3fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: start; border-top: 1px solid var(--ink); padding-top: 26px; }
.year .y { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -.04em; }
.year .y small { display: block; margin-top: .8rem; font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--magenta-ink); }
.t-item { position: relative; padding: 0 0 30px 30px; border-left: 2px solid var(--line); }
.t-item:last-child { padding-bottom: 0; border-left-color: transparent; }
.t-item::before { content: ""; position: absolute; left: -7px; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--magenta); }
.t-item:last-child::before { left: -7px; }
.t-item:last-child { border-left: 2px solid transparent; }
.t-item h3 { margin-bottom: .45rem; }
.t-item h3 a { text-decoration: none; }
.t-item h3 a:hover { color: var(--magenta-ink); }
.t-item p { margin: 0; color: var(--ink-2); max-width: 40em; }
@media (max-width: 760px) { .year { grid-template-columns: 1fr; gap: 18px; } }

/* Rozwijane bloki */
.acc-inline { margin-top: 1.2rem; }
.acc-inline > summary { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; font-weight: 700; font-size: .95rem; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.acc-inline > summary::-webkit-details-marker { display: none; }
.acc-inline > summary::after { content: "↓"; transition: transform .25s var(--ease); }
.acc-inline[open] > summary::after { transform: rotate(180deg); }
.criteria, .coalition { margin-top: 1.4rem; }
.criteria li { padding: .55rem 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.criteria li:first-child { border-top: 1px solid var(--line); }
.coalition { columns: 2 300px; column-gap: 40px; }
.coalition li { break-inside: avoid; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.patrons li { padding: .7rem 0; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -.01em; }
.patrons li:first-child { border-top: 1px solid var(--ink); }

/* Program Forum — kafle rozwijane */
.cards.program { align-items: start; }
.card.acc { padding: 0; }
.card.acc > summary { display: block; list-style: none; cursor: pointer; padding: clamp(44px, 4vw, 56px) clamp(24px, 2.6vw, 36px) clamp(22px, 2.4vw, 30px); position: relative; }
.card.acc > summary::-webkit-details-marker { display: none; }
.card.acc > summary::after { content: "Rozwiń +"; display: block; margin-top: 1.2rem; font-size: .85rem; font-weight: 700; color: var(--ink); }
.card.acc[open] > summary::after { content: "Zwiń −"; }
.card.acc .kicker { display: block; margin-bottom: .6rem; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.card.acc .h3 { display: block; }
.card.acc .plus { display: none; }
.card.acc .acc-body { padding: 0 clamp(24px, 2.6vw, 36px) clamp(24px, 2.6vw, 32px); }
.card.acc .acc-body p { margin: 0 0 .8em; }
.card.acc .credit { font-size: .85rem; font-weight: 700; color: var(--ink-3); margin: 0; }
.card.acc > summary:hover .h3 { color: var(--magenta-ink); }

/* Kontakt */
.k-label { display: block; margin-bottom: .7rem; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.contact-blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(28px, 5vw, 72px); }
.contact-blocks > div { border-top: 1px solid var(--ink); padding-top: 20px; }
.contact-blocks .c-name { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -.015em; margin: 0 0 .6rem; }
.contact-blocks p { margin: 0 0 .7em; }
.contact-blocks a { text-underline-offset: .2em; }

/* Strona główna: „Czym jest Fair Film?” w dwóch kolumnach (tekst + zdjęcie) */
.about { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about .h2.big { font-size: clamp(2.2rem, 4.8vw, 3.7rem); margin-bottom: 1.6rem; }
.about-text .lead { margin-bottom: 1.2rem; }
.about-text p { max-width: 36em; }
.about-photo { position: relative; margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 42% 50%; border-radius: 6px; background: var(--paper-3); }
.about-photo figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(250, 246, 239, .92); color: var(--ink); font-size: .74rem; font-weight: 700; letter-spacing: .02em; padding: 6px 10px; border-radius: 2px; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-photo img { aspect-ratio: 4 / 3; }
}
