/* ==========================================================================
   TalentHUB - vrstva stylu
   Nemeni strukturu, obsah ani barvy. Meni pismo, tvary a rozvrzeni prvku.
   Nacita se jako posledni, proto prebiji hodnoty v inline <style>.
   ========================================================================== */

/* --- Pismo. Lezi u nas, nic se netaha z internetu. ----------------------- */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

/* --- Tokeny ------------------------------------------------------------- */

:root,
:root[data-theme="dark"] {
  /* --radius ani --button-radius se zamerne neprepisuji globalne.
     Hranate se dela jmenovite u konkretnich prvku nize. */

  --font-heading: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Archivo', 'Segoe UI', system-ui, sans-serif;
  --font-team:    'Archivo', 'Segoe UI', system-ui, sans-serif;

  /* Typograficka skala. Ma stredni i maly stupen, driv chybely oba. */
  --t-display: clamp(2.8rem, 7.5vw, 6.2rem);
  --t-h2:      clamp(1.9rem, 4.2vw, 3.3rem);
  --t-h3:      clamp(1.25rem, 2vw, 1.75rem);
  --t-lead:    clamp(1.05rem, 1.3vw, 1.2rem);
  --t-body:    1rem;
  --t-small:   .875rem;
  --t-micro:   .72rem;

  --w-display: 88%;
  --w-h2: 92%;
}

/* --- Zaklad ------------------------------------------------------------- */

body,
input, textarea, select, button {
  font-family: var(--font-body);
}

