@import url("./design-tokens.css");
@import url("./brand-tokens.css");
@import url("./mark-motion.css");

/* IPD · deck partnerów · V2
   Scena 1920×1080 skalowana do okna. Kolory i kroje: tokeny w :root. */

@font-face { font-family: "Fraunces"; src: url("fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: block; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: block; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: block; }

:root {
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --serif-var: "opsz" 48, "SOFT" 50, "WONK" 0;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --s: 1;
  --avail-h: 100vh;
  --bar: 56px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--night);
  overflow: hidden;
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  font-kerning: normal;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- scena ---------- */

#deck { position: fixed; left: 0; top: 0; width: 100vw; height: var(--avail-h); }
.slide {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1920px;
  height: 1080px;
  margin: -540px 0 0 -960px;
  transform: scale(var(--s));
  visibility: hidden;
}
.slide.is-active { visibility: visible; }
.stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}
.dark .stage { background: var(--night); color: var(--night-ink); }
.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .09;
  mix-blend-mode: multiply;
}
.dark .stage::before { opacity: .07; mix-blend-mode: screen; filter: invert(1); }
aside.notes { display: none; }

/* ---------- chrom slajdu ---------- */

.rh {
  position: absolute;
  left: 120px;
  right: 120px;
  top: 46px;
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--rule);
  font: 500 13px/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.dark .rh { border-color: var(--night-rule); color: var(--night-dim); }
.wm { display: inline-flex; flex-shrink: 0; align-items: center; color: var(--coral); line-height: 0; }
.wm svg { display: block; height: auto; width: var(--brand-mark-s); overflow: visible; }
.dark .wm { color: var(--coral); }
.rh .wm { align-self: flex-start; }
.rh-t b { font-weight: 600; color: var(--ink); margin-right: 14px; }
.dark .rh-t b { color: var(--night-ink); }
.ft {
  position: absolute;
  left: 120px;
  right: 120px;
  bottom: 40px;
  display: flex;
  justify-content: space-between;
  font: 500 12px/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.dark .ft { color: var(--night-dim); }

/* ---------- typografia ---------- */

.body { position: absolute; left: 120px; right: 120px; top: 128px; bottom: 96px; }
.h1 {
  font: 500 64px/1.04 var(--serif);
  letter-spacing: -.012em;
  font-variation-settings: var(--serif-var);
  text-wrap: balance;
}
.h1 em, .em { font-style: italic; }
.h-xl { font: 500 168px/.92 var(--serif); letter-spacing: -.03em; font-variation-settings: var(--serif-var); }
.sub { font: 400 24px/1.4 var(--sans); color: var(--ink-2); margin-top: 22px; max-width: 1100px; text-wrap: pretty; }
.dark .sub { color: var(--night-dim); }
.lbl { font: 600 12.5px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.dark .lbl { color: var(--night-dim); }
.num { font: 500 40px/1 var(--serif); font-variation-settings: var(--serif-var); color: var(--coral); }
.ic { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.coral { color: var(--coral); }
.hair { height: 1px; background: var(--rule); }

/* ---------- ruch ---------- */

.mv .slide.play [data-b] {
  animation: rise .9s cubic-bezier(.2, .7, .1, 1) both;
  animation-delay: calc(var(--i, 0) * 110ms + 220ms);
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.no-mv .slide [data-b] { animation: none !important; }
.mv #slide-5.play .arr {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: spoke-grow .55s cubic-bezier(.16, .84, .22, 1) forwards;
}
.mv #slide-5.play .arr-t {
  opacity: 0;
  animation: spoke-label .4s ease forwards;
}
.mv #slide-5.play .from-i .arr { animation-delay: .3s; }
.mv #slide-5.play .from-i .arr-t { animation-delay: .58s; }
.mv #slide-5.play .from-i .arr-h { animation-delay: .8s; }
.mv #slide-5.play .from-r .arr { animation-delay: .8s; }
.mv #slide-5.play .from-r .arr-t { animation-delay: 1.08s; }
.mv #slide-5.play .from-r .arr-h { animation-delay: 1.3s; }
.mv #slide-5.play .from-p .arr { animation-delay: 1.3s; }
.mv #slide-5.play .from-p .arr-t { animation-delay: 1.58s; }
.mv #slide-5.play .from-p .arr-h { animation-delay: 1.8s; }
#slide-5 .arr-h { fill: none; stroke: none; }
.mv #slide-5.play .arr-h { opacity: 0; animation: spoke-head .2s ease forwards; }
.no-mv #slide-5 .arr { animation: none !important; stroke-dashoffset: 0; }
.no-mv #slide-5 .arr-t,
.no-mv #slide-5 .arr-h { animation: none !important; opacity: 1; }
::view-transition-group(*) { animation-duration: .8s; animation-timing-function: cubic-bezier(.65, 0, .2, 1); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }
::view-transition-old(*), ::view-transition-new(*) { mix-blend-mode: normal; }

/* ---------- 1 · tytuł ---------- */

#slide-1 .s1-bg { position: absolute; inset: 0; background-image: var(--overlay-read), url("start_261026.jpg"); background-size: cover; background-position: center; }

#slide-1 .rh, #slide-1 .ft { position: absolute; z-index: 2; }
#slide-1 .s1 { z-index: 2; }
.guided { color: transparent; background-image: var(--gradient-guided); -webkit-background-clip: text; background-clip: text; white-space: nowrap; }
.s1 { position: absolute; left: 120px; top: 300px; width: 1480px; }
.s1 .eyebrow { display: flex; align-items: center; gap: 22px; font: 600 15px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--night-dim); }
.s1 .eyebrow::before { content: ""; width: 64px; height: 1px; background: var(--coral); }
.s1 h1 { margin-top: 48px; font: 500 128px/.98 var(--serif); letter-spacing: -.028em; font-variation-settings: var(--serif-var); }
.s1 h1 em { font-style: italic; }
.s1-def { margin-top: 48px; max-width: 980px; font: 400 28px/1.45 var(--sans); color: var(--night-dim); white-space: nowrap; }
.s1-def + .s1-def { margin-top: 14px; }
.s1-meta { position: absolute; right: 120px; top: 300px; writing-mode: vertical-rl; font: 500 12px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--night-dim); }

/* ---------- 2–5 · trójkąt ---------- */

