/* Písma hostovaná u webu (Poppins, Inter — licence SIL OFL). Jen latinka + rozšířená latinka (čeština). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/poppins-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/poppins-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/poppins-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/poppins-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   michalfiala.cz — „Rodina AIU, Michalova tvář"
   Tokeny převzaté z AI Univerzita brand v2 (aiuniverzita.cz/css/tokens.css).
   ========================================================================== */

:root {
  --navy: #00163B;
  --space: #020715;
  --blue: #0075EE;
  --cyan: #0094BF;
  --teal: #00B095;
  --glow: #39D7E8;

  --fg-1: #FFFFFF;
  --fg-2: rgba(255, 255, 255, .78);
  --fg-3: rgba(255, 255, 255, .62);
  --line: rgba(255, 255, 255, .12);
  --line-cyan: rgba(57, 215, 232, .28);
  --surface: rgba(6, 16, 38, .72);

  --grad: linear-gradient(90deg, #0075EE 0%, #00B095 100%);
  /* Tlačítka: stejný přechod, o stupeň hlubší, aby bílý text měl kontrast ≥ 4,5 : 1 */
  --grad-btn: linear-gradient(90deg, #0059C2 0%, #007A68 100%);
  --grad-diag: linear-gradient(135deg, #0075EE 0%, #0094BF 50%, #00B095 100%);

  --ff-display: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-pill: 999px;

  --sh-lift: 0 18px 40px rgba(0, 4, 16, .55);
  --sh-photo: 0 30px 70px rgba(0, 4, 16, .6);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 72px;
  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 32px);
  --section: clamp(48px, 6vw, 72px);
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: rgba(57, 215, 232, .35) var(--space);
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-1);
  background:
    radial-gradient(ellipse 60vw 60vw at -8% -10%, rgba(0, 117, 238, .20), transparent 60%) fixed,
    radial-gradient(ellipse 70vw 70vw at 108% 35%, rgba(0, 176, 149, .14), transparent 60%) fixed,
    radial-gradient(ellipse 60vw 60vw at 20% 110%, rgba(0, 148, 191, .14), transparent 60%) fixed,
    var(--space);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
figure { margin: 0; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
::selection { background: rgba(0, 176, 149, .4); color: #fff; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

h1, h2, h3 {
  font-family: var(--ff-display);
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.025em;
}
h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.75rem); font-weight: 700; line-height: 1.12; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lead { font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); color: var(--fg-2); max-width: 60ch; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: var(--r-sm);
  background: #fff; color: var(--navy); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Přechodem jen jedno strategické slovo na obrazovce (pravidlo značky AIU) */
.accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 26px;
  border-radius: var(--r-pill);
  font-family: var(--ff-body); font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s, filter .2s;
}
.btn--primary { background: var(--grad-btn); color: #fff; box-shadow: 0 8px 20px rgba(0, 20, 50, .5); }
.btn--primary:hover { transform: translateY(-2px); filter: brightness(1.12); box-shadow: 0 12px 26px rgba(0, 20, 50, .55); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .28); color: var(--fg-1); background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { border-color: rgba(57, 215, 232, .7); background: rgba(0, 148, 191, .12); }
.btn--small { min-height: 40px; padding: 8px 18px; font-size: .94rem; }
.btn:active { transform: translateY(0); }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Navigace ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(2, 7, 21, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--wrap); height: 100%; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--ff-display); font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; }
.brand img { width: 46px; height: auto; }
/* Písmena MF sedí v obrázku níž (nad nimi je obvodový spoj) — text srovnat na jejich střed */
.brand span { margin-top: 6px; line-height: 1; }
.brand--small img { width: 40px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { color: var(--fg-2); text-decoration: none; font-size: .96rem; font-weight: 500; transition: color .2s; }
.nav__links a:not(.btn):hover { color: #fff; }
.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(32px, 6vw, 72px)); padding-bottom: var(--section); overflow-x: clip; }
/* align-items: start — fotka se nehne, když se po načtení písma změní výška textu (posun rozložení) */
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero__copy { padding-top: clamp(0px, 2.5vw, 36px); }
.hero__title { font-size: clamp(2.6rem, 1.6rem + 3.9vw, 4.3rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; }
.hero__title .accent { display: inline-block; }
.hero__lead { margin-top: 24px; font-size: clamp(1.08rem, 1rem + .45vw, 1.28rem); color: var(--fg-2); max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.proof {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 36px 0 0; padding: 20px 0 0; list-style: none;
  border-top: 1px solid var(--line); color: var(--fg-3); font-size: .95rem;
}
.proof li { position: relative; padding-left: 14px; }
.proof li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.proof strong { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }

.hero__photo { position: relative; }
.hero__photo::before {
  content: ""; position: absolute; inset: -12% -14% -8%; z-index: -1;
  background: radial-gradient(closest-side, rgba(0, 148, 191, .35), rgba(0, 117, 238, .12) 55%, transparent 75%);
}
.hero__photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-photo);
}

/* Jeden autorský moment pohybu: fotka se při načtení „zaostří" (výchozí stav je viditelný) */
@media (prefers-reduced-motion: no-preference) {
  .hero__photo img { animation: focusIn 1.1s var(--ease) both; }
  .hero__copy { animation: riseIn .9s var(--ease) both; }
}
@keyframes focusIn { from { transform: scale(1.035); filter: saturate(.7) brightness(.85); } to { transform: none; filter: none; } }
@keyframes riseIn { from { transform: translateY(14px); } to { transform: none; } }

/* ---------- O mně ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--sh-lift); }
.about__copy h2 { margin-bottom: 24px; }
.about__copy p { color: var(--fg-2); max-width: 58ch; }

/* ---------- Workshopy ---------- */
.panel {
  border: 1px solid var(--line-cyan); border-radius: var(--r-lg);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(0, 117, 238, .16), transparent 55%),
    radial-gradient(120% 140% at 100% 100%, rgba(0, 176, 149, .12), transparent 55%),
    var(--surface);
  box-shadow: 0 12px 28px rgba(0, 4, 16, .45);
}
.workshop { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); padding: clamp(28px, 5vw, 64px); align-items: start; }
.workshop h2 { margin-bottom: 20px; }
.workshop .lead { margin-bottom: 28px; }
.hint { margin: 14px 0 0; font-size: .92rem; color: var(--fg-3); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.checks li { position: relative; padding-left: 34px; color: var(--fg-2); }
.checks li strong { display: block; color: #fff; font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .25em; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0, 176, 149, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339D7E8' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
  border: 1px solid rgba(57, 215, 232, .35);
}

/* ---------- AI Univerzita ---------- */
.aiu { border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(0, 22, 59, .55), rgba(0, 22, 59, .25)); padding-block: clamp(56px, 7vw, 88px); margin-block: clamp(24px, 3vw, 40px); }
.aiu__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.aiu__logo { width: 200px; height: auto; margin-bottom: 24px; }
.aiu__copy .lead { margin-bottom: 28px; }