body {
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Nadpisy -----------------------------------------------------------
   Radkovani nikdy pod 1.0. Ceska diakritika (r z u e d t) sedi nad vyskou
   verzalek a pri 0.88 narazela do radku nad sebou.
   ----------------------------------------------------------------------- */

h1, .display, .hero h1 {
  font-family: var(--font-heading);
  font-size: var(--t-display);
  font-stretch: var(--w-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.025em;
}

h2, .section-title {
  font-family: var(--font-heading);
  font-size: var(--t-h2);
  font-stretch: var(--w-h2);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -.02em;
}

h3, .card h3, .tier b {
  font-family: var(--font-heading);
  font-size: var(--t-h3);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.01em;
}

h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -.005em;
}

/* --- Text --------------------------------------------------------------- */

.lead, .page-lead, .hero-lead, .lead-tight {
  font-size: var(--t-lead);
  line-height: 1.5;
  font-weight: 450;
}

.section-copy, .card p, .sec-copy {
  font-size: var(--t-body);
  line-height: 1.6;
}

.note-box, .cta-note, .site-footer, .hint, .slot-hint, .slot-count {
  font-size: var(--t-small);
  line-height: 1.55;
}

.eyebrow, .kicker, .znacka, .slot-day > h4 {
  font-family: var(--font-heading);
  font-size: var(--t-micro);
  font-weight: 800;
  font-stretch: 100%;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* --- Tvary. Pryc se zaoblenim. ------------------------------------------ */

.nav-cta, .menu-button, .skip-link,
.field, .path,
.button, .button-primary, .button-secondary,
.card, .tier, .note-box, .info, .photo-frame, .xlink,
.field input, .field textarea, .field select,
.slot, .slot-day, .slot-cekani, .oznameni, .journey-item {
  border-radius: 2px;
}

/* Kulate zustavaji jen skutecne kruhy. */
.logo, .dot, .step-dot, .theme-toggle, .avatar, .photo-round {
  border-radius: 50%;
}

.button {
  font-weight: 700;
  font-stretch: 96%;
  letter-spacing: .01em;
  box-shadow: none;
}

.slot {
  font-weight: 650;
  font-stretch: 96%;
}

.slot[aria-pressed="true"] { font-weight: 800; }

.card, .tier, .note-box, .info { box-shadow: none; }

/* ==========================================================================
   Sekce "Co v akademii probiha" - tri bloky
   Zadne nove barvy: pouziva --surface a --accent, ktere na webu uz jsou.
   Bloky se lisi SIRKOU, VYSKOU a SVISLYM POSUNEM, ne odstinem.
   Horni ani dolni hrana netvori rovnou linku, proto to necte jako
   tri stejne karty v mrizce.
   ========================================================================== */

.journey-list {
  display: grid;
  grid-template-columns: 1.15fr .82fr 1.03fr;   /* zamerne nestejne */
  align-items: start;
  gap: 0;
  margin-top: 2.6rem;
}

/* Spolecny tvar bloku. */
.journey-list > .journey-item,
.journey-list > .journey-item:nth-child(1),
.journey-list > .journey-item:nth-child(2),
.journey-list > .journey-item:nth-child(3) {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: none;
  align-content: end;
  justify-items: stretch;
  width: 100%;
  margin: 0;
  padding: 1.6rem 1.4rem 1.5rem;
  border: 0;
  border-radius: 2px;
  box-shadow: none;
  background: var(--surface);
  transform: none;
  top: auto;
  left: auto;
  overflow: hidden;
}

/* Schody: jina vyska a jiny svisly posun u kazdeho. */
.journey-list > .journey-item:nth-child(1) { min-height: 330px; margin-top: 0; }
.journey-list > .journey-item:nth-child(2) { min-height: 250px; margin-top: 3.4rem; }
.journey-list > .journey-item:nth-child(3) { min-height: 295px; margin-top: 1.1rem; }

/* Bloky na sebe doléhaji, delici je vlasova linka, ne mezera. */
.journey-list > .journey-item + .journey-item {
  border-left: 1px solid var(--line);
}

/* Akcent jen na prvnim bloku. Jedna barva, jedno misto. */
.journey-list > .journey-item:nth-child(1) {
  border-top: 3px solid var(--accent);
}

.journey-list > .journey-item > div {
  width: 100%;
  min-width: 0;
}

.journey-list > .journey-item h3 {
  max-width: 14ch;
  margin: 0 0 .6rem;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 1.9vw, 1.9rem);
  font-stretch: 90%;
  font-weight: 780;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.journey-list > .journey-item p {
  max-width: 34ch;
  margin: 0;
  font-size: .9rem;
  line-height: 1.5;
}

/* --- Mobil a tablet ------------------------------------------------------
   Posuny a pevne vysky plati jen tam, kde jsou bloky vedle sebe.
   Ve sloupci by z nich byly jen mezery a prazdno navic.
   ------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .journey-list {
    grid-template-columns: 1fr;
    margin-top: 1.8rem;
  }
  .journey-list > .journey-item,
  .journey-list > .journey-item:nth-child(1),
  .journey-list > .journey-item:nth-child(2),
  .journey-list > .journey-item:nth-child(3) {
    min-height: 0;
    margin-top: 0;
    padding: 1.3rem 1.2rem;
    border-left: 0;
  }
  /* Ve sloupci deli bloky vodorovna linka. */
  .journey-list > .journey-item + .journey-item {
    border-top: 1px solid var(--line);
  }
  .journey-list > .journey-item h3 {
    max-width: none;
    font-size: 1.25rem;
  }
  .journey-list > .journey-item p { max-width: none; }
}

/* ==========================================================================
   Hustota stranky
   Sekce byly vysoke pres 1000 px na par vet. Priciny: odsazeni 112 px nahore
   i dole, nadpisy zuzene na 9ch (lamaly se na ctyri radky) a dlazdice slozene
   pod sebe pres 76 % sirky, nadpis nad textem.
   Sikme posuny dlazdic zustavaji, ta nepravidelnost je zamer.
   ========================================================================== */

.section {
  padding-block: clamp(3rem, 5.5vw, 5.25rem);
}

/* Nadpisy sekci: dva radky misto ctyr. */
.section-title {
  max-width: 20ch;
}

.fields-header {
  margin-bottom: clamp(1.8rem, 3.5vw, 3rem);
}

/* --- Dlazdice v "Oblasti" -----------------------------------------------
   Rozvrzeni teto sekce je nize v "Homepage refresh" (dvousloupcova mrizka,
   prvni dlazdice pres dva radky). Zdejsi pravidla by s nim jen zapasila,
   proto tu zadna nejsou. Zbyva jen odsazeni sekce na mobilu.
   ----------------------------------------------------------------------- */

@media (max-width: 760px) {
  .section { padding-block: clamp(2.2rem, 7vw, 3rem); }
  .section-title { max-width: 16ch; }
}

/* ==========================================================================
   Homepage refresh 2026-09

   Směr: tmavý redakční tech s radarem jako rozpoznatelným motivem značky.
   Jedna lila akcentní barva, střídmá animace a zachovaná informační architektura.
   ========================================================================== */

:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --max: 1320px;
  --page: #071a28;
  --page-alt: #0b2232;
  --surface: #102b3d;
  --navy: #edf6fa;
  --navy-soft: #c1d3dc;
  --text: #f1f7fa;
  --muted: #a9bdc8;
  --accent: #cf85ed;
  --accent-strong: #cf85ed;
  --accent-soft: #382743;
  --line: rgba(221, 238, 247, .15);
  --shadow: 0 24px 64px rgba(0, 7, 12, .3);
}

body { background: var(--page); color: var(--text); }

.shell { padding-inline: clamp(1.1rem, 4vw, 3.75rem); }
.section { padding-block: clamp(4.5rem, 8vw, 7.5rem); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: 72px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--page) 94%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-wrap { gap: clamp(.8rem, 2vw, 1.5rem); }
.brand { flex: 0 0 auto; }
.brand-mark { border-radius: 2px; box-shadow: none; }

.desktop-nav {
  margin-left: auto;
  gap: clamp(1rem, 2vw, 2rem);
}

.desktop-nav a {
  font-size: .88rem;
  font-weight: 680;
  letter-spacing: -.01em;
}

.desktop-nav .nav-cta {
  padding: .7rem 1rem;
  background: var(--accent);
  color: #062942;
}

.hero {
  min-height: 100dvh;
  display: flex;
  align-items: stretch;
  padding: 92px 0 28px;
  background: var(--page);
}