.tri-copy { position: absolute; left: 120px; top: 170px; width: 640px; }
.tri-copy .h1 { font-size: 60px; }
.tri-copy .sub { font-size: 22px; }
.tri-svg { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; overflow: visible; pointer-events: none; }
.v-dot { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--c); z-index: 2; }
.tri-edge { fill: none; stroke: var(--ink); stroke-width: 1.75; opacity: .32; }
.dark .tri-edge { stroke: var(--night-ink); opacity: .28; }
.v-dot.r { left: 1290px; top: 262px; }
.v-dot.i { left: 920px; top: 903px; }
.v-dot.p { left: 1660px; top: 903px; }
.r { --c: var(--retailer); }
.i { --c: var(--influencer); }
.p { --c: var(--pl); }
.dark .r { --c: var(--retailer-l); }
.dark .i { --c: var(--influencer-l); }
.dark .p { --c: var(--pl-l); }
.muted .v-dot { background: transparent; box-shadow: inset 0 0 0 2px var(--ink-3); }
.dark.muted .v-dot { box-shadow: inset 0 0 0 2px var(--night-dim); }
.v-block { position: absolute; display: flex; flex-direction: column; gap: 8px; }
.v-block.r { left: 1290px; bottom: 848px; transform: translateX(-50%); align-items: center; text-align: center; width: 560px; }
.v-block.i { right: 988px; bottom: 207px; align-items: flex-end; text-align: right; width: 520px; }
.v-block.p { left: 1649px; bottom: 207px; align-items: flex-start; text-align: left; width: 260px; }
.v-name { display: block; font: 600 30px/1 var(--sans); letter-spacing: -.005em; color: var(--c); }
.muted .v-name { color: var(--ink-3); font-weight: 500; }
.dark.muted .v-name { color: var(--night-dim); }
.v-lbl { margin-top: 6px; }
.v-meta { display: flex; flex-direction: column; gap: 8px; }
.v-block.r .v-meta { align-items: center; text-align: center; }
.v-block.i .v-meta { align-items: flex-end; text-align: right; }
.v-block.p .v-meta { align-items: flex-start; text-align: left; }
.v-has { font: italic 400 25px/1.25 var(--serif); color: var(--ink-2); max-width: 420px; }
.v-block.p .v-has { max-width: 240px; }
.arr { fill: none; stroke: var(--coral); stroke-width: 2; }
.arr-t { font: italic 400 23px/1 var(--serif); fill: var(--ink); }
#slide-5 .from-r .arr { stroke: var(--retailer); }
#slide-5 .from-r .arr-t { fill: var(--retailer); }
#slide-5 .from-i .arr { stroke: var(--influencer); }
#slide-5 .from-i .arr-t { fill: var(--influencer); }
#slide-5 .from-p .arr { stroke: var(--pl); }
#slide-5 .from-p .arr-t { fill: var(--pl); }
.eye { position: absolute; left: 1086px; top: 486px; width: 408px; height: 408px; overflow: visible; }
img.eye.gif-eye { left: 1116px; top: 490px; width: 348px; height: 301px; object-fit: contain; z-index: 4; }
.eye path, .eye circle { fill: none; stroke: var(--coral); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.eye .pupil { fill: var(--coral); stroke: none; }
.eye .lid-shut { fill: none; }
#slide-6 .eye-open { transform-box: fill-box; transform-origin: center; }
.mv #slide-6.play .eye-open { animation: eye-open .75s cubic-bezier(.45, .05, .55, .95) .25s both; }
.mv #slide-6.play .lid-shut { animation: lid-fade .75s linear .25s both; }
.mv #slide-6.play .iris,
.mv #slide-6.play .pupil { animation: pupil-in .75s linear .25s both; }
@keyframes eye-open {
  0% { transform: scaleY(.04); }
  100% { transform: scaleY(1); }
}
@keyframes lid-fade {
  0%, 30% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes pupil-in {
  0%, 40% { opacity: 0; }
  100% { opacity: 1; }
}
.no-mv #slide-6 .lid-shut { opacity: 0; }
.no-mv #slide-6 .eye-open { transform: none; }
.core {
  position: absolute;
  left: 1140px;
  top: 540px;
  width: 300px;
  height: 300px;
  background: none;
  color: var(--coral);
  display: grid;
  place-items: center;
  font: 550 88px/1 var(--serif);
  letter-spacing: .04em;
  font-variation-settings: var(--serif-var);
}
.core-inv { color: var(--coral); }
.core .brand-core { display: block; width: 100%; height: 100%; }
#slide-7 .spoke-line { stroke: var(--coral); stroke-width: 2.25; stroke-linecap: butt; }
#slide-7 .spoke-head { fill: var(--coral); }
#slide-7 .spoke-t {
  position: absolute;
  z-index: 3;
  margin: 0;
  font: italic 400 28px/1.22 var(--serif);
  color: var(--night-ink);
  text-wrap: balance;
}
#slide-7 .spoke-t.s-r { left: 900px; top: 378px; width: 360px; text-align: right; }
#slide-7 .spoke-t.s-i { left: 720px; top: 676px; width: 360px; text-align: right; }
#slide-7 .spoke-t.s-p { left: 1472px; top: 676px; width: 390px; }
.mv #slide-7.play .spoke-line {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: spoke-grow .78s cubic-bezier(.16, .84, .22, 1) forwards;
}
.mv #slide-7.play .spoke-head {
  opacity: 0;
  animation: spoke-head .24s ease forwards;
}
.mv #slide-7.play .spoke-t {
  animation: spoke-label .5s cubic-bezier(.2, .7, .1, 1) both;
}
.mv #slide-7.play .s-r { animation-delay: .6s; }
.mv #slide-7.play .spoke-head.s-r { animation-delay: 1.27s; }
.mv #slide-7.play .spoke-t.s-r { animation-delay: .87s; }
.mv #slide-7.play .s-i { animation-delay: 1.15s; }
.mv #slide-7.play .spoke-head.s-i { animation-delay: 1.82s; }
.mv #slide-7.play .spoke-t.s-i { animation-delay: 1.42s; }
.mv #slide-7.play .s-p { animation-delay: 1.7s; }
.mv #slide-7.play .spoke-head.s-p { animation-delay: 2.37s; }
.mv #slide-7.play .spoke-t.s-p { animation-delay: 1.97s; }
@keyframes spoke-grow { to { stroke-dashoffset: 0; } }
@keyframes spoke-head { to { opacity: 1; } }
@keyframes spoke-label { from { opacity: 0; } to { opacity: 1; } }
.no-mv #slide-7 .spoke-line,
.no-mv #slide-7 .spoke-head,
.no-mv #slide-7 .spoke-t { animation: none !important; opacity: 1; stroke-dashoffset: 0; }

/* ---------- 6 · kompetencje ---------- */

.comp5 { position: absolute; left: 0; right: 0; top: 250px; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 28px 48px; align-content: start; }
.comp5 article { display: flex; flex-direction: column; }
.comp5 .c-top { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.comp5 .num { font: 500 64px/.85 var(--serif); font-variation-settings: var(--serif-var); color: var(--coral); letter-spacing: -.02em; }
.mini { width: 64px; height: 56px; overflow: visible; flex: 0 0 auto; }
.mini line { stroke: var(--ink-3); stroke-width: 1.2; }
.mini line.on { stroke: var(--ink); stroke-width: 3; }
.mini circle { fill: var(--paper); stroke: var(--ink-3); stroke-width: 1.2; }
.mini circle.on { fill: var(--c); stroke: none; }
.comp5 h3 { margin-top: 12px; font: 600 26px/1.15 var(--sans); letter-spacing: -.01em; text-wrap: balance; min-height: 0; }
.comp5 p { margin-top: 8px; font: 400 18px/1.4 var(--sans); color: var(--ink-2); text-wrap: pretty; }
#slide-9 .h1 { font-size: 52px; max-width: 1400px; }

/* ---------- 7 · why now ---------- */

.why-head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.why-head .sub { max-width: 1400px; margin: 0; font-size: 40px; line-height: 1.25; color: var(--ink-2); text-wrap: balance; }
.why4 { position: absolute; left: 0; right: 0; top: 330px; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.why4 article { padding: 34px 40px 40px; border-left: 1px solid var(--rule); display: flex; flex-direction: column; justify-content: flex-start; }
.why4 article:first-child { border-left: 0; padding-left: 0; }
.why4 .big { font: 500 150px/.8 var(--serif); font-variation-settings: var(--serif-var); color: var(--coral); }
.why4 h3 { margin-top: 36px; font: 550 30px/1.18 var(--serif); font-variation-settings: var(--serif-var); text-wrap: balance; }
.why4 p { margin-top: 18px; font: 400 19px/1.5 var(--sans); color: var(--ink-2); }
.why4 article.hot { background: var(--coral); color: var(--night); border: 0; padding-left: 40px; }
.why4 article.hot .big { color: var(--night); }
.why4 article.hot p { color: var(--ink); }

/* ---------- 8–9 · oś procesu ---------- */

.ax-line { position: absolute; left: 394px; width: 1312px; height: 0; }
.s8 .ax-line { top: 470px; border-top: 2px dashed var(--ink-3); }
.s9 .ax-line { top: 345px; border-top: 2px solid var(--coral); }
.ax-p {
  position: absolute;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 600 16px/1 var(--sans);
}
.s8 .ax-p { top: 471px; background: var(--paper); color: var(--ink-3); box-shadow: inset 0 0 0 2px var(--ink-3); }
.s9 .ax-p { top: 346px; background: var(--coral); color: var(--night); }
.s9 .ax-p.end { width: 58px; height: 58px; margin: -29px 0 0 -29px; font-size: 20px; }
.ax-col { position: absolute; width: 172px; margin-left: -86px; }
.s8 .ax-col { top: 520px; }
.s8 .ax-col h3 { font: 600 21px/1.2 var(--sans); }
.s8 .ax-col p { margin-top: 12px; font: 400 18px/1.45 var(--sans); color: var(--ink-2); }
#slide-12 .h1 { font-size: 48px; max-width: 980px; }
#slide-12 .ax-col { width: 300px; margin-left: -150px; background: var(--paper-2); border-top: 2px solid var(--ink); padding: 12px 14px 14px; }
#slide-12 .ax-col h3 { font-size: 18px; }
#slide-12 .ax-col p { margin-top: 6px; font-size: 15px; line-height: 1.35; }
#slide-12 .ax-col.hi { top: 524px; }
#slide-12 .ax-col.lo { top: 740px; }
#slide-12 .ax-col::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; background: var(--rule); }
#slide-12 .ax-col.hi::before { height: 32px; }
#slide-12 .ax-col.lo::before { height: 248px; }
#slide-13 .h1 { font-size: 44px; max-width: 1180px; }
#slide-13 .ax-line { border-top-style: solid; border-top-color: var(--coral); }
#slide-13 .ax-p { background: var(--coral); color: var(--night); box-shadow: none; }
#slide-13 .ax-col { width: 300px; margin-left: -150px; background: var(--paper-2); border-top: 2px solid var(--coral); padding: 12px 14px 14px; }
#slide-13 .ax-col h3 { font-size: 18px; }
#slide-13 .ax-col p { margin-top: 6px; font-size: 15px; line-height: 1.35; }
#slide-13 .ax-col.hi { top: 524px; }
#slide-13 .ax-col.lo { top: 740px; }
#slide-13 .ax-col::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; background: var(--coral); }
#slide-13 .ax-col.hi::before { height: 32px; }
#slide-13 .ax-col.lo::before { height: 248px; }
#slide-13 .ax-col .more { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--rule); }
#slide-13 .ax-letter { position: absolute; top: 368px; width: 80px; margin-left: -40px; text-align: center; font: 500 56px/1 var(--serif); font-variation-settings: var(--serif-var); color: var(--coral); }
.s9 .ax-letter { position: absolute; top: 218px; width: 120px; margin-left: -60px; text-align: center; font: 500 84px/1 var(--serif); font-variation-settings: var(--serif-var); color: var(--coral); }
.s9 .ax-col { top: 382px; text-align: center; }
.s9 .ax-col h3 { font: 600 17px/1.2 var(--sans); }
.s9 .ax-col p { margin-top: 4px; font: italic 400 15.5px/1.25 var(--serif); color: var(--ink-2); }
.s9 .head { position: absolute; left: 120px; right: 120px; top: 120px; display: flex; justify-content: space-between; align-items: baseline; gap: 40px; }
.s9 .head .h1 { font-size: 44px; }
.s9 .head .sub { margin: 0; font-size: 19px; white-space: nowrap; }
.lanes { position: absolute; left: 120px; right: 120px; top: 468px; bottom: 92px; display: flex; flex-direction: column; gap: 7px; }
.lane { flex: 1; min-height: 0; display: grid; grid-template-columns: 168px 1fr; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 34%, var(--paper)) 0%, color-mix(in srgb, var(--c) 16%, var(--paper)) 42%, color-mix(in srgb, var(--c) 7%, var(--paper)) 100%); }
.lane.ipd-c { background: linear-gradient(90deg, color-mix(in srgb, var(--coral) 55%, var(--paper)) 0%, color-mix(in srgb, var(--coral) 28%, var(--paper)) 48%, color-mix(in srgb, var(--coral) 12%, var(--paper)) 100%); }
.lane-track { display: grid; grid-template-columns: repeat(8, 1fr); min-width: 0; }
.lane-l { display: flex; align-items: center; gap: 10px; font: 600 18px/1.15 var(--sans); padding: 0 12px; border: 0; }
.lane-l::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: 0 0 auto; }
.cell { margin: 0; padding: 8px 10px; font: 400 14px/1.28 var(--sans); color: var(--ink); background: none; border: 0; display: flex; align-items: center; }
.cell:empty { background: none; border: 0; }
.content-c { --c: var(--ochre); }
.ipd-c { --c: var(--coral); }

