@font-face {
  font-family: "Monument Extended";
  src: url("assets/fonts/MonumentExtended-Ultralight.otf") format("opentype");
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "Monument Extended";
  src: url("assets/fonts/MonumentExtended-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Monument Extended";
  src: url("assets/fonts/MonumentExtended-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Monument Extended";
  src: url("assets/fonts/MonumentExtended-Ultrabold.otf") format("opentype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --ink: #080810;
  --paper: #ffffff;
  --violet: #4019e4;
  --canvas-offset: max(0px, calc(50vw - 640px));
  --page-gutter: max(40px, calc(50vw - 600px));
  --display: "Monument Extended", "Arial Black", Arial, sans-serif;
  --display-tracking: 0.02em;
  --sans: Inter, Arial, Helvetica, sans-serif;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.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;
}

[hidden] {
  display: none !important;
}

.cms-status {
  position: relative;
  z-index: 2;
  min-height: 70vh;
  margin: 0;
  padding: 213px var(--page-gutter) 80px;
  font-size: 16px;
  line-height: 1.4;
}

.cms-list-status,
.empty-state {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}

.cms-list-status {
  padding: 20px 0 60px;
}

.empty-state {
  padding: 20px var(--page-gutter) 80px;
}

.site-shell {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 1394px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}

.artwork,
.top-fade {
  position: absolute;
  z-index: -2;
  pointer-events: none;
}

.artwork--hero {
  top: -613.34px;
  left: calc(var(--canvas-offset) - 6.15px);
  display: flex;
  width: 2503.118px;
  height: 2731.61px;
  align-items: center;
  justify-content: center;
}

.artwork--hero img {
  display: block;
  width: 1901.927px;
  height: 2256.471px;
  max-width: none;
  object-fit: cover;
  transform: rotate(-17.89deg);
}

.artwork--secondary {
  display: none;
}

.top-fade {
  top: 0;
  right: auto;
  left: 0;
  width: 100vw;
  height: 284.46px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(8, 8, 16, 0.62) 0%, rgba(8, 8, 16, 0.3) 52%, rgba(8, 8, 16, 0) 100%);
}

.top-fade img {
  display: none;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  padding: 40px var(--page-gutter);
}

.brand {
  display: block;
  width: 142.055px;
  flex: 0 0 auto;
  line-height: 0;
}

.brand img {
  display: block;
  width: 100%;
  height: 68.566px;
}

.desktop-nav {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
}

.desktop-nav a,
.eyebrow,
.hero h1,
.events h2,
.event-action,
.section-links,
.mobile-menu__links {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: var(--display-tracking);
}

.desktop-nav a {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  font-size: 16px;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.desktop-nav a,
.section-links a,
.event-action,
.event-card {
  transition: filter 160ms ease, transform 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  background: var(--paper);
  color: var(--ink);
}

.section-links a:hover,
.section-links a:focus-visible {
  color: #b9ff4a;
}

.menu-button,
.mobile-menu {
  display: none;
}

.hero {
  position: absolute;
  z-index: 2;
  top: 213.46px;
  left: 0;
  padding: 10px var(--page-gutter);
  text-shadow: 0 0 17px rgba(0, 0, 0, 0.35);
}

.eyebrow {
  width: fit-content;
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero h1 {
  width: fit-content;
  margin: 0;
  font-size: 90px;
  line-height: 1.18;
}

.events {
  position: absolute;
  z-index: 3;
  top: 616.46px;
  left: 0;
  width: 100%;
  padding: 20px var(--page-gutter);
}

.events h2 {
  margin: 0 0 20px;
  font-size: 20px;
  line-height: 1.25;
  text-shadow: 0 4px 34px rgba(0, 0, 0, 0.35);
  text-transform: uppercase;
}

.mobile-word,
.mobile-only {
  display: none;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.event-card {
  display: flex;
  min-width: 0;
  min-height: 227px;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}

.events-grid > .event-card--one {
  grid-column: 1;
  grid-row: 1;
}

.events-grid > .event-card--two {
  grid-column: 2;
  grid-row: 1;
}

.events-grid > .event-card--three {
  grid-column: 3;
  grid-row: 1;
}

.event-card:hover,
.event-card:focus-visible {
  box-shadow: 7px 7px 0 var(--violet);
  transform: translate(-3px, -3px);
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-meta span {
  padding: 1px 4px;
  background: var(--ink);
  color: var(--paper);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.event-kind {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.event-card h3 {
  width: 100%;
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.event-details {
  display: flex;
  min-width: 0;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.event-details > div {
  min-width: 0;
  flex: 1 1 auto;
}

.event-details p {
  margin: 0 0 5px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.4;
  overflow-wrap: anywhere;
  white-space: normal;
}

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

.event-details .entry {
  color: var(--violet);
}

.event-details img {
  display: block;
  width: 27.004px;
  height: auto;
  flex: 0 0 auto;
  filter: brightness(0);
}

@media (min-width: 801px) {
  .events-grid > .event-card {
    position: relative;
  }

  .events-grid > .event-card .event-details {
    padding-right: 39px;
  }

  .events-grid > .event-card .event-details img {
    display: none;
  }

  .events-grid > .event-card::after {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 27px;
    height: 25px;
    background: url("assets/icon-arrow-figma.svg") center / contain no-repeat;
    content: "";
    filter: brightness(0);
    pointer-events: none;
  }
}

.event-action {
  display: flex;
  height: 80px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 20px;
  background: linear-gradient(123deg, var(--violet) 2.2%, var(--ink) 100%);
  font-size: 20px;
  line-height: 1.05;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.event-action:hover,
.event-action:focus-visible {
  filter: brightness(1.24);
  transform: translateY(-2px);
}

.event-action__label {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-action__top {
  display: flex;
  align-items: center;
  gap: 11px;
}

.event-action__top > .cta-icon {
  display: block;
  width: 16px;
  height: auto;
  flex: 0 0 auto;
  transform: translateY(-2px);
}

.event-action--entry {
  grid-column: 2;
  grid-row: 2;
}

.event-action--program {
  grid-column: 3;
  grid-row: 2;
}

.section-links {
  position: absolute;
  z-index: 4;
  top: 1083.46px;
  left: 0;
  width: 100%;
  padding: 20px var(--page-gutter) 0;
  background: var(--ink);
}

.section-links a {
  display: flex;
  height: 65px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--paper);
  font-size: 20px;
  line-height: 1.25;
  text-decoration: none;
  text-transform: uppercase;
}

.section-links a:last-child {
  border-bottom: 1px solid var(--paper);
}

.section-links img {
  display: block;
  width: 27.004px;
  height: auto;
}

.section-links span {
  display: inline-block;
}

.site-footer,
.mobile-menu__footer {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
}

.site-footer {
  position: absolute;
  z-index: 4;
  top: 1298.46px;
  left: 0;
  display: flex;
  width: 100%;
  height: 95.54px;
  align-items: flex-end;
  justify-content: space-between;
  padding: 40px var(--page-gutter);
  background: var(--ink);
}

.site-footer a,
.mobile-menu__footer a {
  text-decoration: none;
}

.foundation {
  line-height: 1.1;
}

.anchor {
  position: absolute;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

@media (max-width: 1100px) and (min-width: 801px) {
  .desktop-nav {
    gap: 10px;
    transform: none;
  }

  .desktop-nav a {
    padding-inline: 3px;
    font-size: 13px;
  }

  .event-details p {
    font-size: 13px;
  }
}

@media (max-width: 800px) {
  .site-shell {
    width: 100%;
    max-width: none;
    min-height: max(1065px, 100dvh);
  }

  body:not(.inner-page) .site-shell {
    display: flex;
    flex-direction: column;
  }

  body:not(.inner-page) .site-shell > main {
    flex: 1 0 auto;
    padding-top: 404.72px;
  }

  .cms-status {
    min-height: 60vh;
    padding: 125.71px 20px 60px;
  }

  .cms-list-status {
    padding: 20px 0 40px;
  }

  .empty-state {
    padding: 20px 20px 60px;
  }

  .top-fade,
  .desktop-nav {
    display: none;
  }

  .artwork--hero {
    top: -294.85px;
    left: -42.81px;
    width: 1065.12px;
    height: 1123.575px;
  }

  .artwork--hero img {
    width: 741.761px;
    height: 880.035px;
    transform: rotate(-27.61deg);
  }

  .artwork--secondary {
    top: 576.04px;
    left: -405.4px;
    display: flex;
    width: 810.805px;
    height: 937.388px;
    align-items: center;
    justify-content: center;
  }

  .artwork--secondary img {
    display: block;
    width: 741.761px;
    height: 880.035px;
    max-width: none;
    object-fit: cover;
    transform: rotate(-4.66deg);
  }

  .site-header {
    z-index: 60;
    padding: 20px 0;
  }

  .brand {
    width: 134.703px;
    padding: 20px;
  }

  .brand img {
    width: 94.703px;
    height: 45.711px;
  }

  .menu-button {
    display: flex;
    width: 62px;
    height: 62px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 20px;
    cursor: pointer;
    border: 0;
    background: transparent;
  }

  .menu-button img {
    display: block;
    flex: 0 0 auto;
  }

  .menu-button__open {
    width: 21.398px;
    height: 12.32px;
  }

  .menu-button__close {
    display: none !important;
    width: 18.073px;
    height: 18.073px;
  }

  body.menu-open .menu-button__open {
    display: none;
  }

  body.menu-open .menu-button__close {
    display: block !important;
  }

  .mobile-menu {
    position: fixed;
    z-index: 50;
    inset: 0;
    display: block;
    visibility: hidden;
    min-width: 320px;
    min-height: 100dvh;
    overflow-y: auto;
    background: var(--ink);
    opacity: 0;
    transition: opacity 160ms ease, visibility 160ms ease;
  }

  .mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
  }

  .mobile-menu__links {
    position: absolute;
    top: calc(105px + env(safe-area-inset-top));
    left: 50%;
    display: flex;
    width: min(100%, 375px);
    flex-direction: column;
    gap: 18px;
    padding: 20px;
    transform: translateX(-50%);
  }

  .mobile-menu__links a {
    width: fit-content;
    font-size: 22px;
    line-height: 1.25;
    text-decoration: none;
    text-transform: uppercase;
  }

  .mobile-menu__footer {
    position: absolute;
    bottom: 0;
    left: 50%;
    display: flex;
    width: min(100%, 375px);
    height: 96px;
    align-items: flex-end;
    justify-content: space-between;
    padding: 40px 20px calc(20px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
  }

  .hero {
    top: 125.76px;
    width: 100%;
    padding: 10px 20px;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 16px;
  }

  .hero h1 {
    width: fit-content;
    max-width: none;
    font-size: 42px;
    line-height: 1.18;
  }

  .events {
    position: relative;
    top: auto;
    padding: 20px;
  }

  .events h2 {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.25;
  }

  .desktop-word,
  .desktop-only,
  .event-kind {
    display: none;
  }

  .mobile-word,
  .mobile-only {
    display: inline;
  }

  .event-details p.mobile-only {
    display: block;
  }

  .events-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .event-card {
    min-height: 150px;
    order: 1;
    gap: 5px;
    padding: 10px;
  }

  .event-meta span {
    padding: 1px 6px;
    font-size: 14px;
  }

  .event-card h3 {
    font-size: 20px;
  }

  .event-details p {
    margin-bottom: 5px;
    font-size: 14px;
  }

  .event-action {
    width: 100%;
    height: 60px;
    padding: 10px 20px;
    font-size: 16px;
    line-height: 1.25;
  }

  .event-action__top > .cta-icon {
    transform: translateY(-1px);
  }

  .event-action--program {
    order: 2;
    margin-top: 10px;
  }

  .event-action--entry {
    order: 3;
  }

  .section-links {
    position: relative;
    top: auto;
    padding: 0;
  }

  .section-links a {
    height: 64.72px;
    padding: 20px;
    font-size: 16px;
    line-height: 1.25;
  }

  body:not(.inner-page) .site-footer {
    position: relative;
    top: auto;
    height: 76px;
    margin-top: auto;
    padding: 20px;
  }
}

@media (max-width: 800px) and (max-height: 540px) {
  .mobile-menu__links {
    top: calc(88px + env(safe-area-inset-top));
    gap: 12px;
    padding-block: 10px;
  }

  .mobile-menu__links a {
    font-size: 18px;
  }

  .mobile-menu__footer {
    height: 76px;
    padding-top: 20px;
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 359px) {
  .mobile-menu__footer,
  .site-footer {
    font-size: 9px;
  }

  .hero h1 {
    font-size: 38px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Podstrony z makiet Figma */
.desktop-nav a.is-active,
.desktop-nav a.is-active:hover,
.desktop-nav a.is-active:focus-visible {
  background: var(--paper);
  color: var(--ink);
}

.subpage-shell {
  min-height: 100vh;
}

.subpage-artwork {
  position: absolute;
  z-index: -2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.subpage-artwork img {
  display: block;
  flex: 0 0 auto;
  max-width: none;
  object-fit: cover;
}

.program-page .subpage-artwork {
  top: -1003.06px;
  left: calc(var(--canvas-offset) + 242.27px);
  width: 2353.629px;
  height: 2621.04px;
}

.program-page .subpage-artwork img {
  width: 1901.927px;
  height: 2256.471px;
  transform: rotate(-167.23deg) scaleY(-1);
}

.about-page .subpage-artwork {
  top: -1041.28px;
  left: calc(var(--canvas-offset) + 182.06px);
  width: 2925.279px;
  height: 2948.999px;
}

.about-page .subpage-artwork img {
  width: 1901.927px;
  height: 2256.471px;
  transform: rotate(137.71deg);
}

.gallery-page .subpage-artwork {
  top: -1120.63px;
  left: calc(var(--canvas-offset) + 52.2px);
  width: 1728.241px;
  height: 1953.451px;
}

.gallery-page .subpage-artwork img {
  width: 1465.446px;
  height: 1738.625px;
  transform: rotate(-9.34deg);
}

.info-page .subpage-artwork {
  top: -583.79px;
  left: calc(var(--canvas-offset) + 326.91px);
  width: 2535.115px;
  height: 2407.586px;
}

.info-page .subpage-artwork img {
  width: 1670.11px;
  height: 1981.44px;
  transform: rotate(-61.84deg);
}

.contact-page .subpage-artwork {
  top: -1336.52px;
  left: calc(var(--canvas-offset) + 35.48px);
  width: 2239.448px;
  height: 2140.427px;
}

.artists-page .subpage-artwork {
  top: -1336.52px;
  left: calc(var(--canvas-offset) + 35.48px);
  width: 2239.448px;
  height: 2140.427px;
}

.contact-page .subpage-artwork img,
.artists-page .subpage-artwork img {
  width: 1465.446px;
  height: 1738.625px;
  transform: rotate(59.85deg);
}

.subpage-main {
  position: relative;
  z-index: 2;
  padding-top: 213.46px;
}

.page-hero {
  padding: 10px var(--page-gutter);
  color: var(--paper);
  text-shadow: 0 0 17px rgba(0, 0, 0, 0.35);
}

.page-kicker {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.page-hero h1,
.text-block h2,
.director-block h2,
.venues h2,
.faq h2,
.contact-grid h2,
.archive-card a,
.gallery-card h2,
.wide-cta,
.load-more button,
.filter-tabs button {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: var(--display-tracking);
}

.page-hero h1 {
  width: fit-content;
  margin: 0;
  font-size: 60px;
  line-height: 1.18;
}

.page-lead {
  margin: 10px 0 0;
  font-size: 22px;
  line-height: 1.25;
}

.text-block h2,
.director-block h2,
.venues h2,
.faq h2,
.contact-grid h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  text-transform: uppercase;
}

.text-block p,
.director-block p,
.contact-grid p {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.25;
}

.subpage-shell .site-footer {
  position: relative;
  top: auto;
  left: auto;
  min-height: 95px;
  margin-top: 40px;
}

.program-page .page-hero {
  min-height: 237px;
}

.program-list {
  padding: 20px var(--page-gutter) 0;
}

.filter-tabs {
  display: flex;
  align-items: stretch;
}

.filter-tabs button {
  min-height: 34px;
  padding: 8px 20px;
  cursor: pointer;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  line-height: 1.25;
  text-transform: uppercase;
}

.filter-tabs button.is-selected {
  background: var(--paper);
  color: var(--ink);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.program-grid .event-card {
  min-height: 227px;
}

.load-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
  text-align: center;
  text-transform: uppercase;
}

.load-more p {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.load-more button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: var(--paper);
  font-size: 14px;
  line-height: 1.25;
  text-transform: uppercase;
}

.load-more button img {
  width: 27px;
  height: auto;
  transform: rotate(90deg);
}

.mobile-count {
  display: none;
}

.wide-cta {
  display: flex;
  width: 400px;
  min-height: 80px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 30px auto 0;
  padding: 20px;
  background: linear-gradient(132deg, var(--violet) 2.2%, var(--ink) 100%);
  font-size: 20px;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.wide-cta > .cta-icon {
  display: block;
  width: 22px;
  height: auto;
  flex: 0 0 auto;
}

.wide-cta:hover,
.wide-cta:focus-visible,
.archive-card a:hover,
.archive-card a:focus-visible {
  filter: brightness(1.25);
}

.archive-note {
  margin: 30px 0 0;
  font-size: 16px;
  text-align: center;
}

.about-page .page-hero,
.contact-page .page-hero {
  min-height: 151px;
}

.about-visual {
  height: 560px;
  padding: 20px var(--page-gutter);
}

.about-visual img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "music director"
    "foundation director";
  gap: 20px;
  row-gap: 60px;
  padding: 20px var(--page-gutter);
}

.about-grid > * {
  padding: 20px 0;
}

.about-grid .text-block:first-child {
  grid-area: music;
}

.about-grid .text-block:nth-child(3) {
  display: block;
  grid-area: foundation;
}

.about-grid .text-block p,
.about-grid .director-bio p {
  line-height: 1.5;
}

.about-heading--desktop {
  display: none;
}

@media (min-width: 801px) {
  .about-grid > .text-block p {
    max-width: 75%;
  }
}

.director-block {
  grid-area: director;
}

.director-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.director-photo {
  display: block;
  width: 50%;
  aspect-ratio: 1;
  margin-top: 20px;
  background: #c4c4c4;
  object-fit: cover;
  object-position: 65% 50%;
}

.director-block h3 {
  margin: 10px 0 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
}

.director-block .caption {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (min-width: 801px) {
  .about-page .about-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "music"
      "director"
      "foundation";
    gap: 20px;
  }

  .about-page .about-grid .about-copy-columns {
    column-count: 3;
    column-gap: 40px;
    margin-top: 20px;
  }

  .about-page .about-grid .about-copy-columns p {
    max-width: none;
    margin: 0 0 20px;
    break-inside: avoid-column;
  }

  .about-page .about-grid .about-copy-columns p:last-child {
    margin-bottom: 0;
  }

  .about-page .about-heading--mobile {
    display: none;
  }

  .about-page .about-heading--desktop {
    display: block;
  }

  .about-page .director-block {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto auto 1fr;
    column-gap: 40px;
    align-items: start;
  }

  .about-page .director-block h2 {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 20px;
  }

  .about-page .director-photo {
    grid-column: 1;
    grid-row: 2 / 5;
    width: 85%;
    aspect-ratio: 4 / 5;
    margin-top: 0;
  }

  .about-page .director-block h3 {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
  }

  .about-page .director-block .caption {
    grid-column: 2;
    grid-row: 3;
  }

  .about-page .director-bio {
    grid-column: 2 / 4;
    grid-row: 4;
    max-width: none;
    margin-top: 10px;
    column-count: 2;
    column-gap: 40px;
  }

  .about-page .director-bio p {
    margin: 0 0 20px;
    break-inside: avoid-column;
  }

  .about-page .director-bio p:last-child {
    margin-bottom: 0;
  }
}

.director-bio p + p {
  margin-top: 1em;
}

.partners-block {
  padding: 20px var(--page-gutter);
}

.partners-block > h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: var(--display-tracking);
  line-height: 1.25;
  text-transform: uppercase;
}

.logo-group {
  margin-top: 54px;
}

.logo-group + .logo-group {
  margin-top: 0;
}

.logo-group h3 {
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: var(--display-tracking);
  line-height: 1.25;
  text-transform: uppercase;
}

.logo-grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 70px;
}

.logo-group:not(:last-child) .logo-grid {
  margin-bottom: 90px;
}

.logo-grid img {
  display: block;
  width: 0;
  min-width: 0;
  max-width: none;
  height: 64px;
  flex: 1 1 0;
  object-fit: contain;
  object-position: center;
}

.logo-grid img.sponsor-composite {
  width: min(30vw, 340px);
  height: auto;
  max-height: 140px;
  flex: 0 1 min(30vw, 340px);
}

.archive-page .page-hero,
.info-page .page-hero {
  min-height: 288px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 20px var(--page-gutter);
}

.archive-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
}

.archive-card img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.archive-card--2023 > img {
  object-fit: contain;
}

.archive-card a {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(143deg, var(--violet) 2.2%, var(--ink) 100%);
  font-size: 16px;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.archive-card a > .cta-icon {
  display: block;
  width: 20px;
  height: auto;
  flex: 0 0 auto;
}

.archive-page .site-footer {
  margin-top: 171px;
}

.gallery-page .page-hero {
  min-height: 267px;
}

.gallery-section {
  padding: 20px var(--page-gutter) 0;
}

.gallery-tabs {
  margin-bottom: 40px;
}

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

.gallery-card {
  display: block;
  min-width: 0;
  color: var(--paper);
  text-decoration: none;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.gallery-meta {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.gallery-card h2 {
  margin: 2px 0 0;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.gallery-card.is-hidden {
  display: none;
}

.gallery-more {
  margin-top: 60px;
}

/* Artyści — widok i stan hover z Figmy */
.artists-shell {
  min-height: 1882px;
}

.artists-page .page-hero {
  min-height: 201.54px;
}

.artists-directory {
  padding: 20px max(60px, calc(50vw - 580px)) 0;
}

.artists-directory__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.artist-card {
  min-width: 0;
}

.artist-card__visual {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  text-align: left;
}

.artist-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.artist-card__shade,
.artist-card__bio {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 180ms ease;
}

.artist-card__shade {
  background: rgba(0, 0, 0, 0.7);
}

.artist-card__bio {
  z-index: 1;
  padding: 20px;
  font-size: 16px;
  line-height: 1.25;
  overflow: hidden;
}

.artist-card__bio-text {
  display: block;
  overflow-wrap: anywhere;
}

@keyframes artist-bio-pan {
  to {
    transform: translateY(calc(-1 * var(--bio-travel)));
  }
}

.artist-card__visual:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

.artist-card h2 {
  margin: 10px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
}

.artist-card > p {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.artist-card__mobile-bio {
  display: none;
}

.artists-page .site-footer {
  margin-top: 30px;
}

@media (hover: hover) and (pointer: fine) {
  .artist-card__visual:hover .artist-card__shade,
  .artist-card__visual:hover .artist-card__bio,
  .artist-card__visual:focus-visible .artist-card__shade,
  .artist-card__visual:focus-visible .artist-card__bio {
    opacity: 1;
  }

  .artist-card__visual:hover img,
  .artist-card__visual:focus-visible img {
    transform: scale(1.015);
  }

  .artist-card__visual:hover .artist-card__bio.has-overflow .artist-card__bio-text,
  .artist-card__visual:focus-visible .artist-card__bio.has-overflow .artist-card__bio-text {
    animation: artist-bio-pan var(--bio-scroll-duration) linear 0.6s forwards;
  }
}

@media (prefers-reduced-motion: reduce) {
  .artist-card__bio.has-overflow {
    overflow-y: auto;
    scrollbar-width: thin;
  }

  .artist-card__bio-text {
    animation: none !important;
  }
}

.artist-detail-page .page-hero {
  min-height: 0;
}

.artist-detail-page .page-hero h1 {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(34px, 5vw, 60px);
}

.artist-detail-back {
  display: inline-block;
  margin: 0 var(--page-gutter) 28px;
  font-family: var(--display);
  font-size: 13px;
  text-decoration: none;
  text-transform: uppercase;
}

.artist-detail-back:hover,
.artist-detail-back:focus-visible {
  text-decoration: underline;
}

.artist-detail-role {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.artist-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 40px;
  align-items: start;
  padding: 30px var(--page-gutter) 80px;
}

.artist-detail-layout.no-image {
  grid-template-columns: minmax(0, 1fr);
}

.artist-detail-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.artist-detail-bio {
  column-count: 2;
  column-gap: 40px;
  font-size: 16px;
  line-height: 1.5;
}

.artist-detail-bio p {
  margin: 0 0 20px;
  white-space: pre-line;
}

.artist-detail-bio p:last-child {
  margin-bottom: 0;
}

.artist-detail-status {
  padding-inline: var(--page-gutter);
}

@media (min-width: 801px) and (max-width: 1050px) {
  .artist-detail-bio {
    column-count: 1;
  }
}

/* Album zdjęć — osobny widok galerii z Figmy */
.album-shell {
  min-height: 1669px;
}

.album-main {
  position: relative;
  z-index: 2;
  padding-top: 213.46px;
}

.album-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 10px var(--page-gutter);
}

.album-kicker {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.album-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: 60px;
  font-weight: 400;
  letter-spacing: var(--display-tracking);
  line-height: 1.18;
}

.album-hero h1 span {
  display: block;
}

.album-tags {
  display: flex;
  gap: 6px;
}

.album-tags span {
  padding: 1px 6px;
  background: var(--paper);
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.album-gallery {
  margin-top: 58.4px;
  padding: 20px var(--page-gutter);
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 320px;
  gap: 20px;
}

.album-photo {
  min-width: 0;
  margin: 0;
  cursor: zoom-in;
}

.album-photo:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 4px;
}

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

.album-photo--1 { grid-area: 1 / 1; }
.album-photo--2 { grid-area: 1 / 2; }
.album-photo--3 { grid-area: 2 / 2; }
.album-photo--4 { grid-area: 2 / 1; }
.album-photo--repeat { grid-area: 3 / 1; }
.album-photo--5 { grid-area: 3 / 2; }

body.lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(8, 8, 16, 0.97);
  color: var(--paper);
}

.gallery-lightbox::backdrop {
  background: rgba(8, 8, 16, 0.88);
}

.gallery-lightbox__surface {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  padding: 70px 80px 54px;
  place-items: center;
}

.gallery-lightbox__header {
  position: absolute;
  top: 24px;
  right: 90px;
  left: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.gallery-lightbox__header p,
.gallery-lightbox__header span {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.gallery-lightbox__close,
.gallery-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(8, 8, 16, 0.72);
  color: #fff;
  cursor: pointer;
  font: 30px/1 Arial, sans-serif;
  place-items: center;
}

.gallery-lightbox__close {
  top: 18px;
  right: 24px;
}

.gallery-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.gallery-lightbox__nav--previous {
  left: 20px;
}

.gallery-lightbox__nav--next {
  right: 20px;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__close:focus-visible,
.gallery-lightbox__nav:hover,
.gallery-lightbox__nav:focus-visible {
  background: var(--violet);
  outline: none;
}

.gallery-lightbox__figure {
  display: grid;
  width: 100%;
  height: 100%;
  margin: 0;
  place-items: center;
}

.gallery-lightbox__figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.gallery-lightbox [hidden] {
  display: none;
}

.album-empty {
  margin: 0;
  padding: 40px 0;
  font-size: 18px;
}

.gallery-album-page .site-footer {
  margin-top: 30px;
}

.info-content {
  position: relative;
}

.participation {
  width: 590px;
  min-height: 125px;
  margin-left: var(--canvas-offset);
  padding: 20px 40px;
}

.venues {
  min-height: 630px;
  padding: 20px var(--page-gutter);
}

.venue-map {
  display: block;
  width: 100%;
  height: 520px;
  margin-top: 20px;
  border: 0;
}

.foundation-block {
  padding: 20px var(--page-gutter);
}

.faq {
  padding-inline: var(--page-gutter);
}

.faq h2 {
  min-height: 90px;
  padding: 20px 0;
}

.faq details {
  border-top: 1px solid var(--paper);
}

.faq details:last-child {
  border-bottom: 1px solid var(--paper);
}

.faq summary {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.25;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq-toggle-icon {
  position: relative;
  display: block;
  width: 22px;
  aspect-ratio: 46.2295 / 42.3203;
  flex: 0 0 auto;
}

.faq-toggle-icon .faq-icon {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.faq-icon--minus,
.faq details[open] .faq-icon--plus {
  visibility: hidden;
}

.faq details[open] .faq-icon--minus {
  visibility: visible;
}

.faq details p {
  max-width: 700px;
  margin: 0;
  padding: 0 0 20px;
  font-size: 16px;
  line-height: 1.4;
}

.contact-grid {
  display: grid;
  min-height: 286px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 0 var(--page-gutter);
}

.contact-grid section {
  padding: 20px 0;
}

.email-link {
  display: inline-block;
  margin-top: 20px;
  padding: 1px 6px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.social-cta {
  width: 100%;
  min-height: 60px;
  margin-top: 20px;
}

.contact-page .site-footer {
  margin-top: 20px;
}

@media (min-width: 801px) {
  .contact-page .subpage-shell {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
  }

  .contact-page .subpage-main {
    flex: 1 0 auto;
  }

  .contact-page .site-footer {
    flex: 0 0 auto;
  }
}

@media (max-width: 800px) {
  .subpage-shell {
    min-height: 100vh;
  }

  /* Figma exports below already include the final rotation and page clipping. */
  .subpage-artwork {
    display: block;
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }

  .subpage-artwork img {
    display: none;
  }

  .program-page .subpage-artwork {
    top: 0;
    left: 10.6187vw;
    width: 89.6vw;
    height: 180.5333vw;
    background-image: url("assets/mobile-bg-program.png");
  }

  .about-page .subpage-artwork {
    top: 0;
    left: 2.7253vw;
    width: 97.3333vw;
    height: 221.6vw;
    background-image: url("assets/mobile-bg-about.png");
  }

  .gallery-page .subpage-artwork {
    top: 0;
    left: 35.8267vw;
    width: 64.2667vw;
    height: 212vw;
    background-image: url("assets/mobile-bg-gallery.png");
  }

  .info-page .subpage-artwork {
    top: 0;
    left: 4.4747vw;
    width: 95.7333vw;
    height: 205.8667vw;
    background-image: url("assets/mobile-bg-info.png");
  }

  .contact-page .subpage-artwork {
    top: 0;
    left: 0;
    width: 100vw;
    height: 196.2667vw;
    background-image: url("assets/mobile-bg-contact.png");
  }

  .artists-page .subpage-artwork {
    top: 0;
    left: 0;
    width: 100vw;
    height: 196.2667vw;
    background-image: url("assets/mobile-bg-contact.png");
  }

  .subpage-main {
    padding-top: 125.71px;
  }

  .page-hero {
    padding: 10px 20px;
  }

  .page-kicker {
    font-size: 10px;
  }

  .page-hero h1 {
    font-size: 32px;
  }

  .page-lead {
    font-size: 16px;
  }

  .text-block h2,
  .director-block h2,
  .venues h2,
  .faq h2,
  .contact-grid h2 {
    font-size: 16px;
  }

  .subpage-shell .site-footer {
    width: 100%;
    height: 76px;
    min-height: 76px;
    margin-top: 20px;
    padding: 20px;
  }

  .program-page .page-hero {
    min-height: 184px;
  }

  .program-list {
    padding: 20px;
  }

  .filter-tabs {
    width: 100%;
  }

  .filter-tabs button {
    min-width: 0;
    flex: 1;
    padding: 10px 8px;
    font-size: 11px;
  }

  .program-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .program-grid .event-card {
    min-height: 190px;
  }

  .program-grid .event-card:nth-child(n + 4) {
    display: none;
  }

  .program-grid .event-kind {
    display: block;
  }

  .program-grid .event-details p {
    font-size: 14px;
  }

  .desktop-count {
    display: none;
  }

  .mobile-count {
    display: inline;
  }

  .load-more {
    margin-top: 20px;
  }

  .load-more p,
  .load-more button {
    font-size: 11px;
  }

  .wide-cta {
    width: 100%;
    min-height: 60px;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
  }

  .archive-note {
    margin-top: 20px;
    font-size: 14px;
  }

  .about-page .page-hero,
  .contact-page .page-hero {
    min-height: 121px;
  }

  .about-visual {
    height: 240px;
    padding: 20px;
  }

  .about-visual img {
    height: 200px;
  }

  .about-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .about-grid > *,
  .partners-block {
    padding: 20px;
  }

  .about-grid .text-block:first-child {
    grid-area: auto;
  }

  .about-grid .text-block:nth-child(3) {
    grid-area: auto;
  }

  .director-block {
    grid-area: auto;
  }

  .text-block p,
  .director-block p,
  .contact-grid p {
    margin-top: 10px;
  }

  .director-photo {
    width: 100%;
    margin-top: 10px;
  }

  .director-block h3 {
    margin-top: 8px;
    font-size: 14px;
  }

  .director-block .caption {
    margin-top: 2px;
    font-size: 11px;
  }

  .partners-block {
    padding-inline: 20px;
  }

  .logo-group {
    margin-top: 36px;
  }

  .logo-group h3 {
    margin-bottom: 16px;
    font-size: 13px;
  }

  .logo-grid {
    flex-wrap: wrap;
    gap: 20px 16px;
    margin-bottom: 50px;
  }

  .logo-group:not(:last-child) .logo-grid {
    margin-bottom: 65px;
  }

  .logo-grid img {
    width: calc((100% - 16px) / 2);
    height: 68px;
    flex: 0 1 calc((100% - 16px) / 2);
    object-position: center;
  }

  .logo-grid img.sponsor-composite {
    order: 1;
    width: 100%;
    max-width: 340px;
    height: auto;
    max-height: none;
    flex: 0 1 340px;
  }

  .archive-page .page-hero {
    min-height: 190px;
  }

  .archive-page .page-lead br {
    display: none;
  }

  .archive-page .page-lead {
    max-width: 270px;
  }

  .archive-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .archive-card img {
    height: 190px;
  }

  .archive-card a {
    min-height: 60px;
    font-size: 16px;
  }

  .archive-page .site-footer {
    margin-top: 20px;
  }

  .gallery-page .page-hero {
    min-height: 120px;
  }

  .gallery-section {
    padding: 20px;
  }

  .gallery-tabs {
    margin-bottom: 30px;
  }

  .gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .gallery-card:nth-child(n + 4) {
    display: none;
  }

  .gallery-card.is-hidden {
    display: none;
  }

  .gallery-card img {
    height: 200px;
  }

  .gallery-meta {
    gap: 10px;
    font-size: 11px;
  }

  .gallery-card h2 {
    font-family: var(--sans);
    font-size: 20px;
    font-weight: 600;
  }

  .gallery-more {
    display: none;
  }

  .artists-shell {
    min-height: 100vh;
  }

  .artists-page .page-hero {
    min-height: 0;
  }

  .artists-directory {
    padding: 0 20px;
  }

  .artists-directory__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .artist-card h2 {
    font-size: 12px;
  }

  .artist-card > p {
    font-size: 9px;
  }

  .artist-card.is-expanded {
    grid-column: 1 / -1;
  }

  .artist-card__shade,
  .artist-card__bio {
    display: none;
  }

  .artist-card.is-expanded .artist-card__visual::after {
    position: absolute;
    top: 8px;
    right: 8px;
    display: grid;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--violet);
    color: var(--paper);
    content: "×";
    font-size: 18px;
    line-height: 1;
    place-items: center;
  }

  .artist-card.is-expanded .artist-card__mobile-bio {
    display: block;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.4;
  }

  .artists-page .site-footer {
    margin-top: 20px;
  }

  .artist-detail-back {
    margin: 0 20px 20px;
    font-size: 10px;
  }

  .artist-detail-page .page-hero h1 {
    font-size: 32px;
  }

  .artist-detail-role {
    font-size: 11px;
  }

  .artist-detail-layout {
    display: block;
    padding: 20px 20px 60px;
  }

  .artist-detail-image {
    max-height: 420px;
    margin-bottom: 24px;
    aspect-ratio: 1;
  }

  .artist-detail-bio {
    column-count: 1;
    font-size: 14px;
  }

  .artist-detail-status {
    padding-inline: 20px;
  }

  .album-shell {
    min-height: 100vh;
  }

  .album-main {
    padding-top: 125.71px;
  }

  .album-hero {
    padding: 10px 20px;
  }

  .album-kicker {
    font-size: 10px;
  }

  .album-hero h1 {
    width: 326.5px;
    max-width: 100%;
    font-size: 32px;
  }

  .album-tags span {
    font-size: 14px;
  }

  .album-gallery {
    margin-top: 0;
    padding: 20px;
  }

  .album-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .album-photo {
    width: 100%;
    height: 220px;
  }

  .gallery-lightbox__surface {
    padding: 68px 20px 56px;
  }

  .gallery-lightbox__header {
    top: 20px;
    right: 72px;
    left: 20px;
  }

  .gallery-lightbox__header p {
    max-width: calc(100vw - 130px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .gallery-lightbox__close {
    top: 14px;
    right: 14px;
  }

  .gallery-lightbox__nav {
    width: 42px;
    height: 42px;
  }

  .gallery-lightbox__nav--previous {
    left: 8px;
  }

  .gallery-lightbox__nav--next {
    right: 8px;
  }

  .gallery-lightbox__figure img {
    max-width: calc(100vw - 40px);
    max-height: calc(100dvh - 140px);
  }

  .album-photo--3 { order: 3; }
  .album-photo--4 { order: 4; }
  .album-photo--5 { order: 5; }

  .album-photo--repeat {
    display: none;
  }

  .gallery-album-page .site-footer {
    margin-top: 20px;
  }

  .info-page .page-hero {
    min-height: 110px;
  }

  .info-content {
    padding-top: 50px;
  }

  .participation,
  .venues,
  .foundation-block {
    width: 100%;
    min-height: 0;
    padding: 20px;
  }

  .venue-map {
    height: auto;
    aspect-ratio: 1;
    margin-top: 10px;
  }

  .faq {
    padding-inline: 20px;
  }

  .faq h2 {
    min-height: 90px;
    padding: 20px 0;
  }

  .faq summary {
    min-height: 52px;
    padding: 15px 0;
  }

  .faq details p {
    padding: 0 0 15px;
  }

  .contact-page .page-hero {
    min-height: 131px;
  }

  .contact-grid {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .contact-grid section {
    padding: 20px;
  }

  .contact-grid section:first-child {
    width: min(280px, 100%);
  }

  .email-link {
    margin-top: 10px;
    font-size: 14px;
  }

  .social-cta {
    margin-top: 10px;
  }
}

@media (max-width: 359px) {
  .email-link {
    font-size: 12px;
  }

  .filter-tabs button {
    font-size: 10px;
  }
}

/* Event details */
.event-shell {
  min-height: 0;
}

.event-page .subpage-artwork {
  top: -350px;
  left: calc(var(--canvas-offset) + 360px);
  width: 1780px;
  height: 2050px;
}

.event-page .subpage-artwork img {
  width: 1465.446px;
  height: 1738.625px;
  transform: rotate(-4.66deg);
}

.event-main {
  position: relative;
  z-index: 2;
  padding-top: 145px;
}

.event-hero {
  padding: 10px var(--page-gutter) 20px;
  color: var(--paper);
  text-shadow: 0 0 17px rgba(0, 0, 0, 0.35);
}

.event-kicker,
.event-facts h2,
.event-repertoire li > span,
.event-artists article p,
.event-companion h3 {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.event-kicker {
  margin-bottom: 10px;
  font-size: 14px;
}

.event-hero h1,
.event-about h2,
.event-repertoire h2,
.event-artists > h2,
.event-companion > h2,
.event-location {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: var(--display-tracking);
}

.event-hero h1 {
  width: fit-content;
  margin: 0;
  font-size: 60px;
  line-height: 1.18;
}

.event-performers {
  display: flex;
  max-width: 610px;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.event-performers span {
  padding: 4px 8px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
  text-shadow: none;
}

.event-page-grid {
  display: grid;
  grid-template-areas:
    "cover facts"
    "about location"
    "repertoire artists"
    "companion artists";
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
  padding: 20px var(--page-gutter) 0;
}

.event-cover {
  grid-area: cover;
  height: 310px;
  margin: 0;
  overflow: hidden;
}

.event-cover img,
.event-artists img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-cover img {
  object-position: 50% 43%;
}

.event-about,
.event-repertoire,
.event-artists,
.event-companion {
  color: var(--paper);
}

.event-about {
  grid-area: about;
  min-height: 125px;
  padding: 20px;
}

.event-about h2,
.event-repertoire h2,
.event-artists > h2,
.event-companion > h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  text-transform: uppercase;
}

.event-about p {
  max-width: 440px;
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.25;
}

.event-facts {
  display: flex;
  min-height: 310px;
  grid-area: facts;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  background: var(--paper);
  color: var(--ink);
}

.event-facts p {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.4;
}

.event-facts .event-date {
  display: flex;
  gap: 6px;
}

.event-date span {
  padding: 1px 6px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.event-facts .event-place {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.event-facts a {
  color: var(--violet);
  text-decoration: none;
}

.event-location {
  display: flex;
  min-height: 80px;
  grid-area: location;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 20px;
  background: linear-gradient(126.64deg, var(--violet) 2.22%, var(--ink) 100%);
  font-size: 16px;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.event-location > .cta-icon {
  display: block;
  width: 14px;
  height: auto;
  flex: 0 0 auto;
}

.event-location:hover,
.event-location:focus-visible {
  filter: brightness(1.2);
}

.event-repertoire {
  grid-area: repertoire;
  padding: 20px;
}

.event-repertoire ul {
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
}

.event-repertoire li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.8);
}

.event-repertoire li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}

.event-repertoire strong {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.event-repertoire em {
  margin-left: 8px;
  font-style: normal;
  font-weight: 400;
}

.event-artists {
  grid-area: artists;
  padding: 20px;
}

.artists-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.event-artists article {
  min-width: 0;
}

.event-artists img {
  height: auto;
  aspect-ratio: 1;
  object-position: center;
}

.event-artists article h3 {
  margin: 10px 0 2px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
}

.event-companion {
  grid-area: companion;
  padding: 20px;
}

.event-companion > div {
  margin-top: 10px;
  padding: 10px;
  background: var(--paper);
  color: var(--ink);
}

.event-companion p {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.4;
}

.event-page .site-footer {
  margin-top: 40px;
}

@media (max-width: 800px) {
  .event-page .subpage-artwork {
    top: 0;
    left: 35.8267vw;
    width: 64.2667vw;
    height: 212vw;
    background-image: url("assets/mobile-bg-gallery.png");
  }

  .event-main {
    padding-top: 125.71px;
  }

  .event-hero {
    padding: 10px 20px 20px;
  }

  .event-kicker {
    font-size: 10px;
  }

  .event-hero h1 {
    font-size: 32px;
  }

  .event-performers {
    margin-top: 20px;
  }

  .event-page-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .event-cover {
    width: calc(100% - 40px);
    height: 200px;
    margin: 20px;
  }

  .event-about,
  .event-repertoire,
  .event-artists,
  .event-companion {
    width: 100%;
    padding: 20px;
  }

  .event-about {
    min-height: 0;
  }

  .event-facts {
    width: calc(100% - 40px);
    min-height: 0;
    gap: 20px;
    margin: 20px;
    padding: 10px;
  }

  .event-location {
    width: calc(100% - 40px);
    min-height: 60px;
    margin: -10px 20px 0;
  }

  .event-about h2,
  .event-repertoire h2,
  .event-artists > h2,
  .event-companion > h2 {
    font-size: 16px;
  }

  .event-about p {
    max-width: 265px;
    font-size: 14px;
  }

  .artists-grid {
    gap: 20px;
  }

  .event-artists article h3 {
    font-size: 12px;
  }

  .event-artists article p {
    font-size: 9px;
  }

  .event-page .site-footer {
    margin-top: 20px;
  }
}

@media (min-width: 801px) {
  .program-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 40px;
  }

  .program-grid .event-card {
    position: relative;
    display: grid;
    min-height: 170px;
    grid-template-columns: 140px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 20px;
    row-gap: 4px;
    padding: 20px;
  }

  .program-grid .event-meta {
    width: max-content;
    grid-column: 1;
    grid-row: 1 / 4;
    flex-direction: column;
    align-items: center;
    justify-self: start;
    gap: 0;
  }

  .program-grid .event-meta span {
    padding: 0;
    background: transparent;
    color: var(--ink);
    font-size: 14px;
  }

  .program-grid .event-meta span:first-child {
    padding: 0 3px;
    background: var(--ink);
    color: var(--paper);
  }

  .program-grid .event-kind {
    grid-column: 2;
    grid-row: 1;
    font-size: 11px;
  }

  .program-grid .event-card h3 {
    grid-column: 2;
    grid-row: 2;
    font-size: 20px;
  }

  .program-grid .event-details {
    display: block;
    grid-column: 2;
    grid-row: 3;
    padding-right: 130px;
  }

  .program-grid .event-details p {
    min-width: 0;
    margin-bottom: 2px;
    font-size: 14px;
  }

  .program-grid .event-details img {
    position: absolute;
    right: 20px;
    bottom: 20px;
  }

  .program-grid .event-details::after {
    position: absolute;
    right: 55px;
    bottom: 23px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.4;
    text-transform: uppercase;
    content: "Szczegóły";
  }

  .program-page .wide-cta {
    margin-left: 0;
  }

  .program-page .archive-note {
    text-align: left;
  }
}

/* Keep the footer at the viewport edge when a subpage has little content. */
body.inner-page .subpage-shell {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
  row-gap: 20px;
}

body.inner-page .subpage-shell > .site-footer {
  margin-top: auto;
}

.info-page .subpage-shell {
  overflow: clip;
}
