/* ONLAJNOV 2027. Tokeny a pravidla viz DESIGN-SYSTEM.md */

@font-face { font-family: "Big Shoulders Display"; src: url(fonts/big-shoulders-display-latin-ext-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Big Shoulders Display"; src: url(fonts/big-shoulders-display-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; src: url(fonts/instrument-sans-latin-ext-wght-normal.woff2) format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; src: url(fonts/instrument-sans-latin-wght-normal.woff2) format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; src: url(fonts/instrument-serif-latin-ext-400-italic.woff2) format("woff2"); font-style: italic; font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; src: url(fonts/instrument-serif-latin-400-italic.woff2) format("woff2"); font-style: italic; font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Tři barvy: hlavní, doplňková, bílá */
  --main: #1C22A6;
  --acc: #FF8A5B;
  --white: #fff;
  --main-2: #161B8A; /* tmavší hlavní jen pro prázdné plochy (sloty, fotky před načtením) */

  /* Aliasy pro třídy v build.py */
  --ink: var(--main);
  --ink-2: var(--main-2);
  --paper: var(--white);
  --hot: var(--acc);
  --blue: var(--main);
  --blush: var(--white);

  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --voice: "Instrument Serif", Georgia, serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 2.8vw, 40px);
  --section: clamp(72px, 10vw, 152px);
  --shift: clamp(6px, .7vw, 10px);
  --top-h: 64px;
  --bubble: polygon(0 0, 100% 4.3%, 94% 83%, 83% 82%, 74% 100%, 62% 83%, 0 75%);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 clamp(1rem, .96rem + .2vw, 1.125rem)/1.5 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 1; letter-spacing: .002em; }
