:root {
  --bg: #0b080a;
  --bg-soft: #151013;
  --panel: #1d1619;
  --text: #f6eee8;
  --muted: #c9b7aa;
  --line: rgba(255,255,255,.10);
  --accent: #e04762;
  --accent-2: #e8a84f;
  --shadow: 0 20px 60px rgba(0,0,0,.35);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 0%, rgba(110, 32, 45, .14), transparent 34%),
    linear-gradient(180deg, #0b080a 0%, #120b0f 48%, #0b080a 100%);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(11,8,10,.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav { display: flex; gap: clamp(14px, 2vw, 30px); color: var(--muted); font-size: .95rem; }
.nav a:hover { color: var(--text); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(232,168,79,.34), rgba(224,71,98,.18) 52%, rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.22);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -.03em;
  text-transform: lowercase;
  box-shadow: 0 10px 32px rgba(0,0,0,.32);
}
.brand-name {
  font-size: .88rem;
  letter-spacing: .08em;
}
.hero-title {
  display: grid;
  gap: 14px;
  align-items: start;
  letter-spacing: 0;
}
.hero-title-line {
  display: block;
}
.hero-title-line-art {
  display: inline-flex;
  align-items: baseline;
  gap: .18em;
  white-space: nowrap;
}
.title-pipe {
  display: inline-block;
  transform: translateY(.04em);
}
.juma-word {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -.085em;
  text-transform: lowercase;
  color: var(--text);
  text-shadow: 0 14px 55px rgba(224,71,98,.28);
}
.title-divider {
  display: block;
  width: min(220px, 42vw);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), transparent);
}
.real-name {
  display: block;
  font-size: clamp(1.15rem, 2.2vw, 2rem);
  line-height: 1.15;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.signature-note {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--accent-2);
  font-weight: 750;
  line-height: 1.55;
}


.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  padding: clamp(34px, 6vw, 90px) clamp(18px, 6vw, 90px);
}
.hero-text { max-width: 760px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 800;
  font-size: .76rem;
}
h1, h2, h3 { line-height: .98; margin: 0; }
h1 { font-size: clamp(3.5rem, 8.2vw, 7.6rem); letter-spacing: 0; }
h2 { font-size: clamp(2.3rem, 6vw, 5rem); letter-spacing: -.055em; }
h3 { font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -.045em; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.7rem); color: var(--muted); max-width: 680px; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
}
.button.secondary { background: transparent; color: var(--text); border: 1px solid var(--line); }
.social-button {
  width: 52px;
  min-width: 52px;
  padding: 0;
  color: var(--text);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.social-button svg {
  width: 22px;
  height: 22px;
  display: block;
}
.social-button:hover,
.social-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(232,168,79,.62);
  background: rgba(232,168,79,.12);
  color: #fff6ea;
  box-shadow: 0 0 0 1px rgba(232,168,79,.18), 0 0 22px rgba(232,168,79,.26);
}
.social-instagram:hover,
.social-instagram:focus-visible {
  border-color: rgba(224,71,98,.58);
  background: rgba(224,71,98,.13);
  box-shadow: 0 0 0 1px rgba(224,71,98,.16), 0 0 22px rgba(224,71,98,.24);
}
.hero-art {
  min-height: 620px;
  border-radius: calc(var(--radius) + 10px);
  background-size: cover;
  background-position: center;
  box-shadow: 0 28px 80px rgba(0,0,0,.34);
  border: none;
  overflow: hidden;
  position: relative;
}
.hero-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,8,10,.38), transparent 58%);
}

.event-banner {
  margin: clamp(-18px, -1.5vw, -8px) clamp(18px, 6vw, 90px) clamp(46px, 6vw, 84px);
  padding: clamp(20px, 2.6vw, 30px) clamp(22px, 3.2vw, 36px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(118px, 10vw, 156px) auto;
  gap: clamp(22px, 3.4vw, 52px);
  align-items: center;
  border: 1px solid rgba(232,168,79,.28);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(circle at 8% 0%, rgba(232,168,79,.13), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  box-shadow: 0 22px 70px rgba(0,0,0,.22);
}
.event-banner h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: -.055em;
}
.event-banner p:not(.eyebrow) {
  margin: 18px 0 0;
  max-width: 830px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.65;
}
.event-banner-logo {
  display: block;
  width: clamp(118px, 10vw, 156px);
  height: auto;
  opacity: 1;
  justify-self: center;
  align-self: center;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,.22));
}
.event-banner-meta {
  min-width: min(100%, 280px);
  display: grid;
  gap: 10px;
  justify-items: start;
  color: var(--muted);
}
.event-banner-meta strong {
  display: block;
  color: var(--text);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.1;
}
.event-button {
  margin-top: 8px;
  min-height: 44px;
}