/* ---------- 11 · model ---------- */

.m-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; }
.m-head .h1 { font-size: 56px; white-space: nowrap; }
.m-head .sub { margin: 0 0 6px; font-size: 19px; max-width: 760px; }
.stages3 { position: absolute; left: 0; right: 0; top: 118px; bottom: 8px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; }
#slide-16 .stages3 { grid-template-columns: 1fr 1fr; gap: 72px; bottom: 36px; }
#slide-16 .stg { padding: 26px 30px 18px; min-height: 0; }
#slide-16 .stg h3 { font-size: 44px; }
#slide-16 .model-lead { margin: 12px 0 0; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); font: 500 22px/1.35 var(--sans); color: var(--ink); }
#slide-16 .stg dl { margin-top: 16px; gap: 12px; font-size: 18px; line-height: 1.38; }
#slide-16 .stg dl > div { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
#slide-16 .stg dt { display: block; margin: 0; padding-bottom: 3px; border-bottom: 2px solid var(--coral); font-size: 12px; }
#slide-16 .stg dd { display: block; }
#slide-16 .stg-arrow { right: -58px; width: 44px; height: 44px; margin-top: -22px; }
#slide-16 .stg-arrow .ic { width: 44px; height: 44px; stroke-width: 1.6; }
.mv #slide-16.play .stg-arrow { animation: spoke-label .35s ease .84s both; }
.no-mv #slide-16 .stg-arrow { animation: none !important; opacity: 1; }
.stg { position: relative; padding: 24px 26px 20px; border: 1px solid var(--rule); background: var(--paper-2); display: flex; flex-direction: column; }
.stg.goal { border: 2px solid var(--coral); background: var(--paper); }
.stg.opt { border: 1.5px dashed var(--ink-3); background: none; }
.stg .tag { position: absolute; top: -12px; left: 22px; padding: 4px 10px; background: var(--paper); font: 600 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.stg.goal .tag { background: var(--coral); color: var(--night); }
.stg h3 { display: flex; align-items: baseline; gap: 14px; font: 500 40px/1 var(--serif); font-variation-settings: var(--serif-var); }
.stg h3 small { font: italic 400 21px/1 var(--serif); color: var(--ink-2); }
.stg dl { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; font: 400 16px/1.4 var(--sans); color: var(--ink-2); }
.stg dt { display: inline; font: 700 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-right: 8px; }
.stg dd { display: inline; }
.stg .upside { margin: 4px 0; padding: 8px 10px; border: 1.5px dashed var(--coral); }
.stg .upside dt { color: var(--coral-ink); }
.stg .next { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--rule); font: 400 16px/1.4 var(--sans); color: var(--ink); }
.stg .next b { display: block; margin-bottom: 4px; font: 700 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--coral-ink); }
.stg-arrow { position: absolute; top: 50%; right: -42px; width: 36px; height: 36px; margin-top: -18px; color: var(--coral); }
.stg-arrow .ic { width: 36px; height: 36px; stroke-width: 1.3; }
.plate { position: absolute; left: 0; right: 0; top: 626px; height: 88px; display: flex; align-items: center; gap: 24px; padding: 0 28px; background: var(--ink); color: var(--paper); }
.plate .ic { width: 38px; height: 38px; color: var(--coral); }
.plate h4 { flex: 0 0 300px; font: 400 26px/1.1 var(--serif); }
.plate h4 small { display: block; margin-bottom: 6px; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--night-dim); }
.plate p { font: 400 16px/1.4 var(--sans); color: var(--night-ink); }
.m-foot { position: absolute; left: 0; right: 0; top: 734px; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 48px; }
.m-foot h5 { margin-bottom: 8px; }
.m-foot p { font: 400 16px/1.42 var(--sans); color: var(--ink-2); }
.dots { display: flex; gap: 22px; margin-top: 12px; }
.dots span { display: flex; gap: 5px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); }
.dots span:nth-child(2) i { background: var(--coral); }
.dots span:nth-child(3) i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.redline { display: flex; gap: 10px; margin-top: 10px; color: var(--coral-ink); }
.redline .ic { width: 26px; height: 26px; }
.m-foot .closing { font: italic 400 25px/1.3 var(--serif); color: var(--ink); text-wrap: balance; }
.m-foot .fine { margin-top: 10px; font: 400 13px/1.4 var(--sans); color: var(--ink-3); }

/* ---------- 12 · własność znaku ---------- */

#slide-17 .own-row {
  position: absolute;
  left: 0;
  right: 0;
  top: 108px;
  bottom: 8px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: auto auto auto auto auto;
}
#slide-17 .own {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 5;
  min-width: 0;
  padding-right: 26px;
}
#slide-17 .own + .own { padding-left: 26px; border-left: 1px solid var(--rule); }
#slide-17 .own.reject { border-left: 1.5px dashed var(--coral); }
#slide-17 .own.reject .lbl { color: var(--coral); }
#slide-17 .own h3 {
  margin: 10px 0 0;
  font: 500 30px/1.12 var(--serif);
  font-variation-settings: var(--serif-var);
  letter-spacing: -.012em;
}
#slide-17 .own > .pie { align-self: start; }
#slide-17 .own-slot { align-self: start; padding-top: 14px; }
#slide-17 .pie { width: 104px; height: 104px; margin: 14px 0 6px; overflow: visible; }
#slide-17 .track { fill: none; stroke: var(--rule); stroke-width: 1.6; }
#slide-17 .disk { transform-box: fill-box; transform-origin: center; }
#slide-17 .wedge { fill: none; stroke-width: 46; }
#slide-17 .creator { fill: var(--influencer); stroke: var(--influencer); }
#slide-17 .ipd { fill: var(--coral); stroke: var(--coral); }
#slide-17 .retail { fill: var(--retailer); stroke: var(--retailer); }
#slide-17 .producer { fill: var(--pl); stroke: var(--pl); }
#slide-17 .own dt {
  display: inline-block;
  align-self: flex-start;
  margin: 16px 0 8px;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--coral);
  font: 600 12px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
#slide-17 .own-who { list-style: none; display: flex; flex-direction: column; gap: 6px; }
#slide-17 .own-who li {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 500 20px/1.25 var(--sans);
  color: var(--ink);
}
#slide-17 .sw { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
#slide-17 .sw.creator { background: var(--influencer); }
#slide-17 .sw.ipd { background: var(--coral); }
#slide-17 .sw.retail { background: var(--retailer); }
#slide-17 .sw.producer { background: var(--pl); }
#slide-17 .own-earn { margin: 0; font: 500 17px/1.38 var(--sans); color: var(--ink); }
.mv #slide-17 .disk { transform: scale(0); }
.mv #slide-17 .wedge { stroke-dashoffset: var(--span); }
.mv #slide-17.play .disk { animation: own-disk .7s cubic-bezier(.16, .84, .22, 1) forwards; animation-delay: var(--delay); }
.mv #slide-17.play .wedge { animation: own-wedge .4s cubic-bezier(.16, .84, .22, 1) forwards; animation-delay: var(--delay); }
.no-mv #slide-17 .disk { transform: none; }
.no-mv #slide-17 .wedge { stroke-dashoffset: 0; }
@keyframes own-disk { to { transform: scale(1); } }
@keyframes own-wedge { to { stroke-dashoffset: 0; } }

