/* BladeClub Zlín — light, mobile-first. System fonts only. No build step. */

:root {
  --paper: #f6f2eb;
  --paper-2: #efe6da;
  --card: #fffcf8;
  --ink: #1d1916;
  --ink-soft: #5e554e;
  --line: rgba(29, 25, 22, 0.12);
  --accent: #8f2d38;
  --accent-deep: #6e222b;
  --accent-soft: rgba(143, 45, 56, 0.1);
  --hero-ink: #f7f3ed;
  --footer: #241f1c;
  --footer-ink: #f3ece4;
  --shadow: 0 14px 36px rgba(48, 32, 22, 0.06);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --header-h: 4.25rem;
  --radius: 1.15rem;
  --nav-break: 76em;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1.05rem, 0.25vw + 1rem, 1.15rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}

h1 { font-size: clamp(2.15rem, 4.2vw + 1rem, 3.7rem); margin: 0 0 0.75rem; }
h2 { font-size: clamp(1.65rem, 1.6vw + 1rem, 2.35rem); margin: 0 0 0.85rem; }
h3 { font-size: 1.35rem; margin: 0 0 0.45rem; }

p { margin: 0 0 0.9rem; }

a {
  color: var(--accent-deep);
  text-underline-offset: 0.18em;
}

a:hover { color: var(--accent); }

:focus { outline: none; }

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

::selection {
  background: #e7c4c4;
  color: var(--ink);
}

.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: 0.75rem;
  top: -4rem;
  z-index: 80;
  padding: 0.6rem 1rem;
  background: var(--card);
  color: var(--ink);
  border-radius: 0.6rem;
  box-shadow: var(--shadow);
  text-decoration: none;
}

.skip-link:focus { top: 0.75rem; }

#obsah, :target { scroll-margin-top: calc(var(--header-h) + 0.5rem); }

.container {
  width: min(70rem, calc(100% - clamp(1.25rem, 4vw, 2.5rem)));
  margin-inline: auto;
}

.prose { max-width: 42rem; }

.lead {
  font-size: clamp(1.12rem, 0.4vw + 1.05rem, 1.32rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 38rem;
}

.note {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.section { padding-block: clamp(3rem, 7vw, 5.75rem); }

main > .section:nth-child(even) { background: var(--paper-2); }

.page-head { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 242, 235, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-h);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

.site-logo img {
  height: 2.45rem;
  width: auto;
}

.site-logo b {
  font-weight: 650;
  color: var(--accent);
}

.site-header__end {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.lang-switch a,
.lang-switch span[aria-current="true"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  border-radius: 999px;
  text-decoration: none;
}

.lang-switch a { color: var(--ink-soft); }

.lang-switch a:hover { color: var(--ink); background: rgba(29, 25, 22, 0.05); }

.lang-switch span[aria-current="true"] {
  background: var(--ink);
  color: var(--paper);
}

.lang-switch__sep { color: var(--line); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle .icon-close { display: none; }

.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }

.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__cta { margin: 0; }

.site-nav__list a {
  color: var(--ink);
  text-decoration: none;
}

@media (max-width: 75.99em) {
  .has-js .nav-toggle { display: inline-flex; }

  .has-js .site-nav { display: none; }

  .has-js .site-nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 30;
    inset: var(--header-h) 0 0 0;
    padding: 0.5rem 1.25rem 2rem;
    background: var(--paper);
    overflow: auto;
    gap: 0.35rem;
  }

  .site-nav__list a {
    display: flex;
    align-items: center;
    min-height: 3.1rem;
    font-size: 1.2rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav__list a[aria-current="page"] {
    color: var(--accent);
    font-weight: 700;
  }

  .site-nav__cta { margin-top: 0.85rem; }

  .site-nav__cta .button { width: 100%; }
}

@media (min-width: 76em) {
  .site-logo { order: 1; }

  .site-nav {
    display: flex;
    align-items: center;
    order: 2;
    gap: 0.35rem;
    margin-left: auto;
  }

  .site-header__end { order: 3; margin-left: 0.35rem; }

  .site-nav__list {
    display: flex;
    align-items: center;
    gap: 0.05rem;
  }

  .site-nav__list a {
    display: inline-flex;
    align-items: center;
    min-height: 2.4rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.95rem;
  }

  .site-nav__list a:hover { background: rgba(29, 25, 22, 0.05); }

  .site-nav__list a[aria-current="page"] {
    background: var(--accent-soft);
    color: var(--accent-deep);
    font-weight: 700;
  }

  .has-js .nav-toggle { display: none; }
}

body.nav-open { overflow: hidden; }

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 680;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  line-height: 1.2;
}

.button:hover { background: var(--accent-deep); color: #fff; }

.button--ghost {
  background: transparent;
  color: var(--accent-deep);
  border-color: var(--accent);
}

.button--ghost:hover {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.prose-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.5rem;
}

.prose-cta span { color: var(--ink-soft); }

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: min(78svh, 46rem);
  color: var(--hero-ink);
  background: #1a1614;
  overflow: hidden;
}

.hero__media,
.hero__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.hero__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.hero__video {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.hero__video.is-playing { opacity: 1; }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 16, 14, 0.28) 0%, rgba(20, 16, 14, 0.08) 38%, rgba(20, 16, 14, 0.78) 100%);
}

.hero__content {
  padding-block: clamp(3.5rem, 10vw, 6.5rem);
  max-width: 44rem;
}

.hero__claim {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f0c9c4;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.35rem, 5.4vw + 0.6rem, 4.35rem);
  max-width: 14ch;
}

