/* nuvr: agencja sportowa
   Świat starej strony „Znak nuvr”: Anton do nagłówków i nazw, Work Sans do tekstu, trzy tła z sesji (studio, papier,
   noc), ziarno na wszystkim. Nowy bohater: „×” zbudowane z kreski litery „v” znaku nuvr (ta sama grubość 14,43
   i to samo nachylenie ramion), które stoi między marką a sportem w każdej parze na stronie. */

:root {
  --studio: #cfcfcd;      /* tło studia z portretów atletów */
  --studio-2: #c2c2c0;
  --paper: #f1f1ef;
  --paper-2: #e4e4e2;
  --night: #0c0c0c;
  --night-2: #1a1a19;
  --night-3: #262625;
  --ink: #0c0c0c;
  --ink-soft: #4a4a48;    /* drugorzędny tekst na jasnym (7:1 na papierze) */
  --light: #efefed;
  --light-soft: #a8a8a5;  /* drugorzędny tekst na nocy */

  --bg: var(--paper);
  --fg: var(--ink);
  --muted: var(--ink-soft);
  --surface: var(--paper-2);

  --font-display: "Anton", "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  --font-text: "Work Sans", "Helvetica Neue", Arial, sans-serif;

  --step-small: 0.9375rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-statement: clamp(1.5rem, 1.05rem + 1.25vw, 2.125rem);
  --step-head: clamp(2.75rem, 1.2rem + 5.4vw, 6rem);
  --step-head-2: clamp(2rem, 1.4rem + 2.2vw, 3.25rem);
  --step-display: clamp(5.25rem, 14vw, 12.5rem);

  --margin: max(16px, clamp(1rem, 2.2vw, 2rem));
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(6.5rem, 11vw, 12rem);
  --touch: 2.75rem;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-open: 560ms;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0;
  background: var(--night);
  color: var(--fg);
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: 1.5;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* ziarno filmu na całej stronie: ta sama faktura na zdjęciach, tłach i piśmie */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  background: url("../media/ziarno.png") 0 0 / 240px 240px repeat;
  opacity: 0.07; mix-blend-mode: overlay;
}
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, video, svg, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
p { max-width: 62ch; text-wrap: pretty; }
.skip { position: absolute; left: var(--margin); top: 0.5rem; z-index: 80; padding: 0.75rem 1rem; background: var(--ink); color: var(--paper); font-weight: 600; transform: translateY(-200%); }
.skip:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); }
.skip:focus { transform: none; }

/* ---------- tła rozdziałów ---------- */
.field-studio { --bg: var(--studio); --fg: var(--ink); --muted: var(--ink-soft); --surface: var(--studio-2); background: var(--bg); color: var(--fg); }
.field-paper { --bg: var(--paper); --fg: var(--ink); --muted: var(--ink-soft); --surface: var(--paper-2); background: var(--bg); color: var(--fg); }
.field-night { --bg: var(--night); --fg: var(--light); --muted: var(--light-soft); --surface: var(--night-2); background: var(--bg); color: var(--fg); color-scheme: dark; }

.wrap { padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }

/* ---------- pismo ---------- */
.head { font-family: var(--font-display); font-weight: 400; font-size: var(--step-head); line-height: 0.95; letter-spacing: -0.005em; text-transform: uppercase; text-wrap: balance; }
.head-2 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-head-2); line-height: 0.95; text-transform: uppercase; text-wrap: balance; }
.lead { font-size: var(--step-lead); line-height: 1.35; max-width: 36ch; }
.statement { font-size: var(--step-statement); line-height: 1.25; letter-spacing: -0.01em; max-width: 34ch; }
.muted { color: var(--muted); }
.label { font-size: var(--step-small); font-weight: 600; letter-spacing: 0.01em; }

/* ---------- znak i „×” ---------- */
.mark { display: block; width: 100%; height: auto; fill: currentColor; }
/* „×” w tekście: dwie kreski z ramion litery v, przycięte poziomo jak w znaku */
.x { display: inline-block; width: 0.74em; height: 0.74em; vertical-align: -0.02em; margin: 0 0.14em; overflow: hidden; stroke: currentColor; stroke-width: 14.43; fill: none; }
.x line { stroke-linecap: butt; }

/* ---------- przyciski i linki ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 3rem; padding: 0 1.5rem;
  background: var(--fg); color: var(--bg);
  font-weight: 600; text-decoration: none; white-space: nowrap; border-radius: 0;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease, box-shadow var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }
.button--paper { background: var(--paper); color: var(--ink); }
.button--line { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px currentColor; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--night-3); }
  .button--paper:hover { background: #ffffff; }
  .button--line:hover { background: var(--fg); color: var(--bg); }
}
.link { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; text-decoration-color: transparent; transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: currentColor; } }
@media (hover: none) { .link { text-decoration-color: currentColor; } }
.link-strzalka { display: inline-flex; align-items: center; gap: 0.5em; min-height: var(--touch); font-weight: 600; text-decoration: none; }
.link-strzalka span { text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 0.07em; }
.link-strzalka::after { content: "→"; transition: transform var(--t-ui) var(--ease-out); }
/* w wielkim nagłówku (Anton, ciasne wiersze) podkreślenie przecinało drugi wiersz: tam link niesie sama strzałka */
:is(h1, h2, h3, .head, .head-2) .link-strzalka span { text-decoration: none; }
:is(h1, h2, h3, .head, .head-2) .link-strzalka { display: inline; } :is(h1, h2, h3, .head, .head-2) .link-strzalka::after { display: inline-block; margin-left: 0.3em; }
:is(h1, h2, h3, .head, .head-2) .link-strzalka:focus-visible span { text-decoration: underline; text-decoration-thickness: 0.05em; text-underline-offset: 0.06em; }
@media (hover: hover) and (pointer: fine) { .link-strzalka:hover::after { transform: translateX(0.3em); } }
.copy { font-weight: 600; color: var(--fg); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; min-height: var(--touch); }

/* ============================================================
   WEJŚCIE: znak nuvr, litera v rozkłada ramiona w „×”, „×” ląduje w pierwszym ekranie
   (tylko z JS i bez ograniczonego ruchu; bez tego strona startuje od razu)
   ============================================================ */
.wejscie { display: none; }
.js.is-entering .wejscie {
  display: block; position: fixed; inset: 0; z-index: 70; pointer-events: none;
  background: var(--night); color: var(--light);
}
.wejscie-znak { position: absolute; left: var(--margin); right: var(--margin); bottom: clamp(1.25rem, 3vw, 2.5rem); overflow: hidden; }
.wejscie-znak svg { width: 100%; height: auto; fill: currentColor; overflow: visible; }
.wejscie-znak .w-l { transform: translateY(110%); animation: w-up 1000ms var(--ease-expo) forwards; }
.wejscie-znak .w-l:nth-child(2) { animation-delay: 60ms; }
.wejscie-znak .w-l:nth-child(3) { animation-delay: 120ms; }
.wejscie-znak .w-l:nth-child(4) { animation-delay: 180ms; }
@keyframes w-up { to { transform: none; } }
.wejscie-iks { position: fixed; z-index: 71; pointer-events: none; overflow: visible; fill: var(--light); transform-origin: 0 0; }

/* ============================================================
   HERO: zdjęcie pary na cały ekran, para po dwóch stronach „×”
   ============================================================ */
.hero { position: relative; height: 100svh; min-height: 600px; max-height: 1300px; overflow: hidden; isolation: isolate; background: var(--night); color: var(--light); }
.hero-foto { position: absolute; inset: 0; z-index: -2; }
.hero-foto picture { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity 650ms ease; }
.hero-foto picture.is-on { opacity: 1; }
.hero-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--fx, 50%) 50%; transform: scale(1.06); transition: transform 7000ms linear; }
.hero-foto picture.is-on img { transform: scale(1); }
.hero-scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0.55) 34%, rgba(10, 10, 10, 0.12) 62%, rgba(10, 10, 10, 0.35) 100%); /* taste-skill-ignore: neutralny scrim pod tekstem na zdjęciu */
}

.nav { position: absolute; inset: 0 0 auto 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: calc(2 * 1.25rem + var(--touch)); padding: 1.25rem var(--margin); color: var(--light); }
.nav--ink { color: var(--ink); }
.nav-home { display: block; width: 2.25rem; flex: none; text-decoration: none; }
.nav-home svg { width: 100%; height: auto; fill: currentColor; }
.nav-links { display: flex; gap: clamp(1rem, 2.2vw, 2.25rem); align-items: center; font-size: var(--step-small); font-weight: 600; }
.nav-links a:not(.button) { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.35em; text-decoration-thickness: 1.5px; transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .nav-links a:not(.button):hover { text-decoration-color: currentColor; } }
.nav-links a[aria-current="page"] { text-decoration-color: currentColor; }
.nav-links .button { min-height: 2.75rem; padding: 0 1.1rem; margin-left: 0.5rem; }

.hero-tresc { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 0 var(--margin) clamp(1.5rem, 3.2vw, 2.75rem); }
.hero-nad { font-size: var(--step-small); font-weight: 600; letter-spacing: 0.01em; margin-bottom: clamp(1rem, 3svh, 2.25rem); }

