/* O kruzích a lidech – styly. Barvy a rozměry podle návrhu v mockup/Main.dc.html. */

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/jost-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/jost-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Jost";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/jost-latin-ext-wght-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Jost";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/jost-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0f2b33;
  --paper: #e6f0f5;
  --paper-light: #f6fafc;
  --teal: #0b6f70;
  --teal-light: #7fd1cf;
  --red: #b93a1e;
  --red-light: #e8765a;
  --grey: #40585f;
  --grey-light: #a9c2cb;
  --line: #c2d2d9;
  --line-dark: #35525b;
  --pale: #c9dce3;
  --font: "Jost", "Century Gothic", sans-serif;
  --pad-x: clamp(20px, 5vw, 72px);
  --pad-y: clamp(64px, 8vw, 112px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  font-family: var(--font);
}

[hidden] {
  display: none !important;
}

a {
  color: var(--teal);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.dark a:focus-visible,
.dark button:focus-visible,
.dark input:focus-visible,
.dark textarea:focus-visible,
.lightbox button:focus-visible {
  outline-color: var(--paper);
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
  color: #fff;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-anchor: none;
  background: var(--paper);
  color: var(--ink);
  font-size: 19px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main {
  display: flex;
  flex-direction: column;
}

.section {
  padding: var(--pad-y) var(--pad-x);
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
}

.stack {
  display: flex;
  flex-direction: column;
}

.light {
  background: var(--paper-light);
}

.dark {
  background: var(--ink);
  color: var(--paper);
}

p {
  text-wrap: pretty;
}

.eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.dark .eyebrow {
  color: var(--teal-light);
}

.title {
  margin: 0;
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}

/* Tlačítka */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 30px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  color: var(--ink);
  background: rgba(15, 43, 51, 0.07);
}

.btn--solid {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.btn--solid:hover {
  color: #fff;
  background: #a23219;
  border-color: #a23219;
}

.btn svg {
  display: block;
}

/* Hlavička */

.header {
  padding: 20px var(--pad-x);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  max-width: 1240px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-name {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.mark {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
}

.mark::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 15px;
  height: 15px;
  margin-left: -7.5px;
  border: 2px solid var(--red);
  border-radius: 50%;
}

.mark--small {
  width: 30px;
  height: 30px;
  border-width: 2px;
  border-color: var(--paper);
}

.mark--small::after {
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-color: var(--red-light);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 26px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cta-top {
  min-height: 48px;
  padding: 0 24px;
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 17px;
}

.cta-top:hover {
  color: #fff;
  background: #1b4450;
}

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.burger svg {
  display: block;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  margin-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 22px;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.mobile-menu a:last-child {
  color: var(--red);
  font-weight: 500;
}

/* Úvod */

.hero {
  padding: clamp(24px, 4vw, 56px) var(--pad-x) clamp(56px, 7vw, 104px);
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 64px;
  max-width: 1240px;
  margin: 0 auto;
}

.hero-text {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.hero-title-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-title {
  margin: 0;
  font-size: clamp(60px, 9.2vw, 132px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.nowrap {
  white-space: nowrap;
}

.hero-mark {
  position: relative;
  display: inline-block;
  width: 0.78em;
  height: 0.78em;
  margin-right: 0.17em;
  border: 0.066em solid var(--ink);
  border-radius: 50%;
  vertical-align: -0.04em;
}

.hero-mark::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0.31em;
  height: 0.31em;
  margin-left: -0.155em;
  border: 0.045em solid var(--red);
  border-radius: 50%;
}

.hero-en {
  margin: 0;
  font-size: 21px;
  font-style: italic;
  letter-spacing: 0.01em;
  color: var(--grey);
}

.hero-lead {
  margin: 0;
  max-width: 31em;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.42;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
}

.hero-note {
  margin: 0;
  font-size: 17px;
  color: var(--grey);
}

.hero-art {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.hero-circle {
  position: relative;
  width: min(100%, 540px);
  aspect-ratio: 1 / 1;
}

.hero-spin {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform-origin: 50% 50%;
  animation: spin 70s linear infinite;
}

.hero-spin text {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  fill: var(--teal);
}

.hero-photo {
  position: absolute;
  top: 8%;
  left: 8%;
  display: block;
  width: 84%;
  height: 84%;
  object-fit: cover;
  border-radius: 50%;
}

.band {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1500 / 643;
  min-height: 220px;
  object-fit: cover;
  object-position: 42% 50%;
}

/* O představení */

.about {
  gap: 24px;
}

.about-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px 72px;
}

.about-lead {
  flex: 1 1 520px;
  min-width: 0;
  margin: 0;
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.about-body {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 8px;
}

.about-body p {
  margin: 0;
}

.flip {
  display: inline-block;
  transform: rotate(180deg);
  color: var(--red);
  font-weight: 500;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 24px 32px;
  margin: 40px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}

.facts div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.facts dt {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}

.facts dd {
  margin: 0;
  font-size: 21px;
  line-height: 1.3;
}

/* Teaser */

.teaser-wrap {
  max-width: 1040px;
  gap: 36px;
}

.teaser-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 32px;
  font-size: 16px;
  color: var(--grey-light);
}

.teaser-link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background: #0a1f25;
}

.teaser-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teaser-play {
  position: absolute;
  left: clamp(12px, 2.4vw, 28px);
  bottom: clamp(12px, 2.4vw, 28px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 24px 8px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.teaser-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
}

.teaser-icon svg {
  display: block;
  margin-left: 3px;
}

/* Galerie */

.gallery-wrap {
  gap: 40px;
}

.gallery-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 32px;
}

.credit {
  margin: 0;
  font-size: 16px;
  color: var(--grey);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.tile {
  position: relative;
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 3px;
  overflow: hidden;
  background: var(--line);
  cursor: zoom-in;
}

.tile img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.tile:hover img {
  transform: scale(1.03);
}

.tile--big {
  grid-column: span 8;
  aspect-ratio: 3 / 2;
}

.tile--tall {
  grid-column: span 4;
}

.tile--third {
  grid-column: span 4;
  aspect-ratio: 3 / 2;
}

.more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease);
}

.more.is-open {
  grid-template-rows: 1fr;
}

.more-inner {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.6s;
}

.more.is-open .more-inner {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease 0.15s, visibility 0s;
}

.more .grid {
  padding-top: 16px;
}

.more-toggle-row {
  display: flex;
  justify-content: center;
  padding-top: 28px;
}

.more-toggle {
  gap: 12px;
  min-height: 56px;
  padding: 0 28px 0 12px;
}

.chev {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  transition: transform 0.5s var(--ease);
}

.chev svg {
  display: block;
}

.more-toggle.is-open .chev {
  transform: rotate(180deg);
}

/* Termíny */

.dates-wrap {
  gap: 40px;
}

.dates {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.dates li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 40px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.dates-when {
  flex: 0 1 400px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.dates-where {
  flex: 1 1 140px;
  font-size: 23px;
  font-weight: 500;
}

.dates-what {
  flex: 2 1 260px;
  color: var(--grey);
}

.dates-what--tag {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1.5px solid var(--red);
  border-radius: 999px;
  color: var(--red);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dates-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
}

.dates-more p {
  flex: 1 1 320px;
  min-width: 0;
  margin: 0;
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.3;
  text-wrap: balance;
}

/* Tvůrci */

.creators-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px 72px;
}

.creators-art {
  flex: 0 1 420px;
  min-width: 0;
  display: flex;
  justify-content: center;
  padding-top: 14px;
}

.creators-circle {
  position: relative;
  width: min(calc(100% - 24px), 400px);
  aspect-ratio: 1 / 1;
}

.creators-circle::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 18px;
  width: 100%;
  height: 100%;
  border: 1.5px solid var(--teal);
  border-radius: 50%;
}

.creators-circle img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.creators-body {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 28px 32px;
}

.person {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.person p {
  margin: 0;
}

.person h3 {
  margin: 0;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.2;
}

.person .bio {
  margin-top: 4px;
  font-size: 18px;
  line-height: 1.5;
}

.duo {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.duo > p {
  margin: 0;
  max-width: 40em;
}

.quote {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quote blockquote {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 300;
  line-height: 1.25;
  text-wrap: balance;
}

.quote figcaption {
  font-size: 16px;
  color: var(--grey);
}

.text-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 18px;
  font-weight: 500;
  text-underline-offset: 5px;
}

/* Pro pořadatele */

.organizers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 40px 64px;
}

.organizers-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-top: 30px;
}

.organizers-text p {
  margin: 0;
  max-width: 30em;
  font-size: 21px;
}

/* Kontakt */

.contact-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px 72px;
}

.contact-info {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info > p {
  margin: 0;
  max-width: 28em;
  color: var(--pale);
}

.contact-list {
  display: flex;
  flex-direction: column;
  margin: 8px 0 0;
  border-bottom: 1px solid var(--line-dark);
}

.contact-list div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 24px;
  padding: 14px 0;
  border-top: 1px solid var(--line-dark);
}

.contact-list dt {
  flex: 0 0 110px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-light);
}

.contact-list dd {
  margin: 0;
  font-size: 21px;
  overflow-wrap: anywhere;
}

.dark a {
  color: var(--paper);
  text-underline-offset: 5px;
}

.dark a:hover {
  color: var(--red-light);
}

.form {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field label {
  font-size: 17px;
  color: var(--pale);
}

.field input,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid #6f8c96;
  border-radius: 3px;
  background: transparent;
  color: var(--paper);
  font-family: var(--font);
  font-size: 18px;
}

.field textarea {
  padding: 12px 14px;
  line-height: 1.5;
  resize: vertical;
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: var(--red-light);
}

.form .btn {
  align-self: flex-start;
  min-height: 54px;
  padding: 0 32px;
}

.form-note {
  margin: -6px 0 0;
  font-size: 16px;
  color: var(--grey-light);
}

.form-error {
  margin: 0;
  color: var(--red-light);
}

/* Patička */

.footer {
  flex-grow: 1;
  padding: 0 var(--pad-x) 40px;
  color: var(--grey-light);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 40px;
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  font-size: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
}

.footer-brand span:last-child {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Prohlížeč fotek */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  height: 100%;
  padding: 14px clamp(12px, 3vw, 32px) 20px;
  color: var(--paper);
  font-family: var(--font);
  animation: fade 0.25s ease both;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 26, 31, 0.985);
  cursor: zoom-out;
}

.lightbox-bar {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
}

.lightbox-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.lightbox-stage {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 3px;
  pointer-events: auto;
  animation: iris 0.55s var(--ease);
}

.lightbox-caption {
  position: relative;
  margin: 0;
  max-width: 46em;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
  color: var(--grey-light);
  pointer-events: none;
}

.lightbox-controls {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
}

.lb-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1.5px solid var(--paper);
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  pointer-events: auto;
}

.lb-btn:hover {
  background: rgba(230, 240, 245, 0.14);
}

.lb-btn--close {
  width: 48px;
  height: 48px;
}

.lb-btn svg {
  display: block;
}

.lightbox-progress {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
}

.lightbox-progress svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.lightbox-progress circle {
  fill: none;
}

.lightbox-track {
  stroke: var(--line-dark);
  stroke-width: 1.5;
}

.lightbox-ring {
  stroke: var(--red-light);
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: stroke-dasharray 0.45s ease;
}

.lightbox-count {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* 404 */

.not-found {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: var(--pad-y) var(--pad-x);
}

.not-found h1 {
  margin: 0;
  font-size: clamp(60px, 9.2vw, 132px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.not-found p {
  margin: 0;
  max-width: 28em;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.42;
}

/* Animace */

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes iris {
  from {
    clip-path: circle(0% at 50% 50%);
  }
  to {
    clip-path: circle(100% at 50% 50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-spin,
  .lightbox,
  .lightbox-img {
    animation: none;
  }

  .more,
  .more-inner,
  .chev,
  .tile img,
  .lightbox-ring {
    transition: none;
  }
}

/* Zlom 900 px: mobilní navigace */

/* Pod 1180 px se navigace s tlačítkem nevejde na jeden řádek, nastupuje menu */
@media (max-width: 1180px) {
  .nav,
  .cta-top {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .mobile-menu {
    display: flex;
  }
}

@media (max-width: 900px) {
  .organizers {
    grid-template-columns: minmax(0, 1fr);
  }

  .organizers-text {
    padding-top: 0;
  }
}

/* Zlom 700 px: dvousloupcová galerie */

@media (max-width: 700px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 10px;
  }

  .tile--big {
    grid-column: span 2;
  }

  .tile--tall,
  .tile--third {
    grid-column: span 1;
    aspect-ratio: 4 / 5;
  }

  .more .grid {
    padding-top: 10px;
  }
}