em { font-family: var(--voice); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.01em; }
a { color: inherit; text-underline-offset: .18em; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.hero :focus-visible, .s-ink :focus-visible, .final :focus-visible, .foot :focus-visible, .sticky-cta :focus-visible, .contact :focus-visible, .pt-call :focus-visible { outline-color: var(--white); }

.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip:focus { top: 12px; }
.wrap { max-width: 1520px; margin-inline: auto; padding-inline: var(--gutter); }

/* Bublina (už jen v logu a v tečce) */
.bubble { clip-path: var(--bubble); overflow: hidden; }
.bubble img { width: 100%; height: 100%; object-fit: cover; }

/* Prstenec a kruhové fotky, přenositelné do bannerů a e-mailů */
.ring { position: absolute; z-index: 0; width: var(--ring-size, 320px); aspect-ratio: 1; border: calc(var(--ring-size, 320px) / 10.5) solid var(--ring-color, var(--acc)); border-radius: 50%; pointer-events: none; }
.circle { aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 var(--circle-line, 8px) var(--acc); background: var(--main-2); }
.circle img { width: 100%; height: 100%; object-fit: cover; }

/* Tlačítka */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 12px 24px; font: 800 1.3rem/1 var(--display); letter-spacing: .03em; text-transform: uppercase; text-decoration: none; box-shadow: var(--shift) var(--shift) 0 var(--btn-shadow, var(--acc)); transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.btn:hover { transform: translate(3px, 3px); box-shadow: calc(var(--shift) - 3px) calc(var(--shift) - 3px) 0 var(--btn-shadow, var(--acc)); }
.btn:active { transform: translate(var(--shift), var(--shift)); box-shadow: 0 0 0 var(--btn-shadow, var(--acc)); }
.btn .arr { transition: transform .18s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-ink { background: var(--main); color: var(--white); }
.btn-hot { background: var(--acc); color: var(--main); --btn-shadow: var(--main); }
.btn-paper { background: var(--white); color: var(--main); --btn-shadow: var(--acc); }
/* Na hlavní barvě je tlačítko doplňkové, stín bílý */
.hero .btn, .s-ink .btn-hot, .final .btn, .sticky-cta .btn, .pt-call .btn, .menu.open .btn { background: var(--acc); color: var(--main); --btn-shadow: var(--white); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-line:hover { transform: none; box-shadow: inset 0 0 0 2px var(--ink); }
.btn-off { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px currentColor; opacity: .55; }
.btn-off:hover { transform: none; box-shadow: inset 0 0 0 2px currentColor; }
.btn-lg { min-height: 64px; padding: 16px 32px; font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 1.125rem; --shift: 4px; }

/* Štítky */
.tbd { display: inline-block; margin-left: .5em; padding: .1em .55em; border: 1.5px dashed currentColor; font: 600 .78rem/1.5 var(--text); white-space: nowrap; vertical-align: .12em; text-transform: none; letter-spacing: 0; }
.demo-tag { display: inline-block; padding: .1em .5em; background: var(--ink); color: #FFE14D; font: 700 .72rem/1.5 var(--text); letter-spacing: .05em; text-transform: uppercase; vertical-align: .15em; }
.demo-ribbon { position: relative; z-index: 60; background: #FFE14D; color: var(--ink); padding: 8px var(--gutter); font-size: .9rem; text-align: center; }

/* Hlavička */
.top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--top-h); padding-inline: max(var(--gutter), calc((100vw - 1520px) / 2 + var(--gutter))); background: var(--paper); border-bottom: 2px solid var(--ink); }
.logo { display: block; width: 148px; }
.logo svg, .foot-logo svg { display: block; width: 100%; height: auto; overflow: visible; }
.lw { fill: var(--main); } .lb { fill: var(--acc); } .ls { fill: var(--main); } .lo { fill: var(--main); }
.menu { display: none; }
.menu-btn { position: relative; width: 44px; height: 44px; margin-right: -8px; }
.menu-btn span { position: absolute; left: 8px; right: 8px; height: 3px; background: var(--ink); transition: transform .2s var(--ease), top .2s var(--ease); }
.menu-btn span:first-child { top: 16px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.menu.open { position: fixed; inset: var(--top-h) 0 0; z-index: 49; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 24px var(--gutter) 32px; background: var(--main); color: var(--white); overflow-y: auto; }
.is-demo .menu.open { inset-block-start: 0; padding-top: calc(var(--top-h) + 24px); z-index: -1; }
.menu.open li a { display: block; padding: 4px 0; font: 900 clamp(2.75rem, 13vw, 4.5rem)/1 var(--display); text-transform: uppercase; text-decoration: none; }
.menu.open .btn { align-self: stretch; }
@media (min-width: 960px) {
  .menu-btn { display: none; }
  .menu { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
  .menu ul { display: flex; gap: clamp(14px, 1.8vw, 28px); }
  .menu li a { position: relative; padding-block: 8px; font-weight: 600; font-size: 1rem; text-decoration: none; }
  .menu li a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
  .menu li a:hover::after { transform: scaleX(1); }
}

/* Hero: jen název, claim a tlačítko */
.hero { position: relative; overflow: hidden; background: var(--main); color: var(--white); padding: clamp(28px, 4vw, 64px) var(--gutter) clamp(44px, 5.5vw, 88px); }
.hero-grid { position: relative; z-index: 1; max-width: 1520px; margin-inline: auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 1.5vw, 24px); row-gap: 32px; align-items: center; }
.hero-text { grid-column: 1 / 8; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(16px, 2vw, 28px); }
.hero-title { font-size: min(calc((100vw - 2 * var(--gutter)) * .55 / 4.4), 15.5rem, 26svh); line-height: .97; letter-spacing: -.012em; white-space: nowrap; }
.hero-claim { max-width: 17em; font: 800 clamp(1.6rem, 1rem + 1.9vw, 3.2rem)/1.1 var(--display); text-transform: uppercase; }
.hero-text .btn { margin-top: 8px; }
.hero-photo { grid-column: 8 / -1; justify-self: center; position: relative; z-index: 1; width: min(100%, 500px, 56svh); }
.hero-shape { position: relative; z-index: 1; --circle-line: clamp(6px, .8vw, 12px); }
.hero-ring { --ring-size: clamp(200px, 24vw, 420px); left: 58%; top: -18%; }
@media (max-width: 759px) {
  .hero-text, .hero-photo { grid-column: 1 / -1; }
  .hero-title { font-size: calc((100vw - 2 * var(--gutter)) / 4.4); }
  .hero-text .btn { width: 100%; }
  .hero-photo { width: min(80%, 340px); }
  .hero-ring { --ring-size: 64vw; left: 55%; top: -18%; }
}

/* Úvod pod hero: popis akce a fakta */
.intro { padding-top: clamp(44px, 6vw, 96px); }
.intro-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 1.5vw, 24px); row-gap: 28px; align-items: end; padding-bottom: clamp(44px, 6vw, 96px); border-bottom: 2px solid var(--main); }
.intro-lead { grid-column: 1 / 7; font-size: clamp(1.25rem, 1rem + 1vw, 2rem); line-height: 1.3; font-weight: 500; }
.facts { grid-column: 8 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.facts div { border-top: 2px solid var(--acc); padding-top: 6px; }
.facts dt { font-size: .85rem; font-weight: 600; }
.facts dd { font: 800 clamp(1.4rem, 1rem + 1.2vw, 2.1rem)/1.05 var(--display); text-transform: uppercase; }
.facts .tbd { margin-left: 0; display: block; width: fit-content; margin-top: 4px; font-family: var(--text); }
@media (max-width: 759px) { .intro-lead, .facts { grid-column: 1 / -1; } }

/* Běžící pás */
.marquee { display: flex; overflow: hidden; background: var(--acc); color: var(--main); }
.marquee ul { display: flex; flex: none; min-width: 100%; animation: run 44s linear infinite; }
.marquee li { flex: none; padding: 10px 0; font: 800 clamp(1.25rem, 1rem + .9vw, 1.9rem)/1 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.marquee li::after { content: ""; display: inline-block; width: .48em; aspect-ratio: 1; margin-inline: .7em; border: .11em solid var(--main); border-radius: 50%; vertical-align: .12em; }
@keyframes run { to { transform: translateX(-100%); } }

/* Sekce a hlavičky */
.s { padding-block: var(--section); }
.s-paper { background: var(--paper); }
.s-ink { background: var(--main); color: var(--white); }
.s-blue { background: var(--acc); color: var(--main); }
.s-hot { background: var(--acc); color: var(--main); }
.s-blush { background: var(--white); }
.sh { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 1.5vw, 24px); align-items: end; margin-bottom: clamp(36px, 5vw, 72px); }
.sh-num { grid-column: 1 / -1; margin-bottom: 12px; font-weight: 600; font-size: .95rem; }
.sh-num span { opacity: .55; }
.sh-q { grid-column: 1 / 9; font-size: clamp(3.5rem, 9.8vw, 10rem); line-height: 1.1; }
.sh-q:last-child { grid-column: 1 / -1; }
.sh-q em { font-size: 1.02em; line-height: .8; }
.sh-lead { grid-column: 9 / -1; font-size: clamp(1.06rem, 1rem + .3vw, 1.3rem); line-height: 1.35; padding-bottom: .4em; }
.sh-note { grid-column: 9 / -1; display: flex; align-items: center; gap: 10px; margin-top: 12px; font-weight: 600; }
.dot { width: 12px; height: 12px; background: var(--hot); clip-path: var(--bubble); animation: blink 1.8s steps(2) infinite; }
.s-hot .dot, .s-blue .dot { background: var(--main); }
@keyframes blink { 50% { opacity: .25; } }
@media (max-width: 899px) { .sh-q, .sh-lead, .sh-note { grid-column: 1 / -1; } .sh-lead { margin-top: 16px; } }

/* Odhalení při scrollu */
.js .r { opacity: 0; transform: translateY(22px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js .r.seen { opacity: 1; transform: none; }

/* Pilíře */
.pillar { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 1.5vw, 24px); align-items: center; padding-block: clamp(20px, 2.4vw, 32px); border-top: 2px solid var(--ink); }
.pillar-n { grid-column: 1; align-self: start; font: 400 clamp(1.6rem, 1rem + 1.4vw, 2.5rem)/1 var(--voice); font-style: italic; }
.pillar h3 { grid-column: 2 / 8; font-size: clamp(3.5rem, 9.6vw, 9.5rem); transition: color .2s, transform .3s var(--ease); }
.pillar p { grid-column: 8 / 11; font-size: 1.06rem; line-height: 1.4; }
.pillar-photo { grid-column: 11 / -1; --circle-line: 6px; padding: 6px; transition: transform .3s var(--ease); }
.pillar:hover h3 { transform: translateX(8px); }
.pillar:hover .pillar-photo { transform: rotate(-3deg) scale(1.06); }
@media (max-width: 899px) {
  .pillar { grid-template-columns: 2.2em 1fr 96px; row-gap: 8px; }
  .pillar-n { grid-column: 1; grid-row: 1; align-self: center; }
  .pillar h3 { grid-column: 2 / -1; grid-row: 1; font-size: clamp(3.25rem, 16vw, 6rem); }
  .pillar p { grid-column: 2 / 3; grid-row: 2; padding-right: 12px; }
  .pillar-photo { grid-column: 3; grid-row: 2; align-self: start; }
}
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 24px); }
.stats strong { display: block; font: 900 clamp(4rem, 12vw, 12rem)/.85 var(--display); color: var(--main); }
.stats div { border-top: 6px solid var(--acc); padding-top: 14px; }
.stats span { display: block; margin-top: 6px; font-weight: 600; font-size: clamp(.9rem, .8rem + .4vw, 1.2rem); line-height: 1.2; }

/* Řečníci */
.sp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 24px); }
@media (min-width: 900px) { .sp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sp { position: relative; display: flex; flex-direction: column; min-height: clamp(260px, 30vw, 460px); padding: clamp(12px, 1.4vw, 20px); color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.sp:hover { transform: translate(-4px, -4px); box-shadow: var(--shift) var(--shift) 0 var(--acc); }
.sp-hot { background: var(--hot); } .sp-blush { background: var(--blush); } .sp-paper { background: var(--paper); }
.sp-media { flex: 1; min-height: 120px; display: flex; align-items: flex-end; margin: calc(-1 * clamp(12px, 1.4vw, 20px)) calc(-1 * clamp(12px, 1.4vw, 20px)) 12px; }
.sp-media img { width: 100%; mix-blend-mode: multiply; }
.sp-initials { padding: 0 clamp(12px, 1.4vw, 20px); font: 900 clamp(6rem, 13vw, 12rem)/.9 var(--display); opacity: .16; }
.sp .demo-tag { position: absolute; top: 12px; right: 12px; }
.sp h3 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 3.25rem); }
.sp-role { margin-top: 6px; font-weight: 600; font-size: .95rem; line-height: 1.25; }
.sp-topic { margin-top: 6px; font: 400 clamp(1.1rem, 1rem + .4vw, 1.4rem)/1.15 var(--voice); font-style: italic; }
.sp-slot { color: var(--paper); background: var(--ink-2); justify-content: flex-end; overflow: hidden; }
.sp-slot:hover { background: var(--acc); color: var(--main); box-shadow: none; transform: none; }
.sp-q { position: absolute; right: -.02em; top: -.14em; font: 900 clamp(12rem, 26vw, 25rem)/1 var(--display); color: var(--hot); transition: transform .35s var(--ease); }
.sp-slot:hover .sp-q { transform: rotate(8deg); color: var(--white); }
.archive { margin-top: clamp(48px, 7vw, 104px); padding-top: 20px; border-top: 2px solid var(--paper); }
.archive-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 1.5vw, 24px); margin-bottom: clamp(20px, 3vw, 36px); align-items: baseline; }
.archive-head h3 { grid-column: 1 / 8; font-size: clamp(2.25rem, 1.4rem + 3vw, 4.5rem); }
.archive-head p { grid-column: 8 / -1; font-size: 1rem; }
@media (max-width: 899px) { .archive-head h3, .archive-head p { grid-column: 1 / -1; } .archive-head p { margin-top: 8px; } }
.ar-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px clamp(12px, 1.5vw, 24px); }
@media (min-width: 900px) { .ar-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ar-media { background: var(--paper); aspect-ratio: 1 / .9; overflow: hidden; display: flex; align-items: flex-end; margin-bottom: 10px; }
.ar-media img { width: 100%; mix-blend-mode: multiply; }
.ar-grid h4 { font-size: clamp(1.4rem, 1.2rem + .7vw, 2rem); }
.ar-grid p { font-size: .95rem; opacity: .75; }

/* Témata */
.topic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 1.5vw, 24px); align-items: baseline; padding-block: clamp(8px, 1vw, 14px); border-top: 2px solid var(--main); transition: background .15s, padding .2s var(--ease); }
.topic:last-child { border-bottom: 2px solid var(--main); }
.topic h3 { grid-column: 1 / 8; font-size: clamp(3rem, 8.6vw, 8.5rem); line-height: 1.08; }
.topic p { grid-column: 8 / -1; font: 400 clamp(1.3rem, 1rem + 1.1vw, 2.1rem)/1.1 var(--voice); font-style: italic; }
.topic:hover { background: var(--main); color: var(--white); padding-inline: 12px; }
@media (max-width: 899px) { .topic h3, .topic p { grid-column: 1 / -1; } .topic { padding-block: 12px; } }