.intro-section {
  padding: 0 clamp(18px, 6vw, 90px) 48px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  max-width: 980px;
  line-height: 1.6;
}
.section { padding: clamp(64px, 8vw, 120px) clamp(18px, 6vw, 90px); }
.section.muted { background: rgba(255,255,255,.035); border-block: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }


.gallery-note {
  margin: -12px 0 24px;
  color: var(--muted);
  line-height: 1.6;
}
.card:focus-visible {
  outline: 3px solid rgba(232,168,79,.75);
  outline-offset: 5px;
}
.card-image { position: relative; }
.card-image::after {
  content: "Zobrazit detail";
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(11,8,10,.76);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.22);
  font-size: .78rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}
.card:hover .card-image::after,
.card:focus-visible .card-image::after {
  opacity: 1;
  transform: translateY(0);
}

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.filter-btn {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: 750;
}
.filter-btn.active, .filter-btn:hover { background: var(--accent); border-color: var(--accent); }
.filter-btn.status-filter {
  position: relative;
  margin-left: 12px;
  border-color: rgba(245,169,68,.45);
  background: rgba(245,169,68,.08);
  color: #ffd9a3;
}
.filter-btn.status-filter::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 1px;
  height: 24px;
  transform: translateY(-50%);
  background: rgba(255,255,255,.18);
}
.filter-btn.status-dostupne.active,
.filter-btn.status-dostupne:hover {
  background: rgba(49,190,126,.95);
  border-color: rgba(49,190,126,.95);
  color: #06140c;
}
.filter-btn.status-prodano.active,
.filter-btn.status-prodano:hover {
  background: rgba(160,160,170,.95);
  border-color: rgba(160,160,170,.95);
  color: #111116;
}
.filter-btn.status-prodano {
  margin-left: 0;
}
.filter-btn.status-prodano::before {
  display: none;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
}
.card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.33); }
.card-image { aspect-ratio: 4 / 5.55; background-size: cover; background-position: center; }
.card-body { padding: 18px; }
.card h3 { font-size: 1.35rem; letter-spacing: -.02em; margin-bottom: 8px; }
.meta { color: var(--muted); line-height: 1.55; font-size: .96rem; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.badge { border-radius: 999px; border: 1px solid var(--line); padding: 6px 9px; font-size: .78rem; color: var(--muted); }
.badge.available { color: #f8d7de; border-color: rgba(224,71,98,.5); background: rgba(224,71,98,.13); }
.badge.sold { color: #e7d5bf; border-color: rgba(232,168,79,.45); background: rgba(232,168,79,.12); }

.series-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.series-card {
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)), var(--panel);
  border: 1px solid var(--line);
}
.series-card h3 { font-size: 2rem; margin-bottom: 14px; }
.series-card p { color: var(--muted); line-height: 1.6; }

.split { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(24px, 6vw, 80px); align-items: start; }
.text-panel { color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.contact { text-align: center; max-width: 860px; margin: 0 auto; }
.contact p { color: var(--muted); line-height: 1.7; }
.contact-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.modal {
  width: min(1240px, calc(100vw - 64px));
  height: min(82vh, 780px);
  max-height: min(82vh, 780px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
}
.modal::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(6px); }
.modal-close {
  position: absolute;
  right: 14px;
  top: 10px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(11,8,10,.72);
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
}
.modal-content {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .8fr);
  gap: 0;
  height: 100%;
}
.modal-media {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  background: #090708;
}
.modal-media > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #090708;
}
.modal-media {
  position: relative;
}
.modal-nav {
  position: absolute;
  top: calc(50% - 42px);
  z-index: 2;
  width: 46px;
  height: 58px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(9,7,8,.62);
  color: #fff8ef;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, opacity .2s ease;
}
.modal-nav:hover,
.modal-nav:focus-visible {
  transform: translateY(-1px) scale(1.04);
  background: rgba(232,168,79,.18);
  border-color: rgba(232,168,79,.72);
  outline: none;
}

