/* =========================================================================
   Výtvarníci Českého ráje — redesign
   Paleta „Meruňka a fialka" (finální). Klikací prototyp.
   ========================================================================= */

/* ---- Fonts ---- */
@font-face {
  font-family: 'Voyage';
  src: url('../fonts/voyage-regular.otf') format('opentype');
  font-weight: 200 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Voyage';
  src: url('../fonts/voyage-bold.otf') format('opentype');
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

/* ---- Design tokens ---- */
:root {
  --bg: #fffaf0;      /* krémová */
  --ink: #2b2144;     /* inkoustově fialová */
  --accent: #ff8c3d;  /* meruňková */
  --accent2: #ffd426; /* zářivá žlutá */
  --panel: #ffa14a;
  --panel2: #7b3fd4;
  --cream: #fffaf2;   /* krémový text na tmavé */

  --serif: 'Voyage', 'Noto Serif Display', Georgia, serif;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --shadow-card: 0 6px 24px rgba(43, 33, 68, .07);
  --shadow-card-hover: 0 16px 38px rgba(43, 33, 68, .16);

  --wrap: 1240px;
  --wrap-wide: 1400px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

button { font-family: inherit; }

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

/* ---- Keyframes ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes driftUp {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
@keyframes driftDown {
  from { transform: translateY(-50%); }
  to   { transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: scale(1); }
}

/* Scroll-reveal (JS přidá .reveal na prvky pod foldem) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px clamp(20px, 4vw, 56px);
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 20;
}

.site-header__logo {
  font: 200 clamp(24px, 2.5vw, 30px) / 1 var(--serif);
  color: var(--ink);
}
.site-header__logo:hover { color: var(--ink); }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 2.5vw, 32px);
  align-items: center;
  font: 500 13px / 1 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.site-nav__lang {
  color: color-mix(in srgb, var(--ink) 45%, transparent);
}

.site-nav a.is-active { color: var(--accent); }

/* CTA pill v hlavičce */
.btn-pill-cta {
  font: 600 12px / 1 var(--sans);
  padding: 11px 20px;
  color: var(--cream);
  border-radius: 999px;
  letter-spacing: .08em;
  background-color: #2b2144;
  transition: background .3s ease, color .3s ease;
}
.btn-pill-cta:hover {
  background: var(--accent);
  color: var(--cream);
}

/* =========================================================================
   Buttons / links — sdílené
   ========================================================================= */
.btn-pill {
  display: inline-block;
  font: 600 14px / 1 var(--sans);
  padding: 16px 28px;
  color: var(--cream);
  background-color: #2b2144;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background .3s ease, color .3s ease;
}
.btn-pill:hover { background: var(--accent); color: var(--cream); }

.btn-pill--ink {
  padding: 15px 26px;
  background: var(--ink);
}

.link-arrow {
  font: 600 14px / 1 var(--sans);
  padding-bottom: 5px;
}

.link-small {
  font: 600 13px / 1 var(--sans);
  letter-spacing: .06em;
  padding-bottom: 4px;
}

.eyebrow {
  font: 600 12px / 1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}

/* =========================================================================
   Landing — Hero
   ========================================================================= */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(24px, 4vw, 44px) clamp(20px, 4vw, 56px) clamp(40px, 6vw, 72px);
  align-items: center;
  max-width: var(--wrap);
  margin: 0 auto;
}

.hero__col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeUp .9s ease both;
}

.hero__title {
  margin: 0;
  font: 200 clamp(56px, 7.5vw, 104px) / 1.04 var(--serif);
  color: var(--ink);
}
.hero__title .grad {
  background: linear-gradient(100deg, var(--accent), var(--panel2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 0;
  max-width: 430px;
  font: 400 17px / 1.65 var(--sans);
  color: color-mix(in srgb, var(--ink) 74%, transparent);
  text-wrap: pretty;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 36px);
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid color-mix(in srgb, var(--ink) 15%, transparent);
}
.hero__stats .num {
  font: 200 32px / 1 var(--serif);
  color: var(--accent);
}
.hero__stats .lbl {
  font: 400 12px / 1.7 var(--sans);
  color: color-mix(in srgb, var(--ink) 55%, transparent);
}

/* Nekonečně plující sloupce obrazů */
.hero__marquee {
  display: flex;
  gap: 16px;
  height: clamp(420px, 52vw, 620px);
  overflow: hidden;
  position: relative;
  border-radius: 8px;
}
.hero__marquee-col { flex: 1; overflow: hidden; }
.hero__marquee-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero__marquee-track--up   { animation: driftUp 36s linear infinite; }
.hero__marquee-track--down { animation: driftDown 44s linear infinite; }
.hero__marquee img {
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}
.hero__marquee-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(var(--bg) 0%, transparent 12%, transparent 88%, var(--bg) 100%);
}
.hero__marquee:hover .hero__marquee-track { animation-play-state: paused; }