/* ---------- 12 · ryzyka ---------- */

.r-head { display: flex; justify-content: space-between; align-items: flex-end; }
.r-head .h1 { font-size: 72px; }
.r-head .sub { margin: 0 0 8px; font-size: 21px; }
.risk6 { position: absolute; left: 0; right: 0; top: 128px; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; gap: 22px 26px; }
.risk { position: relative; padding: 20px 24px 18px 28px; background: var(--paper-2); border-left: 4px solid var(--ochre); display: grid; grid-template-rows: auto 118px 1fr auto; gap: 0; }
.risk.top { border: 2px solid var(--ink); border-left: 8px solid var(--ochre); background: var(--paper); }
.risk header { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.risk header .ic { width: 30px; height: 30px; color: var(--ochre); }
.risk h3 { font: 600 25px/1.15 var(--sans); }
.risk .flag { margin-left: auto; padding: 5px 10px; background: var(--ink); color: var(--paper); font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.risk p { font: 400 18px/1.42 var(--sans); color: var(--ink-2); }
.risk .lbl { font-size: 12px; margin-bottom: 5px; display: flex; align-items: center; gap: 6px; }
.risk .threat { min-height: 0; }
.risk .guard { padding-top: 10px; border-top: 1px solid var(--rule); }
.risk .guard .lbl { color: var(--coral-ink); }
.risk .guard .lbl .ic { width: 15px; height: 15px; color: var(--coral); }
.risk .guard p { color: var(--ink); }
.checks { display: flex; gap: 18px; margin-top: 12px; font: 500 13.5px/1 var(--sans); color: var(--ink-2); }
.checks span { display: flex; align-items: center; gap: 7px; }
.checks i { width: 15px; height: 15px; border: 1.5px solid var(--ink-2); }

/* ---------- 13 · zespół ---------- */

.t-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; }
.t-head .h1 { font-size: 64px; white-space: nowrap; }
.t-head .sub { margin: 0 0 8px; font-size: 20px; max-width: 720px; text-align: right; }
.team { position: absolute; left: 0; right: 0; top: 118px; bottom: 56px; display: grid; grid-template-columns: 120px repeat(5, 1fr); column-gap: 14px; align-content: start; }
.team .th { padding-bottom: 14px; border-bottom: 1px solid var(--ink); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.team .th .ic { width: 42px; height: 42px; color: var(--coral); }
.team .th h3 { font: 600 16px/1.2 var(--sans); color: var(--coral-ink); min-height: 58px; }
.team .rl { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.team .rl small { display: block; margin-top: 4px; font: italic 400 15px/1.2 var(--serif); letter-spacing: 0; text-transform: none; }
.team .rl.sauce-l small { color: var(--coral-ink); }
.team .td { padding: 12px 0; border-bottom: 1px solid var(--rule); font: 400 15px/1.35 var(--sans); color: var(--ink-2); }
.team .td.role { font: italic 400 17px/1.25 var(--serif); color: var(--ink); }
.team .td.src { font-size: 16.5px; color: var(--ink-3); }
.team .sauce { background: var(--coral-soft); margin: 0 -7px; padding: 14px 8px; color: var(--ink); border-bottom: 2px solid var(--coral); }
.team .rl.sauce-l { color: var(--coral-ink); border-bottom: 2px solid var(--coral); }
#slide-18 .t-head .h1 { font-size: 56px; white-space: nowrap; }
#slide-18 .t-head .sub { max-width: 760px; font-size: 20px; line-height: 1.35; }
#slide-18 .tracks { position: absolute; left: 0; right: 0; top: 150px; bottom: 120px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
#slide-18 .track { min-width: 0; padding: 28px 32px 24px; border: 1px solid var(--rule); background: var(--paper-2); display: flex; flex-direction: column; }
#slide-18 .track.a { border: 2px solid var(--coral); background: var(--paper); }
#slide-18 .badge { align-self: flex-start; margin-bottom: 18px; padding: 6px 10px; font: 700 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
#slide-18 .track.a .badge { color: var(--night); background: var(--coral); }
#slide-18 .track.b .badge { color: var(--ink); border: 1px dashed var(--coral); }
#slide-18 .track h3 { font: 500 40px/1.1 var(--serif); font-variation-settings: var(--serif-var); }
#slide-18 .track .lbl { margin: 22px 0 8px; }
#slide-18 .track p, #slide-18 .track li { font: 400 18px/1.4 var(--sans); color: var(--ink-2); }
#slide-18 .track .badge { font: 700 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
#slide-18 .track.a .badge { color: var(--night); }
#slide-18 .track.b .badge { color: var(--ink); }
#slide-18 .track ul { display: flex; flex-direction: column; gap: 8px; padding-left: 18px; }
#slide-18 .safe { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; padding-top: 14px; border-top: 1px solid var(--rule); }
#slide-18 .safe p { font: 400 18px/1.4 var(--sans); color: var(--ink-2); }
#slide-21 .t-head .h1 { font-size: 48px; white-space: nowrap; }
#slide-21 .t-head .sub { max-width: 820px; font-size: 18px; line-height: 1.35; }
#slide-21 .seats { position: absolute; left: 0; right: 0; top: 148px; bottom: 8px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; gap: 16px; }
#slide-21 .seat { min-width: 0; padding: 14px 14px 12px; border: 1px solid var(--rule); background: var(--paper-2); display: flex; flex-direction: column; }
#slide-21 .seat.filled { border: 2px solid var(--green); background: var(--paper); }
#slide-21 .pill { align-self: flex-start; margin-bottom: 12px; padding: 5px 8px; font: 700 10px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
#slide-21 .seat.open .pill { color: var(--ink); border: 1px dashed var(--coral); }
#slide-21 .seat.filled .pill { color: var(--paper); background: var(--green); display: inline-flex; align-items: center; gap: 6px; }
#slide-21 .seat.filled .pill .ic { width: 14px; height: 14px; stroke-width: 3; }
#slide-21 .seat h3 { font: 600 16px/1.2 var(--sans); color: var(--coral-ink); min-height: 58px; }
#slide-21 .seat .lbl { margin: 12px 0 4px; font-size: 10.5px; }
#slide-21 .seat p { font: 400 13.5px/1.32 var(--sans); color: var(--ink-2); }
#slide-21 .seat .who, #slide-21 .seat .name { margin-top: 8px; font: 600 16px/1.2 var(--sans); color: var(--ink); }
#slide-21 .seat .role { margin-top: 4px; font: italic 400 14px/1.25 var(--serif); color: var(--ink-2); }
#slide-21 .rules { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 150px 1fr 1fr 1fr; gap: 12px; align-items: center; padding-top: 10px; border-top: 1px solid var(--rule); }
#slide-21 .rules p { font: 500 13px/1.3 var(--sans); color: var(--ink-2); }
#slide-21 .rules b { display: block; margin-bottom: 2px; font: 700 11px/1 var(--sans); letter-spacing: .08em; color: var(--coral-ink); }
.partners { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding-top: 8px; border-top: 1px solid var(--rule); }
.partners .lbl { flex: 0 0 170px; font-size: 11.5px; }
.chip { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--rule); font: 500 14px/1 var(--sans); color: var(--ink-2); white-space: nowrap; }
.chip .ic { width: 18px; height: 18px; color: var(--ink-3); }

/* ---------- 14 · fosa ---------- */

.moat-svg { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; pointer-events: none; }
.ring { fill: none; stroke: var(--ink); stroke-width: 1; }
.ring-fill { stroke: none; }
.ring-w { font: 500 20px/1 var(--serif); fill: var(--ink); letter-spacing: .04em; font-variation-settings: var(--serif-var); }
.ring-w.rw1 { font-size: 21px; }
.ring-w.rw2 { font-size: 18px; }
.ring-w.rw3 { font-size: 16px; }
.ring-w.rw4 { font-size: 14px; }
.moat-core { position: absolute; left: 450px; top: 570px; width: 170px; height: 170px; margin: -85px 0 0 -85px; border-radius: 50%; background: var(--paper-2); color: var(--coral); display: grid; place-items: center; transform-origin: center; }
.moat-core .brand-core { display: block; width: var(--brand-mark-m); height: var(--brand-mark-m); }
.moat-ring { transform-box: view-box; transform-origin: 470px 600px; }
.mv #slide-22.play .moat-ring,
.mv #slide-22.play .moat-core {
  animation: moat-in .9s cubic-bezier(.2, .7, .1, 1) both;
  animation-delay: calc(var(--i, 0) * 110ms + 220ms);
}
@keyframes moat-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
.no-mv #slide-22 .moat-ring,
.no-mv #slide-22 .moat-core { animation: none !important; opacity: 1; transform: none; }
.moat-copy { position: absolute; left: 920px; right: 120px; top: 150px; }
.layers { margin-top: 44px; display: flex; flex-direction: column; }
.layers li { list-style: none; display: grid; grid-template-columns: 70px 1fr; padding: 22px 0; border-top: 1px solid var(--rule); }
.layers li:last-child { border-bottom: 1px solid var(--rule); }
.layers .num { font-size: 36px; }
.layers h3 { font: 600 25px/1.2 var(--sans); }
.layers p { margin-top: 8px; font: 400 20px/1.45 var(--sans); color: var(--ink-2); }

/* ---------- 15–16 · zamknięcie ---------- */

.close-t { position: absolute; left: 120px; top: 150px; }
.close-t .h-xl { font-style: italic; }
.ask2 { position: absolute; left: 120px; right: 120px; bottom: 150px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.ask2 article { border-top: 1px solid var(--night-rule); padding-top: 34px; display: grid; grid-template-columns: 90px 1fr; }
.ask2 .num { font-size: 48px; }
.ask2 h3 { font: 500 60px/1.08 var(--serif); font-variation-settings: var(--serif-var); text-wrap: balance; }
.steps6 { position: absolute; left: 120px; right: 120px; top: 450px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 64px; }
.steps6 article { padding: 40px 0 56px; border-top: 1px solid var(--night-rule); display: grid; grid-template-columns: 84px 1fr; }
.steps6 .num { font-size: 52px; }
.steps6 h3 { font: 500 42px/1.08 var(--serif); font-variation-settings: var(--serif-var); }
.steps6 p { margin-top: 14px; font: 400 23px/1.45 var(--sans); color: var(--night-dim); }

/* ---------- style tile (?tile=1) ---------- */

.tile .sw { display: flex; gap: 20px; margin-top: 40px; }
.tile .sw div { width: 190px; }
.tile .sw i { display: block; height: 120px; border: 1px solid var(--rule); }
.tile .sw b { display: block; margin-top: 10px; font: 600 15px/1.2 var(--sans); }
.tile .sw span { font: 400 14px/1.3 var(--sans); color: var(--ink-3); }
.tile .spec { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }

/* ---------- pasek, siatka, notatki ---------- */

.toolbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--bar);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 20px;
  background: var(--night);
  border-top: 1px solid var(--night-rule);
  color: var(--night-ink);
  font: 500 13px/1 var(--sans);
  letter-spacing: .08em;
  z-index: 10;
}
.toolbar .tb-l { display: flex; align-items: center; gap: 16px; min-width: 0; }
.toolbar .tb-l .wm { color: var(--coral); }
.toolbar #tb-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--night-dim); text-transform: uppercase; letter-spacing: .16em; font-size: 11.5px; }
.toolbar .tb-c { display: flex; align-items: center; gap: 6px; }
.toolbar .tb-r { display: flex; justify-content: flex-end; gap: 4px; }
.toolbar button { height: 34px; padding: 0 12px; border-radius: var(--radius); letter-spacing: .1em; text-transform: uppercase; font-size: 11.5px; }
.toolbar button:hover:not(:disabled) { background: var(--night-2); color: var(--paper); }
.toolbar button:disabled { opacity: .3; cursor: default; }
.toolbar button kbd { margin-left: 6px; font: inherit; color: var(--coral); }
#page-counter { min-width: 76px; text-align: center; font-variant-numeric: tabular-nums; letter-spacing: .12em; }
.toolbar .arrow { font-size: 18px; padding: 0 10px; }
body.theater { --bar: 0px; }
body.theater .toolbar { display: none; }