/* para: słowo marki na górnym ramieniu „×”, słowo sportu na dolnym */
.para {
  --para: clamp(3.25rem, 8.4vw, 10rem);
  --iks-h: calc(var(--para) * 1.9);
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--iks-h) minmax(0, 1fr);
  grid-template-rows: calc(var(--para) * 0.95) calc(var(--para) * 0.95);
  column-gap: calc(var(--para) * 0.2);
  align-items: end;
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: var(--para); line-height: 0.9; letter-spacing: -0.005em;
  margin-bottom: clamp(1.5rem, 4svh, 3rem);
}
.para-l, .para-p { position: relative; height: 100%; display: flex; align-items: flex-end; min-width: 0; clip-path: inset(-0.45em -0.2em 0 -0.2em); } /* od góry zapas na akcenty (Ż, Ó, Ń), od dołu cięcie: słowa wjeżdżają spod linii */
.para-l { grid-column: 1; grid-row: 1; justify-content: flex-end; }
.para-p { grid-column: 3; grid-row: 2; justify-content: flex-start; }
.para-slowo { display: block; white-space: nowrap; font-size: calc(1em * var(--fit, 1)); padding-bottom: 0.02em; transition: transform 700ms var(--ease-expo), opacity 300ms ease; }
.para-slowo.is-wyjazd { transform: translateY(-105%); opacity: 0; transition: transform 520ms var(--ease-in-out), opacity 400ms ease 120ms; }
.para-slowo.is-wjazd { transform: translateY(105%); transition: none; }
.iks { grid-column: 2; grid-row: 1 / 3; align-self: stretch; position: relative; display: grid; place-items: center; }
.iks-svg { height: 100%; width: auto; overflow: hidden; stroke: currentColor; stroke-width: 14.43; fill: none; transition: transform 900ms var(--ease-expo), translate 900ms var(--ease-out); }
.iks.is-3d .iks-svg { visibility: hidden; }
.js.is-entering .iks-svg { visibility: hidden; }
.iks-guzik { position: absolute; inset: 0; border-radius: 50%; }
.iks-guzik:focus-visible { outline-offset: -4px; }

.hero-dol { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.hero-h1 { grid-column: 1 / 5; font-family: var(--font-text); font-weight: 600; font-size: var(--step-statement); line-height: 1.12; letter-spacing: -0.02em; }
.hero-lead { grid-column: 5 / 9; font-size: var(--step-body); line-height: 1.45; max-width: 40ch; color: var(--light); }
.hero-cta { grid-column: 9 / 13; justify-self: end; display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: flex-end; }
.hero .button--line { color: var(--light); }

.przewin { position: absolute; z-index: 3; left: 50%; bottom: 0.4rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.35rem; min-width: var(--touch); padding: 0 0.75rem; color: var(--light); text-decoration: none; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; transition: opacity 400ms ease; }
.przewin i { position: relative; display: block; width: 1.5px; height: 2.25rem; overflow: hidden; background: rgba(239, 239, 237, 0.25); }
.przewin i::after { content: ""; position: absolute; inset: 0; background: var(--light); transform: translateY(-100%); animation: przewin 2.2s var(--ease-in-out) 3.55 forwards; }
@keyframes przewin { 0% { transform: translateY(-100%); } 55% { transform: translateY(0); } 100% { transform: translateY(100%); } }
.przewin.is-schowany { opacity: 0; pointer-events: none; }
.hero-tresc { padding-bottom: calc(4.5rem + 0.4rem); }

@media (min-width: 48em) and (max-width: 71.99em) {
  .hero-h1 { grid-column: 1 / 7; }
  .hero-lead { grid-column: 7 / 13; }
  .hero-cta { grid-column: 1 / -1; justify-self: start; justify-content: flex-start; margin-top: 1.5rem; }
}
@media (max-width: 47.99em) {
  .nav-links { display: none; }
  .hero { min-height: 640px; }
  .hero-scrim { background: linear-gradient(to top, rgba(10, 10, 10, 0.86) 0%, rgba(10, 10, 10, 0.62) 42%, rgba(10, 10, 10, 0.1) 70%, rgba(10, 10, 10, 0.3) 100%); } /* taste-skill-ignore: neutralny scrim pod tekstem na zdjęciu */
  /* telefon: słowo marki u góry z lewej, duże „×” na środku, słowo sportu na dole z prawej (przekątna jak ramię „×”) */
  .para {
    --para: clamp(2.75rem, 14.5vw, 4.5rem);
    --iks-h: min(46vw, 21svh);
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: calc(var(--para) * 0.95) var(--iks-h) calc(var(--para) * 0.95);
    row-gap: 0.2rem;
    margin-bottom: 1.25rem;
  }
  .para-l { grid-column: 1; grid-row: 1; justify-content: flex-start; }
  .iks { grid-column: 1; grid-row: 2; justify-self: center; width: var(--iks-h); }
  .para-p { grid-column: 1; grid-row: 3; justify-content: flex-end; }
  .hero-nad { margin-bottom: 1rem; }
  .hero-dol { grid-template-columns: 1fr; row-gap: 0.75rem; }
  .hero-h1, .hero-lead, .hero-cta { grid-column: 1; }
  .hero-h1 { font-size: clamp(1.375rem, 6.4vw, 1.75rem); }
  .hero-lead { font-size: 1rem; }
  .hero-cta { justify-self: stretch; justify-content: stretch; margin-top: 0.5rem; display: grid; grid-template-columns: 1fr 1fr; }
  .hero-cta .button { padding: 0 0.75rem; }
}

/* ---------- menu: przycisk w rogu po pierwszym ekranie (na telefonie od początku), arkusz na cały ekran ---------- */
.menu-fab {
  position: fixed; z-index: 30; top: max(1rem, env(safe-area-inset-top, 0px)); right: var(--margin);
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: var(--touch); min-width: var(--touch); padding: 0 1rem;
  background: var(--paper); color: var(--ink); font-weight: 600; font-size: var(--step-small);
  transform: translateY(-160%); transition: transform 500ms var(--ease-expo), background-color var(--t-ui) ease, color var(--t-ui) ease;
}
.menu-fab .x { width: 0.55em; height: 0.85em; margin: 0; transition: transform 500ms var(--ease-expo); }
.menu-fab.is-widoczny { transform: none; }
.menu-fab.on-light { background: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .menu-fab:hover .x { transform: rotate(90deg); } }
@media (max-width: 47.99em) { .menu-fab { transform: none; } }
.menu-sheet { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; padding: calc(1.25rem + env(safe-area-inset-top, 0px)) var(--margin) 2rem; overflow-y: auto; clip-path: circle(0 at var(--mx, 100%) var(--my, 0%)); visibility: hidden; transition: clip-path 700ms var(--ease-in-out), visibility 0s linear 700ms; }
.menu-sheet.is-open { clip-path: circle(150% at var(--mx, 100%) var(--my, 0%)); visibility: visible; transition: clip-path 800ms var(--ease-in-out), visibility 0s; }
.menu-top { display: flex; justify-content: space-between; align-items: center; min-height: var(--touch); }
.menu-top .nav-home { color: var(--light); }
.menu-close { display: inline-flex; align-items: center; gap: 0.6rem; min-height: var(--touch); padding: 0 1rem; background: var(--light); color: var(--ink); font-weight: 600; font-size: var(--step-small); }
.menu-close .x { width: 0.8em; height: 0.8em; margin: 0; }
.menu-links { margin-top: auto; padding-top: 3rem; display: grid; gap: 0.1rem; counter-reset: m; }
.menu-links a { display: flex; align-items: baseline; gap: 1rem; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.75rem, 9vw, 6.5rem); line-height: 1; text-decoration: none; color: var(--light-soft); transition: color var(--t-hover) ease; transform: translateY(40%); opacity: 0; }
.menu-links a::before { counter-increment: m; content: "0" counter(m); font-family: var(--font-text); font-size: var(--step-small); font-weight: 600; color: var(--light-soft); transform: translateY(-1.4em); }
.menu-links a[aria-current="page"], .menu-links a:hover, .menu-links a:focus-visible { color: var(--light); }
.menu-sheet.is-open .menu-links a { transform: none; opacity: 1; transition: transform 800ms var(--ease-expo), opacity 500ms ease, color var(--t-hover) ease; }
.menu-sheet.is-open .menu-links a:nth-child(2) { transition-delay: 60ms; }
.menu-sheet.is-open .menu-links a:nth-child(3) { transition-delay: 120ms; }
.menu-sheet.is-open .menu-links a:nth-child(4) { transition-delay: 180ms; }
.menu-sheet.is-open .menu-links a:nth-child(5) { transition-delay: 240ms; }
.menu-sheet.is-open .menu-links a:nth-child(6) { transition-delay: 300ms; }
.menu-sheet.is-open .menu-links a:nth-child(7) { transition-delay: 360ms; }
.menu-stopa { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; margin-top: 2.5rem; color: var(--light-soft); font-size: var(--step-small); }
.menu-stopa p a { color: var(--light); }

/* ============================================================
   NAGŁÓWEK SEKCJI (wspólny układ)
   ============================================================ */
.sekcja { padding-block: var(--section); }
.sek-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 1.5rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.sek-head .head { grid-column: 1 / 8; }
.sek-head .sek-obok { grid-column: 9 / 13; }
@media (max-width: 71.99em) { .sek-head .head, .sek-head .sek-obok { grid-column: 1 / -1; } .sek-head .pas-nazw { justify-content: flex-start; } }

/* ============================================================
   REALIZACJE
   ============================================================ */
