/* Baza: bezpieczne obszary iPhone'a, zero marginesu, ukrywanie atrybutem hidden */
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }

/* Układ: strona marki osobistej jak dobrze zrobiony kanał. Na górze zdjęcie i tytuł w stylu miniatur Kamila
   (grube, wąskie wersaliki, słowo-klucz w zielonej ramce), niżej spokojne sekcje z dużym odstępem.
   Domyślnie ciemna (grafit w odcieniu ściany ze studia), jasna wersja z przełącznika. */
:root {
  --bg: #15171e;
  --bg-2: #1b1e27;
  --surface: #232733;
  --surface-2: #2b2f3d;
  --line: rgba(236, 240, 248, 0.10);
  --fg: #eef0f5;
  --fg-2: #aeb4c2;
  --fg-3: #7d8394;
  --green: #66bb44;
  --green-box: #3f9d2d;
  --on-green: #0b170c;
  --on-box: #ffffff;
  --yt: #ff3d3d;
  --tile: #ffffff;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  --logo-filter: none;
  --err: #ff7b72;
  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1280px;
  --r: 18px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f3f4f6; --bg-2: #e9ebef; --surface: #ffffff; --surface-2: #f1f2f5;
    --line: rgba(22, 24, 33, 0.12); --fg: #161821; --fg-2: #4f5563; --fg-3: #737a89;
    --green: #2c8a26; --green-box: #3f9d2d; --on-green: #ffffff; --on-box: #ffffff;
    --yt: #e62117; --tile: #ffffff; --shadow: 0 30px 60px -34px rgba(20, 24, 40, 0.35);
    --logo-filter: invert(0.9); --err: #c62828;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f3f4f6; --bg-2: #e9ebef; --surface: #ffffff; --surface-2: #f1f2f5;
  --line: rgba(22, 24, 33, 0.12); --fg: #161821; --fg-2: #4f5563; --fg-3: #737a89;
  --green: #2c8a26; --green-box: #3f9d2d; --on-green: #ffffff; --on-box: #ffffff;
  --yt: #e62117; --tile: #ffffff; --shadow: 0 30px 60px -34px rgba(20, 24, 40, 0.35);
  --logo-filter: invert(0.9); --err: #c62828;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--green); color: var(--on-green); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
section { scroll-margin-top: 84px; }
.sec { padding-block: clamp(72px, 9vw, 128px); }
.sec-alt { background: var(--bg-2); }

/* Typografia */
.h2 {
  font-family: var(--font-display);
  font-stretch: 85%;
  font-weight: 780;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.lead { font-size: clamp(18px, 1.5vw, 20px); color: var(--fg-2); max-width: 60ch; margin: 0; text-wrap: pretty; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green); margin: 0 0 18px;
}
.sec-head { display: grid; gap: 0; margin-bottom: clamp(36px, 5vw, 64px); }

/* Przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-main { background: var(--green); color: var(--on-green); }
.btn-main:hover { transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--fg-3); transform: translateY(-2px); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }
.link { color: var(--green); font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Nagłówek */
.top {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50;
  transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.top.on { background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: block; flex: none; }
.logo img { height: 34px; width: auto; filter: var(--logo-filter); }
.menu { display: flex; gap: 26px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.menu a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--fg-2); transition: color .2s; }
.menu a:hover { color: var(--fg); }
.top-cta { min-height: 42px; padding: 0 18px; font-size: 15px; }
.ico-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent;
  display: inline-grid; place-items: center; cursor: pointer; flex: none; transition: border-color .2s;
}
.ico-btn:hover { border-color: var(--fg-3); }
.ico-btn svg { width: 19px; height: 19px; }
.burger { display: none; }
.burger .i-x, .burger[aria-expanded="true"] .i-bars { display: none; }
.burger[aria-expanded="true"] .i-x { display: block; }
.sheet { display: none; }

