:root {
  --bg: #08080a;
  --bg-soft: #131318;
  --text: #f2f2f4;
  --muted: #8b8b95;
  --accent: #7c8cff;
  --border: rgba(255, 255, 255, 0.09);
  --maxw: 980px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* jemné světlo za videem */
  background-image: radial-gradient(60% 50% at 50% 30%, #1a1a24 0%, var(--bg) 70%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.5rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 6vw, 3.5rem);
  min-height: 100vh;
  justify-content: center;
}

/* --- hlavička --- */

.intro { text-align: center; }

.logo {
  margin: 0;
  font-size: clamp(1.9rem, 6vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.tagline {
  margin: 0.9rem auto 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(0.98rem, 2.4vw, 1.12rem);
}

/* Každá věta na vlastním řádku. */
.tagline span {
  display: block;
}

/* --- video --- */

.frame {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}

.player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
}

/* --- kontakt --- */

.contact {
  text-align: center;
  padding-top: clamp(1rem, 4vw, 2rem);
  border-top: 1px solid var(--border);
}

.contact-label {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.mail {
  display: inline-block;
  color: var(--text);
  font-size: clamp(1.05rem, 3.2vw, 1.4rem);
  font-weight: 500;
  text-decoration: none;
  padding: 0.35rem 0.1rem;
  border-bottom: 1px solid var(--accent);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.mail:hover,
.mail:focus-visible {
  color: var(--accent);
  border-color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