.pas-nazw { display: flex; flex-wrap: wrap; gap: 0 0.35em; font-family: var(--font-display); text-transform: uppercase; font-size: var(--step-head-2); line-height: 1; color: var(--ink-soft); justify-content: flex-end; }
.pas-nazw span[aria-hidden] { color: var(--studio-2); }
.real-lista { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: clamp(3.5rem, 7vw, 6rem); }
.real { display: grid; gap: 1.25rem; align-content: start; min-width: 0; }
.real figure { position: relative; overflow: hidden; background: var(--paper-2); }
.real img { width: 100%; height: 100%; object-fit: cover; }
.real-data { font-size: var(--step-small); font-weight: 600; color: var(--ink-soft); }
.real h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: var(--step-head-2); line-height: 0.98; text-wrap: balance; }
.real h3 .x { width: 0.66em; height: 0.66em; }
.real h3 .real-pod { display: block; font-family: var(--font-text); text-transform: none; font-weight: 600; font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.01em; margin-top: 0.6rem; }
.real p { color: var(--ink); max-width: 46ch; }
/* pierwsza realizacja duża: zdjęcie 7 kolumn, tekst obok przy dole */
.real--duza { grid-column: 1 / -1; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.real--duza figure { grid-column: 1 / 8; aspect-ratio: 3 / 2; }
.real--duza .real-tekst { grid-column: 8 / 13; display: grid; gap: 1.1rem; padding-bottom: 0.25rem; }
.real--duza h3 { font-size: clamp(2.25rem, 1rem + 3.9vw, 5.25rem); line-height: 0.94; }
.real--a { grid-column: 1 / 6; }
.real--b { grid-column: 7 / 13; margin-top: clamp(4rem, 10vw, 9rem); }
.real--a figure { aspect-ratio: 4 / 5; }
.real--b figure { aspect-ratio: 3 / 2; }
.real .real-tekst { display: grid; gap: 0.9rem; }
@media (min-width: 48em) and (max-width: 71.99em) {
  .real--duza figure { grid-column: 1 / -1; }
  .real--duza .real-tekst { grid-column: 1 / 10; margin-top: 1.5rem; }
}
@media (max-width: 47.99em) {
  .pas-nazw { justify-content: flex-start; }
  .real--duza figure, .real--duza .real-tekst, .real--a, .real--b { grid-column: 1 / -1; }
  .real--duza .real-tekst { margin-top: 1.25rem; }
  .real--b { margin-top: 0; }
  .real--a figure { aspect-ratio: 4 / 5; }
}

/* ============================================================
   SPORT WYSZEDŁ ZE STADIONU: twoja branża
   ============================================================ */
.branze-wstep { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2rem; margin-bottom: clamp(4rem, 8vw, 7rem); }
.branze-wstep .head { grid-column: 1 / 7; font-size: clamp(3rem, 1.2rem + 6.4vw, 7.5rem); line-height: 0.95; }
.branze-wstep p { grid-column: 8 / 13; align-self: end; font-size: var(--step-lead); line-height: 1.38; color: var(--light); max-width: 40ch; }
.branza { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: stretch; }
.branza-wybor { grid-column: 1 / 5; display: flex; flex-direction: column; }
.branza-wybor .label { color: var(--light-soft); margin-bottom: 1rem; }
.branza-lista { display: grid; gap: 0; }
.branza-tab { display: flex; align-items: center; gap: 0.75rem; width: 100%; min-height: var(--touch); padding: 0.35rem 0; text-align: left; font-size: var(--step-lead); font-weight: 500; line-height: 1.2; color: var(--light-soft); transition: color var(--t-hover) ease; }
.branza-tab .x { width: 0.7em; height: 0.7em; margin: 0; opacity: 0; transform: translateX(-0.4em); transition: opacity var(--t-ui) ease, transform 400ms var(--ease-expo); }
.branza-tab[aria-selected="true"] { color: var(--light); }
.branza-tab[aria-selected="true"] .x { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) { .branza-tab:hover { color: var(--light); } }
.branza-panel { grid-column: 5 / 13; position: relative; display: grid; grid-template-rows: auto auto; gap: 1.5rem; }
.branza-kadr { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--night-2); }
.branza-kadr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 700ms ease, transform 1600ms var(--ease-soft); }
.branza-kadr img.is-on { opacity: 1; transform: none; }
.branza-kadr::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(to top, rgba(10, 10, 10, 0.72), rgba(10, 10, 10, 0)); pointer-events: none; } /* taste-skill-ignore: neutralny scrim pod tekstem na zdjęciu */
.branza-lockup { position: absolute; z-index: 1; left: clamp(1rem, 2.5vw, 2rem); right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.2vw, 1.75rem); display: flex; align-items: flex-end; flex-wrap: wrap; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.25rem, 1rem + 4.2vw, 5.5rem); line-height: 0.9; color: var(--light); }
.branza-lockup .x { width: 0.74em; height: 0.74em; margin: 0 0.18em 0.04em; }
.branza-lockup .bl-slowo { display: inline-block; }
.branza-tekst { display: grid; grid-template-columns: minmax(0, 1fr); }
.branza-tekst p { font-size: var(--step-lead); line-height: 1.38; max-width: 44ch; color: var(--light); }
.branza-tekst [hidden] { display: none; }
@media (min-width: 48em) and (max-width: 71.99em) {
  .branze-wstep .head, .branze-wstep p { grid-column: 1 / -1; }
  .branza-wybor { grid-column: 1 / 6; }
  .branza-panel { grid-column: 6 / 13; }
  .branza-tab { font-size: var(--step-body); }
}
@media (max-width: 47.99em) {
  .branze-wstep .head, .branze-wstep p { grid-column: 1 / -1; }
  .branze-wstep p { font-size: var(--step-body); }
  .branza-wybor, .branza-panel { grid-column: 1 / -1; }
  /* telefon: branże w jednym pasku przewijanym w bok, brzegi paska gasną (widać, że jest dalej) */
  .branza-lista { display: flex; flex-wrap: nowrap; gap: 0.5rem; margin: 0 calc(-1 * var(--margin)) 1.5rem; padding: 0.25rem var(--margin); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: var(--margin); scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--margin), #000 calc(100% - 2.5rem), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 var(--margin), #000 calc(100% - 2.5rem), transparent 100%); } /* taste-skill-ignore: maska brzegów paska przewijanego */
  .branza-lista::-webkit-scrollbar { display: none; }
  .branza-tab { flex: none; width: auto; padding: 0 0.9rem; font-size: var(--step-small); font-weight: 600; white-space: nowrap; background: var(--night-2); border-radius: 999px; scroll-snap-align: start; }
  .branza-tab[aria-selected="true"] { background: var(--light); color: var(--ink); }
  .branza-tab .x { display: none; }
  .branza-kadr { aspect-ratio: 4 / 5; }
  .branza-tekst p { font-size: var(--step-body); }
}

/* ============================================================
   CO ROBIMY DLA MAREK: nagłówek trzyma się z lewej, cztery usługi z prawej
   ============================================================ */
.uslugi { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.uslugi-head { grid-column: 1 / 6; align-self: start; position: sticky; top: clamp(2rem, 8svh, 5rem); }
.uslugi-head .head { margin-bottom: 1.5rem; }
.uslugi-lista { grid-column: 7 / 13; display: grid; gap: clamp(3rem, 6vw, 5rem); counter-reset: u; }
.usluga { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); column-gap: 1rem; row-gap: 0.9rem; }
.usluga::before { counter-increment: u; content: "0" counter(u); grid-row: 1 / 3; font-weight: 600; font-size: var(--step-small); padding-top: 0.55em; color: var(--ink-soft); }
.usluga h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: var(--step-head-2); line-height: 0.95; }
.usluga p { font-size: var(--step-body); line-height: 1.55; max-width: 48ch; }
.usluga .p-uwaga { color: var(--ink-soft); }
@media (max-width: 71.99em) {
  .uslugi-head { grid-column: 1 / -1; position: static; margin-bottom: 3rem; }
  .uslugi-lista { grid-column: 1 / -1; }
}
@media (min-width: 48em) and (max-width: 71.99em) { .uslugi-lista { grid-template-columns: 1fr 1fr; column-gap: var(--gutter); } }
@media (max-width: 47.99em) { .usluga { grid-template-columns: 2.5rem minmax(0, 1fr); } }

/* ============================================================
   JAK PRACUJEMY: scena bieżni (css/scena-bieznia.css) + zdanie pod krokami
   ============================================================ */