/* Pierwszy ekran */
.hero { position: relative; padding-top: calc(112px + env(safe-area-inset-top, 0px)); padding-bottom: clamp(48px, 6vw, 88px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 80% 30%, color-mix(in srgb, var(--surface-2) 70%, transparent), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-text { min-width: 0; }
.hero-name { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; font-weight: 700; font-size: 15px; color: var(--fg-2); }
.hero-name img { width: 30px; height: 30px; }
.hero-name b { color: var(--fg); font-weight: 700; }
.hero-title {
  font-family: var(--font-display);
  font-stretch: 72%;
  font-weight: 860;
  text-transform: uppercase;
  font-size: clamp(46px, 6.1vw, 100px);
  line-height: 0.93;
  letter-spacing: -0.005em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.hero-title .ln { display: block; }
.hero-title mark {
  position: relative; display: inline-block; color: var(--on-box); background: none;
  padding: 0.02em 0.16em 0; margin-left: -0.04em; z-index: 0;
}
.hero-title mark::before {
  content: ""; position: absolute; inset: 0.02em 0 0.06em; background: var(--green-box); border-radius: 0.09em; z-index: -1;
  transform-origin: left center;
}
.hero-sub { font-size: clamp(18px, 1.45vw, 21px); color: var(--fg-2); max-width: 54ch; margin: 0 0 34px; text-wrap: pretty; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.btn-yt svg { color: var(--yt); }
.platforms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 620px; }
.pf {
  display: grid; gap: 2px; padding: 12px 14px 12px; border-radius: 14px; text-decoration: none;
  border: 1px solid var(--line); transition: border-color .2s, transform .2s;
}
.pf:hover { border-color: var(--fg-3); transform: translateY(-2px); }
.pf svg { width: 18px; height: 18px; margin-bottom: 6px; }
.pf b { font-family: var(--font-display); font-stretch: 80%; font-weight: 800; font-size: 24px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.pf span { font-size: 13px; color: var(--fg-3); }
.hero-photo { position: relative; min-width: 0; }
.hero-photo .frame {
  position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 9 / 10; max-width: 100%;
  background: #2c2d39; box-shadow: var(--shadow);
}
.hero-photo .frame .hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 28%; }
.hero-photo .mark-im { position: absolute; top: 20px; left: 20px; width: 44px; height: 44px; opacity: .95; }
.hero-photo .cap {
  position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 12px;
  background: rgba(16, 18, 24, 0.72); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 16px; padding: 12px 16px; font-size: 14px; line-height: 1.35;
}
.cap b { display: block; font-size: 15px; }
.cap span { color: rgba(255, 255, 255, .75); }

/* Wejście pierwszego ekranu */
@keyframes up { from { transform: translateY(22px); } to { transform: none; } }
@keyframes wipe { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes settle { from { transform: scale(1.07); } to { transform: none; } }
.anim .in { animation: up .8s cubic-bezier(.2, .7, .2, 1) both; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .15s; } .d3 { animation-delay: .28s; } .d4 { animation-delay: .4s; } .d5 { animation-delay: .52s; }
.anim .hero-title mark::before { animation: wipe .7s cubic-bezier(.7, 0, .2, 1) .55s both; }
.anim .hero-photo .frame .hero-img { animation: settle 1.4s cubic-bezier(.2, .7, .2, 1) .1s both; }
.anim .view-in .sub-text > *, .anim .view-in .sub-vis { animation: up .8s cubic-bezier(.2, .7, .2, 1) both; }
.anim .view-in .sub-text > :nth-child(2) { animation-delay: .08s; }
.anim .view-in .sub-text > :nth-child(3) { animation-delay: .16s; }
.anim .view-in .sub-text > :nth-child(4) { animation-delay: .24s; }
.anim .view-in .sub-vis { animation-delay: .12s; }
.anim .view-in .sub-title mark::before { animation: wipe .7s cubic-bezier(.7, 0, .2, 1) .4s both; }

/* Liczby */
.stats { border-block: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { padding: clamp(28px, 3.5vw, 48px) clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); min-width: 0; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num {
  font-family: var(--font-display); font-stretch: 72%; font-weight: 860; font-size: clamp(40px, 4.6vw, 76px);
  line-height: 0.95; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.stat .num em { font-style: normal; color: var(--green); }
.stat p { margin: 12px 0 0; color: var(--fg-2); font-size: 15px; line-height: 1.45; max-width: 26ch; }
.stats .note-wrap { display: block; }
.stats-note { font-size: 13px; color: var(--fg-3); padding-block: 14px 0; margin: 0; }

/* Prasa i wykłady */
.stage { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.stage-photo { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: #1d1f27; min-width: 0; }
.stage-photo img { width: 100%; height: auto; }
.stage-text { min-width: 0; }
.stage-more { margin: 16px 0 0; color: var(--fg-2); max-width: 56ch; }
.stage-text .btn { margin-top: 28px; }
.press { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 96px); align-items: center; margin-top: clamp(72px, 9vw, 128px); }
.press-h { font-family: var(--font-display); font-stretch: 85%; font-weight: 780; font-size: clamp(30px, 3vw, 44px); line-height: 1.05; margin: 0 0 14px; }
.press-text > p { margin: 0 0 10px; color: var(--fg-2); max-width: 60ch; }
.press-vis { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1 / 1.02; justify-self: center; }
.press-vis img { position: absolute; border-radius: 6px; box-shadow: 0 26px 50px -22px rgba(0, 0, 0, .65); transition: translate .5s cubic-bezier(.2, .7, .2, 1), rotate .5s cubic-bezier(.2, .7, .2, 1); }
.press-vis .cover { width: 60%; left: 0; top: 4%; rotate: -4deg; z-index: 4; }
.press-vis .pg { width: 45%; }
.press-vis .pg1 { left: 47%; top: 0; rotate: 6deg; z-index: 1; }
.press-vis .pg2 { left: 41%; top: 13%; rotate: 2deg; z-index: 2; }
.press-vis .pg3 { left: 49%; top: 27%; rotate: 5deg; z-index: 3; }
.press-vis:hover .cover { translate: -2% -2%; rotate: -6deg; }
.press-vis:hover .pg1 { translate: 4% -2%; rotate: 9deg; }
.press-vis:hover .pg3 { translate: 3% 3%; rotate: 8deg; }
.press-tag { position: absolute; z-index: 5; left: 4%; bottom: 6%; background: var(--green); color: var(--on-green); font-weight: 800; font-size: 14px; padding: 8px 16px; border-radius: 999px; white-space: nowrap; }
.press-text { min-width: 0; }
.arts { list-style: none; margin: 2px 0 4px; padding: 0; display: grid; }
.arts li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; line-height: 1.35; }
.arts li span { flex: none; color: var(--fg-3); font-weight: 500; font-size: 14px; padding-top: 2px; }

/* Co robię */
.doing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(32px, 5vw, 80px); }
.do { border-top: 2px solid var(--line); padding-top: 26px; min-width: 0; display: grid; gap: 10px; align-content: start; }
.do-top { display: flex; align-items: center; gap: 14px; }
.do-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; flex: none; }
.do-ico svg { width: 22px; height: 22px; }
.do h3 { font-family: var(--font-display); font-stretch: 88%; font-weight: 760; font-size: clamp(24px, 2vw, 30px); line-height: 1.1; margin: 0; }
.do p { margin: 0; color: var(--fg-2); max-width: 52ch; }
.do .links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 4px; }
.topics { margin-top: clamp(40px, 5vw, 64px); color: var(--fg-2); font-size: 16px; max-width: 70ch; }
.topics b { color: var(--fg); }

/* E-booki i newsletter */
.nl { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.fan { position: relative; height: clamp(360px, 38vw, 560px); min-width: 0; }
.fan img {
  position: absolute; width: 48%; left: 26%; top: 6%; border-radius: 8px;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6); transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.fan img:nth-child(1) { transform: translate(-46%, 6%) rotate(-11deg); }
.fan img:nth-child(2) { transform: translate(-16%, 1%) rotate(-4deg); }
.fan img:nth-child(3) { transform: translate(16%, 2%) rotate(4deg); }
.fan img:nth-child(4) { transform: translate(46%, 7%) rotate(11deg); }
.fan:hover img:nth-child(1) { transform: translate(-54%, 4%) rotate(-14deg); }
.fan:hover img:nth-child(4) { transform: translate(54%, 5%) rotate(14deg); }
.free { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); background: var(--green); color: var(--on-green); font-weight: 800; padding: 8px 18px; border-radius: 999px; font-size: 15px; white-space: nowrap; }
.books { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 14px; }
.books li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; }
.books li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.books b { color: var(--fg); }
.books span { color: var(--fg-2); }
.also { color: var(--fg-2); margin: 0 0 26px; font-size: 16px; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 2.4vw, 32px); }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; color: var(--fg-2); }
input[type="email"], input[type="text"], input[type="tel"], input[type="url"], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line);
  background: var(--bg); font-size: 16px; transition: border-color .2s;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); }
