/* =========================================================
   miroslavbrenek.cz — Website UI Kit styles
   Loads after colors_and_type.css
   ========================================================= */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--fg-1);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; cursor: pointer; font-family: inherit; color: inherit; }
ul { padding: 0; margin: 0; list-style: none; }

.mb-container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ---------- Eyebrow ---------- */
.mb-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 18px;
}
.mb-eyebrow--dark { color: var(--fg-on-dark-2); }

/* ---------- Headings / lede ---------- */
.mb-h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 5.6vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.mb-h1--dark { color: var(--paper); }
.mb-h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 8px;
}
.mb-lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 540px;
  margin: 0;
}
.mb-lede--dark { color: var(--fg-on-dark-2); }
.mb-body { font-size: 17px; line-height: 1.65; color: var(--fg-2); margin: 0 0 18px; }
.mb-body--muted { color: var(--fg-3); }
.mb-body--ondark { color: var(--fg-on-dark-2); }

/* ---------- Sections ---------- */
.mb-section { padding: 120px 0; position: relative; }
@media (max-width: 720px) {
  .mb-section { padding: 60px 0; }
  .mb-section__head { margin: 0 0 36px; }
}
.mb-section--paper   { background: var(--paper); color: var(--fg-1); }
.mb-section--paper-2 { background: var(--paper-2); color: var(--fg-1); }
.mb-section--ink     { background: var(--ink); color: var(--paper); }
.mb-section__head { max-width: 760px; margin: 0 0 64px; }
.mb-section__head--dark .mb-h1 { color: var(--paper); }

/* ---------- Buttons ---------- */
.mb-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 30px;
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--d-fast) var(--ease-out), color var(--d-fast) var(--ease-out), transform var(--d-fast) var(--ease-out), box-shadow var(--d-fast) var(--ease-out);
  font-family: var(--font-body);
}
.mb-btn--sm  { padding: 11px 18px; font-size: 13px; }
.mb-btn--block { width: 100%; justify-content: center; }
.mb-btn--primary { background: var(--accent); color: var(--ink); }
.mb-btn--primary:hover { background: var(--accent-hover); box-shadow: var(--glow-stage); }
.mb-btn--primary:active { transform: translateY(1px); background: var(--accent-press); color: var(--ink); }
.mb-btn--dark { background: var(--ink); color: var(--paper); }
.mb-btn--dark:hover { background: var(--ink-3); }
.mb-btn--ghost { background: transparent; color: var(--fg-1); border: 1px solid var(--line-1); }
.mb-btn--ghost { border-color: var(--ink); }
.mb-btn--ghost:hover { background: var(--ink); color: var(--paper); }
.mb-btn--ghost-dark { background: transparent; color: var(--paper); border: 1px solid rgba(246,244,239,0.22); }
.mb-btn--ghost-dark:hover { background: var(--paper); color: var(--ink); }

/* ---------- Nav ---------- */
.mb-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 32px;
  transition: background var(--d-base), border-color var(--d-base), padding var(--d-base);
  border-bottom: 1px solid transparent;
}
.mb-nav.is-scrolled {
  padding: 12px 32px;
  background: rgba(246,244,239,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line-2);
}
.mb-nav__brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  mix-blend-mode: difference;
}
.mb-nav.is-scrolled .mb-nav__brand { color: var(--fg-1); mix-blend-mode: normal; }
.mb-nav__links { display: flex; gap: 32px; }
.mb-nav__links a {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--paper);
  mix-blend-mode: difference;
  transition: opacity var(--d-fast);
}
.mb-nav.is-scrolled .mb-nav__links a { color: var(--fg-2); mix-blend-mode: normal; }
.mb-nav__links a:hover { opacity: .65; }
@media (max-width: 820px) { .mb-nav__links { display: none; } }
@media (max-width: 480px) {
  .mb-nav { padding: 16px 18px; }
  .mb-nav.is-scrolled { padding: 10px 18px; }
  /* Na mobilu má tlačítko Poptávka v hero (před scrollem) malý kontrast s tmavou fotkou — přidáme jemný světlý border */
  .mb-nav .mb-btn--dark { border: 1px solid rgba(246,244,239,0.35); }
  .mb-nav.is-scrolled .mb-btn--dark { border-color: transparent; }
}