.hero-grid {
  min-height: calc(100dvh - 120px);
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6.5rem);
}

.hero-copy {
  width: auto;
  max-width: 620px;
  padding-block: clamp(2rem, 5vw, 5rem);
}

.hero .eyebrow {
  margin-bottom: clamp(1.25rem, 2.5vw, 2.25rem);
  color: var(--navy-soft);
}

.hero h1 {
  max-width: 8.5ch;
  margin: 0;
  font-size: clamp(3.6rem, 6.6vw, 6.75rem);
  font-stretch: 86%;
  line-height: .94;
  letter-spacing: -.045em;
}

.hero-lead {
  max-width: 39ch;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}

.hero-actions { margin-top: clamp(1.75rem, 3vw, 2.5rem); }

.button {
  min-height: 48px;
  padding: .85rem 1.15rem;
  border-radius: 2px;
  transition: transform .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button-primary { background: var(--accent); color: #062942; }
.button-secondary { background: transparent; color: var(--navy); border-color: var(--line); }

.hero-radar {
  position: relative;
  width: min(48vw, 660px);
  aspect-ratio: 1;
  justify-self: end;
  isolation: isolate;
  animation: radar-arrive 1s .08s var(--ease) both;
}

.radar-core {
  position: absolute;
  inset: 4%;
  overflow: hidden;
  border: 1px solid rgba(207, 133, 237, .46);
  border-radius: 50%;
  background: #061622;
  box-shadow: inset 0 0 0 1px rgba(237, 246, 250, .035), inset 0 0 110px rgba(207, 133, 237, .07);
}

.radar-core svg {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
}

.radar-grid {
  stroke: rgba(193, 211, 220, .24);
  stroke-width: 1;
}

.radar-grid path { stroke-dasharray: 2 8; }
/* Spojnice ze stredu k bodum se nekresli - radar je nema. */
.radar-links { display: none; }

.radar-nodes { fill: var(--accent); }

/* Stred sviti stale - je to pocatek, ne zachyt. */
.radar-nodes circle:first-child { fill: var(--text); opacity: 1; animation: none; }

/* Bod se rozsviti, az kdyz k nemu dojede paprsek, a zase zhasne.
   Paprsek objede kolo za 18 s (radar-scan), takze kazdy bod dostane
   zpozdeni podle sveho uhlu od dvanacti hodin:
     331 stupnu -> 16.55 s | 72 -> 3.60 s | 157 -> 7.85 s | 240 -> 12.00 s
   backwards drzi bod zhasnuty uz behem zpozdeni, ne az po prvnim probliknuti. */
.radar-nodes circle {
  animation: radar-blip 18s linear infinite backwards;
}

.radar-nodes circle:nth-child(2) { animation-delay: 16.55s; }
.radar-nodes circle:nth-child(3) { animation-delay: 3.6s; }
.radar-nodes circle:nth-child(4) { animation-delay: 7.85s; }
.radar-nodes circle:nth-child(5) { animation-delay: 12s; }

@keyframes radar-blip {
  0%   { opacity: 0; }
  1.5% { opacity: 1; }
  12%  { opacity: .75; }
  34%  { opacity: 0; }
  100% { opacity: 0; }
}
.radar-ripples { stroke: var(--accent); stroke-width: 1.5; }

.radar-ripples circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: radar-pulse 4.8s var(--ease) infinite;
}

.radar-ripples circle:nth-child(2) { animation-delay: -1.6s; }
.radar-ripples circle:nth-child(3) { animation-delay: -3.2s; }

.radar-sweep {
  position: absolute;
  inset: 3%;
  z-index: 1;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 83%, rgba(207, 133, 237, .16) 94%, rgba(207, 133, 237, .52) 100%);
  animation: radar-scan 18s linear infinite;
}

.radar-sweep::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 50%;
  background: rgba(207, 133, 237, .58);
  transform-origin: bottom;
}

.radar-origin {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  padding: .5rem .65rem;
  border: 1px solid rgba(207, 133, 237, .36);
  background: #071a28;
  color: var(--text);
  font-size: .64rem;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
}

.radar-key {
  position: absolute;
  left: 0;
  bottom: 7%;
  z-index: 4;
  width: auto;
  margin: 0;
  display: grid;
  gap: .4rem;
  padding: .8rem 1rem .8rem .9rem;
  border-left: 2px solid var(--accent);
  background: rgba(7, 26, 40, .9);
  color: var(--navy-soft);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@keyframes radar-arrive {
  from { opacity: 0; transform: translateY(22px) scale(.98); }
}

@keyframes radar-scan { to { transform: rotate(360deg); } }

@keyframes radar-pulse {
  0%, 35%, 100% { opacity: .25; transform: scale(.75); }
  12% { opacity: .9; transform: scale(1.16); }
}

.section-title { max-width: 16ch; }
.section-title .accent { color: inherit; }
.hero h1 .accent { color: var(--accent-strong); }

.journey { background: var(--page); }

.journey-layout {
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 8rem);
}

.journey-intro {
  position: sticky;
  top: 112px;
  width: auto;
  margin: 0;
}

