/* Dawid Sokalski · trener personalny · style strony */
:root {
  --bg: #0D1110;
  --bg-2: #121816;
  --panel: #161E1B;
  --panel-2: #1C2622;
  --text: #EDF3EF;
  --muted: #9DABA4;
  --line: rgba(237, 243, 239, .09);
  --line-2: rgba(237, 243, 239, .24);
  --mint: #71ECB6;
  --lime: #BAFE6D;
  --grad: linear-gradient(100deg, #71ECB6 0%, #BAFE6D 100%);
  --grad-v: linear-gradient(180deg, #71ECB6 0%, #BAFE6D 100%);
  --ink: #08130E;
  --ink-2: #29443A;

  --f-display: 'Saira Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'Manrope', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --r: 18px;
  --wrap: min(1200px, calc(100% - 32px));
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: hidden; overflow-x: clip;
  background: var(--bg); color: var(--text);
  font: 400 17px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  animation: page-in .8s var(--ease) both;
}
@keyframes page-in { from { opacity: 0; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 800; line-height: .96; letter-spacing: .005em; text-transform: uppercase; text-wrap: balance; }
h2 { font-size: clamp(38px, 5vw, 68px); }
h3 { font-size: 27px; line-height: 1.05; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--mint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.wrap { width: var(--wrap); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.kicker { font: 500 13px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mint); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: var(--grad); }
.lead { color: var(--muted); font-size: 18px; max-width: 46ch; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: top .3s var(--ease); }
.skip:focus { top: 16px; }
main:focus { outline: none; }

/* ---------- przyciski ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  background: var(--grad); color: var(--ink);
  font: 700 16px/1 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease);
  isolation: isolate;
}
.btn::after { content: ''; position: absolute; inset: -6px; border-radius: inherit; background: var(--grad); filter: blur(16px); opacity: 0; z-index: -1; transition: opacity .4s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { opacity: .45; }
.btn:active { transform: translateY(0) scale(.98); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost::after { display: none; }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--mint); color: var(--mint); }
.btn-dark { background: var(--ink); color: var(--text); }
.btn-dark::after { display: none; }
.btn-dark:hover { box-shadow: 0 12px 30px -12px rgba(8, 19, 14, .7); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn-wide { width: 100%; }

/* ---------- tło: jedno środowisko ---------- */
.env { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: var(--bg); }
.glow { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; opacity: .09; filter: blur(30px); will-change: transform; }
.g1 { background: radial-gradient(circle, var(--mint) 0%, transparent 62%); left: -25vmax; top: -30vmax; animation: drift1 84s linear infinite; animation-delay: -21s; }
.g2 { background: radial-gradient(circle, var(--lime) 0%, transparent 62%); right: -30vmax; bottom: -35vmax; opacity: .06; animation: drift2 96s linear infinite; animation-delay: -40s; }
@keyframes drift1 { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(28vw, 22vh); } 66% { transform: translate(8vw, 48vh); } }
@keyframes drift2 { 0%, 100% { transform: translate(0, 0); } 40% { transform: translate(-30vw, -26vh); } 70% { transform: translate(-6vw, -52vh); } }
.grain { position: absolute; inset: -50%; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body.paused *, body.paused *::before, body.paused *::after { animation-play-state: paused !important; }

/* ---------- menu ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .45s var(--ease); }
.nav.solid { background: rgba(13, 17, 16, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { width: var(--wrap); margin-inline: auto; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark { width: 42px; height: 42px; flex: none; }
.brand-t { display: flex; flex-direction: column; line-height: 1; }
.brand-t b { font: 800 25px/0.9 var(--f-display); text-transform: uppercase; letter-spacing: .04em; }
.brand-t small { font: 500 10.5px/1.4 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { position: relative; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--text); opacity: .86; transition: opacity .3s var(--ease); }
.nav-links a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav-links a:not(.btn):hover { opacity: 1; }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 0; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); cursor: pointer; position: relative; }
.nav-toggle i { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav-toggle i:first-child { top: 18px; }
.nav-toggle i:last-child { top: 26px; }
.nav.open .nav-toggle i:first-child { top: 22px; transform: rotate(45deg); }
.nav.open .nav-toggle i:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- NAGŁÓWEK ---------- */
.hero { position: relative; height: 450vh; }
.stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(28px, 5vw, 80px);
  padding: calc(var(--nav-h) + 16px) max(16px, calc((100vw - 1200px) / 2)) 48px;
}
.giant {
  position: absolute; left: 50%; bottom: -0.16em; margin: 0; z-index: 0;
  font: 800 clamp(150px, 26vw, 440px)/1 var(--f-display); letter-spacing: .02em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(113, 236, 182, .17);
  transform: translateX(calc(-50% + (0.5 - var(--p, 0)) * 9vw));
  pointer-events: none; user-select: none;
}
.bands { position: relative; z-index: 2; display: grid; align-items: center; }
.band {
  grid-area: 1 / 1; align-self: center;
  opacity: var(--o, 0); transform: translate3d(0, calc((1 - var(--o, 0)) * 26px), 0);
  pointer-events: none; will-change: opacity, transform;
}
.band.on { pointer-events: auto; }
.b1 { --o: 1; }
.say { font: 800 clamp(54px, 7.4vw, 112px)/.9 var(--f-display); text-transform: uppercase; margin: 0 0 22px; }
.say em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.say-sub { font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); max-width: 30ch; }
.b2 .say-sub { color: var(--text); }

#hero-h1 { font-size: clamp(46px, 6.3vw, 96px); line-height: .92; margin-bottom: 24px; }
.eyebrow { display: block; font: 500 13px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mint); margin-bottom: 18px; }
.h1-main { display: block; }
.w { display: inline-block; opacity: calc(clamp(0, (var(--h, 1) - var(--th, 0)) * 5, 1)); transform: translate3d(0, calc((1 - clamp(0, (var(--h, 1) - var(--th, 0)) * 5, 1)) * .45em), 0); }
.h1-main .grad .w, .h1-main .w.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); max-width: 44ch; margin-bottom: 28px; }
.lede, .cta-row { opacity: calc(clamp(0, (var(--h, 1) - .55) * 4, 1)); transform: translate3d(0, calc((1 - clamp(0, (var(--h, 1) - .55) * 4, 1)) * 18px), 0); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; opacity: calc(clamp(0, (var(--h, 1) - .75) * 4, 1)); }
.chips li { font: 500 12.5px/1 var(--f-mono); letter-spacing: .04em; padding: 10px 14px; border-radius: 999px; background: rgba(237, 243, 239, .05); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); }