/* ---------- Hero ---------- */
.mb-hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  background: var(--ink);
  overflow: hidden;
}
.mb-hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* Subjekt je vpravo (~65%), hlava nahoře. Držíme zpěváka v pravé části, text vlevo. */
  object-position: 65% 35%;
  filter: grayscale(100%) contrast(1.05);
}
@media (max-width: 900px) {
  /* Na mobilu posuneme fotku ještě výš pomocí top offsetu — object-position 0% už nestačí */
  .mb-hero__bg { object-position: 62% 0%; top: -10vh; height: 110%; }
}
.mb-hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,11,0.45) 0%, rgba(10,10,11,0.15) 35%, rgba(10,10,11,0.85) 100%),
    linear-gradient(90deg, rgba(10,10,11,0.78) 0%, rgba(10,10,11,0.45) 40%, rgba(10,10,11,0) 65%);
}
@media (max-width: 900px) {
  .mb-hero__overlay {
    background:
      linear-gradient(180deg, rgba(10,10,11,0.5) 0%, rgba(10,10,11,0.2) 40%, rgba(10,10,11,0.7) 100%),
      linear-gradient(90deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.2) 100%);
  }
}
.mb-hero__content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 64px 0 200px;
  max-width: 800px;
  color: var(--paper);
  box-sizing: border-box;
}
@media (max-width: 1100px) {
  .mb-hero__content { padding: 0 64px; max-width: 760px; }
}
@media (max-width: 720px) {
  .mb-hero__content { padding: 0 24px 96px; max-width: 100%; }
}
.mb-hero__wordmark { display: flex; flex-direction: column; gap: 14px; margin: 24px 0 36px; }
.mb-hero__line { display: block; height: 1px; background: rgba(246,244,239,0.55); width: 100%; max-width: 520px; }
.mb-hero__name {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1.08;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0;
  color: var(--paper);
  display: flex;
  flex-direction: column;
}
.mb-hero__name > span { display: block; }
.mb-hero__sub {
  font-size: 18px; line-height: 1.55;
  color: rgba(246,244,239,0.82);
  margin: 0 0 36px;
  max-width: 460px;
}
.mb-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 720px) {
  /* Na mobilu: obsah dole, fotka volně nahoře */
  .mb-hero__content {
    justify-content: flex-end;
    padding-bottom: 48px;
    padding-top: 60vh;
  }
  .mb-hero__wordmark { margin: 16px 0 24px; }
}
.mb-hero__scroll {
  position: absolute; left: 200px; bottom: 36px; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(246,244,239,0.55);
}
@media (max-width: 1100px) { .mb-hero__scroll { left: 64px; } }
@media (max-width: 720px) { .mb-hero__scroll { display: none; } }
.mb-hero__scroll i { animation: scrollBounce 1.8s var(--ease-in-out) infinite; }
@keyframes scrollBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(4px)} }

/* ---------- Ukázky: žánrové záložky ---------- */
.mb-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line-1);
  padding-bottom: 14px;
}
.mb-tab {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 16px;
  border: 1px solid var(--line-1);
  border-radius: 0;
  background: transparent;
  color: var(--fg-3);
  cursor: pointer;
  transition: background var(--d-fast), color var(--d-fast), border-color var(--d-fast);
}
.mb-tab:hover { color: var(--fg-1); border-color: var(--fg-4); }
.mb-tab.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.mb-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.mb-media__group + .mb-media__group { margin-top: 56px; }
.mb-media__grouptitle {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-4);
  margin: 0 0 18px;
  font-weight: 500;
}
.mb-media__empty {
  color: var(--fg-3);
  font-size: 15px;
  padding: 28px 0;
}
/* Skrytí položky mimo zvolený žánr — na .mb-track přebíjí jeho display:grid. */
.mb-track.is-off,
.mb-vthumb.is-off,
.mb-media__group.is-off { display: none; }