.journey-list {
  display: block;
  margin-top: 0;
}

.journey-list > .journey-item,
.journey-list > .journey-item:nth-child(1),
.journey-list > .journey-item:nth-child(2),
.journey-list > .journey-item:nth-child(3) {
  min-height: 0;
  width: 100%;
  margin: 0;
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.journey-list > .journey-item:last-child { border-bottom: 1px solid var(--line); }

.journey-list > .journey-item > div {
  display: grid;
  grid-template-columns: minmax(170px, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.journey-list > .journey-item h3 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(1.55rem, 2.8vw, 2.7rem);
  line-height: 1.03;
}

.journey-list > .journey-item p { margin: .2rem 0 0; color: var(--muted); }

.fields { background: var(--page-alt); }
.fields-header { width: min(100%, 760px); margin: 0 0 clamp(3rem, 6vw, 5rem); }
.fields-header .section-copy { max-width: 52ch; }

.field-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(2rem, 7vw, 7rem);
  row-gap: 0;
}

.field-rail > .field,
.field-rail > .field:nth-child(1),
.field-rail > .field:nth-child(2),
.field-rail > .field:nth-child(3) {
  display: block;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: clamp(1.7rem, 3vw, 2.5rem) 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--navy);
}

.field-rail > .field:first-child { grid-row: span 2; align-self: center; }
.field-rail > .field:last-child { border-bottom: 1px solid var(--line); }

.field-rail > .field h3 {
  max-width: 14ch;
  font-size: clamp(1.75rem, 3.6vw, 3.8rem);
  line-height: 1;
}

.field-rail > .field p { max-width: 42ch; margin-top: .9rem; color: var(--muted); }

.community { background: var(--page); }
.community-copy { width: min(70%, 760px); margin: 0 0 clamp(3rem, 6vw, 5rem) 13%; }
.photo-story { min-height: 700px; }