.nl-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 13px; line-height: 1.5; color: var(--fg-2); margin-top: 16px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green); cursor: pointer; }
.small { font-size: 13px; color: var(--fg-3); margin: 14px 0 0; line-height: 1.5; }
.small a, .legal-link { color: var(--fg-2); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; }
.err { color: var(--err); font-size: 14px; font-weight: 600; margin: 10px 0 0; }
.done h3 { font-family: var(--font-display); font-stretch: 88%; font-weight: 780; font-size: 28px; line-height: 1.1; margin: 0 0 18px; }
.done ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; counter-reset: k; }
.done li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; counter-increment: k; color: var(--fg-2); }
.done li::before { content: counter(k); width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: var(--on-green); font-weight: 800; display: grid; place-items: center; font-size: 15px; }
.mails { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mails a { text-decoration: none; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--fg); }
.mails a:hover { border-color: var(--fg-3); }

/* Filmy */
.vids { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
.vid { text-decoration: none; display: grid; gap: 14px; min-width: 0; }
.thumb { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.vid:hover .thumb img { transform: scale(1.045); }
.dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, .82); color: #fff; font-size: 13px; font-weight: 700; padding: 2px 7px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.play {
  position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 14px; background: #ff0000;
  display: grid; place-items: center; opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s;
}
.play::before { content: ""; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.vid:hover .play, .vid:focus-visible .play { opacity: 1; transform: none; }
.vid h3 { margin: 0; font-weight: 700; font-size: 18px; line-height: 1.3; }
.vid-big h3 { font-family: var(--font-display); font-stretch: 88%; font-weight: 760; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.12; }
.meta { font-size: 14px; color: var(--fg-3); }
.meta b { color: var(--fg-2); font-weight: 600; }
.vid-list { display: grid; gap: 18px; min-width: 0; }
.vid-row { grid-template-columns: minmax(0, 170px) minmax(0, 1fr); align-items: center; gap: 16px; }
.vid-row .thumb { border-radius: 10px; }
.vid-row h3 { font-size: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vid-row .play { width: 44px; height: 32px; margin: -16px 0 0 -22px; border-radius: 9px; }
.vid-row .play::before { border-width: 7px 0 7px 12px; margin-left: 3px; }
.shorts-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin: clamp(64px, 8vw, 104px) 0 28px; }
.shorts-head h3 { font-family: var(--font-display); font-stretch: 85%; font-weight: 780; font-size: clamp(28px, 3vw, 42px); line-height: 1.05; margin: 0 0 8px; }
.shorts-head p { margin: 0; color: var(--fg-2); }
.shorts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.short { position: relative; text-decoration: none; border-radius: 16px; overflow: hidden; aspect-ratio: 9 / 16; background: var(--surface); min-width: 0; }
.short img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.short:hover img { transform: scale(1.04); }
.short::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.short-info { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; color: #fff; }
.short-info b { display: block; font-family: var(--font-display); font-stretch: 72%; font-weight: 860; font-size: clamp(30px, 3vw, 46px); line-height: 1; }
.short-info small { display: block; font-size: 12px; opacity: .8; margin-bottom: 8px; }
.short-info span { font-size: 14px; font-weight: 600; line-height: 1.3; display: block; }

/* Polecam */
.partners { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pt { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: clamp(18px, 3vw, 40px); align-items: center; padding-block: 26px; border-bottom: 1px solid var(--line); }
.pt-logo { background: var(--tile); border-radius: 14px; height: 74px; display: grid; place-items: center; padding: 14px 18px; }
.pt-logo img { max-height: 38px; width: auto; max-width: 100%; }
.pt h3 { margin: 0 0 4px; font-size: 20px; font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.tag.own { color: var(--green); border-color: color-mix(in srgb, var(--green) 45%, transparent); }
.pt p { margin: 0; color: var(--fg-2); font-size: 16px; max-width: 70ch; }
.pt .fine { font-size: 13px; color: var(--fg-3); margin-top: 6px; }
.code { font-weight: 800; color: var(--fg); background: var(--surface); border: 1px dashed var(--fg-3); padding: 1px 8px; border-radius: 6px; font-size: 14px; letter-spacing: 0.03em; }
.pt-btns { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.pt-btns .btn { min-height: 44px; font-size: 15px; padding: 0 18px; }
.disc { font-size: 14px; color: var(--fg-3); margin: 20px 0 0; }

/* Podstrony */
.view:focus { outline: none; }
.sub-hero { position: relative; padding-top: calc(124px + env(safe-area-inset-top, 0px)); padding-bottom: clamp(56px, 7vw, 104px); overflow: hidden; }
.sub-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 82% 35%, color-mix(in srgb, var(--surface-2) 70%, transparent), transparent 70%);
}
.sub-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.sub-text { min-width: 0; }
.sub-text .form-card { max-width: 640px; }
.sub-vis { min-width: 0; }
.crumb { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; font-size: 14px; font-weight: 600; color: var(--fg-3); }
.crumb a { color: var(--fg-2); text-decoration: none; }
.crumb a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.sub-title {
  font-family: var(--font-display); font-stretch: 72%; font-weight: 860; text-transform: uppercase;
  font-size: clamp(46px, 5.6vw, 92px); line-height: 0.93; letter-spacing: -0.005em; margin: 0 0 26px; text-wrap: balance;
}
.sub-title .ln { display: inline; }
.sub-title mark { position: relative; display: inline-block; color: var(--on-box); background: none; padding: 0.02em 0.16em 0; margin-left: -0.04em; z-index: 0; }
.sub-title mark::before { content: ""; position: absolute; inset: 0.02em 0 0.06em; background: var(--green-box); border-radius: 0.09em; z-index: -1; transform-origin: left center; }
.inbox { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.inbox-head { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--fg-2); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-2); }
.mail-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--line); align-items: start; }
.mail-row:last-child { border-bottom: 0; }
.mail-row img { width: 40px; height: 40px; border-radius: 50%; background: var(--bg); padding: 6px; }
.mail-row p { margin: 0; }
.mail-row .from { font-size: 13px; font-weight: 700; color: var(--fg-3); }
.mail-row .subj { font-weight: 700; font-size: 16px; line-height: 1.3; margin: 2px 0 4px; }
.mail-row .prev { font-size: 14px; color: var(--fg-3); line-height: 1.45; }
.mail-row .date { font-size: 13px; color: var(--fg-3); white-space: nowrap; }
.mail-row.new .from { color: var(--green); }
.mail-row.new .date { color: var(--green); font-weight: 700; }
.vis-note { font-size: 13px; color: var(--fg-3); margin: 12px 0 0; }
.fan-sub { height: clamp(380px, 36vw, 560px); }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 700; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 500; font-size: 22px; line-height: 1; color: var(--green); transition: rotate .25s ease; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0 0 22px; color: var(--fg-2); max-width: 60ch; }
.band { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 3.4vw, 48px); }
.band > div { min-width: 0; flex: 1 1 420px; }
.band h2 { font-family: var(--font-display); font-stretch: 85%; font-weight: 780; font-size: clamp(28px, 2.8vw, 42px); line-height: 1.05; margin: 0 0 8px; text-wrap: balance; }
.band p { margin: 0; color: var(--fg-2); max-width: 56ch; }
.band-sec { padding-block: clamp(56px, 7vw, 96px); }
.eb-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 30px); }
.eb { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 2.2vw, 28px); align-items: start; min-width: 0; }
.eb img { width: 100%; border-radius: 6px; box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .6); rotate: -2deg; transition: rotate .4s cubic-bezier(.2, .7, .2, 1), translate .4s cubic-bezier(.2, .7, .2, 1); }
.eb:hover img { rotate: 0deg; translate: 0 -4px; }
.eb > div { min-width: 0; }
.eb .pages { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.eb h3 { font-family: var(--font-display); font-stretch: 88%; font-weight: 760; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.1; margin: 0 0 8px; text-wrap: balance; }
.eb p { margin: 0; color: var(--fg-2); }
.ticks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--fg-2); }
.ticks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; line-height: 1.45; }
.ticks li::before { content: ""; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.more-link { margin: -8px 0 20px; }
.menu a[aria-current="page"], .foot-nav a[aria-current="page"] { color: var(--fg); text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--fg-2); }
.foot-nav a:hover { color: var(--fg); }