/* ---------- Manifest ---------- */
.manifest { text-align: center; }
.manifest blockquote { margin: 0; }
.manifest blockquote p {
  font-family: var(--ff-display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
  font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.9rem); margin: 0 auto; max-width: 16ch;
}
.manifest__text { margin: 28px auto 0; max-width: 56ch; color: var(--fg-2); font-size: 1.08rem; }

/* ---------- Podcast ---------- */
.podcast__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 72px); align-items: center; }
.podcast__logo { width: 200px; height: auto; margin-bottom: 22px; }
.podcast__head h2 { margin-bottom: 16px; }
.podcast__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--sh-lift); }
.episodes__title { margin: clamp(48px, 6vw, 72px) 0 20px; font-size: 1.1rem; color: var(--fg-2); font-weight: 600; }
.episodes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ep a {
  display: flex; flex-direction: column; height: 100%; text-decoration: none;
  border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--surface);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.ep a:hover { transform: translateY(-4px); border-color: var(--line-cyan); box-shadow: var(--sh-lift); }
.ep img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ep__title { padding: 16px 18px 6px; font-family: var(--ff-display); font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.ep__meta { padding: 0 18px 18px; margin-top: auto; font-size: .9rem; color: var(--fg-3); }
.listen { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.listen__label { color: var(--fg-3); margin-right: 6px; }
.yt { margin: 28px 0 0; color: var(--fg-2); max-width: 70ch; }
.yt a { color: var(--glow); font-weight: 600; }

/* ---------- Kontakt ---------- */
.contact { text-align: center; }
.contact__inner h2 { max-width: 20ch; margin: 0 auto 16px; }
.contact .lead { margin: 0 auto 28px; }
.contact__mail {
  display: inline-block; font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(1.5rem, 1rem + 2.6vw, 2.6rem); letter-spacing: -0.02em;
  text-decoration: underline; text-decoration-color: rgba(57, 215, 232, .55); text-underline-offset: .18em; text-decoration-thickness: 2px;
  transition: text-decoration-color .2s, color .2s; overflow-wrap: anywhere;
}
.contact__mail:hover { color: var(--glow); text-decoration-color: var(--glow); }
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }

/* ---------- Patička ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 36px; font-size: .92rem; color: var(--fg-3); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.footer__legal { margin: 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a { color: var(--fg-2); display: inline-block; padding-block: 10px; }
.footer .brand { padding-block: 8px; }
.footer__links a:hover { color: #fff; }

/* ---------- Cookie lišta (převzato z AIU) ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; max-width: 680px; margin: 0 auto;
  padding: 18px 20px; border-radius: 16px; background: rgba(2, 8, 22, .97); border: 1px solid var(--line-cyan);
  box-shadow: 0 18px 48px rgba(0, 4, 16, .6); font-size: 14px; line-height: 1.5;
  opacity: 0; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease;
}
.cookie-banner.is-visible { opacity: 1; transform: none; }
.cookie-banner-text { margin: 0 0 14px; color: var(--fg-2); }
.cookie-banner-text a { color: var(--glow); }
.cookie-banner-settings { display: flex; gap: 20px; flex-wrap: wrap; margin: 0 0 14px; }
.cookie-banner-settings[hidden] { display: none; }
.cookie-banner-settings label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--fg-2); }
.cookie-banner-settings input { accent-color: var(--teal); width: 16px; height: 16px; }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cookie-btn { cursor: pointer; font: 600 14px var(--ff-body); min-height: 40px; }
.cookie-btn-ghost { appearance: none; background: transparent; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--r-pill); color: var(--fg-2); padding: 9px 16px; }
.cookie-btn-ghost:hover { border-color: rgba(57, 215, 232, .6); background: rgba(0, 148, 191, .12); }
.cookie-btn-accept { margin-left: auto; border: 0; }

/* ---------- Právní a chybové stránky ---------- */
.doc { padding-top: calc(var(--nav-h) + 48px); padding-bottom: var(--section); }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 800; line-height: 1.1; margin-bottom: 28px; }
.doc h2 { font-size: 1.35rem; margin: 40px 0 14px; }
.doc p, .doc li { color: var(--fg-2); }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: .5em; }
.doc a { color: var(--glow); }
.doc .meta { color: var(--fg-3); font-size: .92rem; }
.nav--static { position: absolute; }

/* ---------- Responzivita ---------- */
@media (max-width: 960px) {
  .hero__grid, .about__grid, .workshop, .aiu__grid, .podcast__head { grid-template-columns: minmax(0, 1fr); }
  .hero__photo { max-width: 460px; }
  .episodes { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .about__photo { order: 2; }
}
@media (max-width: 820px) {
  .nav__toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: 12px;
    background: rgba(2, 7, 21, .6); cursor: pointer;
  }
  .nav__bar { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s var(--ease); }
  .nav__toggle[aria-expanded="true"] .nav__bar:nth-of-type(2) { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__bar:nth-of-type(3) { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: #030a1c; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(0, 4, 16, .6);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav__links.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav__links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__cta { margin-top: 18px; }
  .nav.menu-open { background: #030a1c; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__actions .btn { width: 100%; }
  .workshop .btn, .aiu__copy .btn { width: 100%; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 16px; }
  .cookie-banner-actions { flex-direction: column; align-items: stretch; }
  .cookie-btn-accept { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