/* ---------- Audio / Tracklist ---------- */
.mb-tracklist { display: flex; flex-direction: column; }
.mb-track {
  display: grid;
  grid-template-columns: 32px 36px 1fr auto auto;
  gap: 20px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 0;
  text-align: left;
  width: 100%;
  transition: background var(--d-fast);
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
}
.mb-track:hover { background: var(--paper-2); }
.mb-track.is-active { background: var(--paper-2); }
.mb-track__idx { font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); }
.mb-track__play {
  width: 36px; height: 36px;
  border-radius: 0;
  background: transparent;
  border: 1px solid var(--line-1);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--d-fast), color var(--d-fast), box-shadow var(--d-fast), border-color var(--d-fast);
}
.mb-track:hover .mb-track__play { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.mb-track.is-active .mb-track__play {
  background: var(--accent); color: var(--ink); border-color: var(--accent);
  box-shadow: var(--glow-stage);
}
.mb-track__title { display: flex; flex-direction: column; gap: 2px; }
.mb-track__title > span:first-child { font-size: 16px; font-weight: 500; color: var(--fg-1); }
.mb-track__meta { font-size: 13px; color: var(--fg-3); }
.mb-track__dur { font-family: var(--font-mono); font-size: 13px; color: var(--fg-3); }

.mb-wave { display: flex; gap: 2px; align-items: center; height: 22px; min-width: 60px; }
.mb-wave i {
  display: block; width: 2px; background: var(--fg-4);
  border-radius: 1px; transition: background var(--d-fast);
}
.mb-wave.is-active i { background: var(--accent); animation: waveBounce 1s var(--ease-in-out) infinite; }
@keyframes waveBounce { 0%,100%{transform:scaleY(.6)} 50%{transform:scaleY(1)} }

/* Mini-player */
.mb-mini {
  position: sticky; bottom: 16px;
  margin: 0 auto;
  max-width: 920px;
  padding: 0 32px;
  z-index: 30;
}
.mb-mini__inner {
  display: grid;
  grid-template-columns: 48px 220px 1fr 60px;
  gap: 18px;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 18px 14px 14px;
  border-radius: 0;
  box-shadow: var(--shadow-3);
  margin-top: 60px;
  border: 1px solid var(--line-on-dark-1);
}
.mb-mini__play {
  width: 48px; height: 48px; border-radius: 0;
  background: var(--accent); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--d-fast);
}
.mb-mini__play:hover { background: var(--accent-hover); }
.mb-mini__title { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-mini__meta { font-size: 12px; color: var(--fg-on-dark-2); }
.mb-mini__bar { height: 2px; background: rgba(246,244,239,0.16); overflow: hidden; }
.mb-mini__fill { height: 100%; background: var(--accent); }
.mb-mini__dur { font-family: var(--font-mono); font-size: 12px; color: var(--fg-on-dark-2); text-align: right; }

/* ---------- Video grid ---------- */
.mb-vgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}
@media (max-width: 900px) { .mb-vgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .mb-vgrid { grid-template-columns: 1fr; } }

.mb-vthumb { text-align: left; padding: 0; }
.mb-vthumb__media {
  position: relative; aspect-ratio: 16/9;
  border-radius: 0; overflow: hidden;
  background: var(--ink-2);
}
.mb-vthumb__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--d-slow) var(--ease-out); }
.mb-vthumb:hover .mb-vthumb__media img { transform: scale(1.04); }
.mb-vthumb__overlay {
  position: absolute; inset: 0;
  background: rgba(56,217,255,0.18);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity var(--d-base);
}
.mb-vthumb:hover .mb-vthumb__overlay { opacity: 1; }
.mb-vthumb__play {
  width: 64px; height: 64px; border-radius: 0;
  background: var(--accent); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.mb-vthumb__dur {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(10,10,11,0.78);
  color: var(--paper);
  font-family: var(--font-mono); font-size: 11px;
  padding: 4px 8px; border-radius: 0;
}
.mb-vthumb__title { margin-top: 14px; font-size: 16px; font-weight: 500; color: var(--paper); }
.mb-vthumb__sub { margin-top: 4px; font-size: 13px; color: var(--fg-on-dark-2); }

/* Videa na světlém podkladu — sekce Ukázky je --paper, výchozí barvy počítají s tmavou. */
.mb-vgrid--light .mb-vthumb__title { color: var(--fg-1); }
.mb-vgrid--light .mb-vthumb__sub   { color: var(--fg-3); }

/* Lightbox */
.mb-lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10,10,11,0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  animation: fadeIn var(--d-base) var(--ease-out);
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
.mb-lightbox__close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 0;
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
}
.mb-lightbox__close:hover { background: rgba(246,244,239,0.06); }
.mb-lightbox__frame {
  position: relative;
  max-width: 1100px; width: 100%;
  aspect-ratio: 16/9;
  border-radius: 0; overflow: hidden;
  box-shadow: var(--shadow-3);
}
.mb-lightbox__frame img { width: 100%; height: 100%; object-fit: cover; }
.mb-lightbox__play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--paper);
  background: linear-gradient(180deg, rgba(10,10,11,0) 50%, rgba(10,10,11,0.6) 100%);
}
.mb-lightbox__play svg { background: var(--accent); color: var(--ink); width: 84px; height: 84px; padding: 22px; border-radius: 0; box-shadow: var(--glow-stage); }
.mb-lightbox__cap { position: absolute; left: 28px; bottom: 24px; color: var(--paper); }
.mb-lightbox__title { font-family: var(--font-display); font-weight: 500; font-size: 22px; }
.mb-lightbox__sub { font-size: 13px; color: var(--fg-on-dark-2); margin-top: 4px; }