.modal-nav::before {
  content: "";
  width: 11px;
  height: 11px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  display: block;
}
.modal-nav-prev::before {
  transform: translateX(2px) rotate(-135deg);
}
.modal-nav-next::before {
  transform: translateX(-2px) rotate(45deg);
}

.modal-nav[hidden] {
  display: none;
}
.modal-nav-prev {
  left: clamp(12px, 2vw, 24px);
}
.modal-nav-next {
  right: clamp(12px, 2vw, 24px);
}

.modal-thumbs {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 14px clamp(14px, 2vw, 22px) 16px;
  background: rgba(9,7,8,.92);
}
.modal-thumbs[hidden] { display: none; }
.modal-thumbs-title {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.modal-thumbs-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.modal-thumb {
  flex: 0 0 82px;
  width: 82px;
  height: 64px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  background: rgba(255,255,255,.04);
  cursor: pointer;
  opacity: .72;
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease;
}
.modal-thumb:hover, .modal-thumb.active {
  opacity: 1;
  transform: translateY(-1px);
  border-color: rgba(232,168,79,.88);
}
.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.modal-text {
  padding: clamp(22px, 3vw, 38px);
  align-self: center;
  max-height: 100%;
  overflow: auto;
}
.modal-text p { color: var(--muted); line-height: 1.7; }
dl { display: grid; grid-template-columns: 120px 1fr; gap: 10px 16px; color: var(--muted); margin-top: 26px; }
dt { color: var(--text); font-weight: 800; }
dd { margin: 0; }
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.modal-action.is-hidden,
.modal-action[hidden] {
  display: none !important;
}
.modal-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .02em;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.modal-action:hover,
.modal-action:focus-visible {
  transform: translateY(-1px);
}
.modal-action-primary {
  color: var(--bg);
  background: var(--text);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: none;
}
.modal-action-primary:hover,
.modal-action-primary:focus-visible {
  border-color: rgba(255,255,255,.92);
  background: #ffffff;
}
.modal-action-secondary {
  color: var(--muted);
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.13);
}
.modal-action-secondary:hover,
.modal-action-secondary:focus-visible {
  color: var(--text);
  border-color: rgba(232,168,79,.36);
  background: rgba(232,168,79,.055);
}
.footer { border-top: 1px solid var(--line); padding: 26px clamp(18px, 6vw, 90px); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); }





@media (max-width: 900px) {
  .event-banner {
    grid-template-columns: 1fr auto;
    margin-top: 10px;
  }
  .event-banner-copy {
    grid-column: 1 / -1;
  }
  .event-banner-logo {
    width: 112px;
    justify-self: start;
  }
  .event-banner-meta {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .event-banner {
    grid-template-columns: 1fr;
    padding: 22px;
    margin-bottom: 38px;
  }
  .event-banner-logo {
    width: 96px;
    justify-self: start;
  }
  .event-banner .button {
    width: 100%;
  }
}

@media (max-width: 1180px) {
  h1 { font-size: clamp(3.4rem, 7.4vw, 6.8rem); }
}

@media (max-width: 900px) {
  .site-header { align-items: flex-start; gap: 12px; flex-direction: column; }
  .nav { overflow-x: auto; width: 100%; padding-bottom: 4px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-art { min-height: 520px; }
  .gallery, .series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modal { width: min(94vw, 760px); height: min(88vh, 860px); max-height: 88vh; overflow: auto; }
  .split, .modal-content { grid-template-columns: 1fr; }
  .modal-content { height: auto; min-height: auto; }
  .modal-media { min-height: auto; }
  .modal-media > img { height: auto; max-height: 58vh; }
  .modal-text { max-height: none; }
}
@media (max-width: 600px) {
  .gallery, .series-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 430px; }
  .section-heading { display: block; }
  .footer { flex-direction: column; }
}

.author-section {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
}
.author-photo-wrap {
  border-radius: calc(var(--radius) + 12px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--panel);
}
.author-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.author-copy { max-width: 780px; }
.author-role {
  margin: 18px 0 24px;
  color: var(--accent-2);
  font-weight: 800;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}


@media (max-width: 900px) {
  .author-section { grid-template-columns: 1fr; }
  .author-photo-wrap { max-width: 520px; }
}

.book-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .95fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: center;
}
.book-copy { max-width: 780px; }
.book-tagline {
  margin: 18px 0 24px;
  color: var(--accent-2);
  font-weight: 800;
  font-size: clamp(1.12rem, 2.1vw, 1.45rem);
  line-height: 1.45;
}
.book-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.book-visuals {
  position: relative;
  min-height: 560px;
}
.book-cover,
.book-spread,
.book-signing-card {
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--panel);
}
.book-cover {
  width: min(62%, 390px);
  margin-left: auto;
  position: relative;
  z-index: 2;
}
.book-spread {
  width: min(78%, 520px);
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
}
.book-signing-card {
  width: min(28%, 185px);
  position: absolute;
  left: 18px;
  top: 38px;
  z-index: 3;
  overflow: hidden;
  padding: 8px;
  transform: rotate(-4deg);
  background: linear-gradient(180deg, rgba(30,20,26,.98), rgba(17,10,15,.98));
}
.book-signing {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
}