.jak-po { padding: clamp(4rem, 8vw, 7rem) var(--margin) var(--section); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.jak-po p { grid-column: 1 / 10; font-family: var(--font-display); text-transform: uppercase; font-size: var(--step-head-2); line-height: 0.98; max-width: 22ch; }
@media (max-width: 47.99em) { .jak-po p { grid-column: 1 / -1; } }

/* ============================================================
   PAS ZDJĘCIA (otwiera część dla atletów i podstronę)
   ============================================================ */
.band { position: relative; margin: 0; height: min(88svh, 56vw); min-height: 480px; overflow: hidden; background: var(--night); color: var(--light); }
.band picture { position: absolute; inset: 0; display: block; overflow: hidden; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(var(--zoom, 1)); transform-origin: 50% 60%; will-change: transform; }
.band::after { content: ""; position: absolute; inset: auto 0 0 0; height: 70%; background: linear-gradient(to top, rgba(10, 10, 10, 0.76), rgba(10, 10, 10, 0.5) 45%, rgba(10, 10, 10, 0)); pointer-events: none; } /* taste-skill-ignore: neutralny scrim pod tekstem na zdjęciu */
.band-text { position: absolute; z-index: 1; left: var(--margin); right: var(--margin); bottom: clamp(2.25rem, 5.5vw, 5rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.band-h { grid-column: 1 / -1; grid-row: 2; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: var(--step-display); line-height: 0.95; letter-spacing: -0.005em; margin: 0 0 -0.04em; color: var(--light); }
.band-claim { grid-column: 8 / 13; grid-row: 1; justify-self: end; width: 100%; max-width: 30ch; margin-bottom: clamp(1.25rem, 2.6vw, 2.5rem); font-size: var(--step-statement); line-height: 1.25; color: var(--light); }
.band--strona { height: 100svh; max-height: 1200px; min-height: 600px; }
@media (min-width: 48em) and (max-width: 71.99em) { .band-claim { grid-column: 6 / 13; } }
@media (max-width: 47.99em) {
  .band { height: 86svh; min-height: 520px; }
  .band-text { grid-template-columns: 1fr; row-gap: 1rem; }
  .band-h { grid-column: 1; grid-row: 1; }
  .band-claim { grid-column: 1; grid-row: 2; justify-self: start; margin: 0; max-width: 30ch; }
}

/* ============================================================
   DLA ATLETÓW: zasady
   ============================================================ */
.zasady { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: clamp(2.5rem, 4.5vw, 3.75rem); }
.zasady li { grid-column: span 4; display: grid; gap: 0.7rem; align-content: start; }
.zasady h3 { font-weight: 600; font-size: var(--step-lead); line-height: 1.22; letter-spacing: -0.01em; text-wrap: balance; }
.zasady p { color: var(--ink-soft); line-height: 1.5; max-width: 40ch; }
.atleci-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: clamp(3.5rem, 6vw, 5rem); }
@media (min-width: 48em) and (max-width: 71.99em) { .zasady li { grid-column: span 6; } }
@media (max-width: 47.99em) { .zasady li { grid-column: 1 / -1; } }

/* ============================================================
   ZESPÓŁ: trzy kadry w jednym formacie (portret albo karta z „×”)
   ============================================================ */
.ludzie { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 3.5rem; }
.osoba { grid-column: span 4; display: grid; gap: 1.25rem; align-content: start; }
.osoba[hidden] { display: none; }
.kadr { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--night); color: var(--light); }
.kadr img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.kadr-karta { display: grid; place-items: center; background: var(--night); }
.kadr-karta .x { width: 30%; height: auto; aspect-ratio: 62.08 / 100; margin: 0 0 14%; color: #2c2c2a; }
.kadr-imie { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 0.9rem; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(3rem, 1.5rem + 3.4vw, 5.5rem); line-height: 0.95; color: var(--light); }
.kadr:has(img)::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to top, rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0)); } /* taste-skill-ignore: neutralny scrim pod imieniem na zdjęciu */
.kadr-imie { z-index: 1; }
.osoba h3 { font-weight: 600; font-size: var(--step-lead); line-height: 1.2; letter-spacing: -0.01em; }
.osoba h3 span { display: block; color: var(--muted); font-weight: 500; font-size: var(--step-body); margin-top: 0.2rem; }
.osoba p { line-height: 1.55; max-width: 42ch; }
@media (min-width: 48em) and (max-width: 71.99em) {
  .osoba { grid-column: span 6; }
}
@media (max-width: 47.99em) {
  .osoba { grid-column: 1 / -1; }
}

/* ============================================================
   KONTAKT: plansza „nuvr × twoja marka” i brief
   ============================================================ */
.brief { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2.5rem; align-items: start; }
.plansza { --pl: clamp(2rem, 4.1vw, 4.25rem); grid-column: 1 / 7; position: sticky; top: clamp(1.5rem, 5svh, 3rem); margin: 0; aspect-ratio: 1; overflow: hidden; isolation: isolate; background: var(--night-2); color: var(--light); }
.plansza > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.plansza::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 10, 10, 0.78) 0%, rgba(10, 10, 10, 0.1) 45%, rgba(10, 10, 10, 0) 70%, rgba(10, 10, 10, 0.45) 100%); } /* taste-skill-ignore: neutralny scrim pod tekstem na zdjęciu */
.plansza-gora { position: absolute; left: 7%; right: 7%; top: 6%; display: flex; justify-content: space-between; gap: 1rem; font-size: var(--step-small); font-weight: 600; }
.plansza-gora span:last-child { text-align: right; color: var(--light-soft); }
.plansza-tagi { position: absolute; left: 7%; right: 7%; bottom: calc(7% + var(--pl) * 1.1 + 1rem); display: flex; flex-wrap: wrap; gap: 0.35rem; }
.plansza-tagi span { padding: 0.3rem 0.65rem; background: rgba(239, 239, 237, 0.14); font-size: 0.8125rem; font-weight: 600; border-radius: 999px; }
.plansza-lockup { position: absolute; left: 7%; right: 7%; bottom: 7%; display: flex; align-items: flex-end; gap: 0; font-size: var(--pl); line-height: 0.9; white-space: nowrap; }
.plansza-znak { width: 2.6em; height: auto; flex: none; fill: currentColor; margin-bottom: 0.06em; }
.plansza-lockup .x { width: 0.72em; height: 0.72em; margin: 0 0.2em 0.04em; flex: none; }
.plansza-marka { font-family: var(--font-display); text-transform: uppercase; font-weight: 400; overflow: hidden; text-overflow: ellipsis; min-width: 0; line-height: 1.12; padding-top: 0.22em; margin-bottom: -0.11em; }

.formularz { grid-column: 8 / 13; display: grid; gap: 1.75rem; }
.pole { display: grid; gap: 0.6rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.pole legend, .pole > label { padding: 0; font-size: var(--step-small); font-weight: 600; color: var(--fg); }
.pole .opc { color: var(--muted); font-weight: 500; }
.pole legend { margin-bottom: 0.6rem; }
.field { width: 100%; min-height: 3.25rem; padding: 0.8rem 1rem; background: var(--surface); color: var(--fg); border: 0; border-radius: 0; font-size: var(--step-body); }
textarea.field { min-height: 7rem; resize: vertical; line-height: 1.45; }
.field::placeholder { color: var(--muted); }
.field:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; display: inline-flex; }
.chip input { -webkit-appearance: none; appearance: none; position: absolute; inset: 0; margin: 0; border: 0; border-radius: 999px; background: transparent; cursor: pointer; }
.chip input:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.chip span { display: inline-flex; align-items: center; min-height: var(--touch); padding: 0 1rem; background: var(--surface); color: var(--muted); font-weight: 600; font-size: var(--step-small); border-radius: 999px; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.chip input:checked + span { background: var(--fg); color: var(--bg); }
.chip input:active + span { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .chip:hover span { color: var(--fg); } .chip:hover input:checked + span { color: var(--bg); } }
.akcje { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.akcja { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 4.25rem; padding: 0 1rem; font-weight: 600; font-size: var(--step-body); text-decoration: none; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.akcja:active { transform: scale(0.98); }
.akcja--ink { background: var(--fg); color: var(--bg); }
.akcja--tone { background: var(--surface); color: var(--fg); }
.field-night .akcja--tone { background: var(--night-3); }
@media (hover: hover) and (pointer: fine) { .field-night .akcja--ink:hover { background: #ffffff; } .akcja--tone:hover { background: var(--night-3); } }
.brief-nota { font-size: var(--step-small); color: var(--muted); margin-top: -0.75rem; min-height: 1.5em; }
.brief-atleta { font-size: var(--step-body); }
.brief-atleta a { font-weight: 600; }
@media (min-width: 48em) and (max-width: 71.99em) {
  .plansza { --pl: 6.4vw; }
  .plansza { grid-column: 1 / 11; position: relative; top: auto; }
  .formularz { grid-column: 1 / 11; }
}
@media (max-width: 47.99em) {
  .plansza, .formularz { grid-column: 1 / -1; position: relative; top: auto; }
  .plansza { --pl: 7vw; aspect-ratio: 16 / 10; }   /* niższy podgląd: pierwsze pola briefu zaraz pod nagłówkiem (runda 09) */
  .brief { display: flex; flex-direction: column; align-items: stretch; gap: 1.75rem; }
  /* telefon: marka i produkt zaraz pod nagłówkiem, podgląd planszy pod nimi, reszta briefu dalej (DOM bez zmian) */
  .brief .formularz { display: contents; }
  .brief .formularz > * { order: 2; }
  .brief .formularz > .pole:nth-child(-n+2) { order: 0; }
  .brief .plansza { order: 1; }
  .kontakt .sek-head { margin-bottom: 1.25rem; }
  .akcje { grid-template-columns: 1fr; }
  .akcja { min-height: 3.75rem; }
}

/* adres jako napis na całą szerokość */
.adres { padding: clamp(5rem, 10vw, 9rem) var(--margin) clamp(1.5rem, 3vw, 2.25rem); }
.adres-mail { display: block; font-family: var(--font-display); text-transform: lowercase; font-weight: 400; font-size: clamp(3rem, 12.4vw, 12rem); line-height: 0.92; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .adres-mail:hover { color: #ffffff; text-decoration: underline; text-decoration-thickness: 0.04em; text-underline-offset: 0.08em; } }
.adres-stopa { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); font-size: var(--step-small); color: var(--light-soft); }
@media (max-width: 47.99em) { .adres-mail { white-space: normal; font-size: 14.2vw; } }

/* ============================================================
   STOPKA: znak wraca jako rzeźba
   ============================================================ */
.footer { background: var(--night); color: var(--light); padding: clamp(2rem, 5vw, 4rem) var(--margin) 2rem; overflow: hidden; }
/* runda 09: wielkie nagłówki Anton w dwóch wierszach mają interlinię min. 0,92–0,95, żeby akcenty (Ó, Ś, Ę, Ą, Ł, Ż)
   nie wbijały się w wiersz wyżej (band-h, strona-head, head, branże, kadr-imie, adres, lockup, umowa) */
/* ostatni kadr strony to sama stopka (bez skrawków wielkiego adresu nad nią): co najmniej ekran wysokości, znak na środku wolnego miejsca */
.footer { min-height: 100svh; display: flex; flex-direction: column; }
.footer .monument { margin-block: auto; }
.monument { position: relative; width: 100%; aspect-ratio: 541 / 150; }
.monument canvas { position: absolute; left: -4%; top: -14%; width: 108%; height: 128%; max-width: none; }
.monument-flat { position: absolute; left: 0; top: 50%; width: 100%; height: auto; transform: translateY(-50%); color: var(--light); }
.monument.is-3d .monument-flat { visibility: hidden; }
.footer-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gutter); margin-top: 72px; }
.footer-links ul { margin: 0; padding: 0; list-style: none; font-size: var(--step-body); line-height: 1.9; }
.footer-links li { color: var(--light-soft); }
.footer-credits { margin-top: 80px; max-width: 64ch; color: var(--light-soft); font-size: var(--step-small); line-height: 1.5; }
.footer-legal { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; color: var(--light-soft); font-size: var(--step-small); }
@media (max-width: 47.99em) {
  .footer-links { grid-template-columns: 1fr 1fr; row-gap: 1.5rem; margin-top: 2.5rem; }
  .footer-credits { margin-top: 3rem; }
}

/* ============================================================
   PODSTRONY
   ============================================================ */
/* Z nami są już: siedem portretów w jednym rzędzie (telefon: dwa w rzędzie, ósme miejsce to zgłoszenie) */
.sklad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(2.5rem, 4vw, 3.5rem) var(--gutter); }
.sklad li { display: grid; gap: 0.75rem; align-content: start; }
.sklad figure { aspect-ratio: 3 / 4; overflow: hidden; background: var(--studio-2); }
.sklad img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; filter: grayscale(1); transition: transform 900ms var(--ease-soft); }
@media (hover: hover) and (pointer: fine) { .sklad li:hover img { transform: scale(1.03); } }
.sklad h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.5rem, 1rem + 1.4vw, 2.5rem); line-height: 1; }
.sklad p { font-size: var(--step-small); color: var(--ink-soft); margin-top: 0.15rem; }
.sklad-ty a { display: grid; place-items: center; align-content: center; aspect-ratio: 3 / 4; background: var(--ink); color: var(--light); text-decoration: none; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2rem, 1rem + 3vw, 4.5rem); line-height: 0.9; text-align: center; transition: background-color var(--t-hover) ease; }
.sklad-ty a .x { display: block; width: 0.7em; height: 0.7em; margin: 0 auto 0.3em; }
@media (hover: hover) and (pointer: fine) { .sklad-ty a:hover { background: var(--night-3); } }