/* ---------- Photo gallery grid ---------- */
.mb-pgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .mb-pgrid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (max-width: 600px) { .mb-pgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.mb-pthumb { padding: 0; display: block; width: 100%; cursor: zoom-in; }
.mb-pthumb__media {
  position: relative; display: block;
  aspect-ratio: 1/1;
  border-radius: 0; overflow: hidden;
  background: var(--ink-2);
}
.mb-pthumb__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform var(--d-slow) var(--ease-out);
}
.mb-pthumb:hover .mb-pthumb__media img { transform: scale(1.04); }
.mb-pthumb__overlay {
  position: absolute; inset: 0;
  background: rgba(56,217,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--paper);
  opacity: 0;
  transition: opacity var(--d-base);
}
.mb-pthumb:hover .mb-pthumb__overlay,
.mb-pthumb:focus-visible .mb-pthumb__overlay { opacity: 1; }

/* ---------- Photo lightbox = PhotoSwipe ----------
   Základ přebíráme z assets/vendor/photoswipe/photoswipe.css, tady jen
   sladíme barvy a typografii s webem. */
.pswp {
  --pswp-bg: var(--ink);
  --pswp-icon-color: var(--paper);
  --pswp-icon-color-secondary: var(--ink);
  /* Placeholder je prázdný (viz js/gallery.js) — šedý obdélník při otevírání
     nechceme, ať se fotka jen objeví na černém pozadí. */
  --pswp-placeholder-bg: transparent;
}
.pswp__mb-caption {
  position: absolute; left: 0; right: 0; bottom: calc(16px + env(safe-area-inset-bottom));
  padding: 0 24px;
  text-align: center;
  font-size: 13px; color: var(--fg-on-dark-1);
  pointer-events: none;
}
.pswp__mb-caption:empty { display: none; }
.pswp__counter {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  color: var(--fg-on-dark-2); opacity: 1;
}
@media (max-width: 720px) { .pswp__button--arrow { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .mb-pthumb__media img { transition: none; }
  .mb-pthumb:hover .mb-pthumb__media img { transform: none; }
}

/* ---------- About ---------- */
.mb-about { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; align-items: center; }
@media (max-width: 900px) { .mb-about { grid-template-columns: 1fr; gap: 40px; } }
.mb-about--reverse .mb-about__media { order: 2; }
@media (max-width: 900px) { .mb-about--reverse .mb-about__media { order: 0; } }
.mb-about__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 0; }

/* Nadpis v about sekci žije v užším sloupci než nadpisy přes celou šířku,
   ale .mb-h1 se škáluje podle okna — u „O mně“ (obrácený, ještě užší sloupec)
   to kolem 1024 px lámalo krátký nadpis na tři řádky. Vlastní, menší škála. */
.mb-about__title { font-size: clamp(32px, 3.9vw, 56px); line-height: 1.06; }

/* Nadpis se zmenšuje podle délky (třídu přidává render_about), aby delší
   text nevyhnal sekci výrazně nad výšku fotky. */
.mb-about__title--sm { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.08; max-width: 20ch; }
.mb-about__title--xs { font-size: clamp(28px, 2.9vw, 40px); line-height: 1.12; max-width: 24ch; margin-bottom: 24px; }
@media (max-width: 900px) { .mb-about__title--sm, .mb-about__title--xs { max-width: none; } }

