/* NOWA POLSKA — fictional satirical campaign site. Tokens from poster v10a. */
@font-face{font-family:'Outfit';src:url('fonts/Outfit.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:'Inter';src:url('fonts/Inter.woff2') format('woff2');font-weight:100 900;font-display:swap}

:root{
  --red:#C8102E;--ink:#0B1B33;
  --pad:clamp(1.25rem,5.9vw,5.5rem);
  --f-head:'Outfit',system-ui,sans-serif;--f-body:'Inter',system-ui,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{background:var(--ink);color:#fff;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-family:var(--f-body);background:var(--ink);overflow-x:hidden;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
ul,ol{list-style:none}
img{display:block;max-width:100%}
a{color:inherit}
:focus-visible{outline:2px solid #fff;outline-offset:3px}
.wrap{width:min(100% - 2*var(--pad),85rem);margin-inline:auto}
.skip{position:absolute;left:-999px;top:0;background:#fff;color:var(--ink);padding:.6rem 1rem;z-index:100;font-weight:700}
.skip:focus{left:0}

/* initial states for entrance animation (only with JS + motion allowed) */
.js:not(.static) [data-in]{opacity:0}
.js:not(.static) .tower__img,.js:not(.static) .tower__bolt{opacity:0}

/* ───── hero ───── */
.hero{container-type:inline-size;position:relative;overflow:hidden;background:var(--ink);min-height:100svh;--pw:min(165cqw,56rem)}
.stripe{position:absolute;left:0;top:0;width:100%;height:14px;z-index:5;background:linear-gradient(180deg,#fff 0 7px,var(--red) 7px 14px)}
.hero__inner{position:relative;z-index:4;padding-top:calc(14px + clamp(1.9rem,4.2vw,3.5rem));will-change:transform}

.title{font-family:var(--f-head);font-weight:900;text-transform:uppercase;line-height:.86;letter-spacing:-.018em;
  font-size:min(21cqw,14rem);display:flex;flex-direction:column;align-items:flex-start;white-space:nowrap}
.title .w{color:#fff}.title .r{color:var(--red)}

.sloganrow{margin-top:clamp(1.2rem,2.1vw,1.9rem);display:flex;align-items:center;gap:clamp(.85rem,1.4vw,1.25rem)}
.mark{flex:none;width:clamp(2.5rem,3.7vw,3.4rem);height:auto;aspect-ratio:1}
.slogan{font-family:var(--f-head);font-weight:600;text-transform:uppercase;letter-spacing:.2em;
  font-size:clamp(1.02rem,5.2vw,1.5rem);line-height:1.22;display:flex;flex-direction:column}
.slogan>span{white-space:nowrap}
.rule{display:none;flex:1;height:2px;background:linear-gradient(90deg,var(--red) 0 4.5rem,rgba(255,255,255,.28) 4.5rem)}

.stage{position:relative;overflow:hidden;min-height:calc(var(--pw)*.76)}
.tower{position:absolute;left:50%;width:var(--pw);aspect-ratio:3456/3421;top:calc(2.2rem - .0385*var(--pw));transform:translateX(-50%);
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 5%),linear-gradient(90deg,transparent 0,#000 20%,#000 80%,transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(180deg,transparent 0,#000 5%),linear-gradient(90deg,transparent 0,#000 20%,#000 80%,transparent 100%);
  mask-composite:intersect}
.tower__par{position:absolute;inset:0;will-change:transform}
.tower__img{width:100%;height:100%;object-fit:cover}
.tower__bolt{position:absolute;left:34.4%;top:29.23%;width:21.41%;height:31.92%;pointer-events:none}
.vignette{position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(11,27,51,0) calc(var(--pw)*.40),rgba(11,27,51,.3) calc(var(--pw)*.55),rgba(11,27,51,.78) calc(var(--pw)*.67),var(--ink) calc(var(--pw)*.76))}

.pro{position:relative;z-index:3;pointer-events:none;padding-top:calc(var(--pw)*.6);padding-bottom:2.5rem;display:grid;grid-template-columns:1fr}
.pro__col{font-family:var(--f-head);font-weight:700;text-transform:uppercase;letter-spacing:.06em;line-height:1.16;
  font-size:clamp(1rem,4.2vw,1.45rem);text-shadow:0 1px 12px rgba(11,27,51,.95),0 0 3px rgba(11,27,51,.8)}
.pro__col li{display:flex;align-items:flex-start;gap:.7em;padding:.62em 0;border-top:2px solid rgba(255,255,255,.22)}
.pro__col--l li:first-child{border-top:3px solid var(--red)}
.pro__col--r li:last-child{border-bottom:2px solid rgba(255,255,255,.22)}
.bb{flex:none;width:.52em;height:.92em;margin-top:.1em;fill:var(--red)}

@container (min-width:44rem){
  .hero{--pw:min(118cqw,60rem)}
  .title{flex-direction:row;justify-content:space-between;width:100%;font-size:min(11.85cqw,11.4rem)}
  .slogan{flex-direction:row;gap:.6em;font-size:clamp(1rem,2.5vw,2.05rem)}
  .rule{display:block}
  .pro{grid-template-columns:1fr 1fr;column-gap:3rem}
  .pro__col{font-size:clamp(1.05rem,2.3vw,1.7rem)}
  .pro__col--r li:first-child{border-top:3px solid var(--red)}
  .pro__col--l li:last-child{border-bottom:2px solid rgba(255,255,255,.22)}
}
@container (min-width:62rem){
  .hero{--pw:max(47.5rem,min(100cqw,105vh,87.5rem))}
  .pro{display:flex;justify-content:space-between;align-items:flex-start;padding-top:calc(2.2rem + .03*var(--pw) + 1.6rem);padding-bottom:0}
  .pro__col{width:clamp(16rem,26cqw,28rem);font-size:clamp(1.15rem,1.95cqw,1.9rem)}
  .pro__col li:last-child{border-bottom:0}
}

/* ───── program ───── */
.program{padding:clamp(2.5rem,5vw,4.5rem) 0 clamp(4.5rem,7vw,7rem)}
.h2{display:flex;align-items:center;gap:clamp(.8rem,1.4vw,1.2rem);font-family:var(--f-head);font-weight:800;text-transform:uppercase;
  font-size:clamp(2rem,4.4vw,3.7rem);line-height:1;letter-spacing:.02em}
.h2::before{content:"";flex:none;width:.4em;height:1em;background:var(--red)}

.grid{margin-top:clamp(1.8rem,3.5vw,3.2rem);display:grid;grid-template-columns:1fr;column-gap:clamp(2rem,4.5vw,4.5rem)}
.card{position:relative;display:flex;align-items:center;gap:clamp(.9rem,1.4vw,1.2rem);min-height:clamp(5.25rem,7.4vw,6.6rem);padding:.85rem 0;border-top:2px solid rgba(255,255,255,.2)}
.card:first-child{border-top:3px solid var(--red)}
.ico{flex:none;width:clamp(3.6rem,4.6vw,4.2rem);aspect-ratio:1;background:var(--red);display:flex;align-items:center;justify-content:center}
.ico svg{width:62%;height:62%;fill:none;stroke:#fff;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.card p{font-weight:600;font-size:clamp(1.08rem,1.6vw,1.42rem);line-height:1.2;letter-spacing:-.005em;padding-right:2.6rem}
.card sup{font-size:.72em;line-height:0;vertical-align:super;position:relative;top:-.12em;margin-left:.15em;font-weight:700}
.n{position:absolute;right:.2rem;top:.8rem;font-family:var(--f-head);font-weight:700;font-size:.82rem;letter-spacing:.12em;color:rgba(255,255,255,.5)}
@media (hover:hover){
  .card,.card .ico,.card .n{transition:background-color .3s ease,color .3s ease}
  .card:hover{background:rgba(255,255,255,.04)}
  .card:hover .n{color:#fff}
}

.fine{margin-top:clamp(2.2rem,4vw,3.5rem);padding-top:1.35rem;border-top:1px solid rgba(255,255,255,.2);display:grid;grid-template-columns:1fr;gap:.5rem clamp(2rem,4.5vw,4.5rem);
  font-size:clamp(.85rem,1.2vw,1rem);line-height:1.45;color:rgba(228,233,242,.92)}
.fine b{font-weight:700;color:#fff;margin-right:.55em}

@media (min-width:50rem){
  .grid{grid-template-columns:1fr 1fr}
  .card:nth-child(2){border-top:3px solid var(--red)}
  .fine{grid-template-columns:1fr 1fr}
}

/* ───── banner ───── */
.banner{background:rgba(255,255,255,.05);border-block:3px solid var(--red);padding:clamp(4.5rem,10vw,9rem) 0;text-align:center}
.banner__t{font-family:var(--f-head);font-weight:800;font-size:clamp(2.25rem,6.6vw,6.4rem);line-height:1.06;letter-spacing:-.012em;text-wrap:balance}
.banner__l{display:block}
.banner em{font-style:normal;color:var(--red)}

/* ───── footer ───── */
.foot{position:relative;background:var(--red);padding:clamp(3rem,6vw,5.5rem) 0 clamp(1.6rem,2.6vw,2.4rem)}
.foot__rule{position:absolute;left:0;right:0;top:0;height:6px;background:#fff}
.foot__t{font-family:var(--f-head);font-weight:800;font-size:clamp(1.95rem,4.9vw,4.7rem);line-height:1.08;letter-spacing:-.005em;text-wrap:balance}
.foot__meta{margin-top:clamp(2.2rem,4.5vw,4rem);padding-top:1.1rem;border-top:1px solid rgba(255,255,255,.45);display:flex;flex-wrap:wrap;justify-content:space-between;gap:.6rem 3rem;
  font-size:.82rem;line-height:1.55;color:#fff}
.foot__meta a{text-decoration:underline;text-underline-offset:.18em;text-decoration-thickness:1px}
.foot__meta a:hover{text-decoration-thickness:2px}
