/* Screen Jungle — jedna rodina písma (Archivo) ve třech šířkách:
   expanded = značka a titulky, normal = text, condensed = „billing block“ (popisky jako na filmovém plakátu) */
:root {
  --bg: #0b0b0a;
  --bg2: #121210;
  --ink: #e6e6e6;  /* 10 % šedá místo čisté bílé */
  --mute: #8f8b81;
  --line: rgba(241, 238, 230, .14);
  --rec: #e5483b;
  --acc: #2fb4ff;  /* azurová – jediný barevný akcent */
  --f: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 var(--f); font-stretch: 100%; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--acc); color: var(--bg); }
.wrap { width: min(1320px, 90vw); margin: 0 auto; }

/* typografické role */
.x, .display, .brand, .ko-l1, .ko-l2, .film-title, .sl h3, .stat b, .contact-mail, .player-meta h3, .filmo li, .hero-claim {
  font-family: var(--f); font-stretch: 125%; font-weight: 800; text-transform: uppercase;
}
.c, .kicker, .hero-meta, .scroll-cue, .nav-links a, .film-year, .film-play, .film-prod, .sl-no, .sl-type, .sl-status, .role,
.stat span, .pillars span, .filmo span, .footer, #playerTabs button, .work-note, .contact-meta {
  font-family: var(--f); font-stretch: 62%; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
}

/* ---------- navigace: zmenšená značka z úvodu ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 4vw; transition: background .5s, padding .5s;
}
.nav.solid { background: rgba(11, 11, 10, .9); backdrop-filter: blur(10px); padding: 14px 4vw; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: .86; }
.brand .bl1 { font-size: 8.4px; letter-spacing: .3em; padding-left: .3em; margin-bottom: .2em; }
.brand .bl2 { font-size: 16.2px; letter-spacing: -.02em; }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--mute); transition: color .3s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { color: var(--ink) !important; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.nav-toggle { display: none; background: none; border: 0; width: 36px; height: 36px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 6px; right: 6px; height: 1.5px; background: var(--ink); transition: .3s; }
.nav-toggle span:first-child { top: 14px; } .nav-toggle span:last-child { top: 21px; }

/* ---------- HERO: záběry z filmů uvnitř značky ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero { height: 280vh; position: relative; background: #000; }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #000; }
.reel { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.32) contrast(1.04); transform: scale(1.08); will-change: transform; }
.reel-shade { position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(rgba(0,0,0,.4), transparent 30%, transparent 50%, rgba(0,0,0,.8)); }
.knockout { position: absolute; inset: 0; background: #000; mix-blend-mode: multiply; display: grid; place-items: center;
  transform-origin: 50% 50%; }
.ko-word { display: flex; flex-direction: column; align-items: center; color: #fff; line-height: .86;
  text-rendering: geometricPrecision; opacity: 0; animation: koIn 2.6s .4s var(--ease) forwards; }
.ko-lift { background: none; mix-blend-mode: screen; }
.ko-lift .ko-word { color: rgba(255,255,255,.075); }
.ko-l1 { font-size: clamp(1.9rem, 8vw, 9.8rem); letter-spacing: .3em; padding-left: .3em; margin-bottom: .2em; }
.ko-l2 { font-size: clamp(3.4rem, 15.5vw, 19rem); letter-spacing: -.02em; }
@keyframes koIn { from { opacity: 0; transform: scale(.94); filter: blur(14px); } to { opacity: 1; transform: none; filter: blur(0); } }

.hero-ui { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 4vw 30px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 20px;
  opacity: 0; animation: up 1.4s 2.4s var(--ease) forwards; z-index: 3; }
.hero-meta { margin: 0; font-size: 15px; line-height: 1.25; color: var(--mute); }
.hero-meta span { display: block; color: var(--ink); }
.hm-r { text-align: right; }
.hero-claim { position: absolute; left: 50%; bottom: 16vh; transform: translateX(-50%); width: min(92vw, 1100px); margin: 0; text-align: center; z-index: 3;
  font-size: clamp(1.5rem, 3.6vw, 3.6rem); line-height: .95; letter-spacing: -.01em; color: var(--ink); opacity: 0; pointer-events: none; text-shadow: 0 2px 40px rgba(0,0,0,.45); }
.hero-claim em { display: block; font-style: normal; font-stretch: 62%; font-weight: 600; letter-spacing: .06em; font-size: .42em; line-height: 1.3; margin-top: 1em; color: rgba(241,238,230,.8); }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; font-size: 13px; color: var(--mute); }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(transparent, var(--ink)); animation: drip 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) {
  .hero-ui { grid-template-columns: 1fr 1fr; } .scroll-cue { display: none; }
  .ko-l2 { font-size: 16.8vw; } .ko-l1 { font-size: 8.6vw; }
}

/* ---------- sekce ---------- */
.section { position: relative; padding: clamp(100px, 13vw, 190px) 0; }
.studio { margin-top: -10vh; background: linear-gradient(transparent, var(--bg) 18vh); }
.kicker { font-size: 15px; color: var(--mute); margin: 0 0 30px; display: flex; align-items: center; gap: 14px; }
.kicker::before { content: ""; width: 28px; height: 1.5px; background: var(--acc); }
.display { font-size: clamp(2.2rem, 4.6vw, 4.6rem); line-height: .94; letter-spacing: -.015em; margin: 0 0 .5em; }
.display em, .display i { font-style: normal; color: var(--acc); }
.display.big { font-size: clamp(2.8rem, 7.6vw, 8rem); }
.lead { font-size: clamp(20px, 1.75vw, 25px); line-height: 1.45; color: var(--ink); margin-top: 0; letter-spacing: -.005em; }
p { color: var(--mute); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }

