/* 2026-10-11 hero na PC: postac + ramka z tekstem, pod spodem 2 filmy w ramkach */
@media (min-width:1000px){
.hero--main{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-areas:"pic txt" "v1 v2"!important;gap:56px 40px!important;align-items:center!important;min-height:0!important;max-width:1480px;margin:0 auto!important;padding:36px clamp(32px,5vw,90px) 90px!important;overflow:visible!important}
.hero--main .tlo{display:contents!important}
.hero--main .tlo .lay{position:relative!important;inset:auto!important;transform:none!important;translate:none!important;scale:none!important;opacity:1!important;margin:0!important;z-index:1!important}
.hero--main .tlo .lay:nth-child(2){grid-area:pic;width:100%!important;height:100%!important;min-height:620px;align-self:stretch!important;justify-self:stretch!important}
.hero--main .tlo .lay:nth-child(2) img{display:block;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;object-position:50% 0%!important;transform:none!important;-webkit-mask-image:linear-gradient(to bottom,#000 80%,transparent);mask-image:linear-gradient(to bottom,#000 80%,transparent)}
.hero--main .hero__text{grid-area:txt;align-self:center;margin:0!important;padding:clamp(28px,3vw,48px)!important;font-size:clamp(70px,6vw,118px)!important;background:linear-gradient(135deg,#150000,#050000 60%,#1d0000);border:2px solid #000;outline:3px solid #ff2a2a;box-shadow:0 0 0 6px #000,0 0 32px rgba(255,42,42,.55)}
.hero--main .tlo .lay:nth-child(1),.hero--main .slideshow{width:min(100%,340px)!important;height:auto!important;aspect-ratio:9/16!important;overflow:hidden!important;clip-path:none!important;background:#000;border:2px solid #000;outline:3px solid #ff2a2a;outline-offset:0;box-shadow:0 0 0 6px #000,0 0 30px rgba(255,42,42,.55)}
.hero--main .tlo .lay:nth-child(1){grid-area:v1;justify-self:end}
.hero--main .slideshow{grid-area:v2;justify-self:start;align-self:center!important}
.hero--main .tlo .lay:nth-child(1) video{display:block;width:100%!important;height:100%!important;object-fit:cover!important;transform:none!important}
}
/* prawdziwe zdjecia zamiast generowanych */
.fig-bg{background-image:url("historia/processed/w-f-winda-1200.webp")!important;background-position:50% 20%!important}
/* v6: przezroczyste tla tekstu, zdjecie za gora strony */
.appban,.hero--main .hero__text{background:rgba(0,0,0,.28)!important;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
.fig-bg{background-image:url("historia/processed/w-r-dzwig-1200.webp")!important;background-position:71% 66%!important;background-size:cover!important}
.hero--main{position:relative;isolation:isolate}
.hero--main::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--hero-bg,none) var(--hero-pos,50% 50%)/var(--hero-size,cover) no-repeat;filter:brightness(var(--hero-b,.55))}
.hero--main::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,.15) 40%,rgba(0,0,0,.85))}
/* v8: postac bez czarnego tla, tla bez powtarzania */
@media (min-width:1000px){.hero--main .tlo .lay:nth-child(2){background:transparent!important}.hero--main .tlo .lay:nth-child(2) img{mix-blend-mode:lighten}}
.fig-bg{background-repeat:no-repeat!important;background-color:#000}
.hero--main::before{background-repeat:no-repeat!important;background-color:#000}
body.drag-on .fig-host,body.drag-on .hero--main{cursor:grab}
/* v9: BYKU jako logo, szerokosc rowna z "Hybrydowy atleta" */
@media (min-width:1000px){
.hero--main .name{margin:0 0 .1em!important;line-height:.82!important}
.hero--main .name__nick{display:inline-block;font-size:clamp(150px,13.8vw,250px)!important;line-height:.82!important;letter-spacing:.01em;transform:scaleX(1.3);transform-origin:left bottom;color:#ff2a2a!important;-webkit-text-stroke:6px #000!important;paint-order:stroke fill;text-shadow:0 0 18px rgba(255,30,30,.85),0 0 46px rgba(255,0,0,.55),6px 6px 0 #000!important}
}
/* v10: wycieta postac (przezroczyste tlo) */
@media (min-width:1000px){.hero--main .tlo .lay:nth-child(2) img{mix-blend-mode:normal!important;object-fit:contain!important;object-position:50% 100%!important;-webkit-mask-image:none!important;mask-image:none!important;filter:drop-shadow(0 0 30px rgba(0,0,0,.8))}}

/* v11: BYKU gruby czarny kontur, spasowane do ramki (skala liczona skryptem) */
@media (min-width:1000px){
.hero--main .hero__text{overflow:hidden}
.hero--main .name{display:block!important;width:100%!important}
.hero--main .name__nick{display:inline-block!important;font-size:200px!important;transform:scaleX(var(--byku-sx,1))!important;transform-origin:left bottom!important;-webkit-text-stroke:12px #000!important;paint-order:stroke fill!important;text-shadow:0 0 20px rgba(255,30,30,.85),0 0 50px rgba(255,0,0,.55),8px 8px 0 #000!important;white-space:nowrap}
}

/* v11b: czarny kontur widoczny, poswiata liczona z konturu */
@media (min-width:1000px){.hero--main .name__nick{text-shadow:none!important;-webkit-text-stroke:14px #000!important;filter:drop-shadow(0 0 2px #ff2a2a) drop-shadow(0 0 10px rgba(255,40,40,.9)) drop-shadow(0 0 28px rgba(255,0,0,.6))!important}}

/* v12: BYKU = szerokosc "Hybrydowy atleta", czerwony glow */
.hero--main .name__nick{color:#ff2a2a!important;text-shadow:none!important;-webkit-text-stroke:var(--byku-stroke,12px) #000!important;paint-order:stroke fill!important;white-space:nowrap;display:inline-block!important;width:auto!important;max-width:none!important;transform:scaleX(var(--byku-sx,1))!important;transform-origin:left bottom!important;filter:drop-shadow(0 0 3px #ff2a2a) drop-shadow(0 0 16px rgba(255,30,30,.95)) drop-shadow(0 0 42px rgba(255,0,0,.75))!important}
/* v12: TELEFON, ten sam uklad: postac | ramka, tekst pod spodem, 2 filmy 9:16 */
@media (max-width:999px){
html body .hero.hero--main{display:grid!important;grid-template-columns:minmax(0,44fr) minmax(0,56fr)!important;grid-template-areas:"pic txt" "more more" "v1 v2"!important;gap:18px 12px!important;align-items:end!important;min-height:0!important;height:auto!important;padding:16px 12px 44px!important;overflow:visible!important;position:relative;isolation:isolate}
html body .hero.hero--main .tlo{display:contents!important}
html body .hero.hero--main .tlo .lay{position:relative!important;inset:auto!important;transform:none!important;translate:none!important;scale:none!important;opacity:1!important;margin:0!important;z-index:1!important;display:block!important}
html body .hero.hero--main .tlo .lay:nth-child(2){grid-area:pic;width:100%!important;height:100%!important;min-height:0;align-self:stretch!important;background:transparent!important}
html body .hero.hero--main .tlo .lay:nth-child(2) img{display:block;width:100%!important;height:100%!important;object-fit:contain!important;object-position:50% 100%!important;transform:scale(1.18)!important;transform-origin:50% 100%;-webkit-mask-image:none!important;mask-image:none!important;filter:drop-shadow(0 0 18px rgba(0,0,0,.8))}
html body .hero.hero--main .hero__text{grid-area:txt;display:block!important;position:relative!important;align-self:center;margin:0!important;padding:14px 12px 16px!important;overflow:hidden;background:rgba(0,0,0,.28)!important;backdrop-filter:blur(2px);border:2px solid #000;outline:2px solid #ff2a2a;box-shadow:0 0 0 4px #000,0 0 22px rgba(255,42,42,.55)}
html body .hero.hero--main .hero__text,html body .hero.hero--main .hero__text *{text-align:left!important}
html body .hero.hero--main .hero__text .name{display:block!important;width:100%!important;margin:0 0 6px!important;line-height:.85!important}
html body .hero.hero--main .hero__text .name__sub{font-size:12px!important;letter-spacing:.12em!important;display:block!important;width:max-content!important;white-space:nowrap;margin:4px 0 0!important}
html body .hero.hero--main .hero__text .claim,html body .hero.hero--main .hero__text .claim *{font-size:16px!important;line-height:1.08!important}
html body .hero.hero--main .hero__text .claim{margin:10px 0 0!important}
html body .hero.hero--main .hero__more{grid-area:more;display:block;padding:0 4px}
html body .hero.hero--main .hero__more .lead{font-size:15px!important;line-height:1.45!important;margin:0 0 14px!important}
html body .hero.hero--main .tlo .lay.bg:nth-child(1),html body .hero.hero--main figure.hero__photo.slideshow{width:38vw!important;max-width:38vw!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:9/16!important;overflow:hidden!important;clip-path:none!important;background:#000;border:2px solid #000;outline:2px solid #ff2a2a;box-shadow:0 0 0 4px #000,0 0 18px rgba(255,42,42,.55);display:block!important;position:relative!important;inset:auto!important;margin:0!important;align-self:start!important}
html body .hero.hero--main .tlo .lay.bg:nth-child(1){grid-area:v1!important;justify-self:end!important}
html body .hero.hero--main figure.hero__photo.slideshow{grid-area:v2!important;justify-self:start!important}
html body .hero.hero--main .tlo .lay.bg:nth-child(1) video{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;transform:none!important}
html body .hero.hero--main figure.hero__photo.slideshow .slide{object-fit:cover!important;width:100%!important;height:100%!important;position:absolute!important;inset:0!important}
html body .hero.hero--main .name__nick{--byku-stroke:5px}
}

/* v12c: lewy film bez czarnych pasow (przyciecie zoomem) */
html body .hero.hero--main .tlo .lay.bg:nth-child(1){overflow:hidden!important}
html body .hero.hero--main .tlo .lay.bg:nth-child(1) video{transform:scale(1.5)!important;transform-origin:50% 50%!important}

/* v12d: TELEFON, hala za cala gora (postac + ramka), koniec przy "Jestem Damian" */
@media (max-width:999px){html body .hero.hero--main::before{bottom:auto!important;height:var(--hero-top-h,520px)!important;background-size:cover!important;background-position:50% 35%!important;-webkit-mask-image:linear-gradient(#000 80%,transparent);mask-image:linear-gradient(#000 80%,transparent)}html body .hero.hero--main::after{bottom:auto!important;height:var(--hero-top-h,520px)!important}}