/* Program */
.sched-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.seg { display: inline-flex; flex-wrap: wrap; box-shadow: inset 0 0 0 2px var(--ink); }
.seg button { min-height: 44px; padding: 8px 16px; font-weight: 600; font-size: .95rem; }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.sched-heads { display: none; }
@media (min-width: 900px) {
  .sched-heads { display: grid; grid-template-columns: 208px 1fr; padding-bottom: 8px; font-weight: 600; font-size: .95rem; }
  .sched-heads div { display: grid; grid-template-columns: repeat(var(--tracks), minmax(0, 1fr)); gap: 8px; }
}
.sched-row { display: grid; grid-template-columns: 1fr; gap: 8px; padding-block: 12px; border-top: 2px solid var(--ink); }
.sched-row:last-child { border-bottom: 2px solid var(--ink); }
.sched-row[hidden] { display: none; }
.sched-time { font: 800 clamp(2rem, 1.6rem + 1.2vw, 3rem)/1 var(--display); white-space: nowrap; }
.sched-time span { display: inline-block; margin-left: .35em; font-size: .55em; font-weight: 700; opacity: .65; }
.sched-time span::before { content: "– "; }
.sched-cells { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 900px) {
  .sched-row { grid-template-columns: 208px 1fr; gap: 0; align-items: start; }
  .sched-cells { grid-template-columns: repeat(var(--tracks), minmax(0, 1fr)); }
}
@media (max-width: 899px) { .pi { grid-column: 1 / -1 !important; } }
.pi { padding: clamp(12px, 1.2vw, 18px); min-width: 0; }
.pi[hidden] { display: none; }
.pi h3 { font-size: clamp(1.6rem, 1.3rem + .8vw, 2.25rem); }
.pi-track { display: block; margin-bottom: 4px; font-size: .82rem; font-weight: 600; }
.pi-who { margin-top: 4px; font: 400 1.2rem/1.15 var(--voice); font-style: italic; }
.pi-note { margin-top: 4px; font-size: .98rem; }
.pi .tbd { margin: 8px 0 0; }
.pi .demo-tag { float: right; margin-left: 8px; }
.pi-talk { background: var(--hot); }
.pi-workshop { background: var(--blue); color: var(--white); }
.pi-break { background: transparent; padding-inline: 0; }
@media (min-width: 900px) { .pi-break { padding-block: 6px; } }