/* Kontakt */
.contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-side { position: sticky; top: 100px; display: grid; gap: 20px; min-width: 0; }
.contact-photo { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: #2c2d39; max-width: 100%; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.mailbox { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: grid; gap: 10px; }
.mailbox p { margin: 0; color: var(--fg-2); font-size: 15px; }
.mailbox .addr { font-weight: 700; font-size: 19px; color: var(--fg); user-select: all; word-break: break-all; }
.mailbox .row { align-items: center; }
.copy { min-height: 40px; font-size: 14px; padding: 0 16px; }
.tabs { display: inline-flex; padding: 5px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; gap: 4px; margin-bottom: 22px; flex-wrap: wrap; }
.tab { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; cursor: pointer; color: var(--fg-2); }
.tab[aria-selected="true"] { background: var(--green); color: var(--on-green); }
.panel-intro { color: var(--fg-2); margin: 0 0 22px; max-width: 60ch; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-2 .full { grid-column: 1 / -1; }
.req { color: var(--green); }
.ok-msg { display: flex; gap: 14px; align-items: center; background: color-mix(in srgb, var(--green) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--green) 40%, transparent); border-radius: 16px; padding: 18px 20px; font-weight: 600; }
.ok-msg svg { width: 26px; height: 26px; color: var(--green); flex: none; }

/* Stopka */
.foot { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); }
.foot-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: center; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: border-color .2s, transform .2s; }
.socials a:hover { border-color: var(--fg-3); transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }
.foot-bottom { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14px; color: var(--fg-3); }
.foot-bottom p { margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* Cookies */
.cookies {
  position: fixed; z-index: 70; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: min(440px, calc(100% - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); font-size: 14px; line-height: 1.5; color: var(--fg-2);
}
.cookies h2 { font-size: 17px; color: var(--fg); margin: 0 0 6px; }
.cookies p { margin: 0 0 14px; }
.cookies .row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cookies .btn { min-height: 42px; padding: 0 10px; font-size: 13px; white-space: normal; text-align: center; line-height: 1.2; }
.cookies .btn-main { background: var(--surface-2); color: var(--fg); border-color: var(--line); }
.cset { display: grid; gap: 12px; margin: 0 0 14px; }
.cset label { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; cursor: pointer; }
.cset input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--green); }
.cset b { color: var(--fg); }