.photo-frame,
.photo-frame:first-child,
.photo-frame:last-child {
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.photo-frame:first-child { transform: rotate(-.7deg); }
.photo-frame:last-child { aspect-ratio: 16 / 8; transform: rotate(.35deg); }
.photo-frame:first-child img { object-position: center 28%; transform: scale(1.34); }
.photo-frame:last-child img { object-position: center 28%; transform: scale(1.4); }

.paths { background: var(--page-alt); }
.paths .section-title { max-width: 13ch; }
.paths-grid { margin-top: clamp(3rem, 6vw, 5rem); }

.path {
  width: min(76%, 860px);
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.path-talent { margin-left: 0; }
.path-partner { margin: 1rem 0 0 auto; }
.path h3 { font-size: clamp(2rem, 4.2vw, 4.25rem); }
.path-link { color: var(--accent-strong); font-weight: 760; }

.contact {
  padding-block: clamp(5rem, 9vw, 8rem);
  background: var(--page);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .75fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
  padding-inline: var(--pad);
}

.contact .section-title {
  grid-column: 1;
  grid-row: 1 / span 2;
  max-width: 9ch;
}

.contact .section-copy {
  grid-column: 2;
  max-width: 42ch;
  margin: 0;
}

.contact .button {
  grid-column: 2;
  justify-self: start;
  margin: 1.75rem 0 0;
}

.site-footer { border-top: 1px solid var(--line); background: var(--page); }

@media (max-width: 1080px) {
  .desktop-nav { gap: 1rem; }
  .desktop-nav a { font-size: .8rem; }
  .hero-grid { grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); gap: 2.5rem; }
  .hero h1 { font-size: clamp(3.7rem, 7.8vw, 5.8rem); }
}

@media (max-width: 980px) {
  .menu-button {
    position: static;
    top: auto;
    right: auto;
    z-index: auto;
    margin-left: auto;
  }

  .hero { min-height: 0; padding: 98px 0 0; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 2rem; padding-top: 2rem; }
  .hero-copy { padding-block: 2rem 0; }
  .hero h1 { max-width: 9ch; }
  .hero-radar { width: min(78vw, 620px); margin-left: auto; }
  .journey-layout { grid-template-columns: 1fr; gap: 2rem; }
  .journey-intro { position: static; width: min(88%, 700px); }
  .journey-list { margin-top: 1rem; }
  .community-copy { width: min(88%, 720px); margin-left: 0; }
  .contact-inner { padding-inline: var(--pad); }
}

@media (max-width: 720px) {
  .site-header { height: 64px; }
  .brand { gap: .55rem; }
  .brand-mark { width: 34px; height: 34px; }
  .menu-button { min-height: 38px; }

  .section { padding-block: 4.25rem; }
  .hero { padding-top: 76px; }
  .hero-grid { padding-top: 1.25rem; }
  .hero-copy { width: 100%; padding-top: 1.25rem; }
  .hero .eyebrow { margin-bottom: 1rem; }
  .hero h1 { max-width: 8.8ch; font-size: clamp(3.15rem, 16vw, 4.9rem); line-height: .96; }
  .hero-lead { max-width: 34ch; margin-top: 1.25rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; margin-top: 1.5rem; }
  .button { width: 100%; justify-content: center; }
  .hero-radar { width: 100%; margin-top: .75rem; }
  .radar-core { inset: 2%; }
  .radar-key { left: .25rem; bottom: 2%; padding: .65rem .75rem; font-size: .62rem; }

  .section-title { max-width: 14ch; }
  .journey-intro { width: 100%; }
  .journey-list > .journey-item > div { grid-template-columns: 1fr; gap: .75rem; }
  .journey-list > .journey-item h3 { max-width: none; }

  .fields-header { width: 100%; }
  .field-rail { grid-template-columns: 1fr; }
  .field-rail > .field:first-child { grid-row: auto; }
  .field-rail > .field:last-child { border-bottom: 1px solid var(--line); }
  .field-rail > .field h3 { max-width: none; font-size: clamp(1.75rem, 9vw, 2.8rem); }

  .community-copy { width: 100%; }
  .photo-story { min-height: 620px; }
  .photo-frame:first-child { width: 76%; }
  .photo-frame:last-child { width: 92%; margin-top: -7rem; }

  .path,
  .path-talent,
  .path-partner {
    width: 100%;
    margin: 0;
  }

  .path + .path { margin-top: 1rem; }
  .contact-inner { display: block; padding-inline: var(--pad); }
  .contact .section-copy { margin-top: 1.25rem; }
  .contact .button { margin-top: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-radar,
  .radar-sweep,
  .radar-ripples circle { animation: none; }
  /* Bez animace by body zustaly zhasnute - proto je ukazeme natrvalo. */
  .radar-nodes circle { animation: none; opacity: 1; }
  .button { transition: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--page);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ========================================================================== 
   Asymmetric system and motion pass 2026-09
   Sharp edges, staggered widths and one repeated offset-layer motif.
   ========================================================================== */

html,
body {
  overflow-x: clip;
}

:root,
:root[data-theme="light"],
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #071a28;
  --page-alt: #0b2232;
  --surface: #102b3d;
  --navy: #edf6fa;
  --navy-soft: #c1d3dc;
  --text: #f1f7fa;
  --muted: #a9bdc8;
  --accent: #cf85ed;
  --accent-strong: #cf85ed;
  --accent-soft: #382743;
  --line: rgba(221, 238, 247, .15);
  --radius: 0;
  --button-radius: 0;
}

body { background: var(--page); color: var(--text); }

.theme-btn { display: none !important; }

.brand-mark,
.button,
.button-primary,
.button-secondary,
.menu-button,
.mobile-menu a,
.card,
.tier,
.note-box,
.info,
.xlink,
.photo-frame,
.field input,
.field textarea,
.field select,
.slot,
.slot-day,
.slot-cekani,
.done-box,
.demo-fill,
.dev-t,
pre {
  border-radius: 0 !important;
}

.desktop-nav a:not(.nav-cta),
.path-link {
  position: relative;
}

.desktop-nav a:not(.nav-cta)::after,
.path-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -.35rem;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}

.desktop-nav a:not(.nav-cta):hover::after,
.desktop-nav a:not(.nav-cta):focus-visible::after,
.path-link:hover::after,
.path-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s var(--ease);
}

.button:hover { transform: translate(4px, -4px); }
.button:active { transform: translate(1px, -1px); }

/* Landing: entrance and layered compositions. */
.hero-copy .eyebrow {
  animation: copy-in .65s .08s var(--ease) both;
}

.hero-copy h1 {
  animation: headline-in .85s .14s var(--ease) both;
}

.hero-copy .hero-lead {
  animation: copy-in .7s .28s var(--ease) both;
}

.hero-copy .hero-actions {
  animation: copy-in .7s .38s var(--ease) both;
}

@keyframes headline-in {
  from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(28px); }
  to { opacity: 1; clip-path: inset(0); transform: none; }
}

@keyframes copy-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.journey-layout {
  grid-template-columns: minmax(250px, .62fr) minmax(0, 1.38fr);
}

.journey-list {
  display: block;
  padding: 1rem clamp(.75rem, 2.5vw, 2rem) 1.5rem 0;
}

.journey-list > .journey-item,
.journey-list > .journey-item:nth-child(1),
.journey-list > .journey-item:nth-child(2),
.journey-list > .journey-item:nth-child(3) {
  position: relative;
  min-height: 0;
  margin: 0 0 clamp(2rem, 5vw, 4rem);
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
  background: var(--surface);
}

.journey-list > .journey-item:nth-child(1) {
  width: 82%;
  margin-left: 0;
  box-shadow: 14px 14px 0 var(--accent);
}

.journey-list > .journey-item:nth-child(2) {
  width: 78%;
  margin-left: 22%;
  background: transparent;
  border-width: 1px 0;
}

.journey-list > .journey-item:nth-child(3) {
  width: 88%;
  margin-left: 5%;
  box-shadow: -12px 12px 0 var(--page-alt), -13px 13px 0 var(--accent);
}

.journey-list > .journey-item:last-child { border-bottom: 1px solid var(--line); }

