/* ═══════════════════════════════════════════════════════════════
   RedMon Creatives — v2 „Kinetic"
   Obří typografie, editoriální popisky (01), hranaté tvary,
   ohnivé sklo (fluid.js) a scroll efekty (v2.js).
   Paleta: Papír · Grafit · Deep Red · Crimson · Baby Yellow (vzácně)
   ═══════════════════════════════════════════════════════════════ */

:root {
  --paper: #f4f1eb;
  --ink: #1d1c1a;
  --stone: #8c877e;
  --night: #12090c;        /* tmavé pásy — grafit do vínova */
  --wine: #10030b;
  --deep: #7f1530;         /* Deep Red do fialova */
  --crimson: #e13a26;
  --crimson-light: #ee5a44;
  --yellow: #feed65;       /* Baby Yellow — jen vzácně */

  --sans: "Archivo", -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(20px, 4vw, 56px);
  --bar-h: 64px;

  /* tokeny, které používá převzatý formulář */
  --bg: var(--paper);
  --ink-dim: rgba(29, 28, 26, 0.66);
  --ink-faint: rgba(29, 28, 26, 0.44);
  --line: rgba(29, 28, 26, 0.14);
  --accent: var(--deep);
  --accent-soft: rgba(127, 21, 48, 0.07);
  --accent-line: rgba(127, 21, 48, 0.36);
  --glass-bg: rgba(255, 255, 255, 0.5);
  --glass-border: rgba(29, 28, 26, 0.12);
  --glass-border-hover: rgba(29, 28, 26, 0.24);
  --glass-highlight: rgba(255, 255, 255, 0.85);
  --glass-hover: rgba(29, 28, 26, 0.05);
  --shadow: 0 24px 48px -24px rgba(29, 28, 26, 0.18);
  --solid-glow: rgba(29, 28, 26, 0.28);
  --scrim: rgba(244, 241, 235, 0.8);
  color-scheme: light;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
section[id] { scroll-margin-top: var(--bar-h); }
body {
  visibility: visible;   /* v HTML je body skryté, dokud nedorazí tenhle soubor */
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; }
.wrap { padding: 0 var(--pad); max-width: 1680px; margin: 0 auto; }
h1, h2, h3 { font-weight: 500; overflow-wrap: break-word; }
h1 em, h2 em, h3 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  letter-spacing: -0.01em;
  color: var(--accent);
}
.label {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.62;
}

/* ─────────── Tlačítka (hranatá) ─────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--yellow); }
.btn-line { border-color: rgba(244, 241, 235, 0.5); color: var(--paper); }
.btn-line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--deep); }

/* ─────────── Kurzor (jen myš) ─────────── */

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 400;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.cursor.is-on { opacity: 1; }
.cursor-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(29, 28, 26, 0.55);
  transform: translate(-50%, -50%);
  transition: width 0.45s var(--ease), height 0.45s var(--ease), background 0.3s;
}
.cursor.is-link .cursor-dot { width: 44px; height: 44px; background: rgba(244, 241, 235, 0.25); }
/* nad videem: žlutý terč s popiskem — žlutá jen tady */
.cursor.is-label .cursor-dot { width: 92px; height: 92px; background: var(--yellow); box-shadow: none; }
.cursor-label {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
}
.cursor.is-label .cursor-label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ─────────── Hlavička — hranatý pás ─────────── */

.bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--bar-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 var(--pad);
  color: var(--paper);
  border-bottom: 1px solid rgba(244, 241, 235, 0.18);
  transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.bar.is-solid {
  background: rgba(244, 241, 235, 0.88);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  color: var(--ink);
  border-color: var(--line);
}
.bar a { color: inherit; text-decoration: none; }
.bar-logo {
  font-size: 19px;
  font-weight: 700;
  font-stretch: 85%;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.bar-logo em { font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: 100%; }
.bar-links { display: flex; gap: 34px; }
.bar-links a {
  font-size: 14px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease);
  padding-bottom: 2px;
}
.bar-links a:hover { background-size: 100% 1px; }
.bar-links sup { font-size: 9px; margin-left: 3px; opacity: 0.55; }
.bar-right { justify-self: end; display: flex; align-items: center; gap: 22px; }
.bar-clock { font-size: 13px; opacity: 0.7; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar-clock b { font-weight: 500; }
.bar-cta {
  padding: 10px 16px;
  border: 1px solid currentColor;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}
.bar-cta:hover { background: var(--crimson); border-color: var(--crimson); color: var(--paper); }

/* ─────────── Hero ─────────── */

.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  color: var(--paper);
  background: var(--wine);
  display: grid;
  grid-template-rows: auto 1fr auto;
  --accent: var(--yellow);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: #5a0f22 url("assets/brand/hero-smear.jpg") center / cover no-repeat;
}
@media (max-aspect-ratio: 4 / 5) {
  .hero-bg { background-image: url("assets/brand/hero-smear-mobile.jpg"); }
}
.fluid-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.fluid-canvas.is-live { opacity: 1; }
.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60rem 36rem at 0% 55%, rgba(16, 3, 11, 0.55), transparent 70%),
    linear-gradient(180deg, rgba(16, 3, 11, 0.35) 0%, transparent 22%, transparent 70%, rgba(16, 3, 11, 0.3) 100%);
}
.hero-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: calc(var(--bar-h) + 22px) var(--pad) 0;
  pointer-events: none;
}
.hero-main {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 0 var(--pad);
  max-width: 1000px;
}
.hero-title {
  font-size: clamp(2.8rem, 6.6vw, 7.4rem);
  font-stretch: 92%;
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin-bottom: 34px;
}
.hero-title em { font-size: 1.06em; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .ln > span { display: block; transform: translateY(110%); transition: transform 1.4s var(--ease); }
body.booted .hero-title .ln:nth-child(1) > span { transform: none; transition-delay: 0.35s; }
body.booted .hero-title .ln:nth-child(2) > span { transform: none; transition-delay: 0.5s; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .hero-actions, .hero-top, .hero-card {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}
body.booted .hero .hero-actions { opacity: 1; transform: none; transition-delay: 1s; }
body.booted .hero-top { opacity: 1; transform: none; transition-delay: 0.2s; }

/* plovoucí karta s ukázkou projektu */
.hero-card {
  position: absolute;
  z-index: 3;
  right: var(--pad);
  top: 50%;
  width: clamp(150px, 12.5vw, 210px);
  aspect-ratio: 9 / 16;
  margin-top: calc(clamp(150px, 12.5vw, 210px) * -1.15);
  overflow: hidden;
  color: var(--paper);
  text-decoration: none;
  border: 1px solid rgba(244, 241, 235, 0.35);
  background: rgba(16, 3, 11, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
body.booted .hero-card { opacity: 1; transform: none; transition-delay: 1.2s; }
.hero-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.hero-card:hover video { transform: scale(1.06); }
.hero-card-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 2px;
  padding: 26px 12px 12px;
  background: linear-gradient(transparent, rgba(16, 3, 11, 0.8));
  font-size: 14px;
}
.hero-card-meta b { font-weight: 500; }

/* obří nápis dole — písmena vyjedou zespodu, spodek je oříznutý okrajem */
.hero-word {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad);
  margin-bottom: -0.1em;
  font-size: 21vw;
  font-weight: 800;
  font-stretch: 75%;
  letter-spacing: -0.045em;
  line-height: 0.82;
  white-space: nowrap;
  overflow: hidden;
  pointer-events: none;
}
.hero-word span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.5s var(--ease);
  transition-delay: calc(var(--i) * 45ms + 0.15s);
}
body.booted .hero-word span { transform: none; }

/* ─────────── Ticker ─────────── */

.ticker {
  overflow: hidden;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 0.45em;
  width: max-content;
  font-size: clamp(2.4rem, 7vw, 6.6rem);
  font-weight: 700;
  font-stretch: 72%;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  will-change: transform;
}
.ticker-track span:nth-of-type(2n) { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.ticker-track i { font-style: normal; font-size: 0.55em; color: var(--crimson); }

/* ─────────── Manifest — slova se rozsvěcí při scrollu ─────────── */

.manifest { padding: clamp(110px, 15vw, 220px) 0; }
.manifest-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; }
.manifest-text {
  font-size: clamp(1.9rem, 4.3vw, 4.6rem);
  font-weight: 500;
  font-stretch: 90%;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.manifest-text em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--deep); }