/* Atmosféra */
.gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1vw, 16px); }
.ph { aspect-ratio: 1; overflow: hidden; background: var(--ink-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ph:hover img { transform: scale(1.03); }
.js .ph-more { display: none; }
.gal-more { display: none; margin-top: clamp(20px, 3vw, 32px); text-align: center; }
.js .gal-more { display: block; }
@media (max-width: 899px) { .gal { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) { .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.video { position: relative; width: 100%; max-width: 1100px; margin-top: clamp(32px, 5vw, 64px); aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-2); }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .demo-tag { position: absolute; top: 12px; left: 12px; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 14px 24px; background: var(--acc); color: var(--main); font: 800 1.4rem/1 var(--display); text-transform: uppercase; box-shadow: var(--shift) var(--shift) 0 var(--white); }
.quote { margin-top: clamp(48px, 7vw, 104px); max-width: 1180px; }
.quote blockquote { font: 400 clamp(2rem, 1.2rem + 3.4vw, 4.75rem)/1.04 var(--voice); font-style: italic; letter-spacing: -.01em; }
.quote figcaption { margin-top: 20px; }
.quote figcaption span { opacity: .65; }
.link { display: inline-block; margin-top: 20px; font-weight: 600; }

/* Vstupenky */
.tk-list { display: grid; gap: clamp(16px, 2vw, 28px); }
@media (min-width: 1000px) { .tk-count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tk-count-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tk { --r: 16px; display: grid; background: var(--paper); filter: drop-shadow(var(--shift) var(--shift) 0 var(--ink)); }
.tk-featured { background: var(--blush); }
.tk-main { padding: clamp(20px, 2.4vw, 36px); }
.tk-kicker { font-weight: 600; font-size: .9rem; }
.tk h3 { margin-top: 8px; font-size: clamp(3rem, 2rem + 4vw, 6.5rem); }
.tk-tag { font: 400 clamp(1.3rem, 1rem + .9vw, 1.9rem)/1.1 var(--voice); font-style: italic; }
.tk ul { margin-top: 16px; }
.tk li { padding: 6px 0; border-top: 1.5px solid var(--ink); }
.tk-pending { margin-top: 14px; }
.tk-pending .tbd { margin-left: 0; }
.tk-stub { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 16px; padding: clamp(20px, 2.4vw, 36px); border-top: 2px dashed var(--ink); position: relative; }
.tk-stub::before, .tk-stub::after { content: ""; position: absolute; top: calc(-1 * var(--r) - 1px); width: calc(2 * var(--r)); height: calc(2 * var(--r)); border-radius: 50%; background: var(--hot); }
.tk-stub::before { left: calc(-1 * var(--r)); } .tk-stub::after { right: calc(-1 * var(--r)); }
.tk-meta { font-weight: 600; }
.tk-price { font: 900 clamp(2.5rem, 2rem + 2vw, 4.5rem)/1 var(--display); }
.tk-price .tbd { margin-left: 0; font-size: .95rem; }
.tk-price small { display: block; font: 500 .9rem/1.3 var(--text); }
.tk .btn { width: 100%; text-align: center; }
@media (min-width: 900px) {
  .tk-count-1 .tk { grid-template-columns: 1.5fr 1fr; }
  .tk-count-1 .tk-stub { border-top: 0; border-left: 2px dashed var(--ink); }
  .tk-count-1 .tk-stub::before { top: calc(-1 * var(--r) - 1px); left: calc(-1 * var(--r) - 1px); }
  .tk-count-1 .tk-stub::after { top: auto; bottom: calc(-1 * var(--r) - 1px); left: calc(-1 * var(--r) - 1px); right: auto; }
}

/* Partneři */
.pt-tier { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 1.5vw, 24px); padding-block: 20px; border-top: 2px solid var(--ink); }
.pt-tier h3 { grid-column: 1 / 4; font-size: clamp(1.6rem, 1.3rem + .9vw, 2.4rem); line-height: 1; }
.pt-tier ul { grid-column: 4 / -1; display: grid; grid-template-columns: repeat(var(--pt-cols, 4), minmax(0, 1fr)); gap: clamp(8px, 1vw, 16px); }
.pt-hlavni ul { --pt-cols: 1; } .pt-media ul, .pt-komunita ul { --pt-cols: 3; }
.pt { position: relative; display: grid; place-items: center; min-height: 104px; padding: 16px; background: var(--white); text-align: center; font-weight: 600; }
.pt-hlavni .pt { min-height: clamp(120px, 11vw, 170px); }
.pt img { max-height: 72px; object-fit: contain; }
.pt .demo-tag { position: absolute; top: 8px; right: 8px; }
.pt-empty { background: transparent; border: 2px dashed currentColor; color: var(--main); font-size: .9rem; font-weight: 500; }
@media (max-width: 899px) {
  .pt-tier h3, .pt-tier ul { grid-column: 1 / -1; }
  .pt-tier h3 { margin-bottom: 12px; }
  .pt-tier ul { --pt-cols: 2; }
  .pt-hlavni ul { --pt-cols: 1; }
}
.pt-call { position: relative; overflow: hidden; display: grid; gap: 16px; justify-items: start; padding: clamp(24px, 3vw, 44px); background: var(--main); color: var(--white); margin-top: 20px; }
.pt-call > :not(.ring) { position: relative; z-index: 1; }
.pt-call .ring { --ring-size: clamp(180px, 22vw, 320px); right: calc(var(--ring-size) * -.35); bottom: calc(var(--ring-size) * -.45); }
.pt-call p:first-child { font: 900 clamp(2.25rem, 1.4rem + 3vw, 4.75rem)/.92 var(--display); text-transform: uppercase; max-width: 16em; }
.pt-contact { font-size: .98rem; }

/* Praktické informace */
.in-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(12px, 1.5vw, 24px); margin-bottom: clamp(40px, 5vw, 72px); }
@media (min-width: 900px) { .in-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.in { padding-block: 14px 24px; border-top: 2px solid var(--ink); }
.in h3 { font-size: clamp(1.9rem, 1.5rem + 1.2vw, 3rem); }
.in-value { margin-block: 6px; font-weight: 700; }
.in-value .tbd { margin-left: 0; }
.in p { font-size: 1rem; line-height: 1.4; }
.h-sm { font-size: clamp(2rem, 1.5rem + 1.6vw, 3.25rem); margin-bottom: 14px; }
.fq { border-top: 2px solid var(--ink); }
.fq:last-child { border-bottom: 2px solid var(--ink); }
.fq summary { display: flex; justify-content: space-between; gap: 16px; padding-block: 14px; font-weight: 700; font-size: 1.1rem; line-height: 1.25; cursor: pointer; list-style: none; }
.fq summary::-webkit-details-marker { display: none; }
.fq summary::after { content: "+"; flex: none; font: 800 1.9rem/.8 var(--display); transition: transform .2s var(--ease); }
.fq[open] summary::after { transform: rotate(45deg); }
.fq p { padding-bottom: 16px; max-width: 42em; }
.contact { display: flex; align-items: center; gap: clamp(24px, 4vw, 64px); margin-top: clamp(56px, 7vw, 104px); padding: clamp(24px, 4vw, 56px); background: var(--ink); color: var(--paper); }
.contact-photo { flex: none; width: clamp(120px, 14vw, 200px); --circle-line: clamp(5px, .6vw, 8px); margin: 8px; }
.contact-body p { margin-bottom: 12px; font-size: clamp(1.02rem, .98rem + .2vw, 1.15rem); }
.contact-name { opacity: .9; }
.contact-big { display: flex; flex-wrap: wrap; gap: 4px clamp(20px, 3vw, 40px); margin: 18px 0 0 !important; font: 800 clamp(1.6rem, 1.3rem + .9vw, 2.4rem)/1.1 var(--display) !important; overflow-wrap: anywhere; }
@media (max-width: 699px) { .contact { flex-direction: column; align-items: flex-start; } }

/* Závěrečné CTA */
.final { position: relative; overflow: hidden; background: var(--main); color: var(--white); padding-block: var(--section); }
.final > .wrap { position: relative; z-index: 1; }
.final h2 em { color: var(--acc); }
.final-ring { --ring-size: clamp(260px, 36vw, 600px); right: calc(var(--ring-size) * -.38); bottom: calc(var(--ring-size) * -.42); }
@media (max-width: 759px) { .final-ring { --ring-size: 220px; right: -110px; bottom: auto; top: -90px; } }
.final-ask { font: 400 clamp(1.6rem, 1rem + 2.2vw, 3.25rem)/1.1 var(--voice); font-style: italic; margin-bottom: 8px; }
.final h2 { font-size: min(calc((100vw - 2 * var(--gutter)) / 3.75), 25svh); line-height: 1.08; letter-spacing: -.012em; margin-top: .14em; margin-bottom: clamp(32px, 4vw, 56px); }
.final h2 em { display: block; line-height: .9; text-transform: none; }

/* Patička */
.foot { background: var(--main); color: var(--white); border-top: 2px solid rgba(255, 255, 255, .22); padding-block: clamp(40px, 5vw, 72px) clamp(96px, 7vw, 72px); font-size: .98rem; }
.foot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(12px, 1.5vw, 24px); }
.foot-logo { grid-column: 1 / -1; max-width: 300px; }
.foot .lw, .foot .ls { fill: var(--white); }
.foot li { padding-block: 3px; }
.foot a, .linkish { display: inline-block; padding-block: 3px; text-decoration: none; } .foot a:hover { text-decoration: underline; }
.linkish { text-align: left; } .linkish:hover { text-decoration: underline; }
.foot-grid ul:last-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .foot-logo { grid-column: auto; } .foot-grid ul:last-child { grid-column: auto; } }

/* Spodní CTA na mobilu */
.sticky-cta { position: fixed; inset: auto 0 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); background: var(--main); color: var(--white); border-top: 2px solid var(--acc); transition: transform .25s var(--ease); }
.sticky-cta[hidden] { display: flex; transform: translateY(110%); visibility: hidden; transition: transform .25s var(--ease), visibility 0s .25s; }
.sticky-cta p { font: 800 1.15rem/1 var(--display); text-transform: uppercase; }
.sticky-cta p span { display: block; margin-top: 3px; font: 500 .78rem/1 var(--text); text-transform: none; }
.sticky-cta .btn { flex: none; }
@media (min-width: 960px) { .sticky-cta { display: none !important; } }

