/* 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: kinetyczna typografia (sekcja #problem) */
.kat { position: relative; height: 420svh; background: #0d0b0a; }
.kat__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: radial-gradient(ellipse 50% 45% at 62% 58%, rgb(255 106 26 / .16), transparent 75%), #0d0b0a; }
.kat__label { position: absolute; z-index: 5; top: calc(var(--nav, 72px) + 20px); left: var(--gut); font-family: inherit; font-size: 14px; font-weight: 500; letter-spacing: 0; color: #fff; mix-blend-mode: difference; display: flex; gap: 10px; align-items: center; }
.kat__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.kat__planes, .kat__plane, .kat__rig { position: absolute; inset: 0; }
.kat__plane { visibility: hidden; color: #f4f1ea; }
.kat__plane.is-on { visibility: visible; }
.kat__rig { display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gut); transform-origin: 55% 50%; }
/* typografia */
.kat__s { position: relative; z-index: 1; width: fit-content; font-family: var(--display); font-weight: 500; font-size: clamp(15px, 1.5vw, 22px); font-stretch: 125%; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 18px; opacity: .85; }
.kat__s--after { margin: 28px 0 0; letter-spacing: .12em; }
.kat__s.typing::after { content: ""; display: inline-block; width: .55em; height: 1.05em; margin-left: .15em; vertical-align: -.15em; background: #ff6a1a; animation: kat-blink .5s steps(1) infinite; }
@keyframes kat-blink { 50% { opacity: 0; } }
.kat__big { position: relative; z-index: 1; font-family: var(--display); font-weight: 800; font-stretch: 125%; font-size: min(9.6vw, 18svh); line-height: .9; letter-spacing: -0.03em; text-transform: uppercase; }
.kat__big .wd { display: block; white-space: nowrap; }
.kat__big .ch { display: inline-block; will-change: transform; }
.fire { color: #ff6a1a; }
@media (max-width: 899px) {
  .kat { height: 400svh; }
  .kat__big { font-size: 12.4vw; font-stretch: 100%; }
    }
/* bez JS / ograniczony ruch: plansze jedna pod drugą */
.no-js .kat, .rm .kat { height: auto; }
.no-js .kat__stage, .rm .kat__stage { position: static; height: auto; }
.no-js .kat__planes, .rm .kat__planes, .no-js .kat__plane, .rm .kat__plane, .no-js .kat__rig, .rm .kat__rig { position: relative; inset: auto; visibility: visible; }
.no-js .kat__rig, .rm .kat__rig { padding: 120px var(--gut); }
.no-js .kat__label, .rm .kat__label { position: relative; top: auto; left: auto; padding: 80px var(--gut) 0; mix-blend-mode: normal; color: var(--muted); }
.kat__s { opacity: .6; }

/* 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; } }