/* Okna z dokumentami */
dialog.doc {
  width: min(760px, calc(100% - 32px)); max-height: min(86vh, 900px); padding: 0; border: 1px solid var(--line); border-radius: 22px;
  background: var(--surface); color: var(--fg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
}
dialog.doc::backdrop { background: rgba(8, 10, 14, .62); backdrop-filter: blur(4px); }
.doc-head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; background: var(--surface); border-bottom: 1px solid var(--line); }
.doc-head h2 { margin: 0; font-size: 20px; }
.doc-body { padding: 8px 28px 32px; font-size: 15px; color: var(--fg-2); }
.doc-body h3 { color: var(--fg); font-size: 17px; margin: 26px 0 8px; }
.doc-body h4 { color: var(--fg); font-size: 15px; margin: 18px 0 6px; }
.doc-body table { width: 100%; border-collapse: collapse; font-size: 14px; }
.doc-body td, .doc-body th { border: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }
.doc-body .tw { overflow-x: auto; }

/* Ruch przy przewijaniu: tylko tam, gdzie przeglądarka to umie; bez tego wszystko stoi na swoim miejscu */
@supports (animation-timeline: view()) {
  @keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
  @keyframes fanout { from { transform: translate(0, 4%) rotate(0); } }
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  @keyframes pgout { from { translate: -40% 4%; rotate: -4deg; } }
  .fan img { animation: fanout linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
  @keyframes zoomout { from { scale: 1.12; } }
  .stage-photo img { animation: zoomout linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
  .press-vis .pg { animation: pgout linear both; animation-timeline: view(); animation-range: entry 15% cover 45%; }
  .press-vis:hover .pg { animation: none; }
  .fan:hover img { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Telefon i tablet */
@media (max-width: 1100px) {
  .menu { display: none; }
  .top .wrap { gap: 12px; }
  .top-cta { margin-left: auto; }
  .burger { display: inline-grid; }
  .sheet {
    position: fixed; inset: 0; z-index: 45; background: var(--bg); display: grid; align-content: start; gap: 8px;
    padding: calc(96px + env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px)) 32px max(24px, env(safe-area-inset-left, 0px));
  }
  .sheet[hidden] { display: none !important; }
  .sheet a { font-family: var(--font-display); font-stretch: 85%; font-weight: 780; font-size: 34px; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .sheet .btn { margin-top: 20px; font-family: var(--font-text); font-size: 17px; border: 0; }
}
@media (max-width: 900px) {
  .hero { padding-top: calc(92px + env(safe-area-inset-top, 0px)); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { order: -1; }
  .hero-photo .frame { aspect-ratio: 5 / 4; border-radius: 22px; }
  .hero-photo .frame .hero-img { object-position: 40% 22%; }
  .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding-left: 0; padding-right: 12px; border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .stat:nth-child(3) { grid-column: 1 / -1; }
  .stage, .press { grid-template-columns: minmax(0, 1fr); }
  .press-vis { max-width: 460px; order: -1; }
  .sub-hero { padding-top: calc(100px + env(safe-area-inset-top, 0px)); }
  .sub-grid { grid-template-columns: minmax(0, 1fr); }
  .sub-vis { max-width: 620px; }
  .fan-sub { height: clamp(260px, 70vw, 400px); }
  .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .eb-list { grid-template-columns: minmax(0, 1fr); }
  .doing { grid-template-columns: minmax(0, 1fr); }
  .nl { grid-template-columns: minmax(0, 1fr); }
  .fan { height: clamp(250px, 70vw, 380px); }
  .vids { grid-template-columns: minmax(0, 1fr); }
  .pt { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pt-logo { justify-self: start; width: 170px; }
  .pt-btns { flex-direction: row; flex-wrap: wrap; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact-side { position: static; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: end; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top-cta { display: none; }
  .burger { margin-left: auto; }
  .hero-btns .btn { flex: 1 1 100%; }
  .nl-row { grid-template-columns: minmax(0, 1fr); }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .contact-side { grid-template-columns: minmax(0, 1fr); }
  .contact-photo { aspect-ratio: 1; }
  .cookies .row { grid-template-columns: minmax(0, 1fr); }
  .vid-row { grid-template-columns: minmax(0, 130px) minmax(0, 1fr); gap: 12px; }
  .tabs { display: flex; }
  .tab { flex: 1 1 auto; padding: 10px 12px; font-size: 14px; }
  .shorts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .short-info b { font-size: 30px; }
  .arts li { flex-direction: column; gap: 2px; }
  .eb { grid-template-columns: 92px minmax(0, 1fr); gap: 18px; }
  .mail-row { grid-template-columns: 34px minmax(0, 1fr); padding: 16px; }
  .mail-row img { width: 34px; height: 34px; padding: 5px; }
  .mail-row .date { display: none; }
  .band .btn { flex: 1 1 100%; }
  .sub-title { font-size: clamp(42px, 13vw, 64px); }
}
@media (min-width: 2000px) {
  :root { --wrap: 1440px; }
  body { font-size: 18px; }
}
/* Duże monitory bez skalowania systemu: cała strona rośnie, żeby nie pływała pośrodku */
@media (min-width: 2400px) { body { zoom: 1.2; } }
@media (min-width: 3200px) { body { zoom: 1.6; } }