/* než skript rozdělí text na slova, je celý ztlumený — ať neproblikne plnou barvou */
.manifest-text:not(.is-split) { opacity: 0.14; }
.manifest-text .w { opacity: 0.14; transition: opacity 0.45s var(--ease); }
.manifest-text .w.on { opacity: 1; }

/* ─────────── Sekce — společné ─────────── */

.sec-head {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 16px 40px;
  margin-bottom: clamp(48px, 7vw, 100px);
}
.sec-head .label { padding-top: 0.9em; }
.sec-head h2 {
  font-size: clamp(2.3rem, 5.4vw, 5.8rem);
  font-stretch: 90%;
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.sec-sub { grid-column: 2; max-width: 520px; color: var(--ink-dim); }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.in { opacity: 1; transform: none; }

/* ─────────── Práce ─────────── */

.work { background: var(--night); color: var(--paper); --accent: var(--crimson-light); --ink-dim: rgba(244, 241, 235, 0.62); }

/* showreel: velký náhled, klik = kino přes celou obrazovku */
.reel-wrap { padding-top: clamp(100px, 12vw, 170px); }
.reel-head {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 16px 40px;
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.reel-title {
  font-size: clamp(3.4rem, 11vw, 12.5rem);
  font-weight: 800;
  font-stretch: 72%;
  letter-spacing: -0.045em;
  line-height: 0.82;
  text-transform: uppercase;
}
.reel-title em { text-transform: none; font-size: 1.04em; }
.reel {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1c1214;
  color: var(--paper);
  text-decoration: none;
}
.reel-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.reel:hover .reel-media { transform: scale(1.03); }
.reel-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 26px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(244, 241, 235, 0.4);
  background: rgba(16, 3, 11, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.reel-play-ic { font-size: 12px; }
.reel:hover .reel-play { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.reel-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  padding: 50px 18px 16px;
  background: linear-gradient(transparent, rgba(16, 3, 11, 0.7));
}

/* kino: náhled se rozletí z místa, kde byl, do středu obrazovky */
.lightbox { position: fixed; inset: 0; z-index: 300; visibility: hidden; pointer-events: none; color: var(--paper); }
.lightbox.is-open { visibility: visible; pointer-events: auto; }
.lb-bg { position: absolute; inset: 0; background: #050103; opacity: 0; transition: opacity 0.8s var(--ease); }
.lightbox.is-open .lb-bg { opacity: 1; }
.lightbox.is-closing .lb-bg { opacity: 0; }
.lb-stage {
  position: absolute;
  transform-origin: 0 0;
  overflow: hidden;
  background: #000;
  transition: transform 0.95s cubic-bezier(0.7, 0, 0.2, 1);
  will-change: transform;
}
.lb-video { width: 100%; height: 100%; object-fit: cover; }
.lb-title, .lb-close {
  position: absolute;
  top: 22px;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.lightbox.is-open:not(.is-closing) .lb-title,
.lightbox.is-open:not(.is-closing) .lb-close { opacity: 1; transition-delay: 0.7s; }
.lb-title { left: var(--pad); }
.lb-close {
  right: var(--pad);
  padding: 10px 16px;
  border: 1px solid rgba(244, 241, 235, 0.45);
  background: transparent;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.5s var(--ease), background 0.3s, color 0.3s;
}
.lb-close:hover { background: var(--paper); color: var(--ink); }
body.lb-open { overflow: hidden; }

.work > .wrap { padding-top: clamp(100px, 12vw, 170px); padding-bottom: clamp(100px, 11vw, 150px); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.work-item { position: relative; margin: 0; overflow: hidden; background: #1c1214; }
.work-shift { margin-top: 140px; }
.work-tall { aspect-ratio: 9 / 16; }
.work-photos { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.work-photo { aspect-ratio: 4 / 3; }
.work-item > .work-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.work-item:hover > .work-media { transform: scale(1.045); }
video.work-media { cursor: pointer; }
.work-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgba(16, 3, 11, 0.78));
  font-size: 15px;
}
.work-cap b { font-weight: 500; margin-right: auto; }
.work-sound {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 241, 235, 0.35);
  background: rgba(16, 3, 11, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--paper);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.work-sound:hover { background: var(--paper); color: var(--ink); }
.work-sound svg { width: 20px; height: 20px; }
.work-sound .ic-sound { display: none; }
.work-item.sound-on .ic-muted { display: none; }
.work-item.sound-on .ic-sound { display: block; }
.work-item.sound-on .work-sound { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

.more {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 80px;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  color: inherit;
  text-decoration: none;
  font-size: clamp(1.4rem, 2.6vw, 2.4rem);
  font-weight: 500;
  font-stretch: 90%;
  letter-spacing: -0.02em;
}
.more span { transition: transform 0.5s var(--ease); }
.more:hover span { transform: translateX(10px); }

/* ─────────── Služby ─────────── */

.services { padding: clamp(100px, 12vw, 170px) 0; }
.svc { list-style: none; border-top: 1px solid var(--ink); }
.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1.4fr) minmax(0, 1fr) 40px;
  align-items: center;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.6s var(--ease);
}
.svc-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(127, 21, 48, 0.05);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.6s var(--ease);
}
.svc-row:hover { padding-left: 20px; padding-right: 10px; }
.svc-row:hover::before { transform: none; }
.svc-num { font-size: 13px; font-weight: 500; opacity: 0.55; }
.svc-row h3 {
  font-size: clamp(1.8rem, 3.8vw, 3.8rem);
  font-stretch: 88%;
  letter-spacing: -0.035em;
  line-height: 1;
  transition: color 0.4s;
}
.svc-row:hover h3 { color: var(--deep); }
.svc-row p { font-size: 15px; color: var(--ink-dim); max-width: 400px; }
.svc-arrow { justify-self: end; font-size: 26px; transition: transform 0.6s var(--ease), color 0.4s; }
.svc-row:hover .svc-arrow { transform: rotate(45deg); color: var(--crimson); }
.svc-tag {
  display: inline-block;
  vertical-align: middle;
  margin-left: 12px;
  padding: 6px 9px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: 0.01em;
  line-height: 1;
}

/* ─────────── Proces ─────────── */

.process { background: var(--night); color: var(--paper); padding: clamp(100px, 12vw, 170px) 0; --accent: var(--crimson-light); --ink-dim: rgba(244, 241, 235, 0.62); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(244, 241, 235, 0.22); }
.steps li { padding: 30px 24px 44px; border-right: 1px solid rgba(244, 241, 235, 0.12); }
.steps li:first-child { padding-left: 0; }
.steps li:last-child { border-right: 0; }
.step-num {
  display: block;
  margin-bottom: 44px;
  font-size: clamp(4rem, 9vw, 9.5rem);
  font-weight: 800;
  font-stretch: 70%;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(244, 241, 235, 0.45);
  transition: color 0.5s var(--ease), -webkit-text-stroke-color 0.5s var(--ease);
}
.steps li:hover .step-num { color: var(--crimson); -webkit-text-stroke-color: var(--crimson); }
.steps h3 { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.steps p { font-size: 15px; color: rgba(244, 241, 235, 0.62); max-width: 300px; }

/* ─────────── O mně ─────────── */

.about { padding: clamp(100px, 12vw, 170px) 0; }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 100px); align-items: end; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; }
.about-photo figcaption { margin-top: 12px; }
.about-text h2 {
  margin: 18px 0 30px;
  font-size: clamp(2.2rem, 4.6vw, 4.8rem);
  font-stretch: 90%;
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.about-text > p { max-width: 560px; margin-bottom: 16px; color: var(--ink-dim); }
.about-points { list-style: none; margin-top: 36px; border-top: 1px solid var(--line); }
.about-points li { display: flex; gap: 22px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.about-points span { padding-top: 4px; font-size: 12px; font-weight: 500; opacity: 0.5; }

/* ─────────── Kontakt — druhé ohnivé sklo + obří nápis ─────────── */

.contact {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(130px, 14vw, 200px);
  background: var(--wine);
  color: var(--paper);
  --accent: var(--yellow);
}
.contact-bg { position: absolute; inset: 0; background: #5a0f22 center / cover no-repeat; }
/* obrázek se stáhne až v blízkosti kontaktu (třídu přidá v2.js) */
.contact.is-near .contact-bg { background-image: url("assets/brand/cta-smear.jpg"); }
.contact-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(16, 3, 11, 0.62), rgba(16, 3, 11, 0.12) 65%);
}
.contact-inner { position: relative; z-index: 2; width: 100%; }
.contact-inner h2 {
  margin: 18px 0 0;
  max-width: 20ch;
  font-size: clamp(2.4rem, 5.6vw, 6.2rem);
  font-stretch: 90%;
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.contact-sub { margin: 26px 0 34px; font-size: 17px; opacity: 0.82; }
.contact-mail { margin-top: 26px; font-size: 14px; opacity: 0.75; }
.contact-mail a { color: inherit; }
.contact-word {
  position: relative;
  z-index: 2;
  margin-top: 90px;
  margin-bottom: -0.1em;
  padding: 0 var(--pad);
  font-size: 17vw;
  font-weight: 800;
  font-stretch: 72%;
  letter-spacing: -0.045em;
  line-height: 0.82;
  white-space: nowrap;
  pointer-events: none;
}

/* ─────────── Patička ─────────── */

.foot { background: var(--wine); color: rgba(244, 241, 235, 0.72); padding: 28px 0 34px; font-size: 13px; }
.foot-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot a { color: inherit; text-decoration: none; }
.foot a:hover { color: var(--paper); }
.foot-legal { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(244, 241, 235, 0.14); font-size: 12px; line-height: 1.7; opacity: 0.75; }

/* ─────────── Responzivita ─────────── */

@media (max-width: 1000px) {
  .bar { grid-template-columns: 1fr auto; }
  .bar-links { display: none; }
  .sec-head, .manifest-grid, .reel-head { grid-template-columns: 1fr; }
  .sec-sub { grid-column: 1; }
  .sec-head .label { padding-top: 0; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-shift { margin-top: 80px; }
  .work-photos { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 44px minmax(0, 1fr) 30px; }
  .svc-row p { grid-column: 2 / 3; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(2) { border-right: 0; }
  .steps li:nth-child(3) { padding-left: 0; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  :root { --bar-h: 58px; }
  body { font-size: 16px; }
  .bar-clock { display: none; }
  .bar-right { gap: 12px; }
  .hide-sm { display: none; }
  .hero-card { display: none; }
  .hero-title { margin-bottom: 26px; }
  .hero-actions .btn { padding: 15px 20px; }
  .ticker { padding: 16px 0; }
  .reel-play { padding: 13px 18px; font-size: 14px; }
  .reel-cap .label:last-child { display: none; }
  .work-grid { gap: 10px; }
  .work-photos { gap: 10px; grid-template-columns: 1fr; }
  .work-shift { margin-top: 50px; }
  .work-cap { font-size: 13px; padding: 30px 10px 10px; }
  .work-cap .label { display: none; }
  .svc-row { padding: 24px 0; gap: 14px; }
  .svc-row:hover { padding-left: 0; padding-right: 0; }
  .svc-tag { display: table; margin: 10px 0 0; }
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 26px 0 30px; border-right: 0; border-bottom: 1px solid rgba(244, 241, 235, 0.12); }
  .step-num { margin-bottom: 22px; }
  .contact-word { margin-top: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-title .ln > span, .hero-word span, .hero .hero-actions, .hero-top, .hero-card { transition: none !important; opacity: 1 !important; transform: none !important; }
  .manifest-text .w { opacity: 1; }
}

/* převzato z v1 — fullscreen formulář (hranaté pole a štítky) */
/* ─────────── Fullscreen formulář ─────────── */

.cform {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  transition: visibility 0.9s;
}
.cform.open { visibility: visible; }

/* zavřený formulář je zcela neaktivní — aktivní krok nesmí přebít skrytí rodiče
   (visibility potomka jinak „prosákne" a neviditelný krok blokuje klikání na stránce) */
.cform:not(.open) { pointer-events: none; }
.cform:not(.open) .cform-step {
  visibility: hidden;
  pointer-events: none;
  /* při zavření nech krok doznít se stage fade-outem, pak teprve zmiz */
  transition: visibility 0s linear 0.45s;
}

/* Blur se animuje přímo (ne přes opacity rodiče) — jinak „lupne" naráz.
   Pozadí plynule tmavne a rozostřuje se od 0 do plné síly. */
.cform-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60rem 40rem at 70% 20%, var(--accent-soft), transparent 60%),
    var(--scrim);
  opacity: 0;
  -webkit-backdrop-filter: blur(0px) saturate(100%);
  backdrop-filter: blur(0px) saturate(100%);
  will-change: opacity, backdrop-filter;
  /* blur nabíhá pozvolna po celou dobu — jemný filmový rozostřovací nádech */
  transition:
    opacity 0.6s var(--ease),
    -webkit-backdrop-filter 1s cubic-bezier(0.45, 0.05, 0.25, 1),
    backdrop-filter 1s cubic-bezier(0.45, 0.05, 0.25, 1);
}
.cform.open .cform-bg {
  opacity: 1;
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.cform-close {
  opacity: 0;
  transition-property: opacity, color, background, transform;
  transition-duration: 0.5s, 0.3s, 0.3s, 0.4s;
}
.cform.open .cform-close { opacity: 1; transition-delay: 0.25s, 0s, 0s, 0s; }

.cform-close {
  position: absolute;
  top: 26px;
  right: 30px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--ink-dim);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s, background 0.3s, transform 0.4s var(--ease);
}
.cform-close:hover { color: var(--ink); background: var(--glass-hover); transform: rotate(90deg); }

.cform-stage {
  position: relative;
  z-index: 1;
  width: min(680px, 92vw);
  min-height: min(560px, 78svh);
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: transform 0.8s var(--ease), opacity 0.5s var(--ease);
}
.cform.open .cform-stage { transform: none; opacity: 1; }

.cform-step {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 22px;
  opacity: 0;
  transform: translateY(56px);
  filter: blur(8px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease), filter 0.65s var(--ease);
}
.cform-step.is-active {
  opacity: 1;
  transform: none;
  filter: none;
  pointer-events: auto;
  visibility: visible;
  z-index: 2;
  transition-delay: 0.28s;
}
.cform-step.is-exit {
  opacity: 0;
  transform: translateY(-64px);
  filter: blur(8px);
  visibility: visible;
  z-index: 1;
}

.cform-count {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--accent);
}
.cform-step h3 {
  font-size: clamp(1.8rem, 4.4vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.cform-step h3 em { font-family: var(--serif); font-style: italic; color: var(--accent); }

.cform-field {
  display: flex;
  align-items: center;
  width: min(460px, 88vw);
  margin-top: 8px;
  padding: 6px 6px 6px 26px;
  border-radius: 999px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 var(--glass-highlight), var(--shadow);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cform-field:focus-within {
  border-color: var(--accent-line);
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 0 0 4px var(--accent-soft);
}
.cform-field input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  padding: 12px 0;
}
.cform-field input::placeholder { color: var(--ink-faint); }
.cform-next {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: var(--bg);
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cform-next:hover { transform: translateX(2px); box-shadow: 0 8px 24px -8px var(--solid-glow); }

.cform-field.is-err { border-color: rgba(224, 122, 122, 0.55); animation: shake 0.4s var(--ease); }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-7px); }
  60% { transform: translateX(5px); }
}

.cform-hint { font-size: 13px; color: var(--ink-faint); }
.cform-hint a { color: var(--ink-dim); }
.cform-error { color: rgba(224, 140, 140, 0.9); }

.cform-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 520px;
}
.chip {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  color: var(--ink-dim);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.chip:hover { color: var(--ink); transform: translateY(-2px); }
.chip.is-sel {
  color: var(--accent);
  border-color: var(--accent-line);
  background: var(--accent-soft);
}
.cform-submit { margin-top: 10px; }

body.form-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .cform, .cform-stage, .cform-step { transition: none !important; }
  .cform-field.is-err { animation: none; }
}

.cform-field, .chip, .cform-close, .cform-next { border-radius: 0 !important; }
.cform-step h3 { font-stretch: 90%; letter-spacing: -0.035em; font-weight: 500; }
.cform-step h3 em { font-family: var(--serif); font-style: italic; color: var(--deep); }

/* warp: písmena v ohnivých plochách se při pohybu myši prohnou (v2.js) */
.wd, .ch { display: inline-block; }
.wd { white-space: nowrap; }
.hero-top .label { pointer-events: auto; }

/* ─────────── Podstránky: kolekce a zásady ─────────── */

.page-hero { padding: calc(var(--bar-h) + clamp(70px, 11vw, 150px)) 0 clamp(50px, 6vw, 90px); }
.page-title {
  margin-top: 18px;
  font-size: clamp(3.4rem, 12vw, 13rem);
  font-weight: 800;
  font-stretch: 72%;
  letter-spacing: -0.045em;
  line-height: 0.82;
  text-transform: uppercase;
}
.page-title em { text-transform: none; font-size: 1.04em; }
.page-hero-sm .page-title { font-size: clamp(3rem, 8.5vw, 9rem); }
.page-sub { max-width: 600px; margin-top: 30px; font-size: 18px; color: var(--ink-dim); }

.col-project { padding: clamp(60px, 8vw, 110px) 0; border-top: 1px solid var(--line); }
.col-project .sec-sub { max-width: 640px; }
.col-media { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.col-wide { aspect-ratio: 16 / 9; }
.col-tall { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.col-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.col-photo { aspect-ratio: 3 / 2; }
.contact-short { min-height: 0; padding-bottom: clamp(100px, 12vw, 160px); }

.legal { padding-bottom: clamp(90px, 10vw, 140px); }
.legal-inner { max-width: 780px; margin-left: calc(25% + 10px); }
.legal section { margin-top: 48px; }
.legal h2 {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  font-stretch: 92%;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.legal h2 span { flex: none; padding-top: 0.55em; font-size: 13px; font-weight: 500; opacity: 0.55; }
.legal p { margin-bottom: 14px; font-size: 16px; line-height: 1.75; color: var(--ink-dim); }
.legal p b, .legal li b { color: var(--ink); font-weight: 600; }
.legal ul { list-style: none; margin: 6px 0 16px; }
.legal li {
  position: relative;
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-dim);
}
.legal li:last-child { border-bottom: 0; }
.legal li::before { content: "—"; position: absolute; left: 0; color: var(--deep); }
.legal a { color: var(--ink); text-decoration-color: var(--ink-faint); }
.legal-updated { margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-faint); }

@media (max-width: 1000px) {
  .legal-inner { margin-left: 0; }
  .col-media { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .col-media, .col-tall, .col-photos { gap: 10px; }
  .col-photos { grid-template-columns: 1fr; margin-top: 10px; }
}

/* ─────────── Inkoust přes celou stránku (fluid.js) ───────────
   Vrstva s mix-blend-mode: difference převrací barvy pod sebou:
   papír → černá, grafitový text → světlý. Co má zůstat beze změny
   (tmavé pásy, plochy s vlastním inkoustem, videa, fotky, barevná
   zvýraznění), leží nad ní (z-index 45). */
.ink-page {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 40;
  pointer-events: none;
  mix-blend-mode: difference;
}
.hero, .contact, .work, .process, .foot { position: relative; z-index: 45; }
.work-item, .about-photo, .reel { position: relative; z-index: 45; }
.manifest-text em, .sec-head h2 em, .about-text h2 em, .page-title em, .svc-tag { position: relative; z-index: 45; }
.ticker i { color: var(--ink); }

/* ─────────── Vizualizace (Petr Sobotka, Moravany) ─────────── */
.viz {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: center;
  margin-top: clamp(80px, 10vw, 140px);
  padding-top: clamp(50px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.viz-media { max-width: 420px; justify-self: center; width: 100%; }
.viz-title {
  margin: 18px 0 28px;
  font-size: clamp(2.4rem, 5.4vw, 5.6rem);
  font-weight: 500;
  font-stretch: 90%;
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.viz-title em { position: relative; z-index: 45; }
.viz-text > p:not(.label) { max-width: 520px; margin-bottom: 14px; color: var(--ink-dim); }
.viz-client { display: flex; gap: 14px; align-items: baseline; margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink) !important; }
.svc-link { color: inherit; text-decoration: none; }
@media (max-width: 1000px) { .viz { grid-template-columns: 1fr; } .viz-media { max-width: 340px; } }
@media (max-width: 680px) { .work-photos { grid-template-columns: 1fr; } }
