/* ============================================================
   frantisekszabo.cz — moderní tmavý / tech design
   ============================================================ */

:root {
  --bg:        #0a0a0f;
  --bg-soft:   #11121a;
  --bg-card:   #14151f;
  --bg-elev:   #1a1b27;
  --line:      #24263444;
  --line-2:    #2b2d3d;
  --text:      #e9eaf3;
  --text-dim:  #a3a6bb;
  --text-mute: #6f7390;
  --accent:    #ffcc00;        /* lemony žlutá */
  --accent-2:  #7c5cff;        /* fialová */
  --accent-3:  #19d3a2;        /* mint */
  --grad:      linear-gradient(110deg, #ffcc00 0%, #ff8a3d 45%, #7c5cff 100%);
  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1120px;
  --shadow:    0 24px 60px -20px rgba(0,0,0,.6);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); margin: 0 0 .4em; }
h3 { font-size: 1.25rem; margin: 0 0 .3em; }

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
p { margin: 0 0 1.1em; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--text-dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 100px;
  font-weight: 600; font-size: .98rem; cursor: pointer;
  transition: transform .15s, box-shadow .25s, background .2s, color .2s;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #15110a; box-shadow: 0 10px 30px -8px rgba(255,204,0,.45); }
.btn-primary:hover { color: #15110a; box-shadow: 0 16px 40px -8px rgba(255,204,0,.6); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: #fff; background: #ffffff08; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10,10,15,.72);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55em; font-family: 'Space Grotesk'; font-weight: 700; color: var(--text); font-size: 1.08rem; }
.brand:hover { color: #fff; }
.brand-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 14px var(--accent); }
.nav { display: flex; gap: 6px; }
.nav a { color: var(--text-dim); font-weight: 500; font-size: .95rem; padding: .5em .9em; border-radius: 8px; }
.nav a:hover, .nav a.is-active { color: #fff; background: #ffffff0a; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-bg {
  position: absolute; inset: -20% -10% auto; height: 720px; z-index: 0;
  background:
    radial-gradient(640px 380px at 78% 18%, rgba(124,92,255,.20), transparent 70%),
    radial-gradient(560px 360px at 10% 0%, rgba(255,204,0,.16), transparent 65%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.45fr .9fr; gap: 48px; align-items: center; }
.eyebrow { margin: 0 0 1.1em; }
.tag {
  display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: .8rem;
  color: var(--accent); border: 1px solid var(--line-2); border-radius: 100px;
  padding: .35em 1em; background: #ffcc0010;
}
.hero h1 { margin-bottom: .35em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.22rem); color: var(--text-dim); max-width: 44ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 1.8em 0 2.2em; }
.hero-stats { list-style: none; display: flex; gap: 36px; padding: 0; margin: 0; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: 'Space Grotesk'; font-size: 1.9rem; color: #fff; }
.hero-stats span { color: var(--text-mute); font-size: .85rem; }

.hero-photo { position: relative; justify-self: center; }
.hero-photo img {
  width: clamp(220px, 26vw, 300px); aspect-ratio: 1; border-radius: 28px; object-fit: cover;
  border: 1px solid var(--line-2); position: relative; z-index: 1;
  box-shadow: var(--shadow);
}
.hero-photo-glow {
  position: absolute; inset: -18px; border-radius: 40px; z-index: 0;
  background: var(--grad); filter: blur(38px); opacity: .35;
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; position: relative; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 2.6rem; }
.section-kicker { font-family: 'JetBrains Mono', monospace; font-size: .82rem; color: var(--accent-2); letter-spacing: .04em; }
.section-head h2 { margin-top: .25em; }
.section-sub { color: var(--text-dim); margin: 0; max-width: 52ch; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.about-main p { font-size: 1.08rem; }
.about-side {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; position: sticky; top: 90px;
}
.about-side h3 { color: var(--accent); margin-bottom: 1em; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.value-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.value-list li { color: var(--text-dim); font-size: .96rem; line-height: 1.5; }
.value-list span { display: block; color: #fff; font-family: 'Space Grotesk'; font-weight: 600; font-size: 1.05rem; margin-bottom: 2px; }

/* ---------- Projects ---------- */
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.project-card {
  display: flex; flex-direction: column; color: var(--text);
  background: var(--bg-card); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 28px; transition: transform .2s, border-color .2s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.project-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.project-card:hover { transform: translateY(-4px); border-color: #3a3d52; box-shadow: var(--shadow); color: var(--text); }
.project-card:hover::before { transform: scaleX(1); }
.project-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 12px; }
.project-logo { height: 40px; display: flex; align-items: center; }
.project-logo img { max-height: 40px; width: auto; }
.project-logo span { font-family: 'Space Grotesk'; font-weight: 700; font-size: 1.2rem; }
.badge {
  font-family: 'JetBrains Mono', monospace; font-size: .72rem; color: var(--accent-3);
  border: 1px solid #19d3a233; background: #19d3a212; padding: .3em .8em; border-radius: 100px; white-space: nowrap;
}
.project-tagline { color: var(--accent); font-weight: 600; font-size: .95rem; margin: 0 0 .6em; }
.project-desc { color: var(--text-dim); font-size: .96rem; flex: 1; }
.project-link { margin-top: 14px; font-weight: 600; color: #fff; font-size: .92rem; }

/* ---------- AI band ---------- */
.ai-band {
  display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: center;
  background: var(--bg-card); border: 1px solid var(--line-2); border-radius: 24px;
  padding: clamp(28px, 5vw, 52px); position: relative; overflow: hidden;
}
.ai-band::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(124,92,255,.25), transparent 70%); pointer-events: none;
}
.ai-text { position: relative; z-index: 1; }
.ai-text h2 { margin-bottom: .5em; }
.ai-text p { color: var(--text-dim); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.5em; }
.chip {
  font-size: .85rem; color: var(--text); background: var(--bg-elev);
  border: 1px solid var(--line-2); padding: .45em 1em; border-radius: 100px;
}
.ai-visual { position: relative; display: grid; place-items: center; min-height: 200px; }
.ai-orb {
  width: 160px; height: 160px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent));
  filter: blur(2px); opacity: .85; animation: spin 14s linear infinite;
  box-shadow: 0 0 80px -10px var(--accent-2);
}
.ai-code {
  position: absolute; font-family: 'JetBrains Mono', monospace; font-size: .9rem; color: #fff;
  background: #0c0d15cc; border: 1px solid var(--line-2); padding: 14px 18px; border-radius: 12px; backdrop-filter: blur(4px);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Podcast preview ---------- */
.podcast-preview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 2.5rem; }
.ep-card {
  display: flex; gap: 18px; align-items: center; color: var(--text);
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px; transition: border-color .2s, transform .15s, background .2s;
}
.ep-card:hover { border-color: var(--accent); transform: translateX(4px); color: var(--text); background: var(--bg-elev); }
.ep-card h3 { font-size: 1.05rem; margin: 0; }
.ep-card p { margin: .2em 0 0; color: var(--text-mute); font-size: .9rem; }
.ep-num {
  font-family: 'Space Grotesk'; font-weight: 700; font-size: 1.5rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  flex-shrink: 0; min-width: 1.6em;
}

/* ---------- Page hero (podcast / blog) ---------- */
.page-hero { padding: clamp(3rem, 6vw, 5rem) 0 1rem; position: relative; }
.page-hero::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 360px; z-index: -1;
  background: radial-gradient(560px 300px at 30% 0%, rgba(124,92,255,.16), transparent 70%);
}
.page-hero h1 { margin: .2em 0; }
.podcast-platforms { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.4em; }
.podcast-platforms a {
  border: 1px solid var(--line-2); padding: .5em 1.2em; border-radius: 100px;
  color: var(--text); font-weight: 500; font-size: .92rem;
}
.podcast-platforms a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Episodes ---------- */
.spotify-main { margin-bottom: 2.5rem; }
.episode-list { display: grid; gap: 18px; }
.episode {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; scroll-margin-top: 90px; transition: border-color .2s;
}
.episode:target { border-color: var(--accent); }
.episode-head { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; }
.episode-head h2 { font-size: 1.35rem; margin: 0; }
.ep-date { color: var(--text-mute); font-size: .85rem; font-family: 'JetBrains Mono', monospace; }
.episode-desc { color: var(--text-dim); margin-bottom: 16px; }
.episode-player iframe { display: block; width: 100%; border: 0; border-radius: 10px; }

/* ---------- Blog ---------- */
.article-list { display: grid; gap: 4px; }
.article-row {
  display: block; color: var(--text); padding: 26px; border-radius: var(--radius);
  border: 1px solid transparent; transition: border-color .2s, background .2s;
}
.article-row:hover { background: var(--bg-card); border-color: var(--line-2); color: var(--text); }
.article-row time { font-family: 'JetBrains Mono', monospace; font-size: .82rem; color: var(--accent-2); }
.article-row h2 { font-size: 1.4rem; margin: .25em 0 .3em; }
.article-row p { color: var(--text-dim); margin: 0; }

.article-single .back-link { font-size: .9rem; color: var(--text-dim); }
.article-date { display: block; font-family: 'JetBrains Mono', monospace; color: var(--accent-2); font-size: .85rem; margin: 1.5em 0 .4em; }
.article-body { font-size: 1.1rem; color: var(--text); }
.article-body p { color: var(--text-dim); }

/* ---------- 404 ---------- */
.error-page { padding: 7rem 0; }
.error-code { font-family: 'Space Grotesk'; font-size: 6rem; font-weight: 700; margin: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 56px 0 28px; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 36px; }
.footer-about p { color: var(--text-mute); font-size: .92rem; margin-top: 1em; max-width: 32ch; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 1em; }
.footer-col a { display: block; color: var(--text-dim); font-size: .94rem; padding: .25em 0; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--text-mute); font-size: .85rem; }
.to-top { color: var(--text-mute); }
.to-top:hover { color: var(--accent); }

/* ============================================================
   SVĚTLÝ REŽIM
   ============================================================ */
[data-theme="light"] {
  --bg:        #f7f8fc;
  --bg-soft:   #eef0f7;
  --bg-card:   #ffffff;
  --bg-elev:   #f1f3fa;
  --line:      #1f2a4422;
  --line-2:    #d8dceb;
  --text:      #161927;
  --text-dim:  #444a63;
  --text-mute: #8186a0;
  --accent:    #e0a800;
  --accent-2:  #6a45ff;
  --accent-3:  #0fae86;
  --grad:      linear-gradient(110deg, #f0b400 0%, #ff7a2d 45%, #6a45ff 100%);
  --shadow:    0 24px 50px -24px rgba(40,50,90,.28);
}
[data-theme="light"] body { color: var(--text); }
[data-theme="light"] .site-header { background: rgba(247,248,252,.8); }
[data-theme="light"] .nav a:hover, [data-theme="light"] .nav a.is-active { background: #1f2a4410; color: #000; }
[data-theme="light"] .hero-stats strong,
[data-theme="light"] .ep-card h3,
[data-theme="light"] .value-list span,
[data-theme="light"] .project-link,
[data-theme="light"] .footer-col h4,
[data-theme="light"] .footer-about p { color: var(--text); }
[data-theme="light"] .btn-primary { color: #fff; }
[data-theme="light"] .ai-code { background: #ffffffcc; color: #161927; }
[data-theme="light"] .tag { background: #e0a80018; }

/* ---------- Theme toggle ---------- */
.theme-toggle {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg-card);
  color: var(--text); cursor: pointer; transition: border-color .2s, color .2s, transform .15s; flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); transform: rotate(15deg); }
.theme-toggle .ico-sun { display: none; }
[data-theme="light"] .theme-toggle .ico-sun { display: block; }
[data-theme="light"] .theme-toggle .ico-moon { display: none; }
.header-inner .nav { margin-left: auto; margin-right: 14px; }

/* ---------- Hamburger (mobil) ---------- */
.nav-toggle {
  display: none; width: 42px; height: 42px; margin-left: 10px; flex-shrink: 0;
  border: 1px solid var(--line-2); background: var(--bg-card); border-radius: 10px;
  cursor: pointer; padding: 0; place-items: center; gap: 4px; flex-direction: column;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .2s; }
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .theme-toggle { margin-left: auto; }
  .header-inner .nav {
    position: absolute; top: calc(100% + 10px); left: 16px; right: 16px; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg-card); border: 1px solid var(--line-2); border-radius: 16px;
    padding: 10px; box-shadow: var(--shadow);
    display: none;
  }
  .site-header.nav-open .nav { display: flex; }
  .nav a { padding: .8em 1em; font-size: 1.05rem; border-radius: 10px; }
}

/* ============================================================
   AUDIO PŘEHRÁVAČ (podcast)
   ============================================================ */
.episode {
  display: flex; gap: 22px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; scroll-margin-top: 90px; transition: border-color .2s;
}
.episode:target { border-color: var(--accent); }
.ep-cover img { width: 90px; height: 90px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line-2); }
.ep-body { flex: 1; min-width: 0; }
.ep-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.ep-meta .ep-num { font-size: 1.1rem; min-width: auto; }
.ep-body h2 { font-size: 1.3rem; margin: 0 0 .35em; }
.episode-desc { color: var(--text-dim); margin-bottom: 16px; font-size: .98rem; }

.player {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-elev); border: 1px solid var(--line-2);
  border-radius: 100px; padding: 8px 18px 8px 8px;
}
.player-btn {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--grad); color: #15110a; display: grid; place-items: center;
  transition: transform .15s, box-shadow .2s; box-shadow: 0 6px 18px -6px rgba(255,204,0,.5);
}
.player-btn:hover { transform: scale(1.06); }
.player-btn .ico-pause { display: none; }
.player.is-playing .ico-play { display: none; }
.player.is-playing .ico-pause { display: block; }
.player-bar { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.player-seek {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 100px;
  background: var(--line-2); cursor: pointer; outline: none;
}
.player-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; background: var(--accent); cursor: pointer; box-shadow: 0 0 0 4px rgba(255,204,0,.18); }
.player-seek::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 50%; background: var(--accent); cursor: pointer; }
.player-time { display: flex; justify-content: space-between; font-family: 'JetBrains Mono', monospace; font-size: .75rem; color: var(--text-mute); }