.overlay { position: fixed; inset: 0; z-index: 20; background: var(--night); overflow: auto; color: var(--paper); }
.overlay[hidden] { display: none; }
.ov-head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 22px 40px; background: var(--night); z-index: 1; font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.ov-close { position: fixed; right: 28px; bottom: 28px; z-index: 21; padding: 12px 16px; letter-spacing: .2em; text-transform: uppercase; font-size: 12px; color: var(--paper); background: var(--night); border: 1px solid var(--night-rule); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.overlay:hover .ov-close, .ov-close:focus-visible { opacity: 1; pointer-events: auto; }
.overview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 28px 24px; padding: 8px 40px 48px; }
.thumb { text-align: left; }
.thumb-box { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; outline: 1px solid var(--night-rule); }
.thumb-box .slide { visibility: visible; left: 0; top: 0; margin: 0; transform-origin: 0 0; transform: scale(var(--ts, .16)); pointer-events: none; }
/* Tylko klony w siatce. Żywe slajdy zostają przy rise i morph. */
.thumb-box .is-thumb [data-b],
.thumb-box .is-thumb .arr,
.thumb-box .is-thumb .arr-t,
.thumb-box .is-thumb .arr-h,
.thumb-box .is-thumb .stg-arrow,
.thumb-box .is-thumb .spoke-line,
.thumb-box .is-thumb .spoke-head,
.thumb-box .is-thumb .spoke-t,
.thumb-box .is-thumb .moat-ring,
.thumb-box .is-thumb .moat-core,
.thumb-box .is-thumb .disk,
.thumb-box .is-thumb .wedge,
.thumb-box .is-thumb .lid-shut,
.thumb-box .is-thumb .eye-open,
.thumb-box .is-thumb .iris,
.thumb-box .is-thumb .pupil {
  animation: none !important;
  transition: none !important;
}
.thumb-box .is-thumb [data-b] { opacity: 1 !important; transform: none !important; }
.thumb-box .is-thumb .arr,
.thumb-box .is-thumb .wedge,
.thumb-box .is-thumb .spoke-line { stroke-dashoffset: 0 !important; }
.thumb-box .is-thumb .stg-arrow,
.thumb-box .is-thumb .arr-t,
.thumb-box .is-thumb .arr-h,
.thumb-box .is-thumb .spoke-head,
.thumb-box .is-thumb .spoke-t,
.thumb-box .is-thumb .iris,
.thumb-box .is-thumb .pupil,
.thumb-box .is-thumb .moat-ring,
.thumb-box .is-thumb .moat-core { opacity: 1 !important; }
.thumb-box .is-thumb .moat-ring,
.thumb-box .is-thumb .moat-core,
.thumb-box .is-thumb .disk,
.thumb-box .is-thumb .eye-open { transform: none !important; }
.thumb-box .is-thumb .lid-shut { opacity: 0 !important; }
.thumb.is-current .thumb-box { outline: 2px solid var(--coral); }
.thumb > span { display: block; margin-top: 10px; font: 500 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--night-ink); }
.notes-box { max-width: 880px; margin: 0 auto; padding: 10px 40px 60px; }
#note-text { white-space: pre-wrap; font: 400 22px/1.55 var(--sans); color: var(--night-ink); }
#toast { position: fixed; left: 50%; bottom: 80px; transform: translateX(-50%); padding: 12px 18px; background: var(--paper); color: var(--ink); font: 600 13px/1 var(--sans); letter-spacing: .1em; z-index: 30; }
#toast[hidden] { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- 11 · narzędzia AI ---------- */

#slide-15 .ai3 {
  position: absolute;
  left: 120px;
  right: 120px;
  top: 128px;
  bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#slide-15 .ai3-head .h1 { font-size: 46px; max-width: none; }
#slide-15 .ai3-head .sub { margin-top: 10px; max-width: none; font-size: 20px; line-height: 1.35; }
#slide-15 .ai3-head u { text-decoration-thickness: 1px; text-underline-offset: 3px; }
#slide-15 .ai3-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 16px;
  align-content: start;
}
#slide-15 .ai3-card {
  min-height: 0;
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  align-content: start;
  padding: 22px 26px 24px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--coral);
}
#slide-15 .ai3-rise { display: flex; flex-direction: column; flex: 1; min-height: 0; }
#slide-15 .ai3-badge {
  display: inline-block;
  max-width: 100%;
  padding: 6px 10px;
  background: var(--coral);
  color: var(--night);
  font: 600 12px/1.25 var(--sans);
  letter-spacing: .06em;
  text-transform: uppercase;
}
#slide-15 .ai3-title { display: flex; align-items: baseline; gap: 12px; margin-top: 16px; }
#slide-15 .ai3-no { font: 500 30px/1 var(--serif); font-variation-settings: var(--serif-var); color: var(--coral); letter-spacing: -.02em; }
#slide-15 .ai3-card h3 { font: 550 28px/1.15 var(--serif); font-variation-settings: var(--serif-var); letter-spacing: -.015em; text-wrap: balance; }
#slide-15 .ai3-top { display: flex; flex-direction: column; height: 100%; }
#slide-15 .ai3-lead { margin-top: 10px; font: 500 19px/1.4 var(--sans); color: var(--ink); }
#slide-15 .ai3-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; }
#slide-15 .ai3-flow span { padding: 5px 9px; background: var(--paper-2); font: 500 14px/1.25 var(--sans); color: var(--ink); }
#slide-15 .ai3-flow i { width: 16px; height: 1px; background: var(--coral); position: relative; flex: 0 0 auto; }
#slide-15 .ai3-flow i::after { content: ""; position: absolute; right: -1px; top: -3px; border: 3px solid transparent; border-left: 5px solid var(--coral); }
#slide-15 .ai3-card > .lbl {
  margin: 16px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--coral-ink);
}
#slide-15 .ai3-card > p:not(.lbl) { margin: 8px 0 0; font: 400 20px/1.45 var(--sans); color: var(--ink-2); }