/* Souhlas */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; margin-left: auto; max-width: 460px; max-height: calc(100svh - 24px); overflow-y: auto; padding: 18px; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); box-shadow: var(--shift) var(--shift) 0 var(--blue); font-size: .98rem; }
.consent h2 { font-size: 1.9rem; margin-bottom: 6px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.consent-actions .btn { --shift: 0px; flex: 1 1 auto; }
.consent-options { display: grid; gap: 8px; margin-top: 12px; }
.consent-options[hidden] { display: none; }
.consent-options label { display: block; font-weight: 600; }
.consent-options input { width: 18px; height: 18px; accent-color: var(--main); vertical-align: -3px; margin-right: 6px; }
.consent-options small { display: block; margin-left: 28px; font-weight: 400; font-size: .86rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .r { opacity: 1; transform: none; }
}

/* Historie ročníků */
.hist { margin-top: clamp(48px, 7vw, 104px); padding-top: 20px; border-top: 2px solid var(--paper); }
.hist-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 6px clamp(12px, 1.5vw, 24px); padding-block: 18px; border-top: 1px solid rgba(255, 255, 255, .28); }
.hist-row:first-child { border-top: 0; }
.hist-n { grid-row: span 2; font: 900 clamp(2.75rem, 2rem + 2.4vw, 5rem)/.85 var(--display); color: var(--hot); }
.hist-row h4 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); }
.hist-meta { margin-top: 4px; font-size: .95rem; opacity: .8; }
.hist-note { display: inline-block; margin-top: 8px; padding: .1em .5em; background: var(--acc); color: var(--main); font: 700 .75rem/1.5 var(--text); letter-spacing: .05em; text-transform: uppercase; }
.hist-body { font-size: 1rem; }
.hist-extra { margin-top: 6px; opacity: .8; }
@media (min-width: 900px) {
  .hist-row { grid-template-columns: 1fr 4fr 7fr; align-items: baseline; padding-block: 22px; }
  .hist-n { grid-row: auto; }
}