.hero__lead {
  max-width: 36rem;
  color: rgba(247, 243, 237, 0.9);
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.25rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.25rem 0 0.4rem;
}

.hero .button {
  background: var(--hero-ink);
  color: var(--ink);
}

.hero .button:hover { background: #fff; color: var(--ink); }

.hero .button--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}

.hero .button--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero__free {
  display: inline-block;
  margin-top: 0.85rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.95rem;
}

/* Cards, facts, prices */

.cards {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.3rem 1.4rem;
  box-shadow: var(--shadow);
}

.card h3::before {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  margin-bottom: 0.75rem;
  background: var(--accent);
}

.card p:last-child { margin-bottom: 0; }

.price__amount {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.1;
  margin: 0.2rem 0 0.45rem;
  letter-spacing: -0.03em;
}

.price__amount span {
  font-family: var(--sans);
  font-size: 1rem;
  letter-spacing: 0;
  color: var(--ink-soft);
}

.facts {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.facts li {
  padding: 0.85rem 1rem;
  background: var(--card);
  border-radius: 0.85rem;
  border-left: 3px solid var(--accent);
}

/* Schedule */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.schedule {
  width: 100%;
  border-collapse: collapse;
}

.schedule caption {
  caption-side: top;
  text-align: left;
  padding: 0.9rem 1rem 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.schedule th,
.schedule td {
  text-align: left;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.schedule tbody tr:last-child th,
.schedule tbody tr:last-child td { border-bottom: 0; }

.schedule thead th {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 700;
}

@media (max-width: 40em) {
  .schedule thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .schedule,
  .schedule tbody,
  .schedule tr,
  .schedule th,
  .schedule td { display: block; width: 100%; }

  .schedule tr {
    padding: 0.35rem 0 0.7rem;
    border-bottom: 1px solid var(--line);
  }

  .schedule tbody tr:last-child { border-bottom: 0; }

  .schedule th[scope="row"] {
    border-bottom: 0;
    padding-bottom: 0;
    font-size: 1.15rem;
  }

  .schedule td { border-bottom: 0; padding-top: 0.15rem; padding-bottom: 0.15rem; color: var(--ink-soft); }
}

/* Contact + FAQ */

.contact-grid {
  display: grid;
  gap: 1rem;
}

.contact-grid > section,
.faq article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem 1.3rem;
  box-shadow: var(--shadow);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 650;
}

address { font-style: normal; }

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq h3 { font-size: 1.2rem; }

.faq p:last-child { margin-bottom: 0; }

/* Media */

.figure { margin: 1.25rem 0; }

.figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: var(--paper-2);
}

.figure figcaption,
.video figcaption {
  margin-top: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.ujjo-panel {
  display: grid;
  gap: 1.15rem;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  padding: clamp(1.1rem, 3vw, 1.8rem);
  box-shadow: var(--shadow);
}

.ujjo-panel > picture img,
.ujjo-panel > img {
  width: 7rem;
  height: auto;
}

.ujjo-cert { max-width: 28rem; }

.ujjo-cert a { display: block; }

.photo-grid,
.gallery,
.video-grid {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.gallery__item {
  display: block;
  border-radius: 0.95rem;
  overflow: hidden;
  background: #ddd4c8;
  line-height: 0;
}

.gallery__item img {
  width: 100%;
  height: 15.5rem;
  max-width: none;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.photo-grid .figure img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
}

.video video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: #14110f;
}

.video--9x16 { max-width: 22rem; }

/* Lightbox */

.lightbox {
  width: min(68rem, calc(100vw - 1.25rem));
  max-height: calc(100vh - 1.25rem);
  max-height: calc(100dvh - 1.25rem);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--hero-ink);
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(18, 14, 12, 0.88);
}

.lightbox__img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(78vh, 78dvh);
  margin-inline: auto;
  border-radius: 0.7rem;
  background: #111;
  object-fit: contain;
}

.lightbox__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.lightbox__caption {
  flex: 1 1 12rem;
  margin: 0;
  font-size: 0.95rem;
}

.lightbox__bar button {
  min-height: 2.75rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.lightbox__bar button:hover { background: rgba(255, 255, 255, 0.18); }

.lightbox__bar button[data-zavrit] {
  background: var(--hero-ink);
  color: var(--ink);
  border-color: transparent;
}

/* Footer */

.site-footer {
  background: var(--footer);
  color: var(--footer-ink);
  padding-block: clamp(2.5rem, 6vw, 4.25rem);
}

.site-footer a { color: var(--footer-ink); }

.site-footer a:hover { color: #fff; }

.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d9c7b8;
}

.site-footer__grid {
  display: grid;
  gap: 1.75rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  text-decoration: none;
}

.site-footer li a:hover { text-decoration: underline; }

.footer-ujjo__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 650;
  margin-bottom: 0.4rem;
}

.footer-ujjo__link img {
  width: 3.4rem;
  height: auto;
  background: #fff;
  border-radius: 0.45rem;
  padding: 0.2rem;
}

.site-footer__bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbbfb4;
  font-size: 0.92rem;
}

.site-footer__bottom p { margin: 0; }

@media (min-width: 40em) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 48em) {
  .ujjo-panel { grid-template-columns: auto 1fr; }
  .site-footer__grid { grid-template-columns: 1.15fr 0.8fr 1.25fr; }
  .photo-grid--pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64em) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Four weapon cards read better as a 2×2 than a cramped row */
@media (min-width: 64em) {
  .cards:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero__video { display: none; }

  .gallery__item img,
  .hero__video { transition: none; }

  .gallery__item:hover img { transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .gallery__item:hover img,
  .gallery__item:focus-visible img { transform: scale(1.035); }
}
