@font-face { font-family: "Newsreader"; src: url(fonts/newsreader-latin-ext-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB; }
@font-face { font-family: "Newsreader"; src: url(fonts/newsreader-latin-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Newsreader"; src: url(fonts/newsreader-latin-ext-wght-italic.woff2) format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB; }
@font-face { font-family: "Newsreader"; src: url(fonts/newsreader-latin-wght-italic.woff2) format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Montserrat"; src: url(fonts/montserrat-latin-ext-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB; }
@font-face { font-family: "Montserrat"; src: url(fonts/montserrat-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --paper: #EEF1F6;
  --white: #FFFFFF;
  --ink: #0D1526;
  --granat: #0032A0;
  --pen: #D3122F;
  --mute: #566076;
  --gutter: clamp(16px, 4vw, 56px);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Montserrat", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 19px/1.65 var(--serif); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, dl, dd, figure, blockquote, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--granat); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }
h2 { font: 400 clamp(36px, 5vw, 72px)/1.05 var(--serif); letter-spacing: -.015em; }

.btn { display: inline-block; padding: 16px 28px; background: var(--granat); color: var(--white); font: 600 16px var(--sans); text-decoration: none; transition: background-color .2s, transform .2s; }
.btn:hover { background: var(--pen); transform: translateY(-2px); }

/* Hero: trzy słowa, dwa przekreślone */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); grid-template-rows: auto 1fr auto; gap: 0 var(--gutter); padding: clamp(20px, 4vh, 40px) var(--gutter); }
.hero__by { grid-column: 1; font: 600 16px var(--sans); }
.words { grid-column: 1; align-self: center; font: 400 clamp(60px, 10vw, 168px)/1 var(--serif); letter-spacing: -.03em; }
.w { display: block; position: relative; width: max-content; }
.w svg { position: absolute; left: -2%; top: 52%; width: 104%; height: .2em; overflow: visible; clip-path: inset(-100% 100% -100% -5%); }
.w path { fill: none; stroke: var(--pen); stroke-width: 5; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.w1 { animation: dim .5s 1.3s forwards; }
.w1 svg { animation: strike .6s .8s cubic-bezier(.6,0,.3,1) forwards; }
.w2 { opacity: 0; animation: show .3s 1.5s forwards, dim .5s 2.5s forwards; }
.w2 svg { animation: strike .6s 2.1s cubic-bezier(.6,0,.3,1) forwards; }
.w3 { font-style: italic; color: var(--granat); clip-path: inset(-10% 100% -10% 0); animation: write .9s 2.8s cubic-bezier(.6,0,.3,1) forwards; }
@keyframes strike { to { clip-path: inset(-100% -5% -100% -5%); } }
@keyframes write { to { clip-path: inset(-10% -4% -10% 0); } }
@keyframes dim { to { color: #A4ACBC; } }
@keyframes show { to { opacity: 1; } }
.hero__side { grid-column: 2; grid-row: 1 / 4; overflow: hidden; position: relative; min-height: 420px; background: var(--ink); }
/* Raster jak w druku, znika w dół strony */
.hero__side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1) contrast(1.1); clip-path: inset(100% 0 0 0); transform: translateY(var(--sy, 0)) scale(1.08); animation: wipe 1.3s .15s cubic-bezier(.7,0,.2,1) forwards; }
.hero__side::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(13,21,38,.55) 32%, transparent 34%) 0 0 / 6px 6px; mix-blend-mode: multiply; pointer-events: none; opacity: var(--tone, 1); }
@keyframes wipe { to { clip-path: inset(0); } }
.hero__foot { grid-column: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.hero__foot p { max-width: 30em; line-height: 1.4; font-size: 21px; }

/* Rozdział gazetowy */
.print { background: var(--white); padding: clamp(56px, 10vh, 110px) var(--gutter); }
.print__mast { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 3px double var(--ink); font: 500 14px var(--sans); }
.print h2 { margin-top: 28px; max-width: 13em; font-size: clamp(48px, 8.4vw, 136px); font-weight: 500; line-height: .98; letter-spacing: -.03em; }
.scrub { margin-top: 40px; max-width: 24em; font-size: clamp(28px, 3.8vw, 54px); line-height: 1.18; letter-spacing: -.012em; }
.scrub span { opacity: var(--o, 1); transition: opacity .15s linear; }
.print__cols { margin-top: 64px; columns: 3 280px; column-gap: 36px; column-rule: 1px solid #C8CEDA; font-size: 18px; line-height: 1.55; }
.print__cols p { margin-bottom: 1em; break-inside: avoid; }
.drop::first-letter { float: left; font-size: 4.2em; line-height: .82; padding: 6px 8px 0 0; color: var(--pen); }

/* Przełączenie kanału: szum */
.static { height: 200vh; background: #06080F; }
.static__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; background: var(--white); }
.static canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: var(--n, 0); }
.static p { position: relative; color: #fff; font: italic 400 clamp(48px, 9vw, 150px)/1 var(--serif); letter-spacing: -.02em; text-align: center; mix-blend-mode: difference; padding-inline: var(--gutter); }

/* Telewizja */
.tv { background: #06080F; color: #E9EDF5; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--gutter); padding: clamp(40px, 8vh, 90px) var(--gutter) 0; align-items: start; position: relative; }
.tv__screen { position: sticky; top: 32px; aspect-ratio: 16/10; overflow: hidden; background: #000; border: 1px solid #2B3347; }
.tv__screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; filter: grayscale(.25) contrast(1.05); }
.tv__screen::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.26) 0 2px, transparent 2px 4px); pointer-events: none; }
.tv__live { position: absolute; z-index: 1; right: 14px; top: 12px; padding: 3px 9px; background: var(--pen); color: #fff; font: 700 13px var(--sans); animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .45; } }
.tv__third { position: absolute; z-index: 1; left: 0; bottom: 8%; display: flex; flex-direction: column; transform: translateX(var(--third, -102%)); transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.tv__third b { background: var(--granat); color: #fff; padding: 8px 22px 6px; font: 700 clamp(18px, 2.2vw, 30px)/1.1 var(--sans); }
.tv__third span { background: #fff; color: var(--ink); padding: 5px 22px; width: max-content; font: 500 clamp(13px, 1.2vw, 17px)/1.2 var(--sans); }
.tv__text { padding-bottom: 72px; }
.tv__text p { margin-top: 20px; max-width: 32em; }
.tv h2 { font-size: clamp(38px, 4.6vw, 70px); }
.tiles { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; font: 500 14px/1.3 var(--sans); }
.tiles li { border-top: 3px solid var(--pen); padding-top: 10px; }
.tiles b { display: block; font: 400 clamp(56px, 7vw, 104px)/1 var(--serif); font-variant-numeric: tabular-nums; }
.tv__bar { grid-column: 1 / -1; margin-inline: calc(var(--gutter) * -1); overflow: hidden; background: var(--pen); color: #fff; font: 600 16px/1 var(--sans); padding: 12px 0; }
.tv__bar-in { display: flex; gap: 56px; width: max-content; animation: bar 40s linear infinite; }
@keyframes bar { to { transform: translateX(-50%); } }

/* Spiker */
.voice { background: var(--granat); color: #fff; padding: clamp(64px, 12vh, 130px) var(--gutter); }
.voice h2 { max-width: 12em; font-size: clamp(44px, 7vw, 112px); line-height: 1; }
.wave { display: block; width: 100%; height: clamp(90px, 18vh, 170px); margin-top: 36px; }
.voice p { margin-top: 28px; max-width: 34em; }

/* Oś czasu */
.gantt { background: var(--paper); padding: clamp(64px, 12vh, 130px) var(--gutter); }
.gantt__chart { margin-top: 48px; display: grid; gap: 10px; }
.gantt__years { display: flex; justify-content: space-between; font: 500 13px var(--sans); color: var(--mute); border-bottom: 1px solid #AEB6C6; padding-bottom: 6px; }
.bar { position: relative; height: 54px; }
.bar i { position: absolute; top: 0; bottom: 0; left: calc(var(--a) * 1%); width: calc((var(--b) - var(--a)) * 1%); background: var(--ink); transform: scaleX(var(--gp, 1)); transform-origin: 0 50%; transition: transform 1.1s cubic-bezier(.2,.8,.2,1); }
.js .gantt__chart:not(.in) { --gp: 0; }
.bar b { position: absolute; left: calc(var(--a) * 1%); top: 50%; transform: translateY(-50%); padding-inline: 12px; font: 600 15px var(--sans); color: #fff; white-space: nowrap; }
.bar--out b { left: calc(var(--b) * 1%); color: var(--ink); }
.bar--left b { left: auto; right: calc((100 - var(--a)) * 1%); color: var(--ink); }
.bar--ph i { background: var(--granat); }
.bar:nth-child(n+6) b { left: auto; right: calc((100 - var(--b)) * 1%); }
.gantt__note { margin-top: 22px; color: var(--mute); }

/* Sala */
.stage { height: 220vh; background: var(--ink); }
.stage__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.stage__pin img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(var(--c, 26%) calc(var(--c, 26%) * 1.2)); }
.stage__q { position: relative; max-width: 15em; padding-inline: var(--gutter); text-align: center; color: var(--white); font: italic 400 clamp(36px, 6vw, 92px)/1.05 var(--serif); letter-spacing: -.015em; opacity: var(--q, 0); transform: translateY(calc((1 - var(--q, 0)) * 24px)); text-shadow: 0 2px 30px rgba(0, 0, 30, .75); }

.topics { padding: clamp(72px, 14vh, 150px) var(--gutter); }
.topics h2 { max-width: 14em; }
.topics__grid { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--gutter); align-items: start; }
.topics figure { position: sticky; top: 24px; overflow: hidden; }
.topics figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.topics figure:hover img { transform: scale(1.04); }
.topics article + article { margin-top: 40px; padding-top: 40px; border-top: 1px solid #C8CEDA; }
.topics h3 { font: 500 clamp(26px, 2.6vw, 36px)/1.15 var(--serif); margin-bottom: 10px; }

.rule { background: var(--ink); color: var(--white); padding: clamp(90px, 20vh, 200px) var(--gutter); }
.rule blockquote { max-width: 17em; font: 400 clamp(38px, 6.4vw, 100px)/1.08 var(--serif); letter-spacing: -.02em; }
.mark { background: linear-gradient(var(--pen), var(--pen)) 0 92% / calc(var(--m, 0) * 100%) .06em no-repeat; }

.cta { padding: clamp(80px, 16vh, 170px) var(--gutter); }
.cta h2 { max-width: 15em; }
.cta > p { margin-top: 24px; max-width: 32em; }
.cta .btn { margin-top: 32px; }
.cta .cta__mail { margin-top: 16px; font: 500 15px var(--sans); color: var(--mute); }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 24px var(--gutter); background: var(--ink); color: var(--white); font: 400 14px/1.5 var(--sans); }
.foot a { margin-right: 14px; }
.foot p a:last-child { margin-right: 0; }

#zgoda { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 560px; padding: 18px; background: var(--white); color: var(--ink); font: 400 14px/1.45 var(--sans); box-shadow: 0 8px 40px rgba(10, 20, 50, .3); }
#zgoda div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
#zgoda button { flex: 1; min-height: 44px; padding: 8px 14px; font: 600 14px var(--sans); cursor: pointer; border: 2px solid var(--granat); background: var(--white); color: var(--granat); }
#zgoda button[data-z="tak"] { background: var(--granat); color: var(--white); }

.doc { max-width: 680px; margin: 0 auto; padding: 64px var(--gutter); }
.doc h1 { font: 400 52px/1.05 var(--serif); margin-bottom: 32px; }
.doc h2 { font: 600 19px/1.3 var(--sans); margin: 32px 0 8px; }

@media (max-width: 820px) {
  .hero { display: flex; flex-direction: column; gap: 24px; }
  .words { font-size: 16vw; }
  .hero__side { order: 3; min-height: 92vw; }
  .hero__foot { order: 2; }
  .static { height: 150vh; }
  .tv { display: block; }
  .tv__screen { position: static; margin-bottom: 28px; }
  .tiles b { font-size: 48px; }
  .bar { height: 44px; }
  .bar b { font-size: 11px; padding-inline: 6px; }
  .stage { height: 170vh; }
  .topics__grid { display: block; }
  .topics figure { position: static; margin-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition: none !important; }
  .tv__bar-in, .tv__live { animation: none; }
  .scrub span { opacity: 1 !important; }
  .static { height: auto; }
  .static__pin { position: static; height: 50vh; background: #06080F; }
  .tv__third { transform: none; }
  .stage { height: auto; }
  .stage__pin img { clip-path: none; }
  .stage__q { opacity: 1; transform: none; }
  .mark { --m: 1; }
}