.pillars { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--ink); }
.pillars li { padding: 18px 16px 0 0; font-size: 15px; color: var(--mute); line-height: 1.45; }
.pillars span { display: block; font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line); }
.stat { padding: 30px 20px 0 0; }
.stat b { display: block; font-size: clamp(4rem, 9vw, 8.5rem); line-height: .85; letter-spacing: -.04em; margin-bottom: 14px; }
.stat span { font-size: 15px; color: var(--mute); }

/* tvorba */
.work-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 50px; }
.work-note { max-width: 320px; font-size: 15px; line-height: 1.3; margin: 0 0 1.2em; color: var(--mute); }
.film-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; grid-auto-rows: clamp(200px, 22vw, 340px); }
.film {
  position: relative; overflow: hidden; border: 0; padding: 0; cursor: pointer; text-align: left; color: var(--ink);
  background: #1a1a18; font-family: var(--f);
}
.film-wide { grid-column: span 2; }
.film-img { position: absolute; inset: 0; }
.film-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 1.4s var(--ease), filter .6s; filter: grayscale(.35) brightness(.8); }
.film:hover .film-img img { transform: scale(1.08); filter: none; }
.film-img.noimg { background: repeating-linear-gradient(135deg, #161614 0 14px, #1b1b19 14px 28px); }
.film-shade { position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0, 0, 0, .85)); }
.film-info { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2vw, 30px); display: flex; flex-direction: column; gap: 8px; }
.film-year { font-size: 14px; color: rgba(241,238,230,.75); }
.film-prod { font-size: 13px; color: var(--acc); margin-top: 2px; }
.film-title { font-size: clamp(22px, 2.3vw, 36px); line-height: .92; letter-spacing: -.01em; }
.film-wide .film-title { font-size: clamp(32px, 4vw, 62px); }
.film-play { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); opacity: 0; transform: translateY(8px); transition: .5s var(--ease); margin-top: 4px; }
.film-play i { width: 0; height: 0; border: 6px solid transparent; border-left: 9px solid var(--ink); border-right: 0; }
.film:hover .film-play, .film:focus-visible .film-play { opacity: 1; transform: none; }
.film:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 3px; }
.film.no-video { cursor: default; }
.film.no-video .film-play { opacity: .6; transform: none; }

/* zakladatel */
.founder { background: var(--bg2); }
.founder-portrait { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #1a1a18; }
.founder-portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.portrait-fallback { display: none; }
.founder-portrait.no-img .portrait-fallback { display: grid; place-items: center; position: absolute; inset: 0; font: 800 clamp(5rem, 14vw, 11rem) var(--f); font-stretch: 125%; color: rgba(241,238,230,.15); }
.role { font-size: 16px; color: var(--mute); margin: -6px 0 30px; }
.founder em { color: var(--ink); font-style: normal; font-weight: 600; }
/* filmografie jako závěrečné titulky */
.filmo { list-style: none; padding: 0; margin: 44px 0 0; border-top: 1.5px solid var(--ink); }
.filmo li { display: grid; grid-template-columns: 64px 1fr; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.1; letter-spacing: -.005em; }
.filmo span { font-size: 14px; color: var(--mute); }

/* kontakt */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; margin-top: 40px; align-items: end; border-top: 1.5px solid var(--ink); padding-top: 36px; }
.contact-mail { font-size: clamp(1.4rem, 3.2vw, 3rem); line-height: 1; letter-spacing: -.02em; text-decoration: none; display: inline-flex; gap: .45em; align-items: center; text-transform: none; }
.contact-mail span { transition: transform .4s var(--ease); }
.contact-mail:hover span { transform: translateX(10px); }
.contact-meta { font-size: 15px; line-height: 1.35; }
.contact-meta p { margin: 0 0 16px; }
.contact-meta b { color: var(--ink); font-weight: 600; }
.ph { color: var(--rec); }
.footer { border-top: 1px solid var(--line); padding: 26px 0; font-size: 14px; color: var(--mute); }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* zakladatelé (v sekci Kontakt) */
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 60px; margin-top: clamp(70px, 9vw, 120px); padding-top: 36px; border-top: 1px solid var(--line); }
.person { display: grid; grid-template-columns: clamp(110px, 11vw, 160px) 1fr; gap: 26px; align-items: start; }
.person-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #1a1a18; }
.person-photo img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.person-photo span { position: absolute; inset: 0; display: grid; place-items: center; font: 800 clamp(1.6rem, 2.6vw, 2.4rem) var(--f); font-stretch: 125%; color: rgba(230,230,230,.22); letter-spacing: -.02em; }
.person-role { margin: 0 0 10px; font-family: var(--f); font-stretch: 62%; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; color: var(--acc); }
.person-name { margin: 0 0 12px; font-family: var(--f); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 2.6vw, 2.5rem); line-height: .95; letter-spacing: -.015em; }
.person-text p:last-child { margin: 0; font-size: 16px; line-height: 1.55; max-width: 44ch; }

