/* MOCIO Visuals v2: ciemny, kinowy, ruch w stylu Apple (odsłony, przypięte sekcje, wysuwane elementy) */
:root {
  --bg: #0d0b0a; --bg-2: #151210; --bg-3: #1e1a17;
  --ink: #ece8e1; --muted: #a39d94; --line: rgb(236 232 225 / .12);
  --accent: #ff6a1a; --accent-ink: #0d0b0a;
  --display: "Archivo", system-ui, sans-serif;
  --text: "Archivo", system-ui, sans-serif;
  --wrap: min(100% - 2 * var(--gut), 1280px);
  --gut: 80px; --nav: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --r: 20px; --r-sm: 12px;
  --h1: clamp(42px, 5.6vw, 96px);
  --h2: clamp(34px, 4.6vw, 68px);
  --h3: clamp(22px, 1.8vw, 28px);
  --lead: clamp(17px, 1.3vw, 20px);
}
@media (max-width: 1023px) { :root { --gut: 40px; } }
@media (max-width: 639px) { :root { --gut: 20px; --nav: 60px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 500; font-stretch: 112%; letter-spacing: -0.035em; line-height: 1.0; text-wrap: balance; }
h2 { line-height: 1.04; }
h3 { font-size: var(--h3); font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; }
.wrap { width: var(--wrap); margin-inline: auto; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.eyebrow { font-size: 14px; font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgb(255 106 26 / .18); }
.lead { font-size: var(--lead); line-height: 1.55; color: var(--ink); max-width: 46ch; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-size: 16px; font-weight: 500; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 200ms var(--ease), background-color 200ms, border-color 200ms, color 200ms; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #ff7d36; }
.btn--ghost { border-color: rgb(236 232 225 / .28); color: var(--ink); background: rgb(13 11 10 / .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: var(--ink); }
.btn svg { width: 14px; height: 14px; transition: transform 260ms var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link { color: var(--ink); text-decoration: underline; text-decoration-color: rgb(236 232 225 / .35); text-underline-offset: 5px; transition: text-decoration-color 200ms; }
.link:hover { text-decoration-color: var(--accent); }

/* nav: przezroczysty nad hero, po przewinięciu ciemny z rozmyciem */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav); transition: background-color 300ms, border-color 300ms, backdrop-filter 300ms; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgb(13 11 10 / .72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-color: var(--line); }
.nav__bar { height: 100%; display: flex; align-items: center; gap: 32px; }
.nav__logo img { height: 54px; width: auto; }
.nav__links { display: flex; gap: 28px; margin-inline: auto; }
.nav__links a { font-size: 15px; font-weight: 500; text-decoration: none; color: rgb(236 232 225 / .78); transition: color 200ms; padding: 12px 0; }
.nav__links a:hover { color: var(--ink); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; align-items: center; justify-content: center; cursor: pointer; }
.sheet { position: fixed; inset: 0; z-index: 60; background: var(--bg); padding: calc(var(--nav) + 24px) var(--gut) 32px; display: flex; flex-direction: column; gap: 8px; transform: translateY(-100%); transition: transform 500ms var(--ease); visibility: hidden; }
.sheet.is-open { transform: none; visibility: visible; }
.sheet a:not(.btn) { font-family: var(--display); font-size: 36px; font-stretch: 112%; letter-spacing: -0.03em; text-decoration: none; padding: 6px 0; }
.sheet .btn { margin-top: auto; }
.sheet__close { position: absolute; top: 8px; right: var(--gut); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; }
@media (max-width: 1023px) {
  .nav__links { display: none; }
  .nav__bar > .btn { display: none; }
  .nav__toggle { display: inline-flex; margin-left: auto; }
}

/* odsłony przy przewijaniu */
.js [data-reveal] { opacity: 0; transform: translateY(48px); transition: opacity 900ms var(--ease), transform 1100ms var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="left"] { transform: translateX(-56px); }
.js [data-reveal="right"] { transform: translateX(56px); }
.js [data-reveal="scale"] { transform: scale(.92); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* HERO */
.hero { position: relative; min-height: 100svh; padding: calc(var(--nav) + 48px) 0 0; overflow: hidden; display: flex; flex-direction: column; isolation: isolate; }
.hero__glow { position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 90vh; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgb(255 106 26 / .26), rgb(255 106 26 / .06) 55%, transparent 75%); filter: blur(10px); animation: glow 9s var(--ease-io) infinite alternate; }
@keyframes glow { to { transform: translate(-6vw, 6vh) scale(1.08); } }
.hero__grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero__text { display: grid; gap: 28px; align-content: center; padding-bottom: 40px; }
.hero h1 { font-size: var(--h1); }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .w > span { display: inline-block; transform: translateY(105%); animation: rise 1100ms var(--ease) forwards; animation-delay: calc(120ms + var(--i) * 90ms); }
@keyframes rise { to { transform: none; } }
.hero__for { font-family: var(--display); font-size: clamp(22px, 2.2vw, 32px); font-stretch: 112%; letter-spacing: -0.02em; line-height: 1.2; display: flex; flex-wrap: wrap; gap: .3em; color: var(--muted); }
.rotator { position: relative; display: inline-grid; color: var(--accent); overflow: hidden; height: 1.2em; }
.rotator > span { grid-area: 1 / 1; transform: translateY(110%); opacity: 0; transition: transform 700ms var(--ease), opacity 500ms; white-space: nowrap; }
.rotator > span.is-on { transform: none; opacity: 1; }
.rotator > span.is-out { transform: translateY(-110%); opacity: 0; }
.hero .fade-in { opacity: 0; transform: translateY(24px); animation: fadeUp 1000ms var(--ease) forwards; animation-delay: var(--d, 600ms); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.phones { position: relative; height: min(78svh, 720px); }
.phone { position: absolute; width: 39%; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: #000; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .8), 0 0 0 1px rgb(255 255 255 / .08);
  opacity: 0; translate: 0 120px; animation: phoneIn 1400ms var(--ease) forwards; animation-delay: var(--d); will-change: transform; }
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; }
.phone:nth-child(1) { left: 0; top: 16%; --d: 350ms; }
.phone:nth-child(2) { left: 30.5%; top: 0; z-index: 2; --d: 200ms; }
.phone:nth-child(3) { right: 0; top: 24%; --d: 500ms; }
@keyframes phoneIn { to { opacity: 1; translate: 0 0; } }
.phone__tag { position: absolute; left: 12px; bottom: 12px; font-size: 12px; font-weight: 500; padding: 6px 10px; border-radius: 999px; background: rgb(13 11 10 / .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

.marquee { border-top: 1px solid var(--line); padding: 22px 0; overflow: hidden; display: flex; gap: 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 14px; padding-right: 14px; flex: none; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee__label { flex: none; align-self: center; font-size: 13px; font-weight: 500; color: var(--muted); padding: 0 18px 0 var(--gut); }
.logo-tile { flex: none; width: 112px; height: 64px; border-radius: 12px; background: #ece8e1; display: grid; place-items: center; padding: 8px; }
.logo-tile img { max-height: 46px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter 300ms, opacity 300ms; }
.logo-tile:hover img { filter: none; opacity: 1; }

@media (max-width: 1023px) {
  .hero { padding-top: calc(var(--nav) + 24px); }
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__text { padding: 0; gap: 20px; }
  .phones { height: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .phone { position: relative; width: auto; left: auto !important; right: auto !important; top: auto !important; border-radius: 18px; }
  .phone:nth-child(2) { translate: 0 -16px; }
  .phone__tag { display: none; }
}
@media (max-width: 639px) { .hero .btn-row .btn { flex: 1 1 100%; } .logo-tile { width: 92px; height: 54px; } }

/* sekcje */
.section { padding: clamp(96px, 13vw, 180px) 0; position: relative; }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); max-width: 860px; }
.section-head h2 { font-size: var(--h2); }

/* problem: słowa zapalają się przy przewijaniu */
.statement { font-family: var(--display); font-size: clamp(30px, 4.2vw, 60px); font-stretch: 108%; letter-spacing: -0.03em; line-height: 1.12; max-width: 22ch; }
.statement .sw { color: rgb(236 232 225 / .2); transition: color 300ms; }
.statement .sw.on { color: var(--ink); }
.statement .sw.hot.on { color: var(--accent); }
.no-js .statement .sw, .rm .statement .sw { color: var(--ink); }

/* realizacje: poziomy przesuw przypięty przy scrollu */
.hscroll { position: relative; }
.hscroll__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 40px; padding-top: var(--nav); }
.hscroll__head { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.hscroll__head h2 { font-size: var(--h2); max-width: 15ch; }
.hscroll__head p { max-width: 36ch; color: var(--muted); }
.track { display: flex; gap: 20px; padding-inline: max(var(--gut), (100vw - 1280px) / 2); will-change: transform; }
.work { all: unset; box-sizing: border-box; position: relative; flex: none; height: min(60svh, 600px); aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; background: #000; cursor: pointer; transition: transform 500ms var(--ease); }
.work img, .work video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work video { opacity: 0; transition: opacity 300ms; }
.work.is-playing video { opacity: 1; }
.work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgb(0 0 0 / .78)); pointer-events: none; }
.work:hover { transform: translateY(-6px); }
.work:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.work__meta { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; display: grid; gap: 4px; }
.work__cat { font-size: 12px; font-weight: 500; color: var(--accent); }
.work__title { font-size: 18px; font-weight: 500; line-height: 1.25; }
.work__play { position: absolute; top: 16px; right: 16px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgb(13 11 10 / .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; place-items: center; transition: background-color 200ms, transform 300ms var(--ease); }
.work:hover .work__play { background: var(--accent); color: var(--accent-ink); transform: scale(1.08); }
.work__play svg { width: 14px; height: 14px; margin-left: 2px; }
.work--feature { height: min(66svh, 660px); }
.progress { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.progress > i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
@media (max-width: 899px) {
  .hscroll { height: auto !important; }
  .hscroll__sticky { position: relative; height: auto; padding: clamp(96px, 13vw, 180px) 0 0; }
  .hscroll__head { flex-direction: column; align-items: start; }
  .track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; transform: none !important; scrollbar-width: none; }
  .track::-webkit-scrollbar { display: none; }
  .work, .work--feature { height: 64svh; max-height: 560px; scroll-snap-align: center; }
  .progress { display: none; }
}

/* za kulisami: karty wysuwają się spod głównego filmu */
.bts { position: relative; height: 260vh; }
.bts__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding: calc(var(--nav) + 28px) 0 32px; }
.bts__head { position: relative; text-align: center; padding-inline: var(--gut); z-index: 5; display: grid; gap: 14px; justify-items: center; opacity: calc(var(--p, 0) * 1.6); transform: translateY(calc((1 - min(1, var(--p, 0) * 1.6)) * 30px)); }
.bts__head h2 { font-size: clamp(32px, 4vw, 60px); }
.bts__head p { color: var(--muted); max-width: 52ch; }
.bts__stage { position: relative; flex: 1; width: min(1280px, 100% - 2 * var(--gut)); margin-top: 28px; }
.bts__main { position: absolute; left: 50%; top: 50%; height: calc(100% * (1.3 - .3 * var(--p, 0))); aspect-ratio: 9 / 16; translate: -50% -50%; border-radius: 24px; overflow: hidden; z-index: 3; box-shadow: 0 40px 100px -30px rgb(0 0 0 / .9); }
.bts__main video { width: 100%; height: 100%; object-fit: cover; }
.bts__card { position: absolute; left: 50%; top: 50%; width: min(14vw, 196px); aspect-ratio: var(--ar, 4 / 5); border-radius: 16px; overflow: hidden; z-index: 2; box-shadow: 0 30px 60px -24px rgb(0 0 0 / .8);
  transform: translate(-50%, -50%) translate(calc(var(--x) * var(--p, 0)), calc(var(--y) * var(--p, 0))) rotate(calc(var(--r) * var(--p, 0))) scale(calc(.7 + .3 * var(--p, 0)));
  opacity: calc(var(--p, 0) * 2.2); }
.bts__card img { width: 100%; height: 100%; object-fit: cover; }
.bts__note { position: absolute; bottom: 28px; left: 0; right: 0; text-align: center; font-size: 14px; color: var(--muted); opacity: calc(1 - var(--p, 0) * 3); }
@media (max-width: 899px), (prefers-reduced-motion: reduce) {
  .bts { height: auto; }
  .bts__sticky { position: relative; height: auto; display: block; padding: clamp(96px, 13vw, 180px) 0 0; }
  .bts__head { position: relative; top: auto; opacity: 1; transform: none; padding-inline: var(--gut); margin-bottom: 32px; }
  .bts__stage { height: auto; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .bts__stage { flex: none; }
  .bts__main { position: relative; left: auto; top: auto; translate: none; width: auto; height: auto; grid-column: span 3; aspect-ratio: 4 / 5; max-height: 70svh; }
  .bts__card { position: relative; left: auto; top: auto; width: auto; transform: none; opacity: 1; aspect-ratio: 3 / 4; }
  .bts__note { display: none; }
}

/* proces: karty nakładają się przy przewijaniu */
.stack { display: grid; gap: 24px; }
.stack__card { position: sticky; top: calc(var(--nav) + 24px + var(--i) * 18px); min-height: min(72svh, 620px); background: var(--bg-2); border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; box-shadow: 0 -30px 60px -40px rgb(0 0 0 / .9); transform-origin: 50% 0; }
.stack__num { font-family: var(--display); font-size: clamp(64px, 9vw, 140px); font-stretch: 125%; line-height: .9; color: var(--accent); letter-spacing: -0.05em; }
.stack__card h3 { font-family: var(--display); font-size: clamp(28px, 3vw, 44px); font-stretch: 112%; letter-spacing: -0.03em; margin: 20px 0 16px; }
.stack__card p { color: var(--muted); max-width: 42ch; font-size: var(--lead); }
.stack__media { height: 100%; min-height: 320px; max-height: 520px; border-radius: 20px; overflow: hidden; background: #000; }
.stack__media img, .stack__media video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { .stack__card { grid-template-columns: 1fr; min-height: 0; top: calc(var(--nav) + 12px + var(--i) * 10px); } .stack__media { min-height: 0; aspect-ratio: 4 / 3; } }

/* wyniki: duża typografia */
.facts { display: grid; }
.fact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: baseline; padding: clamp(24px, 3vw, 40px) 0; border-top: 1px solid var(--line); }
.fact:last-child { border-bottom: 1px solid var(--line); }
.fact strong { font-family: var(--display); font-weight: 500; font-size: clamp(32px, 4.6vw, 72px); font-stretch: 112%; letter-spacing: -0.035em; line-height: 1; }
.fact > span { color: var(--muted); font-size: var(--lead); }
@media (max-width: 767px) { .fact { grid-template-columns: 1fr; gap: 10px; } }

/* usługi: bento z kadrami */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.svc { position: relative; grid-column: span 4; min-height: 380px; border-radius: var(--r); overflow: hidden; background: var(--bg-2); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; isolation: isolate; }
.svc--wide { grid-column: span 6; }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1200ms var(--ease); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(13 11 10 / .05) 30%, rgb(13 11 10 / .88)); }
.svc:hover img { transform: scale(1.05); }
.svc h3 { margin-bottom: 6px; }
.svc p { color: rgb(236 232 225 / .82); font-size: 15px; line-height: 1.5; max-width: 40ch; }
@media (max-width: 1023px) { .svc, .svc--wide { grid-column: span 6; } }
@media (max-width: 639px) { .bento { gap: 10px; } .svc, .svc--wide { grid-column: span 12; min-height: 300px; } }

/* o mnie */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__text { display: grid; gap: 24px; }
.about__text h2 { font-size: var(--h2); }
.quote { font-family: var(--display); font-size: clamp(24px, 2.4vw, 36px); font-stretch: 108%; letter-spacing: -0.02em; line-height: 1.2; border-left: 2px solid var(--accent); padding-left: 24px; }
.about__media { position: relative; height: min(80svh, 720px); }
.about__video { position: absolute; right: 0; top: 0; width: 66%; height: 100%; border-radius: 28px; overflow: hidden; }
.about__video video { width: 100%; height: 100%; object-fit: cover; }
.about__portrait { position: absolute; left: 0; bottom: 8%; width: 44%; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; border: 6px solid var(--bg); box-shadow: 0 30px 60px -20px rgb(0 0 0 / .8); }
.about__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.about__badge { position: absolute; left: 6%; top: 10%; z-index: 2; background: var(--accent); color: var(--accent-ink); font-weight: 500; font-size: 14px; padding: 10px 16px; border-radius: 999px; }
@media (max-width: 899px) { .about { grid-template-columns: 1fr; } .about__media { height: 120vw; max-height: 640px; } }

/* film YouTube */
.media { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 96px); align-items: center; }
.media h2 { font-size: var(--h2); margin-bottom: 20px; }
.yt { all: unset; box-sizing: border-box; position: relative; display: block; height: min(72svh, 640px); aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; cursor: pointer; background: #000; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.yt:hover img { transform: scale(1.04); }
.yt__play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; transition: transform 300ms var(--ease); }
.yt:hover .yt__play { transform: scale(1.08); }
.yt__play svg { width: 24px; height: 24px; margin-left: 4px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (max-width: 767px) { .media { grid-template-columns: 1fr; } .yt { width: 100%; height: auto; max-width: 360px; } }

/* konsultacja */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact h2 { font-size: var(--h2); margin-bottom: 24px; }
.ticks { list-style: none; margin: 32px 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: baseline; font-size: var(--lead); }
.ticks li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); translate: 0 -2px; }
.phone-big { font-family: var(--display); font-size: clamp(30px, 3.4vw, 48px); font-stretch: 112%; letter-spacing: -0.03em; text-decoration: none; display: inline-block; border-bottom: 2px solid var(--accent); line-height: 1.2; }
.form-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 20px; }
.form-person { display: flex; gap: 16px; align-items: center; }
.form-person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.form-person h3 { font-size: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field select { height: 54px; border-radius: 14px; border: 1px solid rgb(236 232 225 / .2); background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; padding: 0 16px; transition: border-color 200ms; }
.field input:focus, .field select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgb(255 106 26 / .25); }
.field input[aria-invalid="true"] { border-color: #ff5a5a; }
.field__error { color: #ff8a8a; font-size: 14px; }
.form-card .btn { width: 100%; }
.form__status { font-size: 15px; min-height: 1.5em; }
.consent { font-size: 14px; color: var(--muted); }
@media (max-width: 899px) { .contact { grid-template-columns: 1fr; } }

/* stopka */
.footer { padding: clamp(80px, 10vw, 140px) 0 40px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__cta { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(56px, 8vw, 120px); }
.footer__cta h2 { font-size: var(--h2); max-width: 14ch; }
.footer__word { font-family: var(--display); font-weight: 600; font-stretch: 125%; font-size: clamp(34px, 8.6vw, 140px); letter-spacing: -0.05em; line-height: .85; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgb(236 232 225 / .25); margin-bottom: 48px; user-select: none; }
.footer__word span { background: linear-gradient(90deg, var(--accent), var(--accent)) 0 0 / var(--fill, 0%) 100% no-repeat; -webkit-background-clip: text; background-clip: text; }
.footer__cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer__cols h3 { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 12px; }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer__cols a { text-decoration: none; color: var(--ink); display: inline-block; padding: 6px 0; overflow-wrap: anywhere; }
.footer__cols a:hover { color: var(--accent); }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; color: var(--muted); }
.footer__legal a { color: inherit; }
@media (max-width: 767px) { .footer__cols { grid-template-columns: 1fr; } }

/* pasek na telefonie */
.bar { display: none; }
@media (max-width: 767px) {
  .bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgb(13 11 10 / .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 400ms var(--ease); }
  .bar.is-on { transform: none; }
  .bar .btn { flex: 1; min-height: 48px; padding: 0 12px; }
  body { padding-bottom: 0; }
  .footer { padding-bottom: 110px; }
}

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100svh; }
.lightbox::backdrop { background: rgb(5 4 4 / .94); backdrop-filter: blur(6px); }
.lightbox[open] .lightbox__inner { animation: lbIn 500ms var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 64px 16px 24px; }
.lightbox video { display: block; width: auto; height: auto; max-width: min(calc(100vw - 32px), 1280px); max-height: calc(100svh - 96px); object-fit: contain; border-radius: 18px; background: #000; }
.lightbox__close { position: absolute; top: 12px; right: 12px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .3); background: #0d0b0a; color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox__close svg { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
  .marquee__track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

.yt--local { cursor: auto; }
.yt--local video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.model { display: grid; gap: 12px; margin-top: 8px; }
.model__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.model__row video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; background: #000; }

/* opinie */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; background: rgb(236 232 225 / .03); }
.quote blockquote { margin: 0; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; }
.quote blockquote::before { content: "„"; display: block; font-family: var(--display); font-size: 64px; line-height: 1; height: 34px; margin-bottom: 14px; color: var(--accent); }
.quote figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.quote figcaption span { color: var(--muted); }
.quote--big { grid-row: span 1; border-color: rgb(255 106 26 / .45); }
.quote--big blockquote { font-family: var(--display); font-stretch: 105%; letter-spacing: -0.01em; }
.voices { margin-top: 40px; display: grid; gap: 14px; }
.voices__head { font-size: 14px; color: var(--muted); margin-top: 10px; }
.voices__row { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.voices__row li { border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-size: 16px; }
@media (max-width: 899px) { .quotes { grid-template-columns: 1fr; } }

/* KATANA: kinetyczne napisy (sekcja #problem) – zmieniają się same, sekcja ma zwykłą wysokość */
.kat { position: relative; padding: clamp(72px, 10vw, 140px) 0; background: radial-gradient(ellipse 45% 50% at 75% 55%, rgb(255 106 26 / .14), transparent 75%), #0d0b0a; overflow: hidden; }
.kat__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.kat__label { font-family: inherit; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); display: flex; gap: 10px; align-items: center; line-height: 1.4; }
.kat__label::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.kat__bars { display: flex; gap: 6px; margin: 22px 0 26px; max-width: 360px; cursor: pointer; }
.kat__bars i { flex: 1; height: 3px; border-radius: 3px; background: rgb(236 232 225 / .16); overflow: hidden; position: relative; }
.kat__bars i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(var(--f, 0)); transform-origin: left; }
.kat__planes { position: relative; display: grid; min-height: calc(2 * .92 * var(--kfs) + 40px); --kfs: clamp(40px, 6.2vw, 104px); cursor: pointer; }
.kat__plane { grid-area: 1 / 1; color: #f4f1ea; visibility: hidden; }
.kat__plane.is-on, .kat__plane.is-out { visibility: visible; }
.kat__s { font-family: var(--display); font-weight: 500; font-size: clamp(12px, 1.1vw, 16px); font-stretch: 125%; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 12px; color: var(--muted); opacity: 0; transform: translateY(8px); transition: opacity 300ms var(--ease), transform 400ms var(--ease); }
.kat__plane.is-on .kat__s { opacity: 1; transform: none; }
.kat__big { font-family: var(--display); font-weight: 800; font-stretch: 118%; font-size: var(--kfs); line-height: .92; letter-spacing: -0.03em; text-transform: uppercase; }
.kat__big .wd { display: block; white-space: nowrap; overflow: hidden; padding: .16em 0 .06em; margin: -.16em 0 -.06em; }
.kat__big .ch { display: inline-block; transform: translateY(125%); transition: transform 520ms cubic-bezier(.2, .9, .25, 1); transition-delay: calc(var(--j) * 22ms); }
.kat__plane.is-on .ch { transform: none; }
.kat__plane.is-out .ch { transform: translateY(-125%); transition-duration: 320ms; transition-timing-function: cubic-bezier(.6, 0, .8, .4); transition-delay: calc(var(--j) * 10ms); }
.fire { color: #ff6a1a; }
/* rolki obok: przy problemach wyszarzone i "pominięte", przy rozwiązaniu ożywają */
.kat__feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: center; }
.kat__reel { position: relative; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: #1e1a17; border: 1px solid var(--line); transition: transform 700ms var(--ease), filter 700ms, box-shadow 700ms; filter: grayscale(1) brightness(.45); }
.kat__reel:nth-child(2) { transform: translateY(-8%); }
.kat__reel video { width: 100%; height: 100%; object-fit: cover; }
.kat__skip { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; background: rgb(13 11 10 / .7); color: var(--muted); white-space: nowrap; transition: opacity 400ms; }
.kat__reel.is-skip .kat__skip { animation: kat-skip 420ms var(--ease); }
@keyframes kat-skip { 0% { transform: translate(-50%, 6px); opacity: 0; } 100% { transform: translate(-50%, 0); opacity: 1; } }
.kat.is-good .kat__reel { filter: none; box-shadow: 0 20px 60px -20px rgb(255 106 26 / .55); }
.kat.is-good .kat__reel:nth-child(1) { transform: rotate(-4deg) translateY(4%); }
.kat.is-good .kat__reel:nth-child(2) { transform: translateY(-10%) scale(1.06); }
.kat.is-good .kat__reel:nth-child(3) { transform: rotate(4deg) translateY(4%); }
.kat.is-good .kat__skip { opacity: 0; }
@media (max-width: 899px) {
  .kat { padding: 64px 0 56px; }
  .kat__grid { grid-template-columns: 1fr; gap: 28px; }
  .kat__planes { --kfs: 9.4vw; min-height: calc(2 * .92 * 9.4vw + 34px); }
  .kat__big { font-stretch: 100%; }
  .kat__bars { margin: 18px 0 20px; }
  .kat__feed { gap: 8px; width: 100%; max-width: 420px; }
  .kat__reel { border-radius: 12px; }
}
/* bez JS / ograniczony ruch: plansze jedna pod drugą */
.no-js .kat__plane, .rm .kat__plane { grid-area: auto; visibility: visible; margin-bottom: 24px; }
.no-js .kat__plane .ch, .rm .kat__plane .ch, .no-js .kat__s, .rm .kat__s { transform: none; opacity: 1; }
.no-js .kat__bars, .rm .kat__bars { display: none; }

/* CHECKPOINTY: zaczepki między sekcjami */
.cp { padding: 18px 0; }
.cp__in { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: 1fr auto; gap: 14px 32px; align-items: center; background: linear-gradient(120deg, rgb(255 106 26 / .07), transparent 60%), var(--bg-2); opacity: 0; transform: translateY(24px) scale(.98); transition: opacity 600ms var(--ease), transform 700ms var(--ease); }
.cp.is-in .cp__in { opacity: 1; transform: none; }
.no-js .cp__in, .rm .cp__in { opacity: 1; transform: none; }
.cp__tag { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.cp__pips { display: inline-flex; gap: 5px; }
.cp__pips i { width: 8px; height: 8px; border-radius: 50%; background: rgb(236 232 225 / .16); }
.cp__pips i.on { background: var(--accent); }
.cp.is-in .cp__pips i.on:last-of-type { animation: cp-pop 600ms 300ms cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes cp-pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
.cp__q { font-family: var(--display); font-weight: 600; font-stretch: 112%; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; transition: opacity 250ms; }
.cp__q.is-swap { opacity: 0; }
.cp__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cp__btns .btn { min-height: 48px; }
.cp[data-cp="4"].is-in .cp__in { animation: cp-shake 600ms 700ms both; }
@keyframes cp-shake { 0%, 100% { translate: 0; } 20% { translate: -6px; } 40% { translate: 6px; } 60% { translate: -4px; } 80% { translate: 3px; } }
.cp[data-cp="5"] .cp__q { font-size: clamp(30px, 4vw, 60px); }
@media (max-width: 767px) {
  .cp__in { grid-template-columns: 1fr; }
  .cp__btns .btn { flex: 1 1 auto; }
}

/* kropka postępu: linia pod treścią (z-index -1), kropka nad treścią */
.pflow { position: absolute; left: 0; top: 0; z-index: -1; pointer-events: none; overflow: visible; }
.pflow path { fill: none; stroke-linecap: round; }
.pflow__todo { stroke: rgb(236 232 225 / .1); stroke-width: 1.2; stroke-dasharray: 1 9; }
.pflow__done { stroke: #ff6a1a; stroke-width: 2; opacity: .75; }
.pdot { position: absolute; left: 0; top: 0; z-index: 45; width: 14px; height: 14px; margin: -7px 0 0 -7px; pointer-events: none; will-change: transform; }
.pdot i, .pdot b { position: absolute; inset: 0; border-radius: 50%; }
.pdot i { background: #ff6a1a; box-shadow: 0 0 0 4px rgb(255 106 26 / .18), 0 0 22px rgb(255 106 26 / .8); }
.pdot b { border: 1.5px solid #ff6a1a; }
@media (max-width: 899px) { .pdot { width: 10px; height: 10px; margin: -5px 0 0 -5px; } .pflow__done { stroke-width: 1.5; } }

/* realizacje na telefonie: mniejsze kafle (widać 2 i kawałek trzeciego) + licznik i podpowiedź przesuwania */
.swipe, .only-m { display: none; }
@media (max-width: 899px) {
  .only-m { display: inline; color: var(--ink); font-weight: 500; }
  .hscroll__sticky { gap: 24px; }
  .track { gap: 10px; scroll-snap-type: x proximity; scroll-padding-inline: var(--gut); }
  .work, .work--feature { height: auto; width: 43vw; max-width: 230px; max-height: none; aspect-ratio: 9 / 16; scroll-snap-align: start; border-radius: 14px; }
  .work__meta { left: 10px; right: 10px; bottom: 10px; gap: 2px; }
  .work__cat { font-size: 10.5px; }
  .work__title { font-size: 13.5px; line-height: 1.2; }
  .work__play { top: 8px; right: 8px; width: 32px; height: 32px; }
  .work__play svg { width: 11px; height: 11px; }
  .swipe { display: flex; align-items: center; gap: 14px; margin-top: -8px; font-size: 13px; color: var(--muted); }
  .swipe__count { font-variant-numeric: tabular-nums; white-space: nowrap; }
  .swipe__count b { color: var(--ink); font-weight: 600; }
  .swipe__bar { flex: 1; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
  .swipe__bar i { display: block; height: 100%; background: var(--accent); width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, .08)); transition: transform 150ms linear; }
  .swipe__hint { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; white-space: nowrap; transition: opacity 400ms; }
  .swipe__hint svg { width: 22px; height: 12px; animation: swipe-nudge 1.4s var(--ease) infinite; }
  .swipe.is-used .swipe__hint { opacity: .35; }
  .swipe.is-used .swipe__hint svg { animation: none; }
}
@keyframes swipe-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

/* OFERTA */
.plans { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 36px); border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.plan--main { border-color: rgb(255 106 26 / .55); background: linear-gradient(160deg, rgb(255 106 26 / .12), transparent 55%), var(--bg-2); box-shadow: 0 30px 80px -40px rgb(255 106 26 / .45); }
.plan__kind { font-size: 13px; font-weight: 500; color: var(--muted); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.plan__tag { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); padding: 4px 10px; border-radius: 99px; }
.plan h3 { font-family: var(--display); font-size: clamp(24px, 2.2vw, 32px); font-stretch: 112%; letter-spacing: -0.02em; }
.plan__price { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 3vw, 44px); font-stretch: 112%; letter-spacing: -0.03em; line-height: 1; }
.plan__price small { font-size: .42em; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan__opts { display: flex; gap: 8px; flex-wrap: wrap; }
.plan__opts span { border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font-size: 14px; color: var(--muted); }
.plan__opts b { color: var(--ink); font-weight: 600; }
.plan__list { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 10px; flex: 1; }
.plan__list li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.45; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan .btn { align-self: stretch; }
.plans__note { margin-top: 18px; color: var(--muted); font-size: 15px; }
.gains { margin-top: clamp(48px, 6vw, 88px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.gains__h { font-family: var(--display); font-size: clamp(26px, 2.8vw, 40px); font-stretch: 112%; letter-spacing: -0.02em; margin-bottom: 28px; }
.gains__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 36px; }
.gains__list li { color: var(--muted); font-size: 16px; line-height: 1.5; padding-top: 16px; border-top: 2px solid rgb(255 106 26 / .5); }
.gains__list b { display: block; color: var(--ink); font-weight: 600; font-size: 17px; margin-bottom: 6px; }
@media (max-width: 1023px) { .plans { grid-template-columns: 1fr; } .plan--main { order: -1; } .gains__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .gains__list { grid-template-columns: 1fr; gap: 20px; } }
.plan__desc { color: var(--muted); font-size: 15.5px; line-height: 1.45; margin-top: -4px; }

/* v4 (24.11 wieczór): krócej przewijana strona */
.section { padding: clamp(64px, 8vw, 120px) 0; }
.section-head { margin-bottom: clamp(28px, 3.5vw, 48px); }
.bts { height: 190vh; }

/* proces: trzy karty obok siebie zamiast przyklejanych na cały ekran */
.stack { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stack__card { position: relative; top: auto; min-height: 0; grid-template-columns: 1fr; gap: 18px; padding: 18px 18px 24px; border-radius: var(--r); align-items: start; box-shadow: none; transition: transform 500ms var(--ease), border-color 300ms; }
.stack__card:hover { transform: translateY(-6px); border-color: rgb(255 106 26 / .5); }
.stack__card > div:first-child { order: 2; padding: 0 6px; }
.stack__media { order: 1; min-height: 0; max-height: none; aspect-ratio: 4 / 3; height: auto; border-radius: 14px; }
.stack__num { font-size: clamp(36px, 3.4vw, 52px); }
.stack__card h3 { font-size: clamp(20px, 1.7vw, 26px); margin: 8px 0 8px; }
.stack__card p { font-size: 15.5px; }
.js .stack__card { opacity: 0; transform: translateY(40px); transition: opacity 700ms var(--ease), transform 800ms var(--ease); transition-delay: calc(var(--i) * 120ms); }
.js .stack.is-in .stack__card { opacity: 1; transform: none; }
.js .stack.is-in .stack__card:hover { transform: translateY(-6px); }
@media (max-width: 767px) { .stack { grid-template-columns: 1fr; } .stack__card { grid-template-columns: 120px 1fr; align-items: center; padding: 12px; gap: 14px; } .stack__card > div:first-child { order: 2; padding: 0; } .stack__media { aspect-ratio: 1; } .stack__num { font-size: 28px; } .stack__card h3 { font-size: 18px; margin: 2px 0 4px; } .stack__card p { font-size: 14px; line-height: 1.45; } }

/* wyniki: cztery kafle z animowaną linią */
.facts--tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.facts--tiles .fact { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); position: relative; overflow: hidden; }
.facts--tiles .fact:last-child { border-bottom: 1px solid var(--line); }
.facts--tiles .fact::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1100ms var(--ease) 300ms; }
.facts--tiles .fact.is-in::before { transform: scaleX(1); }
.facts--tiles .fact strong { font-size: clamp(22px, 1.9vw, 30px); line-height: 1.1; }
.facts--tiles .fact > span { font-size: 15px; line-height: 1.45; }
.facts--tiles .fact:nth-child(2) { --d: 100ms; } .facts--tiles .fact:nth-child(3) { --d: 200ms; } .facts--tiles .fact:nth-child(4) { --d: 300ms; }
@media (max-width: 1023px) { .facts--tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .facts--tiles { gap: 10px; } .facts--tiles .fact { padding: 16px; } .facts--tiles .fact strong { font-size: 19px; } .facts--tiles .fact > span { font-size: 13.5px; } }

/* realizacje na komputerze: karuzela 3D */
.only-d, .ring__ctrl { display: none; }
.hscroll.is-ring .only-d { display: inline; color: var(--ink); font-weight: 500; }
.hscroll.is-ring { height: auto !important; }
.hscroll.is-ring .hscroll__sticky { position: relative; height: auto; overflow: hidden; padding: clamp(64px, 8vw, 110px) 0 24px; gap: 8px; perspective: 1700px; perspective-origin: 50% 40%; cursor: grab; user-select: none; }
.hscroll.is-ring .hscroll__sticky:active { cursor: grabbing; }
.hscroll.is-ring .track { position: relative; height: 420px; padding: 0; transform-style: preserve-3d; will-change: transform; margin-top: 10px; }
.hscroll.is-ring .work { position: absolute; left: 50%; top: 50%; width: 200px; height: 356px; margin: -178px 0 0 -100px; border-radius: 16px; backface-visibility: hidden; transition: box-shadow 300ms; }
.hscroll.is-ring .work:hover { transform: none; }
.hscroll.is-ring .work.is-front { box-shadow: 0 30px 70px -20px rgb(255 106 26 / .55), 0 0 0 2px rgb(255 106 26 / .8); }
.hscroll.is-ring .work__title { font-size: 15px; }
.hscroll.is-ring .work__meta { left: 12px; right: 12px; bottom: 12px; }
.hscroll.is-ring .work__play { width: 36px; height: 36px; top: 10px; right: 10px; }
.hscroll.is-ring .progress { display: none; }
.hscroll.is-ring .ring__ctrl { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; }
.ring__ctrl button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background-color 200ms, border-color 200ms; }
.ring__ctrl button:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ring__ctrl svg { width: 20px; height: 20px; }
.ring__count { font-variant-numeric: tabular-nums; color: var(--muted); min-width: 64px; text-align: center; }
.ring__count b { color: var(--ink); }
.ring__hint { color: var(--muted); font-size: 14px; margin-left: 12px; }
.hscroll.is-ring img { -webkit-user-drag: none; pointer-events: none; }
.rm .stack__card, .no-js .stack__card { opacity: 1; transform: none; }
.stack__media { aspect-ratio: 16 / 10; }
#proces .section-head h2 { font-size: clamp(30px, 3.4vw, 52px); }
@media (max-width: 767px) { .stack__media { aspect-ratio: 1; } }
