/* FOX&fellows — O NÁS */
.why { padding-top: 112px; padding-bottom: 50px; }
.why__title {
  font-family: var(--font-x); font-weight: 500; font-size: 64px; line-height: 60px;
  color: var(--orange); margin-bottom: 30px;
}
.why__text { margin-bottom: 30px; }
/* „Proč my?" vede na podstránku Značka FOX&fellows (Kristian 27. 8.: odstranit
   desatero a aktivovat odkaz). Nadpis zůstává nadpisem, jen se dá kliknout;
   podtržení naskočí až při najetí, ať to v odstavci nekřičí. */
.why__link { color: inherit; text-decoration: none; }
.why__link:hover,
.why__link:focus-visible { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }

/* video je nově nad texty (Jarek 29/7) */
.viewer { position: relative; background: #000; margin: 0 0 50px; }
.viewer__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
/* jakmile video běží, tlačítko Play zmizí, ať nesedí přes ovládání přehrávače */
.viewer.is-playing .viewer__play { display: none; }
.viewer__poster { width: 100%; aspect-ratio: 1094 / 616; object-fit: cover; opacity: .9; }
.viewer__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 112px; height: 112px; transition: transform .2s;
}
.viewer__play:hover { transform: translate(-50%, -50%) scale(1.08); }
.viewer__play img { width: 100%; height: 100%; }

.desatero { padding-top: 80px; padding-bottom: 80px; }
.desatero__title {
  font-family: var(--font-x); font-weight: 300; font-size: 40px; line-height: 44px;
  color: var(--ink); margin-bottom: 40px;
}
.desatero__grid { width: 100%; height: auto; }

.workflow { padding: 80px 50px 90px; }
.workflow__title {
  font-family: var(--font-x); font-weight: 500; font-size: 64px; line-height: 60px;
  color: var(--orange); margin-bottom: 60px;
}
/* 2026-08-24 (Kristian: „ta osa je moc vlevo, měla zůstat uprostřed"): osa má
   napevno 1094 px a po rozšíření pruhu zůstala nalepená vlevo, takže oranžová
   čára přestala být ve středu stránky. Automatické okraje ji vrací doprostřed. */
.workflow__timeline { position: relative; max-width: 1094px; margin-left: auto; margin-right: auto; }
.workflow__timeline::before {
  content: ""; position: absolute; left: 50%; top: 14px; bottom: 14px;
  width: 2px; background: var(--orange); transform: translateX(-50%);
}
.workflow__step { display: flex; align-items: center; min-height: 110px; position: relative; }
.workflow__step p {
  font-family: var(--font-x); font-weight: 300; font-size: 24px; line-height: 1.2;
  width: calc(50% - 40px); color: var(--ink);
}
.workflow__step em { font-style: italic; }
.workflow__step--left { justify-content: flex-start; }
.workflow__step--left p { text-align: right; }
.workflow__step--right { justify-content: flex-end; }
.workflow__step--right p { text-align: left; }
.workflow__dot {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 28px; height: 28px; border: 3px solid var(--orange); border-radius: 50%;
  background: #fff; z-index: 1;
}

.team-section { padding-top: 40px; }

@media (max-width: 700px) {
  .why { padding-top: 40px; }
  .why__title { font-size: 48px; line-height: 48px; }
  .viewer__play { width: 72px; height: 72px; }
  .desatero__title { font-size: 34px; line-height: 37px; }
  .workflow { padding: 40px var(--pad) 50px; }
  .workflow__title { font-size: 48px; line-height: 48px; margin-bottom: 40px; }
  .workflow__step p { font-size: 19px; }
  .workflow__dot { width: 22px; height: 22px; }
}


/* ---------- Desatero jako HTML (EN verze) ---------- */
.desatero-html { display: grid; grid-template-columns: repeat(5, 1fr); }
.deska {
  aspect-ratio: 215 / 329; position: relative; overflow: hidden;
  background: #fff; padding: 12px; display: flex; align-items: flex-end;
}
.deska--orange { background: var(--orange); }
.deska__num {
  position: absolute; top: -14px; left: -6px; right: 0;
  font-family: var(--font-x); font-weight: 500;
  font-size: clamp(90px, 10.5vw, 150px); line-height: 1; letter-spacing: -0.12em;
  color: var(--orange);
}
.deska--orange .deska__num { color: #fff; }
.deska p {
  position: relative; font-family: var(--font-sx); font-weight: 500;
  font-size: 19px; line-height: 1.32; text-align: right;
  color: var(--ink); margin: 0;
}
@media (max-width: 700px) {
  /* Figma mobil: 2 sloupce, liché oranžové dlaždice vlevo, sudé bílé vpravo,
     obří číslice nahoře, text zarovnaný vpravo dole, mezi dlaždicemi mezera. */
  .desatero-html { grid-template-columns: repeat(2, 1fr); column-gap: 16px; row-gap: 22px; }
  .deska { aspect-ratio: 186 / 372; padding: 14px 15px 18px; }
  .deska p { font-size: 15px; line-height: 1.3; }
  .deska__num { font-size: 118px; top: -8px; left: -3px; }
}


/* ---------- Zakladatelé ---------- */
.founders { display: flex; flex-direction: column; gap: 16px; padding-bottom: 90px; }
.founders__strip { height: 500px; overflow: hidden; }
.founders__strip img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  filter: grayscale(1); transition: filter .5s ease;
}
.founders__strip:hover img { filter: grayscale(0); }
@media (max-width: 700px) {
  .founders__strip { height: 240px; }
}

/* 2026-08-18: zrušeno. Tohle pravidlo posouvalo stránku o 40 px doprava proti
   tehdejší globální osnově, která seděla 64 px vlevo od středu. Globální .wrap
   je nově vycentrovaný, takže tenhle posun už není potřeba a jen by rozhodil
   zarovnání obsahu proti hlavičce. */
