:root {
  --bg: #c9ccd3;          /* mlha ze scén (FOG 0.86/0.88/0.92 po AgX) */
  --ink: #14171d;
  --ink2: #3a404b;
  --line: rgba(20, 23, 29, .55);
  --glass: rgba(236, 239, 244, .62);
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --logo: "Archivo Black", "Arial Black", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--ink); scroll-behavior: auto; }
body { font: 400 16px/1.55 var(--mono); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
b { font-weight: 700; }

.hud { font: 400 11px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.dim { opacity: .62; }

/* ---------- pevné prvky ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; justify-content: space-between;
       align-items: flex-start; padding: 22px 28px; pointer-events: none; }
.top a { pointer-events: auto; }
.logo { font: 400 22px/.92 var(--logo); letter-spacing: .02em; text-decoration: none; }
.top nav { display: flex; gap: 22px; padding-top: 4px; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; }
.corner { position: fixed; left: 28px; bottom: 22px; z-index: 20; display: flex; flex-direction: column; gap: 2px;
          pointer-events: none; }
#nacitam { position: fixed; inset: 0; z-index: 30; display: grid; place-content: center; justify-items: center; gap: 18px;
           background: var(--bg); transition: opacity .7s ease, visibility .7s; }
#nacitam .logo { font-size: 34px; text-align: center; }
#nacitam.pryc { opacity: 0; visibility: hidden; }
#snih { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 15; pointer-events: none; }

/* ---------- scény ---------- */
.stage { position: relative; }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.pin > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.veil { position: absolute; inset: 0; z-index: 4; background: var(--bg); opacity: 0; pointer-events: none; }
.ov { position: absolute; z-index: 5; opacity: 0; transform: translateY(14px);
      transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.ov.on { opacity: 1; transform: none; pointer-events: auto; }

#uvod .ov:first-of-type { left: 28px; bottom: 16vh; max-width: 520px; }
h1 { font: 400 clamp(40px, 6.4vw, 92px)/.95 var(--logo); letter-spacing: -.01em; margin: 10px 0 18px; }
h2 { font: 400 clamp(26px, 3.2vw, 44px)/1.02 var(--logo); margin: 8px 0 14px; }
.lead { max-width: 440px; margin-bottom: 18px; }

/* štítek u objektu: čára + text */
.tag { left: var(--x); top: var(--y); display: flex; flex-direction: column; gap: 4px; padding-left: 14px;
       border-left: 1px solid var(--line); }
.tag .line { position: absolute; left: -90px; top: 22px; width: 90px; height: 1px; background: var(--line);
             transform-origin: right; transform: rotate(-24deg); }

.side { right: 28px; top: 50%; transform: translateY(-46%); max-width: 360px; display: grid; gap: 12px;
        padding: 18px 20px; background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, .7); }
.side.on { transform: translateY(-50%); }
.side.left { right: auto; left: 28px; }

.card { left: 28px; bottom: 12vh; max-width: 380px; padding: 18px 20px 20px; background: var(--glass);
        backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .7); }
.card p { margin-bottom: 10px; }
.btn { display: inline-block; margin-top: 4px; padding: 11px 18px; background: var(--ink); color: #fff;
       font: 700 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.btn:hover { background: #2b313c; }

/* kontakt jako pás dole: monogram nad ním zůstane vidět */
.contact { left: 50%; bottom: 7vh; width: min(980px, calc(100% - 56px)); transform: translate(-50%, 14px);
           display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 26px;
           background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
           border: 1px solid rgba(255, 255, 255, .7); }
.contact.on { transform: translate(-50%, 0); }
.contact h2 { margin: 4px 0 6px; font-size: clamp(22px, 2.4vw, 32px); }
.contact .links { display: grid; gap: 4px; text-align: right; }
.big { font: 400 clamp(20px, 2.4vw, 30px)/1.25 var(--logo); text-decoration: none; }
.big:hover { text-decoration: underline; }

.live .pin { background: radial-gradient(ellipse at 62% 50%, #e3e6eb 0%, var(--bg) 70%); }

.ft { display: flex; justify-content: space-between; gap: 12px; padding: 22px 28px; background: var(--ink); color: #e9ecf1; }

/* ---------- telefon ---------- */
@media (max-width: 760px) {
  .top { padding: 16px; }
  .logo { font-size: 18px; }
  .top nav a:not(.tel) { display: none; }
  .corner { left: 16px; bottom: 14px; }
  #uvod .ov:first-of-type { left: 16px; right: 16px; bottom: 12vh; }
  .tag { left: 54%; top: 16%; }
  .tag .line { display: none; }
  .side, .side.left { left: 16px; right: 16px; top: auto; bottom: 7vh; max-width: none; transform: translateY(14px); }
  .side.on { transform: none; }
  .card { left: 16px; right: 16px; bottom: 7vh; max-width: none; }
  .contact { left: 16px; right: 16px; width: auto; transform: translateY(14px); bottom: 7vh; flex-direction: column;
             align-items: flex-start; gap: 10px; }
  .contact .links { text-align: left; }
  .contact.on { transform: none; }
  .ft { flex-direction: column; padding: 18px 16px 60px; }
}
@media (prefers-reduced-motion: reduce) { .ov { transition: none; } }