/* Stats inside about / duo blocks */
.mb-stats { display: grid; grid-template-columns: auto auto 1fr; gap: 32px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line-1); align-items: start; }
@media (max-width: 720px) { .mb-stats { grid-template-columns: 1fr 1fr; gap: 20px; } }
.mb-stat { display: flex; flex-direction: column; gap: 4px; }
.mb-stat__num { font-family: var(--font-display); font-weight: 300; font-size: 32px; line-height: 1; letter-spacing: -0.02em; color: var(--fg-1); }
.mb-stat__lab { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-3); font-weight: 500; }
.mb-stat__sub { margin-top: 6px; font-size: 13px; color: var(--fg-3); line-height: 1.45; }

/* Bandlist — separate block under stats */
.mb-bandlist { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-1); display: flex; flex-direction: column; gap: 14px; }
.mb-bandlist ul { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.mb-bandlist li { font-size: 14px; color: var(--fg-2); }

/* Variant: plain — just text, no chrome */
[data-band-tags="plain"] .mb-bandlist ul { gap: 4px 18px; }
[data-band-tags="plain"] .mb-bandlist li { padding: 0; }

/* Variant: pill (original) */
[data-band-tags="pill"] .mb-bandlist li { padding: 6px 12px; border: 1px solid var(--line-1); border-radius: 999px; background: rgba(0,0,0,0.02); }

/* Variant: soft — filled, no border, square */
[data-band-tags="soft"] .mb-bandlist li { padding: 6px 12px; background: rgba(0,0,0,0.05); color: var(--fg-1); }

/* Variant: underline — text with bottom rule */
[data-band-tags="underline"] .mb-bandlist ul { gap: 4px 20px; }
[data-band-tags="underline"] .mb-bandlist li { padding: 0 0 4px 0; border-bottom: 1px solid var(--line-1); }

/* Variant: dot separators — items separated by middle dots */
[data-band-tags="dot"] .mb-bandlist ul { gap: 0; flex-wrap: wrap; }
[data-band-tags="dot"] .mb-bandlist li { padding: 0; }
/* Oddělovač visí na konci položky, aby po zalomení nezačínal řádek tečkou. */
[data-band-tags="dot"] .mb-bandlist li:not(:last-child)::after { content: " ·"; padding-right: 10px; color: var(--fg-3); }

/* Variant: accent — inline položky oddělené krátkou akcentovou čárkou.
   Záměrně bez flexu: flexová položka se chová jako blok, takže u dlouhého
   popisu (výčet aparatury) se oddělovač odtrhl na pravý okraj. V běžném
   inline toku čárka zůstane hned za posledním slovem. */
[data-band-tags="accent"] .mb-bandlist ul {
  display: block;
  text-align: left;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--fg-2);
}
[data-band-tags="accent"] .mb-bandlist li { display: inline; padding: 0; }
[data-band-tags="accent"] .mb-bandlist li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  margin: 0 12px;
  background: var(--accent);
  vertical-align: middle;
}

/* Variant: rule — vertical separators */
[data-band-tags="rule"] .mb-bandlist ul { gap: 0; flex-wrap: wrap; }
[data-band-tags="rule"] .mb-bandlist li { padding: 0 14px; border-left: 1px solid var(--line-1); }
[data-band-tags="rule"] .mb-bandlist li:first-child { padding-left: 0; border-left: none; }
.mb-bands { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line-1); }
.mb-bands__col ul { display: flex; flex-direction: column; gap: 6px; }
.mb-bands__col li { font-size: 15px; color: var(--fg-2); }

