:root {
  --bg: #e9e8e4;
  --bg-alt: #f3f2ee;
  --surface: #fbfaf7;
  --text: #2e3529;
  --muted: #5c6357;
  --sage: #5e7558;
  --sage-dark: #4c6047;
  --sage-light: #dfe6da;
  --on-sage: #f6f7f2;
  --line: #d3d2cb;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -22px rgba(40, 50, 35, .45);
  --shadow-soft: 0 10px 30px -18px rgba(40, 50, 35, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
  /* jemná "papírová" textura jako v prezentaci */
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .3 0 0 0 0 .28 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--sage-light); color: var(--text); }

img, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); letter-spacing: -.01em; }
h1 span { display: block; font-style: italic; color: var(--sage); margin-top: .1em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.3rem; font-weight: 500; }
p { margin: 0 0 1em; text-wrap: pretty; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--sage-dark); outline-offset: 3px; }

/* Malé nadpisy nad sekcemi */
.eyebrow, .eyebrow-title, .signature {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-weight: 500;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .75rem; color: var(--sage-dark); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.eyebrow-title { font-size: clamp(.85rem, 1.6vw, 1rem); margin-bottom: 2.5rem; }
.signature {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-size: .7rem; color: var(--muted); margin-top: 2.5rem;
}
.signature::before, .signature::after { content: ""; width: 40px; height: 1px; background: var(--line); }

.section-head { text-align: center; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin-bottom: 0; }

/* Tlačítka */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 32px;
  border: 1.5px solid var(--sage-dark); border-radius: 999px;
  background: var(--sage-dark); color: var(--on-sage);
  font-weight: 500; text-decoration: none;
  box-shadow: 0 10px 24px -14px rgba(46, 53, 41, .7);
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { background: var(--text); border-color: var(--text); transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(46, 53, 41, .8); }
.btn-ghost { background: transparent; color: var(--sage-dark); box-shadow: none; }
.btn-ghost:hover { color: var(--on-sage); }
.btn-small { min-height: 40px; padding: 8px 22px; box-shadow: none; }
.btn-light { background: var(--on-sage); border-color: var(--on-sage); color: var(--sage-dark); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--text); }

/* Hlavička */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 24px -20px rgba(40, 50, 35, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { font-family: var(--font-display); font-size: 1.55rem; text-decoration: none; }
.logo em { color: var(--sage); font-size: .75em; }

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 34px; margin: 0; padding: 0; }
.main-nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .96rem; position: relative; }
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1.5px;
  background: var(--sage); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.main-nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 7px;
}
.nav-toggle .bar { width: 24px; height: 2px; background: var(--text); transition: transform .3s; }
.nav-toggle[aria-expanded="true"] .bar:first-of-type { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:last-of-type { transform: translateY(-4.5px) rotate(-45deg); }

/* Úvod s koláží */
.hero {
  position: relative;
  padding: clamp(40px, 7vw, 96px) 0 clamp(72px, 10vw, 130px);
  isolation: isolate;
  overflow-x: clip;
}
.hero::before {
  content: ""; position: absolute; z-index: -1;
  right: -10%; top: -10%; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px;
  background: radial-gradient(circle, rgba(94, 117, 88, .16), transparent 65%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 31em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }

.collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(6, clamp(56px, 7vw, 96px));
  gap: 12px;
}
.collage img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius-sm); box-shadow: var(--shadow);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.collage img:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 26px 50px -24px rgba(40, 50, 35, .55); }
.collage .c1 { grid-column: 1; grid-row: 1 / 5; object-position: center 35%; border-radius: var(--radius) var(--radius) var(--radius-sm) var(--radius-sm); }
.collage .c2 { grid-column: 1; grid-row: 5 / 7; }
.collage .c3 { grid-column: 2; grid-row: 1 / 4; }
.collage .c5 { grid-column: 2; grid-row: 4 / 7; }
.collage .c4 { grid-column: 3; grid-row: 1 / 3; }
.collage .c6 { grid-column: 3; grid-row: 3 / 5; }
.collage .c7 { grid-column: 3; grid-row: 5 / 7; }
/* posunutý prostřední sloupec – živější koláž */
@media (min-width: 821px) {
  .collage .c3, .collage .c5 { transform: translateY(28px); }
  .collage .c3:hover, .collage .c5:hover { transform: translateY(24px) scale(1.02); }
}

/* Sekce */
.section { padding: clamp(72px, 10vw, 130px) 0; }

