/* Danny Bauer: brandová linka v3 (viz BRAND.md)
   Tmavá, bezpatková. Černá + bílá, vysoké úzké verzálky na nadpisy, fotky přes celou šířku. */
:root, :root[data-theme="light"], :root[data-theme="dark"] {
  --bg: #000000;
  --surface: #0f0f0f;
  --ink: #f5f5f3;
  --muted: #9b9b96;
  --faint: #5c5c58;
  --line: #222221;
  --accent: #fcdc22;
  --accent-ink: #000000;
  --code-bg: #0c0c0c;
  --display: "Anton", "Oswald", Impact, "Arial Narrow", sans-serif;
  --body: "Outfit", "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 17px; font-weight: 300; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.pad {
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
a { color: inherit; text-decoration-color: var(--faint); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--ink); }
p { margin: 0; max-width: 60ch; }
img { max-width: 100%; display: block; }
b, strong { font-weight: 500; }

/* Hlavička */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 18px; padding-bottom: 18px;
  background: rgba(0,0,0,0.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.wordmark { font-family: var(--display); font-size: 1.45rem; letter-spacing: 0.01em; text-transform: uppercase; text-decoration: none; line-height: 1; white-space: nowrap; }
.site-nav { display: flex; gap: 22px; font-size: 0.82rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; }
.site-nav a { text-decoration: none; color: var(--muted); }
.site-nav a:hover { color: var(--ink); }

@media (max-width: 420px) { .site-nav { gap: 14px; font-size: 0.72rem; letter-spacing: 0.06em; } .wordmark { font-size: 1.25rem; } }

/* Typografie */
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
h1, h2 { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.005em; line-height: 1.08; }
h1 { font-size: clamp(3.2rem, 11vw, 8.5rem); }
h2 { font-size: clamp(2.2rem, 6vw, 4rem); }
h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.6rem; line-height: 1; letter-spacing: 0.01em; }
h1 .dim, h2 .dim { color: var(--muted); }
h1 .hl, h2 .hl, h3 .hl { color: var(--accent); }
.eyebrow { font-size: 0.75rem; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }

/* Tlačítka */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: inherit; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); border-radius: 0;
  padding: 14px 22px; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: transparent; color: var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--faint); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

/* Patička */
.site-foot {
  padding-top: 32px; padding-bottom: 44px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--ink); }

@media (prefers-reduced-motion: no-preference) {
  .btn, a { transition: color .2s, background .2s, border-color .2s; }
}