/* ---------- Pricing ---------- */
.mb-pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 940px; }
@media (max-width: 800px) { .mb-pricing { grid-template-columns: 1fr; } }
.mb-price-card {
  background: var(--paper);
  border: 1px solid var(--line-1);
  border-radius: 0;
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.mb-price-card--featured {
  background: var(--ink);
  color: var(--paper);
}
.mb-price-card--featured .mb-price-card__title,
.mb-price-card--featured .mb-price-card__num,
.mb-price-card--featured .mb-price-card__list li { color: var(--paper); }
.mb-price-card--featured .mb-price-card__list li { border-color: var(--line-on-dark-2); }
.mb-price-card__title { font-family: var(--font-display); font-weight: 500; font-size: 26px; margin: 0; }
.mb-price-card__price { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 12px; }
.mb-price-card__num { font-family: var(--font-display); font-weight: 300; font-size: 60px; line-height: 1; letter-spacing: -0.02em; }
.mb-price-card__unit { font-size: 14px; color: var(--fg-3); }
.mb-price-card--featured .mb-price-card__unit { color: var(--fg-on-dark-2); }
.mb-price-card__list li { padding: 12px 0; border-top: 1px solid var(--line-2); font-size: 15px; color: var(--fg-2); }
.mb-price-card__list li:first-child { border-top: 0; }
.mb-pricing__note { margin: 28px 0 0; font-size: 13px; color: var(--fg-3); }

/* ---------- Quotes ---------- */
/* .mb-quotes je zároveň .mb-container — zúžením na 920px by se celý blok
   vycentroval jinam než ostatní sekce. Šířku textu proto omezujeme až uvnitř. */
.mb-quotes__head, .mb-quote-stack, .mb-quotes .mb-quote__nav { max-width: 920px; }
.mb-quote-stack { position: relative; }
.mb-quote-stack > .mb-quote-slide {
  position: absolute; top: 0; left: 0; right: 0;
  opacity: 0; pointer-events: none;
  transition: opacity 320ms ease;
}
.mb-quote-stack > .mb-quote-slide.is-active { opacity: 1; pointer-events: auto; }
.mb-quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.4;
  letter-spacing: -0.005em;
  margin: 0 0 24px;
  text-wrap: pretty;
}
.mb-quote__cite { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-3); }
.mb-quote__name { font-weight: 600; color: var(--fg-1); }
.mb-quote__dots { display: flex; gap: 8px; margin-top: 32px; }
.mb-dot { width: 18px; height: 2px; border-radius: 0; background: var(--line-1); transition: all var(--d-fast); }
.mb-dot.is-active { background: var(--accent); width: 36px; }
.mb-quote__nav { margin-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.mb-quote__nav .mb-quote__dots { margin-top: 0; }
.mb-quote__arrows { display: flex; gap: 8px; }
.mb-arrow {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line-1);
  color: var(--fg-2);
  transition: background var(--d-fast), color var(--d-fast), border-color var(--d-fast);
}
.mb-arrow i { width: 16px; height: 16px; stroke-width: 1.5; }
.mb-arrow:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Contact ---------- */
.mb-contact { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; align-items: start; }
/* Levý sloupec je užší než formulář, ale .mb-h1 se škáluje podle okna —
   kolem 1024 px se „Napište mi. Domluvíme se.“ lámalo na tři řádky.
   Stejná menší škála jako u nadpisů v about sekcích. */