@media (max-width: 47.99em) { .sklad { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.zgloszenie { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2.5rem; align-items: start; }
.zgloszenie-head { grid-column: 1 / 6; display: grid; gap: 1.5rem; align-content: start; }
.zgloszenie .formularz { grid-column: 7 / 13; }
@media (max-width: 71.99em) { .zgloszenie-head, .zgloszenie .formularz { grid-column: 1 / -1; } }

.pytania { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.pytania .head-2 { grid-column: 1 / 5; }
.pytania-lista { grid-column: 6 / 13; display: grid; }
.pytanie { border-top: 1px solid var(--paper-2); }
.pytanie:last-child { border-bottom: 1px solid var(--paper-2); }
.pytanie summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 4.5rem; padding: 1rem 0; cursor: pointer; list-style: none; font-size: var(--step-lead); font-weight: 600; line-height: 1.25; }
.pytanie summary::-webkit-details-marker { display: none; }
.pytanie summary .x { flex: none; width: 0.7em; height: 0.7em; transform: rotate(45deg) scale(0.9); transition: transform 500ms var(--ease-expo); }
.pytanie[open] summary .x { transform: none; }
.pytanie p { padding: 0 0 1.5rem; font-size: var(--step-lead); line-height: 1.4; color: var(--ink-soft); max-width: 44ch; }
@media (max-width: 71.99em) { .pytania .head-2, .pytania-lista { grid-column: 1 / -1; } .pytania .head-2 { margin-bottom: 2rem; } }

/* zespół na podstronie: osoba po osobie, kadr z lewej, tekst z prawej */
.strona-head { padding: clamp(8rem, 18svh, 12rem) var(--margin) clamp(3rem, 6vw, 5rem); }
.strona-head .head { font-size: var(--step-display); line-height: 0.95; }
.osoby { display: grid; gap: clamp(4rem, 9vw, 8rem); }
.osoba-duza { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 1.75rem; align-items: end; }
.osoba-duza[hidden] { display: none; }
.osoba-duza .kadr { grid-column: 1 / 6; }
.osoba-duza .osoba-tekst { grid-column: 7 / 13; display: grid; gap: 1.25rem; padding-bottom: 0.5rem; }
.osoba-duza h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: var(--step-head); line-height: 0.98; }
.osoba-duza .rola { font-weight: 600; font-size: var(--step-lead); }
.osoba-duza p { font-size: var(--step-lead); line-height: 1.4; max-width: 38ch; }
@media (max-width: 47.99em) { .osoba-duza .kadr, .osoba-duza .osoba-tekst { grid-column: 1 / -1; } }

/* ---------- cele dotykowe na telefonie i ekranach dotykowych ---------- */
@media (max-width: 47.99em), (pointer: coarse) {
  .footer-links a, .footer-legal a, .adres-stopa a, .adres-stopa button { display: inline-flex; align-items: center; min-height: var(--touch); }
  .footer-links ul { line-height: 1.3; }
}

/* ============================================================
   RUCH: wejścia sekcji (stan końcowy = stan bez ruchu)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .js [data-in] { opacity: 0.2; transform: translateY(28px); transition: opacity 700ms var(--ease-out), transform 1000ms var(--ease-expo); transition-delay: calc(var(--d, 0) * 90ms); }
  .js [data-in].is-in { opacity: 1; transform: none; }
  .js [data-open] { clip-path: inset(0 0 100% 0); transition: clip-path var(--t-open) var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
  .js [data-open] img { transform: scale(1.12); transition: transform 1600ms var(--ease-soft); transition-delay: calc(var(--d, 0) * 90ms); }
  .js [data-open].is-in { clip-path: inset(0); }
  .js [data-open].is-in img { transform: none; }
  .js [data-rows] > * { opacity: 0.2; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 800ms var(--ease-expo); }
  .js [data-rows].is-in > * { opacity: 1; transform: none; }
  /* „×” w nagłówkach rysuje się kreska po kresce, gdy wjedzie w widok */
  .js [data-x] line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 700ms var(--ease-in-out); }
  .js [data-x] line + line { transition-delay: 220ms; }
  .js [data-x].is-in line { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .przewin i::after { animation: none; transform: none; }
  .hero-foto img, .hero-foto picture.is-on img { transform: none; transition: none; }
  .menu-sheet, .menu-sheet.is-open { transition: none; }
}

/* ---------- dopiski: usługi (kadr przy nagłówku), przełącznik Marcina, podgląd dyscyplin ---------- */
.uslugi-kadr { position: relative; aspect-ratio: 4 / 3; margin-top: clamp(2rem, 4vw, 3rem); overflow: hidden; background: var(--studio-2); }
.uslugi-kadr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity 700ms ease, transform 1400ms var(--ease-soft); }
.uslugi-kadr img.is-on { opacity: 1; transform: none; }
.usluga-foto { display: none; }
.usluga { transition: opacity 500ms ease; }
@media (min-width: 72em) { .js .usluga:not(.is-czytana) { opacity: 0.62; } }
@media (max-width: 71.99em) {
  .uslugi-kadr { display: none; }
  .usluga-foto { display: block; grid-column: 1 / -1; aspect-ratio: 3 / 2; overflow: hidden; background: var(--studio-2); margin-bottom: 0.5rem; }
  .usluga-foto img { width: 100%; height: 100%; object-fit: cover; }
  .usluga::before { grid-row: 2 / 4; }
}

/* Marcin (wariant): widoczny tylko przy data-zespol-marcin="tak" (js/ustawienia.js); bez niego dwie osoby obok siebie */
html[data-zespol-marcin="tak"] [data-osoba="marcin"][hidden] { display: grid; }
/* przełącznik na „nie”: Marcin znika wszędzie, także z listy na głównej (li ma własne display, które przebija [hidden]) */
html:not([data-zespol-marcin="tak"]) [data-osoba="marcin"] { display: none !important; }
html:not([data-zespol-marcin="tak"]) .ludzie .osoba { grid-column: span 5; }
html:not([data-zespol-marcin="tak"]) .ludzie .osoba + .osoba { grid-column: 7 / span 5; }
@media (max-width: 71.99em) {
  html:not([data-zespol-marcin="tak"]) .ludzie .osoba, html:not([data-zespol-marcin="tak"]) .ludzie .osoba + .osoba { grid-column: span 6; }
}
@media (max-width: 47.99em) {
  html:not([data-zespol-marcin="tak"]) .ludzie .osoba, html:not([data-zespol-marcin="tak"]) .ludzie .osoba + .osoba { grid-column: 1 / -1; }
}