@media (max-width: 900px) {
  .book-section { grid-template-columns: 1fr; }
  .book-visuals {
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    justify-items: center;
  }
  .book-cover, .book-spread {
    position: static;
    width: 100%;
    max-width: 620px;
    margin: 0;
  }
  .book-signing-card {
    position: static;
    width: min(52vw, 240px);
    justify-self: end;
    transform: rotate(-3deg);
    margin-top: -10px;
  }
}

@media (max-width: 600px) {
  .brand-mark { width: 48px; height: 48px; font-size: 1rem; }
  .brand-name { font-size: .76rem; }
  .real-name { letter-spacing: .11em; }
}

.series-description {
  margin: 10px 0 18px;
  max-width: 36rem;
}
.series-description-part {
  margin: 0;
  line-height: 1.65;
}
.series-description-intro {
  color: var(--muted) !important;
  font-size: .94rem;
  line-height: 1.62;
}
.series-description-comment {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 2px solid rgba(245,169,68,.38);
  color: var(--text) !important;
  font-size: 1.03rem;
}

.series-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  padding-top: 14px;
  width: 100%;
  border-top: 1px solid var(--line);
  color: var(--muted) !important;
  font-size: .8rem;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
}


.available-section {
  background: linear-gradient(180deg, rgba(232,168,79,.08), rgba(255,255,255,.015));
}
.section-note {
  max-width: 760px;
  margin: -24px 0 34px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}
.available-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}
.available-card {
  background: linear-gradient(180deg, rgba(232,168,79,.07), rgba(224,71,98,.04)), var(--panel);
  border-color: rgba(232,168,79,.25);
}
.available-card .card-image {
  aspect-ratio: 4 / 5.35;
}
.available-card .card-body {
  padding: 16px;
}
.available-card h3 {
  font-size: 1.18rem;
}
.available-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}
@media (max-width: 1100px) {
  .available-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .available-grid { grid-template-columns: 1fr; }
  .section-note { margin-top: 16px; }
}

.collaboration-section {
  background: radial-gradient(circle at 80% 10%, rgba(224,71,98,.12), transparent 34%), rgba(255,255,255,.018);
}
.collaboration-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}
.collaboration-card {
  min-height: 220px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)), var(--panel);
}
.collaboration-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  letter-spacing: -.035em;
  margin-bottom: 14px;
}
.collaboration-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.collaboration-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}
@media (max-width: 1100px) {
  .collaboration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .collaboration-grid { grid-template-columns: 1fr; }
}

