/* ============================================================
   PROMPT PICTURES — design „Supercut" (Claude Design)
   Horizontální scroll · bílá / černá / #FF4A17
   Inter Tight · Inter · Space Mono
   ============================================================ */

:root {
  --accent: #FF4A17;
  --black: #0a0a0a;
  --white: #ffffff;
  --ease: cubic-bezier(0.22, 0.7, 0.15, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: "Inter Tight", "Inter", sans-serif; margin: 0; }

::selection { background: var(--accent); color: var(--white); }

a { color: inherit; text-decoration: none; cursor: pointer; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.accent { color: var(--accent); }

.mono-label {
  font-family: "Space Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* ---------- Fixní chrome ---------- */

.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent);
  z-index: 220;
}

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  color: var(--black);
  transition: color 0.5s ease;
}
.logo {
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.04em;
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 15px;
  font-weight: 600;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta { color: var(--accent); }

.counter, .hint {
  position: fixed;
  bottom: 36px;
  z-index: 200;
  font-family: "Space Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--black);
  transition: color 0.5s ease, opacity 0.5s ease;
}
.counter { left: 48px; }
.hint { right: 48px; display: flex; align-items: center; gap: 12px; }
.hint span {
  display: inline-block;
  color: var(--accent);
  animation: nudge 1.6s ease-in-out infinite;
}
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(14px); } }

/* ---------- Horizontální track ---------- */

#spacer { height: 500vh; } /* JS přepočítá */

.track {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  display: flex;
  width: max-content;
  will-change: transform;
  z-index: 10;
}

.panel {
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.panel-wide { width: 200vw; }
.p-white { background: var(--white); color: var(--black); }
.p-black { background: var(--black); color: var(--white); }
.p-accent { background: var(--accent); color: var(--black); }

.inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px 48px 70px;
  will-change: transform;
}

/* ---------- 01 Hero ---------- */

.inner-hero { padding: 96px 48px; }
.inner-hero .mono-label { margin-bottom: min(36px, 3.5vh); }

.display {
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.8;
  font-size: min(13.5vw, 19vh, 250px);
  text-transform: uppercase;
}
.display span { display: block; }
.display span.accent { display: inline; }

.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-top: min(56px, 5vh);
  flex-wrap: wrap;
}
.hero-foot p {
  max-width: 440px;
  font-size: clamp(15px, 1.9vh, 21px);
  line-height: 1.45;
}
.link-cta {
  font-weight: 700;
  font-size: 17px;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 5px;
}
.link-cta:hover { color: var(--accent); }

/* ---------- 02 Práce ---------- */

.inner-work {
  flex-direction: row;
  align-items: center;
  gap: 5vw;
  padding: 110px 48px 70px;
}
.side-title {
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.78;
  font-size: min(11vw, 60vh, 210px);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  flex-shrink: 0;
  text-transform: uppercase;
}
.side-title span { color: var(--accent); }