/* dyscypliny: pod kursorem pokazuje się kadr z danej dyscypliny (tylko mysz) */
.dysc-podglad.is-on { opacity: 1; scale: 1; }
.dysc-podglad img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* wejście: zanim „×” wyląduje, słowa pary czekają pod linią, reszta pierwszego ekranu jest przygaszona */
@media (prefers-reduced-motion: no-preference) {
  .js.is-entering:not(.is-revealing) .para-slowo { transform: translateY(105%); transition: none; }
  .js.is-revealing .para-p .para-slowo { transition-delay: 160ms; }
  .hero-nad, .hero-dol, .hero .nav, .przewin { transition: opacity 800ms var(--ease-out), translate 1000ms var(--ease-expo); }
  .js.is-entering:not(.is-revealing) :is(.hero-nad, .hero-dol, .hero .nav, .przewin) { opacity: 0; translate: 0 18px; transition: none; }
  .js.is-revealing .hero-dol { transition-delay: 260ms; }
  .js.is-revealing .hero .nav { transition-delay: 380ms; }
  .js.is-entering:not(.is-revealing) .hero-foto { opacity: 0; }
  .hero-foto { transition: opacity 900ms ease; }
}
/* podstrona otwierana pasem zdjęcia: pasek u góry na przyciemnieniu, żeby jasne niebo nie zjadało menu */
.band--strona::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 34%; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, rgba(10, 10, 10, 0.72), rgba(10, 10, 10, 0)); }
.band--strona .nav a:not(.button) { text-shadow: 0 1px 14px rgba(10, 10, 10, 0.6); } /* taste-skill-ignore: neutralny scrim pod paskiem nawigacji */

/* nagłówki wychodzą spod linii; zdania do czytania zapalają się słowo po słowie */
@media (prefers-reduced-motion: no-preference) {
  .js .wznos { clip-path: inset(-0.35em -0.2em -0.3em -0.2em); }
  .js .wznos-in { display: block; transform: translateY(118%); transition: transform 1100ms var(--ease-expo); }
  .js .wznos.is-in .wznos-in { transform: none; }
  .js [data-czytaj] .cz { opacity: 0.22; transition: opacity 420ms ease calc(var(--i) * 150ms + 150ms); }
  .js [data-czytaj].is-in .cz { opacity: 1; }
}
.wznos-in { display: block; }
@media (max-width: 22em) {
  .hero-cta { grid-template-columns: 1fr; }
}
/* zdjęcia realizacji i usług lekko przybliżają się pod kursorem */
@media (hover: hover) and (pointer: fine) {
  .real figure img, .usluga-foto img { transition: transform 900ms var(--ease-soft); }
  .js [data-open].is-in.real-fig:hover img, .real:hover figure.is-in img { transform: scale(1.03); }
}

/* ---------- czytelność i fokus (po sprawdzeniu consistency) ---------- */
.hero { --fg: var(--light); --bg: var(--night); --muted: var(--light-soft); }
.hero .nav, .hero-nad, .band-claim, .hero-lead { text-shadow: 0 1px 14px rgba(10, 10, 10, 0.55); }
.hero .nav .button { text-shadow: none; }
.hero-scrim::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 22%; background: linear-gradient(to bottom, rgba(10, 10, 10, 0.5), rgba(10, 10, 10, 0)); } /* taste-skill-ignore: neutralny scrim pod paskiem */
.button:focus-visible, .akcja:focus-visible, .menu-fab:focus-visible, .menu-close:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.akcja--tone { box-shadow: inset 0 0 0 1.5px rgba(239, 239, 237, 0.2); }
.field-paper .akcja--tone, .field-studio .akcja--tone { box-shadow: inset 0 0 0 1.5px rgba(12, 12, 12, 0.2); }
.menu-fab:focus-visible { outline-color: var(--paper); }
.menu-fab.on-light:focus-visible { outline-color: var(--ink); }

/* przycisk menu dostępny z klawiatury także wtedy, gdy jeszcze nie wjechał */
.menu-fab:focus-visible { transform: none; }
.adres-mail { padding-block: 0.06em; }
@media (prefers-reduced-motion: reduce) {
  .hero-foto picture, .uslugi-kadr img, .usluga, .branza-kadr img, .para-slowo, .iks-svg { transition: none !important; }
}

/* telefon: przy wejściu przyciski i opis czekają, aż „×” przeleci nad nimi na swoje miejsce */
@media (prefers-reduced-motion: no-preference) and (max-width: 47.99em) {
  .js.is-revealing .hero-dol { transition-delay: 760ms; }
  .js.is-revealing .przewin { transition-delay: 900ms; }
}

.sklad-ty a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
/* niski telefon (np. 320×568): bez akapitu w pierwszym ekranie, żeby para i przyciski nie weszły pod pasek */
@media (max-width: 47.99em) and (max-height: 640px) {
  .hero-lead { display: none; }
  .hero-nad { margin-bottom: 0.5rem; }
}

/* ============================================================
   SIEĆ: scena „sieć” (css/scena-siec.css robi mechanikę przypięcia). Tu wygląd w obu trybach:
   bez sceny (brak WebGL2, ograniczony ruch, bez JS) zwykła kompozycja z trzema chmurami kropek,
   na żywo wstęp przy lewej dolnej krawędzi, podpisy dyscyplin i poziomów przy gromadach, puenta pod „×”.
   ============================================================ */
.siec { --siec-pad: var(--section); }
.siec-scena { padding-inline: var(--margin); }
.dysc-podglad { position: fixed; z-index: 25; left: 0; top: 0; width: clamp(180px, 16vw, 260px); aspect-ratio: 1; pointer-events: none; overflow: hidden; opacity: 0; transform: translate3d(var(--px, 0), var(--py, 0), 0); scale: 0.88; transition: opacity 260ms ease, scale 500ms var(--ease-expo); background: var(--night-2); }

/* --- bez sceny --- */
html:not(.siec-ok) .siec:not(.siec-zywa) .siec-scena { padding-top: var(--section); }
html:not(.siec-ok) .siec:not(.siec-zywa) .siec-wstep { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
html:not(.siec-ok) .siec:not(.siec-zywa) .siec-wstep .head { grid-column: 1 / 8; }
html:not(.siec-ok) .siec:not(.siec-zywa) .siec-wstep p { grid-column: 8 / 13; align-self: end; font-size: var(--step-body); line-height: 1.55; color: var(--light); max-width: 46ch; }
html:not(.siec-ok) .siec:not(.siec-zywa) .siec-wstep .siec-nota-tekst { align-self: start; color: var(--light-soft); }
.poziomy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); }
.poziom { display: grid; grid-template-rows: auto 1fr; gap: 1.25rem; align-content: start; }
.poziom svg { width: 100%; height: auto; aspect-ratio: 4 / 3; fill: var(--light); }
.poziom-nazwa { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.625rem, 1rem + 1.6vw, 2.5rem); line-height: 0.95; border-top: 1px solid var(--night-3); padding-top: 1.1rem; min-height: calc(2 * 0.95em + 1.1rem); }
html:not(.siec-ok) .siec:not(.siec-zywa) [data-siec-poziomy] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; padding: 0; }
html:not(.siec-ok) .siec:not(.siec-zywa) .dyscypliny { display: flex; flex-wrap: wrap; gap: 0.35rem 0.4rem; margin: clamp(3.5rem, 7vw, 6rem) 0 0; padding: 0; list-style: none; font-size: var(--step-statement); line-height: 1.2; letter-spacing: -0.01em; }
html:not(.siec-ok) .siec:not(.siec-zywa) .dyscypliny li { color: var(--light-soft); transition: color var(--t-hover) ease; }
html:not(.siec-ok) .siec:not(.siec-zywa) .dyscypliny li::after { content: " ·"; color: var(--night-3); }
html:not(.siec-ok) .siec:not(.siec-zywa) .dyscypliny li:last-child::after { content: ""; }
@media (hover: hover) and (pointer: fine) { html:not(.siec-ok) .siec:not(.siec-zywa) .dyscypliny li:hover { color: var(--light); } }
html:not(.siec-ok) .siec:not(.siec-zywa) .siec-puenta { margin-top: clamp(2.5rem, 5vw, 4rem); font-family: var(--font-display); text-transform: uppercase; font-size: var(--step-head-2); line-height: 0.98; max-width: 22ch; }
@media (max-width: 47.99em) {
  html:not(.siec-ok) .siec:not(.siec-zywa) .siec-wstep .head, html:not(.siec-ok) .siec:not(.siec-zywa) .siec-wstep p { grid-column: 1 / -1; }
  .poziomy { grid-template-columns: 1fr; row-gap: 0; }
  .poziom { grid-template-columns: 44% minmax(0, 1fr); grid-template-rows: auto; align-items: center; column-gap: 1rem; border-top: 1px solid var(--night-3); padding: 0.75rem 0; }
  .poziom:last-child { border-bottom: 1px solid var(--night-3); }
  .poziom-nazwa { border-top: 0; padding-top: 0; min-height: 0; font-size: clamp(1.375rem, 6vw, 1.875rem); }
  html:not(.siec-ok) .siec:not(.siec-zywa) .dyscypliny { font-size: var(--step-lead); }
}