/* ---------- 5b · dwa wektory startu ---------- */

#slide-8 .body { display: flex; flex-direction: column; }
#slide-8 .t-head { display: block; flex: 0 0 auto; }
#slide-8 .t-head .h1 { font-size: 50px; white-space: normal; max-width: none; }
#slide-8 .t-head .sub { margin: 12px 0 0; max-width: 1480px; text-align: left; font-size: 21px; line-height: 1.35; }
#slide-8 .vec-grid {
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 400px 1fr;
  gap: 24px;
  align-items: stretch;
}
#slide-8 .vec-flow { display: flex; align-items: center; justify-content: center; min-height: 0; }
#slide-8 .vf { display: block; width: 100%; height: 100%; overflow: visible; }
#slide-8 .vf .r { --c: var(--retailer); }
#slide-8 .vf .i { --c: var(--influencer); }
#slide-8 .vf .p { --c: var(--pl); }
#slide-8 .vf-box { fill: var(--paper-2); }
#slide-8 .vf-bar, #slide-8 .vf-dot, #slide-8 .vf-head { fill: var(--c); }
#slide-8 .vf-name { font: 600 21px var(--sans); fill: var(--ink); letter-spacing: -.005em; }
#slide-8 .vf-name.s { font-size: 19px; }
#slide-8 .vf-meta { font: 400 14px var(--sans); fill: var(--ink-2); }
#slide-8 .vf-dep { stroke: var(--pl); stroke-width: 2; stroke-dasharray: 3 3; }
#slide-8 .vf-joint { fill: var(--paper); stroke: var(--pl); stroke-width: 2; }
#slide-8 .vf-joint.i { stroke: var(--influencer); }
#slide-8 .vf-joint.r { stroke: var(--retailer); }
#slide-8 .vf-flow { fill: none; stroke: var(--c); stroke-width: 2; stroke-linejoin: round; }
#slide-8 .vf-pill { fill: var(--paper); stroke: var(--rule); stroke-width: 1; }
#slide-8 .vf-tag { font: 600 11.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; fill: var(--c); }
#slide-8 .vf-core { fill: var(--night); }
#slide-8 .vf-mark { color: var(--coral); }
#slide-8 .vf-rule { stroke: var(--night-rule); stroke-width: 1; }
#slide-8 .vf-fn-dot { fill: var(--coral); }
#slide-8 .vf-fn { font: 500 16px var(--sans); fill: var(--night-ink); }
#slide-8 .vec-card {
  min-width: 0;
  min-height: 0;
  padding: 28px 32px 32px;
  background: var(--paper-2);
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
#slide-8 .vec-card.top-down { border-top: 4px solid var(--retailer); }
#slide-8 .vec-card.bottom-up { position: relative; border-top: 0; }
#slide-8 .vec-card.bottom-up::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--influencer) 50%, var(--pl) 50%);
}
#slide-8 .vec-badge {
  align-self: flex-start;
  max-width: 100%;
  padding: 9px 14px;
  font: 600 15px/1.2 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}
#slide-8 .r-bg { background: var(--retailer); color: var(--paper); }
#slide-8 .ip-bg { background: var(--influencer); color: var(--paper); }
#slide-8 .vec-card h3 {
  margin-top: 28px;
  font: 500 34px/1.12 var(--serif);
  font-variation-settings: var(--serif-var);
  letter-spacing: -.015em;
  text-wrap: balance;
}
#slide-8 .vec-lead { width: 100%; }
#slide-8 .vec-card .lbl { margin: 22px 0 0; font-size: 15px; }
#slide-8 .vec-card .lbl + p,
#slide-8 .vec-split,
#slide-8 .vec-sub .lbl + p {
  margin-top: 8px;
}
#slide-8 .vec-card .lbl + p {
  font: 400 21px/1.36 var(--sans);
  color: var(--ink-2);
  text-wrap: pretty;
}
#slide-8 .vec-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 8px;
}
#slide-8 .vec-sub {
  min-width: 0;
  padding: 16px 18px 18px;
  background: var(--paper);
  border-left: 3px solid var(--rule);
}
#slide-8 .vec-sub.i-border { border-left-color: var(--influencer); }
#slide-8 .vec-sub.p-border { border-left-color: var(--pl); }
#slide-8 .vec-sub .lbl { margin-top: 0; font-size: 13px; letter-spacing: .06em; line-height: 1.25; }
#slide-8 .vec-sub .lbl + p { font-size: 19px; line-height: 1.35; }

/* ---------- 7b · kategorie i sieci ---------- */

#slide-11 .rt { display: block; }
#slide-11 .h1 { font-size: 56px; }
#slide-11 .sub { margin-top: 14px; max-width: 980px; font-size: 22px; line-height: 1.4; }
#slide-11 .rt-table {
  width: 100%;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#slide-11 .rt-th,
#slide-11 .rt-row {
  display: grid;
  grid-template-columns: 490px 560px minmax(0, 1fr);
  column-gap: 0;
  align-items: center;
  padding-left: 26px;
  padding-right: 26px;
}
#slide-11 .rt-th { padding-top: 0; padding-bottom: 4px; }
#slide-11 .rt-th .lbl { margin: 0; font-size: 12px; letter-spacing: .16em; color: var(--ink-3); }
#slide-11 .rt-th .lbl:nth-child(n + 2),
#slide-11 .rt-row > :nth-child(n + 2) {
  margin-left: 20px;
  padding-left: 22px;
  border-left: 1px solid var(--rule);
}
#slide-11 .rt-row {
  padding-top: 20px;
  padding-bottom: 20px;
  background: var(--paper-2);
}
#slide-11 .rt-cat { display: flex; align-items: center; gap: 16px; min-width: 0; }
#slide-11 .rt-ico {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--coral-soft);
  color: var(--coral-ink);
}
#slide-11 .rt-row.food .rt-ico { background: var(--ink); color: var(--paper); }
#slide-11 .rt-ico .ic { width: 28px; height: 28px; stroke-width: 1.8; }
#slide-11 .rt-n { margin: 0; font: 600 12px/1 var(--sans); letter-spacing: .14em; color: var(--coral); }
#slide-11 .rt-cat h3 {
  margin-top: 4px;
  font: 500 32px/1.1 var(--serif);
  font-variation-settings: var(--serif-var);
  letter-spacing: -.015em;
}
#slide-11 .rt-tag {
  margin-top: 4px;
  font: italic 400 18px/1.2 var(--serif);
  font-variation-settings: var(--serif-var);
  color: var(--ink-2);
}
#slide-11 .rt-nets {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 6px;
  width: max-content;
  max-width: 100%;
  justify-content: start;
  align-content: center;
}
#slide-11 .rt-nets span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px 7px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  font: 600 18px/1 var(--sans);
  color: var(--ink);
  white-space: nowrap;
}
#slide-11 .rt-nets span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  flex: 0 0 auto;
}
#slide-11 .rt-row.food .rt-nets span::before { background: var(--retailer); }
#slide-11 .rt-row:nth-child(3) .rt-nets span::before { background: var(--influencer); }
#slide-11 .rt-row:nth-child(4) .rt-nets span::before { background: var(--coral); }
#slide-11 .rt-row:nth-child(5) .rt-nets span::before { background: var(--pl); }
#slide-11 .rt-row:nth-child(6) .rt-nets span::before { background: var(--coral-ink); }
#slide-11 .rt-prod { margin: 0; font: 400 20px/1.4 var(--sans); color: var(--ink-2); }
#slide-11 .rt-prod span:not(:last-child)::after { content: " · "; color: var(--ink-3); }

/* ---------- telefon: lista slajdów ---------- */

body.list { overflow: auto; background: var(--night); }
body.list .toolbar { display: none; }
body.list #deck { position: static; width: auto; height: auto; padding: 12px 0 40px; }
body.list .slide { position: relative; left: 0; top: 0; margin: 0 auto 12px; transform: none; zoom: var(--ms, .2); visibility: visible; }
body.list .list-hint { display: block; }
body.list #slide-0 { display: none; }
body.phone { touch-action: pan-x pan-y pinch-zoom; }
.list-hint { display: none; padding: 18px 16px 6px; color: var(--night-dim); font: 600 11px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; }