/* ============================================================
   INVESTICE
   ============================================================ */
.invest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.invest-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s, border-color .2s; }
.invest-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.invest-ico { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.invest-card h3 { margin-bottom: .3em; }
.invest-card p { color: var(--text-dim); font-size: .95rem; margin: 0; }

.estate-box { background: var(--bg-card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 28px; }
.estate-box h3 { color: var(--accent); font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1em; }
.estate-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.estate-link {
  display: flex; flex-direction: column; gap: 4px; color: var(--text);
  background: var(--bg-elev); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 18px 20px; transition: border-color .2s, transform .15s;
}
.estate-link:hover { border-color: var(--accent); transform: translateX(4px); color: var(--text); }
.estate-tag { font-family: 'JetBrains Mono', monospace; font-size: .72rem; color: var(--accent-3); }
.estate-link strong { font-family: 'Space Grotesk'; font-size: 1.15rem; }
.estate-go { font-size: .85rem; color: var(--text-mute); margin-top: 4px; }
.estate-link:hover .estate-go { color: var(--accent); }

/* ============================================================
   KONTAKT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: .9fr 1.4fr; gap: 28px; align-items: start; }
.contact-info { display: grid; gap: 12px; }
.contact-item {
  display: flex; align-items: center; gap: 14px; color: var(--text);
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; transition: border-color .2s, transform .15s;
}
.contact-item:hover { border-color: var(--accent); transform: translateX(4px); color: var(--text); }
.contact-ico {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center;
  background: var(--bg-elev); color: var(--accent); font-weight: 700; font-family: 'Space Grotesk';
}
.contact-item small { display: block; color: var(--text-mute); font-size: .75rem; }
.contact-item span span, .contact-item > span { font-weight: 600; }

.contact-form { background: var(--bg-card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: .85rem; color: var(--text-dim); font-weight: 500; }
.contact-form input, .contact-form textarea {
  background: var(--bg-elev); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 12px 14px; color: var(--text); font: inherit; font-size: .98rem; transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form textarea { resize: vertical; }
.contact-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { padding: 12px 16px; border-radius: 10px; font-size: .92rem; margin: 0; }
.form-ok { background: #19d3a218; border: 1px solid #19d3a255; color: var(--accent-3); }
.form-err { background: #ff4d4d18; border: 1px solid #ff4d4d55; color: #ff7a7a; }

/* ---------- Reveal animace ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ai-orb { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo { order: -1; justify-self: start; }
  .hero-photo img { width: 180px; border-radius: 22px; }
  .about-grid, .ai-band, .project-grid, .podcast-preview-grid,
  .invest-grid, .estate-links, .contact-grid { grid-template-columns: 1fr; }
  .about-side { position: static; }
  .ai-visual { min-height: 160px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .episode { flex-direction: column; }
  .hero-stats { gap: 22px; }
  .hero-stats strong { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

