/* PUDZIAN: projekt koncepcyjny strony osobistej (Luna Design, 30.11.2026).
   Kroje: Anybody (oś szerokości 50-150: litery „napinają się”), Big Shoulders Stencil (szablon jak na skrzyniach i talerzach), Libre Franklin.
   Bez skrótu `font:` (zeruje font-variant-numeric). Transformacje elementów animowanych należą do GSAP: hover przez `translate`/zmienne. */
:root {
  --czern: #0b0b0c;
  --grafit: #161618;
  --kreda: #eeebe4;
  --kreda-2: rgba(238, 235, 228, .72);
  --kreda-3: rgba(238, 235, 228, .16);
  --czerwien: #e2231a;
  --czerwien-ciemna: #a8140e;
  --czerwien-tekst: #b3170f;   /* drobny czerwony na jasnym tle: kontrast min. 4,5:1 */
  --czerwien-jasna: #ff4b3e;   /* drobny czerwony na czarnym: kontrast min. 4,5:1 */
  --czerwien-tlo: #ec3426;     /* tło sekcji z czarnym drobnym tekstem: kontrast min. 4,5:1 */
  --stal: #9ca0a6;
  --tlo: var(--czern);
  --tekst: var(--kreda);
  --f-szer: "Anybody", "Arial Black", Impact, sans-serif;
  --f-szab: "Big Shoulders Stencil Display", "Arial Narrow", Impact, sans-serif;
  --f-tekst: "Libre Franklin", "Segoe UI", Arial, sans-serif;
  --gutter: max(clamp(16px, 4vw, 64px), env(safe-area-inset-left), env(safe-area-inset-right));
  --max: 1520px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sciecie: 10px;
}
*, *::before, *::after {
  box-sizing: border-box;
  --rogi: polygon(var(--sciecie) 0, calc(100% - var(--sciecie)) 0, 100% var(--sciecie), 100% calc(100% - var(--sciecie)),
    calc(100% - var(--sciecie)) 100%, var(--sciecie) 100%, 0 calc(100% - var(--sciecie)), 0 var(--sciecie));
}
html { -webkit-text-size-adjust: 100%; overflow-x: clip; font-variant-numeric: lining-nums; font-kerning: normal; background: var(--czern); }
body { margin: 0; background: var(--tlo); color: var(--tekst); font-family: var(--f-tekst); font-size: clamp(16.5px, .28vw + 15.2px, 19px); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.laduje { overflow: hidden; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote, ul, ol, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
button { font-family: inherit; }
h1, h2, h3 { text-wrap: balance; font-weight: 400; }
p, li, figcaption { text-wrap: pretty; }
b { font-weight: 700; }
::selection { background: var(--czerwien); color: #fff; }
:focus-visible { outline: 3px solid var(--czerwien); outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.przeskok { position: fixed; left: 16px; top: -80px; z-index: 130; padding: 14px 20px; background: var(--czerwien); color: #fff; font-family: var(--f-szab); font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em; transition: top .3s var(--ease); }
.przeskok:focus { top: max(16px, env(safe-area-inset-top)); }

/* maski SplitText: zapas na ogonki i akcenty nad wersalikami (Ś, Ż) */
.slowo-mask { padding: .2em .1em .3em; margin: -.2em -.1em -.3em; }
.jest-czeka, .jest-scramble { color: transparent !important; text-shadow: none !important; }
.jest-scramble { position: relative; }
.scramble-warstwa { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; white-space: nowrap; }

/* ------------------------------------------------------------------ typografia */
.etykieta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-family: var(--f-szab); font-weight: 800; font-size: 1.12rem; line-height: 1.2;
  text-transform: uppercase; letter-spacing: .07em; color: var(--czern); }
.etykieta--jasna { color: var(--kreda); }
.etykieta__nr { display: inline-grid; place-items: center; min-width: 2.3em; padding: .22em .45em .18em; background: var(--czerwien); color: #fff; letter-spacing: .04em;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 82% 100%, 0 100%); }
.tytul { margin-top: .32em; font-family: var(--f-szer); font-weight: 900; font-variation-settings: 'wdth' 118; font-size: clamp(2.5rem, 6.6vw, 7rem); line-height: .9;
  letter-spacing: -.012em; text-transform: uppercase; }
.tytul em { display: block; font-style: italic; color: var(--czerwien); font-variation-settings: 'wdth' 135; }
.manifest { font-size: clamp(1.25rem, 1.7vw, 1.75rem); line-height: 1.42; font-weight: 500; max-width: 34em; }
.manifest .slowo { display: inline-block; }

/* odnośnik: kreska rysowana pędzlem (czerwień) przy najechaniu */
.odnosnik { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 8px 0 12px; font-family: var(--f-szer); font-weight: 800;
  font-variation-settings: 'wdth' 120; font-size: 1.25rem; line-height: 1.1; text-transform: uppercase; }
.odnosnik::before { content: ""; position: absolute; left: 0; right: 46px; bottom: 5px; height: 2px; background: currentColor; opacity: .3; }
.odnosnik::after { content: ""; position: absolute; left: -2px; right: 44px; bottom: 0; height: 12px; clip-path: inset(0 100% 0 0); transition: clip-path .7s var(--ease);
  background: 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='%23e2231a' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.odnosnik:hover::after, .odnosnik:focus-visible::after { clip-path: inset(0 0 0 0); }
.strzalka { width: 34px; height: 12px; flex: none; overflow: visible; transition: width .55s var(--ease); }
.strzalka path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.odnosnik:hover .strzalka { width: 46px; }

/* oznaczenie obrazów AI (art. 50 AI Act) przy każdym kadrze */
.ai { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; font-family: var(--f-szab); font-weight: 700; font-size: .8rem;
  line-height: 1; letter-spacing: .08em; text-transform: uppercase; color: #f4f2ed; background: #111113;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none; left: 12px; top: 12px; }
.ai::before { content: ""; width: 6px; height: 6px; background: var(--czerwien); }
.ai--prawo { left: auto; right: var(--gutter); top: calc(96px + env(safe-area-inset-top)); }
.ai--dol { top: auto; left: var(--gutter); bottom: calc(16px + env(safe-area-inset-bottom)); }

/* ------------------------------------------------------------------ warstwy globalne */
.kreda { position: fixed; inset: 0; z-index: 80; width: 100%; height: 100%; pointer-events: none; }
.blysk { position: fixed; inset: 0; z-index: 85; pointer-events: none; opacity: 0; background: var(--kreda); }
.ziarno { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: overlay; animation: ziarno 1.2s steps(6) infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"); }
@keyframes ziarno { 0% { transform: translate(0, 0); } 33% { transform: translate(-3%, 2%); } 66% { transform: translate(2%, -3%); } 100% { transform: translate(0, 0); } }
.kursor { position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none; display: none; opacity: 0; transition: opacity .4s; mix-blend-mode: difference; }
.kursor.jest-aktywny { opacity: 1; }
.kursor i { position: absolute; transform: translate(-50%, -50%); }
.kursor__kropka { width: 6px; height: 6px; background: #fff; border-radius: 50%; }
.kursor__obwodka { width: 34px; height: 34px; border: 2px solid rgba(255, 255, 255, .8); border-radius: 50%; transition: width .35s var(--ease), height .35s var(--ease), border-radius .35s, background .35s; }
.kursor.jest-nad .kursor__obwodka { width: 64px; height: 64px; border-radius: 8px; background: rgba(255, 255, 255, .12); }
@media (pointer: fine) { .kursor { display: block; } }

/* ------------------------------------------------------------------ wstęp: sztanga ładowana talerzami */
.wstep { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 22px; background: var(--czern); color: var(--kreda); }
.wstep__sztanga { width: min(520px, 78vw); height: auto; overflow: visible; }
.wstep__sztanga .gryf { fill: #c9ccd0; }
.wstep__sztanga .tuleja { fill: #e7e9eb; }
.wstep__sztanga .zacisk { fill: #6d6f73; }
.wstep__sztanga .talerze rect { fill: var(--czerwien); }
.wstep__sztanga .talerze rect:nth-child(n+4) { fill: var(--kreda); }
.wstep__slowo { font-family: var(--f-szer); font-weight: 900; font-variation-settings: 'wdth' 150; font-size: clamp(2.6rem, 10vw, 8rem); line-height: 1; min-height: 1.1em; letter-spacing: -.01em; }
.wstep__licznik { font-family: var(--f-szab); font-weight: 700; font-size: 1rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(238, 235, 228, .66);
  font-variant-numeric: lining-nums tabular-nums; }

/* ------------------------------------------------------------------ nagłówek + sztanga postępu (ugina się od prędkości przewijania) */
.naglowek { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: max(18px, env(safe-area-inset-top)) var(--gutter) 18px; color: var(--kreda); transition: translate .6s var(--ease), background-color .45s, color .45s, padding .45s; }
.naglowek.jest-jasny { color: var(--czern); }
.naglowek.jest-zwiniety { padding-top: max(11px, env(safe-area-inset-top)); padding-bottom: 13px; background: rgba(11, 11, 12, .6);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.naglowek.jest-zwiniety.jest-jasny { background: rgba(238, 235, 228, .78); }
.naglowek.jest-ukryty { translate: 0 -120%; }
.logo { font-family: var(--f-szer); font-weight: 900; font-variation-settings: 'wdth' 150; font-size: 1.45rem; line-height: 1; letter-spacing: -.01em; min-height: 44px;
  display: inline-flex; align-items: center; }
.menu { display: flex; gap: clamp(18px, 2.2vw, 38px); font-family: var(--f-szab); font-weight: 800; font-size: 1.12rem; letter-spacing: .07em; text-transform: uppercase; }
.menu a { position: relative; padding: 10px 4px; min-width: 44px; text-align: center; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 3px; background: var(--czerwien); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.menu a:hover::after, .menu a[aria-current="true"]::after { transform: scaleX(1); }
.menu-przycisk { display: none; align-items: center; gap: 12px; min-height: 44px; border: 0; background: none; color: inherit; cursor: pointer; font-family: var(--f-szab);
  font-weight: 800; font-size: 1.12rem; letter-spacing: .07em; text-transform: uppercase; }
.menu-przycisk__ikona { display: grid; gap: 6px; width: 26px; }
.menu-przycisk__ikona i { display: block; height: 3px; background: currentColor; }
.menu-przycisk__ikona i:last-child { width: 70%; justify-self: end; background: var(--czerwien); }
.menu-panel { position: fixed; inset: 0; z-index: 58; display: grid; align-content: center; padding: calc(100px + env(safe-area-inset-top)) var(--gutter) 40px;
  background: var(--czern); color: var(--kreda); }
.menu-panel[hidden] { display: none; }
.menu-panel nav { display: grid; }
.menu-panel nav a { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--kreda-3); font-family: var(--f-szer); font-weight: 900;
  font-variation-settings: 'wdth' 125; font-size: clamp(1.8rem, 8vw, 3.2rem); line-height: 1.05; text-transform: uppercase; }
.menu-panel nav small { font-family: var(--f-szab); font-size: 1rem; font-weight: 800; color: var(--czerwien-jasna); letter-spacing: .05em; }
.postep { position: absolute; left: var(--gutter); right: var(--gutter); bottom: -8px; height: 16px; pointer-events: none; opacity: 0; transition: opacity .45s; }
.naglowek.jest-zwiniety .postep { opacity: 1; }
.postep svg { width: 100%; height: 100%; overflow: visible; }
.postep path { fill: none; stroke-linecap: round; }
.postep__gryf { stroke: currentColor; stroke-opacity: .22; stroke-width: 2; vector-effect: non-scaling-stroke; }
.postep__pasek { stroke: var(--czerwien); stroke-width: 3; stroke-dasharray: 1 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.postep__talerz { position: absolute; top: 0; width: 5px; height: 16px; background: var(--czerwien); }
.postep__talerz--l { left: -7px; }
.postep__talerz--p { right: -7px; }

/* ------------------------------------------------------------------ 00 bohater */
.bohater { position: relative; height: 100vh; height: 100svh; background: #050505; color: var(--kreda); }
.bohater__scena { position: absolute; inset: 0; overflow: hidden; }
.bohater__obraz { position: absolute; inset: 0; }
.bohater__obraz picture, .bohater__obraz img { width: 100%; height: 100%; }
.bohater__obraz img { object-fit: cover; object-position: 50% 72%; }
.bohater__obraz::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, .72) 0%, rgba(5, 5, 5, .08) 34%, rgba(5, 5, 5, 0) 55%, rgba(5, 5, 5, .78) 100%); }
.bohater__stozek { position: absolute; left: 50%; top: -10%; width: 70vmax; height: 120%; translate: -50% 0; pointer-events: none; mix-blend-mode: screen; opacity: .5;
  background: radial-gradient(40% 70% at 50% 0%, rgba(255, 250, 240, .32), rgba(255, 250, 240, .06) 55%, transparent 75%); animation: migotanie 6s ease-in-out infinite; }
@keyframes migotanie { 0%, 100% { opacity: .5; } 46% { opacity: .58; } 48% { opacity: .38; } 50% { opacity: .6; } 70% { opacity: .46; } }
/* prawdziwy Mariusz za literami: postać wycięta z tła, światło z góry, nogi w dymie (zrodla/pobrane/commons, plakat w PIL) */
.bohater__postac { position: absolute; z-index: 2; left: 50%; bottom: -2vh; height: 94vh; height: 94svh; aspect-ratio: 1600 / 1771; translate: -50% 0; pointer-events: none;
  transform-origin: 50% 85%; }
.bohater__postac img { width: 100%; height: 100%; max-width: none; object-fit: contain; filter: drop-shadow(0 0 40px rgba(0, 0, 0, .55)); }
.bohater__postac::after { content: ""; position: absolute; left: -30%; right: -30%; bottom: 0; height: 30%; pointer-events: none;
  background: linear-gradient(0deg, rgba(5, 5, 5, .9), rgba(5, 5, 5, .45) 45%, transparent); }
.bohater__tresc { position: absolute; inset: 0; z-index: 3; display: grid; grid-template-rows: 1fr auto 1fr; padding: calc(96px + env(safe-area-inset-top)) var(--gutter) clamp(22px, 5vh, 56px); }
.bohater__imie { align-self: end; justify-self: center; margin-bottom: clamp(10px, 2vh, 26px); font-family: var(--f-szab); font-weight: 800; font-size: clamp(1rem, 1.5vw, 1.45rem);
  letter-spacing: .32em; text-transform: uppercase; color: var(--kreda-2); text-align: center; }
.bohater__tytul { --fs: 17vw; display: block; }
.pudzian { display: flex; justify-content: center; align-items: flex-end; flex-wrap: nowrap; white-space: nowrap; font-family: var(--f-szer); font-weight: 900;
  font-size: var(--fs); line-height: .78; letter-spacing: -.006em; color: var(--kreda); filter: drop-shadow(0 .05em .08em rgba(0, 0, 0, .6)); }
.pudzian { filter: drop-shadow(0 .03em .02em rgba(0, 0, 0, .55)) drop-shadow(0 .1em .25em rgba(0, 0, 0, .7)); }
.lit { --w: 118; display: inline-block; opacity: 0; font-variation-settings: 'wdth' var(--w), 'wght' 900; transform-origin: 50% 100%;
  background: linear-gradient(180deg, #ffffff 0%, #eeebe4 46%, #b8b2a6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding: .06em 0 0; }
.lamanie { display: none; }
.bez-skryptu .lit { opacity: 1; }
.bohater__dol { align-self: end; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.bohater__lead { max-width: 30em; font-family: var(--f-szer); font-weight: 700; font-variation-settings: 'wdth' 100; font-size: clamp(1rem, 1.35vw, 1.3rem); line-height: 1.3;
  text-transform: uppercase; letter-spacing: .01em; }
.bohater__lead span { display: block; }
.bohater__lead span:last-child { color: var(--kreda-2); }
.przewin { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-family: var(--f-szab); font-weight: 800; font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; }
.przewin__pasek { position: relative; width: 4px; height: 54px; background: var(--kreda-3); overflow: hidden; }
.przewin__pasek i { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: var(--czerwien); animation: pasek 1.8s var(--ease) infinite; }
@keyframes pasek { 0% { transform: translateY(100%); } 60% { transform: translateY(-150%); } 100% { transform: translateY(-150%); } }
.bohater__biel { position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0; background: var(--kreda); }

/* ------------------------------------------------------------------ 01 początek */
.poczatek { position: relative; background: var(--kreda); color: var(--czern); padding: clamp(100px, 15vh, 190px) var(--gutter) clamp(90px, 14vh, 170px); }
.poczatek__siatka { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 110px); align-items: center; }
.poczatek__tekst { display: grid; gap: clamp(24px, 3.4vh, 40px); }
.poczatek .tytul em { color: var(--czerwien); }
.fakty { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-top: 26px; border-top: 3px solid var(--czern); }
.fakty li { display: grid; gap: 6px; align-content: start; }
.fakty b { font-family: var(--f-szer); font-weight: 900; font-variation-settings: 'wdth' 150; font-size: clamp(2.1rem, 3.8vw, 3.6rem); line-height: .9; }
.fakty li > span { font-size: .95rem; line-height: 1.35; color: rgba(11, 11, 12, .74); }
.poczatek__foto { position: relative; display: grid; gap: 14px; }
.poczatek__ramka { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #050505; clip-path: polygon(0 0, 100% 0, 100% 92%, 88% 100%, 0 100%); }
.poczatek__ramka picture, .poczatek__ramka img { width: 100%; height: 100%; }
.poczatek__ramka img { object-fit: cover; object-position: 50% 35%; }
.poczatek__foto figcaption { font-family: var(--f-szab); font-weight: 800; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; }

/* ------------------------------------------------------------------ 02 pięć kamieni */
.kamienie { position: relative; color: var(--kreda); background: radial-gradient(70% 60% at 50% 0%, #26221e 0%, #0d0c0b 60%, #060606 100%); }
.kamienie__scena { position: relative; height: 100vh; height: 100svh; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: clamp(8px, 2vh, 22px); padding: calc(84px + env(safe-area-inset-top)) var(--gutter) calc(20px + env(safe-area-inset-bottom)); max-width: 1700px; margin: 0 auto; overflow: hidden; }
.kamienie__scena::before { content: ""; position: absolute; left: 50%; top: 0; width: 120vmin; height: 90%; translate: -50% 0; pointer-events: none;
  background: radial-gradient(45% 75% at 50% 0%, rgba(255, 248, 236, .12), transparent 70%); }
.kamienie__gora { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.kamienie .tytul { font-size: clamp(2.4rem, 6vw, 6.4rem); }
.kamienie__wynik { display: flex; align-items: flex-start; font-family: var(--f-szer); font-weight: 900; font-variation-settings: 'wdth' 150; line-height: .8; }
.kamienie__ile { font-size: clamp(5rem, 13vw, 12.5rem); color: var(--czerwien); font-variant-numeric: lining-nums tabular-nums; display: inline-block; }
.kamienie__razy { font-size: clamp(2.2rem, 5vw, 5rem); margin-top: .1em; }
.kamienie__gora { grid-row: 1; }
.kamienie__opis { grid-row: 2; }
.podesty { grid-row: 3; }
.kamienie__przypis { grid-row: 4; }
.kamienie__opis { max-width: 44em; font-size: clamp(.98rem, 1.15vw, 1.15rem); color: var(--kreda-2); }
.podesty { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(6px, 1.8vw, 34px); min-height: 0; margin-bottom: 52px;
  border-bottom: 3px solid rgba(238, 235, 228, .5); }
.podest { position: relative; container-type: size; min-height: 0; }
.podest__blat { position: absolute; left: 7%; right: 7%; bottom: 0; height: calc(var(--h) * 100%); display: grid; justify-items: center; align-content: start; padding-top: 10px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .06), transparent 18%, transparent 82%, rgba(0, 0, 0, .4)), repeating-linear-gradient(0deg, #2b241d 0 18px, #261f19 18px 20px);
  box-shadow: inset 0 3px 0 rgba(238, 235, 228, .18), inset 0 0 0 1px rgba(238, 235, 228, .08), 0 30px 40px -20px rgba(0, 0, 0, .8); transition: box-shadow .5s; }
.podest__blat span { font-family: var(--f-szab); font-weight: 900; font-size: clamp(.9rem, 1.6vw, 1.5rem); letter-spacing: .1em; color: rgba(238, 235, 228, .28); }
.podest.jest-zdobyty .podest__blat { box-shadow: inset 0 3px 0 var(--czerwien), inset 0 0 0 1px rgba(226, 35, 26, .35), 0 30px 40px -20px rgba(0, 0, 0, .8); }
.kamien { --s: min(calc(var(--d) * 100cqw), calc(var(--d) * 50cqh)); position: absolute; z-index: 2; left: 50%; bottom: 0; width: var(--s); height: var(--s); max-width: none;
  translate: -50% 0; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .7)); }
.podest__rok { position: absolute; left: 0; right: 0; top: calc(100% + 10px); display: grid; justify-items: center; text-align: center; gap: 2px; opacity: .3; transition: opacity .4s; }
.podest__rok b { font-family: var(--f-szer); font-weight: 900; font-variation-settings: 'wdth' 130; font-size: clamp(1rem, 2.2vw, 1.9rem); line-height: 1; }
.podest__rok span { display: none; font-size: .82rem; color: var(--kreda-2); line-height: 1.25; }
.podest.jest-zdobyty .podest__rok { opacity: 1; }
.podest.jest-zdobyty .podest__rok b { color: var(--czerwien-jasna); }
.kamienie__przypis { font-family: var(--f-szab); font-weight: 700; font-size: 1.02rem; letter-spacing: .05em; text-transform: uppercase; color: var(--kreda-2); }
@media (min-width: 1000px) and (min-height: 700px) { .podest__rok span { display: block; } .podesty { margin-bottom: 64px; } }

/* ------------------------------------------------------------------ 03 konkurencje (tor w bok) */
.konkurencje { position: relative; background: #0a0a0b; color: var(--kreda); overflow: hidden; }
.konkurencje__pin { display: flex; align-items: center; gap: clamp(28px, 3vw, 56px); width: max-content; height: 100vh; height: 100svh;
  padding: calc(84px + env(safe-area-inset-top)) var(--gutter) 40px; }
.konkurencje__naglowek { width: min(38vw, 600px); display: grid; gap: 22px; flex: none; }
.konkurencje .tytul { font-size: clamp(2.2rem, 4.3vw, 4.8rem); }
.konkurencje__lead { color: var(--kreda-2); max-width: 30em; }
.tor { display: flex; gap: clamp(20px, 2.2vw, 40px); align-items: center; }
.kon { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 30%; position: relative; flex: none; width: clamp(260px, 25vw, 410px); display: grid; gap: 10px; perspective: 900px; }
.kon__foto { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #050505; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%, 0 91%); }
.kon__foto::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(40% 35% at var(--gx) var(--gy), rgba(255, 252, 245, .3), transparent 70%); mix-blend-mode: screen; }
.kon:hover .kon__foto::after { opacity: 1; }
.kon__foto picture, .kon__foto img { width: 100%; height: 100%; }
.kon__foto img { object-fit: cover; transition: scale .9s var(--ease); }
.kon:hover .kon__foto img { scale: 1.05; }
.kon__nr { font-family: var(--f-szab); font-weight: 900; font-size: 1.15rem; color: var(--czerwien-jasna); letter-spacing: .08em; margin-top: 6px; }
.kon h3 { font-family: var(--f-szer); font-weight: 900; font-variation-settings: 'wdth' 120; font-size: clamp(1.5rem, 2vw, 2.1rem); line-height: .95; text-transform: uppercase; }
.kon > p:last-child { color: var(--kreda-2); font-size: .98rem; }

/* ------------------------------------------------------------------ 04 tytuły (czerwień) */
.liczby { position: relative; background: var(--czerwien-tlo); color: var(--czern); padding: clamp(100px, 15vh, 180px) var(--gutter); overflow: hidden; }
.liczby::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background: repeating-linear-gradient(-45deg, transparent 0 22px, rgba(0, 0, 0, .05) 22px 24px); }
.liczby__wnetrze { position: relative; max-width: var(--max); margin: 0 auto; }
.liczby .etykieta { color: var(--czern); }
.liczby .etykieta__nr { background: var(--czern); color: var(--kreda); }
.liczby .tytul em { color: var(--kreda); }
.liczby__siatka { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 0; margin-top: clamp(40px, 7vh, 80px); border-top: 3px solid var(--czern); }
.liczba { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 22px; padding: 26px 22px 26px 0; border-bottom: 3px solid var(--czern); }
.liczba--duza { grid-row: span 2; grid-template-columns: 1fr; align-content: center; border-right: 3px solid var(--czern); }
.liczba:not(.liczba--duza) { padding-left: 22px; }
.liczba:nth-child(2), .liczba:nth-child(4) { border-right: 3px solid var(--czern); }
.liczba p { display: grid; gap: 4px; }
.liczba b { font-family: var(--f-szer); font-weight: 800; font-variation-settings: 'wdth' 105; font-size: clamp(1.05rem, 1.5vw, 1.45rem); line-height: 1.12; text-transform: uppercase; }
.liczba small { font-family: var(--f-szab); font-weight: 800; font-size: 1.02rem; letter-spacing: .06em; }
.liczby__medal { position: absolute; z-index: 1; right: 0; top: -14px; width: clamp(230px, 25vw, 380px); margin: 0; padding: 10px 10px 12px; background: #f4f1ea; color: var(--czern);
  rotate: 4deg; box-shadow: 0 30px 50px -18px rgba(0, 0, 0, .55), 0 2px 0 rgba(0, 0, 0, .15); }
.liczby__medal img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.liczby__medal figcaption { padding: 10px 4px 0; font-family: var(--f-szab); font-weight: 800; font-size: .98rem; letter-spacing: .05em; text-transform: uppercase; }
.beben { display: inline-flex; height: 1em; overflow: hidden; font-family: var(--f-szer); font-weight: 900; font-variation-settings: 'wdth' 150; font-size: clamp(5rem, 9vw, 9rem);
  line-height: 1; color: var(--kreda); font-variant-numeric: lining-nums tabular-nums; }
.liczba--duza .beben { font-size: clamp(9rem, 22vw, 22rem); }
.beben__kolumna { --n: 0; display: flex; flex-direction: column; transform: translateY(calc(var(--n) * -1em)); }
.beben__kolumna span { display: block; height: 1em; }
.liczby__stempel { position: absolute; z-index: 2; right: clamp(150px, 17vw, 290px); top: clamp(170px, 17vw, 270px); background: rgba(236, 52, 38, .0); display: grid; justify-items: center; padding: 14px 22px 12px; border: 5px solid var(--czern); color: var(--czern);
  font-family: var(--f-szab); font-weight: 900; font-size: clamp(1.1rem, 1.8vw, 1.7rem); line-height: 1.05; letter-spacing: .08em; text-transform: uppercase; rotate: 9deg;
  mix-blend-mode: multiply; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='f'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.7'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='f'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.7'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"); }

/* ------------------------------------------------------------------ 05 oktagon */
.oktagon { position: relative; background: var(--czern); color: var(--kreda); }
.oktagon__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #0d0303; }
.oktagon__obraz { position: absolute; inset: 0; }
.oktagon__obraz picture, .oktagon__obraz img { width: 100%; height: 100%; }
.oktagon__obraz img { object-fit: cover; object-position: 50% 55%; }
.oktagon__obraz::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 2, 2, .86) 0%, rgba(8, 2, 2, .55) 42%, rgba(8, 2, 2, .1) 70%), linear-gradient(0deg, rgba(11, 11, 12, 1) 0%, transparent 30%); }
.oktagon__tresc { position: absolute; z-index: 2; left: var(--gutter); top: calc(110px + env(safe-area-inset-top)); width: min(620px, 52vw); display: grid; gap: 22px; }
.oktagon__lead { font-size: clamp(1.05rem, 1.35vw, 1.3rem); color: var(--kreda-2); max-width: 30em; }
.stoper { position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(40px, 9vh, 110px); width: clamp(220px, 27vw, 400px); aspect-ratio: 1; display: grid; place-items: center; }
.stoper__tarcza { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.stoper__tlo { fill: rgba(11, 11, 12, .55); stroke: rgba(238, 235, 228, .16); stroke-width: 3; }
.stoper__luk { fill: none; stroke: var(--czerwien); stroke-width: 6; stroke-dasharray: 60 60; stroke-dashoffset: 60; stroke-linecap: butt; }
.stoper__czas { position: relative; font-family: var(--f-szer); font-weight: 900; font-variation-settings: 'wdth' 150; font-size: clamp(3.4rem, 7.4vw, 7rem); line-height: 1;
  font-variant-numeric: lining-nums tabular-nums; }
.stoper__wynik { position: absolute; bottom: 18%; padding: 6px 14px 4px; background: var(--czerwien); color: #fff; font-family: var(--f-szab); font-weight: 900; font-size: clamp(1.2rem, 2vw, 1.8rem);
  letter-spacing: .14em; opacity: 0; rotate: -6deg; }

.bilans { position: relative; padding: clamp(70px, 12vh, 150px) 0 clamp(80px, 12vh, 140px); background: var(--czern); }
.bilans__wnetrze { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(30px, 5vw, 90px) clamp(30px, 6vw, 110px); }
.bilans__liczba { display: flex; gap: clamp(20px, 3vw, 50px); align-items: flex-end; }
.bilans__liczba p { display: grid; gap: 8px; }
.bilans__liczba span { font-family: var(--f-szer); font-weight: 900; font-variation-settings: 'wdth' 150; font-size: clamp(6rem, 13vw, 13rem); line-height: .8; }
.bilans__l span { color: rgba(238, 235, 228, .38); }
.bilans__liczba small { font-family: var(--f-szab); font-weight: 800; font-size: 1.1rem; letter-spacing: .1em; text-transform: uppercase; color: var(--kreda-2); }
.bilans__w small { color: var(--czerwien-jasna); }
.bilans__opis { align-self: end; color: var(--kreda-2); max-width: 34em; }
.nokauty__tytul { grid-column: 1 / -1; font-family: var(--f-szab); font-weight: 900; font-size: 1.3rem; letter-spacing: .1em; text-transform: uppercase; padding-top: 22px;
  border-top: 3px solid var(--kreda-3); }
.nokauty { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: -30px; }
.nokauty li { display: grid; gap: 4px; }
.nokauty__czas { font-family: var(--f-szer); font-weight: 900; font-style: italic; font-variation-settings: 'wdth' 140; font-size: clamp(3rem, 6vw, 5.6rem); line-height: .95;
  color: var(--czerwien); font-variant-numeric: lining-nums tabular-nums; }
.nokauty__kto { font-weight: 700; font-size: 1.08rem; }
.nokauty__gala { font-family: var(--f-szab); font-weight: 700; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--kreda-2); }
.wyroznienia { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.wyroznienia li { display: grid; gap: 8px; align-content: start; padding: 20px 0 0; border-top: 1px solid var(--kreda-3); }
.wyroznienia b { font-family: var(--f-szer); font-weight: 900; font-variation-settings: 'wdth' 140; font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1; text-transform: uppercase; }
.wyroznienia span { color: var(--kreda-2); font-size: .98rem; }
.karta-walk { display: grid; gap: 12px; margin-top: clamp(60px, 9vh, 110px); overflow: hidden; }
.karta-walk__rzad { display: flex; gap: 12px; width: max-content; will-change: transform; }
.walka { display: inline-flex; align-items: baseline; gap: 12px; padding: 12px 18px 11px; white-space: nowrap; border: 2px solid var(--kreda-3); font-size: .98rem; }
.walka b { font-family: var(--f-szab); font-weight: 900; font-size: 1.05rem; letter-spacing: .06em; color: var(--kreda-2); }
.walka i { font-style: normal; font-weight: 700; }
.walka em { font-family: var(--f-szab); font-style: normal; font-weight: 800; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; }
.walka--W { background: var(--kreda); color: var(--czern); border-color: var(--kreda); }
.walka--W b { color: rgba(11, 11, 12, .62); }
.walka--W em { color: var(--czerwien-tekst); }
.walka--P em { color: var(--kreda-2); }
.walka--NC { border-style: dashed; }

/* ------------------------------------------------------------------ 06 trasa */
.trasa { position: relative; background: #2a1a1c; color: var(--kreda); }
.trasa__pin { --tw: clamp(440px, 62vw, 128vh); position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.trasa__pejzaz { position: absolute; inset: 0 auto 0 0; width: 128%; }
.trasa__pejzaz picture, .trasa__pejzaz img { width: 100%; height: 100%; }
.trasa__pejzaz img { object-fit: cover; object-position: 50% 50%; }
.trasa__pejzaz::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 8, 12, .78) 0%, rgba(14, 8, 12, .32) 32%, transparent 52%); }
.trasa__naglowek { position: absolute; z-index: 3; left: var(--gutter); top: calc(100px + env(safe-area-inset-top)); display: grid; gap: 10px; }
.trasa .tytul { font-size: clamp(2.3rem, 5.4vw, 5.8rem); }
.trasa__tir { position: absolute; z-index: 3; left: 0; top: calc(73.5% - .86 * var(--tw) / 3); width: var(--tw); }
.trasa__tir img { width: 100%; height: auto; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .35)); }
.znaki { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); top: calc(36% + 10px); display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: flex-end; }
.znak { position: relative; display: grid; gap: 4px; max-width: 320px; padding: 14px 20px 15px; background: #1f4b9e; color: #fff; border-radius: 6px;
  box-shadow: inset 0 0 0 3px #1f4b9e, inset 0 0 0 5px #fff, 0 14px 20px -10px rgba(0, 0, 0, .5); }
.znak b { font-family: var(--f-szer); font-weight: 800; font-variation-settings: 'wdth' 110; font-size: clamp(1.05rem, 1.25vw, 1.4rem); line-height: 1.05; text-transform: uppercase; }
.znak span { font-size: clamp(.86rem, .9vw, 1rem); line-height: 1.3; }
.znak--tv { background: #0f6b3d; box-shadow: inset 0 0 0 3px #0f6b3d, inset 0 0 0 5px #fff, 0 14px 20px -10px rgba(0, 0, 0, .5); }
.znak--muza { background: var(--czerwien-ciemna); box-shadow: inset 0 0 0 3px var(--czerwien-ciemna), inset 0 0 0 5px #fff, 0 14px 20px -10px rgba(0, 0, 0, .5); }

/* ------------------------------------------------------------------ 07 kontakt */
.kontakt { position: relative; background: var(--czern); color: var(--kreda); padding: clamp(110px, 16vh, 190px) var(--gutter) clamp(90px, 14vh, 160px); }
.kontakt::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--czerwien) 0 16px, var(--czern) 16px 32px); }
.kontakt__wnetrze { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.kontakt__tekst { display: grid; gap: 26px; }
.kontakt__lead { color: var(--kreda-2); max-width: 28em; font-size: 1.1rem; }
.kontakt__oficjalna { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--kreda-2); }
.kontakt__oficjalna .odnosnik { color: var(--kreda); }
.formularz { display: grid; gap: 22px; padding: clamp(24px, 3vw, 42px); background: var(--grafit); box-shadow: inset 0 0 0 1px var(--kreda-3); clip-path: var(--rogi); --sciecie: 16px; }
.formularz label { display: grid; gap: 7px; }
.formularz label > span, .tematy legend { font-family: var(--f-szab); font-weight: 800; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--kreda-2); }
.formularz input:not([type="radio"]), .formularz textarea { width: 100%; padding: 12px 2px; border: 0; border-bottom: 2px solid rgba(238, 235, 228, .3); border-radius: 0;
  background: transparent; color: inherit; font-family: var(--f-tekst); font-size: 1.08rem; outline: none; }
.formularz input:focus, .formularz textarea:focus { border-bottom-color: var(--czerwien); }
.formularz textarea { resize: vertical; min-height: 90px; }
.tematy { display: flex; flex-wrap: wrap; gap: 10px; }
.tematy legend { margin-bottom: 10px; padding: 0; }
.tematy label { position: relative; display: block; cursor: pointer; }
.tematy input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tematy label span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid rgba(238, 235, 228, .3); font-family: var(--f-szab); font-weight: 800;
  font-size: 1.02rem; letter-spacing: .06em; text-transform: uppercase; transition: background .3s, border-color .3s, color .3s; }
.tematy input:checked + span { background: var(--czerwien); border-color: var(--czerwien); color: #fff; }
.tematy input:focus-visible + span { outline: 3px solid var(--kreda); outline-offset: 3px; }
.podnies { --p: 0; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; padding: 0 22px; border: 0; cursor: pointer;
  background: var(--kreda); color: var(--czern); overflow: hidden; isolation: isolate; clip-path: var(--rogi); touch-action: none; user-select: none; -webkit-user-select: none; }
.podnies__wypelnienie { position: absolute; inset: 0; z-index: -1; background: var(--czerwien); transform-origin: 0 50%; transform: scaleX(var(--p)); }
.podnies__tekst { font-family: var(--f-szer); font-weight: 900; font-variation-settings: 'wdth' 125; font-size: 1.12rem; text-transform: uppercase; line-height: 1.1; text-align: left; }
.podnies__kg { font-family: var(--f-szab); font-weight: 900; font-size: 1.3rem; letter-spacing: .06em; font-variant-numeric: lining-nums tabular-nums; }
.podnies.jest-trzymany { color: #fff; }
.formularz__stan { min-height: 1.5em; font-weight: 600; color: var(--kreda); }
.formularz__stan.jest-blad { color: #ff8a80; }

/* ------------------------------------------------------------------ stopka */
.stopka { position: relative; background: var(--czern); color: var(--kreda); padding: clamp(40px, 8vh, 90px) 0 calc(28px + env(safe-area-inset-bottom)); overflow: hidden; }
.stopka__wielki { --f: 0%; font-family: var(--f-szer); font-weight: 900; font-variation-settings: 'wdth' 150; font-size: 13vw; line-height: .8; text-align: center; white-space: nowrap;
  letter-spacing: -.01em; }
.stopka__wielki span { color: transparent; -webkit-text-stroke: 2px rgba(238, 235, 228, .32);
  background: linear-gradient(90deg, var(--czerwien) var(--f), transparent var(--f)); -webkit-background-clip: text; background-clip: text; }
.stopka__dol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 20px 40px; align-items: end; padding: clamp(30px, 5vh, 60px) var(--gutter) 0;
  font-size: .9rem; color: var(--kreda-2); }
.stopka__gora { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--f-szab); font-weight: 800; font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--kreda); }

/* ------------------------------------------------------------------ tablety i telefony */
@media (max-width: 1100px) {
  .menu { display: none; }
  .menu-przycisk { display: inline-flex; }
  .liczby__siatka { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .liczba--duza { grid-column: 1 / -1; grid-row: auto; border-right: 0; }
  .liczba:nth-child(2), .liczba:nth-child(4) { border-right: 3px solid var(--czern); }
  .liczba:nth-child(2), .liczba:nth-child(4) { padding-left: 0; }
  .nokauty { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
}
@media (max-width: 860px) {
  .poczatek__siatka, .kontakt__wnetrze, .bilans__wnetrze { grid-template-columns: minmax(0, 1fr); }
  .poczatek__foto { order: -1; }
  .poczatek__ramka { aspect-ratio: 4 / 5; }
  .fakty { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .fakty li { grid-template-columns: 7.4rem minmax(0, 1fr); align-items: baseline; gap: 12px; }
  .fakty b { font-size: 2rem; }
  .bohater__dol { flex-direction: column; align-items: flex-start; gap: 18px; }
  .przewin__pasek { height: 34px; }
  .konkurencje { overflow: visible; }
  .konkurencje__pin { width: auto; height: auto; display: grid; padding: clamp(90px, 13vh, 130px) 0 70px; gap: 34px; }
  .konkurencje__naglowek { width: auto; padding: 0 var(--gutter); }
  .tor { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 18px; scroll-padding: 0 var(--gutter); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tor::-webkit-scrollbar { display: none; }
  .kon { width: min(78vw, 340px); scroll-snap-align: start; }
  .liczby__siatka { grid-template-columns: minmax(0, 1fr); }
  .liczba, .liczba:not(.liczba--duza) { border-right: 0 !important; padding-left: 0 !important; }
  .liczby__stempel { position: relative; display: inline-grid; margin-top: 34px; right: auto; }
  .liczby__stempel { top: auto; }
  .liczby__medal { position: relative; right: auto; top: auto; width: min(82%, 360px); margin: 30px 0 0 4px; rotate: 2deg; }
  .bohater__postac { height: 74svh; bottom: 0; }
  .oktagon__tresc { width: auto; right: var(--gutter); top: calc(92px + env(safe-area-inset-top)); }
  .oktagon__obraz::after { background: linear-gradient(180deg, rgba(8, 2, 2, .88) 0%, rgba(8, 2, 2, .55) 46%, rgba(8, 2, 2, .2) 70%, rgba(11, 11, 12, 1) 100%); }
  .stoper { right: 50%; translate: 50% 0; bottom: max(30px, 5vh); width: min(64vw, 260px, 32vh); }
  .wyroznienia { grid-template-columns: minmax(0, 1fr); }
  .trasa__pin { --tw: max(118vw, 460px); }
  .znaki { top: auto; bottom: calc(100% - 73.5% + .86 * var(--tw) / 3 + 26px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .znak { padding: 9px 12px 10px; max-width: none; }
  .znak b { font-size: .98rem; }
  .znak span { font-size: .8rem; }
  .znak--muza span { display: none; }
  .stopka__dol { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) and (max-height: 700px) {
  .znak span { display: none; }
}
/* pion telefonu: „PUD / ZIAN” w dwóch wierszach, większe litery */
@media (max-aspect-ratio: 4/5) {
  .pudzian { flex-wrap: wrap; line-height: .8; }
  .lamanie { display: block; flex-basis: 100%; height: 0; }
}
@media (max-height: 560px) and (orientation: landscape) {
  .bohater__imie { display: none; }
  .bohater__tresc { padding-top: 70px; }
  .kamienie__opis, .kamienie__przypis { display: none; }
  .oktagon__lead { display: none; }
  .znaki { display: none; }
}
@media (pointer: coarse) { .ziarno { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .ziarno, .bohater__stozek, .przewin__pasek i { animation: none; }
  .lit { opacity: 1; }
  .naglowek { transition: none; }
}
@media (max-width: 600px) {
  .kamienie__ile { font-size: 4.6rem; }
  .kamienie__razy { font-size: 2rem; }
}
/* niskie ekrany w poziomie (telefon obrócony): mniejsze nagłówki, scena kamieni dostaje miejsce, TIR nie zasłania tytułu */
@media (max-height: 560px) and (orientation: landscape) {
  .ai--prawo { top: auto; bottom: 12px; }
  .kamienie__scena { padding-top: calc(62px + env(safe-area-inset-top)); gap: 6px; }
  .kamienie .tytul { font-size: 1.9rem; margin-top: .15em; }
  .kamienie__gora .etykieta { display: none; }
  .kamienie__ile { font-size: 3.4rem; }
  .kamienie__razy { font-size: 1.6rem; }
  .podesty { margin-bottom: 30px; }
  .podest__rok { top: calc(100% + 6px); }
  .podest__rok b { font-size: 1rem; }
  .kon__foto { aspect-ratio: auto; height: 48vh; }
  .kon > p:last-child { display: none; }
  .konkurencje__pin { padding-top: 64px; padding-bottom: 16px; }
  .konkurencje .tytul { font-size: 1.9rem; }
  .konkurencje__lead { display: none; }
  .stoper { right: var(--gutter); translate: none; bottom: 18px; width: 40vh; }
  .stoper__czas { font-size: 2.3rem; }
  .stoper__wynik { font-size: 1rem; bottom: 12%; }
  .oktagon__tresc { top: 66px; right: auto; width: 56vw; }
  .oktagon .tytul { font-size: 2rem; }
  .trasa__pin { --tw: min(92vh, 62vw); }
  .trasa__naglowek { top: 62px; }
  .trasa .tytul { font-size: 1.9rem; }
}

/* pion telefonu: postać trochę mniejsza, napis PUD / ZIAN na klatce piersiowej */
@media (max-aspect-ratio: 4/5) { .bohater__postac { height: auto; width: min(100vw, 62svh); bottom: 6svh; } }
@media (min-width: 861px) and (max-width: 1100px) { .liczby__medal { width: 210px; } .liczby__stempel { right: 140px; top: 190px; } }

/* podpis z imieniem pod napisem (nad napisem wchodził na brodę Mariusza); w pionie telefonu napis niżej, głowa nad literami */
.bohater__tresc { grid-template-columns: minmax(0, 1fr); }
.bohater__tytul, .bohater__imie, .bohater__dol { grid-column: 1; }
.bohater__tytul { grid-row: 2; }
.bohater__imie { grid-row: 3; align-self: start; margin: clamp(14px, 2.4vh, 30px) 0 0; }
.bohater__dol { grid-row: 3; }
@media (max-aspect-ratio: 4/5) {
  .bohater__tresc { grid-template-rows: 1fr auto auto auto; }
  .bohater__imie { grid-row: 3; margin: 12px 0 18px; font-size: .92rem; letter-spacing: .24em; }
  .bohater__dol { grid-row: 4; }
}