.mb-contact__text .mb-h1 { font-size: clamp(32px, 3.9vw, 56px); line-height: 1.06; }
@media (max-width: 900px) { .mb-contact { grid-template-columns: 1fr; gap: 48px; } }
.mb-contact__list { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.mb-contact__list li { display: flex; align-items: center; gap: 14px; font-size: 16px; color: var(--paper); }
.mb-contact__list li i { width: 18px; height: 18px; color: var(--accent); }
.mb-contact__list a:hover { color: var(--accent-hover); }

.mb-form {
  background: var(--ink-2);
  border: 1px solid var(--line-on-dark-1);
  border-radius: 0;
  padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.mb-field { display: flex; flex-direction: column; gap: 8px; }
.mb-field label,
.mb-field .mb-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-on-dark-3); font-weight: 500; }
.mb-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mb-input {
  background: rgba(246,244,239,0.04);
  border: 1px solid var(--line-on-dark-1);
  border-radius: 0;
  padding: 14px 16px;
  color: var(--paper);
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--d-fast), background var(--d-fast);
  resize: none;
}
.mb-input::placeholder { color: var(--fg-on-dark-3); }
.mb-input:focus { border-color: var(--accent); background: rgba(56,217,255,0.06); }
.mb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mb-chip {
  padding: 10px 16px;
  border-radius: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  background: rgba(246,244,239,0.04);
  border: 1px solid var(--line-on-dark-1);
  color: var(--fg-on-dark-2);
  transition: all var(--d-fast);
}
.mb-chip:hover { background: rgba(246,244,239,0.08); color: var(--paper); }
.mb-chip.is-on { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.mb-form__note { font-size: 12px; color: var(--fg-on-dark-3); text-align: center; margin: 0; }
.mb-form__success { padding: 40px 0; text-align: center; color: var(--paper); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mb-form__success i { color: var(--accent); }
.mb-form__success p { color: var(--fg-on-dark-2); margin: 0; }
.mb-form__error { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 12px 14px; border: 1px solid var(--danger); border-radius: 6px; background: rgba(224, 69, 69, 0.08); color: var(--paper); font-size: 14px; }
.mb-form__error i { color: var(--danger); flex: none; width: 18px; height: 18px; stroke-width: 1.75; }
.mb-turnstile { margin-bottom: 16px; min-height: 65px; }

/* ---------- Footer ---------- */
.mb-footer { background: var(--ink); color: var(--fg-on-dark-2); padding: 48px 0; border-top: 1px solid var(--line-on-dark-1); }
.mb-footer__inner { display: flex; justify-content: space-between; align-items: center; }
.mb-footer__brand { font-family: var(--font-display); font-weight: 200; letter-spacing: 0.18em; text-transform: uppercase; font-size: 12px; color: var(--paper); }
.mb-footer__meta { display: flex; gap: 12px; font-size: 12px; }

/* ---------- Mobile responsive overrides ---------- */
@media (max-width: 720px) {
  /* Track list — drop track number column, tighten gaps, hide waveform */
  .mb-track {
    grid-template-columns: 36px 1fr auto;
    gap: 12px;
    padding: 12px 12px;
  }
  .mb-track__idx { display: none; }
  .mb-track .mb-wave { display: none; }
  .mb-track__title > span:first-child { font-size: 14px; }
  .mb-track__meta { font-size: 12px; }

  /* Mini player — drop fixed widths, simplify layout */
  .mb-mini { width: calc(100% - 24px); margin: 0 12px; bottom: 12px; }
  .mb-mini__inner {
    grid-template-columns: 40px 1fr auto;
    gap: 10px;
    padding: 10px 12px;
  }
  .mb-mini__play { width: 40px; height: 40px; }
  .mb-mini__title { font-size: 13px; }
  .mb-mini__meta { font-size: 11px; }
  .mb-mini__bar { display: none; }
  .mb-mini__dur { font-size: 11px; }

  /* Form — stack two-column rows, reduce padding */
  .mb-form { padding: 20px; gap: 16px; }
  .mb-field-row { grid-template-columns: 1fr; gap: 12px; }
  .mb-input { font-size: 14px; padding: 12px 14px; }
  .mb-chip { padding: 8px 12px; font-size: 11px; }

  /* Footer — stack brand/meta */
  .mb-footer { padding: 32px 0; }
  .mb-footer__inner { flex-direction: column; gap: 14px; align-items: flex-start; text-align: left; }
  .mb-footer__meta { flex-wrap: wrap; }
}

/* FAQ */
/* Zarovnáno vlevo k nadpisu — margin:0 auto akordeon vycentroval a vznikala mezera. */
.mb-faq { display: flex; flex-direction: column; gap: 0; max-width: 760px; margin: 0; border-top: 1px solid var(--line-1); }
.mb-faq__item { border-bottom: 1px solid var(--line-1); }
.mb-faq__q {
  list-style: none; cursor: pointer; padding: 20px 36px 20px 0;
  font-size: 17px; font-weight: 500; color: var(--fg-1); position: relative;
  transition: color .15s ease;
}
.mb-faq__q:hover { color: var(--fg-2); }
.mb-faq__q::-webkit-details-marker { display: none; }
.mb-faq__q::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px;
  background:
    linear-gradient(currentColor, currentColor) center/100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center/1.5px 100% no-repeat;
  color: var(--fg-2); transform: translateY(-50%) rotate(0deg);
  transition: transform .25s ease;
}
.mb-faq__item[open] .mb-faq__q::after {
  transform: translateY(-50%) rotate(135deg);
}
.mb-faq__a { padding: 0 36px 22px 0; color: var(--fg-2); font-size: 15px; line-height: 1.6; }

/* Accordion animation — modern browsers (Chrome 131+, Safari 18.2+).
   Older browsers fall back to instant open/close, layout unchanged. */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .mb-faq__item::details-content {
    height: 0;
    overflow: clip;
    opacity: 0;
    transition:
      height .28s ease,
      opacity .22s ease,
      content-visibility .28s ease allow-discrete;
  }
  .mb-faq__item[open]::details-content {
    height: auto;
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .mb-faq__q { font-size: 15px; padding: 16px 32px 16px 0; }
  .mb-faq__a { font-size: 14px; padding-bottom: 18px; }
}