.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 7vw, 110px); align-items: center; }
.split-reverse { grid-template-columns: .85fr 1.15fr; }
.split-text { max-width: 580px; }
.split-text > p:not(.eyebrow) { color: var(--muted); font-family: var(--font-display); font-size: 1.15rem; line-height: 1.75; }
.split-photo { margin: 0; position: relative; isolation: isolate; }
.split-photo::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1;
  border: 1px solid var(--sage); border-radius: var(--radius); opacity: .45;
}
.split-reverse .split-photo::before { inset: 22px 22px -22px -22px; }
.split-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

.facts { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.facts li {
  display: flex; flex-direction: column; gap: 4px;
  padding: 20px 18px; background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-soft);
}
.facts strong { font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; line-height: 1.1; color: var(--sage-dark); }
.facts span { color: var(--muted); font-size: .88rem; line-height: 1.4; }

.philosophy { padding-top: 0; }

/* Citát */
.quote { padding: clamp(72px, 9vw, 120px) 0; background: var(--bg-alt); text-align: center; position: relative; }
.quote blockquote { margin: 0 auto; max-width: 880px; position: relative; }
.quote blockquote::before {
  content: "\201E"; display: block;
  font-family: var(--font-display); font-size: clamp(5rem, 10vw, 8rem); line-height: .5;
  color: var(--sage); opacity: .35; margin-bottom: .35em;
}
.quote blockquote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.38; margin: 0; text-wrap: balance; }

/* Portfolio */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 320px)); gap: clamp(20px, 4vw, 48px); justify-content: center; }
.video-frame {
  position: relative; overflow: hidden; background: #1f231d; aspect-ratio: 9 / 16;
  border-radius: 26px; box-shadow: 0 30px 60px -28px rgba(30, 38, 26, .6);
  outline: 6px solid var(--surface);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.play-overlay {
  position: absolute; inset: 0; margin: auto; width: 78px; height: 78px; border-radius: 50%;
  border: 0; background: rgba(251, 250, 247, .94); cursor: pointer;
  display: grid; place-items: center; transition: transform .25s var(--ease), opacity .25s;
  box-shadow: 0 0 0 0 rgba(251, 250, 247, .5);
  animation: pulse 2.6s ease-out infinite;
}
.play-overlay svg { width: 30px; height: 30px; fill: var(--sage-dark); margin-left: 4px; }
.play-overlay:hover { transform: scale(1.08); }
.video-frame.playing .play-overlay { opacity: 0; pointer-events: none; animation: none; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(251, 250, 247, .55); }
  70%, 100% { box-shadow: 0 0 0 18px rgba(251, 250, 247, 0); }
}
.video-card { text-align: center; }
.video-card h3 { margin-top: 1.6rem; margin-bottom: .25rem; }
.video-card p { color: var(--muted); font-size: .95rem; max-width: 30ch; margin-inline: auto; }

.stills { margin-top: clamp(64px, 9vw, 110px); }
.stills h3 { text-align: center; margin-bottom: 1.8rem; font-style: italic; font-weight: 400; font-size: 1.45rem; }
.stills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stills-grid img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: var(--radius-sm); box-shadow: var(--shadow);
  transition: transform .45s var(--ease);
}
.stills-grid img:hover { transform: translateY(-6px); }

/* Spolupráce */
.collab { background: var(--bg-alt); }
.collab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.collab-card {
  background: var(--surface); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-soft);
  border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.collab-num { display: block; font-family: var(--font-display); font-style: italic; font-size: 2.4rem; line-height: 1; color: var(--sage); opacity: .6; margin-bottom: 1rem; }
.collab-card h3 { font-size: 1.45rem; margin-bottom: .9rem; }
.collab-card p { color: var(--muted); line-height: 1.7; }
.collab-card p:last-child { margin-bottom: 0; }

/* Ceník + kontakt (zelené sekce jako v prezentaci) */
.pricing, .contact { background: var(--sage); color: var(--on-sage); }
.pricing { padding-bottom: clamp(64px, 8vw, 96px); }
.pricing .eyebrow-title, .contact .eyebrow-title { display: flex; align-items: center; gap: 14px; }
.pricing .eyebrow-title { justify-content: center; }
.pricing .eyebrow-title::before, .pricing .eyebrow-title::after,
.contact .eyebrow-title::before { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .6; }
.contact { border-top: 1px solid rgba(255, 255, 255, .14); }