/* =========================================================================
   Landing — Aktuální výstavy
   ========================================================================= */
.exhibits {
  background: linear-gradient(135deg, var(--panel), var(--panel2));
  color: #fff8ee;
}
.exhibits__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 72px) clamp(20px, 4vw, 56px);
}
.exhibits__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 40px;
}
.exhibits__eyebrow {
  font: 600 11px / 1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent2);
}
.exhibits__title {
  margin: 10px 0 0;
  font: 200 clamp(40px, 5vw, 60px) / 1.08 var(--serif);
}
.exhibits__archive-link {
  font: 600 13px / 1 var(--sans);
  letter-spacing: .06em;
  padding-bottom: 4px;
  color: #fff8ee;
}
.exhibits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 28px;
}
.exhibit-card {
  background: rgba(255, 248, 238, .12);
  border: 1px solid rgba(255, 248, 238, .25);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .4s ease, box-shadow .4s ease;
}
.exhibit-card:hover {
  transform: translateY(-6px) rotate(-.5deg);
  box-shadow: 0 18px 40px rgba(60, 20, 60, .3);
}
.exhibit-card:nth-child(2):hover { transform: translateY(-6px) rotate(.5deg); }
.exhibit-card__media {
  overflow: hidden;
  height: 340px;
}
.exhibit-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform .6s ease;
}
.exhibit-card:hover .exhibit-card__media img { transform: scale(1.05); }
.exhibit-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.exhibit-card__date {
  font: 600 11px / 1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent2);
}
.exhibit-card__name {
  margin: 0;
  font: 200 30px / 1.1 var(--serif);
}
.exhibit-card__place {
  margin: 0;
  font: 400 14px / 1.55 var(--sans);
  color: rgba(255, 248, 238, .8);
}
.exhibit-card__link {
  font: 600 13px / 1 var(--sans);
  color: var(--accent2);
  margin-top: 6px;
}

/* =========================================================================
   Landing — Sbírky galerie
   ========================================================================= */
.section-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 72px) clamp(20px, 4vw, 56px);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 36px;
}
.section-head h2 {
  margin: 0;
  font: 200 clamp(38px, 4.5vw, 54px) / 1.05 var(--serif);
}

.collections { display: flex; flex-direction: column; }
.collection-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  align-items: center;
  padding: 22px 12px;
  border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: 6px;
  transition: background .3s ease;
}
.collection-row:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
}
.collection-row:hover {
  background: color-mix(in srgb, var(--accent2) 18%, transparent);
  color: var(--ink);
}
.collection-row__num {
  flex: none;
  width: 44px;
  font: 200 20px / 1 var(--serif);
  color: var(--accent);
}
.collection-row__name {
  flex: 1;
  min-width: 200px;
  font: 500 clamp(24px, 2.8vw, 32px) / 1.1 var(--sans);
}
.collection-row__thumb {
  overflow: hidden;
  display: block;
  border-radius: 6px;
}
.collection-row__thumb img {
  width: 220px;
  height: 88px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.collection-row:hover .collection-row__thumb img { transform: scale(1.06); }
.collection-row__count {
  font: 500 13px / 1 var(--sans);
  color: color-mix(in srgb, var(--ink) 50%, transparent);
}

/* =========================================================================
   Landing — Výtvarníci
   ========================================================================= */
.artists {
  background: color-mix(in srgb, var(--accent2) 22%, var(--bg));
}
.artists__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 72px) clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.artists__eyebrow {
  font: 600 11px / 1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}
.artists h2 {
  margin: 12px 0 18px;
  font: 200 clamp(38px, 4.5vw, 54px) / 1.08 var(--serif);
}
.artists p {
  margin: 0 0 24px;
  font: 400 15px / 1.65 var(--sans);
  color: color-mix(in srgb, var(--ink) 72%, transparent);
  max-width: 400px;
  text-wrap: pretty;
}
.artists__list {
  display: flex;
  flex-direction: column;
  font: 400 16px / 1 var(--sans);
}
.artists__list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
}
.artists__list .name { font-weight: 500; }
.artists__list .tech { color: color-mix(in srgb, var(--ink) 45%, transparent); }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
  background: var(--ink);
  color: var(--cream);
}
.site-footer a:hover { color: var(--accent2); }