/* ---------- druk / PDF ---------- */

@media print {
  @page { size: 1920px 1080px; margin: 0; }
  html, body { height: auto; overflow: visible; background: none; }
  .toolbar, .overlay, #toast, .list-hint { display: none !important; }
  #deck { position: static; width: auto; height: auto; padding: 0; }
  .slide { position: relative; left: 0; top: 0; margin: 0; transform: none; zoom: 1; visibility: visible; break-after: page; page-break-after: always; }
  .slide.tile { display: none; }
  .slide [data-b] { animation: none !important; opacity: 1 !important; transform: none !important; }
  .arr { animation: none !important; stroke-dashoffset: 0 !important; }
  .stg-arrow { animation: none !important; opacity: 1 !important; }
  .arr-t, .arr-h { animation: none !important; opacity: 1 !important; }
  .moat-ring, .moat-core { animation: none !important; opacity: 1 !important; transform: none !important; }
  .disk { transform: none !important; animation: none !important; }
  .wedge { stroke-dashoffset: 0 !important; animation: none !important; }
  .spoke-line { stroke-dashoffset: 0 !important; animation: none !important; }
  .spoke-head, .spoke-t { opacity: 1 !important; animation: none !important; }
  .lid-shut { opacity: 0 !important; animation: none !important; }
  .eye-open { transform: none !important; animation: none !important; }
  .iris, .pupil { opacity: 1 !important; animation: none !important; }
  .stage { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .stage::before { display: none; }
}

/* ---------- notatki i widok prelegenta ---------- */
#note-text, #pv-notes { display: block; width: 100%; resize: vertical; padding: 18px 20px; background: var(--night-2); color: var(--paper); border: 1px solid var(--night-rule); border-radius: var(--radius); font: 400 22px/1.55 var(--sans); }
#note-text { min-height: 50vh; }
#note-text:focus-visible, #pv-notes:focus-visible, .pv-btn:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.notes-help { margin: 12px 0; font: 400 14px/1.45 var(--sans); color: var(--night-dim); }
.pv-btn { height: 38px; padding: 0 14px; border: 1px solid var(--night-rule); border-radius: var(--radius); color: var(--paper); font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.pv-btn:hover { background: var(--night-2); }
.pv-primary { background: var(--coral); color: var(--ink); border-color: var(--coral); }
.pv-primary:hover { background: var(--coral); filter: brightness(1.05); }
body.presenter { overflow: hidden; background: var(--night); }
body.presenter #deck, body.presenter .toolbar, body.presenter .overlay { display: none !important; }
#presenter[hidden] { display: none; }
#presenter { position: fixed; inset: 0; display: flex; flex-direction: column; background: var(--night); color: var(--paper); font-family: var(--sans); }
.pv-head { display: flex; align-items: center; gap: 28px; padding: 14px 28px; border-bottom: 1px solid var(--night-rule); font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--night-ink); }
.pv-head .wm { color: var(--coral); }
.pv-time { display: flex; align-items: center; gap: 10px; margin-left: auto; }
#pv-timer { font: 500 30px/1 var(--serif); color: var(--paper); letter-spacing: 0; font-variant-numeric: tabular-nums; min-width: 110px; text-align: right; }
#pv-timer.paused { color: var(--night-dim); }
#pv-clock { font-variant-numeric: tabular-nums; }
.pv-main { flex: 1; min-height: 0; display: grid; grid-template-columns: 3fr 2fr; gap: 28px; padding: 20px 28px 24px; }
.pv-left, .pv-right { min-height: 0; display: flex; flex-direction: column; gap: 10px; }
.pv-lbl { font: 600 12px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--night-dim); }
.pv-lbl b { color: var(--paper); font-weight: 600; }
.pv-box { flex: none; }
#pv-cur { outline: 2px solid var(--coral); }
#pv-notes { flex: 1; min-height: 120px; resize: none; font-size: 24px; }
.pv-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.pv-nav .pv-btn { height: 56px; font-size: 14px; }
.pv-end { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font: 500 28px/1 var(--serif); color: var(--night-dim); }

/* Audit v3: more accents than coral (all Design Room tokens) */
/* Slide 11 on Night: coral = fixed fee, green = equity */
#slide-16 .stg { background: var(--night-2); border-color: var(--night-rule); color: var(--night-ink); }
#slide-16 .stg.goal { border: 2px solid var(--coral); background: var(--night-2); }
#slide-16 .stg[data-morph="model-2"] { border: 2px solid var(--green-night); }
#slide-16 .stg .tag { background: var(--night); color: var(--night-dim); }
#slide-16 .stg.goal .tag { background: var(--coral); color: var(--night); }
#slide-16 .stg[data-morph="model-2"] .tag { background: var(--green-night); color: var(--night); }
#slide-16 .stg h3 small { color: var(--night-dim); }
#slide-16 .model-lead { color: var(--night-ink); border-bottom-color: var(--night-rule); }
#slide-16 .stg dl { color: var(--night-dim); }
#slide-16 .stg dt { color: var(--night-ink); }
#slide-16 .stg[data-morph="model-2"] dt { border-bottom-color: var(--green-night); }
#slide-16 .stg dd { color: var(--night-ink); opacity: .86; }
#slide-16 .model-draft-link { display: inline-flex; align-items: center; align-self: flex-start; gap: var(--radius); margin-top: calc(var(--radius) * 3); font-family: var(--sans); font-weight: 600; letter-spacing: 0; color: var(--coral); text-decoration: underline; text-underline-offset: var(--radius); }
#slide-16 .model-draft-link:hover { color: var(--night-ink); }
#slide-16 .model-draft-link:focus-visible { outline-style: solid; outline-width: var(--stroke-ui); outline-color: var(--coral); outline-offset: var(--radius); }
#slide-16 .model-draft-link .ic { stroke-width: var(--stroke-ui); }

/* Slide 14: ochre = threat, green = IPD guard */
.risk .threat p { padding-left: 12px; border-left: 2px solid var(--ochre); }
.risk .guard { border-top-color: var(--green-soft); }
.risk .guard .lbl { color: var(--green); }
.risk .guard .lbl .ic { color: var(--green); }

/* Slide 16: 3 seats on top, 2 centered below */
#slide-21 .seats { grid-template-columns: repeat(6, 1fr); }
#slide-21 .seat { grid-column: span 2; }
#slide-21 .seat:nth-child(4) { grid-column: 2 / span 2; }

/* Slide 17: each barrier layer gets its own accent */
.layers li:nth-child(1) .num { color: var(--ink); }
.layers li:nth-child(2) .num { color: var(--coral); }
.layers li:nth-child(3) .num { color: var(--influencer); }
.layers li:nth-child(4) .num { color: var(--pl); }
.layers li { border-left: 3px solid transparent; padding-left: 14px; }
.layers li:nth-child(1) { border-left-color: var(--ink); }
.layers li:nth-child(2) { border-left-color: var(--coral); }
.layers li:nth-child(3) { border-left-color: var(--influencer); }
.layers li:nth-child(4) { border-left-color: var(--pl); }

/* Slide 19: person dominates, role is a label, status = Design Room "done" check */
#slide-21 .seat { position: relative; padding: 18px 18px 14px; }
#slide-21 .seat .pill { position: absolute; top: 14px; right: 14px; margin: 0; padding: 4px 7px; font-size: 9px; }
#slide-21 .seat h3 { order: -1; padding-right: 96px; min-height: 0; font: 600 14px/1.25 var(--sans); letter-spacing: .02em; color: var(--coral-ink); }
#slide-21 .seat.open h3 { padding-right: 150px; }
#slide-21 .seat .name { margin-top: 10px; font: 500 40px/1.05 var(--serif); letter-spacing: -.01em; color: var(--ink); }
#slide-21 .seat .who { margin-top: 10px; font: 500 40px/1.05 var(--serif); letter-spacing: -.01em; color: var(--ink); }
#slide-21 .seat .role { margin-top: 6px; margin-bottom: 18px; }
#slide-21 .status { position: absolute; top: 14px; right: 14px; display: flex; align-items: center; gap: 12px; }
#slide-21 .status .ok { width: 20px; height: 20px; stroke-width: 1.6; color: var(--green); }
#slide-21 .seat .li { display: inline-flex; color: var(--ink-3); }
#slide-21 .seat .li .ic { width: 18px; height: 18px; fill: currentColor; stroke: none; }
#slide-21 .seat .li:hover { color: var(--ink); }
#slide-21 .seat.filled h3 { color: var(--green); }
/* Slide 13: tool 01 is work in progress, others planned */
#slide-15 .ai3-card { position: relative; }
#slide-15 .ai3-card:not(.is-wip) { border-top-color: var(--ink-3); }
#slide-15 .ai3-card.is-wip { border: 2px solid var(--green); border-top-width: 3px; background: var(--paper); }
#slide-15 .ai3-card > p.ai3-state { position: absolute; top: -13px; right: 20px; margin: 0; z-index: 2; padding: 5px 10px; border-radius: 999px; background: var(--green); color: var(--paper); font: 600 12px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
#slide-15 .ai3-link { align-self: flex-start; margin-top: 12px; font: 600 15px/1.3 var(--sans); color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
#slide-15 .ai3-link:hover { color: var(--ink); }
#slide-15 .ai3-link:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