/* --- na żywo --- */
:is(.siec-ok .siec, .siec.siec-zywa) .siec-wstep { position: absolute; left: var(--margin); bottom: clamp(2rem, 8svh, 5rem); max-width: 46rem; }
:is(.siec-ok .siec, .siec.siec-zywa) .siec-wstep .head { font-size: clamp(2.75rem, 1.2rem + 5vw, 6rem); margin-bottom: 1.25rem; }
:is(.siec-ok .siec, .siec.siec-zywa) .siec-wstep p { max-width: 42ch; color: var(--light-soft); font-size: var(--step-body); line-height: 1.5; }
:is(.siec-ok .siec, .siec.siec-zywa) .siec-wstep .siec-nota-tekst { margin-top: 0.85rem; font-size: var(--step-small); color: var(--light-soft); }
/* przejście w tory bieżni (js/tory.js): kropkowany „×” rozkłada się na linie torów; miękki pas tła zostaje tylko bez sceny */
:is(.siec-ok .siec, .siec.siec-zywa)::after { display: none; }
.siec-tory { display: none; }
:is(.siec-ok .siec, .siec.siec-zywa) .siec-tory { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; opacity: 0; overflow: visible; }
.siec.tory-trwa .siec-plotno { opacity: calc(1 - var(--tory-kropki, 0)); }
.siec.tory-trwa [data-siec-puenta] { filter: opacity(calc(1 - var(--tory-puenta, 0))); }
/* zakładka (komputer, obie sceny na żywo): bieżnia wjeżdża pod sieć schowana pod nocą, staje przypięta i przez ostatnie
   pół ekranu cała sekcja sieci gaśnie nad nią; linie torów lądują na liniach jej kadru. Scena bieżni czyta wjazd
   z margin-top (js/scena-bieznia.js, geo.lead) i stoi na pierwszej klatce, dopóki sieć nie zgaśnie. Telefon bez zakładki. */
@media (min-width: 1024px), (min-width: 768px) and (orientation: landscape) {
  html.siec-ok.sb-live:not(:has(.scene-bieznia.is-rest)) { --tory-wjazd: 50svh; }
  html.siec-ok.sb-live:not(:has(.scene-bieznia.is-rest)) .siec { z-index: 2; }
  html.siec-ok.sb-live .scene-bieznia:not(.is-rest) {
    z-index: 1;
    margin-top: calc(-100svh - var(--sb-bar) - var(--sb-off) - var(--tory-wjazd));
    height: calc(var(--sb-hold) * 100svh + 100svh + var(--sb-bar) + var(--sb-off) + var(--tory-wjazd));
    scroll-margin-top: calc(-1rem - var(--tory-wjazd));   /* kotwica ląduje na kadrze, gdy sieć już zgasła (1rem znosi scroll-padding-top) */
  }
  /* fokus z klawiatury na przycisku przystanku przewija za wjazd, nie zostawia przycisku pod jeszcze ciemną siecią */
  html.siec-ok.sb-live .scene-bieznia:not(.is-rest) .sb-route button { scroll-margin-bottom: var(--tory-wjazd); }
}
.siec.tory-trwa { opacity: calc(1 - var(--tory-d, 0)); }
.siec.tory-koniec { visibility: hidden; }
:is(.siec-ok .siec, .siec.siec-zywa) .dyscypliny li { font-size: 1.0625rem; font-weight: 500; letter-spacing: 0.005em; color: var(--light); }
/* hierarchia 13 dyscyplin (jak w wersji bez ruchu): największe gromady z większym podpisem, najmniejsze ciszej */
:is(.siec-ok .siec, .siec.siec-zywa) .dyscypliny li:is(:nth-child(1), :nth-child(3), :nth-child(6)) { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; }
:is(.siec-ok .siec, .siec.siec-zywa) .dyscypliny li:is(:nth-child(8), :nth-child(10), :nth-child(11), :nth-child(12), :nth-child(13)) { font-size: 0.9375rem; color: var(--light-soft); }
:is(.siec-ok .siec, .siec.siec-zywa) .siec-poziomy li { font-size: 1rem; font-weight: 600; color: var(--light); }
:is(.siec-ok .siec, .siec.siec-zywa) .siec-puenta { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.5rem); line-height: 1; }
/* podgląd zdjęcia pod kursorem przy podpisie gromady (układ „13 dyscyplin”); nisko nad punktami, nie zasłania sceny */
:is(.siec-ok .siec, .siec.siec-zywa) .dyscypliny li[data-foto] { pointer-events: auto; }
@media (max-width: 39.99em) {
  :is(.siec-ok .siec, .siec.siec-zywa) .siec-wstep { bottom: 2.25rem; right: var(--margin); }
  :is(.siec-ok .siec, .siec.siec-zywa) .dyscypliny li { font-size: 0.9375rem; }
  :is(.siec-ok .siec, .siec.siec-zywa) .dyscypliny li:is(:nth-child(1), :nth-child(3), :nth-child(6)) { font-size: 1.0625rem; }
  :is(.siec-ok .siec, .siec.siec-zywa) .dyscypliny li:is(:nth-child(8), :nth-child(10), :nth-child(11), :nth-child(12), :nth-child(13)) { font-size: 0.8125rem; }
  :is(.siec-ok .siec, .siec.siec-zywa) .siec-poziomy li { font-size: 0.9375rem; }
}

/* przycisk Menu chowa się przy przewijaniu w dół i wraca przy przewijaniu w górę (nie siedzi na czytanym tekście) */
.menu-fab.is-schowany { transform: translateY(-160%); }
.menu-fab.is-nad-tekstem:not(:focus-visible) { transform: translateY(-160%); }   /* komputer: nad akapitem chowa się, nie zasłania końca wiersza (js/nuvr.js) */
.menu-fab.is-schowany:focus-visible { transform: none; }

/* Realizacje: Nike × Sportano jako plansza (zamiast zdjęcia): lockup marek największy, zdanie pod nim, liczby jako dopisek */
.liczby { grid-column: 1 / 8; display: grid; grid-template-rows: auto auto 1fr; align-content: start; padding: clamp(1.5rem, 3vw, 2.75rem); background: var(--night); color: var(--light); }
.real--duza .liczby-lockup { display: flex; flex-wrap: wrap; align-items: flex-end; margin: 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.75rem, 0.5rem + 10vw, 12rem); line-height: 0.92; letter-spacing: -0.005em; color: var(--light); max-width: none; }
.liczby-lockup .x { width: 0.74em; height: 0.74em; margin: 0 0.18em 0.04em; }
.real .liczby .liczby-zdanie { margin-top: clamp(1rem, 2vw, 1.75rem); font-size: var(--step-lead); line-height: 1.3; color: var(--light); max-width: 32ch; }
.real .liczby .liczby-dopisek { align-self: end; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.45rem; margin-top: clamp(2rem, 4vw, 3.5rem); padding-top: 1rem; border-top: 1px solid var(--night-3); font-weight: 600; color: var(--light-soft); max-width: none; }
.liczby-dopisek b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem, 1rem + 1.6vw, 2.75rem); line-height: 0.9; color: var(--light); }
.liczby-dopisek b + b, .liczby-dopisek b:nth-of-type(2) { margin-left: 1.25rem; }
.real--duza .real-praca { font-size: var(--step-lead); line-height: 1.35; max-width: 40ch; }
@media (max-width: 47.99em) { .liczby { grid-column: 1 / -1; padding: 1.25rem; min-height: 0; } }

/* Zespół: karty bez zdjęcia są kartami pracy (to, czym ta osoba zajmuje się w nuvr), tej samej wysokości co portret */
.kadr-karta { display: flex; flex-direction: column; justify-content: flex-start; padding: clamp(1.25rem, 2.4vw, 2rem); background: var(--night); }
.karta-praca { font-weight: 500; font-size: clamp(1.75rem, 1rem + 1.9vw, 2.75rem); line-height: 1.12; letter-spacing: -0.02em; color: var(--light); max-width: 12ch; text-wrap: balance; }
.karta-praca .x { display: block; width: 0.9em; height: 0.9em; margin: 0 0 0.6em; color: var(--light-soft); }
.osoba-duza .karta-praca { font-size: clamp(2rem, 1rem + 2.6vw, 3.5rem); }
@media (max-width: 47.99em) {
  /* główna na telefonie: zespół jako trzy zwarte wiersze (kadr, imię, rola), pełne biogramy na podstronie */
  .ludzie { row-gap: 1rem; }
  .ludzie .osoba { grid-template-columns: 5.5rem minmax(0, 1fr); align-items: center; column-gap: 1rem; gap: 0 1rem; }
  .ludzie .kadr { grid-row: 1; padding: 0.6rem; }
  .ludzie .kadr-imie { display: none; }
  .ludzie .karta-praca { font-size: 0; max-width: none; display: grid; place-items: center; width: 100%; height: 100%; }
  .ludzie .karta-praca .x { width: 1.1rem; height: 1.8rem; margin: 0; }
  .ludzie .kadr-karta { align-items: center; justify-content: center; }
}

/* droga atlety: na głównej dwie zasady, na podstronie „Zgłoś się” na zdjęciu otwierającym */
.zasady--dwie li { grid-column: span 5; }
/* „Na co się umawiamy” (dla atletów): jedno zdanie jako myśl przewodnia, reszta krótką listą pod nim */
.umowa { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: clamp(3rem, 6vw, 5rem); }
.umowa-mysl { grid-column: 1 / -1; display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.umowa-mysl h3 { font-weight: 600; font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.01em; }
.umowa-zdanie { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.75rem, 1rem + 5.4vw, 7.5rem); line-height: 0.95; max-width: 15ch; text-wrap: balance; color: var(--fg); }
.zasady--lista { grid-column: 5 / -1; display: block; }
.zasady--lista li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--gutter); align-items: baseline; padding: 1.1rem 0; border-top: 1px solid rgba(12, 12, 12, 0.14); }
.zasady--lista li:last-child { border-bottom: 1px solid rgba(12, 12, 12, 0.14); }
.zasady--lista h3 { font-size: var(--step-body); line-height: 1.35; }
.zasady--lista p { font-size: var(--step-body); max-width: 38ch; }
@media (max-width: 71.99em) { .zasady--lista { grid-column: 1 / -1; } }
@media (max-width: 47.99em) { .zasady--lista li { grid-template-columns: 1fr; row-gap: 0.3rem; } .umowa-zdanie { font-size: clamp(2.25rem, 11vw, 3.5rem); } }
.zasady--dwie li + li { grid-column: 7 / span 5; }
@media (max-width: 47.99em) { .zasady--dwie li, .zasady--dwie li + li { grid-column: 1 / -1; } }
.band-akcja { grid-column: 8 / 13; grid-row: 1; justify-self: end; display: grid; gap: 1.25rem; justify-items: start; width: 100%; max-width: 30ch; margin-bottom: clamp(1.25rem, 2.6vw, 2.5rem); }
.band-akcja .band-claim { margin: 0; max-width: none; }
.band--strona img { object-position: 50% 60%; }
@media (min-width: 48em) and (max-width: 71.99em) { .band-akcja { grid-column: 6 / 13; } }
@media (max-width: 47.99em) { .band-akcja { grid-column: 1; grid-row: 2; justify-self: start; margin: 0; } }
.band-akcja .band-claim, .band-akcja .band-claim:is(*) { grid-column: auto; grid-row: auto; justify-self: start; }