.site-footer--full {
  display: grid;
}
.site-footer--full .site-footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(28px, 5vw, 64px);
}
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.site-footer__brand span {
  font: 200 28px / 1 var(--serif);
}
.site-footer__brand p {
  margin: 0;
  font: 400 14px / 1.6 var(--sans);
  color: rgba(255, 250, 242, .65);
  max-width: 320px;
}
.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font: 400 14px / 1 var(--sans);
}
.site-footer__col a { color: rgba(255, 250, 242, .88); }
.site-footer__label {
  font: 600 11px / 1 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #ff8c3d;
  margin-bottom: 6px;
}

/* Kompaktní patička (Galerie, Výstavy) */
.site-footer--mini .site-footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 40px) clamp(20px, 4vw, 56px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}
.site-footer--mini .brand {
  font: 200 24px / 1 var(--serif);
}
.site-footer--mini .meta {
  font: 400 13px / 1.6 var(--sans);
  color: rgba(255, 250, 242, .65);
}
.site-footer--mini .meta a { color: rgba(255, 250, 242, .88); }

/* =========================================================================
   Galerie
   ========================================================================= */
.gallery-head {
  max-width: var(--wrap-wide);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px) clamp(20px, 4vw, 56px) 0;
}
.gallery-head__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  animation: fadeUp .7s ease both;
}
.gallery-head__row h1 {
  margin: 8px 0 0;
  font: 200 clamp(48px, 6vw, 84px) / 1.04 var(--serif);
}
.gallery-head__count {
  margin: 0;
  font: 500 14px / 1 var(--sans);
  color: color-mix(in srgb, var(--ink) 55%, transparent);
}

/* Tematické chipy */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.chip {
  font: 600 13px / 1 var(--sans);
  white-space: nowrap;
  padding: 11px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .25s ease;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  border-color: color-mix(in srgb, var(--ink) 28%, transparent);
}
.chip:hover { border-color: var(--ink); }
.chip.is-active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

/* Panel filtrů */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  padding: 16px 18px;
  background: color-mix(in srgb, var(--accent2) 14%, var(--bg));
  border-radius: 12px;
}
.filters__field {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 500 13px / 1 var(--sans);
}
.filters__field > span {
  color: color-mix(in srgb, var(--ink) 55%, transparent);
}
.filters__select {
  font: 500 13px / 1.4 var(--sans);
  padding: 11px 38px 11px 16px;
  border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%232b2144' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.filters__toggle {
  font: 600 13px / 1.4 var(--sans);
  white-space: nowrap;
  padding: 11px 16px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent);
  background: transparent;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 7px;
}
.filters__toggle.is-active {
  background: var(--accent);
  color: var(--cream);
  border-color: transparent;
}
.filters__reset {
  font: 600 13px / 1 var(--sans);
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
}

/* Masonry koláž */
.collage {
  max-width: var(--wrap-wide);
  margin: 0 auto;
  padding: 28px clamp(20px, 4vw, 56px) 72px;
}
.collage__grid {
  columns: 4 260px;
  column-gap: 18px;
}
.art {
  margin: 0 0 18px;
  break-inside: avoid;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  background: #eee;
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  text-align: left;
}
.art img {
  width: 100%;
  display: block;
  transition: transform .5s ease;
}
.art:hover img { transform: scale(1.04); }
.art__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 14px 12px;
  background: linear-gradient(transparent, rgba(20, 12, 30, .72));
  color: var(--cream);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  opacity: 0;
  transition: opacity .35s ease;
}
.art:hover .art__caption { opacity: 1; }
.art__caption .t { font: 500 13px / 1.35 var(--sans); }
.art__caption .a { font-weight: 400; opacity: .75; font-size: 12px; }
.art__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font: 700 11px / 1 var(--sans);
  letter-spacing: .06em;
  padding: 7px 11px;
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(20, 12, 30, .25);
  background-color: #ff8c3d;
}

.collage__empty {
  text-align: center;
  padding: 60px 20px;
}
.collage__empty p {
  margin: 0 0 16px;
  font: 200 34px / 1.2 var(--serif);
}
.collage__empty button {
  font: 600 14px / 1 var(--sans);
  padding: 14px 24px;
  border: none;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  cursor: pointer;
}