.journey-list > .journey-item > div { display: block; }

.journey-list > .journey-item h3 {
  max-width: 13ch;
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3.4vw, 3.4rem);
}

.journey-list > .journey-item p { max-width: 42ch; margin: 0; }

.field-rail { display: block; }

.field-rail > .field,
.field-rail > .field:nth-child(1),
.field-rail > .field:nth-child(2),
.field-rail > .field:nth-child(3) {
  display: grid;
  grid-template-columns: minmax(220px, .82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 7vw, 7rem);
  width: 84%;
  padding: clamp(2.3rem, 5vw, 4.5rem) 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.field-rail > .field:nth-child(1) { width: 88%; margin-left: 0; }
.field-rail > .field:nth-child(2) { width: 76%; margin-left: 24%; }
.field-rail > .field:nth-child(3) { width: 82%; margin-left: 8%; border-bottom: 1px solid var(--line); }

.field-rail > .field h3 { max-width: 12ch; margin: 0; }
.field-rail > .field p { align-self: end; margin: 0; }

.photo-frame,
.photo-frame:first-child,
.photo-frame:last-child {
  border: 1px solid var(--line);
  box-shadow: none;
}

.photo-frame:first-child { box-shadow: 12px 12px 0 var(--surface), 20px 20px 0 var(--accent); }
.photo-frame:last-child { box-shadow: -12px 12px 0 var(--surface), -20px 20px 0 var(--accent); }

.path {
  transition: transform .35s var(--ease), border-color .35s ease;
}

.path:hover { border-color: var(--accent); transform: translateX(12px); }

/* Content pages: staggered editorial rhythm instead of equal cards. */
.page {
  padding-top: clamp(8.5rem, 14vw, 12rem);
}

.page-head {
  width: min(86%, 980px);
  max-width: none;
  margin-left: clamp(0rem, 7vw, 6.5rem);
}

.page h1 {
  max-width: 11.5ch;
  font-size: clamp(3.2rem, 7.6vw, 7.4rem);
  line-height: .92;
}

.page-lead {
  max-width: 48ch;
  margin: clamp(2rem, 5vw, 4rem) 0 0 clamp(0rem, 34vw, 30rem);
}

.page-head .eyebrow { animation: copy-in .65s .05s var(--ease) both; }
.page-head h1 { animation: headline-in .9s .12s var(--ease) both; }
.page > .page-lead { animation: copy-in .75s .3s var(--ease) both; }

.sec { padding-block: clamp(4.5rem, 9vw, 8rem); }
.sec > h2 { max-width: 13ch; }
.sec-copy { max-width: 46ch; }

.cards { display: block; }

.cards > .card {
  width: 68%;
  margin: 0;
  padding: clamp(1.8rem, 4vw, 3.2rem) 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.cards > .card:nth-child(even) { width: 64%; margin-left: 30%; }
.cards > .card:nth-child(3n) { width: 76%; margin-left: 9%; }
.cards > .card:last-child { border-bottom: 1px solid var(--line); }
.cards > .card h3 { max-width: 18ch; font-size: clamp(1.55rem, 3vw, 2.8rem); }
.cards > .card p { max-width: 54ch; margin-top: .8rem; }

.steps-list::before,
.steps-fill { display: none; }

.step-row {
  grid-template-columns: minmax(64px, .18fr) minmax(0, 1fr);
  width: 78%;
  gap: clamp(1.2rem, 4vw, 3.5rem);
  padding: clamp(1.7rem, 4vw, 3rem) 0;
  border-bottom: 1px solid var(--line);
}

.step-row:nth-child(even) { margin-left: 18%; }

.step-num {
  width: auto;
  height: auto;
  display: block;
  border-radius: 0;
  background: transparent;
  color: var(--accent);
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-stretch: 82%;
  line-height: .9;
}

.step-num.lit {
  background: transparent;
  color: var(--text);
  box-shadow: none;
}

.note-box,
.info {
  position: relative;
  z-index: 0;
  max-width: 820px;
  margin-left: auto;
  padding: clamp(1.8rem, 4vw, 3rem);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 14px 14px 0 var(--accent-soft), 15px 15px 0 var(--accent);
}

.cta { margin-top: clamp(3rem, 7vw, 6rem); }
.cta-note { margin-left: clamp(0rem, 24vw, 20rem); }

.xlink {
  border-width: 1px 0 0;
  background: transparent;
}

.crosslinks .row2 { gap: clamp(1.5rem, 5vw, 5rem); }

/* Forms: one readable path, no 2x2 card wall and no rounded fields. */
.ap {
  width: min(100%, 1080px);
  padding-top: clamp(9.5rem, 15vw, 12rem);
}

.ap .step { max-width: 940px; }
.ap .step:nth-child(even) { margin-left: clamp(0rem, 5vw, 4rem); }

.ap h1,
.ap h2 {
  max-width: 12ch;
  line-height: .96;
}

.tiers {
  display: block;
  margin: clamp(2.5rem, 6vw, 5rem) 0;
}

.tiers > .tier {
  display: grid;
  grid-template-columns: minmax(7rem, .34fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  width: 78%;
  margin: 0;
  padding: clamp(1.35rem, 3vw, 2.2rem) 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.tiers > .tier:nth-child(even) { width: 76%; margin-left: 18%; }
.tiers > .tier:last-child { border-bottom: 1px solid var(--line); }
.tier b { margin: .2rem 0 0; color: var(--accent); }
.tier p { max-width: 54ch; }

.f { max-width: 820px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }

.row {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(1.5rem, 5vw, 4rem);
}

.step > .row:nth-of-type(even) {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
}

input[type=text],
input[type=email],
input[type=tel],
input[type=date],
input[type=url],
textarea,
select {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: .95rem .15rem;
  box-shadow: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  outline: none;
  background: color-mix(in srgb, var(--surface) 45%, transparent);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.choices,
.choices.two { display: block; max-width: 860px; }

.ch {
  position: relative;
  margin: 0;
  padding: 1rem .15rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  transition: padding-left .25s var(--ease), border-color .25s ease, background-color .25s ease;
}

.ch:hover { padding-left: .65rem; border-color: var(--accent); transform: none; }
.ch:has(input:checked) { padding-left: .8rem; border-color: var(--accent); background: transparent; }
.ch:has(input:checked)::before {
  content: "";
  position: absolute;
  inset: .65rem auto .65rem 0;
  width: 2px;
  background: var(--accent);
}

.ch input[type=checkbox] { border-radius: 0; }
.ch input[type=radio] { border-radius: 50%; }

.nav-btns {
  gap: 1rem;
  margin-top: clamp(3rem, 7vw, 6rem);
  padding-top: 1.4rem;
}

.prog { background: color-mix(in srgb, var(--page) 96%, transparent); }
.prog-in { min-height: 48px; }
.demo-sw { border-radius: 0; }
.demo-sw i { border-radius: 0; }
.demo-sw i::after { border-radius: 0; }

.kroky { gap: 0; padding-bottom: 0; }
.krok { height: 2px; border-radius: 0; }
.krok.tady { box-shadow: none; }

body.dir-vpred .step.on { animation: step-forward .55s var(--ease); }
body.dir-vzad .step.on { animation: step-back .55s var(--ease); }

@keyframes step-forward {
  from { opacity: 0; clip-path: inset(0 0 0 12%); transform: translateX(34px); }
  to { opacity: 1; clip-path: inset(0); transform: none; }
}

@keyframes step-back {
  from { opacity: 0; clip-path: inset(0 12% 0 0); transform: translateX(-34px); }
  to { opacity: 1; clip-path: inset(0); transform: none; }
}

.step.on .f,
.step.on .row,
.step.on .choices,
.step.on .tiers,
.step.on .info {
  animation: form-part-in .5s var(--ease) both;
}

.step.on > :nth-child(3) { animation-delay: .06s; }
.step.on > :nth-child(4) { animation-delay: .11s; }
.step.on > :nth-child(5) { animation-delay: .16s; }
.step.on > :nth-child(6) { animation-delay: .21s; }

@keyframes form-part-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Shared scroll reveals. Direction follows the composition. */
.rv {
  opacity: 0;
  clip-path: inset(0 0 16% 0);
  transform: translateY(30px);
  transition: opacity .65s var(--ease), transform .65s var(--ease), clip-path .75s var(--ease);
}

.cards > .rv:nth-child(even),
.field-rail > .rv:nth-child(even) { transform: translateX(34px); }

.cards > .rv:nth-child(odd),
.field-rail > .rv:nth-child(odd) { transform: translateX(-24px); }

.rv.seen {
  opacity: 1;
  clip-path: inset(0);
  transform: none;
}

.photo-frame.rv:first-child { transform: translateY(36px) rotate(-.7deg); }
.photo-frame.rv:last-child { transform: translateY(48px) rotate(.35deg); }
.photo-frame.rv.seen:first-child { transform: rotate(-.7deg); }
.photo-frame.rv.seen:last-child { transform: rotate(.35deg); }

@media (max-width: 980px) {
  .page-head { width: 100%; margin-left: 0; }
  .page h1 { max-width: 10ch; font-size: clamp(3.3rem, 10vw, 6rem); }
  .page-lead { margin-left: clamp(0rem, 16vw, 8rem); }

  .journey-layout { grid-template-columns: 1fr; gap: 3rem; }
  .journey-intro { position: static; width: min(88%, 700px); }

  .journey-list > .journey-item:nth-child(1),
  .journey-list > .journey-item:nth-child(2),
  .journey-list > .journey-item:nth-child(3) { width: 92%; }
  .journey-list > .journey-item:nth-child(2) { margin-left: 8%; }
  .journey-list > .journey-item:nth-child(3) { margin-left: 3%; }

  .cards > .card,
  .cards > .card:nth-child(even),
  .cards > .card:nth-child(3n) { width: 86%; }
  .cards > .card:nth-child(even) { margin-left: 14%; }
  .cards > .card:nth-child(3n) { margin-left: 5%; }

  .step-row { width: 88%; }
  .step-row:nth-child(even) { margin-left: 12%; }
}

@media (max-width: 720px) {
  .page { padding-top: 7.5rem; }
  .page h1 { max-width: 9.5ch; font-size: clamp(3.1rem, 16vw, 4.8rem); }
  .page-lead { margin-left: 0; }

  .journey-list { padding-right: 12px; }
  .journey-list > .journey-item,
  .journey-list > .journey-item:nth-child(1),
  .journey-list > .journey-item:nth-child(2),
  .journey-list > .journey-item:nth-child(3) {
    width: calc(100% - 10px);
    margin-left: 0;
    padding: 1.6rem 1.35rem;
  }

  .field-rail > .field,
  .field-rail > .field:nth-child(1),
  .field-rail > .field:nth-child(2),
  .field-rail > .field:nth-child(3) {
    display: block;
    width: 100%;
    margin-left: 0;
  }

  .cards > .card,
  .cards > .card:nth-child(even),
  .cards > .card:nth-child(3n) {
    width: 100%;
    margin-left: 0;
  }

  .step-row,
  .step-row:nth-child(even) {
    grid-template-columns: 3.5rem minmax(0, 1fr);
    width: 100%;
    margin-left: 0;
  }

  .step-num { font-size: 2.6rem; }
  .cta-note { margin-left: 0; }

  .tiers > .tier,
  .tiers > .tier:nth-child(even) {
    display: block;
    width: 100%;
    margin-left: 0;
  }

  .tier b { margin-bottom: .55rem; }
  .row,
  .step > .row:nth-of-type(even) { grid-template-columns: 1fr; gap: 0; }

  .info,
  .note-box { width: calc(100% - 12px); margin-left: 0; box-shadow: 10px 10px 0 var(--accent-soft), 11px 11px 0 var(--accent); }

  .photo-frame:first-child { box-shadow: 7px 7px 0 var(--surface), 13px 13px 0 var(--accent); }
  .photo-frame:last-child { box-shadow: -7px 7px 0 var(--surface), -13px 13px 0 var(--accent); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy .hero-lead,
  .hero-copy .hero-actions,
  .page-head .eyebrow,
  .page-head h1,
  .page > .page-lead,
  .step.on .f,
  .step.on .row,
  .step.on .choices,
  .step.on .tiers,
  .step.on .info,
  body.dir-vpred .step.on,
  body.dir-vzad .step.on {
    animation: none !important;
  }

  .rv,
  .rv.seen,
  .photo-frame.rv,
  .photo-frame.rv.seen {
    opacity: 1 !important;
    clip-path: none !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Zed log partneru
   Nahradila sekci s fotkami ucastniku (GDPR — souhlas fotografie nepokryva).
   Panel je svetly v obou rezimech, protoze 14 z 18 log je tmavych a na tmavem
   podkladu by zmizela. Ctyri bila (Plus inovace, CERC, M Jelinek, ZS Uprkova)
   jsou jednobarevna, proto se daji otocit filtrem.
   Loga nejsou v pravidelne mrizce — ruzne pomery stran daji radce prirozeny
   nepravidelny rytmus samy od sebe.
   ========================================================================== */

.org-wall {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1.4rem, 3vw, 2.8rem) clamp(1.8rem, 4vw, 3.4rem);
  margin: 2.2rem 0 0;
  padding: clamp(1.6rem, 3.5vw, 2.6rem) clamp(1.4rem, 3vw, 2.4rem);
  list-style: none;
  background: #fbfcfd;
  border: 1px solid rgba(8, 43, 71, .1);
  border-radius: 2px;
}

/* Pevny ramecek na kazde logo, uvnitr se logo vepise.
   Bez toho se siroka loga srazila na 30 px a uzka zustala velka —
   soubory maji ruzne vnitrni okraje a nekterym chybi viewBox. */
.org-wall .org-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(104px, 13vw, 138px);
  height: clamp(38px, 4.4vw, 52px);
  margin: 0;
}

.org-wall img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: .85;
  transition: opacity .2s ease;
}

.org-wall .org-logo:hover img { opacity: 1; }

/* Bila loga na svetlem panelu. Jednobarevna, proto je otoceni bezpecne. */
.org-wall .je-svetle img {
  filter: invert(1);
}

@media (max-width: 620px) {
  .org-wall {
    gap: 1.2rem 1.6rem;
    padding: 1.2rem 1rem;
    justify-content: center;
  }
  .org-wall img { height: 24px; max-width: 120px; }
}

/* ==========================================================================
   Tematicke tagy u oblasti programu
   Dlazdice je dvousloupcova (nadpis vlevo, text vpravo), tagy patri pod text
   do praveho sloupce - jinak by spadly pod nadpis do leveho.
   ========================================================================== */

.field-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: .8rem 0 0;
  padding: 0;
  list-style: none;
}

.field-tags li {
  padding: .26rem .6rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .field-tags { margin-top: .7rem; }
  .field-tags li { font-size: .68rem; padding: .22rem .5rem; }
}