.series-card {
  cursor: pointer;
  position: relative;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.series-card:hover,
.series-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(232,168,79,.42);
  background: linear-gradient(180deg, rgba(232,168,79,.07), rgba(255,255,255,.018)), var(--panel);
}
.series-card:focus-visible {
  outline: 3px solid rgba(232,168,79,.72);
  outline-offset: 5px;
}
.series-action {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.series-action::after {
  content: "→";
  margin-left: 8px;
  transition: transform .2s ease;
}
.series-card:hover .series-action::after,
.series-card:focus-visible .series-action::after {
  transform: translateX(4px);
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  color: var(--muted);
  background: rgba(255,255,255,.03);
}

/* Reprodukce jsou zamerne odlisene jako doplnkova, ne hlavni nabidka. */
.collaboration-card-reproduction {
  border-color: rgba(232,168,79,.42);
  background:
    linear-gradient(135deg, rgba(232,168,79,.10), rgba(224,71,98,.035) 48%, rgba(255,255,255,.012)),
    rgba(255,255,255,.018);
  box-shadow: inset 0 1px 0 rgba(232,168,79,.10);
}
.card-kicker {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.collaboration-card-reproduction h3 {
  color: var(--text);
}

/* Responsive tuning 2026-06-24 */
html { overflow-x: hidden; }
body { overflow-x: hidden; }

.nav,
.filters,
.modal-thumbs-row {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.button,
.filter-btn,
.modal-action,
.modal-close,
.modal-nav {
  min-height: 44px;
}

.card-image {
  background-color: rgba(255,255,255,.035);
}

@media (hover: none) {
  .card-image::after { display: none; }
  .card:hover,
  .series-card:hover,
  .modal-action:hover,
  .button:hover {
    transform: none;
  }
}

@media (max-width: 1020px) {
  .site-header {
    padding: 14px clamp(16px, 4vw, 34px);
  }
  .brand {
    max-width: 100%;
  }
  .nav {
    gap: 10px;
    padding-bottom: 8px;
  }
  .nav a {
    flex: 0 0 auto;
    padding: 8px 11px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.025);
  }
  .hero {
    padding-top: clamp(30px, 7vw, 62px);
  }
  .section {
    padding-top: clamp(56px, 9vw, 92px);
    padding-bottom: clamp(56px, 9vw, 92px);
  }
}

@media (max-width: 760px) {
  .hero {
    gap: 26px;
  }
  h1 {
    font-size: clamp(3rem, 15vw, 5.2rem);
  }
  h2 {
    font-size: clamp(2.05rem, 11vw, 3.8rem);
  }
  h3 {
    font-size: clamp(1.75rem, 8vw, 3rem);
  }
  .lead,
  .text-panel,
  .section-note {
    font-size: 1rem;
    line-height: 1.68;
  }
  .hero-art {
    min-height: 0;
    height: min(72vh, 520px);
    max-height: 560px;
  }
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -18px;
    padding-inline: 18px;
    padding-bottom: 10px;
  }
  .filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .filter-btn.status-filter {
    margin-left: 0;
  }
  .filter-btn.status-filter::before {
    display: none;
  }
  .card-body,
  .series-card,
  .collaboration-card {
    padding: 20px;
  }
  .series-card h3,
  .collaboration-card h3 {
    font-size: 1.55rem;
    line-height: 1.05;
  }
  .collaboration-card {
    min-height: auto;
  }
  .contact-links .button:first-child {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 12px 14px;
  }
  .brand-name {
    font-size: .68rem;
    line-height: 1.25;
    letter-spacing: .055em;
  }
  .nav {
    font-size: .84rem;
  }
  .hero,
  .section,
  .footer {
    padding-left: 14px;
    padding-right: 14px;
  }
  .hero {
    padding-top: 28px;
  }
  .hero-title {
    gap: 8px;
  }
  h1 {
    font-size: clamp(2.65rem, 14vw, 4.4rem);
  }
  .lead {
    margin-top: 18px;
  }
  .hero-actions,
  .book-actions,
  .collaboration-actions {
    gap: 10px;
  }
  .hero-actions .button,
  .book-actions .button,
  .collaboration-actions .button {
    width: 100%;
  }
  .hero-art {
    height: min(64vh, 430px);
    border-radius: 22px;
  }
  .gallery {
    gap: 18px;
  }
  .card {
    border-radius: 18px;
  }
  .card-image {
    aspect-ratio: 4 / 5.25;
  }
  .card h3 {
    font-size: 1.22rem;
  }
  .badges {
    gap: 6px;
  }
  .badge {
    font-size: .72rem;
  }
  .author-photo-wrap,
  .book-cover,
  .book-spread {
    border-radius: 20px;
  }
}

@media (max-width: 700px) {
  .modal {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border-inline: 0;
  }
  .modal-content {
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }
  .modal-media {
    flex: 0 0 auto;
  }
  .modal-media > img {
    max-height: 46dvh;
    width: 100%;
    height: auto;
  }
  .modal-close {
    position: fixed;
    right: 10px;
    top: max(10px, env(safe-area-inset-top));
    width: 44px;
    height: 44px;
    background: rgba(11,8,10,.86);
  }
  .modal-nav {
    top: calc(23dvh - 24px);
    width: 42px;
    height: 52px;
    background: rgba(9,7,8,.70);
  }
  .modal-nav-prev {
    left: 10px;
  }
  .modal-nav-next {
    right: 10px;
  }
  .modal-thumbs {
    padding: 10px 12px 12px;
  }
  .modal-thumbs-title {
    margin-bottom: 8px;
    font-size: .68rem;
  }
  .modal-thumb {
    flex-basis: 66px;
    width: 66px;
    height: 52px;
    border-radius: 10px;
  }
  .modal-text {
    flex: 1 1 auto;
    align-self: stretch;
    padding: 20px 16px calc(24px + env(safe-area-inset-bottom));
    overflow: visible;
  }
  .modal-text h3 {
    font-size: clamp(1.8rem, 10vw, 2.7rem);
  }
  dl {
    grid-template-columns: 96px 1fr;
    gap: 8px 12px;
    margin-top: 20px;
    font-size: .94rem;
  }
  .modal-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 20px;
    padding-top: 16px;
  }
  .modal-action {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .hero,
  .section,
  .footer {
    padding-left: 12px;
    padding-right: 12px;
  }
  .eyebrow {
    font-size: .68rem;
    letter-spacing: .12em;
  }
  h1 {
    font-size: 2.45rem;
  }
  .hero-title-line-art {
    gap: .12em;
  }
  .button,
  .filter-btn {
    font-size: .88rem;
  }
  .modal-text {
    padding-inline: 14px;
  }
  dl {
    grid-template-columns: 1fr;
  }
  dt {
    margin-top: 4px;
  }
}

/* Modal responsive repair 2026-06-24: tablet and mobile layout */
@media (max-width: 1100px) {
  .modal {
    width: min(92vw, 860px);
    height: min(90dvh, 980px);
    max-height: 90dvh;
    overflow: auto;
  }
  .modal-content {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100%;
  }
  .modal-media {
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
  }
  .modal-media > img {
    width: 100%;
    height: min(58dvh, 620px);
    max-height: none;
    object-fit: contain;
    object-position: center center;
  }
  .modal-nav {
    top: 50%;
    transform: translateY(-50%);
  }
  .modal-nav:hover,
  .modal-nav:focus-visible {
    transform: translateY(-50%) scale(1.04);
  }
  .modal-text {
    align-self: stretch;
    max-height: none;
    overflow: visible;
    padding: clamp(22px, 4vw, 38px);
  }
}

@media (max-width: 700px) {
  .modal {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: 0;
    overflow: auto;
  }
  .modal-content {
    min-height: 100%;
  }
  .modal-media > img {
    height: min(54dvh, 500px);
    width: 100%;
    object-fit: contain;
    object-position: center center;
  }
  .modal-nav {
    top: 50%;
    width: 44px;
    height: 54px;
    transform: translateY(-50%);
  }
  .modal-nav:hover,
  .modal-nav:focus-visible {
    transform: translateY(-50%) scale(1.04);
  }
  .modal-nav-prev { left: 14px; }
  .modal-nav-next { right: 14px; }
  .modal-close {
    position: fixed;
    right: 12px;
    top: max(12px, env(safe-area-inset-top));
  }
  .modal-thumbs {
    padding: 10px 14px 12px;
  }
  .modal-thumbs-row {
    gap: 8px;
  }
  .modal-thumb {
    flex: 0 0 70px;
    width: 70px;
    height: 54px;
  }
  .modal-text {
    padding: 22px 18px calc(28px + env(safe-area-inset-bottom));
  }
  .modal-text p {
    line-height: 1.62;
  }
}

@media (max-width: 430px) {
  .modal-media > img {
    height: min(50dvh, 430px);
  }
  .modal-thumbs-title {
    font-size: .67rem;
    letter-spacing: .09em;
  }
  .modal-thumb {
    flex-basis: 64px;
    width: 64px;
    height: 50px;
  }
  .modal-text h3 {
    font-size: clamp(2.05rem, 13vw, 3rem);
    line-height: .96;
  }
  dl {
    grid-template-columns: 92px 1fr;
  }
}

/* Mobile/tablet modal viewport lock - 2026-06-24 */
@media (max-width: 900px) {
  .modal {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border: 0;
    border-radius: 0;
    overflow: hidden;
  }
  .modal-content {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 52dvh) minmax(0, 1fr);
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }
  .modal-media {
    position: relative;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 0;
    width: 100%;
    overflow: hidden;
  }
  .modal-media > img {
    width: 100%;
    height: 100%;
    max-height: none;
    min-height: 0;
    object-fit: contain;
    object-position: center center;
  }
  .modal-thumbs {
    min-height: 0;
    padding: 8px 10px 10px;
  }
  .modal-thumbs-row {
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }
  .modal-thumb {
    flex: 0 0 62px;
    width: 62px;
    height: 48px;
    border-radius: 10px;
  }
  .modal-nav {
    top: calc((100% - 76px) / 2);
    width: 42px;
    height: 52px;
    transform: translateY(-50%);
  }
  .modal-nav:hover,
  .modal-nav:focus-visible {
    transform: translateY(-50%) scale(1.04);
  }
  .modal-nav-prev { left: 10px; }
  .modal-nav-next { right: 10px; }
  .modal-close {
    position: fixed;
    right: 10px;
    top: max(10px, env(safe-area-inset-top));
    width: 42px;
    height: 42px;
  }
  .modal-text {
    align-self: stretch;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    padding: 18px 16px calc(22px + env(safe-area-inset-bottom));
  }
  .modal-text .eyebrow {
    margin-bottom: 8px;
  }
  .modal-text h3 {
    max-width: 100%;
    font-size: clamp(1.9rem, 10.5vw, 3rem);
    line-height: 1;
    overflow-wrap: anywhere;
  }
  .modal-text p {
    line-height: 1.58;
  }
  dl {
    grid-template-columns: 92px 1fr;
    gap: 7px 12px;
    margin-top: 18px;
  }
  .modal-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 18px;
    padding-top: 14px;
  }
}