/* ---------- 7/22: karty wchodzą po kolei 01 → 06 ---------- */
.mv #slide-9.play .comp5 > article[data-b] {
  animation: comp-in .7s cubic-bezier(.2, .7, .1, 1) both;
  animation-delay: calc((var(--i) - 2) * 260ms + 450ms);
}
.mv #slide-9.play .comp5 > article .num {
  display: inline-block;
  animation: comp-num .6s cubic-bezier(.3, 1.4, .5, 1) both;
  animation-delay: calc((var(--i) - 2) * 260ms + 620ms);
}
@keyframes comp-in { from { opacity: 0; transform: translateY(28px) scale(.97); } }
@keyframes comp-num { from { opacity: 0; transform: scale(.4); } }

/* ---------- 9/22: wiersze wjeżdżają z lewej, sieci wskakują po kolei ---------- */
#slide-11 .rt-table { --row-step: 330ms; }
.mv #slide-11.play .rt-row[data-b] {
  animation: rt-row-in .7s cubic-bezier(.2, .7, .1, 1) both;
  animation-delay: calc(var(--r) * var(--row-step) + 500ms);
}
.mv #slide-11.play .rt-nets span,
.mv #slide-11.play .rt-prod span {
  animation: rt-pop .45s cubic-bezier(.3, 1.4, .5, 1) both;
  animation-delay: calc(var(--r) * var(--row-step) + 800ms + var(--k) * 70ms);
}
.mv #slide-11.play .rt-prod span { animation-name: rise; animation-duration: .5s; }
#slide-11 .rt-row:nth-of-type(1) { --r: 0; } #slide-11 .rt-row:nth-of-type(2) { --r: 1; }
#slide-11 .rt-row:nth-of-type(3) { --r: 2; } #slide-11 .rt-row:nth-of-type(4) { --r: 3; }
#slide-11 .rt-row:nth-of-type(5) { --r: 4; }
#slide-11 .rt-nets span:nth-child(1), #slide-11 .rt-prod span:nth-child(1) { --k: 0; }
#slide-11 .rt-nets span:nth-child(2), #slide-11 .rt-prod span:nth-child(2) { --k: 1; }
#slide-11 .rt-nets span:nth-child(3), #slide-11 .rt-prod span:nth-child(3) { --k: 2; }
#slide-11 .rt-nets span:nth-child(4), #slide-11 .rt-prod span:nth-child(4) { --k: 3; }
#slide-11 .rt-nets span:nth-child(5), #slide-11 .rt-prod span:nth-child(5) { --k: 4; }
#slide-11 .rt-nets span:nth-child(6), #slide-11 .rt-prod span:nth-child(6) { --k: 5; }
@keyframes rt-row-in { from { opacity: 0; transform: translateX(-40px); } }
@keyframes rt-pop { from { opacity: 0; transform: scale(.6); } }
.no-mv #slide-9 .num, .no-mv #slide-11 .rt-nets span, .no-mv #slide-11 .rt-prod span { animation: none !important; }

/* 18/22: partnerzy zewnętrzni tuż pod tabelą, nie jako stopka */
#slide-20 .team { position: relative; top: 118px; bottom: auto; }
#slide-20 .partners { position: relative; top: 118px; bottom: auto; margin-top: 28px; padding-top: 16px; }

/* Final brand reveal: official L artwork, enlarged at the user's request. */
#slide-25 .brand-finale { display: grid; place-content: center; justify-items: center; gap: var(--brand-mark-s); }
.brand-finale-logo { display: block; height: calc(var(--brand-mark-l) + var(--brand-mark-m)); aspect-ratio: 1; max-width: 100%; color: var(--coral); border-radius: 100%; }
.brand-finale-logo svg { display: block; width: 100%; height: 100%; }
.brand-finale-logo:focus-visible { outline-style: solid; outline-width: var(--stroke-bold); outline-color: var(--coral); outline-offset: var(--stroke-bold); }
.no-mv .brand-finale-logo svg *, .is-thumb .brand-finale-logo svg * { animation: none !important; }
.no-mv [data-mark-sparks] svg *, .is-thumb [data-mark-sparks] svg * { animation: none !important; }

#slide-0 .brand-start { display: grid; place-content: center; justify-items: center; }
#slide-0 [data-mark-play] { display: grid; place-content: center; padding: 0; }
/* Idle ring = animated centre circle (r 34.05 + stroke) of the mark's 200 viewBox units. */
#slide-0 [data-mark-play][data-playing="false"] { width: calc((var(--brand-mark-l) + var(--brand-mark-m)) * 70.1 / 200); height: calc((var(--brand-mark-l) + var(--brand-mark-m)) * 70.1 / 200); }
#slide-0 [data-mark-play] svg { width: calc(var(--brand-mark-l) + var(--brand-mark-m)); height: calc(var(--brand-mark-l) + var(--brand-mark-m)); max-width: none; }
body.at-start .toolbar { visibility: hidden; }

/* ---------- 02–03 · Dwa rynki / Blind spot ---------- */
.mk { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.mk-copy .h1 { margin-top: 0; }
.mk-cards { display: grid; gap: 28px; }
.mk-card { border-top: var(--stroke-ui, 1.6px) solid var(--rule); padding: 28px 0 4px; }
.mk-t { display: flex; align-items: center; gap: 14px; font: 500 36px/1.1 var(--serif); font-variation-settings: var(--serif-var); }
.mk-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--ink-3); flex: none; }
.mk-card.r { border-top-color: var(--retailer); } .mk-card.r .mk-dot { background: var(--retailer); }
.mk-card.i { border-top-color: var(--influencer); } .mk-card.i .mk-dot { background: var(--influencer); }
.mk-card.w { border-top-color: var(--ochre); } .mk-card.w .mk-dot { background: var(--ochre); }
.mk-row { display: grid; grid-template-columns: 96px 1fr; gap: 16px; margin-top: 18px; font: 400 22px/1.4 var(--sans); color: var(--ink-2); text-wrap: pretty; }
.mk-row .lbl { padding-top: 6px; }

/* 02 · Dwa rynki: two monumental pillars on Paper */
.mk2 { grid-template-columns: 1fr; gap: 48px; align-content: center; }
.mk2 .mk-copy { display: grid; grid-template-columns: 1fr; }
.mk2 .mk-copy .lbl { grid-column: 1 / -1; }
.mk2 .mk-copy .sub { margin: 20px 0 0; max-width: 1050px; }
.mk2 .mk-cards { grid-template-columns: 1fr 120px 1fr; gap: 0; align-items: stretch; }
.mk2 .mk-card { background: var(--paper-2); border-top-width: 6px; border-radius: calc(var(--radius) * 2); padding: 36px 40px 40px; display: flex; flex-direction: column; }
.mk2 .mk-t { font-size: 48px; }
.mk2 .mk-row { grid-template-columns: 1fr; gap: 8px; font-size: 24px; }
.mk2 .mk-row + .mk-row { margin-top: auto; padding-top: 24px; border-top: var(--stroke-bold, 2.2px) solid var(--ink); }
.mk2 .mk-card.r .mk-row + .mk-row { border-top-color: var(--retailer); }
.mk2 .mk-card.i .mk-row + .mk-row { border-top-color: var(--influencer); }
.mk2 .mk-row:first-of-type { margin-bottom: 36px; }
.mk-gap { position: relative; display: grid; place-items: center; }
.mk-gap::before { content: ""; position: absolute; top: 24px; bottom: 24px; left: 50%; border-left: var(--stroke-ui, 1.6px) dashed var(--ink-3); }
.mk-gap .lbl { position: relative; background: var(--paper); padding: 10px 0; writing-mode: vertical-rl; transform: rotate(180deg); }

/* 03 · Blind spot: Night with ochre dead ends */
.mk3 { grid-template-columns: 1fr 1.05fr; }
.mk3 .mk-copy .h1 { font-size: 72px; }
.mk3 .mk-card { position: relative; border-top: 0; border-left: var(--stroke-bold, 2.2px) solid var(--ochre); background: var(--night-2); border-radius: 0 calc(var(--radius) * 1.5) calc(var(--radius) * 1.5) 0; padding: 28px 36px 32px; }
.mk3 .mk-t { color: var(--night-ink); }
.mk3 .mk-row { color: var(--night-dim); }
.mk3 .mk-row + .mk-row { color: var(--night-ink); padding-top: 18px; border-top: var(--stroke-hair, 1px) dashed var(--ochre); }
.mk3 .mk-row + .mk-row .lbl { color: var(--ochre); }
.mk3 .mk-card::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 6px; background: var(--ochre); border-radius: 0 calc(var(--radius) * 1.5) calc(var(--radius) * 1.5) 0; }