.work-right { flex: 1; min-width: 0; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.8vw;
}
.work-card { display: block; color: inherit; }
.work-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  background: #161616;
}
.work-note {
  margin-top: 18px;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #7a7a7a;
}
.work-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 12px;
}
.work-meta h3 {
  font-weight: 700;
  font-size: clamp(15px, 1.4vw, 24px);
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.work-meta span {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #7a7a7a;
  white-space: nowrap;
}
.work-card:hover .work-meta h3 { color: var(--accent); }

/* ---------- 03 Služby ---------- */

.srow {
  display: flex;
  align-items: baseline;
  gap: 3vw;
  padding: 1.3vh 0;
  border-top: 2px solid var(--black);
}
.srow-close { border-top: 2px solid var(--black); }
.srow-no {
  font-family: "Space Mono", monospace;
  font-size: clamp(13px, 1.1vw, 16px);
  color: var(--accent);
  font-weight: 700;
}
.srow h3 {
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.94;
  font-size: min(5.6vw, 9vh, 96px);
  flex: 1;
  text-transform: uppercase;
}
.srow:hover h3 { color: var(--accent); }
.srow-tag {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #8a8a8a;
  max-width: 240px;
  text-align: right;
}

/* ---------- 04 Studio (čísla) ---------- */

.inner-stats .mono-label { margin-bottom: 3vh; }
.stats-manifest {
  max-width: 720px;
  font-size: clamp(17px, 2.6vh, 26px);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 5.5vh;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4.5vh 4vw;
}
.stat-num {
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: min(9.5vw, 14vh, 180px);
  letter-spacing: -0.05em;
  line-height: 0.8;
}
.stats-grid p {
  font-family: "Space Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 12px;
}

/* ---------- 05 Ceník ---------- */

.inner-price {
  flex-direction: row;
  align-items: center;
  gap: 4vw;
  padding: 110px 48px 70px;
}
.price-wrap { flex: 1; min-width: 0; }

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8vw;
}
.plan {
  border: 2px solid var(--black);
  padding: min(2.6vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 2vh;
  position: relative;
}
.plan h3 {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.plan-price {
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: min(2.6vw, 5vh, 38px);
  line-height: 0.9;
}
.plan-price span {
  font-family: "Space Mono", monospace;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.1em;
}
.plan ul { list-style: none; display: grid; gap: 1.1vh; flex-grow: 1; }
.plan li {
  font-size: clamp(13px, 1.8vh, 16px);
  font-weight: 500;
  padding-left: 20px;
  position: relative;
}
.plan li::before { content: "+"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.plan-cta {
  font-weight: 700;
  font-size: 15px;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 4px;
  align-self: flex-start;
}
.plan-cta:hover { color: var(--accent); }

.plan-hot { background: var(--black); color: var(--white); border-color: var(--black); }
.plan-hot li::before { color: var(--accent); }
.plan-badge {
  position: absolute;
  top: -13px; right: 16px;
  background: var(--accent);
  color: var(--white);
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
}

.price-note {
  margin-top: 3vh;
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #6a6a6a;
  max-width: 90ch;
}

/* ---------- 06 Kontakt ---------- */

.inner-contact { align-items: flex-start; padding: 96px 48px 100px; }
.display-contact {
  letter-spacing: -0.055em;
  line-height: 0.78;
  font-size: min(15vw, 26vh, 280px);
}
.mail-link {
  margin-top: min(6vh, 40px);
  font-weight: 700;
  font-size: min(2.4vw, 3.4vh, 34px);
  border-bottom: 3px solid var(--accent);
  padding-bottom: 8px;
}
.mail-link:hover { color: var(--accent); }
.contact-strip {
  position: absolute;
  bottom: 36px; left: 48px; right: 48px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: "Space Mono", monospace;
  font-size: 12px;
  color: #6a6a6a;
  flex-wrap: wrap;
}
.socials { display: flex; gap: 24px; color: #ffffff; }

/* ---------- Vertikální část (za horizontální jízdou) ---------- */

.after {
  position: relative;
  z-index: 20;
  background: var(--white);
  box-shadow: 0 -1px 0 var(--black);
}

.after h2 {
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.85;
  font-size: min(9vw, 110px);
  text-transform: uppercase;
}
.after h2 span { color: var(--accent); }

.faq { padding: 110px 48px 80px; max-width: 1080px; }
.faq-list { margin-top: 48px; border-top: 2px solid var(--black); }
.faq-list details { border-bottom: 2px solid var(--black); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-family: "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 28px);
  letter-spacing: -0.02em;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: "Space Mono", monospace;
  color: var(--accent);
  font-size: 1.3em;
  line-height: 1;
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--accent); }
.faq-list details p { padding: 0 0 24px; font-size: 16px; line-height: 1.5; max-width: 62ch; }

.write { padding: 80px 48px 110px; }
.write-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6vw;
  align-items: start;
  max-width: 1400px;
}
.write-sub { margin-top: 24px; font-size: 17px; line-height: 1.5; }

.form { display: grid; gap: 22px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form label {
  display: grid;
  gap: 8px;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.form input, .form select, .form textarea {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 16px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--black);
  border-radius: 0;
  padding: 10px 2px;
  color: var(--black);
  outline: none;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-bottom-color: var(--accent); }
.form ::placeholder { color: rgba(10, 10, 10, 0.35); }
.btn-submit {
  justify-self: start;
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: 17px;
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
  padding: 16px 28px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-submit:hover { background: var(--accent); border-color: var(--accent); }
.form-note { font-family: "Space Mono", monospace; font-size: 11px; color: #8a8a8a; letter-spacing: 0.04em; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px 48px;
  border-top: 2px solid var(--black);
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.footer a:hover { color: var(--accent); }

/* ---------- Grain ---------- */

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 300;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2"/></filter><rect width="120" height="120" filter="url(%23n)"/></svg>');
}

/* ---------- Vertikální režim (mobil / reduced motion) ---------- */

body.vmode #spacer { display: none; }
body.vmode .track {
  position: static;
  height: auto;
  width: 100%;
  flex-direction: column;
  transform: none !important;
}
body.vmode .panel { width: 100%; height: auto; min-height: 100svh; display: flex; }
body.vmode .inner { transform: none !important; opacity: 1 !important; height: auto; min-height: 100svh; width: 100%; }
body.vmode .counter, body.vmode .hint { display: none; }

@media (prefers-reduced-motion: reduce) {
  .hint span { animation: none; }
}

/* ---------- Mobil ---------- */

@media (max-width: 768px) {
  .nav { padding: 20px 22px; }
  .nav-links { gap: 20px; font-size: 13px; }
  .nav-links a:not(.nav-cta) { display: none; }

  .inner, .inner-hero, .inner-work, .inner-price, .inner-contact { padding: 96px 22px 60px; }

  .display { font-size: min(17vw, 120px); }

  .inner-work { flex-direction: column; align-items: flex-start; gap: 28px; }
  .side-title {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: min(14vw, 80px);
  }
  .work-grid { grid-template-columns: 1fr; gap: 22px; width: 100%; }

  .srow { flex-wrap: wrap; gap: 10px 14px; padding: 14px 0; }
  .srow h3 { font-size: min(9vw, 44px); flex-basis: 100%; order: 2; }
  .srow-tag { text-align: left; order: 3; }

  .stats-grid { gap: 30px 16px; }
  .stat-num { font-size: min(16vw, 90px); }

  .inner-price { flex-direction: column; align-items: flex-start; gap: 24px; }
  .plans { grid-template-columns: 1fr; gap: 14px; width: 100%; }
  .plan { padding: 18px; gap: 10px; }
  .plan ul { gap: 6px; }

  .display-contact { font-size: min(19vw, 130px); }
  .mail-link { font-size: clamp(16px, 5vw, 24px); }
  .contact-strip { left: 22px; right: 22px; }

  .faq, .write { padding-inline: 22px; }
  .write-grid { grid-template-columns: 1fr; gap: 40px; }
  .f-row { grid-template-columns: 1fr; }
  .footer { padding: 22px; }
}

/* ============================================================
   DESIGN POLISH — mikrointerakce, přístupnost, doplňky
   ============================================================ */

/* přístupnost: viditelný focus pro klávesnici */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* scrollbar v barvách značky */
html { scrollbar-width: thin; scrollbar-color: var(--accent) var(--black); }
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--accent); }

/* nav: podtržení najíždí zleva */
.nav-links a:not(.nav-cta) {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 0% 2px;
  background-position: 0 100%;
  padding-bottom: 3px;
  transition: background-size 0.25s var(--ease);
}
.nav-links a:not(.nav-cta):hover { background-size: 100% 2px; }

/* hero: fakta pod CTA */
.hero-facts {
  margin-top: min(5vh, 36px);
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a8a8a;
}
.hero-facts b { color: var(--accent); font-weight: 400; }

/* práce: zoom obrázku + akcent tagu */
.work-thumb { display: block; overflow: hidden; }
.work-card img { transition: transform 0.6s var(--ease); }
.work-card:hover img { transform: scale(1.06); }
.work-card:hover .work-meta span { color: var(--accent); }

/* služby: plná inverze řádku */
.srow {
  cursor: pointer;
  padding-inline: 14px;
  margin-inline: -14px;
  transition: background-color 0.15s;
}
.srow:hover { background: var(--accent); }
.srow:hover h3, .srow:hover .srow-no, .srow:hover .srow-tag { color: var(--black); }

/* ceník: hard-shadow hover */
.plan { transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.plan:hover { transform: translate(-5px, -5px); box-shadow: 8px 8px 0 var(--black); }
.plan-hot:hover { box-shadow: 8px 8px 0 var(--accent); }
.price-note { border-top: 2px solid var(--black); padding-top: 2.4vh; }

/* kontakt: poznámka pod mailem */
.mail-sub {
  margin-top: 16px;
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6a6a6a;
}

/* vertikální část: ostrá hrana + sekce Proces */
.after { box-shadow: none; border-top: 3px solid var(--black); }

.proces { padding: 100px 48px 10px; max-width: 1480px; }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px;
  margin-top: 44px;
  padding: 0;
}
.steps li { border-top: 2px solid var(--black); padding-top: 14px; }
.steps li > span {
  font-family: "Space Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
.steps h3 {
  font-weight: 800;
  font-size: clamp(18px, 1.8vw, 26px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 8px 0 6px;
}
.steps p { font-size: 14px; line-height: 1.45; color: #444444; margin: 0; }

/* footer: velký obrysový podpis */
.footer { display: block; }
.f-mark {
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: min(10.5vw, 150px);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 2px var(--black);
  margin: 8px 0 30px;
}
.f-mark span { color: var(--accent); -webkit-text-stroke: 0; }
.f-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .proces { padding-inline: 22px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 20px; }
  .srow { padding-inline: 10px; margin-inline: -10px; }
  .f-mark { -webkit-text-stroke-width: 1.4px; }
}

/* ============================================================
   TYPOGRAFIE — volnější prostrkání, vzduch pro háčky a tečky
   ============================================================ */

.display { letter-spacing: -0.015em; line-height: 0.96; font-size: min(12.5vw, 17.5vh, 235px); }
.display-contact { letter-spacing: -0.015em; line-height: 0.96; font-size: min(13vw, 21vh, 245px); }
.side-title { letter-spacing: -0.015em; line-height: 0.95; font-size: min(9.5vw, 56vh, 185px); }
.srow h3 { letter-spacing: -0.015em; line-height: 1.06; font-size: min(5.2vw, 8.2vh, 88px); }
.stat-num { letter-spacing: -0.02em; line-height: 0.95; }
.after h2 { letter-spacing: -0.015em; line-height: 1.02; }
.f-mark { letter-spacing: -0.015em; line-height: 1; }
.logo { letter-spacing: -0.02em; }
.plan-price { letter-spacing: -0.01em; }
.work-meta h3 { letter-spacing: 0; }
.steps h3 { letter-spacing: 0; }

/* Prompt Pictures — delší wordmark */
.f-mark { font-size: min(8.6vw, 118px); }
.logo { font-size: 21px; }

/* ---------- O studiu (SEO blok) ---------- */
.about { padding: 90px 48px 90px; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  max-width: 1400px;
  margin-top: 40px;
}
.about-grid p { font-size: 17px; line-height: 1.6; }
.about-grid a { color: var(--accent); font-weight: 700; }
.about-grid a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
@media (max-width: 768px) {
  .about { padding-inline: 22px; }
  .about-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   HERO — blurované video pozadí (koule v brand barvách)
   ============================================================ */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--white) center/cover no-repeat;
  background-image: url("hero-bg-poster.jpg");
}
.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  width: 100%; height: 100%;
  transform: translate(-50%, -50%) scale(1.18); /* scale zakryje rozmazané okraje */
  object-fit: cover;
  filter: blur(22px) saturate(1.08);
  will-change: transform;
}
/* světlý závoj — udrží světlý ráz a čitelnost tmavého textu */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(245,242,236,0.62) 0%, rgba(245,242,236,0.78) 100%);
}
.inner-hero { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; } /* zůstane blurovaný poster jako pozadí */
}
@media (max-width: 768px) {
  .hero-video { filter: blur(16px) saturate(1.08); }
}
