/* Pracuj Sportem: wygląd strony w Design Systemie v2.
   Źródło prawdy kolorów i fontów: _shorts_batch/marka.py (Dropbox). Tu tylko ich kopia na www. */

@font-face { font-family: 'Archivo'; src: url('/fonty/archivo.woff') format('woff'); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('/fonty/archivo-italic.woff') format('woff'); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; }
@font-face { font-family: 'Literata'; src: url('/fonty/literata.woff') format('woff'); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Literata'; src: url('/fonty/literata-italic.woff') format('woff'); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #1F1F1F;
  --chalk: #FAF8F4;
  --flame: #E8814D;
  --flame-700: #9C5226;
  --ash: #9A9489;
  --stone: #6B665E;

  --bg: #FAF8F4;
  --surface: #F2EEE6;
  --text: #1F1F1F;
  --muted: #6B665E;
  --linia: rgba(31, 31, 31, .16);
  --akcent-tekst: #9C5226;

  --band: #1F1F1F;
  --band-text: #FAF8F4;
  --band-muted: #9A9489;
  --band-linia: rgba(250, 248, 244, .16);

  --kolumna: 1160px;
  --proza: 34em;
  --f-display: 'Archivo', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --f-ui: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f-tekst: 'Literata', Georgia, 'Times New Roman', serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #151515;
    --surface: #202020;
    --text: #FAF8F4;
    --muted: #9A9489;
    --linia: rgba(250, 248, 244, .18);
    --akcent-tekst: #EE9463;
    --band: #0E0E0E;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-tekst);
  font-size: 18px;
  line-height: 1.62;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
p { margin: 0 0 1em; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--flame);
  outline-offset: 2px;
}
img { display: block; max-width: 100%; height: auto; }
[id] { scroll-margin-top: 24px; }
.pomin { position: absolute; left: -9999px; top: 8px; background: var(--flame); color: #1F1F1F; padding: 8px 12px; z-index: 50; font-family: var(--f-ui); font-weight: 700; }
.pomin:focus { left: 8px; }

/* ---------- typografia marki ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 75%;
  text-transform: uppercase;
  line-height: .96;
  letter-spacing: .004em;
  text-wrap: balance;
  margin: 0;
}
.kursywa { font-style: italic; color: var(--flame); }
.belka {
  display: inline-block;
  width: .26em;
  height: 1.02em;
  margin-left: .17em;
  vertical-align: -.04em;
  background: linear-gradient(to top, var(--flame) 58%, rgba(232, 129, 77, 0));
  transform: skewX(-10deg);
}
.etykieta {
  font-family: var(--f-ui);
  font-weight: 700;
  font-stretch: 90%;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  margin: 0 0 8px;
}
.pasmo .etykieta { color: var(--band-muted); }
.plytka {
  display: inline-block;
  transform: skewX(-10deg);
  background: var(--flame);
  color: #1F1F1F;
  padding: .12em .42em;
  font-family: var(--f-ui);
  font-weight: 800;
  font-stretch: 80%;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.3;
}
.plytka > span { display: inline-block; transform: skewX(10deg); }
.plytka--ink { background: var(--text); color: var(--bg); }

/* ---------- nawigacja ---------- */
.nawigacja { background: var(--band); color: var(--band-text); }
.nawigacja__in {
  max-width: var(--kolumna);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
}
.znak {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 75%;
  text-transform: uppercase;
  font-size: 21px;
  letter-spacing: .01em;
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  white-space: nowrap;
}
.znak em { font-style: italic; color: var(--flame); margin-left: .28em; }
.menu { display: flex; gap: 8px 18px; flex-wrap: wrap; align-items: center; }
.menu a {
  font-family: var(--f-ui);
  font-weight: 600;
  font-stretch: 92%;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
  text-decoration: none;
  color: var(--band-text);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.menu a:hover, .menu a[aria-current="page"] { border-bottom-color: var(--flame); }

/* ---------- układ ---------- */
.pasmo { background: var(--band); color: var(--band-text); }
.pasmo a { color: var(--band-text); }
.sekcja { max-width: var(--kolumna); margin: 0 auto; padding-block: 56px; padding-inline: 20px; }
.sekcja--waska { max-width: 860px; }
.sekcja--gesta { padding-block: 36px; }
.naglowek-sekcji { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 22px; }
.h1 { font-size: clamp(38px, 6.6vw, 80px); }
.h2 { font-size: clamp(26px, 3.4vw, 38px); }
.h3 { font-size: clamp(19px, 2.2vw, 23px); }
.lead { font-size: 20px; line-height: 1.55; max-width: 32em; margin-top: 22px; }
.pasmo .lead { color: var(--band-text); }
.wstep { max-width: var(--proza); color: var(--muted); }
.link-dalej {
  font-family: var(--f-ui);
  font-weight: 700;
  font-stretch: 90%;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
  color: var(--akcent-tekst);
  text-decoration: none;
  border-bottom: 2px solid var(--flame);
  padding-bottom: 2px;
}
.pasmo .link-dalej { color: var(--flame); }
.przycisk {
  display: inline-block;
  font-family: var(--f-ui); font-weight: 800; font-stretch: 85%; text-transform: uppercase;
  letter-spacing: .06em; font-size: 14px; background: var(--flame); color: #1F1F1F;
  border: 0; padding: 13px 20px; cursor: pointer; text-decoration: none; justify-self: start;
}
.pasmo a.przycisk { color: #1F1F1F; }
.przycisk:hover { background: #C56A3C; }
.przycisk--obrys { background: transparent; color: var(--band-text); border: 1px solid var(--band-linia); }
.przycisk--obrys:hover { background: transparent; border-color: var(--flame); }
.pasmo a.przycisk--obrys { color: var(--band-text); }
.przyciski { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.25fr .95fr; gap: 40px; align-items: end; }
.hero h1 { font-size: clamp(42px, 7.4vw, 92px); }
.drzwi { display: grid; gap: 12px; }
.drzwi__karta { display: block; text-decoration: none; border: 1px solid var(--band-linia); padding: 18px 20px; background: rgba(250, 248, 244, .03); }
.drzwi__karta:hover { border-color: var(--flame); }
.drzwi__karta strong { font-family: var(--f-ui); font-weight: 800; font-stretch: 85%; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; display: block; }
.drzwi__karta span { display: block; color: var(--band-muted); font-size: 15px; line-height: 1.45; margin-top: 4px; }

/* ---------- atlas ---------- */
.atlas { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 12px; }
.atlas__karta { background: var(--bg); border: 1px solid var(--linia); padding: 20px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; min-height: 190px; }
.atlas__karta:hover { background: var(--surface); }
.atlas__nr { font-family: var(--f-ui); font-weight: 800; font-stretch: 80%; font-size: 12px; letter-spacing: .12em; color: var(--flame); font-variant-numeric: tabular-nums; }
.atlas__tytul { font-size: clamp(20px, 2.4vw, 26px); }
.atlas__pytanie { font-size: 15px; line-height: 1.4; font-style: italic; color: var(--muted); }
.atlas__meta { font-family: var(--f-ui); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: auto; }
.atlas__produkt { font-family: var(--f-ui); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--akcent-tekst); }

/* ---------- karty odcinków ---------- */
.odcinki { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 26px; }
.odcinek { text-decoration: none; display: flex; flex-direction: column; gap: 10px; }
.odcinek img { border: 1px solid var(--linia); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.odcinek:hover img { border-color: var(--flame); }
.odcinek__nr { font-family: var(--f-ui); font-weight: 800; font-stretch: 80%; font-size: 12px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.odcinek__nr b { color: var(--akcent-tekst); font-weight: 800; }
.odcinek__tytul { font-family: var(--f-tekst); font-weight: 600; font-size: 17px; line-height: 1.35; }
.odcinek__gosc { font-family: var(--f-ui); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ---------- fragment (cytat z rozmowy) ---------- */
.dowod { display: grid; gap: 14px; padding-block: 28px; border-top: 1px solid var(--linia); }
.dowod:last-child { border-bottom: 1px solid var(--linia); }
.pasmo .dowod { border: 0; }
.dowod blockquote { margin: 0; font-size: clamp(21px, 2.6vw, 28px); line-height: 1.34; font-weight: 500; text-wrap: pretty; }
.dowod__kto { display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; font-family: var(--f-ui); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.pasmo .dowod__kto { color: var(--band-muted); }
.dowod__kontekst { max-width: var(--proza); margin: 0; }
.moment {
  font-family: var(--f-ui); font-weight: 700; font-stretch: 90%; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none; color: var(--akcent-tekst);
  border: 1px solid var(--linia); padding: 5px 9px; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.moment:hover { border-color: var(--flame); }
.pasmo .moment { color: var(--flame); border-color: var(--band-linia); }

/* ---------- praktyki, drabinka ---------- */
.praktyki { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.praktyka { border-top: 3px solid var(--flame); padding-top: 14px; }
.praktyka h3 { font-family: var(--f-ui); font-weight: 800; font-stretch: 85%; text-transform: uppercase; font-size: 14px; letter-spacing: .05em; margin: 0 0 8px; }
.praktyka p { font-size: 16.5px; line-height: 1.5; margin: 0; }
.drabinka { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.drabinka li { border-top: 3px solid var(--flame); padding-top: 12px; display: grid; gap: 6px; align-content: start; }
.drabinka b { font-family: var(--f-ui); font-weight: 800; font-stretch: 85%; text-transform: uppercase; font-size: 15px; letter-spacing: .04em; }
.drabinka span { font-size: 15.5px; line-height: 1.45; color: var(--band-muted); }
.lista-plaska { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

/* ---------- artykuł ---------- */
.a-siatka { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
.proza { max-width: var(--proza); }
.proza h2 { font-family: var(--f-display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(22px, 2.6vw, 27px); line-height: 1.02; margin: 38px 0 12px; }
.proza blockquote { margin: 24px 0; padding-left: 18px; border-left: 4px solid var(--flame); font-size: 20px; line-height: 1.42; font-weight: 500; }
.proza blockquote p { margin: 0; }
.pytanie { font-family: var(--f-ui); font-weight: 700; font-stretch: 90%; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--akcent-tekst); }
.skrot { background: var(--surface); padding: 22px 24px; border-left: 4px solid var(--flame); }
.skrot ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 9px; }
.skrot li { font-size: 16.5px; line-height: 1.5; }
.bok { display: grid; gap: 28px; align-content: start; }
.karta-boczna { border: 1px solid var(--linia); padding: 18px; }
.dane { margin: 12px 0 0; display: grid; gap: 8px; }
.dane div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.4; }
.dane dt { font-family: var(--f-ui); font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.dane dd { margin: 0; }
.rozdzialy ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 7px; }
.rozdzialy a { display: grid; grid-template-columns: 62px 1fr; gap: 10px; text-decoration: none; font-size: 14.5px; line-height: 1.35; }
.rozdzialy a:hover span { border-bottom: 1px solid var(--flame); }
.rozdzialy time { color: var(--muted); font-family: var(--f-ui); font-size: 12.5px; font-variant-numeric: tabular-nums; letter-spacing: .04em; padding-top: 2px; }
.tagi { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-family: var(--f-ui); font-weight: 700; font-stretch: 90%; font-size: 11.5px;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--linia); padding: 5px 9px; color: var(--text);
}
a.tag:hover { border-color: var(--flame); color: var(--akcent-tekst); }
.pasmo .tag { border-color: var(--band-linia); color: var(--band-text); }
.przypis { font-family: var(--f-ui); font-size: 13px; line-height: 1.5; color: var(--muted); margin: 12px 0 0; }

/* ---------- odtwarzacz YouTube ładowany po kliknięciu ---------- */
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border: 0; padding: 0; cursor: pointer; overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.yt:hover img { opacity: 1; }
.yt__graj { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) skewX(-10deg); background: var(--flame); color: #1F1F1F; padding: 14px 22px; font-family: var(--f-ui); font-weight: 800; font-stretch: 85%; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; }
.yt__graj > span { display: inline-block; transform: skewX(10deg); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__uwaga { font-family: var(--f-ui); font-size: 12.5px; color: var(--muted); margin: 8px 0 0; }

/* ---------- prelekcje i warsztaty ---------- */
.prel { display: grid; gap: 2px; background: var(--linia); border: 1px solid var(--linia); }
.prel__poz { background: var(--bg); padding: 24px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px 36px; }
.prel__poz h3 { font-size: clamp(21px, 2.4vw, 27px); margin: 0 0 10px; }
.prel__poz p { margin: 0 0 10px; font-size: 16.5px; line-height: 1.5; }
.fakty { margin: 0; display: grid; gap: 8px; align-content: start; }
.fakty div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.45; }
.fakty dt { font-family: var(--f-ui); font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.fakty dd { margin: 0; }
.warsztaty { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2px; background: var(--linia); border: 1px solid var(--linia); }
.warsztat { background: var(--bg); padding: 22px; display: grid; gap: 12px; align-content: start; }
.warsztat h3 { font-size: clamp(21px, 2.3vw, 25px); margin: 0; }
.warsztat__pod { font-weight: 600; font-size: 16.5px; line-height: 1.4; margin: 0; }
.warsztat .fakty div { grid-template-columns: 76px 1fr; }
.warsztat__nie { font-size: 15px; line-height: 1.45; color: var(--muted); margin: 0; border-left: 3px solid var(--linia); padding-left: 12px; }
.liczby { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2px; background: var(--linia); border: 1px solid var(--linia); margin: 22px 0; }
.liczby div { background: var(--bg); padding: 16px 18px; display: grid; gap: 6px; align-content: start; }
.liczby strong { font-family: var(--f-display); font-weight: 800; font-stretch: 75%; font-size: clamp(36px, 4.4vw, 50px); line-height: 1; }
.liczby span { font-family: var(--f-ui); font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); line-height: 1.35; }
.pasmo .liczby { background: var(--band-linia); border-color: var(--band-linia); }
.pasmo .liczby div { background: var(--band); }
.pasmo .liczby span { color: var(--band-muted); }

/* ---------- formularz ---------- */
.formularz { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; max-width: 560px; }
.pole { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.pole label { font-family: var(--f-ui); font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--band-muted); }
.pole input, .pole select, .pole textarea {
  width: 100%; min-width: 0;
  font-family: var(--f-tekst); font-size: 16px; padding: 10px 12px;
  background: rgba(250, 248, 244, .06); border: 1px solid var(--band-linia); color: var(--band-text);
}
.pole select option { color: #1F1F1F; }
.odp { font-size: 15px; color: var(--band-muted); margin: 0; }

/* ---------- stopka ---------- */
.stopka { background: var(--ink); color: var(--chalk); }
.stopka__in { max-width: var(--kolumna); margin: 0 auto; padding: 40px 20px; display: grid; gap: 22px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
.stopka a { color: var(--chalk); }
.stopka p { color: var(--ash); font-size: 14.5px; margin: 0 0 8px; max-width: 40em; }
.stopka__linki { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--f-ui); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.stopka__linki a { text-decoration: none; border-bottom: 1px solid transparent; }
.stopka__linki a:hover { border-bottom-color: var(--flame); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .a-siatka { grid-template-columns: 1fr; gap: 32px; }
  .prel__poz { grid-template-columns: 1fr; }
  .stopka__in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