/* =========================================================================
   Lightbox (Galerie + Výstavy)
   ========================================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 12, 30, .88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .25s ease both;
}
.lightbox[hidden] { display: none; }
.lightbox__btn {
  position: absolute;
  font: 400 20px / 1 var(--sans);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 250, 242, .35);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  transition: background .3s ease;
}
.lightbox__btn:hover { background: rgba(255, 250, 242, .15); }
.lightbox__close { top: 22px; right: 26px; }
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 22px;
}
.lightbox__nav--prev { left: clamp(8px, 2vw, 26px); }
.lightbox__nav--next { right: clamp(8px, 2vw, 26px); }
.lightbox__figure {
  margin: 0;
  max-width: 84vw;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: popIn .3s ease both;
}
.lightbox__figure img {
  max-width: 84vw;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.lightbox__caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  color: var(--cream);
}
.lightbox__caption .name { font: 200 26px / 1.2 var(--serif); }
.lightbox__caption .meta { font: 400 13px / 1.5 var(--sans); opacity: .75; }
.lightbox__caption .badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 700 11px / 1 var(--sans);
  letter-spacing: .06em;
  padding: 8px 12px;
  background: var(--accent2);
  color: var(--ink);
  border-radius: 999px;
}
.lightbox__caption .pos {
  font: 400 12px / 1 var(--sans);
  opacity: .5;
  width: 100%;
}

/* =========================================================================
   Výstavy
   ========================================================================= */
.exh-head {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px) clamp(20px, 4vw, 56px) 0;
}
.exh-head > div { animation: fadeUp .7s ease both; }
.exh-head h1 {
  margin: 8px 0 0;
  font: 200 clamp(48px, 6vw, 84px) / 1.04 var(--serif);
}

.exh-active {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) clamp(20px, 4vw, 56px);
}
.exh-active__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.exh-big {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 2fr;
  background: #fffdf8;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.exh-big__media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: zoom-in;
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  border: none;
}
.exh-big__media img {
  max-width: 100%;
  max-height: 340px;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(43, 33, 68, .18);
  transition: transform .5s ease;
}
.exh-big__media:hover img { transform: scale(1.03); }
.exh-big__body {
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.exh-big__body h2 {
  margin: 0;
  font: 200 clamp(30px, 3vw, 42px) / 1.1 var(--serif);
}
.exh-big__date {
  margin: 0;
  font: 500 15px / 1.5 var(--sans);
}
.exh-big__place {
  margin: 0;
  font: 400 14px / 1.6 var(--sans);
  color: color-mix(in srgb, var(--ink) 65%, transparent);
}
.exh-big__map {
  align-self: flex-start;
  font: 600 13px / 1.4 var(--sans);
  padding: 11px 18px;
  border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  transition: all .25s ease;
}
.exh-big__map:hover { background: var(--ink); color: var(--cream); }

/* Status badge */
.badge {
  align-self: flex-start;
  font: 700 10px / 1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
}
.badge--planned {
  background: color-mix(in srgb, var(--panel2) 18%, transparent);
  color: var(--panel2);
}
.badge--running {
  background: var(--accent);
  color: var(--cream);
}
.badge--ending {
  background: var(--accent2);
  color: var(--ink);
}

.exh-past {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(16px, 3vw, 28px) clamp(20px, 4vw, 56px) 80px;
}
.exh-past h2 {
  margin: 0 0 26px;
  font: 200 clamp(30px, 3.5vw, 44px) / 1.08 var(--serif);
  color: color-mix(in srgb, var(--ink) 70%, transparent);
}
.exh-past__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 22px;
}
.exh-small {
  display: flex;
  flex-direction: column;
  background: #fffdf8;
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.exh-small:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(43, 33, 68, .12);
}
.exh-small__media {
  position: relative;
  height: 230px;
  cursor: zoom-in;
  overflow: hidden;
  filter: saturate(.85);
  border: none;
  padding: 0;
  background: none;
  width: 100%;
}
.exh-small__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .5s ease;
}
.exh-small__media:hover img { transform: scale(1.05); }
.exh-small__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.exh-small__body h3 {
  margin: 0;
  font: 500 16px / 1.35 var(--sans);
}
.exh-small__body p {
  margin: 0;
  font: 400 13px / 1.5 var(--sans);
  color: color-mix(in srgb, var(--ink) 60%, transparent);
}

/* =========================================================================
   Responsivita
   ========================================================================= */
@media (max-width: 720px) {
  .exh-big { grid-template-columns: 1fr; }
  .exh-big__media img { max-height: 300px; }
  .site-nav { gap: 14px 18px; width: 100%; }
}

@media (max-width: 520px) {
  .collage__grid { columns: 2 150px; }
}