/* wejście: tekst pierwszego ekranu wychodzi dopiero, gdy „×” wyląduje (lot nie przecina słów ani zdań) */
@media (prefers-reduced-motion: no-preference) {
  .js.is-revealing .para-slowo, .js.is-revealing .para-p .para-slowo { transition-delay: 820ms; }
  .js.is-revealing .hero-dol, .js.is-revealing .hero-nad { transition-delay: 900ms; }
  .js.is-revealing .przewin { transition-delay: 1100ms; }
}

.sklad-podpis { margin-top: clamp(2rem, 4vw, 3rem); font-size: var(--step-small); color: var(--ink-soft); }
.footer-legal { margin-top: clamp(3rem, 6vw, 5rem); }

/* niski ekran telefonu (np. 320×568) i telefon poziomo (667×375): pierwszy ekran = wysokość ekranu, para w jednym
   mniejszym wierszu, z opisu tylko pierwsze zdanie, oba przyciski */
@media (max-width: 47.99em) and (max-height: 640px) {
  .hero { min-height: 0; }
  .para {
    --para: clamp(1.75rem, 8.5vh, 2.6rem);
    --iks-h: calc(var(--para) * 0.95);
    grid-template-columns: minmax(0, 1fr) var(--iks-h) minmax(0, 1fr);
    grid-template-rows: calc(var(--para) * 0.95);
    column-gap: 0.25em;
    margin-bottom: 0.85rem;
  }
  .para-l { grid-column: 1; grid-row: 1; justify-content: flex-end; }
  .iks { grid-column: 2; grid-row: 1; width: auto; justify-self: stretch; }
  .para-p { grid-column: 3; grid-row: 1; justify-content: flex-start; }
  .hero-lead { display: block; }
  .hero-lead .lead-dalej { display: none; }
  .hero-nad { margin-bottom: 0.5rem; }
  .hero-dol { row-gap: 0.5rem; }
  .hero-h1 { font-size: clamp(1.25rem, 5vw, 1.5rem); }
}

/* telefon: strzałka przy prawej krawędzi paska branż (znika, gdy pasek dojedzie do końca) */
.branza-dalej { display: none; }
@media (max-width: 47.99em) {
  .branza-wybor { position: relative; }
  .branza-dalej { display: grid; place-items: center; position: absolute; right: 0; bottom: calc(1.5rem + 0.25rem); width: var(--touch); height: var(--touch); border-radius: 50%; background: var(--light); color: var(--ink); font-size: 1.5rem; font-weight: 600; line-height: 1; padding-bottom: 0.12em; box-shadow: 0 0 0 6px var(--night); transition: opacity var(--t-ui) ease, transform var(--t-ui) var(--ease-out); }
  .branza-wybor.is-koniec .branza-dalej { opacity: 0; transform: translateX(0.5rem); pointer-events: none; }
}

/* zespół na podstronie: jedna osoba = jeden blok (kadr i tekst od tej samej linii, imię raz) */
.osoba-duza { align-items: start; padding-top: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid var(--studio-2); }
.osoba-duza .osoba-tekst { padding-bottom: 0; }
.osoba-duza .karta-praca { max-width: 13ch; }
/* obrysowany przycisk na ciemnym tle: po najechaniu i przy fokusie jasne tło, ciemny napis */
@media (hover: hover) and (pointer: fine) { .hero .button--line:hover { background: var(--light); color: var(--ink); } }
.hero .button--line:focus-visible { background: var(--light); color: var(--ink); }

/* Zespół (główna): jedno zdjęcie (Maciek) i trzy nazwiska jako typografia, bez pustych kart */
.ludzie2 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.ludzie-foto { grid-column: 1 / 5; aspect-ratio: 4 / 5; overflow: hidden; background: var(--night); }
.ludzie-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.ludzie-lista { grid-column: 6 / 13; display: grid; }
.ludzie-lista li { display: grid; gap: 0.35rem; padding: clamp(1.25rem, 2.4vw, 2rem) 0; border-top: 1px solid var(--studio-2); }
.ludzie-lista li:last-child { border-bottom: 1px solid var(--studio-2); }
.ludzie-lista h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: var(--step-head); line-height: 0.95; }
.ludzie-lista p { font-weight: 600; font-size: var(--step-lead); color: var(--ink-soft); }
@media (min-width: 48em) and (max-width: 71.99em) { .ludzie-foto { grid-column: 1 / 6; } .ludzie-lista { grid-column: 7 / 13; } .ludzie-lista h3 { font-size: var(--step-head-2); } }
@media (max-width: 47.99em) {
  .ludzie-foto { display: none; }
  .ludzie-lista { grid-column: 1 / -1; }
  .ludzie-lista h3 { font-size: var(--step-head-2); }
  .ludzie-lista p { font-size: var(--step-body); }
}
/* zespol.html: osoby bez zdjęcia jako blok typograficzny (nazwisko największe) */
.osoba-duza--bez .osoba-tekst { grid-column: 1 / 10; }
.osoba-duza--bez h2 { font-size: var(--step-display); line-height: 0.98; }   /* wiersze nazwiska się nie stykają */
@media (max-width: 47.99em) { .osoba-duza--bez .osoba-tekst { grid-column: 1 / -1; } .osoba-duza--bez h2, .osoba-duza h2 { font-size: clamp(2rem, 11.4vw, 5rem); } }   /* imię i nazwisko w jednym wierszu */

/* telefon poziomo (włączane po wysokości): bez nadtytułu i podpowiedzi, para w jednym wierszu, tekst z lewej,
   oba przyciski z prawej; nic nie wchodzi na znak w pasku */
@media (max-height: 520px) and (max-width: 71.99em) {
  .hero { min-height: 0; height: 100svh; }
  .nav { padding-block: 0.75rem; min-height: 0; }
  .hero-nad, .przewin { display: none; }
  .hero-tresc { padding-bottom: 0.9rem; }
  .para {
    --para: clamp(1.6rem, 10svh, 2.6rem);
    --iks-h: calc(var(--para) * 0.95);
    grid-template-columns: minmax(0, 1fr) var(--iks-h) minmax(0, 1fr);
    grid-template-rows: calc(var(--para) * 0.95);
    column-gap: 0.25em;
    margin-bottom: 0.7rem;
  }
  .para-l { grid-column: 1; grid-row: 1; justify-content: flex-end; }
  .iks { grid-column: 2; grid-row: 1; width: auto; justify-self: stretch; }
  .para-p { grid-column: 3; grid-row: 1; justify-content: flex-start; }
  .hero-dol { grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.25rem; row-gap: 0.3rem; align-items: end; }
  .hero-h1 { grid-column: 1; grid-row: 1; font-size: 1.25rem; }
  .hero-lead { grid-column: 1; grid-row: 2; display: block; font-size: 0.9375rem; line-height: 1.35; max-width: 44ch; }
  .hero-lead .lead-dalej { display: none; }
  .hero-cta { grid-column: 2; grid-row: 1 / 3; display: flex; flex-direction: column; gap: 0.45rem; margin: 0; justify-self: end; align-self: end; }
  .hero-cta .button { min-height: 2.6rem; padding: 0 1rem; }
}

/* przycisk Menu: dwie kreski (nie „×”, które czyta się jak „zamknij”) */
.menu-kreski { display: inline-block; width: 1.05em; height: 0.5em; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; transition: height var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .menu-fab:hover .menu-kreski { height: 0.32em; } }

/* „Co już zrobiliśmy”: Nike × Sportano jako jeden moment na całą szerokość, On i regeneracja jako równy rząd */
@media (min-width: 48em) {
  .real--duza .liczby { grid-column: 1 / -1; min-height: clamp(22rem, 40vw, 34rem); }
  .real--duza .real-tekst { grid-column: 1 / 9; margin-top: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(2rem, 5vw, 4rem); align-items: baseline; }
  .real--a { grid-column: 1 / 7; }
  .real--b { grid-column: 7 / 13; margin-top: 0; }
  .real--a figure, .real--b figure { aspect-ratio: 3 / 2; }
}
/* sieć → jak pracujemy: noc przechodzi w papier bieżni zamiast twardego cięcia */
.siec::after { content: ""; display: block; height: clamp(10rem, 28vh, 16rem); background: linear-gradient(to bottom, var(--night) 0%, #3a3a39 45%, var(--paper) 100%); } /* taste-skill-ignore: przejście tła między sekcjami */