/* přehrávač */
.player { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .95); display: grid; place-items: center; opacity: 0; transition: opacity .35s; }
.player.open { opacity: 1; }
.player-inner { width: min(1200px, 92vw); transform: scale(.97); transition: transform .5s var(--ease); }
.player.open .player-inner { transform: none; }
.player-frame { aspect-ratio: 16 / 9; background: #000; }
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 18px; flex-wrap: wrap; }
.player-meta h3 { font-size: 26px; margin: 0; letter-spacing: -.01em; }
#playerTabs { display: flex; gap: 22px; }
#playerTabs button { background: none; border: 0; border-bottom: 1.5px solid transparent; color: var(--mute); padding: 4px 0; font-size: 15px; cursor: pointer; }
#playerTabs button.on { border-color: var(--ink); color: var(--ink); }
.player-close { position: absolute; top: 22px; right: 26px; background: none; border: 0; color: var(--ink); width: 46px; height: 46px; font-size: 22px; cursor: pointer; }

/* odhalování */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- připravujeme: stěna názvů (billing block) ---------- */
.slate { background: var(--bg2); }
.slate-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 40px; }
.slate-wall { margin: 0; padding-top: 34px; border-top: 1.5px solid var(--ink); color: var(--ink);
  font-family: var(--f); font-stretch: 125%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.5rem, 3.9vw, 4.3rem); line-height: 1.18; letter-spacing: -.02em; }
.sw { display: inline-block; white-space: nowrap; transition: color .3s; }
.sw:hover { color: var(--acc); }
.sw-m { font-stretch: 62%; font-weight: 600; letter-spacing: .06em; font-size: max(11px, .24em); vertical-align: 1.9em; line-height: 0; margin-left: .35em; color: var(--mute); white-space: nowrap; }
.sw-m b { font-weight: 600; margin-left: .7em; }
.sw-m b::before { content: ""; display: inline-block; width: .55em; height: .55em; border-radius: 50%; background: currentColor; margin-right: .45em; vertical-align: .05em; }
.s-postprodukce .sw-m b, .s-priprava .sw-m b { color: var(--acc); }
.s-postprodukce .sw-m b::before { background: var(--rec); animation: rec 1.6s infinite; }
.sw-sep { color: var(--acc); font-weight: 300; margin: 0 .28em; }
.slate-now { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px 60px; margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line); align-items: baseline; }
.slate-now .kicker { grid-column: 1 / -1; margin: 0 0 6px; }
.slate-now h3 { margin: 0; font-family: var(--f); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 2.4vw, 2.2rem); line-height: 1; letter-spacing: -.015em; }
.slate-now p { margin: 0; font-size: 17px; max-width: 52ch; }
@keyframes rec { 50% { opacity: .2; } }

/* ---------- responzivita ---------- */
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px; background: rgba(11, 11, 10, .98); opacity: 0; pointer-events: none; transition: opacity .4s; }
  .nav-links a { font-size: 22px; }
  .nav.menu-open .nav-links { opacity: 1; pointer-events: auto; }
  .nav-toggle { display: block; z-index: 2; }
  .nav.menu-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.menu-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .grid-2, .contact-grid, .people { grid-template-columns: 1fr; }
  .film-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(170px, 34vw, 280px); }
  .work-head { flex-direction: column; align-items: start; }
  .film-play { opacity: 1; transform: none; }
}
@media (max-width: 560px) {
  .film-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .film-wide { grid-column: auto; }
  .stats, .pillars { grid-template-columns: 1fr; }
  .slate-now { grid-template-columns: 1fr; }
  .sw { display: block; white-space: normal; margin-bottom: 14px; }
  .sw-sep { display: none; }
  .sw-m { display: block; vertical-align: baseline; line-height: 1.4; margin: 4px 0 0; font-size: 12px; }
  .slate-wall { font-size: 8.6vw; line-height: .98; }
  .slate-head { flex-direction: column; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; animation-delay: 0s !important; transition-duration: .01s !important; }
  .hero { height: 100vh; } .knockout { display: none; } .hero-claim { opacity: 1; }
}