.photo { position: relative; z-index: 1; }
.frame {
  position: relative; overflow: hidden; border-radius: 26px;
  height: min(70svh, 640px, 52vw); aspect-ratio: 4 / 5;
  background: var(--panel);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), inset 0 0 0 1px var(--line);
  transform: translate3d(0, 0, 0) rotate(calc((1 - var(--w, 0)) * -1.5deg)) scale(calc(.97 + var(--w, 0) * .03));
}
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame .then { object-position: 50% 30%; }
.reveal { position: absolute; inset: 0; overflow: hidden; transform: translate3d(calc((var(--w, 0) - 1) * 100%), 0, 0); }
.reveal .now { transform: translate3d(calc((1 - var(--w, 0)) * 100%), 0, 0); object-position: 50% 20%; }
.linia { position: absolute; inset: 0; pointer-events: none; transform: translate3d(calc(var(--w, 0) * 100%), 0, 0); }
.linia .bar { position: absolute; left: -2px; top: 0; bottom: 0; width: 4px; background: var(--grad-v); box-shadow: 0 0 22px rgba(113, 236, 182, .7); }
.grip, .c-line .grip {
  position: absolute; left: 0; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  background: var(--bg); box-shadow: inset 0 0 0 3px var(--mint), 0 8px 24px rgba(0, 0, 0, .45);
  display: grid; place-items: center;
}
.grip svg { width: 22px; height: 22px; fill: none; stroke: var(--lime); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.linia { opacity: calc(clamp(0, var(--w, 0) * 30, 1) * clamp(0, (1 - var(--w, 0)) * 30, 1)); }
.tag { position: absolute; top: 16px; font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; padding: 9px 12px; border-radius: 999px; background: rgba(13, 17, 16, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
/* „dziś” wjeżdża od lewej, więc jego etykieta siedzi po lewej, a „kiedyś” po prawej */
.tag-then { right: 16px; opacity: calc(1 - clamp(0, (var(--w, 0) - .72) * 5, 1)); }
.tag-now { left: 16px; color: var(--ink); background: var(--grad); opacity: calc(clamp(0, (var(--w, 0) - .22) * 5, 1)); }

.cue { position: absolute; left: 50%; bottom: 18px; z-index: 3; margin: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font: 500 11px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); opacity: calc(1 - clamp(0, var(--p, 0) * 14, 1)); }
.cue i { width: 2px; height: 34px; border-radius: 2px; background: var(--line-2); position: relative; overflow: hidden; }
.cue i::after { content: ''; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: var(--grad-v); animation: cue 2.2s var(--ease-io) infinite; animation-delay: -.6s; }
@keyframes cue { to { top: 100%; } }

/* stan statyczny: brak JS, reduced motion, niski ekran w poziomie */
.hero.static, .no-js .hero { height: auto; }
.hero.static .stage, .no-js .stage { position: relative; height: auto; min-height: 100svh; }
.hero.static .band, .no-js .band { display: none; }
.hero.static .b3, .no-js .b3 { display: block; --o: 1; --h: 1; pointer-events: auto; }
.hero.static, .no-js .hero { --w: .5; --p: .5; }
.hero.static .linia, .no-js .linia { opacity: 1; }
.hero.static .tag-then, .hero.static .tag-now, .no-js .tag-then, .no-js .tag-now { opacity: 1; }
.hero.static .cue, .no-js .cue { display: none; }

/* ---------- ticker ---------- */
.ticker { position: relative; z-index: 2; overflow: hidden; background: var(--grad); color: var(--ink); padding: 18px 0; transform: rotate(-1.2deg) scale(1.02); margin: 0 0 40px; }
.ticker-track { display: flex; width: max-content; animation: tick 48s linear infinite; animation-delay: -12s; }
.ticker span { font: 800 clamp(22px, 2.4vw, 32px)/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; padding-right: 26px; display: flex; align-items: center; gap: 26px; white-space: nowrap; }
.ticker span::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sekcje: wspólne ---------- */
.sec { position: relative; padding: clamp(90px, 11vw, 150px) 0; }
.sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head h2 { margin-bottom: 18px; max-width: 16ch; }
.sec-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.sec-head.center .lead { margin-inline: auto; }

/* wejścia */
[data-reveal] > * { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-reveal [data-reveal]:not(.in) > * { opacity: 0; transform: translate3d(0, 34px, 0); }
[data-reveal].in > *:nth-child(2) { transition-delay: .09s; }
[data-reveal].in > *:nth-child(3) { transition-delay: .18s; }
[data-reveal].in > *:nth-child(4) { transition-delay: .27s; }
[data-reveal].in > *:nth-child(5) { transition-delay: .36s; }
[data-reveal].in > *:nth-child(6) { transition-delay: .45s; }
[data-reveal].in > *:nth-child(7) { transition-delay: .54s; }
[data-reveal].in > *:nth-child(n+8) { transition-delay: .63s; }
[data-reveal].in.done > *:nth-child(n) { transition-delay: 0s; }

/* ---------- O MNIE ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.collage { position: relative; aspect-ratio: 1 / 1.08; }
.ph { position: absolute; overflow: hidden; border-radius: var(--r); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px var(--line); background: var(--panel); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ph:hover img { transform: scale(1.04); }
.ph-a { left: 14%; top: 0; width: 60%; height: 88%; z-index: 1; }
.ph-b { left: 0; bottom: 0; width: 38%; height: 44%; z-index: 2; }
.ph-c { right: 0; top: 12%; width: 34%; height: 40%; z-index: 2; }
.ph-c img { object-position: 50% 30%; }
.about-line { position: absolute; left: 76%; top: 58%; width: 4px; height: 38%; border-radius: 4px; background: var(--grad-v); box-shadow: 0 0 20px rgba(113, 236, 182, .5); z-index: 3; }
.collage.in .about-line { animation: breathe 5s var(--ease-io) infinite; animation-delay: -1.2s; }
@keyframes breathe { 50% { opacity: .5; } }
.about-copy h2 { margin-bottom: 26px; max-width: 15ch; }
.about-copy > p { color: var(--muted); max-width: 52ch; }
.quote { position: relative; margin: 30px 0 0; padding: 24px 26px 24px 30px; border-radius: var(--r); background: var(--panel); }
.quote::before { content: ''; position: absolute; left: 0; top: 20px; bottom: 20px; width: 3px; border-radius: 3px; background: var(--grad-v); }
.quote p { margin: 0; font-size: 18px; font-weight: 600; color: var(--text); }
.stats { margin-top: clamp(60px, 8vw, 110px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.stats li { position: relative; padding: 34px 28px 0; display: flex; flex-direction: column; gap: 6px; }
.stats li + li { border-left: 1px solid var(--line); }
.stats li::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); }
.stats.in li::before { transform: scaleX(1); }
.stats.in li:nth-child(2)::before { transition-delay: .25s; }
.stats.in li:nth-child(3)::before { transition-delay: .5s; }
.stats b { font: 800 clamp(52px, 6vw, 84px)/1 var(--f-display); letter-spacing: .01em; }
.stats b > span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stats li > span { color: var(--muted); font-size: 16px; max-width: 24ch; }

/* ---------- BRZMI ZNAJOMO ---------- */
.chat-sec { background: linear-gradient(180deg, transparent, rgba(22, 30, 27, .55) 18%, rgba(22, 30, 27, .55) 82%, transparent); }
.chat-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.chat-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.chat-head h2 { margin-bottom: 18px; max-width: 12ch; }
.chat-head .lead { margin-bottom: 30px; }
.thread { display: flex; flex-direction: column; gap: 14px; }
.msg { position: relative; max-width: min(84%, 520px); padding: 16px 20px 17px; border-radius: 22px; font-size: 17px; line-height: 1.5; }
.msg .who { display: block; font: 500 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; opacity: .7; }
.you { align-self: flex-start; background: var(--panel-2); border-bottom-left-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.me { align-self: flex-end; background: var(--grad); color: var(--ink); font-weight: 600; border-bottom-right-radius: 6px; }
.me .who { opacity: .62; }
.js-reveal .thread:not(.in) > .you { transform: translate3d(-30px, 20px, 0); }
.js-reveal .thread:not(.in) > .me { transform: translate3d(30px, 20px, 0); }
.thread.in > *:nth-child(n+2) { transition-delay: calc(var(--i, 1) * .12s); }
.thread.in.done > *:nth-child(n) { transition-delay: 0s; }
.typing { display: flex; gap: 6px; padding: 18px 22px; }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); opacity: .35; }
.thread.in .typing i { animation: dot 1.6s var(--ease-io) infinite; }
.thread.in .typing i:nth-child(2) { animation-delay: -1.4s; }
.thread.in .typing i:nth-child(3) { animation-delay: -1.2s; }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: .9; transform: translateY(-4px); } }

