/* Krzysztof Bosak · projekt strony osobistej, wersja 3 „Biało-czerwona” (Luna Design, 30.11.2026)
   Barwy narodowe: sekcje na zmianę biel i czerwień jak flaga, stopka w głębokim karmazynie, czerni jako tła nie ma
   (uwaga Sławomira 30.11: „czarny z dupy wygląda”, czarno-biały portret „jak nekrolog”).
   Flaga łopocze na żywo (WebGL), nazwisko ciężkim krojem, portret w kolorze. Hasła to jego słowa ze stenogramów Sejmu.
   Kroje: Sofia Sans Extra Condensed (nazwisko, tytuły, liczby), Antykwa Półtawskiego (cytaty), Lato (tekst i dane). */
:root {
  --biel: #f7f5f1;
  --biel-2: #efebe4;
  --czerwien: #d4213d;      /* akcent na bieli (4,7:1) */
  --czerwien-tlo: #c3132f;  /* tło sekcji, biały tekst 5,8:1 */
  --karmazyn: #8c0b21;      /* głęboka czerwień: stopka, najechanie */
  --tekst: #1c1214;         /* tekst na bieli (to kolor liter, nie tła) */
  --tekst-2: #5c5052;
  --noc: var(--karmazyn);
  --wapien: var(--biel);
  --atrament: var(--tekst);
  --akcent: var(--czerwien);
  --akcent-jasny: var(--biel);
  --akcent-ciemny: var(--czerwien);
  --akcent-tekst: var(--czerwien);
  --f-display: "Sofia Sans Extra Condensed", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --f-szeryf: "Poltawski", "Palatino Linotype", Georgia, serif;
  --f-kap: var(--f-display);
  --f-sans: "Lato", "Segoe UI", system-ui, sans-serif;
  --tlo: var(--biel);
  --sciecie: 0px;
}
body { background: var(--biel); color: var(--tekst); font-family: var(--f-sans); font-size: clamp(16.5px, .25vw + 15.4px, 18.5px); line-height: 1.6; }
::selection { background: var(--czerwien); color: #fff; }
:focus-visible { outline: 3px solid var(--czerwien); outline-offset: 4px; }
.nw { white-space: nowrap; }
.krotko { display: none; }

/* sekcje czerwone: wspólne kolory */
.na-czerwieni, .manifest, .mownica, .okreg, .kontakt { --kreska: rgba(255, 255, 255, .28); }

/* ---------------------------------------------------------------- typografia */
.znacznik { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: var(--f-display); font-weight: 800; font-size: 1.12rem; line-height: 1.2;
  letter-spacing: .04em; text-transform: uppercase; color: var(--czerwien); }
.znacznik::before { content: ""; width: 26px; height: 15px; flex: none; background: linear-gradient(#fff 50%, var(--czerwien) 50%); box-shadow: 0 0 0 1px rgba(28, 18, 20, .2); }
.znacznik b { font-weight: 900; }
.znacznik--jasny, .mownica .znacznik, .okreg .znacznik { color: #fff; }
.znacznik--jasny::before, .mownica .znacznik::before, .okreg .znacznik::before { box-shadow: 0 0 0 1px rgba(255, 255, 255, .7); }
.tytul { font-family: var(--f-display); font-weight: 900; font-size: clamp(3.2rem, 8vw, 9rem); line-height: .86; letter-spacing: -.004em; text-transform: uppercase; }
.tytul em { display: block; font-style: normal; color: var(--czerwien); }
.mownica .tytul, .okreg .tytul, .kontakt .tytul { color: #fff; }
.mownica .tytul em, .okreg .tytul em, .kontakt .tytul em { color: #ffd9de; }
.sekcja__wnetrze { max-width: var(--max); margin: 0 auto; }
.sekcja__glowa { display: grid; gap: 22px; max-width: 1100px; margin-bottom: clamp(44px, 7vh, 90px); }
.sekcja__glowa--rzad { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 48px; }
.sekcja__lead { max-width: 34em; font-size: clamp(1.08rem, .4vw + 1rem, 1.28rem); line-height: 1.55; }
.slowo-mask { padding: .06em .04em .12em; margin: -.06em -.04em -.12em; }

/* ---------------------------------------------------------------- przyciski: czerwony prostokąt, karmazynowy przelot */
.przycisk { --t: var(--czerwien-tlo); --k: #fff; min-height: 58px; padding: 0 26px 0 28px; gap: 18px; font-family: var(--f-display); font-weight: 800; font-size: 1.32rem;
  letter-spacing: .03em; text-transform: uppercase; clip-path: none; }
.przycisk::before { display: none; }
.przycisk::after { background: var(--karmazyn); transform: translateX(-101%); transition: transform .55s var(--ease); }
.przycisk:hover::after, .przycisk:focus-visible::after { transform: translateX(0); }
.przycisk:hover, .przycisk:focus-visible { color: #fff; }
.przycisk--obrys { --t: rgba(255, 255, 255, .55); --k: var(--czerwien-tlo); box-shadow: inset 0 0 0 2px var(--czerwien-tlo); }
.przycisk--obrys::after { background: var(--czerwien-tlo); }
.przycisk--jasny { --t: #fff; --k: var(--czerwien-tlo); }
.przycisk--maly { min-height: 48px; font-size: 1.12rem; padding: 0 18px 0 20px; }
.strzalka path { stroke-width: 1.8; }

/* ---------------------------------------------------------------- wstęp: biel, flaga wypełnia się z licznikiem */
.wstep { background: var(--biel); color: var(--tekst); gap: 22px; }
.wstep__slowo { font-family: var(--f-display); font-style: normal; font-weight: 900; font-size: clamp(3rem, 10vw, 7.5rem); line-height: 1; text-transform: uppercase; letter-spacing: .01em; color: var(--czerwien-tlo); }
.wstep__flaga { width: min(240px, 50vw); height: 30px; background: transparent; box-shadow: inset 0 0 0 1px rgba(28, 18, 20, .15); overflow: hidden; }
.wstep__flaga i { display: block; height: 100%; background: linear-gradient(#fff 50%, var(--czerwien) 50%); transform-origin: 0 50%; transform: scaleX(0); }
.wstep__licznik { font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; letter-spacing: .1em; color: var(--tekst-2); }
.ziarno { opacity: .04; }

/* ---------------------------------------------------------------- nagłówek: biały tekst nad czerwienią, ciemny nad bielą */
.naglowek { color: #fff; }
.naglowek.jest-jasny { color: var(--tekst); }
.naglowek.jest-zwiniety { background: rgba(195, 19, 47, .94); }
.naglowek.jest-zwiniety.jest-jasny { background: rgba(247, 245, 241, .94); box-shadow: 0 1px 0 rgba(28, 18, 20, .08); }
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 900; font-size: 1.7rem; line-height: 1; text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; }
.logo__znak { display: grid; width: 30px; height: 19px; box-shadow: 0 0 0 1px rgba(28, 18, 20, .25); }
.logo__znak i:first-child { background: #fff; }
.logo__znak i:last-child { background: var(--czerwien); }
.naglowek:not(.jest-jasny) .logo__znak { box-shadow: 0 0 0 1px rgba(255, 255, 255, .8); }
.menu { margin-left: auto; font-family: var(--f-display); font-weight: 800; font-size: 1.18rem; letter-spacing: .04em; text-transform: uppercase; }
.menu a { position: relative; padding: 6px 0; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.naglowek.jest-jasny .menu a::after { background: var(--czerwien); }
.menu a:hover::after, .menu a[aria-current="true"]::after { transform: scaleX(1); }
.menu a[aria-current="true"] { text-decoration: none; }
.naglowek__cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; background: var(--czerwien-tlo); color: #fff; font-family: var(--f-display); font-weight: 800;
  font-size: 1.18rem; letter-spacing: .04em; text-transform: uppercase; transition: background-color .3s, color .3s; }
.naglowek__cta:hover { background: var(--karmazyn); color: #fff; }
.naglowek:not(.jest-jasny) .naglowek__cta { background: #fff; color: var(--czerwien-tlo); }
.menu-przycisk { min-height: 44px; padding: 0 14px; background: var(--czerwien-tlo); color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 1.18rem; text-transform: uppercase; }
.naglowek:not(.jest-jasny) .menu-przycisk { background: #fff; color: var(--czerwien-tlo); }
.menu-panel { background: var(--czerwien-tlo); }
.menu-panel nav a { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.4rem, 11vw, 3.6rem); line-height: 1; border-bottom-color: rgba(255, 255, 255, .25); }

/* ---------------------------------------------------------------- START: flaga, hasło, nazwisko, portret */
.bohater { height: auto; overflow: visible; background: #eceae5; color: var(--tekst); }
.bohater__scena { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; }
.flaga { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.flaga-zapas { position: absolute; inset: 0; display: none; background: linear-gradient(to bottom, #f1efea 0 56%, var(--czerwien-tlo) 56% 100%); }
.bez-webgl .flaga-zapas { display: block; }
.bez-webgl .flaga { display: none; }
.bohater__cien { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(110, 6, 22, .32), transparent 26%); }

.bohater__gora { position: absolute; z-index: 4; left: var(--gutter); top: clamp(96px, 13vh, 150px); max-width: min(640px, 50vw); display: flex; flex-direction: column; }
.bohater__haslo { margin-top: 14px; font-family: var(--f-display); font-weight: 900; font-size: clamp(2.8rem, 5.4vw, 6.3rem); line-height: .86; text-transform: uppercase; color: var(--tekst); }
.bohater__haslo .wiersz { display: block; }
.bohater__haslo .wiersz + .wiersz { color: var(--czerwien); }
.bohater__lead { max-width: 25em; margin-top: 18px; font-size: 1.06rem; line-height: 1.5; color: var(--tekst); }
.bohater__akcje { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.bohater h1.bohater__nazwisko { position: absolute; z-index: 2; left: calc(var(--gutter) - .02em); bottom: clamp(6px, 1.6vh, 24px); margin: 0; font-family: var(--f-display); font-weight: 900;
  text-transform: uppercase; color: #fff; text-shadow: 0 14px 50px rgba(110, 6, 22, .3); letter-spacing: 0; line-height: 1; font-size: 1rem; }
.bohater__imie { display: block; margin: 0 0 .06em .1em; font-size: clamp(1.7rem, 3.3vw, 3.8rem); line-height: 1; letter-spacing: .02em; }
.bohater__bosak { display: block; font-size: min(27vw, 42svh); line-height: .8; letter-spacing: -.008em; }
.bohater__portret { position: absolute; z-index: 3; right: max(2vw, 16px); bottom: 0; height: min(93svh, 1120px); aspect-ratio: 1365 / 2048; }
.bohater__portret picture, .bohater__portret img { width: 100%; height: 100%; }
.bohater__portret img { object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 30px 50px rgba(90, 4, 18, .32)); }
.przewin { display: none; }

/* taśma z hasłami z mównicy */
.tasma { position: relative; z-index: 2; overflow: hidden; padding: 16px 0 14px; background: #fff; color: var(--tekst); border-bottom: 6px solid var(--czerwien-tlo); }
.tasma__tor { display: flex; align-items: center; gap: .55em; width: max-content; font-family: var(--f-display); font-weight: 900; font-size: clamp(2.2rem, 4.6vw, 4.8rem);
  line-height: 1; text-transform: uppercase; white-space: nowrap; will-change: transform; }
.tasma__tor span:nth-of-type(even) { color: var(--czerwien); }
.tasma__tor i { width: 1.05em; height: .64em; flex: none; background: linear-gradient(#fff 50%, var(--czerwien) 50%); box-shadow: 0 0 0 1px rgba(28, 18, 20, .3); }

/* ---------------------------------------------------------------- MANIFEST (baza.css też ma .manifest: 30em i kursywa, tu wyłączone) */
.manifest { position: relative; max-width: none; background: var(--czerwien-tlo); color: #fff; font-family: var(--f-sans); font-style: normal; font-size: 1rem; line-height: 1.6; }
.manifest__scena { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-content: center; gap: clamp(22px, 4vh, 40px); padding: clamp(100px, 14vh, 150px) var(--gutter); }
.manifest__cytat { margin: 0; max-width: 1500px; }
.manifest__cytat p { font-family: var(--f-display); font-weight: 900; font-size: clamp(2.6rem, 7vw, 8.4rem); line-height: .88; text-transform: uppercase; letter-spacing: -.004em; }
.manifest__cytat .slowo { display: inline-block; }
.manifest__podpis { max-width: 46em; font-size: 1rem; color: #fff; }
.manifest__podpis a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- 01 LICZBY (biel) */
.liczby { padding: clamp(100px, 15vh, 190px) var(--gutter) clamp(90px, 12vh, 150px); background: var(--biel); color: var(--tekst); }
.liczba-glowna { display: grid; gap: 10px; padding-bottom: clamp(30px, 5vh, 56px); border-bottom: 4px solid var(--czerwien-tlo); }
.liczba-glowna__wartosc { font-family: var(--f-display); font-weight: 900; font-size: clamp(5rem, 21vw, 24rem); line-height: .82; letter-spacing: -.01em; white-space: nowrap;
  color: var(--czerwien-tlo); font-variant-numeric: lining-nums tabular-nums; }
.liczba-glowna__opis { display: grid; gap: 4px; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1; text-transform: uppercase; color: var(--tekst); }
.liczba-glowna__opis span { font-family: var(--f-sans); font-weight: 400; font-size: .88rem; line-height: 1.4; text-transform: none; color: var(--tekst-2); letter-spacing: .01em; }
.liczby__siatka { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.liczba { display: grid; align-content: start; gap: 12px; padding: 34px clamp(16px, 2.4vw, 40px) 36px 0; }
.liczba + .liczba { padding-left: clamp(16px, 2.4vw, 40px); border-left: 1px solid rgba(28, 18, 20, .14); }
.liczba__wartosc { display: flex; align-items: baseline; gap: .1em; font-family: var(--f-display); font-weight: 900; font-size: clamp(3.6rem, 6.8vw, 7.6rem); line-height: .9; white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums; }
.liczba__wartosc small { font-size: .36em; color: var(--czerwien); text-transform: uppercase; }
.liczba__opis { max-width: 17em; font-size: 1.08rem; line-height: 1.4; font-weight: 700; }
.liczba__zrodlo { font-size: .8rem; line-height: 1.45; color: var(--tekst-2); }
.liczby__stopka { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: .88rem; color: var(--tekst-2); }
.kropka-na-zywo { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--czerwien); flex: none; }
.kropka-na-zywo::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--czerwien); animation: puls 2.4s ease-out infinite; }
@keyframes puls { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.beben { display: inline-flex; line-height: .9; }
.beben__cyfra { display: inline-block; height: .9em; overflow: hidden; }
.beben__tasma { display: block; will-change: transform; }
.beben__tasma span { display: block; height: .9em; }
.beben__odstep { display: inline-block; width: .16em; overflow: hidden; }

/* ---------------------------------------------------------------- 02 Z MÓWNICY (czerwień, stenogram jak kartka) */
.mownica { padding: clamp(100px, 15vh, 190px) var(--gutter); background: var(--czerwien-tlo); color: #fff; }
.stenogram { position: relative; max-width: 1060px; margin: 0 auto; padding: clamp(28px, 5vw, 72px) clamp(22px, 6vw, 96px) clamp(26px, 4vw, 52px);
  background: #fff; color: var(--tekst); box-shadow: 0 50px 90px -40px rgba(70, 3, 14, .55); border-top: 8px solid var(--karmazyn); }
.stenogram__glowa { display: grid; gap: 6px; padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid rgba(28, 18, 20, .14); text-align: center; }
.stenogram__sejm { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 1.1rem; color: var(--tekst-2); }
.stenogram__pos { font-size: .9rem; color: var(--tekst-2); }
.stenogram__punkt { max-width: 40em; margin: 8px auto 0; font-family: var(--f-szeryf); font-style: italic; font-size: 1.1rem; line-height: 1.45; }
.stenogram__mowca { margin-bottom: 14px; font-family: var(--f-szeryf); font-weight: 700; font-size: 1.28rem; }
.stenogram__tekst { display: grid; gap: 1em; font-family: var(--f-szeryf); font-size: clamp(1.18rem, .7vw + .96rem, 1.56rem); line-height: 1.6; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.stenogram__tekst p { text-indent: 2em; }
.stenogram mark { color: inherit; background: linear-gradient(transparent 54%, rgba(212, 33, 61, .3) 54%, rgba(212, 33, 61, .3) 92%, transparent 92%) no-repeat 0 0 / var(--z, 0%) 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.stenogram__stopka { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(28, 18, 20, .1); }
.stenogram__czas { font-size: .85rem; color: var(--tekst-2); font-variant-numeric: tabular-nums; }
.odnosnik { font-family: var(--f-szeryf); }
.odnosnik--maly { font-size: 1.12rem; }
.odnosnik::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6.6C60 3.4 120 7.6 180 4.8S270 4 298 5.6' fill='none' stroke='%23d4213d' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.wystapienia { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2vw, 32px); max-width: var(--max); margin: clamp(56px, 8vh, 96px) auto 0; }
.wystapienie { display: grid; grid-template-rows: auto 1fr auto; gap: 14px; padding-top: 18px; border-top: 4px solid #fff; }
.wystapienie__data { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: 1.02rem; color: #ffd9de; }
.wystapienie blockquote { margin: 0; font-family: var(--f-szeryf); font-style: italic; font-size: 1.24rem; line-height: 1.42; }
.wystapienie__link { justify-self: start; min-height: 44px; display: inline-flex; align-items: center; font-size: .86rem; color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .6); text-underline-offset: 5px; }

/* ---------------------------------------------------------------- 03 DROGA (biel) */
.droga { padding: 0 0 clamp(110px, 15vh, 190px); background: var(--biel); color: var(--tekst); }
.droga__foto { position: relative; margin: 0 0 clamp(70px, 11vh, 140px); }
.droga__ramka { height: min(88vh, 62vw); overflow: hidden; clip-path: inset(0 var(--boki, 0%) 0 var(--boki, 0%)); border-bottom: 8px solid var(--czerwien-tlo); }
.droga__ramka picture, .droga__ramka img { width: 100%; height: 100%; }
.droga__ramka img { object-fit: cover; object-position: 50% 62%; filter: contrast(1.06) saturate(1.05); }
.droga__foto figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding: 14px var(--gutter) 0; font-size: .8rem; color: var(--tekst-2); }
.droga__napis { font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; text-transform: uppercase; color: var(--czerwien-tlo); }
.droga .sekcja__wnetrze { padding: 0 var(--gutter); }
.os { position: relative; display: grid; max-width: 1160px; margin: 0 auto; padding: 0; list-style: none; }
.os::before { content: ""; position: absolute; left: calc(32% - 1px); top: 0; bottom: 0; width: 2px; background: rgba(28, 18, 20, .12); }
.os::after { content: ""; position: absolute; left: calc(32% - 1px); top: 0; bottom: 0; width: 3px; background: var(--czerwien-tlo); transform-origin: 50% 0; transform: scaleY(var(--postep, 0)); }
.os__wpis { display: grid; grid-template-columns: 32% minmax(0, 1fr); padding: 26px 0; }
.os__rok { padding-right: clamp(20px, 3vw, 52px); text-align: right; font-family: var(--f-display); font-weight: 900; font-size: clamp(3.4rem, 7vw, 7.6rem); line-height: .82;
  font-variant-numeric: lining-nums; color: #8a817d; transition: color .5s var(--ease); }
.os__wpis.jest-aktywny .os__rok { color: var(--czerwien-tlo); }
.os__tresc { position: relative; padding-left: clamp(24px, 3vw, 56px); }
.os__tresc::before { content: ""; position: absolute; left: -8px; top: .7rem; width: 14px; height: 14px; background: var(--biel); border: 3px solid #c9c2bd; transition: background-color .4s, border-color .4s; }
.os__wpis.jest-aktywny .os__tresc::before { background: var(--czerwien-tlo); border-color: var(--czerwien-tlo); }
.os__tresc h3 { font-family: var(--f-display); font-weight: 900; font-size: clamp(1.9rem, 2.4vw + 1rem, 3.2rem); line-height: .95; text-transform: uppercase; margin-bottom: 10px; }
.os__tresc p { max-width: 30em; font-size: 1.1rem; line-height: 1.5; color: var(--tekst-2); }
.os__foto { margin: 22px 0 0; max-width: 560px; }
.os__foto img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-bottom: 6px solid var(--czerwien-tlo); }
.os__foto figcaption { margin-top: 8px; font-size: .78rem; color: var(--tekst-2); }

/* ---------------------------------------------------------------- 04 OKRĘG (czerwień, mapa w bieli) */
.okreg { padding: clamp(100px, 14vh, 180px) var(--gutter); background: var(--czerwien-tlo); color: #fff; overflow: hidden; }
.okreg__siatka { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 5vw, 96px); align-items: start; }
.okreg__mapa { position: sticky; top: 10vh; }
.mapa__svg { width: 100%; height: auto; max-height: 82vh; overflow: visible; }
.mapa__powiat { fill: rgba(255, 255, 255, .08); stroke: rgba(255, 255, 255, .5); stroke-width: 1.4; stroke-linejoin: round; transition: fill .3s; cursor: pointer; }
.mapa__powiat:hover, .mapa__powiat.jest-wskazany { fill: rgba(255, 255, 255, .26); }
.mapa__kontur { fill: none; stroke: #fff; stroke-width: 4; stroke-linejoin: round; pointer-events: none; }
.mapa__granica { fill: none; stroke: #fff; stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; filter: drop-shadow(0 0 10px rgba(255, 255, 255, .55)); }
.mapa__etykieta { font-family: var(--f-display); font-weight: 800; fill: rgba(255, 255, 255, .78); pointer-events: none; text-transform: uppercase; }
.mapa__etykieta--kraj { font-weight: 900; font-size: 40px; letter-spacing: .12em; fill: #fff; }
.mapa__etykieta--teren { font-family: var(--f-szeryf); font-weight: 400; font-style: italic; text-transform: none; font-size: 26px; }
.mapa__miasto { pointer-events: none; }
.mapa__miasto circle { fill: #fff; }
.mapa__miasto text { font-family: var(--f-display); font-weight: 800; font-size: 28px; fill: #fff; text-transform: uppercase; paint-order: stroke; stroke: var(--czerwien-tlo); stroke-width: 7px; }
.mapa__miasto--1 circle { fill: var(--czerwien-tlo); stroke: #fff; stroke-width: 5; }
.mapa__miasto--1 text { font-size: 44px; font-weight: 900; }
.mapa__miasto--3 text { font-size: 22px; }
.okreg__podpowiedz { margin-top: 12px; min-height: 1.6em; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.15rem; letter-spacing: .03em; }
.okreg__opis { display: grid; gap: 26px; }
.okreg .tytul { font-size: clamp(3rem, 6vw, 7rem); }
.okreg__fakty { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 4px solid #fff; }
.okreg__fakty div { padding: 16px 14px 0 0; }
.okreg__fakty div + div { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .3); }
.okreg__fakty dt { font-family: var(--f-display); font-weight: 900; font-size: clamp(2.6rem, 4vw, 4.2rem); line-height: .9; }
.okreg__fakty dd { margin: 6px 0 0; font-size: .9rem; line-height: 1.35; }
.biuro { display: grid; justify-items: start; gap: 8px; padding: 22px 24px; background: #fff; color: var(--tekst); }
.biuro__nazwa { font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; text-transform: uppercase; color: var(--czerwien-tlo); }
.do-uzupelnienia { font-size: .9rem; color: var(--tekst-2); border-bottom: 1px dashed rgba(28, 18, 20, .35); }
.biuro .przycisk { margin-top: 8px; }

/* ---------------------------------------------------------------- 05 GŁOSOWANIA (biel) */
.glosowania { padding: clamp(100px, 14vh, 180px) var(--gutter); background: var(--biel); color: var(--tekst); }
.filtry { display: flex; flex-wrap: wrap; gap: 8px; }
.filtr { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 16px; border: 2px solid rgba(195, 19, 47, .4); background: #fff; color: var(--czerwien-tlo);
  cursor: pointer; font-family: var(--f-display); font-weight: 800; font-size: 1.12rem; text-transform: uppercase; letter-spacing: .03em; transition: background-color .25s, color .25s, border-color .25s; }
.filtr b { font-weight: 900; opacity: .6; }
.filtr:hover { border-color: var(--czerwien-tlo); }
.filtr[aria-pressed="true"] { background: var(--czerwien-tlo); border-color: var(--czerwien-tlo); color: #fff; }
.filtr[aria-pressed="true"] b { opacity: .85; }
.lista-glosow { display: grid; margin: 0; padding: 0; list-style: none; border-top: 4px solid var(--czerwien-tlo); }
.glos { display: grid; grid-template-columns: 64px minmax(0, 1fr) 160px minmax(180px, 260px); gap: 8px 28px; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(28, 18, 20, .1); }
.glos[hidden] { display: none; }
.glos__data { font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; color: var(--tekst-2); }
.glos__tytul { font-size: 1.12rem; font-weight: 700; line-height: 1.32; }
.glos__moj { justify-self: start; display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; font-family: var(--f-display); font-weight: 900; font-size: 1.08rem;
  letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.glos__moj--za { background: var(--czerwien-tlo); color: #fff; }
.glos__moj--przeciw { background: #fff; color: var(--czerwien-tlo); box-shadow: inset 0 0 0 2px var(--czerwien-tlo); }
.glos__moj--wstrzymal { box-shadow: inset 0 0 0 2px #b9b1ad; color: var(--tekst-2); }
.glos__wynik { display: grid; gap: 6px; }
.glos__pasek { display: flex; height: 8px; background: rgba(28, 18, 20, .06); }
.glos__pasek i { display: block; }
.glos__pasek i:nth-child(1) { flex: var(--za) 1 0; background: var(--czerwien-tlo); }
.glos__pasek i:nth-child(2) { flex: var(--przeciw) 1 0; background: #f0a7b3; }
.glos__pasek i:nth-child(3) { flex: var(--wstrz) 1 0; background: #cbc4bf; }
.glos__liczby { font-size: .8rem; color: var(--tekst-2); font-variant-numeric: tabular-nums; }
.glos__liczby b { color: var(--tekst); }
.glosowania__dol { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; margin-top: 36px; }
.glosowania__zrodlo { max-width: 44em; font-size: .84rem; line-height: 1.5; color: var(--tekst-2); }
.glosowania__zrodlo a { text-decoration: underline; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- 06 DOŁĄCZ (czerwień, formularz na białej karcie) */
.kontakt { padding: clamp(100px, 14vh, 180px) var(--gutter); background: var(--czerwien-tlo); color: #fff; }
.kontakt__siatka { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.kontakt .sekcja__lead { margin-top: 22px; }
.raport { margin-top: clamp(36px, 6vh, 64px); max-width: 540px; padding-top: 22px; border-top: 4px solid #fff; }
.raport__tytul { font-family: var(--f-display); font-weight: 900; font-size: 2rem; line-height: 1; text-transform: uppercase; }
.raport__opis { margin-top: 6px; font-size: .92rem; color: #fff; }
.raport__pole { display: flex; margin-top: 16px; border-bottom: 2px solid #fff; }
.raport__pole input { flex: 1; min-width: 0; min-height: 54px; border: 0; background: transparent; color: inherit; font-family: var(--f-sans); font-size: 1.1rem; outline: none; }
.raport__pole input::placeholder { color: rgba(255, 255, 255, .75); }
.raport__przycisk { min-height: 54px; padding: 0 4px 0 18px; border: 0; background: none; color: #fff; cursor: pointer; font-family: var(--f-display); font-weight: 900; font-size: 1.4rem; text-transform: uppercase; }
.raport__komunikat, .formularz__komunikat { min-height: 1.4em; margin-top: 10px; font-size: .9rem; }
.formularz { max-width: none; background: #fff; color: var(--tekst); box-shadow: 0 40px 80px -40px rgba(70, 3, 14, .6); clip-path: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.formularz label > span, .sprawa legend { font-family: var(--f-display); font-weight: 800; font-size: 1.08rem; text-transform: uppercase; letter-spacing: .04em; color: var(--tekst-2); opacity: 1; }
.formularz input, .formularz textarea { font-family: var(--f-sans); color: var(--tekst); border-bottom: 2px solid rgba(28, 18, 20, .2); }
.formularz input:focus, .formularz textarea:focus { border-bottom-color: var(--czerwien-tlo); }
.formularz__komunikat { color: var(--czerwien-tlo); }
.sprawa { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.sprawa legend { margin-bottom: 10px; padding: 0; }
.sprawa__opcja { position: relative; }
.sprawa__opcja input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sprawa__opcja span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid rgba(195, 19, 47, .35); color: var(--czerwien-tlo); cursor: pointer; font-size: .9rem;
  transition: background-color .25s, color .25s, border-color .25s; }
.sprawa__opcja input:checked + span { background: var(--czerwien-tlo); border-color: var(--czerwien-tlo); color: #fff; }
.sprawa__opcja input:focus-visible + span { outline: 3px solid var(--czerwien); outline-offset: 3px; }

/* ---------------------------------------------------------------- stopka (karmazyn) */
.stopka { display: grid; gap: 40px; background: var(--karmazyn); color: #fff; font-size: .9rem; }
.stopka__gora { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px; padding-bottom: 28px; border-bottom: 4px solid #fff; }
.stopka__imie { font-family: var(--f-display); font-weight: 900; font-size: clamp(3rem, 9vw, 9rem); line-height: .85; text-transform: uppercase; }
.stopka__funkcja { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; color: #ffd9de; }
.stopka__dol { display: grid; gap: 8px; max-width: 72em; font-size: .82rem; line-height: 1.6; color: #ffe3e7; }
.stopka__dol b { color: #fff; }

/* ---------------------------------------------------------------- mniejsze ekrany */
@media (max-width: 1100px) {
  .naglowek__cta { margin-left: auto; }
  .bohater__gora { max-width: min(560px, 56vw); }
  .liczby__siatka { grid-template-columns: minmax(0, 1fr); }
  .liczba, .liczba + .liczba { padding: 28px 0; border-left: 0; }
  .liczba + .liczba { border-top: 1px solid rgba(28, 18, 20, .14); }
  .wystapienia { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glos { grid-template-columns: 52px minmax(0, 1fr) 150px; }
  .glos__wynik { grid-column: 2 / -1; }
}
/* telefon: plakat wyborczy. Na bieli flagi nazwisko i hasło, na czerwieni portret w kolorze; nic nie wchodzi na postać */
@media (max-width: 860px) {
  .naglowek__cta { display: none; }
  .menu-przycisk { margin-left: auto; }
  .logo__tekst { font-size: 1.4rem; }
  .bohater__scena { min-height: 640px; }
  .bohater__cien { background: linear-gradient(to top, rgba(110, 6, 22, .22), transparent 22%); }
  .bohater h1.bohater__nazwisko { z-index: 4; top: calc(74px + env(safe-area-inset-top)); bottom: auto; color: var(--czerwien-tlo); text-shadow: none; }
  .bohater__imie { margin-bottom: .04em; font-size: 1.55rem; color: var(--tekst); }
  .bohater__bosak { font-size: 38vw; line-height: .8; }
  .bohater__gora { top: calc(74px + env(safe-area-inset-top) + 1.6rem + 30.4vw + 18px); right: var(--gutter); max-width: none; }
  .bohater__haslo { order: 1; margin-top: 0; font-size: clamp(2rem, 9.6vw, 3rem); }
  .bohater__funkcja { order: 2; margin-top: 12px; font-size: .95rem; }
  .bohater__akcje { order: 3; margin-top: 16px; }
  .bohater__lead { display: none; }
  .bohater__akcje .przycisk--obrys { display: none; }
  .bohater__akcje .przycisk { min-height: 50px; font-size: 1.15rem; padding: 0 20px; }
  .bohater__portret { right: auto; left: 50%; height: min(49svh, 600px); margin-left: calc(min(49svh, 600px) * -.3332); }
  .dlugo { display: none; }
  .krotko { display: inline; }
  .tasma__tor { font-size: 2.3rem; }
  .manifest__cytat p { font-size: clamp(2.4rem, 11.5vw, 4.4rem); }
  .sekcja__glowa--rzad { grid-template-columns: minmax(0, 1fr); }
  .stenogram__tekst { text-align: left; }
  .wystapienia { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 10px; scrollbar-width: none; }
  .wystapienie { flex: 0 0 min(80vw, 340px); scroll-snap-align: start; }
  .droga__ramka { height: 60svh; }
  .os::before, .os::after { left: 6px; }
  .os__wpis { grid-template-columns: minmax(0, 1fr); padding: 22px 0 22px 36px; }
  .os__rok { padding: 0 0 8px; text-align: left; font-size: 3.6rem; }
  .os__tresc { padding-left: 0; }
  .os__tresc::before { left: -37px; top: -3.8rem; }
  .okreg__siatka, .kontakt__siatka { grid-template-columns: minmax(0, 1fr); }
  .okreg__mapa { order: 2; position: relative; top: auto; }
  .okreg__fakty dd { font-size: .82rem; }
  .glos { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; padding: 16px 0; }
  .glos__data { grid-column: 1 / -1; }
  .glos__tytul { grid-column: 1; font-size: 1.05rem; }
  .glos__moj { grid-column: 2; grid-row: 2; align-self: start; }
  .glos__wynik { grid-column: 1 / -1; }
  .formularz { padding: 22px 18px; }
}
@media (max-width: 860px) and (max-height: 700px) {
  .bohater__portret { height: 40svh; margin-left: calc(40svh * -.3332); }
  .bohater__bosak { font-size: 32vw; }
  .bohater__gora { top: calc(70px + 1.6rem + 25.6vw + 14px); }
}
@media (max-width: 420px) {
  .logo__tekst { display: none; }
}
@media (max-height: 640px) and (min-width: 861px) {
  .bohater__gora { top: 84px; }
  .bohater__haslo { font-size: clamp(2.4rem, 4.4vw, 4.4rem); }
  .bohater__lead { display: none; }
  .bohater__akcje { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .kropka-na-zywo::after { animation: none; }
  .stenogram mark { --z: 100%; }
  .os::after { transform: none; }
  .os__rok { color: var(--czerwien-tlo); }
}

/* cele dotyku min. 44 px (mockup.cmd ekrany) */
.logo, .menu a, .odnosnik { min-height: 44px; }
.logo { min-width: 44px; }
.wystapienie__link { min-height: 46px; }
.menu a { display: inline-flex; align-items: center; }
/* telefon w poziomie: nazwisko i hasło po lewej, portret po prawej na całą wysokość */
@media (max-width: 960px) and (max-height: 500px) and (orientation: landscape) {
  .bohater__scena { min-height: 340px; }
  .bohater h1.bohater__nazwisko { z-index: 4; top: calc(60px + env(safe-area-inset-top)); bottom: auto; color: var(--czerwien-tlo); text-shadow: none; }
  .bohater__imie { font-size: 1.15rem; color: var(--tekst); }
  .bohater__bosak { font-size: 26vh; }
  .bohater__gora { top: calc(60px + 1.2rem + 20.8vh + 14px); right: auto; max-width: 52vw; }
  .bohater__haslo { font-size: 7.4vh; }
  .bohater__funkcja, .bohater__lead { display: none; }
  .bohater__akcje { margin-top: 12px; }
  .bohater__akcje .przycisk { min-height: 44px; font-size: 1.05rem; }
  .bohater__portret { left: auto; right: 4vw; margin-left: 0; height: 96svh; }
  .manifest__scena { padding: 64px var(--gutter) 24px; gap: 12px; }
  .manifest__cytat p { font-size: 10.5vh; }
}
