/* whosz.pl: main.css. Tokeny i komponenty: docs/PLAN.md A4. */

/* fonty: Plus Jakarta Sans, latin + latin-ext (scripts/vendor.sh) */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  /* kolory */
  --bg:        #F3F3F3;   /* tło strony */
  --surface:   #FFFFFF;   /* karty, pasek z nazwami firm */
  --ink:       #231F20;   /* tekst główny */
  --ink-soft:  #6B6768;   /* tekst pomocniczy */
  --ink-fade:  #8A8A8A;   /* wygaszony tekst: TYLKO tekst ≥ 24 px (kontrast 3:1 na --bg) */
  --black:     #000000;   /* sekcje ciemne, stopka */
  --mint:      #82FFCD;   /* akcent: główne CTA, pigułki, karta S06 */
  --lavender:  #E2CBFF;   /* podświetlenia słów, kropki przy nagłówkach */
  --line:      #D0D5D2;   /* separatory */
  --header-bg: #EBEBEB;   /* pigułka nagłówka */
  --field-bg:  #111111;   /* pola formularza na czarnym tle */
  --field-line:#333333;

  /* typografia */
  --font: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --fs-display: clamp(2.4rem, 9vw, 10rem);
  --fs-giant:   clamp(4rem, 16vw, 15rem);
  --fs-contact: clamp(2.25rem, 11vw, 10rem);
  --fs-h2:      clamp(2rem, 4vw, 3.5rem);
  --fs-h3:      clamp(1.5rem, 2.4vw, 2.25rem);
  --fs-lead:    clamp(1.25rem, 2.2vw, 2rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.8125rem;

  /* promienie (celowo różne dla różnych poziomów) */
  --r-pill: 999px;
  --r-img:  16px;
  --r-card: 24px;
  --r-section: 40px;

  /* rytm */
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(80px, 12vw, 180px);
  --maxw: 1440px;

  --ease-out: cubic-bezier(.22,1,.36,1);
}

/* Lenis 1.3 (lenis.css wklejony tutaj: jedno blokujące żądanie mniej; DECYZJA, A2 zakładało osobny plik w vendor/) */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