/* Pořadatel */
.org { display: grid; gap: 24px clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(40px, 5vw, 72px); padding-top: 20px; border-top: 2px solid var(--ink); }
@media (min-width: 900px) { .org { grid-template-columns: minmax(0, 1fr) auto; } }
.org p { max-width: 44em; font-size: clamp(1.06rem, 1rem + .3vw, 1.3rem); line-height: 1.4; }
.org-logo { display: inline-block; justify-self: start; }
.org-logo img { width: clamp(180px, 18vw, 280px); height: auto; }

/* Text jen pro čtečky a vyhledávače */
.vh, .hero-title .vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Hosté minulých ročníků: rolující pás */
.alumni { margin-top: clamp(48px, 7vw, 104px); padding-top: 20px; border-top: 2px solid var(--white); }
.alumni .link { margin-top: 6px; }
.alumni-run { display: flex; overflow: hidden; margin-inline: calc(-1 * var(--gutter)); padding-block: 8px; }
.alumni-run ul { display: flex; flex: none; gap: clamp(28px, 3.5vw, 56px); padding-right: clamp(28px, 3.5vw, 56px); animation: run var(--dur, 80s) linear infinite; }
.alumni-run:hover ul, .alumni-run:focus-within ul { animation-play-state: paused; }
.al { flex: none; display: flex; align-items: center; gap: 16px; }
.al .circle { flex: none; width: clamp(76px, 7vw, 104px); margin: 5px; --circle-line: 4px; }
.al .circle img { object-position: center top; }
.al-ini { display: grid; place-items: center; font: 900 clamp(1.7rem, 1.2rem + 1.2vw, 2.5rem)/1 var(--display); color: var(--acc); }
.al strong { display: block; font: 800 clamp(1.35rem, 1rem + 1vw, 2rem)/1 var(--display); text-transform: uppercase; white-space: nowrap; }
.al span { display: block; margin-top: 4px; font-size: .92rem; opacity: .8; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .alumni-run { overflow-x: auto; }
  .alumni-run ul[aria-hidden] { display: none; }
}

/* Podstránka Minulé ročníky */
.hero-sub { padding-block: clamp(32px, 5vw, 72px) clamp(40px, 6vw, 88px); }
.sub-ring { --ring-size: clamp(220px, 30vw, 480px); right: calc(var(--ring-size) * -.4); top: calc(var(--ring-size) * -.35); }
.sub-back { grid-column: 1 / -1; margin-bottom: 12px; font-weight: 600; }
.sub-back a { text-decoration: none; } .sub-back a:hover { text-decoration: underline; }
.sub-title { grid-column: 1 / -1; font-size: clamp(3.5rem, 13vw, 13rem); line-height: 1.08; }
.hero-sub .hero-claim { grid-column: 1 / 9; grid-row: auto; max-width: 20em; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.6rem); }
@media (max-width: 759px) { .hero-sub .hero-claim { grid-column: 1 / -1; } }
#rocniky .hist { margin-top: 0; border-top: 0; padding-top: 0; }