/* ---------- OFERTA ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: 36px 30px 30px; border-radius: 24px; background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line); isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .9s var(--ease);
}
.card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(120% 70% at 50% 0%, rgba(113, 236, 182, .14), transparent 60%); opacity: 0; transition: opacity .5s var(--ease); z-index: -1; }
.card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(113, 236, 182, .45), 0 30px 60px -34px rgba(0, 0, 0, .9); }
.card:hover::before { opacity: 1; }
.card-top { background: linear-gradient(var(--panel-2), var(--panel-2)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: 0 30px 70px -40px rgba(113, 236, 182, .45); }
.card-top::before { opacity: .8; }
.card-top:hover { box-shadow: 0 34px 80px -36px rgba(113, 236, 182, .6); }
.cards.in .card-top::after { content: ''; position: absolute; inset: -1.5px; border-radius: inherit; box-shadow: 0 0 40px rgba(113, 236, 182, .25); opacity: 0; animation: pulse 5s var(--ease-io) infinite; animation-delay: -2s; pointer-events: none; }
@keyframes pulse { 50% { opacity: 1; } }
.badge { position: absolute; top: -14px; left: 30px; font: 500 11.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; padding: 9px 14px; border-radius: 999px; background: var(--grad); color: var(--ink); }
.ico { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: rgba(113, 236, 182, .09); box-shadow: inset 0 0 0 1px rgba(113, 236, 182, .25); }
.ico svg { width: 32px; height: 32px; fill: none; stroke: var(--mint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--muted); margin: 0; }
.ticks { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 8px; flex: 1; }
.ticks li { position: relative; padding-left: 28px; font-size: 15.5px; font-weight: 600; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2.2px solid var(--mint); border-bottom: 2.2px solid var(--mint); transform: rotate(-45deg); }
.card .btn { align-self: flex-start; }
.goals { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; text-align: center; }
.goals p { margin: 0; color: var(--muted); }
.goals ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.goals li { padding: 9px 15px; border-radius: 999px; font-size: 14.5px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-2); }

/* ---------- EFEKTY ---------- */
.res-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.compare {
  position: relative; overflow: hidden; border-radius: 26px; aspect-ratio: 3 / 5; max-height: 78vh; margin-inline: auto;
  background: var(--panel); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .85), inset 0 0 0 1px var(--line);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.c-after { position: absolute; inset: 0; overflow: hidden; transform: translate3d(calc((var(--c) - 1) * 100%), 0, 0); }