.price-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-list li {
  position: relative; display: flex; flex-direction: column;
  padding: 34px 30px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .22);
  transition: transform .3s var(--ease), background .3s;
}
.price-list li:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .1); }
.price-list li.featured {
  background: var(--surface); color: var(--text); border-color: var(--surface);
  box-shadow: 0 30px 60px -30px rgba(20, 28, 18, .6);
}
.price-list li.featured .price { color: var(--sage-dark); }
.badge {
  position: absolute; top: -13px; left: 30px;
  padding: 4px 14px; border-radius: 999px;
  background: var(--sage-dark); color: var(--on-sage);
  font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.price-head h3 { margin-bottom: .6rem; }
.price { font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; line-height: 1.2; margin-bottom: 1.1rem; padding-bottom: 1.1rem; border-bottom: 1px solid currentColor; border-bottom-color: color-mix(in srgb, currentColor 22%, transparent); }
.price small { display: block; font-family: var(--font-body); font-size: .85rem; font-weight: 400; opacity: .75; margin-top: .2rem; }
.price-list li > p { font-size: .95rem; opacity: .9; margin: 0; }
.pricing-cta { text-align: center; margin-top: clamp(36px, 5vw, 56px); }

.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact-lead { font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.5; max-width: 30em; }
.contact-links { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; gap: 4px; max-width: 520px; }
.contact-links a {
  position: relative; display: flex; flex-direction: column; padding: 16px 40px 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  font-family: var(--font-display); font-size: clamp(1.2rem, 2.4vw, 1.6rem); text-decoration: none;
  overflow-wrap: anywhere; transition: padding-left .3s var(--ease), border-color .3s;
}
.contact-links a::after {
  content: "→"; position: absolute; right: 4px; top: 50%; transform: translate(-6px, -50%);
  font-family: var(--font-body); font-size: 1.3rem; opacity: 0; transition: opacity .3s, transform .3s var(--ease);
}
.contact-links a:hover { padding-left: 10px; border-color: rgba(255, 255, 255, .7); }
.contact-links a:hover::after { opacity: 1; transform: translate(0, -50%); }
.contact-links span { font-family: var(--font-body); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; opacity: .7; }

/* Mockup telefonu */
.phone {
  justify-self: center; width: min(280px, 100%);
  padding: 10px; border-radius: 44px; background: #20251e;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .55), inset 0 0 0 2px rgba(255, 255, 255, .08);
  position: relative; transform: rotate(3deg);
  transition: transform .5s var(--ease);
}
.phone:hover { transform: rotate(0deg) translateY(-6px); }
.phone::before {
  content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 24px; border-radius: 999px; background: #20251e; z-index: 1;
}
.phone img { border-radius: 34px; width: 100%; aspect-ratio: 9 / 18; object-fit: cover; }

/* Patička */
.site-footer { background: var(--sage-dark); color: var(--on-sage); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 0; flex-wrap: wrap; }
.footer-inner p { margin: 0; opacity: .85; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Animace při scrollu */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }
.video-grid .reveal:nth-child(3) { transition-delay: .24s; }
.video-grid .reveal:nth-child(2), .collab-grid .reveal:nth-child(2), .price-list .reveal:nth-child(2) { transition-delay: .12s; }
.price-list .reveal:nth-child(3) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Tablet */
@media (max-width: 960px) {
  .price-list { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 28px; }
  .stills-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobil */
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 16px 24px;
    transform: translateY(-120%); visibility: hidden;
    transition: transform .35s ease, visibility .35s;
  }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .main-nav li .btn { margin-top: 16px; width: 100%; }

  .hero-grid, .split, .split-reverse, .collab-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-text, .split-text { text-align: center; margin-inline: auto; }
  .lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .collage { grid-template-rows: repeat(6, 18vw); gap: 6px; }
  .collage img { border-radius: 8px; }

  .split-photo { max-width: 400px; margin-inline: auto; width: calc(100% - 22px); }
  .about .split-photo { order: -1; }
  .philosophy { padding-top: clamp(32px, 6vw, 64px); }

  .contact-text { text-align: center; }
  .contact .eyebrow-title { justify-content: center; }
  .contact-lead, .contact-links { margin-inline: auto; }
  .contact-links a { align-items: center; padding-inline: 0; }
  .contact-links a::after { display: none; }
  .contact-links a:hover { padding-left: 0; }
  .phone { width: min(240px, 70%); }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .video-grid { grid-template-columns: minmax(0, 1fr); max-width: 320px; margin-inline: auto; }
  .facts { grid-template-columns: 1fr; text-align: center; }
  .hero-cta .btn { width: 100%; }
  .collage { gap: 4px; }
  .collage img { border-radius: 6px; }
  .pricing .eyebrow-title { display: block; text-align: center; letter-spacing: .2em; }
  .pricing .eyebrow-title::before, .pricing .eyebrow-title::after { display: none; }
  .split-photo::before { inset: 14px -14px -14px 14px; }
  .split-reverse .split-photo::before { inset: 14px 14px -14px -14px; }
}
