/* Strona promocyjna Hooligans Honor. Kanon: docs/gfx/kanon.md (beton, pędzel, taśma, marker, szalik; bez gradientów,
   szkła i ikonek). url(@i/<id>) podmienia strona/zbuduj.mjs na plik z strona/obrazy/. */

@font-face { font-family: "Bebas Neue"; font-weight: 400; font-display: swap; src: url(/f/bebasneue-400-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: "Bebas Neue"; font-weight: 400; font-display: swap; src: url(/f/bebasneue-400-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(/f/barlow-400-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: "Barlow"; font-weight: 400; font-display: swap; src: url(/f/barlow-400-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(/f/barlow-600-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: "Barlow"; font-weight: 600; font-display: swap; src: url(/f/barlow-600-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Mansalva"; font-weight: 400; font-display: swap; src: url(/f/mansalva-400-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: "Mansalva"; font-weight: 400; font-display: swap; src: url(/f/mansalva-400-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* zapas o tych samych wymiarach, żeby tekst nie skakał przy podmianie (te same nadpisania co w grze) */
@font-face { font-family: "Barlow Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 92.24%; ascent-override: 108.41%; descent-override: 21.68%; line-gap-override: 0%; }
@font-face { font-family: "Bebas Neue Fallback"; src: local("Impact"); size-adjust: 81.88%; ascent-override: 109.92%; descent-override: 36.64%; line-gap-override: 0%; }

:root {
  --tlo: #0e0d0c;
  --beton: #1a1816;
  --papier: #ebe4d6;
  --tekst: #d9d2c5;
  --szary: #9c958a;
  --czerwien: #c8161d;
  --marker: #f3c623;
  --tusz: #15120f;
  --display: "Bebas Neue", "Bebas Neue Fallback", Impact, sans-serif;
  --body: "Barlow", "Barlow Fallback", Arial, sans-serif;
  --marker-font: "Mansalva", "Segoe Print", cursive;
  --max: 72rem;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--tlo);
  color: var(--tekst);
  font: 400 1.0625rem/1.6 var(--body);
  overflow-x: hidden;
}
/* beton: jedno zdjęcie muru w szarości pod całą stroną (bez kafli i szwów), przyciemnione */
body::before { content: ""; position: fixed; inset: 0; z-index: -2; background: url(/i/beton-1100.838372ea.webp) center / cover no-repeat; opacity: 0.5; pointer-events: none; }
img, video, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--papier); text-decoration-color: var(--czerwien); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: #fff; }
a:focus-visible, summary:focus-visible, .btn:focus-visible { outline: 3px solid var(--marker); outline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1; letter-spacing: 0.01em; color: var(--papier); text-transform: uppercase; margin: 0; }

.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--marker); color: var(--tusz); padding: 0.5rem 1rem; font-weight: 600; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- pasek u góry ---------- */
.top {
  position: absolute; z-index: 20; inset: 0 0 auto 0;
  display: flex; align-items: center; gap: 1rem;
  padding: 0.75rem 1rem;
}
.top-znak img { width: 27px; height: 40px; }
.top-nav { display: none; gap: 1.5rem; margin-left: auto; font-family: var(--display); font-size: 1.25rem; letter-spacing: 0.04em; }
.top-nav a { text-decoration: none; color: var(--papier); text-shadow: 0 1px 6px #000; }
.top-nav a:hover { color: var(--marker); }
.top-graj {
  margin-left: auto; font-family: var(--display); font-size: 1.1rem; letter-spacing: 0.04em; text-decoration: none;
  color: #fff; padding: 0.4rem 1.1rem 0.3rem; position: relative; isolation: isolate;
}
@media (min-width: 760px) {
  .top { padding: 1rem 2rem; }
  .top-nav { display: flex; }
  .top-graj { margin-left: 1rem; }
}

/* ---------- wejście ---------- */
.wejscie { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.wejscie-tlo { position: absolute; inset: 0; z-index: -1; background: var(--tlo); }
.wejscie-tlo picture, .wejscie-tlo img, .wejscie-wideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wejscie-wideo { opacity: 0; transition: opacity 0.8s; }
.wejscie-wideo.gra { opacity: 1; }
/* czarna farba na filmie (autor 2026-11-25, zamiast szalika): zacieki z góry, chlapnięcia od dołu i z boków, krycie 0,8;
   kształt z maski winiety, przycięty jak film (cover), więc na telefonie zostają zacieki i dół, a boki odpadają */
.winieta {
  position: absolute; inset: 0; background: #000; opacity: 0.8;
  -webkit-mask: url(/i/winieta-1200.75f28a1e.webp) center / cover no-repeat; mask: url(/i/winieta-1200.75f28a1e.webp) center / cover no-repeat;
}
/* przyciemnienie płaskie: tekst czytelny na każdej klatce, bez gradientu */
.wejscie-tlo::after { content: ""; position: absolute; inset: 0; background: rgba(8, 7, 6, 0.4); }
.wejscie-tresc { padding: 6rem 1rem clamp(5rem, 10vw, 9rem); max-width: var(--max); margin: 0 auto; width: 100%; }
.wejscie h1 { display: grid; gap: 0.75rem; }
.wejscie .logo, .wejscie .logo img { width: min(560px, 88vw); height: auto; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.7)); }
.haslo { font-size: clamp(1.9rem, 6.4vw, 3.6rem); line-height: 0.95; text-shadow: 0 2px 14px #000; }
.lead { max-width: 40rem; font-family: var(--display); font-size: clamp(1.4rem, 3.4vw, 2rem); letter-spacing: 0.03em; line-height: 1.05; color: var(--papier); text-shadow: 0 1px 8px #000; margin: 1rem 0 0; }
.haslo span { display: block; }
/* „Grałeś już?” (hasło promocyjne, kanon sekcja 8): zwykły nagłówek nad przyciskami, prosto, bez markera */
.grales { font-family: var(--display); color: var(--papier); font-size: clamp(1.5rem, 3.6vw, 2rem); letter-spacing: 0.06em; line-height: 1; margin: 1.75rem 0 0.9rem; }
.znaczki { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 1.25rem 0 0; }
.znaczki li {
  font-family: var(--display); letter-spacing: 0.06em; font-size: 1rem; color: var(--papier);
  border: 2px solid rgba(235, 228, 214, 0.55); padding: 0.1rem 0.6rem 0; border-radius: 2px;
}
@media (min-width: 960px) {
  .wejscie-tresc { padding: 8rem 2rem clamp(6rem, 10vw, 9rem); }
}

/* ---------- przyciski ---------- */
.sklepy { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: stretch; }
.btn {
  display: inline-flex; flex-direction: column; justify-content: center; min-height: 3.25rem;
  padding: 0.55rem 1.6rem 0.45rem; text-decoration: none; font-family: var(--display); font-size: 1.45rem; letter-spacing: 0.04em;
  line-height: 1; text-align: center;
}
.btn small { font-family: var(--body); font-size: 0.78rem; letter-spacing: 0; text-transform: none; opacity: 0.9; margin-top: 0.25rem; }
.btn-graj, .btn-sklep { color: #fff; padding-inline: 2.4rem; position: relative; isolation: isolate; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); }
/* pas farby pod napisem (maska pędzla na warstwie pod tekstem, nie na tekście) */
.btn-graj::before, .btn-sklep::before, .top-graj::before {
  content: ""; position: absolute; inset: -6px -10px; z-index: -1; background: var(--czerwien);
  -webkit-mask: url(/i/pedzel-maska-1200.0a73d36f.webp) center / 100% 100% no-repeat; mask: url(/i/pedzel-maska-1200.0a73d36f.webp) center / 100% 100% no-repeat;
}
.btn-graj:hover::before, .btn-sklep:hover::before, .top-graj:hover::before { background: #e01e26; }
.btn-graj:hover, .btn-sklep:hover, .top-graj:hover { color: #fff; }
.btn-wkrotce { color: var(--papier); border: 2px dashed rgba(235, 228, 214, 0.45); cursor: default; font-size: 1.15rem; min-height: 2.75rem; padding: 0.45rem 1rem 0.35rem; }


/* ---------- nagłówki sekcji: pas pędzla pod spodem ---------- */
main h2 { font-size: clamp(2.2rem, 6vw, 3.6rem); position: relative; display: inline-block; padding-bottom: 0.35em; margin-bottom: 0.6em; }
main h2::after {
  content: ""; position: absolute; left: -0.2em; right: -0.4em; bottom: 0; height: 0.32em; background: var(--czerwien);
  -webkit-mask: url(/i/pedzel-maska-1200.0a73d36f.webp) left center / 100% 100% no-repeat; mask: url(/i/pedzel-maska-1200.0a73d36f.webp) left center / 100% 100% no-repeat;
}

/* ---------- zwiastun ---------- */
/* film na całą szerokość, bez ramki; nagłówek na czerwonej plamie wjeżdża na górę filmu */
.zwiastun { position: relative; padding: 0 0 3rem; overflow-x: clip; }
/* pas czarnej farby na styku filmu w wejściu i zwiastunu (autor 2026-11-25: „plama farby powinna przykrywać granicę
   między filmami … nie będzie równych prostych”): postrzępiona góra na filmie z wejścia, zacieki w dół na zwiastun */
.szew {
  position: absolute; z-index: 4; left: -3%; right: -3%; top: 0; height: clamp(150px, 20vw, 360px); translate: 0 -50%;
  background: #0b0a09; pointer-events: none;
  -webkit-mask: url(/i/szew-1600.3fab75f7.webp) center / 100% 100% no-repeat; mask: url(/i/szew-1600.3fab75f7.webp) center / 100% 100% no-repeat;
}
.zwiastun > h2.na-szwie { position: absolute; z-index: 5; top: 0; left: 50%; translate: -50% -56%; margin: 0; white-space: nowrap; color: var(--papier); text-shadow: 0 2px 10px #000; }
.ekran { position: relative; background: #000; }
.ekran video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
/* napis na chlapnięciu farby (kanon: tło napisu to plama, nie prostokąt) */
.na-plamie { position: relative; isolation: isolate; }
.na-plamie::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #0e0d0c; -webkit-mask: url(/i/plama-napis-900.7972b9ed.webp) center / 100% 100% no-repeat; mask: url(/i/plama-napis-900.7972b9ed.webp) center / 100% 100% no-repeat; }
main h2.na-plamie::after { display: none; }
/* opis na czarnej plamie, wylanej na biało-czerwone barwy pod filmem */
.zwiastun-opis.na-plamie { z-index: 2; max-width: 36rem; margin: -9vw max(0.5rem, 5vw) 0 auto; padding: 2.4rem 2.6rem 2.2rem; color: var(--papier); font-size: 1.05rem; }
.zwiastun-opis.na-plamie::before { background: rgba(10, 9, 8, 0.94); -webkit-mask-image: url(/i/plama-opis-900.a6905d4e.webp); mask-image: url(/i/plama-opis-900.a6905d4e.webp); inset: -0.6rem -1rem; }
@media (max-width: 700px) { .zwiastun-opis.na-plamie { margin: -4vw 0.5rem 0; padding: 2rem 1.6rem 1.8rem; } }
/* miejsce na zacieki pod ekranem (procent od szerokości: plamy rosną razem z ekranem), opis zaczyna się pod nimi */
.ekran-plamy { position: relative; isolation: isolate; padding-bottom: 19%; }
.ekran-plamy .ekran { z-index: 1; }
/* górna część plam chowa się za ekranem, spod niego wylewają się zacieki */
.plamy { position: absolute; z-index: 0; left: -3%; right: -3%; top: 58%; pointer-events: none; }
.plamy img { width: 100%; height: auto; }
.zwiastun { padding-bottom: 3rem; }

/* ---------- infografika: wspólne ---------- */
.kicker { font-family: var(--display); font-size: 1.1rem; letter-spacing: 0.16em; color: var(--czerwien); margin: 0 0 0.35rem; text-transform: uppercase; }
/* kadry bez ramek (autor 2026-11-25: „białe ramki są tandetne”): brzegi zjadają plamy czarnej farby */
.kadr { margin: 0; }
.kadr img { width: 100%; display: block; -webkit-mask: url(/i/winieta-kadr-1000.38a44edf.webp) center / 100% 100% no-repeat; mask: url(/i/winieta-kadr-1000.38a44edf.webp) center / 100% 100% no-repeat; }
/* „Czytaj więcej”: pełny tekst zostaje w HTML, na ekranie po kliknięciu */
.wiecej { margin-top: 0.9rem; max-width: 46rem; }
.wiecej summary { cursor: pointer; list-style: none; display: inline-block; font-family: var(--display); font-size: 1.15rem; letter-spacing: 0.08em; color: var(--papier); border-bottom: 2px solid var(--czerwien); padding-bottom: 1px; }
.wiecej summary::-webkit-details-marker { display: none; }
.wiecej summary::before { content: "+ "; color: var(--czerwien); }
.wiecej[open] summary::before { content: "− "; }
.wiecej .z, .wiecej[open] .o { display: none; }
.wiecej[open] .z { display: inline; }
.wiecej p { margin: 0.9rem 0 0; color: #d8d1c4; }

/* ---------- liczby z danych gry ---------- */
.liczby { position: relative; }
.liczby ul { list-style: none; margin: 0 auto; padding: 1rem 1rem 3rem; max-width: var(--max); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 1.25rem; }
.liczby li { display: grid; gap: 0.35rem; align-content: start; justify-items: center; text-align: center; }
/* ikonka markerem na chlapnięciu czerwonej farby (kanon: pod rysunkiem plama, nie kółko) */
.ikona-plama { position: relative; display: grid; place-items: center; width: clamp(120px, 24vw, 170px); aspect-ratio: 384 / 275; margin-bottom: 0.2rem; }
.ikona-plama::before {
  content: ""; position: absolute; inset: 0; background: var(--czerwien); opacity: 0.9;
  -webkit-mask: url(/i/plama-ikona-384.250d783b.webp) center / contain no-repeat; mask: url(/i/plama-ikona-384.250d783b.webp) center / contain no-repeat;
}
.ikona { position: relative; width: 62%; height: auto; fill: none; stroke: var(--papier); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.5)); }
.ikona .akcent { stroke: #121010; }
.ikona .karta { fill: var(--czerwien); }
.liczby strong { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 6.4vw, 3.8rem); line-height: 0.95; color: var(--papier); font-variant-numeric: tabular-nums; }
.liczby-opis { font-size: 0.95rem; line-height: 1.35; color: var(--szary); max-width: 15rem; }
@media (min-width: 960px) { .liczby ul { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 1.5rem 3.5rem; } }

/* ---------- miesiąc ekipy: cztery kroki ---------- */
.miesiac, .mapa { max-width: var(--max); margin: 0 auto; padding: 4.5rem 1rem 3rem; }
.kroki { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 2.5rem; }
.krok { display: grid; gap: 0.25rem; align-items: center; }
/* kadr bez ramki: brzegi zjadają plamy czarnej farby (maska z winiety ran z gry), raz odbita w poziomie */
.plama { margin: 0 -1rem; }
.plama img { width: 100%; -webkit-mask: url(/i/winieta-kadr-1000.38a44edf.webp) center / 100% 100% no-repeat; mask: url(/i/winieta-kadr-1000.38a44edf.webp) center / 100% 100% no-repeat; }
.krok:nth-child(even) .plama { transform: scaleX(-1); }
.krok:nth-child(even) .plama img { transform: scaleX(-1); }
.kroki .nr { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 8vw, 5.5rem); line-height: 0.9; color: var(--czerwien); }
.kroki h3 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 0.95; }
.kroki p { margin: 0.5rem 0 0; color: #d8d1c4; font-size: 1.1rem; line-height: 1.45; max-width: 24rem; }
@media (min-width: 900px) {
  .kroki { gap: 0; }
  .krok { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2.5rem; }
  .krok + .krok { margin-top: -2.5rem; }
  .plama { margin: 0; }
  .krok:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
  .krok:nth-child(even) .plama { order: 2; }
  .krok:nth-child(even) .krok-tekst { text-align: right; justify-self: end; }
  .krok:nth-child(even) .krok-tekst p { margin-left: auto; }
}

/* ---------- kafle: walka, taktyka, barwy, historia ---------- */
.kafle { max-width: var(--max); margin: 0 auto; padding: 2rem 1rem 1rem; display: grid; gap: 3.5rem 2.5rem; }
.kafel h2 { font-size: clamp(2rem, 4.6vw, 3rem); padding-bottom: 0; margin-bottom: 0; }
.kafel h2::after { display: none; }
.kafel-napis { z-index: 1; display: inline-block; margin: -3.6rem 0 0.9rem 0.6rem; padding: 1.1rem 1.8rem 1rem 1.6rem; }
.kafel-napis::before { background: rgba(10, 9, 8, 0.92); inset: -0.3rem -0.8rem; }
.kafel .zdanie { font-size: 1.15rem; line-height: 1.45; color: var(--papier); max-width: 36rem; margin: 0; }
@media (min-width: 960px) { .kafle { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- rok po roku: pasek lat ---------- */
.lata { list-style: none; padding: 0; margin: 1.5rem 0 1.75rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.lata li { display: grid; gap: 0.2rem; padding: 0.9rem 1rem; background: #141210; border-top: 3px solid var(--czerwien); }
.lata .rok { font-family: var(--display); letter-spacing: 0.12em; color: var(--szary); font-size: 1rem; }
.lata b { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 3.4vw, 2.2rem); color: var(--papier); line-height: 1; }
.lata .opis { font-size: 0.92rem; color: #cfc8bb; line-height: 1.35; }
@media (min-width: 760px) {
  .lata { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* kolejne poziomy coraz jaśniej: mapa rośnie */
  .lata li:nth-child(2) { background: #1a1714; } .lata li:nth-child(3) { background: #201c18; } .lata li:nth-child(4) { background: #27221d; }
}

/* ---------- pytania ---------- */
.faq { max-width: 52rem; margin: 0 auto; padding: 4rem 1rem; }
.faq details { border-top: 1px solid rgba(235, 228, 214, 0.15); }
.faq details:last-of-type { border-bottom: 1px solid rgba(235, 228, 214, 0.15); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 2.5rem 1rem 0; position: relative; font-family: var(--display); font-size: 1.55rem; letter-spacing: 0.02em; color: var(--papier); line-height: 1.1; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.8rem; font-size: 2rem; color: var(--czerwien); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 1rem; max-width: 44rem; }

.koniec { max-width: var(--max); margin: 0 auto; padding: 2rem 1rem 5rem; text-align: center; }
.koniec .grales { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.koniec .sklepy { justify-content: center; }

/* ---------- podstrony ---------- */
.podstrona main { padding-top: 6rem; }
.waska { max-width: 52rem; margin: 0 auto; padding: 6rem 1rem 4rem; }
.waska h1 { font-size: clamp(2.6rem, 8vw, 4.4rem); margin-bottom: 1.5rem; }
.waska h2 { margin-top: 2.5rem; }
.drobne { color: var(--szary); font-size: 0.92rem; }
.dokument h1 { margin-bottom: 1rem; }
.dokument h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.dokument h2::after { height: 0.22em; }
.dokument ol, .dokument ul { padding-left: 1.4rem; }
.dokument li { margin-bottom: 0.5rem; }
.dokument mark { background: rgba(243, 198, 35, 0.2); color: var(--marker); padding: 0 0.2rem; }
.fakty { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1.5rem; margin: 0 0 1rem; }
.fakty dt { font-family: var(--display); font-size: 1.2rem; letter-spacing: 0.04em; color: var(--szary); }
.fakty dd { margin: 0; }
.zrzuty { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1rem; }
.zrzut { display: block; border: 4px solid var(--papier); }
.loga { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.logo-plik { display: grid; gap: 0.5rem; padding: 1rem; background: #2a2724; text-decoration: none; font-size: 0.9rem; }
.logo-plik img { max-height: 6rem; width: auto; margin: 0 auto; }
.nie-ma { text-align: center; padding-top: 10rem; }

/* ---------- stopka ---------- */
.stopka { background: #000; padding: 3rem 1rem 4rem; text-align: center; color: var(--szary); font-size: 0.92rem; }
.stopka-znak { margin: 0 auto 1rem; width: 37px; height: 56px; opacity: 0.85; }
.stopka-fikcja { color: var(--papier); max-width: 36rem; margin: 0 auto 1.5rem; }
.stopka-linki { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; margin-bottom: 1rem; }
@media (min-width: 900px) { .stopka-linki { flex-wrap: nowrap; white-space: nowrap; } }
.stopka-linki a, .stopka-jezyki a { color: var(--szary); }
.stopka-drobne { max-width: 46rem; margin: 1rem auto 0; font-size: 0.8rem; }
.logo-plik img.na-jasnym { background: var(--papier); padding: 0.5rem; }

/* ---------- animacje ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* wejście: logo wbija się jak pieczątka, hasło i przyciski wjeżdżają od dołu (tylko CSS, od pierwszej klatki) */
  .wejscie .logo { animation: wbij 0.8s cubic-bezier(0.2, 1.3, 0.4, 1) 0.1s both; }
  .haslo span, .wejscie .lead, .wejscie .grales, .wejscie .sklepy, .wejscie .znaczki { animation: wjazd 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .haslo span:nth-child(1) { animation-delay: 0.45s; } .haslo span:nth-child(2) { animation-delay: 0.6s; }
  .wejscie .lead { animation-delay: 0.75s; } .wejscie .grales { animation-delay: 0.9s; } .wejscie .sklepy { animation-delay: 1s; } .wejscie .znaczki { animation-delay: 1.1s; }
  .winieta { animation: zalej 1.6s ease-out both; }
  @keyframes wbij { from { opacity: 0; transform: scale(1.35); filter: blur(6px); } 60% { opacity: 1; filter: none; } to { opacity: 1; transform: none; } }
  @keyframes wjazd { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  @keyframes zalej { from { opacity: 0; } to { opacity: 0.8; } }

  /* reszta strony: przy przewijaniu */
  .anim [data-anim] { opacity: 0; transform: translateY(32px); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 120ms); }
  .anim [data-anim="lewo"] { transform: translateX(-64px); }
  .anim [data-anim="prawo"] { transform: translateX(64px); }
  .anim .krok:nth-child(even) [data-anim="prawo"] { transform: scaleX(-1) translateX(-64px); }
  .anim [data-anim="zoom"] { transform: scale(0.94); }
  /* plamy pod zwiastunem wylewają się w dół */
  /* przycięty jest obrazek, nie obserwowany element: w całości przycięty element obserwator przewijania by pominął */
  .anim [data-anim="wylej"] { opacity: 1; transform: none; }
  .anim [data-anim="wylej"] picture { display: block; clip-path: inset(0 0 100% 0); transition: clip-path 1.6s cubic-bezier(0.5, 0, 0.2, 1) 0.3s; }
  .anim [data-anim].widac { opacity: 1; transform: none; }
  .anim .krok:nth-child(even) [data-anim].widac.plama { transform: scaleX(-1); }
  .anim [data-anim="wylej"].widac picture { clip-path: inset(0 0 -5% 0); }
  /* pędzel pod nagłówkiem maluje się od lewej */
  .anim main h2[data-anim]::after { transform: scaleX(0); transform-origin: left center; transition: transform 0.9s cubic-bezier(0.6, 0.1, 0.2, 1) 0.25s; }
  .anim main h2.widac::after { transform: scaleX(1); }
  /* ikonki liczb rysują się markerem, plama pod nimi chlapie */
  .anim .ikona .rysuj { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s ease calc(var(--i, 0) * 120ms + 0.35s); }
  .anim .widac .ikona .rysuj { stroke-dashoffset: 0; }
  .anim .ikona .karta { fill-opacity: 0; transition: fill-opacity 0.6s ease calc(var(--i, 0) * 120ms + 1.1s); }
  .anim .widac .ikona .karta { fill-opacity: 1; }
  .anim .ikona-plama::before { transform: scale(0.2); opacity: 0; transition: transform 0.5s cubic-bezier(0.2, 1.5, 0.4, 1) calc(var(--i, 0) * 120ms), opacity 0.3s calc(var(--i, 0) * 120ms); }
  .anim .widac .ikona-plama::before { transform: none; opacity: 0.9; }
}