@media (max-width: 430px) {
  .modal-content {
    grid-template-rows: minmax(0, 48dvh) minmax(0, 1fr);
  }
  .modal-thumbs-title {
    margin-bottom: 6px;
    font-size: .66rem;
    letter-spacing: .08em;
    white-space: nowrap;
  }
  .modal-thumb {
    flex-basis: 58px;
    width: 58px;
    height: 44px;
  }
  .modal-text h3 {
    font-size: clamp(1.75rem, 10vw, 2.35rem);
    line-height: 1.04;
  }
  .modal-text p {
    font-size: .96rem;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .modal {
    width: min(94vw, 1040px);
    height: min(86dvh, 900px);
    max-height: 86dvh;
    overflow: hidden;
  }
  .modal-content {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .75fr);
    height: 100%;
    min-height: 0;
  }
  .modal-media {
    min-height: 0;
  }
  .modal-media > img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }
  .modal-text {
    min-height: 0;
    max-height: 100%;
    overflow-y: auto;
    align-self: stretch;
  }
}

/* Modal media centering repair - image stage independent from thumbnails */
.modal,
.modal-content,
.modal-media,
.modal-stage,
.modal-thumbs,
.modal-thumbs-row {
  box-sizing: border-box;
  max-width: 100%;
}

.modal-content,
.modal-media,
.modal-stage {
  min-width: 0;
}