/* baza */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-body)/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; }
h2, h3 { line-height: 1.22; }   /* decyzja właściciela: nagłówki sekcji o 20% luźniej niż 1.02 z A4.1; h1 (hero) zostaje 1.02 */
img, video, svg { display: block; max-width: 100%; }
img, video { filter: saturate(.92) contrast(1.04); }   /* wszystkie zdjęcia jak z jednej sesji (A4.2) */
a { color: inherit; }
strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.section--dark :focus-visible, .footer :focus-visible { outline-color: var(--mint); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 18px; border-radius: var(--r-pill); background: var(--ink); color: #fff; text-decoration: none; transform: translateY(-150%); }
.skip:focus { transform: none; }
section[id] { scroll-margin-top: 100px; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* logotyp: sam sygnet, kolor dziedziczony; .logo__word tylko jako zastępstwo, gdy brak plików w brand/ */
.logo { display: inline-flex; align-items: center; height: 26px; font: 700 22px/1 var(--font); letter-spacing: -0.02em; }
.logo__mark { flex: none; height: 100%; width: auto; aspect-ratio: 467 / 401.25; }

/* przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border: 0; border-radius: var(--r-pill); font: 500 15px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s; }
.btn--primary { background: var(--mint); color: var(--black); }
.btn--primary:hover { background: #5FF5BA; }
.btn--dark { background: var(--black); color: var(--mint); }
.btn--dark:hover { background: var(--ink); }

mark { background: linear-gradient(var(--lavender), var(--lavender)) no-repeat 0 0 / 100% 100%; color: inherit; padding: 0 .15em; border-radius: 6px; }

/* ---------- komponenty (A4.2) ---------- */
.label-pill { display: inline-flex; align-items: center; gap: 12px; padding: 13px 26px 13px 24px; border-radius: var(--r-pill); background: var(--surface); font-size: 14px; font-weight: 500; line-height: 1.3; }
.label-pill__arrow { flex: none; }
.stat-pill { display: inline-flex; align-items: center; padding: .95em 1.8em; border-radius: var(--r-pill); background: var(--mint); color: var(--black); font-size: clamp(15px, 1.25vw, 18px); font-weight: 500; line-height: 1.2; white-space: nowrap; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.tag { display: inline-flex; padding: 6px 14px; border: 1px solid currentColor; border-radius: var(--r-pill); font-size: 12px; line-height: 1.3; }
.link-arrow { display: inline-flex; align-items: center; gap: 14px; font-weight: 500; text-decoration: none; }
.link-arrow__line { width: 60px; height: 10px; transition: width .3s var(--ease-out); }
.link-arrow:hover .link-arrow__line { width: 90px; }
.section--dark { position: relative; margin-top: -40px; border-radius: var(--r-section) var(--r-section) 0 0; background: var(--black); color: #fff; }

/* ---------- S00 nagłówek ---------- */
.header__pill { position: absolute; z-index: 50; top: 32px; left: var(--gutter); right: var(--gutter); max-width: calc(var(--maxw) - 2 * var(--gutter)); margin-inline: auto;
  height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 6px 0 24px; border-radius: var(--r-pill); background: var(--header-bg); }
.header__logo { display: inline-flex; color: var(--ink); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__cta { padding-block: 12px; }
.lang { display: flex; gap: 10px; margin-right: 10px; font-size: 14px; }
.lang__item { text-decoration: none; color: var(--ink-soft); }
.lang__item:hover { color: var(--ink); }
.lang__item--active { font-weight: 700; color: var(--ink); }
.menu-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--black); color: #fff; cursor: pointer; }

/* kompaktowa pigułka: pojawia się po 100 px (klasa .is-scrolled z main.js); bez JS zostaje pigułka u góry strony */
.header__compact { position: fixed; z-index: 50; top: 24px; right: var(--gutter); display: flex; align-items: center; gap: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), visibility 0s .4s; }
.is-scrolled .header__compact { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.header__nav { display: none; }
/* desktop jak u Marino (decyzja właściciela): samo logo po lewej, po prawej przyklejona biała pigułka z linkami,
   językiem i „Kontakt”; po przewinięciu pigułka robi się półprzezroczysta szara */
@media (min-width: 1200px) {
  .header__pill { top: 32px; height: 64px; padding-left: 0; background: transparent; }
  .header__pill .logo { height: 30px; }
  .header__actions { display: none; }
  .header__compact { top: 32px; right: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); opacity: 1; visibility: visible; transform: none; }   /* do prawej krawędzi kontenera, jak logo */
  .header__nav { display: flex; align-items: center; gap: 8px; height: 64px; padding: 8px 8px 8px 20px; border-radius: var(--r-pill); background: var(--surface);
    transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out); }
  .is-scrolled .header__nav { background: rgba(235, 235, 235, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 6px 24px rgba(0,0,0,.06); }
  .header__nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
  .header__nav li a { display: block; padding: 12px 22px; font-size: 15px; text-decoration: none; border-radius: var(--r-pill); transition: background-color .2s; }
  .header__nav li a:hover { background: rgba(0,0,0,.05); }
  .header__nav .lang { margin: 0 8px 0 10px; }
  .header__nav .btn { padding: 13px 28px; }
  .header__compact .menu-btn { display: none; }
}


/* menu pełnoekranowe: natywny <dialog> */
.menu { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 32px var(--gutter) 40px; border: 0; background: var(--black); color: #fff; }
.menu[open] { display: flex; flex-direction: column; }
.menu::backdrop { background: transparent; }
.menu :focus-visible { outline-color: var(--mint); }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: 56px; padding-left: 24px; }
.menu__logo { height: 28px; }
.menu__close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #333; border-radius: 50%; background: none; color: #fff; cursor: pointer; }
.menu__links { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 4px; margin: 0; padding: 0 0 0 24px; list-style: none; }
.menu__links a { font-size: clamp(48px, 6vw, 64px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; text-decoration: none; }
.menu__links a:hover { color: var(--mint); }
.menu__contact { display: flex; flex-wrap: wrap; gap: 8px 32px; padding-left: 24px; font-size: 18px; }
.menu__contact a { text-decoration: none; color: #BDBDBD; }
.menu__contact a:hover { color: #fff; }

@media (max-width: 767px) {
  .header__pill { top: 16px; left: 16px; right: 16px; padding-left: 20px; }
  .header__cta { padding: 11px 18px; }
  .lang { margin-right: 4px; }
  .header__compact { top: 22px; right: 22px; }
  .menu { padding: 16px; }
}

/* ---------- S01 hero ---------- */
/* ukrycie do czasu M1 + bezpiecznik, gdyby JS się nie wykonał (A5). Slot H1 (LCP) nigdy nie jest ukrywany. */
.js .hero__line, .js .hero__pill, .js .hero__media--reveal { visibility: hidden; animation: failsafe 0s 2s forwards; }
@keyframes failsafe { to { visibility: visible; } }

.hero { padding: 136px 0 var(--section-y); overflow-x: clip; }   /* bez min-height: 100svh z A7 (decyzja właściciela): na wysokich ekranach zostawała pusta przestrzeń */   /* linie rozjeżdżają się przy scrollu o ±40 px: bez tego poziomy scroll */
.hero__inner { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.hero__eyebrow { margin-bottom: 24px; }
.hero__stage { --line: calc(var(--fs-display) * 1.02); display: grid; grid-template-rows: repeat(4, auto); font-size: var(--fs-display); }
.hero__title { grid-area: 1 / 1 / 5 / 2; display: grid; grid-template-rows: subgrid; font-size: inherit; }
.hero__line { display: block; justify-self: start; white-space: nowrap; }
.hero__line--4 { color: var(--ink-fade); }
.hero__line > div { padding-block: .12em .24em; margin-block: -.12em -.24em; }   /* maska SplitText nie przycina ogonków (ę, ą) ani wydłużeń (y, j) */
.hero__media { overflow: hidden; border-radius: var(--r-img); background: var(--header-bg); }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__pill { grid-column: 1; justify-self: end; z-index: 1; }
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: 40px; }
.hero__lead { max-width: 60ch; color: var(--ink-soft); }
.hero__lead strong { color: var(--ink); font-weight: 600; }
.hero__cta { flex: none; }
.hero__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 40px; }
.hero__contact { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 15px; }
.hero__contact a { text-decoration: none; }
.hero__contact a:first-child { font-weight: 700; }
.hero__contact a:hover { text-decoration: underline; }

/* desktop: każda linia w jednym wierszu ekranu, media i pigułki wplecione między linie */
@media (min-width: 1200px) {
  .hero__line--2 { margin-left: calc(var(--line) * .86 * 16 / 10 + .35em); }   /* miejsce na slot H1 (16:10) */
  .hero__line--4 { margin-left: 1em; }
  .hero__media--h1 { grid-area: 2 / 1; align-self: center; height: calc(var(--line) * .86); aspect-ratio: 16 / 10; }   /* szerszy kadr jak u Marino */
  .hero__media--h2 { grid-area: 3 / 1; align-self: center; justify-self: end; margin-right: 10%; height: calc(var(--line) * 1.12); aspect-ratio: 16 / 10; }   /* koszykówka: +30% względem H1 (decyzja właściciela) */
  .hero__pill--1 { grid-row: 1; align-self: end; margin: 0 2% -12px 0; }   /* margines, nie transform: transform animuje GSAP */
  .hero__media--h3 { width: 120px; aspect-ratio: 3 / 4; }
  /* jak u Marino (decyzja właściciela): całe hero w jednym ekranie; dolny rząd = klip | opis | CTA i kontakt */
  .hero { padding: 118px 0 var(--section-y); }   /* ten sam odstęp hero → logotypy → S03 (decyzja właściciela) */
  .hero__stage { --fs-display: clamp(2.4rem, 8.4vw, 7.56rem); }   /* maks. 121 px: kontener kończy się na 1440 px, większy napis wchodził na media i pigułki */
  .hero__pill { font-size: 20px; }
  .hero__media { box-shadow: 0 0 64px rgba(130, 255, 205, .55); }
  .hero__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 48px; }
  .hero__eyebrow { grid-column: 1 / -1; justify-self: start; }
  .hero__stage { grid-column: 1 / -1; }
  .hero__bottom, .hero__foot { display: contents; }
  .hero__media--h3 { grid-column: 1; grid-row: 3 / span 2; margin-top: 36px; }
  .hero__lead { grid-column: 2; grid-row: 3 / span 2; align-self: center; margin-top: 36px; max-width: 58ch; }
  .hero__cta { grid-column: 3; grid-row: 3; justify-self: end; align-self: start; margin-top: 36px; }
  .hero__contact { grid-column: 3; grid-row: 4; justify-self: end; align-self: end; }
}
/* mobile i tablet: linie mogą się łamać, H2 i H3 ukryte, H1 pod całym <h1> na pełną szerokość */
@media (max-width: 1199px) {
  .hero { padding-top: 112px; }
  .hero__stage { grid-template-rows: auto; gap: 20px; }
  .hero__title { grid-area: 1 / 1; display: block; }
  .hero__line { white-space: normal; }
  .hero__media--h2, .hero__media--h3 { display: none; }
  .hero__media--h1 { grid-row: 3; aspect-ratio: 4 / 3; }
  .hero__pill { grid-row: 2; justify-self: start; font-size: 15px; }
  .hero__bottom { flex-direction: column; align-items: flex-start; gap: 24px; margin-top: 28px; }
  .hero__foot { margin-top: 28px; }
}
@media (max-width: 767px) {
  :root { --fs-display: clamp(2.4rem, 12.6vw, 4rem); }   /* DECYZJA: na telefonie 9vw daje 34 px, Marino ma ok. 15vw */
  .stat-pill { white-space: normal; }   /* długie pigułki (S09) nie mogą rozpychać strony w 320 px */
  .hero__pill { padding: .8em 1.3em; }
  .hero__stage > .hero__pill--1 { grid-row: 2; }
}

/* ---------- S02 pasek z nazwami firm ---------- */
.clients { display: flex; align-items: center; gap: 48px; min-height: 120px; padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); background: var(--surface); overflow: hidden; }   /* podpis równo z kontenerem */
.clients__label { flex: none; max-width: 16ch; font-size: 13px; line-height: 1.35; color: var(--ink-soft); }
.clients__marquee { flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 64px, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(to right, transparent, #000 64px, #000 calc(100% - 64px), transparent); }   /* logotypy wjeżdżają i znikają płynnie, bez uciętych fragmentów przy podpisie */
.clients__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.clients__marquee:hover .clients__track { animation-play-state: paused; }
.clients__list { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.clients__list li { flex: none; margin-right: clamp(48px, 6vw, 96px); }   /* logotypy w skali szarości, wielkość wyrównana optycznie */
.clients__list img { display: block; filter: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .clients__track { animation: none; } }
@media (max-width: 767px) {
  .clients { flex-direction: column; align-items: stretch; gap: 14px; padding: 22px 0; }
  .clients__label { max-width: none; padding-inline: var(--gutter); }
}

/* ---------- S03 o mnie (M2) ---------- */
.about { padding-block: calc(var(--section-y) - .25 * var(--fs-lead)) calc(var(--section-y) + 40px); }   /* minus margines nad literami: odstęp od logotypów = odstęp hero → logotypy */
.about__inner { display: flex; flex-direction: column; align-items: flex-end; gap: 40px; }
.reveal-text { max-width: 26em; font-size: var(--fs-lead); font-weight: 500; line-height: 1.5; letter-spacing: -0.02em; text-align: right; }   /* bez kropki (decyzja właściciela) */
.reveal-text mark { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (max-width: 767px) { .reveal-text { text-align: left; } .about__inner { align-items: flex-start; } }

/* ---------- S04 usługi ---------- */
.services { padding-block: var(--section-y); }
.services__head { display: grid; row-gap: 20px; }   /* bez kropki (decyzja właściciela) */
.services__intro { max-width: 46ch; color: #BDBDBD; }
.services__cta { justify-self: start; color: var(--mint); font-weight: 500; }
.services__title { font-size: var(--fs-h2); }
.services__grid { display: grid; gap: 64px var(--gutter); margin-top: 56px; }
/* Zaokrąglenie przez clip-path na jednej warstwie (will-change), nie overflow + border-radius: tamto przycinało obraz
   i ciemny gradient osobno, każde z własnym wygładzaniem, i na łuku zostawała jasna obwódka (konflikt wygładzania). */
.card__media { position: relative; aspect-ratio: 4 / 5; background: #111; clip-path: inset(0 round var(--r-card)); will-change: transform; }
.card__img { position: absolute; inset: 0; overflow: hidden; }
.card__img img, .card__img video { position: absolute; top: -10%; left: 0; width: 100%; height: 120%; object-fit: cover; }   /* zapas na parallax yPercent ±8 */
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0) 40%); pointer-events: none; }
.card__overlay { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 32px; display: grid; gap: 8px; }
.card__title { font-size: 28px; letter-spacing: -0.02em; color: #fff; }
.card .link-arrow { justify-self: start; font-size: 15px; color: #fff; }
.card__text { margin-top: 20px; max-width: 52ch; font-size: 16px; color: #BDBDBD; }
.card .tags { margin-top: 16px; color: #fff; }
@media (min-width: 768px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
  .card--2 { margin-top: 120px; }   /* karty przesunięte w pionie */
}
@media (min-width: 1200px) {
  /* DECYZJA: układ „Our latest work”: nagłówek i karty 2–3 po prawej, wysoka karta 1 po lewej (sticky, żeby nie zostawiać pustej kolumny) */
  .services .container { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(48px, 7vw, 100px); }
  .services__head { grid-column: 2; grid-row: 1; }
  .services__grid { display: contents; }
  .card--1 { grid-column: 1; grid-row: 1 / span 3; align-self: start; position: sticky; top: 120px; }
  .card--2 { grid-column: 2; grid-row: 2; margin-top: 56px; }
  .card--3 { grid-column: 2; grid-row: 3; margin-top: 120px; }
}

/* ---------- S05 dla kogo (M3) ---------- */
.who { padding-block: var(--section-y); overflow: clip; }
.who__title { max-width: 18em; margin-top: 28px; font-size: var(--fs-h2); }
.who__intro { max-width: 60ch; margin-top: 24px; color: var(--ink-soft); }
.who__group { margin-top: 64px; }
.who__group-title { margin-bottom: 20px; font-size: 15px; font-weight: 500; letter-spacing: 0; line-height: 1.4; color: var(--ink-soft); }
.who__list { margin: 0; padding: 0; list-style: none; }
.who__media { overflow: hidden; border-radius: var(--r-img); aspect-ratio: 4 / 5; background: var(--header-bg); }
.who__media img, .who__media video { width: 100%; height: 100%; object-fit: cover; }
.who__name { display: block; margin-top: 16px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.who__text { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }
.who__cta { display: inline-block; margin-top: 48px; font-weight: 500; }
/* slider kart (wszystko poza desktopem z kursorem i JS) */
.who__list { display: flex; gap: 16px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.who__list::-webkit-scrollbar { display: none; }
.who__item { flex: 0 0 min(78vw, 340px); scroll-snap-align: start; }

/* desktop z kursorem i JS: ciąg wielkich nazw, media i opis ukryte wizualnie, ramka przy kursorze */
@media (hover: hover) and (min-width: 1200px) {
  .js .who__list { display: flex; flex-wrap: wrap; align-items: center; gap: 0; margin: 0; padding: 0; overflow: visible; }
  .js .who__item { flex: none; display: flex; align-items: center; overflow: clip; padding-block: .06em .16em; margin-block: -.06em -.16em; font-size: var(--fs-h2); }
  .js .who__item:not(:last-child)::after { content: ""; width: .32em; height: .32em; margin-inline: .45em; border-radius: 50%; background: var(--lavender); }
  .js .who__name { margin: 0; font-size: inherit; letter-spacing: -0.03em; line-height: 1.38; cursor: default; transition: opacity .3s var(--ease-out); }   /* +20% (decyzja właściciela) */
  .js .who__media, .js .who__text { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .js .who.is-hovering .who__name { opacity: .35; }
  .js .who.is-hovering .who__item.is-active .who__name { opacity: 1; }
}
.who__frame { position: fixed; z-index: 40; top: 0; left: 0; width: 320px; pointer-events: none; visibility: hidden; }
.who__frame-media { position: relative; height: 400px; overflow: hidden; border-radius: var(--r-img); background: var(--header-bg); }
.who__frame-media > * { position: absolute; inset: 0; }
.who__frame-media img, .who__frame-media video { width: 100%; height: 100%; object-fit: cover; }
.who__frame-text { margin-top: 10px; padding: 14px 18px; border-radius: 14px; background: var(--surface); font-size: 14px; line-height: 1.45; color: var(--ink); box-shadow: 0 8px 30px rgba(0,0,0,.08); }

/* ---------- S06 oferta dla startupów ---------- */
.startup { padding-bottom: var(--section-y); }
.startup__card { display: grid; gap: 48px; padding: 64px; border-radius: var(--r-section); background: var(--mint); color: var(--black); }
.startup__title { font-size: var(--fs-h2); }
.startup__text { margin-top: 24px; max-width: 56ch; }
.startup__items { margin: 20px 0 0; padding: 0; list-style: none; }
.startup__items li { padding-block: 14px; border-bottom: 1px solid rgba(0,0,0,.2); font-weight: 500; }
.startup__items li:first-child { border-top: 1px solid rgba(0,0,0,.2); }
.startup__note { margin: 20px 0 28px; font-size: 15px; }
.startup :focus-visible { outline-color: var(--black); }
.startup__media { position: relative; }
.startup__img { overflow: hidden; border-radius: var(--r-img); }
.startup__img img { width: 100%; height: auto; }
.startup__img--main, .startup__img--small { display: none; }
@media (min-width: 1200px) {
  .startup__card { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .startup__img--mobile { display: none; }
  .startup__img--main { display: block; width: 82%; margin-left: auto; }
  .startup__img--small { display: block; position: absolute; left: 0; bottom: -32px; width: 55%; border: 6px solid #fff; border-radius: calc(var(--r-img) + 6px); }
}
@media (max-width: 1199px) { .startup__media { order: -1; } }
@media (max-width: 767px) { .startup__card { padding: 28px; gap: 28px; } }

/* ---------- S07 technologie ---------- */
.tech { padding-block: var(--section-y); background: var(--surface); }
.tech__title { max-width: 18em; margin-top: 28px; font-size: var(--fs-h2); }
.tech__list { margin: 56px 0 0; padding: 0; list-style: none; }
.tech__row { display: grid; grid-template-columns: 72px 1fr auto; column-gap: 32px; padding-block: 44px; border-bottom: 1px solid var(--line); }
.tech__row:first-child { border-top: 1px solid var(--line); }
.tech__row > :not(.tech__more, .tech__icon) { grid-column: 2; }
.tech__icon { grid-column: 1; grid-row: 1 / span 4; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: .45em; color: var(--ink); opacity: .65; transition: opacity .3s var(--ease-out); }   /* decyzja właściciela: 65% */
.tech__logo { width: 48px; height: 48px; }
/* decyzja właściciela: na hover (i fokus w wierszu) nazwa podświetla się lawendą od lewej, ikona na 100% */
.tech__label { margin-left: -.15em; padding: 0 .15em; border-radius: 6px; background: linear-gradient(var(--lavender), var(--lavender)) no-repeat 0 0 / 0% 100%; transition: background-size .45s var(--ease-out); }
@media (hover: hover) { .tech__row:hover .tech__label { background-size: 100% 100%; } .tech__row:hover .tech__icon { opacity: 1; } }
.tech__row:focus-within .tech__label { background-size: 100% 100%; }
.tech__row:focus-within .tech__icon { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .tech__label, .tech__icon { transition: none; } }
.tech__name { font-size: var(--fs-h2); }
.tech__text { max-width: 52ch; margin-top: 18px; font-size: clamp(1.0625rem, 1.5vw, 1.375rem); line-height: 1.5; color: var(--ink-soft); }
.tech__for { margin-top: 18px; justify-self: start; }
.tech__more { grid-column: 3; grid-row: 1 / span 4; align-self: end; }
@media (max-width: 767px) {
  .tech__row { grid-template-columns: 1fr; }
  .tech__row > :not(.tech__more, .tech__icon) { grid-column: 1; }
  .tech__icon { grid-row: auto; flex-direction: row; justify-content: flex-start; margin: 0 0 16px; }
  .tech__logo { width: 40px; height: 40px; }
  .tech__more { grid-column: 1; grid-row: auto; margin-top: 20px; justify-self: start; }
}
.tech .label-pill { background: var(--bg); }   /* biała pigułka na białym tle sekcji byłaby niewidoczna */

/* ---------- S08 proces ---------- */
.process { padding-block: var(--section-y); }
.process__inner { display: grid; gap: 48px; }
.process__title { font-size: var(--fs-h2); }
.process__steps { display: grid; gap: 48px; margin: 0; padding: 0; list-style: none; }
.step__line { display: block; height: 2px; margin-bottom: 28px; background: var(--line); overflow: hidden; }
.step__fill { display: block; height: 100%; background: var(--mint); transform: scaleX(0); transform-origin: left; }
.step__num { display: block; font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--ink-fade); }
.step__title { margin-top: 20px; font-size: 24px; letter-spacing: -0.02em; }
.step__text { margin-top: 12px; max-width: 46ch; color: var(--ink-soft); }
@media (min-width: 768px) { .process__steps { grid-template-columns: 1fr 1fr; gap: 64px 48px; } }
@media (min-width: 1200px) {
  .process__inner { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .process__title { position: sticky; top: 140px; max-width: 9em; }
}
/* bez JS i przy reduce linie od razu pełne */
html:not(.js) .step__fill { transform: none; }

/* ---------- S09 gigantyczny napis (M4) ---------- */
.giant { padding-block: calc(var(--section-y) * .6) var(--section-y); overflow: clip; }
.giant__viewport { position: relative; padding-block: 90px; }
.giant__track { display: flex; width: max-content; }
.giant__list { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; font-size: var(--fs-giant); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; white-space: nowrap; }
.giant__list li { display: flex; align-items: center; }
.giant__list li::after { content: ""; flex: none; width: .35em; height: .35em; margin-inline: .3em; border-radius: 50%; background: var(--black); }
.giant__pill { position: absolute; z-index: 1; }
.giant__pill--1 { top: 40px; left: 20%; }
.giant__pill--2 { bottom: 40px; left: 60%; }
.giant__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 24px; margin-top: 40px; padding-inline: var(--gutter); text-align: center; }
.giant__cta p { font-size: 15px; font-weight: 600; }
@media (max-width: 767px) {
  :root { --fs-giant: 26vw; }   /* DECYZJA: 16vw daje na telefonie 64 px i pigułki przytłaczają napis */
  .giant__viewport { padding-block: 96px; }
  .giant__pill { font-size: 13px; padding: .9em 1.4em; }
  .giant__pill--1 { top: 16px; left: var(--gutter); }
  .giant__pill--2 { bottom: 16px; left: auto; right: var(--gutter); }
  .giant__pill { max-width: calc(100% - 2 * var(--gutter)); }
}

/* ---------- S10 dlaczego ja ---------- */
.why { padding-block: var(--section-y); }
.why__title { font-size: var(--fs-h2); text-align: center; }
.why__card { margin-top: 56px; padding: 64px; border-radius: var(--r-section); background: var(--surface); }
.why__top { display: grid; gap: 48px; align-items: center; }
.why__big-num { font-size: clamp(72px, 10vw, 120px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.why__big-label { margin-top: 16px; font-size: 20px; font-weight: 500; }
.why__big-text { max-width: 48ch; margin: 20px 0 32px; color: var(--ink-soft); }
.why__media { overflow: hidden; border-radius: var(--r-img); aspect-ratio: 4 / 5; }
.why__media img, .why__media video { width: 100%; height: 100%; object-fit: cover; }
.why__stats { display: grid; margin: 56px 0 0; padding: 40px 0 0; border-top: 1px solid var(--line); list-style: none; }
.stat { display: grid; gap: 10px; align-content: start; padding: 24px 0; }
.stat + .stat { border-top: 1px solid var(--line); }
.stat__num { font-size: 56px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.stat__label { max-width: 30ch; font-size: 15px; color: var(--ink-soft); }
.count { font-variant-numeric: tabular-nums; }
.why__quote { margin-top: 48px; padding-left: 28px; border-left: 4px solid var(--mint); }
.why__quote blockquote { margin: 0; font-size: 28px; line-height: 1.35; letter-spacing: -0.02em; }
.why__quote figcaption { margin-top: 16px; font-size: 15px; color: var(--ink-soft); }
@media (min-width: 768px) {
  .why__top { grid-template-columns: 1fr 1fr; gap: 64px; }
  .why__stats { grid-template-columns: repeat(3, 1fr); }
  .stat { padding: 8px 32px; }
  .stat:first-child { padding-left: 0; }
  .stat + .stat { border-top: 0; border-left: 1px solid var(--line); }
}
@media (max-width: 767px) { .why__card { padding: 28px; } .why__stats { padding-top: 8px; } }

/* ---------- S11 kim jestem ---------- */
.bio { padding-block: var(--section-y); background: var(--surface); }
.bio__inner { display: grid; gap: 48px; align-items: center; }
.bio__portrait { width: 70%; max-width: 420px; overflow: hidden; border-radius: var(--r-img); aspect-ratio: 3 / 4; }
.bio__portrait img { width: 100%; height: 100%; object-fit: cover; }
.bio__title { font-size: var(--fs-h2); }
.bio__text { max-width: 60ch; margin-top: 24px; color: var(--ink-soft); }
.bio__links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 32px 0 0; padding: 0; list-style: none; font-size: 16px; font-weight: 500; }
.bio__links a { text-decoration: none; }
.bio__links a:hover { text-decoration: underline; }
@media (min-width: 768px) { .bio:not(.bio--text-only) .bio__inner { grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(48px, 8vw, 120px); } .bio__portrait { width: 100%; } }

/* ---------- S12 FAQ ---------- */
.faq { padding-block: var(--section-y) calc(var(--section-y) + 40px); }
.faq__head { display: grid; justify-items: end; gap: 16px; text-align: right; }
.faq__title { font-size: var(--fs-h2); }   /* bez kropki (decyzja właściciela) */
.faq__intro { max-width: 40ch; color: var(--ink-soft); }
.faq__list { margin-top: 56px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; font-size: clamp(19px, 1.7vw, 24px); font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--mint); color: var(--black); }
.faq__icon svg { transition: transform .3s var(--ease-out); }
.faq__item[open]:not(.is-closing) .faq__icon svg { transform: rotate(180deg); }
.faq__a { overflow: hidden; }
.faq__a p { max-width: 70ch; padding-bottom: 28px; color: var(--ink-soft); }
@media (max-width: 767px) { .faq__head { justify-items: start; text-align: left; } }

/* ---------- S13 kontakt (M5) ---------- */
.contact { padding-block: var(--section-y) 64px; }
.contact a { color: var(--mint); }
.contact__kicker { max-width: 40ch; margin-inline: auto; font-size: 15px; text-align: center; }
.contact__giant { margin-top: 24px; font-size: var(--fs-contact); letter-spacing: -0.04em; line-height: 1.05; text-align: center; white-space: nowrap; }
.contact__char-mask { padding-block: .1em .22em; margin-block: -.1em -.22em; }   /* maska znaków nie przycina ogonków (y, j, p) */
.contact__grid { display: grid; gap: 56px; margin-top: clamp(56px, 8vw, 112px); }
.contact__intro { max-width: 40ch; font-size: 18px; color: #BDBDBD; }
.contact__label { margin-top: 36px; font-size: 13px; color: #BDBDBD; }
.contact__phone, .contact__email { display: inline-block; margin-top: 6px; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }
.contact__phone { font-size: 32px; }
.contact__email { font-size: 24px; }
.contact__phone:hover, .contact__email:hover { text-decoration: underline; }
.contact__links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 40px 0 0; padding: 0; list-style: none; font-size: 15px; }
@media (min-width: 1200px) { .contact__grid { grid-template-columns: 5fr 7fr; gap: 96px; } }
@media (max-width: 1199px) { .contact__form-wrap { order: -1; } }

/* formularz */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.field { display: grid; gap: 8px; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }   /* komunikat błędu w sąsiednim polu nie rozciąga tego pola */
.field--choices, .field--consent, .field:has(textarea), .field:has(select), .form__status, .form__submit { grid-column: 1 / -1; }
.field > label, .field legend { font-size: 13px; color: #BDBDBD; }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--field-line); border-radius: 14px; background: var(--field-bg); color: #fff; font: inherit; font-size: 16px; }
.field textarea { resize: vertical; min-height: 140px; }
.field ::placeholder { color: #7A7A7A; }
.field select { appearance: none; padding-right: 44px; background: var(--field-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23BDBDBD' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 18px center; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--mint); outline-offset: 0; border-color: transparent; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid .consent span::before { border-color: #FF8A8A; }
.field__error { font-size: 13px; color: #FF8A8A; }
.field--choices { display: flex; flex-wrap: wrap; gap: 8px; }
.field--choices legend { width: 100%; margin-bottom: 8px; padding: 0; float: left; }
.choice { position: relative; display: inline-flex; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { padding: 9px 16px; border: 1px solid #555; border-radius: var(--r-pill); font-size: 14px; color: #fff; transition: background-color .2s, color .2s, border-color .2s; }
.choice:hover span { border-color: #BDBDBD; }
.choice input:checked + span { background: var(--mint); border-color: var(--mint); color: var(--black); }
.choice input:focus-visible + span { outline: 2px solid var(--mint); outline-offset: 3px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #BDBDBD; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--mint); }
.consent a { color: var(--mint); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.5em; font-size: 15px; color: #fff; }
.form__status:empty { min-height: 0; }
.form__submit { position: relative; width: 100%; min-height: 56px; font-size: 16px; }
.form__check { position: absolute; top: 50%; left: 50%; margin: -12px 0 0 -12px; opacity: 0; }
.form__done { padding: 32px; border: 1px solid var(--field-line); border-radius: var(--r-card); font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
@media (max-width: 767px) { .form { grid-template-columns: 1fr; } .contact__phone { font-size: 28px; } .contact__email { font-size: 22px; } }

/* ---------- S14 stopka ---------- */
.footer { padding-block: 64px 40px; background: var(--black); color: #9A9A9A; font-size: 14px; overflow: clip; }
.footer__inner { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.footer__cols { display: grid; gap: 32px; padding-top: 48px; border-top: 1px solid #222; }
.footer__about { max-width: 34ch; }
.footer__list { display: grid; gap: 8px; align-content: start; margin: 0; padding: 0; list-style: none; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__logo { display: flex; height: clamp(40px, 4vw, 56px); margin-top: 56px; color: #fff; }   /* decyzja właściciela: mały sygnet */
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; font-size: 13px; }
@media (min-width: 768px) { .footer__cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .footer__cols { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* ---------- A10 polityka prywatności ---------- */
.privacy { padding: 160px var(--gutter) var(--section-y); }
.privacy__inner { max-width: 70ch; margin-inline: auto; }
.privacy__title { font-size: var(--fs-h2); }
.privacy__intro { margin-top: 24px; font-size: var(--fs-lead); line-height: 1.4; letter-spacing: -0.01em; }
.privacy__section { margin-top: 48px; }
.privacy__section h2 { font-size: var(--fs-h3); }
.privacy__section p, .privacy__section ul { margin-top: 14px; color: var(--ink-soft); }
.privacy__section ul { padding-left: 1.2em; }
.privacy__section li + li { margin-top: 6px; }
.privacy + .footer { margin-top: 0; }