.c-after img { transform: translate3d(calc((1 - var(--c)) * 100%), 0, 0); }
.c-tag { position: absolute; top: 16px; font: 500 11.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; padding: 9px 12px; border-radius: 999px; background: rgba(13, 17, 16, .78); color: var(--text); z-index: 2; }
.c-l { left: 14px; background: var(--grad); color: var(--ink); opacity: calc(clamp(0, (var(--c) - .12) * 6, 1)); }
.c-r { right: 14px; opacity: calc(clamp(0, (.88 - var(--c)) * 6, 1)); }
.c-line { position: absolute; inset: 0; z-index: 3; transform: translate3d(calc(var(--c) * 100%), 0, 0); pointer-events: none; outline: none; }
.c-line .bar { position: absolute; left: -2px; top: 0; bottom: 0; width: 4px; background: var(--grad-v); box-shadow: 0 0 22px rgba(113, 236, 182, .7); }
.c-line .grip { pointer-events: auto; cursor: grab; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.c-line:focus-visible .grip { box-shadow: inset 0 0 0 3px var(--mint), 0 0 0 4px rgba(186, 254, 109, .55); }
.compare.drag .c-line .grip { cursor: grabbing; transform: scale(1.1); }
.compare-wrap.in .c-line .grip::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(113, 236, 182, .5); animation: ring 2.6s var(--ease) infinite; animation-delay: -.8s; }
.compare-wrap.used .c-line .grip::after { animation: none; opacity: 0; }
@keyframes ring { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.c-hint { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 18px 0 0; color: var(--muted); font-size: 15px; text-align: center; transition: opacity .5s var(--ease); }
.c-hint svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--mint); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.compare-wrap.won .c-hint { opacity: .5; }
.res-copy h2 { margin-bottom: 18px; max-width: 14ch; }
.res-copy .lead { margin-bottom: 26px; }
.report { padding: 26px; border-radius: 24px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .8s var(--ease); }
.won .report, .report.won { box-shadow: inset 0 0 0 1.5px rgba(113, 236, 182, .55), 0 30px 70px -40px rgba(113, 236, 182, .4); }
.r-weight { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.r-weight small { display: block; font: 500 11.5px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.r-weight b { font: 800 clamp(34px, 3.4vw, 46px)/1 var(--f-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.r-arrow { flex: 1; height: 2px; max-width: 120px; background: var(--grad); position: relative; border-radius: 2px; }
.r-arrow::after { content: ''; position: absolute; right: -1px; top: -5px; width: 10px; height: 10px; border-top: 2px solid var(--lime); border-right: 2px solid var(--lime); transform: rotate(45deg); }
.r-list { display: grid; gap: 10px; }
.r-list li { display: grid; grid-template-columns: 70px 1fr 74px; align-items: center; gap: 14px; font-size: 15px; }
.r-list span { color: var(--muted); }
.r-list i { height: 8px; border-radius: 8px; background: rgba(237, 243, 239, .07); position: relative; overflow: hidden; }
.r-list i::after { content: ''; position: absolute; inset: 0; width: calc(var(--v) * 100%); border-radius: inherit; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
.res-copy.in .r-list i::after { transform: scaleX(1); }
.r-list li:nth-child(2) i::after { transition-delay: .08s; }
.r-list li:nth-child(3) i::after { transition-delay: .16s; }
.r-list li:nth-child(4) i::after { transition-delay: .24s; }
.r-list li:nth-child(5) i::after { transition-delay: .32s; }
.r-list li:nth-child(6) i::after { transition-delay: .4s; }
.r-list li:nth-child(7) i::after { transition-delay: .48s; }
.r-list b { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.r-list li.lit b { color: var(--lime); }
.r-list li b { transition: color .5s var(--ease); }
.more { margin: 30px 0 12px; color: var(--muted); }
.names { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.names li { padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14.5px; background: rgba(113, 236, 182, .08); box-shadow: inset 0 0 0 1px rgba(113, 236, 182, .3); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--mint); text-decoration: none; }
.link-arrow::after { content: '→'; transition: transform .35s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- KROKI ---------- */
.step-list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step-line { position: absolute; left: 30px; right: 30px; top: 29px; height: 2px; background: var(--line-2); border-radius: 2px; }
.step-line i { position: absolute; inset: 0; background: var(--grad); border-radius: inherit; transform: scaleX(var(--d, 0)); transform-origin: left; box-shadow: 0 0 14px rgba(113, 236, 182, .6); }
.step { position: relative; padding-top: 0; }
.step .n { position: relative; z-index: 1; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; margin-bottom: 26px; font: 800 22px/1 var(--f-display); background: var(--bg); box-shadow: inset 0 0 0 2px var(--line-2); color: var(--muted); transition: box-shadow .6s var(--ease), color .6s var(--ease), background-color .6s var(--ease); }
.step.lit .n { background: var(--grad); color: var(--ink); box-shadow: 0 0 0 6px rgba(113, 236, 182, .12); }
.step .ico { margin-bottom: 18px; }
.step h3 { margin-bottom: 10px; font-size: 25px; }
.step p { color: var(--muted); font-size: 16px; margin: 0; max-width: 28ch; }
.js-reveal .step-list:not(.in) .step { opacity: 0; transform: translate3d(0, 30px, 0); }
.step { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.step-list.in .step:nth-child(3) { transition-delay: .1s; }
.step-list.in .step:nth-child(4) { transition-delay: .2s; }
.step-list.in .step:nth-child(5) { transition-delay: .3s; }
.step-list.in.done .step:nth-child(n) { transition-delay: 0s; }

/* ---------- INSTAGRAM ---------- */
.ig-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.ig-head h2 { max-width: none; }
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.ig-grid li:nth-child(even) { transform: translateY(28px); }
.js-reveal .ig-grid:not(.in) li:nth-child(even) { transform: translate3d(0, 62px, 0); }
.ig-grid a { position: relative; display: block; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 5; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s var(--ease); }
.ig-grid .cap { position: absolute; inset: auto 0 0; padding: 40px 14px 14px; font-size: 14px; font-weight: 600; line-height: 1.35; background: linear-gradient(transparent, rgba(8, 12, 10, .92)); opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.ig-grid a:hover img, .ig-grid a:focus-visible img { transform: scale(1.06); }
.ig-grid a:hover .cap, .ig-grid a:focus-visible .cap { opacity: 1; transform: none; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq .sec-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { position: relative; list-style: none; cursor: pointer; padding: 24px 56px 24px 0; font-weight: 700; font-size: 18.5px; transition: color .3s var(--ease); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after { content: ''; position: absolute; right: 12px; top: 50%; width: 16px; height: 2px; border-radius: 2px; background: var(--mint); transition: transform .45s var(--ease); }
.qa summary::after { transform: rotate(90deg); }
.qa details[open] summary::after { transform: rotate(0); }
.qa summary:hover { color: var(--mint); }
.qa details p { color: var(--muted); padding: 0 40px 24px 0; margin: 0; max-width: 60ch; }
.qa details[open] p { animation: open .5s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- KONTAKT ---------- */
.contact { background: var(--grad); color: var(--ink); overflow: hidden; }
.contact::before { content: 'SOKALSKI'; position: absolute; left: 50%; bottom: -.2em; transform: translateX(-50%); font: 800 clamp(140px, 24vw, 400px)/1 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px rgba(8, 19, 14, .14); white-space: nowrap; pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(40px, 6vw, 96px); align-items: center; }
.contact .kicker { color: var(--ink); }
.contact .kicker::before { background: var(--ink); }
.contact h2 { font-size: clamp(48px, 6.4vw, 96px); margin-bottom: 22px; }
.contact .lead { color: var(--ink-2); font-weight: 600; margin-bottom: 30px; max-width: 40ch; }
.place { display: flex; gap: 14px; margin-top: 40px; padding-top: 26px; border-top: 1.5px solid rgba(8, 19, 14, .16); max-width: 420px; }
.place svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.8; margin-top: 2px; }
.place b { display: block; font: 800 22px/1.1 var(--f-display); text-transform: uppercase; }
.place span { display: block; color: var(--ink-2); font-weight: 600; margin-bottom: 6px; }
.place a { font-weight: 700; text-underline-offset: 4px; }
.form-card { position: relative; padding: clamp(26px, 3vw, 38px); border-radius: 28px; background: var(--bg); color: var(--text); box-shadow: 0 40px 90px -40px rgba(8, 19, 14, .7); }
.form-card h3 { font-size: 32px; margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: 14.5px; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 15px; border-radius: 13px; border: 0;
  background: var(--panel); box-shadow: inset 0 0 0 1.5px rgba(237, 243, 239, .2);
  font-size: 16px; transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 92px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: linear-gradient(45deg, transparent 50%, var(--mint) 50%), linear-gradient(-45deg, transparent 50%, var(--mint) 50%); background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--panel); color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--mint); background-color: var(--panel-2); }
.field textarea::placeholder { color: #7D8A84; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.err { display: none; font-size: 13.5px; font-weight: 600; color: #FF8F80; }
.field.bad input { box-shadow: inset 0 0 0 2px #FF8F80; }
.field.bad .err, .err-ok.show { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--muted); cursor: pointer; margin: 6px 0 6px; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 7px; box-shadow: inset 0 0 0 1.5px var(--line-2); background: var(--panel); cursor: pointer; display: grid; place-items: center; transition: background-color .25s var(--ease), box-shadow .25s var(--ease); }
.check input::after { content: ''; width: 10px; height: 6px; border-left: 2.2px solid var(--ink); border-bottom: 2.2px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .3s var(--ease); }
.check input:checked { background: var(--grad); box-shadow: none; }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.err-ok { margin-bottom: 6px; }
.form-card .btn-wide { margin-top: 14px; }
.note { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.sent { text-align: center; padding: 30px 6px; outline: none; }
.sent-ico { width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; animation: pop .7s var(--ease) both; }
.sent-ico svg { width: 38px; height: 38px; fill: none; stroke: var(--ink); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }
.sent h3 { font-size: 40px; margin-bottom: 14px; }
.sent p { color: var(--muted); margin: 0 auto 24px; max-width: 36ch; }

/* ---------- stopka ---------- */
.foot { padding: 70px 0 34px; background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot .foot-name { font: 800 54px/1 var(--f-display); text-transform: uppercase; margin: 0 0 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: max-content; }
.foot p, .foot address { color: var(--muted); font-style: normal; font-size: 15.5px; line-height: 1.7; }
.foot address a { color: var(--text); text-underline-offset: 4px; }
.foot-nav { display: flex; flex-direction: column; gap: 8px; }
.foot-nav a { text-decoration: none; color: var(--text); opacity: .85; width: max-content; }
.foot-nav a:hover { color: var(--mint); opacity: 1; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; }
.foot-bottom p { margin: 0; font-size: 14px; }

/* ---------- pasek CTA na telefonie ---------- */
.mbar { display: none; }

/* ---------- dotyk ---------- */
@media (pointer: coarse) {
  .btn { min-height: 48px; }
  .nav-links a:not(.btn) { min-height: 44px; display: inline-flex; align-items: center; }
  .foot-nav a, .foot address a, .place a, .link-arrow { min-height: 44px; display: inline-flex; align-items: center; }
  .ig-grid .cap { opacity: 1; transform: none; font-size: 12.5px; padding: 30px 10px 10px; }
}

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 22px; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .ig-grid li:nth-child(even) { transform: none; }
  .ig-grid li:nth-child(3n+2) { transform: translateY(24px); }
  .js-reveal .ig-grid:not(.in) li:nth-child(even) { transform: translate3d(0, 34px, 0); }
  .step-list { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .step-line { display: none; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 16px 24px; background: rgba(13, 17, 16, .97); box-shadow: 0 1px 0 var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
  }
  .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav.open { background: rgba(13, 17, 16, .97); }
  .nav-links a:not(.btn) { padding: 16px 4px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 18px; }

  .about-grid, .chat-grid, .res-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .chat-head, .faq .sec-head { position: static; }
  .collage { max-width: 560px; width: 100%; margin-inline: auto; }
  .cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .compare { max-height: none; width: min(100%, 440px); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

/* ---------- nagłówek na tablecie i telefonie: zdjęcie nad tekstem ---------- */
@media (max-width: 900px) {
  .stage {
    grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; gap: 22px;
    padding: calc(var(--nav-h) + 14px) 16px 18px;
  }
  .photo { grid-row: 1; justify-self: center; }
  .frame { height: min(40svh, 420px); border-radius: 22px; }
  .bands { grid-row: 2; align-self: start; width: min(100%, 640px); justify-self: center; }
  .band { align-self: start; }
  .giant { bottom: -.12em; font-size: 36vw; }
  .cue { display: none; }
}

/* ---------- telefon ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .stage { gap: 18px; padding-top: calc(var(--nav-h) + 10px); }
  .frame { height: min(40svh, 330px); border-radius: 20px; }
  .say { font-size: clamp(44px, 13vw, 64px); margin-bottom: 14px; }
  .say-sub { font-size: 17px; }
  .kicker { margin-bottom: 12px; font-size: 12px; }
  #hero-h1 { font-size: clamp(34px, 10vw, 48px); margin-bottom: 14px; }
  .eyebrow { font-size: 11px; margin-bottom: 10px; }
  .lede { font-size: 15.5px; margin-bottom: 16px; line-height: 1.5; }
  .cta-row { margin-bottom: 14px; gap: 10px; }
  .cta-row .btn { min-height: 48px; padding: 0 18px; font-size: 15px; }
  .chips li { font-size: 11px; padding: 8px 11px; }
  .c-tag { font-size: 10.5px; padding: 8px 10px; }
  .c-tag .d { display: none; }
  .tag { top: 10px; font-size: 10.5px; padding: 7px 10px; }
  .tag-then { right: 10px; }
  .tag-now { left: 10px; }
  .grip, .c-line .grip { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .hero.static .stage { padding-bottom: 40px; }

  .ticker { padding: 14px 0; margin-bottom: 10px; }
  .stats { grid-template-columns: 1fr; }
  .stats li { padding: 26px 0 24px; }
  .stats li + li { border-left: 0; border-top: 1px solid var(--line); }
  .collage { aspect-ratio: 1 / 1.15; }
  .msg { max-width: 90%; font-size: 16px; padding: 14px 16px 15px; }
  .card { padding: 32px 22px 24px; }
  .r-weight { gap: 10px; }
  .r-weight b { font-size: 32px; }
  .r-arrow { max-width: 50px; }
  .r-list li { grid-template-columns: 62px 1fr 64px; gap: 10px; font-size: 14px; }
  .step-list { grid-template-columns: 1fr; row-gap: 40px; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ig-grid li:nth-child(n) { transform: none; }
  .ig-grid li:nth-child(even) { transform: translateY(20px); }
  .js-reveal .ig-grid:not(.in) li:nth-child(n) { transform: translate3d(0, 30px, 0); }
  .qa summary { font-size: 17px; padding: 20px 46px 20px 0; }
  .qa details p { padding-right: 0; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .contact h2 { font-size: clamp(44px, 13vw, 64px); }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .foot .foot-name { font-size: 44px; }

  .mbar {
    display: flex; align-items: center; justify-content: center; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    min-height: 54px; border-radius: 999px; background: var(--grad); color: var(--ink); font-weight: 700; text-decoration: none;
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .7);
    transform: translateY(140%); transition: transform .5s var(--ease);
  }
  .mbar.show { transform: none; }
  .foot { padding-bottom: 100px; }
}

/* telefon z niskim ekranem: chowamy chipy w nagłówku */
@media (max-width: 760px) and (max-height: 700px) {
  .frame { height: min(36svh, 260px); }
  .b3 .chips { display: none; }
  .lede { font-size: 15px; }
  .say { font-size: clamp(40px, 12vw, 56px); }
}

/* ekran w poziomie, niski (telefon obrócony) */
@media (orientation: landscape) and (max-height: 560px) {
  .stage { padding-top: calc(var(--nav-h) + 8px); }
  .frame { height: min(78svh, 420px); }
}

/* ---------- ograniczony ruch ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; transition-delay: 0s !important; }
  .js-reveal [data-reveal]:not(.in) > *, .js-reveal .thread:not(.in) > .you, .js-reveal .thread:not(.in) > .me, .js-reveal .step-list:not(.in) .step { opacity: 1; transform: none; }
  .js-reveal .ig-grid:not(.in) li:nth-child(n) { opacity: 1; transform: none; }
  .r-list i::after { transform: none; }
  .stats li::before { transform: none; }
  .step-line i { transform: none; }
  .step .n { background: var(--grad); color: var(--ink); }
}