.modal-media {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
}

.modal-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #090708;
}

.modal-stage > img,
.modal-media > img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  flex: 0 1 auto;
}

.modal-thumbs {
  width: 100%;
  overflow: hidden;
}

.modal-thumbs-row {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
}

.modal-nav {
  top: 50%;
  transform: translateY(-50%);
}

.modal-nav:hover,
.modal-nav:focus-visible {
  transform: translateY(-50%) scale(1.04);
}

@media (max-width: 900px) {
  .modal {
    width: 100dvw;
    max-width: 100dvw;
    overflow: hidden;
  }

  .modal-content {
    width: 100%;
    max-width: 100%;
    grid-template-rows: minmax(0, 48dvh) minmax(0, 1fr);
    overflow: hidden;
  }

  .modal-media {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .modal-stage {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .modal-stage > img,
  .modal-media > img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
  }

  .modal-nav-prev { left: 12px; }
  .modal-nav-next { right: 12px; }
}

@media (max-width: 430px) {
  .modal-content {
    grid-template-rows: minmax(0, 48dvh) minmax(0, 1fr);
  }

  .modal-nav-prev { left: 10px; }
  .modal-nav-next { right: 10px; }
}


.cookie-consent {
  position: fixed;
  left: clamp(14px, 3vw, 34px);
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 30px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid rgba(232,168,79,.34);
  border-radius: 22px;
  background: rgba(11,8,10,.94);
  color: var(--text);
  box-shadow: 0 22px 70px rgba(0,0,0,.42);
  backdrop-filter: blur(14px);
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent__text {
  max-width: 680px;
}

.cookie-consent__text strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-size: .95rem;
}

.cookie-consent__text p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-consent__button {
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 999px;
  padding: 10px 15px;
  background: var(--text);
  color: var(--bg);
  font-weight: 800;
  cursor: pointer;
  font: inherit;
  white-space: nowrap;
}

.cookie-consent__button--secondary {
  border-color: rgba(255,255,255,.22);
  background: transparent;
  color: var(--text);
}

@media (max-width: 720px) {
  .cookie-consent {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    border-radius: 18px;
  }

  .cookie-consent__actions {
    width: 100%;
  }

  .cookie-consent__button {
    flex: 1 1 auto;
  }
}


.privacy-link {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.privacy-link:hover,
.privacy-link:focus-visible {
  color: var(--text);
}

.privacy-dialog {
  width: min(680px, calc(100vw - 32px));
  border: 1px solid rgba(232,168,79,.28);
  border-radius: 26px;
  padding: 0;
  background: rgba(15,10,13,.98);
  color: var(--text);
  box-shadow: 0 28px 90px rgba(0,0,0,.55);
}

.privacy-dialog::backdrop {
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(6px);
}

.privacy-dialog__content {
  padding: clamp(24px, 4vw, 42px);
}

.privacy-dialog__content h2 {
  font-size: clamp(2rem, 5vw, 3.35rem);
  margin-bottom: 18px;
}

.privacy-dialog__content p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 14px;
}

.privacy-dialog__close {
  position: absolute;
  right: 14px;
  top: 14px;
}

.privacy-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

@media (max-width: 760px) {
  .footer {
    align-items: flex-start;
  }

  .privacy-dialog__actions .button {
    width: 100%;
    justify-content: center;
  }
}


/* Odlehcena typografie - 2026-07-20 */
body {
  font-weight: 400;
  font-synthesis: none;
}

/* Velke nadpisy zustavaji vyrazne, ale nejsou tak tezke. */
h1,
h2,
h3,
.modal-text h3 {
  font-weight: 650;
}

/* Bezny text v detailu obrazu a dalsich textovych blocich. */
.modal-text p,
.series-description,
.collaboration-card p,
.about-text p,
.contact p,
.lead {
  font-weight: 400;
  letter-spacing: .006em;
}

/* Popisky a metadata maji mensi kontrast vahy nez drive. */
.eyebrow,
dt,
.card-kicker,
.modal-thumbs-title,
.signature-note,
.series-action {
  font-weight: 600;
}

/* Tlacitka zustavaji dobre citelna, ale nejsou prehnane tucna. */
.button,
.filter-btn,
.modal-action,
.cookie-consent__button,
.brand {
  font-weight: 650;
}
