/* VendiLab 2a — original visual direction, responsive media and galleries. */
[hidden]{display:none!important}
.hero--story{min-height:680px;padding-block:84px 72px;background:#FBFAF8;isolation:isolate}
.hero--story .hero__art{position:absolute;inset:0;z-index:-1}
.hero__art img{width:100%;height:100%;object-fit:cover;object-position:center}
.hero--story .hero__grid{display:block}
.hero--story .hero__content{max-width:530px}
.hero--story h1{font-size:clamp(40px,4.6vw,62px);line-height:1.07}
.hero--story .hero__sub{max-width:430px}
.hero--story .hero__uv{max-width:460px}
.hero__uv .txt,.hero__stats .lbl{font-size:.875rem}
.hero__stats .lbl{color:#625c57}
.header{background:#FBFAF8}
.brand img{height:80px}
.header__inner{min-height:96px}
.grid--offer .tile{padding:26px 22px}
.grid--offer h3{font-size:1.1rem;line-height:1.25}
.grid--offer p,.feature p{font-size:1rem}
.story-gallery{padding:36px 0 64px;overflow:hidden;background:var(--bg-warm)}
.story-gallery__head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}
.story-gallery h2{font-size:clamp(24px,3vw,36px)}
.carousel-controls{display:flex;gap:8px;align-items:center;flex-shrink:0}
.carousel-controls button{border:1px solid var(--line-2);border-radius:999px;background:white;padding:10px 15px;font-size:.875rem;color:var(--ink);min-height:44px}
.carousel-controls button:hover{border-color:var(--accent);color:var(--accent)}
.filmstrip{overflow-x:auto;scrollbar-width:none;overscroll-behavior-inline:contain;padding:10px 0 12px;touch-action:pan-x pan-y}
.filmstrip::-webkit-scrollbar{display:none}
.filmstrip__track,.filmstrip__group{display:flex;gap:18px;width:max-content}
.story-tile{width:174px;margin:0;border-radius:22px;overflow:hidden;background:white;border:1px solid var(--line)}
.story-tile:nth-child(3n+2){margin-top:20px}
.story-tile img{width:100%;height:260px;object-fit:contain;background:#f1efec}
.story-tile figcaption{font-family:var(--font-display);font-size:.875rem;padding:12px 14px;color:var(--ink);white-space:normal}
.gallery--mosaic{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;grid-auto-flow:dense}
.gallery--mosaic .gcard{margin:0;display:flex;flex-direction:column;min-width:0;min-height:0;background:#efedeb;box-shadow:none;border:none;overflow:hidden}
.gallery--mosaic .gcard:nth-child(4n+2){background:#e6e7eb}
.gallery--mosaic .gcard:nth-child(4n+3){background:#eee2e7}
.gallery--mosaic .gcard:nth-child(4n+4){background:#e4e8e0}
.gallery--mosaic .gcard.hide{display:none}
.gallery--mosaic .gcard__img{display:block;border:0;border-radius:0;background:transparent;width:100%;height:210px;min-height:0;padding:6px;cursor:zoom-in;overflow:hidden}
.gallery--mosaic .gcard__img img{border-radius:10px;object-fit:cover;object-position:center;width:100%;height:100%;transition:transform .42s var(--ease)}
.gallery--mosaic .gcard__cap{padding:1px 8px 7px;flex-shrink:0}
.gallery--mosaic .gcard__cap h4{font-size:.72rem;line-height:1.15;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gallery--mosaic .gcard:hover{transform:translateY(-2px)}
.product-gallery{margin-top:34px}
.product-gallery__heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:18px}
.product-gallery__heading h3{font-size:1.2rem}
.product-gallery__heading p{font-size:.875rem;color:var(--muted);margin:0}
.product-gallery__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px}
.product-shot{padding:12px 12px 14px;border:1px solid var(--line-2);border-radius:18px;background:#fff;min-width:0;color:var(--ink);text-align:left;cursor:zoom-in;transition:transform .2s}
.product-shot img{height:145px;width:100%;object-fit:contain;border-radius:10px;margin-bottom:14px}
.product-shot span{font-size:.875rem;line-height:1.45;display:block}
.product-shot:hover{transform:translateY(-3px);border-color:var(--accent)}
.product-gallery--vending .product-shot img{height:195px}
body[data-page=b2b] #drukarka .split__media .media-card{max-width:460px;margin-inline:auto}
body[data-page=b2b] #drukarka .split__media img{object-fit:contain;background:white}
.video-pair{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:32px}
.video-card{margin:0;overflow:hidden;border-radius:22px;background:white;border:1px solid var(--line-2)}
.video-card video{width:100%;height:320px;object-fit:contain;background:#1b1b1f}
.video-card figcaption{padding:18px 22px;font-size:1rem;font-weight:600}
.product-video{margin-top:30px;max-width:720px;margin-inline:auto}
.product-video video{max-height:360px}
.location-photo{width:100%;height:230px;object-fit:cover;border-radius:22px;margin-bottom:16px}
.media-card--map{max-height:260px}
.lightbox{width:min(980px,calc(100% - 28px));max-height:calc(100dvh - 28px);border:0;border-radius:22px;background:#fff;padding:20px;box-shadow:0 20px 100px #0005;color:var(--ink)}
.lightbox::backdrop{background:rgba(18,17,22,.86)}
.lightbox__head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.lightbox__head h2{font-size:1.05rem;line-height:1.4}
.lightbox button{min-width:44px;min-height:44px;border:1px solid var(--line-2);border-radius:99px;background:#fff;color:var(--ink);font-size:1.1rem}
.lightbox__image{width:100%;height:min(68dvh,720px);object-fit:contain;background:#f8f7f5;border-radius:12px}
.lightbox__foot{display:flex;justify-content:center;gap:22px;align-items:center;margin-top:14px;font-size:.875rem}
.demo-note{background:#fff4e8;border:1px solid #ebc79c;padding:12px 16px;border-radius:12px;font-size:.875rem;color:#6d4316;margin-bottom:18px}
.reveal{opacity:1;transform:none}
@media(min-width:981px) and (max-width:1200px){.hero--story .hero__content{max-width:48%}.hero--story .hero__art img{object-position:58% center}.hero--story .hero__uv{max-width:100%}.gallery--mosaic{grid-template-columns:repeat(4,minmax(0,1fr))}.gallery--mosaic .gcard__img{height:195px}}
@media(max-width:980px){
 .hero--story{padding:46px 0 0;display:flex;flex-direction:column;min-height:auto}
 .hero--story .hero__art{position:relative;order:2;width:100%;height:420px;z-index:0;margin-top:26px;overflow:hidden}
 .hero--story .hero__art img{width:160%;max-width:none;transform:translateX(-37%);object-fit:cover;object-position:right center}
 .hero--story .container{order:1}.hero--story .hero__content{max-width:640px}.hero--story .hero__sub{max-width:540px}
 .hero--story h1{font-size:clamp(38px,6.5vw,58px)}
 .header__inner{min-height:80px}.brand img{height:64px}
 .gallery--mosaic{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
 .gallery--mosaic .gcard__img{height:190px}
 .product-gallery__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:600px){
 .hero--story .hero__art{height:320px}.hero--story .hero__art img{width:190%;transform:translateX(-47%)}
 .hero--story .hero__stats{gap:20px}.hero--story .hero__uv{padding:12px;gap:10px}.hero__uv .tag{font-size:.875rem}
 .hero__grid,.split{grid-template-columns:minmax(0,1fr)}
 .story-gallery__head,.product-gallery__heading{align-items:flex-start;flex-direction:column;gap:16px}
 .story-gallery{padding-block:32px 40px}.story-tile{width:148px}.story-tile img{height:220px}
 .gallery--mosaic{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .gallery--mosaic .gcard__img{height:150px;padding:5px}.gallery--mosaic .gcard__cap{padding:1px 6px 6px}.gallery--mosaic .gcard__cap h4{font-size:.68rem;line-height:1.15}
 .product-gallery__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .product-shot img{height:120px}.product-gallery--vending .product-shot img{height:165px}
 .video-pair{grid-template-columns:1fr}.video-card video{height:280px}
 .lightbox{padding:14px}.lightbox__image{height:60dvh}
 .hero--story h1{font-size:clamp(32px,9vw,46px);overflow-wrap:break-word}
}
@media(prefers-reduced-motion:reduce){.filmstrip{scroll-behavior:auto}.story-tile{margin-top:0!important}.gallery--mosaic .gcard__img img{transition:none}}
@media(hover:hover) and (pointer:fine){
 .gallery--mosaic .gcard:hover .gcard__img img{transform:scale(1.08)}
}
@media(hover:none){
 .gallery--mosaic .gcard:hover .gcard__img img{transform:none}
}


/* Homepage sequence: video + instructions, inspiration, technology, product, brand, location. */
.howto-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(28px,4vw,52px);align-items:center}
.howto-layout .media-card{width:100%;min-width:0}
.howto-layout video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#232228}
.howto-layout .steps{grid-template-columns:minmax(0,1fr);gap:12px}
.howto-layout .step{display:grid;grid-template-columns:42px minmax(0,1fr);column-gap:16px;padding:16px 18px}
.howto-layout .step__num{grid-row:1 / 3;margin:0}
.howto-layout .step h4{font-size:1rem;line-height:1.4;margin-bottom:3px}
.howto-layout .step p{font-size:1rem;grid-column:2}
.brand-wordmark{color:#383b37;white-space:nowrap}
.brand-wordmark__accent{background:linear-gradient(110deg,#b80850 8%,#dc1649 48%,#fb7e30 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.location-layout{align-items:start}
.location-surroundings .media-card--map{height:260px;max-height:none;aspect-ratio:auto}
.location-machine__figure{margin:0 0 20px}
.location-machine__figure img{display:block;width:100%;height:auto;border-radius:22px;border:1px solid var(--line)}
.location-machine__figure figcaption{font-size:.875rem;color:var(--muted);line-height:1.5;margin-top:10px}
@media(max-width:800px){
 .howto-layout,.location-layout{grid-template-columns:minmax(0,1fr)}
 .location-machine{order:-1}
}


/* Status przed uruchomieniem */
.launch-badge{display:inline-flex;align-items:center;gap:8px;margin-top:12px;padding:9px 14px;border-radius:999px;border:1px solid rgba(200,30,91,.22);background:rgba(200,30,91,.08);font-weight:800;font-size:.9rem;line-height:1.2;color:#9f1648}
.section--dark .launch-badge{color:#fff;background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.2)}
